@wf-financing/ui 4.8.0 → 4.8.1
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 +7 -0
- package/dist/index.es.js +207 -214
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -814,7 +814,7 @@ function UR() {
|
|
|
814
814
|
function Ji(a, s) {
|
|
815
815
|
s = s.checked, s != null && P(a, "checked", s, !1);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function er(a, s) {
|
|
818
818
|
Ji(a, s);
|
|
819
819
|
var c = ve(s.value), h = s.type;
|
|
820
820
|
if (c != null) h === "number" ? (c === 0 && a.value === "" || a.value != c) && (a.value = "" + c) : a.value !== "" + c && (a.value = "" + c);
|
|
@@ -986,7 +986,7 @@ function UR() {
|
|
|
986
986
|
if (s.style != null && typeof s.style != "object") throw Error(n(62));
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function tr(a, s) {
|
|
990
990
|
if (a.indexOf("-") === -1) return typeof s.is == "string";
|
|
991
991
|
switch (a) {
|
|
992
992
|
case "annotation-xml":
|
|
@@ -1003,7 +1003,7 @@ function UR() {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
1005
|
var en = null;
|
|
1006
|
-
function
|
|
1006
|
+
function nr(a) {
|
|
1007
1007
|
return a = a.target || a.srcElement || window, a.correspondingUseElement && (a = a.correspondingUseElement), a.nodeType === 3 ? a.parentNode : a;
|
|
1008
1008
|
}
|
|
1009
1009
|
var Hl = null, ea = null, Pi = null;
|
|
@@ -1082,17 +1082,17 @@ function UR() {
|
|
|
1082
1082
|
this.onError(J);
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
|
-
var ra = !1,
|
|
1086
|
-
ra = !0,
|
|
1085
|
+
var ra = !1, rr = null, Gl = !1, Ch = null, UI = { onError: function(a) {
|
|
1086
|
+
ra = !0, rr = a;
|
|
1087
1087
|
} };
|
|
1088
1088
|
function GI(a, s, c, h, g, x, k, N, L) {
|
|
1089
|
-
ra = !1,
|
|
1089
|
+
ra = !1, rr = null, Gn.apply(UI, arguments);
|
|
1090
1090
|
}
|
|
1091
1091
|
function qI(a, s, c, h, g, x, k, N, L) {
|
|
1092
1092
|
if (GI.apply(this, arguments), ra) {
|
|
1093
1093
|
if (ra) {
|
|
1094
|
-
var W =
|
|
1095
|
-
ra = !1,
|
|
1094
|
+
var W = rr;
|
|
1095
|
+
ra = !1, rr = null;
|
|
1096
1096
|
} else throw Error(n(198));
|
|
1097
1097
|
Gl || (Gl = !0, Ch = W);
|
|
1098
1098
|
}
|
|
@@ -1478,7 +1478,7 @@ function UR() {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
var qc = null;
|
|
1480
1480
|
function Nh(a, s, c, h) {
|
|
1481
|
-
if (qc = null, a =
|
|
1481
|
+
if (qc = null, a = nr(h), a = fo(a), a !== null) if (s = co(a), s === null) a = null;
|
|
1482
1482
|
else if (c = s.tag, c === 13) {
|
|
1483
1483
|
if (a = G0(s), a !== null) return a;
|
|
1484
1484
|
a = null;
|
|
@@ -1792,7 +1792,7 @@ function UR() {
|
|
|
1792
1792
|
function Tx(a) {
|
|
1793
1793
|
if (a.propertyName === "value" && Xc(iu)) {
|
|
1794
1794
|
var s = [];
|
|
1795
|
-
wx(s, iu, a,
|
|
1795
|
+
wx(s, iu, a, nr(a)), It(F2, s);
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
function z2(a, s, c) {
|
|
@@ -1997,7 +1997,7 @@ function UR() {
|
|
|
1997
1997
|
h = h.return;
|
|
1998
1998
|
}
|
|
1999
1999
|
It(function() {
|
|
2000
|
-
var W = x, J =
|
|
2000
|
+
var W = x, J = nr(c), te = [];
|
|
2001
2001
|
e: {
|
|
2002
2002
|
var X = Mx.get(a);
|
|
2003
2003
|
if (X !== void 0) {
|
|
@@ -2348,12 +2348,12 @@ function UR() {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
return null;
|
|
2350
2350
|
}
|
|
2351
|
-
var Ps = [], _s = 0, ud = null, cd = 0,
|
|
2351
|
+
var Ps = [], _s = 0, ud = null, cd = 0, ir = [], ar = 0, po = null, Ii = 1, Ri = "";
|
|
2352
2352
|
function mo(a, s) {
|
|
2353
2353
|
Ps[_s++] = cd, Ps[_s++] = ud, ud = a, cd = s;
|
|
2354
2354
|
}
|
|
2355
2355
|
function Qx(a, s, c) {
|
|
2356
|
-
ar
|
|
2356
|
+
ir[ar++] = Ii, ir[ar++] = Ri, ir[ar++] = po, po = a;
|
|
2357
2357
|
var h = Ii;
|
|
2358
2358
|
a = Ri;
|
|
2359
2359
|
var g = 32 - _r(h) - 1;
|
|
@@ -2369,11 +2369,11 @@ function UR() {
|
|
|
2369
2369
|
}
|
|
2370
2370
|
function sp(a) {
|
|
2371
2371
|
for (; a === ud; ) ud = Ps[--_s], Ps[_s] = null, cd = Ps[--_s], Ps[_s] = null;
|
|
2372
|
-
for (; a === po; ) po =
|
|
2372
|
+
for (; a === po; ) po = ir[--ar], ir[ar] = null, Ri = ir[--ar], ir[ar] = null, Ii = ir[--ar], ir[ar] = null;
|
|
2373
2373
|
}
|
|
2374
2374
|
var Kn = null, Qn = null, yt = !1, Ir = null;
|
|
2375
2375
|
function Yx(a, s) {
|
|
2376
|
-
var c =
|
|
2376
|
+
var c = ur(5, null, null, 0);
|
|
2377
2377
|
c.elementType = "DELETED", c.stateNode = s, c.return = a, s = a.deletions, s === null ? (a.deletions = [c], a.flags |= 16) : s.push(c);
|
|
2378
2378
|
}
|
|
2379
2379
|
function Zx(a, s) {
|
|
@@ -2384,7 +2384,7 @@ function UR() {
|
|
|
2384
2384
|
case 6:
|
|
2385
2385
|
return s = a.pendingProps === "" || s.nodeType !== 3 ? null : s, s !== null ? (a.stateNode = s, Kn = a, Qn = null, !0) : !1;
|
|
2386
2386
|
case 13:
|
|
2387
|
-
return s = s.nodeType !== 8 ? null : s, s !== null ? (c = po !== null ? { id: Ii, overflow: Ri } : null, a.memoizedState = { dehydrated: s, treeContext: c, retryLane: 1073741824 }, c =
|
|
2387
|
+
return s = s.nodeType !== 8 ? null : s, s !== null ? (c = po !== null ? { id: Ii, overflow: Ri } : null, a.memoizedState = { dehydrated: s, treeContext: c, retryLane: 1073741824 }, c = ur(18, null, null, 0), c.stateNode = s, c.return = a, a.child = c, Kn = a, Qn = null, !0) : !1;
|
|
2388
2388
|
default:
|
|
2389
2389
|
return !1;
|
|
2390
2390
|
}
|
|
@@ -2687,7 +2687,7 @@ function UR() {
|
|
|
2687
2687
|
function $s(a, s) {
|
|
2688
2688
|
pd = a, dp = Rs = null, a = a.dependencies, a !== null && a.firstContext !== null && ((a.lanes & s) !== 0 && (Ln = !0), a.firstContext = null);
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2690
|
+
function or(a) {
|
|
2691
2691
|
var s = a._currentValue;
|
|
2692
2692
|
if (dp !== a) if (a = { context: a, memoizedValue: s, next: null }, Rs === null) {
|
|
2693
2693
|
if (pd === null) throw Error(n(308));
|
|
@@ -2901,7 +2901,7 @@ function UR() {
|
|
|
2901
2901
|
var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
2902
2902
|
return Yt === null ? xt.memoizedState = Yt = a : Yt = Yt.next = a, Yt;
|
|
2903
2903
|
}
|
|
2904
|
-
function
|
|
2904
|
+
function sr() {
|
|
2905
2905
|
if (zt === null) {
|
|
2906
2906
|
var a = xt.alternate;
|
|
2907
2907
|
a = a !== null ? a.memoizedState : null;
|
|
@@ -2918,7 +2918,7 @@ function UR() {
|
|
|
2918
2918
|
return typeof s == "function" ? s(a) : s;
|
|
2919
2919
|
}
|
|
2920
2920
|
function Tp(a) {
|
|
2921
|
-
var s =
|
|
2921
|
+
var s = sr(), c = s.queue;
|
|
2922
2922
|
if (c === null) throw Error(n(311));
|
|
2923
2923
|
c.lastRenderedReducer = a;
|
|
2924
2924
|
var h = zt, g = h.baseQueue, x = c.pending;
|
|
@@ -2958,7 +2958,7 @@ function UR() {
|
|
|
2958
2958
|
return [s.memoizedState, c.dispatch];
|
|
2959
2959
|
}
|
|
2960
2960
|
function Cp(a) {
|
|
2961
|
-
var s =
|
|
2961
|
+
var s = sr(), c = s.queue;
|
|
2962
2962
|
if (c === null) throw Error(n(311));
|
|
2963
2963
|
c.lastRenderedReducer = a;
|
|
2964
2964
|
var h = c.dispatch, g = c.pending, x = s.memoizedState;
|
|
@@ -2975,7 +2975,7 @@ function UR() {
|
|
|
2975
2975
|
function lb() {
|
|
2976
2976
|
}
|
|
2977
2977
|
function ub(a, s) {
|
|
2978
|
-
var c = xt, h =
|
|
2978
|
+
var c = xt, h = sr(), g = s(), x = !Ar(h.memoizedState, g);
|
|
2979
2979
|
if (x && (h.memoizedState = g, Ln = !0), h = h.queue, Pp(fb.bind(null, c, h, a), [a]), h.getSnapshot !== s || x || Yt !== null && Yt.memoizedState.tag & 1) {
|
|
2980
2980
|
if (c.flags |= 2048, xu(9, db.bind(null, c, h, g, s), void 0, null), Zt === null) throw Error(n(349));
|
|
2981
2981
|
(vo & 30) !== 0 || cb(c, s, g);
|
|
@@ -3015,14 +3015,14 @@ function UR() {
|
|
|
3015
3015
|
return a = { tag: a, create: s, destroy: c, deps: h, next: null }, s = xt.updateQueue, s === null ? (s = { lastEffect: null, stores: null }, xt.updateQueue = s, s.lastEffect = a.next = a) : (c = s.lastEffect, c === null ? s.lastEffect = a.next = a : (h = c.next, c.next = a, a.next = h, s.lastEffect = a)), a;
|
|
3016
3016
|
}
|
|
3017
3017
|
function gb() {
|
|
3018
|
-
return
|
|
3018
|
+
return sr().memoizedState;
|
|
3019
3019
|
}
|
|
3020
3020
|
function bd(a, s, c, h) {
|
|
3021
3021
|
var g = ai();
|
|
3022
3022
|
xt.flags |= a, g.memoizedState = xu(1 | s, c, void 0, h === void 0 ? null : h);
|
|
3023
3023
|
}
|
|
3024
3024
|
function wd(a, s, c, h) {
|
|
3025
|
-
var g =
|
|
3025
|
+
var g = sr();
|
|
3026
3026
|
h = h === void 0 ? null : h;
|
|
3027
3027
|
var x = void 0;
|
|
3028
3028
|
if (zt !== null) {
|
|
@@ -3060,13 +3060,13 @@ function UR() {
|
|
|
3060
3060
|
function _p() {
|
|
3061
3061
|
}
|
|
3062
3062
|
function Sb(a, s) {
|
|
3063
|
-
var c =
|
|
3063
|
+
var c = sr();
|
|
3064
3064
|
s = s === void 0 ? null : s;
|
|
3065
3065
|
var h = c.memoizedState;
|
|
3066
3066
|
return h !== null && s !== null && Sp(s, h[1]) ? h[0] : (c.memoizedState = [a, s], a);
|
|
3067
3067
|
}
|
|
3068
3068
|
function kb(a, s) {
|
|
3069
|
-
var c =
|
|
3069
|
+
var c = sr();
|
|
3070
3070
|
s = s === void 0 ? null : s;
|
|
3071
3071
|
var h = c.memoizedState;
|
|
3072
3072
|
return h !== null && s !== null && Sp(s, h[1]) ? h[0] : (a = a(), c.memoizedState = [a, s], a);
|
|
@@ -3086,7 +3086,7 @@ function UR() {
|
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
3088
3088
|
function Tb() {
|
|
3089
|
-
return
|
|
3089
|
+
return sr().memoizedState;
|
|
3090
3090
|
}
|
|
3091
3091
|
function sR(a, s, c) {
|
|
3092
3092
|
var h = xa(a);
|
|
@@ -3129,9 +3129,9 @@ function UR() {
|
|
|
3129
3129
|
h &= a.pendingLanes, c |= h, s.lanes = c, Ih(a, c);
|
|
3130
3130
|
}
|
|
3131
3131
|
}
|
|
3132
|
-
var Sd = { readContext:
|
|
3132
|
+
var Sd = { readContext: or, useCallback: fn, useContext: fn, useEffect: fn, useImperativeHandle: fn, useInsertionEffect: fn, useLayoutEffect: fn, useMemo: fn, useReducer: fn, useRef: fn, useState: fn, useDebugValue: fn, useDeferredValue: fn, useTransition: fn, useMutableSource: fn, useSyncExternalStore: fn, useId: fn, unstable_isNewReconciler: !1 }, uR = { readContext: or, useCallback: function(a, s) {
|
|
3133
3133
|
return ai().memoizedState = [a, s === void 0 ? null : s], a;
|
|
3134
|
-
}, useContext:
|
|
3134
|
+
}, useContext: or, useEffect: yb, useImperativeHandle: function(a, s, c) {
|
|
3135
3135
|
return c = c != null ? c.concat([a]) : null, bd(
|
|
3136
3136
|
4194308,
|
|
3137
3137
|
4,
|
|
@@ -3182,9 +3182,9 @@ function UR() {
|
|
|
3182
3182
|
} else c = aR++, s = ":" + s + "r" + c.toString(32) + ":";
|
|
3183
3183
|
return a.memoizedState = s;
|
|
3184
3184
|
}, unstable_isNewReconciler: !1 }, cR = {
|
|
3185
|
-
readContext:
|
|
3185
|
+
readContext: or,
|
|
3186
3186
|
useCallback: Sb,
|
|
3187
|
-
useContext:
|
|
3187
|
+
useContext: or,
|
|
3188
3188
|
useEffect: Pp,
|
|
3189
3189
|
useImperativeHandle: wb,
|
|
3190
3190
|
useInsertionEffect: vb,
|
|
@@ -3197,24 +3197,24 @@ function UR() {
|
|
|
3197
3197
|
},
|
|
3198
3198
|
useDebugValue: _p,
|
|
3199
3199
|
useDeferredValue: function(a) {
|
|
3200
|
-
var s =
|
|
3200
|
+
var s = sr();
|
|
3201
3201
|
return Eb(s, zt.memoizedState, a);
|
|
3202
3202
|
},
|
|
3203
3203
|
useTransition: function() {
|
|
3204
|
-
var a = Tp(vu)[0], s =
|
|
3204
|
+
var a = Tp(vu)[0], s = sr().memoizedState;
|
|
3205
3205
|
return [a, s];
|
|
3206
3206
|
},
|
|
3207
3207
|
useMutableSource: lb,
|
|
3208
3208
|
useSyncExternalStore: ub,
|
|
3209
3209
|
useId: Tb,
|
|
3210
3210
|
unstable_isNewReconciler: !1
|
|
3211
|
-
}, dR = { readContext:
|
|
3211
|
+
}, dR = { readContext: or, useCallback: Sb, useContext: or, useEffect: Pp, useImperativeHandle: wb, useInsertionEffect: vb, useLayoutEffect: xb, useMemo: kb, useReducer: Cp, useRef: gb, useState: function() {
|
|
3212
3212
|
return Cp(vu);
|
|
3213
3213
|
}, useDebugValue: _p, useDeferredValue: function(a) {
|
|
3214
|
-
var s =
|
|
3214
|
+
var s = sr();
|
|
3215
3215
|
return zt === null ? s.memoizedState = a : Eb(s, zt.memoizedState, a);
|
|
3216
3216
|
}, useTransition: function() {
|
|
3217
|
-
var a = Cp(vu)[0], s =
|
|
3217
|
+
var a = Cp(vu)[0], s = sr().memoizedState;
|
|
3218
3218
|
return [a, s];
|
|
3219
3219
|
}, useMutableSource: lb, useSyncExternalStore: ub, useId: Tb, unstable_isNewReconciler: !1 };
|
|
3220
3220
|
function Rr(a, s) {
|
|
@@ -3248,7 +3248,7 @@ function UR() {
|
|
|
3248
3248
|
}
|
|
3249
3249
|
function Ib(a, s, c) {
|
|
3250
3250
|
var h = !1, g = fa, x = s.contextType;
|
|
3251
|
-
return typeof x == "object" && x !== null ? x =
|
|
3251
|
+
return typeof x == "object" && x !== null ? x = or(x) : (g = Nn(s) ? ho : dn.current, h = s.contextTypes, x = (h = h != null) ? Cs(a, g) : fa), s = new s(c, x), a.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = kd, a.stateNode = s, s._reactInternals = a, h && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = g, a.__reactInternalMemoizedMaskedChildContext = x), s;
|
|
3252
3252
|
}
|
|
3253
3253
|
function Rb(a, s, c, h) {
|
|
3254
3254
|
a = s.state, typeof s.componentWillReceiveProps == "function" && s.componentWillReceiveProps(c, h), typeof s.UNSAFE_componentWillReceiveProps == "function" && s.UNSAFE_componentWillReceiveProps(c, h), s.state !== a && kd.enqueueReplaceState(s, s.state, null);
|
|
@@ -3257,7 +3257,7 @@ function UR() {
|
|
|
3257
3257
|
var g = a.stateNode;
|
|
3258
3258
|
g.props = c, g.state = a.memoizedState, g.refs = {}, gp(a);
|
|
3259
3259
|
var x = s.contextType;
|
|
3260
|
-
typeof x == "object" && x !== null ? g.context =
|
|
3260
|
+
typeof x == "object" && x !== null ? g.context = or(x) : (x = Nn(s) ? ho : dn.current, g.context = Cs(a, x)), g.state = a.memoizedState, x = s.getDerivedStateFromProps, typeof x == "function" && (Ap(a, s, x, c), g.state = a.memoizedState), typeof s.getDerivedStateFromProps == "function" || typeof g.getSnapshotBeforeUpdate == "function" || typeof g.UNSAFE_componentWillMount != "function" && typeof g.componentWillMount != "function" || (s = g.state, typeof g.componentWillMount == "function" && g.componentWillMount(), typeof g.UNSAFE_componentWillMount == "function" && g.UNSAFE_componentWillMount(), s !== g.state && kd.enqueueReplaceState(g, g.state, null), gd(a, c, g, h), g.state = a.memoizedState), typeof g.componentDidMount == "function" && (a.flags |= 4194308);
|
|
3261
3261
|
}
|
|
3262
3262
|
function Ns(a, s) {
|
|
3263
3263
|
try {
|
|
@@ -3387,13 +3387,13 @@ Error generating stack: ` + x.message + `
|
|
|
3387
3387
|
var k = s.stateNode, N = s.memoizedProps;
|
|
3388
3388
|
k.props = N;
|
|
3389
3389
|
var L = k.context, W = c.contextType;
|
|
3390
|
-
typeof W == "object" && W !== null ? W =
|
|
3390
|
+
typeof W == "object" && W !== null ? W = or(W) : (W = Nn(c) ? ho : dn.current, W = Cs(s, W));
|
|
3391
3391
|
var J = c.getDerivedStateFromProps, te = typeof J == "function" || typeof k.getSnapshotBeforeUpdate == "function";
|
|
3392
3392
|
te || typeof k.UNSAFE_componentWillReceiveProps != "function" && typeof k.componentWillReceiveProps != "function" || (N !== h || L !== W) && Rb(s, k, h, W), pa = !1;
|
|
3393
3393
|
var X = s.memoizedState;
|
|
3394
3394
|
k.state = X, gd(s, h, k, g), L = s.memoizedState, N !== h || X !== L || On.current || pa ? (typeof J == "function" && (Ap(s, c, J, h), L = s.memoizedState), (N = pa || Ab(s, c, N, h, X, L, W)) ? (te || typeof k.UNSAFE_componentWillMount != "function" && typeof k.componentWillMount != "function" || (typeof k.componentWillMount == "function" && k.componentWillMount(), typeof k.UNSAFE_componentWillMount == "function" && k.UNSAFE_componentWillMount()), typeof k.componentDidMount == "function" && (s.flags |= 4194308)) : (typeof k.componentDidMount == "function" && (s.flags |= 4194308), s.memoizedProps = h, s.memoizedState = L), k.props = h, k.state = L, k.context = W, h = N) : (typeof k.componentDidMount == "function" && (s.flags |= 4194308), h = !1);
|
|
3395
3395
|
} else {
|
|
3396
|
-
k = s.stateNode, ib(a, s), N = s.memoizedProps, W = s.type === s.elementType ? N : Rr(s.type, N), k.props = W, te = s.pendingProps, X = k.context, L = c.contextType, typeof L == "object" && L !== null ? L =
|
|
3396
|
+
k = s.stateNode, ib(a, s), N = s.memoizedProps, W = s.type === s.elementType ? N : Rr(s.type, N), k.props = W, te = s.pendingProps, X = k.context, L = c.contextType, typeof L == "object" && L !== null ? L = or(L) : (L = Nn(c) ? ho : dn.current, L = Cs(s, L));
|
|
3397
3397
|
var ge = c.getDerivedStateFromProps;
|
|
3398
3398
|
(J = typeof ge == "function" || typeof k.getSnapshotBeforeUpdate == "function") || typeof k.UNSAFE_componentWillReceiveProps != "function" && typeof k.componentWillReceiveProps != "function" || (N !== te || X !== L) && Rb(s, k, h, L), pa = !1, X = s.memoizedState, k.state = X, gd(s, h, k, g);
|
|
3399
3399
|
var we = s.memoizedState;
|
|
@@ -3488,7 +3488,7 @@ Error generating stack: ` + x.message + `
|
|
|
3488
3488
|
}
|
|
3489
3489
|
return Jp(), h = Rp(Error(n(421))), Ed(a, s, k, h);
|
|
3490
3490
|
}
|
|
3491
|
-
return g.data === "$?" ? (s.flags |= 128, s.child = a.child, s = PR.bind(null, a), g._reactRetry = s, null) : (a = x.treeContext, Qn = ca(g.nextSibling), Kn = s, yt = !0, Ir = null, a !== null && (ar
|
|
3491
|
+
return g.data === "$?" ? (s.flags |= 128, s.child = a.child, s = PR.bind(null, a), g._reactRetry = s, null) : (a = x.treeContext, Qn = ca(g.nextSibling), Kn = s, yt = !0, Ir = null, a !== null && (ir[ar++] = Ii, ir[ar++] = Ri, ir[ar++] = po, Ii = a.id, Ri = a.overflow, po = s), s = Dp(s, h.children), s.flags |= 4096, s);
|
|
3492
3492
|
}
|
|
3493
3493
|
function Gb(a, s, c) {
|
|
3494
3494
|
a.lanes |= s;
|
|
@@ -3761,7 +3761,7 @@ Error generating stack: ` + x.message + `
|
|
|
3761
3761
|
} else {
|
|
3762
3762
|
k = g.nodeType === 9 ? g : g.ownerDocument, a === "http://www.w3.org/1999/xhtml" && (a = Q(c)), a === "http://www.w3.org/1999/xhtml" ? c === "script" ? (a = k.createElement("div"), a.innerHTML = "<script><\/script>", a = a.removeChild(a.firstChild)) : typeof h.is == "string" ? a = k.createElement(c, { is: h.is }) : (a = k.createElement(c), c === "select" && (k = a, h.multiple ? k.multiple = !0 : h.size && (k.size = h.size))) : a = k.createElementNS(a, c), a[ri] = s, a[cu] = h, Kb(a, s, !1, !1), s.stateNode = a;
|
|
3763
3763
|
e: {
|
|
3764
|
-
switch (k =
|
|
3764
|
+
switch (k = tr(c, h), c) {
|
|
3765
3765
|
case "dialog":
|
|
3766
3766
|
ht("cancel", a), ht("close", a), g = h;
|
|
3767
3767
|
break;
|
|
@@ -4231,15 +4231,15 @@ Error generating stack: ` + x.message + `
|
|
|
4231
4231
|
if (h & 4 && (g = a.stateNode, g != null)) {
|
|
4232
4232
|
var x = a.memoizedProps, k = c !== null ? c.memoizedProps : x, N = a.type, L = a.updateQueue;
|
|
4233
4233
|
if (a.updateQueue = null, L !== null) try {
|
|
4234
|
-
N === "input" && x.type === "radio" && x.name != null && Ji(g, x),
|
|
4235
|
-
var W =
|
|
4234
|
+
N === "input" && x.type === "radio" && x.name != null && Ji(g, x), tr(N, k);
|
|
4235
|
+
var W = tr(N, x);
|
|
4236
4236
|
for (k = 0; k < L.length; k += 2) {
|
|
4237
4237
|
var J = L[k], te = L[k + 1];
|
|
4238
4238
|
J === "style" ? ei(g, te) : J === "dangerouslySetInnerHTML" ? ze(g, te) : J === "children" ? Ve(g, te) : P(g, J, te, W);
|
|
4239
4239
|
}
|
|
4240
4240
|
switch (N) {
|
|
4241
4241
|
case "input":
|
|
4242
|
-
|
|
4242
|
+
er(g, x);
|
|
4243
4243
|
break;
|
|
4244
4244
|
case "textarea":
|
|
4245
4245
|
ms(g, x);
|
|
@@ -4584,7 +4584,7 @@ Error generating stack: ` + x.message + `
|
|
|
4584
4584
|
be = s.return;
|
|
4585
4585
|
}
|
|
4586
4586
|
}
|
|
4587
|
-
var wR = Math.ceil, _d = R.ReactCurrentDispatcher, Hp = R.ReactCurrentOwner,
|
|
4587
|
+
var wR = Math.ceil, _d = R.ReactCurrentDispatcher, Hp = R.ReactCurrentOwner, lr = R.ReactCurrentBatchConfig, Xe = 0, Zt = null, Rt = null, rn = 0, Yn = 0, Ms = da(0), jt = 0, Su = null, xo = 0, Ad = 0, Up = 0, ku = null, Mn = null, Gp = 0, Ds = 1 / 0, Li = null, Id = !1, qp = null, ya = null, Rd = !1, va = null, $d = 0, Eu = 0, Kp = null, Od = -1, Nd = 0;
|
|
4588
4588
|
function wn() {
|
|
4589
4589
|
return (Xe & 6) !== 0 ? Ct() : Od !== -1 ? Od : Od = Ct();
|
|
4590
4590
|
}
|
|
@@ -4761,11 +4761,11 @@ Error generating stack: ` + x.message + `
|
|
|
4761
4761
|
va !== null && va.tag === 0 && (Xe & 6) === 0 && Fs();
|
|
4762
4762
|
var s = Xe;
|
|
4763
4763
|
Xe |= 1;
|
|
4764
|
-
var c =
|
|
4764
|
+
var c = lr.transition, h = at;
|
|
4765
4765
|
try {
|
|
4766
|
-
if (
|
|
4766
|
+
if (lr.transition = null, at = 1, a) return a();
|
|
4767
4767
|
} finally {
|
|
4768
|
-
at = h,
|
|
4768
|
+
at = h, lr.transition = c, Xe = s, (Xe & 6) === 0 && ha();
|
|
4769
4769
|
}
|
|
4770
4770
|
}
|
|
4771
4771
|
function Xp() {
|
|
@@ -4955,11 +4955,11 @@ Error generating stack: ` + x.message + `
|
|
|
4955
4955
|
jt === 0 && (jt = 5);
|
|
4956
4956
|
}
|
|
4957
4957
|
function So(a, s, c) {
|
|
4958
|
-
var h = at, g =
|
|
4958
|
+
var h = at, g = lr.transition;
|
|
4959
4959
|
try {
|
|
4960
|
-
|
|
4960
|
+
lr.transition = null, at = 1, TR(a, s, c, h);
|
|
4961
4961
|
} finally {
|
|
4962
|
-
|
|
4962
|
+
lr.transition = g, at = h;
|
|
4963
4963
|
}
|
|
4964
4964
|
return null;
|
|
4965
4965
|
}
|
|
@@ -4977,11 +4977,11 @@ Error generating stack: ` + x.message + `
|
|
|
4977
4977
|
if (a2(a, x), a === Zt && (Rt = Zt = null, rn = 0), (c.subtreeFlags & 2064) === 0 && (c.flags & 2064) === 0 || Rd || (Rd = !0, y1(Bc, function() {
|
|
4978
4978
|
return Fs(), null;
|
|
4979
4979
|
})), x = (c.flags & 15990) !== 0, (c.subtreeFlags & 15990) !== 0 || x) {
|
|
4980
|
-
x =
|
|
4980
|
+
x = lr.transition, lr.transition = null;
|
|
4981
4981
|
var k = at;
|
|
4982
4982
|
at = 1;
|
|
4983
4983
|
var N = Xe;
|
|
4984
|
-
Xe |= 4, Hp.current = null, xR(a, c), r1(c, a), U2(Jh), Gc = !!Xh, Jh = Xh = null, a.current = c, bR(c), YI(), Xe = N, at = k,
|
|
4984
|
+
Xe |= 4, Hp.current = null, xR(a, c), r1(c, a), U2(Jh), Gc = !!Xh, Jh = Xh = null, a.current = c, bR(c), YI(), Xe = N, at = k, lr.transition = x;
|
|
4985
4985
|
} else a.current = c;
|
|
4986
4986
|
if (Rd && (Rd = !1, va = a, $d = g), x = a.pendingLanes, x === 0 && (ya = null), JI(c.stateNode), Dn(a, Ct()), s !== null) for (h = a.onRecoverableError, c = 0; c < s.length; c++) g = s[c], h(g.value, { componentStack: g.stack, digest: g.digest });
|
|
4987
4987
|
if (Id) throw Id = !1, a = qp, qp = null, a;
|
|
@@ -4989,9 +4989,9 @@ Error generating stack: ` + x.message + `
|
|
|
4989
4989
|
}
|
|
4990
4990
|
function Fs() {
|
|
4991
4991
|
if (va !== null) {
|
|
4992
|
-
var a = tx($d), s =
|
|
4992
|
+
var a = tx($d), s = lr.transition, c = at;
|
|
4993
4993
|
try {
|
|
4994
|
-
if (
|
|
4994
|
+
if (lr.transition = null, at = 16 > a ? 16 : a, va === null) var h = !1;
|
|
4995
4995
|
else {
|
|
4996
4996
|
if (a = va, va = null, $d = 0, (Xe & 6) !== 0) throw Error(n(331));
|
|
4997
4997
|
var g = Xe;
|
|
@@ -5093,7 +5093,7 @@ Error generating stack: ` + x.message + `
|
|
|
5093
5093
|
}
|
|
5094
5094
|
return h;
|
|
5095
5095
|
} finally {
|
|
5096
|
-
at = c,
|
|
5096
|
+
at = c, lr.transition = s;
|
|
5097
5097
|
}
|
|
5098
5098
|
}
|
|
5099
5099
|
return !1;
|
|
@@ -5281,7 +5281,7 @@ Error generating stack: ` + x.message + `
|
|
|
5281
5281
|
}
|
|
5282
5282
|
return s;
|
|
5283
5283
|
case 9:
|
|
5284
|
-
return g = s.type, h = s.pendingProps.children, $s(s, c), g =
|
|
5284
|
+
return g = s.type, h = s.pendingProps.children, $s(s, c), g = or(g), h = h(g), s.flags |= 1, bn(a, s, h, c), s.child;
|
|
5285
5285
|
case 14:
|
|
5286
5286
|
return h = s.type, g = Rr(h, s.pendingProps), g = Rr(h.type, g), Fb(a, s, h, g, c);
|
|
5287
5287
|
case 15:
|
|
@@ -5301,7 +5301,7 @@ Error generating stack: ` + x.message + `
|
|
|
5301
5301
|
function AR(a, s, c, h) {
|
|
5302
5302
|
this.tag = a, this.key = c, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = s, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = h, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
|
|
5303
5303
|
}
|
|
5304
|
-
function
|
|
5304
|
+
function ur(a, s, c, h) {
|
|
5305
5305
|
return new AR(a, s, c, h);
|
|
5306
5306
|
}
|
|
5307
5307
|
function em(a) {
|
|
@@ -5317,7 +5317,7 @@ Error generating stack: ` + x.message + `
|
|
|
5317
5317
|
}
|
|
5318
5318
|
function wa(a, s) {
|
|
5319
5319
|
var c = a.alternate;
|
|
5320
|
-
return c === null ? (c =
|
|
5320
|
+
return c === null ? (c = ur(a.tag, s, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = s, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null), c.flags = a.flags & 14680064, c.childLanes = a.childLanes, c.lanes = a.lanes, c.child = a.child, c.memoizedProps = a.memoizedProps, c.memoizedState = a.memoizedState, c.updateQueue = a.updateQueue, s = a.dependencies, c.dependencies = s === null ? null : { lanes: s.lanes, firstContext: s.firstContext }, c.sibling = a.sibling, c.index = a.index, c.ref = a.ref, c;
|
|
5321
5321
|
}
|
|
5322
5322
|
function Md(a, s, c, h, g, x) {
|
|
5323
5323
|
var k = 2;
|
|
@@ -5330,11 +5330,11 @@ Error generating stack: ` + x.message + `
|
|
|
5330
5330
|
k = 8, g |= 8;
|
|
5331
5331
|
break;
|
|
5332
5332
|
case H:
|
|
5333
|
-
return a =
|
|
5333
|
+
return a = ur(12, c, s, g | 2), a.elementType = H, a.lanes = x, a;
|
|
5334
5334
|
case pe:
|
|
5335
|
-
return a =
|
|
5335
|
+
return a = ur(13, c, s, g), a.elementType = pe, a.lanes = x, a;
|
|
5336
5336
|
case fe:
|
|
5337
|
-
return a =
|
|
5337
|
+
return a = ur(19, c, s, g), a.elementType = fe, a.lanes = x, a;
|
|
5338
5338
|
case ue:
|
|
5339
5339
|
return Dd(c, g, x, s);
|
|
5340
5340
|
default:
|
|
@@ -5357,25 +5357,25 @@ Error generating stack: ` + x.message + `
|
|
|
5357
5357
|
}
|
|
5358
5358
|
throw Error(n(130, a == null ? a : typeof a, ""));
|
|
5359
5359
|
}
|
|
5360
|
-
return s =
|
|
5360
|
+
return s = ur(k, c, s, g), s.elementType = a, s.type = h, s.lanes = x, s;
|
|
5361
5361
|
}
|
|
5362
5362
|
function ko(a, s, c, h) {
|
|
5363
|
-
return a =
|
|
5363
|
+
return a = ur(7, a, h, s), a.lanes = c, a;
|
|
5364
5364
|
}
|
|
5365
5365
|
function Dd(a, s, c, h) {
|
|
5366
|
-
return a =
|
|
5366
|
+
return a = ur(22, a, h, s), a.elementType = ue, a.lanes = c, a.stateNode = { isHidden: !1 }, a;
|
|
5367
5367
|
}
|
|
5368
5368
|
function tm(a, s, c) {
|
|
5369
|
-
return a =
|
|
5369
|
+
return a = ur(6, a, null, s), a.lanes = c, a;
|
|
5370
5370
|
}
|
|
5371
5371
|
function nm(a, s, c) {
|
|
5372
|
-
return s =
|
|
5372
|
+
return s = ur(4, a.children !== null ? a.children : [], a.key, s), s.lanes = c, s.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation }, s;
|
|
5373
5373
|
}
|
|
5374
5374
|
function RR(a, s, c, h, g) {
|
|
5375
5375
|
this.tag = s, this.containerInfo = a, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Ah(0), this.expirationTimes = Ah(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Ah(0), this.identifierPrefix = h, this.onRecoverableError = g, this.mutableSourceEagerHydrationData = null;
|
|
5376
5376
|
}
|
|
5377
5377
|
function rm(a, s, c, h, g, x, k, N, L) {
|
|
5378
|
-
return a = new RR(a, s, c, N, L), s === 1 ? (s = 1, x === !0 && (s |= 8)) : s = 0, x =
|
|
5378
|
+
return a = new RR(a, s, c, N, L), s === 1 ? (s = 1, x === !0 && (s |= 8)) : s = 0, x = ur(3, null, null, s), a.current = x, x.stateNode = a, x.memoizedState = { element: h, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null }, gp(x), a;
|
|
5379
5379
|
}
|
|
5380
5380
|
function $R(a, s, c) {
|
|
5381
5381
|
var h = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
@@ -5563,14 +5563,14 @@ Error generating stack: ` + x.message + `
|
|
|
5563
5563
|
}, Hl = function(a, s, c) {
|
|
5564
5564
|
switch (s) {
|
|
5565
5565
|
case "input":
|
|
5566
|
-
if (
|
|
5566
|
+
if (er(a, c), s = c.name, c.type === "radio" && s != null) {
|
|
5567
5567
|
for (c = a; c.parentNode; ) c = c.parentNode;
|
|
5568
5568
|
for (c = c.querySelectorAll("input[name=" + JSON.stringify("" + s) + '][type="radio"]'), s = 0; s < c.length; s++) {
|
|
5569
5569
|
var h = c[s];
|
|
5570
5570
|
if (h !== a && h.form === a.form) {
|
|
5571
5571
|
var g = ad(h);
|
|
5572
5572
|
if (!g) throw Error(n(90));
|
|
5573
|
-
sn(h),
|
|
5573
|
+
sn(h), er(h, g);
|
|
5574
5574
|
}
|
|
5575
5575
|
}
|
|
5576
5576
|
}
|
|
@@ -6883,7 +6883,7 @@ function kT(e) {
|
|
|
6883
6883
|
let t;
|
|
6884
6884
|
return () => (t === void 0 && (t = e()), t);
|
|
6885
6885
|
}
|
|
6886
|
-
const
|
|
6886
|
+
const gr = /* @__NO_SIDE_EFFECTS__ */ (e) => e, J$ = (e, t) => (n) => t(e(n)), Pc = (...e) => e.reduce(J$), ic = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
|
|
6887
6887
|
const r = t - e;
|
|
6888
6888
|
return r === 0 ? 1 : (n - e) / r;
|
|
6889
6889
|
};
|
|
@@ -6912,7 +6912,7 @@ class hv {
|
|
|
6912
6912
|
this.subscriptions.length = 0;
|
|
6913
6913
|
}
|
|
6914
6914
|
}
|
|
6915
|
-
const qr = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3,
|
|
6915
|
+
const qr = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, pr = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
|
|
6916
6916
|
function ET(e, t) {
|
|
6917
6917
|
return t ? e * (1e3 / t) : 0;
|
|
6918
6918
|
}
|
|
@@ -6926,12 +6926,12 @@ function nO(e, t, n, r, i) {
|
|
|
6926
6926
|
}
|
|
6927
6927
|
function _c(e, t, n, r) {
|
|
6928
6928
|
if (e === t && n === r)
|
|
6929
|
-
return
|
|
6929
|
+
return gr;
|
|
6930
6930
|
const i = (o) => nO(o, 0, 1, e, n);
|
|
6931
6931
|
return (o) => o === 0 || o === 1 ? o : TT(i(o), t, r);
|
|
6932
6932
|
}
|
|
6933
6933
|
const CT = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, PT = (e) => (t) => 1 - e(1 - t), _T = /* @__PURE__ */ _c(0.33, 1.53, 0.69, 0.99), pv = /* @__PURE__ */ PT(_T), AT = /* @__PURE__ */ CT(pv), IT = (e) => (e *= 2) < 1 ? 0.5 * pv(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), mv = (e) => 1 - Math.sin(Math.acos(e)), RT = PT(mv), $T = CT(mv), rO = /* @__PURE__ */ _c(0.42, 0, 1, 1), iO = /* @__PURE__ */ _c(0, 0, 0.58, 1), OT = /* @__PURE__ */ _c(0.42, 0, 0.58, 1), aO = (e) => Array.isArray(e) && typeof e[0] != "number", NT = (e) => Array.isArray(e) && typeof e[0] == "number", oO = {
|
|
6934
|
-
linear:
|
|
6934
|
+
linear: gr,
|
|
6935
6935
|
easeIn: rO,
|
|
6936
6936
|
easeInOut: OT,
|
|
6937
6937
|
easeOut: iO,
|
|
@@ -7027,7 +7027,7 @@ function LT(e, t) {
|
|
|
7027
7027
|
l[Ud[R]].cancel(P);
|
|
7028
7028
|
}, state: i, steps: l };
|
|
7029
7029
|
}
|
|
7030
|
-
const { schedule: ft, cancel: to, state: an, steps: vm } = /* @__PURE__ */ LT(typeof requestAnimationFrame < "u" ? requestAnimationFrame :
|
|
7030
|
+
const { schedule: ft, cancel: to, state: an, steps: vm } = /* @__PURE__ */ LT(typeof requestAnimationFrame < "u" ? requestAnimationFrame : gr, !0);
|
|
7031
7031
|
let mf;
|
|
7032
7032
|
function cO() {
|
|
7033
7033
|
mf = void 0;
|
|
@@ -7261,7 +7261,7 @@ function LO(e, t = 100, n) {
|
|
|
7261
7261
|
return {
|
|
7262
7262
|
type: "keyframes",
|
|
7263
7263
|
ease: (o) => r.next(i * o).value / t,
|
|
7264
|
-
duration: /* @__PURE__ */
|
|
7264
|
+
duration: /* @__PURE__ */ pr(i)
|
|
7265
7265
|
};
|
|
7266
7266
|
}
|
|
7267
7267
|
const MO = 5;
|
|
@@ -7300,7 +7300,7 @@ const Et = {
|
|
|
7300
7300
|
}, Sm = 1e-3;
|
|
7301
7301
|
function DO({ duration: e = Et.duration, bounce: t = Et.bounce, velocity: n = Et.velocity, mass: r = Et.mass }) {
|
|
7302
7302
|
let i, o, l = 1 - t;
|
|
7303
|
-
l = bi(Et.minDamping, Et.maxDamping, l), e = bi(Et.minDuration, Et.maxDuration, /* @__PURE__ */
|
|
7303
|
+
l = bi(Et.minDamping, Et.maxDamping, l), e = bi(Et.minDuration, Et.maxDuration, /* @__PURE__ */ pr(e)), l < 1 ? (i = (f) => {
|
|
7304
7304
|
const p = f * l, m = p * e, y = p - n, v = Rg(f, l), w = Math.exp(-m);
|
|
7305
7305
|
return Sm - y / v * w;
|
|
7306
7306
|
}, o = (f) => {
|
|
@@ -7380,8 +7380,8 @@ function Rf(e = Et.visualDuration, t = Et.bounce) {
|
|
|
7380
7380
|
let { restSpeed: r, restDelta: i } = n;
|
|
7381
7381
|
const o = n.keyframes[0], l = n.keyframes[n.keyframes.length - 1], u = { done: !1, value: o }, { stiffness: d, damping: f, mass: p, duration: m, velocity: y, isResolvedFromDuration: v } = VO({
|
|
7382
7382
|
...n,
|
|
7383
|
-
velocity: -/* @__PURE__ */
|
|
7384
|
-
}), w = y || 0, b = f / (2 * Math.sqrt(d * p)), T = l - o, S = /* @__PURE__ */
|
|
7383
|
+
velocity: -/* @__PURE__ */ pr(n.velocity || 0)
|
|
7384
|
+
}), w = y || 0, b = f / (2 * Math.sqrt(d * p)), T = l - o, S = /* @__PURE__ */ pr(Math.sqrt(d / p)), O = Math.abs(T) < 5;
|
|
7385
7385
|
r || (r = O ? Et.restSpeed.granular : Et.restSpeed.default), i || (i = O ? Et.restDelta.granular : Et.restDelta.default);
|
|
7386
7386
|
let P;
|
|
7387
7387
|
if (b < 1) {
|
|
@@ -7463,7 +7463,7 @@ function WO(e, t, n) {
|
|
|
7463
7463
|
for (let l = 0; l < o; l++) {
|
|
7464
7464
|
let u = i(e[l], e[l + 1]);
|
|
7465
7465
|
if (t) {
|
|
7466
|
-
const d = Array.isArray(t) ? t[l] ||
|
|
7466
|
+
const d = Array.isArray(t) ? t[l] || gr : t;
|
|
7467
7467
|
u = Pc(d, u);
|
|
7468
7468
|
}
|
|
7469
7469
|
r.push(u);
|
|
@@ -7622,14 +7622,14 @@ class kv extends Sv {
|
|
|
7622
7622
|
return this.finished.then(t, n);
|
|
7623
7623
|
}
|
|
7624
7624
|
get duration() {
|
|
7625
|
-
return /* @__PURE__ */
|
|
7625
|
+
return /* @__PURE__ */ pr(this.calculatedDuration);
|
|
7626
7626
|
}
|
|
7627
7627
|
get iterationDuration() {
|
|
7628
7628
|
const { delay: t = 0 } = this.options || {};
|
|
7629
|
-
return this.duration + /* @__PURE__ */
|
|
7629
|
+
return this.duration + /* @__PURE__ */ pr(t);
|
|
7630
7630
|
}
|
|
7631
7631
|
get time() {
|
|
7632
|
-
return /* @__PURE__ */
|
|
7632
|
+
return /* @__PURE__ */ pr(this.currentTime);
|
|
7633
7633
|
}
|
|
7634
7634
|
set time(t) {
|
|
7635
7635
|
var n;
|
|
@@ -7641,7 +7641,7 @@ class kv extends Sv {
|
|
|
7641
7641
|
set speed(t) {
|
|
7642
7642
|
this.updateTime(An.now());
|
|
7643
7643
|
const n = this.playbackSpeed !== t;
|
|
7644
|
-
this.playbackSpeed = t, n && (this.time = /* @__PURE__ */
|
|
7644
|
+
this.playbackSpeed = t, n && (this.time = /* @__PURE__ */ pr(this.currentTime));
|
|
7645
7645
|
}
|
|
7646
7646
|
play() {
|
|
7647
7647
|
var i, o;
|
|
@@ -7964,14 +7964,14 @@ class eC extends Sv {
|
|
|
7964
7964
|
get duration() {
|
|
7965
7965
|
var n, r;
|
|
7966
7966
|
const t = ((r = (n = this.animation.effect) == null ? void 0 : n.getComputedTiming) == null ? void 0 : r.call(n).duration) || 0;
|
|
7967
|
-
return /* @__PURE__ */
|
|
7967
|
+
return /* @__PURE__ */ pr(Number(t));
|
|
7968
7968
|
}
|
|
7969
7969
|
get iterationDuration() {
|
|
7970
7970
|
const { delay: t = 0 } = this.options || {};
|
|
7971
|
-
return this.duration + /* @__PURE__ */
|
|
7971
|
+
return this.duration + /* @__PURE__ */ pr(t);
|
|
7972
7972
|
}
|
|
7973
7973
|
get time() {
|
|
7974
|
-
return /* @__PURE__ */
|
|
7974
|
+
return /* @__PURE__ */ pr(Number(this.animation.currentTime) || 0);
|
|
7975
7975
|
}
|
|
7976
7976
|
set time(t) {
|
|
7977
7977
|
this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ qr(t);
|
|
@@ -8000,7 +8000,7 @@ class eC extends Sv {
|
|
|
8000
8000
|
*/
|
|
8001
8001
|
attachTimeline({ timeline: t, observe: n }) {
|
|
8002
8002
|
var r;
|
|
8003
|
-
return this.allowFlatten && ((r = this.animation.effect) == null || r.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t && cN() ? (this.animation.timeline = t,
|
|
8003
|
+
return this.allowFlatten && ((r = this.animation.effect) == null || r.updateTiming({ easing: "linear" })), this.animation.onfinish = null, t && cN() ? (this.animation.timeline = t, gr) : n(this);
|
|
8004
8004
|
}
|
|
8005
8005
|
}
|
|
8006
8006
|
const tC = {
|
|
@@ -8123,7 +8123,7 @@ class SN extends Sv {
|
|
|
8123
8123
|
}) : new kv(y);
|
|
8124
8124
|
b.finished.then(() => {
|
|
8125
8125
|
this.notifyFinished();
|
|
8126
|
-
}).catch(
|
|
8126
|
+
}).catch(gr), this.pendingTimeline && (this.stopTimeline = b.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = b;
|
|
8127
8127
|
}
|
|
8128
8128
|
get finished() {
|
|
8129
8129
|
return this._animation ? this.animation.finished : this._finished;
|
|
@@ -9962,7 +9962,7 @@ function oM(e, t, n, r, i, o) {
|
|
|
9962
9962
|
function zw(e, t) {
|
|
9963
9963
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
9964
9964
|
}
|
|
9965
|
-
const sM = /* @__PURE__ */ zC(0, 0.5, RT), lM = /* @__PURE__ */ zC(0.5, 0.95,
|
|
9965
|
+
const sM = /* @__PURE__ */ zC(0, 0.5, RT), lM = /* @__PURE__ */ zC(0.5, 0.95, gr);
|
|
9966
9966
|
function zC(e, t, n) {
|
|
9967
9967
|
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ ic(e, t, r));
|
|
9968
9968
|
}
|
|
@@ -10648,7 +10648,7 @@ function PM(e) {
|
|
|
10648
10648
|
const _M = {
|
|
10649
10649
|
duration: 0.45,
|
|
10650
10650
|
ease: [0.4, 0, 0.1, 1]
|
|
10651
|
-
}, Gw = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), qw = Gw("applewebkit/") && !Gw("chrome/") ? Math.round :
|
|
10651
|
+
}, Gw = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), qw = Gw("applewebkit/") && !Gw("chrome/") ? Math.round : gr;
|
|
10652
10652
|
function Kw(e) {
|
|
10653
10653
|
e.min = qw(e.min), e.max = qw(e.max);
|
|
10654
10654
|
}
|
|
@@ -11436,7 +11436,7 @@ function pD(e, t) {
|
|
|
11436
11436
|
if (!r)
|
|
11437
11437
|
return { x: 0, y: 0 };
|
|
11438
11438
|
r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ qr(t) * 2 && (r = e[1]);
|
|
11439
|
-
const o = /* @__PURE__ */
|
|
11439
|
+
const o = /* @__PURE__ */ pr(i.timestamp - r.timestamp);
|
|
11440
11440
|
if (o === 0)
|
|
11441
11441
|
return { x: 0, y: 0 };
|
|
11442
11442
|
const l = {
|
|
@@ -11755,11 +11755,11 @@ function ED(e, t = 10) {
|
|
|
11755
11755
|
}
|
|
11756
11756
|
class TD extends io {
|
|
11757
11757
|
constructor(t) {
|
|
11758
|
-
super(t), this.removeGroupControls =
|
|
11758
|
+
super(t), this.removeGroupControls = gr, this.removeListeners = gr, this.controls = new SD(t);
|
|
11759
11759
|
}
|
|
11760
11760
|
mount() {
|
|
11761
11761
|
const { dragControls: t } = this.node.getProps();
|
|
11762
|
-
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() ||
|
|
11762
|
+
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || gr;
|
|
11763
11763
|
}
|
|
11764
11764
|
update() {
|
|
11765
11765
|
const { dragControls: t } = this.node.getProps(), { dragControls: n } = this.node.prevProps || {};
|
|
@@ -11774,7 +11774,7 @@ const Om = (e) => (t, n) => {
|
|
|
11774
11774
|
};
|
|
11775
11775
|
class CD extends io {
|
|
11776
11776
|
constructor() {
|
|
11777
|
-
super(...arguments), this.removePointerDownListener =
|
|
11777
|
+
super(...arguments), this.removePointerDownListener = gr;
|
|
11778
11778
|
}
|
|
11779
11779
|
onPointerDown(t) {
|
|
11780
11780
|
this.session = new aP(t, this.createPanHandlers(), {
|
|
@@ -12406,18 +12406,18 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12406
12406
|
clearGcTimeout() {
|
|
12407
12407
|
C(this, Fo) && (clearTimeout(C(this, Fo)), Y(this, Fo, void 0));
|
|
12408
12408
|
}
|
|
12409
|
-
}, Fo = new WeakMap(), RE), ll, Bo,
|
|
12409
|
+
}, Fo = new WeakMap(), RE), ll, Bo, dr, zo, mn, xc, jo, zr, Di, $E, JD = ($E = class extends yP {
|
|
12410
12410
|
constructor(n) {
|
|
12411
12411
|
super();
|
|
12412
12412
|
oe(this, zr);
|
|
12413
12413
|
oe(this, ll);
|
|
12414
12414
|
oe(this, Bo);
|
|
12415
|
-
oe(this,
|
|
12415
|
+
oe(this, dr);
|
|
12416
12416
|
oe(this, zo);
|
|
12417
12417
|
oe(this, mn);
|
|
12418
12418
|
oe(this, xc);
|
|
12419
12419
|
oe(this, jo);
|
|
12420
|
-
Y(this, jo, !1), Y(this, xc, n.defaultOptions), this.setOptions(n.options), this.observers = [], Y(this, zo, n.client), Y(this,
|
|
12420
|
+
Y(this, jo, !1), Y(this, xc, n.defaultOptions), this.setOptions(n.options), this.observers = [], Y(this, zo, n.client), Y(this, dr, C(this, zo).getQueryCache()), this.queryKey = n.queryKey, this.queryHash = n.queryHash, Y(this, ll, e4(this.options)), this.state = n.state ?? C(this, ll), this.scheduleGc();
|
|
12421
12421
|
}
|
|
12422
12422
|
get meta() {
|
|
12423
12423
|
return this.options.meta;
|
|
@@ -12430,7 +12430,7 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12430
12430
|
this.options = { ...C(this, xc), ...n }, this.updateGcTime(this.options.gcTime);
|
|
12431
12431
|
}
|
|
12432
12432
|
optionalRemove() {
|
|
12433
|
-
!this.observers.length && this.state.fetchStatus === "idle" && C(this,
|
|
12433
|
+
!this.observers.length && this.state.fetchStatus === "idle" && C(this, dr).remove(this);
|
|
12434
12434
|
}
|
|
12435
12435
|
setData(n, r) {
|
|
12436
12436
|
const i = ty(this.state.data, n, this.options);
|
|
@@ -12487,10 +12487,10 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12487
12487
|
n == null || n.refetch({ cancelRefetch: !1 }), (r = C(this, mn)) == null || r.continue();
|
|
12488
12488
|
}
|
|
12489
12489
|
addObserver(n) {
|
|
12490
|
-
this.observers.includes(n) || (this.observers.push(n), this.clearGcTimeout(), C(this,
|
|
12490
|
+
this.observers.includes(n) || (this.observers.push(n), this.clearGcTimeout(), C(this, dr).notify({ type: "observerAdded", query: this, observer: n }));
|
|
12491
12491
|
}
|
|
12492
12492
|
removeObserver(n) {
|
|
12493
|
-
this.observers.includes(n) && (this.observers = this.observers.filter((r) => r !== n), this.observers.length || (C(this, mn) && (C(this, jo) ? C(this, mn).cancel({ revert: !0 }) : C(this, mn).cancelRetry()), this.scheduleGc()), C(this,
|
|
12493
|
+
this.observers.includes(n) && (this.observers = this.observers.filter((r) => r !== n), this.observers.length || (C(this, mn) && (C(this, jo) ? C(this, mn).cancel({ revert: !0 }) : C(this, mn).cancelRetry()), this.scheduleGc()), C(this, dr).notify({ type: "observerRemoved", query: this, observer: n }));
|
|
12494
12494
|
}
|
|
12495
12495
|
getObserversCount() {
|
|
12496
12496
|
return this.observers.length;
|
|
@@ -12546,11 +12546,11 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12546
12546
|
Mm(v) && v.silent || Pe(this, zr, Di).call(this, {
|
|
12547
12547
|
type: "error",
|
|
12548
12548
|
error: v
|
|
12549
|
-
}), Mm(v) || ((b = (w = C(this,
|
|
12549
|
+
}), Mm(v) || ((b = (w = C(this, dr).config).onError) == null || b.call(
|
|
12550
12550
|
w,
|
|
12551
12551
|
v,
|
|
12552
12552
|
this
|
|
12553
|
-
), (S = (T = C(this,
|
|
12553
|
+
), (S = (T = C(this, dr).config).onSettled) == null || S.call(
|
|
12554
12554
|
T,
|
|
12555
12555
|
this.state.data,
|
|
12556
12556
|
v,
|
|
@@ -12573,7 +12573,7 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12573
12573
|
f(O);
|
|
12574
12574
|
return;
|
|
12575
12575
|
}
|
|
12576
|
-
(b = (w = C(this,
|
|
12576
|
+
(b = (w = C(this, dr).config).onSuccess) == null || b.call(w, v, this), (S = (T = C(this, dr).config).onSettled) == null || S.call(
|
|
12577
12577
|
T,
|
|
12578
12578
|
v,
|
|
12579
12579
|
this.state.error,
|
|
@@ -12596,7 +12596,7 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12596
12596
|
canRun: () => !0
|
|
12597
12597
|
})), C(this, mn).start();
|
|
12598
12598
|
}
|
|
12599
|
-
}, ll = new WeakMap(), Bo = new WeakMap(),
|
|
12599
|
+
}, ll = new WeakMap(), Bo = new WeakMap(), dr = new WeakMap(), zo = new WeakMap(), mn = new WeakMap(), xc = new WeakMap(), jo = new WeakMap(), zr = new WeakSet(), Di = function(n) {
|
|
12600
12600
|
const r = (i) => {
|
|
12601
12601
|
switch (n.type) {
|
|
12602
12602
|
case "failed":
|
|
@@ -12663,7 +12663,7 @@ var Ut = XD(), Fo, RE, yP = (RE = class {
|
|
|
12663
12663
|
this.state = r(this.state), Ut.batch(() => {
|
|
12664
12664
|
this.observers.forEach((i) => {
|
|
12665
12665
|
i.onQueryUpdate();
|
|
12666
|
-
}), C(this,
|
|
12666
|
+
}), C(this, dr).notify({ query: this, type: "updated", action: n });
|
|
12667
12667
|
});
|
|
12668
12668
|
}, $E);
|
|
12669
12669
|
function vP(e, t) {
|
|
@@ -16653,7 +16653,7 @@ function fB(e, t) {
|
|
|
16653
16653
|
}
|
|
16654
16654
|
const hB = "88px", pB = [
|
|
16655
16655
|
"status-banner"
|
|
16656
|
-
],
|
|
16656
|
+
], yr = /* @__PURE__ */ E.forwardRef(({ children: e, variant: t, loading: n = !1, disabled: r = !1, onClick: i, iconLeft: o, iconRight: l, size: u = "normal", analyticsAttrs: d = {}, analyticsId: f, fullWidth: p, url: m, external: y, maxWidth: v, accessibilityLabel: w, iconSize: b = u === "normal" ? 24 : 16, testId: T, ...S }, O) => {
|
|
16657
16657
|
const [P, R] = E.useState(null), I = dB[P ?? t] ?? XP, $ = C3({
|
|
16658
16658
|
loading: n
|
|
16659
16659
|
}), B = fB(null, O);
|
|
@@ -16718,7 +16718,7 @@ const hB = "88px", pB = [
|
|
|
16718
16718
|
]
|
|
16719
16719
|
});
|
|
16720
16720
|
});
|
|
16721
|
-
|
|
16721
|
+
yr.displayName = "Button";
|
|
16722
16722
|
function jm(e) {
|
|
16723
16723
|
return e === "Secondary" ? "secondaryButton" : e === "SecondaryAccent" ? "secondaryAccentButton" : e === "Tertiary" ? "tertiaryButton" : e === "TertiaryAccent" ? "tertiaryAccentButton" : [
|
|
16724
16724
|
"CriticalSecondary",
|
|
@@ -16888,7 +16888,7 @@ let $B = !1;
|
|
|
16888
16888
|
function hh() {
|
|
16889
16889
|
return $B;
|
|
16890
16890
|
}
|
|
16891
|
-
function
|
|
16891
|
+
function mr(e, t) {
|
|
16892
16892
|
if (!hh()) return t && e ? e.contains(t) : !1;
|
|
16893
16893
|
if (!e || !t) return !1;
|
|
16894
16894
|
let n = t;
|
|
@@ -16898,7 +16898,7 @@ function gr(e, t) {
|
|
|
16898
16898
|
}
|
|
16899
16899
|
return !1;
|
|
16900
16900
|
}
|
|
16901
|
-
const
|
|
16901
|
+
const vr = (e = document) => {
|
|
16902
16902
|
var t;
|
|
16903
16903
|
if (!hh()) return e.activeElement;
|
|
16904
16904
|
let n = e.activeElement;
|
|
@@ -16913,7 +16913,7 @@ class OB {
|
|
|
16913
16913
|
return this._currentNode;
|
|
16914
16914
|
}
|
|
16915
16915
|
set currentNode(t) {
|
|
16916
|
-
if (!
|
|
16916
|
+
if (!mr(this.root, t)) throw new Error("Cannot set currentNode to a node that is not contained by the root node.");
|
|
16917
16917
|
const n = [];
|
|
16918
16918
|
let r = t, i = t;
|
|
16919
16919
|
for (this._currentNode = t; r && r !== this.root; ) if (r.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
@@ -16932,7 +16932,7 @@ class OB {
|
|
|
16932
16932
|
}
|
|
16933
16933
|
firstChild() {
|
|
16934
16934
|
let t = this.currentNode, n = this.nextNode();
|
|
16935
|
-
return
|
|
16935
|
+
return mr(t, n) ? (n && (this.currentNode = n), n) : (this.currentNode = t, null);
|
|
16936
16936
|
}
|
|
16937
16937
|
lastChild() {
|
|
16938
16938
|
let n = this._walkerStack[0].lastChild();
|
|
@@ -17912,9 +17912,9 @@ function b_() {
|
|
|
17912
17912
|
function wy(e) {
|
|
17913
17913
|
const t = Gt(e);
|
|
17914
17914
|
if (b_() === "virtual") {
|
|
17915
|
-
let n =
|
|
17915
|
+
let n = vr(t);
|
|
17916
17916
|
KB(() => {
|
|
17917
|
-
const r =
|
|
17917
|
+
const r = vr(t);
|
|
17918
17918
|
(r === n || r === t.body) && e.isConnected && gy(e);
|
|
17919
17919
|
});
|
|
17920
17920
|
} else gy(e);
|
|
@@ -17932,20 +17932,20 @@ function w_(e) {
|
|
|
17932
17932
|
let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, o = E.useRef({
|
|
17933
17933
|
isFocusWithin: !1
|
|
17934
17934
|
}), { addGlobalListener: l, removeAllGlobalListeners: u } = QB(), d = E.useCallback((m) => {
|
|
17935
|
-
|
|
17935
|
+
mr(m.currentTarget, m.target) && o.current.isFocusWithin && !mr(m.currentTarget, m.relatedTarget) && (o.current.isFocusWithin = !1, u(), n && n(m), i && i(!1));
|
|
17936
17936
|
}, [
|
|
17937
17937
|
n,
|
|
17938
17938
|
i,
|
|
17939
17939
|
o,
|
|
17940
17940
|
u
|
|
17941
17941
|
]), f = Pz(d), p = E.useCallback((m) => {
|
|
17942
|
-
if (!
|
|
17943
|
-
const y = Gt(m.target), v =
|
|
17942
|
+
if (!mr(m.currentTarget, m.target)) return;
|
|
17943
|
+
const y = Gt(m.target), v = vr(y);
|
|
17944
17944
|
if (!o.current.isFocusWithin && v === Ro(m.nativeEvent)) {
|
|
17945
17945
|
r && r(m), i && i(!0), o.current.isFocusWithin = !0, f(m);
|
|
17946
17946
|
let w = m.currentTarget;
|
|
17947
17947
|
l(y, "focus", (b) => {
|
|
17948
|
-
if (o.current.isFocusWithin && !
|
|
17948
|
+
if (o.current.isFocusWithin && !mr(w, b.target)) {
|
|
17949
17949
|
let T = new y.defaultView.FocusEvent("blur", {
|
|
17950
17950
|
relatedTarget: b.target
|
|
17951
17951
|
});
|
|
@@ -18007,7 +18007,7 @@ function MS(e, t) {
|
|
|
18007
18007
|
if (e.button > 0) return !1;
|
|
18008
18008
|
if (e.target) {
|
|
18009
18009
|
const n = e.target.ownerDocument;
|
|
18010
|
-
if (!n || !
|
|
18010
|
+
if (!n || !mr(n.documentElement, e.target) || e.target.closest("[data-react-aria-top-layer]")) return !1;
|
|
18011
18011
|
}
|
|
18012
18012
|
return t.current ? !e.composedPath().includes(t.current) : !1;
|
|
18013
18013
|
}
|
|
@@ -18045,7 +18045,7 @@ function Nz(e) {
|
|
|
18045
18045
|
}, [
|
|
18046
18046
|
t
|
|
18047
18047
|
]), zz(u, r, n), Dz(u, n), jz(u, r, n), Bz(u, i), E.useEffect(() => {
|
|
18048
|
-
const y =
|
|
18048
|
+
const y = vr(Gt(u.current ? u.current[0] : void 0));
|
|
18049
18049
|
let v = null;
|
|
18050
18050
|
if (Sr(y, u.current)) {
|
|
18051
18051
|
for (let w of Nt.traverse()) w.scopeRef && Sr(y, w.scopeRef.current) && (v = w);
|
|
@@ -18084,7 +18084,7 @@ function Lz(e) {
|
|
|
18084
18084
|
focusNext(t = {}) {
|
|
18085
18085
|
let n = e.current, { from: r, tabbable: i, wrap: o, accept: l } = t;
|
|
18086
18086
|
var u;
|
|
18087
|
-
let d = r ||
|
|
18087
|
+
let d = r || vr(Gt((u = n[0]) !== null && u !== void 0 ? u : void 0)), f = n[0].previousElementSibling, p = Mo(n), m = Za(p, {
|
|
18088
18088
|
tabbable: i,
|
|
18089
18089
|
accept: l
|
|
18090
18090
|
}, n);
|
|
@@ -18095,7 +18095,7 @@ function Lz(e) {
|
|
|
18095
18095
|
focusPrevious(t = {}) {
|
|
18096
18096
|
let n = e.current, { from: r, tabbable: i, wrap: o, accept: l } = t;
|
|
18097
18097
|
var u;
|
|
18098
|
-
let d = r ||
|
|
18098
|
+
let d = r || vr(Gt((u = n[0]) !== null && u !== void 0 ? u : void 0)), f = n[n.length - 1].nextElementSibling, p = Mo(n), m = Za(p, {
|
|
18099
18099
|
tabbable: i,
|
|
18100
18100
|
accept: l
|
|
18101
18101
|
}, n);
|
|
@@ -18160,7 +18160,7 @@ function Dz(e, t) {
|
|
|
18160
18160
|
const o = Gt(i ? i[0] : void 0);
|
|
18161
18161
|
let l = (f) => {
|
|
18162
18162
|
if (f.key !== "Tab" || f.altKey || f.ctrlKey || f.metaKey || !ju(e) || f.isComposing) return;
|
|
18163
|
-
let p =
|
|
18163
|
+
let p = vr(o), m = e.current;
|
|
18164
18164
|
if (!m || !Sr(p, m)) return;
|
|
18165
18165
|
let y = Mo(m), v = Za(y, {
|
|
18166
18166
|
tabbable: !0
|
|
@@ -18173,7 +18173,7 @@ function Dz(e, t) {
|
|
|
18173
18173
|
(!ct || Wf(ct, e)) && Sr(Ro(f), e.current) ? (ct = e, n.current = Ro(f)) : ju(e) && !Ya(Ro(f), e) ? n.current ? n.current.focus() : ct && ct.current && ky(ct.current) : ju(e) && (n.current = Ro(f));
|
|
18174
18174
|
}, d = (f) => {
|
|
18175
18175
|
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
18176
|
-
let p = b_(), m = (p === "virtual" || p === null) && a_() && i_(), y =
|
|
18176
|
+
let p = b_(), m = (p === "virtual" || p === null) && a_() && i_(), y = vr(o);
|
|
18177
18177
|
if (!m && y && ju(e) && !Ya(y, e)) {
|
|
18178
18178
|
ct = e;
|
|
18179
18179
|
let w = Ro(f);
|
|
@@ -18200,7 +18200,7 @@ function S_(e) {
|
|
|
18200
18200
|
return Ya(e);
|
|
18201
18201
|
}
|
|
18202
18202
|
function Sr(e, t) {
|
|
18203
|
-
return !e || !t ? !1 : t.some((n) =>
|
|
18203
|
+
return !e || !t ? !1 : t.some((n) => mr(n, e));
|
|
18204
18204
|
}
|
|
18205
18205
|
function Ya(e, t = null) {
|
|
18206
18206
|
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
|
|
@@ -18249,7 +18249,7 @@ function Bz(e, t) {
|
|
|
18249
18249
|
if (n.current) {
|
|
18250
18250
|
ct = e;
|
|
18251
18251
|
const r = Gt(e.current ? e.current[0] : void 0);
|
|
18252
|
-
!Sr(
|
|
18252
|
+
!Sr(vr(r), ct.current) && e.current && ky(e.current);
|
|
18253
18253
|
}
|
|
18254
18254
|
n.current = !1;
|
|
18255
18255
|
}, [
|
|
@@ -18283,13 +18283,13 @@ function FS(e) {
|
|
|
18283
18283
|
return (t == null ? void 0 : t.scopeRef) === e;
|
|
18284
18284
|
}
|
|
18285
18285
|
function jz(e, t, n) {
|
|
18286
|
-
const r = E.useRef(typeof document < "u" ?
|
|
18286
|
+
const r = E.useRef(typeof document < "u" ? vr(Gt(e.current ? e.current[0] : void 0)) : null);
|
|
18287
18287
|
Dt(() => {
|
|
18288
18288
|
let i = e.current;
|
|
18289
18289
|
const o = Gt(i ? i[0] : void 0);
|
|
18290
18290
|
if (!t || n) return;
|
|
18291
18291
|
let l = () => {
|
|
18292
|
-
(!ct || Wf(ct, e)) && Sr(
|
|
18292
|
+
(!ct || Wf(ct, e)) && Sr(vr(o), e.current) && (ct = e);
|
|
18293
18293
|
};
|
|
18294
18294
|
return o.addEventListener("focusin", l, !1), i == null || i.forEach((u) => u.addEventListener("focusin", l, !1)), () => {
|
|
18295
18295
|
o.removeEventListener("focusin", l, !1), i == null || i.forEach((u) => u.removeEventListener("focusin", l, !1));
|
|
@@ -18335,7 +18335,7 @@ function jz(e, t, n) {
|
|
|
18335
18335
|
return o.nodeToRestore = (l = r.current) !== null && l !== void 0 ? l : void 0, () => {
|
|
18336
18336
|
let u = Nt.getTreeNode(e);
|
|
18337
18337
|
if (!u) return;
|
|
18338
|
-
let d = u.nodeToRestore, f =
|
|
18338
|
+
let d = u.nodeToRestore, f = vr(i);
|
|
18339
18339
|
if (t && d && (f && Ya(f, e) || f === i.body && FS(e))) {
|
|
18340
18340
|
let p = Nt.clone();
|
|
18341
18341
|
requestAnimationFrame(() => {
|
|
@@ -18375,7 +18375,7 @@ function BS(e) {
|
|
|
18375
18375
|
function Za(e, t, n) {
|
|
18376
18376
|
let r = t != null && t.tabbable ? sz : oz, i = (e == null ? void 0 : e.nodeType) === Node.ELEMENT_NODE ? e : null, o = Gt(i), l = NB(o, e || o, NodeFilter.SHOW_ELEMENT, {
|
|
18377
18377
|
acceptNode(u) {
|
|
18378
|
-
return
|
|
18378
|
+
return mr(t == null ? void 0 : t.from, u) || t != null && t.tabbable && u.tagName === "INPUT" && u.getAttribute("type") === "radio" && (!Mz(u) || l.currentNode.tagName === "INPUT" && l.currentNode.type === "radio" && l.currentNode.name === u.name) ? NodeFilter.FILTER_REJECT : r(u) && (!n || Sr(u, n)) && (!(t != null && t.accept) || t.accept(u)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
18379
18379
|
}
|
|
18380
18380
|
});
|
|
18381
18381
|
return t != null && t.from && (l.currentNode = t.from), l;
|
|
@@ -18826,7 +18826,7 @@ function Yz(e) {
|
|
|
18826
18826
|
}));
|
|
18827
18827
|
}
|
|
18828
18828
|
const Zz = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
|
|
18829
|
-
let Au = /* @__PURE__ */ new WeakMap(),
|
|
18829
|
+
let Au = /* @__PURE__ */ new WeakMap(), cr = [];
|
|
18830
18830
|
function Xz(e, t) {
|
|
18831
18831
|
let n = dc(e == null ? void 0 : e[0]), r = t instanceof n.Element ? {
|
|
18832
18832
|
root: t
|
|
@@ -18839,7 +18839,7 @@ function Xz(e, t) {
|
|
|
18839
18839
|
let T = (P) => {
|
|
18840
18840
|
if (d.has(P) || u.has(P) || P.parentElement && d.has(P.parentElement) && P.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
18841
18841
|
for (let R of u)
|
|
18842
|
-
if (
|
|
18842
|
+
if (mr(P, R)) return NodeFilter.FILTER_SKIP;
|
|
18843
18843
|
return NodeFilter.FILTER_ACCEPT;
|
|
18844
18844
|
}, S = document.createTreeWalker(b, NodeFilter.SHOW_ELEMENT, {
|
|
18845
18845
|
acceptNode: T
|
|
@@ -18854,13 +18854,13 @@ function Xz(e, t) {
|
|
|
18854
18854
|
let S = (T = Au.get(b)) !== null && T !== void 0 ? T : 0;
|
|
18855
18855
|
f(b) && S === 0 || (S === 0 && p(b, !0), d.add(b), Au.set(b, S + 1));
|
|
18856
18856
|
};
|
|
18857
|
-
|
|
18857
|
+
cr.length && cr[cr.length - 1].disconnect(), m(o);
|
|
18858
18858
|
let v = new MutationObserver((b) => {
|
|
18859
18859
|
for (let T of b)
|
|
18860
18860
|
if (T.type === "childList" && T.target.isConnected && ![
|
|
18861
18861
|
...u,
|
|
18862
18862
|
...d
|
|
18863
|
-
].some((S) =>
|
|
18863
|
+
].some((S) => mr(S, T.target)))
|
|
18864
18864
|
for (let S of T.addedNodes)
|
|
18865
18865
|
(S instanceof HTMLElement || S instanceof SVGElement) && (S.dataset.liveAnnouncer === "true" || S.dataset.reactAriaTopLayer === "true") ? u.add(S) : S instanceof Element && m(S);
|
|
18866
18866
|
});
|
|
@@ -18881,13 +18881,13 @@ function Xz(e, t) {
|
|
|
18881
18881
|
v.disconnect();
|
|
18882
18882
|
}
|
|
18883
18883
|
};
|
|
18884
|
-
return
|
|
18884
|
+
return cr.push(w), () => {
|
|
18885
18885
|
v.disconnect();
|
|
18886
18886
|
for (let b of d) {
|
|
18887
18887
|
let T = Au.get(b);
|
|
18888
18888
|
T != null && (T === 1 ? (p(b, !1), Au.delete(b)) : Au.set(b, T - 1));
|
|
18889
18889
|
}
|
|
18890
|
-
w ===
|
|
18890
|
+
w === cr[cr.length - 1] ? (cr.pop(), cr.length && cr[cr.length - 1].observe()) : cr.splice(cr.indexOf(w), 1);
|
|
18891
18891
|
};
|
|
18892
18892
|
}
|
|
18893
18893
|
const sA = /* @__PURE__ */ G.createContext(null);
|
|
@@ -18943,7 +18943,7 @@ function tj(e, t) {
|
|
|
18943
18943
|
r = e["aria-label"] ? void 0 : r;
|
|
18944
18944
|
let i = E.useRef(!1);
|
|
18945
18945
|
return E.useEffect(() => {
|
|
18946
|
-
if (t.current && !
|
|
18946
|
+
if (t.current && !mr(t.current, document.activeElement)) {
|
|
18947
18947
|
wy(t.current);
|
|
18948
18948
|
let o = setTimeout(() => {
|
|
18949
18949
|
(document.activeElement === t.current || document.activeElement === document.body) && (i.current = !0, t.current && (t.current.blur(), wy(t.current)), i.current = !1);
|
|
@@ -19201,7 +19201,7 @@ const HS = () => Math.max(document.documentElement.clientWidth || 0, window.inne
|
|
|
19201
19201
|
children: u
|
|
19202
19202
|
}));
|
|
19203
19203
|
w0.displayName = "Heading";
|
|
19204
|
-
const cj = Ge(
|
|
19204
|
+
const cj = Ge(yr).withConfig({
|
|
19205
19205
|
shouldForwardProp: (e) => e !== "size"
|
|
19206
19206
|
}).withConfig({
|
|
19207
19207
|
displayName: "StyledButton",
|
|
@@ -23486,7 +23486,7 @@ function C6(e) {
|
|
|
23486
23486
|
}
|
|
23487
23487
|
const P6 = (e) => {
|
|
23488
23488
|
var t, n, r, i, o, l, u, d, f;
|
|
23489
|
-
const { invert: p, toast: m, unstyled: y, interacting: v, setHeights: w, visibleToasts: b, heights: T, index: S, toasts: O, expanded: P, removeToast: R, defaultRichColors: I, closeButton: $, style: B, cancelButtonStyle: D, actionButtonStyle: H, className: U = "", descriptionClassName: q = "", duration: ee, position: pe, gap: fe, expandByDefault: ne, classNames: he, icons: ue, closeButtonAriaLabel: Z = "Close toast" } = e, [se, _] = G.useState(null), [M, K] = G.useState(null), [A, de] = G.useState(!1), [xe, ye] = G.useState(!1), [Le, ve] = G.useState(!1), [Fe, qe] = G.useState(!1), [Kt, sn] = G.useState(!1), [xn, Ci] = G.useState(0), [lo, Ji] = G.useState(0),
|
|
23489
|
+
const { invert: p, toast: m, unstyled: y, interacting: v, setHeights: w, visibleToasts: b, heights: T, index: S, toasts: O, expanded: P, removeToast: R, defaultRichColors: I, closeButton: $, style: B, cancelButtonStyle: D, actionButtonStyle: H, className: U = "", descriptionClassName: q = "", duration: ee, position: pe, gap: fe, expandByDefault: ne, classNames: he, icons: ue, closeButtonAriaLabel: Z = "Close toast" } = e, [se, _] = G.useState(null), [M, K] = G.useState(null), [A, de] = G.useState(!1), [xe, ye] = G.useState(!1), [Le, ve] = G.useState(!1), [Fe, qe] = G.useState(!1), [Kt, sn] = G.useState(!1), [xn, Ci] = G.useState(0), [lo, Ji] = G.useState(0), er = G.useRef(m.duration || ee || mk), uo = G.useRef(null), ln = G.useRef(null), Xr = S === 0, Jr = S + 1 <= b, Ft = m.type, Pr = m.dismissible !== !1, ms = m.className || "", gs = m.descriptionClassName || "", Q = G.useMemo(() => T.findIndex((Be) => Be.toastId === m.id) || 0, [
|
|
23490
23490
|
T,
|
|
23491
23491
|
m.id
|
|
23492
23492
|
]), le = G.useMemo(() => {
|
|
@@ -23501,12 +23501,12 @@ const P6 = (e) => {
|
|
|
23501
23501
|
]), ze = G.useRef(0), Ve = G.useRef(0), _t = G.useRef(0), un = G.useRef(null), [$n, ei] = pe.split("-"), ti = G.useMemo(() => T.reduce((Be, Tt, Bt) => Bt >= Q ? Be : Be + Tt.height, 0), [
|
|
23502
23502
|
T,
|
|
23503
23503
|
Q
|
|
23504
|
-
]), At = f6(),
|
|
23504
|
+
]), At = f6(), tr = m.invert || p, en = Ft === "loading";
|
|
23505
23505
|
Ve.current = G.useMemo(() => Q * fe + ti, [
|
|
23506
23506
|
Q,
|
|
23507
23507
|
ti
|
|
23508
23508
|
]), G.useEffect(() => {
|
|
23509
|
-
|
|
23509
|
+
er.current = $e;
|
|
23510
23510
|
}, [
|
|
23511
23511
|
$e
|
|
23512
23512
|
]), G.useEffect(() => {
|
|
@@ -23553,7 +23553,7 @@ const P6 = (e) => {
|
|
|
23553
23553
|
m.action,
|
|
23554
23554
|
m.cancel
|
|
23555
23555
|
]);
|
|
23556
|
-
const
|
|
23556
|
+
const nr = G.useCallback(() => {
|
|
23557
23557
|
ye(!0), Ci(Ve.current), w((Be) => Be.filter((Tt) => Tt.toastId !== m.id)), setTimeout(() => {
|
|
23558
23558
|
R(m);
|
|
23559
23559
|
}, T6);
|
|
@@ -23569,13 +23569,13 @@ const P6 = (e) => {
|
|
|
23569
23569
|
return P || v || At ? (() => {
|
|
23570
23570
|
if (_t.current < ze.current) {
|
|
23571
23571
|
const cn = (/* @__PURE__ */ new Date()).getTime() - ze.current;
|
|
23572
|
-
|
|
23572
|
+
er.current = er.current - cn;
|
|
23573
23573
|
}
|
|
23574
23574
|
_t.current = (/* @__PURE__ */ new Date()).getTime();
|
|
23575
23575
|
})() : (() => {
|
|
23576
|
-
|
|
23577
|
-
m.onAutoClose == null || m.onAutoClose.call(m, m),
|
|
23578
|
-
},
|
|
23576
|
+
er.current !== 1 / 0 && (ze.current = (/* @__PURE__ */ new Date()).getTime(), Be = setTimeout(() => {
|
|
23577
|
+
m.onAutoClose == null || m.onAutoClose.call(m, m), nr();
|
|
23578
|
+
}, er.current));
|
|
23579
23579
|
})(), () => clearTimeout(Be);
|
|
23580
23580
|
}, [
|
|
23581
23581
|
P,
|
|
@@ -23583,11 +23583,11 @@ const P6 = (e) => {
|
|
|
23583
23583
|
m,
|
|
23584
23584
|
Ft,
|
|
23585
23585
|
At,
|
|
23586
|
-
|
|
23586
|
+
nr
|
|
23587
23587
|
]), G.useEffect(() => {
|
|
23588
|
-
m.delete && (
|
|
23588
|
+
m.delete && (nr(), m.onDismiss == null || m.onDismiss.call(m, m));
|
|
23589
23589
|
}, [
|
|
23590
|
-
|
|
23590
|
+
nr,
|
|
23591
23591
|
m.delete
|
|
23592
23592
|
]);
|
|
23593
23593
|
function Hl() {
|
|
@@ -23625,7 +23625,7 @@ const P6 = (e) => {
|
|
|
23625
23625
|
"data-swiping": Le,
|
|
23626
23626
|
"data-dismissible": Pr,
|
|
23627
23627
|
"data-type": Ft,
|
|
23628
|
-
"data-invert":
|
|
23628
|
+
"data-invert": tr,
|
|
23629
23629
|
"data-swipe-out": Fe,
|
|
23630
23630
|
"data-swipe-direction": M,
|
|
23631
23631
|
"data-expanded": !!(P || ne && A),
|
|
@@ -23654,7 +23654,7 @@ const P6 = (e) => {
|
|
|
23654
23654
|
un.current = null;
|
|
23655
23655
|
const cn = Number(((Be = ln.current) == null ? void 0 : Be.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), ta = Number(((Tt = ln.current) == null ? void 0 : Tt.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), It = (/* @__PURE__ */ new Date()).getTime() - ((Bt = uo.current) == null ? void 0 : Bt.getTime()), Qt = se === "x" ? cn : ta, na = Math.abs(Qt) / It;
|
|
23656
23656
|
if (Math.abs(Qt) >= E6 || na > 0.11) {
|
|
23657
|
-
Ci(Ve.current), m.onDismiss == null || m.onDismiss.call(m, m), K(se === "x" ? cn > 0 ? "right" : "left" : ta > 0 ? "down" : "up"),
|
|
23657
|
+
Ci(Ve.current), m.onDismiss == null || m.onDismiss.call(m, m), K(se === "x" ? cn > 0 ? "right" : "left" : ta > 0 ? "down" : "up"), nr(), qe(!0);
|
|
23658
23658
|
return;
|
|
23659
23659
|
} else {
|
|
23660
23660
|
var tn, Gn;
|
|
@@ -23673,21 +23673,21 @@ const P6 = (e) => {
|
|
|
23673
23673
|
x: 0,
|
|
23674
23674
|
y: 0
|
|
23675
23675
|
};
|
|
23676
|
-
const ra = (
|
|
23676
|
+
const ra = (rr) => 1 / (1.5 + Math.abs(rr) / 20);
|
|
23677
23677
|
if (se === "y") {
|
|
23678
23678
|
if (tn.includes("top") || tn.includes("bottom"))
|
|
23679
23679
|
if (tn.includes("top") && It < 0 || tn.includes("bottom") && It > 0)
|
|
23680
23680
|
Gn.y = It;
|
|
23681
23681
|
else {
|
|
23682
|
-
const
|
|
23683
|
-
Gn.y = Math.abs(
|
|
23682
|
+
const rr = It * ra(It);
|
|
23683
|
+
Gn.y = Math.abs(rr) < Math.abs(It) ? rr : It;
|
|
23684
23684
|
}
|
|
23685
23685
|
} else if (se === "x" && (tn.includes("left") || tn.includes("right")))
|
|
23686
23686
|
if (tn.includes("left") && Qt < 0 || tn.includes("right") && Qt > 0)
|
|
23687
23687
|
Gn.x = Qt;
|
|
23688
23688
|
else {
|
|
23689
|
-
const
|
|
23690
|
-
Gn.x = Math.abs(
|
|
23689
|
+
const rr = Qt * ra(Qt);
|
|
23690
|
+
Gn.x = Math.abs(rr) < Math.abs(Qt) ? rr : Qt;
|
|
23691
23691
|
}
|
|
23692
23692
|
(Math.abs(Gn.x) > 0 || Math.abs(Gn.y) > 0) && sn(!0), (Bt = ln.current) == null || Bt.style.setProperty("--swipe-amount-x", `${Gn.x}px`), (cn = ln.current) == null || cn.style.setProperty("--swipe-amount-y", `${Gn.y}px`);
|
|
23693
23693
|
}
|
|
@@ -23697,7 +23697,7 @@ const P6 = (e) => {
|
|
|
23697
23697
|
"data-close-button": !0,
|
|
23698
23698
|
onClick: en || !Pr ? () => {
|
|
23699
23699
|
} : () => {
|
|
23700
|
-
|
|
23700
|
+
nr(), m.onDismiss == null || m.onDismiss.call(m, m);
|
|
23701
23701
|
},
|
|
23702
23702
|
className: li(he == null ? void 0 : he.closeButton, m == null || (r = m.classNames) == null ? void 0 : r.closeButton)
|
|
23703
23703
|
}, (Ul = ue == null ? void 0 : ue.close) != null ? Ul : d6) : null, (Ft || m.icon || m.promise) && m.icon !== null && ((ue == null ? void 0 : ue[Ft]) !== null || m.icon) ? /* @__PURE__ */ G.createElement("div", {
|
|
@@ -23717,7 +23717,7 @@ const P6 = (e) => {
|
|
|
23717
23717
|
"data-cancel": !0,
|
|
23718
23718
|
style: m.cancelButtonStyle || D,
|
|
23719
23719
|
onClick: (Be) => {
|
|
23720
|
-
tf(m.cancel) && Pr && (m.cancel.onClick == null || m.cancel.onClick.call(m.cancel, Be),
|
|
23720
|
+
tf(m.cancel) && Pr && (m.cancel.onClick == null || m.cancel.onClick.call(m.cancel, Be), nr());
|
|
23721
23721
|
},
|
|
23722
23722
|
className: li(he == null ? void 0 : he.cancelButton, m == null || (d = m.classNames) == null ? void 0 : d.cancelButton)
|
|
23723
23723
|
}, m.cancel.label) : null, /* @__PURE__ */ G.isValidElement(m.action) ? m.action : m.action && tf(m.action) ? /* @__PURE__ */ G.createElement("button", {
|
|
@@ -23725,7 +23725,7 @@ const P6 = (e) => {
|
|
|
23725
23725
|
"data-action": !0,
|
|
23726
23726
|
style: m.actionButtonStyle || H,
|
|
23727
23727
|
onClick: (Be) => {
|
|
23728
|
-
tf(m.action) && (m.action.onClick == null || m.action.onClick.call(m.action, Be), !Be.defaultPrevented &&
|
|
23728
|
+
tf(m.action) && (m.action.onClick == null || m.action.onClick.call(m.action, Be), !Be.defaultPrevented && nr());
|
|
23729
23729
|
},
|
|
23730
23730
|
className: li(he == null ? void 0 : he.actionButton, m == null || (f = m.classNames) == null ? void 0 : f.actionButton)
|
|
23731
23731
|
}, m.action.label) : null);
|
|
@@ -23937,7 +23937,7 @@ const A6 = /* @__PURE__ */ G.forwardRef(function(t, n) {
|
|
|
23937
23937
|
});
|
|
23938
23938
|
})) : null;
|
|
23939
23939
|
}));
|
|
23940
|
-
}), I6 = Ge(
|
|
23940
|
+
}), I6 = Ge(yr).withConfig({
|
|
23941
23941
|
displayName: "StyledActionButton",
|
|
23942
23942
|
componentId: "FlyUI__sc-1d7c042e-0"
|
|
23943
23943
|
})([
|
|
@@ -24122,7 +24122,7 @@ const M6 = () => {
|
|
|
24122
24122
|
const b = b0()("xs").windowLt;
|
|
24123
24123
|
if (!n && !l)
|
|
24124
24124
|
return null;
|
|
24125
|
-
const T = n ? /* @__PURE__ */ V.jsx(
|
|
24125
|
+
const T = n ? /* @__PURE__ */ V.jsx(yr, {
|
|
24126
24126
|
"data-dd-action-name": n.analyticsId,
|
|
24127
24127
|
accessibilityLabel: n.accessibilityLabel,
|
|
24128
24128
|
"data-testid": o ?? "primary-button",
|
|
@@ -24136,7 +24136,7 @@ const M6 = () => {
|
|
|
24136
24136
|
type: i ?? "submit",
|
|
24137
24137
|
iconRight: n == null ? void 0 : n.icon,
|
|
24138
24138
|
children: n.content
|
|
24139
|
-
}, "primary-button") : null, S = l ? /* @__PURE__ */ V.jsx(
|
|
24139
|
+
}, "primary-button") : null, S = l ? /* @__PURE__ */ V.jsx(yr, {
|
|
24140
24140
|
"data-dd-action-name": l.analyticsId,
|
|
24141
24141
|
accessibilityLabel: l.accessibilityLabel,
|
|
24142
24142
|
"data-testid": d ?? "secondary-button",
|
|
@@ -24149,7 +24149,7 @@ const M6 = () => {
|
|
|
24149
24149
|
fullWidth: b || t,
|
|
24150
24150
|
type: f || (n ? "button" : void 0),
|
|
24151
24151
|
children: l.content
|
|
24152
|
-
}, "secondary-button") : null, O = p ? /* @__PURE__ */ V.jsx(
|
|
24152
|
+
}, "secondary-button") : null, O = p ? /* @__PURE__ */ V.jsx(yr, {
|
|
24153
24153
|
"data-dd-action-name": p.analyticsId,
|
|
24154
24154
|
accessibilityLabel: p.accessibilityLabel,
|
|
24155
24155
|
"data-testid": y ?? "secondary-button",
|
|
@@ -24409,7 +24409,7 @@ const zA = class Mr {
|
|
|
24409
24409
|
}
|
|
24410
24410
|
};
|
|
24411
24411
|
qs(zA, "isDevEnvironment", !1);
|
|
24412
|
-
let
|
|
24412
|
+
let xr = zA;
|
|
24413
24413
|
const X6 = "https://static.wayflyer.com/flyui-assets/styles/flyui-80d57d96.css", ig = {
|
|
24414
24414
|
styles: X6
|
|
24415
24415
|
}, bk = "wf-flyui-styles", J6 = async ({ shadow: e, onStylesLoad: t, onStylesLoadError: n }) => {
|
|
@@ -24435,7 +24435,7 @@ const X6 = "https://static.wayflyer.com/flyui-assets/styles/flyui-80d57d96.css",
|
|
|
24435
24435
|
rootName: "bannerRoot",
|
|
24436
24436
|
rootElement: "div",
|
|
24437
24437
|
rootElementId: "banner-root"
|
|
24438
|
-
}, r8 = [e8, t8, n8], jA = "4.8.
|
|
24438
|
+
}, r8 = [e8, t8, n8], jA = "4.8.1", i8 = (e) => r8.reduce((t, n) => {
|
|
24439
24439
|
const { rootElement: r, rootElementId: i, rootName: o } = n;
|
|
24440
24440
|
let l = e.getElementById(i);
|
|
24441
24441
|
return l || (l = document.createElement(r), l.id = i, e.appendChild(l)), {
|
|
@@ -24446,7 +24446,7 @@ const X6 = "https://static.wayflyer.com/flyui-assets/styles/flyui-80d57d96.css",
|
|
|
24446
24446
|
try {
|
|
24447
24447
|
return JSON.parse(atob(e.split(".")[1]));
|
|
24448
24448
|
} catch {
|
|
24449
|
-
return
|
|
24449
|
+
return xr.logError("Error parsing a company token"), null;
|
|
24450
24450
|
}
|
|
24451
24451
|
}, VA = (e) => {
|
|
24452
24452
|
const t = a8(e);
|
|
@@ -24500,7 +24500,7 @@ const l8 = (e, t, n, r) => {
|
|
|
24500
24500
|
partnerTemplate: w
|
|
24501
24501
|
} = t, b = (O, P) => {
|
|
24502
24502
|
const R = `${O}_clicked`;
|
|
24503
|
-
P(),
|
|
24503
|
+
P(), xr.logEvent(R);
|
|
24504
24504
|
}, T = {
|
|
24505
24505
|
[Dr.COMPLETE_APPLICATION]: () => ({
|
|
24506
24506
|
bannerProps: Po(
|
|
@@ -25026,18 +25026,18 @@ var qo, VE, YA = (VE = class {
|
|
|
25026
25026
|
clearGcTimeout() {
|
|
25027
25027
|
C(this, qo) && (My.clearTimeout(C(this, qo)), Y(this, qo, void 0));
|
|
25028
25028
|
}
|
|
25029
|
-
}, qo = new WeakMap(), VE), Ko, bl,
|
|
25029
|
+
}, qo = new WeakMap(), VE), Ko, bl, fr, Qo, Jt, kc, Yo, Vr, Fi, WE, A8 = (WE = class extends YA {
|
|
25030
25030
|
constructor(t) {
|
|
25031
25031
|
super();
|
|
25032
25032
|
oe(this, Vr);
|
|
25033
25033
|
oe(this, Ko);
|
|
25034
25034
|
oe(this, bl);
|
|
25035
|
-
oe(this,
|
|
25035
|
+
oe(this, fr);
|
|
25036
25036
|
oe(this, Qo);
|
|
25037
25037
|
oe(this, Jt);
|
|
25038
25038
|
oe(this, kc);
|
|
25039
25039
|
oe(this, Yo);
|
|
25040
|
-
Y(this, Yo, !1), Y(this, kc, t.defaultOptions), this.setOptions(t.options), this.observers = [], Y(this, Qo, t.client), Y(this,
|
|
25040
|
+
Y(this, Yo, !1), Y(this, kc, t.defaultOptions), this.setOptions(t.options), this.observers = [], Y(this, Qo, t.client), Y(this, fr, C(this, Qo).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, Y(this, Ko, Ck(this.options)), this.state = t.state ?? C(this, Ko), this.scheduleGc();
|
|
25041
25041
|
}
|
|
25042
25042
|
get meta() {
|
|
25043
25043
|
return this.options.meta;
|
|
@@ -25055,7 +25055,7 @@ var qo, VE, YA = (VE = class {
|
|
|
25055
25055
|
}
|
|
25056
25056
|
}
|
|
25057
25057
|
optionalRemove() {
|
|
25058
|
-
!this.observers.length && this.state.fetchStatus === "idle" && C(this,
|
|
25058
|
+
!this.observers.length && this.state.fetchStatus === "idle" && C(this, fr).remove(this);
|
|
25059
25059
|
}
|
|
25060
25060
|
setData(t, n) {
|
|
25061
25061
|
const r = x8(this.state.data, t, this.options);
|
|
@@ -25112,10 +25112,10 @@ var qo, VE, YA = (VE = class {
|
|
|
25112
25112
|
t == null || t.refetch({ cancelRefetch: !1 }), (n = C(this, Jt)) == null || n.continue();
|
|
25113
25113
|
}
|
|
25114
25114
|
addObserver(t) {
|
|
25115
|
-
this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), C(this,
|
|
25115
|
+
this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), C(this, fr).notify({ type: "observerAdded", query: this, observer: t }));
|
|
25116
25116
|
}
|
|
25117
25117
|
removeObserver(t) {
|
|
25118
|
-
this.observers.includes(t) && (this.observers = this.observers.filter((n) => n !== t), this.observers.length || (C(this, Jt) && (C(this, Yo) ? C(this, Jt).cancel({ revert: !0 }) : C(this, Jt).cancelRetry()), this.scheduleGc()), C(this,
|
|
25118
|
+
this.observers.includes(t) && (this.observers = this.observers.filter((n) => n !== t), this.observers.length || (C(this, Jt) && (C(this, Yo) ? C(this, Jt).cancel({ revert: !0 }) : C(this, Jt).cancelRetry()), this.scheduleGc()), C(this, fr).notify({ type: "observerRemoved", query: this, observer: t }));
|
|
25119
25119
|
}
|
|
25120
25120
|
getObserversCount() {
|
|
25121
25121
|
return this.observers.length;
|
|
@@ -25195,7 +25195,7 @@ var qo, VE, YA = (VE = class {
|
|
|
25195
25195
|
const R = await C(this, Jt).start();
|
|
25196
25196
|
if (R === void 0)
|
|
25197
25197
|
throw new Error(`${this.queryHash} data is undefined`);
|
|
25198
|
-
return this.setData(R), (v = (y = C(this,
|
|
25198
|
+
return this.setData(R), (v = (y = C(this, fr).config).onSuccess) == null || v.call(y, R, this), (b = (w = C(this, fr).config).onSettled) == null || b.call(
|
|
25199
25199
|
w,
|
|
25200
25200
|
R,
|
|
25201
25201
|
this.state.error,
|
|
@@ -25214,11 +25214,11 @@ var qo, VE, YA = (VE = class {
|
|
|
25214
25214
|
throw Pe(this, Vr, Fi).call(this, {
|
|
25215
25215
|
type: "error",
|
|
25216
25216
|
error: R
|
|
25217
|
-
}), (S = (T = C(this,
|
|
25217
|
+
}), (S = (T = C(this, fr).config).onError) == null || S.call(
|
|
25218
25218
|
T,
|
|
25219
25219
|
R,
|
|
25220
25220
|
this
|
|
25221
|
-
), (P = (O = C(this,
|
|
25221
|
+
), (P = (O = C(this, fr).config).onSettled) == null || P.call(
|
|
25222
25222
|
O,
|
|
25223
25223
|
this.state.data,
|
|
25224
25224
|
R,
|
|
@@ -25228,7 +25228,7 @@ var qo, VE, YA = (VE = class {
|
|
|
25228
25228
|
this.scheduleGc();
|
|
25229
25229
|
}
|
|
25230
25230
|
}
|
|
25231
|
-
}, Ko = new WeakMap(), bl = new WeakMap(),
|
|
25231
|
+
}, Ko = new WeakMap(), bl = new WeakMap(), fr = new WeakMap(), Qo = new WeakMap(), Jt = new WeakMap(), kc = new WeakMap(), Yo = new WeakMap(), Vr = new WeakSet(), Fi = function(t) {
|
|
25232
25232
|
const n = (r) => {
|
|
25233
25233
|
switch (t.type) {
|
|
25234
25234
|
case "failed":
|
|
@@ -25295,7 +25295,7 @@ var qo, VE, YA = (VE = class {
|
|
|
25295
25295
|
this.state = n(this.state), _n.batch(() => {
|
|
25296
25296
|
this.observers.forEach((r) => {
|
|
25297
25297
|
r.onQueryUpdate();
|
|
25298
|
-
}), C(this,
|
|
25298
|
+
}), C(this, fr).notify({ query: this, type: "updated", action: t });
|
|
25299
25299
|
});
|
|
25300
25300
|
}, WE);
|
|
25301
25301
|
function I8(e, t) {
|
|
@@ -26038,7 +26038,7 @@ var gi, GE, L8 = (GE = class extends bh {
|
|
|
26038
26038
|
C(this, kt).clear(), C(this, Ha).clear();
|
|
26039
26039
|
}
|
|
26040
26040
|
}, kt = new WeakMap(), Ha = new WeakMap(), Ua = new WeakMap(), wl = new WeakMap(), Sl = new WeakMap(), Ga = new WeakMap(), kl = new WeakMap(), El = new WeakMap(), qE);
|
|
26041
|
-
const D8 = "https://api.wayflyer.com/financing", F8 = "https://sandbox-api.wayflyer.com/financing", B8 = "/v1/company/cta/", z8 = "/v1/company/hosted-application/", j8 = "/v1/company/hosted-application/continue/", V8 = "/v1/company/cta/dismiss/", W8 = "4.8.
|
|
26041
|
+
const D8 = "https://api.wayflyer.com/financing", F8 = "https://sandbox-api.wayflyer.com/financing", B8 = "/v1/company/cta/", z8 = "/v1/company/hosted-application/", j8 = "/v1/company/hosted-application/continue/", V8 = "/v1/company/cta/dismiss/", W8 = "4.8.1";
|
|
26042
26042
|
class H8 extends Error {
|
|
26043
26043
|
constructor(t, n, r) {
|
|
26044
26044
|
super(r || `Request failed: ${t} ${n}`), this.status = t, this.statusText = n, this.name = "ApiError";
|
|
@@ -28953,14 +28953,7 @@ const Xi = I0({
|
|
|
28953
28953
|
"2416e2af-c9f7-40ac-a2f0-f37dcfe59674": Q7,
|
|
28954
28954
|
"94f390bb-5d68-444f-b029-6069a0b33b0e": aV,
|
|
28955
28955
|
"ec45444c-143e-4f74-bcc6-f02f3de1f158": mV
|
|
28956
|
-
}, yV = z7, vV = (e) => {
|
|
28957
|
-
const t = gV[e];
|
|
28958
|
-
if (!t) {
|
|
28959
|
-
const n = `No custom copy bundle for partner="${e}", using generic copy`;
|
|
28960
|
-
er.logError(n);
|
|
28961
|
-
}
|
|
28962
|
-
return t ?? yV;
|
|
28963
|
-
}, rI = Xi.extend({
|
|
28956
|
+
}, yV = z7, vV = (e) => gV[e] ?? yV, rI = Xi.extend({
|
|
28964
28957
|
mainText: ot().trim().min(1).max(160).refine(R0(["amount"]), {
|
|
28965
28958
|
message: "mainText must include {amount}"
|
|
28966
28959
|
}),
|
|
@@ -29021,7 +29014,7 @@ const xV = () => {
|
|
|
29021
29014
|
return R7(vV(n), { language: r });
|
|
29022
29015
|
} catch (i) {
|
|
29023
29016
|
const o = i instanceof Error ? i.message : String(i);
|
|
29024
|
-
|
|
29017
|
+
xr.logError(`Failed to filter CTA copy: ${o}`);
|
|
29025
29018
|
return;
|
|
29026
29019
|
}
|
|
29027
29020
|
}, [n, r]);
|
|
@@ -29044,7 +29037,7 @@ const xV = () => {
|
|
|
29044
29037
|
};
|
|
29045
29038
|
}, Uk = ({ isOnDarkTheme: e, buttonAction: t, buttonText: n }) => {
|
|
29046
29039
|
const { isMobile: r } = fs();
|
|
29047
|
-
return r ? /* @__PURE__ */ V.jsx(
|
|
29040
|
+
return r ? /* @__PURE__ */ V.jsx(yr, { variant: e ? "PrimaryOnInverse" : "Primary", fullWidth: !0, onClick: t, children: n }) : /* @__PURE__ */ V.jsx(qt, { gap: "4", children: /* @__PURE__ */ V.jsx(yr, { variant: e ? "PrimaryOnInverse" : "Primary", fullWidth: !0, onClick: t, children: n }) });
|
|
29048
29041
|
}, SV = ({ mainText: e, isOnDarkTheme: t }) => {
|
|
29049
29042
|
const { isMobile: n } = fs(), r = n ? Rc : w0;
|
|
29050
29043
|
return /* @__PURE__ */ V.jsx(
|
|
@@ -29064,11 +29057,11 @@ const xV = () => {
|
|
|
29064
29057
|
const { onWidgetDismiss: t } = Ti(), { isMobile: n } = fs(), r = t7(), i = () => {
|
|
29065
29058
|
t(), r.mutate(void 0, {
|
|
29066
29059
|
onError: (o) => {
|
|
29067
|
-
|
|
29060
|
+
xr.logError(`Failed to dismiss CTA ${o.message}`);
|
|
29068
29061
|
}
|
|
29069
29062
|
});
|
|
29070
29063
|
};
|
|
29071
|
-
return n ? /* @__PURE__ */ V.jsx(kV, { children: /* @__PURE__ */ V.jsx(
|
|
29064
|
+
return n ? /* @__PURE__ */ V.jsx(kV, { children: /* @__PURE__ */ V.jsx(yr, { onClick: i, variant: e ? "TertiaryOnInverse" : "Tertiary", children: /* @__PURE__ */ V.jsx(qt, { padding: "2", children: /* @__PURE__ */ V.jsx(hy, {}) }) }) }) : /* @__PURE__ */ V.jsx(yr, { onClick: i, variant: e ? "TertiaryOnInverse" : "Tertiary", children: /* @__PURE__ */ V.jsx(qt, { padding: "2", children: /* @__PURE__ */ V.jsx(hy, {}) }) });
|
|
29072
29065
|
}, EV = ({ isOnDarkTheme: e, bulletPoints: t }) => {
|
|
29073
29066
|
const { isMobile: n, isTablet: r } = fs();
|
|
29074
29067
|
return /* @__PURE__ */ V.jsx(V.Fragment, { children: !(r || n) && t && /* @__PURE__ */ V.jsx(qt, { gap: "4", children: t.map((i) => /* @__PURE__ */ V.jsxs(qt, { gap: "1", align: "center", children: [
|
|
@@ -30948,7 +30941,7 @@ function Ei(e, t, n, r) {
|
|
|
30948
30941
|
for (n && e.splice(t, n); o < r.length; )
|
|
30949
30942
|
l = r.slice(o, o + 1e4), l.unshift(t, 0), e.splice(...l), o += 1e4, t += 1e4;
|
|
30950
30943
|
}
|
|
30951
|
-
function
|
|
30944
|
+
function hr(e, t) {
|
|
30952
30945
|
return e.length > 0 ? (Ei(e, e.length, 0, t), e) : t;
|
|
30953
30946
|
}
|
|
30954
30947
|
const aE = {}.hasOwnProperty;
|
|
@@ -31273,7 +31266,7 @@ function OW(e, t) {
|
|
|
31273
31266
|
...l.start
|
|
31274
31267
|
}, e[n][1].start = {
|
|
31275
31268
|
...u.end
|
|
31276
|
-
}, f = [], e[r][1].end.offset - e[r][1].start.offset && (f =
|
|
31269
|
+
}, f = [], e[r][1].end.offset - e[r][1].start.offset && (f = hr(f, [["enter", e[r][1], t], ["exit", e[r][1], t]])), f = hr(f, [["enter", i, t], ["enter", l, t], ["exit", l, t], ["enter", o, t]]), f = hr(f, B0(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), f = hr(f, [["exit", o, t], ["enter", u, t], ["exit", u, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (p = 2, f = hr(f, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : p = 0, Ei(e, r - 1, n - r + 3, f), n = r + f.length - p - 2;
|
|
31277
31270
|
break;
|
|
31278
31271
|
}
|
|
31279
31272
|
}
|
|
@@ -32420,7 +32413,7 @@ function _H(e, t) {
|
|
|
32420
32413
|
...e[l - 2][1].start
|
|
32421
32414
|
}
|
|
32422
32415
|
};
|
|
32423
|
-
return u = [["enter", d, t], ["enter", f, t]], u =
|
|
32416
|
+
return u = [["enter", d, t], ["enter", f, t]], u = hr(u, e.slice(o + 1, o + r + 3)), u = hr(u, [["enter", p, t]]), u = hr(u, B0(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, l - 3), t)), u = hr(u, [["exit", p, t], e[l - 2], e[l - 1], ["exit", f, t]]), u = hr(u, e.slice(l + 1)), u = hr(u, [["exit", d, t]]), Ei(e, o, e.length, u), e;
|
|
32424
32417
|
}
|
|
32425
32418
|
function AH(e, t, n) {
|
|
32426
32419
|
const r = this;
|
|
@@ -32912,7 +32905,7 @@ function cU(e, t, n) {
|
|
|
32912
32905
|
let p = t.tokenize.call(f, d);
|
|
32913
32906
|
return t.resolveAll && o.push(t), f;
|
|
32914
32907
|
function m(q) {
|
|
32915
|
-
return l =
|
|
32908
|
+
return l = hr(l, q), T(), l[l.length - 1] !== null ? [] : (D(t, 0), f.events = B0(o, f.events, f), f.events);
|
|
32916
32909
|
}
|
|
32917
32910
|
function y(q, ee) {
|
|
32918
32911
|
return fU(v(q), ee);
|
|
@@ -33202,9 +33195,9 @@ function bU(e) {
|
|
|
33202
33195
|
emphasis: o(Ci),
|
|
33203
33196
|
hardBreakEscape: o(Ji),
|
|
33204
33197
|
hardBreakTrailing: o(Ji),
|
|
33205
|
-
htmlFlow: o(
|
|
33198
|
+
htmlFlow: o(er, l),
|
|
33206
33199
|
htmlFlowData: H,
|
|
33207
|
-
htmlText: o(
|
|
33200
|
+
htmlText: o(er, l),
|
|
33208
33201
|
htmlTextData: H,
|
|
33209
33202
|
image: o(uo),
|
|
33210
33203
|
label: l,
|
|
@@ -33352,25 +33345,25 @@ function bU(e) {
|
|
|
33352
33345
|
}
|
|
33353
33346
|
if (!Ve && At[0] === "enter" && At[1].type === "listItemPrefix" || Ve === -1 && At[0] === "exit" && (At[1].type === "listUnordered" || At[1].type === "listOrdered")) {
|
|
33354
33347
|
if (un) {
|
|
33355
|
-
let
|
|
33356
|
-
for ($n = void 0;
|
|
33357
|
-
const en = Q[
|
|
33348
|
+
let tr = ze;
|
|
33349
|
+
for ($n = void 0; tr--; ) {
|
|
33350
|
+
const en = Q[tr];
|
|
33358
33351
|
if (en[1].type === "lineEnding" || en[1].type === "lineEndingBlank") {
|
|
33359
33352
|
if (en[0] === "exit") continue;
|
|
33360
|
-
$n && (Q[$n][1].type = "lineEndingBlank", _t = !0), en[1].type = "lineEnding", $n =
|
|
33353
|
+
$n && (Q[$n][1].type = "lineEndingBlank", _t = !0), en[1].type = "lineEnding", $n = tr;
|
|
33361
33354
|
} else if (!(en[1].type === "linePrefix" || en[1].type === "blockQuotePrefix" || en[1].type === "blockQuotePrefixWhitespace" || en[1].type === "blockQuoteMarker" || en[1].type === "listItemIndent")) break;
|
|
33362
33355
|
}
|
|
33363
33356
|
ei && (!$n || ei < $n) && (un._spread = !0), un.end = Object.assign({}, $n ? Q[$n][1].start : At[1].end), Q.splice($n || ze, 0, ["exit", un, At[2]]), ze++, $e++;
|
|
33364
33357
|
}
|
|
33365
33358
|
if (At[1].type === "listItemPrefix") {
|
|
33366
|
-
const
|
|
33359
|
+
const tr = {
|
|
33367
33360
|
type: "listItem",
|
|
33368
33361
|
_spread: !1,
|
|
33369
33362
|
start: Object.assign({}, At[1].start),
|
|
33370
33363
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
33371
33364
|
end: void 0
|
|
33372
33365
|
};
|
|
33373
|
-
un =
|
|
33366
|
+
un = tr, Q.splice(ze, 0, ["enter", tr, At[2]]), ze++, $e++, ei = void 0, ti = !0;
|
|
33374
33367
|
}
|
|
33375
33368
|
}
|
|
33376
33369
|
}
|
|
@@ -33628,7 +33621,7 @@ function bU(e) {
|
|
|
33628
33621
|
type: "break"
|
|
33629
33622
|
};
|
|
33630
33623
|
}
|
|
33631
|
-
function
|
|
33624
|
+
function er() {
|
|
33632
33625
|
return {
|
|
33633
33626
|
type: "html",
|
|
33634
33627
|
value: ""
|
|
@@ -35762,7 +35755,7 @@ function jG(e) {
|
|
|
35762
35755
|
}
|
|
35763
35756
|
const VG = ({ templateString: e }) => {
|
|
35764
35757
|
const n = s8(e, "https://wayflyer.com/en/privacy-notice", "termsUrl"), r = () => {
|
|
35765
|
-
|
|
35758
|
+
xr.logEvent("cta_open_privacy_note"), window.open("https://wayflyer.com/en/privacy-notice", "_blank", "noopener,noreferrer");
|
|
35766
35759
|
};
|
|
35767
35760
|
return /* @__PURE__ */ V.jsx(
|
|
35768
35761
|
DG,
|
|
@@ -35776,18 +35769,18 @@ const VG = ({ templateString: e }) => {
|
|
|
35776
35769
|
);
|
|
35777
35770
|
}, WG = ({ button: e, termsAndConditions: t, setIsModalOpen: n }) => {
|
|
35778
35771
|
const { isMobile: r } = fs(), { mutate: i, isPending: o } = X8(), l = J8(), u = () => {
|
|
35779
|
-
|
|
35772
|
+
xr.logEvent("cta_start_hosted_application"), i(void 0, {
|
|
35780
35773
|
onSuccess: (d) => {
|
|
35781
35774
|
const { next: f } = d;
|
|
35782
35775
|
window.open(f), n(!1);
|
|
35783
35776
|
},
|
|
35784
35777
|
onError: (d) => {
|
|
35785
|
-
|
|
35778
|
+
xr.logError(`Failed to start application ${d.message}`);
|
|
35786
35779
|
}
|
|
35787
35780
|
});
|
|
35788
35781
|
};
|
|
35789
35782
|
return /* @__PURE__ */ V.jsxs(qt, { direction: "column", gap: "3", children: [
|
|
35790
|
-
/* @__PURE__ */ V.jsx(qt, { gap: "2", direction: l || r ? "column" : "row", children: /* @__PURE__ */ V.jsxs(
|
|
35783
|
+
/* @__PURE__ */ V.jsx(qt, { gap: "2", direction: l || r ? "column" : "row", children: /* @__PURE__ */ V.jsxs(yr, { fullWidth: !0, onClick: u, loading: o, variant: "Primary", external: !0, children: [
|
|
35791
35784
|
e,
|
|
35792
35785
|
!o && /* @__PURE__ */ V.jsx(Qv, {})
|
|
35793
35786
|
] }) }),
|
|
@@ -35853,11 +35846,11 @@ const VG = ({ templateString: e }) => {
|
|
|
35853
35846
|
),
|
|
35854
35847
|
/* @__PURE__ */ V.jsxs(V6, { role: "dialog", "aria-labelledby": r, children: [
|
|
35855
35848
|
/* @__PURE__ */ V.jsx("div", { style: { position: "absolute", right: "10px", top: "10px" }, children: /* @__PURE__ */ V.jsx(
|
|
35856
|
-
|
|
35849
|
+
yr,
|
|
35857
35850
|
{
|
|
35858
35851
|
variant: "Tertiary",
|
|
35859
35852
|
onClick: () => {
|
|
35860
|
-
t(!1),
|
|
35853
|
+
t(!1), xr.logEvent("modal_window_closed");
|
|
35861
35854
|
},
|
|
35862
35855
|
children: /* @__PURE__ */ V.jsx(qt, { padding: "2", children: /* @__PURE__ */ V.jsx(hy, {}) })
|
|
35863
35856
|
}
|
|
@@ -35917,7 +35910,7 @@ const VG = ({ templateString: e }) => {
|
|
|
35917
35910
|
mountToTargetTimestamp: o
|
|
35918
35911
|
}) => {
|
|
35919
35912
|
const [l, u] = E.useState(!1), [d, f] = E.useState(!1), p = () => {
|
|
35920
|
-
f(!0),
|
|
35913
|
+
f(!0), xr.logEvent("ui_sdk_banner_dismissed");
|
|
35921
35914
|
};
|
|
35922
35915
|
return /* @__PURE__ */ V.jsx(c4, { client: JG, children: /* @__PURE__ */ V.jsx(
|
|
35923
35916
|
WA.Provider,
|
|
@@ -35939,12 +35932,12 @@ const VG = ({ templateString: e }) => {
|
|
|
35939
35932
|
themeOverrides: I4({
|
|
35940
35933
|
partnerId: VA(e),
|
|
35941
35934
|
onError: () => {
|
|
35942
|
-
|
|
35935
|
+
xr.logError(`Error while loading theme overridesfor partner: ${e}`);
|
|
35943
35936
|
}
|
|
35944
35937
|
}),
|
|
35945
35938
|
onThemeLoad: () => u(!0),
|
|
35946
35939
|
onThemeLoadError: () => {
|
|
35947
|
-
|
|
35940
|
+
xr.logError(`Error while loading theme for partner: ${e}`);
|
|
35948
35941
|
},
|
|
35949
35942
|
children: l && /* @__PURE__ */ V.jsx(XG, {})
|
|
35950
35943
|
}
|
|
@@ -35957,7 +35950,7 @@ const VG = ({ templateString: e }) => {
|
|
|
35957
35950
|
...r,
|
|
35958
35951
|
sdk_version: jA
|
|
35959
35952
|
};
|
|
35960
|
-
|
|
35953
|
+
xr.logEvent(n, i);
|
|
35961
35954
|
};
|
|
35962
35955
|
return /* @__PURE__ */ V.jsx(HA.Provider, { value: { logEvent: t }, children: e });
|
|
35963
35956
|
};
|