{#if hasAccount} Sign in {:else if magicView} Sign in {:else} Sign up {/if}
{#if hasAccount}
{#if !showPassword} show password button {:else} help password button {/if}
{#if loginFail} (loginFail = false)}/> {/if}
{:else if magicView}
{#if magicSuccess} (magicSuccess = false)}/> {:else if magicFail} (magicFail = false)}/> {/if}

By using our services, you agree to the{' '}Terms of Service.

{:else if !hasAccount && !magicView}
{#if magicSuccess} (magicSuccess = false)}/> {:else if magicFail} (magicFail = false)}/> {/if}

By signing up, you agree to the{' '}Terms of Service.

{/if}