{#if isAuthPage} {@render children()} {:else if auth.loading}
{t('common.loading')}
{:else if auth.user}
{#each navItems.slice(0, 5) as item}
{/each}
{#key page.url.pathname}
{@render children()}
{/key}
{:else}
{t('common.loading')}
{/if}
{ showPasswordForm = false; pwdMsg = ''; pwdSuccess = false; }}>
{t('common.currentPassword')}
{t('common.newPassword')}
{#if pwdMsg}
{pwdMsg}
{/if}
{ e.currentTarget.style.boxShadow = '0 0 16px var(--color-glow-strong)'; }} onmouseleave={(e) => { e.currentTarget.style.boxShadow = 'none'; }}> {t('common.save')}