{{#if this.imageRows}}
{{#each this.imageRows as |row index|}}
{{#each row as |image|}}
{{#unless this.koenigDragDropHandler.isDragging}}
{{svg-jar "koenig/kg-trash" class="koenig-gallery-trash-icon"}}
{{/unless}}
{{/each}}
{{/each}}
{{/if}}
{{#if (or uploader.isUploading (is-empty this.imageRows))}}
{{#if this.isDraggedOver}}
Drop 'em like it's hot 🔥
{{else if uploader.isUploading}}
{{uploader.progressBar}}
{{else if (is-empty this.imageRows)}}
{{svg-jar "gallery-placeholder" class="kg-placeholder-gallery nudge-bottom--10"}}
Click to select up to 9 images
{{/if}}
{{else if this.isDraggedOver}}
Drop to add up to 9 images
{{/if}}
{{#if (and this.errorMessage (not this.isDraggedOver))}}
{{this.errorMessage}}.
Dismiss
{{/if}}