{#snippet playerItem(p: PlayerSummary)} {@const ct = p.side === 'CT'} {@const ready = preloadedPlayers.has(p.player)} {@const available = availablePlayers.has(p.player)} {p.player} Player {p.player} {#if !available} died · {formatDuration(p.duration)} {/if} {#if p.survived} {:else if !available} {/if} {/snippet}