{#if app.loading}
{:else if standalone} {@render children()} {:else if app.unreachable}
{:else if !app.user}
{:else}
(sidebarOpen = false)} />
(sidebarOpen = !sidebarOpen)} aria-label="Vis menu" aria-expanded={sidebarOpen} >
sidebar.toggle()} aria-label={sidebar.collapsed ? t('nav.showSidebar') : t('nav.hideSidebar')} aria-pressed={sidebar.collapsed} title={(sidebar.collapsed ? t('nav.showSidebar') : t('nav.hideSidebar')) + ' (⌘B)'} >
(paletteOpen = true)}>
{t('nav.search')}
⌘K
theme.toggle()} aria-label={t('nav.toggleTheme')} >
{@render children()}
{#if sidebarOpen}
(sidebarOpen = false)} aria-label={t('nav.closeMenu')} tabindex="-1" >
{/if}
{#if app.detailTask}
app.closeDetail()} /> {/if}
{#each app.toasts as toast (toast.id)}
app.dismissToast(toast.id)}> {toast.message}
{#if toast.action}
{ app.dismissToast(toast.id); toast.onaction?.(); }}>{toast.action}
{/if}
{/each}
{#if showNet}
{connectivity.status === 'lost' ? t('net.offline') : t('net.reconnecting')}
{/if} {/if}