{#snippet top(expand: boolean)}
{#if expand} {:else} {/if}
{comment.author.displayName || comment.author.handle}
{/snippet}
{#if expanded} {@render top(false)} {@html comment.htmlContent} {#if comment.embed} {/if} {:else} {/if}
{#if comment.replies?.length && depth <= 4 && expanded} {#each comment.replies.toSorted((a: any, b: any) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime()) as reply} {/each} {/if}