{{! template-lint-disable no-invalid-interactive }} {{#if (and this.showActions this.site.mobileView this.chatMessageActionsMobileAnchor ) }} {{#in-element this.chatMessageActionsMobileAnchor}} {{/in-element}} {{/if}} {{#if (and this.showActions this.site.desktopView this.chatMessageActionsDesktopAnchor ) }} {{#in-element this.chatMessageActionsDesktopAnchor}} {{/in-element}} {{/if}}
{{#if this.show}} {{#if this.selectingMessages}} {{/if}} {{#if this.deletedAndCollapsed}}
{{else if this.hiddenAndCollapsed}}
{{else}}
{{#if this.message.in_reply_to}}
{{d-icon "share" title="chat.in_reply_to"}} {{#if this.message.in_reply_to.chat_webhook_event.emoji}} {{else}} {{/if}} {{replace-emoji this.message.in_reply_to.excerpt}}
{{/if}} {{#if this.hideUserInfo}} {{else}} {{/if}}
{{#unless this.hideUserInfo}} {{/unless}} {{#if this.hasReactions}}
{{#if this.reactionLabel}}
{{replace-emoji this.reactionLabel}}
{{/if}} {{#each-in this.message.reactions as |emoji reactionAttrs|}} {{/each-in}} {{#if this.canInteractWithChat}} {{#unless this.site.mobileView}} {{/unless}} {{/if}}
{{/if}}
{{#if this.message.error}}
{{#if (eq this.message.error "network_error")}} {{d-icon "exclamation-circle"}} {{i18n "chat.retry_staged_message.title"}} {{i18n "chat.retry_staged_message.action"}} {{else}} {{this.message.error}} {{/if}}
{{/if}} {{#if this.mentionWarning}}
{{#if this.mentionWarning.invitationSent}} {{d-icon "check"}} {{i18n "chat.mention_warning.invitations_sent" count=this.mentionWarning.without_membership.length }} {{else}} {{#if this.mentionWarning.cannot_see}}

{{this.mentionedCannotSeeText}}

{{/if}} {{#if this.mentionWarning.without_membership}}

{{this.mentionedWithoutMembershipText}} {{i18n "chat.mention_warning.invite"}}

{{/if}} {{#if this.mentionWarning.group_mentions_disabled}}

{{this.groupsWithDisabledMentions}}

{{/if}} {{#if this.mentionWarning.groups_with_too_many_members}}

{{this.groupsWithTooManyMembers}}

{{/if}} {{/if}}
{{/if}}
{{/if}} {{/if}}