@springmicro/auth 0.7.21 → 0.7.22
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/dist/{Index-1e31d199-BXGGyb0l.js → Index-1e31d199-BKxhThhF.js} +1 -1
- package/dist/{Index-6078f122-DGZJdnAZ.js → Index-6078f122-DZtwh1V7.js} +1 -1
- package/dist/{Web3Auth-DG8Yz_cD.js → Web3Auth-CYZ2tXRd.js} +12 -14
- package/dist/hashTypedData-DSWDPZpk.js +2035 -0
- package/dist/{index-BYJic99M.js → index-BQclNTiM.js} +33 -33
- package/dist/index-C_5temok.js +15181 -0
- package/dist/{index-C8R4klyg.js → index-D43Guca7.js} +27 -27
- package/dist/{index-BXvsDp0W.js → index-DEONFj0_.js} +933 -1157
- package/dist/{index-B51q7F_W.js → index-DcaYmCtZ.js} +1419 -1384
- package/dist/index-k1B2fiIe.js +384 -0
- package/dist/{index-hDobpv7u.js → index-nqI1BAVh.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +279 -313
- package/dist/native-BXgFvfgl.js +15 -0
- package/dist/number-D7MFtzNG.js +1752 -0
- package/dist/{parseEther-C7cmMVOE.js → parseEther-B1tMovDx.js} +1 -1
- package/dist/sha256-D3FUdNrs.js +178 -0
- package/dist/utils-DbgAoL44.js +119 -0
- package/package.json +2 -2
- package/dist/hmac-CW2mnXa8.js +0 -47
- package/dist/index-Bfb6JoQf.js +0 -21225
- package/dist/index-CBbDq4vF.js +0 -13520
- package/dist/index-DbQi7wFl.js +0 -547
- package/dist/number-DvQcSzeP.js +0 -1512
- package/dist/sha256-C90UGNQg.js +0 -326
|
@@ -58,7 +58,7 @@ function gt() {
|
|
|
58
58
|
return "Profiler";
|
|
59
59
|
case I:
|
|
60
60
|
return "StrictMode";
|
|
61
|
-
case
|
|
61
|
+
case J:
|
|
62
62
|
return "Suspense";
|
|
63
63
|
case te:
|
|
64
64
|
return "SuspenseList";
|
|
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
239
239
|
function m(c) {
|
|
240
240
|
return typeof c == "object" && c !== null && c.$$typeof === C;
|
|
241
241
|
}
|
|
242
|
-
var w = f, C = Symbol.for("react.transitional.element"), B = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), E = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"),
|
|
242
|
+
var w = f, C = Symbol.for("react.transitional.element"), B = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), E = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), V = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), we = Symbol.for("react.activity"), ne = Symbol.for("react.client.reference"), K = w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, se = Object.prototype.hasOwnProperty, ye = Array.isArray, oe = console.createTask ? console.createTask : function() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
245
|
w = {
|
|
@@ -726,7 +726,7 @@ function ze(t, e) {
|
|
|
726
726
|
}
|
|
727
727
|
).then((n) => n.json());
|
|
728
728
|
}
|
|
729
|
-
const
|
|
729
|
+
const Q = {
|
|
730
730
|
Google: {
|
|
731
731
|
scope: "profile+email",
|
|
732
732
|
endpoint: "https://accounts.google.com/signin/oauth"
|
|
@@ -1042,8 +1042,8 @@ const J = {
|
|
|
1042
1042
|
function Ot(t, e, n, i) {
|
|
1043
1043
|
if (t === null || e === null)
|
|
1044
1044
|
return "";
|
|
1045
|
-
let a =
|
|
1046
|
-
const r =
|
|
1045
|
+
let a = Q[e.type].endpoint, l = `${window.location.origin}/callback`;
|
|
1046
|
+
const r = Q[e.type].scope, p = e.type === "WeChat" && navigator.userAgent.includes("MicroMessenger") || e.type === "Twitter", u = It(
|
|
1047
1047
|
t.name,
|
|
1048
1048
|
e.name,
|
|
1049
1049
|
n,
|
|
@@ -1058,9 +1058,9 @@ function Ot(t, e, n, i) {
|
|
|
1058
1058
|
if (e.type === "DingTalk")
|
|
1059
1059
|
return `${a}?client_id=${e.clientId}&redirect_uri=${l}&scope=${r}&response_type=code&prompt=consent&state=${u}`;
|
|
1060
1060
|
if (e.type === "WeChat")
|
|
1061
|
-
return navigator.userAgent.includes("MicroMessenger") ? `${
|
|
1061
|
+
return navigator.userAgent.includes("MicroMessenger") ? `${Q[e.type].mpEndpoint}?appid=${e.clientId2}&redirect_uri=${l}&state=${u}&scope=${Q[e.type].mpScope}&response_type=code#wechat_redirect` : e.clientId2 && (e != null && e.disableSsl) && (e == null ? void 0 : e.signName) === "media" ? `${window.location.origin}/callback?state=${u}&code=${"wechat_oa:" + i}` : `${a}?appid=${e.clientId}&redirect_uri=${l}&scope=${r}&response_type=code&state=${u}#wechat_redirect`;
|
|
1062
1062
|
if (e.type === "WeCom")
|
|
1063
|
-
return e.subType === "Internal" ? e.method === "Silent" ? (a =
|
|
1063
|
+
return e.subType === "Internal" ? e.method === "Silent" ? (a = Q[e.type].silentEndpoint, `${a}?appid=${e.clientId}&redirect_uri=${l}&state=${u}&scope=${r}&response_type=code#wechat_redirect`) : e.method === "Normal" ? (a = Q[e.type].internalEndpoint, `${a}?appid=${e.clientId}&agentid=${e.appId}&redirect_uri=${l}&state=${u}&usertype=member`) : `https://error:not-supported-provider-method:${e.method}` : e.subType === "Third-party" ? e.method === "Silent" ? (a = Q[e.type].silentEndpoint, `${a}?appid=${e.clientId}&redirect_uri=${l}&state=${u}&scope=${r}&response_type=code#wechat_redirect`) : e.method === "Normal" ? `${a}?appid=${e.clientId}&redirect_uri=${l}&state=${u}&usertype=member` : `https://error:not-supported-provider-method:${e.method}` : `https://error:not-supported-provider-sub-type:${e.subType}`;
|
|
1064
1064
|
if (e.type === "Lark")
|
|
1065
1065
|
return `${a}?app_id=${e.clientId}&redirect_uri=${l}&state=${u}`;
|
|
1066
1066
|
if (e.type === "ADFS")
|
|
@@ -1318,7 +1318,7 @@ const Rt = (t) => {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
}, [e, n, i, a, l, r]), /* @__PURE__ */ o.jsx("div", { id: "captcha" });
|
|
1320
1320
|
}, Dt = (t) => {
|
|
1321
|
-
const { t: e } = ge(), { owner: n, name: i, visible: a, onOk: l, onCancel: r, isCurrentProvider: p } = t, [u, d] = f.useState("none"), [g, b] = f.useState(""), [m, w] = f.useState(""), [C, B] = f.useState(""), [F, I] = f.useState(""), [x, $] = f.useState(""), [E, N] = f.useState(!1), [
|
|
1321
|
+
const { t: e } = ge(), { owner: n, name: i, visible: a, onOk: l, onCancel: r, isCurrentProvider: p } = t, [u, d] = f.useState("none"), [g, b] = f.useState(""), [m, w] = f.useState(""), [C, B] = f.useState(""), [F, I] = f.useState(""), [x, $] = f.useState(""), [E, N] = f.useState(!1), [J, te] = f.useState(""), [V, z] = f.useState(""), we = f.useRef(null);
|
|
1322
1322
|
Ze(() => {
|
|
1323
1323
|
a ? se() : (K(), N(!1));
|
|
1324
1324
|
}, [a]);
|
|
@@ -1336,7 +1336,7 @@ const Rt = (t) => {
|
|
|
1336
1336
|
{
|
|
1337
1337
|
className: "bg-no-repeat mb-4 border border-current rounded w-[200px] h-[80px]",
|
|
1338
1338
|
style: {
|
|
1339
|
-
backgroundImage: `url('data:image/png;base64,${
|
|
1339
|
+
backgroundImage: `url('data:image/png;base64,${J}')`
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
),
|
|
@@ -1413,8 +1413,8 @@ const Rt = (t) => {
|
|
|
1413
1413
|
r,
|
|
1414
1414
|
p,
|
|
1415
1415
|
...a
|
|
1416
|
-
).then((
|
|
1417
|
-
C(!1),
|
|
1416
|
+
).then((J) => {
|
|
1417
|
+
C(!1), J && F(60);
|
|
1418
1418
|
});
|
|
1419
1419
|
}, x = () => {
|
|
1420
1420
|
g(!1);
|
|
@@ -1459,14 +1459,14 @@ const Rt = (t) => {
|
|
|
1459
1459
|
)
|
|
1460
1460
|
] });
|
|
1461
1461
|
};
|
|
1462
|
-
var Wt = Object.create, re = Object.defineProperty, Ht = Object.defineProperties, Gt = Object.getOwnPropertyDescriptor, Vt = Object.getOwnPropertyDescriptors, qt = Object.getOwnPropertyNames, Oe = Object.getOwnPropertySymbols, Yt = Object.getPrototypeOf, at = Object.prototype.hasOwnProperty,
|
|
1462
|
+
var Wt = Object.create, re = Object.defineProperty, Ht = Object.defineProperties, Gt = Object.getOwnPropertyDescriptor, Vt = Object.getOwnPropertyDescriptors, qt = Object.getOwnPropertyNames, Oe = Object.getOwnPropertySymbols, Yt = Object.getPrototypeOf, at = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, Ie = (t, e, n) => e in t ? re(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, T = (t, e) => {
|
|
1463
1463
|
for (var n in e || (e = {}))
|
|
1464
1464
|
at.call(e, n) && Ie(t, n, e[n]);
|
|
1465
1465
|
if (Oe)
|
|
1466
1466
|
for (var n of Oe(e))
|
|
1467
|
-
|
|
1467
|
+
Jt.call(e, n) && Ie(t, n, e[n]);
|
|
1468
1468
|
return t;
|
|
1469
|
-
}, it = (t, e) => Ht(t, Vt(e)),
|
|
1469
|
+
}, it = (t, e) => Ht(t, Vt(e)), Qt = (t, e) => {
|
|
1470
1470
|
for (var n in e)
|
|
1471
1471
|
re(t, n, { get: e[n], enumerable: !0 });
|
|
1472
1472
|
}, lt = (t, e, n, i) => {
|
|
@@ -1482,7 +1482,7 @@ var Wt = Object.create, re = Object.defineProperty, Ht = Object.defineProperties
|
|
|
1482
1482
|
!t || !t.__esModule ? re(n, "default", { value: t, enumerable: !0 }) : n,
|
|
1483
1483
|
t
|
|
1484
1484
|
)), Zt = (t) => lt(re({}, "__esModule", { value: !0 }), t), ct = {};
|
|
1485
|
-
|
|
1485
|
+
Qt(ct, {
|
|
1486
1486
|
AmazonLoginButton: () => xn,
|
|
1487
1487
|
AppleLoginButton: () => Pn,
|
|
1488
1488
|
BufferLoginButton: () => Mn,
|
|
@@ -1501,7 +1501,7 @@ Jt(ct, {
|
|
|
1501
1501
|
TikTokLoginButton: () => no,
|
|
1502
1502
|
TwitterLoginButton: () => wn,
|
|
1503
1503
|
XLoginButton: () => po,
|
|
1504
|
-
YahooLoginButton: () =>
|
|
1504
|
+
YahooLoginButton: () => Qn,
|
|
1505
1505
|
ZaloLoginButton: () => Xn,
|
|
1506
1506
|
createButton: () => j
|
|
1507
1507
|
});
|
|
@@ -1528,7 +1528,7 @@ var y = Zt(ct), ve = v(f), q = v(f), Kt = v(f), Xt = ({ name: t, size: e, format
|
|
|
1528
1528
|
preventActiveStyles: $ = !1,
|
|
1529
1529
|
size: E = "50px",
|
|
1530
1530
|
style: N,
|
|
1531
|
-
disabled:
|
|
1531
|
+
disabled: J,
|
|
1532
1532
|
type: te = "button"
|
|
1533
1533
|
} = t, V = an(Se.button, {
|
|
1534
1534
|
activeStyle: $ ? N : g,
|
|
@@ -1545,7 +1545,7 @@ var y = Zt(ct), ve = v(f), q = v(f), Kt = v(f), Xt = ({ name: t, size: e, format
|
|
|
1545
1545
|
onMouseLeave: r,
|
|
1546
1546
|
onFocus: p,
|
|
1547
1547
|
onBlur: u
|
|
1548
|
-
}, { className: C, disabled:
|
|
1548
|
+
}, { className: C, disabled: J, type: te }),
|
|
1549
1549
|
/* @__PURE__ */ q.default.createElement("div", { style: Se.flex }, !Fe(I) && !!B && /* @__PURE__ */ q.default.createElement(
|
|
1550
1550
|
"div",
|
|
1551
1551
|
{
|
|
@@ -1979,12 +1979,12 @@ function Yn({ size: t, color: e }) {
|
|
|
1979
1979
|
))
|
|
1980
1980
|
);
|
|
1981
1981
|
}
|
|
1982
|
-
var fe = v(f),
|
|
1982
|
+
var fe = v(f), Jn = {
|
|
1983
1983
|
activeStyle: { background: "#ac3ade" },
|
|
1984
1984
|
icon: Zn,
|
|
1985
1985
|
style: { background: "#720E9E" },
|
|
1986
1986
|
text: "Log in with Yahoo"
|
|
1987
|
-
},
|
|
1987
|
+
}, Qn = j(Jn);
|
|
1988
1988
|
function Zn({ size: t, color: e }) {
|
|
1989
1989
|
return /* @__PURE__ */ fe.default.createElement(
|
|
1990
1990
|
"svg",
|
|
@@ -2190,14 +2190,14 @@ var Ve = {
|
|
|
2190
2190
|
function so({ size: t, color: e }) {
|
|
2191
2191
|
return /* @__PURE__ */ Ye.default.createElement("svg", { fill: e, role: "img", viewBox: "0 0 24 24", width: t, height: t, xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ Ye.default.createElement("path", { d: "M21.94 13.11L20.89 9.89C20.89 9.86 20.88 9.83 20.87 9.8L18.76 3.32C18.65 3 18.33 2.75 17.96 2.75C17.6 2.75 17.28 3 17.17 3.33L15.17 9.5H8.84L6.83 3.33C6.72 3 6.4 2.75 6.04 2.75H6.04C5.67 2.75 5.35 3 5.24 3.33L3.13 9.82C3.13 9.82 3.13 9.83 3.13 9.83L2.06 13.11C1.9 13.61 2.07 14.15 2.5 14.45L11.72 21.16C11.89 21.28 12.11 21.28 12.28 21.15L21.5 14.45C21.93 14.15 22.1 13.61 21.94 13.11M8.15 10.45L10.72 18.36L4.55 10.45M13.28 18.37L15.75 10.78L15.85 10.45H19.46L13.87 17.61M17.97 3.94L19.78 9.5H16.16M14.86 10.45L13.07 15.96L12 19.24L9.14 10.45M6.03 3.94L7.84 9.5H4.23M3.05 13.69C2.96 13.62 2.92 13.5 2.96 13.4L3.75 10.97L9.57 18.42M20.95 13.69L14.44 18.42L14.46 18.39L20.25 10.97L21.04 13.4C21.08 13.5 21.04 13.62 20.95 13.69" }));
|
|
2192
2192
|
}
|
|
2193
|
-
var
|
|
2193
|
+
var Je = v(f), uo = {
|
|
2194
2194
|
activeStyle: { background: "#282e36" },
|
|
2195
2195
|
icon: fo,
|
|
2196
2196
|
style: { background: "#0f1419" },
|
|
2197
2197
|
text: "Log in with X"
|
|
2198
2198
|
}, po = j(uo);
|
|
2199
2199
|
function fo({ size: t, color: e }) {
|
|
2200
|
-
return /* @__PURE__ */
|
|
2200
|
+
return /* @__PURE__ */ Je.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: "0 0 24 24" }, /* @__PURE__ */ Je.default.createElement(
|
|
2201
2201
|
"path",
|
|
2202
2202
|
{
|
|
2203
2203
|
fill: e,
|
|
@@ -2385,8 +2385,8 @@ const Yo = {
|
|
|
2385
2385
|
iconFormat: (t) => `fa fa-${t}`,
|
|
2386
2386
|
style: { background: "#ffffff", color: "#000000" },
|
|
2387
2387
|
activeStyle: { background: "#ededee" }
|
|
2388
|
-
},
|
|
2389
|
-
function
|
|
2388
|
+
}, Jo = y.createButton(Yo);
|
|
2389
|
+
function Qo({ width: t = 24, height: e = 24, color: n }) {
|
|
2390
2390
|
return /* @__PURE__ */ o.jsx(
|
|
2391
2391
|
"img",
|
|
2392
2392
|
{
|
|
@@ -2398,7 +2398,7 @@ function Jo({ width: t = 24, height: e = 24, color: n }) {
|
|
|
2398
2398
|
}
|
|
2399
2399
|
const Zo = {
|
|
2400
2400
|
text: "Sign in with Baidu",
|
|
2401
|
-
icon:
|
|
2401
|
+
icon: Qo,
|
|
2402
2402
|
iconFormat: (t) => `fa fa-${t}`,
|
|
2403
2403
|
style: { background: "#ffffff", color: "#000000" },
|
|
2404
2404
|
activeStyle: { background: "#ededee" }
|
|
@@ -2589,7 +2589,7 @@ function je(t) {
|
|
|
2589
2589
|
"{type}",
|
|
2590
2590
|
t.displayName !== "" ? t.displayName : t.type
|
|
2591
2591
|
);
|
|
2592
|
-
return t.type === "GitHub" ? /* @__PURE__ */ o.jsx(y.GithubLoginButton, { text: e, align: "center" }) : t.type === "Google" ? /* @__PURE__ */ o.jsx(y.GoogleLoginButton, { text: e, align: "center" }) : t.type === "QQ" ? /* @__PURE__ */ o.jsx(mo, { text: e, align: "center" }) : t.type === "Facebook" ? /* @__PURE__ */ o.jsx(bo, { text: e, align: "center" }) : t.type === "Weibo" ? /* @__PURE__ */ o.jsx(ko, { text: e, align: "center" }) : t.type === "Gitee" ? /* @__PURE__ */ o.jsx(_o, { text: e, align: "center" }) : t.type === "WeChat" ? /* @__PURE__ */ o.jsx(jo, { text: e, align: "center" }) : t.type === "DingTalk" ? /* @__PURE__ */ o.jsx(zo, { text: e, align: "center" }) : t.type === "LinkedIn" ? /* @__PURE__ */ o.jsx(Bo, { text: e, align: "center" }) : t.type === "WeCom" ? /* @__PURE__ */ o.jsx(Io, { text: e, align: "center" }) : t.type === "Lark" ? /* @__PURE__ */ o.jsx(Ro, { text: e, align: "center" }) : t.type === "GitLab" ? /* @__PURE__ */ o.jsx(Wo, { text: e, align: "center" }) : t.type === "ADFS" ? /* @__PURE__ */ o.jsx(Vo, { text: e, align: "center" }) : t.type === "Casdoor" ? /* @__PURE__ */ o.jsx(
|
|
2592
|
+
return t.type === "GitHub" ? /* @__PURE__ */ o.jsx(y.GithubLoginButton, { text: e, align: "center" }) : t.type === "Google" ? /* @__PURE__ */ o.jsx(y.GoogleLoginButton, { text: e, align: "center" }) : t.type === "QQ" ? /* @__PURE__ */ o.jsx(mo, { text: e, align: "center" }) : t.type === "Facebook" ? /* @__PURE__ */ o.jsx(bo, { text: e, align: "center" }) : t.type === "Weibo" ? /* @__PURE__ */ o.jsx(ko, { text: e, align: "center" }) : t.type === "Gitee" ? /* @__PURE__ */ o.jsx(_o, { text: e, align: "center" }) : t.type === "WeChat" ? /* @__PURE__ */ o.jsx(jo, { text: e, align: "center" }) : t.type === "DingTalk" ? /* @__PURE__ */ o.jsx(zo, { text: e, align: "center" }) : t.type === "LinkedIn" ? /* @__PURE__ */ o.jsx(Bo, { text: e, align: "center" }) : t.type === "WeCom" ? /* @__PURE__ */ o.jsx(Io, { text: e, align: "center" }) : t.type === "Lark" ? /* @__PURE__ */ o.jsx(Ro, { text: e, align: "center" }) : t.type === "GitLab" ? /* @__PURE__ */ o.jsx(Wo, { text: e, align: "center" }) : t.type === "ADFS" ? /* @__PURE__ */ o.jsx(Vo, { text: e, align: "center" }) : t.type === "Casdoor" ? /* @__PURE__ */ o.jsx(Jo, { text: e, align: "center" }) : t.type === "Baidu" ? /* @__PURE__ */ o.jsx(Ko, { text: e, align: "center" }) : t.type === "Alipay" ? /* @__PURE__ */ o.jsx(ta, { text: e, align: "center" }) : t.type === "Infoflow" ? /* @__PURE__ */ o.jsx(aa, { text: e, align: "center" }) : t.type === "Apple" ? /* @__PURE__ */ o.jsx(ca, { text: e, align: "center" }) : t.type === "AzureAD" ? /* @__PURE__ */ o.jsx(ua, { text: e, align: "center" }) : t.type === "AzureADB2C" ? /* @__PURE__ */ o.jsx(fa, { text: e, align: "center" }) : t.type === "Slack" ? /* @__PURE__ */ o.jsx(ma, { text: e, align: "center" }) : t.type === "Steam" ? /* @__PURE__ */ o.jsx(ba, { text: e, align: "center" }) : t.type === "Bilibili" ? /* @__PURE__ */ o.jsx(ka, { text: e, align: "center" }) : t.type === "Okta" ? /* @__PURE__ */ o.jsx(_a, { text: e, align: "center" }) : t.type === "Douyin" ? /* @__PURE__ */ o.jsx(ja, { text: e, align: "center" }) : /* @__PURE__ */ o.jsx(
|
|
2593
2593
|
La,
|
|
2594
2594
|
{
|
|
2595
2595
|
type: t.type,
|
|
@@ -2607,11 +2607,11 @@ function Le(t, e) {
|
|
|
2607
2607
|
d.data2 === "POST" ? document.write(d.data) : window.location.href = d.data;
|
|
2608
2608
|
});
|
|
2609
2609
|
}
|
|
2610
|
-
function
|
|
2611
|
-
e.type === "MetaMask" ? import("./Web3Auth-
|
|
2610
|
+
function Qe(t, e, n) {
|
|
2611
|
+
e.type === "MetaMask" ? import("./Web3Auth-CYZ2tXRd.js").then((i) => i.bO).then((i) => {
|
|
2612
2612
|
const a = i.authViaMetaMask;
|
|
2613
2613
|
a(t, e, n);
|
|
2614
|
-
}) : e.type === "Web3Onboard" && import("./Web3Auth-
|
|
2614
|
+
}) : e.type === "Web3Onboard" && import("./Web3Auth-CYZ2tXRd.js").then((i) => i.bO).then((i) => {
|
|
2615
2615
|
const a = i.authViaWeb3Onboard;
|
|
2616
2616
|
a(t, e, n);
|
|
2617
2617
|
});
|
|
@@ -2673,7 +2673,7 @@ function Aa(t, e, n, i, a, l) {
|
|
|
2673
2673
|
return /* @__PURE__ */ o.jsx(
|
|
2674
2674
|
"a",
|
|
2675
2675
|
{
|
|
2676
|
-
onClick: () =>
|
|
2676
|
+
onClick: () => Qe(e, t, "signup"),
|
|
2677
2677
|
children: /* @__PURE__ */ o.jsx(
|
|
2678
2678
|
"img",
|
|
2679
2679
|
{
|
|
@@ -2751,7 +2751,7 @@ function Aa(t, e, n, i, a, l) {
|
|
|
2751
2751
|
t.displayName
|
|
2752
2752
|
);
|
|
2753
2753
|
} else
|
|
2754
|
-
return t.category === "SAML" ? /* @__PURE__ */ o.jsx("div", { className: "provider-big-img", children: /* @__PURE__ */ o.jsx("a", { onClick: () => Le(t, l), children: je(t) }) }, t.displayName) : t.category === "Web3" ? /* @__PURE__ */ o.jsx("div", { className: "provider-big-img", children: /* @__PURE__ */ o.jsx("a", { onClick: () =>
|
|
2754
|
+
return t.category === "SAML" ? /* @__PURE__ */ o.jsx("div", { className: "provider-big-img", children: /* @__PURE__ */ o.jsx("a", { onClick: () => Le(t, l), children: je(t) }) }, t.displayName) : t.category === "Web3" ? /* @__PURE__ */ o.jsx("div", { className: "provider-big-img", children: /* @__PURE__ */ o.jsx("a", { onClick: () => Qe(e, t, "signup"), children: je(t) }) }, t.displayName) : /* @__PURE__ */ o.jsx("div", { className: "provider-big-img", children: /* @__PURE__ */ o.jsx("a", { href: (void 0)(e, t, "signup"), children: je(t) }) }, t.displayName);
|
|
2755
2755
|
}
|
|
2756
2756
|
function za(t) {
|
|
2757
2757
|
return t.length < 6 ? U.t("user:The password must have at least 6 characters") : "";
|
|
@@ -3359,7 +3359,7 @@ function rt(t) {
|
|
|
3359
3359
|
function Ya(t) {
|
|
3360
3360
|
return t.visible === !0;
|
|
3361
3361
|
}
|
|
3362
|
-
function
|
|
3362
|
+
function Ja(t) {
|
|
3363
3363
|
var b;
|
|
3364
3364
|
const { t: e, i18n: n } = ge(), [i, a] = f.useState({
|
|
3365
3365
|
applicationName: t.applicationName ?? null,
|
|
@@ -3460,7 +3460,7 @@ function Xa({
|
|
|
3460
3460
|
return f.useEffect(() => {
|
|
3461
3461
|
l();
|
|
3462
3462
|
}, []), i.application === void 0 ? /* @__PURE__ */ o.jsx(o.Fragment, {}) : /* @__PURE__ */ o.jsx(pt, { i18n: U, children: /* @__PURE__ */ o.jsx(
|
|
3463
|
-
|
|
3463
|
+
Ja,
|
|
3464
3464
|
{
|
|
3465
3465
|
application: i.application,
|
|
3466
3466
|
onUpdateApplication: (r) => {
|