{{#if this.imageRows}}
{{#each this.imageRows as |row index|}}
{{#each row as |image|}}
{{#unless this.koenigDragDropHandler.isDragging}}
{{/unless}}
{{/each}}
{{/each}}
{{/if}} {{#if (or uploader.isUploading (is-empty this.imageRows))}}
{{#if this.isDraggedOver}} {{t "koenig.gallery.Drop 'em like it's hot 🔥"}} {{else if uploader.isUploading}} {{uploader.progressBar}} {{else if (is-empty this.imageRows)}} {{/if}}
{{else if this.isDraggedOver}}
{{t "koenig.gallery.Drop to add up to 9 images"}}
{{/if}} {{#if (and this.errorMessage (not this.isDraggedOver))}}
{{this.errorMessage}}.
{{/if}}
{{#if (or this.isSelected (clean-basic-html this.payload.caption))}} {{/if}}