{$_('migration.inbound.chooseHandle.title')}

{$_('migration.inbound.chooseHandle.desc')}

{migratingFromLabel}: {migratingFromValue}
{#if isExternalHandle}
{$_('migration.inbound.chooseHandle.handleChoice')}
{/if} {#if handlePreservation === 'existing' && isExternalHandle}
{$_('migration.inbound.chooseHandle.existingHandle')}
@{sourceHandle} {#if existingHandleVerified} {$_('migration.inbound.chooseHandle.verified')} {/if}
{#if !existingHandleVerified}

{$_('migration.inbound.chooseHandle.verifyInstructions')}

_atproto.{sourceHandle} TXT "did={sourceDid}"

{$_('migration.inbound.chooseHandle.or')}

https://{sourceHandle}/.well-known/atproto-did {$_('migration.inbound.chooseHandle.returning')} {sourceDid}
{#if existingHandleError}

{existingHandleError}

{/if} {/if}
{:else}
{#if handleTooShort}

{$_('migration.inbound.chooseHandle.handleTooShort')}

{:else if checkingHandle}

{$_('migration.inbound.chooseHandle.checkingAvailability')}

{:else if handleAvailable === true}

{$_('migration.inbound.chooseHandle.handleAvailable')}

{:else if handleAvailable === false}

{$_('migration.inbound.chooseHandle.handleTaken')}

{:else}

{$_('migration.inbound.chooseHandle.handleHint')}

{/if}
{/if}
{$_('migration.inbound.chooseHandle.authMethod')}
{#if authMethod === 'password'}
onPasswordChange((e.target as HTMLInputElement).value)} required minlength={8} />

{$_('migration.inbound.chooseHandle.passwordHint')}

{:else}

{$_('migration.inbound.chooseHandle.passkeyInfo')}

{/if} {#if serverInfo?.inviteCodeRequired}
onInviteCodeChange((e.target as HTMLInputElement).value)} required />
{/if}