{@html ``}
{#if screen.missing}
{:else if screen.signIn}
{:else}
{#each app.tabs as tab, i (tab.label)} {#if opened.has(i)} void openLink(url)} {signIn} {client} {reading} {areas} {recent} onresult={answered} onacted={actedOn} onwrote={wrote} onmove={(how) => moved(i, how)} onback={back} {ontab} onsignedout={() => { gone(); signedIn = false; }} onsignout={leave} {accounts} /> {/if} {/each}
{/if} {#if frame?.aside} {/if} {#each composing ? [composing] : [] as ui (ui)} (composing = null)} oncall={(call) => void openOn(current, call)} onopenlink={(url) => void openLink(url)} onaction={formAction} ontool={formTool} onupload={signedIn ? client.uploadBlob : undefined} onreload={formSent} /> {/each} {#if app.search} {@const search = app.search} visit(search.results.replace('{q}', encodeURIComponent(q)))} onactor={(did) => visit(search.person.replace('{actor}', encodeURIComponent(did)))} /> {/if}