{#if isLoggedIn}
{#if event.kind === KIND.DISCUSSION_THREAD || forceUpvoteDownvote}
toggleReaction('+')} class="reaction-btn vote-btn {userReaction === '+' ? 'active' : ''}" title="Upvote" aria-label="Upvote" > ⬆️
{getReactionCount('+')}
toggleReaction('-')} class="reaction-btn vote-btn {userReaction === '-' ? 'active' : ''}" title="Downvote" aria-label="Downvote" > ⬇️
{getReactionCount('-')}
{:else}
❤️
{ toggleReaction(emoji); showMenu = false; }} onClose={() => { showMenu = false; }} />
{#if event.kind !== KIND.DISCUSSION_THREAD} {#each getAllReactions() as { content, count }}
{#if content === '+'} ❤️ {:else if content.startsWith(':') && content.endsWith(':')} {#if hasEmojiUrl(content)} {@const url = getCustomEmojiUrl(content)} {#if url}
{:else}
{formatTextEmoji(content)}
{/if} {:else}
{formatTextEmoji(content)}
{/if} {:else} {content} {/if}
{count}
{/each} {/if} {/if}
{/if}