(event.preventDefault(), back())} onclick={(event) => event.target === dialog && onclose()} onkeydowncapture={() => (stepAtKey = step)} onkeydown={messageKey} aria-label="new session" >
{#if folder} in {:else} in … {/if} {#if step >= 1 || picked} {#if picked} using {:else} using … {/if} {/if} {#if step >= 2} , {/if}
{#snippet question(card: number)} {QUESTIONS[card]} {/snippet} {#if step === 0}
{#each folderRows as row, i (row.key)} {:else}

{listing instanceof Error ? listing.message : listing === null ? 'looking…' : query ? 'nothing here' : 'no folders yet: type a path'}

{/each}
{:else if step === 1}
{#each modelRows as row, i (row.key)} {:else}

{all.length ? 'no models match' : 'loading models…'}

{/each}
{#if current?.efforts?.length} (effort = next)} /> {:else} {current?.efforts ? 'no effort levels' : ' '} {/if}
{:else} {/if} {#if problem}

{problem}

{/if} {#if starting}
ヽ(・∀・)ノ see you in {folder ? nameOf(folder) : ''}
{/if}