{ setLocale(getLocale() === 'en' ? 'ru' : 'en'); window.location.reload(); }} class="text-xs px-1.5 py-0.5 rounded bg-[var(--color-muted)] text-[var(--color-muted-foreground)]"> {getLocale().toUpperCase()}
{ const o: Theme[] = ['light','dark','system']; setTheme(o[(o.indexOf(theme.current)+1)%3]); }} class="text-xs px-1.5 py-0.5 rounded bg-[var(--color-muted)] text-[var(--color-muted-foreground)]"> {theme.resolved === 'dark' ? '🌙' : '☀️'}
{t('app.name')}
{t('auth.signInTitle')}
{#if error}
{error}
{/if}
{t('auth.username')}
{t('auth.password')}
{submitting ? t('auth.signingIn') : t('auth.signIn')}