{#if app.profile} {@const p = app.profile}
{p.displayName}
{#if p.isGuest}{t('profile.guest')}{/if} {#if editing}
{ e.preventDefault(); void save(); }}>
{t('profile.awayWindow')}
{t('profile.from')} :
{t('profile.to')} :

{t('profile.awayHint')}

{:else}
{t('profile.timezone')}
{p.timeZone}
{t('profile.awayWindow')}
{p.awayStart}–{p.awayEnd}
{t('profile.hintBalance')}
{p.hintBalance}
{#if p.isGuest}

{t('profile.guestLocked')}

{:else}

{t('profile.bindEmail')}

{#if !emailSent}
0 && !emailOk} bind:value={emailInput} placeholder={t('login.emailPlaceholder')} type="email" />
{:else}
{/if}
{/if} {/if} {/if}