$searchIndex && search($searchIndex, event)} class:loading={progress !== $chords.length - 1} />
{#if $lastPage !== -1} {page + 1} / {$lastPage + 1} {:else} - / - {/if}
(page = Math.max(page - 1, 0))} use:action={{ shortcut: "ctrl+left" }}>navigate_before
(page = Math.min(page + 1, $lastPage))} use:action={{ shortcut: "ctrl+right" }}>navigate_next
{#await tick() then}
{#if $lastPage !== -1}
{#if page === 0}
insertChord(action)} />
{/if} {#each $items.slice(page * $pageSize - (page === 0 ? 0 : 1), (page + 1) * $pageSize - 1) as [chord] (JSON.stringify(chord?.id))} {#if chord}
(page = 0)} />
{/if} {/each}
{:else}
{$LL.configure.chords.search.NO_RESULTS()}
{/if}
download
{$LL.configure.chords.VOCABULARY()}
{/await}