{{#if (or uploader.errors uploader.isUploading)}}
{{#if uploader.errors}}
{{uploader.errors.firstObject.message}}
{{/if}}
{{#if this.isDraggedOver}}
Drop it 🔥
{{else if uploader.isUploading}}
{{uploader.progressBar}}
{{else if (not @payload.thumbnailSrc)}}
{{else}}
{{/if}}
{{else}}
{{#if this.isDraggedOver}}
Drop it 🔥
{{else if uploader.isUploading}}
{{uploader.progressBar}}
{{else if @payload.thumbnailSrc}}
{{else}}
{{/if}}
{{/if}}
{{svg-jar "play"}}0:00
/{{this.totalDuration}}
1×{{svg-jar "unmute"}}
{{#if (not @isEditing)}}
{{/if}}
{{else}}
{{#if (or uploader.errors uploader.isUploading)}}
{{#if uploader.errors}}
{{uploader.errors.firstObject.message}}
{{/if}}
{{#if this.isDraggedOver}}
Drop it like it's hot 🔥
{{else if uploader.isUploading}}
{{uploader.progressBar}}
{{/if}}
{{else}}
{{#if this.isDraggedOver}}
Drop it like it's hot 🔥
{{else if uploader.isUploading}}
{{uploader.progressBar}}
{{else}}
{{svg-jar "audio-upload"}}
Click to upload an audio file