{}} >
e.stopPropagation()} onkeydown={() => {}} >
{#if history.length > 0} {/if} {#if editingPath}
{ requestAnimationFrame(() => { if (editingPath) cancelEditing(); }); }} spellcheck="false" autocomplete="off" placeholder={$t('directory.typePath')} /> {#if pathValid === 'checking'} {:else if pathValid === 'valid'} {:else if pathValid === 'invalid'} {/if} {#if tabHint} {tabHint} {/if} TAB
{:else}
{ if (e.key === 'Enter') startEditing(); }} > {#each breadcrumbs as seg, i (seg.path)} {#if i > 1}/{/if} {#if i === breadcrumbs.length - 1} {seg.name} {:else} { e.stopPropagation(); navigateToPath(seg.path); }} onkeydown={() => {}}>{seg.name} {/if} {/each}
{/if}
{#if loading}
{:else if error}

{error}

{:else if filteredDirs.length === 0}

{$t('directory.noSubdirectories')}

{:else} {#each filteredDirs as dir, i (dir.name)} {/each} {/if}
{currentPath}