@applica-software-guru/react-admin 1.5.264 → 1.5.266
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/ApplicaAdmin.d.ts +7 -2
- package/dist/ApplicaAdmin.d.ts.map +1 -1
- package/dist/i18n/createI18nProvider.d.ts +2 -0
- package/dist/i18n/createI18nProvider.d.ts.map +1 -1
- package/dist/i18n/useI18nProvider.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +36 -36
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +831 -825
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +28 -28
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/ApplicaAdmin.tsx +9 -1
- package/src/i18n/createI18nProvider.tsx +2 -1
- package/src/i18n/useI18nProvider.tsx +5 -1
package/dist/react-admin.es.js
CHANGED
|
@@ -1417,8 +1417,8 @@ function w1({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
1417
1417
|
const w = h + b, E = s === void 0 ? w : s(w);
|
|
1418
1418
|
E !== w && (b = E - h);
|
|
1419
1419
|
const M = (j) => -b * Math.exp(-j / r), S = (j) => E + M(j), P = (j) => {
|
|
1420
|
-
const
|
|
1421
|
-
g.done = Math.abs(
|
|
1420
|
+
const G = M(j), X = S(j);
|
|
1421
|
+
g.done = Math.abs(G) <= d, g.value = g.done ? E : X;
|
|
1422
1422
|
};
|
|
1423
1423
|
let T, R;
|
|
1424
1424
|
const k = (j) => {
|
|
@@ -1434,8 +1434,8 @@ function w1({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
1434
1434
|
return k(0), {
|
|
1435
1435
|
calculatedDuration: null,
|
|
1436
1436
|
next: (j) => {
|
|
1437
|
-
let
|
|
1438
|
-
return !R && T === void 0 && (
|
|
1437
|
+
let G = !1;
|
|
1438
|
+
return !R && T === void 0 && (G = !0, P(j), k(j)), T !== void 0 && j > T ? R.next(j - T) : (!G && P(j), g);
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
@@ -1487,34 +1487,34 @@ function rd({ autoplay: e = !0, delay: t = 0, driver: n = g_, keyframes: r, type
|
|
|
1487
1487
|
keyframes: [...r].reverse(),
|
|
1488
1488
|
velocity: -(g.velocity || 0)
|
|
1489
1489
|
}));
|
|
1490
|
-
let k = "idle", j = null,
|
|
1490
|
+
let k = "idle", j = null, G = null, X = null;
|
|
1491
1491
|
T.calculatedDuration === null && a && (T.calculatedDuration = S1(T));
|
|
1492
1492
|
const { calculatedDuration: $ } = T;
|
|
1493
|
-
let
|
|
1494
|
-
$ !== null && (
|
|
1493
|
+
let oe = 1 / 0, te = 1 / 0;
|
|
1494
|
+
$ !== null && (oe = $ + s, te = oe * (a + 1) - s);
|
|
1495
1495
|
let q = 0;
|
|
1496
1496
|
const Y = (z) => {
|
|
1497
|
-
if (
|
|
1497
|
+
if (G === null)
|
|
1498
1498
|
return;
|
|
1499
|
-
v > 0 && (
|
|
1500
|
-
const se = q - t * (v >= 0 ? 1 : -1), de = v >= 0 ? se < 0 : se >
|
|
1501
|
-
q = Math.max(se, 0), k === "finished" && j === null && (q =
|
|
1499
|
+
v > 0 && (G = Math.min(G, z)), v < 0 && (G = Math.min(z - te / v, G)), j !== null ? q = j : q = Math.round(z - G) * v;
|
|
1500
|
+
const se = q - t * (v >= 0 ? 1 : -1), de = v >= 0 ? se < 0 : se > te;
|
|
1501
|
+
q = Math.max(se, 0), k === "finished" && j === null && (q = te);
|
|
1502
1502
|
let le = q, ue = T;
|
|
1503
1503
|
if (a) {
|
|
1504
|
-
const me = Math.min(q,
|
|
1504
|
+
const me = Math.min(q, te) / oe;
|
|
1505
1505
|
let ye = Math.floor(me), Pe = me % 1;
|
|
1506
|
-
!Pe && me >= 1 && (Pe = 1), Pe === 1 && ye--, ye = Math.min(ye, a + 1), !!(ye % 2) && (c === "reverse" ? (Pe = 1 - Pe, s && (Pe -= s /
|
|
1506
|
+
!Pe && me >= 1 && (Pe = 1), Pe === 1 && ye--, ye = Math.min(ye, a + 1), !!(ye % 2) && (c === "reverse" ? (Pe = 1 - Pe, s && (Pe -= s / oe)) : c === "mirror" && (ue = R)), le = ui(0, 1, Pe) * oe;
|
|
1507
1507
|
}
|
|
1508
1508
|
const pe = de ? { done: !1, value: r[0] } : ue.next(le);
|
|
1509
1509
|
P && (pe.value = P(pe.value));
|
|
1510
1510
|
let { done: xe } = pe;
|
|
1511
|
-
!de && $ !== null && (xe = v >= 0 ? q >=
|
|
1511
|
+
!de && $ !== null && (xe = v >= 0 ? q >= te : q <= 0);
|
|
1512
1512
|
const ve = j === null && (k === "finished" || k === "running" && xe);
|
|
1513
1513
|
return h && h(pe.value), ve && F(), pe;
|
|
1514
1514
|
}, N = () => {
|
|
1515
1515
|
M && M.stop(), M = void 0;
|
|
1516
|
-
},
|
|
1517
|
-
k = "idle", N(), b(), E(),
|
|
1516
|
+
}, U = () => {
|
|
1517
|
+
k = "idle", N(), b(), E(), G = X = null;
|
|
1518
1518
|
}, F = () => {
|
|
1519
1519
|
k = "finished", p && p(), N(), b();
|
|
1520
1520
|
}, J = () => {
|
|
@@ -1522,7 +1522,7 @@ function rd({ autoplay: e = !0, delay: t = 0, driver: n = g_, keyframes: r, type
|
|
|
1522
1522
|
return;
|
|
1523
1523
|
M || (M = n(Y));
|
|
1524
1524
|
const z = M.now();
|
|
1525
|
-
u && u(), j !== null ?
|
|
1525
|
+
u && u(), j !== null ? G = z - j : (!G || k === "finished") && (G = z), k === "finished" && E(), X = G, j = null, k = "running", M.start();
|
|
1526
1526
|
};
|
|
1527
1527
|
e && J();
|
|
1528
1528
|
const B = {
|
|
@@ -1533,7 +1533,7 @@ function rd({ autoplay: e = !0, delay: t = 0, driver: n = g_, keyframes: r, type
|
|
|
1533
1533
|
return To(q);
|
|
1534
1534
|
},
|
|
1535
1535
|
set time(z) {
|
|
1536
|
-
z = ai(z), q = z, j !== null || !M || v === 0 ? j = z :
|
|
1536
|
+
z = ai(z), q = z, j !== null || !M || v === 0 ? j = z : G = M.now() - z / v;
|
|
1537
1537
|
},
|
|
1538
1538
|
get duration() {
|
|
1539
1539
|
const z = T.calculatedDuration === null ? S1(T) : T.calculatedDuration;
|
|
@@ -1553,15 +1553,15 @@ function rd({ autoplay: e = !0, delay: t = 0, driver: n = g_, keyframes: r, type
|
|
|
1553
1553
|
k = "paused", j = q;
|
|
1554
1554
|
},
|
|
1555
1555
|
stop: () => {
|
|
1556
|
-
x = !0, k !== "idle" && (k = "idle", d && d(),
|
|
1556
|
+
x = !0, k !== "idle" && (k = "idle", d && d(), U());
|
|
1557
1557
|
},
|
|
1558
1558
|
cancel: () => {
|
|
1559
|
-
|
|
1559
|
+
X !== null && Y(X), U();
|
|
1560
1560
|
},
|
|
1561
1561
|
complete: () => {
|
|
1562
1562
|
k = "finished";
|
|
1563
1563
|
},
|
|
1564
|
-
sample: (z) => (
|
|
1564
|
+
sample: (z) => (G = 0, Y(z))
|
|
1565
1565
|
};
|
|
1566
1566
|
return B;
|
|
1567
1567
|
}
|
|
@@ -2207,26 +2207,26 @@ function tF(e) {
|
|
|
2207
2207
|
!P && !S.prevProp || // Or if the prop doesn't define an animation
|
|
2208
2208
|
qd(P) || typeof P == "boolean")
|
|
2209
2209
|
continue;
|
|
2210
|
-
let
|
|
2210
|
+
let G = nF(S.prevProp, P) || // If we're making this variant active, we want to always make it active
|
|
2211
2211
|
M === d && S.isActive && !k && T || // If we removed a higher-priority variant (i is in reverse order)
|
|
2212
|
-
E > b && T,
|
|
2212
|
+
E > b && T, X = !1;
|
|
2213
2213
|
const $ = Array.isArray(P) ? P : [P];
|
|
2214
|
-
let
|
|
2215
|
-
R === !1 && (
|
|
2216
|
-
const { prevResolvedValues:
|
|
2217
|
-
...
|
|
2218
|
-
...
|
|
2214
|
+
let oe = $.reduce(o, {});
|
|
2215
|
+
R === !1 && (oe = {});
|
|
2216
|
+
const { prevResolvedValues: te = {} } = S, q = {
|
|
2217
|
+
...te,
|
|
2218
|
+
...oe
|
|
2219
2219
|
}, Y = (N) => {
|
|
2220
|
-
|
|
2220
|
+
G = !0, v.has(N) && (X = !0, v.delete(N)), S.needsAnimating[N] = !0;
|
|
2221
2221
|
};
|
|
2222
2222
|
for (const N in q) {
|
|
2223
|
-
const
|
|
2223
|
+
const U = oe[N], F = te[N];
|
|
2224
2224
|
if (x.hasOwnProperty(N))
|
|
2225
2225
|
continue;
|
|
2226
2226
|
let J = !1;
|
|
2227
|
-
ed(
|
|
2227
|
+
ed(U) && ed(F) ? J = !BA(U, F) : J = U !== F, J ? U !== void 0 ? Y(N) : v.add(N) : U !== void 0 && v.has(N) ? Y(N) : S.protectedKeys[N] = !0;
|
|
2228
2228
|
}
|
|
2229
|
-
S.prevProp = P, S.prevResolvedValues =
|
|
2229
|
+
S.prevProp = P, S.prevResolvedValues = oe, S.isActive && (x = { ...x, ...oe }), r && e.blockInitialAnimation && (G = !1), G && (!k || X) && g.push(...$.map((N) => ({
|
|
2230
2230
|
animation: N,
|
|
2231
2231
|
options: { type: M, ...u }
|
|
2232
2232
|
})));
|
|
@@ -4313,14 +4313,14 @@ function Ze(e, t) {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
return n;
|
|
4315
4315
|
}
|
|
4316
|
-
function
|
|
4317
|
-
return
|
|
4316
|
+
function H() {
|
|
4317
|
+
return H = Object.assign ? Object.assign.bind() : function(e) {
|
|
4318
4318
|
for (var t = 1; t < arguments.length; t++) {
|
|
4319
4319
|
var n = arguments[t];
|
|
4320
4320
|
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
4321
4321
|
}
|
|
4322
4322
|
return e;
|
|
4323
|
-
},
|
|
4323
|
+
}, H.apply(null, arguments);
|
|
4324
4324
|
}
|
|
4325
4325
|
var kn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4326
4326
|
function Do(e) {
|
|
@@ -4469,7 +4469,7 @@ function V7() {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
}
|
|
4471
4471
|
}
|
|
4472
|
-
var T = u, R = d, k = c, j = s,
|
|
4472
|
+
var T = u, R = d, k = c, j = s, G = t, X = p, $ = r, oe = x, te = v, q = n, Y = a, N = o, U = h, F = !1;
|
|
4473
4473
|
function J(ae) {
|
|
4474
4474
|
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B(ae) || P(ae) === u;
|
|
4475
4475
|
}
|
|
@@ -4509,7 +4509,7 @@ function V7() {
|
|
|
4509
4509
|
function Pe(ae) {
|
|
4510
4510
|
return P(ae) === h;
|
|
4511
4511
|
}
|
|
4512
|
-
lt.AsyncMode = T, lt.ConcurrentMode = R, lt.ContextConsumer = k, lt.ContextProvider = j, lt.Element =
|
|
4512
|
+
lt.AsyncMode = T, lt.ConcurrentMode = R, lt.ContextConsumer = k, lt.ContextProvider = j, lt.Element = G, lt.ForwardRef = X, lt.Fragment = $, lt.Lazy = oe, lt.Memo = te, lt.Portal = q, lt.Profiler = Y, lt.StrictMode = N, lt.Suspense = U, lt.isAsyncMode = J, lt.isConcurrentMode = B, lt.isContextConsumer = z, lt.isContextProvider = se, lt.isElement = de, lt.isForwardRef = le, lt.isFragment = ue, lt.isLazy = pe, lt.isMemo = xe, lt.isPortal = ve, lt.isProfiler = me, lt.isStrictMode = ye, lt.isSuspense = Pe, lt.isValidElementType = S, lt.typeOf = P;
|
|
4513
4513
|
}()), lt;
|
|
4514
4514
|
}
|
|
4515
4515
|
var gx;
|
|
@@ -4665,12 +4665,12 @@ function j7() {
|
|
|
4665
4665
|
element: P(),
|
|
4666
4666
|
elementType: T(),
|
|
4667
4667
|
instanceOf: R,
|
|
4668
|
-
node:
|
|
4668
|
+
node: X(),
|
|
4669
4669
|
objectOf: j,
|
|
4670
4670
|
oneOf: k,
|
|
4671
|
-
oneOfType:
|
|
4672
|
-
shape:
|
|
4673
|
-
exact:
|
|
4671
|
+
oneOfType: G,
|
|
4672
|
+
shape: oe,
|
|
4673
|
+
exact: te
|
|
4674
4674
|
};
|
|
4675
4675
|
function x(B, z) {
|
|
4676
4676
|
return B === z ? B !== 0 || 1 / B === 1 / z : B !== B && z !== z;
|
|
@@ -4706,7 +4706,7 @@ function j7() {
|
|
|
4706
4706
|
function z(se, de, le, ue, pe, xe) {
|
|
4707
4707
|
var ve = se[de], me = N(ve);
|
|
4708
4708
|
if (me !== B) {
|
|
4709
|
-
var ye =
|
|
4709
|
+
var ye = U(ve);
|
|
4710
4710
|
return new b(
|
|
4711
4711
|
"Invalid " + ue + " `" + pe + "` of type " + ("`" + ye + "` supplied to `" + le + "`, expected ") + ("`" + B + "`."),
|
|
4712
4712
|
{ expectedType: B }
|
|
@@ -4779,7 +4779,7 @@ function j7() {
|
|
|
4779
4779
|
if (x(xe, B[ve]))
|
|
4780
4780
|
return null;
|
|
4781
4781
|
var me = JSON.stringify(B, function(Pe, ae) {
|
|
4782
|
-
var it =
|
|
4782
|
+
var it = U(ae);
|
|
4783
4783
|
return it === "symbol" ? String(ae) : ae;
|
|
4784
4784
|
});
|
|
4785
4785
|
return new b("Invalid " + ue + " `" + pe + "` of value `" + String(xe) + "` " + ("supplied to `" + le + "`, expected one of " + me + "."));
|
|
@@ -4803,7 +4803,7 @@ function j7() {
|
|
|
4803
4803
|
}
|
|
4804
4804
|
return w(z);
|
|
4805
4805
|
}
|
|
4806
|
-
function
|
|
4806
|
+
function G(B) {
|
|
4807
4807
|
if (!Array.isArray(B))
|
|
4808
4808
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
4809
4809
|
for (var z = 0; z < B.length; z++) {
|
|
@@ -4825,7 +4825,7 @@ function j7() {
|
|
|
4825
4825
|
}
|
|
4826
4826
|
return w(de);
|
|
4827
4827
|
}
|
|
4828
|
-
function
|
|
4828
|
+
function X() {
|
|
4829
4829
|
function B(z, se, de, le, ue) {
|
|
4830
4830
|
return q(z[se]) ? null : new b("Invalid " + le + " `" + ue + "` supplied to " + ("`" + de + "`, expected a ReactNode."));
|
|
4831
4831
|
}
|
|
@@ -4836,7 +4836,7 @@ function j7() {
|
|
|
4836
4836
|
(B || "React class") + ": " + z + " type `" + se + "." + de + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + le + "`."
|
|
4837
4837
|
);
|
|
4838
4838
|
}
|
|
4839
|
-
function
|
|
4839
|
+
function oe(B) {
|
|
4840
4840
|
function z(se, de, le, ue, pe) {
|
|
4841
4841
|
var xe = se[de], ve = N(xe);
|
|
4842
4842
|
if (ve !== "object")
|
|
@@ -4844,7 +4844,7 @@ function j7() {
|
|
|
4844
4844
|
for (var me in B) {
|
|
4845
4845
|
var ye = B[me];
|
|
4846
4846
|
if (typeof ye != "function")
|
|
4847
|
-
return $(le, ue, pe, me,
|
|
4847
|
+
return $(le, ue, pe, me, U(ye));
|
|
4848
4848
|
var Pe = ye(xe, me, le, ue, pe + "." + me, n);
|
|
4849
4849
|
if (Pe)
|
|
4850
4850
|
return Pe;
|
|
@@ -4853,7 +4853,7 @@ function j7() {
|
|
|
4853
4853
|
}
|
|
4854
4854
|
return w(z);
|
|
4855
4855
|
}
|
|
4856
|
-
function
|
|
4856
|
+
function te(B) {
|
|
4857
4857
|
function z(se, de, le, ue, pe) {
|
|
4858
4858
|
var xe = se[de], ve = N(xe);
|
|
4859
4859
|
if (ve !== "object")
|
|
@@ -4862,7 +4862,7 @@ function j7() {
|
|
|
4862
4862
|
for (var ye in me) {
|
|
4863
4863
|
var Pe = B[ye];
|
|
4864
4864
|
if (r(B, ye) && typeof Pe != "function")
|
|
4865
|
-
return $(le, ue, pe, ye,
|
|
4865
|
+
return $(le, ue, pe, ye, U(Pe));
|
|
4866
4866
|
if (!Pe)
|
|
4867
4867
|
return new b(
|
|
4868
4868
|
"Invalid " + ue + " `" + pe + "` key `" + ye + "` supplied to `" + le + "`.\nBad object: " + JSON.stringify(se[de], null, " ") + `
|
|
@@ -4916,7 +4916,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
4916
4916
|
var z = typeof B;
|
|
4917
4917
|
return Array.isArray(B) ? "array" : B instanceof RegExp ? "object" : Y(z, B) ? "symbol" : z;
|
|
4918
4918
|
}
|
|
4919
|
-
function
|
|
4919
|
+
function U(B) {
|
|
4920
4920
|
if (typeof B > "u" || B === null)
|
|
4921
4921
|
return "" + B;
|
|
4922
4922
|
var z = N(B);
|
|
@@ -4929,7 +4929,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
4929
4929
|
return z;
|
|
4930
4930
|
}
|
|
4931
4931
|
function F(B) {
|
|
4932
|
-
var z =
|
|
4932
|
+
var z = U(B);
|
|
4933
4933
|
switch (z) {
|
|
4934
4934
|
case "array":
|
|
4935
4935
|
case "object":
|
|
@@ -5033,13 +5033,13 @@ function Er(e, t, n = void 0) {
|
|
|
5033
5033
|
), r;
|
|
5034
5034
|
}
|
|
5035
5035
|
function h0(e, t) {
|
|
5036
|
-
const n =
|
|
5036
|
+
const n = H({}, t);
|
|
5037
5037
|
return Object.keys(e).forEach((r) => {
|
|
5038
5038
|
if (r.toString().match(/^(components|slots)$/))
|
|
5039
|
-
n[r] =
|
|
5039
|
+
n[r] = H({}, e[r], n[r]);
|
|
5040
5040
|
else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
5041
5041
|
const o = e[r] || {}, a = t[r];
|
|
5042
|
-
n[r] = {}, !a || !Object.keys(a) ? n[r] = o : !o || !Object.keys(o) ? n[r] = a : (n[r] =
|
|
5042
|
+
n[r] = {}, !a || !Object.keys(a) ? n[r] = o : !o || !Object.keys(o) ? n[r] = a : (n[r] = H({}, a), Object.keys(o).forEach((s) => {
|
|
5043
5043
|
n[r][s] = h0(o[s], a[s]);
|
|
5044
5044
|
}));
|
|
5045
5045
|
} else n[r] === void 0 && (n[r] = e[r]);
|
|
@@ -5070,7 +5070,7 @@ function B2(e) {
|
|
|
5070
5070
|
function Zr(e, t, n = {
|
|
5071
5071
|
clone: !0
|
|
5072
5072
|
}) {
|
|
5073
|
-
const r = n.clone ?
|
|
5073
|
+
const r = n.clone ? H({}, e) : e;
|
|
5074
5074
|
return wo(e) && wo(t) && Object.keys(t).forEach((o) => {
|
|
5075
5075
|
wo(t[o]) && // Avoid prototype pollution
|
|
5076
5076
|
Object.prototype.hasOwnProperty.call(e, o) && wo(e[o]) ? r[o] = Zr(e[o], t[o], n) : n.clone ? r[o] = wo(t[o]) ? B2(t[o]) : t[o] : r[o] = t[o];
|
|
@@ -5085,7 +5085,7 @@ const q7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5085
5085
|
key: n,
|
|
5086
5086
|
val: e[n]
|
|
5087
5087
|
})) || [];
|
|
5088
|
-
return t.sort((n, r) => n.val - r.val), t.reduce((n, r) =>
|
|
5088
|
+
return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => H({}, n, {
|
|
5089
5089
|
[r.key]: r.val
|
|
5090
5090
|
}), {});
|
|
5091
5091
|
};
|
|
@@ -5125,7 +5125,7 @@ function N2(e) {
|
|
|
5125
5125
|
const v = s.indexOf(g);
|
|
5126
5126
|
return v === 0 ? c(s[1]) : v === s.length - 1 ? u(s[v]) : d(g, s[s.indexOf(g) + 1]).replace("@media", "@media not all and");
|
|
5127
5127
|
}
|
|
5128
|
-
return
|
|
5128
|
+
return H({
|
|
5129
5129
|
keys: s,
|
|
5130
5130
|
values: a,
|
|
5131
5131
|
up: c,
|
|
@@ -5876,13 +5876,13 @@ function lf(e = {}, ...t) {
|
|
|
5876
5876
|
direction: "ltr",
|
|
5877
5877
|
components: {},
|
|
5878
5878
|
// Inject component definitions.
|
|
5879
|
-
palette:
|
|
5879
|
+
palette: H({
|
|
5880
5880
|
mode: "light"
|
|
5881
5881
|
}, r),
|
|
5882
5882
|
spacing: u,
|
|
5883
|
-
shape:
|
|
5883
|
+
shape: H({}, Z7, a)
|
|
5884
5884
|
}, s);
|
|
5885
|
-
return d.applyStyles = j2, d = t.reduce((p, h) => Zr(p, h), d), d.unstable_sxConfig =
|
|
5885
|
+
return d.applyStyles = j2, d = t.reduce((p, h) => Zr(p, h), d), d.unstable_sxConfig = H({}, Kl, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
5886
5886
|
return Xl({
|
|
5887
5887
|
sx: h,
|
|
5888
5888
|
theme: this
|
|
@@ -6562,8 +6562,8 @@ function tS(e) {
|
|
|
6562
6562
|
let a;
|
|
6563
6563
|
return Array.isArray(t) ? a = [r, ...t] : typeof t == "function" ? a = (...s) => {
|
|
6564
6564
|
const c = t(...s);
|
|
6565
|
-
return wo(c) ?
|
|
6566
|
-
} : a =
|
|
6565
|
+
return wo(c) ? H({}, r, c) : r;
|
|
6566
|
+
} : a = H({}, r, t), H({}, o, {
|
|
6567
6567
|
sx: a
|
|
6568
6568
|
});
|
|
6569
6569
|
}
|
|
@@ -6605,7 +6605,7 @@ function rr(e, t, n = "Mui") {
|
|
|
6605
6605
|
return r ? `${n}-${r}` : `${nS.generate(e)}-${t}`;
|
|
6606
6606
|
}
|
|
6607
6607
|
function PB(e, t) {
|
|
6608
|
-
return
|
|
6608
|
+
return H({
|
|
6609
6609
|
toolbar: {
|
|
6610
6610
|
minHeight: 56,
|
|
6611
6611
|
[e.up("xs")]: {
|
|
@@ -7070,7 +7070,7 @@ function JB(e) {
|
|
|
7070
7070
|
lightShade: M = 300,
|
|
7071
7071
|
darkShade: S = 700
|
|
7072
7072
|
}) => {
|
|
7073
|
-
if (b =
|
|
7073
|
+
if (b = H({}, b), !b.main && b[E] && (b.main = b[E]), !b.hasOwnProperty("main"))
|
|
7074
7074
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
|
|
7075
7075
|
The color object needs to have a \`main\` property or a \`${E}\` property.` : Qi(11, w ? ` (${w})` : "", E));
|
|
7076
7076
|
if (typeof b.main != "string")
|
|
@@ -7093,9 +7093,9 @@ const theme2 = createTheme({ palette: {
|
|
|
7093
7093
|
dark: wh,
|
|
7094
7094
|
light: Rx
|
|
7095
7095
|
};
|
|
7096
|
-
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Zr(
|
|
7096
|
+
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Zr(H({
|
|
7097
7097
|
// A collection of common colors.
|
|
7098
|
-
common:
|
|
7098
|
+
common: H({}, Il),
|
|
7099
7099
|
// prevent mutable object.
|
|
7100
7100
|
// The palette mode, can be light or dark.
|
|
7101
7101
|
mode: t,
|
|
@@ -7172,7 +7172,7 @@ function nN(e, t) {
|
|
|
7172
7172
|
pxToRem: h
|
|
7173
7173
|
} = n, g = Ze(n, eN);
|
|
7174
7174
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
7175
|
-
const v = o / 14, x = h || ((E) => `${E / d * v}rem`), b = (E, M, S, P, T) =>
|
|
7175
|
+
const v = o / 14, x = h || ((E) => `${E / d * v}rem`), b = (E, M, S, P, T) => H({
|
|
7176
7176
|
fontFamily: r,
|
|
7177
7177
|
fontWeight: E,
|
|
7178
7178
|
fontSize: x(M),
|
|
@@ -7203,7 +7203,7 @@ function nN(e, t) {
|
|
|
7203
7203
|
letterSpacing: "inherit"
|
|
7204
7204
|
}
|
|
7205
7205
|
};
|
|
7206
|
-
return Zr(
|
|
7206
|
+
return Zr(H({
|
|
7207
7207
|
htmlFontSize: d,
|
|
7208
7208
|
pxToRem: x,
|
|
7209
7209
|
fontFamily: r,
|
|
@@ -7254,8 +7254,8 @@ function uN(e) {
|
|
|
7254
7254
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
7255
7255
|
}
|
|
7256
7256
|
function dN(e) {
|
|
7257
|
-
const t =
|
|
7258
|
-
return
|
|
7257
|
+
const t = H({}, lN, e.easing), n = H({}, cN, e.duration);
|
|
7258
|
+
return H({
|
|
7259
7259
|
getAutoHeightDuration: uN,
|
|
7260
7260
|
create: (o = ["all"], a = {}) => {
|
|
7261
7261
|
const {
|
|
@@ -7302,7 +7302,7 @@ function S0(e = {}, ...t) {
|
|
|
7302
7302
|
shadows: aN.slice(),
|
|
7303
7303
|
typography: nN(c, a),
|
|
7304
7304
|
transitions: dN(o),
|
|
7305
|
-
zIndex:
|
|
7305
|
+
zIndex: H({}, fN)
|
|
7306
7306
|
});
|
|
7307
7307
|
if (d = Zr(d, s), d = t.reduce((p, h) => Zr(p, h), d), process.env.NODE_ENV !== "production") {
|
|
7308
7308
|
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (g, v) => {
|
|
@@ -7328,7 +7328,7 @@ function S0(e = {}, ...t) {
|
|
|
7328
7328
|
v && g.indexOf("Mui") === 0 && h(v, g);
|
|
7329
7329
|
});
|
|
7330
7330
|
}
|
|
7331
|
-
return d.unstable_sxConfig =
|
|
7331
|
+
return d.unstable_sxConfig = H({}, Kl, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = function(h) {
|
|
7332
7332
|
return Xl({
|
|
7333
7333
|
sx: h,
|
|
7334
7334
|
theme: this
|
|
@@ -7510,7 +7510,7 @@ function bN() {
|
|
|
7510
7510
|
}
|
|
7511
7511
|
}
|
|
7512
7512
|
}
|
|
7513
|
-
var R = s, k = a, j = e,
|
|
7513
|
+
var R = s, k = a, j = e, G = u, X = n, $ = g, oe = h, te = t, q = o, Y = r, N = d, U = p, F = !1, J = !1;
|
|
7514
7514
|
function B(fe) {
|
|
7515
7515
|
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7516
7516
|
}
|
|
@@ -7553,7 +7553,7 @@ function bN() {
|
|
|
7553
7553
|
function it(fe) {
|
|
7554
7554
|
return T(fe) === p;
|
|
7555
7555
|
}
|
|
7556
|
-
ut.ContextConsumer = R, ut.ContextProvider = k, ut.Element = j, ut.ForwardRef =
|
|
7556
|
+
ut.ContextConsumer = R, ut.ContextProvider = k, ut.Element = j, ut.ForwardRef = G, ut.Fragment = X, ut.Lazy = $, ut.Memo = oe, ut.Portal = te, ut.Profiler = q, ut.StrictMode = Y, ut.Suspense = N, ut.SuspenseList = U, ut.isAsyncMode = B, ut.isConcurrentMode = z, ut.isContextConsumer = se, ut.isContextProvider = de, ut.isElement = le, ut.isForwardRef = ue, ut.isFragment = pe, ut.isLazy = xe, ut.isMemo = ve, ut.isPortal = me, ut.isProfiler = ye, ut.isStrictMode = Pe, ut.isSuspense = ae, ut.isSuspenseList = it, ut.isValidElementType = P, ut.typeOf = T;
|
|
7557
7557
|
}()), ut;
|
|
7558
7558
|
}
|
|
7559
7559
|
process.env.NODE_ENV === "production" ? fg.exports = yN() : fg.exports = bN();
|
|
@@ -7716,41 +7716,41 @@ function VN(e = {}) {
|
|
|
7716
7716
|
let k = S(T);
|
|
7717
7717
|
const j = R ? R.map(S) : [];
|
|
7718
7718
|
u && g && j.push(($) => {
|
|
7719
|
-
const
|
|
7719
|
+
const oe = xu((0, mr.default)({}, $, {
|
|
7720
7720
|
defaultTheme: n,
|
|
7721
7721
|
themeId: t
|
|
7722
7722
|
}));
|
|
7723
|
-
if (!
|
|
7723
|
+
if (!oe.components || !oe.components[u] || !oe.components[u].styleOverrides)
|
|
7724
7724
|
return null;
|
|
7725
|
-
const
|
|
7726
|
-
return Object.entries(
|
|
7725
|
+
const te = oe.components[u].styleOverrides, q = {};
|
|
7726
|
+
return Object.entries(te).forEach(([Y, N]) => {
|
|
7727
7727
|
q[Y] = Bu(N, (0, mr.default)({}, $, {
|
|
7728
|
-
theme:
|
|
7728
|
+
theme: oe
|
|
7729
7729
|
}));
|
|
7730
7730
|
}), g($, q);
|
|
7731
7731
|
}), u && !x && j.push(($) => {
|
|
7732
|
-
var
|
|
7733
|
-
const
|
|
7732
|
+
var oe;
|
|
7733
|
+
const te = xu((0, mr.default)({}, $, {
|
|
7734
7734
|
defaultTheme: n,
|
|
7735
7735
|
themeId: t
|
|
7736
|
-
})), q =
|
|
7736
|
+
})), q = te == null || (oe = te.components) == null || (oe = oe[u]) == null ? void 0 : oe.variants;
|
|
7737
7737
|
return Bu({
|
|
7738
7738
|
variants: q
|
|
7739
7739
|
}, (0, mr.default)({}, $, {
|
|
7740
|
-
theme:
|
|
7740
|
+
theme: te
|
|
7741
7741
|
}));
|
|
7742
7742
|
}), b || j.push(a);
|
|
7743
|
-
const
|
|
7744
|
-
if (Array.isArray(T) &&
|
|
7745
|
-
const $ = new Array(
|
|
7743
|
+
const G = j.length - R.length;
|
|
7744
|
+
if (Array.isArray(T) && G > 0) {
|
|
7745
|
+
const $ = new Array(G).fill("");
|
|
7746
7746
|
k = [...T, ...$], k.raw = [...T.raw, ...$];
|
|
7747
7747
|
}
|
|
7748
|
-
const
|
|
7748
|
+
const X = M(k, ...j);
|
|
7749
7749
|
if (process.env.NODE_ENV !== "production") {
|
|
7750
7750
|
let $;
|
|
7751
|
-
u && ($ = `${u}${(0, TN.default)(d || "")}`), $ === void 0 && ($ = `Styled(${(0, ON.default)(s)})`),
|
|
7751
|
+
u && ($ = `${u}${(0, TN.default)(d || "")}`), $ === void 0 && ($ = `Styled(${(0, ON.default)(s)})`), X.displayName = $;
|
|
7752
7752
|
}
|
|
7753
|
-
return s.muiName && (
|
|
7753
|
+
return s.muiName && (X.muiName = s.muiName), X;
|
|
7754
7754
|
};
|
|
7755
7755
|
return M.withConfig && (P.withConfig = M.withConfig), P;
|
|
7756
7756
|
};
|
|
@@ -7838,7 +7838,7 @@ const zN = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
7838
7838
|
inheritViewBox: p = !1,
|
|
7839
7839
|
titleAccess: h,
|
|
7840
7840
|
viewBox: g = "0 0 24 24"
|
|
7841
|
-
} = r, v = Ze(r, zN), x = /* @__PURE__ */ _.isValidElement(o) && o.type === "svg", b =
|
|
7841
|
+
} = r, v = Ze(r, zN), x = /* @__PURE__ */ _.isValidElement(o) && o.type === "svg", b = H({}, r, {
|
|
7842
7842
|
color: s,
|
|
7843
7843
|
component: c,
|
|
7844
7844
|
fontSize: u,
|
|
@@ -7849,7 +7849,7 @@ const zN = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
7849
7849
|
}), w = {};
|
|
7850
7850
|
p || (w.viewBox = g);
|
|
7851
7851
|
const E = UN(b);
|
|
7852
|
-
return /* @__PURE__ */ Q(HN,
|
|
7852
|
+
return /* @__PURE__ */ Q(HN, H({
|
|
7853
7853
|
as: c,
|
|
7854
7854
|
className: ht(E.root, a),
|
|
7855
7855
|
focusable: "false",
|
|
@@ -7939,7 +7939,7 @@ process.env.NODE_ENV !== "production" && (cd.propTypes = {
|
|
|
7939
7939
|
cd.muiName = "SvgIcon";
|
|
7940
7940
|
function I0(e, t) {
|
|
7941
7941
|
function n(r, o) {
|
|
7942
|
-
return /* @__PURE__ */ m(cd,
|
|
7942
|
+
return /* @__PURE__ */ m(cd, H({
|
|
7943
7943
|
"data-testid": `${t}Icon`,
|
|
7944
7944
|
ref: o
|
|
7945
7945
|
}, r, {
|
|
@@ -7969,8 +7969,8 @@ function qN(e) {
|
|
|
7969
7969
|
return typeof e == "string";
|
|
7970
7970
|
}
|
|
7971
7971
|
function $a(e, t, n) {
|
|
7972
|
-
return e === void 0 || qN(e) ? t :
|
|
7973
|
-
ownerState:
|
|
7972
|
+
return e === void 0 || qN(e) ? t : H({}, t, {
|
|
7973
|
+
ownerState: H({}, t.ownerState, n)
|
|
7974
7974
|
});
|
|
7975
7975
|
}
|
|
7976
7976
|
const KN = {
|
|
@@ -8038,7 +8038,7 @@ function eV(e, t, n, r, o) {
|
|
|
8038
8038
|
}
|
|
8039
8039
|
const tV = mi(C.elementType, eV), nV = "exact-prop: ";
|
|
8040
8040
|
function ff(e) {
|
|
8041
|
-
return process.env.NODE_ENV === "production" ? e :
|
|
8041
|
+
return process.env.NODE_ENV === "production" ? e : H({}, e, {
|
|
8042
8042
|
[nV]: (t) => {
|
|
8043
8043
|
const n = Object.keys(t).filter((r) => !e.hasOwnProperty(r));
|
|
8044
8044
|
return n.length > 0 ? new Error(`The following props are not supported: ${n.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
|
|
@@ -8094,7 +8094,7 @@ function sV(e) {
|
|
|
8094
8094
|
function lV(e, t) {
|
|
8095
8095
|
if (process.env.NODE_ENV === "production")
|
|
8096
8096
|
return () => null;
|
|
8097
|
-
const n = t ?
|
|
8097
|
+
const n = t ? H({}, t.propTypes) : null;
|
|
8098
8098
|
return (o) => (a, s, c, u, d, ...p) => {
|
|
8099
8099
|
const h = d || s, g = n == null ? void 0 : n[h];
|
|
8100
8100
|
if (g) {
|
|
@@ -8307,13 +8307,13 @@ function SS(e) {
|
|
|
8307
8307
|
className: a
|
|
8308
8308
|
} = e;
|
|
8309
8309
|
if (!t) {
|
|
8310
|
-
const v = ht(n == null ? void 0 : n.className, a, o == null ? void 0 : o.className, r == null ? void 0 : r.className), x =
|
|
8310
|
+
const v = ht(n == null ? void 0 : n.className, a, o == null ? void 0 : o.className, r == null ? void 0 : r.className), x = H({}, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), b = H({}, n, o, r);
|
|
8311
8311
|
return v.length > 0 && (b.className = v), Object.keys(x).length > 0 && (b.style = x), {
|
|
8312
8312
|
props: b,
|
|
8313
8313
|
internalRef: void 0
|
|
8314
8314
|
};
|
|
8315
8315
|
}
|
|
8316
|
-
const s = ZN(
|
|
8316
|
+
const s = ZN(H({}, o, r)), c = Gx(r), u = Gx(o), d = t(s), p = ht(d == null ? void 0 : d.className, n == null ? void 0 : n.className, a, o == null ? void 0 : o.className, r == null ? void 0 : r.className), h = H({}, d == null ? void 0 : d.style, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), g = H({}, d, n, u, c);
|
|
8317
8317
|
return p.length > 0 && (g.className = p), Object.keys(h).length > 0 && (g.style = h), {
|
|
8318
8318
|
props: g,
|
|
8319
8319
|
internalRef: d.ref
|
|
@@ -8330,10 +8330,10 @@ function ES(e) {
|
|
|
8330
8330
|
} = e, s = Ze(e, SV), c = a ? {} : bS(r, o), {
|
|
8331
8331
|
props: u,
|
|
8332
8332
|
internalRef: d
|
|
8333
|
-
} = SS(
|
|
8333
|
+
} = SS(H({}, s, {
|
|
8334
8334
|
externalSlotProps: c
|
|
8335
8335
|
})), p = Bn(d, c == null ? void 0 : c.ref, (t = e.additionalProps) == null ? void 0 : t.ref);
|
|
8336
|
-
return $a(n,
|
|
8336
|
+
return $a(n, H({}, u, {
|
|
8337
8337
|
ref: p
|
|
8338
8338
|
}), o);
|
|
8339
8339
|
}
|
|
@@ -8356,7 +8356,7 @@ function OV(e, t) {
|
|
|
8356
8356
|
}
|
|
8357
8357
|
} = a;
|
|
8358
8358
|
Ze(a, IV);
|
|
8359
|
-
const g = p[e] || r, v = bS(h[e], o), x = SS(
|
|
8359
|
+
const g = p[e] || r, v = bS(h[e], o), x = SS(H({
|
|
8360
8360
|
className: n
|
|
8361
8361
|
}, u, {
|
|
8362
8362
|
externalForwardedProps: void 0,
|
|
@@ -8366,7 +8366,7 @@ function OV(e, t) {
|
|
|
8366
8366
|
component: b
|
|
8367
8367
|
},
|
|
8368
8368
|
internalRef: w
|
|
8369
|
-
} = x, E = Ze(x.props, TV), M = Bn(w, v == null ? void 0 : v.ref, t.ref), S = s ? s(E) : {}, P =
|
|
8369
|
+
} = x, E = Ze(x.props, TV), M = Bn(w, v == null ? void 0 : v.ref, t.ref), S = s ? s(E) : {}, P = H({}, o, S), T = b, R = $a(g, H({}, e === "root", !p[e] && c, E, T && {
|
|
8370
8370
|
as: T
|
|
8371
8371
|
}, {
|
|
8372
8372
|
ref: M
|
|
@@ -8429,11 +8429,11 @@ const PV = ["alt", "children", "className", "component", "slots", "slotProps", "
|
|
|
8429
8429
|
props: {
|
|
8430
8430
|
colorDefault: !0
|
|
8431
8431
|
},
|
|
8432
|
-
style:
|
|
8432
|
+
style: H({
|
|
8433
8433
|
color: (e.vars || e).palette.background.default
|
|
8434
8434
|
}, e.vars ? {
|
|
8435
8435
|
backgroundColor: e.vars.palette.Avatar.defaultBg
|
|
8436
|
-
} :
|
|
8436
|
+
} : H({
|
|
8437
8437
|
backgroundColor: e.palette.grey[400]
|
|
8438
8438
|
}, e.applyStyles("dark", {
|
|
8439
8439
|
backgroundColor: e.palette.grey[600]
|
|
@@ -8501,10 +8501,10 @@ const IS = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
8501
8501
|
variant: x = "circular"
|
|
8502
8502
|
} = r, b = Ze(r, PV);
|
|
8503
8503
|
let w = null;
|
|
8504
|
-
const E = FV(
|
|
8504
|
+
const E = FV(H({}, p, {
|
|
8505
8505
|
src: g,
|
|
8506
8506
|
srcSet: v
|
|
8507
|
-
})), M = g || v, S = M && E !== "error", P =
|
|
8507
|
+
})), M = g || v, S = M && E !== "error", P = H({}, r, {
|
|
8508
8508
|
colorDefault: !S,
|
|
8509
8509
|
component: c,
|
|
8510
8510
|
variant: x
|
|
@@ -8514,7 +8514,7 @@ const IS = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
8514
8514
|
externalForwardedProps: {
|
|
8515
8515
|
slots: u,
|
|
8516
8516
|
slotProps: {
|
|
8517
|
-
img:
|
|
8517
|
+
img: H({}, p, d.img)
|
|
8518
8518
|
}
|
|
8519
8519
|
},
|
|
8520
8520
|
additionalProps: {
|
|
@@ -8525,10 +8525,10 @@ const IS = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
8525
8525
|
},
|
|
8526
8526
|
ownerState: P
|
|
8527
8527
|
});
|
|
8528
|
-
return S ? w = /* @__PURE__ */ m(R,
|
|
8528
|
+
return S ? w = /* @__PURE__ */ m(R, H({}, k)) : a || a === 0 ? w = a : M && o ? w = o[0] : w = /* @__PURE__ */ m(_V, {
|
|
8529
8529
|
ownerState: P,
|
|
8530
8530
|
className: T.fallback
|
|
8531
|
-
}), /* @__PURE__ */ m(kV,
|
|
8531
|
+
}), /* @__PURE__ */ m(kV, H({
|
|
8532
8532
|
as: c,
|
|
8533
8533
|
ownerState: P,
|
|
8534
8534
|
className: ht(T.root, s),
|
|
@@ -8636,11 +8636,11 @@ function Nu(e, t) {
|
|
|
8636
8636
|
let {
|
|
8637
8637
|
ownerState: n
|
|
8638
8638
|
} = t, r = Ze(t, LV);
|
|
8639
|
-
const o = typeof e == "function" ? e(
|
|
8639
|
+
const o = typeof e == "function" ? e(H({
|
|
8640
8640
|
ownerState: n
|
|
8641
8641
|
}, r)) : e;
|
|
8642
8642
|
if (Array.isArray(o))
|
|
8643
|
-
return o.flatMap((a) => Nu(a,
|
|
8643
|
+
return o.flatMap((a) => Nu(a, H({
|
|
8644
8644
|
ownerState: n
|
|
8645
8645
|
}, r)));
|
|
8646
8646
|
if (o && typeof o == "object" && Array.isArray(o.variants)) {
|
|
@@ -8650,11 +8650,11 @@ function Nu(e, t) {
|
|
|
8650
8650
|
let c = Ze(o, BV);
|
|
8651
8651
|
return a.forEach((u) => {
|
|
8652
8652
|
let d = !0;
|
|
8653
|
-
typeof u.props == "function" ? d = u.props(
|
|
8653
|
+
typeof u.props == "function" ? d = u.props(H({
|
|
8654
8654
|
ownerState: n
|
|
8655
8655
|
}, r, n)) : Object.keys(u.props).forEach((p) => {
|
|
8656
8656
|
(n == null ? void 0 : n[p]) !== u.props[p] && r[p] !== u.props[p] && (d = !1);
|
|
8657
|
-
}), d && (Array.isArray(c) || (c = [c]), c.push(typeof u.style == "function" ? u.style(
|
|
8657
|
+
}), d && (Array.isArray(c) || (c = [c]), c.push(typeof u.style == "function" ? u.style(H({
|
|
8658
8658
|
ownerState: n
|
|
8659
8659
|
}, r, n)) : u.style));
|
|
8660
8660
|
}), c;
|
|
@@ -8667,8 +8667,8 @@ function zV(e = {}) {
|
|
|
8667
8667
|
defaultTheme: n = WV,
|
|
8668
8668
|
rootShouldForwardProp: r = Th,
|
|
8669
8669
|
slotShouldForwardProp: o = Th
|
|
8670
|
-
} = e, a = (s) => Xl(
|
|
8671
|
-
theme: Cu(
|
|
8670
|
+
} = e, a = (s) => Xl(H({}, s, {
|
|
8671
|
+
theme: Cu(H({}, s, {
|
|
8672
8672
|
defaultTheme: n,
|
|
8673
8673
|
themeId: t
|
|
8674
8674
|
}))
|
|
@@ -8692,10 +8692,10 @@ function zV(e = {}) {
|
|
|
8692
8692
|
process.env.NODE_ENV !== "production" && u && (w = `${u}-${Yx(d || "Root")}`);
|
|
8693
8693
|
let E = Th;
|
|
8694
8694
|
d === "Root" || d === "root" ? E = r : d ? E = o : $V(s) && (E = void 0);
|
|
8695
|
-
const M = Q2(s,
|
|
8695
|
+
const M = Q2(s, H({
|
|
8696
8696
|
shouldForwardProp: E,
|
|
8697
8697
|
label: w
|
|
8698
|
-
}, v)), S = (T) => typeof T == "function" && T.__emotion_real !== T || wo(T) ? (R) => Nu(T,
|
|
8698
|
+
}, v)), S = (T) => typeof T == "function" && T.__emotion_real !== T || wo(T) ? (R) => Nu(T, H({}, R, {
|
|
8699
8699
|
theme: Cu({
|
|
8700
8700
|
theme: R.theme,
|
|
8701
8701
|
defaultTheme: n,
|
|
@@ -8705,41 +8705,41 @@ function zV(e = {}) {
|
|
|
8705
8705
|
let k = S(T);
|
|
8706
8706
|
const j = R ? R.map(S) : [];
|
|
8707
8707
|
u && g && j.push(($) => {
|
|
8708
|
-
const
|
|
8708
|
+
const oe = Cu(H({}, $, {
|
|
8709
8709
|
defaultTheme: n,
|
|
8710
8710
|
themeId: t
|
|
8711
8711
|
}));
|
|
8712
|
-
if (!
|
|
8712
|
+
if (!oe.components || !oe.components[u] || !oe.components[u].styleOverrides)
|
|
8713
8713
|
return null;
|
|
8714
|
-
const
|
|
8715
|
-
return Object.entries(
|
|
8716
|
-
q[Y] = Nu(N,
|
|
8717
|
-
theme:
|
|
8714
|
+
const te = oe.components[u].styleOverrides, q = {};
|
|
8715
|
+
return Object.entries(te).forEach(([Y, N]) => {
|
|
8716
|
+
q[Y] = Nu(N, H({}, $, {
|
|
8717
|
+
theme: oe
|
|
8718
8718
|
}));
|
|
8719
8719
|
}), g($, q);
|
|
8720
8720
|
}), u && !x && j.push(($) => {
|
|
8721
|
-
var
|
|
8722
|
-
const
|
|
8721
|
+
var oe;
|
|
8722
|
+
const te = Cu(H({}, $, {
|
|
8723
8723
|
defaultTheme: n,
|
|
8724
8724
|
themeId: t
|
|
8725
|
-
})), q =
|
|
8725
|
+
})), q = te == null || (oe = te.components) == null || (oe = oe[u]) == null ? void 0 : oe.variants;
|
|
8726
8726
|
return Nu({
|
|
8727
8727
|
variants: q
|
|
8728
|
-
},
|
|
8729
|
-
theme:
|
|
8728
|
+
}, H({}, $, {
|
|
8729
|
+
theme: te
|
|
8730
8730
|
}));
|
|
8731
8731
|
}), b || j.push(a);
|
|
8732
|
-
const
|
|
8733
|
-
if (Array.isArray(T) &&
|
|
8734
|
-
const $ = new Array(
|
|
8732
|
+
const G = j.length - R.length;
|
|
8733
|
+
if (Array.isArray(T) && G > 0) {
|
|
8734
|
+
const $ = new Array(G).fill("");
|
|
8735
8735
|
k = [...T, ...$], k.raw = [...T.raw, ...$];
|
|
8736
8736
|
}
|
|
8737
|
-
const
|
|
8737
|
+
const X = M(k, ...j);
|
|
8738
8738
|
if (process.env.NODE_ENV !== "production") {
|
|
8739
8739
|
let $;
|
|
8740
|
-
u && ($ = `${u}${Ke(d || "")}`), $ === void 0 && ($ = `Styled(${gS(s)})`),
|
|
8740
|
+
u && ($ = `${u}${Ke(d || "")}`), $ === void 0 && ($ = `Styled(${gS(s)})`), X.displayName = $;
|
|
8741
8741
|
}
|
|
8742
|
-
return s.muiName && (
|
|
8742
|
+
return s.muiName && (X.muiName = s.muiName), X;
|
|
8743
8743
|
};
|
|
8744
8744
|
return M.withConfig && (P.withConfig = M.withConfig), P;
|
|
8745
8745
|
};
|
|
@@ -8813,7 +8813,7 @@ function YV(e, t) {
|
|
|
8813
8813
|
return process.env.NODE_ENV !== "production" && (n || console.error(["MUI: You should return an object from your theme function, i.e.", "<ThemeProvider theme={() => ({})} />"].join(`
|
|
8814
8814
|
`))), n;
|
|
8815
8815
|
}
|
|
8816
|
-
return
|
|
8816
|
+
return H({}, e, t);
|
|
8817
8817
|
}
|
|
8818
8818
|
function ud(e) {
|
|
8819
8819
|
const {
|
|
@@ -8847,7 +8847,7 @@ function RS(e) {
|
|
|
8847
8847
|
let {
|
|
8848
8848
|
value: t
|
|
8849
8849
|
} = e, n = Ze(e, qV);
|
|
8850
|
-
return /* @__PURE__ */ m(MS.Provider,
|
|
8850
|
+
return /* @__PURE__ */ m(MS.Provider, H({
|
|
8851
8851
|
value: t ?? !0
|
|
8852
8852
|
}, n));
|
|
8853
8853
|
}
|
|
@@ -8887,14 +8887,14 @@ function Kx(e, t, n, r = !1) {
|
|
|
8887
8887
|
return _.useMemo(() => {
|
|
8888
8888
|
const o = e && t[e] || t;
|
|
8889
8889
|
if (typeof n == "function") {
|
|
8890
|
-
const a = n(o), s = e ?
|
|
8890
|
+
const a = n(o), s = e ? H({}, t, {
|
|
8891
8891
|
[e]: a
|
|
8892
8892
|
}) : a;
|
|
8893
8893
|
return r ? () => s : s;
|
|
8894
8894
|
}
|
|
8895
|
-
return e ?
|
|
8895
|
+
return e ? H({}, t, {
|
|
8896
8896
|
[e]: n
|
|
8897
|
-
}) :
|
|
8897
|
+
}) : H({}, t, n);
|
|
8898
8898
|
}, [e, t, n, r]);
|
|
8899
8899
|
}
|
|
8900
8900
|
function dd(e) {
|
|
@@ -8949,7 +8949,7 @@ function DS(e) {
|
|
|
8949
8949
|
theme: t
|
|
8950
8950
|
} = e, n = Ze(e, ZV);
|
|
8951
8951
|
const r = t[Tl];
|
|
8952
|
-
return /* @__PURE__ */ m(dd,
|
|
8952
|
+
return /* @__PURE__ */ m(dd, H({}, n, {
|
|
8953
8953
|
themeId: r ? Tl : void 0,
|
|
8954
8954
|
theme: r || t
|
|
8955
8955
|
}));
|
|
@@ -9151,7 +9151,7 @@ const n$ = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
9151
9151
|
})(({
|
|
9152
9152
|
theme: e,
|
|
9153
9153
|
ownerState: t
|
|
9154
|
-
}) =>
|
|
9154
|
+
}) => H({
|
|
9155
9155
|
margin: 0
|
|
9156
9156
|
}, t.variant === "inherit" && {
|
|
9157
9157
|
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
@@ -9188,7 +9188,7 @@ const n$ = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
9188
9188
|
const r = Tr({
|
|
9189
9189
|
props: t,
|
|
9190
9190
|
name: "MuiTypography"
|
|
9191
|
-
}), o = a$(r.color), a = tS(
|
|
9191
|
+
}), o = a$(r.color), a = tS(H({}, r, {
|
|
9192
9192
|
color: o
|
|
9193
9193
|
})), {
|
|
9194
9194
|
align: s = "inherit",
|
|
@@ -9199,7 +9199,7 @@ const n$ = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
9199
9199
|
paragraph: h = !1,
|
|
9200
9200
|
variant: g = "body1",
|
|
9201
9201
|
variantMapping: v = Zx
|
|
9202
|
-
} = a, x = Ze(a, n$), b =
|
|
9202
|
+
} = a, x = Ze(a, n$), b = H({}, a, {
|
|
9203
9203
|
align: s,
|
|
9204
9204
|
color: o,
|
|
9205
9205
|
className: c,
|
|
@@ -9210,7 +9210,7 @@ const n$ = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
9210
9210
|
variant: g,
|
|
9211
9211
|
variantMapping: v
|
|
9212
9212
|
}), w = u || (h ? "p" : v[g] || Zx[g]) || "span", E = r$(b);
|
|
9213
|
-
return /* @__PURE__ */ m(o$,
|
|
9213
|
+
return /* @__PURE__ */ m(o$, H({
|
|
9214
9214
|
as: w,
|
|
9215
9215
|
ref: n,
|
|
9216
9216
|
ownerState: b,
|
|
@@ -9757,7 +9757,7 @@ var h$ = Object.values || function(e) {
|
|
|
9757
9757
|
}, n.handleExited = function(o, a) {
|
|
9758
9758
|
var s = D0(this.props.children);
|
|
9759
9759
|
o.key in s || (o.props.onExited && o.props.onExited(a), this.mounted && this.setState(function(c) {
|
|
9760
|
-
var u =
|
|
9760
|
+
var u = H({}, c.children);
|
|
9761
9761
|
return delete u[o.key], {
|
|
9762
9762
|
children: u
|
|
9763
9763
|
};
|
|
@@ -10009,9 +10009,9 @@ const Cg = 550, v$ = 80, y$ = us(Jx || (Jx = gf`
|
|
|
10009
10009
|
rippleX: R,
|
|
10010
10010
|
rippleY: k,
|
|
10011
10011
|
rippleSize: j,
|
|
10012
|
-
cb:
|
|
10012
|
+
cb: G
|
|
10013
10013
|
} = P;
|
|
10014
|
-
d((
|
|
10014
|
+
d((X) => [...X, /* @__PURE__ */ m(w$, {
|
|
10015
10015
|
classes: {
|
|
10016
10016
|
ripple: ht(a.ripple, vr.ripple),
|
|
10017
10017
|
rippleVisible: ht(a.rippleVisible, vr.rippleVisible),
|
|
@@ -10025,13 +10025,13 @@ const Cg = 550, v$ = 80, y$ = us(Jx || (Jx = gf`
|
|
|
10025
10025
|
rippleX: R,
|
|
10026
10026
|
rippleY: k,
|
|
10027
10027
|
rippleSize: j
|
|
10028
|
-
}, p.current)]), p.current += 1, h.current =
|
|
10028
|
+
}, p.current)]), p.current += 1, h.current = G;
|
|
10029
10029
|
}, [a]), E = _.useCallback((P = {}, T = {}, R = () => {
|
|
10030
10030
|
}) => {
|
|
10031
10031
|
const {
|
|
10032
10032
|
pulsate: k = !1,
|
|
10033
10033
|
center: j = o || T.pulsate,
|
|
10034
|
-
fakeElement:
|
|
10034
|
+
fakeElement: G = !1
|
|
10035
10035
|
// For test purposes
|
|
10036
10036
|
} = T;
|
|
10037
10037
|
if ((P == null ? void 0 : P.type) === "mousedown" && g.current) {
|
|
@@ -10039,33 +10039,33 @@ const Cg = 550, v$ = 80, y$ = us(Jx || (Jx = gf`
|
|
|
10039
10039
|
return;
|
|
10040
10040
|
}
|
|
10041
10041
|
(P == null ? void 0 : P.type) === "touchstart" && (g.current = !0);
|
|
10042
|
-
const
|
|
10042
|
+
const X = G ? null : b.current, $ = X ? X.getBoundingClientRect() : {
|
|
10043
10043
|
width: 0,
|
|
10044
10044
|
height: 0,
|
|
10045
10045
|
left: 0,
|
|
10046
10046
|
top: 0
|
|
10047
10047
|
};
|
|
10048
|
-
let
|
|
10048
|
+
let oe, te, q;
|
|
10049
10049
|
if (j || P === void 0 || P.clientX === 0 && P.clientY === 0 || !P.clientX && !P.touches)
|
|
10050
|
-
|
|
10050
|
+
oe = Math.round($.width / 2), te = Math.round($.height / 2);
|
|
10051
10051
|
else {
|
|
10052
10052
|
const {
|
|
10053
10053
|
clientX: Y,
|
|
10054
10054
|
clientY: N
|
|
10055
10055
|
} = P.touches && P.touches.length > 0 ? P.touches[0] : P;
|
|
10056
|
-
|
|
10056
|
+
oe = Math.round(Y - $.left), te = Math.round(N - $.top);
|
|
10057
10057
|
}
|
|
10058
10058
|
if (j)
|
|
10059
10059
|
q = Math.sqrt((2 * $.width ** 2 + $.height ** 2) / 3), q % 2 === 0 && (q += 1);
|
|
10060
10060
|
else {
|
|
10061
|
-
const Y = Math.max(Math.abs((
|
|
10061
|
+
const Y = Math.max(Math.abs((X ? X.clientWidth : 0) - oe), oe) * 2 + 2, N = Math.max(Math.abs((X ? X.clientHeight : 0) - te), te) * 2 + 2;
|
|
10062
10062
|
q = Math.sqrt(Y ** 2 + N ** 2);
|
|
10063
10063
|
}
|
|
10064
10064
|
P != null && P.touches ? x.current === null && (x.current = () => {
|
|
10065
10065
|
w({
|
|
10066
10066
|
pulsate: k,
|
|
10067
|
-
rippleX:
|
|
10068
|
-
rippleY:
|
|
10067
|
+
rippleX: oe,
|
|
10068
|
+
rippleY: te,
|
|
10069
10069
|
rippleSize: q,
|
|
10070
10070
|
cb: R
|
|
10071
10071
|
});
|
|
@@ -10073,8 +10073,8 @@ const Cg = 550, v$ = 80, y$ = us(Jx || (Jx = gf`
|
|
|
10073
10073
|
x.current && (x.current(), x.current = null);
|
|
10074
10074
|
})) : w({
|
|
10075
10075
|
pulsate: k,
|
|
10076
|
-
rippleX:
|
|
10077
|
-
rippleY:
|
|
10076
|
+
rippleX: oe,
|
|
10077
|
+
rippleY: te,
|
|
10078
10078
|
rippleSize: q,
|
|
10079
10079
|
cb: R
|
|
10080
10080
|
});
|
|
@@ -10095,7 +10095,7 @@ const Cg = 550, v$ = 80, y$ = us(Jx || (Jx = gf`
|
|
|
10095
10095
|
pulsate: M,
|
|
10096
10096
|
start: E,
|
|
10097
10097
|
stop: S
|
|
10098
|
-
}), [M, E, S]), /* @__PURE__ */ m(C$,
|
|
10098
|
+
}), [M, E, S]), /* @__PURE__ */ m(C$, H({
|
|
10099
10099
|
className: ht(vr.root, a.root, s),
|
|
10100
10100
|
ref: b
|
|
10101
10101
|
}, c, {
|
|
@@ -10203,14 +10203,14 @@ const S$ = Or("MuiButtonBase", ["root", "disabled", "focusVisible"]), E$ = ["act
|
|
|
10203
10203
|
onMouseDown: R,
|
|
10204
10204
|
onMouseLeave: k,
|
|
10205
10205
|
onMouseUp: j,
|
|
10206
|
-
onTouchEnd:
|
|
10207
|
-
onTouchMove:
|
|
10206
|
+
onTouchEnd: G,
|
|
10207
|
+
onTouchMove: X,
|
|
10208
10208
|
onTouchStart: $,
|
|
10209
|
-
tabIndex:
|
|
10210
|
-
TouchRippleProps:
|
|
10209
|
+
tabIndex: oe = 0,
|
|
10210
|
+
TouchRippleProps: te,
|
|
10211
10211
|
touchRippleRef: q,
|
|
10212
10212
|
type: Y
|
|
10213
|
-
} = r, N = Ze(r, E$),
|
|
10213
|
+
} = r, N = Ze(r, E$), U = _.useRef(null), F = _.useRef(null), J = Bn(F, q), {
|
|
10214
10214
|
isFocusVisibleRef: B,
|
|
10215
10215
|
onFocus: z,
|
|
10216
10216
|
onBlur: se,
|
|
@@ -10218,7 +10218,7 @@ const S$ = Or("MuiButtonBase", ["root", "disabled", "focusVisible"]), E$ = ["act
|
|
|
10218
10218
|
} = P0(), [le, ue] = _.useState(!1);
|
|
10219
10219
|
d && le && ue(!1), _.useImperativeHandle(o, () => ({
|
|
10220
10220
|
focusVisible: () => {
|
|
10221
|
-
ue(!0),
|
|
10221
|
+
ue(!0), U.current.focus();
|
|
10222
10222
|
}
|
|
10223
10223
|
}), []);
|
|
10224
10224
|
const [pe, xe] = _.useState(!1);
|
|
@@ -10234,12 +10234,12 @@ const S$ = Or("MuiButtonBase", ["root", "disabled", "focusVisible"]), E$ = ["act
|
|
|
10234
10234
|
}
|
|
10235
10235
|
const ye = me("start", R), Pe = me("stop", w), ae = me("stop", E), it = me("stop", j), fe = me("stop", (Ie) => {
|
|
10236
10236
|
le && Ie.preventDefault(), k && k(Ie);
|
|
10237
|
-
}), ft = me("start", $), Qt = me("stop",
|
|
10237
|
+
}), ft = me("start", $), Qt = me("stop", G), At = me("stop", X), kt = me("stop", (Ie) => {
|
|
10238
10238
|
se(Ie), B.current === !1 && ue(!1), x && x(Ie);
|
|
10239
10239
|
}, !1), Wr = Hi((Ie) => {
|
|
10240
|
-
|
|
10240
|
+
U.current || (U.current = Ie.currentTarget), z(Ie), B.current === !0 && (ue(!0), S && S(Ie)), M && M(Ie);
|
|
10241
10241
|
}), Ot = () => {
|
|
10242
|
-
const Ie =
|
|
10242
|
+
const Ie = U.current;
|
|
10243
10243
|
return u && u !== "button" && !(Ie.tagName === "A" && Ie.href);
|
|
10244
10244
|
}, St = _.useRef(!1), gt = Hi((Ie) => {
|
|
10245
10245
|
g && !St.current && le && F.current && Ie.key === " " && (St.current = !0, F.current.stop(Ie, () => {
|
|
@@ -10254,22 +10254,22 @@ const S$ = Or("MuiButtonBase", ["root", "disabled", "focusVisible"]), E$ = ["act
|
|
|
10254
10254
|
Jt === "button" && (N.href || N.to) && (Jt = v);
|
|
10255
10255
|
const Re = {};
|
|
10256
10256
|
Jt === "button" ? (Re.type = Y === void 0 ? "button" : Y, Re.disabled = d) : (!N.href && !N.to && (Re.role = "button"), d && (Re["aria-disabled"] = d));
|
|
10257
|
-
const je = Bn(n, de,
|
|
10257
|
+
const je = Bn(n, de, U);
|
|
10258
10258
|
process.env.NODE_ENV !== "production" && _.useEffect(() => {
|
|
10259
10259
|
ve && !F.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
|
10260
10260
|
`));
|
|
10261
10261
|
}, [ve]);
|
|
10262
|
-
const Ee =
|
|
10262
|
+
const Ee = H({}, r, {
|
|
10263
10263
|
centerRipple: a,
|
|
10264
10264
|
component: u,
|
|
10265
10265
|
disabled: d,
|
|
10266
10266
|
disableRipple: p,
|
|
10267
10267
|
disableTouchRipple: h,
|
|
10268
10268
|
focusRipple: g,
|
|
10269
|
-
tabIndex:
|
|
10269
|
+
tabIndex: oe,
|
|
10270
10270
|
focusVisible: le
|
|
10271
10271
|
}), He = I$(Ee);
|
|
10272
|
-
return /* @__PURE__ */ Q(T$,
|
|
10272
|
+
return /* @__PURE__ */ Q(T$, H({
|
|
10273
10273
|
as: Jt,
|
|
10274
10274
|
className: ht(He.root, c),
|
|
10275
10275
|
ownerState: Ee,
|
|
@@ -10287,15 +10287,15 @@ const S$ = Or("MuiButtonBase", ["root", "disabled", "focusVisible"]), E$ = ["act
|
|
|
10287
10287
|
onTouchMove: At,
|
|
10288
10288
|
onTouchStart: ft,
|
|
10289
10289
|
ref: je,
|
|
10290
|
-
tabIndex: d ? -1 :
|
|
10290
|
+
tabIndex: d ? -1 : oe,
|
|
10291
10291
|
type: Y
|
|
10292
10292
|
}, Re, N, {
|
|
10293
10293
|
children: [s, ve ? (
|
|
10294
10294
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
10295
|
-
/* @__PURE__ */ m(LS,
|
|
10295
|
+
/* @__PURE__ */ m(LS, H({
|
|
10296
10296
|
ref: J,
|
|
10297
10297
|
center: a
|
|
10298
|
-
},
|
|
10298
|
+
}, te))
|
|
10299
10299
|
) : null]
|
|
10300
10300
|
}));
|
|
10301
10301
|
});
|
|
@@ -10459,7 +10459,7 @@ process.env.NODE_ENV !== "production" && (mf.propTypes = {
|
|
|
10459
10459
|
});
|
|
10460
10460
|
const O$ = ["slots", "slotProps"], P$ = ce(mf)(({
|
|
10461
10461
|
theme: e
|
|
10462
|
-
}) =>
|
|
10462
|
+
}) => H({
|
|
10463
10463
|
display: "flex",
|
|
10464
10464
|
marginLeft: `calc(${e.spacing(1)} * 0.5)`,
|
|
10465
10465
|
marginRight: `calc(${e.spacing(1)} * 0.5)`
|
|
@@ -10471,12 +10471,12 @@ const O$ = ["slots", "slotProps"], P$ = ce(mf)(({
|
|
|
10471
10471
|
color: e.palette.grey[100]
|
|
10472
10472
|
}, {
|
|
10473
10473
|
borderRadius: 2,
|
|
10474
|
-
"&:hover, &:focus":
|
|
10474
|
+
"&:hover, &:focus": H({}, e.palette.mode === "light" ? {
|
|
10475
10475
|
backgroundColor: e.palette.grey[200]
|
|
10476
10476
|
} : {
|
|
10477
10477
|
backgroundColor: e.palette.grey[600]
|
|
10478
10478
|
}),
|
|
10479
|
-
"&:active":
|
|
10479
|
+
"&:active": H({
|
|
10480
10480
|
boxShadow: e.shadows[0]
|
|
10481
10481
|
}, e.palette.mode === "light" ? {
|
|
10482
10482
|
backgroundColor: Ox(e.palette.grey[200], 0.12)
|
|
@@ -10493,11 +10493,11 @@ function BS(e) {
|
|
|
10493
10493
|
slotProps: n = {}
|
|
10494
10494
|
} = e, r = Ze(e, O$), o = e;
|
|
10495
10495
|
return /* @__PURE__ */ m("li", {
|
|
10496
|
-
children: /* @__PURE__ */ m(P$,
|
|
10496
|
+
children: /* @__PURE__ */ m(P$, H({
|
|
10497
10497
|
focusRipple: !0
|
|
10498
10498
|
}, r, {
|
|
10499
10499
|
ownerState: o,
|
|
10500
|
-
children: /* @__PURE__ */ m(M$,
|
|
10500
|
+
children: /* @__PURE__ */ m(M$, H({
|
|
10501
10501
|
as: t.CollapsedIcon,
|
|
10502
10502
|
ownerState: o
|
|
10503
10503
|
}, n.collapsedIcon))
|
|
@@ -10588,7 +10588,7 @@ const Vu = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
10588
10588
|
itemsBeforeCollapse: h = 1,
|
|
10589
10589
|
maxItems: g = 8,
|
|
10590
10590
|
separator: v = "/"
|
|
10591
|
-
} = r, x = Ze(r, D$), [b, w] = _.useState(!1), E =
|
|
10591
|
+
} = r, x = Ze(r, D$), [b, w] = _.useState(!1), E = H({}, r, {
|
|
10592
10592
|
component: s,
|
|
10593
10593
|
expanded: b,
|
|
10594
10594
|
expandText: d,
|
|
@@ -10603,8 +10603,8 @@ const Vu = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
10603
10603
|
}), P = _.useRef(null), T = (k) => {
|
|
10604
10604
|
const j = () => {
|
|
10605
10605
|
w(!0);
|
|
10606
|
-
const
|
|
10607
|
-
|
|
10606
|
+
const G = P.current.querySelector("a[href],button,[tabindex]");
|
|
10607
|
+
G && G.focus();
|
|
10608
10608
|
};
|
|
10609
10609
|
return h + p >= k.length ? (process.env.NODE_ENV !== "production" && console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.", `itemsAfterCollapse={${p}} + itemsBeforeCollapse={${h}} >= maxItems={${g}}`].join(`
|
|
10610
10610
|
`)), k) : [...k.slice(0, h), /* @__PURE__ */ m(BS, {
|
|
@@ -10622,7 +10622,7 @@ const Vu = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
10622
10622
|
className: M.li,
|
|
10623
10623
|
children: k
|
|
10624
10624
|
}, `child-${j}`));
|
|
10625
|
-
return /* @__PURE__ */ m(F$,
|
|
10625
|
+
return /* @__PURE__ */ m(F$, H({
|
|
10626
10626
|
ref: n,
|
|
10627
10627
|
component: s,
|
|
10628
10628
|
color: "text.secondary",
|
|
@@ -10753,14 +10753,14 @@ function $$({
|
|
|
10753
10753
|
height: "1rem",
|
|
10754
10754
|
color: b.palette.secondary.main
|
|
10755
10755
|
};
|
|
10756
|
-
function k(
|
|
10757
|
-
|
|
10756
|
+
function k(U) {
|
|
10757
|
+
U.children && U.children.filter((F) => (F.type && F.type === "collapse" ? (k(F), F.url === T && (M(F), P(F))) : F.type && F.type === "item" && T.includes(F.url) && (M(U), P(F)), !1));
|
|
10758
10758
|
}
|
|
10759
10759
|
Me(() => {
|
|
10760
|
-
var
|
|
10761
|
-
(
|
|
10760
|
+
var U;
|
|
10761
|
+
(U = s == null ? void 0 : s.items) == null || U.map((F) => (F.type && F.type === "group" && k(F), !1));
|
|
10762
10762
|
});
|
|
10763
|
-
const
|
|
10763
|
+
const G = u ? /* @__PURE__ */ m(u, { style: { fontSize: "0.75rem", marginTop: 2 } }) : "/", X = {
|
|
10764
10764
|
mb: 2,
|
|
10765
10765
|
bgcolor: t === !1 ? "transparent" : "inherit",
|
|
10766
10766
|
...h,
|
|
@@ -10768,8 +10768,8 @@ function $$({
|
|
|
10768
10768
|
mb: 1
|
|
10769
10769
|
}
|
|
10770
10770
|
};
|
|
10771
|
-
let $,
|
|
10772
|
-
return v === "breadcrumbs" ? /* @__PURE__ */ Q(Jr, { border: t, sx:
|
|
10771
|
+
let $, oe, te = /* @__PURE__ */ m(ge, {}), q = "", Y, N;
|
|
10772
|
+
return v === "breadcrumbs" ? /* @__PURE__ */ Q(Jr, { border: t, sx: X, ...x, content: t, shadow: "none", children: [
|
|
10773
10773
|
/* @__PURE__ */ Q(
|
|
10774
10774
|
Te,
|
|
10775
10775
|
{
|
|
@@ -10785,7 +10785,7 @@ function $$({
|
|
|
10785
10785
|
{
|
|
10786
10786
|
"aria-label": "breadcrumb",
|
|
10787
10787
|
maxItems: a || 8,
|
|
10788
|
-
separator:
|
|
10788
|
+
separator: G,
|
|
10789
10789
|
sx: {
|
|
10790
10790
|
[b.breakpoints.down("sm")]: {
|
|
10791
10791
|
mt: 1
|
|
@@ -10819,7 +10819,7 @@ function $$({
|
|
|
10819
10819
|
E.title
|
|
10820
10820
|
]
|
|
10821
10821
|
}
|
|
10822
|
-
),
|
|
10822
|
+
), te = /* @__PURE__ */ Q(Jr, { border: t, sx: X, ...x, content: t, shadow: "none", children: [
|
|
10823
10823
|
/* @__PURE__ */ Q(
|
|
10824
10824
|
Te,
|
|
10825
10825
|
{
|
|
@@ -10829,7 +10829,7 @@ function $$({
|
|
|
10829
10829
|
alignItems: c ? "center" : "flex-start",
|
|
10830
10830
|
spacing: 1,
|
|
10831
10831
|
children: [
|
|
10832
|
-
/* @__PURE__ */ m(Te, { item: !0, children: /* @__PURE__ */ Q(Vu, { "aria-label": "breadcrumb", maxItems: a || 8, separator:
|
|
10832
|
+
/* @__PURE__ */ m(Te, { item: !0, children: /* @__PURE__ */ Q(Vu, { "aria-label": "breadcrumb", maxItems: a || 8, separator: G, children: [
|
|
10833
10833
|
e !== !1 && /* @__PURE__ */ Q(ge, { component: sn, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
|
|
10834
10834
|
o ? /* @__PURE__ */ m(th, { style: R }) : null,
|
|
10835
10835
|
r && !o ? /* @__PURE__ */ m(nh, { style: { ...R, marginRight: 0 } }) : null,
|
|
@@ -10842,7 +10842,7 @@ function $$({
|
|
|
10842
10842
|
}
|
|
10843
10843
|
),
|
|
10844
10844
|
t === !1 && n !== !1 && /* @__PURE__ */ m(Ua, { sx: { mt: 2 } })
|
|
10845
|
-
] })), S && S.type === "item" && (q = S.title, N = S.icon ? S.icon : qh,
|
|
10845
|
+
] })), S && S.type === "item" && (q = S.title, N = S.icon ? S.icon : qh, oe = /* @__PURE__ */ Q(
|
|
10846
10846
|
ge,
|
|
10847
10847
|
{
|
|
10848
10848
|
variant: "subtitle1",
|
|
@@ -10857,7 +10857,7 @@ function $$({
|
|
|
10857
10857
|
q
|
|
10858
10858
|
]
|
|
10859
10859
|
}
|
|
10860
|
-
), S.breadcrumbs !== !1 && (
|
|
10860
|
+
), S.breadcrumbs !== !1 && (te = /* @__PURE__ */ Q(
|
|
10861
10861
|
Jr,
|
|
10862
10862
|
{
|
|
10863
10863
|
border: t,
|
|
@@ -10883,7 +10883,7 @@ function $$({
|
|
|
10883
10883
|
spacing: 1,
|
|
10884
10884
|
children: [
|
|
10885
10885
|
d && !p ? /* @__PURE__ */ m(Te, { item: !0, children: /* @__PURE__ */ m(ge, { variant: "h2", children: S.title }) }) : null,
|
|
10886
|
-
/* @__PURE__ */ m(Te, { item: !0, children: /* @__PURE__ */ Q(Vu, { "aria-label": "breadcrumb", maxItems: a || 8, separator:
|
|
10886
|
+
/* @__PURE__ */ m(Te, { item: !0, children: /* @__PURE__ */ Q(Vu, { "aria-label": "breadcrumb", maxItems: a || 8, separator: G, children: [
|
|
10887
10887
|
e !== !1 && /* @__PURE__ */ Q(
|
|
10888
10888
|
ge,
|
|
10889
10889
|
{
|
|
@@ -10900,7 +10900,7 @@ function $$({
|
|
|
10900
10900
|
}
|
|
10901
10901
|
),
|
|
10902
10902
|
$,
|
|
10903
|
-
|
|
10903
|
+
oe
|
|
10904
10904
|
] }) }),
|
|
10905
10905
|
d && p ? /* @__PURE__ */ m(Te, { item: !0, sx: { mt: t === !1 ? 0.25 : 1 }, children: /* @__PURE__ */ m(ge, { variant: "h2", children: S.title }) }) : null
|
|
10906
10906
|
]
|
|
@@ -10909,7 +10909,7 @@ function $$({
|
|
|
10909
10909
|
t === !1 && n !== !1 && /* @__PURE__ */ m(Ua, { sx: { mt: 2 } })
|
|
10910
10910
|
]
|
|
10911
10911
|
}
|
|
10912
|
-
))),
|
|
10912
|
+
))), te);
|
|
10913
10913
|
}
|
|
10914
10914
|
function NS({ color: e, size: t, variant: n, sx: r }) {
|
|
10915
10915
|
const o = nn(), a = mn(o, e), { main: s } = a;
|
|
@@ -10984,7 +10984,7 @@ const j$ = Or("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
10984
10984
|
})(({
|
|
10985
10985
|
theme: e,
|
|
10986
10986
|
ownerState: t
|
|
10987
|
-
}) =>
|
|
10987
|
+
}) => H({
|
|
10988
10988
|
textAlign: "center",
|
|
10989
10989
|
flex: "0 0 auto",
|
|
10990
10990
|
fontSize: e.typography.pxToRem(24),
|
|
@@ -11014,12 +11014,12 @@ const j$ = Or("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
11014
11014
|
}) => {
|
|
11015
11015
|
var n;
|
|
11016
11016
|
const r = (n = (e.vars || e).palette) == null ? void 0 : n[t.color];
|
|
11017
|
-
return
|
|
11017
|
+
return H({}, t.color === "inherit" && {
|
|
11018
11018
|
color: "inherit"
|
|
11019
|
-
}, t.color !== "inherit" && t.color !== "default" &&
|
|
11019
|
+
}, t.color !== "inherit" && t.color !== "default" && H({
|
|
11020
11020
|
color: r == null ? void 0 : r.main
|
|
11021
11021
|
}, !t.disableRipple && {
|
|
11022
|
-
"&:hover":
|
|
11022
|
+
"&:hover": H({}, r && {
|
|
11023
11023
|
backgroundColor: e.vars ? `rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})` : ti(r.main, e.palette.action.hoverOpacity)
|
|
11024
11024
|
}, {
|
|
11025
11025
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -11051,14 +11051,14 @@ const j$ = Or("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
11051
11051
|
disabled: u = !1,
|
|
11052
11052
|
disableFocusRipple: d = !1,
|
|
11053
11053
|
size: p = "medium"
|
|
11054
|
-
} = r, h = Ze(r, z$), g =
|
|
11054
|
+
} = r, h = Ze(r, z$), g = H({}, r, {
|
|
11055
11055
|
edge: o,
|
|
11056
11056
|
color: c,
|
|
11057
11057
|
disabled: u,
|
|
11058
11058
|
disableFocusRipple: d,
|
|
11059
11059
|
size: p
|
|
11060
11060
|
}), v = U$(g);
|
|
11061
|
-
return /* @__PURE__ */ m(H$,
|
|
11061
|
+
return /* @__PURE__ */ m(H$, H({
|
|
11062
11062
|
className: ht(v.root, s),
|
|
11063
11063
|
centerRipple: !0,
|
|
11064
11064
|
focusRipple: !d,
|
|
@@ -11282,8 +11282,8 @@ function X$(e) {
|
|
|
11282
11282
|
return typeof e == "string";
|
|
11283
11283
|
}
|
|
11284
11284
|
function Z$(e, t, n) {
|
|
11285
|
-
return e === void 0 || X$(e) ? t :
|
|
11286
|
-
ownerState:
|
|
11285
|
+
return e === void 0 || X$(e) ? t : H({}, t, {
|
|
11286
|
+
ownerState: H({}, t.ownerState, n)
|
|
11287
11287
|
});
|
|
11288
11288
|
}
|
|
11289
11289
|
const Q$ = {
|
|
@@ -11323,13 +11323,13 @@ function rW(e) {
|
|
|
11323
11323
|
className: a
|
|
11324
11324
|
} = e;
|
|
11325
11325
|
if (!t) {
|
|
11326
|
-
const v = ht(o == null ? void 0 : o.className, r == null ? void 0 : r.className, a, n == null ? void 0 : n.className), x =
|
|
11326
|
+
const v = ht(o == null ? void 0 : o.className, r == null ? void 0 : r.className, a, n == null ? void 0 : n.className), x = H({}, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), b = H({}, n, o, r);
|
|
11327
11327
|
return v.length > 0 && (b.className = v), Object.keys(x).length > 0 && (b.style = x), {
|
|
11328
11328
|
props: b,
|
|
11329
11329
|
internalRef: void 0
|
|
11330
11330
|
};
|
|
11331
11331
|
}
|
|
11332
|
-
const s = tW(
|
|
11332
|
+
const s = tW(H({}, o, r)), c = rC(r), u = rC(o), d = t(s), p = ht(d == null ? void 0 : d.className, n == null ? void 0 : n.className, a, o == null ? void 0 : o.className, r == null ? void 0 : r.className), h = H({}, d == null ? void 0 : d.style, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), g = H({}, d, n, u, c);
|
|
11333
11333
|
return p.length > 0 && (g.className = p), Object.keys(h).length > 0 && (g.style = h), {
|
|
11334
11334
|
props: g,
|
|
11335
11335
|
internalRef: d.ref
|
|
@@ -11346,10 +11346,10 @@ function iW(e) {
|
|
|
11346
11346
|
} = e, s = Ze(e, oW), c = a ? {} : nW(r, o), {
|
|
11347
11347
|
props: u,
|
|
11348
11348
|
internalRef: d
|
|
11349
|
-
} = rW(
|
|
11349
|
+
} = rW(H({}, s, {
|
|
11350
11350
|
externalSlotProps: c
|
|
11351
11351
|
})), p = Bn(d, c == null ? void 0 : c.ref, (t = e.additionalProps) == null ? void 0 : t.ref);
|
|
11352
|
-
return Z$(n,
|
|
11352
|
+
return Z$(n, H({}, u, {
|
|
11353
11353
|
ref: p
|
|
11354
11354
|
}), o);
|
|
11355
11355
|
}
|
|
@@ -11608,33 +11608,33 @@ function aC(e) {
|
|
|
11608
11608
|
var R = rc(n), k = "clientHeight", j = "clientWidth";
|
|
11609
11609
|
if (R === nr(n) && (R = vi(n), Mo(R).position !== "static" && c === "absolute" && (k = "scrollHeight", j = "scrollWidth")), R = R, o === Dn || (o === _n || o === wr) && a === Ol) {
|
|
11610
11610
|
P = Cr;
|
|
11611
|
-
var
|
|
11611
|
+
var G = h && R === T && T.visualViewport ? T.visualViewport.height : (
|
|
11612
11612
|
// $FlowFixMe[prop-missing]
|
|
11613
11613
|
R[k]
|
|
11614
11614
|
);
|
|
11615
|
-
b -=
|
|
11615
|
+
b -= G - r.height, b *= u ? 1 : -1;
|
|
11616
11616
|
}
|
|
11617
11617
|
if (o === _n || (o === Dn || o === Cr) && a === Ol) {
|
|
11618
11618
|
S = wr;
|
|
11619
|
-
var
|
|
11619
|
+
var X = h && R === T && T.visualViewport ? T.visualViewport.width : (
|
|
11620
11620
|
// $FlowFixMe[prop-missing]
|
|
11621
11621
|
R[j]
|
|
11622
11622
|
);
|
|
11623
|
-
v -=
|
|
11623
|
+
v -= X - r.width, v *= u ? 1 : -1;
|
|
11624
11624
|
}
|
|
11625
11625
|
}
|
|
11626
11626
|
var $ = Object.assign({
|
|
11627
11627
|
position: c
|
|
11628
|
-
}, d && OW),
|
|
11628
|
+
}, d && OW), oe = p === !0 ? PW({
|
|
11629
11629
|
x: v,
|
|
11630
11630
|
y: b
|
|
11631
11631
|
}, nr(n)) : {
|
|
11632
11632
|
x: v,
|
|
11633
11633
|
y: b
|
|
11634
11634
|
};
|
|
11635
|
-
if (v =
|
|
11636
|
-
var
|
|
11637
|
-
return Object.assign({}, $, (
|
|
11635
|
+
if (v = oe.x, b = oe.y, u) {
|
|
11636
|
+
var te;
|
|
11637
|
+
return Object.assign({}, $, (te = {}, te[P] = M ? "0" : "", te[S] = E ? "0" : "", te.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + b + "px)" : "translate3d(" + v + "px, " + b + "px, 0)", te));
|
|
11638
11638
|
}
|
|
11639
11639
|
return Object.assign({}, $, (t = {}, t[P] = M ? b + "px" : "", t[S] = E ? v + "px" : "", t.transform = "", t));
|
|
11640
11640
|
}
|
|
@@ -11841,20 +11841,20 @@ function Pl(e, t) {
|
|
|
11841
11841
|
element: S,
|
|
11842
11842
|
strategy: "absolute",
|
|
11843
11843
|
placement: o
|
|
11844
|
-
}), j = Ag(Object.assign({}, S, k)),
|
|
11845
|
-
top: T.top -
|
|
11846
|
-
bottom:
|
|
11847
|
-
left: T.left -
|
|
11848
|
-
right:
|
|
11844
|
+
}), j = Ag(Object.assign({}, S, k)), G = g === Js ? j : R, X = {
|
|
11845
|
+
top: T.top - G.top + E.top,
|
|
11846
|
+
bottom: G.bottom - T.bottom + E.bottom,
|
|
11847
|
+
left: T.left - G.left + E.left,
|
|
11848
|
+
right: G.right - T.right + E.right
|
|
11849
11849
|
}, $ = e.modifiersData.offset;
|
|
11850
11850
|
if (g === Js && $) {
|
|
11851
|
-
var
|
|
11852
|
-
Object.keys(
|
|
11853
|
-
var q = [wr, Cr].indexOf(
|
|
11854
|
-
|
|
11851
|
+
var oe = $[o];
|
|
11852
|
+
Object.keys(X).forEach(function(te) {
|
|
11853
|
+
var q = [wr, Cr].indexOf(te) >= 0 ? 1 : -1, Y = [Dn, Cr].indexOf(te) >= 0 ? "y" : "x";
|
|
11854
|
+
X[te] += oe[Y] * q;
|
|
11855
11855
|
});
|
|
11856
11856
|
}
|
|
11857
|
-
return
|
|
11857
|
+
return X;
|
|
11858
11858
|
}
|
|
11859
11859
|
function WW(e, t) {
|
|
11860
11860
|
t === void 0 && (t = {});
|
|
@@ -11894,20 +11894,20 @@ function zW(e) {
|
|
|
11894
11894
|
flipVariations: x,
|
|
11895
11895
|
allowedAutoPlacements: b
|
|
11896
11896
|
}) : ue);
|
|
11897
|
-
}, []), T = t.rects.reference, R = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0,
|
|
11898
|
-
var $ = P[
|
|
11897
|
+
}, []), T = t.rects.reference, R = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0, G = P[0], X = 0; X < P.length; X++) {
|
|
11898
|
+
var $ = P[X], oe = eo($), te = ss($) === os, q = [Dn, Cr].indexOf(oe) >= 0, Y = q ? "width" : "height", N = Pl(t, {
|
|
11899
11899
|
placement: $,
|
|
11900
11900
|
boundary: p,
|
|
11901
11901
|
rootBoundary: h,
|
|
11902
11902
|
altBoundary: g,
|
|
11903
11903
|
padding: d
|
|
11904
|
-
}),
|
|
11905
|
-
T[Y] > R[Y] && (
|
|
11906
|
-
var F = $u(
|
|
11907
|
-
if (a && J.push(N[
|
|
11904
|
+
}), U = q ? te ? wr : _n : te ? Cr : Dn;
|
|
11905
|
+
T[Y] > R[Y] && (U = $u(U));
|
|
11906
|
+
var F = $u(U), J = [];
|
|
11907
|
+
if (a && J.push(N[oe] <= 0), c && J.push(N[U] <= 0, N[F] <= 0), J.every(function(le) {
|
|
11908
11908
|
return le;
|
|
11909
11909
|
})) {
|
|
11910
|
-
|
|
11910
|
+
G = $, j = !1;
|
|
11911
11911
|
break;
|
|
11912
11912
|
}
|
|
11913
11913
|
k.set($, J);
|
|
@@ -11922,12 +11922,12 @@ function zW(e) {
|
|
|
11922
11922
|
});
|
|
11923
11923
|
});
|
|
11924
11924
|
if (pe)
|
|
11925
|
-
return
|
|
11925
|
+
return G = pe, "break";
|
|
11926
11926
|
}, se = B; se > 0; se--) {
|
|
11927
11927
|
var de = z(se);
|
|
11928
11928
|
if (de === "break") break;
|
|
11929
11929
|
}
|
|
11930
|
-
t.placement !==
|
|
11930
|
+
t.placement !== G && (t.modifiersData[r]._skip = !0, t.placement = G, t.reset = !0);
|
|
11931
11931
|
}
|
|
11932
11932
|
}
|
|
11933
11933
|
const UW = {
|
|
@@ -12029,31 +12029,31 @@ function JW(e) {
|
|
|
12029
12029
|
rootBoundary: d,
|
|
12030
12030
|
padding: h,
|
|
12031
12031
|
altBoundary: p
|
|
12032
|
-
}), E = eo(t.placement), M = ss(t.placement), S = !M, P = $0(E), T = QW(P), R = t.modifiersData.popperOffsets, k = t.rects.reference, j = t.rects.popper,
|
|
12032
|
+
}), E = eo(t.placement), M = ss(t.placement), S = !M, P = $0(E), T = QW(P), R = t.modifiersData.popperOffsets, k = t.rects.reference, j = t.rects.popper, G = typeof b == "function" ? b(Object.assign({}, t.rects, {
|
|
12033
12033
|
placement: t.placement
|
|
12034
|
-
})) : b,
|
|
12035
|
-
mainAxis:
|
|
12036
|
-
altAxis:
|
|
12034
|
+
})) : b, X = typeof G == "number" ? {
|
|
12035
|
+
mainAxis: G,
|
|
12036
|
+
altAxis: G
|
|
12037
12037
|
} : Object.assign({
|
|
12038
12038
|
mainAxis: 0,
|
|
12039
12039
|
altAxis: 0
|
|
12040
|
-
},
|
|
12040
|
+
}, G), $ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, oe = {
|
|
12041
12041
|
x: 0,
|
|
12042
12042
|
y: 0
|
|
12043
12043
|
};
|
|
12044
12044
|
if (R) {
|
|
12045
12045
|
if (a) {
|
|
12046
|
-
var
|
|
12046
|
+
var te, q = P === "y" ? Dn : _n, Y = P === "y" ? Cr : wr, N = P === "y" ? "height" : "width", U = R[P], F = U + w[q], J = U - w[Y], B = v ? -j[N] / 2 : 0, z = M === os ? k[N] : j[N], se = M === os ? -j[N] : -k[N], de = t.elements.arrow, le = v && de ? V0(de) : {
|
|
12047
12047
|
width: 0,
|
|
12048
12048
|
height: 0
|
|
12049
|
-
}, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zS(), pe = ue[q], xe = ue[Y], ve = hl(0, k[N], le[N]), me = S ? k[N] / 2 - B - ve - pe -
|
|
12050
|
-
R[P] = Qt,
|
|
12049
|
+
}, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zS(), pe = ue[q], xe = ue[Y], ve = hl(0, k[N], le[N]), me = S ? k[N] / 2 - B - ve - pe - X.mainAxis : z - ve - pe - X.mainAxis, ye = S ? -k[N] / 2 + B + ve + xe + X.mainAxis : se + ve + xe + X.mainAxis, Pe = t.elements.arrow && rc(t.elements.arrow), ae = Pe ? P === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, it = (te = $ == null ? void 0 : $[P]) != null ? te : 0, fe = U + me - it - ae, ft = U + ye - it, Qt = hl(v ? pd(F, fe) : F, U, v ? Ki(J, ft) : J);
|
|
12050
|
+
R[P] = Qt, oe[P] = Qt - U;
|
|
12051
12051
|
}
|
|
12052
12052
|
if (c) {
|
|
12053
|
-
var At, kt = P === "x" ? Dn : _n, Wr = P === "x" ? Cr : wr, Ot = R[T], St = T === "y" ? "height" : "width", gt = Ot + w[kt], Ht = Ot - w[Wr], Jt = [Dn, _n].indexOf(E) !== -1, Re = (At = $ == null ? void 0 : $[T]) != null ? At : 0, je = Jt ? gt : Ot - k[St] - j[St] - Re +
|
|
12054
|
-
R[T] = He,
|
|
12053
|
+
var At, kt = P === "x" ? Dn : _n, Wr = P === "x" ? Cr : wr, Ot = R[T], St = T === "y" ? "height" : "width", gt = Ot + w[kt], Ht = Ot - w[Wr], Jt = [Dn, _n].indexOf(E) !== -1, Re = (At = $ == null ? void 0 : $[T]) != null ? At : 0, je = Jt ? gt : Ot - k[St] - j[St] - Re + X.altAxis, Ee = Jt ? Ot + k[St] + j[St] - Re - X.altAxis : Ht, He = v && Jt ? AW(je, Ot, Ee) : hl(v ? je : gt, Ot, v ? Ee : Ht);
|
|
12054
|
+
R[T] = He, oe[T] = He - Ot;
|
|
12055
12055
|
}
|
|
12056
|
-
t.modifiersData[r] =
|
|
12056
|
+
t.modifiersData[r] = oe;
|
|
12057
12057
|
}
|
|
12058
12058
|
}
|
|
12059
12059
|
const ej = {
|
|
@@ -12195,19 +12195,19 @@ function cj(e) {
|
|
|
12195
12195
|
p.rects = {
|
|
12196
12196
|
reference: oj(M, rc(S), p.options.strategy === "fixed"),
|
|
12197
12197
|
popper: V0(S)
|
|
12198
|
-
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(
|
|
12199
|
-
return p.modifiersData[
|
|
12198
|
+
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(X) {
|
|
12199
|
+
return p.modifiersData[X.name] = Object.assign({}, X.data);
|
|
12200
12200
|
});
|
|
12201
12201
|
for (var P = 0; P < p.orderedModifiers.length; P++) {
|
|
12202
12202
|
if (p.reset === !0) {
|
|
12203
12203
|
p.reset = !1, P = -1;
|
|
12204
12204
|
continue;
|
|
12205
12205
|
}
|
|
12206
|
-
var T = p.orderedModifiers[P], R = T.fn, k = T.options, j = k === void 0 ? {} : k,
|
|
12206
|
+
var T = p.orderedModifiers[P], R = T.fn, k = T.options, j = k === void 0 ? {} : k, G = T.name;
|
|
12207
12207
|
typeof R == "function" && (p = R({
|
|
12208
12208
|
state: p,
|
|
12209
12209
|
options: j,
|
|
12210
|
-
name:
|
|
12210
|
+
name: G,
|
|
12211
12211
|
instance: v
|
|
12212
12212
|
}) || p);
|
|
12213
12213
|
}
|
|
@@ -12364,19 +12364,19 @@ const vj = () => Er({
|
|
|
12364
12364
|
no(() => {
|
|
12365
12365
|
T.current = P;
|
|
12366
12366
|
}, [P]), _.useImperativeHandle(g, () => S.current, []);
|
|
12367
|
-
const R = gj(p, s), [k, j] = _.useState(R), [
|
|
12367
|
+
const R = gj(p, s), [k, j] = _.useState(R), [G, X] = _.useState(gd(o));
|
|
12368
12368
|
_.useEffect(() => {
|
|
12369
12369
|
S.current && S.current.forceUpdate();
|
|
12370
12370
|
}), _.useEffect(() => {
|
|
12371
|
-
o &&
|
|
12371
|
+
o && X(gd(o));
|
|
12372
12372
|
}, [o]), no(() => {
|
|
12373
|
-
if (!
|
|
12373
|
+
if (!G || !d)
|
|
12374
12374
|
return;
|
|
12375
12375
|
const Y = (F) => {
|
|
12376
12376
|
j(F.placement);
|
|
12377
12377
|
};
|
|
12378
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
12379
|
-
const F =
|
|
12378
|
+
if (process.env.NODE_ENV !== "production" && G && yf(G) && G.nodeType === 1) {
|
|
12379
|
+
const F = G.getBoundingClientRect();
|
|
12380
12380
|
process.env.NODE_ENV !== "test" && F.top === 0 && F.left === 0 && F.right === 0 && F.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
12381
12381
|
`));
|
|
12382
12382
|
}
|
|
@@ -12401,21 +12401,21 @@ const vj = () => Er({
|
|
|
12401
12401
|
}
|
|
12402
12402
|
}];
|
|
12403
12403
|
u != null && (N = N.concat(u)), h && h.modifiers != null && (N = N.concat(h.modifiers));
|
|
12404
|
-
const
|
|
12404
|
+
const U = qS(G, E.current, H({
|
|
12405
12405
|
placement: R
|
|
12406
12406
|
}, h, {
|
|
12407
12407
|
modifiers: N
|
|
12408
12408
|
}));
|
|
12409
|
-
return T.current(
|
|
12410
|
-
|
|
12409
|
+
return T.current(U), () => {
|
|
12410
|
+
U.destroy(), T.current(null);
|
|
12411
12411
|
};
|
|
12412
|
-
}, [
|
|
12412
|
+
}, [G, c, u, d, h, R]);
|
|
12413
12413
|
const $ = {
|
|
12414
12414
|
placement: k
|
|
12415
12415
|
};
|
|
12416
12416
|
b !== null && ($.TransitionProps = b);
|
|
12417
|
-
const
|
|
12418
|
-
elementType:
|
|
12417
|
+
const oe = vj(), te = (r = x.root) != null ? r : "div", q = iW({
|
|
12418
|
+
elementType: te,
|
|
12419
12419
|
externalSlotProps: v.root,
|
|
12420
12420
|
externalForwardedProps: w,
|
|
12421
12421
|
additionalProps: {
|
|
@@ -12423,9 +12423,9 @@ const vj = () => Er({
|
|
|
12423
12423
|
ref: M
|
|
12424
12424
|
},
|
|
12425
12425
|
ownerState: t,
|
|
12426
|
-
className:
|
|
12426
|
+
className: oe.root
|
|
12427
12427
|
});
|
|
12428
|
-
return /* @__PURE__ */ m(
|
|
12428
|
+
return /* @__PURE__ */ m(te, H({}, q, {
|
|
12429
12429
|
children: typeof a == "function" ? a($) : a
|
|
12430
12430
|
}));
|
|
12431
12431
|
}), KS = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
@@ -12456,10 +12456,10 @@ const vj = () => Er({
|
|
|
12456
12456
|
if (a)
|
|
12457
12457
|
k = a;
|
|
12458
12458
|
else if (r) {
|
|
12459
|
-
const
|
|
12460
|
-
k =
|
|
12459
|
+
const X = gd(r);
|
|
12460
|
+
k = X && yf(X) ? rs(X).body : rs(null).body;
|
|
12461
12461
|
}
|
|
12462
|
-
const j = !p && u && (!b || S) ? "none" : void 0,
|
|
12462
|
+
const j = !p && u && (!b || S) ? "none" : void 0, G = b ? {
|
|
12463
12463
|
in: p,
|
|
12464
12464
|
onEnter: T,
|
|
12465
12465
|
onExited: R
|
|
@@ -12467,7 +12467,7 @@ const vj = () => Er({
|
|
|
12467
12467
|
return /* @__PURE__ */ m(hd, {
|
|
12468
12468
|
disablePortal: c,
|
|
12469
12469
|
container: k,
|
|
12470
|
-
children: /* @__PURE__ */ m(bj,
|
|
12470
|
+
children: /* @__PURE__ */ m(bj, H({
|
|
12471
12471
|
anchorEl: r,
|
|
12472
12472
|
direction: s,
|
|
12473
12473
|
disablePortal: c,
|
|
@@ -12480,7 +12480,7 @@ const vj = () => Er({
|
|
|
12480
12480
|
slotProps: w,
|
|
12481
12481
|
slots: E
|
|
12482
12482
|
}, M, {
|
|
12483
|
-
style:
|
|
12483
|
+
style: H({
|
|
12484
12484
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
12485
12485
|
position: "fixed",
|
|
12486
12486
|
// Fix Popper.js display issue
|
|
@@ -12488,7 +12488,7 @@ const vj = () => Er({
|
|
|
12488
12488
|
left: 0,
|
|
12489
12489
|
display: j
|
|
12490
12490
|
}, x),
|
|
12491
|
-
TransitionProps:
|
|
12491
|
+
TransitionProps: G,
|
|
12492
12492
|
children: o
|
|
12493
12493
|
}))
|
|
12494
12494
|
});
|
|
@@ -12632,8 +12632,8 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12632
12632
|
startIcon: ["icon", "startIcon", `iconSize${Ke(o)}`],
|
|
12633
12633
|
endIcon: ["icon", "endIcon", `iconSize${Ke(o)}`]
|
|
12634
12634
|
}, u = Er(c, xj, s);
|
|
12635
|
-
return
|
|
12636
|
-
}, QS = (e) =>
|
|
12635
|
+
return H({}, s, u);
|
|
12636
|
+
}, QS = (e) => H({}, e.size === "small" && {
|
|
12637
12637
|
"& > *:nth-of-type(1)": {
|
|
12638
12638
|
fontSize: 18
|
|
12639
12639
|
}
|
|
@@ -12661,14 +12661,14 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12661
12661
|
}) => {
|
|
12662
12662
|
var n, r;
|
|
12663
12663
|
const o = e.palette.mode === "light" ? e.palette.grey[300] : e.palette.grey[800], a = e.palette.mode === "light" ? e.palette.grey.A100 : e.palette.grey[700];
|
|
12664
|
-
return
|
|
12664
|
+
return H({}, e.typography.button, {
|
|
12665
12665
|
minWidth: 64,
|
|
12666
12666
|
padding: "6px 16px",
|
|
12667
12667
|
borderRadius: (e.vars || e).shape.borderRadius,
|
|
12668
12668
|
transition: e.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
|
|
12669
12669
|
duration: e.transitions.duration.short
|
|
12670
12670
|
}),
|
|
12671
|
-
"&:hover":
|
|
12671
|
+
"&:hover": H({
|
|
12672
12672
|
textDecoration: "none",
|
|
12673
12673
|
backgroundColor: e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})` : ti(e.palette.text.primary, e.palette.action.hoverOpacity),
|
|
12674
12674
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -12703,13 +12703,13 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12703
12703
|
backgroundColor: (e.vars || e).palette[t.color].main
|
|
12704
12704
|
}
|
|
12705
12705
|
}),
|
|
12706
|
-
"&:active":
|
|
12706
|
+
"&:active": H({}, t.variant === "contained" && {
|
|
12707
12707
|
boxShadow: (e.vars || e).shadows[8]
|
|
12708
12708
|
}),
|
|
12709
|
-
[`&.${Au.focusVisible}`]:
|
|
12709
|
+
[`&.${Au.focusVisible}`]: H({}, t.variant === "contained" && {
|
|
12710
12710
|
boxShadow: (e.vars || e).shadows[6]
|
|
12711
12711
|
}),
|
|
12712
|
-
[`&.${Au.disabled}`]:
|
|
12712
|
+
[`&.${Au.disabled}`]: H({
|
|
12713
12713
|
color: (e.vars || e).palette.action.disabled
|
|
12714
12714
|
}, t.variant === "outlined" && {
|
|
12715
12715
|
border: `1px solid ${(e.vars || e).palette.action.disabledBackground}`
|
|
@@ -12789,7 +12789,7 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12789
12789
|
}
|
|
12790
12790
|
})(({
|
|
12791
12791
|
ownerState: e
|
|
12792
|
-
}) =>
|
|
12792
|
+
}) => H({
|
|
12793
12793
|
display: "inherit",
|
|
12794
12794
|
marginRight: 8,
|
|
12795
12795
|
marginLeft: -4
|
|
@@ -12806,7 +12806,7 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12806
12806
|
}
|
|
12807
12807
|
})(({
|
|
12808
12808
|
ownerState: e
|
|
12809
|
-
}) =>
|
|
12809
|
+
}) => H({
|
|
12810
12810
|
display: "inherit",
|
|
12811
12811
|
marginRight: -4,
|
|
12812
12812
|
marginLeft: 8
|
|
@@ -12831,7 +12831,7 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12831
12831
|
startIcon: M,
|
|
12832
12832
|
type: S,
|
|
12833
12833
|
variant: P = "text"
|
|
12834
|
-
} = s, T = Ze(s, Cj), R =
|
|
12834
|
+
} = s, T = Ze(s, Cj), R = H({}, s, {
|
|
12835
12835
|
color: u,
|
|
12836
12836
|
component: d,
|
|
12837
12837
|
disabled: h,
|
|
@@ -12845,14 +12845,14 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12845
12845
|
className: k.startIcon,
|
|
12846
12846
|
ownerState: R,
|
|
12847
12847
|
children: M
|
|
12848
|
-
}),
|
|
12848
|
+
}), G = x && /* @__PURE__ */ m(Ej, {
|
|
12849
12849
|
className: k.endIcon,
|
|
12850
12850
|
ownerState: R,
|
|
12851
12851
|
children: x
|
|
12852
|
-
}),
|
|
12853
|
-
return /* @__PURE__ */ Q(Aj,
|
|
12852
|
+
}), X = o || "";
|
|
12853
|
+
return /* @__PURE__ */ Q(Aj, H({
|
|
12854
12854
|
ownerState: R,
|
|
12855
|
-
className: ht(r.className, k.root, p,
|
|
12855
|
+
className: ht(r.className, k.root, p, X),
|
|
12856
12856
|
component: d,
|
|
12857
12857
|
disabled: h,
|
|
12858
12858
|
focusRipple: !v,
|
|
@@ -12861,7 +12861,7 @@ const Cj = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12861
12861
|
type: S
|
|
12862
12862
|
}, T, {
|
|
12863
12863
|
classes: k,
|
|
12864
|
-
children: [j, c,
|
|
12864
|
+
children: [j, c, G]
|
|
12865
12865
|
}));
|
|
12866
12866
|
});
|
|
12867
12867
|
process.env.NODE_ENV !== "production" && (JS.propTypes = {
|
|
@@ -13011,7 +13011,7 @@ const Yo = 44, Oj = us(pC || (pC = bf`
|
|
|
13011
13011
|
})(({
|
|
13012
13012
|
ownerState: e,
|
|
13013
13013
|
theme: t
|
|
13014
|
-
}) =>
|
|
13014
|
+
}) => H({
|
|
13015
13015
|
display: "inline-block"
|
|
13016
13016
|
}, e.variant === "determinate" && {
|
|
13017
13017
|
transition: t.transitions.create("transform")
|
|
@@ -13040,7 +13040,7 @@ const Yo = 44, Oj = us(pC || (pC = bf`
|
|
|
13040
13040
|
})(({
|
|
13041
13041
|
ownerState: e,
|
|
13042
13042
|
theme: t
|
|
13043
|
-
}) =>
|
|
13043
|
+
}) => H({
|
|
13044
13044
|
stroke: "currentColor"
|
|
13045
13045
|
}, e.variant === "determinate" && {
|
|
13046
13046
|
transition: t.transitions.create("stroke-dashoffset")
|
|
@@ -13066,7 +13066,7 @@ const Yo = 44, Oj = us(pC || (pC = bf`
|
|
|
13066
13066
|
thickness: d = 3.6,
|
|
13067
13067
|
value: p = 0,
|
|
13068
13068
|
variant: h = "indeterminate"
|
|
13069
|
-
} = r, g = Ze(r, Tj), v =
|
|
13069
|
+
} = r, g = Ze(r, Tj), v = H({}, r, {
|
|
13070
13070
|
color: a,
|
|
13071
13071
|
disableShrink: s,
|
|
13072
13072
|
size: c,
|
|
@@ -13078,9 +13078,9 @@ const Yo = 44, Oj = us(pC || (pC = bf`
|
|
|
13078
13078
|
const M = 2 * Math.PI * ((Yo - d) / 2);
|
|
13079
13079
|
b.strokeDasharray = M.toFixed(3), E["aria-valuenow"] = Math.round(p), b.strokeDashoffset = `${((100 - p) / 100 * M).toFixed(3)}px`, w.transform = "rotate(-90deg)";
|
|
13080
13080
|
}
|
|
13081
|
-
return /* @__PURE__ */ m(Rj,
|
|
13081
|
+
return /* @__PURE__ */ m(Rj, H({
|
|
13082
13082
|
className: ht(x.root, o),
|
|
13083
|
-
style:
|
|
13083
|
+
style: H({
|
|
13084
13084
|
width: c,
|
|
13085
13085
|
height: c
|
|
13086
13086
|
}, w, u),
|
|
@@ -13178,7 +13178,7 @@ const bo = Or("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13178
13178
|
endIcon: [t && `endIconLoading${Ke(n)}`],
|
|
13179
13179
|
loadingIndicator: ["loadingIndicator", t && `loadingIndicator${Ke(n)}`]
|
|
13180
13180
|
}, a = Er(o, _j, r);
|
|
13181
|
-
return
|
|
13181
|
+
return H({}, r, a);
|
|
13182
13182
|
}, Bj = (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as" && e !== "classes", Nj = ce(JS, {
|
|
13183
13183
|
shouldForwardProp: (e) => Bj(e) || e === "classes",
|
|
13184
13184
|
name: "MuiLoadingButton",
|
|
@@ -13191,7 +13191,7 @@ const bo = Or("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13191
13191
|
})(({
|
|
13192
13192
|
ownerState: e,
|
|
13193
13193
|
theme: t
|
|
13194
|
-
}) =>
|
|
13194
|
+
}) => H({
|
|
13195
13195
|
[`& .${bo.startIconLoadingStart}, & .${bo.endIconLoadingEnd}`]: {
|
|
13196
13196
|
transition: t.transitions.create(["opacity"], {
|
|
13197
13197
|
duration: t.transitions.duration.short
|
|
@@ -13233,7 +13233,7 @@ const bo = Or("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13233
13233
|
})(({
|
|
13234
13234
|
theme: e,
|
|
13235
13235
|
ownerState: t
|
|
13236
|
-
}) =>
|
|
13236
|
+
}) => H({
|
|
13237
13237
|
position: "absolute",
|
|
13238
13238
|
visibility: "visible",
|
|
13239
13239
|
display: "flex"
|
|
@@ -13271,7 +13271,7 @@ const bo = Or("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13271
13271
|
"aria-labelledby": g,
|
|
13272
13272
|
color: "inherit",
|
|
13273
13273
|
size: 16
|
|
13274
|
-
}), x =
|
|
13274
|
+
}), x = H({}, r, {
|
|
13275
13275
|
disabled: a,
|
|
13276
13276
|
loading: c,
|
|
13277
13277
|
loadingIndicator: v,
|
|
@@ -13282,7 +13282,7 @@ const bo = Or("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13282
13282
|
ownerState: x,
|
|
13283
13283
|
children: v
|
|
13284
13284
|
}) : null;
|
|
13285
|
-
return /* @__PURE__ */ Q(Nj,
|
|
13285
|
+
return /* @__PURE__ */ Q(Nj, H({
|
|
13286
13286
|
disabled: a || c,
|
|
13287
13287
|
id: g,
|
|
13288
13288
|
ref: n
|
|
@@ -15633,13 +15633,13 @@ const IQ = {
|
|
|
15633
15633
|
TransitionComponent: w = Fo
|
|
15634
15634
|
} = t, E = Ze(t, EQ), M = Wa(), S = _.useRef(), P = nn(), T = _.useRef(null), R = Bn(T, a.ref, n), k = (Y) => (N) => {
|
|
15635
15635
|
if (Y) {
|
|
15636
|
-
const
|
|
15637
|
-
N === void 0 ? Y(
|
|
15636
|
+
const U = T.current;
|
|
15637
|
+
N === void 0 ? Y(U) : Y(U, N);
|
|
15638
15638
|
}
|
|
15639
|
-
}, j = k(p),
|
|
15639
|
+
}, j = k(p), G = k((Y, N) => {
|
|
15640
15640
|
GZ(Y);
|
|
15641
15641
|
const {
|
|
15642
|
-
duration:
|
|
15642
|
+
duration: U,
|
|
15643
15643
|
delay: F,
|
|
15644
15644
|
easing: J
|
|
15645
15645
|
} = ew({
|
|
@@ -15650,7 +15650,7 @@ const IQ = {
|
|
|
15650
15650
|
mode: "enter"
|
|
15651
15651
|
});
|
|
15652
15652
|
let B;
|
|
15653
|
-
b === "auto" ? (B = P.transitions.getAutoHeightDuration(Y.clientHeight), S.current = B) : B =
|
|
15653
|
+
b === "auto" ? (B = P.transitions.getAutoHeightDuration(Y.clientHeight), S.current = B) : B = U, Y.style.transition = [P.transitions.create("opacity", {
|
|
15654
15654
|
duration: B,
|
|
15655
15655
|
delay: F
|
|
15656
15656
|
}), P.transitions.create("transform", {
|
|
@@ -15658,10 +15658,10 @@ const IQ = {
|
|
|
15658
15658
|
delay: F,
|
|
15659
15659
|
easing: J
|
|
15660
15660
|
})].join(","), u && u(Y, N);
|
|
15661
|
-
}),
|
|
15661
|
+
}), X = k(d), $ = k(v), oe = k((Y) => {
|
|
15662
15662
|
const {
|
|
15663
15663
|
duration: N,
|
|
15664
|
-
delay:
|
|
15664
|
+
delay: U,
|
|
15665
15665
|
easing: F
|
|
15666
15666
|
} = ew({
|
|
15667
15667
|
style: x,
|
|
@@ -15673,30 +15673,30 @@ const IQ = {
|
|
|
15673
15673
|
let J;
|
|
15674
15674
|
b === "auto" ? (J = P.transitions.getAutoHeightDuration(Y.clientHeight), S.current = J) : J = N, Y.style.transition = [P.transitions.create("opacity", {
|
|
15675
15675
|
duration: J,
|
|
15676
|
-
delay:
|
|
15676
|
+
delay: U
|
|
15677
15677
|
}), P.transitions.create("transform", {
|
|
15678
15678
|
duration: _h ? J : J * 0.666,
|
|
15679
|
-
delay: _h ?
|
|
15679
|
+
delay: _h ? U : U || J * 0.333,
|
|
15680
15680
|
easing: F
|
|
15681
15681
|
})].join(","), Y.style.opacity = 0, Y.style.transform = _g(0.75), h && h(Y);
|
|
15682
|
-
}),
|
|
15683
|
-
return /* @__PURE__ */ m(w,
|
|
15682
|
+
}), te = k(g);
|
|
15683
|
+
return /* @__PURE__ */ m(w, H({
|
|
15684
15684
|
appear: o,
|
|
15685
15685
|
in: c,
|
|
15686
15686
|
nodeRef: T,
|
|
15687
|
-
onEnter:
|
|
15688
|
-
onEntered:
|
|
15687
|
+
onEnter: G,
|
|
15688
|
+
onEntered: X,
|
|
15689
15689
|
onEntering: j,
|
|
15690
|
-
onExit:
|
|
15691
|
-
onExited:
|
|
15690
|
+
onExit: oe,
|
|
15691
|
+
onExited: te,
|
|
15692
15692
|
onExiting: $,
|
|
15693
15693
|
addEndListener: (Y) => {
|
|
15694
15694
|
b === "auto" && M.start(S.current || 0, Y), r && r(T.current, Y);
|
|
15695
15695
|
},
|
|
15696
15696
|
timeout: b === "auto" ? null : b
|
|
15697
15697
|
}, E, {
|
|
15698
|
-
children: (Y, N) => /* @__PURE__ */ _.cloneElement(a,
|
|
15699
|
-
style:
|
|
15698
|
+
children: (Y, N) => /* @__PURE__ */ _.cloneElement(a, H({
|
|
15699
|
+
style: H({
|
|
15700
15700
|
opacity: 0,
|
|
15701
15701
|
transform: _g(0.75),
|
|
15702
15702
|
visibility: Y === "exited" && !c ? "hidden" : void 0
|
|
@@ -15851,19 +15851,19 @@ const FQ = () => Er({
|
|
|
15851
15851
|
no(() => {
|
|
15852
15852
|
T.current = P;
|
|
15853
15853
|
}, [P]), _.useImperativeHandle(g, () => S.current, []);
|
|
15854
|
-
const R = DQ(p, s), [k, j] = _.useState(R), [
|
|
15854
|
+
const R = DQ(p, s), [k, j] = _.useState(R), [G, X] = _.useState(Id(o));
|
|
15855
15855
|
_.useEffect(() => {
|
|
15856
15856
|
S.current && S.current.forceUpdate();
|
|
15857
15857
|
}), _.useEffect(() => {
|
|
15858
|
-
o &&
|
|
15858
|
+
o && X(Id(o));
|
|
15859
15859
|
}, [o]), no(() => {
|
|
15860
|
-
if (!
|
|
15860
|
+
if (!G || !d)
|
|
15861
15861
|
return;
|
|
15862
15862
|
const Y = (F) => {
|
|
15863
15863
|
j(F.placement);
|
|
15864
15864
|
};
|
|
15865
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
15866
|
-
const F =
|
|
15865
|
+
if (process.env.NODE_ENV !== "production" && G && Tf(G) && G.nodeType === 1) {
|
|
15866
|
+
const F = G.getBoundingClientRect();
|
|
15867
15867
|
process.env.NODE_ENV !== "test" && F.top === 0 && F.left === 0 && F.right === 0 && F.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
15868
15868
|
`));
|
|
15869
15869
|
}
|
|
@@ -15888,21 +15888,21 @@ const FQ = () => Er({
|
|
|
15888
15888
|
}
|
|
15889
15889
|
}];
|
|
15890
15890
|
u != null && (N = N.concat(u)), h && h.modifiers != null && (N = N.concat(h.modifiers));
|
|
15891
|
-
const
|
|
15891
|
+
const U = qS(G, E.current, H({
|
|
15892
15892
|
placement: R
|
|
15893
15893
|
}, h, {
|
|
15894
15894
|
modifiers: N
|
|
15895
15895
|
}));
|
|
15896
|
-
return T.current(
|
|
15897
|
-
|
|
15896
|
+
return T.current(U), () => {
|
|
15897
|
+
U.destroy(), T.current(null);
|
|
15898
15898
|
};
|
|
15899
|
-
}, [
|
|
15899
|
+
}, [G, c, u, d, h, R]);
|
|
15900
15900
|
const $ = {
|
|
15901
15901
|
placement: k
|
|
15902
15902
|
};
|
|
15903
15903
|
b !== null && ($.TransitionProps = b);
|
|
15904
|
-
const
|
|
15905
|
-
elementType:
|
|
15904
|
+
const oe = FQ(), te = (r = x.root) != null ? r : "div", q = ES({
|
|
15905
|
+
elementType: te,
|
|
15906
15906
|
externalSlotProps: v.root,
|
|
15907
15907
|
externalForwardedProps: w,
|
|
15908
15908
|
additionalProps: {
|
|
@@ -15910,9 +15910,9 @@ const FQ = () => Er({
|
|
|
15910
15910
|
ref: M
|
|
15911
15911
|
},
|
|
15912
15912
|
ownerState: t,
|
|
15913
|
-
className:
|
|
15913
|
+
className: oe.root
|
|
15914
15914
|
});
|
|
15915
|
-
return /* @__PURE__ */ m(
|
|
15915
|
+
return /* @__PURE__ */ m(te, H({}, q, {
|
|
15916
15916
|
children: typeof a == "function" ? a($) : a
|
|
15917
15917
|
}));
|
|
15918
15918
|
}), zE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
@@ -15943,10 +15943,10 @@ const FQ = () => Er({
|
|
|
15943
15943
|
if (a)
|
|
15944
15944
|
k = a;
|
|
15945
15945
|
else if (r) {
|
|
15946
|
-
const
|
|
15947
|
-
k =
|
|
15946
|
+
const X = Id(r);
|
|
15947
|
+
k = X && Tf(X) ? rs(X).body : rs(null).body;
|
|
15948
15948
|
}
|
|
15949
|
-
const j = !p && u && (!b || S) ? "none" : void 0,
|
|
15949
|
+
const j = !p && u && (!b || S) ? "none" : void 0, G = b ? {
|
|
15950
15950
|
in: p,
|
|
15951
15951
|
onEnter: T,
|
|
15952
15952
|
onExited: R
|
|
@@ -15954,7 +15954,7 @@ const FQ = () => Er({
|
|
|
15954
15954
|
return /* @__PURE__ */ m(wd, {
|
|
15955
15955
|
disablePortal: c,
|
|
15956
15956
|
container: k,
|
|
15957
|
-
children: /* @__PURE__ */ m(BQ,
|
|
15957
|
+
children: /* @__PURE__ */ m(BQ, H({
|
|
15958
15958
|
anchorEl: r,
|
|
15959
15959
|
direction: s,
|
|
15960
15960
|
disablePortal: c,
|
|
@@ -15967,7 +15967,7 @@ const FQ = () => Er({
|
|
|
15967
15967
|
slotProps: w,
|
|
15968
15968
|
slots: E
|
|
15969
15969
|
}, M, {
|
|
15970
|
-
style:
|
|
15970
|
+
style: H({
|
|
15971
15971
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
15972
15972
|
position: "fixed",
|
|
15973
15973
|
// Fix Popper.js display issue
|
|
@@ -15975,7 +15975,7 @@ const FQ = () => Er({
|
|
|
15975
15975
|
left: 0,
|
|
15976
15976
|
display: j
|
|
15977
15977
|
}, x),
|
|
15978
|
-
TransitionProps:
|
|
15978
|
+
TransitionProps: G,
|
|
15979
15979
|
children: o
|
|
15980
15980
|
}))
|
|
15981
15981
|
});
|
|
@@ -16158,7 +16158,7 @@ const zQ = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
16158
16158
|
transition: M,
|
|
16159
16159
|
slots: S,
|
|
16160
16160
|
slotProps: P
|
|
16161
|
-
} = a, T = Ze(a, zQ), R = (r = S == null ? void 0 : S.root) != null ? r : u == null ? void 0 : u.Root, k =
|
|
16161
|
+
} = a, T = Ze(a, zQ), R = (r = S == null ? void 0 : S.root) != null ? r : u == null ? void 0 : u.Root, k = H({
|
|
16162
16162
|
anchorEl: s,
|
|
16163
16163
|
container: p,
|
|
16164
16164
|
disablePortal: h,
|
|
@@ -16170,7 +16170,7 @@ const zQ = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
16170
16170
|
popperRef: E,
|
|
16171
16171
|
transition: M
|
|
16172
16172
|
}, T);
|
|
16173
|
-
return /* @__PURE__ */ m(UQ,
|
|
16173
|
+
return /* @__PURE__ */ m(UQ, H({
|
|
16174
16174
|
as: c,
|
|
16175
16175
|
direction: o == null ? void 0 : o.direction,
|
|
16176
16176
|
slots: {
|
|
@@ -16341,7 +16341,7 @@ const qQ = (e) => {
|
|
|
16341
16341
|
theme: e,
|
|
16342
16342
|
ownerState: t,
|
|
16343
16343
|
open: n
|
|
16344
|
-
}) =>
|
|
16344
|
+
}) => H({
|
|
16345
16345
|
zIndex: (e.vars || e).zIndex.tooltip,
|
|
16346
16346
|
pointerEvents: "none"
|
|
16347
16347
|
}, !t.disableInteractive && {
|
|
@@ -16363,7 +16363,7 @@ const qQ = (e) => {
|
|
|
16363
16363
|
transformOrigin: "100% 0"
|
|
16364
16364
|
}
|
|
16365
16365
|
},
|
|
16366
|
-
[`&[data-popper-placement*="right"] .${ni.arrow}`]:
|
|
16366
|
+
[`&[data-popper-placement*="right"] .${ni.arrow}`]: H({}, t.isRtl ? {
|
|
16367
16367
|
right: 0,
|
|
16368
16368
|
marginRight: "-0.71em"
|
|
16369
16369
|
} : {
|
|
@@ -16376,7 +16376,7 @@ const qQ = (e) => {
|
|
|
16376
16376
|
transformOrigin: "100% 100%"
|
|
16377
16377
|
}
|
|
16378
16378
|
}),
|
|
16379
|
-
[`&[data-popper-placement*="left"] .${ni.arrow}`]:
|
|
16379
|
+
[`&[data-popper-placement*="left"] .${ni.arrow}`]: H({}, t.isRtl ? {
|
|
16380
16380
|
left: 0,
|
|
16381
16381
|
marginLeft: "-0.71em"
|
|
16382
16382
|
} : {
|
|
@@ -16401,7 +16401,7 @@ const qQ = (e) => {
|
|
|
16401
16401
|
})(({
|
|
16402
16402
|
theme: e,
|
|
16403
16403
|
ownerState: t
|
|
16404
|
-
}) =>
|
|
16404
|
+
}) => H({
|
|
16405
16405
|
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg : ti(e.palette.grey[700], 0.92),
|
|
16406
16406
|
borderRadius: (e.vars || e).shape.borderRadius,
|
|
16407
16407
|
color: (e.vars || e).palette.common.white,
|
|
@@ -16421,35 +16421,35 @@ const qQ = (e) => {
|
|
|
16421
16421
|
lineHeight: `${YQ(16 / 14)}em`,
|
|
16422
16422
|
fontWeight: e.typography.fontWeightRegular
|
|
16423
16423
|
}, {
|
|
16424
|
-
[`.${ni.popper}[data-popper-placement*="left"] &`]:
|
|
16424
|
+
[`.${ni.popper}[data-popper-placement*="left"] &`]: H({
|
|
16425
16425
|
transformOrigin: "right center"
|
|
16426
|
-
}, t.isRtl ?
|
|
16426
|
+
}, t.isRtl ? H({
|
|
16427
16427
|
marginLeft: "14px"
|
|
16428
16428
|
}, t.touch && {
|
|
16429
16429
|
marginLeft: "24px"
|
|
16430
|
-
}) :
|
|
16430
|
+
}) : H({
|
|
16431
16431
|
marginRight: "14px"
|
|
16432
16432
|
}, t.touch && {
|
|
16433
16433
|
marginRight: "24px"
|
|
16434
16434
|
})),
|
|
16435
|
-
[`.${ni.popper}[data-popper-placement*="right"] &`]:
|
|
16435
|
+
[`.${ni.popper}[data-popper-placement*="right"] &`]: H({
|
|
16436
16436
|
transformOrigin: "left center"
|
|
16437
|
-
}, t.isRtl ?
|
|
16437
|
+
}, t.isRtl ? H({
|
|
16438
16438
|
marginRight: "14px"
|
|
16439
16439
|
}, t.touch && {
|
|
16440
16440
|
marginRight: "24px"
|
|
16441
|
-
}) :
|
|
16441
|
+
}) : H({
|
|
16442
16442
|
marginLeft: "14px"
|
|
16443
16443
|
}, t.touch && {
|
|
16444
16444
|
marginLeft: "24px"
|
|
16445
16445
|
})),
|
|
16446
|
-
[`.${ni.popper}[data-popper-placement*="top"] &`]:
|
|
16446
|
+
[`.${ni.popper}[data-popper-placement*="top"] &`]: H({
|
|
16447
16447
|
transformOrigin: "center bottom",
|
|
16448
16448
|
marginBottom: "14px"
|
|
16449
16449
|
}, t.touch && {
|
|
16450
16450
|
marginBottom: "24px"
|
|
16451
16451
|
}),
|
|
16452
|
-
[`.${ni.popper}[data-popper-placement*="bottom"] &`]:
|
|
16452
|
+
[`.${ni.popper}[data-popper-placement*="bottom"] &`]: H({
|
|
16453
16453
|
transformOrigin: "center top",
|
|
16454
16454
|
marginTop: "14px"
|
|
16455
16455
|
}, t.touch && {
|
|
@@ -16497,15 +16497,15 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16497
16497
|
}), {
|
|
16498
16498
|
arrow: k = !1,
|
|
16499
16499
|
children: j,
|
|
16500
|
-
components:
|
|
16501
|
-
componentsProps:
|
|
16500
|
+
components: G = {},
|
|
16501
|
+
componentsProps: X = {},
|
|
16502
16502
|
describeChild: $ = !1,
|
|
16503
|
-
disableFocusListener:
|
|
16504
|
-
disableHoverListener:
|
|
16503
|
+
disableFocusListener: oe = !1,
|
|
16504
|
+
disableHoverListener: te = !1,
|
|
16505
16505
|
disableInteractive: q = !1,
|
|
16506
16506
|
disableTouchListener: Y = !1,
|
|
16507
16507
|
enterDelay: N = 100,
|
|
16508
|
-
enterNextDelay:
|
|
16508
|
+
enterNextDelay: U = 0,
|
|
16509
16509
|
enterTouchDelay: F = 700,
|
|
16510
16510
|
followCursor: J = !1,
|
|
16511
16511
|
id: B,
|
|
@@ -16558,7 +16558,7 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16558
16558
|
});
|
|
16559
16559
|
}
|
|
16560
16560
|
), Lo = (ze) => {
|
|
16561
|
-
gt.current && ze.type !== "touchstart" || (kt && kt.removeAttribute("title"), Re.clear(), je.clear(), N || Iu &&
|
|
16561
|
+
gt.current && ze.type !== "touchstart" || (kt && kt.removeAttribute("title"), Re.clear(), je.clear(), N || Iu && U ? Re.start(Iu ? U : N, () => {
|
|
16562
16562
|
jr(ze);
|
|
16563
16563
|
}) : jr(ze));
|
|
16564
16564
|
}, xi = (ze) => {
|
|
@@ -16606,8 +16606,8 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16606
16606
|
y: ze.clientY
|
|
16607
16607
|
}, Ps.current && Ps.current.update();
|
|
16608
16608
|
}, so = {}, Ms = typeof Pe == "string";
|
|
16609
|
-
$ ? (so.title = !mt && Ms && !
|
|
16610
|
-
const ln =
|
|
16609
|
+
$ ? (so.title = !mt && Ms && !te ? Pe : null, so["aria-describedby"] = mt ? Ge : null) : (so["aria-label"] = Ms ? Pe : null, so["aria-labelledby"] = mt && !Ms ? Ge : null);
|
|
16610
|
+
const ln = H({}, so, fe, ft.props, {
|
|
16611
16611
|
className: ht(fe.className, ft.props.className),
|
|
16612
16612
|
onTouchStart: mc,
|
|
16613
16613
|
ref: Bf
|
|
@@ -16619,7 +16619,7 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16619
16619
|
`));
|
|
16620
16620
|
}, [kt]));
|
|
16621
16621
|
const Ci = {};
|
|
16622
|
-
Y || (ln.onTouchStart = Lf, ln.onTouchEnd = vc),
|
|
16622
|
+
Y || (ln.onTouchStart = Lf, ln.onTouchEnd = vc), te || (ln.onMouseOver = Tu(Lo, ln.onMouseOver), ln.onMouseLeave = Tu(xi, ln.onMouseLeave), Ht || (Ci.onMouseOver = Lo, Ci.onMouseLeave = xi)), oe || (ln.onFocus = Tu(gc, ln.onFocus), ln.onBlur = Tu(hc, ln.onBlur), Ht || (Ci.onFocus = gc, Ci.onBlur = hc)), process.env.NODE_ENV !== "production" && ft.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ft.props.title}\` or the Tooltip component.`].join(`
|
|
16623
16623
|
`));
|
|
16624
16624
|
const Vf = _.useMemo(() => {
|
|
16625
16625
|
var ze;
|
|
@@ -16631,25 +16631,25 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16631
16631
|
padding: 4
|
|
16632
16632
|
}
|
|
16633
16633
|
}];
|
|
16634
|
-
return (ze = ve.popperOptions) != null && ze.modifiers && (yn = yn.concat(ve.popperOptions.modifiers)),
|
|
16634
|
+
return (ze = ve.popperOptions) != null && ze.modifiers && (yn = yn.concat(ve.popperOptions.modifiers)), H({}, ve.popperOptions, {
|
|
16635
16635
|
modifiers: yn
|
|
16636
16636
|
});
|
|
16637
|
-
}, [Ot, ve]), wi =
|
|
16637
|
+
}, [Ot, ve]), wi = H({}, R, {
|
|
16638
16638
|
isRtl: At,
|
|
16639
16639
|
arrow: k,
|
|
16640
16640
|
disableInteractive: Ht,
|
|
16641
16641
|
placement: pe,
|
|
16642
16642
|
PopperComponentProp: xe,
|
|
16643
16643
|
touch: gt.current
|
|
16644
|
-
}), Rs = qQ(wi), yc = (r = (o = ye.popper) != null ? o :
|
|
16645
|
-
className: ht(Rs.popper, ve == null ? void 0 : ve.className, (v = (x = me.popper) != null ? x :
|
|
16646
|
-
}), wi), $f = $a(bc,
|
|
16647
|
-
className: ht(Rs.tooltip, (E = (M = me.tooltip) != null ? M :
|
|
16648
|
-
}), wi), jf = $a(Cc,
|
|
16649
|
-
className: ht(Rs.arrow, (P = (T = me.arrow) != null ? T :
|
|
16644
|
+
}), Rs = qQ(wi), yc = (r = (o = ye.popper) != null ? o : G.Popper) != null ? r : KQ, bc = (a = (s = (c = ye.transition) != null ? c : G.Transition) != null ? s : ae) != null ? a : Ed, xc = (u = (d = ye.tooltip) != null ? d : G.Tooltip) != null ? u : XQ, Cc = (p = (h = ye.arrow) != null ? h : G.Arrow) != null ? p : ZQ, wc = $a(yc, H({}, ve, (g = me.popper) != null ? g : X.popper, {
|
|
16645
|
+
className: ht(Rs.popper, ve == null ? void 0 : ve.className, (v = (x = me.popper) != null ? x : X.popper) == null ? void 0 : v.className)
|
|
16646
|
+
}), wi), $f = $a(bc, H({}, it, (b = me.transition) != null ? b : X.transition), wi), Wf = $a(xc, H({}, (w = me.tooltip) != null ? w : X.tooltip, {
|
|
16647
|
+
className: ht(Rs.tooltip, (E = (M = me.tooltip) != null ? M : X.tooltip) == null ? void 0 : E.className)
|
|
16648
|
+
}), wi), jf = $a(Cc, H({}, (S = me.arrow) != null ? S : X.arrow, {
|
|
16649
|
+
className: ht(Rs.arrow, (P = (T = me.arrow) != null ? T : X.arrow) == null ? void 0 : P.className)
|
|
16650
16650
|
}), wi);
|
|
16651
16651
|
return /* @__PURE__ */ Q(_.Fragment, {
|
|
16652
|
-
children: [/* @__PURE__ */ _.cloneElement(ft, ln), /* @__PURE__ */ m(yc,
|
|
16652
|
+
children: [/* @__PURE__ */ _.cloneElement(ft, ln), /* @__PURE__ */ m(yc, H({
|
|
16653
16653
|
as: xe ?? uv,
|
|
16654
16654
|
placement: pe,
|
|
16655
16655
|
anchorEl: J ? {
|
|
@@ -16670,11 +16670,11 @@ const GE = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
|
16670
16670
|
popperOptions: Vf,
|
|
16671
16671
|
children: ({
|
|
16672
16672
|
TransitionProps: ze
|
|
16673
|
-
}) => /* @__PURE__ */ m(bc,
|
|
16673
|
+
}) => /* @__PURE__ */ m(bc, H({
|
|
16674
16674
|
timeout: Qt.transitions.duration.shorter
|
|
16675
16675
|
}, ze, $f, {
|
|
16676
|
-
children: /* @__PURE__ */ Q(xc,
|
|
16677
|
-
children: [Pe, k ? /* @__PURE__ */ m(Cc,
|
|
16676
|
+
children: /* @__PURE__ */ Q(xc, H({}, Wf, {
|
|
16677
|
+
children: [Pe, k ? /* @__PURE__ */ m(Cc, H({}, jf, {
|
|
16678
16678
|
ref: St
|
|
16679
16679
|
})) : null]
|
|
16680
16680
|
}))
|
|
@@ -17016,7 +17016,7 @@ var vl = function() {
|
|
|
17016
17016
|
}, fv = function(e) {
|
|
17017
17017
|
var t = e.color, n = t === void 0 ? "primary" : t, r = e.icon, o = r === void 0 ? iJ : r;
|
|
17018
17018
|
e.invalid;
|
|
17019
|
-
var a = e.label, s = a === void 0 ? "ra.action.save" : a, c = e.onClick, u = e.mutationOptions, d = e.disabled, p = e.type, h = p === void 0 ? "submit" : p, g = e.transform, v = e.variant, x = v === void 0 ? "contained" : v, b = e.alwaysEnable, w = b === void 0 ? !1 : b, E = rJ(e, ["color", "icon", "invalid", "label", "onClick", "mutationOptions", "disabled", "type", "transform", "variant", "alwaysEnable"]), M = wt(), S = hs(), P = Qk(), T = cA(), R = T.dirtyFields, k = T.isValidating, j = T.isSubmitting,
|
|
17019
|
+
var a = e.label, s = a === void 0 ? "ra.action.save" : a, c = e.onClick, u = e.mutationOptions, d = e.disabled, p = e.type, h = p === void 0 ? "submit" : p, g = e.transform, v = e.variant, x = v === void 0 ? "contained" : v, b = e.alwaysEnable, w = b === void 0 ? !1 : b, E = rJ(e, ["color", "icon", "invalid", "label", "onClick", "mutationOptions", "disabled", "type", "transform", "variant", "alwaysEnable"]), M = wt(), S = hs(), P = Qk(), T = cA(), R = T.dirtyFields, k = T.isValidating, j = T.isSubmitting, G = Object.keys(R).length > 0, X = lJ(w === !1 || w === void 0 ? void 0 : !w, d || !G || k || j);
|
|
17020
17020
|
Kw(h === "submit" && (u && (u.onSuccess || u.onError) || g), 'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');
|
|
17021
17021
|
var $ = we(function(q) {
|
|
17022
17022
|
return rw(void 0, void 0, void 0, function() {
|
|
@@ -17035,7 +17035,7 @@ var vl = function() {
|
|
|
17035
17035
|
}
|
|
17036
17036
|
});
|
|
17037
17037
|
});
|
|
17038
|
-
}, [S.setError, P, u, g]),
|
|
17038
|
+
}, [S.setError, P, u, g]), oe = we(function(q) {
|
|
17039
17039
|
return rw(void 0, void 0, void 0, function() {
|
|
17040
17040
|
return ow(this, function(Y) {
|
|
17041
17041
|
switch (Y.label) {
|
|
@@ -17054,12 +17054,12 @@ var vl = function() {
|
|
|
17054
17054
|
}
|
|
17055
17055
|
});
|
|
17056
17056
|
});
|
|
17057
|
-
}, [c, h, S, $]),
|
|
17057
|
+
}, [c, h, S, $]), te = s && M(s, { _: s });
|
|
17058
17058
|
return _.createElement(
|
|
17059
17059
|
sJ,
|
|
17060
|
-
vl({ variant: x, type: h, color: n, "aria-label":
|
|
17060
|
+
vl({ variant: x, type: h, color: n, "aria-label": te, disabled: X, onClick: oe }, E),
|
|
17061
17061
|
j ? _.createElement(li, { sx: oJ, size: 14, thickness: 3, color: "inherit" }) : o,
|
|
17062
|
-
|
|
17062
|
+
te
|
|
17063
17063
|
);
|
|
17064
17064
|
}, oJ = {
|
|
17065
17065
|
"&.MuiCircularProgress-root": {
|
|
@@ -17255,13 +17255,13 @@ var Td = { exports: {} };
|
|
|
17255
17255
|
Td.exports;
|
|
17256
17256
|
(function(e, t) {
|
|
17257
17257
|
(function() {
|
|
17258
|
-
var n, r = "4.17.21", o = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", c = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", d = 500, p = "__lodash_placeholder__", h = 1, g = 2, v = 4, x = 1, b = 2, w = 1, E = 2, M = 4, S = 8, P = 16, T = 32, R = 64, k = 128, j = 256,
|
|
17258
|
+
var n, r = "4.17.21", o = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", c = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", d = 500, p = "__lodash_placeholder__", h = 1, g = 2, v = 4, x = 1, b = 2, w = 1, E = 2, M = 4, S = 8, P = 16, T = 32, R = 64, k = 128, j = 256, G = 512, X = 30, $ = "...", oe = 800, te = 16, q = 1, Y = 2, N = 3, U = 1 / 0, F = 9007199254740991, J = 17976931348623157e292, B = NaN, z = 4294967295, se = z - 1, de = z >>> 1, le = [
|
|
17259
17259
|
["ary", k],
|
|
17260
17260
|
["bind", w],
|
|
17261
17261
|
["bindKey", E],
|
|
17262
17262
|
["curry", S],
|
|
17263
17263
|
["curryRight", P],
|
|
17264
|
-
["flip",
|
|
17264
|
+
["flip", G],
|
|
17265
17265
|
["partial", T],
|
|
17266
17266
|
["partialRight", R],
|
|
17267
17267
|
["rearg", j]
|
|
@@ -17899,15 +17899,15 @@ Td.exports;
|
|
|
17899
17899
|
return i;
|
|
17900
17900
|
}
|
|
17901
17901
|
function o3() {
|
|
17902
|
-
var i = this.__wrapped__.value(), l = this.__dir__, f = $e(i), y = l < 0, A = f ? i.length : 0, O = m4(0, A, this.__views__), D = O.start, L = O.end, W = L - D,
|
|
17902
|
+
var i = this.__wrapped__.value(), l = this.__dir__, f = $e(i), y = l < 0, A = f ? i.length : 0, O = m4(0, A, this.__views__), D = O.start, L = O.end, W = L - D, ne = y ? L : D - 1, re = this.__iteratees__, ie = re.length, he = 0, Ae = cn(W, this.__takeCount__);
|
|
17903
17903
|
if (!f || !y && A == W && Ae == W)
|
|
17904
17904
|
return Gy(i, this.__actions__);
|
|
17905
17905
|
var De = [];
|
|
17906
17906
|
e:
|
|
17907
17907
|
for (; W-- && he < Ae; ) {
|
|
17908
|
-
|
|
17909
|
-
for (var Ye = -1, _e = i[
|
|
17910
|
-
var Xe =
|
|
17908
|
+
ne += l;
|
|
17909
|
+
for (var Ye = -1, _e = i[ne]; ++Ye < ie; ) {
|
|
17910
|
+
var Xe = re[Ye], Je = Xe.iteratee, Hn = Xe.type, Cn = Je(_e);
|
|
17911
17911
|
if (Hn == Y)
|
|
17912
17912
|
_e = Cn;
|
|
17913
17913
|
else if (!Cn) {
|
|
@@ -18052,12 +18052,12 @@ Td.exports;
|
|
|
18052
18052
|
Dr.prototype.clear = w3, Dr.prototype.delete = A3, Dr.prototype.get = S3, Dr.prototype.has = E3, Dr.prototype.set = I3;
|
|
18053
18053
|
function Ay(i, l) {
|
|
18054
18054
|
var f = $e(i), y = !f && Ri(i), A = !f && !y && Ho(i), O = !f && !y && !A && ba(i), D = f || y || A || O, L = D ? np(i.length, LP) : [], W = L.length;
|
|
18055
|
-
for (var
|
|
18056
|
-
(l || pt.call(i,
|
|
18057
|
-
(
|
|
18058
|
-
A && (
|
|
18059
|
-
O && (
|
|
18060
|
-
ho(
|
|
18055
|
+
for (var ne in i)
|
|
18056
|
+
(l || pt.call(i, ne)) && !(D && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
18057
|
+
(ne == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
18058
|
+
A && (ne == "offset" || ne == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
18059
|
+
O && (ne == "buffer" || ne == "byteLength" || ne == "byteOffset") || // Skip index properties.
|
|
18060
|
+
ho(ne, W))) && L.push(ne);
|
|
18061
18061
|
return L;
|
|
18062
18062
|
}
|
|
18063
18063
|
function Sy(i) {
|
|
@@ -18111,13 +18111,13 @@ Td.exports;
|
|
|
18111
18111
|
return i === i && (f !== n && (i = i <= f ? i : f), l !== n && (i = i >= l ? i : l)), i;
|
|
18112
18112
|
}
|
|
18113
18113
|
function ur(i, l, f, y, A, O) {
|
|
18114
|
-
var D, L = l & h, W = l & g,
|
|
18114
|
+
var D, L = l & h, W = l & g, ne = l & v;
|
|
18115
18115
|
if (f && (D = A ? f(i, y, A, O) : f(i)), D !== n)
|
|
18116
18116
|
return D;
|
|
18117
18117
|
if (!Dt(i))
|
|
18118
18118
|
return i;
|
|
18119
|
-
var
|
|
18120
|
-
if (
|
|
18119
|
+
var re = $e(i);
|
|
18120
|
+
if (re) {
|
|
18121
18121
|
if (D = y4(i), !L)
|
|
18122
18122
|
return Sn(i, D);
|
|
18123
18123
|
} else {
|
|
@@ -18142,7 +18142,7 @@ Td.exports;
|
|
|
18142
18142
|
}) : Wb(i) && i.forEach(function(_e, Xe) {
|
|
18143
18143
|
D.set(Xe, ur(_e, l, f, Xe, i, O));
|
|
18144
18144
|
});
|
|
18145
|
-
var De =
|
|
18145
|
+
var De = ne ? W ? Mp : Pp : W ? In : en, Ye = re ? n : De(i);
|
|
18146
18146
|
return sr(Ye || i, function(_e, Xe) {
|
|
18147
18147
|
Ye && (Xe = _e, _e = i[Xe]), Ns(D, Xe, ur(_e, l, f, Xe, i, O));
|
|
18148
18148
|
}), D;
|
|
@@ -18172,19 +18172,19 @@ Td.exports;
|
|
|
18172
18172
|
}, l);
|
|
18173
18173
|
}
|
|
18174
18174
|
function Vs(i, l, f, y) {
|
|
18175
|
-
var A = -1, O = Ic, D = !0, L = i.length, W = [],
|
|
18175
|
+
var A = -1, O = Ic, D = !0, L = i.length, W = [], ne = l.length;
|
|
18176
18176
|
if (!L)
|
|
18177
18177
|
return W;
|
|
18178
18178
|
f && (l = Pt(l, jn(f))), y ? (O = Xf, D = !1) : l.length >= o && (O = ks, D = !1, l = new Ii(l));
|
|
18179
18179
|
e:
|
|
18180
18180
|
for (; ++A < L; ) {
|
|
18181
|
-
var
|
|
18182
|
-
if (
|
|
18183
|
-
for (var he =
|
|
18181
|
+
var re = i[A], ie = f == null ? re : f(re);
|
|
18182
|
+
if (re = y || re !== 0 ? re : 0, D && ie === ie) {
|
|
18183
|
+
for (var he = ne; he--; )
|
|
18184
18184
|
if (l[he] === ie)
|
|
18185
18185
|
continue e;
|
|
18186
|
-
W.push(
|
|
18187
|
-
} else O(l, ie, y) || W.push(
|
|
18186
|
+
W.push(re);
|
|
18187
|
+
} else O(l, ie, y) || W.push(re);
|
|
18188
18188
|
}
|
|
18189
18189
|
return W;
|
|
18190
18190
|
}
|
|
@@ -18261,25 +18261,25 @@ Td.exports;
|
|
|
18261
18261
|
return i >= cn(l, f) && i < Zt(l, f);
|
|
18262
18262
|
}
|
|
18263
18263
|
function hp(i, l, f) {
|
|
18264
|
-
for (var y = f ? Xf : Ic, A = i[0].length, O = i.length, D = O, L = Z(O), W = 1 / 0,
|
|
18265
|
-
var
|
|
18266
|
-
D && l && (
|
|
18264
|
+
for (var y = f ? Xf : Ic, A = i[0].length, O = i.length, D = O, L = Z(O), W = 1 / 0, ne = []; D--; ) {
|
|
18265
|
+
var re = i[D];
|
|
18266
|
+
D && l && (re = Pt(re, jn(l))), W = cn(re.length, W), L[D] = !f && (l || A >= 120 && re.length >= 120) ? new Ii(D && re) : n;
|
|
18267
18267
|
}
|
|
18268
|
-
|
|
18268
|
+
re = i[0];
|
|
18269
18269
|
var ie = -1, he = L[0];
|
|
18270
18270
|
e:
|
|
18271
|
-
for (; ++ie < A &&
|
|
18272
|
-
var Ae =
|
|
18273
|
-
if (Ae = f || Ae !== 0 ? Ae : 0, !(he ? ks(he, De) : y(
|
|
18271
|
+
for (; ++ie < A && ne.length < W; ) {
|
|
18272
|
+
var Ae = re[ie], De = l ? l(Ae) : Ae;
|
|
18273
|
+
if (Ae = f || Ae !== 0 ? Ae : 0, !(he ? ks(he, De) : y(ne, De, f))) {
|
|
18274
18274
|
for (D = O; --D; ) {
|
|
18275
18275
|
var Ye = L[D];
|
|
18276
18276
|
if (!(Ye ? ks(Ye, De) : y(i[D], De, f)))
|
|
18277
18277
|
continue e;
|
|
18278
18278
|
}
|
|
18279
|
-
he && he.push(De),
|
|
18279
|
+
he && he.push(De), ne.push(Ae);
|
|
18280
18280
|
}
|
|
18281
18281
|
}
|
|
18282
|
-
return
|
|
18282
|
+
return ne;
|
|
18283
18283
|
}
|
|
18284
18284
|
function B3(i, l, f, y) {
|
|
18285
18285
|
return zr(i, function(A, O, D) {
|
|
@@ -18304,18 +18304,18 @@ Td.exports;
|
|
|
18304
18304
|
return i === l ? !0 : i == null || l == null || !Lt(i) && !Lt(l) ? i !== i && l !== l : $3(i, l, f, y, Ws, A);
|
|
18305
18305
|
}
|
|
18306
18306
|
function $3(i, l, f, y, A, O) {
|
|
18307
|
-
var D = $e(i), L = $e(l), W = D ? pe : un(i),
|
|
18308
|
-
W = W == ue ? At : W,
|
|
18309
|
-
var
|
|
18307
|
+
var D = $e(i), L = $e(l), W = D ? pe : un(i), ne = L ? pe : un(l);
|
|
18308
|
+
W = W == ue ? At : W, ne = ne == ue ? At : ne;
|
|
18309
|
+
var re = W == At, ie = ne == At, he = W == ne;
|
|
18310
18310
|
if (he && Ho(i)) {
|
|
18311
18311
|
if (!Ho(l))
|
|
18312
18312
|
return !1;
|
|
18313
|
-
D = !0,
|
|
18313
|
+
D = !0, re = !1;
|
|
18314
18314
|
}
|
|
18315
|
-
if (he && !
|
|
18315
|
+
if (he && !re)
|
|
18316
18316
|
return O || (O = new Dr()), D || ba(i) ? db(i, l, f, y, A, O) : p4(i, l, W, f, y, A, O);
|
|
18317
18317
|
if (!(f & x)) {
|
|
18318
|
-
var Ae =
|
|
18318
|
+
var Ae = re && pt.call(i, "__wrapped__"), De = ie && pt.call(l, "__wrapped__");
|
|
18319
18319
|
if (Ae || De) {
|
|
18320
18320
|
var Ye = Ae ? i.value() : i, _e = De ? l.value() : l;
|
|
18321
18321
|
return O || (O = new Dr()), A(Ye, _e, f, y, O);
|
|
@@ -18337,15 +18337,15 @@ Td.exports;
|
|
|
18337
18337
|
}
|
|
18338
18338
|
for (; ++A < O; ) {
|
|
18339
18339
|
L = f[A];
|
|
18340
|
-
var W = L[0],
|
|
18340
|
+
var W = L[0], ne = i[W], re = L[1];
|
|
18341
18341
|
if (D && L[2]) {
|
|
18342
|
-
if (
|
|
18342
|
+
if (ne === n && !(W in i))
|
|
18343
18343
|
return !1;
|
|
18344
18344
|
} else {
|
|
18345
18345
|
var ie = new Dr();
|
|
18346
18346
|
if (y)
|
|
18347
|
-
var he = y(
|
|
18348
|
-
if (!(he === n ? Ws(
|
|
18347
|
+
var he = y(ne, re, W, i, l, ie);
|
|
18348
|
+
if (!(he === n ? Ws(re, ne, x | b, y, ie) : he))
|
|
18349
18349
|
return !1;
|
|
18350
18350
|
}
|
|
18351
18351
|
}
|
|
@@ -18417,17 +18417,17 @@ Td.exports;
|
|
|
18417
18417
|
}, In);
|
|
18418
18418
|
}
|
|
18419
18419
|
function G3(i, l, f, y, A, O, D) {
|
|
18420
|
-
var L = Lp(i, f), W = Lp(l, f),
|
|
18421
|
-
if (
|
|
18422
|
-
cp(i, f,
|
|
18420
|
+
var L = Lp(i, f), W = Lp(l, f), ne = D.get(W);
|
|
18421
|
+
if (ne) {
|
|
18422
|
+
cp(i, f, ne);
|
|
18423
18423
|
return;
|
|
18424
18424
|
}
|
|
18425
|
-
var
|
|
18425
|
+
var re = O ? O(L, W, f + "", i, l, D) : n, ie = re === n;
|
|
18426
18426
|
if (ie) {
|
|
18427
18427
|
var he = $e(W), Ae = !he && Ho(W), De = !he && !Ae && ba(W);
|
|
18428
|
-
|
|
18428
|
+
re = W, he || Ae || De ? $e(L) ? re = L : $t(L) ? re = Sn(L) : Ae ? (ie = !1, re = Ky(W, !0)) : De ? (ie = !1, re = Xy(W, !0)) : re = [] : Gs(W) || Ri(W) ? (re = L, Ri(L) ? re = Gb(L) : (!Dt(L) || go(L)) && (re = hb(W))) : ie = !1;
|
|
18429
18429
|
}
|
|
18430
|
-
ie && (D.set(W,
|
|
18430
|
+
ie && (D.set(W, re), A(re, W, y, O, D), D.delete(W)), cp(i, f, re);
|
|
18431
18431
|
}
|
|
18432
18432
|
function Ny(i, l) {
|
|
18433
18433
|
var f = i.length;
|
|
@@ -18443,8 +18443,8 @@ Td.exports;
|
|
|
18443
18443
|
var y = -1;
|
|
18444
18444
|
l = Pt(l, jn(ke()));
|
|
18445
18445
|
var A = Fy(i, function(O, D, L) {
|
|
18446
|
-
var W = Pt(l, function(
|
|
18447
|
-
return
|
|
18446
|
+
var W = Pt(l, function(ne) {
|
|
18447
|
+
return ne(O);
|
|
18448
18448
|
});
|
|
18449
18449
|
return { criteria: W, index: ++y, value: O };
|
|
18450
18450
|
});
|
|
@@ -18472,7 +18472,7 @@ Td.exports;
|
|
|
18472
18472
|
function yp(i, l, f, y) {
|
|
18473
18473
|
var A = y ? yP : la, O = -1, D = l.length, L = i;
|
|
18474
18474
|
for (i === l && (l = Sn(l)), f && (L = Pt(i, jn(f))); ++O < D; )
|
|
18475
|
-
for (var W = 0,
|
|
18475
|
+
for (var W = 0, ne = l[O], re = f ? f(ne) : ne; (W = A(L, re, W, y)) > -1; )
|
|
18476
18476
|
L !== i && Lc.call(L, W, 1), Lc.call(i, W, 1);
|
|
18477
18477
|
return i;
|
|
18478
18478
|
}
|
|
@@ -18518,14 +18518,14 @@ Td.exports;
|
|
|
18518
18518
|
return i;
|
|
18519
18519
|
l = zo(l, i);
|
|
18520
18520
|
for (var A = -1, O = l.length, D = O - 1, L = i; L != null && ++A < O; ) {
|
|
18521
|
-
var W = Hr(l[A]),
|
|
18521
|
+
var W = Hr(l[A]), ne = f;
|
|
18522
18522
|
if (W === "__proto__" || W === "constructor" || W === "prototype")
|
|
18523
18523
|
return i;
|
|
18524
18524
|
if (A != D) {
|
|
18525
|
-
var
|
|
18526
|
-
|
|
18525
|
+
var re = L[W];
|
|
18526
|
+
ne = y ? y(re, W, L) : n, ne === n && (ne = Dt(re) ? re : ho(l[A + 1]) ? [] : {});
|
|
18527
18527
|
}
|
|
18528
|
-
Ns(L, W,
|
|
18528
|
+
Ns(L, W, ne), L = L[W];
|
|
18529
18529
|
}
|
|
18530
18530
|
return i;
|
|
18531
18531
|
}
|
|
@@ -18571,12 +18571,12 @@ Td.exports;
|
|
|
18571
18571
|
if (O === 0)
|
|
18572
18572
|
return 0;
|
|
18573
18573
|
l = f(l);
|
|
18574
|
-
for (var D = l !== l, L = l === null, W = Un(l),
|
|
18575
|
-
var
|
|
18574
|
+
for (var D = l !== l, L = l === null, W = Un(l), ne = l === n; A < O; ) {
|
|
18575
|
+
var re = Vc((A + O) / 2), ie = f(i[re]), he = ie !== n, Ae = ie === null, De = ie === ie, Ye = Un(ie);
|
|
18576
18576
|
if (D)
|
|
18577
18577
|
var _e = y || De;
|
|
18578
|
-
else
|
|
18579
|
-
_e ? A =
|
|
18578
|
+
else ne ? _e = De && (y || he) : L ? _e = De && he && (y || !Ae) : W ? _e = De && he && !Ae && (y || !Ye) : Ae || Ye ? _e = !1 : _e = y ? ie <= l : ie < l;
|
|
18579
|
+
_e ? A = re + 1 : O = re;
|
|
18580
18580
|
}
|
|
18581
18581
|
return cn(O, se);
|
|
18582
18582
|
}
|
|
@@ -18601,28 +18601,28 @@ Td.exports;
|
|
|
18601
18601
|
if (Un(i))
|
|
18602
18602
|
return wy ? wy.call(i) : "";
|
|
18603
18603
|
var l = i + "";
|
|
18604
|
-
return l == "0" && 1 / i == -
|
|
18604
|
+
return l == "0" && 1 / i == -U ? "-0" : l;
|
|
18605
18605
|
}
|
|
18606
18606
|
function jo(i, l, f) {
|
|
18607
18607
|
var y = -1, A = Ic, O = i.length, D = !0, L = [], W = L;
|
|
18608
18608
|
if (f)
|
|
18609
18609
|
D = !1, A = Xf;
|
|
18610
18610
|
else if (O >= o) {
|
|
18611
|
-
var
|
|
18612
|
-
if (
|
|
18613
|
-
return Oc(
|
|
18611
|
+
var ne = l ? null : d4(i);
|
|
18612
|
+
if (ne)
|
|
18613
|
+
return Oc(ne);
|
|
18614
18614
|
D = !1, A = ks, W = new Ii();
|
|
18615
18615
|
} else
|
|
18616
18616
|
W = l ? [] : L;
|
|
18617
18617
|
e:
|
|
18618
18618
|
for (; ++y < O; ) {
|
|
18619
|
-
var
|
|
18620
|
-
if (
|
|
18619
|
+
var re = i[y], ie = l ? l(re) : re;
|
|
18620
|
+
if (re = f || re !== 0 ? re : 0, D && ie === ie) {
|
|
18621
18621
|
for (var he = W.length; he--; )
|
|
18622
18622
|
if (W[he] === ie)
|
|
18623
18623
|
continue e;
|
|
18624
|
-
l && W.push(ie), L.push(
|
|
18625
|
-
} else A(W, ie, f) || (W !== L && W.push(ie), L.push(
|
|
18624
|
+
l && W.push(ie), L.push(re);
|
|
18625
|
+
} else A(W, ie, f) || (W !== L && W.push(ie), L.push(re));
|
|
18626
18626
|
}
|
|
18627
18627
|
return L;
|
|
18628
18628
|
}
|
|
@@ -18703,10 +18703,10 @@ Td.exports;
|
|
|
18703
18703
|
}
|
|
18704
18704
|
function Zy(i, l) {
|
|
18705
18705
|
if (i !== l) {
|
|
18706
|
-
var f = i !== n, y = i === null, A = i === i, O = Un(i), D = l !== n, L = l === null, W = l === l,
|
|
18707
|
-
if (!L && !
|
|
18706
|
+
var f = i !== n, y = i === null, A = i === i, O = Un(i), D = l !== n, L = l === null, W = l === l, ne = Un(l);
|
|
18707
|
+
if (!L && !ne && !O && i > l || O && D && W && !L && !ne || y && D && W || !f && W || !A)
|
|
18708
18708
|
return 1;
|
|
18709
|
-
if (!y && !O && !
|
|
18709
|
+
if (!y && !O && !ne && i < l || ne && f && A && !y && !O || L && f && A || !D && A || !W)
|
|
18710
18710
|
return -1;
|
|
18711
18711
|
}
|
|
18712
18712
|
return 0;
|
|
@@ -18717,25 +18717,25 @@ Td.exports;
|
|
|
18717
18717
|
if (W) {
|
|
18718
18718
|
if (y >= L)
|
|
18719
18719
|
return W;
|
|
18720
|
-
var
|
|
18721
|
-
return W * (
|
|
18720
|
+
var ne = f[y];
|
|
18721
|
+
return W * (ne == "desc" ? -1 : 1);
|
|
18722
18722
|
}
|
|
18723
18723
|
}
|
|
18724
18724
|
return i.index - l.index;
|
|
18725
18725
|
}
|
|
18726
18726
|
function Qy(i, l, f, y) {
|
|
18727
|
-
for (var A = -1, O = i.length, D = f.length, L = -1, W = l.length,
|
|
18728
|
-
|
|
18727
|
+
for (var A = -1, O = i.length, D = f.length, L = -1, W = l.length, ne = Zt(O - D, 0), re = Z(W + ne), ie = !y; ++L < W; )
|
|
18728
|
+
re[L] = l[L];
|
|
18729
18729
|
for (; ++A < D; )
|
|
18730
|
-
(ie || A < O) && (
|
|
18731
|
-
for (;
|
|
18732
|
-
|
|
18733
|
-
return
|
|
18730
|
+
(ie || A < O) && (re[f[A]] = i[A]);
|
|
18731
|
+
for (; ne--; )
|
|
18732
|
+
re[L++] = i[A++];
|
|
18733
|
+
return re;
|
|
18734
18734
|
}
|
|
18735
18735
|
function Jy(i, l, f, y) {
|
|
18736
|
-
for (var A = -1, O = i.length, D = -1, L = f.length, W = -1,
|
|
18736
|
+
for (var A = -1, O = i.length, D = -1, L = f.length, W = -1, ne = l.length, re = Zt(O - L, 0), ie = Z(re + ne), he = !y; ++A < re; )
|
|
18737
18737
|
ie[A] = i[A];
|
|
18738
|
-
for (var Ae = A; ++W <
|
|
18738
|
+
for (var Ae = A; ++W < ne; )
|
|
18739
18739
|
ie[Ae + W] = l[W];
|
|
18740
18740
|
for (; ++D < L; )
|
|
18741
18741
|
(he || A < O) && (ie[Ae + f[D]] = i[A++]);
|
|
@@ -18849,8 +18849,8 @@ Td.exports;
|
|
|
18849
18849
|
function A() {
|
|
18850
18850
|
for (var O = arguments.length, D = Z(O), L = O, W = ya(A); L--; )
|
|
18851
18851
|
D[L] = arguments[L];
|
|
18852
|
-
var
|
|
18853
|
-
if (O -=
|
|
18852
|
+
var ne = O < 3 && D[0] !== W && D[O - 1] !== W ? [] : Vo(D, W);
|
|
18853
|
+
if (O -= ne.length, O < f)
|
|
18854
18854
|
return sb(
|
|
18855
18855
|
i,
|
|
18856
18856
|
l,
|
|
@@ -18858,13 +18858,13 @@ Td.exports;
|
|
|
18858
18858
|
A.placeholder,
|
|
18859
18859
|
n,
|
|
18860
18860
|
D,
|
|
18861
|
-
|
|
18861
|
+
ne,
|
|
18862
18862
|
n,
|
|
18863
18863
|
n,
|
|
18864
18864
|
f - O
|
|
18865
18865
|
);
|
|
18866
|
-
var
|
|
18867
|
-
return Wn(
|
|
18866
|
+
var re = this && this !== rn && this instanceof A ? y : i;
|
|
18867
|
+
return Wn(re, this, D);
|
|
18868
18868
|
}
|
|
18869
18869
|
return A;
|
|
18870
18870
|
}
|
|
@@ -18897,23 +18897,23 @@ Td.exports;
|
|
|
18897
18897
|
W && Fp(W[0]) && W[1] == (k | S | T | j) && !W[4].length && W[9] == 1 ? D = D[eu(W[0])].apply(D, W[3]) : D = O.length == 1 && Fp(O) ? D[L]() : D.thru(O);
|
|
18898
18898
|
}
|
|
18899
18899
|
return function() {
|
|
18900
|
-
var
|
|
18901
|
-
if (D &&
|
|
18902
|
-
return D.plant(
|
|
18903
|
-
for (var ie = 0, he = f ? l[ie].apply(this,
|
|
18900
|
+
var ne = arguments, re = ne[0];
|
|
18901
|
+
if (D && ne.length == 1 && $e(re))
|
|
18902
|
+
return D.plant(re).value();
|
|
18903
|
+
for (var ie = 0, he = f ? l[ie].apply(this, ne) : re; ++ie < f; )
|
|
18904
18904
|
he = l[ie].call(this, he);
|
|
18905
18905
|
return he;
|
|
18906
18906
|
};
|
|
18907
18907
|
});
|
|
18908
18908
|
}
|
|
18909
|
-
function Xc(i, l, f, y, A, O, D, L, W,
|
|
18910
|
-
var
|
|
18909
|
+
function Xc(i, l, f, y, A, O, D, L, W, ne) {
|
|
18910
|
+
var re = l & k, ie = l & w, he = l & E, Ae = l & (S | P), De = l & G, Ye = he ? n : zs(i);
|
|
18911
18911
|
function _e() {
|
|
18912
18912
|
for (var Xe = arguments.length, Je = Z(Xe), Hn = Xe; Hn--; )
|
|
18913
18913
|
Je[Hn] = arguments[Hn];
|
|
18914
18914
|
if (Ae)
|
|
18915
18915
|
var Cn = ya(_e), Gn = CP(Je, Cn);
|
|
18916
|
-
if (y && (Je = Qy(Je, y, A, Ae)), O && (Je = Jy(Je, O, D, Ae)), Xe -= Gn, Ae && Xe <
|
|
18916
|
+
if (y && (Je = Qy(Je, y, A, Ae)), O && (Je = Jy(Je, O, D, Ae)), Xe -= Gn, Ae && Xe < ne) {
|
|
18917
18917
|
var Wt = Vo(Je, Cn);
|
|
18918
18918
|
return sb(
|
|
18919
18919
|
i,
|
|
@@ -18925,11 +18925,11 @@ Td.exports;
|
|
|
18925
18925
|
Wt,
|
|
18926
18926
|
L,
|
|
18927
18927
|
W,
|
|
18928
|
-
|
|
18928
|
+
ne - Xe
|
|
18929
18929
|
);
|
|
18930
18930
|
}
|
|
18931
18931
|
var Fr = ie ? f : this, vo = he ? Fr[i] : i;
|
|
18932
|
-
return Xe = Je.length, L ? Je = P4(Je, L) : De && Xe > 1 && Je.reverse(),
|
|
18932
|
+
return Xe = Je.length, L ? Je = P4(Je, L) : De && Xe > 1 && Je.reverse(), re && W < Xe && (Je.length = W), this && this !== rn && this instanceof _e && (vo = Ye || zs(vo)), vo.apply(Fr, Je);
|
|
18933
18933
|
}
|
|
18934
18934
|
return _e;
|
|
18935
18935
|
}
|
|
@@ -18972,10 +18972,10 @@ Td.exports;
|
|
|
18972
18972
|
function u4(i, l, f, y) {
|
|
18973
18973
|
var A = l & w, O = zs(i);
|
|
18974
18974
|
function D() {
|
|
18975
|
-
for (var L = -1, W = arguments.length,
|
|
18976
|
-
ie[
|
|
18975
|
+
for (var L = -1, W = arguments.length, ne = -1, re = y.length, ie = Z(re + W), he = this && this !== rn && this instanceof D ? O : i; ++ne < re; )
|
|
18976
|
+
ie[ne] = y[ne];
|
|
18977
18977
|
for (; W--; )
|
|
18978
|
-
ie[
|
|
18978
|
+
ie[ne++] = arguments[++L];
|
|
18979
18979
|
return Wn(he, A ? f : this, ie);
|
|
18980
18980
|
}
|
|
18981
18981
|
return D;
|
|
@@ -18990,9 +18990,9 @@ Td.exports;
|
|
|
18990
18990
|
return typeof l == "string" && typeof f == "string" || (l = pr(l), f = pr(f)), i(l, f);
|
|
18991
18991
|
};
|
|
18992
18992
|
}
|
|
18993
|
-
function sb(i, l, f, y, A, O, D, L, W,
|
|
18994
|
-
var
|
|
18995
|
-
l |=
|
|
18993
|
+
function sb(i, l, f, y, A, O, D, L, W, ne) {
|
|
18994
|
+
var re = l & S, ie = re ? D : n, he = re ? n : D, Ae = re ? O : n, De = re ? n : O;
|
|
18995
|
+
l |= re ? T : R, l &= ~(re ? R : T), l & M || (l &= ~(w | E));
|
|
18996
18996
|
var Ye = [
|
|
18997
18997
|
i,
|
|
18998
18998
|
l,
|
|
@@ -19003,7 +19003,7 @@ Td.exports;
|
|
|
19003
19003
|
he,
|
|
19004
19004
|
L,
|
|
19005
19005
|
W,
|
|
19006
|
-
|
|
19006
|
+
ne
|
|
19007
19007
|
], _e = f.apply(n, Ye);
|
|
19008
19008
|
return Fp(i) && bb(_e, Ye), _e.placeholder = y, xb(_e, i, l);
|
|
19009
19009
|
}
|
|
@@ -19017,7 +19017,7 @@ Td.exports;
|
|
|
19017
19017
|
return l(f);
|
|
19018
19018
|
};
|
|
19019
19019
|
}
|
|
19020
|
-
var d4 = pa && 1 / Oc(new pa([, -0]))[1] ==
|
|
19020
|
+
var d4 = pa && 1 / Oc(new pa([, -0]))[1] == U ? function(i) {
|
|
19021
19021
|
return new pa(i);
|
|
19022
19022
|
} : Xp;
|
|
19023
19023
|
function lb(i) {
|
|
@@ -19030,9 +19030,9 @@ Td.exports;
|
|
|
19030
19030
|
var W = l & E;
|
|
19031
19031
|
if (!W && typeof i != "function")
|
|
19032
19032
|
throw new lr(s);
|
|
19033
|
-
var
|
|
19034
|
-
if (
|
|
19035
|
-
var
|
|
19033
|
+
var ne = y ? y.length : 0;
|
|
19034
|
+
if (ne || (l &= ~(T | R), y = A = n), D = D === n ? D : Zt(Ue(D), 0), L = L === n ? L : Ue(L), ne -= A ? A.length : 0, l & R) {
|
|
19035
|
+
var re = y, ie = A;
|
|
19036
19036
|
y = A = n;
|
|
19037
19037
|
}
|
|
19038
19038
|
var he = W ? n : Rp(i), Ae = [
|
|
@@ -19041,13 +19041,13 @@ Td.exports;
|
|
|
19041
19041
|
f,
|
|
19042
19042
|
y,
|
|
19043
19043
|
A,
|
|
19044
|
-
|
|
19044
|
+
re,
|
|
19045
19045
|
ie,
|
|
19046
19046
|
O,
|
|
19047
19047
|
D,
|
|
19048
19048
|
L
|
|
19049
19049
|
];
|
|
19050
|
-
if (he && I4(Ae, he), i = Ae[0], l = Ae[1], f = Ae[2], y = Ae[3], A = Ae[4], L = Ae[9] = Ae[9] === n ? W ? 0 : i.length : Zt(Ae[9] -
|
|
19050
|
+
if (he && I4(Ae, he), i = Ae[0], l = Ae[1], f = Ae[2], y = Ae[3], A = Ae[4], L = Ae[9] = Ae[9] === n ? W ? 0 : i.length : Zt(Ae[9] - ne, 0), !L && l & (S | P) && (l &= ~(S | P)), !l || l == w)
|
|
19051
19051
|
var De = l4(i, l, f);
|
|
19052
19052
|
else l == S || l == P ? De = c4(i, l, L) : (l == T || l == (w | T)) && !A.length ? De = u4(i, l, f, y) : De = Xc.apply(n, Ae);
|
|
19053
19053
|
var Ye = he ? jy : bb;
|
|
@@ -19066,9 +19066,9 @@ Td.exports;
|
|
|
19066
19066
|
var D = f & x, L = i.length, W = l.length;
|
|
19067
19067
|
if (L != W && !(D && W > L))
|
|
19068
19068
|
return !1;
|
|
19069
|
-
var
|
|
19070
|
-
if (
|
|
19071
|
-
return
|
|
19069
|
+
var ne = O.get(i), re = O.get(l);
|
|
19070
|
+
if (ne && re)
|
|
19071
|
+
return ne == l && re == i;
|
|
19072
19072
|
var ie = -1, he = !0, Ae = f & b ? new Ii() : n;
|
|
19073
19073
|
for (O.set(i, l), O.set(l, i); ++ie < L; ) {
|
|
19074
19074
|
var De = i[ie], Ye = l[ie];
|
|
@@ -19118,12 +19118,12 @@ Td.exports;
|
|
|
19118
19118
|
var W = y & x;
|
|
19119
19119
|
if (L || (L = Oc), i.size != l.size && !W)
|
|
19120
19120
|
return !1;
|
|
19121
|
-
var
|
|
19122
|
-
if (
|
|
19123
|
-
return
|
|
19121
|
+
var ne = D.get(i);
|
|
19122
|
+
if (ne)
|
|
19123
|
+
return ne == l;
|
|
19124
19124
|
y |= b, D.set(i, l);
|
|
19125
|
-
var
|
|
19126
|
-
return D.delete(i),
|
|
19125
|
+
var re = db(L(i), L(l), y, A, O, D);
|
|
19126
|
+
return D.delete(i), re;
|
|
19127
19127
|
case Ht:
|
|
19128
19128
|
if (Bs)
|
|
19129
19129
|
return Bs.call(i) == Bs.call(l);
|
|
@@ -19131,8 +19131,8 @@ Td.exports;
|
|
|
19131
19131
|
return !1;
|
|
19132
19132
|
}
|
|
19133
19133
|
function h4(i, l, f, y, A, O) {
|
|
19134
|
-
var D = f & x, L = Pp(i), W = L.length,
|
|
19135
|
-
if (W !=
|
|
19134
|
+
var D = f & x, L = Pp(i), W = L.length, ne = Pp(l), re = ne.length;
|
|
19135
|
+
if (W != re && !D)
|
|
19136
19136
|
return !1;
|
|
19137
19137
|
for (var ie = W; ie--; ) {
|
|
19138
19138
|
var he = L[ie];
|
|
@@ -19433,9 +19433,9 @@ Td.exports;
|
|
|
19433
19433
|
function Cb(i) {
|
|
19434
19434
|
var l = 0, f = 0;
|
|
19435
19435
|
return function() {
|
|
19436
|
-
var y = qP(), A =
|
|
19436
|
+
var y = qP(), A = te - (y - f);
|
|
19437
19437
|
if (f = y, A > 0) {
|
|
19438
|
-
if (++l >=
|
|
19438
|
+
if (++l >= oe)
|
|
19439
19439
|
return arguments[0];
|
|
19440
19440
|
} else
|
|
19441
19441
|
l = 0;
|
|
@@ -19460,7 +19460,7 @@ Td.exports;
|
|
|
19460
19460
|
if (typeof i == "string" || Un(i))
|
|
19461
19461
|
return i;
|
|
19462
19462
|
var l = i + "";
|
|
19463
|
-
return l == "0" && 1 / i == -
|
|
19463
|
+
return l == "0" && 1 / i == -U ? "-0" : l;
|
|
19464
19464
|
}
|
|
19465
19465
|
function Mi(i) {
|
|
19466
19466
|
if (i != null) {
|
|
@@ -19558,7 +19558,7 @@ Td.exports;
|
|
|
19558
19558
|
}
|
|
19559
19559
|
function j4(i) {
|
|
19560
19560
|
var l = i == null ? 0 : i.length;
|
|
19561
|
-
return l ? on(i,
|
|
19561
|
+
return l ? on(i, U) : [];
|
|
19562
19562
|
}
|
|
19563
19563
|
function z4(i, l) {
|
|
19564
19564
|
var f = i == null ? 0 : i.length;
|
|
@@ -19833,7 +19833,7 @@ Td.exports;
|
|
|
19833
19833
|
return on(ou(i, l), 1);
|
|
19834
19834
|
}
|
|
19835
19835
|
function Y5(i, l) {
|
|
19836
|
-
return on(ou(i, l),
|
|
19836
|
+
return on(ou(i, l), U);
|
|
19837
19837
|
}
|
|
19838
19838
|
function q5(i, l, f) {
|
|
19839
19839
|
return f = f === n ? 1 : Ue(f), on(ou(i, l), f);
|
|
@@ -19964,23 +19964,23 @@ Td.exports;
|
|
|
19964
19964
|
return y.placeholder = Bb.placeholder, y;
|
|
19965
19965
|
}
|
|
19966
19966
|
function Nb(i, l, f) {
|
|
19967
|
-
var y, A, O, D, L, W,
|
|
19967
|
+
var y, A, O, D, L, W, ne = 0, re = !1, ie = !1, he = !0;
|
|
19968
19968
|
if (typeof i != "function")
|
|
19969
19969
|
throw new lr(s);
|
|
19970
|
-
l = pr(l) || 0, Dt(f) && (
|
|
19970
|
+
l = pr(l) || 0, Dt(f) && (re = !!f.leading, ie = "maxWait" in f, O = ie ? Zt(pr(f.maxWait) || 0, l) : O, he = "trailing" in f ? !!f.trailing : he);
|
|
19971
19971
|
function Ae(Wt) {
|
|
19972
19972
|
var Fr = y, vo = A;
|
|
19973
|
-
return y = A = n,
|
|
19973
|
+
return y = A = n, ne = Wt, D = i.apply(vo, Fr), D;
|
|
19974
19974
|
}
|
|
19975
19975
|
function De(Wt) {
|
|
19976
|
-
return
|
|
19976
|
+
return ne = Wt, L = Hs(Xe, l), re ? Ae(Wt) : D;
|
|
19977
19977
|
}
|
|
19978
19978
|
function Ye(Wt) {
|
|
19979
|
-
var Fr = Wt - W, vo = Wt -
|
|
19979
|
+
var Fr = Wt - W, vo = Wt - ne, r1 = l - Fr;
|
|
19980
19980
|
return ie ? cn(r1, O - vo) : r1;
|
|
19981
19981
|
}
|
|
19982
19982
|
function _e(Wt) {
|
|
19983
|
-
var Fr = Wt - W, vo = Wt -
|
|
19983
|
+
var Fr = Wt - W, vo = Wt - ne;
|
|
19984
19984
|
return W === n || Fr >= l || Fr < 0 || ie && vo >= O;
|
|
19985
19985
|
}
|
|
19986
19986
|
function Xe() {
|
|
@@ -19993,7 +19993,7 @@ Td.exports;
|
|
|
19993
19993
|
return L = n, he && y ? Ae(Wt) : (y = A = n, D);
|
|
19994
19994
|
}
|
|
19995
19995
|
function Hn() {
|
|
19996
|
-
L !== n && qy(L),
|
|
19996
|
+
L !== n && qy(L), ne = 0, y = W = A = L = n;
|
|
19997
19997
|
}
|
|
19998
19998
|
function Cn() {
|
|
19999
19999
|
return L === n ? D : Je(iu());
|
|
@@ -20016,7 +20016,7 @@ Td.exports;
|
|
|
20016
20016
|
return Ty(i, pr(l) || 0, f);
|
|
20017
20017
|
});
|
|
20018
20018
|
function p6(i) {
|
|
20019
|
-
return fo(i,
|
|
20019
|
+
return fo(i, G);
|
|
20020
20020
|
}
|
|
20021
20021
|
function au(i, l) {
|
|
20022
20022
|
if (typeof i != "function" || l != null && typeof l != "function")
|
|
@@ -20263,7 +20263,7 @@ Td.exports;
|
|
|
20263
20263
|
function mo(i) {
|
|
20264
20264
|
if (!i)
|
|
20265
20265
|
return i === 0 ? i : 0;
|
|
20266
|
-
if (i = pr(i), i ===
|
|
20266
|
+
if (i = pr(i), i === U || i === -U) {
|
|
20267
20267
|
var l = i < 0 ? -1 : 1;
|
|
20268
20268
|
return l * J;
|
|
20269
20269
|
}
|
|
@@ -20323,8 +20323,8 @@ Td.exports;
|
|
|
20323
20323
|
var f = -1, y = l.length, A = y > 2 ? l[2] : n;
|
|
20324
20324
|
for (A && xn(l[0], l[1], A) && (y = 1); ++f < y; )
|
|
20325
20325
|
for (var O = l[f], D = In(O), L = -1, W = D.length; ++L < W; ) {
|
|
20326
|
-
var
|
|
20327
|
-
(
|
|
20326
|
+
var ne = D[L], re = i[ne];
|
|
20327
|
+
(re === n || _r(re, fa[ne]) && !pt.call(i, ne)) && (i[ne] = O[ne]);
|
|
20328
20328
|
}
|
|
20329
20329
|
return i;
|
|
20330
20330
|
}), nM = qe(function(i) {
|
|
@@ -20547,19 +20547,19 @@ Td.exports;
|
|
|
20547
20547
|
function KM(i, l, f) {
|
|
20548
20548
|
var y = I.templateSettings;
|
|
20549
20549
|
f && xn(i, l, f) && (l = n), i = at(i), l = uu({}, l, y, cb);
|
|
20550
|
-
var A = uu({}, l.imports, y.imports, cb), O = en(A), D = rp(A, O), L, W,
|
|
20551
|
-
(l.escape || Ac).source + "|" +
|
|
20550
|
+
var A = uu({}, l.imports, y.imports, cb), O = en(A), D = rp(A, O), L, W, ne = 0, re = l.interpolate || Ac, ie = "__p += '", he = ip(
|
|
20551
|
+
(l.escape || Ac).source + "|" + re.source + "|" + (re === vc ? Cc : Ac).source + "|" + (l.evaluate || Ac).source + "|$",
|
|
20552
20552
|
"g"
|
|
20553
20553
|
), Ae = "//# sourceURL=" + (pt.call(l, "sourceURL") ? (l.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++oP + "]") + `
|
|
20554
20554
|
`;
|
|
20555
20555
|
i.replace(he, function(_e, Xe, Je, Hn, Cn, Gn) {
|
|
20556
|
-
return Je || (Je = Hn), ie += i.slice(
|
|
20556
|
+
return Je || (Je = Hn), ie += i.slice(ne, Gn).replace(FO, SP), Xe && (L = !0, ie += `' +
|
|
20557
20557
|
__e(` + Xe + `) +
|
|
20558
20558
|
'`), Cn && (W = !0, ie += `';
|
|
20559
20559
|
` + Cn + `;
|
|
20560
20560
|
__p += '`), Je && (ie += `' +
|
|
20561
20561
|
((__t = (` + Je + `)) == null ? '' : __t) +
|
|
20562
|
-
'`),
|
|
20562
|
+
'`), ne = Gn + _e.length, _e;
|
|
20563
20563
|
}), ie += `';
|
|
20564
20564
|
`;
|
|
20565
20565
|
var De = pt.call(l, "variable") && l.variable;
|
|
@@ -20615,7 +20615,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20615
20615
|
return Uo(y, A).join("");
|
|
20616
20616
|
}
|
|
20617
20617
|
function tR(i, l) {
|
|
20618
|
-
var f =
|
|
20618
|
+
var f = X, y = $;
|
|
20619
20619
|
if (Dt(l)) {
|
|
20620
20620
|
var A = "separator" in l ? l.separator : A;
|
|
20621
20621
|
f = "length" in l ? Ue(l.length) : f, y = "omission" in l ? zn(l.omission) : y;
|
|
@@ -20636,9 +20636,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20636
20636
|
return W + y;
|
|
20637
20637
|
if (D && (L += W.length - L), zp(A)) {
|
|
20638
20638
|
if (i.slice(L).search(A)) {
|
|
20639
|
-
var
|
|
20640
|
-
for (A.global || (A = ip(A.source, at(wc.exec(A)) + "g")), A.lastIndex = 0;
|
|
20641
|
-
var ie =
|
|
20639
|
+
var ne, re = W;
|
|
20640
|
+
for (A.global || (A = ip(A.source, at(wc.exec(A)) + "g")), A.lastIndex = 0; ne = A.exec(re); )
|
|
20641
|
+
var ie = ne.index;
|
|
20642
20642
|
W = W.slice(0, ie === n ? L : ie);
|
|
20643
20643
|
}
|
|
20644
20644
|
} else if (i.indexOf(zn(A), L) != L) {
|
|
@@ -20721,10 +20721,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20721
20721
|
return sr(A, function(L) {
|
|
20722
20722
|
var W = l[L];
|
|
20723
20723
|
i[L] = W, D && (i.prototype[L] = function() {
|
|
20724
|
-
var
|
|
20725
|
-
if (O ||
|
|
20726
|
-
var
|
|
20727
|
-
return ie.push({ func: W, args: arguments, thisArg: i }),
|
|
20724
|
+
var ne = this.__chain__;
|
|
20725
|
+
if (O || ne) {
|
|
20726
|
+
var re = i(this.__wrapped__), ie = re.__actions__ = Sn(this.__actions__);
|
|
20727
|
+
return ie.push({ func: W, args: arguments, thisArg: i }), re.__chain__ = ne, re;
|
|
20728
20728
|
}
|
|
20729
20729
|
return W.apply(i, No([this.value()], arguments));
|
|
20730
20730
|
});
|
|
@@ -20875,13 +20875,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20875
20875
|
}, zr(Qe.prototype, function(i, l) {
|
|
20876
20876
|
var f = /^(?:filter|find|map|reject)|While$/.test(l), y = /^(?:head|last)$/.test(l), A = I[y ? "take" + (l == "last" ? "Right" : "") : l], O = y || /^find/.test(l);
|
|
20877
20877
|
A && (I.prototype[l] = function() {
|
|
20878
|
-
var D = this.__wrapped__, L = y ? [1] : arguments, W = D instanceof Qe,
|
|
20878
|
+
var D = this.__wrapped__, L = y ? [1] : arguments, W = D instanceof Qe, ne = L[0], re = W || $e(D), ie = function(Xe) {
|
|
20879
20879
|
var Je = A.apply(I, No([Xe], L));
|
|
20880
20880
|
return y && he ? Je[0] : Je;
|
|
20881
20881
|
};
|
|
20882
|
-
|
|
20882
|
+
re && f && typeof ne == "function" && ne.length != 1 && (W = re = !1);
|
|
20883
20883
|
var he = this.__chain__, Ae = !!this.__actions__.length, De = O && !he, Ye = W && !Ae;
|
|
20884
|
-
if (!O &&
|
|
20884
|
+
if (!O && re) {
|
|
20885
20885
|
D = Ye ? D : new Qe(this);
|
|
20886
20886
|
var _e = i.apply(D, L);
|
|
20887
20887
|
return _e.__actions__.push({ func: ru, args: [ie], thisArg: n }), new cr(_e, he);
|
|
@@ -20915,7 +20915,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20915
20915
|
}).call(kn);
|
|
20916
20916
|
})(Td, Td.exports);
|
|
20917
20917
|
var yt = Td.exports;
|
|
20918
|
-
const
|
|
20918
|
+
const K = /* @__PURE__ */ Do(yt), vee = ["e-", "entities/"];
|
|
20919
20919
|
function yee(e) {
|
|
20920
20920
|
let t = e;
|
|
20921
20921
|
return vee.forEach((n) => {
|
|
@@ -20985,7 +20985,7 @@ function Cee(e, t, n, r, o) {
|
|
|
20985
20985
|
return v.type === "item" ? g.includes(v.id) : (c(v, g), v.children && v.children.length > 0);
|
|
20986
20986
|
})), h;
|
|
20987
20987
|
}
|
|
20988
|
-
const u =
|
|
20988
|
+
const u = K.cloneDeep(e).map((h) => ({
|
|
20989
20989
|
children: [],
|
|
20990
20990
|
...h,
|
|
20991
20991
|
type: h.type || "group"
|
|
@@ -21085,7 +21085,7 @@ function Aee() {
|
|
|
21085
21085
|
const e = wt(), { isLoading: t, menu: n, findInMenu: r } = aI(), { pathname: o } = $l();
|
|
21086
21086
|
return We(() => {
|
|
21087
21087
|
var g;
|
|
21088
|
-
const a = o.split("/").filter((v) => v), s =
|
|
21088
|
+
const a = o.split("/").filter((v) => v), s = K.cloneDeep(n);
|
|
21089
21089
|
let c = o, u = r(s, o);
|
|
21090
21090
|
if ((!u || u.type === "collapse" || u.type === "group") && (u = r(s, a[a.length - 1]), c = u ? u.id : c), !u || u.type === "collapse" || u.type === "group")
|
|
21091
21091
|
for (let v = a.length; v >= 0; v--) {
|
|
@@ -21124,11 +21124,11 @@ function Od() {
|
|
|
21124
21124
|
return hv();
|
|
21125
21125
|
}
|
|
21126
21126
|
function ao(e, t, n) {
|
|
21127
|
-
const r =
|
|
21128
|
-
n != null && n.defaults ?
|
|
21127
|
+
const r = K.chain((e == null ? void 0 : e.sx) ?? {}).cloneDeepWith((s) => K.isFunction(s) ? s : void 0).value();
|
|
21128
|
+
n != null && n.defaults ? K.defaultsDeep(r, t) : K.merge(r, t);
|
|
21129
21129
|
const [o, a] = Le(r);
|
|
21130
21130
|
return Me(() => {
|
|
21131
|
-
|
|
21131
|
+
K.isEqual(o, r) || a(r);
|
|
21132
21132
|
}, [o, r]), o;
|
|
21133
21133
|
}
|
|
21134
21134
|
function ble() {
|
|
@@ -21517,7 +21517,7 @@ function Ta(e) {
|
|
|
21517
21517
|
return aa.isRef($) ? $.getValue(n, x, b) : $;
|
|
21518
21518
|
}
|
|
21519
21519
|
function S($ = {}) {
|
|
21520
|
-
const
|
|
21520
|
+
const oe = Object.assign({
|
|
21521
21521
|
value: n,
|
|
21522
21522
|
originalValue: a,
|
|
21523
21523
|
label: s.spec.label,
|
|
@@ -21525,9 +21525,9 @@ function Ta(e) {
|
|
|
21525
21525
|
spec: s.spec,
|
|
21526
21526
|
disableStackTrace: $.disableStackTrace || E
|
|
21527
21527
|
}, h, $.params);
|
|
21528
|
-
for (const q of Object.keys(
|
|
21529
|
-
const
|
|
21530
|
-
return
|
|
21528
|
+
for (const q of Object.keys(oe)) oe[q] = M(oe[q]);
|
|
21529
|
+
const te = new Rn(Rn.formatError($.message || g, oe), n, oe.path, $.type || d, oe.disableStackTrace);
|
|
21530
|
+
return te.params = oe, te;
|
|
21531
21531
|
}
|
|
21532
21532
|
const P = w ? c : u;
|
|
21533
21533
|
let T = {
|
|
@@ -21548,19 +21548,19 @@ function Ta(e) {
|
|
|
21548
21548
|
};
|
|
21549
21549
|
if (v && So(n))
|
|
21550
21550
|
return R(!0);
|
|
21551
|
-
let
|
|
21551
|
+
let G;
|
|
21552
21552
|
try {
|
|
21553
|
-
var
|
|
21554
|
-
if (
|
|
21553
|
+
var X;
|
|
21554
|
+
if (G = p.call(T, n, T), typeof ((X = G) == null ? void 0 : X.then) == "function") {
|
|
21555
21555
|
if (o.sync)
|
|
21556
21556
|
throw new Error(`Validation test of type: "${T.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
|
|
21557
|
-
return Promise.resolve(
|
|
21557
|
+
return Promise.resolve(G).then(R, k);
|
|
21558
21558
|
}
|
|
21559
21559
|
} catch ($) {
|
|
21560
21560
|
k($);
|
|
21561
21561
|
return;
|
|
21562
21562
|
}
|
|
21563
|
-
R(
|
|
21563
|
+
R(G);
|
|
21564
21564
|
}
|
|
21565
21565
|
return t.OPTIONS = e, t;
|
|
21566
21566
|
}
|
|
@@ -22725,7 +22725,7 @@ class xI extends Ar {
|
|
|
22725
22725
|
}
|
|
22726
22726
|
}
|
|
22727
22727
|
xv.prototype = xI.prototype;
|
|
22728
|
-
const gw = hI().test("function", "Invalid function", (e) =>
|
|
22728
|
+
const gw = hI().test("function", "Invalid function", (e) => K.isFunction(e));
|
|
22729
22729
|
var ei, Yi, al;
|
|
22730
22730
|
class xte {
|
|
22731
22731
|
constructor() {
|
|
@@ -22735,7 +22735,7 @@ class xte {
|
|
|
22735
22735
|
get(t) {
|
|
22736
22736
|
if (Eo().required().validateSync(t), qs(this, Yi, al).call(this)) {
|
|
22737
22737
|
const n = localStorage.getItem(t);
|
|
22738
|
-
return
|
|
22738
|
+
return K.isNil(n) ? null : JSON.parse(n);
|
|
22739
22739
|
} else
|
|
22740
22740
|
return null;
|
|
22741
22741
|
}
|
|
@@ -22748,28 +22748,28 @@ class xte {
|
|
|
22748
22748
|
}));
|
|
22749
22749
|
}
|
|
22750
22750
|
unwatch(t, n) {
|
|
22751
|
-
Eo().required().validateSync(t), gw.optional().default(
|
|
22751
|
+
Eo().required().validateSync(t), gw.optional().default(K.identity).validateSync(n), qs(this, Yi, al).call(this) && (n !== void 0 ? Go(this, ei, K.reject(On(this, ei), (r) => r.key === t && r.callback === n)) : Go(this, ei, K.reject(On(this, ei), (r) => r.key === t)));
|
|
22752
22752
|
}
|
|
22753
22753
|
}
|
|
22754
22754
|
ei = new WeakMap(), Yi = new WeakSet(), al = function() {
|
|
22755
22755
|
return typeof window < "u";
|
|
22756
22756
|
};
|
|
22757
22757
|
function jg(e = {}, t = [], n = {}) {
|
|
22758
|
-
const { isEmpty: r =
|
|
22759
|
-
return !
|
|
22758
|
+
const { isEmpty: r = K.isEmpty } = n;
|
|
22759
|
+
return !K.some(t, (o) => r((e ?? {})[o.locale]));
|
|
22760
22760
|
}
|
|
22761
22761
|
function Cte(e = {}, t = [], n = {}) {
|
|
22762
|
-
const { isEmpty: r =
|
|
22763
|
-
return
|
|
22762
|
+
const { isEmpty: r = K.isEmpty } = n;
|
|
22763
|
+
return K.some(t, (o) => !r((e ?? {})[o.locale]));
|
|
22764
22764
|
}
|
|
22765
22765
|
function CI(e, t, n) {
|
|
22766
|
-
if (!
|
|
22766
|
+
if (!K.isPlainObject(e) || t === void 0)
|
|
22767
22767
|
return;
|
|
22768
|
-
const r =
|
|
22768
|
+
const r = K.isPlainObject(n) ? n : {}, o = !!((r == null ? void 0 : r.fallback) ?? !0);
|
|
22769
22769
|
let a = e[String(t)];
|
|
22770
22770
|
if (a === void 0 && o) {
|
|
22771
|
-
const s =
|
|
22772
|
-
a =
|
|
22771
|
+
const s = K.isArray(r.fallbackLocales) && !K.isEmpty(r.fallbackLocales) ? r.fallbackLocales : ["en"];
|
|
22772
|
+
a = K.chain(s).map((c) => e[String(c)]).reject(K.isUndefined).first().value(), a === void 0 && (a = K.chain(e).values().first().value());
|
|
22773
22773
|
}
|
|
22774
22774
|
return a;
|
|
22775
22775
|
}
|
|
@@ -22782,15 +22782,15 @@ var wI = { exports: {} };
|
|
|
22782
22782
|
var Y = ["th", "st", "nd", "rd"], N = q % 100;
|
|
22783
22783
|
return "[" + q + (Y[(N - 20) % 10] || Y[N] || Y[0]) + "]";
|
|
22784
22784
|
} }, S = function(q, Y, N) {
|
|
22785
|
-
var
|
|
22786
|
-
return !
|
|
22785
|
+
var U = String(q);
|
|
22786
|
+
return !U || U.length >= Y ? q : "" + Array(Y + 1 - U.length).join(N) + q;
|
|
22787
22787
|
}, P = { s: S, z: function(q) {
|
|
22788
|
-
var Y = -q.utcOffset(), N = Math.abs(Y),
|
|
22789
|
-
return (Y <= 0 ? "+" : "-") + S(
|
|
22788
|
+
var Y = -q.utcOffset(), N = Math.abs(Y), U = Math.floor(N / 60), F = N % 60;
|
|
22789
|
+
return (Y <= 0 ? "+" : "-") + S(U, 2, "0") + ":" + S(F, 2, "0");
|
|
22790
22790
|
}, m: function q(Y, N) {
|
|
22791
22791
|
if (Y.date() < N.date()) return -q(N, Y);
|
|
22792
|
-
var
|
|
22793
|
-
return +(-(
|
|
22792
|
+
var U = 12 * (N.year() - Y.year()) + (N.month() - Y.month()), F = Y.clone().add(U, h), J = N - F < 0, B = Y.clone().add(U + (J ? -1 : 1), h);
|
|
22793
|
+
return +(-(U + (N - F) / (J ? F - B : B - F)) || 0);
|
|
22794
22794
|
}, a: function(q) {
|
|
22795
22795
|
return q < 0 ? Math.ceil(q) || 0 : Math.floor(q);
|
|
22796
22796
|
}, p: function(q) {
|
|
@@ -22800,8 +22800,8 @@ var wI = { exports: {} };
|
|
|
22800
22800
|
} }, T = "en", R = {};
|
|
22801
22801
|
R[T] = M;
|
|
22802
22802
|
var k = "$isDayjsObject", j = function(q) {
|
|
22803
|
-
return q instanceof
|
|
22804
|
-
},
|
|
22803
|
+
return q instanceof oe || !(!q || !q[k]);
|
|
22804
|
+
}, G = function q(Y, N, U) {
|
|
22805
22805
|
var F;
|
|
22806
22806
|
if (!Y) return T;
|
|
22807
22807
|
if (typeof Y == "string") {
|
|
@@ -22813,23 +22813,23 @@ var wI = { exports: {} };
|
|
|
22813
22813
|
var z = Y.name;
|
|
22814
22814
|
R[z] = Y, F = z;
|
|
22815
22815
|
}
|
|
22816
|
-
return !
|
|
22817
|
-
},
|
|
22816
|
+
return !U && F && (T = F), F || !U && T;
|
|
22817
|
+
}, X = function(q, Y) {
|
|
22818
22818
|
if (j(q)) return q.clone();
|
|
22819
22819
|
var N = typeof Y == "object" ? Y : {};
|
|
22820
|
-
return N.date = q, N.args = arguments, new
|
|
22820
|
+
return N.date = q, N.args = arguments, new oe(N);
|
|
22821
22821
|
}, $ = P;
|
|
22822
|
-
$.l =
|
|
22823
|
-
return
|
|
22822
|
+
$.l = G, $.i = j, $.w = function(q, Y) {
|
|
22823
|
+
return X(q, { locale: Y.$L, utc: Y.$u, x: Y.$x, $offset: Y.$offset });
|
|
22824
22824
|
};
|
|
22825
|
-
var
|
|
22825
|
+
var oe = function() {
|
|
22826
22826
|
function q(N) {
|
|
22827
|
-
this.$L =
|
|
22827
|
+
this.$L = G(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[k] = !0;
|
|
22828
22828
|
}
|
|
22829
22829
|
var Y = q.prototype;
|
|
22830
22830
|
return Y.parse = function(N) {
|
|
22831
|
-
this.$d = function(
|
|
22832
|
-
var F =
|
|
22831
|
+
this.$d = function(U) {
|
|
22832
|
+
var F = U.date, J = U.utc;
|
|
22833
22833
|
if (F === null) return /* @__PURE__ */ new Date(NaN);
|
|
22834
22834
|
if ($.u(F)) return /* @__PURE__ */ new Date();
|
|
22835
22835
|
if (F instanceof Date) return new Date(F);
|
|
@@ -22849,21 +22849,21 @@ var wI = { exports: {} };
|
|
|
22849
22849
|
return $;
|
|
22850
22850
|
}, Y.isValid = function() {
|
|
22851
22851
|
return this.$d.toString() !== b;
|
|
22852
|
-
}, Y.isSame = function(N,
|
|
22853
|
-
var F =
|
|
22854
|
-
return this.startOf(
|
|
22855
|
-
}, Y.isAfter = function(N,
|
|
22856
|
-
return
|
|
22857
|
-
}, Y.isBefore = function(N,
|
|
22858
|
-
return this.endOf(
|
|
22859
|
-
}, Y.$g = function(N,
|
|
22860
|
-
return $.u(N) ? this[
|
|
22852
|
+
}, Y.isSame = function(N, U) {
|
|
22853
|
+
var F = X(N);
|
|
22854
|
+
return this.startOf(U) <= F && F <= this.endOf(U);
|
|
22855
|
+
}, Y.isAfter = function(N, U) {
|
|
22856
|
+
return X(N) < this.startOf(U);
|
|
22857
|
+
}, Y.isBefore = function(N, U) {
|
|
22858
|
+
return this.endOf(U) < X(N);
|
|
22859
|
+
}, Y.$g = function(N, U, F) {
|
|
22860
|
+
return $.u(N) ? this[U] : this.set(F, N);
|
|
22861
22861
|
}, Y.unix = function() {
|
|
22862
22862
|
return Math.floor(this.valueOf() / 1e3);
|
|
22863
22863
|
}, Y.valueOf = function() {
|
|
22864
22864
|
return this.$d.getTime();
|
|
22865
|
-
}, Y.startOf = function(N,
|
|
22866
|
-
var F = this, J = !!$.u(
|
|
22865
|
+
}, Y.startOf = function(N, U) {
|
|
22866
|
+
var F = this, J = !!$.u(U) || U, B = $.p(N), z = function(me, ye) {
|
|
22867
22867
|
var Pe = $.w(F.$u ? Date.UTC(F.$y, ye, me) : new Date(F.$y, ye, me), F);
|
|
22868
22868
|
return J ? Pe : Pe.endOf(d);
|
|
22869
22869
|
}, se = function(me, ye) {
|
|
@@ -22891,22 +22891,22 @@ var wI = { exports: {} };
|
|
|
22891
22891
|
}
|
|
22892
22892
|
}, Y.endOf = function(N) {
|
|
22893
22893
|
return this.startOf(N, !1);
|
|
22894
|
-
}, Y.$set = function(N,
|
|
22895
|
-
var F, J = $.p(N), B = "set" + (this.$u ? "UTC" : ""), z = (F = {}, F[d] = B + "Date", F[x] = B + "Date", F[h] = B + "Month", F[v] = B + "FullYear", F[u] = B + "Hours", F[c] = B + "Minutes", F[s] = B + "Seconds", F[a] = B + "Milliseconds", F)[J], se = J === d ? this.$D + (
|
|
22894
|
+
}, Y.$set = function(N, U) {
|
|
22895
|
+
var F, J = $.p(N), B = "set" + (this.$u ? "UTC" : ""), z = (F = {}, F[d] = B + "Date", F[x] = B + "Date", F[h] = B + "Month", F[v] = B + "FullYear", F[u] = B + "Hours", F[c] = B + "Minutes", F[s] = B + "Seconds", F[a] = B + "Milliseconds", F)[J], se = J === d ? this.$D + (U - this.$W) : U;
|
|
22896
22896
|
if (J === h || J === v) {
|
|
22897
22897
|
var de = this.clone().set(x, 1);
|
|
22898
22898
|
de.$d[z](se), de.init(), this.$d = de.set(x, Math.min(this.$D, de.daysInMonth())).$d;
|
|
22899
22899
|
} else z && this.$d[z](se);
|
|
22900
22900
|
return this.init(), this;
|
|
22901
|
-
}, Y.set = function(N,
|
|
22902
|
-
return this.clone().$set(N,
|
|
22901
|
+
}, Y.set = function(N, U) {
|
|
22902
|
+
return this.clone().$set(N, U);
|
|
22903
22903
|
}, Y.get = function(N) {
|
|
22904
22904
|
return this[$.p(N)]();
|
|
22905
|
-
}, Y.add = function(N,
|
|
22905
|
+
}, Y.add = function(N, U) {
|
|
22906
22906
|
var F, J = this;
|
|
22907
22907
|
N = Number(N);
|
|
22908
|
-
var B = $.p(
|
|
22909
|
-
var ue =
|
|
22908
|
+
var B = $.p(U), z = function(le) {
|
|
22909
|
+
var ue = X(J);
|
|
22910
22910
|
return $.w(ue.date(ue.date() + Math.round(le * N)), J);
|
|
22911
22911
|
};
|
|
22912
22912
|
if (B === h) return this.set(h, this.$M + N);
|
|
@@ -22915,13 +22915,13 @@ var wI = { exports: {} };
|
|
|
22915
22915
|
if (B === p) return z(7);
|
|
22916
22916
|
var se = (F = {}, F[c] = r, F[u] = o, F[s] = n, F)[B] || 1, de = this.$d.getTime() + N * se;
|
|
22917
22917
|
return $.w(de, this);
|
|
22918
|
-
}, Y.subtract = function(N,
|
|
22919
|
-
return this.add(-1 * N,
|
|
22918
|
+
}, Y.subtract = function(N, U) {
|
|
22919
|
+
return this.add(-1 * N, U);
|
|
22920
22920
|
}, Y.format = function(N) {
|
|
22921
|
-
var
|
|
22921
|
+
var U = this, F = this.$locale();
|
|
22922
22922
|
if (!this.isValid()) return F.invalidDate || b;
|
|
22923
22923
|
var J = N || "YYYY-MM-DDTHH:mm:ssZ", B = $.z(this), z = this.$H, se = this.$m, de = this.$M, le = F.weekdays, ue = F.months, pe = F.meridiem, xe = function(ye, Pe, ae, it) {
|
|
22924
|
-
return ye && (ye[Pe] || ye(
|
|
22924
|
+
return ye && (ye[Pe] || ye(U, J)) || ae[Pe].slice(0, it);
|
|
22925
22925
|
}, ve = function(ye) {
|
|
22926
22926
|
return $.s(z % 12 || 12, ye, "0");
|
|
22927
22927
|
}, me = pe || function(ye, Pe, ae) {
|
|
@@ -22932,9 +22932,9 @@ var wI = { exports: {} };
|
|
|
22932
22932
|
return Pe || function(ae) {
|
|
22933
22933
|
switch (ae) {
|
|
22934
22934
|
case "YY":
|
|
22935
|
-
return String(
|
|
22935
|
+
return String(U.$y).slice(-2);
|
|
22936
22936
|
case "YYYY":
|
|
22937
|
-
return $.s(
|
|
22937
|
+
return $.s(U.$y, 4, "0");
|
|
22938
22938
|
case "M":
|
|
22939
22939
|
return de + 1;
|
|
22940
22940
|
case "MM":
|
|
@@ -22944,17 +22944,17 @@ var wI = { exports: {} };
|
|
|
22944
22944
|
case "MMMM":
|
|
22945
22945
|
return xe(ue, de);
|
|
22946
22946
|
case "D":
|
|
22947
|
-
return
|
|
22947
|
+
return U.$D;
|
|
22948
22948
|
case "DD":
|
|
22949
|
-
return $.s(
|
|
22949
|
+
return $.s(U.$D, 2, "0");
|
|
22950
22950
|
case "d":
|
|
22951
|
-
return String(
|
|
22951
|
+
return String(U.$W);
|
|
22952
22952
|
case "dd":
|
|
22953
|
-
return xe(F.weekdaysMin,
|
|
22953
|
+
return xe(F.weekdaysMin, U.$W, le, 2);
|
|
22954
22954
|
case "ddd":
|
|
22955
|
-
return xe(F.weekdaysShort,
|
|
22955
|
+
return xe(F.weekdaysShort, U.$W, le, 3);
|
|
22956
22956
|
case "dddd":
|
|
22957
|
-
return le[
|
|
22957
|
+
return le[U.$W];
|
|
22958
22958
|
case "H":
|
|
22959
22959
|
return String(z);
|
|
22960
22960
|
case "HH":
|
|
@@ -22972,11 +22972,11 @@ var wI = { exports: {} };
|
|
|
22972
22972
|
case "mm":
|
|
22973
22973
|
return $.s(se, 2, "0");
|
|
22974
22974
|
case "s":
|
|
22975
|
-
return String(
|
|
22975
|
+
return String(U.$s);
|
|
22976
22976
|
case "ss":
|
|
22977
|
-
return $.s(
|
|
22977
|
+
return $.s(U.$s, 2, "0");
|
|
22978
22978
|
case "SSS":
|
|
22979
|
-
return $.s(
|
|
22979
|
+
return $.s(U.$ms, 3, "0");
|
|
22980
22980
|
case "Z":
|
|
22981
22981
|
return B;
|
|
22982
22982
|
}
|
|
@@ -22985,8 +22985,8 @@ var wI = { exports: {} };
|
|
|
22985
22985
|
});
|
|
22986
22986
|
}, Y.utcOffset = function() {
|
|
22987
22987
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
22988
|
-
}, Y.diff = function(N,
|
|
22989
|
-
var J, B = this, z = $.p(
|
|
22988
|
+
}, Y.diff = function(N, U, F) {
|
|
22989
|
+
var J, B = this, z = $.p(U), se = X(N), de = (se.utcOffset() - this.utcOffset()) * r, le = this - se, ue = function() {
|
|
22990
22990
|
return $.m(B, se);
|
|
22991
22991
|
};
|
|
22992
22992
|
switch (z) {
|
|
@@ -23022,9 +23022,9 @@ var wI = { exports: {} };
|
|
|
23022
23022
|
return this.endOf(h).$D;
|
|
23023
23023
|
}, Y.$locale = function() {
|
|
23024
23024
|
return R[this.$L];
|
|
23025
|
-
}, Y.locale = function(N,
|
|
23025
|
+
}, Y.locale = function(N, U) {
|
|
23026
23026
|
if (!N) return this.$L;
|
|
23027
|
-
var F = this.clone(), J =
|
|
23027
|
+
var F = this.clone(), J = G(N, U, !0);
|
|
23028
23028
|
return J && (F.$L = J), F;
|
|
23029
23029
|
}, Y.clone = function() {
|
|
23030
23030
|
return $.w(this.$d, this);
|
|
@@ -23037,16 +23037,16 @@ var wI = { exports: {} };
|
|
|
23037
23037
|
}, Y.toString = function() {
|
|
23038
23038
|
return this.$d.toUTCString();
|
|
23039
23039
|
}, q;
|
|
23040
|
-
}(),
|
|
23041
|
-
return
|
|
23042
|
-
|
|
23040
|
+
}(), te = oe.prototype;
|
|
23041
|
+
return X.prototype = te, [["$ms", a], ["$s", s], ["$m", c], ["$H", u], ["$W", d], ["$M", h], ["$y", v], ["$D", x]].forEach(function(q) {
|
|
23042
|
+
te[q[1]] = function(Y) {
|
|
23043
23043
|
return this.$g(Y, q[0], q[1]);
|
|
23044
23044
|
};
|
|
23045
|
-
}),
|
|
23046
|
-
return q.$i || (q(Y,
|
|
23047
|
-
},
|
|
23048
|
-
return
|
|
23049
|
-
},
|
|
23045
|
+
}), X.extend = function(q, Y) {
|
|
23046
|
+
return q.$i || (q(Y, oe, X), q.$i = !0), X;
|
|
23047
|
+
}, X.locale = G, X.isDayjs = j, X.unix = function(q) {
|
|
23048
|
+
return X(1e3 * q);
|
|
23049
|
+
}, X.en = R[T], X.Ls = R, X.p = {}, X;
|
|
23050
23050
|
});
|
|
23051
23051
|
})(wI);
|
|
23052
23052
|
var AI = wI.exports;
|
|
@@ -23060,14 +23060,14 @@ function wte(e) {
|
|
|
23060
23060
|
const sl = new xte();
|
|
23061
23061
|
function Ate(e, t, n) {
|
|
23062
23062
|
return function(r) {
|
|
23063
|
-
const o =
|
|
23063
|
+
const o = K.isFunction(r) ? r(t) : r;
|
|
23064
23064
|
return sl.set(e, o), n(o), o;
|
|
23065
23065
|
};
|
|
23066
23066
|
}
|
|
23067
23067
|
function SI(e, t) {
|
|
23068
23068
|
var u;
|
|
23069
23069
|
Eo().required().validateSync(e);
|
|
23070
|
-
const [n, r] = Le(sl.get(e) ?? t), o = Jn(t), a =
|
|
23070
|
+
const [n, r] = Le(sl.get(e) ?? t), o = Jn(t), a = K.isEqual(o.current, t) ? o.current : t, s = Jn(), c = s.current;
|
|
23071
23071
|
return Me(() => {
|
|
23072
23072
|
r(sl.get(e) ?? a);
|
|
23073
23073
|
}, [e, a, r]), Me(() => {
|
|
@@ -23077,7 +23077,7 @@ function SI(e, t) {
|
|
|
23077
23077
|
return sl.watch(e, d), () => {
|
|
23078
23078
|
sl.unwatch(e, d);
|
|
23079
23079
|
};
|
|
23080
|
-
}, [e, r]), (e !== (c == null ? void 0 : c.key) || !
|
|
23080
|
+
}, [e, r]), (e !== (c == null ? void 0 : c.key) || !K.isEqual(n, c == null ? void 0 : c.value)) && (s.current = { key: e, value: n, setter: Ate(e, n, r) }), [n, ((u = s.current) == null ? void 0 : u.setter) ?? K.noop];
|
|
23081
23081
|
}
|
|
23082
23082
|
function EI(e) {
|
|
23083
23083
|
const [t] = Vl();
|
|
@@ -23095,11 +23095,11 @@ function Cle(e) {
|
|
|
23095
23095
|
);
|
|
23096
23096
|
}
|
|
23097
23097
|
function Ste(e) {
|
|
23098
|
-
if (!
|
|
23098
|
+
if (!K.isPlainObject(e))
|
|
23099
23099
|
throw new Error("[useMemoizedObject]: param must be a plain JS object");
|
|
23100
23100
|
const [t, n] = Le(e);
|
|
23101
23101
|
return Me(() => {
|
|
23102
|
-
|
|
23102
|
+
K.isEqual(e, t) || n(e);
|
|
23103
23103
|
}, [e, t]), t;
|
|
23104
23104
|
}
|
|
23105
23105
|
function Rf() {
|
|
@@ -23149,7 +23149,7 @@ function wle(e, t) {
|
|
|
23149
23149
|
});
|
|
23150
23150
|
}
|
|
23151
23151
|
const s = new ResizeObserver(a);
|
|
23152
|
-
return
|
|
23152
|
+
return K.isEmpty(e == null ? void 0 : e.current) || (s.observe(e == null ? void 0 : e.current), a()), () => {
|
|
23153
23153
|
s.disconnect();
|
|
23154
23154
|
};
|
|
23155
23155
|
}, [o, t, e]), n;
|
|
@@ -23759,7 +23759,7 @@ function Qte({ variant: e = "body1", ...t }) {
|
|
|
23759
23759
|
return /* @__PURE__ */ m(Zte, { ...t, variant: e });
|
|
23760
23760
|
}
|
|
23761
23761
|
function Ole(e) {
|
|
23762
|
-
const t = Vn(), n = Dm(), { source: r = "" } = e, a = fs(e)[r], s = !jg(a, n), c = ao(e, { flex: 1 }), [u] = Vl(), d = We(() => s ? /* @__PURE__ */ m(mk, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ m(vk, {}), [s, t.palette.warning.main]), p = We(() => /* @__PURE__ */ m(xt, { children:
|
|
23762
|
+
const t = Vn(), n = Dm(), { source: r = "" } = e, a = fs(e)[r], s = !jg(a, n), c = ao(e, { flex: 1 }), [u] = Vl(), d = We(() => s ? /* @__PURE__ */ m(mk, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ m(vk, {}), [s, t.palette.warning.main]), p = We(() => /* @__PURE__ */ m(xt, { children: K.map(n, (h, g) => /* @__PURE__ */ m(ge, { children: `${h.locale.toUpperCase()}: ${(a ?? {})[h.locale] ?? ""}` }, g)) }), [a, n]);
|
|
23763
23763
|
return (
|
|
23764
23764
|
// @ts-ignore
|
|
23765
23765
|
/* @__PURE__ */ m(U0, { title: p, arrow: !1, children: /* @__PURE__ */ Q(xt, { alignItems: "center", direction: "row", gap: 1, children: [
|
|
@@ -24171,7 +24171,7 @@ function Vle({
|
|
|
24171
24171
|
(R = "ra.validation.required", k = "ra.validation.required_locale") => (j) => {
|
|
24172
24172
|
if (e && !t && !Cte(j, s))
|
|
24173
24173
|
return R;
|
|
24174
|
-
if (t && (!
|
|
24174
|
+
if (t && (!K.has(j, t) || K.isEmpty(K.get(j, t))))
|
|
24175
24175
|
return { message: k, args: { locale: t } };
|
|
24176
24176
|
if (!e && r && !jg(j, s))
|
|
24177
24177
|
return R;
|
|
@@ -24180,7 +24180,7 @@ function Vle({
|
|
|
24180
24180
|
), u = We(() => n8(n, c()), [n, c]), { fieldState: d } = r8({ ...o, validate: u }), { error: p } = d, h = Hm({ name: a }), g = !jg(h, s), [v] = Vl(), [x, b] = Le(v), [w, E] = Le(null), M = !!w, S = we(
|
|
24181
24181
|
(R) => E(M ? null : R.currentTarget),
|
|
24182
24182
|
[M, E]
|
|
24183
|
-
), P = we(() => E(null), [E]), T = We(() =>
|
|
24183
|
+
), P = we(() => E(null), [E]), T = We(() => K.map(s, (R, k) => /* @__PURE__ */ m(
|
|
24184
24184
|
Pm,
|
|
24185
24185
|
{
|
|
24186
24186
|
onClick: () => {
|
|
@@ -24197,7 +24197,7 @@ function Vle({
|
|
|
24197
24197
|
validate: u,
|
|
24198
24198
|
helperText: p != null && p.message ? /* @__PURE__ */ m(o8, { error: p == null ? void 0 : p.message }) : o == null ? void 0 : o.helperText,
|
|
24199
24199
|
children: /* @__PURE__ */ m(dt, { children: /* @__PURE__ */ Q(Be, { flex: 1, children: [
|
|
24200
|
-
|
|
24200
|
+
K.map(s, (R, k) => /* @__PURE__ */ m(
|
|
24201
24201
|
to,
|
|
24202
24202
|
{
|
|
24203
24203
|
...o,
|
|
@@ -24458,7 +24458,7 @@ function _I({ onSuccess: e, firstAccess: t }) {
|
|
|
24458
24458
|
const FI = gn({});
|
|
24459
24459
|
function Ane(e) {
|
|
24460
24460
|
const { useDefaults: t = !1, queryOptions: n = {} } = e, r = ko(), o = Nm(), { search: a } = $l(), s = `${r}/new`, c = we(() => {
|
|
24461
|
-
if (!t || !
|
|
24461
|
+
if (!t || !K.isFunction(o.get))
|
|
24462
24462
|
return Promise.resolve({});
|
|
24463
24463
|
const g = {};
|
|
24464
24464
|
return new URLSearchParams(a ?? "").forEach((v, x) => {
|
|
@@ -24468,9 +24468,9 @@ function Ane(e) {
|
|
|
24468
24468
|
return x === "ok" ? b : Promise.reject(v);
|
|
24469
24469
|
});
|
|
24470
24470
|
}, [t, a, o, s]), u = We(
|
|
24471
|
-
() =>
|
|
24471
|
+
() => K.chain(n).extend({ queryKey: [r, a], queryFn: c }).value(),
|
|
24472
24472
|
[r, a, c, n]
|
|
24473
|
-
), { data: d, isLoading: p } = uA(u), h =
|
|
24473
|
+
), { data: d, isLoading: p } = uA(u), h = K.omit(e, ["useDefaults"]);
|
|
24474
24474
|
return p ? /* @__PURE__ */ m(xt, { alignItems: "center", justifyContent: "center", flex: 1, p: 2, children: /* @__PURE__ */ m(li, {}) }) : /* @__PURE__ */ m(FI.Provider, { value: d ?? {}, children: /* @__PURE__ */ m(Z8, { ...h, children: e.children }) });
|
|
24475
24475
|
}
|
|
24476
24476
|
const Xle = ce(Ane, { slot: "root" })(({ theme: e }) => ({
|
|
@@ -24572,7 +24572,7 @@ function LI(e, t) {
|
|
|
24572
24572
|
return t.match(r) !== null;
|
|
24573
24573
|
}
|
|
24574
24574
|
function Tne(e) {
|
|
24575
|
-
return
|
|
24575
|
+
return K.map(e, "id");
|
|
24576
24576
|
}
|
|
24577
24577
|
function Rd(e) {
|
|
24578
24578
|
const t = e.match(new RegExp("[^.]+", "g"));
|
|
@@ -24580,29 +24580,29 @@ function Rd(e) {
|
|
|
24580
24580
|
}
|
|
24581
24581
|
function BI(e, t) {
|
|
24582
24582
|
const n = e !== void 0 ? Rd(e) : 0;
|
|
24583
|
-
return
|
|
24583
|
+
return K.chain(t).filter((o) => e !== void 0 ? LI(e, o.id) : !0).filter((o) => Rd(o.id) === n + 1).value();
|
|
24584
24584
|
}
|
|
24585
24585
|
function One(e, t) {
|
|
24586
24586
|
var a;
|
|
24587
|
-
const n =
|
|
24587
|
+
const n = K.clone(e), { type: r, payload: o } = t;
|
|
24588
24588
|
switch (r) {
|
|
24589
24589
|
case "setFormRootPath":
|
|
24590
|
-
return
|
|
24590
|
+
return K.extend(n, { formRootPath: o });
|
|
24591
24591
|
case "setSyncWithLocation":
|
|
24592
|
-
return
|
|
24592
|
+
return K.extend(n, { syncWithLocation: o });
|
|
24593
24593
|
case "setErrorCount":
|
|
24594
|
-
return
|
|
24594
|
+
return K.extend(n, { errorCount: o });
|
|
24595
24595
|
case "setActiveItem":
|
|
24596
|
-
return
|
|
24596
|
+
return K.includes(Tne(e.items), o) ? K.extend(n, { activeItem: o }) : n;
|
|
24597
24597
|
case "addItem": {
|
|
24598
24598
|
const { id: s } = o;
|
|
24599
|
-
return
|
|
24600
|
-
items:
|
|
24599
|
+
return K.extend(n, {
|
|
24600
|
+
items: K.chain(n.items).clone().reject((c) => c.id === s).concat([o]).orderBy((c) => c.index).value()
|
|
24601
24601
|
});
|
|
24602
24602
|
}
|
|
24603
24603
|
case "removeItem": {
|
|
24604
|
-
const s =
|
|
24605
|
-
return
|
|
24604
|
+
const s = K.isString(o) ? o : o.id, c = K.chain(n.items).clone().reject((u) => u.id === s).value();
|
|
24605
|
+
return K.extend(n, { items: c }), n.activeItem === s && K.extend(n, { activeItem: ((a = K.first(c)) == null ? void 0 : a.id) ?? void 0 }), n;
|
|
24606
24606
|
}
|
|
24607
24607
|
default:
|
|
24608
24608
|
return n;
|
|
@@ -24615,7 +24615,7 @@ const Pne = {
|
|
|
24615
24615
|
activeItem: void 0
|
|
24616
24616
|
}, NI = gn(void 0);
|
|
24617
24617
|
function VI(e) {
|
|
24618
|
-
const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = $l(), [a, s] = Am(One,
|
|
24618
|
+
const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = $l(), [a, s] = Am(One, K.cloneDeep(Pne)), { formRootPath: c, items: u } = a, d = We(() => ({ state: a, dispatch: s }), [a, s]);
|
|
24619
24619
|
return Me(() => {
|
|
24620
24620
|
const p = [
|
|
24621
24621
|
"entities/:resource/create/*",
|
|
@@ -24626,7 +24626,7 @@ function VI(e) {
|
|
|
24626
24626
|
":resource/:id/*"
|
|
24627
24627
|
];
|
|
24628
24628
|
r !== void 0 && p.push(r);
|
|
24629
|
-
const h =
|
|
24629
|
+
const h = K.chain(p).map((v) => w8(v, o)).reject((v) => v === null).first().value(), g = h == null ? void 0 : h.pathnameBase;
|
|
24630
24630
|
g !== void 0 && g !== c && s({
|
|
24631
24631
|
type: "setFormRootPath",
|
|
24632
24632
|
payload: g
|
|
@@ -24645,7 +24645,7 @@ function VI(e) {
|
|
|
24645
24645
|
var p;
|
|
24646
24646
|
if (t && c !== void 0) {
|
|
24647
24647
|
let h = o.replace(c, "").replace(new RegExp(/^\/?/), "");
|
|
24648
|
-
|
|
24648
|
+
K.isEmpty(h) && (h = ((p = K.chain(u).filter((g) => BI(g.id, u).length === 0).orderBy([(g) => Rd(g.id), (g) => g.index]).first().value()) == null ? void 0 : p.id) ?? void 0), s({
|
|
24649
24649
|
type: "setActiveItem",
|
|
24650
24650
|
payload: h
|
|
24651
24651
|
});
|
|
@@ -24751,11 +24751,11 @@ const Mne = ce(Te, {
|
|
|
24751
24751
|
}
|
|
24752
24752
|
}));
|
|
24753
24753
|
function KI(e) {
|
|
24754
|
-
const { spacing: t } = or(), { spacing: n = t } = e, r =
|
|
24754
|
+
const { spacing: t } = or(), { spacing: n = t } = e, r = K.omit(e, ["spacing"]);
|
|
24755
24755
|
return /* @__PURE__ */ m(Ud, { ...r, className: "LongFormView", children: /* @__PURE__ */ m(Mne, { container: !0, spacing: n * 2, children: e.children }) });
|
|
24756
24756
|
}
|
|
24757
24757
|
function XI(e) {
|
|
24758
|
-
const { disposition: t = { xl: 9, lg: 9, md: 8, sm: 8, xs: 12 } } = e, n =
|
|
24758
|
+
const { disposition: t = { xl: 9, lg: 9, md: 8, sm: 8, xs: 12 } } = e, n = K.omit(e, ["disposition"]);
|
|
24759
24759
|
return /* @__PURE__ */ m(Te, { ...n, item: !0, ...t, children: e.children });
|
|
24760
24760
|
}
|
|
24761
24761
|
function ZI(e) {
|
|
@@ -24790,17 +24790,17 @@ function JI() {
|
|
|
24790
24790
|
minWidth: 24
|
|
24791
24791
|
}
|
|
24792
24792
|
},
|
|
24793
|
-
children:
|
|
24793
|
+
children: K.map(e, (t, n) => /* @__PURE__ */ m(Av, { ...t }, n))
|
|
24794
24794
|
}
|
|
24795
24795
|
) });
|
|
24796
24796
|
}
|
|
24797
24797
|
function Av(e) {
|
|
24798
|
-
const t = wt() ??
|
|
24798
|
+
const t = wt() ?? K.identity, n = eT(e), { selected: r, label: o, icon: a, onClick: s, badge: c, items: u, isGroup: d, level: p, errors: h = 0 } = n, { spacing: g } = or(), [v, x] = Le(r), b = we(
|
|
24799
24799
|
(M) => {
|
|
24800
24800
|
x(!v), s(M);
|
|
24801
24801
|
},
|
|
24802
24802
|
[s, v]
|
|
24803
|
-
), w = a !== void 0, E =
|
|
24803
|
+
), w = a !== void 0, E = K.omit(e, ["label", "icon", "selected", "badge"]);
|
|
24804
24804
|
return Me(() => {
|
|
24805
24805
|
r && !v && x(r);
|
|
24806
24806
|
}, [r, v, x]), /* @__PURE__ */ Q(dt, { children: [
|
|
@@ -24824,13 +24824,13 @@ function Av(e) {
|
|
|
24824
24824
|
c ? /* @__PURE__ */ m(jw, { children: /* @__PURE__ */ m(yg, { type: "filled", size: "xs", color: c.color ?? "default", children: c.content }) }) : null,
|
|
24825
24825
|
d ? v ? /* @__PURE__ */ m(Nk, {}) : /* @__PURE__ */ m(Vk, {}) : null
|
|
24826
24826
|
] }) }),
|
|
24827
|
-
d ? /* @__PURE__ */ m(Em, { in: v, timeout: "auto", children: /* @__PURE__ */ m(ci, { children:
|
|
24827
|
+
d ? /* @__PURE__ */ m(Em, { in: v, timeout: "auto", children: /* @__PURE__ */ m(ci, { children: K.map(u, (M, S) => /* @__PURE__ */ m(Av, { ...M }, S)) }) }) : null
|
|
24828
24828
|
] });
|
|
24829
24829
|
}
|
|
24830
24830
|
function eT(e) {
|
|
24831
|
-
const { id: t } = e, n = ZI(t), r = Rd(t), o = Rne(), a = UI(), s = GI(), c = QI(t), u = !
|
|
24831
|
+
const { id: t } = e, n = ZI(t), r = Rd(t), o = Rne(), a = UI(), s = GI(), c = QI(t), u = !K.isEmpty(c), d = we(
|
|
24832
24832
|
(h) => {
|
|
24833
|
-
u || (a ? o(e.id) : s(e.id)),
|
|
24833
|
+
u || (a ? o(e.id) : s(e.id)), K.isFunction(e.onClick) && e.onClick(h);
|
|
24834
24834
|
},
|
|
24835
24835
|
[s, o, e, a, u]
|
|
24836
24836
|
);
|
|
@@ -24906,8 +24906,8 @@ var Nh = (e) => {
|
|
|
24906
24906
|
};
|
|
24907
24907
|
let d = s === window ? window.scrollY : s.scrollTop;
|
|
24908
24908
|
const p = (k) => {
|
|
24909
|
-
const { offsetTop: j, height:
|
|
24910
|
-
return k + j +
|
|
24909
|
+
const { offsetTop: j, height: G } = v, { naturalTop: X } = w, { height: $ } = E;
|
|
24910
|
+
return k + j + G >= X + $ + M + o;
|
|
24911
24911
|
}, h = () => {
|
|
24912
24912
|
const { height: k } = v, { height: j } = E;
|
|
24913
24913
|
return j + a + o <= k ? 3 : p(d) ? 1 : 2;
|
|
@@ -24940,18 +24940,18 @@ var Nh = (e) => {
|
|
|
24940
24940
|
e.style.position = Rl, r ? e.style.bottom = `${o}px` : e.style.top = `${a}px`;
|
|
24941
24941
|
return;
|
|
24942
24942
|
}
|
|
24943
|
-
const { height:
|
|
24943
|
+
const { height: G, offsetTop: X } = v, { height: $, naturalTop: oe } = w, { height: te } = E;
|
|
24944
24944
|
if (k === 2)
|
|
24945
|
-
if (e.style.position = "relative", M = j === 0 ? Math.max(0,
|
|
24945
|
+
if (e.style.position = "relative", M = j === 0 ? Math.max(0, X + d - oe + a) : Math.max(
|
|
24946
24946
|
0,
|
|
24947
|
-
|
|
24947
|
+
X + d + G - (oe + te + o)
|
|
24948
24948
|
), r) {
|
|
24949
|
-
const q = Math.max(0, $ -
|
|
24949
|
+
const q = Math.max(0, $ - te - M);
|
|
24950
24950
|
e.style.bottom = `${q}px`;
|
|
24951
24951
|
} else
|
|
24952
24952
|
e.style.top = `${M}px`;
|
|
24953
24953
|
else
|
|
24954
|
-
e.style.position = Rl, k === 1 ? r ? e.style.bottom = `${o}px` : e.style.top = `${
|
|
24954
|
+
e.style.position = Rl, k === 1 ? r ? e.style.bottom = `${o}px` : e.style.top = `${G - te - o}px` : r ? e.style.bottom = `${G - te - o}px` : e.style.top = `${a}px`;
|
|
24955
24955
|
};
|
|
24956
24956
|
P(S);
|
|
24957
24957
|
const T = (k) => {
|
|
@@ -24960,12 +24960,12 @@ var Nh = (e) => {
|
|
|
24960
24960
|
const j = k - d;
|
|
24961
24961
|
if (d = k, S === 3)
|
|
24962
24962
|
return;
|
|
24963
|
-
const { offsetTop:
|
|
24963
|
+
const { offsetTop: G, height: X } = v, { naturalTop: $, height: oe } = w, { height: te } = E;
|
|
24964
24964
|
if (j > 0)
|
|
24965
24965
|
if (S === 0) {
|
|
24966
|
-
if (k +
|
|
24967
|
-
const q = Math.max(0,
|
|
24968
|
-
k +
|
|
24966
|
+
if (k + G + a > $) {
|
|
24967
|
+
const q = Math.max(0, G + d - $ + a);
|
|
24968
|
+
k + G + X <= $ + te + q + o ? P(
|
|
24969
24969
|
2
|
|
24970
24970
|
/* relative */
|
|
24971
24971
|
) : P(
|
|
@@ -24978,12 +24978,12 @@ var Nh = (e) => {
|
|
|
24978
24978
|
/* stickyBottom */
|
|
24979
24979
|
);
|
|
24980
24980
|
else if (S === 1) {
|
|
24981
|
-
if (
|
|
24981
|
+
if (G + k + X < $ + oe + o) {
|
|
24982
24982
|
const q = Math.max(
|
|
24983
24983
|
0,
|
|
24984
|
-
|
|
24984
|
+
G + d + X - ($ + te + o)
|
|
24985
24985
|
);
|
|
24986
|
-
|
|
24986
|
+
G + k + a >= $ + q ? P(
|
|
24987
24987
|
2
|
|
24988
24988
|
/* relative */
|
|
24989
24989
|
) : P(
|
|
@@ -24991,7 +24991,7 @@ var Nh = (e) => {
|
|
|
24991
24991
|
/* stickyTop */
|
|
24992
24992
|
);
|
|
24993
24993
|
}
|
|
24994
|
-
} else S === 2 &&
|
|
24994
|
+
} else S === 2 && G + k + a < $ + M && P(
|
|
24995
24995
|
0
|
|
24996
24996
|
/* stickyTop */
|
|
24997
24997
|
);
|
|
@@ -25019,7 +25019,7 @@ var Nh = (e) => {
|
|
|
25019
25019
|
return /* @__PURE__ */ m("div", { className: a, style: s, ref: c, children: o });
|
|
25020
25020
|
}, Vne = Nne, nT = /* @__PURE__ */ ((e) => (e.TOP = "top", e.BOTTOM = "bottom", e))(nT || {});
|
|
25021
25021
|
function rT(e) {
|
|
25022
|
-
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o =
|
|
25022
|
+
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o = K.omit(e, ["sticky", "disposition", "spacing"]), a = t ? Vne : Be, s = We(() => t ? { offsetTop: 74, offsetBottom: r * 2 } : {}, [t, r]);
|
|
25023
25023
|
return /* @__PURE__ */ m(Te, { ...o, item: !0, ...n, children: /* @__PURE__ */ m(a, { ...s, children: /* @__PURE__ */ m(xt, { spacing: r, children: e.children }) }) });
|
|
25024
25024
|
}
|
|
25025
25025
|
function oT(e) {
|
|
@@ -25048,8 +25048,8 @@ function iT(e) {
|
|
|
25048
25048
|
}, [t]);
|
|
25049
25049
|
}
|
|
25050
25050
|
function aT(e = [], t) {
|
|
25051
|
-
const n =
|
|
25052
|
-
|
|
25051
|
+
const n = K.isArray(e) ? e : [e], r = K.filter(n, (o) => Xn(o));
|
|
25052
|
+
K.each(r, (o) => {
|
|
25053
25053
|
var a;
|
|
25054
25054
|
t(o), aT(((a = o == null ? void 0 : o.props) == null ? void 0 : a.children) ?? [], t);
|
|
25055
25055
|
});
|
|
@@ -25060,7 +25060,7 @@ function sT(e) {
|
|
|
25060
25060
|
var b;
|
|
25061
25061
|
((b = x == null ? void 0 : x.props) == null ? void 0 : b.source) !== void 0 && g.push(x.props.source);
|
|
25062
25062
|
}));
|
|
25063
|
-
const v =
|
|
25063
|
+
const v = K.chain(g).uniq().map((x) => K.get(t, x)).reject((x) => x === void 0).value().length;
|
|
25064
25064
|
return Me(() => {
|
|
25065
25065
|
d({
|
|
25066
25066
|
id: u,
|
|
@@ -25089,13 +25089,13 @@ function Sv(e) {
|
|
|
25089
25089
|
return We(
|
|
25090
25090
|
() => (
|
|
25091
25091
|
//@ts-ignore
|
|
25092
|
-
|
|
25092
|
+
K.chain(qt.toArray(t)).filter((r) => Xn(r) && ((r == null ? void 0 : r.type) === cT || (r == null ? void 0 : r.type) === lT)).map((r, o) => Zn(r, { index: o })).value()
|
|
25093
25093
|
),
|
|
25094
25094
|
[t]
|
|
25095
25095
|
);
|
|
25096
25096
|
}
|
|
25097
25097
|
function $ne(e) {
|
|
25098
|
-
const { tabsDisposition: t, contentDisposition: n, spacing: r = 2 } = e, o =
|
|
25098
|
+
const { tabsDisposition: t, contentDisposition: n, spacing: r = 2 } = e, o = K.pick(e, ["syncWithLocation", "errorCount"]), a = K.omit(e, ["tabsDisposition", "contentDisposition", "syncWithLocation"]), { top: s, bottom: c } = iT(e), u = Sv(e);
|
|
25099
25099
|
return /* @__PURE__ */ m(VI, { ...o, children: /* @__PURE__ */ Q(KI, { ...a, spacing: r, children: [
|
|
25100
25100
|
/* @__PURE__ */ Q(rT, { disposition: t, spacing: r, children: [
|
|
25101
25101
|
s,
|
|
@@ -25370,20 +25370,20 @@ function Xne(e) {
|
|
|
25370
25370
|
addButton: h = /* @__PURE__ */ m(dT, {}),
|
|
25371
25371
|
inset: g
|
|
25372
25372
|
} = e, [v, x] = Le(!1), { fields: b, remove: w, replace: E, append: M } = jm(e), { resetField: S } = hs(), P = nn(), T = wt(), R = Jn(p || {}), k = l8(), j = we(
|
|
25373
|
-
(
|
|
25374
|
-
w(
|
|
25373
|
+
(U) => {
|
|
25374
|
+
w(U);
|
|
25375
25375
|
},
|
|
25376
25376
|
[w]
|
|
25377
25377
|
);
|
|
25378
25378
|
if (b.length > 0) {
|
|
25379
|
-
const { ...
|
|
25380
|
-
R.current =
|
|
25379
|
+
const { ...U } = b[0];
|
|
25380
|
+
R.current = U;
|
|
25381
25381
|
for (const F in R.current) R.current[F] = null;
|
|
25382
25382
|
}
|
|
25383
|
-
const
|
|
25384
|
-
(
|
|
25385
|
-
let F =
|
|
25386
|
-
|
|
25383
|
+
const G = we(
|
|
25384
|
+
(U = void 0) => {
|
|
25385
|
+
let F = U;
|
|
25386
|
+
U == null && (F = R.current, qt.count(t) === 1 && _.isValidElement(qt.only(t)) && // @ts-ignore
|
|
25387
25387
|
!qt.only(t).props.source && // Make sure it's not a FormDataConsumer
|
|
25388
25388
|
// @ts-ignore
|
|
25389
25389
|
qt.map(t, (B) => _.isValidElement(B) && B.type !== a1).some(
|
|
@@ -25396,30 +25396,30 @@ function Xne(e) {
|
|
|
25396
25396
|
},
|
|
25397
25397
|
[M, t, S, r, b.length, p]
|
|
25398
25398
|
);
|
|
25399
|
-
function
|
|
25399
|
+
function X(U) {
|
|
25400
25400
|
return (F) => {
|
|
25401
|
-
|
|
25401
|
+
G(), U && U(F);
|
|
25402
25402
|
};
|
|
25403
25403
|
}
|
|
25404
25404
|
const $ = we(() => {
|
|
25405
25405
|
E([]), x(!1);
|
|
25406
|
-
}, [E]),
|
|
25406
|
+
}, [E]), oe = We(
|
|
25407
25407
|
() => ({
|
|
25408
25408
|
total: b.length,
|
|
25409
25409
|
remove: j,
|
|
25410
25410
|
source: r
|
|
25411
25411
|
}),
|
|
25412
25412
|
[b.length, j, r]
|
|
25413
|
-
),
|
|
25413
|
+
), te = P.palette.mode === "dark" ? P.palette.grey.A400 : P.palette.grey.A800, q = b.length > 0 && c;
|
|
25414
25414
|
return b ? (
|
|
25415
25415
|
// @ts-ignore
|
|
25416
|
-
/* @__PURE__ */ m(hT.Provider, { value:
|
|
25416
|
+
/* @__PURE__ */ m(hT.Provider, { value: oe, children: /* @__PURE__ */ Q("div", { className: u, children: [
|
|
25417
25417
|
_.cloneElement(h, {
|
|
25418
25418
|
label: o,
|
|
25419
25419
|
source: r,
|
|
25420
25420
|
disableAdd: a,
|
|
25421
25421
|
template: p,
|
|
25422
|
-
onClick: (h == null ? void 0 : h.type) !== fT ?
|
|
25422
|
+
onClick: (h == null ? void 0 : h.type) !== fT ? X((N = (Y = e == null ? void 0 : e.addButton) == null ? void 0 : Y.props) == null ? void 0 : N.onClick) : void 0,
|
|
25423
25423
|
inset: g
|
|
25424
25424
|
}),
|
|
25425
25425
|
/* @__PURE__ */ m(
|
|
@@ -25428,23 +25428,23 @@ function Xne(e) {
|
|
|
25428
25428
|
component: Zi,
|
|
25429
25429
|
sx: g === !0 ? {
|
|
25430
25430
|
borderRadius: 0
|
|
25431
|
-
} : { mt: 2, border: `1px solid ${
|
|
25431
|
+
} : { mt: 2, border: `1px solid ${te}` },
|
|
25432
25432
|
children: /* @__PURE__ */ Q(zw, { size: "small", children: [
|
|
25433
|
-
/* @__PURE__ */ m(ok, { sx: g === !0 ? {} : { borderTop: 0, borderBottom: `1px solid ${
|
|
25434
|
-
qt.map(t, (
|
|
25435
|
-
if (
|
|
25433
|
+
/* @__PURE__ */ m(ok, { sx: g === !0 ? {} : { borderTop: 0, borderBottom: `1px solid ${te}` }, children: /* @__PURE__ */ Q(eh, { children: [
|
|
25434
|
+
qt.map(t, (U, F) => {
|
|
25435
|
+
if (U.type === Dd || !_.isValidElement(U))
|
|
25436
25436
|
return null;
|
|
25437
|
-
const J = /* @__PURE__ */ m(ge, { display: "flex", variant: "subtitle1", color: "text.primary", textTransform: "none", children: k({ ...
|
|
25438
|
-
return /* @__PURE__ */ m(zi, { children:
|
|
25437
|
+
const J = /* @__PURE__ */ m(ge, { display: "flex", variant: "subtitle1", color: "text.primary", textTransform: "none", children: k({ ...U.props, resource: n }) });
|
|
25438
|
+
return /* @__PURE__ */ m(zi, { children: U.props.title ? (
|
|
25439
25439
|
// @ts-ignore
|
|
25440
|
-
/* @__PURE__ */ m(U0, { title:
|
|
25440
|
+
/* @__PURE__ */ m(U0, { title: U.props.title, arrow: !0, children: J })
|
|
25441
25441
|
) : J }, F);
|
|
25442
25442
|
}),
|
|
25443
25443
|
!s && q ? /* @__PURE__ */ m(zi, { sx: { display: "flex", justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ m(ea, { horizontal: !0, children: /* @__PURE__ */ m(ge, { color: "error", onClick: () => x(!0), children: T("ra.action.delete") }) }) }, "actions") : /* @__PURE__ */ m(zi, {}, "empty_actions")
|
|
25444
25444
|
] }) }),
|
|
25445
25445
|
/* @__PURE__ */ Q(ik, { children: [
|
|
25446
25446
|
b.length === 0 && /* @__PURE__ */ m(eh, { sx: { "&:last-child td, &:last-child th": { border: 0 } }, children: /* @__PURE__ */ m(zi, { colSpan: 4 + (s ? 0 : 1), align: "center", children: d || /* @__PURE__ */ m(ge, { variant: "body1", color: "text.secondary", children: "-" }) }) }),
|
|
25447
|
-
b.length > 0 && b.map((
|
|
25447
|
+
b.length > 0 && b.map((U, F) => /* @__PURE__ */ m(eh, { sx: { borderBottom: `1px solid ${te}}` }, children: /* @__PURE__ */ m(
|
|
25448
25448
|
Kne,
|
|
25449
25449
|
{
|
|
25450
25450
|
disableRemove: s,
|
|
@@ -25456,7 +25456,7 @@ function Xne(e) {
|
|
|
25456
25456
|
source: r,
|
|
25457
25457
|
children: t
|
|
25458
25458
|
}
|
|
25459
|
-
) },
|
|
25459
|
+
) }, U.id))
|
|
25460
25460
|
] })
|
|
25461
25461
|
] })
|
|
25462
25462
|
}
|
|
@@ -25492,27 +25492,27 @@ Ev.CreateButton = fT;
|
|
|
25492
25492
|
Ev.EditButton = Dd;
|
|
25493
25493
|
Ev.Field = Yne;
|
|
25494
25494
|
function Qne(e, t) {
|
|
25495
|
-
const n =
|
|
25495
|
+
const n = K.clone(e), { type: r, payload: o } = t;
|
|
25496
25496
|
switch (r) {
|
|
25497
25497
|
case "updateMedia": {
|
|
25498
|
-
const a =
|
|
25499
|
-
return
|
|
25498
|
+
const a = K.chain(n.media).clone().extend(o).value();
|
|
25499
|
+
return K.extend(n, { media: a });
|
|
25500
25500
|
}
|
|
25501
25501
|
case "updateDrawer": {
|
|
25502
|
-
const a =
|
|
25503
|
-
return
|
|
25502
|
+
const a = K.chain(n.drawer).clone().extend(o).value();
|
|
25503
|
+
return K.extend(n, { drawer: a });
|
|
25504
25504
|
}
|
|
25505
25505
|
case "updateLogo": {
|
|
25506
|
-
const a =
|
|
25507
|
-
return
|
|
25506
|
+
const a = K.chain(n.logo).clone().extend(o).value();
|
|
25507
|
+
return K.extend(n, { logo: a });
|
|
25508
25508
|
}
|
|
25509
25509
|
case "updateNotifications": {
|
|
25510
|
-
const a =
|
|
25511
|
-
return
|
|
25510
|
+
const a = K.chain(n.notifications).clone().extend(o).value();
|
|
25511
|
+
return K.extend(n, { notifications: a });
|
|
25512
25512
|
}
|
|
25513
25513
|
case "updateTheme": {
|
|
25514
|
-
const a =
|
|
25515
|
-
return
|
|
25514
|
+
const a = K.chain(n.theme).clone().extend(o).value();
|
|
25515
|
+
return K.extend(n, { theme: a });
|
|
25516
25516
|
}
|
|
25517
25517
|
default:
|
|
25518
25518
|
return n;
|
|
@@ -25542,12 +25542,12 @@ const Jne = {
|
|
|
25542
25542
|
}
|
|
25543
25543
|
}, gT = gn(void 0);
|
|
25544
25544
|
function ere(e) {
|
|
25545
|
-
var
|
|
25545
|
+
var G;
|
|
25546
25546
|
const t = ps(), n = zd(), r = Vn(), o = Ha(r.breakpoints.down("md")), a = Ha(r.breakpoints.down("lg")), s = Ha(r.breakpoints.down("xl")), { miniDrawer: c, isHorizontalLayout: u, themeDirection: d, drawerWidth: p } = PI(), h = u(d) && !a, { drawerOpen: g, openDrawer: v } = hv(), x = we(() => {
|
|
25547
25547
|
v(!g);
|
|
25548
25548
|
}, [g, v]), [b, w] = Le(!1), [E, M] = Am(
|
|
25549
25549
|
Qne,
|
|
25550
|
-
|
|
25550
|
+
K.chain(Jne).clone().merge({ drawer: { open: !c || g } }).value()
|
|
25551
25551
|
), S = we(() => w(!1), []), P = We(() => ({ state: E, dispatch: M }), [E, M]), { logoIcon: T, logoMain: R, enableNotification: k, notification: j } = e;
|
|
25552
25552
|
return Me(() => {
|
|
25553
25553
|
M({
|
|
@@ -25599,11 +25599,11 @@ function ere(e) {
|
|
|
25599
25599
|
console.warn("authProvider does not contain a method called isImpersonating", t);
|
|
25600
25600
|
return;
|
|
25601
25601
|
}
|
|
25602
|
-
t == null || t.isImpersonating().then((
|
|
25602
|
+
t == null || t.isImpersonating().then((X) => {
|
|
25603
25603
|
var $;
|
|
25604
|
-
w(!
|
|
25604
|
+
w(!X && (($ = n == null ? void 0 : n.data) == null ? void 0 : $.needToChangePassword) === !0);
|
|
25605
25605
|
});
|
|
25606
|
-
}, [(
|
|
25606
|
+
}, [(G = n == null ? void 0 : n.data) == null ? void 0 : G.needToChangePassword, t]), /* @__PURE__ */ Q(gT.Provider, { value: P, children: [
|
|
25607
25607
|
/* @__PURE__ */ m(ds, { open: b, maxWidth: "xs", fullWidth: !0, children: /* @__PURE__ */ m(_I, { onSuccess: S, firstAccess: !0 }) }),
|
|
25608
25608
|
e.children
|
|
25609
25609
|
] });
|
|
@@ -25777,7 +25777,7 @@ const sre = ce(Uw, { shouldForwardProp: (e) => e !== "open" })(
|
|
|
25777
25777
|
var Ce = {}, Ug = { exports: {} };
|
|
25778
25778
|
(function(e, t) {
|
|
25779
25779
|
(function(n, r) {
|
|
25780
|
-
var o = "1.0.38", a = "", s = "?", c = "function", u = "undefined", d = "object", p = "string", h = "major", g = "model", v = "name", x = "type", b = "vendor", w = "version", E = "architecture", M = "console", S = "mobile", P = "tablet", T = "smarttv", R = "wearable", k = "embedded", j = 500,
|
|
25780
|
+
var o = "1.0.38", a = "", s = "?", c = "function", u = "undefined", d = "object", p = "string", h = "major", g = "model", v = "name", x = "type", b = "vendor", w = "version", E = "architecture", M = "console", S = "mobile", P = "tablet", T = "smarttv", R = "wearable", k = "embedded", j = 500, G = "Amazon", X = "Apple", $ = "ASUS", oe = "BlackBerry", te = "Browser", q = "Chrome", Y = "Edge", N = "Firefox", U = "Google", F = "Huawei", J = "LG", B = "Microsoft", z = "Motorola", se = "Opera", de = "Samsung", le = "Sharp", ue = "Sony", pe = "Xiaomi", xe = "Zebra", ve = "Facebook", me = "Chromium OS", ye = "Mac OS", Pe = function(Re, je) {
|
|
25781
25781
|
var Ee = {};
|
|
25782
25782
|
for (var He in Re)
|
|
25783
25783
|
je[He] && je[He].length % 2 === 0 ? Ee[He] = je[He].concat(Re[He]) : Ee[He] = Re[He];
|
|
@@ -25813,7 +25813,7 @@ var Ce = {}, Ug = { exports: {} };
|
|
|
25813
25813
|
} else if (it(je[Ee], Re))
|
|
25814
25814
|
return Ee === s ? r : Ee;
|
|
25815
25815
|
return Re;
|
|
25816
|
-
}, Wr = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Ot = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, St = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, w], [/opios[\/ ]+([\w\.]+)/i], [w, [v, se + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [v, se + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [v, se]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [v, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, w], [/\bddg\/([\w\.]+)/i], [w, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [v, "UC" + oe]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [v, "Smart Lenovo " + oe]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + oe], w], [/\bfocus\/([\w\.]+)/i], [w, [v, N + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [v, se + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [v, se + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [v, "MIUI " + oe]], [/fxios\/([-\w\.]+)/i], [w, [v, N]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360 " + oe]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1 " + oe], w], [/samsungbrowser\/([\w\.]+)/i], [w, [v, de + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, w], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, ve], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [v, q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, q + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [v, "Android " + oe]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [w, kt, Wr]], [/(webkit|khtml)\/([\w\.]+)/i], [v, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [v, N + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [v, w], [/(cobalt)\/([\w\.]+)/i], [v, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[E, "amd64"]], [/(ia32(?=;))/i], [[E, fe]], [/((?:i[346]|x)86)[;\)]/i], [[E, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/windows (ce|mobile); ppc;/i], [[E, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[E, /ower/, a, fe]], [/(sun4\w)[;\)]/i], [[E, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[E, fe]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [g, [b, de], [x, P]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [g, [b, de], [x, S]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [g, [b, K], [x, S]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [g, [b, K], [x, P]], [/(macintosh);/i], [g, [b, K]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [g, [b, le], [x, S]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [g, [b, F], [x, P]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [g, [b, F], [x, S]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[g, /_/g, " "], [b, pe], [x, S]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[g, /_/g, " "], [b, pe], [x, P]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [g, [b, "OPPO"], [x, S]], [/\b(opd2\d{3}a?) bui/i], [g, [b, "OPPO"], [x, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [g, [b, "Vivo"], [x, S]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [g, [b, "Realme"], [x, S]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [g, [b, z], [x, S]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [g, [b, z], [x, P]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [g, [b, J], [x, P]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [g, [b, J], [x, S]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [g, [b, "Lenovo"], [x, P]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[g, /_/g, " "], [b, "Nokia"], [x, S]], [/(pixel c)\b/i], [g, [b, G], [x, P]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [g, [b, G], [x, S]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [g, [b, ue], [x, S]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[g, "Xperia Tablet"], [b, ue], [x, P]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [g, [b, "OnePlus"], [x, S]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [g, [b, H], [x, P]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[g, /(.+)/g, "Fire Phone $1"], [b, H], [x, S]], [/(playbook);[-\w\),; ]+(rim)/i], [g, b, [x, P]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [g, [b, re], [x, S]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [g, [b, $], [x, P]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [g, [b, $], [x, S]], [/(nexus 9)/i], [g, [b, "HTC"], [x, P]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [g, /_/g, " "], [x, S]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [g, [b, "Acer"], [x, P]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [g, [b, "Meizu"], [x, S]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [g, [b, "Ulefone"], [x, S]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [b, g, [x, S]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [b, g, [x, P]], [/(surface duo)/i], [g, [b, B], [x, P]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [g, [b, "Fairphone"], [x, S]], [/(u304aa)/i], [g, [b, "AT&T"], [x, S]], [/\bsie-(\w*)/i], [g, [b, "Siemens"], [x, S]], [/\b(rct\w+) b/i], [g, [b, "RCA"], [x, P]], [/\b(venue[\d ]{2,7}) b/i], [g, [b, "Dell"], [x, P]], [/\b(q(?:mv|ta)\w+) b/i], [g, [b, "Verizon"], [x, P]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [g, [b, "Barnes & Noble"], [x, P]], [/\b(tm\d{3}\w+) b/i], [g, [b, "NuVision"], [x, P]], [/\b(k88) b/i], [g, [b, "ZTE"], [x, P]], [/\b(nx\d{3}j) b/i], [g, [b, "ZTE"], [x, S]], [/\b(gen\d{3}) b.+49h/i], [g, [b, "Swiss"], [x, S]], [/\b(zur\d{3}) b/i], [g, [b, "Swiss"], [x, P]], [/\b((zeki)?tb.*\b) b/i], [g, [b, "Zeki"], [x, P]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], g, [x, P]], [/\b(ns-?\w{0,9}) b/i], [g, [b, "Insignia"], [x, P]], [/\b((nxa|next)-?\w{0,9}) b/i], [g, [b, "NextBook"], [x, P]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], g, [x, S]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], g, [x, S]], [/\b(ph-1) /i], [g, [b, "Essential"], [x, S]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [g, [b, "Envizen"], [x, P]], [/\b(trio[-\w\. ]+) b/i], [g, [b, "MachSpeed"], [x, P]], [/\btu_(1491) b/i], [g, [b, "Rotor"], [x, P]], [/(shield[\w ]+) b/i], [g, [b, "Nvidia"], [x, P]], [/(sprint) (\w+)/i], [b, g, [x, S]], [/(kin\.[onetw]{3})/i], [[g, /\./g, " "], [b, B], [x, S]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [g, [b, xe], [x, P]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [g, [b, xe], [x, S]], [/smart-tv.+(samsung)/i], [b, [x, T]], [/hbbtv.+maple;(\d+)/i], [[g, /^/, "SmartTV"], [b, de], [x, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, J], [x, T]], [/(apple) ?tv/i], [b, [g, K + " TV"], [x, T]], [/crkey/i], [[g, q + "cast"], [b, G], [x, T]], [/droid.+aft(\w+)( bui|\))/i], [g, [b, H], [x, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [g, [b, le], [x, T]], [/(bravia[\w ]+)( bui|\))/i], [g, [b, ue], [x, T]], [/(mitv-\w{5}) bui/i], [g, [b, pe], [x, T]], [/Hbbtv.*(technisat) (.*);/i], [b, g, [x, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, Qt], [g, Qt], [x, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[x, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, g, [x, M]], [/droid.+; (shield) bui/i], [g, [b, "Nvidia"], [x, M]], [/(playstation [345portablevi]+)/i], [g, [b, ue], [x, M]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [g, [b, B], [x, M]], [/((pebble))app/i], [b, g, [x, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [g, [b, K], [x, R]], [/droid.+; (glass) \d/i], [g, [b, G], [x, R]], [/droid.+; (wt63?0{2,3})\)/i], [g, [b, xe], [x, R]], [/(quest( \d| pro)?)/i], [g, [b, ve], [x, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [x, k]], [/(aeobc)\b/i], [g, [b, H], [x, k]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [g, [x, S]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [g, [x, P]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[x, P]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[x, S]], [/(android[-\w\. ]{0,9});.+buil/i], [g, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [v, Y + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [w, kt, Ot]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, kt, Ot], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, ye], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, w], [/\(bb(10);/i], [w, [v, re]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [v, N + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [v, q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, me], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, w], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, w]] }, gt = function(Re, je) {
|
|
25816
|
+
}, Wr = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Ot = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, St = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, w], [/opios[\/ ]+([\w\.]+)/i], [w, [v, se + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [v, se + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [v, se]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [v, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, w], [/\bddg\/([\w\.]+)/i], [w, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [v, "UC" + te]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [v, "Smart Lenovo " + te]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + te], w], [/\bfocus\/([\w\.]+)/i], [w, [v, N + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [v, se + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [v, se + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [v, "MIUI " + te]], [/fxios\/([-\w\.]+)/i], [w, [v, N]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360 " + te]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1 " + te], w], [/samsungbrowser\/([\w\.]+)/i], [w, [v, de + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, w], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, ve], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [v, q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, q + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [v, "Android " + te]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [w, kt, Wr]], [/(webkit|khtml)\/([\w\.]+)/i], [v, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [v, N + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [v, w], [/(cobalt)\/([\w\.]+)/i], [v, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[E, "amd64"]], [/(ia32(?=;))/i], [[E, fe]], [/((?:i[346]|x)86)[;\)]/i], [[E, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/windows (ce|mobile); ppc;/i], [[E, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[E, /ower/, a, fe]], [/(sun4\w)[;\)]/i], [[E, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[E, fe]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [g, [b, de], [x, P]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [g, [b, de], [x, S]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [g, [b, X], [x, S]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [g, [b, X], [x, P]], [/(macintosh);/i], [g, [b, X]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [g, [b, le], [x, S]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [g, [b, F], [x, P]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [g, [b, F], [x, S]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[g, /_/g, " "], [b, pe], [x, S]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[g, /_/g, " "], [b, pe], [x, P]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [g, [b, "OPPO"], [x, S]], [/\b(opd2\d{3}a?) bui/i], [g, [b, "OPPO"], [x, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [g, [b, "Vivo"], [x, S]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [g, [b, "Realme"], [x, S]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [g, [b, z], [x, S]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [g, [b, z], [x, P]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [g, [b, J], [x, P]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [g, [b, J], [x, S]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [g, [b, "Lenovo"], [x, P]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[g, /_/g, " "], [b, "Nokia"], [x, S]], [/(pixel c)\b/i], [g, [b, U], [x, P]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [g, [b, U], [x, S]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [g, [b, ue], [x, S]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[g, "Xperia Tablet"], [b, ue], [x, P]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [g, [b, "OnePlus"], [x, S]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [g, [b, G], [x, P]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[g, /(.+)/g, "Fire Phone $1"], [b, G], [x, S]], [/(playbook);[-\w\),; ]+(rim)/i], [g, b, [x, P]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [g, [b, oe], [x, S]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [g, [b, $], [x, P]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [g, [b, $], [x, S]], [/(nexus 9)/i], [g, [b, "HTC"], [x, P]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [g, /_/g, " "], [x, S]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [g, [b, "Acer"], [x, P]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [g, [b, "Meizu"], [x, S]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [g, [b, "Ulefone"], [x, S]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [b, g, [x, S]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [b, g, [x, P]], [/(surface duo)/i], [g, [b, B], [x, P]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [g, [b, "Fairphone"], [x, S]], [/(u304aa)/i], [g, [b, "AT&T"], [x, S]], [/\bsie-(\w*)/i], [g, [b, "Siemens"], [x, S]], [/\b(rct\w+) b/i], [g, [b, "RCA"], [x, P]], [/\b(venue[\d ]{2,7}) b/i], [g, [b, "Dell"], [x, P]], [/\b(q(?:mv|ta)\w+) b/i], [g, [b, "Verizon"], [x, P]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [g, [b, "Barnes & Noble"], [x, P]], [/\b(tm\d{3}\w+) b/i], [g, [b, "NuVision"], [x, P]], [/\b(k88) b/i], [g, [b, "ZTE"], [x, P]], [/\b(nx\d{3}j) b/i], [g, [b, "ZTE"], [x, S]], [/\b(gen\d{3}) b.+49h/i], [g, [b, "Swiss"], [x, S]], [/\b(zur\d{3}) b/i], [g, [b, "Swiss"], [x, P]], [/\b((zeki)?tb.*\b) b/i], [g, [b, "Zeki"], [x, P]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], g, [x, P]], [/\b(ns-?\w{0,9}) b/i], [g, [b, "Insignia"], [x, P]], [/\b((nxa|next)-?\w{0,9}) b/i], [g, [b, "NextBook"], [x, P]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], g, [x, S]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], g, [x, S]], [/\b(ph-1) /i], [g, [b, "Essential"], [x, S]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [g, [b, "Envizen"], [x, P]], [/\b(trio[-\w\. ]+) b/i], [g, [b, "MachSpeed"], [x, P]], [/\btu_(1491) b/i], [g, [b, "Rotor"], [x, P]], [/(shield[\w ]+) b/i], [g, [b, "Nvidia"], [x, P]], [/(sprint) (\w+)/i], [b, g, [x, S]], [/(kin\.[onetw]{3})/i], [[g, /\./g, " "], [b, B], [x, S]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [g, [b, xe], [x, P]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [g, [b, xe], [x, S]], [/smart-tv.+(samsung)/i], [b, [x, T]], [/hbbtv.+maple;(\d+)/i], [[g, /^/, "SmartTV"], [b, de], [x, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, J], [x, T]], [/(apple) ?tv/i], [b, [g, X + " TV"], [x, T]], [/crkey/i], [[g, q + "cast"], [b, U], [x, T]], [/droid.+aft(\w+)( bui|\))/i], [g, [b, G], [x, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [g, [b, le], [x, T]], [/(bravia[\w ]+)( bui|\))/i], [g, [b, ue], [x, T]], [/(mitv-\w{5}) bui/i], [g, [b, pe], [x, T]], [/Hbbtv.*(technisat) (.*);/i], [b, g, [x, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, Qt], [g, Qt], [x, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[x, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, g, [x, M]], [/droid.+; (shield) bui/i], [g, [b, "Nvidia"], [x, M]], [/(playstation [345portablevi]+)/i], [g, [b, ue], [x, M]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [g, [b, B], [x, M]], [/((pebble))app/i], [b, g, [x, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [g, [b, X], [x, R]], [/droid.+; (glass) \d/i], [g, [b, U], [x, R]], [/droid.+; (wt63?0{2,3})\)/i], [g, [b, xe], [x, R]], [/(quest( \d| pro)?)/i], [g, [b, ve], [x, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [x, k]], [/(aeobc)\b/i], [g, [b, G], [x, k]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [g, [x, S]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [g, [x, P]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[x, P]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[x, S]], [/(android[-\w\. ]{0,9});.+buil/i], [g, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [v, Y + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [w, kt, Ot]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, kt, Ot], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, ye], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, w], [/\(bb(10);/i], [w, [v, oe]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [v, N + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [v, q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, me], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, w], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, w]] }, gt = function(Re, je) {
|
|
25817
25817
|
if (typeof Re === d && (je = Re, Re = r), !(this instanceof gt))
|
|
25818
25818
|
return new gt(Re, je).getResult();
|
|
25819
25819
|
var Ee = typeof n !== u && n.navigator ? n.navigator : r, He = Re || (Ee && Ee.userAgent ? Ee.userAgent : a), Ie = Ee && Ee.userAgentData ? Ee.userAgentData : r, mt = je ? Pe(St, je) : St, Ge = Ee && Ee.userAgent == He;
|
|
@@ -26634,8 +26634,8 @@ function Gu(e, t, n) {
|
|
|
26634
26634
|
return d = R, c = setTimeout(E, t), p ? v(R) : s;
|
|
26635
26635
|
}
|
|
26636
26636
|
function b(R) {
|
|
26637
|
-
var k = R - u, j = R - d,
|
|
26638
|
-
return h ? Joe(
|
|
26637
|
+
var k = R - u, j = R - d, G = t - k;
|
|
26638
|
+
return h ? Joe(G, a - j) : G;
|
|
26639
26639
|
}
|
|
26640
26640
|
function w(R) {
|
|
26641
26641
|
var k = R - u, j = R - d;
|
|
@@ -27262,7 +27262,7 @@ function hie(e) {
|
|
|
27262
27262
|
width: o ? "100%" : a ? `calc(100% - ${s}px)` : { xs: "100%", lg: "calc(100% - 60px)" }
|
|
27263
27263
|
})
|
|
27264
27264
|
};
|
|
27265
|
-
return r ||
|
|
27265
|
+
return r || K.extend(d, { open: a }), //@ts-ignore
|
|
27266
27266
|
/* @__PURE__ */ m(c, { ref: t, ...d, children: /* @__PURE__ */ Q($d, { sx: { "& > *": { marginX: n.spacing(0.325) } }, children: [
|
|
27267
27267
|
!o && /* @__PURE__ */ m(pie, {}),
|
|
27268
27268
|
e.children
|
|
@@ -27870,7 +27870,7 @@ function qu({
|
|
|
27870
27870
|
}, [R, e.children]), Me(() => {
|
|
27871
27871
|
e.url === R && x !== e.id && (u([e.id]), b(e.id), E(null), v(!0));
|
|
27872
27872
|
}, [R, e, x, u]);
|
|
27873
|
-
const
|
|
27873
|
+
const G = (F = e.children) == null ? void 0 : F.map((J) => {
|
|
27874
27874
|
switch (J.type) {
|
|
27875
27875
|
case "collapse":
|
|
27876
27876
|
return /* @__PURE__ */ m(
|
|
@@ -27891,7 +27891,7 @@ function qu({
|
|
|
27891
27891
|
default:
|
|
27892
27892
|
return /* @__PURE__ */ m(ge, { variant: "h6", color: "error", align: "center", children: "Fix - Collapse or Item" }, J.id);
|
|
27893
27893
|
}
|
|
27894
|
-
}),
|
|
27894
|
+
}), X = x === e.id, $ = t === 1 ? /* @__PURE__ */ m(Ok, { style: { fontSize: "1rem" } }) : !1, oe = e.icon, te = e.icon ? /* @__PURE__ */ m(oe, { style: { fontSize: p ? "1rem" : "1.25rem" } }) : $, q = c.palette.mode === "dark" ? "grey.400" : "text.primary", Y = c.palette.mode === "dark" && p ? c.palette.text.primary : c.palette.primary.main, N = k ? `collapse-pop-${e.id}` : void 0, U = {
|
|
27895
27895
|
display: "flex",
|
|
27896
27896
|
justifyContent: "space-between",
|
|
27897
27897
|
alignItems: "center",
|
|
@@ -27902,7 +27902,7 @@ function qu({
|
|
|
27902
27902
|
{
|
|
27903
27903
|
id: `boundary-${N}`,
|
|
27904
27904
|
disableRipple: !0,
|
|
27905
|
-
selected:
|
|
27905
|
+
selected: X,
|
|
27906
27906
|
onMouseEnter: P,
|
|
27907
27907
|
onMouseLeave: T,
|
|
27908
27908
|
onClick: P,
|
|
@@ -27913,8 +27913,8 @@ function qu({
|
|
|
27913
27913
|
}
|
|
27914
27914
|
},
|
|
27915
27915
|
children: [
|
|
27916
|
-
/* @__PURE__ */ Q(Be, { onClick: S, sx:
|
|
27917
|
-
|
|
27916
|
+
/* @__PURE__ */ Q(Be, { onClick: S, sx: U, children: [
|
|
27917
|
+
te ? /* @__PURE__ */ m(
|
|
27918
27918
|
Br,
|
|
27919
27919
|
{
|
|
27920
27920
|
sx: {
|
|
@@ -27922,10 +27922,10 @@ function qu({
|
|
|
27922
27922
|
minWidth: e.icon ? 36 : 18,
|
|
27923
27923
|
color: c.palette.secondary.dark
|
|
27924
27924
|
},
|
|
27925
|
-
children:
|
|
27925
|
+
children: te
|
|
27926
27926
|
}
|
|
27927
27927
|
) : null,
|
|
27928
|
-
!
|
|
27928
|
+
!te && t !== 1 && /* @__PURE__ */ m(
|
|
27929
27929
|
Br,
|
|
27930
27930
|
{
|
|
27931
27931
|
sx: {
|
|
@@ -27934,7 +27934,7 @@ function qu({
|
|
|
27934
27934
|
bgcolor: "transparent",
|
|
27935
27935
|
"&:hover": { bgcolor: "transparent" }
|
|
27936
27936
|
},
|
|
27937
|
-
children: /* @__PURE__ */ m(NS, { size: 4, color:
|
|
27937
|
+
children: /* @__PURE__ */ m(NS, { size: 4, color: X ? "primary" : "secondary" })
|
|
27938
27938
|
}
|
|
27939
27939
|
),
|
|
27940
27940
|
/* @__PURE__ */ m(
|
|
@@ -27975,7 +27975,7 @@ function qu({
|
|
|
27975
27975
|
boxShadow: c.shadows[8],
|
|
27976
27976
|
backgroundImage: "none"
|
|
27977
27977
|
},
|
|
27978
|
-
children: /* @__PURE__ */ m(Qa, { onClickAway: T, children: /* @__PURE__ */ m(Be, { children:
|
|
27978
|
+
children: /* @__PURE__ */ m(Qa, { onClickAway: T, children: /* @__PURE__ */ m(Be, { children: G }) })
|
|
27979
27979
|
}
|
|
27980
27980
|
) })
|
|
27981
27981
|
)
|
|
@@ -28020,7 +28020,7 @@ function qu({
|
|
|
28020
28020
|
}
|
|
28021
28021
|
},
|
|
28022
28022
|
children: [
|
|
28023
|
-
|
|
28023
|
+
te ? /* @__PURE__ */ m(
|
|
28024
28024
|
Br,
|
|
28025
28025
|
{
|
|
28026
28026
|
onClick: S,
|
|
@@ -28044,7 +28044,7 @@ function qu({
|
|
|
28044
28044
|
}
|
|
28045
28045
|
}
|
|
28046
28046
|
},
|
|
28047
|
-
children:
|
|
28047
|
+
children: te
|
|
28048
28048
|
}
|
|
28049
28049
|
) : null,
|
|
28050
28050
|
p || !p && t !== 1 ? /* @__PURE__ */ m(
|
|
@@ -28087,7 +28087,7 @@ function qu({
|
|
|
28087
28087
|
backgroundImage: "none",
|
|
28088
28088
|
border: `1px solid ${c.palette.divider}`
|
|
28089
28089
|
},
|
|
28090
|
-
children: /* @__PURE__ */ m(Qa, { onClickAway: T, children: /* @__PURE__ */ m(Be, { children:
|
|
28090
|
+
children: /* @__PURE__ */ m(Qa, { onClickAway: T, children: /* @__PURE__ */ m(Be, { children: G }) })
|
|
28091
28091
|
}
|
|
28092
28092
|
) })
|
|
28093
28093
|
)
|
|
@@ -28096,7 +28096,7 @@ function qu({
|
|
|
28096
28096
|
]
|
|
28097
28097
|
}
|
|
28098
28098
|
),
|
|
28099
|
-
p ? /* @__PURE__ */ m(Em, { in: g, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ m(ci, { sx: { p: 0 }, children:
|
|
28099
|
+
p ? /* @__PURE__ */ m(Em, { in: g, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ m(ci, { sx: { p: 0 }, children: G }) }) : null
|
|
28100
28100
|
] }) });
|
|
28101
28101
|
}
|
|
28102
28102
|
const Oie = ce(jd)(({ theme: e }) => ({
|
|
@@ -28128,7 +28128,7 @@ function Pie({
|
|
|
28128
28128
|
setSelectedLevel: s,
|
|
28129
28129
|
selectedLevel: c
|
|
28130
28130
|
}) {
|
|
28131
|
-
var N,
|
|
28131
|
+
var N, U;
|
|
28132
28132
|
const u = nn(), d = oo(), { pathname: p } = { pathname: "" }, { horizontal: h, downLg: g } = Pr(), v = Od(), { drawerOpen: x, selectedID: b, activeID: w } = v, [E, M] = Le(null), [S, P] = Le(e), T = !!E;
|
|
28133
28133
|
Me(() => {
|
|
28134
28134
|
if (t)
|
|
@@ -28156,11 +28156,11 @@ function Pie({
|
|
|
28156
28156
|
function j(F) {
|
|
28157
28157
|
T || M(F == null ? void 0 : F.currentTarget);
|
|
28158
28158
|
}
|
|
28159
|
-
function
|
|
28159
|
+
function G() {
|
|
28160
28160
|
M(null);
|
|
28161
28161
|
}
|
|
28162
|
-
const
|
|
28163
|
-
|
|
28162
|
+
const X = S == null ? void 0 : S.icon, $ = S != null && S.icon ? /* @__PURE__ */ m(
|
|
28163
|
+
X,
|
|
28164
28164
|
{
|
|
28165
28165
|
style: {
|
|
28166
28166
|
fontSize: 20,
|
|
@@ -28168,7 +28168,7 @@ function Pie({
|
|
|
28168
28168
|
color: b === S.id ? u.palette.primary.main : u.palette.secondary.dark
|
|
28169
28169
|
}
|
|
28170
28170
|
}
|
|
28171
|
-
) : null,
|
|
28171
|
+
) : null, oe = (N = e.children) == null ? void 0 : N.map((F) => {
|
|
28172
28172
|
switch (F.type) {
|
|
28173
28173
|
case "collapse":
|
|
28174
28174
|
return /* @__PURE__ */ m(
|
|
@@ -28189,7 +28189,7 @@ function Pie({
|
|
|
28189
28189
|
default:
|
|
28190
28190
|
return /* @__PURE__ */ m(ge, { variant: "h6", color: "error", align: "center", children: "Menu Items Error" }, F.id);
|
|
28191
28191
|
}
|
|
28192
|
-
}),
|
|
28192
|
+
}), te = n.map((F, J) => {
|
|
28193
28193
|
var B;
|
|
28194
28194
|
return /* @__PURE__ */ Q(ZR, { children: [
|
|
28195
28195
|
F.title ? /* @__PURE__ */ m(ge, { variant: "caption", sx: { pl: 2 }, children: F.title }) : null,
|
|
@@ -28216,7 +28216,7 @@ function Pie({
|
|
|
28216
28216
|
}
|
|
28217
28217
|
})
|
|
28218
28218
|
] }, J);
|
|
28219
|
-
}), q = (
|
|
28219
|
+
}), q = (U = S.children) == null ? void 0 : U.map((F) => {
|
|
28220
28220
|
switch (F.type) {
|
|
28221
28221
|
case "collapse":
|
|
28222
28222
|
return /* @__PURE__ */ m(
|
|
@@ -28255,7 +28255,7 @@ function Pie({
|
|
|
28255
28255
|
},
|
|
28256
28256
|
onMouseEnter: j,
|
|
28257
28257
|
onClick: j,
|
|
28258
|
-
onMouseLeave:
|
|
28258
|
+
onMouseLeave: G,
|
|
28259
28259
|
"aria-describedby": Y,
|
|
28260
28260
|
children: [
|
|
28261
28261
|
$ ? /* @__PURE__ */ m(Br, { sx: { minWidth: 28 }, children: S.id === r ? /* @__PURE__ */ m(Zu, { style: { fontSize: 20, stroke: "1.5" } }) : $ }) : null,
|
|
@@ -28295,7 +28295,7 @@ function Pie({
|
|
|
28295
28295
|
boxShadow: u.shadows[8],
|
|
28296
28296
|
backgroundImage: "none"
|
|
28297
28297
|
},
|
|
28298
|
-
children: /* @__PURE__ */ m(Qa, { onClickAway:
|
|
28298
|
+
children: /* @__PURE__ */ m(Qa, { onClickAway: G, children: /* @__PURE__ */ m(
|
|
28299
28299
|
Be,
|
|
28300
28300
|
{
|
|
28301
28301
|
sx: {
|
|
@@ -28316,7 +28316,7 @@ function Pie({
|
|
|
28316
28316
|
borderRadius: 4
|
|
28317
28317
|
}
|
|
28318
28318
|
},
|
|
28319
|
-
children: S.id !== r ? q :
|
|
28319
|
+
children: S.id !== r ? q : te
|
|
28320
28320
|
}
|
|
28321
28321
|
) })
|
|
28322
28322
|
}
|
|
@@ -28341,7 +28341,7 @@ function Pie({
|
|
|
28341
28341
|
e.caption ? /* @__PURE__ */ m(ge, { variant: "caption", color: "secondary", children: e.caption }) : null
|
|
28342
28342
|
] }) : null,
|
|
28343
28343
|
sx: { mt: x && e.title ? 1.5 : 0, py: 0, zIndex: 0 },
|
|
28344
|
-
children:
|
|
28344
|
+
children: oe
|
|
28345
28345
|
}
|
|
28346
28346
|
) });
|
|
28347
28347
|
}
|
|
@@ -28360,7 +28360,7 @@ function Rie(e) {
|
|
|
28360
28360
|
title: v.title,
|
|
28361
28361
|
elements: v.children,
|
|
28362
28362
|
icon: v.icon
|
|
28363
|
-
}))), /* @__PURE__ */ m(Mie, { ...e, children: !r &&
|
|
28363
|
+
}))), /* @__PURE__ */ m(Mie, { ...e, children: !r && K.map((n ?? []).slice(0, p + 1), (v) => {
|
|
28364
28364
|
const { type: x } = v;
|
|
28365
28365
|
switch (x) {
|
|
28366
28366
|
case "group":
|
|
@@ -28404,7 +28404,7 @@ function EO({ source: e = "paper" }) {
|
|
|
28404
28404
|
const { mode: t } = or(), n = Vn();
|
|
28405
28405
|
return Me(() => {
|
|
28406
28406
|
var o;
|
|
28407
|
-
const r =
|
|
28407
|
+
const r = K.get(n.palette.background, e);
|
|
28408
28408
|
(o = document.querySelector('meta[name="theme-color"]')) == null || o.setAttribute("content", r);
|
|
28409
28409
|
}, [t, n, e]), null;
|
|
28410
28410
|
}
|
|
@@ -28489,14 +28489,14 @@ function Wie(e) {
|
|
|
28489
28489
|
}), [v, x] = Le(() => () => Promise.resolve()), w = A9({ mutationFn: v }).mutateAsync;
|
|
28490
28490
|
return Me(() => {
|
|
28491
28491
|
function M() {
|
|
28492
|
-
const S =
|
|
28492
|
+
const S = K.chain(p ?? {}).clone().extend({ [e]: Date.now() }).value();
|
|
28493
28493
|
return u.post("onboarding", S).then(() => {
|
|
28494
28494
|
t.invalidateQueries(["GET", "onboarding", c]);
|
|
28495
28495
|
});
|
|
28496
28496
|
}
|
|
28497
28497
|
x(() => M);
|
|
28498
28498
|
}, [u, p, e, t, c]), Me(() => {
|
|
28499
|
-
r(
|
|
28499
|
+
r(K.isNil((p ?? {})[e]));
|
|
28500
28500
|
}, [p, e, r]), Me(() => {
|
|
28501
28501
|
a(() => () => w());
|
|
28502
28502
|
}, [w]), {
|
|
@@ -28509,9 +28509,9 @@ function Wie(e) {
|
|
|
28509
28509
|
function jie(e) {
|
|
28510
28510
|
const [t, n] = SI("onboarding", {}), [r, o] = Le(!1), [a, s] = Le(() => () => Promise.resolve());
|
|
28511
28511
|
return Me(() => {
|
|
28512
|
-
o(
|
|
28512
|
+
o(K.isNil((t ?? {})[e]));
|
|
28513
28513
|
}, [t, e, o]), Me(() => {
|
|
28514
|
-
s(() => () => (n((c) =>
|
|
28514
|
+
s(() => () => (n((c) => K.extend(c, { [e]: Date.now() })), Promise.resolve()));
|
|
28515
28515
|
}, [e, n, s]), {
|
|
28516
28516
|
onboardingRequired: r,
|
|
28517
28517
|
acknowledgeOnboarding: a
|
|
@@ -28528,7 +28528,7 @@ function Uie(e, t) {
|
|
|
28528
28528
|
const n = Wie(t), r = jie(t), o = zie();
|
|
28529
28529
|
switch (e) {
|
|
28530
28530
|
case Nd.USER:
|
|
28531
|
-
return n.loading ? o : n.error ? r :
|
|
28531
|
+
return n.loading ? o : n.error ? r : K.pick(n, [
|
|
28532
28532
|
"onboardingRequired",
|
|
28533
28533
|
"acknowledgeOnboarding"
|
|
28534
28534
|
]);
|
|
@@ -28541,36 +28541,36 @@ function Uie(e, t) {
|
|
|
28541
28541
|
var bl = /* @__PURE__ */ ((e) => (e.RESTART = "RESTART", e.SET_SHOW = "SET_SHOW", e.REGISTER_TIP = "REGISTER_TIP", e.UNREGISTER_TIP = "UNREGISTER_TIP", e.DISMISS_TIP = "DISMISS_TIP", e.SET_ON_COMPLETE = "SET_ON_COMPLETE", e))(bl || {});
|
|
28542
28542
|
function Hie(e, t) {
|
|
28543
28543
|
var o;
|
|
28544
|
-
const n =
|
|
28544
|
+
const n = K.clone(e), { type: r } = t;
|
|
28545
28545
|
switch (r) {
|
|
28546
28546
|
case "SET_SHOW": {
|
|
28547
28547
|
const { payload: a } = t;
|
|
28548
|
-
return
|
|
28548
|
+
return K.extend(n, { show: a });
|
|
28549
28549
|
}
|
|
28550
28550
|
case "REGISTER_TIP": {
|
|
28551
|
-
const { payload: a } = t, { id: s } = a, c =
|
|
28552
|
-
return c.push(d),
|
|
28551
|
+
const { payload: a } = t, { id: s } = a, c = K.chain(n.tips).clone().reject((p) => p.id === s).value(), u = K.find(n.tips, { id: s }), d = K.chain(u ?? {}).clone().extend(a).value();
|
|
28552
|
+
return c.push(d), K.extend(n, { tips: K.sortBy(c, ["step"]) });
|
|
28553
28553
|
}
|
|
28554
28554
|
case "UNREGISTER_TIP": {
|
|
28555
|
-
const { payload: a } = t, s =
|
|
28556
|
-
return
|
|
28555
|
+
const { payload: a } = t, s = K.isString(a) ? a : a.id, c = K.chain(n.tips).reject((u) => u.id === s).sortBy(["step"]).value();
|
|
28556
|
+
return K.extend(n, { tips: c });
|
|
28557
28557
|
}
|
|
28558
28558
|
case "DISMISS_TIP": {
|
|
28559
|
-
const { payload: a } = t, s =
|
|
28560
|
-
if (
|
|
28559
|
+
const { payload: a } = t, s = K.isString(a) ? a : a.id, c = K.chain(n.tips).reject((g) => g.id === s).value(), u = K.find(n.tips, { id: s });
|
|
28560
|
+
if (K.isNil(u))
|
|
28561
28561
|
return n;
|
|
28562
|
-
const d =
|
|
28562
|
+
const d = K.chain(u).clone().extend({ dismissed: !0 }).value();
|
|
28563
28563
|
c.push(d);
|
|
28564
|
-
const p = ((o =
|
|
28565
|
-
return (d == null ? void 0 : d.completeOnboarding) &&
|
|
28564
|
+
const p = ((o = K.chain(c).reject((g) => g.dismissed ?? !1).minBy("step").value()) == null ? void 0 : o.step) ?? 0;
|
|
28565
|
+
return (d == null ? void 0 : d.completeOnboarding) && K.chain(c).reject((g) => g.step < p).reject((g) => g.dismissed ?? !1).isEmpty().value() && e.onComplete(), K.extend(n, { tips: K.sortBy(c, ["step"]), currentStep: p });
|
|
28566
28566
|
}
|
|
28567
28567
|
case "SET_ON_COMPLETE": {
|
|
28568
28568
|
const { payload: a } = t;
|
|
28569
|
-
return
|
|
28569
|
+
return K.extend(n, { onComplete: a });
|
|
28570
28570
|
}
|
|
28571
28571
|
case "RESTART": {
|
|
28572
|
-
const a =
|
|
28573
|
-
return
|
|
28572
|
+
const a = K.chain(n.tips).clone().map((s) => K.omit(s, "dismissed")).value();
|
|
28573
|
+
return K.extend(n, { tips: a, currentStep: 0 });
|
|
28574
28574
|
}
|
|
28575
28575
|
default:
|
|
28576
28576
|
return n;
|
|
@@ -28612,14 +28612,14 @@ function PO() {
|
|
|
28612
28612
|
}
|
|
28613
28613
|
function Yie(e) {
|
|
28614
28614
|
xv({ id: Eo().required(), step: vI().required() }).validateSync(e);
|
|
28615
|
-
const { id: t, step: n, completeOnboarding: r } = e, { show: o, tips: a, currentStep: s } = Gie(), c =
|
|
28615
|
+
const { id: t, step: n, completeOnboarding: r } = e, { show: o, tips: a, currentStep: s } = Gie(), c = K.find(a, { id: t }), { dismissed: u } = c ?? {}, d = PO(), p = we(() => {
|
|
28616
28616
|
d({
|
|
28617
28617
|
type: bl.DISMISS_TIP,
|
|
28618
28618
|
payload: t
|
|
28619
28619
|
});
|
|
28620
28620
|
}, [d, t]);
|
|
28621
28621
|
return Me(() => {
|
|
28622
|
-
(
|
|
28622
|
+
(K.isNil(c) || n !== (c == null ? void 0 : c.step)) && d({
|
|
28623
28623
|
type: bl.REGISTER_TIP,
|
|
28624
28624
|
payload: {
|
|
28625
28625
|
id: t,
|
|
@@ -28630,7 +28630,7 @@ function Yie(e) {
|
|
|
28630
28630
|
}, [t, n, r, c, d]), Me(() => () => {
|
|
28631
28631
|
d({ type: bl.UNREGISTER_TIP, payload: t });
|
|
28632
28632
|
}, [t, d]), {
|
|
28633
|
-
tip:
|
|
28633
|
+
tip: K.chain(c ?? e).clone().extend({ open: o && !K.isNil(c) && s === n && !u }).value(),
|
|
28634
28634
|
dismiss: p
|
|
28635
28635
|
};
|
|
28636
28636
|
}
|
|
@@ -28641,7 +28641,7 @@ function sce() {
|
|
|
28641
28641
|
}, [e]);
|
|
28642
28642
|
}
|
|
28643
28643
|
function qie(e) {
|
|
28644
|
-
const { id: t, step: n = 0, title: r, completeOnboarding: o } = e, { tip: a, dismiss: s } = Yie({ id: t, step: n, completeOnboarding: o }), { open: c } = a, u =
|
|
28644
|
+
const { id: t, step: n = 0, title: r, completeOnboarding: o } = e, { tip: a, dismiss: s } = Yie({ id: t, step: n, completeOnboarding: o }), { open: c } = a, u = K.omit(e, ["id", "step", "title", "completeOnboarding"]);
|
|
28645
28645
|
return /* @__PURE__ */ m(
|
|
28646
28646
|
U0,
|
|
28647
28647
|
{
|
|
@@ -28783,15 +28783,15 @@ function oae(e) {
|
|
|
28783
28783
|
function uce(e) {
|
|
28784
28784
|
const { children: t, maxWidth: n = "md", fullWidth: r = !0, fullScreen: o, onSubmit: a, mutationOptions: s, scroll: c, ...u } = e, d = dA(), p = Nl(), h = wt(), g = qt.only(t), [v, x] = Le(!1), b = Ro(), w = we(() => x(!0), []), E = we(() => x(!1), []), M = we(
|
|
28785
28785
|
(S, P, T) => {
|
|
28786
|
-
var j,
|
|
28786
|
+
var j, G;
|
|
28787
28787
|
const k = Date.now();
|
|
28788
|
-
d.setQueryData([p, "getOne", { id: S.id }], S), d.setQueriesData([p, "getList"], (
|
|
28788
|
+
d.setQueryData([p, "getOne", { id: S.id }], S), d.setQueriesData([p, "getList"], (X) => nae(X, S), {
|
|
28789
28789
|
updatedAt: k
|
|
28790
|
-
}), d.setQueriesData([p, "getMany"], (
|
|
28790
|
+
}), d.setQueriesData([p, "getMany"], (X) => tae(X, S), {
|
|
28791
28791
|
updatedAt: k
|
|
28792
|
-
}), d.setQueriesData([p, "getManyReference"], (
|
|
28792
|
+
}), d.setQueriesData([p, "getManyReference"], (X) => eae(X, S), {
|
|
28793
28793
|
updatedAt: k
|
|
28794
|
-
}), E(), b("ra.notification.created", { messageArgs: { smart_count: 1 } }), (
|
|
28794
|
+
}), E(), b("ra.notification.created", { messageArgs: { smart_count: 1 } }), (G = (j = e == null ? void 0 : e.mutationOptions) == null ? void 0 : j.onSuccess) == null || G.call(j, S, P, T);
|
|
28795
28795
|
},
|
|
28796
28796
|
[E, b, e.mutationOptions, d, p]
|
|
28797
28797
|
);
|
|
@@ -29186,11 +29186,11 @@ const Mw = /* @__PURE__ */ m(d9, {}), RO = _.forwardRef((e, t) => {
|
|
|
29186
29186
|
sx: S,
|
|
29187
29187
|
expandSingle: P = !1,
|
|
29188
29188
|
...T
|
|
29189
|
-
} = e, { sort: R, data: k, isLoading: j, onSelect:
|
|
29189
|
+
} = e, { sort: R, data: k, isLoading: j, onSelect: G, onToggleItem: X, selectedIds: $, setSort: oe, total: te } = Fm(e), q = !!p, Y = We(() => ({ isRowExpandable: v, expandSingle: P }), [v, P]), N = Jn(null);
|
|
29190
29190
|
Me(() => {
|
|
29191
29191
|
(!$ || $.length === 0) && (N.current = null);
|
|
29192
29192
|
}, [JSON.stringify($)]);
|
|
29193
|
-
const
|
|
29193
|
+
const U = we(
|
|
29194
29194
|
// @ts-ignore
|
|
29195
29195
|
(F, J) => {
|
|
29196
29196
|
const B = k.map((se) => se.id), z = B.indexOf(N.current);
|
|
@@ -29199,13 +29199,13 @@ const Mw = /* @__PURE__ */ m(d9, {}), RO = _.forwardRef((e, t) => {
|
|
|
29199
29199
|
Math.min(z, se),
|
|
29200
29200
|
Math.max(z, se) + 1
|
|
29201
29201
|
), le = J.target.checked ? ZJ($, de) : fee($, de);
|
|
29202
|
-
|
|
29202
|
+
G(
|
|
29203
29203
|
g ? le.filter((ue) => g(k.find((pe) => pe.id === ue))) : le
|
|
29204
29204
|
);
|
|
29205
29205
|
} else
|
|
29206
|
-
|
|
29206
|
+
X(F);
|
|
29207
29207
|
},
|
|
29208
|
-
[k, g,
|
|
29208
|
+
[k, g, G, X, $]
|
|
29209
29209
|
);
|
|
29210
29210
|
return j === !0 ? /* @__PURE__ */ m(
|
|
29211
29211
|
l9,
|
|
@@ -29216,10 +29216,10 @@ const Mw = /* @__PURE__ */ m(d9, {}), RO = _.forwardRef((e, t) => {
|
|
|
29216
29216
|
nbChildren: _.Children.count(a),
|
|
29217
29217
|
size: M
|
|
29218
29218
|
}
|
|
29219
|
-
) : k == null || k.length === 0 ||
|
|
29219
|
+
) : k == null || k.length === 0 || te === 0 ? c || null : /* @__PURE__ */ m(cae, { value: Y, children: /* @__PURE__ */ Q(c9, { sx: S, className: ht(rh.root, s), children: [
|
|
29220
29220
|
d != null && Xn(d) ? Zn(d, {
|
|
29221
29221
|
selectedIds: $,
|
|
29222
|
-
total:
|
|
29222
|
+
total: te
|
|
29223
29223
|
}) : p !== !1 ? /* @__PURE__ */ m(sae, { children: Xn(p) ? p : Mw }) : null,
|
|
29224
29224
|
/* @__PURE__ */ m("div", { className: rh.tableWrapper, children: /* @__PURE__ */ Q(zw, { ref: t, className: rh.table, size: M, ...dae(T), children: [
|
|
29225
29225
|
Rw(
|
|
@@ -29231,10 +29231,10 @@ const Mw = /* @__PURE__ */ m(d9, {}), RO = _.forwardRef((e, t) => {
|
|
|
29231
29231
|
hasExpand: !!u,
|
|
29232
29232
|
hasBulkActions: q,
|
|
29233
29233
|
isRowSelectable: g,
|
|
29234
|
-
onSelect:
|
|
29234
|
+
onSelect: G,
|
|
29235
29235
|
resource: x,
|
|
29236
29236
|
selectedIds: $,
|
|
29237
|
-
setSort:
|
|
29237
|
+
setSort: oe
|
|
29238
29238
|
},
|
|
29239
29239
|
a
|
|
29240
29240
|
),
|
|
@@ -29246,7 +29246,7 @@ const Mw = /* @__PURE__ */ m(d9, {}), RO = _.forwardRef((e, t) => {
|
|
|
29246
29246
|
data: k,
|
|
29247
29247
|
hasBulkActions: q,
|
|
29248
29248
|
hover: h,
|
|
29249
|
-
onToggleItem:
|
|
29249
|
+
onToggleItem: U,
|
|
29250
29250
|
resource: x,
|
|
29251
29251
|
rowSx: w,
|
|
29252
29252
|
rowStyle: E,
|
|
@@ -29747,9 +29747,9 @@ function xce({ name: e, copy: t, logo: n, version: r, background: o }) {
|
|
|
29747
29747
|
if (typeof s.activate != "function")
|
|
29748
29748
|
throw new Error("The authProvider used for the ActivatePage must define an activate() method");
|
|
29749
29749
|
s.activate(d).then(() => {
|
|
29750
|
-
c("ra.auth.activate_success", { type: "info" }),
|
|
29750
|
+
c("ra.auth.activate_success", { type: "info" }), K.delay(() => u("/login"), 1e3);
|
|
29751
29751
|
}).catch((p) => {
|
|
29752
|
-
c(p, { type: "error" }),
|
|
29752
|
+
c(p, { type: "error" }), K.delay(() => u("/login"), 1e3);
|
|
29753
29753
|
});
|
|
29754
29754
|
}, [d, s, c, u]), /* @__PURE__ */ m(Df, { name: e, copy: t, logo: n, version: r, background: o, children: /* @__PURE__ */ Q(Te, { container: !0, spacing: 3, children: [
|
|
29755
29755
|
/* @__PURE__ */ m(Te, { item: !0, xs: 12, children: /* @__PURE__ */ Q(
|
|
@@ -32822,7 +32822,7 @@ function $se(e) {
|
|
|
32822
32822
|
}
|
|
32823
32823
|
function kO({ themeOverrides: e, children: t }) {
|
|
32824
32824
|
const n = or(), { themeDirection: r, mode: o, presetColor: a, fontFamily: s } = n, c = We(() => Nse(o, a), [o, a]), u = We(() => $se(s), [s]), d = We(() => Vse(c), [c]), p = We(
|
|
32825
|
-
() =>
|
|
32825
|
+
() => K.merge(
|
|
32826
32826
|
{
|
|
32827
32827
|
breakpoints: {
|
|
32828
32828
|
values: {
|
|
@@ -32860,8 +32860,8 @@ function kO({ themeOverrides: e, children: t }) {
|
|
|
32860
32860
|
typeof e == "function" ? e(c) : e
|
|
32861
32861
|
),
|
|
32862
32862
|
[r, c, u, d, e]
|
|
32863
|
-
), h = S0(p), g =
|
|
32864
|
-
return h.components =
|
|
32863
|
+
), h = S0(p), g = K.cloneDeep(h.components ?? {});
|
|
32864
|
+
return h.components = K.merge(Ese(h), g), /* @__PURE__ */ m(pk, { injectFirst: !0, children: /* @__PURE__ */ Q(DS, { theme: h, children: [
|
|
32865
32865
|
/* @__PURE__ */ m(hk, { enableColorScheme: !0 }),
|
|
32866
32866
|
t
|
|
32867
32867
|
] }) });
|
|
@@ -32949,7 +32949,7 @@ class zse {
|
|
|
32949
32949
|
yo(this, Dl);
|
|
32950
32950
|
yo(this, Za, /* @__PURE__ */ new Set());
|
|
32951
32951
|
const { apiUrl: n } = t ?? {};
|
|
32952
|
-
if (!
|
|
32952
|
+
if (!K.isString(n) || K.isEmpty(n))
|
|
32953
32953
|
throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");
|
|
32954
32954
|
Go(this, Dl, n), Go(this, kl, new Headers({ Accept: "application/json", "Content-Type": "application/json" }));
|
|
32955
32955
|
}
|
|
@@ -33002,19 +33002,19 @@ class Hse {
|
|
|
33002
33002
|
yo(this, Fl);
|
|
33003
33003
|
yo(this, qi, []);
|
|
33004
33004
|
const { apiUrl: n } = t ?? {};
|
|
33005
|
-
if (!
|
|
33005
|
+
if (!K.isString(n) || K.isEmpty(n))
|
|
33006
33006
|
throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");
|
|
33007
33007
|
Go(this, Fl, n), Go(this, _l, new Headers({ Accept: "application/json", "Content-Type": "application/json" }));
|
|
33008
33008
|
}
|
|
33009
33009
|
handleMessage(t) {
|
|
33010
|
-
if (!
|
|
33010
|
+
if (!K.isPlainObject(t))
|
|
33011
33011
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");
|
|
33012
33012
|
const { code: n, lang: r } = t;
|
|
33013
|
-
if (!
|
|
33013
|
+
if (!K.isString(n) || K.isEmpty(n))
|
|
33014
33014
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");
|
|
33015
|
-
if (!
|
|
33015
|
+
if (!K.isString(r) || K.isEmpty(r))
|
|
33016
33016
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");
|
|
33017
|
-
if (!
|
|
33017
|
+
if (!K.some(On(this, qi), (o) => K.isEqual(o, { code: n, lang: r }))) {
|
|
33018
33018
|
On(this, qi).push({ code: n, lang: r }), fetch(`${On(this, Fl)}/i18n/message`, {
|
|
33019
33019
|
method: "put",
|
|
33020
33020
|
headers: On(this, _l),
|
|
@@ -33022,7 +33022,7 @@ class Hse {
|
|
|
33022
33022
|
}).then((o) => o.json()).then(() => {
|
|
33023
33023
|
console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`);
|
|
33024
33024
|
}).catch((o) => {
|
|
33025
|
-
console.error(o), Go(this, qi,
|
|
33025
|
+
console.error(o), Go(this, qi, K.reject(On(this, qi), (a) => K.isEqual(a, { code: n, lang: r })));
|
|
33026
33026
|
});
|
|
33027
33027
|
return;
|
|
33028
33028
|
}
|
|
@@ -33047,12 +33047,12 @@ function Gse(e) {
|
|
|
33047
33047
|
));
|
|
33048
33048
|
}
|
|
33049
33049
|
function p(h, g, v) {
|
|
33050
|
-
return r || console.error(`Warning: Missing translation for key: "${h}"`), o && (
|
|
33050
|
+
return r || console.error(`Warning: Missing translation for key: "${h}"`), o && (K.isString(h) ? h.match(new RegExp(/[\s[\]]/, "gm")) ? console.error(`[createI18nProvider] onMissingKey: illegal character in key ${h}`) : c.handleMessage({ code: h, lang: v }) : console.error("[createI18nProvider] onMissingKey: provided key is not a string")), h;
|
|
33051
33051
|
}
|
|
33052
33052
|
return Promise.all([u(), d()]).then((h) => {
|
|
33053
33053
|
const [g, v] = h;
|
|
33054
33054
|
function x(b) {
|
|
33055
|
-
return
|
|
33055
|
+
return K.get(v, b, {});
|
|
33056
33056
|
}
|
|
33057
33057
|
return I9(x, n, g, {
|
|
33058
33058
|
allowMissing: r || o,
|
|
@@ -33074,12 +33074,16 @@ function Ace({
|
|
|
33074
33074
|
function Yse(e) {
|
|
33075
33075
|
const [t, n] = Le(), r = Ste(e);
|
|
33076
33076
|
return Me(() => {
|
|
33077
|
+
if (e.customProvider !== void 0) {
|
|
33078
|
+
n(e.customProvider());
|
|
33079
|
+
return;
|
|
33080
|
+
}
|
|
33077
33081
|
Gse(r).then((o) => {
|
|
33078
33082
|
n(o);
|
|
33079
33083
|
}).catch(() => {
|
|
33080
33084
|
n({ error: !0 });
|
|
33081
33085
|
});
|
|
33082
|
-
}, [r]), t;
|
|
33086
|
+
}, [r, e]), t;
|
|
33083
33087
|
}
|
|
33084
33088
|
const qse = new S9({
|
|
33085
33089
|
defaultOptions: {
|
|
@@ -33103,22 +33107,23 @@ function Sce({
|
|
|
33103
33107
|
version: h = "0.0.0",
|
|
33104
33108
|
dataProvider: g,
|
|
33105
33109
|
authProvider: v,
|
|
33106
|
-
|
|
33107
|
-
|
|
33108
|
-
|
|
33109
|
-
|
|
33110
|
-
|
|
33111
|
-
|
|
33112
|
-
|
|
33113
|
-
|
|
33114
|
-
|
|
33115
|
-
|
|
33110
|
+
i18nProvider: x,
|
|
33111
|
+
errorHandler: b,
|
|
33112
|
+
error: w,
|
|
33113
|
+
enableNotification: E = !1,
|
|
33114
|
+
enableRegistration: M = !1,
|
|
33115
|
+
enablePasswordRecover: S = !1,
|
|
33116
|
+
enableThemeToggler: P = !1,
|
|
33117
|
+
queryClient: T = qse,
|
|
33118
|
+
background: R,
|
|
33119
|
+
notificationAPI: k = "entities/notification",
|
|
33120
|
+
...j
|
|
33116
33121
|
}) {
|
|
33117
33122
|
Use({
|
|
33118
33123
|
apiUrl: n,
|
|
33119
|
-
errorHandler:
|
|
33120
|
-
catcherFn: (
|
|
33121
|
-
const
|
|
33124
|
+
errorHandler: b,
|
|
33125
|
+
catcherFn: (oe) => {
|
|
33126
|
+
const te = oe == null ? void 0 : oe.toString(), Y = [
|
|
33122
33127
|
// @see https://github.com/marmelab/react-admin/pull/8884
|
|
33123
33128
|
"Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.",
|
|
33124
33129
|
"Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.",
|
|
@@ -33127,59 +33132,60 @@ function Sce({
|
|
|
33127
33132
|
"validateDOMNesting(...): <form> cannot appear as a descendant of <form>.",
|
|
33128
33133
|
"Missing translation for key:",
|
|
33129
33134
|
"HttpError: "
|
|
33130
|
-
].some((
|
|
33135
|
+
].some((U) => te == null ? void 0 : te.includes(U));
|
|
33131
33136
|
return new DO({
|
|
33132
|
-
catch:
|
|
33133
|
-
display: !
|
|
33134
|
-
log: !
|
|
33135
|
-
error:
|
|
33137
|
+
catch: Y,
|
|
33138
|
+
display: !Y,
|
|
33139
|
+
log: !Y,
|
|
33140
|
+
error: te
|
|
33136
33141
|
});
|
|
33137
33142
|
}
|
|
33138
33143
|
});
|
|
33139
|
-
const
|
|
33144
|
+
const G = We(() => Oe.isValidElement(c) ? Oe.cloneElement(c, {
|
|
33140
33145
|
// @ts-ignore
|
|
33141
33146
|
name: d,
|
|
33142
33147
|
copy: p,
|
|
33143
33148
|
logo: a,
|
|
33144
33149
|
version: h,
|
|
33145
|
-
background:
|
|
33146
|
-
enableRegistration:
|
|
33147
|
-
enablePasswordRecover:
|
|
33148
|
-
}) : c, [c, d, h, p,
|
|
33149
|
-
() => (
|
|
33150
|
+
background: R,
|
|
33151
|
+
enableRegistration: M,
|
|
33152
|
+
enablePasswordRecover: S
|
|
33153
|
+
}) : c, [c, d, h, p, R, a, M, S]), X = We(
|
|
33154
|
+
() => (oe) => /* @__PURE__ */ m(
|
|
33150
33155
|
_ie,
|
|
33151
33156
|
{
|
|
33152
|
-
|
|
33157
|
+
...oe,
|
|
33153
33158
|
name: d,
|
|
33154
33159
|
copy: p,
|
|
33155
|
-
enableThemeToggler:
|
|
33160
|
+
enableThemeToggler: P,
|
|
33156
33161
|
version: h,
|
|
33157
33162
|
logoMain: d ? /* @__PURE__ */ m(IO, { title: d }) : a,
|
|
33158
33163
|
logoIcon: d ? /* @__PURE__ */ m(Xie, { title: d }) : s,
|
|
33159
|
-
notification:
|
|
33160
|
-
enableNotification:
|
|
33161
|
-
error:
|
|
33164
|
+
notification: k,
|
|
33165
|
+
enableNotification: E,
|
|
33166
|
+
error: w
|
|
33162
33167
|
}
|
|
33163
33168
|
),
|
|
33164
|
-
[a, s, d, p, h,
|
|
33165
|
-
),
|
|
33169
|
+
[a, s, d, p, h, w, k, E, P]
|
|
33170
|
+
), $ = Yse({
|
|
33166
33171
|
apiUrl: n,
|
|
33167
33172
|
defaultLocale: r,
|
|
33168
33173
|
allowMissing: o,
|
|
33169
|
-
createMissing: o
|
|
33174
|
+
createMissing: o,
|
|
33175
|
+
customProvider: x
|
|
33170
33176
|
});
|
|
33171
|
-
return
|
|
33177
|
+
return $ === void 0 ? /* @__PURE__ */ m(dt, {}) : $.error ? /* @__PURE__ */ m(mw, { initialConfig: t, children: /* @__PURE__ */ m(kO, { themeOverrides: e, children: /* @__PURE__ */ m(Pae, {}) }) }) : /* @__PURE__ */ m(Dte, { children: /* @__PURE__ */ m(wee, { menu: u, children: /* @__PURE__ */ m(mw, { initialConfig: t, children: /* @__PURE__ */ m(
|
|
33172
33178
|
jse,
|
|
33173
33179
|
{
|
|
33174
33180
|
theme: e,
|
|
33175
|
-
layout:
|
|
33181
|
+
layout: X,
|
|
33176
33182
|
notification: Nie,
|
|
33177
|
-
queryClient:
|
|
33183
|
+
queryClient: T,
|
|
33178
33184
|
dataProvider: g,
|
|
33179
33185
|
authProvider: v,
|
|
33180
|
-
i18nProvider:
|
|
33181
|
-
loginPage:
|
|
33182
|
-
...
|
|
33186
|
+
i18nProvider: $,
|
|
33187
|
+
loginPage: G,
|
|
33188
|
+
...j
|
|
33183
33189
|
}
|
|
33184
33190
|
) }) }) });
|
|
33185
33191
|
}
|