{#if $event}
{#if hiddenCount > 0}
Show earlier replies ({hiddenCount})
{/if} {#each visibleReplies as reply (reply.id)} {#if reply.id === oldestUnread?.id}
New replies
{/if}
{/each}
{#if showReply && replyTo && $event}
{:else}
Reply to thread
{/if} {:else}
{/if}
{#if $event && scrolledPastRoot}
{/if} {#if scrolledUp && !showReply}
{/if}