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

{#if isTelegram && telegramBotUsername && handle} {@const encodedHandle = handle.replaceAll('.', '_')}

{$_('migration.inbound.emailVerify.telegramInstructions')}

{$_('migration.inbound.emailVerify.openTelegram')}, or send /start {handle} to @{telegramBotUsername}

{$_('migration.inbound.emailVerify.waitingForVerification')}

{:else if isDiscord && discordAppId && handle}

{$_('migration.inbound.emailVerify.discordInstructions')}

{$_('migration.inbound.emailVerify.openDiscord')}, or send /start {handle} to {discordBotUsername ?? 'the bot'}

{$_('migration.inbound.emailVerify.waitingForVerification')}

{:else}

{@html $_('migration.inbound.emailVerify.desc', { values: { email: `${identifier}`, channel: channelLabel(channel) } })}

{$_('migration.inbound.emailVerify.hint')}

{#if error}
{error}
{/if}
onTokenChange((e.target as HTMLInputElement).value)} disabled={loading} required />
{/if}