react-luminus-components 1.2.73 → 1.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +40 -40
- package/dist/{EventType-CtFbVRB_.js → EventType-BDQWFjx9.js} +1 -1
- package/dist/{EventType-BYwx1aU3.cjs → EventType-EOumBIph.cjs} +1 -1
- package/dist/{NoInputContainer-B6VOLjlx.js → NoInputContainer-BlKRvyRb.js} +194 -191
- package/dist/{NoInputContainer-BMw6_o8g.cjs → NoInputContainer-l6WM75EF.cjs} +14 -14
- package/dist/{SimpleTooltip-AU3G1UCk.js → SimpleTooltip-Box6rmkj.js} +1 -1
- package/dist/{SimpleTooltip-BRu35hBA.cjs → SimpleTooltip-C4fAW5cL.cjs} +1 -1
- package/dist/contexts/auth/AuthContext.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +123 -126
- package/dist/hooks/useAuth/hooks/useMsalAuth.d.ts +1 -1
- package/dist/hooks/useAuth/useAuth.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +4 -4
- package/dist/{useConfirm-Csp-DPDa.js → useConfirm-C5x0ji94.js} +1 -1
- package/dist/{useConfirm-XkaUQify.cjs → useConfirm-D_VbuDDH.cjs} +1 -1
- package/dist/{usePermissions-BGA3fWpK.cjs → usePermissions-CiuZ4xbQ.cjs} +1 -1
- package/dist/{usePermissions-YJIPNrrU.js → usePermissions-Cw2C4-cd.js} +1 -1
- package/package.json +1 -1
|
@@ -23,14 +23,14 @@ function _a() {
|
|
|
23
23
|
Gn = 1;
|
|
24
24
|
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = 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 };
|
|
25
25
|
function a(s, c, l) {
|
|
26
|
-
var u, f = {},
|
|
27
|
-
l !== void 0 && (
|
|
26
|
+
var u, f = {}, g = null, m = null;
|
|
27
|
+
l !== void 0 && (g = "" + l), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (m = c.ref);
|
|
28
28
|
for (u in c)
|
|
29
29
|
n.call(c, u) && !i.hasOwnProperty(u) && (f[u] = c[u]);
|
|
30
30
|
if (s && s.defaultProps)
|
|
31
31
|
for (u in c = s.defaultProps, c)
|
|
32
32
|
f[u] === void 0 && (f[u] = c[u]);
|
|
33
|
-
return { $$typeof: t, type: s, key:
|
|
33
|
+
return { $$typeof: t, type: s, key: g, ref: m, props: f, _owner: o.current };
|
|
34
34
|
}
|
|
35
35
|
return kt.Fragment = r, kt.jsx = a, kt.jsxs = a, kt;
|
|
36
36
|
}
|
|
@@ -47,11 +47,11 @@ var $t = {};
|
|
|
47
47
|
var Kn;
|
|
48
48
|
function Ra() {
|
|
49
49
|
return Kn || (Kn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
-
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"),
|
|
50
|
+
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = Symbol.iterator, v = "@@iterator";
|
|
51
51
|
function b(d) {
|
|
52
52
|
if (d === null || typeof d != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var O = h && d[h] || d[
|
|
54
|
+
var O = h && d[h] || d[v];
|
|
55
55
|
return typeof O == "function" ? O : null;
|
|
56
56
|
}
|
|
57
57
|
var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -75,7 +75,7 @@ function Ra() {
|
|
|
75
75
|
var S = !1, p = !1, P = !1, N = !1, J = !1, Z;
|
|
76
76
|
Z = Symbol.for("react.module.reference");
|
|
77
77
|
function K(d) {
|
|
78
|
-
return !!(typeof d == "string" || typeof d == "function" || d === n || d === i || J || d === o || d === l || d === u || N || d === m || S || p || P || typeof d == "object" && d !== null && (d.$$typeof ===
|
|
78
|
+
return !!(typeof d == "string" || typeof d == "function" || d === n || d === i || J || d === o || d === l || d === u || N || d === m || S || p || P || typeof d == "object" && d !== null && (d.$$typeof === g || d.$$typeof === f || d.$$typeof === a || d.$$typeof === s || d.$$typeof === c || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
@@ -125,7 +125,7 @@ function Ra() {
|
|
|
125
125
|
case f:
|
|
126
126
|
var $ = d.displayName || null;
|
|
127
127
|
return $ !== null ? $ : V(d.type) || "Memo";
|
|
128
|
-
case
|
|
128
|
+
case g: {
|
|
129
129
|
var ee = d, se = ee._payload, q = ee._init;
|
|
130
130
|
try {
|
|
131
131
|
return V(q(se));
|
|
@@ -314,7 +314,7 @@ function Ra() {
|
|
|
314
314
|
return ye(d.render);
|
|
315
315
|
case f:
|
|
316
316
|
return De(d.type, O, C);
|
|
317
|
-
case
|
|
317
|
+
case g: {
|
|
318
318
|
var $ = d, ee = $._payload, se = $._init;
|
|
319
319
|
try {
|
|
320
320
|
return De(se(ee), O, C);
|
|
@@ -902,10 +902,10 @@ let qa = { data: "" }, Ga = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
902
902
|
})(i));
|
|
903
903
|
if (!qe[a]) {
|
|
904
904
|
let c = i !== e ? e : ((l) => {
|
|
905
|
-
let u, f,
|
|
905
|
+
let u, f, g = [{}];
|
|
906
906
|
for (; u = Ka.exec(l.replace(Ja, "")); )
|
|
907
|
-
u[4] ?
|
|
908
|
-
return
|
|
907
|
+
u[4] ? g.shift() : u[3] ? (f = u[3].replace(Zn, " ").trim(), g.unshift(g[0][f] = g[0][f] || {})) : g[0][u[1]] = u[2].replace(Zn, " ").trim();
|
|
908
|
+
return g[0];
|
|
909
909
|
})(e);
|
|
910
910
|
qe[a] = nt(o ? { ["@keyframes " + a]: c } : c, r ? "" : "." + a);
|
|
911
911
|
}
|
|
@@ -1047,8 +1047,8 @@ var cs = (e, t) => {
|
|
|
1047
1047
|
let n = H(() => {
|
|
1048
1048
|
r && vt({ type: 6, time: Date.now() });
|
|
1049
1049
|
}, [r]), o = H((i, a) => {
|
|
1050
|
-
let { reverseOrder: s = !1, gutter: c = 8, defaultPosition: l } = a || {}, u = t.filter((m) => (m.position || l) === (i.position || l) && m.height), f = u.findIndex((m) => m.id === i.id),
|
|
1051
|
-
return u.filter((m) => m.visible).slice(...s ? [
|
|
1050
|
+
let { reverseOrder: s = !1, gutter: c = 8, defaultPosition: l } = a || {}, u = t.filter((m) => (m.position || l) === (i.position || l) && m.height), f = u.findIndex((m) => m.id === i.id), g = u.filter((m, h) => h < f && m.visible).length;
|
|
1051
|
+
return u.filter((m) => m.visible).slice(...s ? [g + 1] : [0, g]).reduce((m, h) => m + (h.height || 0) + c, 0);
|
|
1052
1052
|
}, [t]);
|
|
1053
1053
|
return { toasts: t, handlers: { updateHeight: cs, startPause: us, endPause: n, calculateOffset: o } };
|
|
1054
1054
|
}, fs = Ge`
|
|
@@ -1255,8 +1255,8 @@ var Ms = ({ id: e, className: t, style: r, onHeightUpdate: n, children: o }) =>
|
|
|
1255
1255
|
`, ir = 16, Xd = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: o, containerStyle: i, containerClassName: a }) => {
|
|
1256
1256
|
let { toasts: s, handlers: c } = ls(r);
|
|
1257
1257
|
return Y.createElement("div", { style: { position: "fixed", zIndex: 9999, top: ir, left: ir, right: ir, bottom: ir, pointerEvents: "none", ...i }, className: a, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, s.map((l) => {
|
|
1258
|
-
let u = l.position || t, f = c.calculateOffset(l, { reverseOrder: e, gutter: n, defaultPosition: t }),
|
|
1259
|
-
return Y.createElement(Ms, { id: l.id, key: l.id, onHeightUpdate: c.updateHeight, className: l.visible ? Is : "", style:
|
|
1258
|
+
let u = l.position || t, f = c.calculateOffset(l, { reverseOrder: e, gutter: n, defaultPosition: t }), g = Ds(u, f);
|
|
1259
|
+
return Y.createElement(Ms, { id: l.id, key: l.id, onHeightUpdate: c.updateHeight, className: l.visible ? Is : "", style: g }, l.type === "custom" ? Er(l.message, l) : o ? o(l) : Y.createElement(Ns, { toast: l, position: u }));
|
|
1260
1260
|
}));
|
|
1261
1261
|
}, xt = Ne;
|
|
1262
1262
|
const Zd = mt({
|
|
@@ -1316,15 +1316,15 @@ function ks(e, t) {
|
|
|
1316
1316
|
function ni(e, t, r) {
|
|
1317
1317
|
var n = ve(e !== void 0), o = Je(t), i = o[0], a = o[1], s = e !== void 0, c = n.current;
|
|
1318
1318
|
return n.current = s, !s && c && i !== t && a(t), [s ? e : i, H(function(l) {
|
|
1319
|
-
for (var u = arguments.length, f = new Array(u > 1 ? u - 1 : 0),
|
|
1320
|
-
f[
|
|
1319
|
+
for (var u = arguments.length, f = new Array(u > 1 ? u - 1 : 0), g = 1; g < u; g++)
|
|
1320
|
+
f[g - 1] = arguments[g];
|
|
1321
1321
|
r && r.apply(void 0, [l].concat(f)), a(l);
|
|
1322
1322
|
}, [r])];
|
|
1323
1323
|
}
|
|
1324
1324
|
function Qd(e, t) {
|
|
1325
1325
|
return Object.keys(t).reduce(function(r, n) {
|
|
1326
|
-
var o, i = r, a = i[eo(n)], s = i[n], c = ri(i, [eo(n), n].map(Ls)), l = t[n], u = ni(s, a, e[l]), f = u[0],
|
|
1327
|
-
return tn({}, c, (o = {}, o[n] = f, o[l] =
|
|
1326
|
+
var o, i = r, a = i[eo(n)], s = i[n], c = ri(i, [eo(n), n].map(Ls)), l = t[n], u = ni(s, a, e[l]), f = u[0], g = u[1];
|
|
1327
|
+
return tn({}, c, (o = {}, o[n] = f, o[l] = g, o));
|
|
1328
1328
|
}, e);
|
|
1329
1329
|
}
|
|
1330
1330
|
function rn(e, t) {
|
|
@@ -1409,7 +1409,7 @@ function Gs() {
|
|
|
1409
1409
|
if (to)
|
|
1410
1410
|
return te;
|
|
1411
1411
|
to = 1;
|
|
1412
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113,
|
|
1412
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
1413
1413
|
function _(p) {
|
|
1414
1414
|
if (typeof p == "object" && p !== null) {
|
|
1415
1415
|
var P = p.$$typeof;
|
|
@@ -1468,7 +1468,7 @@ function Gs() {
|
|
|
1468
1468
|
}, te.isSuspense = function(p) {
|
|
1469
1469
|
return _(p) === f;
|
|
1470
1470
|
}, te.isValidElementType = function(p) {
|
|
1471
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p ===
|
|
1471
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p === g || typeof p == "object" && p !== null && (p.$$typeof === h || p.$$typeof === m || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === b || p.$$typeof === T || p.$$typeof === x || p.$$typeof === v);
|
|
1472
1472
|
}, te.typeOf = _, te;
|
|
1473
1473
|
}
|
|
1474
1474
|
var re = {};
|
|
@@ -1483,10 +1483,10 @@ var re = {};
|
|
|
1483
1483
|
var ro;
|
|
1484
1484
|
function Ks() {
|
|
1485
1485
|
return ro || (ro = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1486
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113,
|
|
1486
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
1487
1487
|
function _(y) {
|
|
1488
1488
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1489
|
-
y === n || y === l || y === i || y === o || y === f || y ===
|
|
1489
|
+
y === n || y === l || y === i || y === o || y === f || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === m || y.$$typeof === a || y.$$typeof === s || y.$$typeof === u || y.$$typeof === b || y.$$typeof === T || y.$$typeof === x || y.$$typeof === v);
|
|
1490
1490
|
}
|
|
1491
1491
|
function S(y) {
|
|
1492
1492
|
if (typeof y == "object" && y !== null) {
|
|
@@ -1612,8 +1612,8 @@ function Js() {
|
|
|
1612
1612
|
t.call(s, f) && (c[f] = s[f]);
|
|
1613
1613
|
if (e) {
|
|
1614
1614
|
l = e(s);
|
|
1615
|
-
for (var
|
|
1616
|
-
r.call(s, l[
|
|
1615
|
+
for (var g = 0; g < l.length; g++)
|
|
1616
|
+
r.call(s, l[g]) && (c[l[g]] = s[l[g]]);
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
1619
|
return c;
|
|
@@ -1656,10 +1656,10 @@ function Xs() {
|
|
|
1656
1656
|
var f;
|
|
1657
1657
|
try {
|
|
1658
1658
|
if (typeof i[u] != "function") {
|
|
1659
|
-
var
|
|
1659
|
+
var g = Error(
|
|
1660
1660
|
(c || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1661
1661
|
);
|
|
1662
|
-
throw
|
|
1662
|
+
throw g.name = "Invariant Violation", g;
|
|
1663
1663
|
}
|
|
1664
1664
|
f = i[u](a, u, c, s, null, t);
|
|
1665
1665
|
} catch (h) {
|
|
@@ -1706,7 +1706,7 @@ function Zs() {
|
|
|
1706
1706
|
if (typeof R == "function")
|
|
1707
1707
|
return R;
|
|
1708
1708
|
}
|
|
1709
|
-
var
|
|
1709
|
+
var g = "<<anonymous>>", m = {
|
|
1710
1710
|
array: T("array"),
|
|
1711
1711
|
bigint: T("bigint"),
|
|
1712
1712
|
bool: T("boolean"),
|
|
@@ -1730,15 +1730,15 @@ function Zs() {
|
|
|
1730
1730
|
function h(w, R) {
|
|
1731
1731
|
return w === R ? w !== 0 || 1 / w === 1 / R : w !== w && R !== R;
|
|
1732
1732
|
}
|
|
1733
|
-
function
|
|
1733
|
+
function v(w, R) {
|
|
1734
1734
|
this.message = w, this.data = R && typeof R == "object" ? R : {}, this.stack = "";
|
|
1735
1735
|
}
|
|
1736
|
-
|
|
1736
|
+
v.prototype = Error.prototype;
|
|
1737
1737
|
function b(w) {
|
|
1738
1738
|
if (process.env.NODE_ENV !== "production")
|
|
1739
1739
|
var R = {}, L = 0;
|
|
1740
1740
|
function k(F, M, D, I, B, U, fe) {
|
|
1741
|
-
if (I = I ||
|
|
1741
|
+
if (I = I || g, U = U || D, fe !== r) {
|
|
1742
1742
|
if (c) {
|
|
1743
1743
|
var y = new Error(
|
|
1744
1744
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1752,7 +1752,7 @@ function Zs() {
|
|
|
1752
1752
|
), R[ye] = !0, L++);
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
|
-
return M[D] == null ? F ? M[D] === null ? new
|
|
1755
|
+
return M[D] == null ? F ? M[D] === null ? new v("The " + B + " `" + U + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new v("The " + B + " `" + U + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : w(M, D, I, B, U);
|
|
1756
1756
|
}
|
|
1757
1757
|
var j = k.bind(null, !1);
|
|
1758
1758
|
return j.isRequired = k.bind(null, !0), j;
|
|
@@ -1762,7 +1762,7 @@ function Zs() {
|
|
|
1762
1762
|
var I = L[k], B = ae(I);
|
|
1763
1763
|
if (B !== w) {
|
|
1764
1764
|
var U = ue(I);
|
|
1765
|
-
return new
|
|
1765
|
+
return new v(
|
|
1766
1766
|
"Invalid " + F + " `" + M + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected ") + ("`" + w + "`."),
|
|
1767
1767
|
{ expectedType: w }
|
|
1768
1768
|
);
|
|
@@ -1777,11 +1777,11 @@ function Zs() {
|
|
|
1777
1777
|
function _(w) {
|
|
1778
1778
|
function R(L, k, j, F, M) {
|
|
1779
1779
|
if (typeof w != "function")
|
|
1780
|
-
return new
|
|
1780
|
+
return new v("Property `" + M + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1781
1781
|
var D = L[k];
|
|
1782
1782
|
if (!Array.isArray(D)) {
|
|
1783
1783
|
var I = ae(D);
|
|
1784
|
-
return new
|
|
1784
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an array."));
|
|
1785
1785
|
}
|
|
1786
1786
|
for (var B = 0; B < D.length; B++) {
|
|
1787
1787
|
var U = w(D, B, j, F, M + "[" + B + "]", r);
|
|
@@ -1797,7 +1797,7 @@ function Zs() {
|
|
|
1797
1797
|
var M = R[L];
|
|
1798
1798
|
if (!s(M)) {
|
|
1799
1799
|
var D = ae(M);
|
|
1800
|
-
return new
|
|
1800
|
+
return new v("Invalid " + j + " `" + F + "` of type " + ("`" + D + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
1801
1801
|
}
|
|
1802
1802
|
return null;
|
|
1803
1803
|
}
|
|
@@ -1808,7 +1808,7 @@ function Zs() {
|
|
|
1808
1808
|
var M = R[L];
|
|
1809
1809
|
if (!e.isValidElementType(M)) {
|
|
1810
1810
|
var D = ae(M);
|
|
1811
|
-
return new
|
|
1811
|
+
return new v("Invalid " + j + " `" + F + "` of type " + ("`" + D + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
1812
1812
|
}
|
|
1813
1813
|
return null;
|
|
1814
1814
|
}
|
|
@@ -1817,8 +1817,8 @@ function Zs() {
|
|
|
1817
1817
|
function P(w) {
|
|
1818
1818
|
function R(L, k, j, F, M) {
|
|
1819
1819
|
if (!(L[k] instanceof w)) {
|
|
1820
|
-
var D = w.name ||
|
|
1821
|
-
return new
|
|
1820
|
+
var D = w.name || g, I = xe(L[k]);
|
|
1821
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected ") + ("instance of `" + D + "`."));
|
|
1822
1822
|
}
|
|
1823
1823
|
return null;
|
|
1824
1824
|
}
|
|
@@ -1837,17 +1837,17 @@ function Zs() {
|
|
|
1837
1837
|
var ye = ue(y);
|
|
1838
1838
|
return ye === "symbol" ? String(y) : y;
|
|
1839
1839
|
});
|
|
1840
|
-
return new
|
|
1840
|
+
return new v("Invalid " + F + " `" + M + "` of value `" + String(D) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
|
|
1841
1841
|
}
|
|
1842
1842
|
return b(R);
|
|
1843
1843
|
}
|
|
1844
1844
|
function J(w) {
|
|
1845
1845
|
function R(L, k, j, F, M) {
|
|
1846
1846
|
if (typeof w != "function")
|
|
1847
|
-
return new
|
|
1847
|
+
return new v("Property `" + M + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1848
1848
|
var D = L[k], I = ae(D);
|
|
1849
1849
|
if (I !== "object")
|
|
1850
|
-
return new
|
|
1850
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an object."));
|
|
1851
1851
|
for (var B in D)
|
|
1852
1852
|
if (n(D, B)) {
|
|
1853
1853
|
var U = w(D, B, j, F, M + "." + B, r);
|
|
@@ -1876,18 +1876,18 @@ function Zs() {
|
|
|
1876
1876
|
y.data && n(y.data, "expectedType") && B.push(y.data.expectedType);
|
|
1877
1877
|
}
|
|
1878
1878
|
var ye = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1879
|
-
return new
|
|
1879
|
+
return new v("Invalid " + D + " `" + I + "` supplied to " + ("`" + M + "`" + ye + "."));
|
|
1880
1880
|
}
|
|
1881
1881
|
return b(k);
|
|
1882
1882
|
}
|
|
1883
1883
|
function K() {
|
|
1884
1884
|
function w(R, L, k, j, F) {
|
|
1885
|
-
return X(R[L]) ? null : new
|
|
1885
|
+
return X(R[L]) ? null : new v("Invalid " + j + " `" + F + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
1886
1886
|
}
|
|
1887
1887
|
return b(w);
|
|
1888
1888
|
}
|
|
1889
1889
|
function ie(w, R, L, k, j) {
|
|
1890
|
-
return new
|
|
1890
|
+
return new v(
|
|
1891
1891
|
(w || "React class") + ": " + R + " type `" + L + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1892
1892
|
);
|
|
1893
1893
|
}
|
|
@@ -1895,7 +1895,7 @@ function Zs() {
|
|
|
1895
1895
|
function R(L, k, j, F, M) {
|
|
1896
1896
|
var D = L[k], I = ae(D);
|
|
1897
1897
|
if (I !== "object")
|
|
1898
|
-
return new
|
|
1898
|
+
return new v("Invalid " + F + " `" + M + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1899
1899
|
for (var B in w) {
|
|
1900
1900
|
var U = w[B];
|
|
1901
1901
|
if (typeof U != "function")
|
|
@@ -1912,14 +1912,14 @@ function Zs() {
|
|
|
1912
1912
|
function R(L, k, j, F, M) {
|
|
1913
1913
|
var D = L[k], I = ae(D);
|
|
1914
1914
|
if (I !== "object")
|
|
1915
|
-
return new
|
|
1915
|
+
return new v("Invalid " + F + " `" + M + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1916
1916
|
var B = t({}, L[k], w);
|
|
1917
1917
|
for (var U in B) {
|
|
1918
1918
|
var fe = w[U];
|
|
1919
1919
|
if (n(w, U) && typeof fe != "function")
|
|
1920
1920
|
return ie(j, F, M, U, ue(fe));
|
|
1921
1921
|
if (!fe)
|
|
1922
|
-
return new
|
|
1922
|
+
return new v(
|
|
1923
1923
|
"Invalid " + F + " `" + M + "` key `" + U + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(L[k], null, " ") + `
|
|
1924
1924
|
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
1925
1925
|
);
|
|
@@ -1998,7 +1998,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
1998
1998
|
}
|
|
1999
1999
|
}
|
|
2000
2000
|
function xe(w) {
|
|
2001
|
-
return !w.constructor || !w.constructor.name ?
|
|
2001
|
+
return !w.constructor || !w.constructor.name ? g : w.constructor.name;
|
|
2002
2002
|
}
|
|
2003
2003
|
return m.checkPropTypes = o, m.resetWarningCache = o.resetWarningCache, m.PropTypes = m, m;
|
|
2004
2004
|
}, zr;
|
|
@@ -2016,10 +2016,10 @@ function Qs() {
|
|
|
2016
2016
|
return r.resetWarningCache = t, Hr = function() {
|
|
2017
2017
|
function n(a, s, c, l, u, f) {
|
|
2018
2018
|
if (f !== e) {
|
|
2019
|
-
var
|
|
2019
|
+
var g = new Error(
|
|
2020
2020
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2021
2021
|
);
|
|
2022
|
-
throw
|
|
2022
|
+
throw g.name = "Invariant Violation", g;
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
2025
|
n.isRequired = n;
|
|
@@ -2131,7 +2131,7 @@ var oc = function(t) {
|
|
|
2131
2131
|
status: Ht
|
|
2132
2132
|
});
|
|
2133
2133
|
}, r.performEnter = function(o) {
|
|
2134
|
-
var i = this, a = this.props.enter, s = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [s] : [St.findDOMNode(this), s], l = c[0], u = c[1], f = this.getTimeouts(),
|
|
2134
|
+
var i = this, a = this.props.enter, s = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [s] : [St.findDOMNode(this), s], l = c[0], u = c[1], f = this.getTimeouts(), g = s ? f.appear : f.enter;
|
|
2135
2135
|
if (!o && !a || lo.disabled) {
|
|
2136
2136
|
this.safeSetState({
|
|
2137
2137
|
status: ut
|
|
@@ -2143,7 +2143,7 @@ var oc = function(t) {
|
|
|
2143
2143
|
this.props.onEnter(l, u), this.safeSetState({
|
|
2144
2144
|
status: rt
|
|
2145
2145
|
}, function() {
|
|
2146
|
-
i.props.onEntering(l, u), i.onTransitionEnd(
|
|
2146
|
+
i.props.onEntering(l, u), i.onTransitionEnd(g, function() {
|
|
2147
2147
|
i.safeSetState({
|
|
2148
2148
|
status: ut
|
|
2149
2149
|
}, function() {
|
|
@@ -2502,15 +2502,15 @@ const hc = /* @__PURE__ */ Ee.forwardRef(({
|
|
|
2502
2502
|
childRef: c,
|
|
2503
2503
|
...l
|
|
2504
2504
|
}, u) => {
|
|
2505
|
-
const f = ve(null),
|
|
2506
|
-
|
|
2505
|
+
const f = ve(null), g = gt(f, c), m = (P) => {
|
|
2506
|
+
g(wr(P));
|
|
2507
2507
|
}, h = (P) => (N) => {
|
|
2508
2508
|
P && f.current && P(f.current, N);
|
|
2509
|
-
},
|
|
2509
|
+
}, v = H(h(e), [e]), b = H(h(t), [t]), T = H(h(r), [r]), x = H(h(n), [n]), _ = H(h(o), [o]), S = H(h(i), [i]), p = H(h(a), [a]);
|
|
2510
2510
|
return /* @__PURE__ */ A.jsx(Xe, {
|
|
2511
2511
|
ref: u,
|
|
2512
2512
|
...l,
|
|
2513
|
-
onEnter:
|
|
2513
|
+
onEnter: v,
|
|
2514
2514
|
onEntered: T,
|
|
2515
2515
|
onEntering: b,
|
|
2516
2516
|
onExit: x,
|
|
@@ -2725,13 +2725,13 @@ function Pt(e, t, r) {
|
|
|
2725
2725
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
2726
2726
|
var n = e.getBoundingClientRect(), o = 1, i = 1;
|
|
2727
2727
|
t && Ve(e) && (o = e.offsetWidth > 0 && Ct(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Ct(n.height) / e.offsetHeight || 1);
|
|
2728
|
-
var a = ht(e) ? Me(e) : window, s = a.visualViewport, c = !pi() && r, l = (n.left + (c && s ? s.offsetLeft : 0)) / o, u = (n.top + (c && s ? s.offsetTop : 0)) / i, f = n.width / o,
|
|
2728
|
+
var a = ht(e) ? Me(e) : window, s = a.visualViewport, c = !pi() && r, l = (n.left + (c && s ? s.offsetLeft : 0)) / o, u = (n.top + (c && s ? s.offsetTop : 0)) / i, f = n.width / o, g = n.height / i;
|
|
2729
2729
|
return {
|
|
2730
2730
|
width: f,
|
|
2731
|
-
height:
|
|
2731
|
+
height: g,
|
|
2732
2732
|
top: u,
|
|
2733
2733
|
right: l + f,
|
|
2734
|
-
bottom: u +
|
|
2734
|
+
bottom: u + g,
|
|
2735
2735
|
left: l,
|
|
2736
2736
|
x: l,
|
|
2737
2737
|
y: u
|
|
@@ -2846,7 +2846,7 @@ var $c = function(t, r) {
|
|
|
2846
2846
|
function Fc(e) {
|
|
2847
2847
|
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, s = He(r.placement), c = Rn(s), l = [Ae, Fe].indexOf(s) >= 0, u = l ? "height" : "width";
|
|
2848
2848
|
if (!(!i || !a)) {
|
|
2849
|
-
var f = $c(o.padding, r),
|
|
2849
|
+
var f = $c(o.padding, r), g = _n(i), m = c === "y" ? Pe : Ae, h = c === "y" ? $e : Fe, v = r.rects.reference[u] + r.rects.reference[c] - a[c] - r.rects.popper[u], b = a[c] - r.rects.reference[c], T = Zt(i), x = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, _ = v / 2 - b / 2, S = f[m], p = x - g[u] - f[h], P = x / 2 - g[u] / 2 + _, N = Wt(S, P, p), J = c;
|
|
2850
2850
|
r.modifiersData[n] = (t = {}, t[J] = N, t.centerOffset = N - P, t);
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
@@ -2880,14 +2880,14 @@ function Hc(e, t) {
|
|
|
2880
2880
|
};
|
|
2881
2881
|
}
|
|
2882
2882
|
function bo(e) {
|
|
2883
|
-
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, f = e.isFixed,
|
|
2883
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, f = e.isFixed, g = a.x, m = g === void 0 ? 0 : g, h = a.y, v = h === void 0 ? 0 : h, b = typeof u == "function" ? u({
|
|
2884
2884
|
x: m,
|
|
2885
|
-
y:
|
|
2885
|
+
y: v
|
|
2886
2886
|
}) : {
|
|
2887
2887
|
x: m,
|
|
2888
|
-
y:
|
|
2888
|
+
y: v
|
|
2889
2889
|
};
|
|
2890
|
-
m = b.x,
|
|
2890
|
+
m = b.x, v = b.y;
|
|
2891
2891
|
var T = a.hasOwnProperty("x"), x = a.hasOwnProperty("y"), _ = Ae, S = Pe, p = window;
|
|
2892
2892
|
if (l) {
|
|
2893
2893
|
var P = Zt(r), N = "clientHeight", J = "clientWidth";
|
|
@@ -2897,7 +2897,7 @@ function bo(e) {
|
|
|
2897
2897
|
// $FlowFixMe[prop-missing]
|
|
2898
2898
|
P[N]
|
|
2899
2899
|
);
|
|
2900
|
-
|
|
2900
|
+
v -= Z - n.height, v *= c ? 1 : -1;
|
|
2901
2901
|
}
|
|
2902
2902
|
if (o === Ae || (o === Pe || o === $e) && i === qt) {
|
|
2903
2903
|
_ = Fe;
|
|
@@ -2912,16 +2912,16 @@ function bo(e) {
|
|
|
2912
2912
|
position: s
|
|
2913
2913
|
}, l && zc), le = u === !0 ? Hc({
|
|
2914
2914
|
x: m,
|
|
2915
|
-
y:
|
|
2915
|
+
y: v
|
|
2916
2916
|
}, Me(r)) : {
|
|
2917
2917
|
x: m,
|
|
2918
|
-
y:
|
|
2918
|
+
y: v
|
|
2919
2919
|
};
|
|
2920
|
-
if (m = le.x,
|
|
2920
|
+
if (m = le.x, v = le.y, c) {
|
|
2921
2921
|
var V;
|
|
2922
|
-
return Object.assign({}, ie, (V = {}, V[S] = x ? "0" : "", V[_] = T ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " +
|
|
2922
|
+
return Object.assign({}, ie, (V = {}, V[S] = x ? "0" : "", V[_] = T ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", V));
|
|
2923
2923
|
}
|
|
2924
|
-
return Object.assign({}, ie, (t = {}, t[S] = x ?
|
|
2924
|
+
return Object.assign({}, ie, (t = {}, t[S] = x ? v + "px" : "", t[_] = T ? m + "px" : "", t.transform = "", t));
|
|
2925
2925
|
}
|
|
2926
2926
|
function Vc(e) {
|
|
2927
2927
|
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, a = i === void 0 ? !0 : i, s = r.roundOffsets, c = s === void 0 ? !0 : s, l = {
|
|
@@ -3121,18 +3121,18 @@ function bi(e) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
function Gt(e, t) {
|
|
3123
3123
|
t === void 0 && (t = {});
|
|
3124
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? xc : s, l = r.rootBoundary, u = l === void 0 ? fi : l, f = r.elementContext,
|
|
3124
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? xc : s, l = r.rootBoundary, u = l === void 0 ? fi : l, f = r.elementContext, g = f === void 0 ? Ft : f, m = r.altBoundary, h = m === void 0 ? !1 : m, v = r.padding, b = v === void 0 ? 0 : v, T = vi(typeof b != "number" ? b : gi(b, Xt)), x = g === Ft ? Tc : Ft, _ = e.rects.popper, S = e.elements[h ? x : g], p = eu(ht(S) ? S : S.contextElement || at(e.elements.popper), c, u, a), P = Pt(e.elements.reference), N = bi({
|
|
3125
3125
|
reference: P,
|
|
3126
3126
|
element: _,
|
|
3127
3127
|
strategy: "absolute",
|
|
3128
3128
|
placement: o
|
|
3129
|
-
}), J = dn(Object.assign({}, _, N)), Z =
|
|
3129
|
+
}), J = dn(Object.assign({}, _, N)), Z = g === Ft ? J : P, K = {
|
|
3130
3130
|
top: p.top - Z.top + T.top,
|
|
3131
3131
|
bottom: Z.bottom - p.bottom + T.bottom,
|
|
3132
3132
|
left: p.left - Z.left + T.left,
|
|
3133
3133
|
right: Z.right - p.right + T.right
|
|
3134
3134
|
}, ie = e.modifiersData.offset;
|
|
3135
|
-
if (
|
|
3135
|
+
if (g === Ft && ie) {
|
|
3136
3136
|
var le = ie[o];
|
|
3137
3137
|
Object.keys(K).forEach(function(V) {
|
|
3138
3138
|
var X = [Fe, $e].indexOf(V) >= 0 ? 1 : -1, Q = [Pe, $e].indexOf(V) >= 0 ? "y" : "x";
|
|
@@ -3145,20 +3145,20 @@ function tu(e, t) {
|
|
|
3145
3145
|
t === void 0 && (t = {});
|
|
3146
3146
|
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, a = r.padding, s = r.flipVariations, c = r.allowedAutoPlacements, l = c === void 0 ? di : c, u = At(n), f = u ? s ? go : go.filter(function(h) {
|
|
3147
3147
|
return At(h) === u;
|
|
3148
|
-
}) : Xt,
|
|
3148
|
+
}) : Xt, g = f.filter(function(h) {
|
|
3149
3149
|
return l.indexOf(h) >= 0;
|
|
3150
3150
|
});
|
|
3151
|
-
|
|
3152
|
-
var m =
|
|
3153
|
-
return h[
|
|
3154
|
-
placement:
|
|
3151
|
+
g.length === 0 && (g = f);
|
|
3152
|
+
var m = g.reduce(function(h, v) {
|
|
3153
|
+
return h[v] = Gt(e, {
|
|
3154
|
+
placement: v,
|
|
3155
3155
|
boundary: o,
|
|
3156
3156
|
rootBoundary: i,
|
|
3157
3157
|
padding: a
|
|
3158
|
-
})[He(
|
|
3158
|
+
})[He(v)], h;
|
|
3159
3159
|
}, {});
|
|
3160
|
-
return Object.keys(m).sort(function(h,
|
|
3161
|
-
return m[h] - m[
|
|
3160
|
+
return Object.keys(m).sort(function(h, v) {
|
|
3161
|
+
return m[h] - m[v];
|
|
3162
3162
|
});
|
|
3163
3163
|
}
|
|
3164
3164
|
function ru(e) {
|
|
@@ -3170,21 +3170,21 @@ function ru(e) {
|
|
|
3170
3170
|
function nu(e) {
|
|
3171
3171
|
var t = e.state, r = e.options, n = e.name;
|
|
3172
3172
|
if (!t.modifiersData[n]._skip) {
|
|
3173
|
-
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements, l = r.padding, u = r.boundary, f = r.rootBoundary,
|
|
3173
|
+
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements, l = r.padding, u = r.boundary, f = r.rootBoundary, g = r.altBoundary, m = r.flipVariations, h = m === void 0 ? !0 : m, v = r.allowedAutoPlacements, b = t.options.placement, T = He(b), x = T === b, _ = c || (x || !h ? [hr(b)] : ru(b)), S = [b].concat(_).reduce(function(j, F) {
|
|
3174
3174
|
return j.concat(He(F) === Tn ? tu(t, {
|
|
3175
3175
|
placement: F,
|
|
3176
3176
|
boundary: u,
|
|
3177
3177
|
rootBoundary: f,
|
|
3178
3178
|
padding: l,
|
|
3179
3179
|
flipVariations: h,
|
|
3180
|
-
allowedAutoPlacements:
|
|
3180
|
+
allowedAutoPlacements: v
|
|
3181
3181
|
}) : F);
|
|
3182
3182
|
}, []), p = t.rects.reference, P = t.rects.popper, N = /* @__PURE__ */ new Map(), J = !0, Z = S[0], K = 0; K < S.length; K++) {
|
|
3183
3183
|
var ie = S[K], le = He(ie), V = At(ie) === Rt, X = [Pe, $e].indexOf(le) >= 0, Q = X ? "width" : "height", ae = Gt(t, {
|
|
3184
3184
|
placement: ie,
|
|
3185
3185
|
boundary: u,
|
|
3186
3186
|
rootBoundary: f,
|
|
3187
|
-
altBoundary:
|
|
3187
|
+
altBoundary: g,
|
|
3188
3188
|
padding: l
|
|
3189
3189
|
}), ue = X ? V ? Fe : Ae : V ? $e : Pe;
|
|
3190
3190
|
p[Q] > P[Q] && (ue = hr(ue));
|
|
@@ -3310,14 +3310,14 @@ function du(e) {
|
|
|
3310
3310
|
return e === "x" ? "y" : "x";
|
|
3311
3311
|
}
|
|
3312
3312
|
function pu(e) {
|
|
3313
|
-
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !1 : a, c = r.boundary, l = r.rootBoundary, u = r.altBoundary, f = r.padding,
|
|
3313
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !1 : a, c = r.boundary, l = r.rootBoundary, u = r.altBoundary, f = r.padding, g = r.tether, m = g === void 0 ? !0 : g, h = r.tetherOffset, v = h === void 0 ? 0 : h, b = Gt(t, {
|
|
3314
3314
|
boundary: c,
|
|
3315
3315
|
rootBoundary: l,
|
|
3316
3316
|
padding: f,
|
|
3317
3317
|
altBoundary: u
|
|
3318
|
-
}), T = He(t.placement), x = At(t.placement), _ = !x, S = Rn(T), p = du(S), P = t.modifiersData.popperOffsets, N = t.rects.reference, J = t.rects.popper, Z = typeof
|
|
3318
|
+
}), T = He(t.placement), x = At(t.placement), _ = !x, S = Rn(T), p = du(S), P = t.modifiersData.popperOffsets, N = t.rects.reference, J = t.rects.popper, Z = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
3319
3319
|
placement: t.placement
|
|
3320
|
-
})) :
|
|
3320
|
+
})) : v, K = typeof Z == "number" ? {
|
|
3321
3321
|
mainAxis: Z,
|
|
3322
3322
|
altAxis: Z
|
|
3323
3323
|
} : Object.assign({
|
|
@@ -3456,11 +3456,11 @@ function xu(e) {
|
|
|
3456
3456
|
},
|
|
3457
3457
|
attributes: {},
|
|
3458
3458
|
styles: {}
|
|
3459
|
-
}, f = [],
|
|
3459
|
+
}, f = [], g = !1, m = {
|
|
3460
3460
|
state: u,
|
|
3461
3461
|
setOptions: function(T) {
|
|
3462
3462
|
var x = typeof T == "function" ? T(u.options) : T;
|
|
3463
|
-
|
|
3463
|
+
v(), u.options = Object.assign({}, i, u.options, x), u.scrollParents = {
|
|
3464
3464
|
reference: ht(s) ? Yt(s) : s.contextElement ? Yt(s.contextElement) : [],
|
|
3465
3465
|
popper: Yt(c)
|
|
3466
3466
|
};
|
|
@@ -3475,7 +3475,7 @@ function xu(e) {
|
|
|
3475
3475
|
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
3476
3476
|
// prefer the async Popper#update method
|
|
3477
3477
|
forceUpdate: function() {
|
|
3478
|
-
if (!
|
|
3478
|
+
if (!g) {
|
|
3479
3479
|
var T = u.elements, x = T.reference, _ = T.popper;
|
|
3480
3480
|
if (So(x, _)) {
|
|
3481
3481
|
u.rects = {
|
|
@@ -3508,13 +3508,13 @@ function xu(e) {
|
|
|
3508
3508
|
});
|
|
3509
3509
|
}),
|
|
3510
3510
|
destroy: function() {
|
|
3511
|
-
|
|
3511
|
+
v(), g = !0;
|
|
3512
3512
|
}
|
|
3513
3513
|
};
|
|
3514
3514
|
if (!So(s, c))
|
|
3515
3515
|
return m;
|
|
3516
3516
|
m.setOptions(l).then(function(b) {
|
|
3517
|
-
!
|
|
3517
|
+
!g && l.onFirstUpdate && l.onFirstUpdate(b);
|
|
3518
3518
|
});
|
|
3519
3519
|
function h() {
|
|
3520
3520
|
u.orderedModifiers.forEach(function(b) {
|
|
@@ -3531,7 +3531,7 @@ function xu(e) {
|
|
|
3531
3531
|
}
|
|
3532
3532
|
});
|
|
3533
3533
|
}
|
|
3534
|
-
function
|
|
3534
|
+
function v() {
|
|
3535
3535
|
f.forEach(function(b) {
|
|
3536
3536
|
return b();
|
|
3537
3537
|
}), f = [];
|
|
@@ -3601,7 +3601,7 @@ function Au(e, t, r = {}) {
|
|
|
3601
3601
|
}, []), f = H(() => {
|
|
3602
3602
|
var b;
|
|
3603
3603
|
(b = l.current) == null || b.forceUpdate();
|
|
3604
|
-
}, []), [
|
|
3604
|
+
}, []), [g, m] = Oc(Je({
|
|
3605
3605
|
placement: o,
|
|
3606
3606
|
update: u,
|
|
3607
3607
|
forceUpdate: f,
|
|
@@ -3630,19 +3630,19 @@ function Au(e, t, r = {}) {
|
|
|
3630
3630
|
placement: b.placement
|
|
3631
3631
|
});
|
|
3632
3632
|
}
|
|
3633
|
-
}), [u, f, m]),
|
|
3633
|
+
}), [u, f, m]), v = ze(() => (Vt(c.current, a) || (c.current = a), c.current), [a]);
|
|
3634
3634
|
return Re(() => {
|
|
3635
3635
|
!l.current || !n || l.current.setOptions({
|
|
3636
3636
|
placement: o,
|
|
3637
3637
|
strategy: i,
|
|
3638
|
-
modifiers: [...
|
|
3638
|
+
modifiers: [...v, h, Ru]
|
|
3639
3639
|
});
|
|
3640
|
-
}, [i, o, h, n,
|
|
3640
|
+
}, [i, o, h, n, v]), Re(() => {
|
|
3641
3641
|
if (!(!n || e == null || t == null))
|
|
3642
3642
|
return l.current = Tu(e, t, Object.assign({}, s, {
|
|
3643
3643
|
placement: o,
|
|
3644
3644
|
strategy: i,
|
|
3645
|
-
modifiers: [...
|
|
3645
|
+
modifiers: [...v, Cu, h]
|
|
3646
3646
|
})), () => {
|
|
3647
3647
|
l.current != null && (l.current.destroy(), l.current = void 0, m((b) => Object.assign({}, b, {
|
|
3648
3648
|
attributes: {},
|
|
@@ -3651,7 +3651,7 @@ function Au(e, t, r = {}) {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
})));
|
|
3653
3653
|
};
|
|
3654
|
-
}, [n, e, t]),
|
|
3654
|
+
}, [n, e, t]), g;
|
|
3655
3655
|
}
|
|
3656
3656
|
function pn(e, t) {
|
|
3657
3657
|
if (e.contains)
|
|
@@ -3719,10 +3719,10 @@ function Lu(e, t = _o, {
|
|
|
3719
3719
|
var l, u;
|
|
3720
3720
|
if (r || e == null)
|
|
3721
3721
|
return;
|
|
3722
|
-
const f = Rr(mr(e)),
|
|
3723
|
-
let m = (l =
|
|
3722
|
+
const f = Rr(mr(e)), g = f.defaultView || window;
|
|
3723
|
+
let m = (l = g.event) != null ? l : (u = g.parent) == null ? void 0 : u.event, h = null;
|
|
3724
3724
|
Ro[n] && (h = lt(f, Ro[n], s, !0));
|
|
3725
|
-
const
|
|
3725
|
+
const v = lt(f, n, a, !0), b = lt(f, n, (x) => {
|
|
3726
3726
|
if (x === m) {
|
|
3727
3727
|
m = void 0;
|
|
3728
3728
|
return;
|
|
@@ -3731,7 +3731,7 @@ function Lu(e, t = _o, {
|
|
|
3731
3731
|
});
|
|
3732
3732
|
let T = [];
|
|
3733
3733
|
return "ontouchstart" in f.documentElement && (T = [].slice.call(f.body.children).map((x) => lt(x, "mousemove", _o))), () => {
|
|
3734
|
-
h == null || h(),
|
|
3734
|
+
h == null || h(), v(), b(), T.forEach((x) => x());
|
|
3735
3735
|
};
|
|
3736
3736
|
}, [e, r, n, a, s, c]);
|
|
3737
3737
|
}
|
|
@@ -3755,7 +3755,7 @@ function Fu({
|
|
|
3755
3755
|
arrowElement: s,
|
|
3756
3756
|
popperConfig: c = {}
|
|
3757
3757
|
}) {
|
|
3758
|
-
var l, u, f,
|
|
3758
|
+
var l, u, f, g, m;
|
|
3759
3759
|
const h = ku(c.modifiers);
|
|
3760
3760
|
return Object.assign({}, c, {
|
|
3761
3761
|
placement: r,
|
|
@@ -3774,7 +3774,7 @@ function Fu({
|
|
|
3774
3774
|
offset: {
|
|
3775
3775
|
options: Object.assign({
|
|
3776
3776
|
offset: o
|
|
3777
|
-
}, (
|
|
3777
|
+
}, (g = h.offset) == null ? void 0 : g.options)
|
|
3778
3778
|
},
|
|
3779
3779
|
arrow: Object.assign({}, h.arrow, {
|
|
3780
3780
|
enabled: !!s,
|
|
@@ -3891,13 +3891,13 @@ function qu(e) {
|
|
|
3891
3891
|
} = e, l = Yu(e, Wu);
|
|
3892
3892
|
const {
|
|
3893
3893
|
major: u
|
|
3894
|
-
} = Vu(), f = u >= 19 ? c.props.ref : c.ref,
|
|
3895
|
-
P &&
|
|
3896
|
-
},
|
|
3894
|
+
} = Vu(), f = u >= 19 ? c.props.ref : c.ref, g = ve(null), m = gt(g, typeof c == "function" ? null : f), h = (P) => (N) => {
|
|
3895
|
+
P && g.current && P(g.current, N);
|
|
3896
|
+
}, v = H(h(t), [t]), b = H(h(r), [r]), T = H(h(n), [n]), x = H(h(o), [o]), _ = H(h(i), [i]), S = H(h(a), [a]), p = H(h(s), [s]);
|
|
3897
3897
|
return Object.assign({}, l, {
|
|
3898
|
-
nodeRef:
|
|
3898
|
+
nodeRef: g
|
|
3899
3899
|
}, t && {
|
|
3900
|
-
onEnter:
|
|
3900
|
+
onEnter: v
|
|
3901
3901
|
}, r && {
|
|
3902
3902
|
onEntering: b
|
|
3903
3903
|
}, n && {
|
|
@@ -4034,7 +4034,7 @@ const Si = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
|
4034
4034
|
popperConfig: a = {},
|
|
4035
4035
|
transition: s,
|
|
4036
4036
|
runTransition: c
|
|
4037
|
-
} = e, [l, u] = ho(), [f,
|
|
4037
|
+
} = e, [l, u] = ho(), [f, g] = ho(), m = gt(u, t), h = Co(e.container), v = Co(e.target), [b, T] = Je(!e.show), x = Au(v, l, Fu({
|
|
4038
4038
|
placement: o,
|
|
4039
4039
|
enableEvents: !!e.show,
|
|
4040
4040
|
containerPadding: i || 5,
|
|
@@ -4068,7 +4068,7 @@ const Si = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
|
4068
4068
|
show: !!e.show,
|
|
4069
4069
|
arrowProps: Object.assign({}, x.attributes.arrow, {
|
|
4070
4070
|
style: x.styles.arrow,
|
|
4071
|
-
ref:
|
|
4071
|
+
ref: g
|
|
4072
4072
|
})
|
|
4073
4073
|
});
|
|
4074
4074
|
return K = Qu(s, c, {
|
|
@@ -4134,7 +4134,7 @@ const rl = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4134
4134
|
show: l,
|
|
4135
4135
|
...u
|
|
4136
4136
|
}, f) => {
|
|
4137
|
-
const
|
|
4137
|
+
const g = pt(e, "popover"), m = oi(), [h] = (t == null ? void 0 : t.split("-")) || [], v = Ri(h, m);
|
|
4138
4138
|
let b = n;
|
|
4139
4139
|
return l && !s && (b = {
|
|
4140
4140
|
...n,
|
|
@@ -4144,7 +4144,7 @@ const rl = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4144
4144
|
role: "tooltip",
|
|
4145
4145
|
style: b,
|
|
4146
4146
|
"x-placement": h,
|
|
4147
|
-
className: ce(r,
|
|
4147
|
+
className: ce(r, g, h && `bs-popover-${v}`),
|
|
4148
4148
|
...u,
|
|
4149
4149
|
children: [/* @__PURE__ */ A.jsx("div", {
|
|
4150
4150
|
className: "popover-arrow",
|
|
@@ -4172,7 +4172,7 @@ const rl = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4172
4172
|
...l
|
|
4173
4173
|
}, u) => {
|
|
4174
4174
|
e = pt(e, "tooltip");
|
|
4175
|
-
const f = oi(), [
|
|
4175
|
+
const f = oi(), [g] = (t == null ? void 0 : t.split("-")) || [], m = Ri(g, f);
|
|
4176
4176
|
let h = n;
|
|
4177
4177
|
return c && !a && (h = {
|
|
4178
4178
|
...n,
|
|
@@ -4181,7 +4181,7 @@ const rl = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4181
4181
|
ref: u,
|
|
4182
4182
|
style: h,
|
|
4183
4183
|
role: "tooltip",
|
|
4184
|
-
"x-placement":
|
|
4184
|
+
"x-placement": g,
|
|
4185
4185
|
className: ce(r, e, `bs-tooltip-${m}`),
|
|
4186
4186
|
...l,
|
|
4187
4187
|
children: [/* @__PURE__ */ A.jsx("div", {
|
|
@@ -4235,7 +4235,7 @@ const ji = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4235
4235
|
show: i = !1,
|
|
4236
4236
|
...a
|
|
4237
4237
|
}, s) => {
|
|
4238
|
-
const c = ve({}), [l, u] = Je(null), [f,
|
|
4238
|
+
const c = ve({}), [l, u] = Je(null), [f, g] = ol(a.offset), m = gt(s, f), h = t === !0 ? un : t || void 0, v = _t((b) => {
|
|
4239
4239
|
u(b), r == null || r.onFirstUpdate == null || r.onFirstUpdate(b);
|
|
4240
4240
|
});
|
|
4241
4241
|
return cn(() => {
|
|
@@ -4247,8 +4247,8 @@ const ji = /* @__PURE__ */ Y.forwardRef(({
|
|
|
4247
4247
|
ref: m,
|
|
4248
4248
|
popperConfig: {
|
|
4249
4249
|
...r,
|
|
4250
|
-
modifiers:
|
|
4251
|
-
onFirstUpdate:
|
|
4250
|
+
modifiers: g.concat(r.modifiers || []),
|
|
4251
|
+
onFirstUpdate: v
|
|
4252
4252
|
},
|
|
4253
4253
|
transition: h,
|
|
4254
4254
|
rootClose: n,
|
|
@@ -4318,12 +4318,12 @@ const sl = ({
|
|
|
4318
4318
|
flip: l = c && c.indexOf("auto") !== -1,
|
|
4319
4319
|
...u
|
|
4320
4320
|
}) => {
|
|
4321
|
-
const f = ve(null),
|
|
4321
|
+
const f = ve(null), g = gt(f, r.ref), m = wc(), h = ve(""), [v, b] = ni(o, i, a), T = al(s), {
|
|
4322
4322
|
onFocus: x,
|
|
4323
4323
|
onBlur: _,
|
|
4324
4324
|
onClick: S
|
|
4325
4325
|
} = typeof r != "function" ? Y.Children.only(r).props : {}, p = (Q) => {
|
|
4326
|
-
|
|
4326
|
+
g(wr(Q));
|
|
4327
4327
|
}, P = H(() => {
|
|
4328
4328
|
if (m.clear(), h.current = "show", !T.show) {
|
|
4329
4329
|
b(!0);
|
|
@@ -4345,8 +4345,8 @@ const sl = ({
|
|
|
4345
4345
|
}, [P, x]), Z = H((...Q) => {
|
|
4346
4346
|
N(), _ == null || _(...Q);
|
|
4347
4347
|
}, [N, _]), K = H((...Q) => {
|
|
4348
|
-
b(!
|
|
4349
|
-
}, [S, b,
|
|
4348
|
+
b(!v), S == null || S(...Q);
|
|
4349
|
+
}, [S, b, v]), ie = H((...Q) => {
|
|
4350
4350
|
Ao(P, Q, "fromElement");
|
|
4351
4351
|
}, [P]), le = H((...Q) => {
|
|
4352
4352
|
Ao(N, Q, "toElement");
|
|
@@ -4356,7 +4356,7 @@ const sl = ({
|
|
|
4356
4356
|
return V.indexOf("click") !== -1 && (X.onClick = K), V.indexOf("focus") !== -1 && (X.onFocus = J, X.onBlur = Z), V.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && wi(V.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), X.onMouseOver = ie, X.onMouseOut = le), /* @__PURE__ */ A.jsxs(A.Fragment, {
|
|
4357
4357
|
children: [typeof r == "function" ? r(X) : /* @__PURE__ */ Tr(r, X), /* @__PURE__ */ A.jsx(ji, {
|
|
4358
4358
|
...u,
|
|
4359
|
-
show:
|
|
4359
|
+
show: v,
|
|
4360
4360
|
onHide: N,
|
|
4361
4361
|
flip: l,
|
|
4362
4362
|
placement: c,
|
|
@@ -5028,8 +5028,8 @@ function Nr(e, t, r) {
|
|
|
5028
5028
|
metaTokens: !0,
|
|
5029
5029
|
dots: !1,
|
|
5030
5030
|
indexes: !1
|
|
5031
|
-
}, !1, function(
|
|
5032
|
-
return !E.isUndefined(b[
|
|
5031
|
+
}, !1, function(v, b) {
|
|
5032
|
+
return !E.isUndefined(b[v]);
|
|
5033
5033
|
});
|
|
5034
5034
|
const n = r.metaTokens, o = r.visitor || u, i = r.dots, a = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
|
|
5035
5035
|
if (!E.isFunction(o))
|
|
@@ -5043,39 +5043,39 @@ function Nr(e, t, r) {
|
|
|
5043
5043
|
throw new G("Blob is not supported. Use a Buffer instead.");
|
|
5044
5044
|
return E.isArrayBuffer(h) || E.isTypedArray(h) ? c && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
|
|
5045
5045
|
}
|
|
5046
|
-
function u(h,
|
|
5046
|
+
function u(h, v, b) {
|
|
5047
5047
|
let T = h;
|
|
5048
5048
|
if (h && !b && typeof h == "object") {
|
|
5049
|
-
if (E.endsWith(
|
|
5050
|
-
|
|
5051
|
-
else if (E.isArray(h) && Gl(h) || (E.isFileList(h) || E.endsWith(
|
|
5052
|
-
return
|
|
5049
|
+
if (E.endsWith(v, "{}"))
|
|
5050
|
+
v = n ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
5051
|
+
else if (E.isArray(h) && Gl(h) || (E.isFileList(h) || E.endsWith(v, "[]")) && (T = E.toArray(h)))
|
|
5052
|
+
return v = zi(v), T.forEach(function(_, S) {
|
|
5053
5053
|
!(E.isUndefined(_) || _ === null) && t.append(
|
|
5054
5054
|
// eslint-disable-next-line no-nested-ternary
|
|
5055
|
-
a === !0 ? Do([
|
|
5055
|
+
a === !0 ? Do([v], S, i) : a === null ? v : v + "[]",
|
|
5056
5056
|
l(_)
|
|
5057
5057
|
);
|
|
5058
5058
|
}), !1;
|
|
5059
5059
|
}
|
|
5060
|
-
return mn(h) ? !0 : (t.append(Do(b,
|
|
5060
|
+
return mn(h) ? !0 : (t.append(Do(b, v, i), l(h)), !1);
|
|
5061
5061
|
}
|
|
5062
|
-
const f = [],
|
|
5062
|
+
const f = [], g = Object.assign(Kl, {
|
|
5063
5063
|
defaultVisitor: u,
|
|
5064
5064
|
convertValue: l,
|
|
5065
5065
|
isVisitable: mn
|
|
5066
5066
|
});
|
|
5067
|
-
function m(h,
|
|
5067
|
+
function m(h, v) {
|
|
5068
5068
|
if (!E.isUndefined(h)) {
|
|
5069
5069
|
if (f.indexOf(h) !== -1)
|
|
5070
|
-
throw Error("Circular reference detected in " +
|
|
5070
|
+
throw Error("Circular reference detected in " + v.join("."));
|
|
5071
5071
|
f.push(h), E.forEach(h, function(T, x) {
|
|
5072
5072
|
(!(E.isUndefined(T) || T === null) && o.call(
|
|
5073
5073
|
t,
|
|
5074
5074
|
T,
|
|
5075
5075
|
E.isString(x) ? x.trim() : x,
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
)) === !0 && m(T,
|
|
5076
|
+
v,
|
|
5077
|
+
g
|
|
5078
|
+
)) === !0 && m(T, v ? v.concat(x) : [x]);
|
|
5079
5079
|
}), f.pop();
|
|
5080
5080
|
}
|
|
5081
5081
|
}
|
|
@@ -5603,13 +5603,13 @@ function wf(e, t) {
|
|
|
5603
5603
|
return t = t !== void 0 ? t : 1e3, function(c) {
|
|
5604
5604
|
const l = Date.now(), u = n[i];
|
|
5605
5605
|
a || (a = l), r[o] = c, n[o] = l;
|
|
5606
|
-
let f = i,
|
|
5606
|
+
let f = i, g = 0;
|
|
5607
5607
|
for (; f !== o; )
|
|
5608
|
-
|
|
5608
|
+
g += r[f++], f = f % e;
|
|
5609
5609
|
if (o = (o + 1) % e, o === i && (i = (i + 1) % e), l - a < t)
|
|
5610
5610
|
return;
|
|
5611
5611
|
const m = u && l - u;
|
|
5612
|
-
return m ? Math.round(
|
|
5612
|
+
return m ? Math.round(g * 1e3 / m) : void 0;
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
function $o(e, t) {
|
|
@@ -5643,27 +5643,27 @@ const Of = typeof XMLHttpRequest < "u", xf = Of && function(e) {
|
|
|
5643
5643
|
if (Be.hasStandardBrowserEnv || Be.hasStandardBrowserWebWorkerEnv)
|
|
5644
5644
|
i.setContentType(!1);
|
|
5645
5645
|
else if ((u = i.getContentType()) !== !1) {
|
|
5646
|
-
const [
|
|
5647
|
-
i.setContentType([
|
|
5646
|
+
const [v, ...b] = u ? u.split(";").map((T) => T.trim()).filter(Boolean) : [];
|
|
5647
|
+
i.setContentType([v || "multipart/form-data", ...b].join("; "));
|
|
5648
5648
|
}
|
|
5649
5649
|
}
|
|
5650
5650
|
let f = new XMLHttpRequest();
|
|
5651
5651
|
if (e.auth) {
|
|
5652
|
-
const
|
|
5653
|
-
i.set("Authorization", "Basic " + btoa(
|
|
5652
|
+
const v = e.auth.username || "", b = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
5653
|
+
i.set("Authorization", "Basic " + btoa(v + ":" + b));
|
|
5654
5654
|
}
|
|
5655
|
-
const
|
|
5656
|
-
f.open(e.method.toUpperCase(), Vi(
|
|
5655
|
+
const g = Ki(e.baseURL, e.url);
|
|
5656
|
+
f.open(e.method.toUpperCase(), Vi(g, e.params, e.paramsSerializer), !0), f.timeout = e.timeout;
|
|
5657
5657
|
function m() {
|
|
5658
5658
|
if (!f)
|
|
5659
5659
|
return;
|
|
5660
|
-
const
|
|
5660
|
+
const v = ke.from(
|
|
5661
5661
|
"getAllResponseHeaders" in f && f.getAllResponseHeaders()
|
|
5662
5662
|
), T = {
|
|
5663
5663
|
data: !a || a === "text" || a === "json" ? f.responseText : f.response,
|
|
5664
5664
|
status: f.status,
|
|
5665
5665
|
statusText: f.statusText,
|
|
5666
|
-
headers:
|
|
5666
|
+
headers: v,
|
|
5667
5667
|
config: e,
|
|
5668
5668
|
request: f
|
|
5669
5669
|
};
|
|
@@ -5688,16 +5688,16 @@ const Of = typeof XMLHttpRequest < "u", xf = Of && function(e) {
|
|
|
5688
5688
|
e,
|
|
5689
5689
|
f
|
|
5690
5690
|
)), f = null;
|
|
5691
|
-
}, Be.hasStandardBrowserEnv && (s && E.isFunction(s) && (s = s(e)), s || s !== !1 && bf(
|
|
5692
|
-
const
|
|
5693
|
-
|
|
5691
|
+
}, Be.hasStandardBrowserEnv && (s && E.isFunction(s) && (s = s(e)), s || s !== !1 && bf(g))) {
|
|
5692
|
+
const v = e.xsrfHeaderName && e.xsrfCookieName && vf.read(e.xsrfCookieName);
|
|
5693
|
+
v && i.set(e.xsrfHeaderName, v);
|
|
5694
5694
|
}
|
|
5695
5695
|
o === void 0 && i.setContentType(null), "setRequestHeader" in f && E.forEach(i.toJSON(), function(b, T) {
|
|
5696
5696
|
f.setRequestHeader(T, b);
|
|
5697
|
-
}), E.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), a && a !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", $o(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", $o(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (
|
|
5698
|
-
f && (n(!
|
|
5697
|
+
}), E.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), a && a !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", $o(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", $o(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (v) => {
|
|
5698
|
+
f && (n(!v || v.type ? new tr(null, e, f) : v), f.abort(), f = null);
|
|
5699
5699
|
}, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
|
|
5700
|
-
const h = Ef(
|
|
5700
|
+
const h = Ef(g);
|
|
5701
5701
|
if (h && Be.protocols.indexOf(h) === -1) {
|
|
5702
5702
|
n(new G("Unsupported protocol " + h + ":", G.ERR_BAD_REQUEST, e));
|
|
5703
5703
|
return;
|
|
@@ -5833,8 +5833,8 @@ function jt(e, t) {
|
|
|
5833
5833
|
headers: (l, u) => o(Bo(l), Bo(u), !0)
|
|
5834
5834
|
};
|
|
5835
5835
|
return E.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
|
|
5836
|
-
const f = c[u] || o,
|
|
5837
|
-
E.isUndefined(
|
|
5836
|
+
const f = c[u] || o, g = f(e[u], t[u], u);
|
|
5837
|
+
E.isUndefined(g) && f !== s || (r[u] = g);
|
|
5838
5838
|
}), r;
|
|
5839
5839
|
}
|
|
5840
5840
|
const Xi = "1.6.8", kn = {};
|
|
@@ -5937,28 +5937,28 @@ class dt {
|
|
|
5937
5937
|
), r.headers = ke.concat(a, i);
|
|
5938
5938
|
const s = [];
|
|
5939
5939
|
let c = !0;
|
|
5940
|
-
this.interceptors.request.forEach(function(
|
|
5941
|
-
typeof
|
|
5940
|
+
this.interceptors.request.forEach(function(v) {
|
|
5941
|
+
typeof v.runWhen == "function" && v.runWhen(r) === !1 || (c = c && v.synchronous, s.unshift(v.fulfilled, v.rejected));
|
|
5942
5942
|
});
|
|
5943
5943
|
const l = [];
|
|
5944
|
-
this.interceptors.response.forEach(function(
|
|
5945
|
-
l.push(
|
|
5944
|
+
this.interceptors.response.forEach(function(v) {
|
|
5945
|
+
l.push(v.fulfilled, v.rejected);
|
|
5946
5946
|
});
|
|
5947
|
-
let u, f = 0,
|
|
5947
|
+
let u, f = 0, g;
|
|
5948
5948
|
if (!c) {
|
|
5949
5949
|
const h = [Uo.bind(this), void 0];
|
|
5950
|
-
for (h.unshift.apply(h, s), h.push.apply(h, l),
|
|
5950
|
+
for (h.unshift.apply(h, s), h.push.apply(h, l), g = h.length, u = Promise.resolve(r); f < g; )
|
|
5951
5951
|
u = u.then(h[f++], h[f++]);
|
|
5952
5952
|
return u;
|
|
5953
5953
|
}
|
|
5954
|
-
|
|
5954
|
+
g = s.length;
|
|
5955
5955
|
let m = r;
|
|
5956
|
-
for (f = 0; f <
|
|
5957
|
-
const h = s[f++],
|
|
5956
|
+
for (f = 0; f < g; ) {
|
|
5957
|
+
const h = s[f++], v = s[f++];
|
|
5958
5958
|
try {
|
|
5959
5959
|
m = h(m);
|
|
5960
5960
|
} catch (b) {
|
|
5961
|
-
|
|
5961
|
+
v.call(this, b);
|
|
5962
5962
|
break;
|
|
5963
5963
|
}
|
|
5964
5964
|
}
|
|
@@ -5967,7 +5967,7 @@ class dt {
|
|
|
5967
5967
|
} catch (h) {
|
|
5968
5968
|
return Promise.reject(h);
|
|
5969
5969
|
}
|
|
5970
|
-
for (f = 0,
|
|
5970
|
+
for (f = 0, g = l.length; f < g; )
|
|
5971
5971
|
u = u.then(l[f++], l[f++]);
|
|
5972
5972
|
return u;
|
|
5973
5973
|
}
|
|
@@ -6376,7 +6376,7 @@ function Uf() {
|
|
|
6376
6376
|
if (Vo)
|
|
6377
6377
|
return ne;
|
|
6378
6378
|
Vo = 1;
|
|
6379
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113,
|
|
6379
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
6380
6380
|
function _(p) {
|
|
6381
6381
|
if (typeof p == "object" && p !== null) {
|
|
6382
6382
|
var P = p.$$typeof;
|
|
@@ -6435,7 +6435,7 @@ function Uf() {
|
|
|
6435
6435
|
}, ne.isSuspense = function(p) {
|
|
6436
6436
|
return _(p) === f;
|
|
6437
6437
|
}, ne.isValidElementType = function(p) {
|
|
6438
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p ===
|
|
6438
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p === g || typeof p == "object" && p !== null && (p.$$typeof === h || p.$$typeof === m || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === b || p.$$typeof === T || p.$$typeof === x || p.$$typeof === v);
|
|
6439
6439
|
}, ne.typeOf = _, ne;
|
|
6440
6440
|
}
|
|
6441
6441
|
var oe = {};
|
|
@@ -6450,10 +6450,10 @@ var oe = {};
|
|
|
6450
6450
|
var Wo;
|
|
6451
6451
|
function Bf() {
|
|
6452
6452
|
return Wo || (Wo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
6453
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113,
|
|
6453
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
6454
6454
|
function _(y) {
|
|
6455
6455
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
6456
|
-
y === n || y === l || y === i || y === o || y === f || y ===
|
|
6456
|
+
y === n || y === l || y === i || y === o || y === f || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === m || y.$$typeof === a || y.$$typeof === s || y.$$typeof === u || y.$$typeof === b || y.$$typeof === T || y.$$typeof === x || y.$$typeof === v);
|
|
6457
6457
|
}
|
|
6458
6458
|
function S(y) {
|
|
6459
6459
|
if (typeof y == "object" && y !== null) {
|
|
@@ -6627,17 +6627,17 @@ function Xf(e) {
|
|
|
6627
6627
|
return ze(() => r === Mn.Startup ? !1 : Jf(t, e), [t, r, e]);
|
|
6628
6628
|
}
|
|
6629
6629
|
const Zf = () => {
|
|
6630
|
-
const [, , e] = ra(["Authorization"]), {
|
|
6631
|
-
scopes:
|
|
6632
|
-
}).then(() => "").catch(() => null), [
|
|
6633
|
-
|
|
6634
|
-
}, [e,
|
|
6630
|
+
const [, , e] = ra(["Authorization"]), { msalScopes: t } = Ue(ia), { instance: r, inProgress: n } = oa(), o = Xf(), i = H(async () => r.acquireTokenSilent({ scopes: t }).then((u) => u.accessToken).catch(() => null), [r, t]), a = H(() => o, [o]), s = H(() => !a() && n !== Mn.None, [a, n]), c = H(async () => r.loginRedirect({
|
|
6631
|
+
scopes: t
|
|
6632
|
+
}).then(() => "").catch(() => null), [r, t]), l = H(() => {
|
|
6633
|
+
r.logout(), localStorage.removeItem("user"), e("Authorization");
|
|
6634
|
+
}, [e, r]);
|
|
6635
6635
|
return {
|
|
6636
|
-
isAuthenticated:
|
|
6637
|
-
isAuthenticating:
|
|
6638
|
-
login:
|
|
6639
|
-
logout:
|
|
6640
|
-
getToken:
|
|
6636
|
+
isAuthenticated: a,
|
|
6637
|
+
isAuthenticating: s,
|
|
6638
|
+
login: c,
|
|
6639
|
+
logout: l,
|
|
6640
|
+
getToken: i
|
|
6641
6641
|
};
|
|
6642
6642
|
}, Qf = () => {
|
|
6643
6643
|
const { useMsal: e } = Ue(ia), t = qf(), r = Zf();
|
|
@@ -6755,16 +6755,20 @@ const id = "_toast_1s57i_1", Bt = {
|
|
|
6755
6755
|
const { authenticated: t = !0, differentBaseUrl: r, silent: n = !1 } = { ...e }, { axiosInstance: o, language: i, axiosTexts: a } = Ue(Zo), { addNotification: s } = sd(), { getToken: c } = Qf();
|
|
6756
6756
|
return Re(() => {
|
|
6757
6757
|
r && (o.defaults.baseURL = r), o.interceptors.request.clear(), o.interceptors.response.clear();
|
|
6758
|
-
const l = o.interceptors.request.use((f) => {
|
|
6759
|
-
var
|
|
6760
|
-
|
|
6758
|
+
const l = o.interceptors.request.use(async (f) => {
|
|
6759
|
+
var g, m, h;
|
|
6760
|
+
if (t && !f.headers.Authorization) {
|
|
6761
|
+
const v = await c();
|
|
6762
|
+
f.headers.Authorization = `Bearer ${v}`;
|
|
6763
|
+
}
|
|
6764
|
+
return (g = f.url) != null && g.includes("culture=") ? f.url = (m = f.url) == null ? void 0 : m.replace(/culture=[a-z]{2}/, `culture=${i}`) : f.url = `${f.url}${(h = f.url) != null && h.includes("?") ? "&" : "?"}culture=${i}`, f;
|
|
6761
6765
|
}, (f) => Promise.reject(f)), u = o.interceptors.response.use((f) => f, (f) => {
|
|
6762
6766
|
var m;
|
|
6763
6767
|
if (console.log(f), de.isCancel(f))
|
|
6764
6768
|
return Promise.reject(f);
|
|
6765
|
-
const
|
|
6766
|
-
if (
|
|
6767
|
-
const h =
|
|
6769
|
+
const g = Sa(f);
|
|
6770
|
+
if (g.length > 0) {
|
|
6771
|
+
const h = g.find((v) => v.name.toLowerCase() === "others");
|
|
6768
6772
|
return h ? (!n && s(h.errors, "danger"), Promise.reject(f)) : (!n && s(a.validationError, "warning"), Promise.reject(f));
|
|
6769
6773
|
}
|
|
6770
6774
|
return ((m = f.response) == null ? void 0 : m.status) === 403 ? (!n && s(a.forbiddenError, "danger"), Promise.reject(f)) : f.message && f.message === "Network Error" ? (!n && s(a.networkError, "danger"), Promise.reject(f)) : (de.isCancel(f) || !n && s(a.unexpectedError, "danger"), Promise.reject(f));
|
|
@@ -6784,7 +6788,6 @@ const id = "_toast_1s57i_1", Bt = {
|
|
|
6784
6788
|
]), o;
|
|
6785
6789
|
}, ia = mt({
|
|
6786
6790
|
useMsal: !1,
|
|
6787
|
-
storedToken: null,
|
|
6788
6791
|
msalInstance: null,
|
|
6789
6792
|
msalScopes: []
|
|
6790
6793
|
}), cd = "_h1_14r4v_1", ud = "_h3_14r4v_8", ld = "_h6_14r4v_15", fd = "_subtitle_14r4v_22", dd = "_body_14r4v_29", pd = "_body2_14r4v_36", hd = "_caption_14r4v_43", md = "_form-label_14r4v_50", tt = {
|