{#if start}
STOP
{#each priority.surfers as surfer, id}
{#if surfer.priority == '1'}
ChangePriority(id)} on:keypress={() => ChangePriority(id)} role="button" tabindex="-1" > P
{:else}
ChangePriority(id)} on:keypress={() => ChangePriority(id)} role="button" tabindex="-1" > {surfer.priority}
{/if}
{surfer.name}
{/each}
{:else}
START
+
{priority.surfersCount}
-
Round
{#each $rounds as round}
{round.name}
{/each}
Category
{#each $categories as category}
{category.name}
{/each}
Heat
Timer
Reset
Name
Color
{#each priority.surfers as surfer, id (surfer.id)}
{#each $colors as color}
{color}
{/each}
{:else}
{/each}
{/if}