{#each visible as modality (modality)} {@const ModalityIcon = MODALITY_ICONS[modality]} {MODALITY_LABELS[modality]} {/each}