{ sidebarStore.toggle(); }} onmousedown={(event: MouseEvent) => { if (sidebarStore.isOpen) { // stops event from reaching the default handler when clicking outside of the sidebar event.stopPropagation(); } }} class="sidebar:hidden" />
{#if $featureFlags.search} {/if}
{#if $featureFlags.search} {/if} {#if !page.url.pathname.includes('/admin') && showUploadButton && onUploadClick} {/if}
(shouldShowNotificationPanel = false), onEscape: () => (shouldShowNotificationPanel = false), }} > (shouldShowNotificationPanel = !shouldShowNotificationPanel)} aria-label={$t('notifications')} /> {#if shouldShowNotificationPanel} {/if}
(shouldShowAccountInfoPanel = false), onEscape: () => (shouldShowAccountInfoPanel = false), }} > {#if shouldShowAccountInfoPanel} authManager.logout()} onClose={() => (shouldShowAccountInfoPanel = false)} /> {/if}