event.target === dialog && dialog?.close()}>
{#each sections as section (section.name)}

{section.name}

{#each section.items as item (item.key)} {@const at = flat.findIndex((found) => 'item' in found && found.item === item)}
go(at)} onhover={() => (active = at)} />
{/each} {#each section.rows as row (row.key)} {@const at = flat.findIndex((found) => 'row' in found && found.row === row)}
go(at)} onhover={() => (active = at)} />
{/each} {:else}

Nothing matches “{query.trim()}”

{/each}