{#if $serialPort && $serialPort.profileCount > 1 && !page.route.id?.startsWith("/(app)/config/chords")}
{#each Array.from({ length: $serialPort.profileCount }, (_, i) => i) as profile} {/each}
{/if}
{#if $canShare} {/if} {#if import.meta.env.TAURI_FAMILY === undefined} {#await import("$lib/components/PwaStatus.svelte") then { default: PwaStatus }} {/await} {/if}