{#if event.kind === 11 || forceUpvoteDownvote} {:else}
{#if showMenu}
{ showMenu = false; emojiSearchQuery = ''; }} onkeydown={(e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); showMenu = false; emojiSearchQuery = ''; } }} role="button" tabindex="0" aria-label="Close emoji menu" >

Choose Reaction

{#each filteredReactionMenu as reaction} {@const count = getReactionCount(reaction)} {/each}
{#if filteredCustomEmojis.length > 0}
Custom
{#each filteredCustomEmojis as emoji} {@const count = getReactionCount(emoji)} {/each}
{/if}
{/if}
{#if event.kind !== 11} {#each getAllReactions() as { content, count }} {#if content === '+'} ❤️ {:else if content.startsWith(':') && content.endsWith(':')} {#if hasEmojiUrl(content)} {@const url = getCustomEmojiUrl(content)} {#if url} {content} {:else} {formatTextEmoji(content)} {/if} {:else} {formatTextEmoji(content)} {/if} {:else} {content} {/if} {count} {/each} {/if} {/if}