@sylphx/auth-solid 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/browser.js +399 -285
- package/dist/messages.d.ts +75 -0
- package/dist/server.js +175 -52
- package/dist/sign-in-controller.d.ts +11 -1
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { addEventListener as e, className as t, createComponent as n, delegateEvents as r, effect as i, getNextElement as a, getNextMarker as o, insert as s, memo as c, runHydrationEvents as l, setAttribute as u, setProperty as d, style as f, template as p, use as m } from "solid-js/web";
|
|
2
|
-
import {
|
|
3
|
-
import { For as
|
|
2
|
+
import { authRoutePrefix as h, providerDestination as g, providers as _, safeReturnTo as v } from "@sylphx/auth/client";
|
|
3
|
+
import { For as y, Match as b, Show as x, Switch as S, createEffect as ee, createMemo as C, createSignal as w, createUniqueId as T, onCleanup as E, onMount as te } from "solid-js";
|
|
4
4
|
// src/messages.ts
|
|
5
|
-
var
|
|
5
|
+
var D = {
|
|
6
6
|
en: {
|
|
7
7
|
signIn: "Sign in",
|
|
8
8
|
enterPassword: "Enter your password",
|
|
@@ -60,6 +60,7 @@ var T = {
|
|
|
60
60
|
cancelled: "Sign-in was canceled. You can try again whenever you’re ready.",
|
|
61
61
|
use_existing: "Try the method you originally used to sign in. This provider couldn’t confirm your email.",
|
|
62
62
|
invalid_credentials: "That email and password didn’t match. Check both and try again.",
|
|
63
|
+
acceptance_required: "Accept the current terms to continue.",
|
|
63
64
|
verify_email: "Confirm your email from the link in your inbox before signing in.",
|
|
64
65
|
verification_failed: "This confirmation link couldn’t be used. Check that you opened the latest link.",
|
|
65
66
|
invalid_code: "That code didn’t work. Check it and try again.",
|
|
@@ -127,6 +128,7 @@ var T = {
|
|
|
127
128
|
cancelled: "登入已取消。你可以隨時再試。",
|
|
128
129
|
use_existing: "這項登入服務未能確認你的電郵地址。請改用原來的登入方式。",
|
|
129
130
|
invalid_credentials: "電郵地址與密碼不符。請核對後再試。",
|
|
131
|
+
acceptance_required: "請同意現行條款後繼續。",
|
|
130
132
|
verify_email: "請先開啟確認電郵內的連結,確認電郵地址後再登入。",
|
|
131
133
|
verification_failed: "此連結無法使用。請開啟最新一封確認電郵內的連結。",
|
|
132
134
|
invalid_code: "驗證碼無法使用。請核對後再試。",
|
|
@@ -194,6 +196,7 @@ var T = {
|
|
|
194
196
|
cancelled: "登入已取消。你可以隨時再試。",
|
|
195
197
|
use_existing: "這項登入服務無法確認你的電子郵件地址。請改用原本的登入方式。",
|
|
196
198
|
invalid_credentials: "電子郵件地址和密碼不符。請檢查後再試一次。",
|
|
199
|
+
acceptance_required: "請同意目前的條款後繼續。",
|
|
197
200
|
verify_email: "請先開啟確認信中的連結,確認電子郵件地址後再登入。",
|
|
198
201
|
verification_failed: "這個確認連結無法使用。請確認你開啟的是最新一封確認信中的連結。",
|
|
199
202
|
invalid_code: "這組驗證碼無法使用。請檢查後再試一次。",
|
|
@@ -261,6 +264,7 @@ var T = {
|
|
|
261
264
|
cancelled: "登录已取消。你可以随时重试。",
|
|
262
265
|
use_existing: "此登录服务无法确认你的邮箱地址。请改用原来的登录方式。",
|
|
263
266
|
invalid_credentials: "邮箱地址和密码不匹配。请检查后重试。",
|
|
267
|
+
acceptance_required: "请同意当前条款后继续。",
|
|
264
268
|
verify_email: "请先打开确认邮件中的链接,确认邮箱地址后再登录。",
|
|
265
269
|
verification_failed: "此链接无法使用。请打开最新一封确认邮件中的链接。",
|
|
266
270
|
invalid_code: "此验证码无法使用。请检查后重试。",
|
|
@@ -328,6 +332,7 @@ var T = {
|
|
|
328
332
|
cancelled: "ログインがキャンセルされました。いつでもやり直せます。",
|
|
329
333
|
use_existing: "このサービスではメールアドレスを確認できませんでした。最初に使った方法でログインしてください。",
|
|
330
334
|
invalid_credentials: "メールアドレスとパスワードが一致しません。両方を確認して、もう一度お試しください。",
|
|
335
|
+
acceptance_required: "続行するには、現在の利用規約に同意してください。",
|
|
331
336
|
verify_email: "確認メール内のリンクを開き、メールアドレスを確認してからログインしてください。",
|
|
332
337
|
verification_failed: "この確認リンクは使えません。最新の確認メールのリンクをお試しください。",
|
|
333
338
|
invalid_code: "このコードは使えません。入力内容を確認して、もう一度お試しください。",
|
|
@@ -337,15 +342,84 @@ var T = {
|
|
|
337
342
|
try_later: "試行回数が上限に達しました。しばらく待ってからお試しください。",
|
|
338
343
|
unavailable: "接続できませんでした。しばらく待ってからお試しください。"
|
|
339
344
|
}
|
|
345
|
+
},
|
|
346
|
+
ko: {
|
|
347
|
+
signIn: "로그인",
|
|
348
|
+
enterPassword: "비밀번호를 입력하세요",
|
|
349
|
+
createYourAccount: "계정 만들기",
|
|
350
|
+
checkInbox: "이메일을 확인하세요",
|
|
351
|
+
confirmEmail: "이메일 주소 확인",
|
|
352
|
+
verifyIdentity: "본인 확인",
|
|
353
|
+
chooseMethod: "로그인 방법을 선택하세요.",
|
|
354
|
+
startWithEmail: "이메일 주소로 시작하세요.",
|
|
355
|
+
checkEmailDescription: "처음 사용하는 이메일 주소라면 확인 링크를 보내 드립니다. 링크를 열고 방금 설정한 비밀번호를 입력하세요.",
|
|
356
|
+
confirmEmailDescription: "가입할 때 사용한 이메일 주소와 비밀번호를 입력하세요.",
|
|
357
|
+
enterEmailCode: (e) => `${e} 주소로 보낸 6자리 인증 코드를 입력하세요.`,
|
|
358
|
+
enterRecovery: "저장해 둔 복구 코드 중 하나를 입력하세요.",
|
|
359
|
+
enterAuthenticator: "인증 앱에 표시된 코드를 입력하세요.",
|
|
360
|
+
loading: "로그인 방법을 불러오는 중…",
|
|
361
|
+
retry: "다시 시도",
|
|
362
|
+
openingProvider: (e) => `${e} 로그인 화면을 여는 중…`,
|
|
363
|
+
continueProvider: (e) => `${e} 계정으로 계속`,
|
|
364
|
+
orEmail: "또는 이메일로 계속",
|
|
365
|
+
email: "이메일 주소",
|
|
366
|
+
sendingCode: "인증 코드를 보내는 중…",
|
|
367
|
+
emailCodeAction: "이메일로 인증 코드 받기",
|
|
368
|
+
continueEmail: "이메일로 계속",
|
|
369
|
+
waitingPasskey: "패스키 인증을 기다리는 중…",
|
|
370
|
+
usePasskey: "패스키 사용",
|
|
371
|
+
newHere: "계정이 없으신가요?",
|
|
372
|
+
createAnAccount: "계정 만들기",
|
|
373
|
+
noMethods: "지금은 사용할 수 있는 로그인 방법이 없습니다.",
|
|
374
|
+
password: "비밀번호",
|
|
375
|
+
hidePassword: "비밀번호 숨기기",
|
|
376
|
+
showPassword: "비밀번호 보기",
|
|
377
|
+
hide: "숨기기",
|
|
378
|
+
show: "보기",
|
|
379
|
+
minimumPassword: "12자 이상 입력하세요.",
|
|
380
|
+
working: "처리 중…",
|
|
381
|
+
createAccount: "계정 만들기",
|
|
382
|
+
confirmAndSignIn: "확인하고 로그인",
|
|
383
|
+
changeEmailOrMethod: "이메일 주소 또는 로그인 방법 변경",
|
|
384
|
+
backToSignIn: "로그인으로 돌아가기",
|
|
385
|
+
emailCode: "이메일 인증 코드",
|
|
386
|
+
checkingCode: "인증 코드를 확인하는 중…",
|
|
387
|
+
verifyCode: "인증 코드 확인",
|
|
388
|
+
resendIn: (e) => `${e} 후 다시 보낼 수 있습니다.`,
|
|
389
|
+
resendCode: "인증 코드 다시 보내기",
|
|
390
|
+
changeEmail: "이메일 주소 변경",
|
|
391
|
+
usePassword: "비밀번호로 로그인",
|
|
392
|
+
recoveryCode: "복구 코드",
|
|
393
|
+
authenticatorCode: "인증 앱 코드",
|
|
394
|
+
verifyAndSignIn: "인증하고 로그인",
|
|
395
|
+
useAuthenticator: "인증 앱 사용",
|
|
396
|
+
useRecovery: "복구 코드 사용",
|
|
397
|
+
language: "언어",
|
|
398
|
+
errors: {
|
|
399
|
+
signin: "로그인하지 못했습니다. 다시 시도하거나 다른 로그인 방법을 선택하세요.",
|
|
400
|
+
cancelled: "로그인이 취소되었습니다. 언제든지 다시 시도할 수 있습니다.",
|
|
401
|
+
use_existing: "이 로그인 서비스에서 이메일 주소를 확인할 수 없습니다. 처음 사용한 방법으로 로그인하세요.",
|
|
402
|
+
invalid_credentials: "이메일 주소 또는 비밀번호가 올바르지 않습니다. 확인한 뒤 다시 시도하세요.",
|
|
403
|
+
acceptance_required: "계속하려면 현재 약관에 동의하세요.",
|
|
404
|
+
verify_email: "로그인하기 전에 받은 이메일의 링크를 열어 이메일 주소를 확인하세요.",
|
|
405
|
+
verification_failed: "이 확인 링크를 사용할 수 없습니다. 가장 최근에 받은 링크를 열어 보세요.",
|
|
406
|
+
invalid_code: "인증 코드가 올바르지 않습니다. 코드를 확인한 뒤 다시 시도하세요.",
|
|
407
|
+
method_unavailable: "지금은 이 방법으로 로그인할 수 없습니다. 다른 방법을 선택하세요.",
|
|
408
|
+
signup_failed: "계정을 만들지 못했습니다. 입력 내용을 확인한 뒤 다시 시도하세요.",
|
|
409
|
+
invalid_input: "입력 내용을 확인한 뒤 다시 시도하세요.",
|
|
410
|
+
try_later: "시도 횟수가 너무 많습니다. 잠시 후 다시 시도하세요.",
|
|
411
|
+
unavailable: "연결하지 못했습니다. 잠시 후 다시 시도하세요."
|
|
412
|
+
}
|
|
340
413
|
}
|
|
341
|
-
},
|
|
414
|
+
}, ne = {
|
|
342
415
|
en: "English",
|
|
343
416
|
"zh-Hant-HK": "繁體中文(香港)",
|
|
344
417
|
"zh-Hant-TW": "繁體中文(台灣)",
|
|
345
418
|
"zh-Hans": "简体中文",
|
|
346
|
-
ja: "日本語"
|
|
419
|
+
ja: "日本語",
|
|
420
|
+
ko: "한국어"
|
|
347
421
|
};
|
|
348
|
-
function
|
|
422
|
+
function O(e) {
|
|
349
423
|
for (let t of e) {
|
|
350
424
|
let e;
|
|
351
425
|
try {
|
|
@@ -353,8 +427,8 @@ function D(e) {
|
|
|
353
427
|
} catch {
|
|
354
428
|
continue;
|
|
355
429
|
}
|
|
356
|
-
if (Object.hasOwn(
|
|
357
|
-
if (e.language === "en" || e.language === "ja") return e.language;
|
|
430
|
+
if (Object.hasOwn(D, e.baseName)) return e.baseName;
|
|
431
|
+
if (e.language === "en" || e.language === "ja" || e.language === "ko") return e.language;
|
|
358
432
|
if (e.language === "zh") {
|
|
359
433
|
let t = e.maximize().script;
|
|
360
434
|
if (t === "Hans") return "zh-Hans";
|
|
@@ -363,7 +437,7 @@ function D(e) {
|
|
|
363
437
|
}
|
|
364
438
|
return "en";
|
|
365
439
|
}
|
|
366
|
-
function
|
|
440
|
+
function k(e) {
|
|
367
441
|
return new Intl.NumberFormat(e, {
|
|
368
442
|
style: "unit",
|
|
369
443
|
unit: "second",
|
|
@@ -371,272 +445,305 @@ function O(e) {
|
|
|
371
445
|
});
|
|
372
446
|
}
|
|
373
447
|
// src/provider-icons.tsx
|
|
374
|
-
var
|
|
448
|
+
var A = /*#__PURE__*/ p("<svg aria-hidden=true viewBox=\"0 0 24 24\"fill=currentColor width=19 height=19><path d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z\"fill=#4285F4></path><path d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z\"fill=#34A853></path><path d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z\"fill=#FBBC05></path><path d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\"fill=#EA4335>"), re = /*#__PURE__*/ p("<svg aria-hidden=true viewBox=\"0 0 24 24\"fill=currentColor width=19 height=19><path d=\"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z\">"), ie = /*#__PURE__*/ p("<svg aria-hidden=true viewBox=\"0 0 24 24\"fill=currentColor width=19 height=19><path d=\"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701\">"), j = /*#__PURE__*/ p("<svg aria-hidden=true viewBox=\"0 0 24 24\"fill=currentColor width=19 height=19><path d=\"M0 0h11.377v11.372H0zm12.623 0H24v11.372H12.623zM0 12.623h11.377V24H0zm12.623 0H24V24H12.623\"fill=#00A4EF>"), M = /*#__PURE__*/ p("<svg aria-hidden=true viewBox=\"0 0 24 24\"fill=currentColor width=19 height=19><path d=\"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z\">");
|
|
375
449
|
function N() {
|
|
376
|
-
return a(k);
|
|
377
|
-
}
|
|
378
|
-
function re() {
|
|
379
450
|
return a(A);
|
|
380
451
|
}
|
|
381
452
|
function P() {
|
|
382
|
-
return a(
|
|
453
|
+
return a(re);
|
|
383
454
|
}
|
|
384
455
|
function F() {
|
|
385
|
-
return a(
|
|
456
|
+
return a(ie);
|
|
457
|
+
}
|
|
458
|
+
function ae() {
|
|
459
|
+
return a(j);
|
|
386
460
|
}
|
|
387
461
|
function I() {
|
|
388
462
|
return a(M);
|
|
389
463
|
}
|
|
390
464
|
// src/sign-in-controller.ts
|
|
391
|
-
var
|
|
392
|
-
|
|
393
|
-
function
|
|
394
|
-
return typeof e == "string" && Object.hasOwn(
|
|
465
|
+
var oe = D.en.errors;
|
|
466
|
+
oe.unavailable;
|
|
467
|
+
function L(e) {
|
|
468
|
+
return typeof e == "string" && Object.hasOwn(oe, e);
|
|
395
469
|
}
|
|
396
|
-
var
|
|
470
|
+
var se = class extends Error {
|
|
397
471
|
code;
|
|
398
472
|
constructor(e) {
|
|
399
473
|
super(e), this.code = e;
|
|
400
474
|
}
|
|
401
475
|
};
|
|
402
|
-
function
|
|
476
|
+
function ce(e) {
|
|
403
477
|
return Uint8Array.from(atob(e.replace(/-/g, "+").replace(/_/g, "/")), (e) => e.charCodeAt(0));
|
|
404
478
|
}
|
|
405
|
-
function
|
|
479
|
+
function R(e) {
|
|
406
480
|
return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
407
481
|
}
|
|
408
|
-
function
|
|
409
|
-
let t = new URLSearchParams(e.search), n =
|
|
410
|
-
let e =
|
|
411
|
-
return e ?
|
|
412
|
-
}, [
|
|
413
|
-
async function
|
|
482
|
+
function z(e) {
|
|
483
|
+
let t = new URLSearchParams(e.search), n = v(e.next), r = h(e.routePrefix), i = v(e.loginPath, "/login").split(/[?#]/, 1)[0], a = t.get("challenge_id"), o = t.get("token"), s = !!a && !!o && t.get("type") === "email_verification", [c, l] = w(e.initialConfig), [u, d] = w(!1), [f, p] = w("choose"), [m, y] = w(""), b = t.get("error"), [x, S] = w(L(b) ? b : ""), C = () => {
|
|
484
|
+
let e = x();
|
|
485
|
+
return e ? oe[e] : "";
|
|
486
|
+
}, [T, D] = w(""), [ne, O] = w(!1), [k, A] = w(!1), [re, ie] = w(!1), j, M = !1, [N, P] = w(""), [F, ae] = w(""), [I, z] = w(""), [B, le] = w(!1), [ue, V] = w(!1), [de, H] = w(0), [fe, pe] = w(0), me = () => Math.max(0, Math.ceil((de() - fe()) / 1e3)), he, U = new AbortController();
|
|
487
|
+
async function ge() {
|
|
414
488
|
if (U.signal.aborted) return;
|
|
415
|
-
|
|
489
|
+
d(!1), l(void 0), he?.abort();
|
|
416
490
|
let e = new AbortController();
|
|
417
|
-
|
|
491
|
+
he = e;
|
|
418
492
|
try {
|
|
419
|
-
let t = await fetch(
|
|
493
|
+
let t = await fetch(`${r}/config`, {
|
|
420
494
|
referrerPolicy: "origin",
|
|
421
495
|
redirect: "error",
|
|
422
496
|
signal: AbortSignal.any([e.signal, AbortSignal.timeout(12e3)])
|
|
423
497
|
});
|
|
424
498
|
if (!t.ok) throw Error();
|
|
425
499
|
let n = await t.json();
|
|
426
|
-
if (!n || !Array.isArray(n.providers) || !n.providers.every((e) => typeof e == "string" && Object.hasOwn(
|
|
500
|
+
if (!n || !Array.isArray(n.providers) || !n.providers.every((e) => typeof e == "string" && Object.hasOwn(_, e)) || [
|
|
427
501
|
n.password,
|
|
428
502
|
n.signup,
|
|
429
503
|
n.otp,
|
|
430
504
|
n.passkey
|
|
431
505
|
].some((e) => typeof e != "boolean")) throw Error();
|
|
432
|
-
e.signal.aborted ||
|
|
506
|
+
e.signal.aborted || l(n);
|
|
433
507
|
} catch {
|
|
434
|
-
!e.signal.aborted && !U.signal.aborted &&
|
|
508
|
+
!e.signal.aborted && !U.signal.aborted && d(!0);
|
|
435
509
|
}
|
|
436
510
|
}
|
|
437
511
|
te(() => {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
512
|
+
A(window.isSecureContext && typeof PublicKeyCredential < "u"), s && (p("confirm"), window.history.replaceState(window.history.state, "", `${i}?${new URLSearchParams({ next: n })}`)), c() || ge(), e.conditionalPasskey && k() && PublicKeyCredential.isConditionalMediationAvailable?.().then((e) => {
|
|
513
|
+
U.signal.aborted || ie(e);
|
|
514
|
+
}).catch(() => void 0);
|
|
515
|
+
let t = window.setInterval(() => pe(Date.now()), 1e3);
|
|
516
|
+
E(() => {
|
|
517
|
+
window.clearInterval(t), he?.abort(), W(), U.abort();
|
|
442
518
|
});
|
|
443
519
|
});
|
|
444
|
-
function W(
|
|
445
|
-
|
|
520
|
+
function W() {
|
|
521
|
+
j?.abort(), j = void 0;
|
|
446
522
|
}
|
|
447
|
-
|
|
448
|
-
|
|
523
|
+
function G(e) {
|
|
524
|
+
e !== "choose" && W(), S(""), O(!1), p(e);
|
|
525
|
+
}
|
|
526
|
+
async function _e(t, n, r = U.signal) {
|
|
527
|
+
let i = await fetch(t, {
|
|
449
528
|
method: "POST",
|
|
450
529
|
headers: { "Content-Type": "application/json" },
|
|
451
530
|
referrerPolicy: "origin",
|
|
452
531
|
redirect: "error",
|
|
453
|
-
signal: AbortSignal.any([
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
532
|
+
signal: AbortSignal.any([
|
|
533
|
+
U.signal,
|
|
534
|
+
r,
|
|
535
|
+
AbortSignal.timeout(45e3)
|
|
536
|
+
]),
|
|
537
|
+
body: JSON.stringify({
|
|
538
|
+
...n,
|
|
539
|
+
acceptance: e.getAcceptance?.()
|
|
540
|
+
})
|
|
541
|
+
}), a = await i.json();
|
|
542
|
+
if (!i.ok) throw new se(L(a.error) ? a.error : "unavailable");
|
|
543
|
+
return a;
|
|
458
544
|
}
|
|
459
|
-
async function
|
|
460
|
-
let
|
|
545
|
+
async function K(e, t = {}) {
|
|
546
|
+
let i = await _e(`${r}/email`, {
|
|
461
547
|
action: e,
|
|
462
548
|
next: n,
|
|
463
549
|
...t
|
|
464
550
|
});
|
|
465
|
-
return !U.signal.aborted && typeof
|
|
551
|
+
return !U.signal.aborted && typeof i.next == "string" && window.location.assign(v(i.next, n)), i;
|
|
466
552
|
}
|
|
467
|
-
async function
|
|
468
|
-
if (!(
|
|
469
|
-
|
|
553
|
+
async function q(e, t) {
|
|
554
|
+
if (!(T() || U.signal.aborted)) {
|
|
555
|
+
M = !0, W(), D(e), S("");
|
|
470
556
|
try {
|
|
471
557
|
await t();
|
|
472
558
|
} catch (e) {
|
|
473
|
-
U.signal.aborted ||
|
|
559
|
+
U.signal.aborted || S(e instanceof se ? e.code : "unavailable");
|
|
474
560
|
} finally {
|
|
475
|
-
|
|
561
|
+
D("");
|
|
476
562
|
}
|
|
477
563
|
}
|
|
478
564
|
}
|
|
479
|
-
function
|
|
480
|
-
if (
|
|
481
|
-
let { authorize: t } = await
|
|
482
|
-
if (!
|
|
483
|
-
U.signal.aborted || window.location.assign(
|
|
565
|
+
function ve(e) {
|
|
566
|
+
if (c()?.providers.includes(e)) return q(_[e][0], async () => {
|
|
567
|
+
let { authorize: t } = await _e(`${r}/start/${e}`, { next: n }), i = g(e, t);
|
|
568
|
+
if (!i) throw Error();
|
|
569
|
+
U.signal.aborted || window.location.assign(i);
|
|
484
570
|
});
|
|
485
571
|
}
|
|
486
|
-
function
|
|
487
|
-
if (!(!
|
|
488
|
-
let e = await
|
|
572
|
+
function ye() {
|
|
573
|
+
if (!(!c()?.otp || f() === "otp" && me() > 0)) return q("email", async () => {
|
|
574
|
+
let e = await K("otp_start", { email: m().trim() });
|
|
489
575
|
if (!e.flow) throw Error();
|
|
490
|
-
|
|
576
|
+
ae(e.flow), P("");
|
|
491
577
|
let t = Date.now();
|
|
492
|
-
|
|
578
|
+
pe(t), H(t + 3e4), G("otp");
|
|
493
579
|
});
|
|
494
580
|
}
|
|
495
|
-
function
|
|
496
|
-
if (
|
|
497
|
-
(await
|
|
498
|
-
flow:
|
|
581
|
+
function be(e = N()) {
|
|
582
|
+
if (f() === "otp" && !T() && /^\d{6}$/.test(e)) return P(e), q("verify", async () => {
|
|
583
|
+
(await K("otp_verify", {
|
|
584
|
+
flow: F(),
|
|
499
585
|
code: e
|
|
500
|
-
})).step === "mfa" && (
|
|
586
|
+
})).step === "mfa" && (z(""), V(!1), G("mfa"));
|
|
501
587
|
});
|
|
502
588
|
}
|
|
503
|
-
function
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
589
|
+
async function xe(e, t) {
|
|
590
|
+
let { challenge: i, challengeId: a, rpId: o, credentials: s } = await _e(`${r}/email`, {
|
|
591
|
+
action: "passkey_start",
|
|
592
|
+
next: n
|
|
593
|
+
}, e);
|
|
594
|
+
if (e.aborted || !i || !a || !o || !s || t && s.length) return;
|
|
595
|
+
let c = await navigator.credentials.get({
|
|
596
|
+
signal: e,
|
|
597
|
+
...t && { mediation: "conditional" },
|
|
598
|
+
publicKey: {
|
|
599
|
+
challenge: ce(i),
|
|
600
|
+
rpId: o,
|
|
601
|
+
...t ? {} : { timeout: 6e4 },
|
|
602
|
+
userVerification: "required",
|
|
603
|
+
allowCredentials: s.map((e) => ({
|
|
604
|
+
id: ce(e),
|
|
605
|
+
type: "public-key"
|
|
606
|
+
}))
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
if (e.aborted || !(c instanceof PublicKeyCredential) || !(c.response instanceof AuthenticatorAssertionResponse)) return;
|
|
610
|
+
let l = c.response;
|
|
611
|
+
return {
|
|
612
|
+
challenge_id: a,
|
|
613
|
+
credential_id: R(c.rawId),
|
|
614
|
+
client_data_json: R(l.clientDataJSON),
|
|
615
|
+
authenticator_data: R(l.authenticatorData),
|
|
616
|
+
signature: R(l.signature),
|
|
617
|
+
user_handle: l.userHandle ? R(l.userHandle) : ""
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
function Se() {
|
|
621
|
+
if (k() && c()?.passkey) return q("passkey", async () => {
|
|
622
|
+
let e = await xe(U.signal, !1).catch((e) => {
|
|
623
|
+
if (!(e instanceof DOMException && e.name === "NotAllowedError")) throw e;
|
|
532
624
|
});
|
|
625
|
+
if (!e) throw new se("method_unavailable");
|
|
626
|
+
await K("passkey_verify", e);
|
|
533
627
|
});
|
|
534
628
|
}
|
|
535
|
-
|
|
536
|
-
if (
|
|
537
|
-
|
|
629
|
+
ee(() => {
|
|
630
|
+
if (M || !re() || f() !== "choose" || !c()?.passkey || e.getAcceptance && !e.getAcceptance()) return;
|
|
631
|
+
M = !0;
|
|
632
|
+
let t = new AbortController();
|
|
633
|
+
j = t, xe(t.signal, !0).then((e) => {
|
|
634
|
+
if (e && !t.signal.aborted && !U.signal.aborted) return q("passkey", async () => {
|
|
635
|
+
await K("passkey_verify", e);
|
|
636
|
+
});
|
|
637
|
+
}).catch(() => void 0).finally(() => {
|
|
638
|
+
j === t && (j = void 0);
|
|
639
|
+
});
|
|
640
|
+
});
|
|
641
|
+
function Ce() {
|
|
642
|
+
if (c()?.otp) return ye();
|
|
643
|
+
c()?.password && !T() && G("password");
|
|
538
644
|
}
|
|
539
|
-
function
|
|
540
|
-
let t =
|
|
541
|
-
if ((t === "password" || t === "signup" || t === "confirm") && (t !== "confirm" ||
|
|
542
|
-
let n = await
|
|
543
|
-
email:
|
|
645
|
+
function we(e) {
|
|
646
|
+
let t = f();
|
|
647
|
+
if ((t === "password" || t === "signup" || t === "confirm") && (t !== "confirm" || s)) return q("password", async () => {
|
|
648
|
+
let n = await K(t === "confirm" ? "verify_signup" : t, {
|
|
649
|
+
email: m().trim(),
|
|
544
650
|
password: e,
|
|
545
651
|
...t === "confirm" ? {
|
|
546
|
-
challengeId:
|
|
547
|
-
verification:
|
|
652
|
+
challengeId: a,
|
|
653
|
+
verification: o
|
|
548
654
|
} : {}
|
|
549
655
|
});
|
|
550
|
-
n.step === "check_email" &&
|
|
656
|
+
n.step === "check_email" && G("check_email"), n.step === "mfa" && n.challenge && (z(n.challenge), le(t === "confirm"), V(!1), G("mfa"));
|
|
551
657
|
});
|
|
552
658
|
}
|
|
553
|
-
function
|
|
554
|
-
if (
|
|
555
|
-
let t = e.trim(), n =
|
|
556
|
-
return
|
|
557
|
-
|
|
558
|
-
challenge:
|
|
659
|
+
function Te(e) {
|
|
660
|
+
if (f() !== "mfa") return;
|
|
661
|
+
let t = e.trim(), n = ue() ? "recovery_code" : "totp";
|
|
662
|
+
return q("verify", async () => {
|
|
663
|
+
I() ? await K("mfa", {
|
|
664
|
+
challenge: I(),
|
|
559
665
|
code: t,
|
|
560
666
|
method: n,
|
|
561
|
-
...
|
|
562
|
-
challengeId:
|
|
563
|
-
verification:
|
|
667
|
+
...B() ? {
|
|
668
|
+
challengeId: a,
|
|
669
|
+
verification: o
|
|
564
670
|
} : {}
|
|
565
|
-
}) : await
|
|
566
|
-
flow:
|
|
567
|
-
code:
|
|
671
|
+
}) : await K("otp_verify", {
|
|
672
|
+
flow: F(),
|
|
673
|
+
code: N(),
|
|
568
674
|
factor: t,
|
|
569
675
|
method: n
|
|
570
676
|
});
|
|
571
677
|
});
|
|
572
678
|
}
|
|
573
679
|
return {
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
680
|
+
emailRoute: `${r}/email`,
|
|
681
|
+
config: c,
|
|
682
|
+
configFailed: u,
|
|
683
|
+
loadConfig: ge,
|
|
684
|
+
step: f,
|
|
685
|
+
go: G,
|
|
686
|
+
email: m,
|
|
687
|
+
setEmail: y,
|
|
688
|
+
error: C,
|
|
689
|
+
errorCode: x,
|
|
690
|
+
busy: T,
|
|
691
|
+
showPassword: ne,
|
|
692
|
+
setShowPassword: O,
|
|
693
|
+
canPasskey: k,
|
|
694
|
+
code: N,
|
|
695
|
+
setCode: P,
|
|
696
|
+
recovery: ue,
|
|
697
|
+
setRecovery: V,
|
|
698
|
+
wait: me,
|
|
699
|
+
continueWithEmail: Ce,
|
|
700
|
+
social: ve,
|
|
701
|
+
sendCode: ye,
|
|
702
|
+
verifyCode: be,
|
|
703
|
+
passkey: Se,
|
|
704
|
+
submitPassword: we,
|
|
705
|
+
submitMfa: Te
|
|
599
706
|
};
|
|
600
707
|
}
|
|
601
708
|
// src/sign-in.tsx
|
|
602
|
-
var
|
|
709
|
+
var B = /*#__PURE__*/ p("<p>"), le = /*#__PURE__*/ p("<p role=alert>"), ue = /*#__PURE__*/ p("<label>"), V = /*#__PURE__*/ p("<input type=email name=username required maxlength=254>"), de = /*#__PURE__*/ p("<form method=post><!$><!/><label></label><div><input name=password required maxlength=1024><button type=button></button></div><!$><!/><button type=submit>"), H = /*#__PURE__*/ p("<button type=button>"), fe = /*#__PURE__*/ p("<form method=post><label></label><div><input type=text inputmode=numeric autocomplete=one-time-code><div aria-hidden=true></div></div><button type=submit>"), pe = /*#__PURE__*/ p("<div><button type=button></button><button type=button></button><!$><!/>"), me = /*#__PURE__*/ p("<form method=post><label></label><input name=code autocomplete=one-time-code required><button type=submit>"), he = /*#__PURE__*/ p("<div><button type=button></button><button type=button>"), U = /*#__PURE__*/ p("<div><label></label><select>"), ge = /*#__PURE__*/ p("<section><div><!$><!/><h1></h1><p></p><!$><!/><!$><!/><!$><!/><!$><!/>"), W = /*#__PURE__*/ p("<output>"), G = /*#__PURE__*/ p("<div>"), _e = /*#__PURE__*/ p("<form method=post><label></label><input type=email name=email required maxlength=254><button type=submit>"), K = /*#__PURE__*/ p("<p><!$><!/> <button type=button>"), q = /*#__PURE__*/ p("<button type=button><!$><!/><!$><!/>"), ve = /*#__PURE__*/ p("<input tabindex=-1 hidden name=username readonly>"), ye = /*#__PURE__*/ p("<span>"), be = /*#__PURE__*/ p("<option>"), xe = Object.keys(ne), Se = {
|
|
603
710
|
google: N,
|
|
604
|
-
github:
|
|
605
|
-
apple:
|
|
711
|
+
github: P,
|
|
712
|
+
apple: F,
|
|
606
713
|
facebook: I,
|
|
607
|
-
microsoft:
|
|
714
|
+
microsoft: ae
|
|
608
715
|
};
|
|
609
|
-
function
|
|
610
|
-
let p =
|
|
611
|
-
let e =
|
|
716
|
+
function Ce(r) {
|
|
717
|
+
let p = z(r), { emailRoute: h, config: g, configFailed: v, loadConfig: ee, step: E, email: A, setEmail: re, errorCode: ie, busy: j, showPassword: M, setShowPassword: N, canPasskey: P, code: F, setCode: ae, recovery: I, setRecovery: oe, wait: L, continueWithEmail: se, social: ce, sendCode: R, verifyCode: Ce, passkey: we, submitPassword: Te, submitMfa: Ee } = p, [De, Oe] = w(), [ke, Ae] = w(), J = C(() => r.locale === void 0 ? ke() ?? De() ?? O(r.localePreferences ?? []) : O([r.locale, ...r.localePreferences ?? []])), Y = () => D[J()], je = C(() => k(J())), Me = () => {
|
|
718
|
+
let e = ie();
|
|
612
719
|
return e ? Y().errors[e] : "";
|
|
613
720
|
};
|
|
614
721
|
te(() => {
|
|
615
|
-
r.locale === void 0 && !r.localePreferences?.length &&
|
|
722
|
+
r.locale === void 0 && !r.localePreferences?.length && Oe(O(navigator.languages));
|
|
616
723
|
});
|
|
617
|
-
let
|
|
724
|
+
let Ne = T(), X = (e) => `${Ne}-${e}`;
|
|
618
725
|
function Z(e) {
|
|
619
726
|
let t = r.appearance?.classes?.[e];
|
|
620
727
|
return r.appearance?.unstyled ? t : t ? `auth-sign-in-${e} ${t}` : `auth-sign-in-${e}`;
|
|
621
728
|
}
|
|
622
|
-
let
|
|
729
|
+
let Pe;
|
|
623
730
|
function Q(e) {
|
|
624
731
|
queueMicrotask(() => e.focus());
|
|
625
732
|
}
|
|
626
733
|
function $(e) {
|
|
627
|
-
p.go(e), e === "choose" && queueMicrotask(() =>
|
|
734
|
+
p.go(e), e === "choose" && queueMicrotask(() => Pe?.focus());
|
|
628
735
|
}
|
|
629
736
|
return (() => {
|
|
630
|
-
var p = a(
|
|
631
|
-
return s(
|
|
737
|
+
var p = a(ge), C = p.firstChild, w = C.firstChild, [T, te] = o(w.nextSibling), D = T.nextSibling, k = D.nextSibling, ie = k.nextSibling, [z, De] = o(ie.nextSibling), Oe = z.nextSibling, [ke, Ne] = o(Oe.nextSibling), Fe = ke.nextSibling, [Ie, Le] = o(Fe.nextSibling), Re = Ie.nextSibling, [ze, Be] = o(Re.nextSibling);
|
|
738
|
+
return s(C, n(x, {
|
|
632
739
|
get when() {
|
|
633
740
|
return r.kicker;
|
|
634
741
|
},
|
|
635
742
|
get children() {
|
|
636
|
-
var e = a(
|
|
743
|
+
var e = a(B);
|
|
637
744
|
return s(e, () => r.kicker), i(() => t(e, Z("kicker"))), e;
|
|
638
745
|
}
|
|
639
|
-
}),
|
|
746
|
+
}), T, te), s(D, () => ({
|
|
640
747
|
choose: r.title ?? Y().signIn,
|
|
641
748
|
password: Y().enterPassword,
|
|
642
749
|
signup: Y().createYourAccount,
|
|
@@ -644,50 +751,50 @@ function xe(r) {
|
|
|
644
751
|
confirm: Y().confirmEmail,
|
|
645
752
|
otp: Y().checkInbox,
|
|
646
753
|
mfa: Y().verifyIdentity
|
|
647
|
-
})[
|
|
754
|
+
})[E()]), s(k, () => ({
|
|
648
755
|
choose: r.description ?? Y().chooseMethod,
|
|
649
756
|
password: A(),
|
|
650
757
|
signup: Y().startWithEmail,
|
|
651
758
|
check_email: Y().checkEmailDescription,
|
|
652
759
|
confirm: Y().confirmEmailDescription,
|
|
653
760
|
otp: Y().enterEmailCode(A()),
|
|
654
|
-
mfa:
|
|
655
|
-
})[
|
|
761
|
+
mfa: I() ? Y().enterRecovery : Y().enterAuthenticator
|
|
762
|
+
})[E()]), s(C, n(x, {
|
|
656
763
|
get when() {
|
|
657
|
-
return
|
|
764
|
+
return Me();
|
|
658
765
|
},
|
|
659
766
|
get children() {
|
|
660
|
-
var e = a(
|
|
661
|
-
return s(e,
|
|
767
|
+
var e = a(le);
|
|
768
|
+
return s(e, Me), i(() => t(e, Z("error"))), e;
|
|
662
769
|
}
|
|
663
|
-
}),
|
|
770
|
+
}), z, De), s(C, n(S, { get children() {
|
|
664
771
|
return [
|
|
665
|
-
n(
|
|
772
|
+
n(b, {
|
|
666
773
|
get when() {
|
|
667
|
-
return
|
|
774
|
+
return E() === "choose";
|
|
668
775
|
},
|
|
669
776
|
get children() {
|
|
670
|
-
return n(
|
|
777
|
+
return n(x, {
|
|
671
778
|
get when() {
|
|
672
|
-
return
|
|
779
|
+
return g();
|
|
673
780
|
},
|
|
674
781
|
get fallback() {
|
|
675
|
-
return n(
|
|
782
|
+
return n(x, {
|
|
676
783
|
get when() {
|
|
677
|
-
return
|
|
784
|
+
return v();
|
|
678
785
|
},
|
|
679
786
|
get fallback() {
|
|
680
787
|
return (() => {
|
|
681
|
-
var e = a(
|
|
788
|
+
var e = a(W);
|
|
682
789
|
return s(e, () => Y().loading), i(() => t(e, Z("loading"))), e;
|
|
683
790
|
})();
|
|
684
791
|
},
|
|
685
792
|
get children() {
|
|
686
793
|
return [(() => {
|
|
687
|
-
var e = a(
|
|
794
|
+
var e = a(le);
|
|
688
795
|
return s(e, () => Y().errors.unavailable), i(() => t(e, Z("error"))), e;
|
|
689
796
|
})(), (() => {
|
|
690
|
-
var n = a(
|
|
797
|
+
var n = a(H);
|
|
691
798
|
return e(n, "click", ee, !0), s(n, () => Y().retry), i(() => t(n, Z("secondary"))), l(), n;
|
|
692
799
|
})()];
|
|
693
800
|
}
|
|
@@ -695,20 +802,20 @@ function xe(r) {
|
|
|
695
802
|
},
|
|
696
803
|
children: (e) => [
|
|
697
804
|
(() => {
|
|
698
|
-
var r = a(
|
|
699
|
-
return s(r, n(
|
|
805
|
+
var r = a(G);
|
|
806
|
+
return s(r, n(y, {
|
|
700
807
|
get each() {
|
|
701
808
|
return e().providers;
|
|
702
809
|
},
|
|
703
810
|
children: (e) => {
|
|
704
|
-
let r =
|
|
811
|
+
let r = Se[e];
|
|
705
812
|
return (() => {
|
|
706
|
-
var u = a(
|
|
707
|
-
return u.$$click = () => void
|
|
708
|
-
var t = c(() =>
|
|
709
|
-
return () => t() ? Y().openingProvider(
|
|
710
|
-
})(),
|
|
711
|
-
var n = Z("secondary"), r = !!
|
|
813
|
+
var u = a(q), f = u.firstChild, [p, m] = o(f.nextSibling), h = p.nextSibling, [g, v] = o(h.nextSibling);
|
|
814
|
+
return u.$$click = () => void ce(e), s(u, r && n(r, {}), p, m), s(u, (() => {
|
|
815
|
+
var t = c(() => j() === _[e][0]);
|
|
816
|
+
return () => t() ? Y().openingProvider(_[e][0]) : Y().continueProvider(_[e][0]);
|
|
817
|
+
})(), g, v), i((e) => {
|
|
818
|
+
var n = Z("secondary"), r = !!j();
|
|
712
819
|
return n !== e.e && t(u, e.e = n), r !== e.t && d(u, "disabled", e.t = r), e;
|
|
713
820
|
}, {
|
|
714
821
|
e: void 0,
|
|
@@ -718,52 +825,53 @@ function xe(r) {
|
|
|
718
825
|
}
|
|
719
826
|
})), i(() => t(r, Z("providers"))), r;
|
|
720
827
|
})(),
|
|
721
|
-
n(
|
|
828
|
+
n(x, {
|
|
722
829
|
get when() {
|
|
723
830
|
return e().password || e().otp;
|
|
724
831
|
},
|
|
725
832
|
get children() {
|
|
726
|
-
return [n(
|
|
833
|
+
return [n(x, {
|
|
727
834
|
get when() {
|
|
728
835
|
return e().providers.length;
|
|
729
836
|
},
|
|
730
837
|
get children() {
|
|
731
|
-
var e = a(
|
|
838
|
+
var e = a(G);
|
|
732
839
|
return s(e, () => Y().orEmail), i(() => t(e, Z("divider"))), e;
|
|
733
840
|
}
|
|
734
841
|
}), (() => {
|
|
735
|
-
var n = a(
|
|
842
|
+
var n = a(_e), r = n.firstChild, o = r.nextSibling, f = o.nextSibling;
|
|
736
843
|
return n.addEventListener("submit", (e) => {
|
|
737
|
-
e.preventDefault(),
|
|
738
|
-
}), s(r, () => Y().email), o.$$input = (e) =>
|
|
739
|
-
|
|
844
|
+
e.preventDefault(), se();
|
|
845
|
+
}), u(n, "action", h), s(r, () => Y().email), o.$$input = (e) => re(e.currentTarget.value), m((e) => {
|
|
846
|
+
Pe = e;
|
|
740
847
|
}, o), s(f, (() => {
|
|
741
|
-
var t = c(() =>
|
|
848
|
+
var t = c(() => j() === "email");
|
|
742
849
|
return () => t() ? Y().sendingCode : c(() => !!e().otp)() ? Y().emailCodeAction : Y().continueEmail;
|
|
743
850
|
})()), i((e) => {
|
|
744
|
-
var i = Z("form"), a = X("email"), s = X("email"), c = Z("primary"),
|
|
745
|
-
return i !== e.e && t(n, e.e = i), a !== e.t && u(r, "for", e.t = a), s !== e.a && u(o, "id", e.a = s), c !== e.o &&
|
|
851
|
+
var i = Z("form"), a = X("email"), s = X("email"), c = g()?.passkey ? "username webauthn" : "username", l = Z("primary"), p = !!j();
|
|
852
|
+
return i !== e.e && t(n, e.e = i), a !== e.t && u(r, "for", e.t = a), s !== e.a && u(o, "id", e.a = s), c !== e.o && u(o, "autocomplete", e.o = c), l !== e.i && t(f, e.i = l), p !== e.n && d(f, "disabled", e.n = p), e;
|
|
746
853
|
}, {
|
|
747
854
|
e: void 0,
|
|
748
855
|
t: void 0,
|
|
749
856
|
a: void 0,
|
|
750
857
|
o: void 0,
|
|
751
|
-
i: void 0
|
|
858
|
+
i: void 0,
|
|
859
|
+
n: void 0
|
|
752
860
|
}), i(() => d(o, "value", A())), l(), n;
|
|
753
861
|
})()];
|
|
754
862
|
}
|
|
755
863
|
}),
|
|
756
|
-
n(
|
|
864
|
+
n(x, {
|
|
757
865
|
get when() {
|
|
758
866
|
return c(() => !!e().passkey)() && P();
|
|
759
867
|
},
|
|
760
868
|
get children() {
|
|
761
|
-
var e = a(
|
|
762
|
-
return e.$$click = () => void
|
|
763
|
-
var e = c(() =>
|
|
869
|
+
var e = a(H);
|
|
870
|
+
return e.$$click = () => void we(), s(e, (() => {
|
|
871
|
+
var e = c(() => j() === "passkey");
|
|
764
872
|
return () => e() ? Y().waitingPasskey : Y().usePasskey;
|
|
765
873
|
})()), i((n) => {
|
|
766
|
-
var r = Z("link"), i = !!
|
|
874
|
+
var r = Z("link"), i = !!j();
|
|
767
875
|
return r !== n.e && t(e, n.e = r), i !== n.t && d(e, "disabled", n.t = i), n;
|
|
768
876
|
}, {
|
|
769
877
|
e: void 0,
|
|
@@ -771,14 +879,14 @@ function xe(r) {
|
|
|
771
879
|
}), l(), e;
|
|
772
880
|
}
|
|
773
881
|
}),
|
|
774
|
-
n(
|
|
882
|
+
n(x, {
|
|
775
883
|
get when() {
|
|
776
884
|
return e().signup;
|
|
777
885
|
},
|
|
778
886
|
get children() {
|
|
779
|
-
var e = a(
|
|
887
|
+
var e = a(K), n = e.firstChild, [r, c] = o(n.nextSibling), u = r.nextSibling.nextSibling;
|
|
780
888
|
return s(e, () => Y().newHere, r, c), u.$$click = () => $("signup"), s(u, () => Y().createAnAccount), i((n) => {
|
|
781
|
-
var r = Z("switch"), i = Z("link"), a = !!
|
|
889
|
+
var r = Z("switch"), i = Z("link"), a = !!j();
|
|
782
890
|
return r !== n.e && t(e, n.e = r), i !== n.t && t(u, n.t = i), a !== n.a && d(u, "disabled", n.a = a), n;
|
|
783
891
|
}, {
|
|
784
892
|
e: void 0,
|
|
@@ -787,12 +895,12 @@ function xe(r) {
|
|
|
787
895
|
}), l(), e;
|
|
788
896
|
}
|
|
789
897
|
}),
|
|
790
|
-
n(
|
|
898
|
+
n(x, {
|
|
791
899
|
get when() {
|
|
792
900
|
return c(() => !(e().password || e().signup || e().otp || e().providers.length))() && !(e().passkey && P());
|
|
793
901
|
},
|
|
794
902
|
get children() {
|
|
795
|
-
var e = a(
|
|
903
|
+
var e = a(W);
|
|
796
904
|
return s(e, () => Y().noMethods), e;
|
|
797
905
|
}
|
|
798
906
|
})
|
|
@@ -800,47 +908,53 @@ function xe(r) {
|
|
|
800
908
|
});
|
|
801
909
|
}
|
|
802
910
|
}),
|
|
803
|
-
n(
|
|
911
|
+
n(b, {
|
|
804
912
|
get when() {
|
|
805
|
-
return
|
|
913
|
+
return E() === "password" || E() === "signup" || E() === "confirm";
|
|
806
914
|
},
|
|
807
915
|
get children() {
|
|
808
916
|
return [(() => {
|
|
809
|
-
var e = a(
|
|
917
|
+
var e = a(de), r = e.firstChild, [f, p] = o(r.nextSibling), _ = f.nextSibling, v = _.nextSibling, y = v.firstChild, b = y.nextSibling, S = v.nextSibling, [ee, C] = o(S.nextSibling), w = ee.nextSibling;
|
|
810
918
|
return e.addEventListener("submit", (e) => {
|
|
811
|
-
e.preventDefault(),
|
|
812
|
-
}), s(e, n(
|
|
919
|
+
e.preventDefault(), Te(String(new FormData(e.currentTarget).get("password") ?? ""));
|
|
920
|
+
}), u(e, "action", h), s(e, n(x, {
|
|
813
921
|
get when() {
|
|
814
|
-
return
|
|
922
|
+
return E() !== "password";
|
|
815
923
|
},
|
|
816
924
|
get fallback() {
|
|
817
925
|
return (() => {
|
|
818
|
-
var e = a(
|
|
819
|
-
return i(() => d(e, "value", A())), e;
|
|
926
|
+
var e = a(ve);
|
|
927
|
+
return i(() => u(e, "autocomplete", g()?.passkey ? "username webauthn" : "username")), i(() => d(e, "value", A())), e;
|
|
820
928
|
})();
|
|
821
929
|
},
|
|
822
930
|
get children() {
|
|
823
931
|
return [(() => {
|
|
824
|
-
var e = a(
|
|
932
|
+
var e = a(ue);
|
|
825
933
|
return s(e, () => Y().email), i(() => u(e, "for", X("account-email"))), e;
|
|
826
934
|
})(), (() => {
|
|
827
|
-
var e = a(
|
|
828
|
-
e.$$input = (e) =>
|
|
935
|
+
var e = a(V);
|
|
936
|
+
e.$$input = (e) => re(e.currentTarget.value);
|
|
829
937
|
var t = Q;
|
|
830
|
-
return typeof t == "function" ? m(t, e) : Q = e, i(() =>
|
|
938
|
+
return typeof t == "function" ? m(t, e) : Q = e, i((t) => {
|
|
939
|
+
var n = X("account-email"), r = g()?.passkey ? "username webauthn" : "username";
|
|
940
|
+
return n !== t.e && u(e, "id", t.e = n), r !== t.t && u(e, "autocomplete", t.t = r), t;
|
|
941
|
+
}, {
|
|
942
|
+
e: void 0,
|
|
943
|
+
t: void 0
|
|
944
|
+
}), i(() => d(e, "value", A())), l(), e;
|
|
831
945
|
})()];
|
|
832
946
|
}
|
|
833
|
-
}), f, p), s(
|
|
834
|
-
|
|
835
|
-
},
|
|
836
|
-
var e = c(() => !!
|
|
947
|
+
}), f, p), s(_, () => Y().password), m((e) => {
|
|
948
|
+
E() === "password" && Q(e);
|
|
949
|
+
}, y), b.$$click = () => N(!M()), s(b, (() => {
|
|
950
|
+
var e = c(() => !!M());
|
|
837
951
|
return () => e() ? Y().hide : Y().show;
|
|
838
|
-
})()), s(e, n(
|
|
952
|
+
})()), s(e, n(x, {
|
|
839
953
|
get when() {
|
|
840
|
-
return
|
|
954
|
+
return E() === "signup";
|
|
841
955
|
},
|
|
842
956
|
get children() {
|
|
843
|
-
var e = a(
|
|
957
|
+
var e = a(B);
|
|
844
958
|
return s(e, () => Y().minimumPassword), i((n) => {
|
|
845
959
|
var r = Z("hint"), i = X("password-hint");
|
|
846
960
|
return r !== n.e && t(e, n.e = r), i !== n.t && u(e, "id", n.t = i), n;
|
|
@@ -849,12 +963,12 @@ function xe(r) {
|
|
|
849
963
|
t: void 0
|
|
850
964
|
}), e;
|
|
851
965
|
}
|
|
852
|
-
}),
|
|
853
|
-
var e = c(() => !!
|
|
854
|
-
return () => e() ? Y().working : c(() =>
|
|
966
|
+
}), ee, C), s(w, (() => {
|
|
967
|
+
var e = c(() => !!j());
|
|
968
|
+
return () => e() ? Y().working : c(() => E() === "signup")() ? Y().createAccount : c(() => E() === "confirm")() ? Y().confirmAndSignIn : Y().signIn;
|
|
855
969
|
})()), i((n) => {
|
|
856
|
-
var r = Z("form"), i = X("password"), a = Z("password"), o = X("password"), s =
|
|
857
|
-
return r !== n.e && t(e, n.e = r), i !== n.t && u(
|
|
970
|
+
var r = Z("form"), i = X("password"), a = Z("password"), o = X("password"), s = M() ? "text" : "password", c = E() === "signup" ? "new-password" : "current-password", l = E() === "signup" ? 12 : void 0, f = E() === "signup" ? X("password-hint") : void 0, p = Z("link"), m = M() ? Y().hidePassword : Y().showPassword, h = Z("primary"), g = !!j();
|
|
971
|
+
return r !== n.e && t(e, n.e = r), i !== n.t && u(_, "for", n.t = i), a !== n.a && t(v, n.a = a), o !== n.o && u(y, "id", n.o = o), s !== n.i && u(y, "type", n.i = s), c !== n.n && u(y, "autocomplete", n.n = c), l !== n.s && u(y, "minlength", n.s = l), f !== n.h && u(y, "aria-describedby", n.h = f), p !== n.r && t(b, n.r = p), m !== n.d && u(b, "aria-label", n.d = m), h !== n.l && t(w, n.l = h), g !== n.u && d(w, "disabled", n.u = g), n;
|
|
858
972
|
}, {
|
|
859
973
|
e: void 0,
|
|
860
974
|
t: void 0,
|
|
@@ -870,12 +984,12 @@ function xe(r) {
|
|
|
870
984
|
u: void 0
|
|
871
985
|
}), l(), e;
|
|
872
986
|
})(), (() => {
|
|
873
|
-
var e = a(
|
|
987
|
+
var e = a(H);
|
|
874
988
|
return e.$$click = () => $("choose"), s(e, (() => {
|
|
875
|
-
var e = c(() =>
|
|
989
|
+
var e = c(() => E() === "password");
|
|
876
990
|
return () => e() ? Y().changeEmailOrMethod : Y().backToSignIn;
|
|
877
991
|
})()), i((n) => {
|
|
878
|
-
var r = Z("link"), i = !!
|
|
992
|
+
var r = Z("link"), i = !!j();
|
|
879
993
|
return r !== n.e && t(e, n.e = r), i !== n.t && d(e, "disabled", n.t = i), n;
|
|
880
994
|
}, {
|
|
881
995
|
e: void 0,
|
|
@@ -884,30 +998,30 @@ function xe(r) {
|
|
|
884
998
|
})()];
|
|
885
999
|
}
|
|
886
1000
|
}),
|
|
887
|
-
n(
|
|
1001
|
+
n(b, {
|
|
888
1002
|
get when() {
|
|
889
|
-
return
|
|
1003
|
+
return E() === "check_email";
|
|
890
1004
|
},
|
|
891
1005
|
get children() {
|
|
892
|
-
var e = a(
|
|
1006
|
+
var e = a(H);
|
|
893
1007
|
return e.$$click = () => $("choose"), s(e, () => Y().backToSignIn), i(() => t(e, Z("secondary"))), l(), e;
|
|
894
1008
|
}
|
|
895
1009
|
}),
|
|
896
|
-
n(
|
|
1010
|
+
n(b, {
|
|
897
1011
|
get when() {
|
|
898
|
-
return
|
|
1012
|
+
return E() === "otp";
|
|
899
1013
|
},
|
|
900
1014
|
get children() {
|
|
901
1015
|
return [(() => {
|
|
902
|
-
var e = a(
|
|
1016
|
+
var e = a(fe), r = e.firstChild, o = r.nextSibling, f = o.firstChild, p = f.nextSibling, g = o.nextSibling;
|
|
903
1017
|
e.addEventListener("submit", (e) => {
|
|
904
|
-
e.preventDefault(),
|
|
905
|
-
}), s(r, () => Y().emailCode), f.$$input = (e) => {
|
|
1018
|
+
e.preventDefault(), Ce(F());
|
|
1019
|
+
}), u(e, "action", h), s(r, () => Y().emailCode), f.$$input = (e) => {
|
|
906
1020
|
let t = e.currentTarget.value.replace(/\D/g, "").slice(0, 6);
|
|
907
|
-
e.currentTarget.value = t,
|
|
1021
|
+
e.currentTarget.value = t, ae(t), Ce(t);
|
|
908
1022
|
};
|
|
909
|
-
var
|
|
910
|
-
return typeof
|
|
1023
|
+
var _ = Q;
|
|
1024
|
+
return typeof _ == "function" ? m(_, f) : Q = f, s(p, n(y, {
|
|
911
1025
|
each: [
|
|
912
1026
|
0,
|
|
913
1027
|
1,
|
|
@@ -917,15 +1031,15 @@ function xe(r) {
|
|
|
917
1031
|
5
|
|
918
1032
|
],
|
|
919
1033
|
children: (e) => (() => {
|
|
920
|
-
var t = a(
|
|
1034
|
+
var t = a(ye);
|
|
921
1035
|
return s(t, () => F()[e] ?? ""), t;
|
|
922
1036
|
})()
|
|
923
|
-
})), s(
|
|
924
|
-
var e = c(() =>
|
|
1037
|
+
})), s(g, (() => {
|
|
1038
|
+
var e = c(() => j() === "verify");
|
|
925
1039
|
return () => e() ? Y().checkingCode : Y().verifyCode;
|
|
926
1040
|
})()), i((n) => {
|
|
927
|
-
var i = Z("form"), a = X("code"), s = Z("otp"), c = X("code"), l = !!
|
|
928
|
-
return i !== n.e && t(e, n.e = i), a !== n.t && u(r, "for", n.t = a), s !== n.a && t(o, n.a = s), c !== n.o && u(f, "id", n.o = c), l !== n.i && d(f, "readOnly", n.i = l), m !== n.n && t(p, n.n = m),
|
|
1041
|
+
var i = Z("form"), a = X("code"), s = Z("otp"), c = X("code"), l = !!j(), m = Z("cells"), h = Z("primary"), _ = !!j() || F().length !== 6;
|
|
1042
|
+
return i !== n.e && t(e, n.e = i), a !== n.t && u(r, "for", n.t = a), s !== n.a && t(o, n.a = s), c !== n.o && u(f, "id", n.o = c), l !== n.i && d(f, "readOnly", n.i = l), m !== n.n && t(p, n.n = m), h !== n.s && t(g, n.s = h), _ !== n.h && d(g, "disabled", n.h = _), n;
|
|
929
1043
|
}, {
|
|
930
1044
|
e: void 0,
|
|
931
1045
|
t: void 0,
|
|
@@ -937,18 +1051,18 @@ function xe(r) {
|
|
|
937
1051
|
h: void 0
|
|
938
1052
|
}), i(() => d(f, "value", F())), l(), e;
|
|
939
1053
|
})(), (() => {
|
|
940
|
-
var e = a(
|
|
941
|
-
return r.$$click = () => void
|
|
942
|
-
var e = c(() => !!
|
|
943
|
-
return () => e() ? Y().resendIn(
|
|
944
|
-
})()), u.$$click = () => $("choose"), s(u, () => Y().changeEmail), s(e, n(
|
|
1054
|
+
var e = a(pe), r = e.firstChild, u = r.nextSibling, f = u.nextSibling, [p, m] = o(f.nextSibling);
|
|
1055
|
+
return r.$$click = () => void R(), s(r, (() => {
|
|
1056
|
+
var e = c(() => !!L());
|
|
1057
|
+
return () => e() ? Y().resendIn(je().format(L())) : Y().resendCode;
|
|
1058
|
+
})()), u.$$click = () => $("choose"), s(u, () => Y().changeEmail), s(e, n(x, {
|
|
945
1059
|
get when() {
|
|
946
|
-
return
|
|
1060
|
+
return g()?.password;
|
|
947
1061
|
},
|
|
948
1062
|
get children() {
|
|
949
|
-
var e = a(
|
|
1063
|
+
var e = a(H);
|
|
950
1064
|
return e.$$click = () => $("password"), s(e, () => Y().usePassword), i((n) => {
|
|
951
|
-
var r = Z("link"), i = !!
|
|
1065
|
+
var r = Z("link"), i = !!j();
|
|
952
1066
|
return r !== n.e && t(e, n.e = r), i !== n.t && d(e, "disabled", n.t = i), n;
|
|
953
1067
|
}, {
|
|
954
1068
|
e: void 0,
|
|
@@ -956,7 +1070,7 @@ function xe(r) {
|
|
|
956
1070
|
}), l(), e;
|
|
957
1071
|
}
|
|
958
1072
|
}), p, m), i((n) => {
|
|
959
|
-
var i = Z("actions"), a = Z("link"), o = !!
|
|
1073
|
+
var i = Z("actions"), a = Z("link"), o = !!j() || L() > 0, s = Z("link"), c = !!j();
|
|
960
1074
|
return i !== n.e && t(e, n.e = i), a !== n.t && t(r, n.t = a), o !== n.a && d(r, "disabled", n.a = o), s !== n.o && t(u, n.o = s), c !== n.i && d(u, "disabled", n.i = c), n;
|
|
961
1075
|
}, {
|
|
962
1076
|
e: void 0,
|
|
@@ -968,25 +1082,25 @@ function xe(r) {
|
|
|
968
1082
|
})()];
|
|
969
1083
|
}
|
|
970
1084
|
}),
|
|
971
|
-
n(
|
|
1085
|
+
n(b, {
|
|
972
1086
|
get when() {
|
|
973
|
-
return
|
|
1087
|
+
return E() === "mfa";
|
|
974
1088
|
},
|
|
975
1089
|
get children() {
|
|
976
1090
|
return [(() => {
|
|
977
|
-
var e = a(
|
|
1091
|
+
var e = a(me), n = e.firstChild, r = n.nextSibling, o = r.nextSibling;
|
|
978
1092
|
e.addEventListener("submit", (e) => {
|
|
979
|
-
e.preventDefault(),
|
|
980
|
-
}), s(n, (() => {
|
|
981
|
-
var e = c(() => !!
|
|
1093
|
+
e.preventDefault(), Ee(String(new FormData(e.currentTarget).get("code") ?? ""));
|
|
1094
|
+
}), u(e, "action", h), s(n, (() => {
|
|
1095
|
+
var e = c(() => !!I());
|
|
982
1096
|
return () => e() ? Y().recoveryCode : Y().authenticatorCode;
|
|
983
1097
|
})());
|
|
984
1098
|
var l = Q;
|
|
985
1099
|
return typeof l == "function" ? m(l, r) : Q = r, s(o, (() => {
|
|
986
|
-
var e = c(() => !!
|
|
1100
|
+
var e = c(() => !!j());
|
|
987
1101
|
return () => e() ? Y().checkingCode : Y().verifyAndSignIn;
|
|
988
1102
|
})()), i((i) => {
|
|
989
|
-
var a = Z("form"), s = X("mfa"), c = X("mfa"), l =
|
|
1103
|
+
var a = Z("form"), s = X("mfa"), c = X("mfa"), l = I() ? "text" : "numeric", f = I() ? 128 : 6, p = Z("primary"), m = !!j();
|
|
990
1104
|
return a !== i.e && t(e, i.e = a), s !== i.t && u(n, "for", i.t = s), c !== i.a && u(r, "id", i.a = c), l !== i.o && u(r, "inputmode", i.o = l), f !== i.i && u(r, "maxlength", i.i = f), p !== i.n && t(o, i.n = p), m !== i.s && d(o, "disabled", i.s = m), i;
|
|
991
1105
|
}, {
|
|
992
1106
|
e: void 0,
|
|
@@ -998,12 +1112,12 @@ function xe(r) {
|
|
|
998
1112
|
s: void 0
|
|
999
1113
|
}), e;
|
|
1000
1114
|
})(), (() => {
|
|
1001
|
-
var e = a(
|
|
1002
|
-
return n.$$click = () =>
|
|
1003
|
-
var e = c(() => !!
|
|
1115
|
+
var e = a(he), n = e.firstChild, r = n.nextSibling;
|
|
1116
|
+
return n.$$click = () => oe(!I()), s(n, (() => {
|
|
1117
|
+
var e = c(() => !!I());
|
|
1004
1118
|
return () => e() ? Y().useAuthenticator : Y().useRecovery;
|
|
1005
1119
|
})()), r.$$click = () => $("choose"), s(r, () => Y().backToSignIn), i((i) => {
|
|
1006
|
-
var a = Z("actions"), o = !!
|
|
1120
|
+
var a = Z("actions"), o = !!j(), s = Z("link"), c = !!j(), l = Z("link");
|
|
1007
1121
|
return a !== i.e && t(e, i.e = a), o !== i.t && d(n, "disabled", i.t = o), s !== i.a && t(n, i.a = s), c !== i.o && d(r, "disabled", i.o = c), l !== i.i && t(r, i.i = l), i;
|
|
1008
1122
|
}, {
|
|
1009
1123
|
e: void 0,
|
|
@@ -1016,20 +1130,20 @@ function xe(r) {
|
|
|
1016
1130
|
}
|
|
1017
1131
|
})
|
|
1018
1132
|
];
|
|
1019
|
-
} }),
|
|
1133
|
+
} }), ke, Ne), s(C, n(x, {
|
|
1020
1134
|
get when() {
|
|
1021
1135
|
return c(() => r.showLocaleSelector !== !1)() && (r.locale === void 0 || r.onLocaleChange);
|
|
1022
1136
|
},
|
|
1023
1137
|
get children() {
|
|
1024
|
-
var e = a(
|
|
1138
|
+
var e = a(U), o = e.firstChild, c = o.nextSibling;
|
|
1025
1139
|
return s(o, () => Y().language), c.addEventListener("change", (e) => {
|
|
1026
|
-
let t =
|
|
1027
|
-
r.locale === void 0 &&
|
|
1028
|
-
}), s(c, n(
|
|
1029
|
-
each:
|
|
1140
|
+
let t = O([e.currentTarget.value]);
|
|
1141
|
+
r.locale === void 0 && Ae(t), r.onLocaleChange?.(t);
|
|
1142
|
+
}), s(c, n(y, {
|
|
1143
|
+
each: xe,
|
|
1030
1144
|
children: (e) => (() => {
|
|
1031
|
-
var t = a(
|
|
1032
|
-
return d(t, "value", e), u(t, "lang", e), s(t, () =>
|
|
1145
|
+
var t = a(be);
|
|
1146
|
+
return d(t, "value", e), u(t, "lang", e), s(t, () => ne[e]), i(() => d(t, "selected", J() === e)), t;
|
|
1033
1147
|
})()
|
|
1034
1148
|
})), i((n) => {
|
|
1035
1149
|
var r = Z("locale"), i = X("locale"), a = X("locale");
|
|
@@ -1040,17 +1154,17 @@ function xe(r) {
|
|
|
1040
1154
|
a: void 0
|
|
1041
1155
|
}), i(() => d(c, "value", J())), e;
|
|
1042
1156
|
}
|
|
1043
|
-
}),
|
|
1157
|
+
}), Ie, Le), s(C, n(x, {
|
|
1044
1158
|
get when() {
|
|
1045
1159
|
return r.agreement;
|
|
1046
1160
|
},
|
|
1047
1161
|
get children() {
|
|
1048
|
-
var e = a(
|
|
1162
|
+
var e = a(B);
|
|
1049
1163
|
return s(e, () => r.agreement), i(() => t(e, Z("agreement"))), e;
|
|
1050
1164
|
}
|
|
1051
|
-
}),
|
|
1165
|
+
}), ze, Be), i((e) => {
|
|
1052
1166
|
var n = Z("panel"), i = r.appearance?.tokens, a = X("title"), o = J(), s = Z("content"), c = X("title"), l = Z("title"), d = Z("sub");
|
|
1053
|
-
return n !== e.e && t(p, e.e = n), e.t = f(p, i, e.t), a !== e.a && u(p, "aria-labelledby", e.a = a), o !== e.o && u(p, "lang", e.o = o), s !== e.i && t(
|
|
1167
|
+
return n !== e.e && t(p, e.e = n), e.t = f(p, i, e.t), a !== e.a && u(p, "aria-labelledby", e.a = a), o !== e.o && u(p, "lang", e.o = o), s !== e.i && t(C, e.i = s), c !== e.n && u(D, "id", e.n = c), l !== e.s && t(D, e.s = l), d !== e.h && t(k, e.h = d), e;
|
|
1054
1168
|
}, {
|
|
1055
1169
|
e: void 0,
|
|
1056
1170
|
t: void 0,
|
|
@@ -1064,4 +1178,4 @@ function xe(r) {
|
|
|
1064
1178
|
})();
|
|
1065
1179
|
}
|
|
1066
1180
|
r(["input", "click"]);
|
|
1067
|
-
export {
|
|
1181
|
+
export { Ce as SylphxSignIn, z as createSignInController, ne as localeNames, O as resolveAuthLocale, D as signInMessages };
|