open(e)} aria-label="Search" >
Search
/
{#if scope}
{scope.authority} /
{scope.name}
/
{/if}
look()} onkeydown={keys} placeholder={scope ? 'Search or jump to' : 'Find a repository or owner'} aria-label={scope ? `Search ${scope.authority}/${scope.name}` : 'Find a repository or owner'} role="combobox" aria-expanded="true" aria-controls="palette-rows" aria-activedescendant="palette-{at}" autocomplete="off" />
esc
{#if pages.length}
Pages
{/if} {#each pages as p, i (p.href)}
dialog.close()} onmousemove={() => (at = i)} >
{p.label}
{/each} {#if items.length}
Open pulls and issues
{/if} {#each items as it, j (it.uri)} {@const i = pages.length + j} {@const shown = it.draft && it.state === 'open' ? 'draft' : it.state}
dialog.close()} onmousemove={() => (at = i)} >
{it.title}
{/each} {#if repos.length}
{value.trim() ? 'Repositories' : 'Newest repositories'}
{/if} {#each repos as r, j (r.owner.handle + '/' + r.name)} {@const i = pages.length + items.length + j}
dialog.close()} onmousemove={() => (at = i)} >
{r.owner.handle}/
{r.name}
{#if r.private}
{/if}{#if r.description}
{r.description}
{/if}
{/each} {#if owners.length}
Owners
{/if} {#each owners as o, j (o.owner.did)} {@const i = pages.length + items.length + repos.length + j}
dialog.close()} onmousemove={() => (at = i)} >
{o.owner.handle}
{plural(o.repoCount, 'repository', 'repositories')}
{/each} {#if code} {@const i = hrefs.length - (everywhere ? 2 : 1)}
dialog.close()} onmousemove={() => (at = i)} >{scope ? `“${value.trim()}” in this repository’s code →` : `code containing “${value.trim()}” →`}
{/if} {#if everywhere}
dialog.close()} onmousemove={() => (at = hrefs.length - 1)} >{scope ? `“${value.trim()}” in all of knotless →` : value.trim() ? `all results for “${value.trim()}” →` : 'all repositories →'}
{/if}