@stytch/vanilla-js 4.2.1 → 4.3.0
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/CHANGELOG.md +11 -0
- package/dist/b2b/index.esm.js +1227 -1208
- package/dist/b2b/index.headless.esm.js +1 -1
- package/dist/b2b/index.headless.js +1 -1
- package/dist/b2b/index.js +1108 -1089
- package/dist/index.esm.js +248 -226
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +80 -58
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -164,8 +164,8 @@ var p, h, f, m, g, A;
|
|
|
164
164
|
}(A || (A = {}));
|
|
165
165
|
var y,
|
|
166
166
|
v,
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
C,
|
|
168
|
+
_ = function (e) {
|
|
169
169
|
i(c, s(Error));
|
|
170
170
|
var t = o(c);
|
|
171
171
|
function c(e, n) {
|
|
@@ -728,14 +728,14 @@ function pe() {
|
|
|
728
728
|
function A() {}
|
|
729
729
|
function y() {}
|
|
730
730
|
function v() {}
|
|
731
|
-
var
|
|
732
|
-
l(
|
|
731
|
+
var C = {};
|
|
732
|
+
l(C, a, function () {
|
|
733
733
|
return this;
|
|
734
734
|
});
|
|
735
|
-
var
|
|
736
|
-
w =
|
|
737
|
-
w && w !== n && r.call(w, a) && (
|
|
738
|
-
var b = v.prototype = A.prototype = Object.create(
|
|
735
|
+
var _ = Object.getPrototypeOf,
|
|
736
|
+
w = _ && _(_(O([])));
|
|
737
|
+
w && w !== n && r.call(w, a) && (C = w);
|
|
738
|
+
var b = v.prototype = A.prototype = Object.create(C);
|
|
739
739
|
function E(e) {
|
|
740
740
|
["next", "throw", "return"].forEach(function (t) {
|
|
741
741
|
l(e, t, function (e) {
|
|
@@ -997,9 +997,9 @@ function ge(e) {
|
|
|
997
997
|
var t = ve();
|
|
998
998
|
return function () {
|
|
999
999
|
var n,
|
|
1000
|
-
r =
|
|
1000
|
+
r = _e(e);
|
|
1001
1001
|
if (t) {
|
|
1002
|
-
var i =
|
|
1002
|
+
var i = _e(this).constructor;
|
|
1003
1003
|
n = Reflect.construct(r, arguments, i);
|
|
1004
1004
|
} else n = r.apply(this, arguments);
|
|
1005
1005
|
return function (e, t) {
|
|
@@ -1028,7 +1028,7 @@ function Ae(e) {
|
|
|
1028
1028
|
t.set(e, n);
|
|
1029
1029
|
}
|
|
1030
1030
|
function n() {
|
|
1031
|
-
return ye(e, arguments,
|
|
1031
|
+
return ye(e, arguments, _e(this).constructor);
|
|
1032
1032
|
}
|
|
1033
1033
|
return n.prototype = Object.create(e.prototype, {
|
|
1034
1034
|
constructor: {
|
|
@@ -1037,7 +1037,7 @@ function Ae(e) {
|
|
|
1037
1037
|
writable: !0,
|
|
1038
1038
|
configurable: !0
|
|
1039
1039
|
}
|
|
1040
|
-
}),
|
|
1040
|
+
}), Ce(n, e);
|
|
1041
1041
|
}, Ae(e);
|
|
1042
1042
|
}
|
|
1043
1043
|
function ye(e, t, n) {
|
|
@@ -1045,7 +1045,7 @@ function ye(e, t, n) {
|
|
|
1045
1045
|
var r = [null];
|
|
1046
1046
|
r.push.apply(r, t);
|
|
1047
1047
|
var i = new (Function.bind.apply(e, r))();
|
|
1048
|
-
return n &&
|
|
1048
|
+
return n && Ce(i, n.prototype), i;
|
|
1049
1049
|
}, ye.apply(null, arguments);
|
|
1050
1050
|
}
|
|
1051
1051
|
function ve() {
|
|
@@ -1058,15 +1058,15 @@ function ve() {
|
|
|
1058
1058
|
return !1;
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1062
|
-
return
|
|
1061
|
+
function Ce(e, t) {
|
|
1062
|
+
return Ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) {
|
|
1063
1063
|
return e.__proto__ = t, e;
|
|
1064
|
-
},
|
|
1064
|
+
}, Ce(e, t);
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1067
|
-
return
|
|
1066
|
+
function _e(e) {
|
|
1067
|
+
return _e = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) {
|
|
1068
1068
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
1069
|
-
},
|
|
1069
|
+
}, _e(e);
|
|
1070
1070
|
}
|
|
1071
1071
|
!function (e) {
|
|
1072
1072
|
e.emailMagicLinks = "emailMagicLinks", e.sso = "sso", e.passwords = "passwords", e.oauth = "oauth";
|
|
@@ -1074,7 +1074,7 @@ function Ce(e) {
|
|
|
1074
1074
|
e.Discovery = "Discovery", e.Organization = "Organization", e.PasswordReset = "PasswordReset";
|
|
1075
1075
|
}(v || (v = {})), function (e) {
|
|
1076
1076
|
e.Google = "google", e.Microsoft = "microsoft";
|
|
1077
|
-
}(
|
|
1077
|
+
}(C || (C = {}));
|
|
1078
1078
|
var we,
|
|
1079
1079
|
be = "https://accounts.google.com/gsi",
|
|
1080
1080
|
Ee = "".concat(be, "/client"),
|
|
@@ -1126,7 +1126,7 @@ var Me,
|
|
|
1126
1126
|
}
|
|
1127
1127
|
}), Object.defineProperty(e, "prototype", {
|
|
1128
1128
|
writable: !1
|
|
1129
|
-
}), t &&
|
|
1129
|
+
}), t && Ce(e, t);
|
|
1130
1130
|
}(n, Ae(Error));
|
|
1131
1131
|
var t = ge(n);
|
|
1132
1132
|
function n(e) {
|
|
@@ -1604,7 +1604,7 @@ var Qe,
|
|
|
1604
1604
|
value: function value(t) {
|
|
1605
1605
|
if ("name" in t) switch (t.name) {
|
|
1606
1606
|
case "SDKAPIUnreachableError":
|
|
1607
|
-
return e.inflate(
|
|
1607
|
+
return e.inflate(_, t);
|
|
1608
1608
|
case "StytchSDKSchemaError":
|
|
1609
1609
|
return e.inflate(b, t);
|
|
1610
1610
|
case "StytchAPIUnreachableError":
|
|
@@ -2760,7 +2760,7 @@ var At = {
|
|
|
2760
2760
|
appidExclude: gt(dt),
|
|
2761
2761
|
credProps: gt(dt)
|
|
2762
2762
|
},
|
|
2763
|
-
|
|
2763
|
+
Ct = {
|
|
2764
2764
|
publicKey: mt({
|
|
2765
2765
|
rp: mt(dt),
|
|
2766
2766
|
user: mt({
|
|
@@ -2778,7 +2778,7 @@ var At = {
|
|
|
2778
2778
|
}),
|
|
2779
2779
|
signal: gt(dt)
|
|
2780
2780
|
},
|
|
2781
|
-
|
|
2781
|
+
_t = {
|
|
2782
2782
|
type: mt(dt),
|
|
2783
2783
|
id: mt(dt),
|
|
2784
2784
|
rawId: mt(pt),
|
|
@@ -2823,10 +2823,10 @@ var At = {
|
|
|
2823
2823
|
})
|
|
2824
2824
|
};
|
|
2825
2825
|
function Et(e) {
|
|
2826
|
-
return ht(lt,
|
|
2826
|
+
return ht(lt, Ct, e);
|
|
2827
2827
|
}
|
|
2828
2828
|
function kt(e) {
|
|
2829
|
-
return ht(ut,
|
|
2829
|
+
return ht(ut, _t, e);
|
|
2830
2830
|
}
|
|
2831
2831
|
function St(e) {
|
|
2832
2832
|
return xe(this, void 0, void 0, pe().mark(function t() {
|
|
@@ -3814,7 +3814,7 @@ var Qt = /*#__PURE__*/function () {
|
|
|
3814
3814
|
},
|
|
3815
3815
|
sdk: {
|
|
3816
3816
|
identifier: "Stytch.js Javascript SDK",
|
|
3817
|
-
version: "4.
|
|
3817
|
+
version: "4.3.0"
|
|
3818
3818
|
}
|
|
3819
3819
|
});
|
|
3820
3820
|
}
|
|
@@ -4764,8 +4764,8 @@ var fn,
|
|
|
4764
4764
|
An,
|
|
4765
4765
|
yn,
|
|
4766
4766
|
vn,
|
|
4767
|
-
_n,
|
|
4768
4767
|
Cn,
|
|
4768
|
+
_n,
|
|
4769
4769
|
wn = {},
|
|
4770
4770
|
bn = [],
|
|
4771
4771
|
En = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,
|
|
@@ -4837,7 +4837,7 @@ function jn(e) {
|
|
|
4837
4837
|
}
|
|
4838
4838
|
function Dn() {
|
|
4839
4839
|
var e, t, n, r, i, o, a, s, c;
|
|
4840
|
-
for (An.sort(
|
|
4840
|
+
for (An.sort(Cn); e = An.shift();) e.__d && (t = An.length, r = void 0, o = (i = (n = e).__v).__e, s = [], c = [], (a = n.__P) && ((r = Sn({}, i)).__v = i.__v + 1, mn.vnode && mn.vnode(r), Wn(a, r, i, n.__n, void 0 !== a.ownerSVGElement, 32 & i.__u ? [o] : null, s, null == o ? Pn(i) : o, !!(32 & i.__u), c), r.__.__k[r.__i] = r, Vn(s, r, c), r.__e != o && Bn(r)), An.length > t && An.sort(Cn));
|
|
4841
4841
|
Dn.__r = 0;
|
|
4842
4842
|
}
|
|
4843
4843
|
function Nn(e, t, n, r, i, o, a, s, c, l, u) {
|
|
@@ -4936,8 +4936,8 @@ function Wn(e, t, n, r, i, o, a, s, c, l) {
|
|
|
4936
4936
|
A,
|
|
4937
4937
|
y,
|
|
4938
4938
|
v,
|
|
4939
|
-
_,
|
|
4940
4939
|
C,
|
|
4940
|
+
_,
|
|
4941
4941
|
w,
|
|
4942
4942
|
b,
|
|
4943
4943
|
E,
|
|
@@ -4949,7 +4949,7 @@ function Wn(e, t, n, r, i, o, a, s, c, l) {
|
|
|
4949
4949
|
if (null == k.getDerivedStateFromProps && A !== h && null != d.componentWillReceiveProps && d.componentWillReceiveProps(A, v), !d.__e && (null != d.shouldComponentUpdate && !1 === d.shouldComponentUpdate(A, d.__s, v) || t.__v === n.__v)) {
|
|
4950
4950
|
for (t.__v !== n.__v && (d.props = A, d.state = d.__s, d.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function (e) {
|
|
4951
4951
|
e && (e.__ = t);
|
|
4952
|
-
}),
|
|
4952
|
+
}), C = 0; C < d._sb.length; C++) d.__h.push(d._sb[C]);
|
|
4953
4953
|
d._sb = [], d.__h.length && a.push(d);
|
|
4954
4954
|
break e;
|
|
4955
4955
|
}
|
|
@@ -4957,11 +4957,11 @@ function Wn(e, t, n, r, i, o, a, s, c, l) {
|
|
|
4957
4957
|
d.componentDidUpdate(h, f, m);
|
|
4958
4958
|
});
|
|
4959
4959
|
}
|
|
4960
|
-
if (d.context = v, d.props = A, d.__P = e, d.__e = !1,
|
|
4961
|
-
for (d.state = d.__s, d.__d = !1,
|
|
4960
|
+
if (d.context = v, d.props = A, d.__P = e, d.__e = !1, _ = mn.__r, w = 0, "prototype" in k && k.prototype.render) {
|
|
4961
|
+
for (d.state = d.__s, d.__d = !1, _ && _(t), u = d.render(d.props, d.state, d.context), b = 0; b < d._sb.length; b++) d.__h.push(d._sb[b]);
|
|
4962
4962
|
d._sb = [];
|
|
4963
4963
|
} else do {
|
|
4964
|
-
d.__d = !1,
|
|
4964
|
+
d.__d = !1, _ && _(t), u = d.render(d.props, d.state, d.context), d.state = d.__s;
|
|
4965
4965
|
} while (d.__d && ++w < 25);
|
|
4966
4966
|
d.state = d.__s, null != d.getChildContext && (r = Sn(Sn({}, r), d.getChildContext())), p || null == d.getSnapshotBeforeUpdate || (m = d.getSnapshotBeforeUpdate(h, f)), Nn(e, kn(E = null != u && u.type === On && null == u.key ? u.props.children : u) ? E : [E], t, n, r, i, o, a, s, c, l), d.base = t.__e, t.__u &= -161, d.__h.length && a.push(d), g && (d.__E = d.__ = null);
|
|
4967
4967
|
} catch (e) {
|
|
@@ -5050,7 +5050,7 @@ function Xn(e, t, n) {
|
|
|
5050
5050
|
}
|
|
5051
5051
|
function $n(e, t) {
|
|
5052
5052
|
var n = {
|
|
5053
|
-
__c: t = "__cC" +
|
|
5053
|
+
__c: t = "__cC" + _n++,
|
|
5054
5054
|
__: e,
|
|
5055
5055
|
Consumer: function Consumer(e, t) {
|
|
5056
5056
|
return e.children(t);
|
|
@@ -5088,9 +5088,9 @@ fn = bn.slice, mn = {
|
|
|
5088
5088
|
n = null != this.__s && this.__s !== this.state ? this.__s : this.__s = Sn({}, this.state), "function" == typeof e && (e = e(Sn({}, n), this.props)), e && Sn(n, e), null != e && this.__v && (t && this._sb.push(t), jn(this));
|
|
5089
5089
|
}, In.prototype.forceUpdate = function (e) {
|
|
5090
5090
|
this.__v && (this.__e = !0, e && this.__h.push(e), jn(this));
|
|
5091
|
-
}, In.prototype.render = On, An = [], vn = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout,
|
|
5091
|
+
}, In.prototype.render = On, An = [], vn = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Cn = function Cn(e, t) {
|
|
5092
5092
|
return e.__v.__b - t.__v.__b;
|
|
5093
|
-
}, Dn.__r = 0,
|
|
5093
|
+
}, Dn.__r = 0, _n = 0;
|
|
5094
5094
|
var er,
|
|
5095
5095
|
tr,
|
|
5096
5096
|
nr,
|
|
@@ -5180,12 +5180,12 @@ function vr(e, t) {
|
|
|
5180
5180
|
var n = pr(er++, 7);
|
|
5181
5181
|
return Tr(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
|
|
5182
5182
|
}
|
|
5183
|
-
function
|
|
5183
|
+
function Cr(e, t) {
|
|
5184
5184
|
return ir = 8, vr(function () {
|
|
5185
5185
|
return e;
|
|
5186
5186
|
}, t);
|
|
5187
5187
|
}
|
|
5188
|
-
function
|
|
5188
|
+
function _r(e) {
|
|
5189
5189
|
var t = tr.context[e.__c],
|
|
5190
5190
|
n = pr(er++, 9);
|
|
5191
5191
|
return n.c = e, t ? (null == n.__ && (n.__ = !0, t.sub(tr)), t.props.value) : e.__;
|
|
@@ -5573,10 +5573,10 @@ function yi(e) {
|
|
|
5573
5573
|
function vi(e) {
|
|
5574
5574
|
return Ai(e) ? Xn.apply(null, arguments) : e;
|
|
5575
5575
|
}
|
|
5576
|
-
function
|
|
5576
|
+
function Ci(e) {
|
|
5577
5577
|
return !!e.__k && (Yn(null, e), !0);
|
|
5578
5578
|
}
|
|
5579
|
-
function
|
|
5579
|
+
function _i(e) {
|
|
5580
5580
|
return e && (e.base || 1 === e.nodeType && e) || null;
|
|
5581
5581
|
}
|
|
5582
5582
|
var wi = function wi(e, t) {
|
|
@@ -5647,14 +5647,14 @@ var Ii = {
|
|
|
5647
5647
|
useRef: Ar,
|
|
5648
5648
|
useImperativeHandle: yr,
|
|
5649
5649
|
useMemo: vr,
|
|
5650
|
-
useCallback:
|
|
5651
|
-
useContext:
|
|
5650
|
+
useCallback: Cr,
|
|
5651
|
+
useContext: _r,
|
|
5652
5652
|
useDebugValue: wr,
|
|
5653
5653
|
version: "17.0.2",
|
|
5654
5654
|
Children: Fr,
|
|
5655
5655
|
render: ii,
|
|
5656
5656
|
hydrate: oi,
|
|
5657
|
-
unmountComponentAtNode:
|
|
5657
|
+
unmountComponentAtNode: Ci,
|
|
5658
5658
|
createPortal: Jr,
|
|
5659
5659
|
createElement: Mn,
|
|
5660
5660
|
createContext: $n,
|
|
@@ -5665,7 +5665,7 @@ var Ii = {
|
|
|
5665
5665
|
isValidElement: Ai,
|
|
5666
5666
|
isElement: Ti,
|
|
5667
5667
|
isFragment: yi,
|
|
5668
|
-
findDOMNode:
|
|
5668
|
+
findDOMNode: _i,
|
|
5669
5669
|
Component: In,
|
|
5670
5670
|
PureComponent: Pr,
|
|
5671
5671
|
memo: Br,
|
|
@@ -5690,7 +5690,7 @@ var Ii = {
|
|
|
5690
5690
|
createFactory: gi,
|
|
5691
5691
|
createPortal: Jr,
|
|
5692
5692
|
"default": Ii,
|
|
5693
|
-
findDOMNode:
|
|
5693
|
+
findDOMNode: _i,
|
|
5694
5694
|
flushSync: bi,
|
|
5695
5695
|
forwardRef: Nr,
|
|
5696
5696
|
hydrate: oi,
|
|
@@ -5701,7 +5701,7 @@ var Ii = {
|
|
|
5701
5701
|
memo: Br,
|
|
5702
5702
|
render: ii,
|
|
5703
5703
|
startTransition: ki,
|
|
5704
|
-
unmountComponentAtNode:
|
|
5704
|
+
unmountComponentAtNode: Ci,
|
|
5705
5705
|
unstable_batchedUpdates: wi,
|
|
5706
5706
|
useDeferredValue: Si,
|
|
5707
5707
|
useInsertionEffect: Mi,
|
|
@@ -5713,8 +5713,8 @@ var Ii = {
|
|
|
5713
5713
|
createContext: $n,
|
|
5714
5714
|
createElement: Mn,
|
|
5715
5715
|
createRef: Ln,
|
|
5716
|
-
useCallback:
|
|
5717
|
-
useContext:
|
|
5716
|
+
useCallback: Cr,
|
|
5717
|
+
useContext: _r,
|
|
5718
5718
|
useDebugValue: wr,
|
|
5719
5719
|
useEffect: mr,
|
|
5720
5720
|
useErrorBoundary: function useErrorBoundary(e) {
|
|
@@ -5846,7 +5846,7 @@ var po = function po(e, t, n, r) {
|
|
|
5846
5846
|
};
|
|
5847
5847
|
function ho(e) {
|
|
5848
5848
|
function t(e, r, c, l, p) {
|
|
5849
|
-
for (var h, f, m, g,
|
|
5849
|
+
for (var h, f, m, g, C, w = 0, b = 0, E = 0, k = 0, S = 0, I = 0, B = m = h = 0, D = 0, N = 0, R = 0, F = 0, U = c.length, z = U - 1, Q = "", H = "", Z = "", W = ""; D < U;) {
|
|
5850
5850
|
if (f = c.charCodeAt(D), D === z && 0 !== b + k + E + w && (0 !== b && (f = 47 === b ? 10 : 47), k = E = w = 0, U++, z++), 0 === b + k + E + w) {
|
|
5851
5851
|
if (D === z && (0 < N && (Q = Q.replace(d, "")), 0 < Q.trim().length)) {
|
|
5852
5852
|
switch (f) {
|
|
@@ -5915,9 +5915,9 @@ function ho(e) {
|
|
|
5915
5915
|
default:
|
|
5916
5916
|
N = O;
|
|
5917
5917
|
}
|
|
5918
|
-
if (F = (m = t(r, N, m, f, p + 1)).length, 0 < P && (
|
|
5918
|
+
if (F = (m = t(r, N, m, f, p + 1)).length, 0 < P && (C = s(3, m, N = n(O, Q, R), r, M, x, F, f, p, l), Q = N.join(""), void 0 !== C && 0 === (F = (m = C.trim()).length) && (f = 0, m = "")), 0 < F) switch (f) {
|
|
5919
5919
|
case 115:
|
|
5920
|
-
Q = Q.replace(
|
|
5920
|
+
Q = Q.replace(_, a);
|
|
5921
5921
|
case 100:
|
|
5922
5922
|
case 109:
|
|
5923
5923
|
case 45:
|
|
@@ -5934,7 +5934,7 @@ function ho(e) {
|
|
|
5934
5934
|
break;
|
|
5935
5935
|
case 125:
|
|
5936
5936
|
case 59:
|
|
5937
|
-
if (1 < (F = (Q = (0 < N ? Q.replace(d, "") : Q).trim()).length)) switch (0 === B && (h = Q.charCodeAt(0), 45 === h || 96 < h && 123 > h) && (F = (Q = Q.replace(" ", ":")).length), 0 < P && void 0 !== (
|
|
5937
|
+
if (1 < (F = (Q = (0 < N ? Q.replace(d, "") : Q).trim()).length)) switch (0 === B && (h = Q.charCodeAt(0), 45 === h || 96 < h && 123 > h) && (F = (Q = Q.replace(" ", ":")).length), 0 < P && void 0 !== (C = s(1, Q, r, e, M, x, H.length, l, p, l)) && 0 === (F = (Q = C.trim()).length) && (Q = "\0\0"), h = Q.charCodeAt(0), f = Q.charCodeAt(1), h) {
|
|
5938
5938
|
case 0:
|
|
5939
5939
|
break;
|
|
5940
5940
|
case 64:
|
|
@@ -6043,7 +6043,7 @@ function ho(e) {
|
|
|
6043
6043
|
I = S, S = f, D++;
|
|
6044
6044
|
}
|
|
6045
6045
|
if (0 < (F = H.length)) {
|
|
6046
|
-
if (N = r, 0 < P && void 0 !== (
|
|
6046
|
+
if (N = r, 0 < P && void 0 !== (C = s(2, H, N, e, M, x, F, l, p, l)) && 0 === (H = C).length) return W + H + Z;
|
|
6047
6047
|
if (H = N.join(",") + "{" + H + "}", 0 != L * T) {
|
|
6048
6048
|
switch (2 !== L || o(H, 2) || (T = 0), T) {
|
|
6049
6049
|
case 111:
|
|
@@ -6136,13 +6136,13 @@ function ho(e) {
|
|
|
6136
6136
|
case 1e3:
|
|
6137
6137
|
switch (t = (c = a.substring(13).trim()).indexOf("-") + 1, c.charCodeAt(0) + c.charCodeAt(t)) {
|
|
6138
6138
|
case 226:
|
|
6139
|
-
c = a.replace(
|
|
6139
|
+
c = a.replace(C, "tb");
|
|
6140
6140
|
break;
|
|
6141
6141
|
case 232:
|
|
6142
|
-
c = a.replace(
|
|
6142
|
+
c = a.replace(C, "tb-rl");
|
|
6143
6143
|
break;
|
|
6144
6144
|
case 220:
|
|
6145
|
-
c = a.replace(
|
|
6145
|
+
c = a.replace(C, "lr");
|
|
6146
6146
|
break;
|
|
6147
6147
|
default:
|
|
6148
6148
|
return a;
|
|
@@ -6227,8 +6227,8 @@ function ho(e) {
|
|
|
6227
6227
|
A = /@(k\w+)\s*(\S*)\s*/,
|
|
6228
6228
|
y = /::(place)/g,
|
|
6229
6229
|
v = /:(read-only)/g,
|
|
6230
|
-
|
|
6231
|
-
|
|
6230
|
+
C = /[svh]\w+-[tblr]{2}/,
|
|
6231
|
+
_ = /\(\s*(.*)\s*\)/g,
|
|
6232
6232
|
w = /([\s\S]*?);/g,
|
|
6233
6233
|
b = /-self|flex-/g,
|
|
6234
6234
|
E = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
@@ -6316,30 +6316,30 @@ var go = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
6316
6316
|
exports: {}
|
|
6317
6317
|
},
|
|
6318
6318
|
vo = {},
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
wo =
|
|
6322
|
-
bo =
|
|
6323
|
-
Eo =
|
|
6324
|
-
ko =
|
|
6325
|
-
So =
|
|
6326
|
-
xo =
|
|
6327
|
-
Mo =
|
|
6328
|
-
To =
|
|
6329
|
-
Lo =
|
|
6330
|
-
Oo =
|
|
6331
|
-
Io =
|
|
6332
|
-
Po =
|
|
6333
|
-
Bo =
|
|
6334
|
-
jo =
|
|
6335
|
-
Do =
|
|
6336
|
-
No =
|
|
6337
|
-
Ro =
|
|
6319
|
+
Co = "function" == typeof Symbol && Symbol["for"],
|
|
6320
|
+
_o = Co ? Symbol["for"]("react.element") : 60103,
|
|
6321
|
+
wo = Co ? Symbol["for"]("react.portal") : 60106,
|
|
6322
|
+
bo = Co ? Symbol["for"]("react.fragment") : 60107,
|
|
6323
|
+
Eo = Co ? Symbol["for"]("react.strict_mode") : 60108,
|
|
6324
|
+
ko = Co ? Symbol["for"]("react.profiler") : 60114,
|
|
6325
|
+
So = Co ? Symbol["for"]("react.provider") : 60109,
|
|
6326
|
+
xo = Co ? Symbol["for"]("react.context") : 60110,
|
|
6327
|
+
Mo = Co ? Symbol["for"]("react.async_mode") : 60111,
|
|
6328
|
+
To = Co ? Symbol["for"]("react.concurrent_mode") : 60111,
|
|
6329
|
+
Lo = Co ? Symbol["for"]("react.forward_ref") : 60112,
|
|
6330
|
+
Oo = Co ? Symbol["for"]("react.suspense") : 60113,
|
|
6331
|
+
Io = Co ? Symbol["for"]("react.suspense_list") : 60120,
|
|
6332
|
+
Po = Co ? Symbol["for"]("react.memo") : 60115,
|
|
6333
|
+
Bo = Co ? Symbol["for"]("react.lazy") : 60116,
|
|
6334
|
+
jo = Co ? Symbol["for"]("react.block") : 60121,
|
|
6335
|
+
Do = Co ? Symbol["for"]("react.fundamental") : 60117,
|
|
6336
|
+
No = Co ? Symbol["for"]("react.responder") : 60118,
|
|
6337
|
+
Ro = Co ? Symbol["for"]("react.scope") : 60119;
|
|
6338
6338
|
function Fo(e) {
|
|
6339
6339
|
if ("object" == _typeof(e) && null !== e) {
|
|
6340
6340
|
var t = e.$$typeof;
|
|
6341
6341
|
switch (t) {
|
|
6342
|
-
case
|
|
6342
|
+
case _o:
|
|
6343
6343
|
switch (e = e.type) {
|
|
6344
6344
|
case Mo:
|
|
6345
6345
|
case To:
|
|
@@ -6368,14 +6368,14 @@ function Fo(e) {
|
|
|
6368
6368
|
function Uo(e) {
|
|
6369
6369
|
return Fo(e) === To;
|
|
6370
6370
|
}
|
|
6371
|
-
vo.AsyncMode = Mo, vo.ConcurrentMode = To, vo.ContextConsumer = xo, vo.ContextProvider = So, vo.Element =
|
|
6371
|
+
vo.AsyncMode = Mo, vo.ConcurrentMode = To, vo.ContextConsumer = xo, vo.ContextProvider = So, vo.Element = _o, vo.ForwardRef = Lo, vo.Fragment = bo, vo.Lazy = Bo, vo.Memo = Po, vo.Portal = wo, vo.Profiler = ko, vo.StrictMode = Eo, vo.Suspense = Oo, vo.isAsyncMode = function (e) {
|
|
6372
6372
|
return Uo(e) || Fo(e) === Mo;
|
|
6373
6373
|
}, vo.isConcurrentMode = Uo, vo.isContextConsumer = function (e) {
|
|
6374
6374
|
return Fo(e) === xo;
|
|
6375
6375
|
}, vo.isContextProvider = function (e) {
|
|
6376
6376
|
return Fo(e) === So;
|
|
6377
6377
|
}, vo.isElement = function (e) {
|
|
6378
|
-
return "object" == _typeof(e) && null !== e && e.$$typeof ===
|
|
6378
|
+
return "object" == _typeof(e) && null !== e && e.$$typeof === _o;
|
|
6379
6379
|
}, vo.isForwardRef = function (e) {
|
|
6380
6380
|
return Fo(e) === Lo;
|
|
6381
6381
|
}, vo.isFragment = function (e) {
|
|
@@ -6543,19 +6543,19 @@ var pa = function () {
|
|
|
6543
6543
|
t >= ma && (ma = t + 1), ha.set(e, t), fa.set(t, e);
|
|
6544
6544
|
},
|
|
6545
6545
|
va = "style[" + ca + '][data-styled-version="5.3.5"]',
|
|
6546
|
-
|
|
6547
|
-
|
|
6546
|
+
Ca = new RegExp("^" + ca + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
6547
|
+
_a = function _a(e, t, n) {
|
|
6548
6548
|
for (var r, i = n.split(","), o = 0, a = i.length; o < a; o++) (r = i[o]) && e.registerName(t, r);
|
|
6549
6549
|
},
|
|
6550
6550
|
wa = function wa(e, t) {
|
|
6551
6551
|
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], i = 0, o = n.length; i < o; i++) {
|
|
6552
6552
|
var a = n[i].trim();
|
|
6553
6553
|
if (a) {
|
|
6554
|
-
var s = a.match(
|
|
6554
|
+
var s = a.match(Ca);
|
|
6555
6555
|
if (s) {
|
|
6556
6556
|
var c = 0 | parseInt(s[1], 10),
|
|
6557
6557
|
l = s[2];
|
|
6558
|
-
0 !== c && (ya(l, c),
|
|
6558
|
+
0 !== c && (ya(l, c), _a(e, l, s[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
6559
6559
|
} else r.push(a);
|
|
6560
6560
|
}
|
|
6561
6561
|
}
|
|
@@ -6824,7 +6824,7 @@ var za = Ii.createContext(),
|
|
|
6824
6824
|
Qa = (za.Consumer, new Ta()),
|
|
6825
6825
|
Ha = Fa();
|
|
6826
6826
|
function Za() {
|
|
6827
|
-
return
|
|
6827
|
+
return _r(Ua) || Qa;
|
|
6828
6828
|
}
|
|
6829
6829
|
function Wa(e) {
|
|
6830
6830
|
var t = hr(e.stylisPlugins),
|
|
@@ -6934,7 +6934,7 @@ function us(e) {
|
|
|
6934
6934
|
}
|
|
6935
6935
|
var ds = Ii.createContext();
|
|
6936
6936
|
function ps(e) {
|
|
6937
|
-
var t =
|
|
6937
|
+
var t = _r(ds),
|
|
6938
6938
|
n = vr(function () {
|
|
6939
6939
|
return function (e, t) {
|
|
6940
6940
|
return e ? oa(e) ? e(t) : Array.isArray(e) || "object" != _typeof(e) ? da(8) : t ? ea({}, t, {}, e) : e : da(14);
|
|
@@ -6995,12 +6995,12 @@ function fs(e, t, n) {
|
|
|
6995
6995
|
}), [r, i];
|
|
6996
6996
|
}(function (e, t, n) {
|
|
6997
6997
|
return void 0 === n && (n = ia), e.theme !== n.theme && e.theme || t || n.theme;
|
|
6998
|
-
}(t,
|
|
6998
|
+
}(t, _r(ds), a) || ia, t, i),
|
|
6999
6999
|
p = d[0],
|
|
7000
7000
|
h = d[1],
|
|
7001
7001
|
f = function (e, t, n, r) {
|
|
7002
7002
|
var i = Za(),
|
|
7003
|
-
o =
|
|
7003
|
+
o = _r(za) || Ha;
|
|
7004
7004
|
return t ? e.generateAndInjectStyles(ia, i, o) : e.generateAndInjectStyles(n, i, o);
|
|
7005
7005
|
}(o, r, p),
|
|
7006
7006
|
m = n,
|
|
@@ -7008,7 +7008,7 @@ function fs(e, t, n) {
|
|
|
7008
7008
|
A = as(g),
|
|
7009
7009
|
y = h !== t ? ea({}, t, {}, h) : t,
|
|
7010
7010
|
v = {};
|
|
7011
|
-
for (var
|
|
7011
|
+
for (var C in y) "$" !== C[0] && "as" !== C && ("forwardedAs" === C ? v.as = y[C] : (c ? c(C, Ao, g) : !A || Ao(C)) && (v[C] = y[C]));
|
|
7012
7012
|
return t.style && h.style !== t.style && (v.style = ea({}, t.style, {}, h.style)), v.className = Array.prototype.concat(s, l, f !== l ? f : null, t.className, h.className).filter(Boolean).join(" "), v.ref = m, Mn(g, v);
|
|
7013
7013
|
}(f, e, t, g);
|
|
7014
7014
|
};
|
|
@@ -7073,11 +7073,11 @@ function gs(e) {
|
|
|
7073
7073
|
ms[e] = ms(e);
|
|
7074
7074
|
});
|
|
7075
7075
|
var As = function As() {
|
|
7076
|
-
return
|
|
7076
|
+
return _r(ds);
|
|
7077
7077
|
},
|
|
7078
7078
|
ys = ms;
|
|
7079
7079
|
var vs = "<div data-prompt_parent_id='g_id_onload' id='google-parent-prompt' style=''></div>";
|
|
7080
|
-
function
|
|
7080
|
+
function Cs(e, t) {
|
|
7081
7081
|
return "undefined" == typeof window ? function () {
|
|
7082
7082
|
return null;
|
|
7083
7083
|
} : function (n) {
|
|
@@ -7173,7 +7173,7 @@ function _s(e, t) {
|
|
|
7173
7173
|
}
|
|
7174
7174
|
};
|
|
7175
7175
|
}
|
|
7176
|
-
var
|
|
7176
|
+
var _s = function _s(e, t) {
|
|
7177
7177
|
switch (t.type) {
|
|
7178
7178
|
case "transition":
|
|
7179
7179
|
return Object.assign(Object.assign({}, e), {
|
|
@@ -7307,7 +7307,7 @@ var bs = {
|
|
|
7307
7307
|
n = _ref8.config,
|
|
7308
7308
|
r = _ref8.callbacks,
|
|
7309
7309
|
i = _ref8.initialState;
|
|
7310
|
-
var o = Ii.useReducer(
|
|
7310
|
+
var o = Ii.useReducer(_s, null != i ? i : bs);
|
|
7311
7311
|
return Ii.createElement(Ss.Provider, {
|
|
7312
7312
|
value: {
|
|
7313
7313
|
client: t,
|
|
@@ -7318,7 +7318,7 @@ var bs = {
|
|
|
7318
7318
|
}, e);
|
|
7319
7319
|
},
|
|
7320
7320
|
Ms = function Ms() {
|
|
7321
|
-
return
|
|
7321
|
+
return _r(Ss);
|
|
7322
7322
|
},
|
|
7323
7323
|
Ts = function Ts() {
|
|
7324
7324
|
return Ms().client;
|
|
@@ -7938,14 +7938,14 @@ var pc = function pc(_ref41) {
|
|
|
7938
7938
|
strokeWidth: t
|
|
7939
7939
|
})));
|
|
7940
7940
|
},
|
|
7941
|
-
|
|
7941
|
+
Cc = function Cc() {
|
|
7942
7942
|
var e = Os();
|
|
7943
7943
|
return vr(function () {
|
|
7944
7944
|
var t, n, r, i;
|
|
7945
7945
|
return 1 === e.products.length && e.products.includes(p.oauth) && 1 === (null === (t = e.oauthOptions) || void 0 === t ? void 0 : t.providers.length) && (null === (n = e.oauthOptions) || void 0 === n ? void 0 : n.providers[0].type) === h.Google && !0 === (null === (r = e.oauthOptions) || void 0 === r ? void 0 : r.providers[0].one_tap) && (null === (i = e.oauthOptions) || void 0 === i ? void 0 : i.providers[0].position) === m.floating;
|
|
7946
7946
|
}, [e]);
|
|
7947
7947
|
},
|
|
7948
|
-
|
|
7948
|
+
_c = function _c(_ref44) {
|
|
7949
7949
|
var e = _ref44.enableShadowDOM;
|
|
7950
7950
|
return e ? Ii.createElement("slot", null) : Ii.createElement("div", {
|
|
7951
7951
|
"data-prompt_parent_id": "g_id_onload",
|
|
@@ -7989,7 +7989,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
7989
7989
|
var t, n, r, i;
|
|
7990
7990
|
var o = Os(),
|
|
7991
7991
|
a = Ts(),
|
|
7992
|
-
s =
|
|
7992
|
+
s = Cc(),
|
|
7993
7993
|
_hr5 = hr(!0),
|
|
7994
7994
|
_hr6 = _slicedToArray(_hr5, 2),
|
|
7995
7995
|
c = _hr6[0],
|
|
@@ -8008,7 +8008,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8008
8008
|
A = _hr12[1],
|
|
8009
8009
|
y = Ar(0),
|
|
8010
8010
|
v = Ar(),
|
|
8011
|
-
|
|
8011
|
+
C = function () {
|
|
8012
8012
|
var e = Ar(!1);
|
|
8013
8013
|
return mr(function () {
|
|
8014
8014
|
return function () {
|
|
@@ -8016,7 +8016,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8016
8016
|
};
|
|
8017
8017
|
}, []), e;
|
|
8018
8018
|
}(),
|
|
8019
|
-
|
|
8019
|
+
_ = Cr(function (_ref46) {
|
|
8020
8020
|
var _ref47 = _slicedToArray(_ref46, 1),
|
|
8021
8021
|
e = _ref47[0];
|
|
8022
8022
|
v.current && clearTimeout(v.current), y.current > 1 ? f(function (t) {
|
|
@@ -8031,14 +8031,14 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8031
8031
|
if (e === m.embedded) {
|
|
8032
8032
|
var _e4 = document.getElementById("google-parent-prompt");
|
|
8033
8033
|
if (_e4) {
|
|
8034
|
-
var _t3 = new ResizeObserver(
|
|
8034
|
+
var _t3 = new ResizeObserver(_);
|
|
8035
8035
|
return _t3.observe(_e4), function () {
|
|
8036
8036
|
return _t3.disconnect();
|
|
8037
8037
|
};
|
|
8038
8038
|
}
|
|
8039
8039
|
}
|
|
8040
|
-
}, [e,
|
|
8041
|
-
var w =
|
|
8040
|
+
}, [e, _]);
|
|
8041
|
+
var w = Cr(function () {
|
|
8042
8042
|
return Rt(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
8043
8043
|
var t, n, _pn, r, i, s, c;
|
|
8044
8044
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
@@ -8057,7 +8057,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8057
8057
|
return _context12.abrupt("return", void ("oauth_config_not_found" === i.reason ? A(wc.NoConfiguredOAuthClient) : "no_signup_redirect_urls_set" === i.reason ? A(wc.NoConfiguredSignupRedirectUrls) : "no_login_redirect_urls_set" === i.reason ? A(wc.NoConfiguredLoginRedirectUrls) : We("Unable to load One Tap settings for project", i)));
|
|
8058
8058
|
case 7:
|
|
8059
8059
|
s = i.client;
|
|
8060
|
-
if (!
|
|
8060
|
+
if (!C.current) {
|
|
8061
8061
|
_context12.next = 10;
|
|
8062
8062
|
break;
|
|
8063
8063
|
}
|
|
@@ -8079,7 +8079,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8079
8079
|
});
|
|
8080
8080
|
case 12:
|
|
8081
8081
|
c = _context12.sent;
|
|
8082
|
-
if (
|
|
8082
|
+
if (C.current) {
|
|
8083
8083
|
_context12.next = 15;
|
|
8084
8084
|
break;
|
|
8085
8085
|
}
|
|
@@ -8092,7 +8092,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8092
8092
|
}
|
|
8093
8093
|
}, _callee12);
|
|
8094
8094
|
}));
|
|
8095
|
-
}, [a, e,
|
|
8095
|
+
}, [a, e, C, null === (t = o.oauthOptions) || void 0 === t ? void 0 : t.loginRedirectURL, null === (n = o.oauthOptions) || void 0 === n ? void 0 : n.signupRedirectURL]);
|
|
8096
8096
|
mr(function () {
|
|
8097
8097
|
var e;
|
|
8098
8098
|
return w().then(function (t) {
|
|
@@ -8113,7 +8113,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8113
8113
|
}),
|
|
8114
8114
|
_pn2 = pn(a),
|
|
8115
8115
|
E = _pn2.publicToken;
|
|
8116
|
-
return s ? Ii.createElement(
|
|
8116
|
+
return s ? Ii.createElement(_c, {
|
|
8117
8117
|
enableShadowDOM: !!o.enableShadowDOM
|
|
8118
8118
|
}) : g !== wc.None ? Ii.createElement(Ii.Fragment, null, E.includes("public-token-test") ? bc[g] : null, b) : e === m.embedded && Zt.WillGoogleOneTapShowEmbedded() ? Ii.createElement(Ec, {
|
|
8119
8119
|
pending: c,
|
|
@@ -8121,7 +8121,7 @@ var bc = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_define
|
|
|
8121
8121
|
}, c && Ii.createElement(vc, {
|
|
8122
8122
|
size: 25,
|
|
8123
8123
|
thickness: 2
|
|
8124
|
-
}), u ? Ii.createElement(
|
|
8124
|
+
}), u ? Ii.createElement(_c, {
|
|
8125
8125
|
enableShadowDOM: !!o.enableShadowDOM
|
|
8126
8126
|
}) : b) : b;
|
|
8127
8127
|
};
|
|
@@ -8749,7 +8749,7 @@ function Yc(_ref58) {
|
|
|
8749
8749
|
o = void 0 !== e,
|
|
8750
8750
|
a = o ? e : r,
|
|
8751
8751
|
s = qc(n);
|
|
8752
|
-
return [a,
|
|
8752
|
+
return [a, Cr(function (t) {
|
|
8753
8753
|
if (o) {
|
|
8754
8754
|
var _n5 = "function" == typeof t ? t(e) : t;
|
|
8755
8755
|
_n5 !== e && s(_n5);
|
|
@@ -8772,7 +8772,7 @@ function Xc() {
|
|
|
8772
8772
|
for (var _len4 = arguments.length, e = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
8773
8773
|
e[_key4] = arguments[_key4];
|
|
8774
8774
|
}
|
|
8775
|
-
return
|
|
8775
|
+
return Cr(Jc.apply(void 0, e), e);
|
|
8776
8776
|
}
|
|
8777
8777
|
function $c() {
|
|
8778
8778
|
return $c = Object.assign ? Object.assign.bind() : function (e) {
|
|
@@ -8865,7 +8865,7 @@ function ol(e) {
|
|
|
8865
8865
|
}, r);
|
|
8866
8866
|
}
|
|
8867
8867
|
return n = [].concat(_toConsumableArray(n), [r]), a.displayName = t + "Provider", [a, function (n, a) {
|
|
8868
|
-
var s =
|
|
8868
|
+
var s = _r((null == a ? void 0 : a[e][o]) || i);
|
|
8869
8869
|
if (s) return s;
|
|
8870
8870
|
if (void 0 !== r) return r;
|
|
8871
8871
|
throw new Error("`".concat(n, "` must be used within `").concat(t, "`"));
|
|
@@ -9039,10 +9039,10 @@ var cl = {
|
|
|
9039
9039
|
dir: i,
|
|
9040
9040
|
loop: o,
|
|
9041
9041
|
currentTabStopId: h,
|
|
9042
|
-
onItemFocus:
|
|
9042
|
+
onItemFocus: Cr(function (e) {
|
|
9043
9043
|
return f(e);
|
|
9044
9044
|
}, [f]),
|
|
9045
|
-
onItemShiftTab:
|
|
9045
|
+
onItemShiftTab: Cr(function () {
|
|
9046
9046
|
return g(!0);
|
|
9047
9047
|
}, [])
|
|
9048
9048
|
}, Mn(il.div, $c({
|
|
@@ -9064,7 +9064,7 @@ var cl = {
|
|
|
9064
9064
|
var _e5 = y().filter(function (e) {
|
|
9065
9065
|
return e.focusable;
|
|
9066
9066
|
});
|
|
9067
|
-
|
|
9067
|
+
Cl([_e5.find(function (e) {
|
|
9068
9068
|
return e.active;
|
|
9069
9069
|
}), _e5.find(function (e) {
|
|
9070
9070
|
return e.id === h;
|
|
@@ -9131,7 +9131,7 @@ var cl = {
|
|
|
9131
9131
|
})) : _i2.slice(_o2 + 1);
|
|
9132
9132
|
}
|
|
9133
9133
|
setTimeout(function () {
|
|
9134
|
-
return
|
|
9134
|
+
return Cl(_i2);
|
|
9135
9135
|
});
|
|
9136
9136
|
}
|
|
9137
9137
|
var n, r;
|
|
@@ -9148,7 +9148,7 @@ var cl = {
|
|
|
9148
9148
|
PageDown: "last",
|
|
9149
9149
|
End: "last"
|
|
9150
9150
|
};
|
|
9151
|
-
function
|
|
9151
|
+
function Cl(e) {
|
|
9152
9152
|
var t = document.activeElement;
|
|
9153
9153
|
var _iterator = _createForOfIteratorHelper(e),
|
|
9154
9154
|
_step;
|
|
@@ -9164,7 +9164,7 @@ function _l(e) {
|
|
|
9164
9164
|
_iterator.f();
|
|
9165
9165
|
}
|
|
9166
9166
|
}
|
|
9167
|
-
var
|
|
9167
|
+
var _l = gl,
|
|
9168
9168
|
wl = yl,
|
|
9169
9169
|
_ol5 = ol("Tabs", [hl]),
|
|
9170
9170
|
_ol6 = _slicedToArray(_ol5, 2),
|
|
@@ -9216,7 +9216,7 @@ var Cl = gl,
|
|
|
9216
9216
|
i = Nt(e, ["__scopeTabs", "loop"]),
|
|
9217
9217
|
o = xl("TabsList", n),
|
|
9218
9218
|
a = kl(n);
|
|
9219
|
-
return Mn(
|
|
9219
|
+
return Mn(_l, $c({
|
|
9220
9220
|
asChild: !0
|
|
9221
9221
|
}, a, {
|
|
9222
9222
|
orientation: o.orientation,
|
|
@@ -9547,10 +9547,14 @@ var Bl = Ml,
|
|
|
9547
9547
|
QA: "974",
|
|
9548
9548
|
MZ: "258"
|
|
9549
9549
|
},
|
|
9550
|
-
Fl = ys.select(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n background-color:
|
|
9551
|
-
return e.theme.
|
|
9550
|
+
Fl = ys.select(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n height: 47px;\n padding: 1px 8px;\n color: ", ";\n font-family: ", ";\n width: 80px;\n font-size: 18px;\n"])), function (e) {
|
|
9551
|
+
return e.theme.inputs.backgroundColor;
|
|
9552
9552
|
}, function (e) {
|
|
9553
|
-
return e.theme.
|
|
9553
|
+
return e.theme.inputs.borderColor;
|
|
9554
|
+
}, function (e) {
|
|
9555
|
+
return e.theme.inputs.borderRadius;
|
|
9556
|
+
}, function (e) {
|
|
9557
|
+
return e.theme.inputs.textColor;
|
|
9554
9558
|
}, function (e) {
|
|
9555
9559
|
return e.theme.typography.fontFamily;
|
|
9556
9560
|
}),
|
|
@@ -9576,14 +9580,18 @@ var Bl = Ml,
|
|
|
9576
9580
|
}, t !== e ? "+".concat(r, " ").concat(n.of(t)) : "+".concat(r));
|
|
9577
9581
|
}));
|
|
9578
9582
|
},
|
|
9579
|
-
zl = ys.input(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n background-color:
|
|
9580
|
-
return e.theme.
|
|
9583
|
+
zl = ys.input(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n background-color: ", ";\n height: 45px;\n padding: 0 8px;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n font-family: ", ";\n font-size: 18px;\n &::placeholder {\n color: ", ";\n }\n\n &:disabled {\n border: 1px solid ", ";\n color: ", ";\n background-color: ", ";\n }\n"])), function (e) {
|
|
9584
|
+
return e.theme.inputs.backgroundColor;
|
|
9581
9585
|
}, function (e) {
|
|
9582
|
-
return e.theme.
|
|
9586
|
+
return e.theme.inputs.borderColor;
|
|
9587
|
+
}, function (e) {
|
|
9588
|
+
return e.theme.inputs.borderRadius;
|
|
9589
|
+
}, function (e) {
|
|
9590
|
+
return e.theme.inputs.textColor;
|
|
9583
9591
|
}, function (e) {
|
|
9584
9592
|
return e.theme.typography.fontFamily;
|
|
9585
9593
|
}, function (e) {
|
|
9586
|
-
return e.theme.
|
|
9594
|
+
return e.theme.inputs.placeholderColor;
|
|
9587
9595
|
}, function (e) {
|
|
9588
9596
|
return e.theme.colors.disabledText;
|
|
9589
9597
|
}, function (e) {
|
|
@@ -10585,13 +10593,13 @@ var vu = function vu() {
|
|
|
10585
10593
|
var e;
|
|
10586
10594
|
return !!(null === (e = window.ethereum) || void 0 === e ? void 0 : e.providers);
|
|
10587
10595
|
},
|
|
10588
|
-
|
|
10596
|
+
Cu = function Cu() {
|
|
10589
10597
|
var e;
|
|
10590
10598
|
return !!(vu() ? null === (e = window.ethereum.providers) || void 0 === e ? void 0 : e.find(function (e) {
|
|
10591
10599
|
return e.isMetaMask;
|
|
10592
10600
|
}) : window.ethereum.isMetaMask);
|
|
10593
10601
|
},
|
|
10594
|
-
|
|
10602
|
+
_u = function _u() {
|
|
10595
10603
|
var e, t;
|
|
10596
10604
|
return !!(vu() ? null === (e = window.ethereum.providers) || void 0 === e ? void 0 : e.find(function (e) {
|
|
10597
10605
|
return e.isCoinbaseWallet;
|
|
@@ -10621,7 +10629,7 @@ var vu = function vu() {
|
|
|
10621
10629
|
var t, n;
|
|
10622
10630
|
switch (e) {
|
|
10623
10631
|
case f.Metamask:
|
|
10624
|
-
return !!window.ethereum &&
|
|
10632
|
+
return !!window.ethereum && Cu();
|
|
10625
10633
|
case f.Phantom:
|
|
10626
10634
|
return null !== (n = !!window.solana && (null === (t = window.solana) || void 0 === t ? void 0 : t.isPhantom)) && void 0 !== n && n;
|
|
10627
10635
|
case f.Vessel:
|
|
@@ -10629,9 +10637,9 @@ var vu = function vu() {
|
|
|
10629
10637
|
case f.Binance:
|
|
10630
10638
|
return !!window.BinanceChain;
|
|
10631
10639
|
case f.Coinbase:
|
|
10632
|
-
return !!window.ethereum &&
|
|
10640
|
+
return !!window.ethereum && _u();
|
|
10633
10641
|
case f.GenericEthereumWallet:
|
|
10634
|
-
return !(!window.ethereum ||
|
|
10642
|
+
return !(!window.ethereum || Cu() || _u() || !window.ethereum);
|
|
10635
10643
|
case f.GenericSolanaWallet:
|
|
10636
10644
|
return !!window.solana && !window.solana.isPhantom;
|
|
10637
10645
|
default:
|
|
@@ -11281,12 +11289,12 @@ function vd() {
|
|
|
11281
11289
|
return e;
|
|
11282
11290
|
}, e;
|
|
11283
11291
|
}
|
|
11284
|
-
var
|
|
11285
|
-
|
|
11292
|
+
var Cd = Xu(vd()),
|
|
11293
|
+
_d = Xu(yd()),
|
|
11286
11294
|
wd = Xu(Ad()),
|
|
11287
11295
|
bd = $u("div")(gd(), function (e) {
|
|
11288
11296
|
return e.primary || "#ff4b4b";
|
|
11289
|
-
},
|
|
11297
|
+
}, Cd, _d, function (e) {
|
|
11290
11298
|
return e.secondary || "#fff";
|
|
11291
11299
|
}, wd);
|
|
11292
11300
|
function Ed() {
|
|
@@ -11537,7 +11545,7 @@ var $d = "46px",
|
|
|
11537
11545
|
op = function op(_ref81) {
|
|
11538
11546
|
var e = _ref81.otp,
|
|
11539
11547
|
t = _ref81.setOtp;
|
|
11540
|
-
var n =
|
|
11548
|
+
var n = Cr(function (_ref82) {
|
|
11541
11549
|
var t = _ref82.index;
|
|
11542
11550
|
var n = e ? e[t] : "";
|
|
11543
11551
|
return Ii.createElement("div", {
|
|
@@ -11636,12 +11644,12 @@ var up = function up(_ref85) {
|
|
|
11636
11644
|
_hr55 = hr(d),
|
|
11637
11645
|
_hr56 = _slicedToArray(_hr55, 2),
|
|
11638
11646
|
v = _hr56[0],
|
|
11639
|
-
|
|
11647
|
+
C = _hr56[1];
|
|
11640
11648
|
mr(function () {
|
|
11641
11649
|
pn(o).clientsideServices.parsedPhoneNumber({
|
|
11642
11650
|
phoneNumber: d
|
|
11643
11651
|
}).then(function (e) {
|
|
11644
|
-
|
|
11652
|
+
C(p === g.Email ? d : e.number);
|
|
11645
11653
|
});
|
|
11646
11654
|
}, [p, d, o]);
|
|
11647
11655
|
return mr(function () {
|
|
@@ -11806,25 +11814,29 @@ var up = function up(_ref85) {
|
|
|
11806
11814
|
fill: "#19303D"
|
|
11807
11815
|
}));
|
|
11808
11816
|
},
|
|
11809
|
-
fp = ys.input(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n border: 0;\n padding: 0;\n width: 100%;\n\n background-color: transparent;\n height: 45px;\n color: ", ";\n font-family: ", ";\n font-size: 18px;\n\n
|
|
11810
|
-
return e.theme.
|
|
11817
|
+
fp = ys.input(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n border: 0;\n padding: 0;\n width: 100%;\n\n background-color: transparent;\n height: 45px;\n color: ", ";\n font-family: ", ";\n font-size: 18px;\n\n &::placeholder: {\n color: ", ";\n }\n\n &:disabled {\n color: ", ";\n background-color: ", ";\n }\n\n &:focus {\n outline: none;\n }\n"])), function (e) {
|
|
11818
|
+
return e.theme.inputs.textColor;
|
|
11811
11819
|
}, function (e) {
|
|
11812
11820
|
return e.theme.typography.fontFamily;
|
|
11813
11821
|
}, function (e) {
|
|
11814
|
-
return e.theme.
|
|
11822
|
+
return e.theme.inputs.placeholderColor;
|
|
11815
11823
|
}, function (e) {
|
|
11816
11824
|
return e.theme.colors.disabledText;
|
|
11817
11825
|
}, function (e) {
|
|
11818
11826
|
return e.theme.colors.disabled;
|
|
11819
11827
|
}),
|
|
11820
|
-
mp = ys(Ns)(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n background-color:
|
|
11821
|
-
return e.theme.
|
|
11828
|
+
mp = ys(Ns)(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n background-color: ", ";\n height: 45px;\n padding-left: 8px;\n padding-right: 8px;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n font-family: ", ";\n font-size: 18px;\n width: calc(100% - 18px);\n & input::placeholder: {\n color: ", ";\n }\n"])), function (e) {
|
|
11829
|
+
return e.theme.inputs.backgroundColor;
|
|
11822
11830
|
}, function (e) {
|
|
11823
|
-
return e.theme.
|
|
11831
|
+
return e.theme.inputs.borderColor;
|
|
11832
|
+
}, function (e) {
|
|
11833
|
+
return e.theme.inputs.borderRadius;
|
|
11834
|
+
}, function (e) {
|
|
11835
|
+
return e.theme.inputs.textColor;
|
|
11824
11836
|
}, function (e) {
|
|
11825
11837
|
return e.theme.typography.fontFamily;
|
|
11826
11838
|
}, function (e) {
|
|
11827
|
-
return e.theme.
|
|
11839
|
+
return e.theme.inputs.placeholderColor;
|
|
11828
11840
|
}),
|
|
11829
11841
|
gp = ys.button(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n all: unset;\n cursor: pointer;\n"]))),
|
|
11830
11842
|
Ap = function Ap(_ref88) {
|
|
@@ -11873,7 +11885,7 @@ var up = function up(_ref85) {
|
|
|
11873
11885
|
vp = ys.div(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n height: 4px;\n width: 25%;\n background-color: ", ";\n"])), function (e) {
|
|
11874
11886
|
return e.$bgColor;
|
|
11875
11887
|
}),
|
|
11876
|
-
|
|
11888
|
+
Cp = function Cp(_ref90) {
|
|
11877
11889
|
var e = _ref90.score;
|
|
11878
11890
|
var t = [];
|
|
11879
11891
|
switch (e) {
|
|
@@ -11902,7 +11914,7 @@ var up = function up(_ref85) {
|
|
|
11902
11914
|
});
|
|
11903
11915
|
}));
|
|
11904
11916
|
},
|
|
11905
|
-
|
|
11917
|
+
_p = function _p() {
|
|
11906
11918
|
return Mn(Ns, {
|
|
11907
11919
|
height: 16,
|
|
11908
11920
|
width: 16
|
|
@@ -12068,7 +12080,7 @@ function ih() {
|
|
|
12068
12080
|
case 0:
|
|
12069
12081
|
d = function _d2(n) {
|
|
12070
12082
|
return Rt(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
|
|
12071
|
-
var _th, _th2, i, _ref80, _ref93, o, d, _Ip$get, _Ip$get2, p, h, f, m, g, A, y, v,
|
|
12083
|
+
var _th, _th2, i, _ref80, _ref93, o, d, _Ip$get, _Ip$get2, p, h, f, m, g, A, y, v, C, _, w, b, E, k;
|
|
12072
12084
|
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
|
12073
12085
|
while (1) switch (_context24.prev = _context24.next) {
|
|
12074
12086
|
case 0:
|
|
@@ -12105,8 +12117,8 @@ function ih() {
|
|
|
12105
12117
|
y = r;
|
|
12106
12118
|
v = rh();
|
|
12107
12119
|
h[i] = [v, 0];
|
|
12108
|
-
|
|
12109
|
-
if (
|
|
12120
|
+
C = !Rp(c), _ = o(), w = _.data, b = _._c, E = Rp(b) ? w : b;
|
|
12121
|
+
if (C && (c = Fp(c) ? c(E) : c, d({
|
|
12110
12122
|
data: c,
|
|
12111
12123
|
_c: E
|
|
12112
12124
|
})), Fp(y)) try {
|
|
@@ -12136,7 +12148,7 @@ function ih() {
|
|
|
12136
12148
|
case 18:
|
|
12137
12149
|
return _context24.abrupt("return", y);
|
|
12138
12150
|
case 19:
|
|
12139
|
-
A &&
|
|
12151
|
+
A && C && function (e) {
|
|
12140
12152
|
return "function" == typeof s ? s(e) : !1 !== s;
|
|
12141
12153
|
}(A) && (a = !0, y = E, d({
|
|
12142
12154
|
data: y,
|
|
@@ -12345,7 +12357,7 @@ var ph = function ph(e) {
|
|
|
12345
12357
|
}(),
|
|
12346
12358
|
i = null === (t = r.passwordConfig) || void 0 === t ? void 0 : t.ludsComplexity,
|
|
12347
12359
|
o = null === (n = r.passwordConfig) || void 0 === n ? void 0 : n.ludsMinimumCount;
|
|
12348
|
-
return "none" === e.passwordPolicy ? null : "zxcvbn" === e.passwordPolicy ? Ii.createElement(Ii.Fragment, null, Ii.createElement(
|
|
12360
|
+
return "none" === e.passwordPolicy ? null : "zxcvbn" === e.passwordPolicy ? Ii.createElement(Ii.Fragment, null, Ii.createElement(Cp, {
|
|
12349
12361
|
score: e.passwordScore
|
|
12350
12362
|
}), Ii.createElement(Gl, {
|
|
12351
12363
|
errorMessage: "" !== e.errorMessage ? e.errorMessage : e.passwordFeedback
|
|
@@ -12354,12 +12366,12 @@ var ph = function ph(e) {
|
|
|
12354
12366
|
gap: 4
|
|
12355
12367
|
}, Ii.createElement(Ns, {
|
|
12356
12368
|
gap: 4
|
|
12357
|
-
}, 0 === e.missingCharacters ? Ii.createElement(
|
|
12369
|
+
}, 0 === e.missingCharacters ? Ii.createElement(_p, null) : Ii.createElement(wp, null), Ii.createElement(Rs, {
|
|
12358
12370
|
size: "helper",
|
|
12359
12371
|
color: 0 === e.missingCharacters ? "success" : "error"
|
|
12360
12372
|
}, "Must be at least ", o, " characters long")), Ii.createElement(Ns, {
|
|
12361
12373
|
gap: 4
|
|
12362
|
-
}, 0 === e.missingComplexity ? Ii.createElement(
|
|
12374
|
+
}, 0 === e.missingComplexity ? Ii.createElement(_p, null) : Ii.createElement(wp, null), Ii.createElement(Rs, {
|
|
12363
12375
|
size: "helper",
|
|
12364
12376
|
color: 0 === e.missingComplexity ? "success" : "error"
|
|
12365
12377
|
}, "Must contain ", i, " of the following: uppercase letter, lowercase letter, number, symbol")), e.isPasswordBreached && Ii.createElement(Ns, {
|
|
@@ -12405,8 +12417,8 @@ var ph = function ph(e) {
|
|
|
12405
12417
|
v = _hr74[1],
|
|
12406
12418
|
_hr75 = hr(!1),
|
|
12407
12419
|
_hr76 = _slicedToArray(_hr75, 2),
|
|
12408
|
-
|
|
12409
|
-
|
|
12420
|
+
C = _hr76[0],
|
|
12421
|
+
_ = _hr76[1],
|
|
12410
12422
|
_hr77 = hr("none"),
|
|
12411
12423
|
_hr78 = _slicedToArray(_hr77, 2),
|
|
12412
12424
|
w = _hr78[0],
|
|
@@ -12444,12 +12456,12 @@ var ph = function ph(e) {
|
|
|
12444
12456
|
return Ii.createElement("form", {
|
|
12445
12457
|
onSubmit: function onSubmit(r) {
|
|
12446
12458
|
var c, u;
|
|
12447
|
-
r.preventDefault(), p(""),
|
|
12459
|
+
r.preventDefault(), p(""), _(!0), e.passwords.create({
|
|
12448
12460
|
email: s,
|
|
12449
12461
|
password: l,
|
|
12450
12462
|
session_duration_minutes: null !== (u = null === (c = t.sessionOptions) || void 0 === c ? void 0 : c.sessionDurationMinutes) && void 0 !== u ? u : ke
|
|
12451
12463
|
}).then(function (e) {
|
|
12452
|
-
|
|
12464
|
+
_(!1), o({
|
|
12453
12465
|
type: A.PasswordCreate,
|
|
12454
12466
|
data: e
|
|
12455
12467
|
}), i({
|
|
@@ -12462,7 +12474,7 @@ var ph = function ph(e) {
|
|
|
12462
12474
|
type: "transition",
|
|
12463
12475
|
screen: ws.PasswordDedupe
|
|
12464
12476
|
});
|
|
12465
|
-
}), p(t.message),
|
|
12477
|
+
}), p(t.message), _(!1);
|
|
12466
12478
|
});
|
|
12467
12479
|
}
|
|
12468
12480
|
}, Ii.createElement(Ns, {
|
|
@@ -12499,7 +12511,7 @@ var ph = function ph(e) {
|
|
|
12499
12511
|
missingComplexity: S,
|
|
12500
12512
|
isPasswordBreached: M
|
|
12501
12513
|
})), Ii.createElement(Wl, {
|
|
12502
|
-
isSubmitting:
|
|
12514
|
+
isSubmitting: C,
|
|
12503
12515
|
text: "Continue",
|
|
12504
12516
|
disabled: y
|
|
12505
12517
|
})));
|
|
@@ -12801,7 +12813,7 @@ var ph = function ph(e) {
|
|
|
12801
12813
|
}), y[h]);
|
|
12802
12814
|
},
|
|
12803
12815
|
vh = ys(Ns)(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n > div {\n height: 200px;\n width: 200px;\n }\n"]))),
|
|
12804
|
-
|
|
12816
|
+
Ch = function Ch() {
|
|
12805
12817
|
var e = Ps(),
|
|
12806
12818
|
t = Is(),
|
|
12807
12819
|
n = function n() {
|
|
@@ -12927,7 +12939,7 @@ var ph = function ph(e) {
|
|
|
12927
12939
|
justifyContent: "center"
|
|
12928
12940
|
}, Ii.createElement(l, null)), Ii.createElement(Rs, null, "Complete sign in by connecting through the wallet pop up in the right corner of your screen."), Ii.createElement(Rs, null, "Having trouble? Use the back arrow to return to the main screen and try logging in again."));
|
|
12929
12941
|
},
|
|
12930
|
-
|
|
12942
|
+
_h = ys(Ns)(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n > div {\n height: 200px;\n width: 200px;\n }\n"]))),
|
|
12931
12943
|
wh = function wh() {
|
|
12932
12944
|
var e = Ps(),
|
|
12933
12945
|
t = Is(),
|
|
@@ -13059,7 +13071,7 @@ var ph = function ph(e) {
|
|
|
13059
13071
|
}
|
|
13060
13072
|
}), Ii.createElement(Rs, {
|
|
13061
13073
|
size: "header"
|
|
13062
|
-
}, "Completing signature request..."), Ii.createElement(
|
|
13074
|
+
}, "Completing signature request..."), Ii.createElement(_h, {
|
|
13063
13075
|
justifyContent: "center"
|
|
13064
13076
|
}, Ii.createElement(p, null)), Ii.createElement(Rs, null, "Complete the signature request through the wallet pop up in the right corner of your screen."), Ii.createElement(Rs, null, "Having trouble? Use the back arrow to return to the main screen and try logging in again."));
|
|
13065
13077
|
},
|
|
@@ -13484,8 +13496,8 @@ var ph = function ph(e) {
|
|
|
13484
13496
|
v = _hr108[1],
|
|
13485
13497
|
_hr109 = hr(!1),
|
|
13486
13498
|
_hr110 = _slicedToArray(_hr109, 2),
|
|
13487
|
-
|
|
13488
|
-
|
|
13499
|
+
C = _hr110[0],
|
|
13500
|
+
_ = _hr110[1],
|
|
13489
13501
|
_hr111 = hr("none"),
|
|
13490
13502
|
_hr112 = _slicedToArray(_hr111, 2),
|
|
13491
13503
|
w = _hr112[0],
|
|
@@ -13562,12 +13574,12 @@ var ph = function ph(e) {
|
|
|
13562
13574
|
}, "Reset your password"), Ii.createElement(Fh, {
|
|
13563
13575
|
onSubmit: function onSubmit(n) {
|
|
13564
13576
|
var s, c;
|
|
13565
|
-
n.preventDefault(), p(""),
|
|
13577
|
+
n.preventDefault(), p(""), _(!0), e.passwords.resetByEmail({
|
|
13566
13578
|
token: i,
|
|
13567
13579
|
password: l,
|
|
13568
13580
|
session_duration_minutes: null !== (c = null === (s = t.sessionOptions) || void 0 === s ? void 0 : s.sessionDurationMinutes) && void 0 !== c ? c : ke
|
|
13569
13581
|
}).then(function (e) {
|
|
13570
|
-
|
|
13582
|
+
_(!1), o({
|
|
13571
13583
|
type: A.PasswordResetByEmail,
|
|
13572
13584
|
data: e
|
|
13573
13585
|
}), r({
|
|
@@ -13575,7 +13587,7 @@ var ph = function ph(e) {
|
|
|
13575
13587
|
screen: ws.PasswordConfirmation
|
|
13576
13588
|
});
|
|
13577
13589
|
})["catch"](function (e) {
|
|
13578
|
-
a(e), p(e.message),
|
|
13590
|
+
a(e), p(e.message), _(!1);
|
|
13579
13591
|
});
|
|
13580
13592
|
}
|
|
13581
13593
|
}, Ii.createElement(Ns, {
|
|
@@ -13602,7 +13614,7 @@ var ph = function ph(e) {
|
|
|
13602
13614
|
missingComplexity: S,
|
|
13603
13615
|
isPasswordBreached: M
|
|
13604
13616
|
})), Ii.createElement(Wl, {
|
|
13605
|
-
isSubmitting:
|
|
13617
|
+
isSubmitting: C,
|
|
13606
13618
|
text: "Continue",
|
|
13607
13619
|
disabled: y
|
|
13608
13620
|
}))), Ii.createElement(lc, null), Ii.createElement(Ns, {
|
|
@@ -14174,9 +14186,9 @@ var Zh = ys(Ns)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral
|
|
|
14174
14186
|
e = _Ls58[0],
|
|
14175
14187
|
_As2 = As(),
|
|
14176
14188
|
t = _As2.displayWatermark,
|
|
14177
|
-
n =
|
|
14189
|
+
n = Cc(),
|
|
14178
14190
|
r = e.screen,
|
|
14179
|
-
i = (_i8 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_i8, ws.Main, Ii.createElement(Nu, null)), ws.PasskeyRegistrationStart, Ii.createElement(Kh, null)), ws.PasskeyRegistrationSuccess, Ii.createElement(af, null)), ws.PasskeyConfirmation, Ii.createElement(sf, null)), ws.PasswordResetForm, Ii.createElement(Uh, null)), ws.PasswordCreateOrLogin, Ii.createElement(yh, null)), ws.PasswordForgot, Ii.createElement(jh, null)), ws.PasswordBreached, Ii.createElement(Dh, null)), ws.PasswordSetNew, Ii.createElement(Nh, null)), ws.PasswordDedupe, Ii.createElement(Rh, null)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_i8, ws.PasswordConfirmation, Ii.createElement(zh, null)), ws.EmailConfirmation, Ii.createElement(rc, null)), ws.OTPAuthenticate, Ii.createElement(up, null)), ws.OTPConfirmation, Ii.createElement(oc, null)), ws.CryptoConnect, Ii.createElement(
|
|
14191
|
+
i = (_i8 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_i8, ws.Main, Ii.createElement(Nu, null)), ws.PasskeyRegistrationStart, Ii.createElement(Kh, null)), ws.PasskeyRegistrationSuccess, Ii.createElement(af, null)), ws.PasskeyConfirmation, Ii.createElement(sf, null)), ws.PasswordResetForm, Ii.createElement(Uh, null)), ws.PasswordCreateOrLogin, Ii.createElement(yh, null)), ws.PasswordForgot, Ii.createElement(jh, null)), ws.PasswordBreached, Ii.createElement(Dh, null)), ws.PasswordSetNew, Ii.createElement(Nh, null)), ws.PasswordDedupe, Ii.createElement(Rh, null)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_i8, ws.PasswordConfirmation, Ii.createElement(zh, null)), ws.EmailConfirmation, Ii.createElement(rc, null)), ws.OTPAuthenticate, Ii.createElement(up, null)), ws.OTPConfirmation, Ii.createElement(oc, null)), ws.CryptoConnect, Ii.createElement(Ch, null)), ws.CryptoSignMessage, Ii.createElement(wh, null)), ws.CryptoOtherScreen, Ii.createElement(kh, null)), ws.CryptoSetupWallet, Ii.createElement(Eh, null)), ws.CryptoError, Ii.createElement(xh, null)), ws.CryptoConfirmation, Ii.createElement(Sh, null)));
|
|
14180
14192
|
return n ? Ii.createElement(kc, {
|
|
14181
14193
|
position: m.floating
|
|
14182
14194
|
}) : Ii.createElement(cf, null, i[r], Ii.createElement(Ph, null), t && Ii.createElement(Ns, {
|
|
@@ -14214,12 +14226,12 @@ var df = {
|
|
|
14214
14226
|
A = m || g || Function("return this")(),
|
|
14215
14227
|
y = t && !t.nodeType && t,
|
|
14216
14228
|
v = y && e && !e.nodeType && e,
|
|
14217
|
-
|
|
14218
|
-
|
|
14229
|
+
C = v && v.exports === y,
|
|
14230
|
+
_ = C && m.process,
|
|
14219
14231
|
w = function () {
|
|
14220
14232
|
try {
|
|
14221
14233
|
var e = v && v.require && v.require("util").types;
|
|
14222
|
-
return e ||
|
|
14234
|
+
return e || _ && _.binding && _.binding("util");
|
|
14223
14235
|
} catch (e) {}
|
|
14224
14236
|
}(),
|
|
14225
14237
|
b = w && w.isTypedArray;
|
|
@@ -14236,7 +14248,7 @@ var df = {
|
|
|
14236
14248
|
B = T.toString,
|
|
14237
14249
|
j = O.call(Object),
|
|
14238
14250
|
D = RegExp("^" + O.call(I).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
|
|
14239
|
-
N =
|
|
14251
|
+
N = C ? A.Buffer : void 0,
|
|
14240
14252
|
R = A.Symbol,
|
|
14241
14253
|
F = A.Uint8Array,
|
|
14242
14254
|
U = N ? N.allocUnsafe : void 0,
|
|
@@ -14446,7 +14458,7 @@ var df = {
|
|
|
14446
14458
|
if (null != e) for (var n in Object(e)) t.push(n);
|
|
14447
14459
|
return t;
|
|
14448
14460
|
}(e);
|
|
14449
|
-
var t =
|
|
14461
|
+
var t = Ce(e),
|
|
14450
14462
|
n = [];
|
|
14451
14463
|
for (var r in e) ("constructor" != r || !t && I.call(e, r)) && n.push(r);
|
|
14452
14464
|
return n;
|
|
@@ -14454,8 +14466,8 @@ var df = {
|
|
|
14454
14466
|
function fe(e, t, n, r, i) {
|
|
14455
14467
|
e !== t && le(t, function (o, a) {
|
|
14456
14468
|
if (i || (i = new ne()), Le(o)) !function (e, t, n, r, i, o, a) {
|
|
14457
|
-
var s =
|
|
14458
|
-
c =
|
|
14469
|
+
var s = _e(e, n),
|
|
14470
|
+
c = _e(t, n),
|
|
14459
14471
|
u = a.get(c);
|
|
14460
14472
|
if (u) return void ie(e, n, u);
|
|
14461
14473
|
var d = o ? o(s, c, n + "", e, t, a) : void 0,
|
|
@@ -14464,7 +14476,7 @@ var df = {
|
|
|
14464
14476
|
var h = ke(c),
|
|
14465
14477
|
f = !h && xe(c),
|
|
14466
14478
|
m = !h && !f && Ie(c);
|
|
14467
|
-
d = c, h || f || m ? ke(s) ? d = s : Oe(
|
|
14479
|
+
d = c, h || f || m ? ke(s) ? d = s : Oe(C = s) && Se(C) ? d = function (e, t) {
|
|
14468
14480
|
var n = -1,
|
|
14469
14481
|
r = e.length;
|
|
14470
14482
|
t || (t = Array(r));
|
|
@@ -14495,15 +14507,15 @@ var df = {
|
|
|
14495
14507
|
return n;
|
|
14496
14508
|
}(e, Pe(e));
|
|
14497
14509
|
}(s) : Le(s) && !Me(s) || (d = function (e) {
|
|
14498
|
-
return "function" != typeof e.constructor ||
|
|
14510
|
+
return "function" != typeof e.constructor || Ce(e) ? {} : X(z(e));
|
|
14499
14511
|
}(c))) : p = !1;
|
|
14500
14512
|
}
|
|
14501
14513
|
var g, A, y, v;
|
|
14502
|
-
var
|
|
14514
|
+
var C;
|
|
14503
14515
|
p && (a.set(c, d), i(d, c, r, o, a), a["delete"](c));
|
|
14504
14516
|
ie(e, n, d);
|
|
14505
14517
|
}(e, t, a, n, fe, r, i);else {
|
|
14506
|
-
var s = r ? r(
|
|
14518
|
+
var s = r ? r(_e(e, a), o, a + "", e, t, i) : void 0;
|
|
14507
14519
|
void 0 === s && (s = o), ie(e, a, s);
|
|
14508
14520
|
}
|
|
14509
14521
|
}, Pe);
|
|
@@ -14557,11 +14569,11 @@ var df = {
|
|
|
14557
14569
|
var n = _typeof(e);
|
|
14558
14570
|
return !!(t = null == t ? r : t) && ("number" == n || "symbol" != n && h.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
14559
14571
|
}
|
|
14560
|
-
function
|
|
14572
|
+
function Ce(e) {
|
|
14561
14573
|
var t = e && e.constructor;
|
|
14562
14574
|
return e === ("function" == typeof t && t.prototype || T);
|
|
14563
14575
|
}
|
|
14564
|
-
function
|
|
14576
|
+
function _e(e, t) {
|
|
14565
14577
|
if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t];
|
|
14566
14578
|
}
|
|
14567
14579
|
var we = function (e) {
|
|
@@ -14640,29 +14652,32 @@ var df = {
|
|
|
14640
14652
|
e.exports = je;
|
|
14641
14653
|
}(df, df.exports);
|
|
14642
14654
|
var pf = df.exports;
|
|
14643
|
-
var hf =
|
|
14655
|
+
var hf = "#8296A1",
|
|
14656
|
+
ff = function ff(_ref108) {
|
|
14644
14657
|
var e = _ref108.styles,
|
|
14645
14658
|
t = _ref108.displayWatermark;
|
|
14646
14659
|
return vr(function () {
|
|
14647
14660
|
return function (e) {
|
|
14648
14661
|
var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
|
|
14662
|
+
var n, r, i, o, a, s, c, l, u, d;
|
|
14663
|
+
var p = pf({}, ks, e);
|
|
14649
14664
|
return {
|
|
14650
14665
|
typography: {
|
|
14651
|
-
fontFamily:
|
|
14666
|
+
fontFamily: p.fontFamily,
|
|
14652
14667
|
header: {
|
|
14653
|
-
fontFamily:
|
|
14668
|
+
fontFamily: p.fontFamily,
|
|
14654
14669
|
fontSize: 24,
|
|
14655
14670
|
fontWeight: 600,
|
|
14656
14671
|
lineHeight: "30px"
|
|
14657
14672
|
},
|
|
14658
14673
|
body: {
|
|
14659
|
-
fontFamily:
|
|
14674
|
+
fontFamily: p.fontFamily,
|
|
14660
14675
|
fontSize: 16,
|
|
14661
14676
|
fontWeight: "normal",
|
|
14662
14677
|
lineHeight: "21px"
|
|
14663
14678
|
},
|
|
14664
14679
|
helper: {
|
|
14665
|
-
fontFamily:
|
|
14680
|
+
fontFamily: p.fontFamily,
|
|
14666
14681
|
fontSize: 14,
|
|
14667
14682
|
fontWeight: "400",
|
|
14668
14683
|
lineHeight: "20px",
|
|
@@ -14670,46 +14685,53 @@ var hf = function hf(_ref108) {
|
|
|
14670
14685
|
}
|
|
14671
14686
|
},
|
|
14672
14687
|
colors: {
|
|
14673
|
-
primary:
|
|
14674
|
-
secondary:
|
|
14675
|
-
success:
|
|
14676
|
-
error:
|
|
14688
|
+
primary: p.colors.primary,
|
|
14689
|
+
secondary: p.colors.secondary,
|
|
14690
|
+
success: p.colors.success,
|
|
14691
|
+
error: p.colors.error,
|
|
14677
14692
|
disabled: "#F3F5F6",
|
|
14678
|
-
disabledText:
|
|
14693
|
+
disabledText: hf
|
|
14679
14694
|
},
|
|
14680
14695
|
container: {
|
|
14681
|
-
width:
|
|
14682
|
-
border: "1px solid ".concat(
|
|
14683
|
-
borderRadius:
|
|
14684
|
-
backgroundColor:
|
|
14696
|
+
width: p.container.width,
|
|
14697
|
+
border: "1px solid ".concat(p.container.borderColor),
|
|
14698
|
+
borderRadius: p.container.borderRadius,
|
|
14699
|
+
backgroundColor: p.container.backgroundColor
|
|
14685
14700
|
},
|
|
14686
14701
|
buttons: {
|
|
14687
14702
|
primary: {
|
|
14688
|
-
backgroundColor:
|
|
14689
|
-
textColor:
|
|
14690
|
-
border: "1px solid ".concat(
|
|
14691
|
-
borderRadius:
|
|
14703
|
+
backgroundColor: p.buttons.primary.backgroundColor,
|
|
14704
|
+
textColor: p.buttons.primary.textColor,
|
|
14705
|
+
border: "1px solid ".concat(p.buttons.primary.borderColor),
|
|
14706
|
+
borderRadius: p.buttons.primary.borderRadius
|
|
14692
14707
|
},
|
|
14693
14708
|
secondary: {
|
|
14694
|
-
backgroundColor:
|
|
14695
|
-
textColor:
|
|
14696
|
-
border: "1px solid ".concat(
|
|
14697
|
-
borderRadius:
|
|
14709
|
+
backgroundColor: p.buttons.secondary.backgroundColor,
|
|
14710
|
+
textColor: p.buttons.secondary.textColor,
|
|
14711
|
+
border: "1px solid ".concat(p.buttons.secondary.borderColor),
|
|
14712
|
+
borderRadius: p.buttons.secondary.borderRadius
|
|
14698
14713
|
}
|
|
14699
14714
|
},
|
|
14700
|
-
|
|
14715
|
+
inputs: {
|
|
14716
|
+
backgroundColor: null !== (r = null === (n = p.inputs) || void 0 === n ? void 0 : n.backgroundColor) && void 0 !== r ? r : "transparent",
|
|
14717
|
+
textColor: null !== (o = null === (i = p.inputs) || void 0 === i ? void 0 : i.textColor) && void 0 !== o ? o : p.colors.primary,
|
|
14718
|
+
borderColor: null !== (s = null === (a = p.inputs) || void 0 === a ? void 0 : a.borderColor) && void 0 !== s ? s : p.colors.primary,
|
|
14719
|
+
borderRadius: null !== (l = null === (c = p.inputs) || void 0 === c ? void 0 : c.borderRadius) && void 0 !== l ? l : "4px",
|
|
14720
|
+
placeholderColor: null !== (d = null === (u = p.inputs) || void 0 === u ? void 0 : u.placeholderColor) && void 0 !== d ? d : hf
|
|
14721
|
+
},
|
|
14722
|
+
displayHeader: !p.hideHeaderText,
|
|
14701
14723
|
displayWatermark: t,
|
|
14702
14724
|
logo: {
|
|
14703
|
-
logoImageUrl:
|
|
14725
|
+
logoImageUrl: p.logo.logoImageUrl
|
|
14704
14726
|
}
|
|
14705
14727
|
};
|
|
14706
|
-
}(
|
|
14728
|
+
}(e, t);
|
|
14707
14729
|
}, [e, t]);
|
|
14708
14730
|
},
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14731
|
+
mf = "stytch-ui",
|
|
14732
|
+
gf = "stytch-reset-password",
|
|
14733
|
+
Af = "stytch-passkey-registration",
|
|
14734
|
+
yf = Cs(function (_ref109) {
|
|
14713
14735
|
var e = _ref109.client,
|
|
14714
14736
|
t = _ref109.config,
|
|
14715
14737
|
n = _ref109.styles,
|
|
@@ -14733,7 +14755,7 @@ var hf = function hf(_ref108) {
|
|
|
14733
14755
|
o(e);
|
|
14734
14756
|
});
|
|
14735
14757
|
}, [e]);
|
|
14736
|
-
var a =
|
|
14758
|
+
var a = ff({
|
|
14737
14759
|
styles: n,
|
|
14738
14760
|
displayWatermark: i
|
|
14739
14761
|
});
|
|
@@ -14744,8 +14766,8 @@ var hf = function hf(_ref108) {
|
|
|
14744
14766
|
}, Ii.createElement(ps, {
|
|
14745
14767
|
theme: a
|
|
14746
14768
|
}, Ii.createElement(uf, null)));
|
|
14747
|
-
},
|
|
14748
|
-
|
|
14769
|
+
}, mf),
|
|
14770
|
+
vf = Cs(function (_ref111) {
|
|
14749
14771
|
var e = _ref111.client,
|
|
14750
14772
|
t = _ref111.config,
|
|
14751
14773
|
n = _ref111.styles,
|
|
@@ -14773,7 +14795,7 @@ var hf = function hf(_ref108) {
|
|
|
14773
14795
|
a(e);
|
|
14774
14796
|
});
|
|
14775
14797
|
}, [e]);
|
|
14776
|
-
var c =
|
|
14798
|
+
var c = ff({
|
|
14777
14799
|
styles: n,
|
|
14778
14800
|
displayWatermark: o
|
|
14779
14801
|
});
|
|
@@ -14785,8 +14807,8 @@ var hf = function hf(_ref108) {
|
|
|
14785
14807
|
}, Ii.createElement(ps, {
|
|
14786
14808
|
theme: c
|
|
14787
14809
|
}, Ii.createElement(uf, null)));
|
|
14788
|
-
},
|
|
14789
|
-
|
|
14810
|
+
}, gf),
|
|
14811
|
+
Cf = Cs(function (_ref113) {
|
|
14790
14812
|
var e = _ref113.client,
|
|
14791
14813
|
t = _ref113.config,
|
|
14792
14814
|
n = _ref113.styles,
|
|
@@ -14809,7 +14831,7 @@ var hf = function hf(_ref108) {
|
|
|
14809
14831
|
o(e);
|
|
14810
14832
|
});
|
|
14811
14833
|
}, [e]);
|
|
14812
|
-
var s =
|
|
14834
|
+
var s = ff({
|
|
14813
14835
|
styles: n,
|
|
14814
14836
|
displayWatermark: i
|
|
14815
14837
|
});
|
|
@@ -14821,7 +14843,7 @@ var hf = function hf(_ref108) {
|
|
|
14821
14843
|
}, Ii.createElement(ps, {
|
|
14822
14844
|
theme: s
|
|
14823
14845
|
}, Ii.createElement(uf, null)));
|
|
14824
|
-
},
|
|
14846
|
+
}, Af);
|
|
14825
14847
|
var _f = /*#__PURE__*/function (_hn) {
|
|
14826
14848
|
_inherits(_f, _hn);
|
|
14827
14849
|
var _super6 = _createSuper(_f);
|
|
@@ -14846,7 +14868,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14846
14868
|
if (!o) {
|
|
14847
14869
|
throw new Error("The selector you specified (".concat(e, ") applies to no DOM elements that are currently on the page. Make sure the element exists on the page before calling mountLogin()."));
|
|
14848
14870
|
}
|
|
14849
|
-
if ((null === (i = o.firstChild) || void 0 === i ? void 0 : i.nodeName.toLowerCase()) ===
|
|
14871
|
+
if ((null === (i = o.firstChild) || void 0 === i ? void 0 : i.nodeName.toLowerCase()) === mf.toLowerCase()) {
|
|
14850
14872
|
return void o.firstChild.render({
|
|
14851
14873
|
client: this,
|
|
14852
14874
|
config: t,
|
|
@@ -14854,7 +14876,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14854
14876
|
styles: n
|
|
14855
14877
|
});
|
|
14856
14878
|
}
|
|
14857
|
-
var a =
|
|
14879
|
+
var a = yf({
|
|
14858
14880
|
client: this,
|
|
14859
14881
|
config: t,
|
|
14860
14882
|
callbacks: r,
|
|
@@ -14875,7 +14897,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14875
14897
|
if (!a) {
|
|
14876
14898
|
throw new Error("The selector you specified (".concat(e, ") applies to no DOM elements that are currently on the page. Make sure the element exists on the page before calling mountLogin()."));
|
|
14877
14899
|
}
|
|
14878
|
-
if ((null === (o = a.firstChild) || void 0 === o ? void 0 : o.nodeName.toLowerCase()) ===
|
|
14900
|
+
if ((null === (o = a.firstChild) || void 0 === o ? void 0 : o.nodeName.toLowerCase()) === gf.toLowerCase()) {
|
|
14879
14901
|
return void a.firstChild.render({
|
|
14880
14902
|
client: this,
|
|
14881
14903
|
config: t,
|
|
@@ -14884,7 +14906,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14884
14906
|
passwordResetToken: i
|
|
14885
14907
|
});
|
|
14886
14908
|
}
|
|
14887
|
-
var s =
|
|
14909
|
+
var s = vf({
|
|
14888
14910
|
client: this,
|
|
14889
14911
|
config: t,
|
|
14890
14912
|
callbacks: r,
|
|
@@ -14905,7 +14927,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14905
14927
|
if (!o) {
|
|
14906
14928
|
throw new Error("The selector you specified (".concat(e, ") applies to no DOM elements that are currently on the page. Make sure the element exists on the page before calling mountPasskeyRegistration()."));
|
|
14907
14929
|
}
|
|
14908
|
-
if ((null === (i = o.firstChild) || void 0 === i ? void 0 : i.nodeName.toLowerCase()) ===
|
|
14930
|
+
if ((null === (i = o.firstChild) || void 0 === i ? void 0 : i.nodeName.toLowerCase()) === Af.toLowerCase()) {
|
|
14909
14931
|
return void o.firstChild.render({
|
|
14910
14932
|
client: this,
|
|
14911
14933
|
config: t,
|
|
@@ -14913,7 +14935,7 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14913
14935
|
styles: n
|
|
14914
14936
|
});
|
|
14915
14937
|
}
|
|
14916
|
-
var a =
|
|
14938
|
+
var a = Cf({
|
|
14917
14939
|
client: this,
|
|
14918
14940
|
config: t,
|
|
14919
14941
|
callbacks: r,
|
|
@@ -14924,4 +14946,4 @@ var _f = /*#__PURE__*/function (_hn) {
|
|
|
14924
14946
|
}]);
|
|
14925
14947
|
return _f;
|
|
14926
14948
|
}(hn);
|
|
14927
|
-
export { v as AuthFlowType,
|
|
14949
|
+
export { v as AuthFlowType, C as B2BOAuthProviders, y as B2BProducts, J as BiometricsFailedError, B as BiometricsUnavailableError, V as ChallengeSigningFailedError, U as DeviceCredentialsNotAllowedError, K as FailedCodeChallengeError, Y as FailedToDecryptDataError, I as InternalError, Z as InvalidAuthorizationCredentialError, te as InvalidCredentialTypeError, $ as InvalidRedirectSchemeError, X as InvalidStartUrlError, re as JSONDataNotConvertibleToStringError, j as KeyInvalidatedError, D as KeystoreUnavailableError, ne as MissingAttestationObjectError, H as MissingAuthorizationCredentialIDTokenError, z as MissingGoogleClientIDError, Q as MissingPKCEError, W as MissingPublicKeyError, ee as MissingUrlError, N as NoBiometricsEnrolledError, P as NoBiometricsRegistrationError, O as NoCurrentSessionError, h as OAuthProviders, g as OTPMethods, m as OneTapPositions, oe as PasskeysInvalidEncoding, q as PasskeysUnsupportedError, p as Products, ie as RandomNumberGenerationFailed, _ as SDKAPIUnreachableError, G as SDKNotConfiguredError, T as StytchAPIError, M as StytchAPISchemaError, x as StytchAPIUnreachableError, S as StytchError, A as StytchEventType, E as StytchSDKAPIError, L as StytchSDKError, b as StytchSDKSchemaError, w as StytchSDKUsageError, _f as StytchUIClient, k as UNRECOVERABLE_ERROR_TYPES, R as UserCancellationError, F as UserLockedOutError, f as Wallets, ae as errorToStytchError };
|