@myxtra/authentication-green 1.7.2 → 1.7.4
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, j as n, g as wt, u as Q, a as Qe, b as _t, E as Rt } from "./index-
|
|
1
|
+
import { r as d, j as n, g as wt, u as Q, a as Qe, b as _t, E as Rt } from "./index-7c8ad3aa.mjs";
|
|
2
2
|
class H {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
@@ -2985,22 +2985,32 @@ const B = ({
|
|
|
2985
2985
|
};
|
|
2986
2986
|
const Ar = () => {
|
|
2987
2987
|
const { t } = Q(), { loginUrl: e } = $(), s = Qe(), { position: r } = Re();
|
|
2988
|
-
return /* @__PURE__ */ n.jsxs(
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
2988
|
+
return /* @__PURE__ */ n.jsxs(
|
|
2989
|
+
L,
|
|
2990
|
+
{
|
|
2991
|
+
type: "nav",
|
|
2992
|
+
id: "xtra-menu",
|
|
2993
|
+
position: r,
|
|
2994
|
+
className: "menu--unauthenticated",
|
|
2995
|
+
"aria-label": t("xtraMenuAriaLabel"),
|
|
2996
|
+
children: [
|
|
2997
|
+
/* @__PURE__ */ n.jsx(L.Trigger, { className: O("button", "button--neutral", "button--authentication"), children: /* @__PURE__ */ n.jsxs("button", { children: [
|
|
2998
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(_e, { width: 24, height: 24, suffix: "mobile" }) }),
|
|
2999
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(we, {}) })
|
|
3000
|
+
] }) }),
|
|
3001
|
+
/* @__PURE__ */ n.jsxs(L.Content, { children: [
|
|
3002
|
+
/* @__PURE__ */ n.jsx(L.Item, { children: /* @__PURE__ */ n.jsxs("a", { href: e, className: "button button--with-icon", children: [
|
|
3003
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(ks, {}) }),
|
|
3004
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("login") })
|
|
3005
|
+
] }) }),
|
|
3006
|
+
/* @__PURE__ */ n.jsx(L.Item, { children: /* @__PURE__ */ n.jsxs("a", { href: `${s}/onboarding/register`, className: "button button--with-icon", children: [
|
|
3007
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Bs, {}) }),
|
|
3008
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("register") })
|
|
3009
|
+
] }) })
|
|
3010
|
+
] })
|
|
3011
|
+
]
|
|
3012
|
+
}
|
|
3013
|
+
);
|
|
3004
3014
|
};
|
|
3005
3015
|
var T = /* @__PURE__ */ ((t) => (t.Authenticated = "authenticated", t.NotAuthenticated = "notAuthenticated", t.Pending = "pending", t))(T || {});
|
|
3006
3016
|
const Nr = () => {
|
|
@@ -8,7 +8,7 @@ var eo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
var yr = Symbol.for("react.element"), Hd = Symbol.for("react.portal"), Md = Symbol.for("react.fragment"), zd = Symbol.for("react.strict_mode"), xd = Symbol.for("react.profiler"),
|
|
11
|
+
var yr = Symbol.for("react.element"), Hd = Symbol.for("react.portal"), Md = Symbol.for("react.fragment"), zd = Symbol.for("react.strict_mode"), xd = Symbol.for("react.profiler"), Jd = Symbol.for("react.provider"), Td = Symbol.for("react.context"), Dd = Symbol.for("react.forward_ref"), Qd = Symbol.for("react.suspense"), Ed = Symbol.for("react.memo"), Ud = Symbol.for("react.lazy"), Ga = Symbol.iterator;
|
|
12
12
|
function Pd(e) {
|
|
13
13
|
return e === null || typeof e != "object" ? null : (e = Ga && e[Ga] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
14
14
|
}
|
|
@@ -180,7 +180,7 @@ k.cloneElement = function(e, t, n) {
|
|
|
180
180
|
return { $$typeof: yr, type: e.type, key: i, ref: o, props: r, _owner: l };
|
|
181
181
|
};
|
|
182
182
|
k.createContext = function(e) {
|
|
183
|
-
return e = { $$typeof:
|
|
183
|
+
return e = { $$typeof: Td, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: Jd, _context: e }, e.Consumer = e;
|
|
184
184
|
};
|
|
185
185
|
k.createElement = ys;
|
|
186
186
|
k.createFactory = function(e) {
|
|
@@ -1397,7 +1397,7 @@ function za(e, t, n) {
|
|
|
1397
1397
|
function Fo(e, t, n) {
|
|
1398
1398
|
(t !== "number" || li(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n));
|
|
1399
1399
|
}
|
|
1400
|
-
var
|
|
1400
|
+
var Jn = Array.isArray;
|
|
1401
1401
|
function hn(e, t, n, r) {
|
|
1402
1402
|
if (e = e.options, t) {
|
|
1403
1403
|
t = {};
|
|
@@ -1427,7 +1427,7 @@ function xa(e, t) {
|
|
|
1427
1427
|
if (n = t.children, t = t.defaultValue, n != null) {
|
|
1428
1428
|
if (t != null)
|
|
1429
1429
|
throw Error(b(92));
|
|
1430
|
-
if (
|
|
1430
|
+
if (Jn(n)) {
|
|
1431
1431
|
if (1 < n.length)
|
|
1432
1432
|
throw Error(b(93));
|
|
1433
1433
|
n = n[0];
|
|
@@ -1442,7 +1442,7 @@ function Ms(e, t) {
|
|
|
1442
1442
|
var n = Nt(t.value), r = Nt(t.defaultValue);
|
|
1443
1443
|
n != null && (n = "" + n, n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r);
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function Ja(e) {
|
|
1446
1446
|
var t = e.textContent;
|
|
1447
1447
|
t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t);
|
|
1448
1448
|
}
|
|
@@ -1529,27 +1529,27 @@ var Qn = {
|
|
|
1529
1529
|
strokeMiterlimit: !0,
|
|
1530
1530
|
strokeOpacity: !0,
|
|
1531
1531
|
strokeWidth: !0
|
|
1532
|
-
},
|
|
1532
|
+
}, Jg = ["Webkit", "ms", "Moz", "O"];
|
|
1533
1533
|
Object.keys(Qn).forEach(function(e) {
|
|
1534
|
-
|
|
1534
|
+
Jg.forEach(function(t) {
|
|
1535
1535
|
t = t + e.charAt(0).toUpperCase() + e.substring(1), Qn[t] = Qn[e];
|
|
1536
1536
|
});
|
|
1537
1537
|
});
|
|
1538
|
-
function
|
|
1538
|
+
function Js(e, t, n) {
|
|
1539
1539
|
return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || Qn.hasOwnProperty(e) && Qn[e] ? ("" + t).trim() : t + "px";
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function Ts(e, t) {
|
|
1542
1542
|
e = e.style;
|
|
1543
1543
|
for (var n in t)
|
|
1544
1544
|
if (t.hasOwnProperty(n)) {
|
|
1545
|
-
var r = n.indexOf("--") === 0, i =
|
|
1545
|
+
var r = n.indexOf("--") === 0, i = Js(n, t[n], r);
|
|
1546
1546
|
n === "float" && (n = "cssFloat"), r ? e.setProperty(n, i) : e[n] = i;
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
var
|
|
1549
|
+
var Tg = x({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
|
|
1550
1550
|
function zo(e, t) {
|
|
1551
1551
|
if (t) {
|
|
1552
|
-
if (
|
|
1552
|
+
if (Tg[e] && (t.children != null || t.dangerouslySetInnerHTML != null))
|
|
1553
1553
|
throw Error(b(137, e));
|
|
1554
1554
|
if (t.dangerouslySetInnerHTML != null) {
|
|
1555
1555
|
if (t.children != null)
|
|
@@ -1578,17 +1578,17 @@ function xo(e, t) {
|
|
|
1578
1578
|
return !0;
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
var
|
|
1581
|
+
var Jo = null;
|
|
1582
1582
|
function jl(e) {
|
|
1583
1583
|
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
|
|
1584
1584
|
}
|
|
1585
|
-
var
|
|
1586
|
-
function
|
|
1585
|
+
var To = null, Cn = null, In = null;
|
|
1586
|
+
function Ta(e) {
|
|
1587
1587
|
if (e = Zr(e)) {
|
|
1588
|
-
if (typeof
|
|
1588
|
+
if (typeof To != "function")
|
|
1589
1589
|
throw Error(b(280));
|
|
1590
1590
|
var t = e.stateNode;
|
|
1591
|
-
t && (t = ji(t),
|
|
1591
|
+
t && (t = ji(t), To(e.stateNode, e.type, t));
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
function Ds(e) {
|
|
@@ -1597,9 +1597,9 @@ function Ds(e) {
|
|
|
1597
1597
|
function Qs() {
|
|
1598
1598
|
if (Cn) {
|
|
1599
1599
|
var e = Cn, t = In;
|
|
1600
|
-
if (In = Cn = null,
|
|
1600
|
+
if (In = Cn = null, Ta(e), t)
|
|
1601
1601
|
for (e = 0; e < t.length; e++)
|
|
1602
|
-
|
|
1602
|
+
Ta(t[e]);
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
1605
|
function Es(e, t) {
|
|
@@ -1789,7 +1789,7 @@ function qs(e) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
return null;
|
|
1791
1791
|
}
|
|
1792
|
-
var ec = We.unstable_scheduleCallback, Qa = We.unstable_cancelCallback, _g = We.unstable_shouldYield, $g = We.unstable_requestPaint,
|
|
1792
|
+
var ec = We.unstable_scheduleCallback, Qa = We.unstable_cancelCallback, _g = We.unstable_shouldYield, $g = We.unstable_requestPaint, T = We.unstable_now, qg = We.unstable_getCurrentPriorityLevel, Fl = We.unstable_ImmediatePriority, tc = We.unstable_UserBlockingPriority, si = We.unstable_NormalPriority, ef = We.unstable_LowPriority, nc = We.unstable_IdlePriority, Bi = null, Ue = null;
|
|
1793
1793
|
function tf(e) {
|
|
1794
1794
|
if (Ue && typeof Ue.onCommitFiberRoot == "function")
|
|
1795
1795
|
try {
|
|
@@ -1802,7 +1802,7 @@ function of(e) {
|
|
|
1802
1802
|
return e >>>= 0, e === 0 ? 32 : 31 - (nf(e) / rf | 0) | 0;
|
|
1803
1803
|
}
|
|
1804
1804
|
var Sr = 64, kr = 4194304;
|
|
1805
|
-
function
|
|
1805
|
+
function Tn(e) {
|
|
1806
1806
|
switch (e & -e) {
|
|
1807
1807
|
case 1:
|
|
1808
1808
|
return 1;
|
|
@@ -1858,9 +1858,9 @@ function ci(e, t) {
|
|
|
1858
1858
|
var r = 0, i = e.suspendedLanes, o = e.pingedLanes, l = n & 268435455;
|
|
1859
1859
|
if (l !== 0) {
|
|
1860
1860
|
var a = l & ~i;
|
|
1861
|
-
a !== 0 ? r =
|
|
1861
|
+
a !== 0 ? r = Tn(a) : (o &= l, o !== 0 && (r = Tn(o)));
|
|
1862
1862
|
} else
|
|
1863
|
-
l = n & ~i, l !== 0 ? r =
|
|
1863
|
+
l = n & ~i, l !== 0 ? r = Tn(l) : o !== 0 && (r = Tn(o));
|
|
1864
1864
|
if (r === 0)
|
|
1865
1865
|
return 0;
|
|
1866
1866
|
if (t !== 0 && t !== r && !(t & i) && (i = r & -r, o = t & -t, i >= o || i === 16 && (o & 4194240) !== 0))
|
|
@@ -2023,7 +2023,7 @@ function Er(e) {
|
|
|
2023
2023
|
if (n === null) {
|
|
2024
2024
|
n = e.nativeEvent;
|
|
2025
2025
|
var r = new n.constructor(n.type, n);
|
|
2026
|
-
|
|
2026
|
+
Jo = r, n.target.dispatchEvent(r), Jo = null;
|
|
2027
2027
|
} else
|
|
2028
2028
|
return t = Zr(n), t !== null && Ml(t), e.blockedOn = n, !1;
|
|
2029
2029
|
t.shift();
|
|
@@ -2243,7 +2243,7 @@ function Ge(e) {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
var Nn = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
2245
2245
|
return e.timeStamp || Date.now();
|
|
2246
|
-
}, defaultPrevented: 0, isTrusted: 0 },
|
|
2246
|
+
}, defaultPrevented: 0, isTrusted: 0 }, Jl = Ge(Nn), wr = x({}, Nn, { view: 0, detail: 0 }), pf = Ge(wr), uo, so, Kn, Oi = x({}, wr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Tl, button: 0, buttons: 0, relatedTarget: function(e) {
|
|
2247
2247
|
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
2248
2248
|
}, movementX: function(e) {
|
|
2249
2249
|
return "movementX" in e ? e.movementX : (e !== Kn && (Kn && e.type === "mousemove" ? (uo = e.screenX - Kn.screenX, so = e.screenY - Kn.screenY) : so = uo = 0, Kn = e), uo);
|
|
@@ -2306,7 +2306,7 @@ function Gf(e) {
|
|
|
2306
2306
|
var t = this.nativeEvent;
|
|
2307
2307
|
return t.getModifierState ? t.getModifierState(e) : (e = Lf[e]) ? !!t[e] : !1;
|
|
2308
2308
|
}
|
|
2309
|
-
function
|
|
2309
|
+
function Tl() {
|
|
2310
2310
|
return Gf;
|
|
2311
2311
|
}
|
|
2312
2312
|
var Xf = x({}, wr, { key: function(e) {
|
|
@@ -2316,13 +2316,13 @@ var Xf = x({}, wr, { key: function(e) {
|
|
|
2316
2316
|
return t;
|
|
2317
2317
|
}
|
|
2318
2318
|
return e.type === "keypress" ? (e = Pr(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Wf[e.keyCode] || "Unidentified" : "";
|
|
2319
|
-
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState:
|
|
2319
|
+
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Tl, charCode: function(e) {
|
|
2320
2320
|
return e.type === "keypress" ? Pr(e) : 0;
|
|
2321
2321
|
}, keyCode: function(e) {
|
|
2322
2322
|
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
2323
2323
|
}, which: function(e) {
|
|
2324
2324
|
return e.type === "keypress" ? Pr(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
2325
|
-
} }), Yf = Ge(Xf), Af = x({}, Oi, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), qa = Ge(Af), Nf = x({}, wr, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState:
|
|
2325
|
+
} }), Yf = Ge(Xf), Af = x({}, Oi, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), qa = Ge(Af), Nf = x({}, wr, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Tl }), Sf = Ge(Nf), kf = x({}, Nn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Rf = Ge(kf), Bf = x({}, Oi, {
|
|
2326
2326
|
deltaX: function(e) {
|
|
2327
2327
|
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
|
2328
2328
|
},
|
|
@@ -2390,7 +2390,7 @@ function nu(e) {
|
|
|
2390
2390
|
return t === "input" ? !!Hf[e.type] : t === "textarea";
|
|
2391
2391
|
}
|
|
2392
2392
|
function mc(e, t, n, r) {
|
|
2393
|
-
Ds(r), t = fi(t, "onChange"), 0 < t.length && (n = new
|
|
2393
|
+
Ds(r), t = fi(t, "onChange"), 0 < t.length && (n = new Jl("onChange", "change", null, n, r), e.push({ event: n, listeners: t }));
|
|
2394
2394
|
}
|
|
2395
2395
|
var Pn = null, sr = null;
|
|
2396
2396
|
function Mf(e) {
|
|
@@ -2431,11 +2431,11 @@ function Cc(e) {
|
|
|
2431
2431
|
function xf(e, t, n) {
|
|
2432
2432
|
e === "focusin" ? (iu(), Pn = t, sr = n, Pn.attachEvent("onpropertychange", Cc)) : e === "focusout" && iu();
|
|
2433
2433
|
}
|
|
2434
|
-
function
|
|
2434
|
+
function Jf(e) {
|
|
2435
2435
|
if (e === "selectionchange" || e === "keyup" || e === "keydown")
|
|
2436
2436
|
return Ki(sr);
|
|
2437
2437
|
}
|
|
2438
|
-
function
|
|
2438
|
+
function Tf(e, t) {
|
|
2439
2439
|
if (e === "click")
|
|
2440
2440
|
return Ki(t);
|
|
2441
2441
|
}
|
|
@@ -2537,7 +2537,7 @@ function Ef(e) {
|
|
|
2537
2537
|
var Uf = ut && "documentMode" in document && 11 >= document.documentMode, an = null, _o = null, _n = null, $o = !1;
|
|
2538
2538
|
function au(e, t, n) {
|
|
2539
2539
|
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
|
|
2540
|
-
$o || an == null || an !== li(r) || (r = an, "selectionStart" in r && Ql(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), _n && cr(_n, r) || (_n = r, r = fi(_o, "onSelect"), 0 < r.length && (t = new
|
|
2540
|
+
$o || an == null || an !== li(r) || (r = an, "selectionStart" in r && Ql(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), _n && cr(_n, r) || (_n = r, r = fi(_o, "onSelect"), 0 < r.length && (t = new Jl("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = an)));
|
|
2541
2541
|
}
|
|
2542
2542
|
function Or(e, t) {
|
|
2543
2543
|
var n = {};
|
|
@@ -2680,7 +2680,7 @@ function Io(e, t, n, r, i) {
|
|
|
2680
2680
|
e: {
|
|
2681
2681
|
var f = Lc.get(e);
|
|
2682
2682
|
if (f !== void 0) {
|
|
2683
|
-
var h =
|
|
2683
|
+
var h = Jl, C = e;
|
|
2684
2684
|
switch (e) {
|
|
2685
2685
|
case "keypress":
|
|
2686
2686
|
if (Pr(n) === 0)
|
|
@@ -2771,7 +2771,7 @@ function Io(e, t, n, r, i) {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
if (!(t & 7)) {
|
|
2773
2773
|
e: {
|
|
2774
|
-
if (f = e === "mouseover" || e === "pointerover", h = e === "mouseout" || e === "pointerout", f && n !==
|
|
2774
|
+
if (f = e === "mouseover" || e === "pointerover", h = e === "mouseout" || e === "pointerout", f && n !== Jo && (C = n.relatedTarget || n.fromElement) && (Ft(C) || C[st]))
|
|
2775
2775
|
break e;
|
|
2776
2776
|
if ((h || f) && (f = p.window === p ? p : (f = p.ownerDocument) ? f.defaultView || f.parentWindow : window, h ? (C = n.relatedTarget || n.toElement, h = c, C = C ? Ft(C) : null, C !== null && (w = Pt(C), C !== w || C.tag !== 5 && C.tag !== 6) && (C = null)) : (h = null, C = c), h !== C)) {
|
|
2777
2777
|
if (v = _a, I = "onMouseLeave", d = "onMouseEnter", s = "mouse", (e === "pointerout" || e === "pointerover") && (v = qa, I = "onPointerLeave", d = "onPointerEnter", s = "pointer"), w = h == null ? f : sn(h), m = C == null ? f : sn(C), f = new v(I, s + "leave", h, n, p), f.target = w, f.relatedTarget = m, I = null, Ft(p) === c && (v = new v(d, s + "enter", C, n, p), v.target = m, v.relatedTarget = w, I = v), w = I, h && C)
|
|
@@ -2803,11 +2803,11 @@ function Io(e, t, n, r, i) {
|
|
|
2803
2803
|
if (hc)
|
|
2804
2804
|
y = Df;
|
|
2805
2805
|
else {
|
|
2806
|
-
y =
|
|
2806
|
+
y = Jf;
|
|
2807
2807
|
var Z = xf;
|
|
2808
2808
|
}
|
|
2809
2809
|
else
|
|
2810
|
-
(h = f.nodeName) && h.toLowerCase() === "input" && (f.type === "checkbox" || f.type === "radio") && (y =
|
|
2810
|
+
(h = f.nodeName) && h.toLowerCase() === "input" && (f.type === "checkbox" || f.type === "radio") && (y = Tf);
|
|
2811
2811
|
if (y && (y = y(e, c))) {
|
|
2812
2812
|
mc(g, y, n, p);
|
|
2813
2813
|
break e;
|
|
@@ -2996,7 +2996,7 @@ function F(e) {
|
|
|
2996
2996
|
function V(e, t) {
|
|
2997
2997
|
cn++, il[cn] = e.current, e.current = t;
|
|
2998
2998
|
}
|
|
2999
|
-
var St = {}, ae = Bt(St), me = Bt(!1),
|
|
2999
|
+
var St = {}, ae = Bt(St), me = Bt(!1), Jt = St;
|
|
3000
3000
|
function Zn(e, t) {
|
|
3001
3001
|
var n = e.type.contextTypes;
|
|
3002
3002
|
if (!n)
|
|
@@ -3031,13 +3031,13 @@ function Yc(e, t, n) {
|
|
|
3031
3031
|
return x({}, n, r);
|
|
3032
3032
|
}
|
|
3033
3033
|
function hi(e) {
|
|
3034
|
-
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || St,
|
|
3034
|
+
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || St, Jt = ae.current, V(ae, e), V(me, me.current), !0;
|
|
3035
3035
|
}
|
|
3036
3036
|
function mu(e, t, n) {
|
|
3037
3037
|
var r = e.stateNode;
|
|
3038
3038
|
if (!r)
|
|
3039
3039
|
throw Error(b(169));
|
|
3040
|
-
n ? (e = Yc(e, t,
|
|
3040
|
+
n ? (e = Yc(e, t, Jt), r.__reactInternalMemoizedMergedChildContext = e, F(me), F(ae), V(ae, e)) : F(me), V(me, n);
|
|
3041
3041
|
}
|
|
3042
3042
|
var it = null, Fi = !1, yo = !1;
|
|
3043
3043
|
function Ac(e) {
|
|
@@ -3067,12 +3067,12 @@ function Ot() {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
return null;
|
|
3069
3069
|
}
|
|
3070
|
-
var dn = [], gn = 0, Ci = null, Ii = 0, Xe = [], Ye = 0,
|
|
3070
|
+
var dn = [], gn = 0, Ci = null, Ii = 0, Xe = [], Ye = 0, Tt = null, ot = 1, lt = "";
|
|
3071
3071
|
function Vt(e, t) {
|
|
3072
3072
|
dn[gn++] = Ii, dn[gn++] = Ci, Ci = e, Ii = t;
|
|
3073
3073
|
}
|
|
3074
3074
|
function Nc(e, t, n) {
|
|
3075
|
-
Xe[Ye++] = ot, Xe[Ye++] = lt, Xe[Ye++] =
|
|
3075
|
+
Xe[Ye++] = ot, Xe[Ye++] = lt, Xe[Ye++] = Tt, Tt = e;
|
|
3076
3076
|
var r = ot;
|
|
3077
3077
|
e = lt;
|
|
3078
3078
|
var i = 32 - He(r) - 1;
|
|
@@ -3090,8 +3090,8 @@ function El(e) {
|
|
|
3090
3090
|
function Ul(e) {
|
|
3091
3091
|
for (; e === Ci; )
|
|
3092
3092
|
Ci = dn[--gn], dn[gn] = null, Ii = dn[--gn], dn[gn] = null;
|
|
3093
|
-
for (; e ===
|
|
3094
|
-
|
|
3093
|
+
for (; e === Tt; )
|
|
3094
|
+
Tt = Xe[--Ye], Xe[Ye] = null, lt = Xe[--Ye], Xe[Ye] = null, ot = Xe[--Ye], Xe[Ye] = null;
|
|
3095
3095
|
}
|
|
3096
3096
|
var Ze = null, be = null, H = !1, Fe = null;
|
|
3097
3097
|
function Sc(e, t) {
|
|
@@ -3106,7 +3106,7 @@ function hu(e, t) {
|
|
|
3106
3106
|
case 6:
|
|
3107
3107
|
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, Ze = e, be = null, !0) : !1;
|
|
3108
3108
|
case 13:
|
|
3109
|
-
return t = t.nodeType !== 8 ? null : t, t !== null ? (n =
|
|
3109
|
+
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = Tt !== null ? { id: ot, overflow: lt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = Ae(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, Ze = e, be = null, !0) : !1;
|
|
3110
3110
|
default:
|
|
3111
3111
|
return !1;
|
|
3112
3112
|
}
|
|
@@ -3382,7 +3382,7 @@ function yu(e, t, n, r, i, o, l) {
|
|
|
3382
3382
|
}
|
|
3383
3383
|
function Kc(e, t, n) {
|
|
3384
3384
|
var r = !1, i = St, o = t.contextType;
|
|
3385
|
-
return typeof o == "object" && o !== null ? o = Se(o) : (i = he(t) ?
|
|
3385
|
+
return typeof o == "object" && o !== null ? o = Se(o) : (i = he(t) ? Jt : ae.current, r = t.contextTypes, o = (r = r != null) ? Zn(e, i) : St), t = new t(n, o), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = Hi, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = i, e.__reactInternalMemoizedMaskedChildContext = o), t;
|
|
3386
3386
|
}
|
|
3387
3387
|
function bu(e, t, n, r) {
|
|
3388
3388
|
e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && Hi.enqueueReplaceState(t, t.state, null);
|
|
@@ -3391,7 +3391,7 @@ function sl(e, t, n, r) {
|
|
|
3391
3391
|
var i = e.stateNode;
|
|
3392
3392
|
i.props = n, i.state = e.memoizedState, i.refs = Oc, ta(e);
|
|
3393
3393
|
var o = t.contextType;
|
|
3394
|
-
typeof o == "object" && o !== null ? i.context = Se(o) : (o = he(t) ?
|
|
3394
|
+
typeof o == "object" && o !== null ? i.context = Se(o) : (o = he(t) ? Jt : ae.current, i.context = Zn(e, o)), i.state = e.memoizedState, o = t.getDerivedStateFromProps, typeof o == "function" && (ul(e, t, o, n), i.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof i.getSnapshotBeforeUpdate == "function" || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (t = i.state, typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount(), t !== i.state && Hi.enqueueReplaceState(i, i.state, null), bi(e, n, i, r), i.state = e.memoizedState), typeof i.componentDidMount == "function" && (e.flags |= 4194308);
|
|
3395
3395
|
}
|
|
3396
3396
|
function Vn(e, t, n) {
|
|
3397
3397
|
if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
|
|
@@ -3477,7 +3477,7 @@ function Vc(e) {
|
|
|
3477
3477
|
var I = s._init;
|
|
3478
3478
|
return g(d, I(s._payload), m);
|
|
3479
3479
|
}
|
|
3480
|
-
if (
|
|
3480
|
+
if (Jn(s) || kn(s))
|
|
3481
3481
|
return s = xt(s, d.mode, m, null), s.return = d, s;
|
|
3482
3482
|
Fr(d, s);
|
|
3483
3483
|
}
|
|
@@ -3501,7 +3501,7 @@ function Vc(e) {
|
|
|
3501
3501
|
I
|
|
3502
3502
|
);
|
|
3503
3503
|
}
|
|
3504
|
-
if (
|
|
3504
|
+
if (Jn(m) || kn(m))
|
|
3505
3505
|
return y !== null ? null : p(d, s, m, I, null);
|
|
3506
3506
|
Fr(d, m);
|
|
3507
3507
|
}
|
|
@@ -3520,7 +3520,7 @@ function Vc(e) {
|
|
|
3520
3520
|
var Z = I._init;
|
|
3521
3521
|
return h(d, s, m, Z(I._payload), y);
|
|
3522
3522
|
}
|
|
3523
|
-
if (
|
|
3523
|
+
if (Jn(I) || kn(I))
|
|
3524
3524
|
return d = d.get(m) || null, p(s, d, I, y, null);
|
|
3525
3525
|
Fr(s, I);
|
|
3526
3526
|
}
|
|
@@ -3626,7 +3626,7 @@ function Vc(e) {
|
|
|
3626
3626
|
case mt:
|
|
3627
3627
|
return Z = m._init, w(d, s, Z(m._payload), I);
|
|
3628
3628
|
}
|
|
3629
|
-
if (
|
|
3629
|
+
if (Jn(m))
|
|
3630
3630
|
return C(d, s, m, I);
|
|
3631
3631
|
if (kn(m))
|
|
3632
3632
|
return v(d, s, m, I);
|
|
@@ -3810,7 +3810,7 @@ function Hc() {
|
|
|
3810
3810
|
}
|
|
3811
3811
|
function Mc(e, t) {
|
|
3812
3812
|
var n = z, r = ke(), i = t(), o = !ze(r.memoizedState, i);
|
|
3813
|
-
if (o && (r.memoizedState = i, pe = !0), r = r.queue, ua(
|
|
3813
|
+
if (o && (r.memoizedState = i, pe = !0), r = r.queue, ua(Jc.bind(null, n, r, e), [e]), r.getSnapshot !== t || o || $ !== null && $.memoizedState.tag & 1) {
|
|
3814
3814
|
if (n.flags |= 2048, Ir(9, xc.bind(null, n, r, i, t), void 0, null), q === null)
|
|
3815
3815
|
throw Error(b(349));
|
|
3816
3816
|
Dt & 30 || zc(n, t, i);
|
|
@@ -3821,14 +3821,14 @@ function zc(e, t, n) {
|
|
|
3821
3821
|
e.flags |= 16384, e = { getSnapshot: t, value: n }, t = z.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, z.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
|
|
3822
3822
|
}
|
|
3823
3823
|
function xc(e, t, n, r) {
|
|
3824
|
-
t.value = n, t.getSnapshot = r,
|
|
3824
|
+
t.value = n, t.getSnapshot = r, Tc(t) && Dc(e);
|
|
3825
3825
|
}
|
|
3826
|
-
function
|
|
3826
|
+
function Jc(e, t, n) {
|
|
3827
3827
|
return n(function() {
|
|
3828
|
-
|
|
3828
|
+
Tc(t) && Dc(e);
|
|
3829
3829
|
});
|
|
3830
3830
|
}
|
|
3831
|
-
function
|
|
3831
|
+
function Tc(e) {
|
|
3832
3832
|
var t = e.getSnapshot;
|
|
3833
3833
|
e = e.value;
|
|
3834
3834
|
try {
|
|
@@ -4010,7 +4010,7 @@ var Wi = { readContext: Se, useCallback: re, useContext: re, useEffect: re, useI
|
|
|
4010
4010
|
}
|
|
4011
4011
|
i.memoizedState = n;
|
|
4012
4012
|
var o = { value: n, getSnapshot: t };
|
|
4013
|
-
return i.queue = o, Wu(
|
|
4013
|
+
return i.queue = o, Wu(Jc.bind(
|
|
4014
4014
|
null,
|
|
4015
4015
|
r,
|
|
4016
4016
|
o,
|
|
@@ -4185,7 +4185,7 @@ function sd(e, t) {
|
|
|
4185
4185
|
(e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152);
|
|
4186
4186
|
}
|
|
4187
4187
|
function dl(e, t, n, r, i) {
|
|
4188
|
-
var o = he(n) ?
|
|
4188
|
+
var o = he(n) ? Jt : ae.current;
|
|
4189
4189
|
return o = Zn(t, o), yn(t, i), n = la(e, t, n, r, o, i), r = aa(), e !== null && !pe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~i, dt(e, t, i)) : (H && r && El(t), t.flags |= 1, se(e, t, n, i), t.child);
|
|
4190
4190
|
}
|
|
4191
4191
|
function Nu(e, t, n, r, i) {
|
|
@@ -4200,13 +4200,13 @@ function Nu(e, t, n, r, i) {
|
|
|
4200
4200
|
var l = t.stateNode, a = t.memoizedProps;
|
|
4201
4201
|
l.props = a;
|
|
4202
4202
|
var u = l.context, c = n.contextType;
|
|
4203
|
-
typeof c == "object" && c !== null ? c = Se(c) : (c = he(n) ?
|
|
4203
|
+
typeof c == "object" && c !== null ? c = Se(c) : (c = he(n) ? Jt : ae.current, c = Zn(t, c));
|
|
4204
4204
|
var p = n.getDerivedStateFromProps, g = typeof p == "function" || typeof l.getSnapshotBeforeUpdate == "function";
|
|
4205
4205
|
g || typeof l.UNSAFE_componentWillReceiveProps != "function" && typeof l.componentWillReceiveProps != "function" || (a !== r || u !== c) && bu(t, l, r, c), ht = !1;
|
|
4206
4206
|
var f = t.memoizedState;
|
|
4207
4207
|
l.state = f, bi(t, r, l, i), u = t.memoizedState, a !== r || f !== u || me.current || ht ? (typeof p == "function" && (ul(t, n, p, r), u = t.memoizedState), (a = ht || yu(t, n, a, r, f, u, c)) ? (g || typeof l.UNSAFE_componentWillMount != "function" && typeof l.componentWillMount != "function" || (typeof l.componentWillMount == "function" && l.componentWillMount(), typeof l.UNSAFE_componentWillMount == "function" && l.UNSAFE_componentWillMount()), typeof l.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof l.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = u), l.props = r, l.state = u, l.context = c, r = a) : (typeof l.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
|
|
4208
4208
|
} else {
|
|
4209
|
-
l = t.stateNode, Bc(e, t), a = t.memoizedProps, c = t.type === t.elementType ? a : Ve(t.type, a), l.props = c, g = t.pendingProps, f = l.context, u = n.contextType, typeof u == "object" && u !== null ? u = Se(u) : (u = he(n) ?
|
|
4209
|
+
l = t.stateNode, Bc(e, t), a = t.memoizedProps, c = t.type === t.elementType ? a : Ve(t.type, a), l.props = c, g = t.pendingProps, f = l.context, u = n.contextType, typeof u == "object" && u !== null ? u = Se(u) : (u = he(n) ? Jt : ae.current, u = Zn(t, u));
|
|
4210
4210
|
var h = n.getDerivedStateFromProps;
|
|
4211
4211
|
(p = typeof h == "function" || typeof l.getSnapshotBeforeUpdate == "function") || typeof l.UNSAFE_componentWillReceiveProps != "function" && typeof l.componentWillReceiveProps != "function" || (a !== g || f !== u) && bu(t, l, r, u), ht = !1, f = t.memoizedState, l.state = f, bi(t, r, l, i);
|
|
4212
4212
|
var C = t.memoizedState;
|
|
@@ -4237,7 +4237,7 @@ function pl(e) {
|
|
|
4237
4237
|
function dd(e, t, n) {
|
|
4238
4238
|
var r = t.pendingProps, i = M.current, o = !1, l = (t.flags & 128) !== 0, a;
|
|
4239
4239
|
if ((a = l) || (a = e !== null && e.memoizedState === null ? !1 : (i & 2) !== 0), a ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (i |= 1), V(M, i & 1), e === null)
|
|
4240
|
-
return ll(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (l = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, l = { mode: "hidden", children: l }, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = l) : o =
|
|
4240
|
+
return ll(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (l = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, l = { mode: "hidden", children: l }, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = l) : o = Ji(l, r, 0, null), e = xt(e, r, n, null), o.return = t, e.return = t, o.sibling = e, t.child = o, t.child.memoizedState = pl(n), t.memoizedState = fl, e) : ca(t, l));
|
|
4241
4241
|
if (i = e.memoizedState, i !== null && (a = i.dehydrated, a !== null))
|
|
4242
4242
|
return Cp(e, t, l, r, a, i, n);
|
|
4243
4243
|
if (o) {
|
|
@@ -4248,14 +4248,14 @@ function dd(e, t, n) {
|
|
|
4248
4248
|
return o = e.child, e = o.sibling, r = Yt(o, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r;
|
|
4249
4249
|
}
|
|
4250
4250
|
function ca(e, t) {
|
|
4251
|
-
return t =
|
|
4251
|
+
return t = Ji({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t;
|
|
4252
4252
|
}
|
|
4253
4253
|
function Hr(e, t, n, r) {
|
|
4254
4254
|
return r !== null && Pl(r), Ln(t, e.child, null, n), e = ca(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
|
|
4255
4255
|
}
|
|
4256
4256
|
function Cp(e, t, n, r, i, o, l) {
|
|
4257
4257
|
if (n)
|
|
4258
|
-
return t.flags & 256 ? (t.flags &= -257, r = Lo(Error(b(422))), Hr(e, t, l, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (o = r.fallback, i = t.mode, r =
|
|
4258
|
+
return t.flags & 256 ? (t.flags &= -257, r = Lo(Error(b(422))), Hr(e, t, l, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (o = r.fallback, i = t.mode, r = Ji({ mode: "visible", children: r.children }, i, 0, null), o = xt(o, i, l, null), o.flags |= 2, r.return = t, o.return = t, r.sibling = o, t.child = r, t.mode & 1 && Ln(t, e.child, null, l), t.child.memoizedState = pl(l), t.memoizedState = fl, o);
|
|
4259
4259
|
if (!(t.mode & 1))
|
|
4260
4260
|
return Hr(e, t, l, null);
|
|
4261
4261
|
if (i.data === "$!") {
|
|
@@ -4305,7 +4305,7 @@ function Cp(e, t, n, r, i, o, l) {
|
|
|
4305
4305
|
}
|
|
4306
4306
|
return ha(), r = Lo(Error(b(421))), Hr(e, t, l, r);
|
|
4307
4307
|
}
|
|
4308
|
-
return i.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Np.bind(null, e), i._reactRetry = t, null) : (e = o.treeContext, be = Wt(i.nextSibling), Ze = t, H = !0, Fe = null, e !== null && (Xe[Ye++] = ot, Xe[Ye++] = lt, Xe[Ye++] =
|
|
4308
|
+
return i.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Np.bind(null, e), i._reactRetry = t, null) : (e = o.treeContext, be = Wt(i.nextSibling), Ze = t, H = !0, Fe = null, e !== null && (Xe[Ye++] = ot, Xe[Ye++] = lt, Xe[Ye++] = Tt, ot = e.id, lt = e.overflow, Tt = t), t = ca(t, r.children), t.flags |= 4096, t);
|
|
4309
4309
|
}
|
|
4310
4310
|
function ku(e, t, n) {
|
|
4311
4311
|
e.lanes |= t;
|
|
@@ -4608,7 +4608,7 @@ function vp(e, t, n) {
|
|
|
4608
4608
|
Ar(r), za(r, o, !0);
|
|
4609
4609
|
break;
|
|
4610
4610
|
case "textarea":
|
|
4611
|
-
Ar(r),
|
|
4611
|
+
Ar(r), Ja(r);
|
|
4612
4612
|
break;
|
|
4613
4613
|
case "select":
|
|
4614
4614
|
case "option":
|
|
@@ -4668,14 +4668,14 @@ function vp(e, t, n) {
|
|
|
4668
4668
|
for (o in a)
|
|
4669
4669
|
if (a.hasOwnProperty(o)) {
|
|
4670
4670
|
var u = a[o];
|
|
4671
|
-
o === "style" ?
|
|
4671
|
+
o === "style" ? Ts(e, u) : o === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, u != null && xs(e, u)) : o === "children" ? typeof u == "string" ? (n !== "textarea" || u !== "") && ir(e, u) : typeof u == "number" && ir(e, "" + u) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (rr.hasOwnProperty(o) ? u != null && o === "onScroll" && j("scroll", e) : u != null && Bl(e, o, u, l));
|
|
4672
4672
|
}
|
|
4673
4673
|
switch (n) {
|
|
4674
4674
|
case "input":
|
|
4675
4675
|
Ar(e), za(e, r, !1);
|
|
4676
4676
|
break;
|
|
4677
4677
|
case "textarea":
|
|
4678
|
-
Ar(e),
|
|
4678
|
+
Ar(e), Ja(e);
|
|
4679
4679
|
break;
|
|
4680
4680
|
case "option":
|
|
4681
4681
|
r.value != null && e.setAttribute("value", "" + Nt(r.value));
|
|
@@ -4772,7 +4772,7 @@ function vp(e, t, n) {
|
|
|
4772
4772
|
}
|
|
4773
4773
|
e = e.sibling;
|
|
4774
4774
|
}
|
|
4775
|
-
o.tail !== null &&
|
|
4775
|
+
o.tail !== null && T() > Yn && (t.flags |= 128, r = !0, jn(o, !1), t.lanes = 4194304);
|
|
4776
4776
|
}
|
|
4777
4777
|
else {
|
|
4778
4778
|
if (!r)
|
|
@@ -4780,10 +4780,10 @@ function vp(e, t, n) {
|
|
|
4780
4780
|
if (t.flags |= 128, r = !0, n = e.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), jn(o, !0), o.tail === null && o.tailMode === "hidden" && !l.alternate && !H)
|
|
4781
4781
|
return ie(t), null;
|
|
4782
4782
|
} else
|
|
4783
|
-
2 *
|
|
4783
|
+
2 * T() - o.renderingStartTime > Yn && n !== 1073741824 && (t.flags |= 128, r = !0, jn(o, !1), t.lanes = 4194304);
|
|
4784
4784
|
o.isBackwards ? (l.sibling = t.child, t.child = l) : (n = o.last, n !== null ? n.sibling = l : t.child = l, o.last = l);
|
|
4785
4785
|
}
|
|
4786
|
-
return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime =
|
|
4786
|
+
return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime = T(), t.sibling = null, n = M.current, V(M, r ? n & 1 | 2 : n & 1), t) : (ie(t), null);
|
|
4787
4787
|
case 22:
|
|
4788
4788
|
case 23:
|
|
4789
4789
|
return ma(), r = t.memoizedState !== null, e !== null && e.memoizedState !== null !== r && (t.flags |= 8192), r && t.mode & 1 ? ye & 1073741824 && (ie(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : ie(t), null;
|
|
@@ -4832,7 +4832,7 @@ function pn(e, t) {
|
|
|
4832
4832
|
try {
|
|
4833
4833
|
n(null);
|
|
4834
4834
|
} catch (r) {
|
|
4835
|
-
|
|
4835
|
+
J(e, t, r);
|
|
4836
4836
|
}
|
|
4837
4837
|
else
|
|
4838
4838
|
n.current = null;
|
|
@@ -4841,7 +4841,7 @@ function hl(e, t, n) {
|
|
|
4841
4841
|
try {
|
|
4842
4842
|
n();
|
|
4843
4843
|
} catch (r) {
|
|
4844
|
-
|
|
4844
|
+
J(e, t, r);
|
|
4845
4845
|
}
|
|
4846
4846
|
}
|
|
4847
4847
|
var Ru = !1;
|
|
@@ -4917,7 +4917,7 @@ function wp(e, t) {
|
|
|
4917
4917
|
throw Error(b(163));
|
|
4918
4918
|
}
|
|
4919
4919
|
} catch (I) {
|
|
4920
|
-
|
|
4920
|
+
J(t, t.return, I);
|
|
4921
4921
|
}
|
|
4922
4922
|
if (e = t.sibling, e !== null) {
|
|
4923
4923
|
e.return = t.return, X = e;
|
|
@@ -5048,7 +5048,7 @@ function Id(e, t, n) {
|
|
|
5048
5048
|
try {
|
|
5049
5049
|
r.props = n.memoizedProps, r.state = n.memoizedState, r.componentWillUnmount();
|
|
5050
5050
|
} catch (a) {
|
|
5051
|
-
|
|
5051
|
+
J(n, t, a);
|
|
5052
5052
|
}
|
|
5053
5053
|
pt(e, t, n);
|
|
5054
5054
|
break;
|
|
@@ -5101,7 +5101,7 @@ function Oe(e, t) {
|
|
|
5101
5101
|
var u = i.alternate;
|
|
5102
5102
|
u !== null && (u.return = null), i.return = null;
|
|
5103
5103
|
} catch (c) {
|
|
5104
|
-
|
|
5104
|
+
J(i, t, c);
|
|
5105
5105
|
}
|
|
5106
5106
|
}
|
|
5107
5107
|
if (t.subtreeFlags & 12854)
|
|
@@ -5115,29 +5115,29 @@ function vd(e, t) {
|
|
|
5115
5115
|
case 11:
|
|
5116
5116
|
case 14:
|
|
5117
5117
|
case 15:
|
|
5118
|
-
if (Oe(t, e),
|
|
5118
|
+
if (Oe(t, e), Je(e), r & 4) {
|
|
5119
5119
|
try {
|
|
5120
5120
|
qn(3, e, e.return), zi(3, e);
|
|
5121
5121
|
} catch (v) {
|
|
5122
|
-
|
|
5122
|
+
J(e, e.return, v);
|
|
5123
5123
|
}
|
|
5124
5124
|
try {
|
|
5125
5125
|
qn(5, e, e.return);
|
|
5126
5126
|
} catch (v) {
|
|
5127
|
-
|
|
5127
|
+
J(e, e.return, v);
|
|
5128
5128
|
}
|
|
5129
5129
|
}
|
|
5130
5130
|
break;
|
|
5131
5131
|
case 1:
|
|
5132
|
-
Oe(t, e),
|
|
5132
|
+
Oe(t, e), Je(e), r & 512 && n !== null && pn(n, n.return);
|
|
5133
5133
|
break;
|
|
5134
5134
|
case 5:
|
|
5135
|
-
if (Oe(t, e),
|
|
5135
|
+
if (Oe(t, e), Je(e), r & 512 && n !== null && pn(n, n.return), e.flags & 32) {
|
|
5136
5136
|
var i = e.stateNode;
|
|
5137
5137
|
try {
|
|
5138
5138
|
ir(i, "");
|
|
5139
5139
|
} catch (v) {
|
|
5140
|
-
|
|
5140
|
+
J(e, e.return, v);
|
|
5141
5141
|
}
|
|
5142
5142
|
}
|
|
5143
5143
|
if (r & 4 && (i = e.stateNode, i != null)) {
|
|
@@ -5148,7 +5148,7 @@ function vd(e, t) {
|
|
|
5148
5148
|
var c = xo(a, o);
|
|
5149
5149
|
for (l = 0; l < u.length; l += 2) {
|
|
5150
5150
|
var p = u[l], g = u[l + 1];
|
|
5151
|
-
p === "style" ?
|
|
5151
|
+
p === "style" ? Ts(i, g) : p === "dangerouslySetInnerHTML" ? xs(i, g) : p === "children" ? ir(i, g) : Bl(i, p, g, c);
|
|
5152
5152
|
}
|
|
5153
5153
|
switch (a) {
|
|
5154
5154
|
case "input":
|
|
@@ -5170,38 +5170,38 @@ function vd(e, t) {
|
|
|
5170
5170
|
}
|
|
5171
5171
|
i[fr] = o;
|
|
5172
5172
|
} catch (v) {
|
|
5173
|
-
|
|
5173
|
+
J(e, e.return, v);
|
|
5174
5174
|
}
|
|
5175
5175
|
}
|
|
5176
5176
|
break;
|
|
5177
5177
|
case 6:
|
|
5178
|
-
if (Oe(t, e),
|
|
5178
|
+
if (Oe(t, e), Je(e), r & 4) {
|
|
5179
5179
|
if (e.stateNode === null)
|
|
5180
5180
|
throw Error(b(162));
|
|
5181
5181
|
i = e.stateNode, o = e.memoizedProps;
|
|
5182
5182
|
try {
|
|
5183
5183
|
i.nodeValue = o;
|
|
5184
5184
|
} catch (v) {
|
|
5185
|
-
|
|
5185
|
+
J(e, e.return, v);
|
|
5186
5186
|
}
|
|
5187
5187
|
}
|
|
5188
5188
|
break;
|
|
5189
5189
|
case 3:
|
|
5190
|
-
if (Oe(t, e),
|
|
5190
|
+
if (Oe(t, e), Je(e), r & 4 && n !== null && n.memoizedState.isDehydrated)
|
|
5191
5191
|
try {
|
|
5192
5192
|
ur(t.containerInfo);
|
|
5193
5193
|
} catch (v) {
|
|
5194
|
-
|
|
5194
|
+
J(e, e.return, v);
|
|
5195
5195
|
}
|
|
5196
5196
|
break;
|
|
5197
5197
|
case 4:
|
|
5198
|
-
Oe(t, e),
|
|
5198
|
+
Oe(t, e), Je(e);
|
|
5199
5199
|
break;
|
|
5200
5200
|
case 13:
|
|
5201
|
-
Oe(t, e),
|
|
5201
|
+
Oe(t, e), Je(e), i = e.child, i.flags & 8192 && (o = i.memoizedState !== null, i.stateNode.isHidden = o, !o || i.alternate !== null && i.alternate.memoizedState !== null || (fa = T())), r & 4 && Ou(e);
|
|
5202
5202
|
break;
|
|
5203
5203
|
case 22:
|
|
5204
|
-
if (p = n !== null && n.memoizedState !== null, e.mode & 1 ? (le = (c = le) || p, Oe(t, e), le = c) : Oe(t, e),
|
|
5204
|
+
if (p = n !== null && n.memoizedState !== null, e.mode & 1 ? (le = (c = le) || p, Oe(t, e), le = c) : Oe(t, e), Je(e), r & 8192) {
|
|
5205
5205
|
if (c = e.memoizedState !== null, (e.stateNode.isHidden = c) && !p && e.mode & 1)
|
|
5206
5206
|
for (X = e, p = e.child; p !== null; ) {
|
|
5207
5207
|
for (g = X = p; X !== null; ) {
|
|
@@ -5220,7 +5220,7 @@ function vd(e, t) {
|
|
|
5220
5220
|
try {
|
|
5221
5221
|
t = r, C.props = t.memoizedProps, C.state = t.memoizedState, C.componentWillUnmount();
|
|
5222
5222
|
} catch (v) {
|
|
5223
|
-
|
|
5223
|
+
J(r, n, v);
|
|
5224
5224
|
}
|
|
5225
5225
|
}
|
|
5226
5226
|
break;
|
|
@@ -5243,9 +5243,9 @@ function vd(e, t) {
|
|
|
5243
5243
|
if (p === null) {
|
|
5244
5244
|
p = g;
|
|
5245
5245
|
try {
|
|
5246
|
-
i = g.stateNode, c ? (o = i.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (a = g.stateNode, u = g.memoizedProps.style, l = u != null && u.hasOwnProperty("display") ? u.display : null, a.style.display =
|
|
5246
|
+
i = g.stateNode, c ? (o = i.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (a = g.stateNode, u = g.memoizedProps.style, l = u != null && u.hasOwnProperty("display") ? u.display : null, a.style.display = Js("display", l));
|
|
5247
5247
|
} catch (v) {
|
|
5248
|
-
|
|
5248
|
+
J(e, e.return, v);
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
5251
5251
|
} else if (g.tag === 6) {
|
|
@@ -5253,7 +5253,7 @@ function vd(e, t) {
|
|
|
5253
5253
|
try {
|
|
5254
5254
|
g.stateNode.nodeValue = c ? "" : g.memoizedProps;
|
|
5255
5255
|
} catch (v) {
|
|
5256
|
-
|
|
5256
|
+
J(e, e.return, v);
|
|
5257
5257
|
}
|
|
5258
5258
|
} else if ((g.tag !== 22 && g.tag !== 23 || g.memoizedState === null || g === e) && g.child !== null) {
|
|
5259
5259
|
g.child.return = g, g = g.child;
|
|
@@ -5271,7 +5271,7 @@ function vd(e, t) {
|
|
|
5271
5271
|
}
|
|
5272
5272
|
break;
|
|
5273
5273
|
case 19:
|
|
5274
|
-
Oe(t, e),
|
|
5274
|
+
Oe(t, e), Je(e), r & 4 && Ou(e);
|
|
5275
5275
|
break;
|
|
5276
5276
|
case 21:
|
|
5277
5277
|
break;
|
|
@@ -5279,10 +5279,10 @@ function vd(e, t) {
|
|
|
5279
5279
|
Oe(
|
|
5280
5280
|
t,
|
|
5281
5281
|
e
|
|
5282
|
-
),
|
|
5282
|
+
), Je(e);
|
|
5283
5283
|
}
|
|
5284
5284
|
}
|
|
5285
|
-
function
|
|
5285
|
+
function Je(e) {
|
|
5286
5286
|
var t = e.flags;
|
|
5287
5287
|
if (t & 2) {
|
|
5288
5288
|
try {
|
|
@@ -5312,7 +5312,7 @@ function Te(e) {
|
|
|
5312
5312
|
throw Error(b(161));
|
|
5313
5313
|
}
|
|
5314
5314
|
} catch (u) {
|
|
5315
|
-
|
|
5315
|
+
J(e, e.return, u);
|
|
5316
5316
|
}
|
|
5317
5317
|
e.flags &= -3;
|
|
5318
5318
|
}
|
|
@@ -5428,7 +5428,7 @@ function Ku(e) {
|
|
|
5428
5428
|
}
|
|
5429
5429
|
le || t.flags & 512 && Cl(t);
|
|
5430
5430
|
} catch (f) {
|
|
5431
|
-
|
|
5431
|
+
J(t, t.return, f);
|
|
5432
5432
|
}
|
|
5433
5433
|
}
|
|
5434
5434
|
if (t === e) {
|
|
@@ -5469,7 +5469,7 @@ function ju(e) {
|
|
|
5469
5469
|
try {
|
|
5470
5470
|
zi(4, t);
|
|
5471
5471
|
} catch (u) {
|
|
5472
|
-
|
|
5472
|
+
J(t, n, u);
|
|
5473
5473
|
}
|
|
5474
5474
|
break;
|
|
5475
5475
|
case 1:
|
|
@@ -5479,14 +5479,14 @@ function ju(e) {
|
|
|
5479
5479
|
try {
|
|
5480
5480
|
r.componentDidMount();
|
|
5481
5481
|
} catch (u) {
|
|
5482
|
-
|
|
5482
|
+
J(t, i, u);
|
|
5483
5483
|
}
|
|
5484
5484
|
}
|
|
5485
5485
|
var o = t.return;
|
|
5486
5486
|
try {
|
|
5487
5487
|
Cl(t);
|
|
5488
5488
|
} catch (u) {
|
|
5489
|
-
|
|
5489
|
+
J(t, o, u);
|
|
5490
5490
|
}
|
|
5491
5491
|
break;
|
|
5492
5492
|
case 5:
|
|
@@ -5494,11 +5494,11 @@ function ju(e) {
|
|
|
5494
5494
|
try {
|
|
5495
5495
|
Cl(t);
|
|
5496
5496
|
} catch (u) {
|
|
5497
|
-
|
|
5497
|
+
J(t, l, u);
|
|
5498
5498
|
}
|
|
5499
5499
|
}
|
|
5500
5500
|
} catch (u) {
|
|
5501
|
-
|
|
5501
|
+
J(t, t.return, u);
|
|
5502
5502
|
}
|
|
5503
5503
|
if (t === e) {
|
|
5504
5504
|
X = null;
|
|
@@ -5514,7 +5514,7 @@ function ju(e) {
|
|
|
5514
5514
|
}
|
|
5515
5515
|
var Wp = Math.ceil, Li = gt.ReactCurrentDispatcher, da = gt.ReactCurrentOwner, Ne = gt.ReactCurrentBatchConfig, B = 0, q = null, E = null, te = 0, ye = 0, mn = Bt(0), P = 0, vr = null, Qt = 0, xi = 0, ga = 0, er = null, fe = null, fa = 0, Yn = 1 / 0, rt = null, Gi = !1, yl = null, Gt = null, zr = !1, yt = null, Xi = 0, tr = 0, bl = null, ti = -1, ni = 0;
|
|
5516
5516
|
function ce() {
|
|
5517
|
-
return B & 6 ?
|
|
5517
|
+
return B & 6 ? T() : ti !== -1 ? ti : ti = T();
|
|
5518
5518
|
}
|
|
5519
5519
|
function Xt(e) {
|
|
5520
5520
|
return e.mode & 1 ? B & 2 && te !== 0 ? te & -te : ap.transition !== null ? (ni === 0 && (ni = rc()), ni) : (e = O, e !== 0 || (e = window.event, e = e === void 0 ? 16 : cc(e.type)), e) : 1;
|
|
@@ -5522,7 +5522,7 @@ function Xt(e) {
|
|
|
5522
5522
|
function Me(e, t, n, r) {
|
|
5523
5523
|
if (50 < tr)
|
|
5524
5524
|
throw tr = 0, bl = null, Error(b(185));
|
|
5525
|
-
br(e, n, r), (!(B & 2) || e !== q) && (e === q && (!(B & 2) && (xi |= n), P === 4 && It(e, te)), Ce(e, r), n === 1 && B === 0 && !(t.mode & 1) && (Yn =
|
|
5525
|
+
br(e, n, r), (!(B & 2) || e !== q) && (e === q && (!(B & 2) && (xi |= n), P === 4 && It(e, te)), Ce(e, r), n === 1 && B === 0 && !(t.mode & 1) && (Yn = T() + 500, Fi && Ot()));
|
|
5526
5526
|
}
|
|
5527
5527
|
function Ce(e, t) {
|
|
5528
5528
|
var n = e.callbackNode;
|
|
@@ -5573,7 +5573,7 @@ function bd(e, t) {
|
|
|
5573
5573
|
var i = B;
|
|
5574
5574
|
B |= 2;
|
|
5575
5575
|
var o = Zd();
|
|
5576
|
-
(q !== e || te !== t) && (rt = null, Yn =
|
|
5576
|
+
(q !== e || te !== t) && (rt = null, Yn = T() + 500, zt(e, t));
|
|
5577
5577
|
do
|
|
5578
5578
|
try {
|
|
5579
5579
|
Xp();
|
|
@@ -5586,12 +5586,12 @@ function bd(e, t) {
|
|
|
5586
5586
|
}
|
|
5587
5587
|
if (t !== 0) {
|
|
5588
5588
|
if (t === 2 && (i = Eo(e), i !== 0 && (r = i, t = wl(e, i))), t === 1)
|
|
5589
|
-
throw n = vr, zt(e, 0), It(e, r), Ce(e,
|
|
5589
|
+
throw n = vr, zt(e, 0), It(e, r), Ce(e, T()), n;
|
|
5590
5590
|
if (t === 6)
|
|
5591
5591
|
It(e, r);
|
|
5592
5592
|
else {
|
|
5593
5593
|
if (i = e.current.alternate, !(r & 30) && !Lp(i) && (t = Yi(e, r), t === 2 && (o = Eo(e), o !== 0 && (r = o, t = wl(e, o))), t === 1))
|
|
5594
|
-
throw n = vr, zt(e, 0), It(e, r), Ce(e,
|
|
5594
|
+
throw n = vr, zt(e, 0), It(e, r), Ce(e, T()), n;
|
|
5595
5595
|
switch (e.finishedWork = i, e.finishedLanes = r, t) {
|
|
5596
5596
|
case 0:
|
|
5597
5597
|
case 1:
|
|
@@ -5600,7 +5600,7 @@ function bd(e, t) {
|
|
|
5600
5600
|
jt(e, fe, rt);
|
|
5601
5601
|
break;
|
|
5602
5602
|
case 3:
|
|
5603
|
-
if (It(e, r), (r & 130023424) === r && (t = fa + 500 -
|
|
5603
|
+
if (It(e, r), (r & 130023424) === r && (t = fa + 500 - T(), 10 < t)) {
|
|
5604
5604
|
if (ci(e, 0) !== 0)
|
|
5605
5605
|
break;
|
|
5606
5606
|
if (i = e.suspendedLanes, (i & r) !== r) {
|
|
@@ -5619,7 +5619,7 @@ function bd(e, t) {
|
|
|
5619
5619
|
var l = 31 - He(r);
|
|
5620
5620
|
o = 1 << l, l = t[l], l > i && (i = l), r &= ~o;
|
|
5621
5621
|
}
|
|
5622
|
-
if (r = i, r =
|
|
5622
|
+
if (r = i, r = T() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * Wp(r / 1960)) - r, 10 < r) {
|
|
5623
5623
|
e.timeoutHandle = nl(jt.bind(null, e, fe, rt), r);
|
|
5624
5624
|
break;
|
|
5625
5625
|
}
|
|
@@ -5633,7 +5633,7 @@ function bd(e, t) {
|
|
|
5633
5633
|
}
|
|
5634
5634
|
}
|
|
5635
5635
|
}
|
|
5636
|
-
return Ce(e,
|
|
5636
|
+
return Ce(e, T()), e.callbackNode === n ? bd.bind(null, e) : null;
|
|
5637
5637
|
}
|
|
5638
5638
|
function wl(e, t) {
|
|
5639
5639
|
var n = er;
|
|
@@ -5685,17 +5685,17 @@ function Fu(e) {
|
|
|
5685
5685
|
bn();
|
|
5686
5686
|
var t = ci(e, 0);
|
|
5687
5687
|
if (!(t & 1))
|
|
5688
|
-
return Ce(e,
|
|
5688
|
+
return Ce(e, T()), null;
|
|
5689
5689
|
var n = Yi(e, t);
|
|
5690
5690
|
if (e.tag !== 0 && n === 2) {
|
|
5691
5691
|
var r = Eo(e);
|
|
5692
5692
|
r !== 0 && (t = r, n = wl(e, r));
|
|
5693
5693
|
}
|
|
5694
5694
|
if (n === 1)
|
|
5695
|
-
throw n = vr, zt(e, 0), It(e, t), Ce(e,
|
|
5695
|
+
throw n = vr, zt(e, 0), It(e, t), Ce(e, T()), n;
|
|
5696
5696
|
if (n === 6)
|
|
5697
5697
|
throw Error(b(345));
|
|
5698
|
-
return e.finishedWork = e.current.alternate, e.finishedLanes = t, jt(e, fe, rt), Ce(e,
|
|
5698
|
+
return e.finishedWork = e.current.alternate, e.finishedLanes = t, jt(e, fe, rt), Ce(e, T()), null;
|
|
5699
5699
|
}
|
|
5700
5700
|
function pa(e, t) {
|
|
5701
5701
|
var n = B;
|
|
@@ -5703,7 +5703,7 @@ function pa(e, t) {
|
|
|
5703
5703
|
try {
|
|
5704
5704
|
return e(t);
|
|
5705
5705
|
} finally {
|
|
5706
|
-
B = n, B === 0 && (Yn =
|
|
5706
|
+
B = n, B === 0 && (Yn = T() + 500, Fi && Ot());
|
|
5707
5707
|
}
|
|
5708
5708
|
}
|
|
5709
5709
|
function Et(e) {
|
|
@@ -5942,7 +5942,7 @@ function Yp(e, t, n, r) {
|
|
|
5942
5942
|
B |= 4, da.current = null, wp(e, n), vd(n, e), Ef(el), di = !!qo, el = qo = null, e.current = n, Zp(n), $g(), B = a, O = l, Ne.transition = o;
|
|
5943
5943
|
} else
|
|
5944
5944
|
e.current = n;
|
|
5945
|
-
if (zr && (zr = !1, yt = e, Xi = i), o = e.pendingLanes, o === 0 && (Gt = null), tf(n.stateNode), Ce(e,
|
|
5945
|
+
if (zr && (zr = !1, yt = e, Xi = i), o = e.pendingLanes, o === 0 && (Gt = null), tf(n.stateNode), Ce(e, T()), t !== null)
|
|
5946
5946
|
for (r = e.onRecoverableError, n = 0; n < t.length; n++)
|
|
5947
5947
|
i = t[n], r(i.value, { componentStack: i.stack, digest: i.digest });
|
|
5948
5948
|
if (Gi)
|
|
@@ -6045,7 +6045,7 @@ function bn() {
|
|
|
6045
6045
|
zi(9, a);
|
|
6046
6046
|
}
|
|
6047
6047
|
} catch (y) {
|
|
6048
|
-
|
|
6048
|
+
J(a, a.return, y);
|
|
6049
6049
|
}
|
|
6050
6050
|
if (a === l) {
|
|
6051
6051
|
X = null;
|
|
@@ -6076,7 +6076,7 @@ function bn() {
|
|
|
6076
6076
|
function Hu(e, t, n) {
|
|
6077
6077
|
t = Xn(n, t), t = od(e, t, 1), e = Lt(e, t, 1), t = ce(), e !== null && (br(e, 1, t), Ce(e, t));
|
|
6078
6078
|
}
|
|
6079
|
-
function
|
|
6079
|
+
function J(e, t, n) {
|
|
6080
6080
|
if (e.tag === 3)
|
|
6081
6081
|
Hu(e, e, n);
|
|
6082
6082
|
else
|
|
@@ -6096,7 +6096,7 @@ function T(e, t, n) {
|
|
|
6096
6096
|
}
|
|
6097
6097
|
function Ap(e, t, n) {
|
|
6098
6098
|
var r = e.pingCache;
|
|
6099
|
-
r !== null && r.delete(t), t = ce(), e.pingedLanes |= e.suspendedLanes & n, q === e && (te & n) === n && (P === 4 || P === 3 && (te & 130023424) === te && 500 >
|
|
6099
|
+
r !== null && r.delete(t), t = ce(), e.pingedLanes |= e.suspendedLanes & n, q === e && (te & n) === n && (P === 4 || P === 3 && (te & 130023424) === te && 500 > T() - fa ? zt(e, 0) : ga |= n), Ce(e, t);
|
|
6100
6100
|
}
|
|
6101
6101
|
function Gd(e, t) {
|
|
6102
6102
|
t === 0 && (e.mode & 1 ? (t = kr, kr <<= 1, !(kr & 130023424) && (kr = 4194304)) : t = 1);
|
|
@@ -6335,7 +6335,7 @@ function ri(e, t, n, r, i, o) {
|
|
|
6335
6335
|
case Oo:
|
|
6336
6336
|
return e = Ae(19, n, t, i), e.elementType = Oo, e.lanes = o, e;
|
|
6337
6337
|
case Vs:
|
|
6338
|
-
return
|
|
6338
|
+
return Ji(n, i, o, t);
|
|
6339
6339
|
default:
|
|
6340
6340
|
if (typeof e == "object" && e !== null)
|
|
6341
6341
|
switch (e.$$typeof) {
|
|
@@ -6362,7 +6362,7 @@ function ri(e, t, n, r, i, o) {
|
|
|
6362
6362
|
function xt(e, t, n, r) {
|
|
6363
6363
|
return e = Ae(7, e, r, t), e.lanes = n, e;
|
|
6364
6364
|
}
|
|
6365
|
-
function
|
|
6365
|
+
function Ji(e, t, n, r) {
|
|
6366
6366
|
return e = Ae(22, e, r, t), e.elementType = Vs, e.lanes = n, e.stateNode = { isHidden: !1 }, e;
|
|
6367
6367
|
}
|
|
6368
6368
|
function Xo(e, t, n) {
|
|
@@ -6414,7 +6414,7 @@ function Ad(e) {
|
|
|
6414
6414
|
function Nd(e, t, n, r, i, o, l, a, u) {
|
|
6415
6415
|
return e = Ia(n, r, !0, e, i, o, l, a, u), e.context = Ad(null), n = e.current, r = ce(), i = Xt(n), o = at(r, i), o.callback = t ?? null, Lt(n, o, i), e.current.lanes = i, br(e, i, r), Ce(e, r), e;
|
|
6416
6416
|
}
|
|
6417
|
-
function
|
|
6417
|
+
function Ti(e, t, n, r) {
|
|
6418
6418
|
var i = t.current, o = ce(), l = Xt(i);
|
|
6419
6419
|
return n = Ad(n), t.context === null ? t.context = n : t.pendingContext = n, t = at(o, l), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = Lt(i, t, l), e !== null && (Me(e, i, l, o), _r(e, i, l)), l;
|
|
6420
6420
|
}
|
|
@@ -6450,7 +6450,7 @@ Di.prototype.render = ya.prototype.render = function(e) {
|
|
|
6450
6450
|
var t = this._internalRoot;
|
|
6451
6451
|
if (t === null)
|
|
6452
6452
|
throw Error(b(409));
|
|
6453
|
-
|
|
6453
|
+
Ti(e, t, null, null);
|
|
6454
6454
|
};
|
|
6455
6455
|
Di.prototype.unmount = ya.prototype.unmount = function() {
|
|
6456
6456
|
var e = this._internalRoot;
|
|
@@ -6458,7 +6458,7 @@ Di.prototype.unmount = ya.prototype.unmount = function() {
|
|
|
6458
6458
|
this._internalRoot = null;
|
|
6459
6459
|
var t = e.containerInfo;
|
|
6460
6460
|
Et(function() {
|
|
6461
|
-
|
|
6461
|
+
Ti(null, e, null, null);
|
|
6462
6462
|
}), t[st] = null;
|
|
6463
6463
|
}
|
|
6464
6464
|
};
|
|
@@ -6505,7 +6505,7 @@ function Vp(e, t, n, r, i) {
|
|
|
6505
6505
|
}
|
|
6506
6506
|
var u = Ia(e, 0, !1, null, null, !1, !1, "", zu);
|
|
6507
6507
|
return e._reactRootContainer = u, e[st] = u.current, dr(e.nodeType === 8 ? e.parentNode : e), Et(function() {
|
|
6508
|
-
|
|
6508
|
+
Ti(t, u, n, r);
|
|
6509
6509
|
}), u;
|
|
6510
6510
|
}
|
|
6511
6511
|
function Ei(e, t, n, r, i) {
|
|
@@ -6519,7 +6519,7 @@ function Ei(e, t, n, r, i) {
|
|
|
6519
6519
|
a.call(u);
|
|
6520
6520
|
};
|
|
6521
6521
|
}
|
|
6522
|
-
|
|
6522
|
+
Ti(t, l, e, i);
|
|
6523
6523
|
} else
|
|
6524
6524
|
l = Vp(n, t, e, i, r);
|
|
6525
6525
|
return Ai(l);
|
|
@@ -6529,8 +6529,8 @@ oc = function(e) {
|
|
|
6529
6529
|
case 3:
|
|
6530
6530
|
var t = e.stateNode;
|
|
6531
6531
|
if (t.current.memoizedState.isDehydrated) {
|
|
6532
|
-
var n =
|
|
6533
|
-
n !== 0 && (Hl(t, n | 1), Ce(t,
|
|
6532
|
+
var n = Tn(t.pendingLanes);
|
|
6533
|
+
n !== 0 && (Hl(t, n | 1), Ce(t, T()), !(B & 6) && (Yn = T() + 500, Ot()));
|
|
6534
6534
|
}
|
|
6535
6535
|
break;
|
|
6536
6536
|
case 13:
|
|
@@ -6574,7 +6574,7 @@ uc = function(e, t) {
|
|
|
6574
6574
|
O = n;
|
|
6575
6575
|
}
|
|
6576
6576
|
};
|
|
6577
|
-
|
|
6577
|
+
To = function(e, t, n) {
|
|
6578
6578
|
switch (t) {
|
|
6579
6579
|
case "input":
|
|
6580
6580
|
if (jo(e, n), t = n.name, n.type === "radio" && t != null) {
|
|
@@ -6688,7 +6688,7 @@ function kd() {
|
|
|
6688
6688
|
kd(), Ns.exports = Le;
|
|
6689
6689
|
var Hp = Ns.exports, Rd, xu = Hp;
|
|
6690
6690
|
Rd = xu.createRoot, xu.hydrateRoot;
|
|
6691
|
-
const Mp = "data:text/css;base64,
|
|
6691
|
+
const Mp = "data:text/css;base64,Omhvc3QgewogIGRpc3BsYXk6IGlubGluZS1ibG9jazsKfQoKLm1lbnVfX2xpc3QtaXRlbTppcygubWFuYWdlLXByb2ZpbGUsIC5tYW5hZ2UtcHJpdmFjeSwgLnBheW1lbnQsIC5ib3UtbWVudS1pdGVtKSBhOmxhc3Qtb2YtdHlwZSB7CiAgZGlzcGxheTogbm9uZTsKfQoKLmJvdS1tZW51X19saXN0IHsKICBib3JkZXItYm90dG9tOiAxcHggc29saWQgdmFyKC0tbmV1dHJhbC0yMDApOwp9CgpAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2NHJlbSkgewogIC54dHJhLW1lbnUtLWVycm9yICN4dHJhLW1lbnUtdHJpZ2dlciB7CiAgICBnYXA6IDA7CiAgfQoKICAubWVudV9fbGlzdC1pdGVtOmlzKC5tYW5hZ2UtcHJvZmlsZSwgLm1hbmFnZS1wcml2YWN5LCAucGF5bWVudCkgYTpmaXJzdC1vZi10eXBlIHsKICAgIGRpc3BsYXk6IG5vbmU7CiAgfQoKICAubWVudV9fbGlzdC1pdGVtOmlzKC5tYW5hZ2UtcHJvZmlsZSwgLm1hbmFnZS1wcml2YWN5LCAucGF5bWVudCkgYTpsYXN0LW9mLXR5cGUgewogICAgZGlzcGxheTogZmxleDsKICB9Cn0K", zp = "data:text/css;base64,LmJ1dHRvbi0tYXV0aGVudGljYXRpb24gewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKICBkaXNwbGF5OiBmbGV4OwogIHdpZHRoOiBhdXRvOwogIHdpZHRoOiBmaXQtY29udGVudDsKICBwYWRkaW5nOiB2YXIoLS1zcGFjaW5nLTIpOwogIGJvcmRlcjogbm9uZTsKICBib3JkZXItcmFkaXVzOiB2YXIoLS1ib3JkZXItcmFkaXVzLXNtKTsKICBmb250OiB2YXIoLS1zdWJ0ZXh0LW1lZGl1bSk7CiAgZ2FwOiAwOwp9CgouYnV0dG9uLS1hdXRoZW50aWNhdGlvbiAuYnV0dG9uX19sYWJlbCB7CiAgZGlzcGxheTogbm9uZTsKfQoKLmJ1dHRvbi0tYXV0aGVudGljYXRpb24gLmJ1dHRvbl9faWNvbiB7CiAgcG9zaXRpb246IHJlbGF0aXZlOwogIHdpZHRoOiAyNHB4OwogIGhlaWdodDogMjRweDsKfQoKLmJ1dHRvbi0tYXV0aGVudGljYXRpb24tLWF1dGhlbnRpY2F0ZWQgewogIHBhZGRpbmc6IHZhcigtLXNwYWNpbmctMik7Cn0KCi5idXR0b24tLWF1dGhlbnRpY2F0aW9uLS11bmF1dGhlbnRpY2F0ZWQgewogIGRpc3BsYXk6IG5vbmU7Cn0KCkBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDY0cmVtKSB7CiAgLm1lbnUtLXVuYXV0aGVudGljYXRlZCB7CiAgICBkaXNwbGF5OiBub25lOwogIH0KCiAgLmJ1dHRvbi0tYXV0aGVudGljYXRpb24gewogICAgZ2FwOiB2YXIoLS1zcGFjaW5nLTIpOwogIH0KCiAgLmJ1dHRvbi0tYXV0aGVudGljYXRpb24tLXVuYXV0aGVudGljYXRlZCB7CiAgICBkaXNwbGF5OiBmbGV4OwogIH0KCiAgLmJ1dHRvbi0tYXV0aGVudGljYXRpb246bm90KC5idXR0b24tLWF1dGhlbnRpY2F0aW9uLS1hdXRoZW50aWNhdGVkKSB7CiAgICBwYWRkaW5nOiB2YXIoLS1zcGFjaW5nLTIpIHZhcigtLXNwYWNpbmctNik7CiAgfQoKICAuYnV0dG9uLS1hdXRoZW50aWNhdGlvbiAuYnV0dG9uX19sYWJlbCB7CiAgICBkaXNwbGF5OiBpbmxpbmU7CiAgfQoKICAuYnV0dG9uLS1hdXRoZW50aWNhdGlvbjpub3QoLmJ1dHRvbi0tYXV0aGVudGljYXRpb24tLWF1dGhlbnRpY2F0ZWQpID4gLmJ1dHRvbl9faWNvbi1yaWdodCB7CiAgICBkaXNwbGF5OiBub25lOwogIH0KfQoKQG1lZGlhIChwcmVmZXJzLXJlZHVjZWQtbW90aW9uOiBuby1wcmVmZXJlbmNlKSB7CiAgLnNwaW5uZXI6OmFmdGVyIHsKICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICAgIHdpZHRoOiAxNnB4OwogICAgaGVpZ2h0OiAxNnB4OwogICAgYm9yZGVyOiA0cHggc29saWQgdHJhbnNwYXJlbnQ7CiAgICBib3JkZXItcmFkaXVzOiA1MCU7CiAgICBib3JkZXItdG9wLWNvbG9yOiB0cmFuc3BhcmVudDsKICAgIGJvcmRlci10b3AtY29sb3I6IHZhcigtLXByaW1hcnktNTAwKTsKICAgIG1hcmdpbjogYXV0bzsKICAgIGFuaW1hdGlvbjogc3BpbiAxcyBlYXNlIGluZmluaXRlOwogICAgY29udGVudDogJyc7CiAgICBpbnNldDogMDsKICB9CgogIEBrZXlmcmFtZXMgc3BpbiB7CiAgICBmcm9tIHsKICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMHR1cm4pOwogICAgfQoKICAgIHRvIHsKICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMXR1cm4pOwogICAgfQogIH0KfQo=", xp = "data:text/css;base64,LmZvcm0tLXRjIHsKICBkaXNwbGF5OiBmbGV4OwogIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47CiAgZ2FwOiB2YXIoLS1zcGFjaW5nLTgpOwp9CgouZm9ybS0tdGNfX3RpdGxlIHsKICBmb250OiB2YXIoLS10aXRsZS0yLW1lZGl1bSk7Cn0KCi5mb3JtLS10Y19fZGVzY3JpcHRpb24gewogIGNvbG9yOiB2YXIoLS1uZXV0cmFsLTgwMCk7CiAgZm9udDogdmFyKC0tYm9keS0xLXJlZ3VsYXIpOwp9CgouZm9ybS0tdGNfX2xhYmVsIHsKICBmb250OiB2YXIoLS1ib2R5LTItbWVkaXVtKTsKfQoKLmZvcm0tLXRjX19saW5rIHsKICBjb2xvcjogdmFyKC0tbmV1dHJhbC04MDApOwogIGZvbnQ6IHZhcigtLWJvZHktMi1yZWd1bGFyKTsKfQoKLmZvcm0tLXRjX19lcnJvciB7CiAgZGlzcGxheTogYmxvY2s7CiAgbWFyZ2luLXRvcDogdmFyKC0tc3BhY2luZy02KTsKICBjb2xvcjogdmFyKC0tZXJyb3ItNTAwKTsKfQoKLmJ1dHRvbi0tdGVybXMtYW5kLWNvbmRpdGlvbnMgewogIHdpZHRoOiBhdXRvOwp9Cg==", Jp = ({ apiUrl: e, redirectUrl: t }) => `${e}/login?redirectUrl=${t}`;
|
|
6692
6692
|
function At(e) {
|
|
6693
6693
|
if (e === void 0)
|
|
6694
6694
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -6724,14 +6724,14 @@ function _e(e) {
|
|
|
6724
6724
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
6725
6725
|
}, _e(e);
|
|
6726
6726
|
}
|
|
6727
|
-
function
|
|
6727
|
+
function Tp(e) {
|
|
6728
6728
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
|
|
6729
6729
|
return Array.from(e);
|
|
6730
6730
|
}
|
|
6731
6731
|
function Dp(e) {
|
|
6732
|
-
return Ls(e) ||
|
|
6732
|
+
return Ls(e) || Tp(e) || Gs(e) || Xs();
|
|
6733
6733
|
}
|
|
6734
|
-
function
|
|
6734
|
+
function Ju(e, t) {
|
|
6735
6735
|
var n = Object.keys(e);
|
|
6736
6736
|
if (Object.getOwnPropertySymbols) {
|
|
6737
6737
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -6741,12 +6741,12 @@ function Tu(e, t) {
|
|
|
6741
6741
|
}
|
|
6742
6742
|
return n;
|
|
6743
6743
|
}
|
|
6744
|
-
function
|
|
6744
|
+
function Tu(e) {
|
|
6745
6745
|
for (var t = 1; t < arguments.length; t++) {
|
|
6746
6746
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6747
|
-
t % 2 ?
|
|
6747
|
+
t % 2 ? Ju(Object(n), !0).forEach(function(r) {
|
|
6748
6748
|
$e(e, r, n[r]);
|
|
6749
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
6749
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ju(Object(n)).forEach(function(r) {
|
|
6750
6750
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
6751
6751
|
});
|
|
6752
6752
|
}
|
|
@@ -6818,7 +6818,7 @@ var Qp = {
|
|
|
6818
6818
|
}, {
|
|
6819
6819
|
key: "create",
|
|
6820
6820
|
value: function(n) {
|
|
6821
|
-
return new e(this.logger,
|
|
6821
|
+
return new e(this.logger, Tu(Tu({}, {
|
|
6822
6822
|
prefix: "".concat(this.prefix, ":").concat(n, ":")
|
|
6823
6823
|
}), this.options));
|
|
6824
6824
|
}
|
|
@@ -6999,7 +6999,7 @@ function Eu(e, t) {
|
|
|
6999
6999
|
}
|
|
7000
7000
|
return n;
|
|
7001
7001
|
}
|
|
7002
|
-
function
|
|
7002
|
+
function Jr(e) {
|
|
7003
7003
|
for (var t = 1; t < arguments.length; t++) {
|
|
7004
7004
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
7005
7005
|
t % 2 ? Eu(Object(n), !0).forEach(function(r) {
|
|
@@ -7091,7 +7091,7 @@ var im = function(e) {
|
|
|
7091
7091
|
}, p = [i, o];
|
|
7092
7092
|
i.indexOf(".") > -1 && (p = i.split("."), a = l, l = o, o = p[1]), this.addNamespaces(o);
|
|
7093
7093
|
var g = Ni(this.data, p) || {};
|
|
7094
|
-
a ? Bd(g, l, u) : g =
|
|
7094
|
+
a ? Bd(g, l, u) : g = Jr(Jr({}, g), l), Qu(this.data, p, g), c.silent || this.emit("added", i, o, l);
|
|
7095
7095
|
}
|
|
7096
7096
|
}, {
|
|
7097
7097
|
key: "removeResourceBundle",
|
|
@@ -7106,7 +7106,7 @@ var im = function(e) {
|
|
|
7106
7106
|
}, {
|
|
7107
7107
|
key: "getResourceBundle",
|
|
7108
7108
|
value: function(i, o) {
|
|
7109
|
-
return o || (o = this.options.defaultNS), this.options.compatibilityAPI === "v1" ?
|
|
7109
|
+
return o || (o = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? Jr(Jr({}, {}), this.getResource(i, o)) : this.getResource(i, o);
|
|
7110
7110
|
}
|
|
7111
7111
|
}, {
|
|
7112
7112
|
key: "getDataByLanguage",
|
|
@@ -8305,7 +8305,7 @@ function as(e, t) {
|
|
|
8305
8305
|
}
|
|
8306
8306
|
return n;
|
|
8307
8307
|
}
|
|
8308
|
-
function
|
|
8308
|
+
function Te(e) {
|
|
8309
8309
|
for (var t = 1; t < arguments.length; t++) {
|
|
8310
8310
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
8311
8311
|
t % 2 ? as(Object(n), !0).forEach(function(r) {
|
|
@@ -8340,7 +8340,7 @@ function ym() {
|
|
|
8340
8340
|
return !1;
|
|
8341
8341
|
}
|
|
8342
8342
|
}
|
|
8343
|
-
function
|
|
8343
|
+
function Tr() {
|
|
8344
8344
|
}
|
|
8345
8345
|
function bm(e) {
|
|
8346
8346
|
var t = Object.getOwnPropertyNames(Object.getPrototypeOf(e));
|
|
@@ -8370,7 +8370,7 @@ var ki = function(e) {
|
|
|
8370
8370
|
var i = this, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 ? arguments[1] : void 0;
|
|
8371
8371
|
typeof o == "function" && (l = o, o = {}), !o.defaultNS && o.defaultNS !== !1 && o.ns && (typeof o.ns == "string" ? o.defaultNS = o.ns : o.ns.indexOf("translation") < 0 && (o.defaultNS = o.ns[0]));
|
|
8372
8372
|
var a = os();
|
|
8373
|
-
this.options =
|
|
8373
|
+
this.options = Te(Te(Te({}, a), this.options), ls(o)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = Te(Te({}, a.interpolation), this.options.interpolation)), o.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = o.keySeparator), o.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = o.nsSeparator);
|
|
8374
8374
|
function u(d) {
|
|
8375
8375
|
return d ? typeof d == "function" ? new d() : d : null;
|
|
8376
8376
|
}
|
|
@@ -8399,7 +8399,7 @@ var ki = function(e) {
|
|
|
8399
8399
|
d.init && d.init(i);
|
|
8400
8400
|
});
|
|
8401
8401
|
}
|
|
8402
|
-
if (this.format = this.options.interpolation.format, l || (l =
|
|
8402
|
+
if (this.format = this.options.interpolation.format, l || (l = Tr), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
8403
8403
|
var f = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
8404
8404
|
f.length > 0 && f[0] !== "dev" && (this.options.lng = f[0]);
|
|
8405
8405
|
}
|
|
@@ -8431,7 +8431,7 @@ var ki = function(e) {
|
|
|
8431
8431
|
}, {
|
|
8432
8432
|
key: "loadResources",
|
|
8433
8433
|
value: function(i) {
|
|
8434
|
-
var o = this, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8434
|
+
var o = this, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Tr, a = l, u = typeof i == "string" ? i : this.language;
|
|
8435
8435
|
if (typeof i == "function" && (a = i), !this.options.resources || this.options.partialBundledLanguages) {
|
|
8436
8436
|
if (u && u.toLowerCase() === "cimode")
|
|
8437
8437
|
return a();
|
|
@@ -8463,7 +8463,7 @@ var ki = function(e) {
|
|
|
8463
8463
|
key: "reloadResources",
|
|
8464
8464
|
value: function(i, o, l) {
|
|
8465
8465
|
var a = Hn();
|
|
8466
|
-
return i || (i = this.languages), o || (o = this.options.ns), l || (l =
|
|
8466
|
+
return i || (i = this.languages), o || (o = this.options.ns), l || (l = Tr), this.services.backendConnector.reload(i, o, function(u) {
|
|
8467
8467
|
a.resolve(), l(u);
|
|
8468
8468
|
}), a;
|
|
8469
8469
|
}
|
|
@@ -8522,7 +8522,7 @@ var ki = function(e) {
|
|
|
8522
8522
|
C[v - 2] = arguments[v];
|
|
8523
8523
|
f = a.options.overloadTranslationOptionHandler([p, g].concat(C));
|
|
8524
8524
|
} else
|
|
8525
|
-
f =
|
|
8525
|
+
f = Te({}, g);
|
|
8526
8526
|
f.lng = f.lng || c.lng, f.lngs = f.lngs || c.lngs, f.ns = f.ns || c.ns, f.keyPrefix = f.keyPrefix || l || c.keyPrefix;
|
|
8527
8527
|
var w = a.options.keySeparator || ".", d;
|
|
8528
8528
|
return f.keyPrefix && Array.isArray(p) ? d = p.map(function(s) {
|
|
@@ -8603,14 +8603,14 @@ var ki = function(e) {
|
|
|
8603
8603
|
}, {
|
|
8604
8604
|
key: "cloneInstance",
|
|
8605
8605
|
value: function() {
|
|
8606
|
-
var i = this, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8606
|
+
var i = this, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Tr, a = Te(Te(Te({}, this.options), o), {
|
|
8607
8607
|
isClone: !0
|
|
8608
8608
|
}), u = new n(a);
|
|
8609
8609
|
(o.debug !== void 0 || o.prefix !== void 0) && (u.logger = u.logger.clone(o));
|
|
8610
8610
|
var c = ["store", "services", "language"];
|
|
8611
8611
|
return c.forEach(function(p) {
|
|
8612
8612
|
u[p] = i[p];
|
|
8613
|
-
}), u.services =
|
|
8613
|
+
}), u.services = Te({}, this.services), u.services.utils = {
|
|
8614
8614
|
hasLoadedNamespace: u.hasLoadedNamespace.bind(u)
|
|
8615
8615
|
}, u.translator = new _u(u.services, u.options), u.translator.on("*", function(p) {
|
|
8616
8616
|
for (var g = arguments.length, f = new Array(g > 1 ? g - 1 : 0), h = 1; h < g; h++)
|
|
@@ -8921,7 +8921,7 @@ const Om = "Se connecter", Km = "Se déconnecter", Vm = "Gérer le profil", jm =
|
|
|
8921
8921
|
genericError: "Pour continuer, veuillez compléter tous les champs correctement",
|
|
8922
8922
|
detailedError: "Pour continuer, veuillez compléter ces champs : { invalidFormFieldLabels }}. Commencez par {{ firstInvalidFormFieldLabel }}"
|
|
8923
8923
|
}
|
|
8924
|
-
},
|
|
8924
|
+
}, Jm = "Code Xtra QR", Tm = "Vie privée", Dm = "Payer avec Xtra", Qm = {
|
|
8925
8925
|
login: Om,
|
|
8926
8926
|
logout: Km,
|
|
8927
8927
|
manageProfile: Vm,
|
|
@@ -8931,8 +8931,8 @@ const Om = "Se connecter", Km = "Se déconnecter", Vm = "Gérer le profil", jm =
|
|
|
8931
8931
|
termsAndConditions: Mm,
|
|
8932
8932
|
confirm: zm,
|
|
8933
8933
|
common: xm,
|
|
8934
|
-
qrCode:
|
|
8935
|
-
privacy:
|
|
8934
|
+
qrCode: Jm,
|
|
8935
|
+
privacy: Tm,
|
|
8936
8936
|
payment: Dm
|
|
8937
8937
|
}, Em = "Aanmelden", Um = "Afmelden", Pm = "Profiel beheren", _m = "Laden", $m = "Xtra navigatie", qm = "Registreren", eh = {
|
|
8938
8938
|
title: "Algemene voorwaarden",
|
|
@@ -8987,7 +8987,7 @@ class sh extends HTMLElement {
|
|
|
8987
8987
|
async connectedCallback() {
|
|
8988
8988
|
const t = this.attachShadow({ mode: "open" });
|
|
8989
8989
|
uh(t);
|
|
8990
|
-
const n = Rd(t), r = (await import("./App-
|
|
8990
|
+
const n = Rd(t), r = (await import("./App-0c60f674.mjs")).default;
|
|
8991
8991
|
n.render(
|
|
8992
8992
|
/* @__PURE__ */ nr.jsx(
|
|
8993
8993
|
r,
|
|
@@ -9005,10 +9005,12 @@ class sh extends HTMLElement {
|
|
|
9005
9005
|
const fh = (e) => {
|
|
9006
9006
|
if (window.frameElement)
|
|
9007
9007
|
return;
|
|
9008
|
-
if (
|
|
9008
|
+
if (!e.apiUrl)
|
|
9009
|
+
throw new Error("apiUrl must specified when registering the Xtra authentication component.");
|
|
9010
|
+
if (!Object.values(Sl).includes(ii))
|
|
9009
9011
|
throw new Yg(ii);
|
|
9010
|
-
return customElements.define("xtra-authentication", sh), { loginWithXtra: () => {
|
|
9011
|
-
const r =
|
|
9012
|
+
return ii = e.environment, Gl = e.apiUrl, Ll = e.redirectUrl ?? window.location.href, jd = e.position ?? "right", Fd = e.bouMenuItems ?? [], customElements.define("xtra-authentication", sh), { loginWithXtra: () => {
|
|
9013
|
+
const r = Jp({ apiUrl: Gl, redirectUrl: Ll });
|
|
9012
9014
|
window.location.replace(r);
|
|
9013
9015
|
} };
|
|
9014
9016
|
};
|
|
@@ -9017,7 +9019,7 @@ export {
|
|
|
9017
9019
|
dh as a,
|
|
9018
9020
|
gh as b,
|
|
9019
9021
|
fh as c,
|
|
9020
|
-
|
|
9022
|
+
Jp as g,
|
|
9021
9023
|
nr as j,
|
|
9022
9024
|
Q as r,
|
|
9023
9025
|
Ys as u
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.button--authentication{position:relative;display:flex;width:auto;width:fit-content;padding:var(--spacing-2);border:none;border-radius:var(--border-radius-sm);font:var(--subtext-medium);gap:0}.button--authentication .button__label{display:none}.button--authentication .button__icon{position:relative;width:24px;height:24px}.button--authentication--authenticated{padding:var(--spacing-2)}.button--authentication--unauthenticated{display:none}
|
|
1
|
+
.button--authentication{position:relative;display:flex;width:auto;width:fit-content;padding:var(--spacing-2);border:none;border-radius:var(--border-radius-sm);font:var(--subtext-medium);gap:0}.button--authentication .button__label{display:none}.button--authentication .button__icon{position:relative;width:24px;height:24px}.button--authentication--authenticated{padding:var(--spacing-2)}.button--authentication--unauthenticated{display:none}@media screen and (min-width: 64rem){.menu--unauthenticated{display:none}.button--authentication{gap:var(--spacing-2)}.button--authentication--unauthenticated{display:flex}.button--authentication:not(.button--authentication--authenticated){padding:var(--spacing-2) var(--spacing-6)}.button--authentication .button__label{display:inline}.button--authentication:not(.button--authentication--authenticated)>.button__icon-right{display:none}}@media (prefers-reduced-motion: no-preference){.spinner:after{position:absolute;width:16px;height:16px;border:4px solid transparent;border-radius:50%;border-top-color:transparent;border-top-color:var(--primary-500);margin:auto;animation:spin 1s ease infinite;content:"";inset:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}}
|