@x4b/webcomponent-banner 60.1.0 → 60.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -321,14 +321,14 @@ function dh() {
|
|
321
321
|
Da = 1;
|
322
322
|
var e = Se, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
323
323
|
function l(u, a, s) {
|
324
|
-
var c, m = {}, p = null,
|
325
|
-
s !== void 0 && (p = "" + s), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (
|
324
|
+
var c, m = {}, p = null, v = null;
|
325
|
+
s !== void 0 && (p = "" + s), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (v = a.ref);
|
326
326
|
for (c in a)
|
327
327
|
r.call(a, c) && !i.hasOwnProperty(c) && (m[c] = a[c]);
|
328
328
|
if (u && u.defaultProps)
|
329
329
|
for (c in a = u.defaultProps, a)
|
330
330
|
m[c] === void 0 && (m[c] = a[c]);
|
331
|
-
return { $$typeof: t, type: u, key: p, ref:
|
331
|
+
return { $$typeof: t, type: u, key: p, ref: v, props: m, _owner: o.current };
|
332
332
|
}
|
333
333
|
return Yn.Fragment = n, Yn.jsx = l, Yn.jsxs = l, Yn;
|
334
334
|
}
|
@@ -364,20 +364,20 @@ const Ie = Se.forwardRef(({
|
|
364
364
|
disabled: c,
|
365
365
|
...m
|
366
366
|
}, p) => {
|
367
|
-
const
|
368
|
-
return /* @__PURE__ */ An(
|
367
|
+
const v = s || "button", w = c || t;
|
368
|
+
return /* @__PURE__ */ An(v, {
|
369
369
|
ref: p,
|
370
370
|
disabled: w,
|
371
371
|
className: xu("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none", r === "sm" && "tw-text-sm", r === "base" && "tw-text-base", r === "lg" && "tw-text-base lg:tw-text-lg", r === "xl" && "tw-text-base lg:tw-text-lg xl:tw-text-xl", i ? "tw-px-3" : o ? "tw-px-2" : "tw-px-4", i ? "tw-rounded-full tw-py-3" : "tw-rounded-lg tw-py-2", w ? "tw-cursor-default tw-opacity-40" : "tw-cursor-pointer", e === "solid" && ["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring", n === "primary" && ["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white", !w && "hover:tw-bg-primary-700 hover:tw-border-primary-700"], n === "accent" && ["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white", !w && "hover:tw-bg-accent-900 hover:tw-border-accent-900"], n === "gray" && ["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ", !w && "hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"], n === "red" && ["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300", !w && "hover:tw-border-red-800 hover:tw-bg-red-800"], n === "green" && ["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300", !w && "hover:tw-border-green-800 hover:tw-bg-green-800"]], e === "outline" && ["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", n === "primary" && ["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300", !w && "hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"], n === "accent" && ["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300", !w && "hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"], n === "gray" && ["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300", !w && "hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"], n === "red" && ["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300", !w && "hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"], n === "green" && ["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300", !w && "hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]], e === "ghost" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", n === "primary" && ["tw-text-primary-600 focus-visible:tw-ring-primary-300", !w && "hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"], n === "accent" && ["tw-text-accent-800 focus-visible:tw-ring-accent-300", !w && "hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"], n === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300", !w && "hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"], n === "red" && ["tw-text-red-800 focus-visible:tw-ring-red-300", !w && "hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"], n === "green" && ["tw-text-green-800 focus-visible:tw-ring-green-300", !w && "hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]], e === "link" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2", n === "primary" && ["focus-visible:tw-ring-primary-300 tw-text-primary-700"], n === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300"]], a),
|
372
372
|
...m,
|
373
|
-
children: /* @__PURE__ */ An(
|
373
|
+
children: /* @__PURE__ */ An(vh, {
|
374
374
|
isLoading: t,
|
375
375
|
loadingLabel: l,
|
376
376
|
children: u
|
377
377
|
})
|
378
378
|
});
|
379
379
|
});
|
380
|
-
function
|
380
|
+
function vh({
|
381
381
|
isLoading: e,
|
382
382
|
loadingLabel: t,
|
383
383
|
children: n
|
@@ -396,7 +396,7 @@ function gh({
|
|
396
396
|
});
|
397
397
|
}
|
398
398
|
typeof window > "u" || Se.useLayoutEffect;
|
399
|
-
var
|
399
|
+
var gh = {
|
400
400
|
width: "w",
|
401
401
|
height: "h",
|
402
402
|
x: "x",
|
@@ -423,7 +423,7 @@ var vh = {
|
|
423
423
|
pageY: "py",
|
424
424
|
tags: "tags"
|
425
425
|
};
|
426
|
-
"" + Object.keys(
|
426
|
+
"" + Object.keys(gh).join("|");
|
427
427
|
var Ro = globalThis && globalThis.__assign || function() {
|
428
428
|
return Ro = Object.assign || function(e) {
|
429
429
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
@@ -499,7 +499,7 @@ var ku = { exports: {} }, He = {}, Ic = { exports: {} }, _c = {};
|
|
499
499
|
return l.now() - u;
|
500
500
|
};
|
501
501
|
}
|
502
|
-
var a = [], s = [], c = 1, m = null, p = 3,
|
502
|
+
var a = [], s = [], c = 1, m = null, p = 3, v = !1, w = !1, y = !1, S = typeof setTimeout == "function" ? setTimeout : null, h = typeof clearTimeout == "function" ? clearTimeout : null, f = typeof setImmediate < "u" ? setImmediate : null;
|
503
503
|
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
504
504
|
function d(R) {
|
505
505
|
for (var _ = n(s); _ !== null; ) {
|
@@ -515,14 +515,14 @@ var ku = { exports: {} }, He = {}, Ic = { exports: {} }, _c = {};
|
|
515
515
|
function E(R) {
|
516
516
|
if (y = !1, d(R), !w)
|
517
517
|
if (n(a) !== null)
|
518
|
-
w = !0, Xe(
|
518
|
+
w = !0, Xe(g);
|
519
519
|
else {
|
520
520
|
var _ = n(s);
|
521
521
|
_ !== null && Qn(E, _.startTime - R);
|
522
522
|
}
|
523
523
|
}
|
524
|
-
function
|
525
|
-
w = !1, y && (y = !1, h(M), M = -1),
|
524
|
+
function g(R, _) {
|
525
|
+
w = !1, y && (y = !1, h(M), M = -1), v = !0;
|
526
526
|
var O = p;
|
527
527
|
try {
|
528
528
|
for (d(_), m = n(a); m !== null && (!(m.expirationTime > _) || R && !ue()); ) {
|
@@ -543,7 +543,7 @@ var ku = { exports: {} }, He = {}, Ic = { exports: {} }, _c = {};
|
|
543
543
|
}
|
544
544
|
return hn;
|
545
545
|
} finally {
|
546
|
-
m = null, p = O,
|
546
|
+
m = null, p = O, v = !1;
|
547
547
|
}
|
548
548
|
}
|
549
549
|
var T = !1, C = null, M = -1, U = 5, I = -1;
|
@@ -588,7 +588,7 @@ var ku = { exports: {} }, He = {}, Ic = { exports: {} }, _c = {};
|
|
588
588
|
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(R) {
|
589
589
|
R.callback = null;
|
590
590
|
}, e.unstable_continueExecution = function() {
|
591
|
-
w ||
|
591
|
+
w || v || (w = !0, Xe(g));
|
592
592
|
}, e.unstable_forceFrameRate = function(R) {
|
593
593
|
0 > R || 125 < R ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : U = 0 < R ? Math.floor(1e3 / R) : 5;
|
594
594
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
@@ -650,7 +650,7 @@ var ku = { exports: {} }, He = {}, Ic = { exports: {} }, _c = {};
|
|
650
650
|
default:
|
651
651
|
ne = 5e3;
|
652
652
|
}
|
653
|
-
return ne = O + ne, R = { id: c++, callback: _, priorityLevel: R, startTime: O, expirationTime: ne, sortIndex: -1 }, O > Q ? (R.sortIndex = O, t(s, R), n(a) === null && R === n(s) && (y ? (h(M), M = -1) : y = !0, Qn(E, O - Q))) : (R.sortIndex = ne, t(a, R), w ||
|
653
|
+
return ne = O + ne, R = { id: c++, callback: _, priorityLevel: R, startTime: O, expirationTime: ne, sortIndex: -1 }, O > Q ? (R.sortIndex = O, t(s, R), n(a) === null && R === n(s) && (y ? (h(M), M = -1) : y = !0, Qn(E, O - Q))) : (R.sortIndex = ne, t(a, R), w || v || (w = !0, Xe(g))), R;
|
654
654
|
}, e.unstable_shouldYield = ue, e.unstable_wrapCallback = function(R) {
|
655
655
|
var _ = p;
|
656
656
|
return function() {
|
@@ -787,7 +787,7 @@ function Cu(e, t, n, r) {
|
|
787
787
|
var o = de.hasOwnProperty(t) ? de[t] : null;
|
788
788
|
(o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (xh(t, n, o, r) && (n = null), r || o === null ? Eh(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : o.mustUseProperty ? e[o.propertyName] = n === null ? o.type === 3 ? !1 : "" : n : (t = o.attributeName, r = o.attributeNamespace, n === null ? e.removeAttribute(t) : (o = o.type, n = o === 3 || o === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
|
789
789
|
}
|
790
|
-
var Tt = Oc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Zr = Symbol.for("react.element"),
|
790
|
+
var Tt = Oc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Zr = Symbol.for("react.element"), vn = Symbol.for("react.portal"), gn = Symbol.for("react.fragment"), Ru = Symbol.for("react.strict_mode"), ul = Symbol.for("react.profiler"), Ac = Symbol.for("react.provider"), Hc = Symbol.for("react.context"), Pu = Symbol.for("react.forward_ref"), al = Symbol.for("react.suspense"), sl = Symbol.for("react.suspense_list"), Mu = Symbol.for("react.memo"), Pt = Symbol.for("react.lazy"), zc = Symbol.for("react.offscreen"), Ba = Symbol.iterator;
|
791
791
|
function Jn(e) {
|
792
792
|
return e === null || typeof e != "object" ? null : (e = Ba && e[Ba] || e["@@iterator"], typeof e == "function" ? e : null);
|
793
793
|
}
|
@@ -893,9 +893,9 @@ function cl(e) {
|
|
893
893
|
if (typeof e == "string")
|
894
894
|
return e;
|
895
895
|
switch (e) {
|
896
|
-
case vn:
|
897
|
-
return "Fragment";
|
898
896
|
case gn:
|
897
|
+
return "Fragment";
|
898
|
+
case vn:
|
899
899
|
return "Portal";
|
900
900
|
case ul:
|
901
901
|
return "Profiler";
|
@@ -1217,7 +1217,7 @@ function Gc(e, t) {
|
|
1217
1217
|
}
|
1218
1218
|
}
|
1219
1219
|
var Rh = J({ 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 });
|
1220
|
-
function
|
1220
|
+
function vl(e, t) {
|
1221
1221
|
if (t) {
|
1222
1222
|
if (Rh[e] && (t.children != null || t.dangerouslySetInnerHTML != null))
|
1223
1223
|
throw Error(N(137, e));
|
@@ -1231,7 +1231,7 @@ function gl(e, t) {
|
|
1231
1231
|
throw Error(N(62));
|
1232
1232
|
}
|
1233
1233
|
}
|
1234
|
-
function
|
1234
|
+
function gl(e, t) {
|
1235
1235
|
if (e.indexOf("-") === -1)
|
1236
1236
|
return typeof t.is == "string";
|
1237
1237
|
switch (e) {
|
@@ -1884,7 +1884,7 @@ function df() {
|
|
1884
1884
|
;
|
1885
1885
|
return mo = o.slice(e, 1 < r ? 1 - r : void 0);
|
1886
1886
|
}
|
1887
|
-
function
|
1887
|
+
function vo(e) {
|
1888
1888
|
var t = e.keyCode;
|
1889
1889
|
return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
|
1890
1890
|
}
|
@@ -1985,13 +1985,13 @@ var am = J({}, Ur, { key: function(e) {
|
|
1985
1985
|
if (t !== "Unidentified")
|
1986
1986
|
return t;
|
1987
1987
|
}
|
1988
|
-
return e.type === "keypress" ? (e =
|
1988
|
+
return e.type === "keypress" ? (e = vo(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? im[e.keyCode] || "Unidentified" : "";
|
1989
1989
|
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zu, charCode: function(e) {
|
1990
|
-
return e.type === "keypress" ?
|
1990
|
+
return e.type === "keypress" ? vo(e) : 0;
|
1991
1991
|
}, keyCode: function(e) {
|
1992
1992
|
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
1993
1993
|
}, which: function(e) {
|
1994
|
-
return e.type === "keypress" ?
|
1994
|
+
return e.type === "keypress" ? vo(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
1995
1995
|
} }), sm = ze(am), cm = J({}, li, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Ya = ze(cm), fm = J({}, Ur, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zu }), dm = ze(fm), pm = J({}, Xn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), hm = ze(pm), mm = J({}, li, {
|
1996
1996
|
deltaX: function(e) {
|
1997
1997
|
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
@@ -2001,13 +2001,13 @@ var am = J({}, Ur, { key: function(e) {
|
|
2001
2001
|
},
|
2002
2002
|
deltaZ: 0,
|
2003
2003
|
deltaMode: 0
|
2004
|
-
}),
|
2004
|
+
}), vm = ze(mm), gm = [9, 13, 27, 32], Bu = Et && "CompositionEvent" in window, pr = null;
|
2005
2005
|
Et && "documentMode" in document && (pr = document.documentMode);
|
2006
2006
|
var ym = Et && "TextEvent" in window && !pr, pf = Et && (!Bu || pr && 8 < pr && 11 >= pr), Ja = String.fromCharCode(32), qa = !1;
|
2007
2007
|
function hf(e, t) {
|
2008
2008
|
switch (e) {
|
2009
2009
|
case "keyup":
|
2010
|
-
return
|
2010
|
+
return gm.indexOf(t.keyCode) !== -1;
|
2011
2011
|
case "keydown":
|
2012
2012
|
return t.keyCode !== 229;
|
2013
2013
|
case "keypress":
|
@@ -2059,7 +2059,7 @@ function es(e) {
|
|
2059
2059
|
var t = e && e.nodeName && e.nodeName.toLowerCase();
|
2060
2060
|
return t === "input" ? !!Sm[e.type] : t === "textarea";
|
2061
2061
|
}
|
2062
|
-
function
|
2062
|
+
function vf(e, t, n, r) {
|
2063
2063
|
Xc(r), t = Ao(t, "onChange"), 0 < t.length && (n = new Hu("onChange", "change", null, n, r), e.push({ event: n, listeners: t }));
|
2064
2064
|
}
|
2065
2065
|
var hr = null, Cr = null;
|
@@ -2075,7 +2075,7 @@ function km(e, t) {
|
|
2075
2075
|
if (e === "change")
|
2076
2076
|
return t;
|
2077
2077
|
}
|
2078
|
-
var
|
2078
|
+
var gf = !1;
|
2079
2079
|
if (Et) {
|
2080
2080
|
var Hi;
|
2081
2081
|
if (Et) {
|
@@ -2087,7 +2087,7 @@ if (Et) {
|
|
2087
2087
|
Hi = zi;
|
2088
2088
|
} else
|
2089
2089
|
Hi = !1;
|
2090
|
-
|
2090
|
+
gf = Hi && (!document.documentMode || 9 < document.documentMode);
|
2091
2091
|
}
|
2092
2092
|
function ns() {
|
2093
2093
|
hr && (hr.detachEvent("onpropertychange", yf), Cr = hr = null);
|
@@ -2095,7 +2095,7 @@ function ns() {
|
|
2095
2095
|
function yf(e) {
|
2096
2096
|
if (e.propertyName === "value" && ui(Cr)) {
|
2097
2097
|
var t = [];
|
2098
|
-
|
2098
|
+
vf(t, Cr, e, Lu(e)), Kc(xm, t);
|
2099
2099
|
}
|
2100
2100
|
}
|
2101
2101
|
function Tm(e, t, n) {
|
@@ -2350,24 +2350,24 @@ function ji(e, t, n, r, o) {
|
|
2350
2350
|
e: {
|
2351
2351
|
var p = Cf.get(e);
|
2352
2352
|
if (p !== void 0) {
|
2353
|
-
var
|
2353
|
+
var v = Hu, w = e;
|
2354
2354
|
switch (e) {
|
2355
2355
|
case "keypress":
|
2356
|
-
if (
|
2356
|
+
if (vo(n) === 0)
|
2357
2357
|
break e;
|
2358
2358
|
case "keydown":
|
2359
2359
|
case "keyup":
|
2360
|
-
|
2360
|
+
v = sm;
|
2361
2361
|
break;
|
2362
2362
|
case "focusin":
|
2363
|
-
w = "focus",
|
2363
|
+
w = "focus", v = Ai;
|
2364
2364
|
break;
|
2365
2365
|
case "focusout":
|
2366
|
-
w = "blur",
|
2366
|
+
w = "blur", v = Ai;
|
2367
2367
|
break;
|
2368
2368
|
case "beforeblur":
|
2369
2369
|
case "afterblur":
|
2370
|
-
|
2370
|
+
v = Ai;
|
2371
2371
|
break;
|
2372
2372
|
case "click":
|
2373
2373
|
if (n.button === 2)
|
@@ -2380,7 +2380,7 @@ function ji(e, t, n, r, o) {
|
|
2380
2380
|
case "mouseout":
|
2381
2381
|
case "mouseover":
|
2382
2382
|
case "contextmenu":
|
2383
|
-
|
2383
|
+
v = Qa;
|
2384
2384
|
break;
|
2385
2385
|
case "drag":
|
2386
2386
|
case "dragend":
|
@@ -2390,32 +2390,32 @@ function ji(e, t, n, r, o) {
|
|
2390
2390
|
case "dragover":
|
2391
2391
|
case "dragstart":
|
2392
2392
|
case "drop":
|
2393
|
-
|
2393
|
+
v = Yh;
|
2394
2394
|
break;
|
2395
2395
|
case "touchcancel":
|
2396
2396
|
case "touchend":
|
2397
2397
|
case "touchmove":
|
2398
2398
|
case "touchstart":
|
2399
|
-
|
2399
|
+
v = dm;
|
2400
2400
|
break;
|
2401
2401
|
case xf:
|
2402
2402
|
case kf:
|
2403
2403
|
case Tf:
|
2404
|
-
|
2404
|
+
v = em;
|
2405
2405
|
break;
|
2406
2406
|
case Nf:
|
2407
|
-
|
2407
|
+
v = hm;
|
2408
2408
|
break;
|
2409
2409
|
case "scroll":
|
2410
|
-
|
2410
|
+
v = Qh;
|
2411
2411
|
break;
|
2412
2412
|
case "wheel":
|
2413
|
-
|
2413
|
+
v = vm;
|
2414
2414
|
break;
|
2415
2415
|
case "copy":
|
2416
2416
|
case "cut":
|
2417
2417
|
case "paste":
|
2418
|
-
|
2418
|
+
v = nm;
|
2419
2419
|
break;
|
2420
2420
|
case "gotpointercapture":
|
2421
2421
|
case "lostpointercapture":
|
@@ -2425,7 +2425,7 @@ function ji(e, t, n, r, o) {
|
|
2425
2425
|
case "pointerout":
|
2426
2426
|
case "pointerover":
|
2427
2427
|
case "pointerup":
|
2428
|
-
|
2428
|
+
v = Ya;
|
2429
2429
|
}
|
2430
2430
|
var y = (t & 4) !== 0, S = !y && e === "scroll", h = y ? p !== null ? p + "Capture" : null : p;
|
2431
2431
|
y = [];
|
@@ -2436,17 +2436,17 @@ function ji(e, t, n, r, o) {
|
|
2436
2436
|
break;
|
2437
2437
|
f = f.return;
|
2438
2438
|
}
|
2439
|
-
0 < y.length && (p = new
|
2439
|
+
0 < y.length && (p = new v(p, w, null, n, c), m.push({ event: p, listeners: y }));
|
2440
2440
|
}
|
2441
2441
|
}
|
2442
2442
|
if ((t & 7) === 0) {
|
2443
2443
|
e: {
|
2444
|
-
if (p = e === "mouseover" || e === "pointerover",
|
2444
|
+
if (p = e === "mouseover" || e === "pointerover", v = e === "mouseout" || e === "pointerout", p && n !== yl && (w = n.relatedTarget || n.fromElement) && (qt(w) || w[St]))
|
2445
2445
|
break e;
|
2446
|
-
if ((
|
2447
|
-
if (y = Qa, E = "onMouseLeave", h = "onMouseEnter", f = "mouse", (e === "pointerout" || e === "pointerover") && (y = Ya, E = "onPointerLeave", h = "onPointerEnter", f = "pointer"), S =
|
2446
|
+
if ((v || p) && (p = c.window === c ? c : (p = c.ownerDocument) ? p.defaultView || p.parentWindow : window, v ? (w = n.relatedTarget || n.toElement, v = s, w = w ? qt(w) : null, w !== null && (S = fn(w), w !== S || w.tag !== 5 && w.tag !== 6) && (w = null)) : (v = null, w = s), v !== w)) {
|
2447
|
+
if (y = Qa, E = "onMouseLeave", h = "onMouseEnter", f = "mouse", (e === "pointerout" || e === "pointerover") && (y = Ya, E = "onPointerLeave", h = "onPointerEnter", f = "pointer"), S = v == null ? p : Sn(v), d = w == null ? p : Sn(w), p = new y(E, f + "leave", v, n, c), p.target = S, p.relatedTarget = d, E = null, qt(c) === s && (y = new y(h, f + "enter", w, n, c), y.target = d, y.relatedTarget = S, E = y), S = E, v && w)
|
2448
2448
|
t: {
|
2449
|
-
for (y =
|
2449
|
+
for (y = v, h = w, f = 0, d = y; d; d = mn(d))
|
2450
2450
|
f++;
|
2451
2451
|
for (d = 0, E = h; E; E = mn(E))
|
2452
2452
|
d++;
|
@@ -2463,23 +2463,23 @@ function ji(e, t, n, r, o) {
|
|
2463
2463
|
}
|
2464
2464
|
else
|
2465
2465
|
y = null;
|
2466
|
-
|
2466
|
+
v !== null && as(m, p, v, y, !1), w !== null && S !== null && as(m, S, w, y, !0);
|
2467
2467
|
}
|
2468
2468
|
}
|
2469
2469
|
e: {
|
2470
|
-
if (p = s ? Sn(s) : window,
|
2471
|
-
var
|
2470
|
+
if (p = s ? Sn(s) : window, v = p.nodeName && p.nodeName.toLowerCase(), v === "select" || v === "input" && p.type === "file")
|
2471
|
+
var g = km;
|
2472
2472
|
else if (es(p))
|
2473
|
-
if (
|
2474
|
-
|
2473
|
+
if (gf)
|
2474
|
+
g = Rm;
|
2475
2475
|
else {
|
2476
|
-
|
2476
|
+
g = Nm;
|
2477
2477
|
var T = Tm;
|
2478
2478
|
}
|
2479
2479
|
else
|
2480
|
-
(
|
2481
|
-
if (
|
2482
|
-
|
2480
|
+
(v = p.nodeName) && v.toLowerCase() === "input" && (p.type === "checkbox" || p.type === "radio") && (g = Cm);
|
2481
|
+
if (g && (g = g(e, s))) {
|
2482
|
+
vf(m, g, n, c);
|
2483
2483
|
break e;
|
2484
2484
|
}
|
2485
2485
|
T && T(e, p, s), e === "focusout" && (T = p._wrapperState) && T.controlled && p.type === "number" && pl(p, "number", p.value);
|
@@ -2666,7 +2666,7 @@ function Z(e) {
|
|
2666
2666
|
function $(e, t) {
|
2667
2667
|
xn++, _l[xn] = e.current, e.current = t;
|
2668
2668
|
}
|
2669
|
-
var $t = {},
|
2669
|
+
var $t = {}, ve = Zt($t), Re = Zt(!1), on = $t;
|
2670
2670
|
function zn(e, t) {
|
2671
2671
|
var n = e.type.contextTypes;
|
2672
2672
|
if (!n)
|
@@ -2683,12 +2683,12 @@ function Pe(e) {
|
|
2683
2683
|
return e = e.childContextTypes, e != null;
|
2684
2684
|
}
|
2685
2685
|
function zo() {
|
2686
|
-
Z(Re), Z(
|
2686
|
+
Z(Re), Z(ve);
|
2687
2687
|
}
|
2688
2688
|
function ds(e, t, n) {
|
2689
|
-
if (
|
2689
|
+
if (ve.current !== $t)
|
2690
2690
|
throw Error(N(168));
|
2691
|
-
$(
|
2691
|
+
$(ve, t), $(Re, n);
|
2692
2692
|
}
|
2693
2693
|
function Mf(e, t, n) {
|
2694
2694
|
var r = e.stateNode;
|
@@ -2701,58 +2701,58 @@ function Mf(e, t, n) {
|
|
2701
2701
|
return J({}, n, r);
|
2702
2702
|
}
|
2703
2703
|
function Bo(e) {
|
2704
|
-
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || $t, on =
|
2704
|
+
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || $t, on = ve.current, $(ve, e), $(Re, Re.current), !0;
|
2705
2705
|
}
|
2706
2706
|
function ps(e, t, n) {
|
2707
2707
|
var r = e.stateNode;
|
2708
2708
|
if (!r)
|
2709
2709
|
throw Error(N(169));
|
2710
|
-
n ? (e = Mf(e, t, on), r.__reactInternalMemoizedMergedChildContext = e, Z(Re), Z(
|
2710
|
+
n ? (e = Mf(e, t, on), r.__reactInternalMemoizedMergedChildContext = e, Z(Re), Z(ve), $(ve, e)) : Z(Re), $(Re, n);
|
2711
2711
|
}
|
2712
|
-
var
|
2712
|
+
var vt = null, ci = !1, $i = !1;
|
2713
2713
|
function Lf(e) {
|
2714
|
-
|
2714
|
+
vt === null ? vt = [e] : vt.push(e);
|
2715
2715
|
}
|
2716
2716
|
function Um(e) {
|
2717
2717
|
ci = !0, Lf(e);
|
2718
2718
|
}
|
2719
2719
|
function Wt() {
|
2720
|
-
if (!$i &&
|
2720
|
+
if (!$i && vt !== null) {
|
2721
2721
|
$i = !0;
|
2722
2722
|
var e = 0, t = F;
|
2723
2723
|
try {
|
2724
|
-
var n =
|
2724
|
+
var n = vt;
|
2725
2725
|
for (F = 1; e < n.length; e++) {
|
2726
2726
|
var r = n[e];
|
2727
2727
|
do
|
2728
2728
|
r = r(!0);
|
2729
2729
|
while (r !== null);
|
2730
2730
|
}
|
2731
|
-
|
2731
|
+
vt = null, ci = !1;
|
2732
2732
|
} catch (o) {
|
2733
|
-
throw
|
2733
|
+
throw vt !== null && (vt = vt.slice(e + 1)), ef(Iu, Wt), o;
|
2734
2734
|
} finally {
|
2735
2735
|
F = t, $i = !1;
|
2736
2736
|
}
|
2737
2737
|
}
|
2738
2738
|
return null;
|
2739
2739
|
}
|
2740
|
-
var kn = [], Tn = 0, bo = null, Fo = 0, Be = [], be = 0, ln = null,
|
2740
|
+
var kn = [], Tn = 0, bo = null, Fo = 0, Be = [], be = 0, ln = null, gt = 1, yt = "";
|
2741
2741
|
function Yt(e, t) {
|
2742
2742
|
kn[Tn++] = Fo, kn[Tn++] = bo, bo = e, Fo = t;
|
2743
2743
|
}
|
2744
2744
|
function If(e, t, n) {
|
2745
|
-
Be[be++] =
|
2746
|
-
var r =
|
2745
|
+
Be[be++] = gt, Be[be++] = yt, Be[be++] = ln, ln = e;
|
2746
|
+
var r = gt;
|
2747
2747
|
e = yt;
|
2748
2748
|
var o = 32 - Je(r) - 1;
|
2749
2749
|
r &= ~(1 << o), n += 1;
|
2750
2750
|
var i = 32 - Je(t) + o;
|
2751
2751
|
if (30 < i) {
|
2752
2752
|
var l = o - o % 5;
|
2753
|
-
i = (r & (1 << l) - 1).toString(32), r >>= l, o -= l,
|
2753
|
+
i = (r & (1 << l) - 1).toString(32), r >>= l, o -= l, gt = 1 << 32 - Je(t) + o | n << o | r, yt = i + e;
|
2754
2754
|
} else
|
2755
|
-
|
2755
|
+
gt = 1 << i | n << o | r, yt = e;
|
2756
2756
|
}
|
2757
2757
|
function Fu(e) {
|
2758
2758
|
e.return !== null && (Yt(e, 1), If(e, 1, 0));
|
@@ -2761,7 +2761,7 @@ function Uu(e) {
|
|
2761
2761
|
for (; e === bo; )
|
2762
2762
|
bo = kn[--Tn], kn[Tn] = null, Fo = kn[--Tn], kn[Tn] = null;
|
2763
2763
|
for (; e === ln; )
|
2764
|
-
ln = Be[--be], Be[be] = null, yt = Be[--be], Be[be] = null,
|
2764
|
+
ln = Be[--be], Be[be] = null, yt = Be[--be], Be[be] = null, gt = Be[--be], Be[be] = null;
|
2765
2765
|
}
|
2766
2766
|
var De = null, Oe = null, W = !1, Ye = null;
|
2767
2767
|
function _f(e, t) {
|
@@ -2776,7 +2776,7 @@ function hs(e, t) {
|
|
2776
2776
|
case 6:
|
2777
2777
|
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, De = e, Oe = null, !0) : !1;
|
2778
2778
|
case 13:
|
2779
|
-
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = ln !== null ? { id:
|
2779
|
+
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = ln !== null ? { id: gt, overflow: yt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = Fe(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, De = e, Oe = null, !0) : !1;
|
2780
2780
|
default:
|
2781
2781
|
return !1;
|
2782
2782
|
}
|
@@ -2929,13 +2929,13 @@ function bt(e, t, n) {
|
|
2929
2929
|
}
|
2930
2930
|
return o = r.interleaved, o === null ? (t.next = t, Xu(r)) : (t.next = o.next, o.next = t), r.interleaved = t, xt(e, n);
|
2931
2931
|
}
|
2932
|
-
function
|
2932
|
+
function go(e, t, n) {
|
2933
2933
|
if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) {
|
2934
2934
|
var r = t.lanes;
|
2935
2935
|
r &= e.pendingLanes, n |= r, t.lanes = n, _u(e, n);
|
2936
2936
|
}
|
2937
2937
|
}
|
2938
|
-
function
|
2938
|
+
function vs(e, t) {
|
2939
2939
|
var n = e.updateQueue, r = e.alternate;
|
2940
2940
|
if (r !== null && (r = r.updateQueue, n === r)) {
|
2941
2941
|
var o = null, i = null;
|
@@ -2967,10 +2967,10 @@ function Vo(e, t, n, r) {
|
|
2967
2967
|
var m = o.baseState;
|
2968
2968
|
l = 0, c = s = a = null, u = i;
|
2969
2969
|
do {
|
2970
|
-
var p = u.lane,
|
2970
|
+
var p = u.lane, v = u.eventTime;
|
2971
2971
|
if ((r & p) === p) {
|
2972
2972
|
c !== null && (c = c.next = {
|
2973
|
-
eventTime:
|
2973
|
+
eventTime: v,
|
2974
2974
|
lane: 0,
|
2975
2975
|
tag: u.tag,
|
2976
2976
|
payload: u.payload,
|
@@ -2979,10 +2979,10 @@ function Vo(e, t, n, r) {
|
|
2979
2979
|
});
|
2980
2980
|
e: {
|
2981
2981
|
var w = e, y = u;
|
2982
|
-
switch (p = t,
|
2982
|
+
switch (p = t, v = n, y.tag) {
|
2983
2983
|
case 1:
|
2984
2984
|
if (w = y.payload, typeof w == "function") {
|
2985
|
-
m = w.call(
|
2985
|
+
m = w.call(v, m, p);
|
2986
2986
|
break e;
|
2987
2987
|
}
|
2988
2988
|
m = w;
|
@@ -2990,7 +2990,7 @@ function Vo(e, t, n, r) {
|
|
2990
2990
|
case 3:
|
2991
2991
|
w.flags = w.flags & -65537 | 128;
|
2992
2992
|
case 0:
|
2993
|
-
if (w = y.payload, p = typeof w == "function" ? w.call(
|
2993
|
+
if (w = y.payload, p = typeof w == "function" ? w.call(v, m, p) : w, p == null)
|
2994
2994
|
break e;
|
2995
2995
|
m = J({}, m, p);
|
2996
2996
|
break e;
|
@@ -3000,7 +3000,7 @@ function Vo(e, t, n, r) {
|
|
3000
3000
|
}
|
3001
3001
|
u.callback !== null && u.lane !== 0 && (e.flags |= 64, p = o.effects, p === null ? o.effects = [u] : p.push(u));
|
3002
3002
|
} else
|
3003
|
-
|
3003
|
+
v = { eventTime: v, lane: p, tag: u.tag, payload: u.payload, callback: u.callback, next: null }, c === null ? (s = c = v, a = m) : c = c.next = v, l |= p;
|
3004
3004
|
if (u = u.next, u === null) {
|
3005
3005
|
if (u = o.shared.pending, u === null)
|
3006
3006
|
break;
|
@@ -3017,7 +3017,7 @@ function Vo(e, t, n, r) {
|
|
3017
3017
|
an |= l, e.lanes = l, e.memoizedState = m;
|
3018
3018
|
}
|
3019
3019
|
}
|
3020
|
-
function
|
3020
|
+
function gs(e, t, n) {
|
3021
3021
|
if (e = t.effects, t.effects = null, e !== null)
|
3022
3022
|
for (t = 0; t < e.length; t++) {
|
3023
3023
|
var r = e[t], o = r.callback;
|
@@ -3037,22 +3037,22 @@ var fi = { isMounted: function(e) {
|
|
3037
3037
|
}, enqueueSetState: function(e, t, n) {
|
3038
3038
|
e = e._reactInternals;
|
3039
3039
|
var r = xe(), o = Ut(e), i = wt(r, o);
|
3040
|
-
i.payload = t, n != null && (i.callback = n), t = bt(e, i, o), t !== null && (qe(t, e, o, r),
|
3040
|
+
i.payload = t, n != null && (i.callback = n), t = bt(e, i, o), t !== null && (qe(t, e, o, r), go(t, e, o));
|
3041
3041
|
}, enqueueReplaceState: function(e, t, n) {
|
3042
3042
|
e = e._reactInternals;
|
3043
3043
|
var r = xe(), o = Ut(e), i = wt(r, o);
|
3044
|
-
i.tag = 1, i.payload = t, n != null && (i.callback = n), t = bt(e, i, o), t !== null && (qe(t, e, o, r),
|
3044
|
+
i.tag = 1, i.payload = t, n != null && (i.callback = n), t = bt(e, i, o), t !== null && (qe(t, e, o, r), go(t, e, o));
|
3045
3045
|
}, enqueueForceUpdate: function(e, t) {
|
3046
3046
|
e = e._reactInternals;
|
3047
3047
|
var n = xe(), r = Ut(e), o = wt(n, r);
|
3048
|
-
o.tag = 2, t != null && (o.callback = t), t = bt(e, o, r), t !== null && (qe(t, e, r, n),
|
3048
|
+
o.tag = 2, t != null && (o.callback = t), t = bt(e, o, r), t !== null && (qe(t, e, r, n), go(t, e, r));
|
3049
3049
|
} };
|
3050
3050
|
function ys(e, t, n, r, o, i, l) {
|
3051
3051
|
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, i, l) : t.prototype && t.prototype.isPureReactComponent ? !Rr(n, r) || !Rr(o, i) : !0;
|
3052
3052
|
}
|
3053
3053
|
function zf(e, t, n) {
|
3054
3054
|
var r = !1, o = $t, i = t.contextType;
|
3055
|
-
return typeof i == "object" && i !== null ? i = Ve(i) : (o = Pe(t) ? on :
|
3055
|
+
return typeof i == "object" && i !== null ? i = Ve(i) : (o = Pe(t) ? on : ve.current, r = t.contextTypes, i = (r = r != null) ? zn(e, o) : $t), t = new t(n, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = fi, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t;
|
3056
3056
|
}
|
3057
3057
|
function ws(e, t, n, r) {
|
3058
3058
|
e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && fi.enqueueReplaceState(t, t.state, null);
|
@@ -3061,7 +3061,7 @@ function zl(e, t, n, r) {
|
|
3061
3061
|
var o = e.stateNode;
|
3062
3062
|
o.props = n, o.state = e.memoizedState, o.refs = Hf, Zu(e);
|
3063
3063
|
var i = t.contextType;
|
3064
|
-
typeof i == "object" && i !== null ? o.context = Ve(i) : (i = Pe(t) ? on :
|
3064
|
+
typeof i == "object" && i !== null ? o.context = Ve(i) : (i = Pe(t) ? on : ve.current, o.context = zn(e, i)), o.state = e.memoizedState, i = t.getDerivedStateFromProps, typeof i == "function" && (Hl(e, t, i, n), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount(), t !== o.state && fi.enqueueReplaceState(o, o.state, null), Vo(e, n, o, r), o.state = e.memoizedState), typeof o.componentDidMount == "function" && (e.flags |= 4194308);
|
3065
3065
|
}
|
3066
3066
|
function rr(e, t, n) {
|
3067
3067
|
if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
|
@@ -3125,14 +3125,14 @@ function Bf(e) {
|
|
3125
3125
|
return f === null || f.tag !== 6 ? (f = Yi(d, h.mode, E), f.return = h, f) : (f = o(f, d), f.return = h, f);
|
3126
3126
|
}
|
3127
3127
|
function a(h, f, d, E) {
|
3128
|
-
var
|
3129
|
-
return
|
3128
|
+
var g = d.type;
|
3129
|
+
return g === gn ? c(h, f, d.props.children, E, d.key) : f !== null && (f.elementType === g || typeof g == "object" && g !== null && g.$$typeof === Pt && Es(g) === f.type) ? (E = o(f, d.props), E.ref = rr(h, f, d), E.return = h, E) : (E = ko(d.type, d.key, d.props, null, h.mode, E), E.ref = rr(h, f, d), E.return = h, E);
|
3130
3130
|
}
|
3131
3131
|
function s(h, f, d, E) {
|
3132
3132
|
return f === null || f.tag !== 4 || f.stateNode.containerInfo !== d.containerInfo || f.stateNode.implementation !== d.implementation ? (f = Ji(d, h.mode, E), f.return = h, f) : (f = o(f, d.children || []), f.return = h, f);
|
3133
3133
|
}
|
3134
|
-
function c(h, f, d, E,
|
3135
|
-
return f === null || f.tag !== 7 ? (f = rn(d, h.mode, E,
|
3134
|
+
function c(h, f, d, E, g) {
|
3135
|
+
return f === null || f.tag !== 7 ? (f = rn(d, h.mode, E, g), f.return = h, f) : (f = o(f, d), f.return = h, f);
|
3136
3136
|
}
|
3137
3137
|
function m(h, f, d) {
|
3138
3138
|
if (typeof f == "string" && f !== "" || typeof f == "number")
|
@@ -3141,7 +3141,7 @@ function Bf(e) {
|
|
3141
3141
|
switch (f.$$typeof) {
|
3142
3142
|
case Zr:
|
3143
3143
|
return d = ko(f.type, f.key, f.props, null, h.mode, d), d.ref = rr(h, null, f), d.return = h, d;
|
3144
|
-
case
|
3144
|
+
case vn:
|
3145
3145
|
return f = Ji(f, h.mode, d), f.return = h, f;
|
3146
3146
|
case Pt:
|
3147
3147
|
var E = f._init;
|
@@ -3154,115 +3154,115 @@ function Bf(e) {
|
|
3154
3154
|
return null;
|
3155
3155
|
}
|
3156
3156
|
function p(h, f, d, E) {
|
3157
|
-
var
|
3157
|
+
var g = f !== null ? f.key : null;
|
3158
3158
|
if (typeof d == "string" && d !== "" || typeof d == "number")
|
3159
|
-
return
|
3159
|
+
return g !== null ? null : u(h, f, "" + d, E);
|
3160
3160
|
if (typeof d == "object" && d !== null) {
|
3161
3161
|
switch (d.$$typeof) {
|
3162
3162
|
case Zr:
|
3163
|
-
return d.key ===
|
3164
|
-
case
|
3165
|
-
return d.key ===
|
3163
|
+
return d.key === g ? a(h, f, d, E) : null;
|
3164
|
+
case vn:
|
3165
|
+
return d.key === g ? s(h, f, d, E) : null;
|
3166
3166
|
case Pt:
|
3167
|
-
return
|
3167
|
+
return g = d._init, p(
|
3168
3168
|
h,
|
3169
3169
|
f,
|
3170
|
-
|
3170
|
+
g(d._payload),
|
3171
3171
|
E
|
3172
3172
|
);
|
3173
3173
|
}
|
3174
3174
|
if (ar(d) || Jn(d))
|
3175
|
-
return
|
3175
|
+
return g !== null ? null : c(h, f, d, E, null);
|
3176
3176
|
oo(h, d);
|
3177
3177
|
}
|
3178
3178
|
return null;
|
3179
3179
|
}
|
3180
|
-
function
|
3180
|
+
function v(h, f, d, E, g) {
|
3181
3181
|
if (typeof E == "string" && E !== "" || typeof E == "number")
|
3182
|
-
return h = h.get(d) || null, u(f, h, "" + E,
|
3182
|
+
return h = h.get(d) || null, u(f, h, "" + E, g);
|
3183
3183
|
if (typeof E == "object" && E !== null) {
|
3184
3184
|
switch (E.$$typeof) {
|
3185
3185
|
case Zr:
|
3186
|
-
return h = h.get(E.key === null ? d : E.key) || null, a(f, h, E,
|
3187
|
-
case
|
3188
|
-
return h = h.get(E.key === null ? d : E.key) || null, s(f, h, E,
|
3186
|
+
return h = h.get(E.key === null ? d : E.key) || null, a(f, h, E, g);
|
3187
|
+
case vn:
|
3188
|
+
return h = h.get(E.key === null ? d : E.key) || null, s(f, h, E, g);
|
3189
3189
|
case Pt:
|
3190
3190
|
var T = E._init;
|
3191
|
-
return
|
3191
|
+
return v(h, f, d, T(E._payload), g);
|
3192
3192
|
}
|
3193
3193
|
if (ar(E) || Jn(E))
|
3194
|
-
return h = h.get(d) || null, c(f, h, E,
|
3194
|
+
return h = h.get(d) || null, c(f, h, E, g, null);
|
3195
3195
|
oo(f, E);
|
3196
3196
|
}
|
3197
3197
|
return null;
|
3198
3198
|
}
|
3199
3199
|
function w(h, f, d, E) {
|
3200
|
-
for (var
|
3200
|
+
for (var g = null, T = null, C = f, M = f = 0, U = null; C !== null && M < d.length; M++) {
|
3201
3201
|
C.index > M ? (U = C, C = null) : U = C.sibling;
|
3202
3202
|
var I = p(h, C, d[M], E);
|
3203
3203
|
if (I === null) {
|
3204
3204
|
C === null && (C = U);
|
3205
3205
|
break;
|
3206
3206
|
}
|
3207
|
-
e && C && I.alternate === null && t(h, C), f = i(I, f, M), T === null ?
|
3207
|
+
e && C && I.alternate === null && t(h, C), f = i(I, f, M), T === null ? g = I : T.sibling = I, T = I, C = U;
|
3208
3208
|
}
|
3209
3209
|
if (M === d.length)
|
3210
|
-
return n(h, C), W && Yt(h, M),
|
3210
|
+
return n(h, C), W && Yt(h, M), g;
|
3211
3211
|
if (C === null) {
|
3212
3212
|
for (; M < d.length; M++)
|
3213
|
-
C = m(h, d[M], E), C !== null && (f = i(C, f, M), T === null ?
|
3214
|
-
return W && Yt(h, M),
|
3213
|
+
C = m(h, d[M], E), C !== null && (f = i(C, f, M), T === null ? g = C : T.sibling = C, T = C);
|
3214
|
+
return W && Yt(h, M), g;
|
3215
3215
|
}
|
3216
3216
|
for (C = r(h, C); M < d.length; M++)
|
3217
|
-
U =
|
3217
|
+
U = v(C, h, M, d[M], E), U !== null && (e && U.alternate !== null && C.delete(U.key === null ? M : U.key), f = i(U, f, M), T === null ? g = U : T.sibling = U, T = U);
|
3218
3218
|
return e && C.forEach(function(ue) {
|
3219
3219
|
return t(h, ue);
|
3220
|
-
}), W && Yt(h, M),
|
3220
|
+
}), W && Yt(h, M), g;
|
3221
3221
|
}
|
3222
3222
|
function y(h, f, d, E) {
|
3223
|
-
var
|
3224
|
-
if (typeof
|
3223
|
+
var g = Jn(d);
|
3224
|
+
if (typeof g != "function")
|
3225
3225
|
throw Error(N(150));
|
3226
|
-
if (d =
|
3226
|
+
if (d = g.call(d), d == null)
|
3227
3227
|
throw Error(N(151));
|
3228
|
-
for (var T =
|
3228
|
+
for (var T = g = null, C = f, M = f = 0, U = null, I = d.next(); C !== null && !I.done; M++, I = d.next()) {
|
3229
3229
|
C.index > M ? (U = C, C = null) : U = C.sibling;
|
3230
3230
|
var ue = p(h, C, I.value, E);
|
3231
3231
|
if (ue === null) {
|
3232
3232
|
C === null && (C = U);
|
3233
3233
|
break;
|
3234
3234
|
}
|
3235
|
-
e && C && ue.alternate === null && t(h, C), f = i(ue, f, M), T === null ?
|
3235
|
+
e && C && ue.alternate === null && t(h, C), f = i(ue, f, M), T === null ? g = ue : T.sibling = ue, T = ue, C = U;
|
3236
3236
|
}
|
3237
3237
|
if (I.done)
|
3238
3238
|
return n(
|
3239
3239
|
h,
|
3240
3240
|
C
|
3241
|
-
), W && Yt(h, M),
|
3241
|
+
), W && Yt(h, M), g;
|
3242
3242
|
if (C === null) {
|
3243
3243
|
for (; !I.done; M++, I = d.next())
|
3244
|
-
I = m(h, I.value, E), I !== null && (f = i(I, f, M), T === null ?
|
3245
|
-
return W && Yt(h, M),
|
3244
|
+
I = m(h, I.value, E), I !== null && (f = i(I, f, M), T === null ? g = I : T.sibling = I, T = I);
|
3245
|
+
return W && Yt(h, M), g;
|
3246
3246
|
}
|
3247
3247
|
for (C = r(h, C); !I.done; M++, I = d.next())
|
3248
|
-
I =
|
3248
|
+
I = v(C, h, M, I.value, E), I !== null && (e && I.alternate !== null && C.delete(I.key === null ? M : I.key), f = i(I, f, M), T === null ? g = I : T.sibling = I, T = I);
|
3249
3249
|
return e && C.forEach(function(tt) {
|
3250
3250
|
return t(h, tt);
|
3251
|
-
}), W && Yt(h, M),
|
3251
|
+
}), W && Yt(h, M), g;
|
3252
3252
|
}
|
3253
3253
|
function S(h, f, d, E) {
|
3254
|
-
if (typeof d == "object" && d !== null && d.type ===
|
3254
|
+
if (typeof d == "object" && d !== null && d.type === gn && d.key === null && (d = d.props.children), typeof d == "object" && d !== null) {
|
3255
3255
|
switch (d.$$typeof) {
|
3256
3256
|
case Zr:
|
3257
3257
|
e: {
|
3258
|
-
for (var
|
3259
|
-
if (T.key ===
|
3260
|
-
if (
|
3258
|
+
for (var g = d.key, T = f; T !== null; ) {
|
3259
|
+
if (T.key === g) {
|
3260
|
+
if (g = d.type, g === gn) {
|
3261
3261
|
if (T.tag === 7) {
|
3262
3262
|
n(h, T.sibling), f = o(T, d.props.children), f.return = h, h = f;
|
3263
3263
|
break e;
|
3264
3264
|
}
|
3265
|
-
} else if (T.elementType ===
|
3265
|
+
} else if (T.elementType === g || typeof g == "object" && g !== null && g.$$typeof === Pt && Es(g) === T.type) {
|
3266
3266
|
n(h, T.sibling), f = o(T, d.props), f.ref = rr(h, T, d), f.return = h, h = f;
|
3267
3267
|
break e;
|
3268
3268
|
}
|
@@ -3272,10 +3272,10 @@ function Bf(e) {
|
|
3272
3272
|
t(h, T);
|
3273
3273
|
T = T.sibling;
|
3274
3274
|
}
|
3275
|
-
d.type ===
|
3275
|
+
d.type === gn ? (f = rn(d.props.children, h.mode, E, d.key), f.return = h, h = f) : (E = ko(d.type, d.key, d.props, null, h.mode, E), E.ref = rr(h, f, d), E.return = h, h = E);
|
3276
3276
|
}
|
3277
3277
|
return l(h);
|
3278
|
-
case
|
3278
|
+
case vn:
|
3279
3279
|
e: {
|
3280
3280
|
for (T = d.key; f !== null; ) {
|
3281
3281
|
if (f.key === T)
|
@@ -3365,7 +3365,7 @@ function Ku() {
|
|
3365
3365
|
Gi[e]._workInProgressVersionPrimary = null;
|
3366
3366
|
Gi.length = 0;
|
3367
3367
|
}
|
3368
|
-
var yo = Tt.ReactCurrentDispatcher, Xi = Tt.ReactCurrentBatchConfig, un = 0, Y = null, ie = null, ae = null, Go = !1,
|
3368
|
+
var yo = Tt.ReactCurrentDispatcher, Xi = Tt.ReactCurrentBatchConfig, un = 0, Y = null, ie = null, ae = null, Go = !1, vr = !1, Or = 0, Vm = 0;
|
3369
3369
|
function pe() {
|
3370
3370
|
throw Error(N(321));
|
3371
3371
|
}
|
@@ -3378,13 +3378,13 @@ function Yu(e, t) {
|
|
3378
3378
|
return !0;
|
3379
3379
|
}
|
3380
3380
|
function Ju(e, t, n, r, o, i) {
|
3381
|
-
if (un = i, Y = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, yo.current = e === null || e.memoizedState === null ? Zm : Wm, e = n(r, o),
|
3381
|
+
if (un = i, Y = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, yo.current = e === null || e.memoizedState === null ? Zm : Wm, e = n(r, o), vr) {
|
3382
3382
|
i = 0;
|
3383
3383
|
do {
|
3384
|
-
if (
|
3384
|
+
if (vr = !1, Or = 0, 25 <= i)
|
3385
3385
|
throw Error(N(301));
|
3386
3386
|
i += 1, ae = ie = null, t.updateQueue = null, yo.current = Qm, e = n(r, o);
|
3387
|
-
} while (
|
3387
|
+
} while (vr);
|
3388
3388
|
}
|
3389
3389
|
if (yo.current = Xo, t = ie !== null && ie.next !== null, un = 0, ae = ie = Y = null, Go = !1, t)
|
3390
3390
|
throw Error(N(300));
|
@@ -3629,7 +3629,7 @@ function rd(e) {
|
|
3629
3629
|
return e === Y || t !== null && t === Y;
|
3630
3630
|
}
|
3631
3631
|
function od(e, t) {
|
3632
|
-
|
3632
|
+
vr = Go = !0;
|
3633
3633
|
var n = e.pending;
|
3634
3634
|
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
|
3635
3635
|
}
|
@@ -3689,7 +3689,7 @@ var Xo = { readContext: Ve, useCallback: pe, useContext: pe, useEffect: pe, useI
|
|
3689
3689
|
}, useId: function() {
|
3690
3690
|
var e = rt(), t = se.identifierPrefix;
|
3691
3691
|
if (W) {
|
3692
|
-
var n = yt, r =
|
3692
|
+
var n = yt, r = gt;
|
3693
3693
|
n = (r & ~(1 << 32 - Je(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Or++, 0 < n && (t += "H" + n.toString(32)), t += ":";
|
3694
3694
|
} else
|
3695
3695
|
n = Vm++, t = ":" + t + "r" + n.toString(32) + ":";
|
@@ -3855,7 +3855,7 @@ function cd(e, t) {
|
|
3855
3855
|
(e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152);
|
3856
3856
|
}
|
3857
3857
|
function bl(e, t, n, r, o) {
|
3858
|
-
var i = Pe(n) ? on :
|
3858
|
+
var i = Pe(n) ? on : ve.current;
|
3859
3859
|
return i = zn(t, i), _n(t, o), n = Ju(e, t, n, r, i, o), r = qu(), e !== null && !Ce ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, kt(e, t, o)) : (W && r && Fu(t), t.flags |= 1, Ee(e, t, n, o), t.child);
|
3860
3860
|
}
|
3861
3861
|
function Ps(e, t, n, r, o) {
|
@@ -3870,17 +3870,17 @@ function Ps(e, t, n, r, o) {
|
|
3870
3870
|
var l = t.stateNode, u = t.memoizedProps;
|
3871
3871
|
l.props = u;
|
3872
3872
|
var a = l.context, s = n.contextType;
|
3873
|
-
typeof s == "object" && s !== null ? s = Ve(s) : (s = Pe(n) ? on :
|
3873
|
+
typeof s == "object" && s !== null ? s = Ve(s) : (s = Pe(n) ? on : ve.current, s = zn(t, s));
|
3874
3874
|
var c = n.getDerivedStateFromProps, m = typeof c == "function" || typeof l.getSnapshotBeforeUpdate == "function";
|
3875
3875
|
m || typeof l.UNSAFE_componentWillReceiveProps != "function" && typeof l.componentWillReceiveProps != "function" || (u !== r || a !== s) && ws(t, l, r, s), Mt = !1;
|
3876
3876
|
var p = t.memoizedState;
|
3877
3877
|
l.state = p, Vo(t, r, l, o), a = t.memoizedState, u !== r || p !== a || Re.current || Mt ? (typeof c == "function" && (Hl(t, n, c, r), a = t.memoizedState), (u = Mt || ys(t, n, u, r, p, a, s)) ? (m || 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 = a), l.props = r, l.state = a, l.context = s, r = u) : (typeof l.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
|
3878
3878
|
} else {
|
3879
|
-
l = t.stateNode, Af(e, t), u = t.memoizedProps, s = t.type === t.elementType ? u : We(t.type, u), l.props = s, m = t.pendingProps, p = l.context, a = n.contextType, typeof a == "object" && a !== null ? a = Ve(a) : (a = Pe(n) ? on :
|
3880
|
-
var
|
3881
|
-
(c = typeof
|
3879
|
+
l = t.stateNode, Af(e, t), u = t.memoizedProps, s = t.type === t.elementType ? u : We(t.type, u), l.props = s, m = t.pendingProps, p = l.context, a = n.contextType, typeof a == "object" && a !== null ? a = Ve(a) : (a = Pe(n) ? on : ve.current, a = zn(t, a));
|
3880
|
+
var v = n.getDerivedStateFromProps;
|
3881
|
+
(c = typeof v == "function" || typeof l.getSnapshotBeforeUpdate == "function") || typeof l.UNSAFE_componentWillReceiveProps != "function" && typeof l.componentWillReceiveProps != "function" || (u !== m || p !== a) && ws(t, l, r, a), Mt = !1, p = t.memoizedState, l.state = p, Vo(t, r, l, o);
|
3882
3882
|
var w = t.memoizedState;
|
3883
|
-
u !== m || p !== w || Re.current || Mt ? (typeof
|
3883
|
+
u !== m || p !== w || Re.current || Mt ? (typeof v == "function" && (Hl(t, n, v, r), w = t.memoizedState), (s = Mt || ys(t, n, s, r, p, w, a) || !1) ? (c || typeof l.UNSAFE_componentWillUpdate != "function" && typeof l.componentWillUpdate != "function" || (typeof l.componentWillUpdate == "function" && l.componentWillUpdate(r, w, a), typeof l.UNSAFE_componentWillUpdate == "function" && l.UNSAFE_componentWillUpdate(r, w, a)), typeof l.componentDidUpdate == "function" && (t.flags |= 4), typeof l.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof l.componentDidUpdate != "function" || u === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof l.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = w), l.props = r, l.state = w, l.context = a, r = s) : (typeof l.componentDidUpdate != "function" || u === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof l.getSnapshotBeforeUpdate != "function" || u === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), r = !1);
|
3884
3884
|
}
|
3885
3885
|
return Fl(e, t, n, r, i, o);
|
3886
3886
|
}
|
@@ -3975,7 +3975,7 @@ function Jm(e, t, n, r, o, i, l) {
|
|
3975
3975
|
}
|
3976
3976
|
return aa(), r = Qi(Error(N(421))), io(e, t, l, r);
|
3977
3977
|
}
|
3978
|
-
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = f0.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, Oe = Bt(o.nextSibling), De = t, W = !0, Ye = null, e !== null && (Be[be++] =
|
3978
|
+
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = f0.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, Oe = Bt(o.nextSibling), De = t, W = !0, Ye = null, e !== null && (Be[be++] = gt, Be[be++] = yt, Be[be++] = ln, gt = e.id, yt = e.overflow, ln = t), t = na(t, r.children), t.flags |= 4096, t);
|
3979
3979
|
}
|
3980
3980
|
function Ls(e, t, n) {
|
3981
3981
|
e.lanes |= t;
|
@@ -4093,7 +4093,7 @@ function qm(e, t, n) {
|
|
4093
4093
|
}
|
4094
4094
|
return kt(e, t, n);
|
4095
4095
|
}
|
4096
|
-
var hd, Vl, md,
|
4096
|
+
var hd, Vl, md, vd;
|
4097
4097
|
hd = function(e, t) {
|
4098
4098
|
for (var n = t.child; n !== null; ) {
|
4099
4099
|
if (n.tag === 5 || n.tag === 6)
|
@@ -4132,7 +4132,7 @@ md = function(e, t, n, r) {
|
|
4132
4132
|
default:
|
4133
4133
|
typeof o.onClick != "function" && typeof r.onClick == "function" && (e.onclick = Ho);
|
4134
4134
|
}
|
4135
|
-
|
4135
|
+
vl(n, r);
|
4136
4136
|
var l;
|
4137
4137
|
n = null;
|
4138
4138
|
for (s in o)
|
@@ -4165,7 +4165,7 @@ md = function(e, t, n, r) {
|
|
4165
4165
|
(t.updateQueue = s) && (t.flags |= 4);
|
4166
4166
|
}
|
4167
4167
|
};
|
4168
|
-
|
4168
|
+
vd = function(e, t, n, r) {
|
4169
4169
|
n !== r && (t.flags |= 4);
|
4170
4170
|
};
|
4171
4171
|
function or(e, t) {
|
@@ -4211,7 +4211,7 @@ function e0(e, t, n) {
|
|
4211
4211
|
case 1:
|
4212
4212
|
return Pe(t.type) && zo(), he(t), null;
|
4213
4213
|
case 3:
|
4214
|
-
return r = t.stateNode, Fn(), Z(Re), Z(
|
4214
|
+
return r = t.stateNode, Fn(), Z(Re), Z(ve), Ku(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (ro(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |= 1024, Ye !== null && (Yl(Ye), Ye = null))), Vl(e, t), he(t), null;
|
4215
4215
|
case 5:
|
4216
4216
|
Qu(t);
|
4217
4217
|
var o = tn(_r.current);
|
@@ -4263,7 +4263,7 @@ function e0(e, t, n) {
|
|
4263
4263
|
case "textarea":
|
4264
4264
|
Ua(r, i), G("invalid", r);
|
4265
4265
|
}
|
4266
|
-
|
4266
|
+
vl(n, i), o = null;
|
4267
4267
|
for (var l in i)
|
4268
4268
|
if (i.hasOwnProperty(l)) {
|
4269
4269
|
var u = i[l];
|
@@ -4290,7 +4290,7 @@ function e0(e, t, n) {
|
|
4290
4290
|
} else {
|
4291
4291
|
l = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = jc(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = l.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof r.is == "string" ? e = l.createElement(n, { is: r.is }) : (e = l.createElement(n), n === "select" && (l = e, r.multiple ? l.multiple = !0 : r.size && (l.size = r.size))) : e = l.createElementNS(e, n), e[ut] = t, e[Lr] = r, hd(e, t, !1, !1), t.stateNode = e;
|
4292
4292
|
e: {
|
4293
|
-
switch (l =
|
4293
|
+
switch (l = gl(n, r), n) {
|
4294
4294
|
case "dialog":
|
4295
4295
|
G("cancel", e), G("close", e), o = r;
|
4296
4296
|
break;
|
@@ -4334,7 +4334,7 @@ function e0(e, t, n) {
|
|
4334
4334
|
default:
|
4335
4335
|
o = r;
|
4336
4336
|
}
|
4337
|
-
|
4337
|
+
vl(n, o), u = o;
|
4338
4338
|
for (i in u)
|
4339
4339
|
if (u.hasOwnProperty(i)) {
|
4340
4340
|
var a = u[i];
|
@@ -4382,7 +4382,7 @@ function e0(e, t, n) {
|
|
4382
4382
|
return he(t), null;
|
4383
4383
|
case 6:
|
4384
4384
|
if (e && t.stateNode != null)
|
4385
|
-
|
4385
|
+
vd(e, t, e.memoizedProps, r);
|
4386
4386
|
else {
|
4387
4387
|
if (typeof r != "string" && t.stateNode === null)
|
4388
4388
|
throw Error(N(166));
|
@@ -4469,7 +4469,7 @@ function t0(e, t) {
|
|
4469
4469
|
case 1:
|
4470
4470
|
return Pe(t.type) && zo(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
4471
4471
|
case 3:
|
4472
|
-
return Fn(), Z(Re), Z(
|
4472
|
+
return Fn(), Z(Re), Z(ve), Ku(), e = t.flags, (e & 65536) !== 0 && (e & 128) === 0 ? (t.flags = e & -65537 | 128, t) : null;
|
4473
4473
|
case 5:
|
4474
4474
|
return Qu(t), null;
|
4475
4475
|
case 13:
|
@@ -4536,16 +4536,16 @@ function r0(e, t) {
|
|
4536
4536
|
var l = 0, u = -1, a = -1, s = 0, c = 0, m = e, p = null;
|
4537
4537
|
t:
|
4538
4538
|
for (; ; ) {
|
4539
|
-
for (var
|
4540
|
-
p = m, m =
|
4539
|
+
for (var v; m !== n || o !== 0 && m.nodeType !== 3 || (u = l + o), m !== i || r !== 0 && m.nodeType !== 3 || (a = l + r), m.nodeType === 3 && (l += m.nodeValue.length), (v = m.firstChild) !== null; )
|
4540
|
+
p = m, m = v;
|
4541
4541
|
for (; ; ) {
|
4542
4542
|
if (m === e)
|
4543
4543
|
break t;
|
4544
|
-
if (p === n && ++s === o && (u = l), p === i && ++c === r && (a = l), (
|
4544
|
+
if (p === n && ++s === o && (u = l), p === i && ++c === r && (a = l), (v = m.nextSibling) !== null)
|
4545
4545
|
break;
|
4546
4546
|
m = p, p = m.parentNode;
|
4547
4547
|
}
|
4548
|
-
m =
|
4548
|
+
m = v;
|
4549
4549
|
}
|
4550
4550
|
n = u === -1 || a === -1 ? null : { start: u, end: a };
|
4551
4551
|
} else
|
@@ -4597,7 +4597,7 @@ function r0(e, t) {
|
|
4597
4597
|
}
|
4598
4598
|
return w = Is, Is = !1, w;
|
4599
4599
|
}
|
4600
|
-
function
|
4600
|
+
function gr(e, t, n) {
|
4601
4601
|
var r = t.updateQueue;
|
4602
4602
|
if (r = r !== null ? r.lastEffect : null, r !== null) {
|
4603
4603
|
var o = r = r.next;
|
@@ -4636,9 +4636,9 @@ function Gl(e) {
|
|
4636
4636
|
typeof t == "function" ? t(e) : t.current = e;
|
4637
4637
|
}
|
4638
4638
|
}
|
4639
|
-
function
|
4639
|
+
function gd(e) {
|
4640
4640
|
var t = e.alternate;
|
4641
|
-
t !== null && (e.alternate = null,
|
4641
|
+
t !== null && (e.alternate = null, gd(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[ut], delete t[Lr], delete t[Il], delete t[bm], delete t[Fm])), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
|
4642
4642
|
}
|
4643
4643
|
function yd(e) {
|
4644
4644
|
return e.tag === 5 || e.tag === 3 || e.tag === 4;
|
@@ -4787,12 +4787,12 @@ function Ed(e, t) {
|
|
4787
4787
|
case 15:
|
4788
4788
|
if (Ze(t, e), nt(e), r & 4) {
|
4789
4789
|
try {
|
4790
|
-
|
4790
|
+
gr(3, e, e.return), pi(3, e);
|
4791
4791
|
} catch (y) {
|
4792
4792
|
q(e, e.return, y);
|
4793
4793
|
}
|
4794
4794
|
try {
|
4795
|
-
|
4795
|
+
gr(5, e, e.return);
|
4796
4796
|
} catch (y) {
|
4797
4797
|
q(e, e.return, y);
|
4798
4798
|
}
|
@@ -4814,8 +4814,8 @@ function Ed(e, t) {
|
|
4814
4814
|
var i = e.memoizedProps, l = n !== null ? n.memoizedProps : i, u = e.type, a = e.updateQueue;
|
4815
4815
|
if (e.updateQueue = null, a !== null)
|
4816
4816
|
try {
|
4817
|
-
u === "input" && i.type === "radio" && i.name != null && Fc(o, i),
|
4818
|
-
var s =
|
4817
|
+
u === "input" && i.type === "radio" && i.name != null && Fc(o, i), gl(u, l);
|
4818
|
+
var s = gl(u, i);
|
4819
4819
|
for (l = 0; l < a.length; l += 2) {
|
4820
4820
|
var c = a[l], m = a[l + 1];
|
4821
4821
|
c === "style" ? Gc(o, m) : c === "dangerouslySetInnerHTML" ? Vc(o, m) : c === "children" ? Sr(o, m) : Cu(o, c, m, s);
|
@@ -4830,8 +4830,8 @@ function Ed(e, t) {
|
|
4830
4830
|
case "select":
|
4831
4831
|
var p = o._wrapperState.wasMultiple;
|
4832
4832
|
o._wrapperState.wasMultiple = !!i.multiple;
|
4833
|
-
var
|
4834
|
-
|
4833
|
+
var v = i.value;
|
4834
|
+
v != null ? Pn(o, !!i.multiple, v, !1) : p !== !!i.multiple && (i.defaultValue != null ? Pn(
|
4835
4835
|
o,
|
4836
4836
|
!!i.multiple,
|
4837
4837
|
i.defaultValue,
|
@@ -4875,12 +4875,12 @@ function Ed(e, t) {
|
|
4875
4875
|
if (s = e.memoizedState !== null, (e.stateNode.isHidden = s) && !c && (e.mode & 1) !== 0)
|
4876
4876
|
for (P = e, c = e.child; c !== null; ) {
|
4877
4877
|
for (m = P = c; P !== null; ) {
|
4878
|
-
switch (p = P,
|
4878
|
+
switch (p = P, v = p.child, p.tag) {
|
4879
4879
|
case 0:
|
4880
4880
|
case 11:
|
4881
4881
|
case 14:
|
4882
4882
|
case 15:
|
4883
|
-
|
4883
|
+
gr(4, p, p.return);
|
4884
4884
|
break;
|
4885
4885
|
case 1:
|
4886
4886
|
Cn(p, p.return);
|
@@ -4903,7 +4903,7 @@ function Ed(e, t) {
|
|
4903
4903
|
continue;
|
4904
4904
|
}
|
4905
4905
|
}
|
4906
|
-
|
4906
|
+
v !== null ? (v.return = p, P = v) : As(m);
|
4907
4907
|
}
|
4908
4908
|
c = c.sibling;
|
4909
4909
|
}
|
@@ -5035,7 +5035,7 @@ function Ds(e) {
|
|
5035
5035
|
r.componentDidUpdate(o, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate);
|
5036
5036
|
}
|
5037
5037
|
var i = t.updateQueue;
|
5038
|
-
i !== null &&
|
5038
|
+
i !== null && gs(t, i, r);
|
5039
5039
|
break;
|
5040
5040
|
case 3:
|
5041
5041
|
var l = t.updateQueue;
|
@@ -5048,7 +5048,7 @@ function Ds(e) {
|
|
5048
5048
|
case 1:
|
5049
5049
|
n = t.child.stateNode;
|
5050
5050
|
}
|
5051
|
-
|
5051
|
+
gs(t, l, n);
|
5052
5052
|
}
|
5053
5053
|
break;
|
5054
5054
|
case 5:
|
@@ -5402,7 +5402,7 @@ function nn(e, t) {
|
|
5402
5402
|
r = r.type.childContextTypes, r != null && zo();
|
5403
5403
|
break;
|
5404
5404
|
case 3:
|
5405
|
-
Fn(), Z(Re), Z(
|
5405
|
+
Fn(), Z(Re), Z(ve), Ku();
|
5406
5406
|
break;
|
5407
5407
|
case 5:
|
5408
5408
|
Qu(r);
|
@@ -5451,7 +5451,7 @@ function kd(e, t) {
|
|
5451
5451
|
}
|
5452
5452
|
Go = !1;
|
5453
5453
|
}
|
5454
|
-
if (un = 0, ae = ie = Y = null,
|
5454
|
+
if (un = 0, ae = ie = Y = null, vr = !1, Or = 0, ra.current = null, n === null || n.return === null) {
|
5455
5455
|
le = 1, Hr = t, re = null;
|
5456
5456
|
break;
|
5457
5457
|
}
|
@@ -5463,9 +5463,9 @@ function kd(e, t) {
|
|
5463
5463
|
var p = c.alternate;
|
5464
5464
|
p ? (c.updateQueue = p.updateQueue, c.memoizedState = p.memoizedState, c.lanes = p.lanes) : (c.updateQueue = null, c.memoizedState = null);
|
5465
5465
|
}
|
5466
|
-
var
|
5467
|
-
if (
|
5468
|
-
|
5466
|
+
var v = Ts(l);
|
5467
|
+
if (v !== null) {
|
5468
|
+
v.flags &= -257, Ns(v, l, u, i, t), v.mode & 1 && ks(i, s, t), t = v, a = s;
|
5469
5469
|
var w = t.updateQueue;
|
5470
5470
|
if (w === null) {
|
5471
5471
|
var y = /* @__PURE__ */ new Set();
|
@@ -5493,7 +5493,7 @@ function kd(e, t) {
|
|
5493
5493
|
case 3:
|
5494
5494
|
i.flags |= 65536, t &= -t, i.lanes |= t;
|
5495
5495
|
var h = ld(i, a, t);
|
5496
|
-
|
5496
|
+
vs(i, h);
|
5497
5497
|
break e;
|
5498
5498
|
case 1:
|
5499
5499
|
u = a;
|
@@ -5501,7 +5501,7 @@ function kd(e, t) {
|
|
5501
5501
|
if ((i.flags & 128) === 0 && (typeof f.getDerivedStateFromError == "function" || d !== null && typeof d.componentDidCatch == "function" && (Ft === null || !Ft.has(d)))) {
|
5502
5502
|
i.flags |= 65536, t &= -t, i.lanes |= t;
|
5503
5503
|
var E = ud(i, u, t);
|
5504
|
-
|
5504
|
+
vs(i, E);
|
5505
5505
|
break e;
|
5506
5506
|
}
|
5507
5507
|
}
|
@@ -5509,8 +5509,8 @@ function kd(e, t) {
|
|
5509
5509
|
} while (i !== null);
|
5510
5510
|
}
|
5511
5511
|
Cd(n);
|
5512
|
-
} catch (
|
5513
|
-
t =
|
5512
|
+
} catch (g) {
|
5513
|
+
t = g, re === n && n !== null && (re = n = n.return);
|
5514
5514
|
continue;
|
5515
5515
|
}
|
5516
5516
|
break;
|
@@ -5644,7 +5644,7 @@ function On() {
|
|
5644
5644
|
case 0:
|
5645
5645
|
case 11:
|
5646
5646
|
case 15:
|
5647
|
-
|
5647
|
+
gr(8, c, i);
|
5648
5648
|
}
|
5649
5649
|
var m = c.child;
|
5650
5650
|
if (m !== null)
|
@@ -5652,16 +5652,16 @@ function On() {
|
|
5652
5652
|
else
|
5653
5653
|
for (; P !== null; ) {
|
5654
5654
|
c = P;
|
5655
|
-
var p = c.sibling,
|
5656
|
-
if (
|
5655
|
+
var p = c.sibling, v = c.return;
|
5656
|
+
if (gd(c), c === s) {
|
5657
5657
|
P = null;
|
5658
5658
|
break;
|
5659
5659
|
}
|
5660
5660
|
if (p !== null) {
|
5661
|
-
p.return =
|
5661
|
+
p.return = v, P = p;
|
5662
5662
|
break;
|
5663
5663
|
}
|
5664
|
-
P =
|
5664
|
+
P = v;
|
5665
5665
|
}
|
5666
5666
|
}
|
5667
5667
|
}
|
@@ -5689,7 +5689,7 @@ function On() {
|
|
5689
5689
|
case 0:
|
5690
5690
|
case 11:
|
5691
5691
|
case 15:
|
5692
|
-
|
5692
|
+
gr(9, i, i.return);
|
5693
5693
|
}
|
5694
5694
|
var h = i.sibling;
|
5695
5695
|
if (h !== null) {
|
@@ -5716,8 +5716,8 @@ function On() {
|
|
5716
5716
|
case 15:
|
5717
5717
|
pi(9, u);
|
5718
5718
|
}
|
5719
|
-
} catch (
|
5720
|
-
q(u, u.return,
|
5719
|
+
} catch (g) {
|
5720
|
+
q(u, u.return, g);
|
5721
5721
|
}
|
5722
5722
|
if (u === l) {
|
5723
5723
|
P = null;
|
@@ -5810,7 +5810,7 @@ Pd = function(e, t, n) {
|
|
5810
5810
|
case 2:
|
5811
5811
|
var r = t.type;
|
5812
5812
|
Eo(e, t), e = t.pendingProps;
|
5813
|
-
var o = zn(t,
|
5813
|
+
var o = zn(t, ve.current);
|
5814
5814
|
_n(t, n), o = Ju(null, t, r, e, o, n);
|
5815
5815
|
var i = qu();
|
5816
5816
|
return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, Pe(r) ? (i = !0, Bo(t)) : i = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, Zu(t), o.updater = fi, t.stateNode = o, o._reactInternals = t, zl(t, r, e, n), t = Fl(null, t, r, !0, i, n)) : (t.tag = 0, W && i && Fu(t), Ee(null, t, o, n), t = t.child), t;
|
@@ -5995,7 +5995,7 @@ function ko(e, t, n, r, o, i) {
|
|
5995
5995
|
else
|
5996
5996
|
e:
|
5997
5997
|
switch (e) {
|
5998
|
-
case
|
5998
|
+
case gn:
|
5999
5999
|
return rn(n.children, o, i, t);
|
6000
6000
|
case Ru:
|
6001
6001
|
l = 8, o |= 8;
|
@@ -6049,9 +6049,9 @@ function m0(e, t, n, r, o) {
|
|
6049
6049
|
function ca(e, t, n, r, o, i, l, u, a) {
|
6050
6050
|
return e = new m0(e, t, n, u, a), t === 1 ? (t = 1, i === !0 && (t |= 8)) : t = 0, i = Fe(3, null, null, t), e.current = i, i.stateNode = e, i.memoizedState = { element: r, isDehydrated: n, cache: null, transitions: null, pendingSuspenseBoundaries: null }, Zu(i), e;
|
6051
6051
|
}
|
6052
|
-
function
|
6052
|
+
function v0(e, t, n) {
|
6053
6053
|
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
6054
|
-
return { $$typeof:
|
6054
|
+
return { $$typeof: vn, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n };
|
6055
6055
|
}
|
6056
6056
|
function Ld(e) {
|
6057
6057
|
if (!e)
|
@@ -6086,9 +6086,9 @@ function Ld(e) {
|
|
6086
6086
|
function Id(e, t, n, r, o, i, l, u, a) {
|
6087
6087
|
return e = ca(n, r, !0, e, o, i, l, u, a), e.context = Ld(null), n = e.current, r = xe(), o = Ut(n), i = wt(r, o), i.callback = t != null ? t : null, bt(n, i, o), e.current.lanes = o, Fr(e, o, r), Me(e, r), e;
|
6088
6088
|
}
|
6089
|
-
function
|
6089
|
+
function vi(e, t, n, r) {
|
6090
6090
|
var o = t.current, i = xe(), l = Ut(o);
|
6091
|
-
return n = Ld(n), t.context === null ? t.context = n : t.pendingContext = n, t = wt(i, l), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = bt(o, t, l), e !== null && (qe(e, o, l, i),
|
6091
|
+
return n = Ld(n), t.context === null ? t.context = n : t.pendingContext = n, t = wt(i, l), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = bt(o, t, l), e !== null && (qe(e, o, l, i), go(e, o, l)), l;
|
6092
6092
|
}
|
6093
6093
|
function Yo(e) {
|
6094
6094
|
if (e = e.current, !e.child)
|
@@ -6109,7 +6109,7 @@ function bs(e, t) {
|
|
6109
6109
|
function fa(e, t) {
|
6110
6110
|
bs(e, t), (e = e.alternate) && bs(e, t);
|
6111
6111
|
}
|
6112
|
-
function
|
6112
|
+
function g0() {
|
6113
6113
|
return null;
|
6114
6114
|
}
|
6115
6115
|
var _d = typeof reportError == "function" ? reportError : function(e) {
|
@@ -6118,26 +6118,26 @@ var _d = typeof reportError == "function" ? reportError : function(e) {
|
|
6118
6118
|
function da(e) {
|
6119
6119
|
this._internalRoot = e;
|
6120
6120
|
}
|
6121
|
-
|
6121
|
+
gi.prototype.render = da.prototype.render = function(e) {
|
6122
6122
|
var t = this._internalRoot;
|
6123
6123
|
if (t === null)
|
6124
6124
|
throw Error(N(409));
|
6125
|
-
|
6125
|
+
vi(e, t, null, null);
|
6126
6126
|
};
|
6127
|
-
|
6127
|
+
gi.prototype.unmount = da.prototype.unmount = function() {
|
6128
6128
|
var e = this._internalRoot;
|
6129
6129
|
if (e !== null) {
|
6130
6130
|
this._internalRoot = null;
|
6131
6131
|
var t = e.containerInfo;
|
6132
6132
|
sn(function() {
|
6133
|
-
|
6133
|
+
vi(null, e, null, null);
|
6134
6134
|
}), t[St] = null;
|
6135
6135
|
}
|
6136
6136
|
};
|
6137
|
-
function
|
6137
|
+
function gi(e) {
|
6138
6138
|
this._internalRoot = e;
|
6139
6139
|
}
|
6140
|
-
|
6140
|
+
gi.prototype.unstable_scheduleHydration = function(e) {
|
6141
6141
|
if (e) {
|
6142
6142
|
var t = af();
|
6143
6143
|
e = { blockedOn: null, target: e, priority: t };
|
@@ -6177,7 +6177,7 @@ function y0(e, t, n, r, o) {
|
|
6177
6177
|
}
|
6178
6178
|
var a = ca(e, 0, !1, null, null, !1, !1, "", Fs);
|
6179
6179
|
return e._reactRootContainer = a, e[St] = a.current, Pr(e.nodeType === 8 ? e.parentNode : e), sn(function() {
|
6180
|
-
|
6180
|
+
vi(t, a, n, r);
|
6181
6181
|
}), a;
|
6182
6182
|
}
|
6183
6183
|
function wi(e, t, n, r, o) {
|
@@ -6191,7 +6191,7 @@ function wi(e, t, n, r, o) {
|
|
6191
6191
|
u.call(a);
|
6192
6192
|
};
|
6193
6193
|
}
|
6194
|
-
|
6194
|
+
vi(t, l, e, o);
|
6195
6195
|
} else
|
6196
6196
|
l = y0(n, t, e, o, r);
|
6197
6197
|
return Yo(l);
|
@@ -6274,7 +6274,7 @@ Wc = la;
|
|
6274
6274
|
Qc = sn;
|
6275
6275
|
var w0 = { usingClientEntryPoint: !1, Events: [jr, Sn, si, Xc, Zc, la] }, ir = { findFiberByHostInstance: qt, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" }, E0 = { bundleType: ir.bundleType, version: ir.version, rendererPackageName: ir.rendererPackageName, rendererConfig: ir.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Tt.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) {
|
6276
6276
|
return e = Jc(e), e === null ? null : e.stateNode;
|
6277
|
-
}, findFiberByHostInstance: ir.findFiberByHostInstance ||
|
6277
|
+
}, findFiberByHostInstance: ir.findFiberByHostInstance || g0, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
|
6278
6278
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
6279
6279
|
var ao = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
6280
6280
|
if (!ao.isDisabled && ao.supportsFiber)
|
@@ -6288,7 +6288,7 @@ He.createPortal = function(e, t) {
|
|
6288
6288
|
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
6289
6289
|
if (!pa(t))
|
6290
6290
|
throw Error(N(200));
|
6291
|
-
return
|
6291
|
+
return v0(e, t, null, n);
|
6292
6292
|
};
|
6293
6293
|
He.createRoot = function(e, t) {
|
6294
6294
|
if (!pa(e))
|
@@ -6324,7 +6324,7 @@ He.hydrateRoot = function(e, t, n) {
|
|
6324
6324
|
n,
|
6325
6325
|
o
|
6326
6326
|
);
|
6327
|
-
return new
|
6327
|
+
return new gi(t);
|
6328
6328
|
};
|
6329
6329
|
He.render = function(e, t, n) {
|
6330
6330
|
if (!yi(t))
|
@@ -6420,28 +6420,28 @@ function S0() {
|
|
6420
6420
|
if (Us)
|
6421
6421
|
return B;
|
6422
6422
|
Us = 1;
|
6423
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120,
|
6424
|
-
function d(
|
6425
|
-
if (typeof
|
6426
|
-
var T =
|
6423
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, f = e ? Symbol.for("react.scope") : 60119;
|
6424
|
+
function d(g) {
|
6425
|
+
if (typeof g == "object" && g !== null) {
|
6426
|
+
var T = g.$$typeof;
|
6427
6427
|
switch (T) {
|
6428
6428
|
case t:
|
6429
|
-
switch (
|
6429
|
+
switch (g = g.type, g) {
|
6430
6430
|
case a:
|
6431
6431
|
case s:
|
6432
6432
|
case r:
|
6433
6433
|
case i:
|
6434
6434
|
case o:
|
6435
6435
|
case m:
|
6436
|
-
return
|
6436
|
+
return g;
|
6437
6437
|
default:
|
6438
|
-
switch (
|
6438
|
+
switch (g = g && g.$$typeof, g) {
|
6439
6439
|
case u:
|
6440
6440
|
case c:
|
6441
6441
|
case w:
|
6442
|
-
case
|
6442
|
+
case v:
|
6443
6443
|
case l:
|
6444
|
-
return
|
6444
|
+
return g;
|
6445
6445
|
default:
|
6446
6446
|
return T;
|
6447
6447
|
}
|
@@ -6451,35 +6451,35 @@ function S0() {
|
|
6451
6451
|
}
|
6452
6452
|
}
|
6453
6453
|
}
|
6454
|
-
function E(
|
6455
|
-
return d(
|
6456
|
-
}
|
6457
|
-
return B.AsyncMode = a, B.ConcurrentMode = s, B.ContextConsumer = u, B.ContextProvider = l, B.Element = t, B.ForwardRef = c, B.Fragment = r, B.Lazy = w, B.Memo =
|
6458
|
-
return E(
|
6459
|
-
}, B.isConcurrentMode = E, B.isContextConsumer = function(
|
6460
|
-
return d(
|
6461
|
-
}, B.isContextProvider = function(
|
6462
|
-
return d(
|
6463
|
-
}, B.isElement = function(
|
6464
|
-
return typeof
|
6465
|
-
}, B.isForwardRef = function(
|
6466
|
-
return d(
|
6467
|
-
}, B.isFragment = function(
|
6468
|
-
return d(
|
6469
|
-
}, B.isLazy = function(
|
6470
|
-
return d(
|
6471
|
-
}, B.isMemo = function(
|
6472
|
-
return d(
|
6473
|
-
}, B.isPortal = function(
|
6474
|
-
return d(
|
6475
|
-
}, B.isProfiler = function(
|
6476
|
-
return d(
|
6477
|
-
}, B.isStrictMode = function(
|
6478
|
-
return d(
|
6479
|
-
}, B.isSuspense = function(
|
6480
|
-
return d(
|
6481
|
-
}, B.isValidElementType = function(
|
6482
|
-
return typeof
|
6454
|
+
function E(g) {
|
6455
|
+
return d(g) === s;
|
6456
|
+
}
|
6457
|
+
return B.AsyncMode = a, B.ConcurrentMode = s, B.ContextConsumer = u, B.ContextProvider = l, B.Element = t, B.ForwardRef = c, B.Fragment = r, B.Lazy = w, B.Memo = v, B.Portal = n, B.Profiler = i, B.StrictMode = o, B.Suspense = m, B.isAsyncMode = function(g) {
|
6458
|
+
return E(g) || d(g) === a;
|
6459
|
+
}, B.isConcurrentMode = E, B.isContextConsumer = function(g) {
|
6460
|
+
return d(g) === u;
|
6461
|
+
}, B.isContextProvider = function(g) {
|
6462
|
+
return d(g) === l;
|
6463
|
+
}, B.isElement = function(g) {
|
6464
|
+
return typeof g == "object" && g !== null && g.$$typeof === t;
|
6465
|
+
}, B.isForwardRef = function(g) {
|
6466
|
+
return d(g) === c;
|
6467
|
+
}, B.isFragment = function(g) {
|
6468
|
+
return d(g) === r;
|
6469
|
+
}, B.isLazy = function(g) {
|
6470
|
+
return d(g) === w;
|
6471
|
+
}, B.isMemo = function(g) {
|
6472
|
+
return d(g) === v;
|
6473
|
+
}, B.isPortal = function(g) {
|
6474
|
+
return d(g) === n;
|
6475
|
+
}, B.isProfiler = function(g) {
|
6476
|
+
return d(g) === i;
|
6477
|
+
}, B.isStrictMode = function(g) {
|
6478
|
+
return d(g) === o;
|
6479
|
+
}, B.isSuspense = function(g) {
|
6480
|
+
return d(g) === m;
|
6481
|
+
}, B.isValidElementType = function(g) {
|
6482
|
+
return typeof g == "string" || typeof g == "function" || g === r || g === s || g === i || g === o || g === m || g === p || typeof g == "object" && g !== null && (g.$$typeof === w || g.$$typeof === v || g.$$typeof === l || g.$$typeof === u || g.$$typeof === c || g.$$typeof === S || g.$$typeof === h || g.$$typeof === f || g.$$typeof === y);
|
6483
6483
|
}, B.typeOf = d, B;
|
6484
6484
|
}
|
6485
6485
|
(function(e) {
|
@@ -6801,13 +6801,13 @@ function O0(e) {
|
|
6801
6801
|
case "integer-width":
|
6802
6802
|
if (o.options.length > 1)
|
6803
6803
|
throw new RangeError("integer-width stems only accept a single optional option");
|
6804
|
-
o.options[0].replace(I0, function(a, s, c, m, p,
|
6804
|
+
o.options[0].replace(I0, function(a, s, c, m, p, v) {
|
6805
6805
|
if (s)
|
6806
6806
|
t.minimumIntegerDigits = c.length;
|
6807
6807
|
else {
|
6808
6808
|
if (m && p)
|
6809
6809
|
throw new Error("We currently do not support maximum integer digits");
|
6810
|
-
if (
|
6810
|
+
if (v)
|
6811
6811
|
throw new Error("We currently do not support exact integer digits");
|
6812
6812
|
}
|
6813
6813
|
return "";
|
@@ -6821,8 +6821,8 @@ function O0(e) {
|
|
6821
6821
|
if (Vs.test(o.stem)) {
|
6822
6822
|
if (o.options.length > 1)
|
6823
6823
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
6824
|
-
o.stem.replace(Vs, function(a, s, c, m, p,
|
6825
|
-
return c === "*" ? t.minimumFractionDigits = s.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p &&
|
6824
|
+
o.stem.replace(Vs, function(a, s, c, m, p, v) {
|
6825
|
+
return c === "*" ? t.minimumFractionDigits = s.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : p && v ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + v.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
|
6826
6826
|
});
|
6827
6827
|
var i = o.options[0];
|
6828
6828
|
i === "w" ? t = L(L({}, t), {
|
@@ -7419,10 +7419,10 @@ var Q0 = function() {
|
|
7419
7419
|
var p = W0(m.val);
|
7420
7420
|
if (p.length === 0)
|
7421
7421
|
return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
|
7422
|
-
var
|
7422
|
+
var v = H(c, this.clonePosition());
|
7423
7423
|
s = {
|
7424
7424
|
style: p,
|
7425
|
-
styleLocation:
|
7425
|
+
styleLocation: v
|
7426
7426
|
};
|
7427
7427
|
}
|
7428
7428
|
var w = this.tryParseArgumentClose(o);
|
@@ -7481,7 +7481,7 @@ var Q0 = function() {
|
|
7481
7481
|
if (this.bumpSpace(), !this.bumpIf(","))
|
7482
7482
|
return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, H(d, L({}, d)));
|
7483
7483
|
this.bumpSpace();
|
7484
|
-
var E = this.parseIdentifierIfPossible(),
|
7484
|
+
var E = this.parseIdentifierIfPossible(), g = 0;
|
7485
7485
|
if (u !== "select" && E.value === "offset") {
|
7486
7486
|
if (!this.bumpIf(":"))
|
7487
7487
|
return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
|
@@ -7489,7 +7489,7 @@ var Q0 = function() {
|
|
7489
7489
|
var m = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
7490
7490
|
if (m.err)
|
7491
7491
|
return m;
|
7492
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
7492
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), g = m.val;
|
7493
7493
|
}
|
7494
7494
|
var T = this.tryParsePluralOrSelectOptions(t, u, n, E);
|
7495
7495
|
if (T.err)
|
@@ -7511,7 +7511,7 @@ var Q0 = function() {
|
|
7511
7511
|
type: X.plural,
|
7512
7512
|
value: r,
|
7513
7513
|
options: Zs(T.val),
|
7514
|
-
offset:
|
7514
|
+
offset: g,
|
7515
7515
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
7516
7516
|
location: C
|
7517
7517
|
},
|
@@ -7592,18 +7592,18 @@ var Q0 = function() {
|
|
7592
7592
|
if (a.has(s))
|
7593
7593
|
return this.error(n === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
7594
7594
|
s === "other" && (l = !0), this.bumpSpace();
|
7595
|
-
var
|
7595
|
+
var v = this.clonePosition();
|
7596
7596
|
if (!this.bumpIf("{"))
|
7597
7597
|
return this.error(n === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
|
7598
7598
|
var w = this.parseMessage(t + 1, n, r);
|
7599
7599
|
if (w.err)
|
7600
7600
|
return w;
|
7601
|
-
var y = this.tryParseArgumentClose(
|
7601
|
+
var y = this.tryParseArgumentClose(v);
|
7602
7602
|
if (y.err)
|
7603
7603
|
return y;
|
7604
7604
|
u.push([s, {
|
7605
7605
|
value: w.val,
|
7606
|
-
location: H(
|
7606
|
+
location: H(v, this.clonePosition())
|
7607
7607
|
}]), a.add(s), this.bumpSpace(), i = this.parseIdentifierIfPossible(), s = i.value, c = i.location;
|
7608
7608
|
}
|
7609
7609
|
return u.length === 0 ? this.error(n === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(A.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : {
|
@@ -7759,18 +7759,18 @@ function r1(e, t) {
|
|
7759
7759
|
var o1 = function() {
|
7760
7760
|
return JSON.stringify(arguments);
|
7761
7761
|
};
|
7762
|
-
function
|
7762
|
+
function va() {
|
7763
7763
|
this.cache = /* @__PURE__ */ Object.create(null);
|
7764
7764
|
}
|
7765
|
-
|
7765
|
+
va.prototype.get = function(e) {
|
7766
7766
|
return this.cache[e];
|
7767
7767
|
};
|
7768
|
-
|
7768
|
+
va.prototype.set = function(e, t) {
|
7769
7769
|
this.cache[e] = t;
|
7770
7770
|
};
|
7771
7771
|
var i1 = {
|
7772
7772
|
create: function() {
|
7773
|
-
return new
|
7773
|
+
return new va();
|
7774
7774
|
}
|
7775
7775
|
}, it = {
|
7776
7776
|
variadic: n1,
|
@@ -7853,26 +7853,26 @@ function To(e, t, n, r, o, i, l) {
|
|
7853
7853
|
continue;
|
7854
7854
|
}
|
7855
7855
|
if (Bd(c)) {
|
7856
|
-
var
|
7856
|
+
var v = typeof c.style == "string" ? r.date[c.style] : ql(c.style) ? c.style.parsedOptions : void 0;
|
7857
7857
|
u.push({
|
7858
7858
|
type: we.literal,
|
7859
|
-
value: n.getDateTimeFormat(t,
|
7859
|
+
value: n.getDateTimeFormat(t, v).format(p)
|
7860
7860
|
});
|
7861
7861
|
continue;
|
7862
7862
|
}
|
7863
7863
|
if (bd(c)) {
|
7864
|
-
var
|
7864
|
+
var v = typeof c.style == "string" ? r.time[c.style] : ql(c.style) ? c.style.parsedOptions : r.time.medium;
|
7865
7865
|
u.push({
|
7866
7866
|
type: we.literal,
|
7867
|
-
value: n.getDateTimeFormat(t,
|
7867
|
+
value: n.getDateTimeFormat(t, v).format(p)
|
7868
7868
|
});
|
7869
7869
|
continue;
|
7870
7870
|
}
|
7871
7871
|
if (zd(c)) {
|
7872
|
-
var
|
7873
|
-
|
7872
|
+
var v = typeof c.style == "string" ? r.number[c.style] : Vd(c.style) ? c.style.parsedOptions : void 0;
|
7873
|
+
v && v.scale && (p = p * (v.scale || 1)), u.push({
|
7874
7874
|
type: we.literal,
|
7875
|
-
value: n.getNumberFormat(t,
|
7875
|
+
value: n.getNumberFormat(t, v).format(p)
|
7876
7876
|
});
|
7877
7877
|
continue;
|
7878
7878
|
}
|
@@ -7880,13 +7880,13 @@ function To(e, t, n, r, o, i, l) {
|
|
7880
7880
|
var w = c.children, y = c.value, S = o[y];
|
7881
7881
|
if (!qd(S))
|
7882
7882
|
throw new l1(y, "function", l);
|
7883
|
-
var h = To(w, t, n, r, o, i), f = S(h.map(function(
|
7884
|
-
return
|
7883
|
+
var h = To(w, t, n, r, o, i), f = S(h.map(function(g) {
|
7884
|
+
return g.value;
|
7885
7885
|
}));
|
7886
|
-
Array.isArray(f) || (f = [f]), u.push.apply(u, f.map(function(
|
7886
|
+
Array.isArray(f) || (f = [f]), u.push.apply(u, f.map(function(g) {
|
7887
7887
|
return {
|
7888
|
-
type: typeof
|
7889
|
-
value:
|
7888
|
+
type: typeof g == "string" ? we.literal : we.object,
|
7889
|
+
value: g
|
7890
7890
|
};
|
7891
7891
|
}));
|
7892
7892
|
}
|
@@ -8081,10 +8081,10 @@ var ep = function() {
|
|
8081
8081
|
}
|
8082
8082
|
}
|
8083
8083
|
}, e;
|
8084
|
-
}(),
|
8084
|
+
}(), ge;
|
8085
8085
|
(function(e) {
|
8086
8086
|
e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION";
|
8087
|
-
})(
|
8087
|
+
})(ge || (ge = {}));
|
8088
8088
|
var Le = function(e) {
|
8089
8089
|
Ge(t, e);
|
8090
8090
|
function t(n, r, o) {
|
@@ -8098,25 +8098,25 @@ var Le = function(e) {
|
|
8098
8098
|
}(Error), d1 = function(e) {
|
8099
8099
|
Ge(t, e);
|
8100
8100
|
function t(n, r) {
|
8101
|
-
return e.call(this,
|
8101
|
+
return e.call(this, ge.UNSUPPORTED_FORMATTER, n, r) || this;
|
8102
8102
|
}
|
8103
8103
|
return t;
|
8104
8104
|
}(Le), p1 = function(e) {
|
8105
8105
|
Ge(t, e);
|
8106
8106
|
function t(n, r) {
|
8107
|
-
return e.call(this,
|
8107
|
+
return e.call(this, ge.INVALID_CONFIG, n, r) || this;
|
8108
8108
|
}
|
8109
8109
|
return t;
|
8110
8110
|
}(Le), Ks = function(e) {
|
8111
8111
|
Ge(t, e);
|
8112
8112
|
function t(n, r) {
|
8113
|
-
return e.call(this,
|
8113
|
+
return e.call(this, ge.MISSING_DATA, n, r) || this;
|
8114
8114
|
}
|
8115
8115
|
return t;
|
8116
|
-
}(Le),
|
8116
|
+
}(Le), ga = function(e) {
|
8117
8117
|
Ge(t, e);
|
8118
8118
|
function t(n, r, o) {
|
8119
|
-
return e.call(this,
|
8119
|
+
return e.call(this, ge.FORMAT_ERROR, "".concat(n, `
|
8120
8120
|
Locale: `).concat(r, `
|
8121
8121
|
`), o) || this;
|
8122
8122
|
}
|
@@ -8132,10 +8132,10 @@ Description: `).concat(o == null ? void 0 : o.description, `
|
|
8132
8132
|
return l.descriptor = o, l;
|
8133
8133
|
}
|
8134
8134
|
return t;
|
8135
|
-
}(
|
8135
|
+
}(ga), h1 = function(e) {
|
8136
8136
|
Ge(t, e);
|
8137
8137
|
function t(n, r) {
|
8138
|
-
var o = e.call(this,
|
8138
|
+
var o = e.call(this, ge.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(r, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(i) {
|
8139
8139
|
var l;
|
8140
8140
|
return (l = i.value) !== null && l !== void 0 ? l : JSON.stringify(i);
|
8141
8141
|
}).join(), ")") : "id", " as fallback.")) || this;
|
@@ -8149,7 +8149,7 @@ function dn(e, t, n) {
|
|
8149
8149
|
}, {});
|
8150
8150
|
}
|
8151
8151
|
var m1 = function(e) {
|
8152
|
-
},
|
8152
|
+
}, v1 = function(e) {
|
8153
8153
|
}, tp = {
|
8154
8154
|
formats: {},
|
8155
8155
|
messages: {},
|
@@ -8158,7 +8158,7 @@ var m1 = function(e) {
|
|
8158
8158
|
defaultFormats: {},
|
8159
8159
|
fallbackOnEmptyString: !0,
|
8160
8160
|
onError: m1,
|
8161
|
-
onWarn:
|
8161
|
+
onWarn: v1
|
8162
8162
|
};
|
8163
8163
|
function np() {
|
8164
8164
|
return {
|
@@ -8185,7 +8185,7 @@ function Kt(e) {
|
|
8185
8185
|
}
|
8186
8186
|
};
|
8187
8187
|
}
|
8188
|
-
function
|
8188
|
+
function g1(e) {
|
8189
8189
|
e === void 0 && (e = np());
|
8190
8190
|
var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, o = ot(function() {
|
8191
8191
|
for (var u, a = [], s = 0; s < arguments.length; s++)
|
@@ -8280,7 +8280,7 @@ function Js(e, t) {
|
|
8280
8280
|
});
|
8281
8281
|
}
|
8282
8282
|
var iu = function(e, t, n, r, o) {
|
8283
|
-
var i = e.locale, l = e.formats, u = e.messages, a = e.defaultLocale, s = e.defaultFormats, c = e.fallbackOnEmptyString, m = e.onError, p = e.timeZone,
|
8283
|
+
var i = e.locale, l = e.formats, u = e.messages, a = e.defaultLocale, s = e.defaultFormats, c = e.fallbackOnEmptyString, m = e.onError, p = e.timeZone, v = e.defaultRichTextElements;
|
8284
8284
|
n === void 0 && (n = {
|
8285
8285
|
id: ""
|
8286
8286
|
});
|
@@ -8289,9 +8289,9 @@ var iu = function(e, t, n, r, o) {
|
|
8289
8289
|
var S = String(w), h = u && Object.prototype.hasOwnProperty.call(u, S) && u[S];
|
8290
8290
|
if (Array.isArray(h) && h.length === 1 && h[0].type === X.literal)
|
8291
8291
|
return h[0].value;
|
8292
|
-
if (!r && h && typeof h == "string" && !
|
8292
|
+
if (!r && h && typeof h == "string" && !v)
|
8293
8293
|
return h.replace(/'\{(.*?)\}'/gi, "{$1}");
|
8294
|
-
if (r = L(L({},
|
8294
|
+
if (r = L(L({}, v), r || {}), l = Js(l, p), s = Js(s, p), !h) {
|
8295
8295
|
if (c === !1 && h === "")
|
8296
8296
|
return h;
|
8297
8297
|
if ((!y || i && i.toLowerCase() !== a.toLowerCase()) && m(new h1(n, i)), y)
|
@@ -8338,7 +8338,7 @@ function y1(e, t) {
|
|
8338
8338
|
try {
|
8339
8339
|
return Ei(e, "date", t, l).format(u);
|
8340
8340
|
} catch (a) {
|
8341
|
-
e.onError(new Le(
|
8341
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting date.", a));
|
8342
8342
|
}
|
8343
8343
|
return String(u);
|
8344
8344
|
}
|
@@ -8349,7 +8349,7 @@ function w1(e, t) {
|
|
8349
8349
|
try {
|
8350
8350
|
return Ei(e, "time", t, l).format(u);
|
8351
8351
|
} catch (a) {
|
8352
|
-
e.onError(new Le(
|
8352
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting time.", a));
|
8353
8353
|
}
|
8354
8354
|
return String(u);
|
8355
8355
|
}
|
@@ -8362,7 +8362,7 @@ function E1(e, t) {
|
|
8362
8362
|
try {
|
8363
8363
|
return t(s, m).formatRange(o, i);
|
8364
8364
|
} catch (p) {
|
8365
|
-
c(new Le(
|
8365
|
+
c(new Le(ge.FORMAT_ERROR, "Error formatting date time range.", p));
|
8366
8366
|
}
|
8367
8367
|
return String(o);
|
8368
8368
|
}
|
@@ -8373,7 +8373,7 @@ function S1(e, t) {
|
|
8373
8373
|
try {
|
8374
8374
|
return Ei(e, "date", t, l).formatToParts(u);
|
8375
8375
|
} catch (a) {
|
8376
|
-
e.onError(new Le(
|
8376
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting date.", a));
|
8377
8377
|
}
|
8378
8378
|
return [];
|
8379
8379
|
}
|
@@ -8384,7 +8384,7 @@ function x1(e, t) {
|
|
8384
8384
|
try {
|
8385
8385
|
return Ei(e, "time", t, l).formatToParts(u);
|
8386
8386
|
} catch (a) {
|
8387
|
-
e.onError(new Le(
|
8387
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting time.", a));
|
8388
8388
|
}
|
8389
8389
|
return [];
|
8390
8390
|
}
|
@@ -8398,7 +8398,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
8398
8398
|
try {
|
8399
8399
|
return t(o, u).of(n);
|
8400
8400
|
} catch (a) {
|
8401
|
-
i(new Le(
|
8401
|
+
i(new Le(ge.FORMAT_ERROR, "Error formatting display name.", a));
|
8402
8402
|
}
|
8403
8403
|
}
|
8404
8404
|
var N1 = ["type", "style"], qs = Date.now();
|
@@ -8435,7 +8435,7 @@ Try polyfilling it using "@formatjs/intl-listformat"
|
|
8435
8435
|
});
|
8436
8436
|
});
|
8437
8437
|
} catch (c) {
|
8438
|
-
i(new Le(
|
8438
|
+
i(new Le(ge.FORMAT_ERROR, "Error formatting list.", c));
|
8439
8439
|
}
|
8440
8440
|
return n;
|
8441
8441
|
}
|
@@ -8449,7 +8449,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
8449
8449
|
try {
|
8450
8450
|
return t(o, l).select(n);
|
8451
8451
|
} catch (u) {
|
8452
|
-
i(new
|
8452
|
+
i(new ga("Error formatting plural.", o, u));
|
8453
8453
|
}
|
8454
8454
|
return "other";
|
8455
8455
|
}
|
@@ -8469,7 +8469,7 @@ Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
8469
8469
|
try {
|
8470
8470
|
return I1(e, t, o).format(n, r);
|
8471
8471
|
} catch (l) {
|
8472
|
-
e.onError(new
|
8472
|
+
e.onError(new ga("Error formatting relative time.", e.locale, l));
|
8473
8473
|
}
|
8474
8474
|
return String(n);
|
8475
8475
|
}
|
@@ -8485,7 +8485,7 @@ function D1(e, t, n, r) {
|
|
8485
8485
|
try {
|
8486
8486
|
return ip(e, t, r).format(n);
|
8487
8487
|
} catch (o) {
|
8488
|
-
e.onError(new Le(
|
8488
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting number.", o));
|
8489
8489
|
}
|
8490
8490
|
return String(n);
|
8491
8491
|
}
|
@@ -8494,7 +8494,7 @@ function A1(e, t, n, r) {
|
|
8494
8494
|
try {
|
8495
8495
|
return ip(e, t, r).formatToParts(n);
|
8496
8496
|
} catch (o) {
|
8497
|
-
e.onError(new Le(
|
8497
|
+
e.onError(new Le(ge.FORMAT_ERROR, "Error formatting number.", o));
|
8498
8498
|
}
|
8499
8499
|
return [];
|
8500
8500
|
}
|
@@ -8508,7 +8508,7 @@ Please consider using "@formatjs/cli" to pre-compile your messages for performan
|
|
8508
8508
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
8509
8509
|
}
|
8510
8510
|
function B1(e, t) {
|
8511
|
-
var n =
|
8511
|
+
var n = g1(t), r = L(L({}, tp), e), o = r.locale, i = r.defaultLocale, l = r.onError;
|
8512
8512
|
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && l ? l(new Ks('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && l && l(new Ks('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (l && l(new p1('"locale" was not configured, using "'.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), z1(r), L(L({}, r), {
|
8513
8513
|
formatters: n,
|
8514
8514
|
formatNumber: D1.bind(null, r, n.getNumberFormat),
|
@@ -8577,8 +8577,8 @@ function U1() {
|
|
8577
8577
|
__source: !0
|
8578
8578
|
};
|
8579
8579
|
function l(u, a, s) {
|
8580
|
-
var c, m = {}, p = null,
|
8581
|
-
s !== void 0 && (p = "" + s), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (
|
8580
|
+
var c, m = {}, p = null, v = null;
|
8581
|
+
s !== void 0 && (p = "" + s), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (v = a.ref);
|
8582
8582
|
for (c in a)
|
8583
8583
|
r.call(a, c) && !i.hasOwnProperty(c) && (m[c] = a[c]);
|
8584
8584
|
if (u && u.defaultProps)
|
@@ -8588,7 +8588,7 @@ function U1() {
|
|
8588
8588
|
$$typeof: t,
|
8589
8589
|
type: u,
|
8590
8590
|
key: p,
|
8591
|
-
ref:
|
8591
|
+
ref: v,
|
8592
8592
|
props: m,
|
8593
8593
|
_owner: o.current
|
8594
8594
|
};
|
@@ -8780,7 +8780,7 @@ function qo(e) {
|
|
8780
8780
|
function q1(e) {
|
8781
8781
|
return typeof e == "string";
|
8782
8782
|
}
|
8783
|
-
function
|
8783
|
+
function ev(e, t) {
|
8784
8784
|
if (e != null)
|
8785
8785
|
if (qo(e))
|
8786
8786
|
e(t);
|
@@ -8794,13 +8794,13 @@ function eg(e, t) {
|
|
8794
8794
|
function pn(...e) {
|
8795
8795
|
return x.exports.useCallback((t) => {
|
8796
8796
|
for (let n of e)
|
8797
|
-
|
8797
|
+
ev(n, t);
|
8798
8798
|
}, e);
|
8799
8799
|
}
|
8800
8800
|
function Gt(e) {
|
8801
8801
|
return dp() ? e ? e.ownerDocument : document : null;
|
8802
8802
|
}
|
8803
|
-
function
|
8803
|
+
function tv(e, t) {
|
8804
8804
|
let n = x.exports.createContext(t);
|
8805
8805
|
function r(i) {
|
8806
8806
|
let {
|
@@ -8822,7 +8822,7 @@ function tg(e, t) {
|
|
8822
8822
|
}
|
8823
8823
|
return n.displayName = `${e}Context`, r.displayName = `${e}Provider`, [r, o];
|
8824
8824
|
}
|
8825
|
-
function
|
8825
|
+
function nv(e) {
|
8826
8826
|
var t, n;
|
8827
8827
|
let r = Gt(e), o = r.defaultView || window;
|
8828
8828
|
return r ? {
|
@@ -8854,13 +8854,13 @@ function rl(e) {
|
|
8854
8854
|
t.current = e;
|
8855
8855
|
}, [e]), t.current;
|
8856
8856
|
}
|
8857
|
-
function
|
8857
|
+
function rv(e, t) {
|
8858
8858
|
let [n, r] = x.exports.useState(t), o = x.exports.useCallback((i) => {
|
8859
8859
|
e.current = i, r(i);
|
8860
8860
|
}, []);
|
8861
8861
|
return [n, o];
|
8862
8862
|
}
|
8863
|
-
var
|
8863
|
+
var ov = ({
|
8864
8864
|
children: e,
|
8865
8865
|
type: t = "reach-portal",
|
8866
8866
|
containerRef: n
|
@@ -8885,27 +8885,27 @@ var og = ({
|
|
8885
8885
|
let [n, r] = x.exports.useState(!1);
|
8886
8886
|
return x.exports.useEffect(() => {
|
8887
8887
|
e && r(!0);
|
8888
|
-
}, [e]), e && !n ? null : /* @__PURE__ */ k(
|
8888
|
+
}, [e]), e && !n ? null : /* @__PURE__ */ k(ov, {
|
8889
8889
|
...t
|
8890
8890
|
});
|
8891
8891
|
};
|
8892
8892
|
Sa.displayName = "Portal";
|
8893
|
-
var
|
8894
|
-
return e === void 0 && (e = {}), t === void 0 && (t = {}),
|
8893
|
+
var iv = ["bottom", "height", "left", "right", "top", "width"], lv = function(e, t) {
|
8894
|
+
return e === void 0 && (e = {}), t === void 0 && (t = {}), iv.some(function(n) {
|
8895
8895
|
return e[n] !== t[n];
|
8896
8896
|
});
|
8897
|
-
}, Rt = /* @__PURE__ */ new Map(), hp,
|
8897
|
+
}, Rt = /* @__PURE__ */ new Map(), hp, uv = function e() {
|
8898
8898
|
var t = [];
|
8899
8899
|
Rt.forEach(function(n, r) {
|
8900
8900
|
var o = r.getBoundingClientRect();
|
8901
|
-
|
8901
|
+
lv(o, n.rect) && (n.rect = o, t.push(n));
|
8902
8902
|
}), t.forEach(function(n) {
|
8903
8903
|
n.callbacks.forEach(function(r) {
|
8904
8904
|
return r(n.rect);
|
8905
8905
|
});
|
8906
8906
|
}), hp = window.requestAnimationFrame(e);
|
8907
8907
|
};
|
8908
|
-
function
|
8908
|
+
function av(e, t) {
|
8909
8909
|
return {
|
8910
8910
|
observe: function() {
|
8911
8911
|
var n = Rt.size === 0;
|
@@ -8913,7 +8913,7 @@ function ag(e, t) {
|
|
8913
8913
|
rect: void 0,
|
8914
8914
|
hasRectChanged: !1,
|
8915
8915
|
callbacks: [t]
|
8916
|
-
}), n &&
|
8916
|
+
}), n && uv();
|
8917
8917
|
},
|
8918
8918
|
unobserve: function() {
|
8919
8919
|
var n = Rt.get(e);
|
@@ -8940,12 +8940,12 @@ function ei(e, t, n) {
|
|
8940
8940
|
}, [l]), Dn(() => {
|
8941
8941
|
if (!o)
|
8942
8942
|
return;
|
8943
|
-
let
|
8944
|
-
if (s.current || (s.current = !0,
|
8943
|
+
let v = l;
|
8944
|
+
if (s.current || (s.current = !0, v = e.current), !v) {
|
8945
8945
|
console.warn("You need to place the ref");
|
8946
8946
|
return;
|
8947
8947
|
}
|
8948
|
-
let w =
|
8948
|
+
let w = av(v, (y) => {
|
8949
8949
|
var S;
|
8950
8950
|
(S = p.current) == null || S.call(p, y), m(y);
|
8951
8951
|
});
|
@@ -8958,15 +8958,15 @@ function ei(e, t, n) {
|
|
8958
8958
|
* tabbable 5.3.3
|
8959
8959
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
8960
8960
|
*/
|
8961
|
-
var
|
8961
|
+
var sv = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], au = /* @__PURE__ */ sv.join(","), mp = typeof Element > "u", zr = mp ? function() {
|
8962
8962
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, su = !mp && Element.prototype.getRootNode ? function(e) {
|
8963
8963
|
return e.getRootNode();
|
8964
8964
|
} : function(e) {
|
8965
8965
|
return e.ownerDocument;
|
8966
|
-
},
|
8966
|
+
}, cv = function(e, t, n) {
|
8967
8967
|
var r = Array.prototype.slice.apply(e.querySelectorAll(au));
|
8968
8968
|
return t && zr.call(e, au) && r.unshift(e), r = r.filter(n), r;
|
8969
|
-
},
|
8969
|
+
}, fv = function e(t, n, r) {
|
8970
8970
|
for (var o = [], i = Array.from(t); i.length; ) {
|
8971
8971
|
var l = i.shift();
|
8972
8972
|
if (l.tagName === "SLOT") {
|
@@ -8980,34 +8980,34 @@ var sg = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
8980
8980
|
c && r.filter(l) && (n || !t.includes(l)) && o.push(l);
|
8981
8981
|
var m = l.shadowRoot || typeof r.getShadowRoot == "function" && r.getShadowRoot(l), p = !r.shadowRootFilter || r.shadowRootFilter(l);
|
8982
8982
|
if (m && p) {
|
8983
|
-
var
|
8984
|
-
r.flatten ? o.push.apply(o,
|
8983
|
+
var v = e(m === !0 ? l.children : m.children, !0, r);
|
8984
|
+
r.flatten ? o.push.apply(o, v) : o.push({
|
8985
8985
|
scope: l,
|
8986
|
-
candidates:
|
8986
|
+
candidates: v
|
8987
8987
|
});
|
8988
8988
|
} else
|
8989
8989
|
i.unshift.apply(i, l.children);
|
8990
8990
|
}
|
8991
8991
|
}
|
8992
8992
|
return o;
|
8993
|
-
},
|
8993
|
+
}, vp = function(e, t) {
|
8994
8994
|
return e.tabIndex < 0 && (t || /^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || e.isContentEditable) && isNaN(parseInt(e.getAttribute("tabindex"), 10)) ? 0 : e.tabIndex;
|
8995
|
-
},
|
8995
|
+
}, dv = function(e, t) {
|
8996
8996
|
return e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex;
|
8997
|
-
},
|
8997
|
+
}, gp = function(e) {
|
8998
8998
|
return e.tagName === "INPUT";
|
8999
|
-
},
|
9000
|
-
return
|
9001
|
-
},
|
8999
|
+
}, pv = function(e) {
|
9000
|
+
return gp(e) && e.type === "hidden";
|
9001
|
+
}, hv = function(e) {
|
9002
9002
|
var t = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(n) {
|
9003
9003
|
return n.tagName === "SUMMARY";
|
9004
9004
|
});
|
9005
9005
|
return t;
|
9006
|
-
},
|
9006
|
+
}, mv = function(e, t) {
|
9007
9007
|
for (var n = 0; n < e.length; n++)
|
9008
9008
|
if (e[n].checked && e[n].form === t)
|
9009
9009
|
return e[n];
|
9010
|
-
},
|
9010
|
+
}, vv = function(e) {
|
9011
9011
|
if (!e.name)
|
9012
9012
|
return !0;
|
9013
9013
|
var t = e.form || su(e), n = function(i) {
|
@@ -9021,16 +9021,16 @@ var sg = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
9021
9021
|
} catch (i) {
|
9022
9022
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
|
9023
9023
|
}
|
9024
|
-
var o =
|
9024
|
+
var o = mv(r, e.form);
|
9025
9025
|
return !o || o === e;
|
9026
|
-
},
|
9027
|
-
return
|
9028
|
-
},
|
9029
|
-
return
|
9026
|
+
}, gv = function(e) {
|
9027
|
+
return gp(e) && e.type === "radio";
|
9028
|
+
}, yv = function(e) {
|
9029
|
+
return gv(e) && !vv(e);
|
9030
9030
|
}, oc = function(e) {
|
9031
9031
|
var t = e.getBoundingClientRect(), n = t.width, r = t.height;
|
9032
9032
|
return n === 0 && r === 0;
|
9033
|
-
},
|
9033
|
+
}, wv = function(e, t) {
|
9034
9034
|
var n = t.displayCheck, r = t.getShadowRoot;
|
9035
9035
|
if (getComputedStyle(e).visibility === "hidden")
|
9036
9036
|
return !0;
|
@@ -9053,7 +9053,7 @@ var sg = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
9053
9053
|
} else if (n === "non-zero-area")
|
9054
9054
|
return oc(e);
|
9055
9055
|
return !1;
|
9056
|
-
},
|
9056
|
+
}, Ev = function(e) {
|
9057
9057
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
9058
9058
|
for (var t = e.parentElement; t; ) {
|
9059
9059
|
if (t.tagName === "FIELDSET" && t.disabled) {
|
@@ -9067,17 +9067,17 @@ var sg = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
9067
9067
|
t = t.parentElement;
|
9068
9068
|
}
|
9069
9069
|
return !1;
|
9070
|
-
},
|
9071
|
-
return !(t.disabled ||
|
9070
|
+
}, Sv = function(e, t) {
|
9071
|
+
return !(t.disabled || pv(t) || wv(t, e) || hv(t) || Ev(t));
|
9072
9072
|
}, ic = function(e, t) {
|
9073
|
-
return !(
|
9074
|
-
},
|
9073
|
+
return !(yv(t) || vp(t) < 0 || !Sv(e, t));
|
9074
|
+
}, xv = function(e) {
|
9075
9075
|
var t = parseInt(e.getAttribute("tabindex"), 10);
|
9076
9076
|
return !!(isNaN(t) || t >= 0);
|
9077
|
-
},
|
9077
|
+
}, kv = function e(t) {
|
9078
9078
|
var n = [], r = [];
|
9079
9079
|
return t.forEach(function(o, i) {
|
9080
|
-
var l = !!o.scope, u = l ? o.scope : o, a =
|
9080
|
+
var l = !!o.scope, u = l ? o.scope : o, a = vp(u, l), s = l ? e(o.candidates) : u;
|
9081
9081
|
a === 0 ? l ? n.push.apply(n, s) : n.push(u) : r.push({
|
9082
9082
|
documentOrder: i,
|
9083
9083
|
tabIndex: a,
|
@@ -9085,18 +9085,18 @@ var sg = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
9085
9085
|
isScope: l,
|
9086
9086
|
content: s
|
9087
9087
|
});
|
9088
|
-
}), r.sort(
|
9088
|
+
}), r.sort(dv).reduce(function(o, i) {
|
9089
9089
|
return i.isScope ? o.push.apply(o, i.content) : o.push(i.content), o;
|
9090
9090
|
}, []).concat(n);
|
9091
9091
|
}, ht = function(e, t) {
|
9092
9092
|
t = t || {};
|
9093
9093
|
var n;
|
9094
|
-
return t.getShadowRoot ? n =
|
9094
|
+
return t.getShadowRoot ? n = fv([e], t.includeContainer, {
|
9095
9095
|
filter: ic.bind(null, t),
|
9096
9096
|
flatten: !1,
|
9097
9097
|
getShadowRoot: t.getShadowRoot,
|
9098
|
-
shadowRootFilter:
|
9099
|
-
}) : n =
|
9098
|
+
shadowRootFilter: xv
|
9099
|
+
}) : n = cv(e, t.includeContainer, ic.bind(null, t)), kv(n);
|
9100
9100
|
}, xa = x.exports.forwardRef(function({
|
9101
9101
|
unstable_skipInitialPortalRender: e,
|
9102
9102
|
...t
|
@@ -9113,7 +9113,7 @@ xa.displayName = "Popover";
|
|
9113
9113
|
var yp = x.exports.forwardRef(function({
|
9114
9114
|
as: e = "div",
|
9115
9115
|
targetRef: t,
|
9116
|
-
position: n =
|
9116
|
+
position: n = Cv,
|
9117
9117
|
unstable_observableRefs: r = [],
|
9118
9118
|
...o
|
9119
9119
|
}, i) {
|
@@ -9122,41 +9122,41 @@ var yp = x.exports.forwardRef(function({
|
|
9122
9122
|
}), a = ei(t, {
|
9123
9123
|
observe: !0
|
9124
9124
|
}), s = pn(l, i);
|
9125
|
-
return
|
9125
|
+
return Pv(t, l), /* @__PURE__ */ k(e, {
|
9126
9126
|
"data-reach-popover": "",
|
9127
9127
|
ref: s,
|
9128
9128
|
...o,
|
9129
9129
|
style: {
|
9130
9130
|
position: "absolute",
|
9131
|
-
...
|
9131
|
+
...Tv(n, a, u, ...r),
|
9132
9132
|
...o.style
|
9133
9133
|
}
|
9134
9134
|
});
|
9135
9135
|
});
|
9136
9136
|
yp.displayName = "PopoverImpl";
|
9137
|
-
function
|
9137
|
+
function Tv(e, t, n, ...r) {
|
9138
9138
|
return n ? e(t, n, ...r.map((o) => o.current)) : {
|
9139
9139
|
visibility: "hidden"
|
9140
9140
|
};
|
9141
9141
|
}
|
9142
|
-
function
|
9142
|
+
function Nv(e, t, n) {
|
9143
9143
|
return {
|
9144
9144
|
top: n ? `${e.top - t.height + window.pageYOffset}px` : `${e.top + e.height + window.pageYOffset}px`
|
9145
9145
|
};
|
9146
9146
|
}
|
9147
|
-
var
|
9147
|
+
var Cv = (e, t) => {
|
9148
9148
|
if (!e || !t)
|
9149
9149
|
return {};
|
9150
9150
|
const {
|
9151
9151
|
directionRight: n,
|
9152
9152
|
directionUp: r
|
9153
|
-
} =
|
9153
|
+
} = Rv(e, t);
|
9154
9154
|
return {
|
9155
9155
|
left: n ? `${e.right - t.width + window.pageXOffset}px` : `${e.left + window.pageXOffset}px`,
|
9156
|
-
...
|
9156
|
+
...Nv(e, t, r)
|
9157
9157
|
};
|
9158
9158
|
};
|
9159
|
-
function
|
9159
|
+
function Rv(e, t, n = 0, r = 0) {
|
9160
9160
|
const o = {
|
9161
9161
|
top: e.top - t.height < 0,
|
9162
9162
|
right: window.innerWidth < e.left + t.width - n,
|
@@ -9170,10 +9170,10 @@ function Rg(e, t, n = 0, r = 0) {
|
|
9170
9170
|
directionDown: a
|
9171
9171
|
};
|
9172
9172
|
}
|
9173
|
-
function
|
9173
|
+
function Pv(e, t) {
|
9174
9174
|
const n = Gt(e.current);
|
9175
9175
|
function r(f) {
|
9176
|
-
f.key === "Tab" && t.current && ht(t.current).length === 0 || (f.key === "Tab" && f.shiftKey ? s(f) ? c(f) : m(f) ? p(f) : w(f) && S() : f.key === "Tab" && (i() ? l(f) : u() ? a(f) :
|
9176
|
+
f.key === "Tab" && t.current && ht(t.current).length === 0 || (f.key === "Tab" && f.shiftKey ? s(f) ? c(f) : m(f) ? p(f) : w(f) && S() : f.key === "Tab" && (i() ? l(f) : u() ? a(f) : v(f) && S()));
|
9177
9177
|
}
|
9178
9178
|
x.exports.useEffect(() => (n.addEventListener("keydown", r), () => {
|
9179
9179
|
n.removeEventListener("keydown", r);
|
@@ -9218,7 +9218,7 @@ function Pg(e, t) {
|
|
9218
9218
|
var d;
|
9219
9219
|
f.preventDefault(), (d = e.current) == null || d.focus();
|
9220
9220
|
}
|
9221
|
-
function
|
9221
|
+
function v(f) {
|
9222
9222
|
const d = t.current ? ht(n).filter((E) => !t.current.contains(E)) : null;
|
9223
9223
|
return d ? f.target === d[d.length - 1] : !1;
|
9224
9224
|
}
|
@@ -9238,9 +9238,9 @@ function Pg(e, t) {
|
|
9238
9238
|
});
|
9239
9239
|
}
|
9240
9240
|
}
|
9241
|
-
var ol = !1,
|
9241
|
+
var ol = !1, Mv = 0;
|
9242
9242
|
function lc() {
|
9243
|
-
return ++
|
9243
|
+
return ++Mv;
|
9244
9244
|
}
|
9245
9245
|
var uc = fh["useId".toString()];
|
9246
9246
|
function wp(e) {
|
@@ -9256,7 +9256,7 @@ function wp(e) {
|
|
9256
9256
|
ol === !1 && (ol = !0);
|
9257
9257
|
}, []), (t = e != null ? e : r) != null ? t : void 0;
|
9258
9258
|
}
|
9259
|
-
function
|
9259
|
+
function Lv(e, t = {}) {
|
9260
9260
|
const n = [];
|
9261
9261
|
let r = x.exports.createContext({
|
9262
9262
|
descendants: n,
|
@@ -9265,7 +9265,7 @@ function Lg(e, t = {}) {
|
|
9265
9265
|
});
|
9266
9266
|
return r.displayName = e, r;
|
9267
9267
|
}
|
9268
|
-
function
|
9268
|
+
function Iv(e, t, n) {
|
9269
9269
|
let r = pp(), {
|
9270
9270
|
registerDescendant: o,
|
9271
9271
|
descendants: i
|
@@ -9275,13 +9275,13 @@ function Ig(e, t, n) {
|
|
9275
9275
|
index: l
|
9276
9276
|
})), [e, r, l, o, ...Object.values(e)]), l;
|
9277
9277
|
}
|
9278
|
-
function
|
9278
|
+
function _v() {
|
9279
9279
|
return x.exports.useState([]);
|
9280
9280
|
}
|
9281
|
-
function
|
9281
|
+
function Ov(e) {
|
9282
9282
|
return x.exports.useContext(e).descendants;
|
9283
9283
|
}
|
9284
|
-
function
|
9284
|
+
function Dv({
|
9285
9285
|
context: e,
|
9286
9286
|
children: t,
|
9287
9287
|
items: n,
|
@@ -9315,8 +9315,8 @@ To report a bug, open a new issue:
|
|
9315
9315
|
|
9316
9316
|
https://github.com/reach/reach-ui/issues/new?assignees=&labels=&template=Bug_report.md
|
9317
9317
|
|
9318
|
-
IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),
|
9319
|
-
let s =
|
9318
|
+
IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`), zv(a);
|
9319
|
+
let s = Hv(a, i), c;
|
9320
9320
|
return s === -1 ? c = [...a, {
|
9321
9321
|
...u,
|
9322
9322
|
element: i,
|
@@ -9337,7 +9337,7 @@ IMPORTANT: this check will only run in the development build, so if you see this
|
|
9337
9337
|
children: t
|
9338
9338
|
});
|
9339
9339
|
}
|
9340
|
-
function
|
9340
|
+
function Av(e, t) {
|
9341
9341
|
let {
|
9342
9342
|
descendants: n
|
9343
9343
|
} = x.exports.useContext(e), {
|
@@ -9355,12 +9355,12 @@ function Ag(e, t) {
|
|
9355
9355
|
let m = o != null ? o : -1, p = i ? n.filter(i) : n;
|
9356
9356
|
if (!p.length)
|
9357
9357
|
return;
|
9358
|
-
let
|
9358
|
+
let v = p.findIndex((f) => f.index === o);
|
9359
9359
|
function w() {
|
9360
|
-
return m === h().index ? a ? S() : p[
|
9360
|
+
return m === h().index ? a ? S() : p[v] : p[(v + 1) % p.length];
|
9361
9361
|
}
|
9362
9362
|
function y() {
|
9363
|
-
return m === S().index ? a ? h() : p[
|
9363
|
+
return m === S().index ? a ? h() : p[v] : p[(v - 1 + p.length) % p.length];
|
9364
9364
|
}
|
9365
9365
|
function S() {
|
9366
9366
|
return p[0];
|
@@ -9414,8 +9414,8 @@ function Ag(e, t) {
|
|
9414
9414
|
break;
|
9415
9415
|
case "End":
|
9416
9416
|
c.preventDefault();
|
9417
|
-
let
|
9418
|
-
r(l === "option" ?
|
9417
|
+
let g = h();
|
9418
|
+
r(l === "option" ? g : g[l]);
|
9419
9419
|
break;
|
9420
9420
|
}
|
9421
9421
|
};
|
@@ -9423,7 +9423,7 @@ function Ag(e, t) {
|
|
9423
9423
|
function Ep(e, t) {
|
9424
9424
|
return Boolean(t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING);
|
9425
9425
|
}
|
9426
|
-
function
|
9426
|
+
function Hv(e, t) {
|
9427
9427
|
if (!t || !e.length)
|
9428
9428
|
return -1;
|
9429
9429
|
let n = e.length;
|
@@ -9437,13 +9437,13 @@ function Hg(e, t) {
|
|
9437
9437
|
function ac(e, t, n) {
|
9438
9438
|
return n == null || !(n in e) ? [...e, t] : [...e.slice(0, n), t, ...e.slice(n)];
|
9439
9439
|
}
|
9440
|
-
function
|
9440
|
+
function zv(e) {
|
9441
9441
|
return e.sort((t, n) => !t.element || !n.element ? 0 : Ep(t.element, n.element) ? -1 : 1).map((t, n) => ({
|
9442
9442
|
...t,
|
9443
9443
|
index: n
|
9444
9444
|
}));
|
9445
9445
|
}
|
9446
|
-
var Sp = "CLEAR_SELECTION_INDEX", ka = "CLICK_MENU_ITEM", Br = "CLOSE_MENU",
|
9446
|
+
var Sp = "CLEAR_SELECTION_INDEX", ka = "CLICK_MENU_ITEM", Br = "CLOSE_MENU", Bv = "OPEN_MENU_AT_FIRST_ITEM", cu = "OPEN_MENU_AT_INDEX", xp = "OPEN_MENU_CLEARED", fu = "SEARCH_FOR_ITEM", Dt = "SELECT_ITEM_AT_INDEX", du = "SET_BUTTON_ID", ki = Lv("DropdownDescendantContext"), [bv, Gr] = tv("Dropdown"), Fv = {
|
9447
9447
|
triggerId: null,
|
9448
9448
|
isExpanded: !1,
|
9449
9449
|
typeaheadQuery: "",
|
@@ -9452,10 +9452,10 @@ var Sp = "CLEAR_SELECTION_INDEX", ka = "CLICK_MENU_ITEM", Br = "CLOSE_MENU", Bg
|
|
9452
9452
|
id: e,
|
9453
9453
|
children: t
|
9454
9454
|
}) => {
|
9455
|
-
let n = x.exports.useRef(null), r = x.exports.useRef(null), o = x.exports.useRef(null), [i, l] =
|
9456
|
-
...
|
9455
|
+
let n = x.exports.useRef(null), r = x.exports.useRef(null), o = x.exports.useRef(null), [i, l] = _v(), u = wp(e), a = e || $n("menu", u), s = $n("menu-button", a), [c, m] = x.exports.useReducer(Zv, {
|
9456
|
+
...Fv,
|
9457
9457
|
triggerId: s
|
9458
|
-
}), p = x.exports.useRef(!1),
|
9458
|
+
}), p = x.exports.useRef(!1), v = x.exports.useRef([]), w = x.exports.useRef(!1), y = x.exports.useRef({
|
9459
9459
|
x: 0,
|
9460
9460
|
y: 0
|
9461
9461
|
});
|
@@ -9463,18 +9463,18 @@ var Sp = "CLEAR_SELECTION_INDEX", ka = "CLICK_MENU_ITEM", Br = "CLOSE_MENU", Bg
|
|
9463
9463
|
c.isExpanded ? (window.__REACH_DISABLE_TOOLTIPS = !0, window.requestAnimationFrame(() => {
|
9464
9464
|
ti(r.current);
|
9465
9465
|
})) : window.__REACH_DISABLE_TOOLTIPS = !1;
|
9466
|
-
}, [c.isExpanded]), /* @__PURE__ */ k(
|
9466
|
+
}, [c.isExpanded]), /* @__PURE__ */ k(Dv, {
|
9467
9467
|
context: ki,
|
9468
9468
|
items: i,
|
9469
9469
|
set: l,
|
9470
|
-
children: /* @__PURE__ */ k(
|
9470
|
+
children: /* @__PURE__ */ k(bv, {
|
9471
9471
|
dispatch: m,
|
9472
9472
|
dropdownId: a,
|
9473
9473
|
dropdownRef: r,
|
9474
9474
|
mouseDownStartPosRef: y,
|
9475
9475
|
popoverRef: o,
|
9476
9476
|
readyToSelect: w,
|
9477
|
-
selectCallbacks:
|
9477
|
+
selectCallbacks: v,
|
9478
9478
|
state: c,
|
9479
9479
|
triggerClickedRef: p,
|
9480
9480
|
triggerRef: n,
|
@@ -9503,7 +9503,7 @@ function Tp({
|
|
9503
9503
|
triggerId: c,
|
9504
9504
|
isExpanded: m
|
9505
9505
|
}
|
9506
|
-
} = Gr("useDropdownTrigger"), p = pn(s, r),
|
9506
|
+
} = Gr("useDropdownTrigger"), p = pn(s, r), v = Mp(), w = x.exports.useMemo(() => v.findIndex((h) => !h.disabled), [v]);
|
9507
9507
|
x.exports.useEffect(() => {
|
9508
9508
|
n != null && n !== c && i({
|
9509
9509
|
type: du,
|
@@ -9562,7 +9562,7 @@ function Tp({
|
|
9562
9562
|
}
|
9563
9563
|
};
|
9564
9564
|
}
|
9565
|
-
var
|
9565
|
+
var Uv = x.exports.forwardRef(({
|
9566
9566
|
as: e = "button",
|
9567
9567
|
...t
|
9568
9568
|
}, n) => {
|
@@ -9577,7 +9577,7 @@ var Ug = x.exports.forwardRef(({
|
|
9577
9577
|
...r
|
9578
9578
|
});
|
9579
9579
|
});
|
9580
|
-
|
9580
|
+
Uv.displayName = "DropdownTrigger";
|
9581
9581
|
function Np({
|
9582
9582
|
index: e,
|
9583
9583
|
isLink: t = !1,
|
@@ -9592,7 +9592,7 @@ function Np({
|
|
9592
9592
|
disabled: c,
|
9593
9593
|
onFocus: m,
|
9594
9594
|
valueText: p,
|
9595
|
-
ref:
|
9595
|
+
ref: v,
|
9596
9596
|
...w
|
9597
9597
|
}) {
|
9598
9598
|
let {
|
@@ -9603,17 +9603,17 @@ function Np({
|
|
9603
9603
|
selectCallbacks: d,
|
9604
9604
|
triggerRef: E,
|
9605
9605
|
state: {
|
9606
|
-
selectionIndex:
|
9606
|
+
selectionIndex: g,
|
9607
9607
|
isExpanded: T
|
9608
9608
|
}
|
9609
9609
|
} = Gr("useDropdownItem"), C = x.exports.useRef(null), [M, U] = x.exports.useState(p || ""), I = x.exports.useCallback((j) => {
|
9610
9610
|
!p && (j == null ? void 0 : j.textContent) && U(j.textContent);
|
9611
|
-
}, [p]), ue = x.exports.useRef(!1), [tt, ft] =
|
9611
|
+
}, [p]), ue = x.exports.useRef(!1), [tt, ft] = rv(C, null), ye = x.exports.useMemo(() => ({
|
9612
9612
|
element: tt,
|
9613
9613
|
key: M,
|
9614
9614
|
disabled: c,
|
9615
9615
|
isLink: t
|
9616
|
-
}), [c, tt, t, M]), oe =
|
9616
|
+
}), [c, tt, t, M]), oe = Iv(ye, ki, e), Xe = oe === g && !c, Qn = pn(v, ft, I);
|
9617
9617
|
d.current[oe] = s;
|
9618
9618
|
function R() {
|
9619
9619
|
ti(E.current), s && s(), y({
|
@@ -9714,7 +9714,7 @@ function Np({
|
|
9714
9714
|
}
|
9715
9715
|
};
|
9716
9716
|
}
|
9717
|
-
var
|
9717
|
+
var jv = x.exports.forwardRef(({
|
9718
9718
|
as: e = "div",
|
9719
9719
|
...t
|
9720
9720
|
}, n) => {
|
@@ -9729,7 +9729,7 @@ var jg = x.exports.forwardRef(({
|
|
9729
9729
|
...r
|
9730
9730
|
});
|
9731
9731
|
});
|
9732
|
-
|
9732
|
+
jv.displayName = "DropdownItem";
|
9733
9733
|
function Cp({
|
9734
9734
|
id: e,
|
9735
9735
|
onKeyDown: t,
|
@@ -9748,9 +9748,9 @@ function Cp({
|
|
9748
9748
|
selectionIndex: m,
|
9749
9749
|
typeaheadQuery: p
|
9750
9750
|
}
|
9751
|
-
} = Gr("useDropdownItems"),
|
9751
|
+
} = Gr("useDropdownItems"), v = Mp(), w = pn(l, n);
|
9752
9752
|
x.exports.useEffect(() => {
|
9753
|
-
let d =
|
9753
|
+
let d = Gv(v, p);
|
9754
9754
|
p && d != null && o({
|
9755
9755
|
type: Dt,
|
9756
9756
|
payload: {
|
@@ -9763,23 +9763,23 @@ function Cp({
|
|
9763
9763
|
payload: ""
|
9764
9764
|
}), 1e3);
|
9765
9765
|
return () => window.clearTimeout(E);
|
9766
|
-
}, [o,
|
9767
|
-
let y = rl(
|
9766
|
+
}, [o, v, p, l]);
|
9767
|
+
let y = rl(v.length), S = rl(v[m]), h = rl(m);
|
9768
9768
|
x.exports.useEffect(() => {
|
9769
|
-
m >
|
9769
|
+
m > v.length - 1 ? o({
|
9770
9770
|
type: Dt,
|
9771
9771
|
payload: {
|
9772
|
-
index:
|
9772
|
+
index: v.length - 1,
|
9773
9773
|
dropdownRef: l
|
9774
9774
|
}
|
9775
|
-
}) : y !==
|
9775
|
+
}) : y !== v.length && m > -1 && S && h === m && v[m] !== S && o({
|
9776
9776
|
type: Dt,
|
9777
9777
|
payload: {
|
9778
|
-
index:
|
9778
|
+
index: v.findIndex((d) => d.key === (S == null ? void 0 : S.key)),
|
9779
9779
|
dropdownRef: l
|
9780
9780
|
}
|
9781
9781
|
});
|
9782
|
-
}, [l, o,
|
9782
|
+
}, [l, o, v, y, S, h, m]);
|
9783
9783
|
let f = ee(function(d) {
|
9784
9784
|
let {
|
9785
9785
|
key: E
|
@@ -9788,8 +9788,8 @@ function Cp({
|
|
9788
9788
|
switch (E) {
|
9789
9789
|
case "Enter":
|
9790
9790
|
case " ":
|
9791
|
-
let
|
9792
|
-
|
9791
|
+
let g = v.find((T) => T.index === m);
|
9792
|
+
g && !g.disabled && (d.preventDefault(), g.isLink && g.element ? g.element.click() : (ti(i.current), u.current[g.index] && u.current[g.index](), o({
|
9793
9793
|
type: ka
|
9794
9794
|
})));
|
9795
9795
|
break;
|
@@ -9811,7 +9811,7 @@ function Cp({
|
|
9811
9811
|
}
|
9812
9812
|
break;
|
9813
9813
|
}
|
9814
|
-
},
|
9814
|
+
}, Av(ki, {
|
9815
9815
|
currentIndex: m,
|
9816
9816
|
orientation: "vertical",
|
9817
9817
|
rotate: !1,
|
@@ -9841,7 +9841,7 @@ function Cp({
|
|
9841
9841
|
}
|
9842
9842
|
};
|
9843
9843
|
}
|
9844
|
-
var
|
9844
|
+
var Vv = x.exports.forwardRef(({
|
9845
9845
|
as: e = "div",
|
9846
9846
|
...t
|
9847
9847
|
}, n) => {
|
@@ -9856,7 +9856,7 @@ var Vg = x.exports.forwardRef(({
|
|
9856
9856
|
...r
|
9857
9857
|
});
|
9858
9858
|
});
|
9859
|
-
|
9859
|
+
Vv.displayName = "DropdownItems";
|
9860
9860
|
function Rp({
|
9861
9861
|
onBlur: e,
|
9862
9862
|
portal: t = !0,
|
@@ -9878,13 +9878,13 @@ function Rp({
|
|
9878
9878
|
if (!c)
|
9879
9879
|
return;
|
9880
9880
|
let p = Gt(s.current);
|
9881
|
-
function
|
9882
|
-
l.current ? l.current = !1 :
|
9881
|
+
function v(w) {
|
9882
|
+
l.current ? l.current = !1 : Xv(s.current, w.target) || u({
|
9883
9883
|
type: Br
|
9884
9884
|
});
|
9885
9885
|
}
|
9886
|
-
return p.addEventListener("mousedown",
|
9887
|
-
p.removeEventListener("mousedown",
|
9886
|
+
return p.addEventListener("mousedown", v), () => {
|
9887
|
+
p.removeEventListener("mousedown", v);
|
9888
9888
|
};
|
9889
9889
|
}, [l, i, u, a, s, c]), {
|
9890
9890
|
data: {
|
@@ -9905,7 +9905,7 @@ function Rp({
|
|
9905
9905
|
}
|
9906
9906
|
};
|
9907
9907
|
}
|
9908
|
-
var $
|
9908
|
+
var $v = x.exports.forwardRef(({
|
9909
9909
|
as: e = "div",
|
9910
9910
|
...t
|
9911
9911
|
}, n) => {
|
@@ -9934,8 +9934,8 @@ var $g = x.exports.forwardRef(({
|
|
9934
9934
|
...u
|
9935
9935
|
});
|
9936
9936
|
});
|
9937
|
-
$
|
9938
|
-
function
|
9937
|
+
$v.displayName = "DropdownPopover";
|
9938
|
+
function Gv(e, t = "") {
|
9939
9939
|
if (!t)
|
9940
9940
|
return null;
|
9941
9941
|
let n = e.find((r) => {
|
@@ -9953,10 +9953,10 @@ function Pp(e) {
|
|
9953
9953
|
function ti(e) {
|
9954
9954
|
e && e.focus();
|
9955
9955
|
}
|
9956
|
-
function
|
9956
|
+
function Xv(e, t) {
|
9957
9957
|
return !!(e && e.contains(t));
|
9958
9958
|
}
|
9959
|
-
function
|
9959
|
+
function Zv(e, t = {}) {
|
9960
9960
|
switch (t.type) {
|
9961
9961
|
case ka:
|
9962
9962
|
return {
|
@@ -9970,7 +9970,7 @@ function Zg(e, t = {}) {
|
|
9970
9970
|
isExpanded: !1,
|
9971
9971
|
selectionIndex: -1
|
9972
9972
|
};
|
9973
|
-
case
|
9973
|
+
case Bv:
|
9974
9974
|
return {
|
9975
9975
|
...e,
|
9976
9976
|
isExpanded: !0,
|
@@ -10026,7 +10026,7 @@ function Zg(e, t = {}) {
|
|
10026
10026
|
}
|
10027
10027
|
}
|
10028
10028
|
function Mp() {
|
10029
|
-
return
|
10029
|
+
return Ov(ki);
|
10030
10030
|
}
|
10031
10031
|
var Lp = {
|
10032
10032
|
exports: {}
|
@@ -10041,11 +10041,11 @@ var Lp = {
|
|
10041
10041
|
* LICENSE file in the root directory of this source tree.
|
10042
10042
|
*/
|
10043
10043
|
var sc;
|
10044
|
-
function
|
10044
|
+
function Wv() {
|
10045
10045
|
if (sc)
|
10046
10046
|
return b;
|
10047
10047
|
sc = 1;
|
10048
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.server_context"), a = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"),
|
10048
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.server_context"), a = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w;
|
10049
10049
|
w = Symbol.for("react.module.reference");
|
10050
10050
|
function y(S) {
|
10051
10051
|
if (typeof S == "object" && S !== null) {
|
@@ -10106,11 +10106,11 @@ function Wg() {
|
|
10106
10106
|
}, b.isSuspenseList = function(S) {
|
10107
10107
|
return y(S) === c;
|
10108
10108
|
}, b.isValidElementType = function(S) {
|
10109
|
-
return typeof S == "string" || typeof S == "function" || S === n || S === o || S === r || S === s || S === c || S ===
|
10109
|
+
return typeof S == "string" || typeof S == "function" || S === n || S === o || S === r || S === s || S === c || S === v || typeof S == "object" && S !== null && (S.$$typeof === p || S.$$typeof === m || S.$$typeof === i || S.$$typeof === l || S.$$typeof === a || S.$$typeof === w || S.getModuleId !== void 0);
|
10110
10110
|
}, b.typeOf = y, b;
|
10111
10111
|
}
|
10112
10112
|
(function(e) {
|
10113
|
-
e.exports =
|
10113
|
+
e.exports = Wv();
|
10114
10114
|
})(Lp);
|
10115
10115
|
var Ti = x.exports.forwardRef(({
|
10116
10116
|
as: e = x.exports.Fragment,
|
@@ -10287,7 +10287,7 @@ function Na({
|
|
10287
10287
|
children: e
|
10288
10288
|
});
|
10289
10289
|
}
|
10290
|
-
function
|
10290
|
+
function Qv({
|
10291
10291
|
applicationDescriptions: e,
|
10292
10292
|
refreshToken: t
|
10293
10293
|
}) {
|
@@ -10379,7 +10379,7 @@ var Ap = x.exports.forwardRef(function({
|
|
10379
10379
|
});
|
10380
10380
|
});
|
10381
10381
|
Ap.displayName = "VisuallyHidden";
|
10382
|
-
var
|
10382
|
+
var Kv = 100, Yv = 500, pu = {
|
10383
10383
|
initial: "IDLE",
|
10384
10384
|
states: {
|
10385
10385
|
IDLE: {
|
@@ -10390,8 +10390,8 @@ var Kg = 100, Yg = 500, pu = {
|
|
10390
10390
|
}
|
10391
10391
|
},
|
10392
10392
|
FOCUSED: {
|
10393
|
-
enter:
|
10394
|
-
leave:
|
10393
|
+
enter: eg,
|
10394
|
+
leave: tg,
|
10395
10395
|
on: {
|
10396
10396
|
MOUSE_MOVE: "FOCUSED",
|
10397
10397
|
MOUSE_LEAVE: "IDLE",
|
@@ -10412,9 +10412,9 @@ var Kg = 100, Yg = 500, pu = {
|
|
10412
10412
|
}
|
10413
10413
|
},
|
10414
10414
|
LEAVING_VISIBLE: {
|
10415
|
-
enter:
|
10415
|
+
enter: ng,
|
10416
10416
|
leave: () => {
|
10417
|
-
|
10417
|
+
rg(), il();
|
10418
10418
|
},
|
10419
10419
|
on: {
|
10420
10420
|
MOUSE_ENTER: "VISIBLE",
|
@@ -10438,32 +10438,32 @@ var Kg = 100, Yg = 500, pu = {
|
|
10438
10438
|
id: null
|
10439
10439
|
}
|
10440
10440
|
}, Co = [];
|
10441
|
-
function
|
10441
|
+
function Jv(e) {
|
10442
10442
|
return Co.push(e), () => {
|
10443
10443
|
Co.splice(Co.indexOf(e), 1);
|
10444
10444
|
};
|
10445
10445
|
}
|
10446
|
-
function
|
10446
|
+
function qv() {
|
10447
10447
|
Co.forEach((e) => e(Ue));
|
10448
10448
|
}
|
10449
10449
|
var hu;
|
10450
|
-
function
|
10450
|
+
function eg() {
|
10451
10451
|
window.clearTimeout(hu), hu = window.setTimeout(() => {
|
10452
10452
|
Qe({
|
10453
10453
|
type: "REST"
|
10454
10454
|
});
|
10455
|
-
},
|
10455
|
+
}, Kv);
|
10456
10456
|
}
|
10457
|
-
function
|
10457
|
+
function tg() {
|
10458
10458
|
window.clearTimeout(hu);
|
10459
10459
|
}
|
10460
10460
|
var mu;
|
10461
|
-
function
|
10461
|
+
function ng() {
|
10462
10462
|
window.clearTimeout(mu), mu = window.setTimeout(() => Qe({
|
10463
10463
|
type: "TIME_COMPLETE"
|
10464
|
-
}),
|
10464
|
+
}), Yv);
|
10465
10465
|
}
|
10466
|
-
function
|
10466
|
+
function rg() {
|
10467
10467
|
window.clearTimeout(mu);
|
10468
10468
|
}
|
10469
10469
|
function il() {
|
@@ -10483,13 +10483,13 @@ function Hp({
|
|
10483
10483
|
onBlur: c,
|
10484
10484
|
onKeyDown: m,
|
10485
10485
|
disabled: p,
|
10486
|
-
ref:
|
10486
|
+
ref: v,
|
10487
10487
|
DEBUG_STYLE: w
|
10488
10488
|
} = {}) {
|
10489
|
-
let y = String(wp(e)), [S, h] = x.exports.useState(w ? !0 : fc(y, !0)), f = x.exports.useRef(null), d = pn(
|
10489
|
+
let y = String(wp(e)), [S, h] = x.exports.useState(w ? !0 : fc(y, !0)), f = x.exports.useRef(null), d = pn(v, f), E = ei(f, {
|
10490
10490
|
observe: S
|
10491
10491
|
});
|
10492
|
-
x.exports.useEffect(() =>
|
10492
|
+
x.exports.useEffect(() => Jv(() => {
|
10493
10493
|
h(fc(y));
|
10494
10494
|
}), [y]), x.exports.useEffect(() => {
|
10495
10495
|
let ye = Gt(f.current);
|
@@ -10499,12 +10499,12 @@ function Hp({
|
|
10499
10499
|
});
|
10500
10500
|
}
|
10501
10501
|
return ye.addEventListener("keydown", oe), () => ye.removeEventListener("keydown", oe);
|
10502
|
-
}, []),
|
10502
|
+
}, []), ag({
|
10503
10503
|
disabled: p,
|
10504
10504
|
isVisible: S,
|
10505
10505
|
ref: f
|
10506
10506
|
});
|
10507
|
-
function
|
10507
|
+
function g(ye, oe) {
|
10508
10508
|
return typeof window < "u" && "PointerEvent" in window ? ye : ee(ye, oe);
|
10509
10509
|
}
|
10510
10510
|
function T(ye) {
|
@@ -10559,10 +10559,10 @@ function Hp({
|
|
10559
10559
|
onPointerMove: ee(n, T(M)),
|
10560
10560
|
onPointerLeave: ee(r, T(U)),
|
10561
10561
|
onPointerDown: ee(o, T(I)),
|
10562
|
-
onMouseEnter:
|
10563
|
-
onMouseMove:
|
10564
|
-
onMouseLeave:
|
10565
|
-
onMouseDown:
|
10562
|
+
onMouseEnter: g(i, C),
|
10563
|
+
onMouseMove: g(l, M),
|
10564
|
+
onMouseLeave: g(u, U),
|
10565
|
+
onMouseDown: g(a, I),
|
10566
10566
|
onFocus: ee(s, ue),
|
10567
10567
|
onBlur: ee(c, tt),
|
10568
10568
|
onKeyDown: ee(m, ft)
|
@@ -10572,7 +10572,7 @@ function Hp({
|
|
10572
10572
|
isVisible: S
|
10573
10573
|
}, S];
|
10574
10574
|
}
|
10575
|
-
var
|
10575
|
+
var og = x.exports.forwardRef(function({
|
10576
10576
|
children: e,
|
10577
10577
|
label: t,
|
10578
10578
|
ariaLabel: n,
|
@@ -10611,7 +10611,7 @@ var ov = x.exports.forwardRef(function({
|
|
10611
10611
|
})]
|
10612
10612
|
});
|
10613
10613
|
});
|
10614
|
-
|
10614
|
+
og.displayName = "Tooltip";
|
10615
10615
|
var Ca = x.exports.forwardRef(function({
|
10616
10616
|
label: e,
|
10617
10617
|
ariaLabel: t,
|
@@ -10638,24 +10638,24 @@ var zp = x.exports.forwardRef(function({
|
|
10638
10638
|
id: r,
|
10639
10639
|
isVisible: o,
|
10640
10640
|
label: i,
|
10641
|
-
position: l =
|
10641
|
+
position: l = ug,
|
10642
10642
|
style: u,
|
10643
10643
|
triggerRect: a,
|
10644
10644
|
...s
|
10645
10645
|
}, c) {
|
10646
|
-
let m = (t || e) != null, p = x.exports.useRef(null),
|
10646
|
+
let m = (t || e) != null, p = x.exports.useRef(null), v = pn(c, p), w = ei(p, {
|
10647
10647
|
observe: o
|
10648
10648
|
});
|
10649
10649
|
return /* @__PURE__ */ V(xi, {
|
10650
10650
|
children: [/* @__PURE__ */ k(n, {
|
10651
10651
|
role: m ? void 0 : "tooltip",
|
10652
10652
|
...s,
|
10653
|
-
ref:
|
10653
|
+
ref: v,
|
10654
10654
|
"data-reach-tooltip": "",
|
10655
10655
|
id: m ? void 0 : r,
|
10656
10656
|
style: {
|
10657
10657
|
...u,
|
10658
|
-
...
|
10658
|
+
...ig(l, a, w)
|
10659
10659
|
},
|
10660
10660
|
children: i
|
10661
10661
|
}), m && /* @__PURE__ */ k(Ap, {
|
@@ -10666,16 +10666,16 @@ var zp = x.exports.forwardRef(function({
|
|
10666
10666
|
});
|
10667
10667
|
});
|
10668
10668
|
zp.displayName = "TooltipContent";
|
10669
|
-
function
|
10669
|
+
function ig(e, t, n) {
|
10670
10670
|
return n ? e(t, n) : {
|
10671
10671
|
visibility: "hidden"
|
10672
10672
|
};
|
10673
10673
|
}
|
10674
|
-
var
|
10674
|
+
var lg = 8, ug = (e, t, n = lg) => {
|
10675
10675
|
let {
|
10676
10676
|
width: r,
|
10677
10677
|
height: o
|
10678
|
-
} =
|
10678
|
+
} = nv();
|
10679
10679
|
if (!e || !t)
|
10680
10680
|
return {};
|
10681
10681
|
let i = {
|
@@ -10689,7 +10689,7 @@ var lv = 8, uv = (e, t, n = lv) => {
|
|
10689
10689
|
top: u ? `${e.top - n - t.height + window.pageYOffset}px` : `${e.top + n + e.height + window.pageYOffset}px`
|
10690
10690
|
};
|
10691
10691
|
};
|
10692
|
-
function
|
10692
|
+
function ag({
|
10693
10693
|
disabled: e,
|
10694
10694
|
isVisible: t,
|
10695
10695
|
ref: n
|
@@ -10713,13 +10713,13 @@ function Qe(e) {
|
|
10713
10713
|
value: t,
|
10714
10714
|
context: n,
|
10715
10715
|
changed: r
|
10716
|
-
} =
|
10716
|
+
} = sg(Ue, e);
|
10717
10717
|
r && (Ue = {
|
10718
10718
|
value: t,
|
10719
10719
|
context: n
|
10720
|
-
},
|
10720
|
+
}, qv());
|
10721
10721
|
}
|
10722
|
-
function
|
10722
|
+
function sg(e, t) {
|
10723
10723
|
let n = pu.states[e.value], r = n && n.on && n.on[t.type];
|
10724
10724
|
if (!r)
|
10725
10725
|
return {
|
@@ -10744,14 +10744,14 @@ function sv(e, t) {
|
|
10744
10744
|
function fc(e, t) {
|
10745
10745
|
return Ue.context.id === e && (t ? Ue.value === "VISIBLE" : Ue.value === "VISIBLE" || Ue.value === "LEAVING_VISIBLE");
|
10746
10746
|
}
|
10747
|
-
const
|
10747
|
+
const cg = (e, t) => {
|
10748
10748
|
const n = e && t ? e.right - t.width + window.scrollX : "", r = e ? e.bottom + window.scrollY : "";
|
10749
10749
|
return {
|
10750
10750
|
left: `${n}px`,
|
10751
10751
|
top: `${r}px`
|
10752
10752
|
};
|
10753
10753
|
};
|
10754
|
-
function
|
10754
|
+
function fg({
|
10755
10755
|
children: e,
|
10756
10756
|
label: t
|
10757
10757
|
}) {
|
@@ -10768,22 +10768,22 @@ function fv({
|
|
10768
10768
|
borderRadius: "0.5rem",
|
10769
10769
|
boxShadow: "0 2px 10px rgba(0,0,0,0.1)"
|
10770
10770
|
},
|
10771
|
-
position:
|
10771
|
+
position: cg,
|
10772
10772
|
className: "tw-border tw-border-blue-500 tw-p-2"
|
10773
10773
|
})]
|
10774
10774
|
});
|
10775
10775
|
}
|
10776
|
-
const Bp = "x4b.language",
|
10776
|
+
const Bp = "x4b.language", dg = (e) => {
|
10777
10777
|
window.localStorage.setItem(Bp, e);
|
10778
10778
|
};
|
10779
|
-
function
|
10779
|
+
function pg() {
|
10780
10780
|
return window.localStorage.getItem(Bp) || "en";
|
10781
10781
|
}
|
10782
10782
|
const dc = {
|
10783
10783
|
en: "EN - English",
|
10784
10784
|
fr: "FR - Fran\xE7ais"
|
10785
10785
|
};
|
10786
|
-
function
|
10786
|
+
function hg({
|
10787
10787
|
language: e,
|
10788
10788
|
languages: t,
|
10789
10789
|
onLanguageSelected: n
|
@@ -10825,14 +10825,14 @@ function hv({
|
|
10825
10825
|
children: t.filter((r) => dc[r]).map((r) => /* @__PURE__ */ k(Ip, {
|
10826
10826
|
className: "tw-cursor-pointer tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black hover:tw-bg-gray-50 data-[selected]:tw-bg-gray-50",
|
10827
10827
|
onSelect: () => {
|
10828
|
-
|
10828
|
+
dg(r), n && n(r);
|
10829
10829
|
},
|
10830
10830
|
children: dc[r]
|
10831
10831
|
}, r))
|
10832
10832
|
})]
|
10833
10833
|
});
|
10834
10834
|
}
|
10835
|
-
function
|
10835
|
+
function mg({
|
10836
10836
|
count: e,
|
10837
10837
|
onClick: t
|
10838
10838
|
}) {
|
@@ -10875,7 +10875,7 @@ function mv({
|
|
10875
10875
|
}) : void 0]
|
10876
10876
|
});
|
10877
10877
|
}
|
10878
|
-
function
|
10878
|
+
function vg({
|
10879
10879
|
username: e,
|
10880
10880
|
version: t,
|
10881
10881
|
onLogout: n,
|
@@ -10931,7 +10931,7 @@ function gv({
|
|
10931
10931
|
children: [/* @__PURE__ */ k("div", {
|
10932
10932
|
className: "tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-lg tw-font-semibold tw-leading-tight tw-text-black",
|
10933
10933
|
children: e
|
10934
|
-
}), /* @__PURE__ */ k(ni, {
|
10934
|
+
}), r && /* @__PURE__ */ k(ni, {
|
10935
10935
|
className: "tw-self-start tw-text-base hover:tw-text-gray-900 hover:tw-font-medium hover:tw-underline",
|
10936
10936
|
onSelect: r,
|
10937
10937
|
children: o.formatMessage({
|
@@ -10958,8 +10958,8 @@ function gv({
|
|
10958
10958
|
})]
|
10959
10959
|
});
|
10960
10960
|
}
|
10961
|
-
const
|
10962
|
-
function
|
10961
|
+
const gg = "https://xcomponent.github.io/appcontrol-documentation/contact/";
|
10962
|
+
function yg({
|
10963
10963
|
application: e,
|
10964
10964
|
applications: t,
|
10965
10965
|
notificationCount: n,
|
@@ -10973,14 +10973,14 @@ function yv({
|
|
10973
10973
|
version: c,
|
10974
10974
|
logout: m,
|
10975
10975
|
updateProfile: p,
|
10976
|
-
refreshToken:
|
10976
|
+
refreshToken: v,
|
10977
10977
|
loginUrl: w,
|
10978
10978
|
withMaxWith: y = !1,
|
10979
10979
|
className: S,
|
10980
10980
|
showUpgrade: h,
|
10981
10981
|
...f
|
10982
10982
|
}) {
|
10983
|
-
const d = Wn(), E = t == null ? void 0 : t[e],
|
10983
|
+
const d = Wn(), E = t == null ? void 0 : t[e], g = "x4b-settings", T = t == null ? void 0 : t[g], C = "support@xcomponent.com", M = E && {
|
10984
10984
|
applicationName: E == null ? void 0 : E.name,
|
10985
10985
|
username: s,
|
10986
10986
|
version: c,
|
@@ -10992,11 +10992,11 @@ function yv({
|
|
10992
10992
|
return E ? /* @__PURE__ */ k("header", {
|
10993
10993
|
...f,
|
10994
10994
|
"aria-label": "Global",
|
10995
|
-
className: Jo(S, "tw-box-border tw-bg-white ",
|
10995
|
+
className: Jo(S, "tw-box-border tw-bg-white ", v && "tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),
|
10996
10996
|
children: /* @__PURE__ */ V("nav", {
|
10997
10997
|
"aria-label": "top",
|
10998
|
-
className: Jo(
|
10999
|
-
children: [
|
10998
|
+
className: Jo(v ? "tw-gap-0 sm:tw-gap-1 lg:tw-gap-2" : "tw-gap-0 sm:tw-gap-1", y && "tw-mx-auto tw-max-w-7xl", "tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),
|
10999
|
+
children: [v && i && /* @__PURE__ */ V(Ie, {
|
11000
11000
|
variant: "ghost",
|
11001
11001
|
colorScheme: "primary",
|
11002
11002
|
compact: !0,
|
@@ -11052,7 +11052,7 @@ function yv({
|
|
11052
11052
|
children: d.formatMessage({
|
11053
11053
|
id: "installGateway"
|
11054
11054
|
})
|
11055
|
-
}), h && /* @__PURE__ */ k(
|
11055
|
+
}), h && /* @__PURE__ */ k(fg, {
|
11056
11056
|
label: d.formatMessage({
|
11057
11057
|
id: "upgradeBtnTooltip"
|
11058
11058
|
}),
|
@@ -11075,16 +11075,16 @@ function yv({
|
|
11075
11075
|
id: "upgradeBtn"
|
11076
11076
|
})]
|
11077
11077
|
})
|
11078
|
-
}), n !== void 0 &&
|
11078
|
+
}), n !== void 0 && v && /* @__PURE__ */ k(mg, {
|
11079
11079
|
count: n,
|
11080
11080
|
onClick: r
|
11081
|
-
}), T && e !==
|
11081
|
+
}), T && e !== g && v && /* @__PURE__ */ V(Ie, {
|
11082
11082
|
as: "a",
|
11083
11083
|
variant: "ghost",
|
11084
11084
|
colorScheme: "primary",
|
11085
11085
|
compact: !0,
|
11086
11086
|
rounded: !0,
|
11087
|
-
href: `${T.url}${
|
11087
|
+
href: `${T.url}${v ? `#refreshToken=${v}` : ""}`,
|
11088
11088
|
children: [/* @__PURE__ */ k("p", {
|
11089
11089
|
className: "tw-sr-only",
|
11090
11090
|
children: d.formatMessage({
|
@@ -11115,7 +11115,7 @@ function yv({
|
|
11115
11115
|
colorScheme: "primary",
|
11116
11116
|
compact: !0,
|
11117
11117
|
rounded: !0,
|
11118
|
-
href:
|
11118
|
+
href: gg,
|
11119
11119
|
children: [/* @__PURE__ */ k("p", {
|
11120
11120
|
className: "tw-sr-only",
|
11121
11121
|
children: d.formatMessage({
|
@@ -11174,19 +11174,19 @@ function yv({
|
|
11174
11174
|
fill: "#ECB22E"
|
11175
11175
|
})]
|
11176
11176
|
})
|
11177
|
-
}),
|
11177
|
+
}), v && e === g && t && /* @__PURE__ */ k(Qv, {
|
11178
11178
|
applicationDescriptions: t,
|
11179
|
-
refreshToken:
|
11180
|
-
}),
|
11179
|
+
refreshToken: v
|
11180
|
+
}), v && s && c && m && /* @__PURE__ */ k(vg, {
|
11181
11181
|
username: s,
|
11182
11182
|
version: c,
|
11183
11183
|
onLogout: m,
|
11184
11184
|
onUpdateProfile: p
|
11185
|
-
}), /* @__PURE__ */ k(
|
11185
|
+
}), /* @__PURE__ */ k(hg, {
|
11186
11186
|
language: l || "en",
|
11187
11187
|
languages: u || ["en"],
|
11188
11188
|
onLanguageSelected: a
|
11189
|
-
}), !
|
11189
|
+
}), !v && /* @__PURE__ */ V(xi, {
|
11190
11190
|
children: [/* @__PURE__ */ k(Ie, {
|
11191
11191
|
className: "tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",
|
11192
11192
|
size: "lg",
|
@@ -11214,7 +11214,7 @@ function yv({
|
|
11214
11214
|
"data-testid": "init-error"
|
11215
11215
|
}));
|
11216
11216
|
}
|
11217
|
-
const
|
11217
|
+
const wg = {
|
11218
11218
|
mainMenu: "Main menu",
|
11219
11219
|
settings: "Settings",
|
11220
11220
|
help: "Help",
|
@@ -11261,7 +11261,7 @@ The more precise your explanation, the better our answer. \u{1F60A}>
|
|
11261
11261
|
upgradeBtn: "Upgrade to Enterprise plan",
|
11262
11262
|
upgradeBtnTooltip: "Email for Enterprise upgrade",
|
11263
11263
|
updateProfile: "Update profile"
|
11264
|
-
},
|
11264
|
+
}, Eg = {
|
11265
11265
|
mainMenu: "Menu principal",
|
11266
11266
|
settings: "Param\xE8tres",
|
11267
11267
|
help: "Aide",
|
@@ -11307,21 +11307,21 @@ Cordialement,
|
|
11307
11307
|
upgradeBtn: "Mettre \xE0 niveau",
|
11308
11308
|
upgradeBtnTooltip: "Email pour la mise \xE0 niveau Entreprise",
|
11309
11309
|
updateProfile: "Mettre \xE0 jour le profil"
|
11310
|
-
},
|
11311
|
-
en:
|
11312
|
-
fr:
|
11313
|
-
},
|
11314
|
-
function
|
11310
|
+
}, Sg = {
|
11311
|
+
en: wg,
|
11312
|
+
fr: Eg
|
11313
|
+
}, xg = (e) => Sg[e];
|
11314
|
+
function kg(e) {
|
11315
11315
|
const t = e.language || "en";
|
11316
11316
|
return /* @__PURE__ */ k(X1, {
|
11317
11317
|
locale: t,
|
11318
|
-
messages:
|
11319
|
-
children: /* @__PURE__ */ k(
|
11318
|
+
messages: xg(t),
|
11319
|
+
children: /* @__PURE__ */ k(yg, {
|
11320
11320
|
...e
|
11321
11321
|
})
|
11322
11322
|
});
|
11323
11323
|
}
|
11324
|
-
async function
|
11324
|
+
async function Tg(e) {
|
11325
11325
|
const t = await fetch(`${e}/applications`);
|
11326
11326
|
return t.ok ? (await t.json()).reduce((n, r) => (n[r.id] = {
|
11327
11327
|
name: r.label,
|
@@ -11331,19 +11331,19 @@ async function Tv(e) {
|
|
11331
11331
|
hidden: Boolean(r.hidden)
|
11332
11332
|
}, n), {}) : (console.error(t.text), {});
|
11333
11333
|
}
|
11334
|
-
function
|
11334
|
+
function vu(e) {
|
11335
11335
|
this.message = e;
|
11336
11336
|
}
|
11337
|
-
|
11337
|
+
vu.prototype = new Error(), vu.prototype.name = "InvalidCharacterError";
|
11338
11338
|
var pc = typeof window < "u" && window.atob && window.atob.bind(window) || function(e) {
|
11339
11339
|
var t = String(e).replace(/=+$/, "");
|
11340
11340
|
if (t.length % 4 == 1)
|
11341
|
-
throw new
|
11341
|
+
throw new vu("'atob' failed: The string to be decoded is not correctly encoded.");
|
11342
11342
|
for (var n, r, o = 0, i = 0, l = ""; r = t.charAt(i++); ~r && (n = o % 4 ? 64 * n + r : r, o++ % 4) ? l += String.fromCharCode(255 & n >> (-2 * o & 6)) : 0)
|
11343
11343
|
r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);
|
11344
11344
|
return l;
|
11345
11345
|
};
|
11346
|
-
function
|
11346
|
+
function Ng(e) {
|
11347
11347
|
var t = e.replace(/-/g, "+").replace(/_/g, "/");
|
11348
11348
|
switch (t.length % 4) {
|
11349
11349
|
case 0:
|
@@ -11376,18 +11376,18 @@ function Ra(e, t) {
|
|
11376
11376
|
throw new ri("Invalid token specified");
|
11377
11377
|
var n = (t = t || {}).header === !0 ? 0 : 1;
|
11378
11378
|
try {
|
11379
|
-
return JSON.parse(
|
11379
|
+
return JSON.parse(Ng(e.split(".")[n]));
|
11380
11380
|
} catch (r) {
|
11381
11381
|
throw new ri("Invalid token specified: " + r.message);
|
11382
11382
|
}
|
11383
11383
|
}
|
11384
11384
|
ri.prototype = new Error(), ri.prototype.name = "InvalidTokenError";
|
11385
|
-
const
|
11385
|
+
const Cg = (e) => {
|
11386
11386
|
if (e) {
|
11387
11387
|
const t = Ra(e);
|
11388
11388
|
return t ? t.user : void 0;
|
11389
11389
|
}
|
11390
|
-
},
|
11390
|
+
}, Rg = () => {
|
11391
11391
|
const e = hc("refreshToken");
|
11392
11392
|
return e ? {
|
11393
11393
|
refreshToken: e,
|
@@ -11405,22 +11405,22 @@ function hc(e) {
|
|
11405
11405
|
}).filter((r) => r.key === e).map((r) => r.value);
|
11406
11406
|
return n && n.length > 0 ? n[0] : void 0;
|
11407
11407
|
}
|
11408
|
-
const
|
11408
|
+
const Vg = () => window.accessToken, Pa = 60, Pg = 5 * Pa * 1e3, bp = (e) => {
|
11409
11409
|
const t = Ra(e), n = Date.now() / 1e3;
|
11410
11410
|
return !t.exp || t.exp > n + Pa;
|
11411
|
-
},
|
11411
|
+
}, Mg = (e) => {
|
11412
11412
|
const t = Ra(e), n = Date.now() / 1e3;
|
11413
|
-
return t.exp ? bp(e) ? (t.exp - n - Pa) * 1e3 : 0 :
|
11413
|
+
return t.exp ? bp(e) ? (t.exp - n - Pa) * 1e3 : 0 : Pg;
|
11414
11414
|
}, mc = () => {
|
11415
|
-
const e =
|
11415
|
+
const e = pg();
|
11416
11416
|
return e ? `lang=${e}&` : "";
|
11417
11417
|
};
|
11418
|
-
async function
|
11418
|
+
async function Lg(e, t) {
|
11419
11419
|
const n = await fetch(`${e}/services`);
|
11420
11420
|
if (n.ok) {
|
11421
11421
|
const r = await n.json(), o = r.login, i = r.authentication, l = () => {
|
11422
11422
|
window.location.href = `${o}/logout?${mc()}redirectUrl=${encodeURIComponent(window.location.href)}`;
|
11423
|
-
}, u =
|
11423
|
+
}, u = Rg();
|
11424
11424
|
if (u != null && u.refreshToken) {
|
11425
11425
|
const a = await Fp(l, i, u, t);
|
11426
11426
|
if (history.replaceState({}, "", window.location.href.split("#")[0]), a)
|
@@ -11433,13 +11433,13 @@ async function Lv(e, t) {
|
|
11433
11433
|
} else
|
11434
11434
|
throw new Error(await n.text());
|
11435
11435
|
}
|
11436
|
-
function
|
11437
|
-
const o =
|
11436
|
+
function vc(e, t, n, r) {
|
11437
|
+
const o = Mg(window.accessToken || "");
|
11438
11438
|
console.debug(`Token will refresh in ${o} ms`), setTimeout(() => Fp(e, t, n, r), o);
|
11439
11439
|
}
|
11440
11440
|
async function Fp(e, t, n, r) {
|
11441
11441
|
if (n.accessToken && bp(n.accessToken))
|
11442
|
-
return window.accessToken = n.accessToken,
|
11442
|
+
return window.accessToken = n.accessToken, vc(e, t, n, r), n;
|
11443
11443
|
if (!n.refreshToken) {
|
11444
11444
|
window.accessToken = void 0, console.error("no refresh token, nothing to refresh");
|
11445
11445
|
return;
|
@@ -11455,7 +11455,7 @@ async function Fp(e, t, n, r) {
|
|
11455
11455
|
if (o.ok) {
|
11456
11456
|
const i = await o.json();
|
11457
11457
|
if (i.refreshToken)
|
11458
|
-
return window.accessToken = i.accessToken, r && r(i),
|
11458
|
+
return window.accessToken = i.accessToken, r && r(i), vc(e, t, i, r), i;
|
11459
11459
|
console.error("no refresh token");
|
11460
11460
|
return;
|
11461
11461
|
} else {
|
@@ -11468,7 +11468,7 @@ async function Fp(e, t, n, r) {
|
|
11468
11468
|
}
|
11469
11469
|
const Ma = Se.createContext(void 0);
|
11470
11470
|
Ma.displayName = "AuthContext";
|
11471
|
-
function
|
11471
|
+
function Ig({
|
11472
11472
|
appsServiceUrl: e,
|
11473
11473
|
children: t
|
11474
11474
|
}) {
|
@@ -11483,7 +11483,7 @@ function Iv({
|
|
11483
11483
|
}));
|
11484
11484
|
}, []);
|
11485
11485
|
Se.useEffect(() => {
|
11486
|
-
Promise.all([
|
11486
|
+
Promise.all([Lg(e, l), Tg(e)]).then(([a, s]) => {
|
11487
11487
|
Object.keys(s).forEach((c) => {
|
11488
11488
|
s[c].logo = window.btoa(s[c].logo);
|
11489
11489
|
}), i(s), r(a);
|
@@ -11492,7 +11492,7 @@ function Iv({
|
|
11492
11492
|
const u = Se.useCallback((a) => ({
|
11493
11493
|
...a,
|
11494
11494
|
applications: o,
|
11495
|
-
username:
|
11495
|
+
username: Cg(n == null ? void 0 : n.token.refreshToken),
|
11496
11496
|
logout: n == null ? void 0 : n.logout,
|
11497
11497
|
refreshToken: n == null ? void 0 : n.token.refreshToken
|
11498
11498
|
}), [o, n]);
|
@@ -11506,14 +11506,14 @@ function Iv({
|
|
11506
11506
|
children: n && o && t
|
11507
11507
|
});
|
11508
11508
|
}
|
11509
|
-
function
|
11509
|
+
function _g() {
|
11510
11510
|
const e = Se.useContext(Ma);
|
11511
11511
|
if (!e)
|
11512
11512
|
throw new Error("useAuth must be used within an AuthProvider");
|
11513
11513
|
return e;
|
11514
11514
|
}
|
11515
|
-
var Up,
|
11516
|
-
Up =
|
11515
|
+
var Up, gc = ku.exports;
|
11516
|
+
Up = gc.createRoot, gc.hydrateRoot;
|
11517
11517
|
var jp = { exports: {} }, Ci = {};
|
11518
11518
|
/**
|
11519
11519
|
* @license React
|
@@ -11524,25 +11524,25 @@ var jp = { exports: {} }, Ci = {};
|
|
11524
11524
|
* This source code is licensed under the MIT license found in the
|
11525
11525
|
* LICENSE file in the root directory of this source tree.
|
11526
11526
|
*/
|
11527
|
-
var
|
11527
|
+
var Og = x.exports, Dg = Symbol.for("react.element"), Ag = Symbol.for("react.fragment"), Hg = Object.prototype.hasOwnProperty, zg = Og.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Bg = { key: !0, ref: !0, __self: !0, __source: !0 };
|
11528
11528
|
function Vp(e, t, n) {
|
11529
11529
|
var r, o = {}, i = null, l = null;
|
11530
11530
|
n !== void 0 && (i = "" + n), t.key !== void 0 && (i = "" + t.key), t.ref !== void 0 && (l = t.ref);
|
11531
11531
|
for (r in t)
|
11532
|
-
|
11532
|
+
Hg.call(t, r) && !Bg.hasOwnProperty(r) && (o[r] = t[r]);
|
11533
11533
|
if (e && e.defaultProps)
|
11534
11534
|
for (r in t = e.defaultProps, t)
|
11535
11535
|
o[r] === void 0 && (o[r] = t[r]);
|
11536
|
-
return { $$typeof:
|
11536
|
+
return { $$typeof: Dg, type: e, key: i, ref: l, props: o, _owner: zg.current };
|
11537
11537
|
}
|
11538
|
-
Ci.Fragment =
|
11538
|
+
Ci.Fragment = Ag;
|
11539
11539
|
Ci.jsx = Vp;
|
11540
11540
|
Ci.jsxs = Vp;
|
11541
11541
|
(function(e) {
|
11542
11542
|
e.exports = Ci;
|
11543
11543
|
})(jp);
|
11544
|
-
const
|
11545
|
-
class
|
11544
|
+
const gu = jp.exports.jsx, yc = "notification-count", wc = "application", Ec = "language", Sc = "version", xc = "languages", bg = "apps-service-url";
|
11545
|
+
class Fg extends HTMLElement {
|
11546
11546
|
constructor() {
|
11547
11547
|
super(...arguments);
|
11548
11548
|
La(this, "root");
|
@@ -11559,9 +11559,9 @@ class Fv extends HTMLElement {
|
|
11559
11559
|
}
|
11560
11560
|
renderReactApp() {
|
11561
11561
|
var i;
|
11562
|
-
const n = this.getAttribute(yc), r = this.getAttribute(xc) || void 0, o = /* @__PURE__ */
|
11563
|
-
appsServiceUrl: this.getAttribute(
|
11564
|
-
children: /* @__PURE__ */
|
11562
|
+
const n = this.getAttribute(yc), r = this.getAttribute(xc) || void 0, o = /* @__PURE__ */ gu(Ig, {
|
11563
|
+
appsServiceUrl: this.getAttribute(bg) || "",
|
11564
|
+
children: /* @__PURE__ */ gu(Ug, {
|
11565
11565
|
notificationCount: n ? Number.parseInt(n) : void 0,
|
11566
11566
|
application: this.getAttribute(wc) || "",
|
11567
11567
|
language: this.getAttribute(Ec) || void 0,
|
@@ -11575,7 +11575,7 @@ class Fv extends HTMLElement {
|
|
11575
11575
|
this.renderReactApp();
|
11576
11576
|
}
|
11577
11577
|
}
|
11578
|
-
function
|
11578
|
+
function Ug({
|
11579
11579
|
notificationCount: e,
|
11580
11580
|
application: t,
|
11581
11581
|
language: n,
|
@@ -11585,7 +11585,7 @@ function Uv({
|
|
11585
11585
|
const {
|
11586
11586
|
getBannerProps: i,
|
11587
11587
|
authResult: l
|
11588
|
-
} =
|
11588
|
+
} = _g(), u = (c) => {
|
11589
11589
|
document.dispatchEvent(new CustomEvent("menuToggleButtonClicked", {
|
11590
11590
|
detail: c
|
11591
11591
|
}));
|
@@ -11600,7 +11600,7 @@ function Uv({
|
|
11600
11600
|
document.dispatchEvent(new CustomEvent("startupFinished", {}));
|
11601
11601
|
}, []), Se.useEffect(() => {
|
11602
11602
|
document.dispatchEvent(new CustomEvent("tokenRefreshed", {}));
|
11603
|
-
}, [l]), /* @__PURE__ */
|
11603
|
+
}, [l]), /* @__PURE__ */ gu(kg, {
|
11604
11604
|
...i({
|
11605
11605
|
application: t,
|
11606
11606
|
notificationCount: e,
|
@@ -11613,13 +11613,13 @@ function Uv({
|
|
11613
11613
|
})
|
11614
11614
|
});
|
11615
11615
|
}
|
11616
|
-
function $
|
11617
|
-
window.customElements.define("x4b-banner",
|
11616
|
+
function $g() {
|
11617
|
+
window.customElements.define("x4b-banner", Fg);
|
11618
11618
|
}
|
11619
11619
|
export {
|
11620
|
-
|
11621
|
-
|
11620
|
+
pg as getDefaultLanguage,
|
11621
|
+
Vg as getToken,
|
11622
11622
|
Y1 as isMenuOpen,
|
11623
|
-
$
|
11623
|
+
$g as register
|
11624
11624
|
};
|
11625
11625
|
//# sourceMappingURL=webcomponent-banner.es.js.map
|