{caption} {#if draft} Draft {/if} {#if origin} {#if origin.onclick} {:else} {origin.text} {/if} {/if} {#if beforeTimestamp} {@render beforeTimestamp()} {/if} {#if hoverNote} {@render hoverNote()} {/if} {#if timestamp} {utils.formatTimestamp(timestamp)} {/if} {#if lastEdit} {/if} {#if resolved} Resolved {/if}
{#if reactions && reactOnComment} { try { await reactOnComment(authors, emoji); } finally { closeFocused(); } }} /> {/if} {@render actions?.()} {#if menuActions.length > 0} {#snippet toggle(onclick)} {/snippet} {#snippet popover()} {/snippet} {/if}
{#if (body === undefined || body?.trim() === "") && mode === "read"}
No description.
{:else}
{#if editComment && mode !== "read"}
{ mode = "submit"; try { await editComment(comment, Array.from(embeds.values())); } finally { mode = "read"; } }} close={async () => { body = body; await tick(); mode = "read"; }} />
{:else}
{/if}
{/if} {#if reactions && reactions.length > 0}
{#if reactOnComment}
{ try { await reactOnComment(authors, emoji); } finally { closeFocused(); } }} />
{/if}
{/if}