{#if view}
{#each view.sides as side, index (side.id)} {@const colors = SIDE_COLORS[side.color]}
{side.name}
{#if side.roll != null}
rolled {side.roll}
{/if}
{#each side.players as player, n (player.id)}
{#if player.avatarUrl} {:else}
{initials(player.name)}
{/if}
{#if flagUrl(player.countryCode)}{/if} {player.osuName ?? player.name}
{player.rating ?? ''}{player.inLobby ? ' ยท in lobby' : ''}
{/each}
{/each}
{/if}