@applica-software-guru/react-admin 1.3.129 → 1.3.131
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/components/ra-forms/LongForm/NavMenu.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Provider.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/hooks.d.ts.map +1 -1
- package/dist/dev/useErrorEventCatcher.d.ts.map +1 -1
- package/dist/i18n/createI18nProvider.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +15 -15
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +449 -446
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +12 -12
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/ApplicaAdmin.tsx +2 -2
- package/src/components/ra-forms/LongForm/NavMenu.tsx +7 -1
- package/src/components/ra-forms/LongForm/Provider.tsx +5 -8
- package/src/components/ra-forms/LongForm/hooks.tsx +5 -1
- package/src/dev/useErrorEventCatcher.ts +16 -5
- package/src/i18n/createI18nProvider.tsx +0 -4
package/dist/react-admin.es.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useResourceDefinitions as TR, useGetIdentity as N0, usePermissions as P
|
|
|
14
14
|
import { ArrayInputContext as nX, BooleanField as rX, BulkDeleteWithConfirmButton as oX, Button as iX, ChipField as aX, Confirm as sX, CreateButton as lX, CreateContextProvider as cX, CustomRoutes as AX, DeleteWithConfirmButton as uX, DeleteWithUndoButton as dX, EditButton as gX, EditContextProvider as fX, FieldTitle as pX, Form as hX, FormDataConsumer as CX, HttpError as EX, I18nContextProvider as IX, ListToolbar as mX, LoadingIndicator as BX, Pagination as vX, SimpleFormIterator as yX, RecordContextProvider as bX, ReferenceArrayField as QX, ReferenceField as xX, Resource as wX, ResourceContextProvider as TX, SaveButton as PX, SimpleFormIteratorContext as SX, SimpleList as RX, SimpleShowLayout as OX, SingleFieldList as DX, TopToolbar as MX, UrlField as kX, choices as FX, email as LX, maxLength as NX, maxValue as jX, minLength as VX, minValue as HX, number as WX, regex as zX, required as UX, useArrayInput as YX, useAuthProvider as GX, useChoices as KX, useChoicesContext as qX, useCreateController as JX, useDataProvider as XX, useEditContext as ZX, useGetIdentity as _X, useGetList as $X, useGetMany as eZ, useGetManyReference as tZ, useGetOne as nZ, useInput as rZ, useListContext as oZ, useLocaleState as iZ, useNotify as aZ, usePermissions as sZ, useRecordContext as lZ, useRefresh as cZ, useResourceContext as AZ, useResourceDefinition as uZ, useResourceDefinitions as dZ, useShowContext as gZ, useShowController as fZ, useSimpleFormIterator as pZ, useSimpleFormIteratorItem as hZ, useTranslate as CZ, useTranslateLabel as EZ, useUnselect as IZ, useUnselectAll as mZ, useUpdateMany as BZ } from "react-admin";
|
|
15
15
|
import { Popover as oB, styled as iB, IconButton as aB, MenuItem as eO, Card as sB, CardHeader as fg, Typography as Ie, Divider as ps, CardContent as lB, Grid as ye, Box as Me, Tooltip as xA, tooltipClasses as uc, Grow as tO, Collapse as mf, Fade as nO, Slide as rO, Zoom as cB, CircularProgress as Ei, circularProgressClasses as oO, LinearProgress as AB, Stack as jt, InputLabel as Bf, FormHelperText as uB, TextField as dB, Alert as iO, AlertTitle as aO, List as Ii, ListItem as gB, ListItemButton as Fr, ListItemIcon as Cr, ListItemText as Br, ListItemAvatar as fB, TableCell as hs, TableContainer as sO, Paper as mi, Table as lO, TableHead as cO, TableRow as wd, TableBody as AO, useTheme as jr, useMediaQuery as Oc, Dialog as wA, Toolbar as vf, AppBar as yf, Avatar as pg, Badge as uO, Popper as qs, ClickAwayListener as ga, ButtonBase as pB, alpha as jE, Container as TA, Button as ya, Drawer as dO, useScrollTrigger as gO, Chip as VE, Fab as fO, darken as pO, lighten as hO, Link as CO, StyledEngineProvider as EO, CssBaseline as IO } from "@mui/material";
|
|
16
16
|
import * as O from "react";
|
|
17
|
-
import Le, { useState as qe, useCallback as Fe, Children as tr, createContext as Tn, useContext as Nt, useMemo as nt, useEffect as
|
|
17
|
+
import Le, { useState as qe, useCallback as Fe, Children as tr, createContext as Tn, useContext as Nt, useMemo as nt, useEffect as Xe, useLayoutEffect as mO, useRef as ir, useInsertionEffect as BO, forwardRef as lo, createElement as vO, useId as yO, isValidElement as hi, cloneElement as Or, Fragment as co, useReducer as hB, Suspense as CB } from "react";
|
|
18
18
|
import bO from "@emotion/styled";
|
|
19
19
|
import { ThemeContext as EB, keyframes as Lo, css as Js, useTheme as bf } from "@emotion/react";
|
|
20
20
|
import { MoreHoriz as QO, MoreVert as xO, ExpandLess as wO, ExpandMore as TO, Key as PO, LogoutOutlined as IB, Add as HE, Edit as SO, VpnKey as RO, Inbox as OO, Email as DO, Drafts as MO } from "@mui/icons-material";
|
|
@@ -178,14 +178,14 @@ function O3() {
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
var w = u, k = g, D = A, Y = l,
|
|
181
|
+
var w = u, k = g, D = A, Y = l, G = t, z = f, Z = r, ie = m, ne = I, q = n, U = a, L = i, W = C, M = !1;
|
|
182
182
|
function X(oe) {
|
|
183
183
|
return M || (M = !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.")), j(oe) || T(oe) === u;
|
|
184
184
|
}
|
|
185
185
|
function j(oe) {
|
|
186
186
|
return T(oe) === g;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function K(oe) {
|
|
189
189
|
return T(oe) === A;
|
|
190
190
|
}
|
|
191
191
|
function ce(oe) {
|
|
@@ -206,7 +206,7 @@ function O3() {
|
|
|
206
206
|
function Ee(oe) {
|
|
207
207
|
return T(oe) === I;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function pe(oe) {
|
|
210
210
|
return T(oe) === n;
|
|
211
211
|
}
|
|
212
212
|
function ge(oe) {
|
|
@@ -218,7 +218,7 @@ function O3() {
|
|
|
218
218
|
function Qe(oe) {
|
|
219
219
|
return T(oe) === C;
|
|
220
220
|
}
|
|
221
|
-
st.AsyncMode = w, st.ConcurrentMode = k, st.ContextConsumer = D, st.ContextProvider = Y, st.Element =
|
|
221
|
+
st.AsyncMode = w, st.ConcurrentMode = k, st.ContextConsumer = D, st.ContextProvider = Y, st.Element = G, st.ForwardRef = z, st.Fragment = Z, st.Lazy = ie, st.Memo = ne, st.Portal = q, st.Profiler = U, st.StrictMode = L, st.Suspense = W, st.isAsyncMode = X, st.isConcurrentMode = j, st.isContextConsumer = K, st.isContextProvider = ce, st.isElement = ue, st.isForwardRef = se, st.isFragment = le, st.isLazy = de, st.isMemo = Ee, st.isPortal = pe, st.isProfiler = ge, st.isStrictMode = Ce, st.isSuspense = Qe, st.isValidElementType = Q, st.typeOf = T;
|
|
222
222
|
}()), st;
|
|
223
223
|
}
|
|
224
224
|
var GE;
|
|
@@ -360,9 +360,9 @@ function k3() {
|
|
|
360
360
|
return Md = function(A, u) {
|
|
361
361
|
var g = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
362
362
|
function C(j) {
|
|
363
|
-
var
|
|
364
|
-
if (typeof
|
|
365
|
-
return
|
|
363
|
+
var K = j && (g && j[g] || j[f]);
|
|
364
|
+
if (typeof K == "function")
|
|
365
|
+
return K;
|
|
366
366
|
}
|
|
367
367
|
var h = "<<anonymous>>", I = {
|
|
368
368
|
array: P("array"),
|
|
@@ -381,45 +381,45 @@ function k3() {
|
|
|
381
381
|
node: z(),
|
|
382
382
|
objectOf: Y,
|
|
383
383
|
oneOf: D,
|
|
384
|
-
oneOfType:
|
|
384
|
+
oneOfType: G,
|
|
385
385
|
shape: ie,
|
|
386
386
|
exact: ne
|
|
387
387
|
};
|
|
388
|
-
function m(j,
|
|
389
|
-
return j ===
|
|
388
|
+
function m(j, K) {
|
|
389
|
+
return j === K ? j !== 0 || 1 / j === 1 / K : j !== j && K !== K;
|
|
390
390
|
}
|
|
391
|
-
function B(j,
|
|
392
|
-
this.message = j, this.data =
|
|
391
|
+
function B(j, K) {
|
|
392
|
+
this.message = j, this.data = K && typeof K == "object" ? K : {}, this.stack = "";
|
|
393
393
|
}
|
|
394
394
|
B.prototype = Error.prototype;
|
|
395
395
|
function y(j) {
|
|
396
396
|
if (process.env.NODE_ENV !== "production")
|
|
397
|
-
var
|
|
398
|
-
function ue(le, de, Ee,
|
|
399
|
-
if (
|
|
397
|
+
var K = {}, ce = 0;
|
|
398
|
+
function ue(le, de, Ee, pe, ge, Ce, Qe) {
|
|
399
|
+
if (pe = pe || h, Ce = Ce || Ee, Qe !== n) {
|
|
400
400
|
if (u) {
|
|
401
401
|
var oe = new Error(
|
|
402
402
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
403
403
|
);
|
|
404
404
|
throw oe.name = "Invariant Violation", oe;
|
|
405
405
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
406
|
-
var Ue =
|
|
407
|
-
!
|
|
406
|
+
var Ue = pe + ":" + Ee;
|
|
407
|
+
!K[Ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
408
408
|
ce < 3 && (a(
|
|
409
|
-
"You are manually calling a React.PropTypes validation function for the `" + Ce + "` prop on `" +
|
|
410
|
-
),
|
|
409
|
+
"You are manually calling a React.PropTypes validation function for the `" + Ce + "` prop on `" + pe + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
410
|
+
), K[Ue] = !0, ce++);
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
return de[Ee] == null ? le ? de[Ee] === null ? new B("The " + ge + " `" + Ce + "` is marked as required " + ("in `" +
|
|
413
|
+
return de[Ee] == null ? le ? de[Ee] === null ? new B("The " + ge + " `" + Ce + "` is marked as required " + ("in `" + pe + "`, but its value is `null`.")) : new B("The " + ge + " `" + Ce + "` is marked as required in " + ("`" + pe + "`, but its value is `undefined`.")) : null : j(de, Ee, pe, ge, Ce);
|
|
414
414
|
}
|
|
415
415
|
var se = ue.bind(null, !1);
|
|
416
416
|
return se.isRequired = ue.bind(null, !0), se;
|
|
417
417
|
}
|
|
418
418
|
function P(j) {
|
|
419
|
-
function
|
|
420
|
-
var
|
|
419
|
+
function K(ce, ue, se, le, de, Ee) {
|
|
420
|
+
var pe = ce[ue], ge = L(pe);
|
|
421
421
|
if (ge !== j) {
|
|
422
|
-
var Ce = W(
|
|
422
|
+
var Ce = W(pe);
|
|
423
423
|
return new B(
|
|
424
424
|
"Invalid " + le + " `" + de + "` of type " + ("`" + Ce + "` supplied to `" + se + "`, expected ") + ("`" + j + "`."),
|
|
425
425
|
{ expectedType: j }
|
|
@@ -427,19 +427,19 @@ function k3() {
|
|
|
427
427
|
}
|
|
428
428
|
return null;
|
|
429
429
|
}
|
|
430
|
-
return y(
|
|
430
|
+
return y(K);
|
|
431
431
|
}
|
|
432
432
|
function R() {
|
|
433
433
|
return y(l);
|
|
434
434
|
}
|
|
435
435
|
function Q(j) {
|
|
436
|
-
function
|
|
436
|
+
function K(ce, ue, se, le, de) {
|
|
437
437
|
if (typeof j != "function")
|
|
438
438
|
return new B("Property `" + de + "` of component `" + se + "` has invalid PropType notation inside arrayOf.");
|
|
439
439
|
var Ee = ce[ue];
|
|
440
440
|
if (!Array.isArray(Ee)) {
|
|
441
|
-
var
|
|
442
|
-
return new B("Invalid " + le + " `" + de + "` of type " + ("`" +
|
|
441
|
+
var pe = L(Ee);
|
|
442
|
+
return new B("Invalid " + le + " `" + de + "` of type " + ("`" + pe + "` supplied to `" + se + "`, expected an array."));
|
|
443
443
|
}
|
|
444
444
|
for (var ge = 0; ge < Ee.length; ge++) {
|
|
445
445
|
var Ce = j(Ee, ge, se, le, de + "[" + ge + "]", n);
|
|
@@ -448,11 +448,11 @@ function k3() {
|
|
|
448
448
|
}
|
|
449
449
|
return null;
|
|
450
450
|
}
|
|
451
|
-
return y(
|
|
451
|
+
return y(K);
|
|
452
452
|
}
|
|
453
453
|
function T() {
|
|
454
|
-
function j(
|
|
455
|
-
var de =
|
|
454
|
+
function j(K, ce, ue, se, le) {
|
|
455
|
+
var de = K[ce];
|
|
456
456
|
if (!A(de)) {
|
|
457
457
|
var Ee = L(de);
|
|
458
458
|
return new B("Invalid " + se + " `" + le + "` of type " + ("`" + Ee + "` supplied to `" + ue + "`, expected a single ReactElement."));
|
|
@@ -462,8 +462,8 @@ function k3() {
|
|
|
462
462
|
return y(j);
|
|
463
463
|
}
|
|
464
464
|
function w() {
|
|
465
|
-
function j(
|
|
466
|
-
var de =
|
|
465
|
+
function j(K, ce, ue, se, le) {
|
|
466
|
+
var de = K[ce];
|
|
467
467
|
if (!e.isValidElementType(de)) {
|
|
468
468
|
var Ee = L(de);
|
|
469
469
|
return new B("Invalid " + se + " `" + le + "` of type " + ("`" + Ee + "` supplied to `" + ue + "`, expected a single ReactElement type."));
|
|
@@ -473,23 +473,23 @@ function k3() {
|
|
|
473
473
|
return y(j);
|
|
474
474
|
}
|
|
475
475
|
function k(j) {
|
|
476
|
-
function
|
|
476
|
+
function K(ce, ue, se, le, de) {
|
|
477
477
|
if (!(ce[ue] instanceof j)) {
|
|
478
|
-
var Ee = j.name || h,
|
|
479
|
-
return new B("Invalid " + le + " `" + de + "` of type " + ("`" +
|
|
478
|
+
var Ee = j.name || h, pe = X(ce[ue]);
|
|
479
|
+
return new B("Invalid " + le + " `" + de + "` of type " + ("`" + pe + "` supplied to `" + se + "`, expected ") + ("instance of `" + Ee + "`."));
|
|
480
480
|
}
|
|
481
481
|
return null;
|
|
482
482
|
}
|
|
483
|
-
return y(
|
|
483
|
+
return y(K);
|
|
484
484
|
}
|
|
485
485
|
function D(j) {
|
|
486
486
|
if (!Array.isArray(j))
|
|
487
487
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
488
488
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
489
489
|
) : a("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
490
|
-
function
|
|
491
|
-
for (var Ee = ce[ue],
|
|
492
|
-
if (m(Ee, j[
|
|
490
|
+
function K(ce, ue, se, le, de) {
|
|
491
|
+
for (var Ee = ce[ue], pe = 0; pe < j.length; pe++)
|
|
492
|
+
if (m(Ee, j[pe]))
|
|
493
493
|
return null;
|
|
494
494
|
var ge = JSON.stringify(j, function(Qe, oe) {
|
|
495
495
|
var Ue = W(oe);
|
|
@@ -497,15 +497,15 @@ function k3() {
|
|
|
497
497
|
});
|
|
498
498
|
return new B("Invalid " + le + " `" + de + "` of value `" + String(Ee) + "` " + ("supplied to `" + se + "`, expected one of " + ge + "."));
|
|
499
499
|
}
|
|
500
|
-
return y(
|
|
500
|
+
return y(K);
|
|
501
501
|
}
|
|
502
502
|
function Y(j) {
|
|
503
|
-
function
|
|
503
|
+
function K(ce, ue, se, le, de) {
|
|
504
504
|
if (typeof j != "function")
|
|
505
505
|
return new B("Property `" + de + "` of component `" + se + "` has invalid PropType notation inside objectOf.");
|
|
506
|
-
var Ee = ce[ue],
|
|
507
|
-
if (
|
|
508
|
-
return new B("Invalid " + le + " `" + de + "` of type " + ("`" +
|
|
506
|
+
var Ee = ce[ue], pe = L(Ee);
|
|
507
|
+
if (pe !== "object")
|
|
508
|
+
return new B("Invalid " + le + " `" + de + "` of type " + ("`" + pe + "` supplied to `" + se + "`, expected an object."));
|
|
509
509
|
for (var ge in Ee)
|
|
510
510
|
if (r(Ee, ge)) {
|
|
511
511
|
var Ce = j(Ee, ge, se, le, de + "." + ge, n);
|
|
@@ -514,46 +514,46 @@ function k3() {
|
|
|
514
514
|
}
|
|
515
515
|
return null;
|
|
516
516
|
}
|
|
517
|
-
return y(
|
|
517
|
+
return y(K);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function G(j) {
|
|
520
520
|
if (!Array.isArray(j))
|
|
521
521
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), l;
|
|
522
|
-
for (var
|
|
523
|
-
var ce = j[
|
|
522
|
+
for (var K = 0; K < j.length; K++) {
|
|
523
|
+
var ce = j[K];
|
|
524
524
|
if (typeof ce != "function")
|
|
525
525
|
return a(
|
|
526
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(ce) + " at index " +
|
|
526
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(ce) + " at index " + K + "."
|
|
527
527
|
), l;
|
|
528
528
|
}
|
|
529
|
-
function ue(se, le, de, Ee,
|
|
529
|
+
function ue(se, le, de, Ee, pe) {
|
|
530
530
|
for (var ge = [], Ce = 0; Ce < j.length; Ce++) {
|
|
531
|
-
var Qe = j[Ce], oe = Qe(se, le, de, Ee,
|
|
531
|
+
var Qe = j[Ce], oe = Qe(se, le, de, Ee, pe, n);
|
|
532
532
|
if (oe == null)
|
|
533
533
|
return null;
|
|
534
534
|
oe.data && r(oe.data, "expectedType") && ge.push(oe.data.expectedType);
|
|
535
535
|
}
|
|
536
536
|
var Ue = ge.length > 0 ? ", expected one of type [" + ge.join(", ") + "]" : "";
|
|
537
|
-
return new B("Invalid " + Ee + " `" +
|
|
537
|
+
return new B("Invalid " + Ee + " `" + pe + "` supplied to " + ("`" + de + "`" + Ue + "."));
|
|
538
538
|
}
|
|
539
539
|
return y(ue);
|
|
540
540
|
}
|
|
541
541
|
function z() {
|
|
542
|
-
function j(
|
|
543
|
-
return q(
|
|
542
|
+
function j(K, ce, ue, se, le) {
|
|
543
|
+
return q(K[ce]) ? null : new B("Invalid " + se + " `" + le + "` supplied to " + ("`" + ue + "`, expected a ReactNode."));
|
|
544
544
|
}
|
|
545
545
|
return y(j);
|
|
546
546
|
}
|
|
547
|
-
function Z(j,
|
|
547
|
+
function Z(j, K, ce, ue, se) {
|
|
548
548
|
return new B(
|
|
549
|
-
(j || "React class") + ": " +
|
|
549
|
+
(j || "React class") + ": " + K + " type `" + ce + "." + ue + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + se + "`."
|
|
550
550
|
);
|
|
551
551
|
}
|
|
552
552
|
function ie(j) {
|
|
553
|
-
function
|
|
554
|
-
var Ee = ce[ue],
|
|
555
|
-
if (
|
|
556
|
-
return new B("Invalid " + le + " `" + de + "` of type `" +
|
|
553
|
+
function K(ce, ue, se, le, de) {
|
|
554
|
+
var Ee = ce[ue], pe = L(Ee);
|
|
555
|
+
if (pe !== "object")
|
|
556
|
+
return new B("Invalid " + le + " `" + de + "` of type `" + pe + "` " + ("supplied to `" + se + "`, expected `object`."));
|
|
557
557
|
for (var ge in j) {
|
|
558
558
|
var Ce = j[ge];
|
|
559
559
|
if (typeof Ce != "function")
|
|
@@ -564,13 +564,13 @@ function k3() {
|
|
|
564
564
|
}
|
|
565
565
|
return null;
|
|
566
566
|
}
|
|
567
|
-
return y(
|
|
567
|
+
return y(K);
|
|
568
568
|
}
|
|
569
569
|
function ne(j) {
|
|
570
|
-
function
|
|
571
|
-
var Ee = ce[ue],
|
|
572
|
-
if (
|
|
573
|
-
return new B("Invalid " + le + " `" + de + "` of type `" +
|
|
570
|
+
function K(ce, ue, se, le, de) {
|
|
571
|
+
var Ee = ce[ue], pe = L(Ee);
|
|
572
|
+
if (pe !== "object")
|
|
573
|
+
return new B("Invalid " + le + " `" + de + "` of type `" + pe + "` " + ("supplied to `" + se + "`, expected `object`."));
|
|
574
574
|
var ge = t({}, ce[ue], j);
|
|
575
575
|
for (var Ce in ge) {
|
|
576
576
|
var Qe = j[Ce];
|
|
@@ -587,7 +587,7 @@ Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
|
|
|
587
587
|
}
|
|
588
588
|
return null;
|
|
589
589
|
}
|
|
590
|
-
return y(
|
|
590
|
+
return y(K);
|
|
591
591
|
}
|
|
592
592
|
function q(j) {
|
|
593
593
|
switch (typeof j) {
|
|
@@ -602,10 +602,10 @@ Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
|
|
|
602
602
|
return j.every(q);
|
|
603
603
|
if (j === null || A(j))
|
|
604
604
|
return !0;
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
var ce =
|
|
608
|
-
if (
|
|
605
|
+
var K = C(j);
|
|
606
|
+
if (K) {
|
|
607
|
+
var ce = K.call(j), ue;
|
|
608
|
+
if (K !== j.entries) {
|
|
609
609
|
for (; !(ue = ce.next()).done; )
|
|
610
610
|
if (!q(ue.value))
|
|
611
611
|
return !1;
|
|
@@ -622,37 +622,37 @@ Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
|
|
|
622
622
|
return !1;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function U(j,
|
|
626
|
-
return j === "symbol" ? !0 :
|
|
625
|
+
function U(j, K) {
|
|
626
|
+
return j === "symbol" ? !0 : K ? K["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && K instanceof Symbol : !1;
|
|
627
627
|
}
|
|
628
628
|
function L(j) {
|
|
629
|
-
var
|
|
630
|
-
return Array.isArray(j) ? "array" : j instanceof RegExp ? "object" : U(
|
|
629
|
+
var K = typeof j;
|
|
630
|
+
return Array.isArray(j) ? "array" : j instanceof RegExp ? "object" : U(K, j) ? "symbol" : K;
|
|
631
631
|
}
|
|
632
632
|
function W(j) {
|
|
633
633
|
if (typeof j > "u" || j === null)
|
|
634
634
|
return "" + j;
|
|
635
|
-
var
|
|
636
|
-
if (
|
|
635
|
+
var K = L(j);
|
|
636
|
+
if (K === "object") {
|
|
637
637
|
if (j instanceof Date)
|
|
638
638
|
return "date";
|
|
639
639
|
if (j instanceof RegExp)
|
|
640
640
|
return "regexp";
|
|
641
641
|
}
|
|
642
|
-
return
|
|
642
|
+
return K;
|
|
643
643
|
}
|
|
644
644
|
function M(j) {
|
|
645
|
-
var
|
|
646
|
-
switch (
|
|
645
|
+
var K = W(j);
|
|
646
|
+
switch (K) {
|
|
647
647
|
case "array":
|
|
648
648
|
case "object":
|
|
649
|
-
return "an " +
|
|
649
|
+
return "an " + K;
|
|
650
650
|
case "boolean":
|
|
651
651
|
case "date":
|
|
652
652
|
case "regexp":
|
|
653
|
-
return "a " +
|
|
653
|
+
return "a " + K;
|
|
654
654
|
default:
|
|
655
|
-
return
|
|
655
|
+
return K;
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
function X(j) {
|
|
@@ -937,11 +937,11 @@ function G3() {
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
|
-
var k = l, D = a, Y = e,
|
|
940
|
+
var k = l, D = a, Y = e, G = u, z = n, Z = h, ie = C, ne = t, q = i, U = r, L = g, W = f, M = !1, X = !1;
|
|
941
941
|
function j(Ae) {
|
|
942
942
|
return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function K(Ae) {
|
|
945
945
|
return X || (X = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
946
946
|
}
|
|
947
947
|
function ce(Ae) {
|
|
@@ -962,7 +962,7 @@ function G3() {
|
|
|
962
962
|
function Ee(Ae) {
|
|
963
963
|
return w(Ae) === h;
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function pe(Ae) {
|
|
966
966
|
return w(Ae) === C;
|
|
967
967
|
}
|
|
968
968
|
function ge(Ae) {
|
|
@@ -980,7 +980,7 @@ function G3() {
|
|
|
980
980
|
function Ue(Ae) {
|
|
981
981
|
return w(Ae) === f;
|
|
982
982
|
}
|
|
983
|
-
ct.ContextConsumer = k, ct.ContextProvider = D, ct.Element = Y, ct.ForwardRef =
|
|
983
|
+
ct.ContextConsumer = k, ct.ContextProvider = D, ct.Element = Y, ct.ForwardRef = G, ct.Fragment = z, ct.Lazy = Z, ct.Memo = ie, ct.Portal = ne, ct.Profiler = q, ct.StrictMode = U, ct.Suspense = L, ct.SuspenseList = W, ct.isAsyncMode = j, ct.isConcurrentMode = K, ct.isContextConsumer = ce, ct.isContextProvider = ue, ct.isElement = se, ct.isForwardRef = le, ct.isFragment = de, ct.isLazy = Ee, ct.isMemo = pe, ct.isPortal = ge, ct.isProfiler = Ce, ct.isStrictMode = Qe, ct.isSuspense = oe, ct.isSuspenseList = Ue, ct.isValidElementType = T, ct.typeOf = w;
|
|
984
984
|
}()), ct;
|
|
985
985
|
}
|
|
986
986
|
process.env.NODE_ENV === "production" ? Ig.exports = Y3() : Ig.exports = G3();
|
|
@@ -1316,7 +1316,7 @@ function Jt(e, t, n = "Mui") {
|
|
|
1316
1316
|
}), r;
|
|
1317
1317
|
}
|
|
1318
1318
|
const Ps = "$$material";
|
|
1319
|
-
function
|
|
1319
|
+
function Ze(e, t) {
|
|
1320
1320
|
if (e == null)
|
|
1321
1321
|
return {};
|
|
1322
1322
|
var n = {}, r = Object.keys(e), i, a;
|
|
@@ -1368,7 +1368,7 @@ function mD(e) {
|
|
|
1368
1368
|
},
|
|
1369
1369
|
unit: n = "px",
|
|
1370
1370
|
step: r = 5
|
|
1371
|
-
} = e, i =
|
|
1371
|
+
} = e, i = Ze(e, ED), a = ID(t), l = Object.keys(a);
|
|
1372
1372
|
function A(h) {
|
|
1373
1373
|
return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${n})`;
|
|
1374
1374
|
}
|
|
@@ -2127,7 +2127,7 @@ function Nf(e = {}, ...t) {
|
|
|
2127
2127
|
palette: r = {},
|
|
2128
2128
|
spacing: i,
|
|
2129
2129
|
shape: a = {}
|
|
2130
|
-
} = e, l =
|
|
2130
|
+
} = e, l = Ze(e, dM), A = mD(n), u = DD(i);
|
|
2131
2131
|
let g = Er({
|
|
2132
2132
|
breakpoints: A,
|
|
2133
2133
|
direction: "ltr",
|
|
@@ -2170,7 +2170,7 @@ const pM = ["sx"], hM = (e) => {
|
|
|
2170
2170
|
function CM(e) {
|
|
2171
2171
|
const {
|
|
2172
2172
|
sx: t
|
|
2173
|
-
} = e, n =
|
|
2173
|
+
} = e, n = Ze(e, pM), {
|
|
2174
2174
|
systemProps: r,
|
|
2175
2175
|
otherProps: i
|
|
2176
2176
|
} = hM(n);
|
|
@@ -2207,7 +2207,7 @@ function lI(e) {
|
|
|
2207
2207
|
function VB(e) {
|
|
2208
2208
|
const {
|
|
2209
2209
|
variant: t
|
|
2210
|
-
} = e, n =
|
|
2210
|
+
} = e, n = Ze(e, EM);
|
|
2211
2211
|
let r = t || "";
|
|
2212
2212
|
return Object.keys(n).sort().forEach((i) => {
|
|
2213
2213
|
i === "color" ? r += lI(r) ? e[i] : Te(e[i]) : r += `${lI(r) ? i : Te(i)}${Te(e[i].toString())}`;
|
|
@@ -2302,7 +2302,7 @@ function HB(e = {}) {
|
|
|
2302
2302
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
2303
2303
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2304
2304
|
overridesResolver: h = xM(cI(g))
|
|
2305
|
-
} = A, I =
|
|
2305
|
+
} = A, I = Ze(A, IM), m = f !== void 0 ? f : (
|
|
2306
2306
|
// TODO v6: remove `Root` in the next major release
|
|
2307
2307
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2308
2308
|
g && g !== "Root" && g !== "root" || !1
|
|
@@ -2379,12 +2379,12 @@ function HB(e = {}) {
|
|
|
2379
2379
|
const z = new Array(Y).fill("");
|
|
2380
2380
|
D = [...T, ...z], D.raw = [...T.raw, ...z];
|
|
2381
2381
|
}
|
|
2382
|
-
const
|
|
2382
|
+
const G = R(D, ...k);
|
|
2383
2383
|
if (process.env.NODE_ENV !== "production") {
|
|
2384
2384
|
let z;
|
|
2385
|
-
u && (z = `${u}${Te(g || "")}`), z === void 0 && (z = `Styled(${J3(l)})`),
|
|
2385
|
+
u && (z = `${u}${Te(g || "")}`), z === void 0 && (z = `Styled(${J3(l)})`), G.displayName = z;
|
|
2386
2386
|
}
|
|
2387
|
-
return l.muiName && (
|
|
2387
|
+
return l.muiName && (G.muiName = l.muiName), G;
|
|
2388
2388
|
};
|
|
2389
2389
|
return R.withConfig && (Q.withConfig = R.withConfig), Q;
|
|
2390
2390
|
};
|
|
@@ -2854,7 +2854,7 @@ function _M(e) {
|
|
|
2854
2854
|
mode: t = "light",
|
|
2855
2855
|
contrastThreshold: n = 3,
|
|
2856
2856
|
tonalOffset: r = 0.2
|
|
2857
|
-
} = e, i =
|
|
2857
|
+
} = e, i = Ze(e, YM), a = e.primary || GM(t), l = e.secondary || KM(t), A = e.error || qM(t), u = e.info || JM(t), g = e.success || XM(t), f = e.warning || ZM(t);
|
|
2858
2858
|
function C(B) {
|
|
2859
2859
|
const y = uI(B, Ld.text.primary) >= n ? Ld.text.primary : pI.text.primary;
|
|
2860
2860
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2971,7 +2971,7 @@ function t5(e, t) {
|
|
|
2971
2971
|
// Apply the CSS properties to all the variants.
|
|
2972
2972
|
allVariants: f,
|
|
2973
2973
|
pxToRem: C
|
|
2974
|
-
} = n, h =
|
|
2974
|
+
} = n, h = Ze(n, $M);
|
|
2975
2975
|
process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof g != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2976
2976
|
const I = i / 14, m = C || ((P) => `${P / g * I}rem`), B = (P, R, Q, T, w) => V({
|
|
2977
2977
|
fontFamily: r,
|
|
@@ -3063,7 +3063,7 @@ function u5(e) {
|
|
|
3063
3063
|
duration: l = n.standard,
|
|
3064
3064
|
easing: A = t.easeInOut,
|
|
3065
3065
|
delay: u = 0
|
|
3066
|
-
} = a, g =
|
|
3066
|
+
} = a, g = Ze(a, s5);
|
|
3067
3067
|
if (process.env.NODE_ENV !== "production") {
|
|
3068
3068
|
const f = (h) => typeof h == "string", C = (h) => !isNaN(parseFloat(h));
|
|
3069
3069
|
!f(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !C(l) && !f(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), f(A) || console.error('MUI: Argument "easing" must be a string.'), !C(u) && !f(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
@@ -3092,7 +3092,7 @@ function Wf(e = {}, ...t) {
|
|
|
3092
3092
|
palette: r = {},
|
|
3093
3093
|
transitions: i = {},
|
|
3094
3094
|
typography: a = {}
|
|
3095
|
-
} = e, l =
|
|
3095
|
+
} = e, l = Ze(e, f5);
|
|
3096
3096
|
if (e.vars)
|
|
3097
3097
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : fa(18));
|
|
3098
3098
|
const A = _M(r), u = Nf(e);
|
|
@@ -3160,7 +3160,7 @@ const Uf = (e) => Dc(e) && e !== "classes", h5 = HB({
|
|
|
3160
3160
|
function YB(e) {
|
|
3161
3161
|
let {
|
|
3162
3162
|
theme: t
|
|
3163
|
-
} = e, n =
|
|
3163
|
+
} = e, n = Ze(e, C5);
|
|
3164
3164
|
const r = t[Ps];
|
|
3165
3165
|
return /* @__PURE__ */ p(Xc, V({}, n, {
|
|
3166
3166
|
themeId: r ? Ps : void 0,
|
|
@@ -3488,7 +3488,7 @@ const b5 = ["className", "component", "elevation", "square", "variant"], Q5 = (e
|
|
|
3488
3488
|
elevation: l = 1,
|
|
3489
3489
|
square: A = !1,
|
|
3490
3490
|
variant: u = "elevation"
|
|
3491
|
-
} = r, g =
|
|
3491
|
+
} = r, g = Ze(r, b5), f = V({}, r, {
|
|
3492
3492
|
component: a,
|
|
3493
3493
|
elevation: l,
|
|
3494
3494
|
square: A,
|
|
@@ -3652,7 +3652,7 @@ const T5 = ["className", "color", "enableColorOnDark", "position"], P5 = (e) =>
|
|
|
3652
3652
|
color: a = "primary",
|
|
3653
3653
|
enableColorOnDark: l = !1,
|
|
3654
3654
|
position: A = "fixed"
|
|
3655
|
-
} = r, u =
|
|
3655
|
+
} = r, u = Ze(r, T5), g = V({}, r, {
|
|
3656
3656
|
color: a,
|
|
3657
3657
|
position: A,
|
|
3658
3658
|
enableColorOnDark: l
|
|
@@ -3762,17 +3762,17 @@ var Zc = { exports: {} };
|
|
|
3762
3762
|
Zc.exports;
|
|
3763
3763
|
(function(e, t) {
|
|
3764
3764
|
(function() {
|
|
3765
|
-
var n, r = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", A = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", g = 500, f = "__lodash_placeholder__", C = 1, h = 2, I = 4, m = 1, B = 2, y = 1, P = 2, R = 4, Q = 8, T = 16, w = 32, k = 64, D = 128, Y = 256,
|
|
3765
|
+
var n, r = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", A = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", g = 500, f = "__lodash_placeholder__", C = 1, h = 2, I = 4, m = 1, B = 2, y = 1, P = 2, R = 4, Q = 8, T = 16, w = 32, k = 64, D = 128, Y = 256, G = 512, z = 30, Z = "...", ie = 800, ne = 16, q = 1, U = 2, L = 3, W = 1 / 0, M = 9007199254740991, X = 17976931348623157e292, j = 0 / 0, K = 4294967295, ce = K - 1, ue = K >>> 1, se = [
|
|
3766
3766
|
["ary", D],
|
|
3767
3767
|
["bind", y],
|
|
3768
3768
|
["bindKey", P],
|
|
3769
3769
|
["curry", Q],
|
|
3770
3770
|
["curryRight", T],
|
|
3771
|
-
["flip",
|
|
3771
|
+
["flip", G],
|
|
3772
3772
|
["partial", w],
|
|
3773
3773
|
["partialRight", k],
|
|
3774
3774
|
["rearg", Y]
|
|
3775
|
-
], le = "[object Arguments]", de = "[object Array]", Ee = "[object AsyncFunction]",
|
|
3775
|
+
], le = "[object Arguments]", de = "[object Array]", Ee = "[object AsyncFunction]", pe = "[object Boolean]", ge = "[object Date]", Ce = "[object DOMException]", Qe = "[object Error]", oe = "[object Function]", Ue = "[object GeneratorFunction]", Ae = "[object Map]", ut = "[object Number]", Gt = "[object Null]", mt = "[object Object]", Tt = "[object Promise]", br = "[object Proxy]", bt = "[object RegExp]", Bt = "[object Set]", pt = "[object String]", Vt = "[object Symbol]", Ht = "[object Undefined]", Pe = "[object WeakMap]", Ne = "[object WeakSet]", xe = "[object ArrayBuffer]", Ye = "[object DataView]", we = "[object Float32Array]", ht = "[object Float64Array]", Ge = "[object Int8Array]", be = "[object Int16Array]", Wt = "[object Int32Array]", Qr = "[object Uint8Array]", Ar = "[object Uint8ClampedArray]", Uo = "[object Uint16Array]", Pi = "[object Uint32Array]", pl = /\b__p \+= '';/g, au = /\b(__p \+=) '' \+/g, su = /(__e\(.*?\)|\b__t\)) \+\n'';/g, hl = /&(?:amp|lt|gt|quot|#39);/g, La = /[&<>"']/g, Cl = RegExp(hl.source), El = RegExp(La.source), Il = /<%-([\s\S]+?)%>/g, ml = /<%([\s\S]+?)%>/g, Na = /<%=([\s\S]+?)%>/g, lu = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cu = /^\w*$/, Au = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Yo = /[\\^$.*+?()[\]{}|]/g, uu = RegExp(Yo.source), Hr = /^\s+/, ja = /\s/, Cn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Go = /\{\n\/\* \[wrapped with (.+)\] \*/, du = /,? & /, Ko = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Va = /[()=,{}\[\]\/\s]/, Bl = /\\(\\)?/g, vl = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ha = /\w*$/, yl = /^[-+]0x[0-9a-f]+$/i, gu = /^0b[01]+$/i, fu = /^\[object .+?Constructor\]$/, pu = /^0o[0-7]+$/i, hu = /^(?:0|[1-9]\d*)$/, He = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Zt = /($^)/, Ex = /['\n\r\u2028\u2029\\]/g, bl = "\\ud800-\\udfff", Ix = "\\u0300-\\u036f", mx = "\\ufe20-\\ufe2f", Bx = "\\u20d0-\\u20ff", gh = Ix + mx + Bx, fh = "\\u2700-\\u27bf", ph = "a-z\\xdf-\\xf6\\xf8-\\xff", vx = "\\xac\\xb1\\xd7\\xf7", yx = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", bx = "\\u2000-\\u206f", Qx = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", hh = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ch = "\\ufe0e\\ufe0f", Eh = vx + yx + bx + Qx, Cu = "['’]", xx = "[" + bl + "]", Ih = "[" + Eh + "]", Ql = "[" + gh + "]", mh = "\\d+", wx = "[" + fh + "]", Bh = "[" + ph + "]", vh = "[^" + bl + Eh + mh + fh + ph + hh + "]", Eu = "\\ud83c[\\udffb-\\udfff]", Tx = "(?:" + Ql + "|" + Eu + ")", yh = "[^" + bl + "]", Iu = "(?:\\ud83c[\\udde6-\\uddff]){2}", mu = "[\\ud800-\\udbff][\\udc00-\\udfff]", Si = "[" + hh + "]", bh = "\\u200d", Qh = "(?:" + Bh + "|" + vh + ")", Px = "(?:" + Si + "|" + vh + ")", xh = "(?:" + Cu + "(?:d|ll|m|re|s|t|ve))?", wh = "(?:" + Cu + "(?:D|LL|M|RE|S|T|VE))?", Th = Tx + "?", Ph = "[" + Ch + "]?", Sx = "(?:" + bh + "(?:" + [yh, Iu, mu].join("|") + ")" + Ph + Th + ")*", Rx = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ox = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Sh = Ph + Th + Sx, Dx = "(?:" + [wx, Iu, mu].join("|") + ")" + Sh, Mx = "(?:" + [yh + Ql + "?", Ql, Iu, mu, xx].join("|") + ")", kx = RegExp(Cu, "g"), Fx = RegExp(Ql, "g"), Bu = RegExp(Eu + "(?=" + Eu + ")|" + Mx + Sh, "g"), Lx = RegExp([
|
|
3776
3776
|
Si + "?" + Bh + "+" + xh + "(?=" + [Ih, Si, "$"].join("|") + ")",
|
|
3777
3777
|
Px + "+" + wh + "(?=" + [Ih, Si + Qh, "$"].join("|") + ")",
|
|
3778
3778
|
Si + "?" + Qh + "+" + xh,
|
|
@@ -3813,9 +3813,9 @@ Zc.exports;
|
|
|
3813
3813
|
"parseInt",
|
|
3814
3814
|
"setTimeout"
|
|
3815
3815
|
], Hx = -1, vt = {};
|
|
3816
|
-
vt[we] = vt[ht] = vt[Ge] = vt[be] = vt[Wt] = vt[Qr] = vt[Ar] = vt[Uo] = vt[Pi] = !0, vt[le] = vt[de] = vt[xe] = vt[
|
|
3816
|
+
vt[we] = vt[ht] = vt[Ge] = vt[be] = vt[Wt] = vt[Qr] = vt[Ar] = vt[Uo] = vt[Pi] = !0, vt[le] = vt[de] = vt[xe] = vt[pe] = vt[Ye] = vt[ge] = vt[Qe] = vt[oe] = vt[Ae] = vt[ut] = vt[mt] = vt[bt] = vt[Bt] = vt[pt] = vt[Pe] = !1;
|
|
3817
3817
|
var Et = {};
|
|
3818
|
-
Et[le] = Et[de] = Et[xe] = Et[Ye] = Et[
|
|
3818
|
+
Et[le] = Et[de] = Et[xe] = Et[Ye] = Et[pe] = Et[ge] = Et[we] = Et[ht] = Et[Ge] = Et[be] = Et[Wt] = Et[Ae] = Et[ut] = Et[mt] = Et[bt] = Et[Bt] = Et[pt] = Et[Vt] = Et[Qr] = Et[Ar] = Et[Uo] = Et[Pi] = !0, Et[Qe] = Et[oe] = Et[Pe] = !1;
|
|
3819
3819
|
var Wx = {
|
|
3820
3820
|
// Latin-1 Supplement block.
|
|
3821
3821
|
À: "A",
|
|
@@ -4391,7 +4391,7 @@ Zc.exports;
|
|
|
4391
4391
|
}
|
|
4392
4392
|
}, b.prototype = Wl.prototype, b.prototype.constructor = b, qn.prototype = Ni(Wl.prototype), qn.prototype.constructor = qn;
|
|
4393
4393
|
function et(o) {
|
|
4394
|
-
this.__wrapped__ = o, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ =
|
|
4394
|
+
this.__wrapped__ = o, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = K, this.__views__ = [];
|
|
4395
4395
|
}
|
|
4396
4396
|
function jw() {
|
|
4397
4397
|
var o = new et(this.__wrapped__);
|
|
@@ -5417,7 +5417,7 @@ Zc.exports;
|
|
|
5417
5417
|
});
|
|
5418
5418
|
}
|
|
5419
5419
|
function Xl(o, s, d, E, v, x, S, F, H, ee) {
|
|
5420
|
-
var te = s & D, re = s & y, fe = s & P, ve = s & (Q | T), Re = s &
|
|
5420
|
+
var te = s & D, re = s & y, fe = s & P, ve = s & (Q | T), Re = s & G, Ke = fe ? n : $a(o);
|
|
5421
5421
|
function Oe() {
|
|
5422
5422
|
for (var _e = arguments.length, tt = J(_e), Dn = _e; Dn--; )
|
|
5423
5423
|
tt[Dn] = arguments[Dn];
|
|
@@ -5614,7 +5614,7 @@ Zc.exports;
|
|
|
5614
5614
|
o = o.buffer, s = s.buffer;
|
|
5615
5615
|
case xe:
|
|
5616
5616
|
return !(o.byteLength != s.byteLength || !x(new Ml(o), new Ml(s)));
|
|
5617
|
-
case
|
|
5617
|
+
case pe:
|
|
5618
5618
|
case ge:
|
|
5619
5619
|
case ut:
|
|
5620
5620
|
return gr(+o, +s);
|
|
@@ -5797,7 +5797,7 @@ Zc.exports;
|
|
|
5797
5797
|
switch (s) {
|
|
5798
5798
|
case xe:
|
|
5799
5799
|
return ed(o);
|
|
5800
|
-
case
|
|
5800
|
+
case pe:
|
|
5801
5801
|
case ge:
|
|
5802
5802
|
return new E(+o);
|
|
5803
5803
|
case Ye:
|
|
@@ -6527,7 +6527,7 @@ Zc.exports;
|
|
|
6527
6527
|
return sC(o, _n(s) || 0, d);
|
|
6528
6528
|
});
|
|
6529
6529
|
function XP(o) {
|
|
6530
|
-
return Yr(o,
|
|
6530
|
+
return Yr(o, G);
|
|
6531
6531
|
}
|
|
6532
6532
|
function ac(o, s) {
|
|
6533
6533
|
if (typeof o != "function" || s != null && typeof s != "function")
|
|
@@ -6647,7 +6647,7 @@ Zc.exports;
|
|
|
6647
6647
|
return Ot(o) && In(o);
|
|
6648
6648
|
}
|
|
6649
6649
|
function f4(o) {
|
|
6650
|
-
return o === !0 || o === !1 || Ot(o) && dn(o) ==
|
|
6650
|
+
return o === !0 || o === !1 || Ot(o) && dn(o) == pe;
|
|
6651
6651
|
}
|
|
6652
6652
|
var mo = Tw || xd, p4 = Mh ? Sn(Mh) : v2;
|
|
6653
6653
|
function h4(o) {
|
|
@@ -6785,7 +6785,7 @@ Zc.exports;
|
|
|
6785
6785
|
return s === s ? d ? s - d : s : 0;
|
|
6786
6786
|
}
|
|
6787
6787
|
function QE(o) {
|
|
6788
|
-
return o ? _o(We(o), 0,
|
|
6788
|
+
return o ? _o(We(o), 0, K) : 0;
|
|
6789
6789
|
}
|
|
6790
6790
|
function _n(o) {
|
|
6791
6791
|
if (typeof o == "number")
|
|
@@ -7047,7 +7047,7 @@ Zc.exports;
|
|
|
7047
7047
|
return o + (d ? "_" : "") + s.toLowerCase();
|
|
7048
7048
|
});
|
|
7049
7049
|
function PS(o, s, d) {
|
|
7050
|
-
return d && typeof d != "number" && gn(o, s, d) && (s = d = n), d = d === n ?
|
|
7050
|
+
return d && typeof d != "number" && gn(o, s, d) && (s = d = n), d = d === n ? K : d >>> 0, d ? (o = it(o), o && (typeof s == "string" || s != null && !Cd(s)) && (s = Rn(s), !s && Oi(o)) ? Io(ur(o), 0, d) : o.split(s, d)) : [];
|
|
7051
7051
|
}
|
|
7052
7052
|
var SS = Vi(function(o, s, d) {
|
|
7053
7053
|
return o + (d ? " " : "") + md(s);
|
|
@@ -7279,8 +7279,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7279
7279
|
function lR(o, s) {
|
|
7280
7280
|
if (o = We(o), o < 1 || o > M)
|
|
7281
7281
|
return [];
|
|
7282
|
-
var d =
|
|
7283
|
-
s = Se(s), o -=
|
|
7282
|
+
var d = K, E = an(o, K);
|
|
7283
|
+
s = Se(s), o -= K;
|
|
7284
7284
|
for (var v = Su(E, s); ++d < o; )
|
|
7285
7285
|
s(d);
|
|
7286
7286
|
return v;
|
|
@@ -7338,7 +7338,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7338
7338
|
d = d === n ? 1 : qt(We(d), 0);
|
|
7339
7339
|
var E = this.__filtered__ && !s ? new et(this) : this.clone();
|
|
7340
7340
|
return E.__filtered__ ? E.__takeCount__ = an(d, E.__takeCount__) : E.__views__.push({
|
|
7341
|
-
size: an(d,
|
|
7341
|
+
size: an(d, K),
|
|
7342
7342
|
type: o + (E.__dir__ < 0 ? "Right" : "")
|
|
7343
7343
|
}), E;
|
|
7344
7344
|
}, et.prototype[o + "Right"] = function(d) {
|
|
@@ -7382,7 +7382,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7382
7382
|
}, et.prototype.takeRightWhile = function(o) {
|
|
7383
7383
|
return this.reverse().takeWhile(o).reverse();
|
|
7384
7384
|
}, et.prototype.toArray = function() {
|
|
7385
|
-
return this.take(
|
|
7385
|
+
return this.take(K);
|
|
7386
7386
|
}, xr(et.prototype, function(o, s) {
|
|
7387
7387
|
var d = /^(?:filter|find|map|reject)|While$/.test(s), E = /^(?:head|last)$/.test(s), v = b[E ? "take" + (s == "last" ? "Right" : "") : s], x = E || /^find/.test(s);
|
|
7388
7388
|
v && (b.prototype[s] = function() {
|
|
@@ -7426,7 +7426,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7426
7426
|
}).call(nr);
|
|
7427
7427
|
})(Zc, Zc.exports);
|
|
7428
7428
|
var gt = Zc.exports;
|
|
7429
|
-
const
|
|
7429
|
+
const he = /* @__PURE__ */ xa(gt), BI = (e) => function() {
|
|
7430
7430
|
return e.apply(this, arguments);
|
|
7431
7431
|
}, Os = c.shape({
|
|
7432
7432
|
id: c.string,
|
|
@@ -7675,7 +7675,7 @@ function sv(e, t) {
|
|
|
7675
7675
|
const a = typeof window < "u" ? localStorage.getItem(e) : null;
|
|
7676
7676
|
return a === null ? t : JSON.parse(a);
|
|
7677
7677
|
});
|
|
7678
|
-
return
|
|
7678
|
+
return Xe(() => {
|
|
7679
7679
|
const a = (l) => {
|
|
7680
7680
|
typeof window < "u" && l.storageArea === localStorage && l.key === e && r(l.newValue ? JSON.parse(l.newValue) : l.newValue);
|
|
7681
7681
|
};
|
|
@@ -7700,17 +7700,17 @@ const V5 = (e) => {
|
|
|
7700
7700
|
}, [i, t, r, n, e]);
|
|
7701
7701
|
}, lr = () => Nt(_B);
|
|
7702
7702
|
function tl(e, t) {
|
|
7703
|
-
const n =
|
|
7704
|
-
|
|
7703
|
+
const n = he.merge(
|
|
7704
|
+
he.cloneDeepWith((e == null ? void 0 : e.sx) ?? {}, (a) => he.isFunction(a) ? a : void 0),
|
|
7705
7705
|
t
|
|
7706
7706
|
), [r, i] = qe(n);
|
|
7707
|
-
return
|
|
7708
|
-
|
|
7707
|
+
return Xe(() => {
|
|
7708
|
+
he.isEqual(r, n) || i(n);
|
|
7709
7709
|
}, [r, n]), r;
|
|
7710
7710
|
}
|
|
7711
7711
|
function NJ(e, t) {
|
|
7712
7712
|
const [n, r] = qe({ width: 1, height: 1 }), i = e.current;
|
|
7713
|
-
return
|
|
7713
|
+
return Xe(() => {
|
|
7714
7714
|
function a() {
|
|
7715
7715
|
var g;
|
|
7716
7716
|
let A = 0, u = 0;
|
|
@@ -7737,17 +7737,17 @@ function NJ(e, t) {
|
|
|
7737
7737
|
});
|
|
7738
7738
|
}
|
|
7739
7739
|
const l = new ResizeObserver(a);
|
|
7740
|
-
return
|
|
7740
|
+
return he.isEmpty(e == null ? void 0 : e.current) || (l.observe(e == null ? void 0 : e.current), a()), () => {
|
|
7741
7741
|
l.disconnect();
|
|
7742
7742
|
};
|
|
7743
7743
|
}, [i, t]), n;
|
|
7744
7744
|
}
|
|
7745
7745
|
function H5(e) {
|
|
7746
|
-
if (!
|
|
7746
|
+
if (!he.isPlainObject(e))
|
|
7747
7747
|
throw new Error("[useMemoizedObject]: param must be a plain JS object");
|
|
7748
7748
|
const [t, n] = qe(e);
|
|
7749
|
-
return
|
|
7750
|
-
|
|
7749
|
+
return Xe(() => {
|
|
7750
|
+
he.isEqual(e, t) || n(e);
|
|
7751
7751
|
}, [e, t]), t;
|
|
7752
7752
|
}
|
|
7753
7753
|
const lv = ae(R5, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => {
|
|
@@ -7778,7 +7778,7 @@ const cv = Tn({
|
|
|
7778
7778
|
transformPagePoint: (e) => e,
|
|
7779
7779
|
isStatic: !1,
|
|
7780
7780
|
reducedMotion: "never"
|
|
7781
|
-
}), WA = Tn({}), Kf = Tn(null), zA = typeof document < "u", W5 = zA ? mO :
|
|
7781
|
+
}), WA = Tn({}), Kf = Tn(null), zA = typeof document < "u", W5 = zA ? mO : Xe, Av = Tn({ strict: !1 });
|
|
7782
7782
|
function z5(e, t, n, r) {
|
|
7783
7783
|
const { visualElement: i } = Nt(WA), a = Nt(Av), l = Nt(Kf), A = Nt(cv).reducedMotion, u = ir();
|
|
7784
7784
|
r = r || a.renderer, !u.current && r && (u.current = r(e, {
|
|
@@ -7796,7 +7796,7 @@ function z5(e, t, n, r) {
|
|
|
7796
7796
|
const f = ir(!!window.HandoffAppearAnimations);
|
|
7797
7797
|
return W5(() => {
|
|
7798
7798
|
g && (g.render(), f.current && g.animationState && g.animationState.animateChanges());
|
|
7799
|
-
}),
|
|
7799
|
+
}), Xe(() => {
|
|
7800
7800
|
g && (g.updateFeatures(), !f.current && g.animationState && g.animationState.animateChanges(), window.HandoffAppearAnimations = void 0, f.current = !1);
|
|
7801
7801
|
}), g;
|
|
7802
7802
|
}
|
|
@@ -9170,8 +9170,8 @@ function LI({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
9170
9170
|
const y = C + B, P = l === void 0 ? y : l(y);
|
|
9171
9171
|
P !== y && (B = P - C);
|
|
9172
9172
|
const R = (Y) => -B * Math.exp(-Y / r), Q = (Y) => P + R(Y), T = (Y) => {
|
|
9173
|
-
const
|
|
9174
|
-
h.done = Math.abs(
|
|
9173
|
+
const G = R(Y), z = Q(Y);
|
|
9174
|
+
h.done = Math.abs(G) <= g, h.value = h.done ? P : z;
|
|
9175
9175
|
};
|
|
9176
9176
|
let w, k;
|
|
9177
9177
|
const D = (Y) => {
|
|
@@ -9187,8 +9187,8 @@ function LI({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
9187
9187
|
return D(0), {
|
|
9188
9188
|
calculatedDuration: null,
|
|
9189
9189
|
next: (Y) => {
|
|
9190
|
-
let
|
|
9191
|
-
return !k && w === void 0 && (
|
|
9190
|
+
let G = !1;
|
|
9191
|
+
return !k && w === void 0 && (G = !0, T(Y), D(Y)), w !== void 0 && Y > w ? k.next(Y - w) : (!G && T(Y), h);
|
|
9192
9192
|
}
|
|
9193
9193
|
};
|
|
9194
9194
|
}
|
|
@@ -9222,8 +9222,8 @@ const O6 = {
|
|
|
9222
9222
|
function rA({ autoplay: e = !0, delay: t = 0, driver: n = R6, keyframes: r, type: i = "keyframes", repeat: a = 0, repeatDelay: l = 0, repeatType: A = "loop", onPlay: u, onStop: g, onComplete: f, onUpdate: C, ...h }) {
|
|
9223
9223
|
let I = 1, m = !1, B, y;
|
|
9224
9224
|
const P = () => {
|
|
9225
|
-
y = new Promise((
|
|
9226
|
-
B =
|
|
9225
|
+
y = new Promise((K) => {
|
|
9226
|
+
B = K;
|
|
9227
9227
|
});
|
|
9228
9228
|
};
|
|
9229
9229
|
P();
|
|
@@ -9240,16 +9240,16 @@ function rA({ autoplay: e = !0, delay: t = 0, driver: n = R6, keyframes: r, type
|
|
|
9240
9240
|
keyframes: [...r].reverse(),
|
|
9241
9241
|
velocity: -(h.velocity || 0)
|
|
9242
9242
|
}));
|
|
9243
|
-
let D = "idle", Y = null,
|
|
9243
|
+
let D = "idle", Y = null, G = null, z = null;
|
|
9244
9244
|
w.calculatedDuration === null && a && (w.calculatedDuration = jI(w));
|
|
9245
9245
|
const { calculatedDuration: Z } = w;
|
|
9246
9246
|
let ie = 1 / 0, ne = 1 / 0;
|
|
9247
9247
|
Z !== null && (ie = Z + l, ne = ie * (a + 1) - l);
|
|
9248
9248
|
let q = 0;
|
|
9249
|
-
const U = (
|
|
9250
|
-
if (
|
|
9249
|
+
const U = (K) => {
|
|
9250
|
+
if (G === null)
|
|
9251
9251
|
return;
|
|
9252
|
-
I > 0 && (
|
|
9252
|
+
I > 0 && (G = Math.min(G, K)), I < 0 && (G = Math.min(K - ne / I, G)), Y !== null ? q = Y : q = Math.round(K - G) * I;
|
|
9253
9253
|
const ce = q - t * (I >= 0 ? 1 : -1), ue = I >= 0 ? ce < 0 : ce > ne;
|
|
9254
9254
|
q = Math.max(ce, 0), D === "finished" && Y === null && (q = ne);
|
|
9255
9255
|
let se = q, le = w;
|
|
@@ -9266,41 +9266,41 @@ function rA({ autoplay: e = !0, delay: t = 0, driver: n = R6, keyframes: r, type
|
|
|
9266
9266
|
T && (de.value = T(de.value));
|
|
9267
9267
|
let { done: Ee } = de;
|
|
9268
9268
|
!ue && Z !== null && (Ee = I >= 0 ? q >= ne : q <= 0);
|
|
9269
|
-
const
|
|
9270
|
-
return C && C(de.value),
|
|
9269
|
+
const pe = Y === null && (D === "finished" || D === "running" && Ee);
|
|
9270
|
+
return C && C(de.value), pe && M(), de;
|
|
9271
9271
|
}, L = () => {
|
|
9272
9272
|
R && R.stop(), R = void 0;
|
|
9273
9273
|
}, W = () => {
|
|
9274
|
-
D = "idle", L(), B(), P(),
|
|
9274
|
+
D = "idle", L(), B(), P(), G = z = null;
|
|
9275
9275
|
}, M = () => {
|
|
9276
9276
|
D = "finished", f && f(), L(), B();
|
|
9277
9277
|
}, X = () => {
|
|
9278
9278
|
if (m)
|
|
9279
9279
|
return;
|
|
9280
9280
|
R || (R = n(U));
|
|
9281
|
-
const
|
|
9282
|
-
u && u(), Y !== null ?
|
|
9281
|
+
const K = R.now();
|
|
9282
|
+
u && u(), Y !== null ? G = K - Y : (!G || D === "finished") && (G = K), D === "finished" && P(), z = G, Y = null, D = "running", R.start();
|
|
9283
9283
|
};
|
|
9284
9284
|
e && X();
|
|
9285
9285
|
const j = {
|
|
9286
|
-
then(
|
|
9287
|
-
return y.then(
|
|
9286
|
+
then(K, ce) {
|
|
9287
|
+
return y.then(K, ce);
|
|
9288
9288
|
},
|
|
9289
9289
|
get time() {
|
|
9290
9290
|
return ro(q);
|
|
9291
9291
|
},
|
|
9292
|
-
set time(
|
|
9293
|
-
|
|
9292
|
+
set time(K) {
|
|
9293
|
+
K = Do(K), q = K, Y !== null || !R || I === 0 ? Y = K : G = R.now() - K / I;
|
|
9294
9294
|
},
|
|
9295
9295
|
get duration() {
|
|
9296
|
-
const
|
|
9297
|
-
return ro(
|
|
9296
|
+
const K = w.calculatedDuration === null ? jI(w) : w.calculatedDuration;
|
|
9297
|
+
return ro(K);
|
|
9298
9298
|
},
|
|
9299
9299
|
get speed() {
|
|
9300
9300
|
return I;
|
|
9301
9301
|
},
|
|
9302
|
-
set speed(
|
|
9303
|
-
|
|
9302
|
+
set speed(K) {
|
|
9303
|
+
K === I || !R || (I = K, j.time = ro(q));
|
|
9304
9304
|
},
|
|
9305
9305
|
get state() {
|
|
9306
9306
|
return D;
|
|
@@ -9318,7 +9318,7 @@ function rA({ autoplay: e = !0, delay: t = 0, driver: n = R6, keyframes: r, type
|
|
|
9318
9318
|
complete: () => {
|
|
9319
9319
|
D = "finished";
|
|
9320
9320
|
},
|
|
9321
|
-
sample: (
|
|
9321
|
+
sample: (K) => (G = 0, U(K))
|
|
9322
9322
|
};
|
|
9323
9323
|
return j;
|
|
9324
9324
|
}
|
|
@@ -9935,7 +9935,7 @@ function pk(e) {
|
|
|
9935
9935
|
UA(T) || typeof T == "boolean")
|
|
9936
9936
|
continue;
|
|
9937
9937
|
const Y = hk(Q.prevProp, T);
|
|
9938
|
-
let
|
|
9938
|
+
let G = Y || // If we're making this variant active, we want to always make it active
|
|
9939
9939
|
R === g && Q.isActive && !D && w || // If we removed a higher-priority variant (i is in reverse order)
|
|
9940
9940
|
P > B && w;
|
|
9941
9941
|
const z = Array.isArray(T) ? T : [T];
|
|
@@ -9945,13 +9945,13 @@ function pk(e) {
|
|
|
9945
9945
|
...ie,
|
|
9946
9946
|
...Z
|
|
9947
9947
|
}, q = (U) => {
|
|
9948
|
-
|
|
9948
|
+
G = !0, I.delete(U), Q.needsAnimating[U] = !0;
|
|
9949
9949
|
};
|
|
9950
9950
|
for (const U in ne) {
|
|
9951
9951
|
const L = Z[U], W = ie[U];
|
|
9952
9952
|
m.hasOwnProperty(U) || (L !== W ? eA(L) && eA(W) ? !Ov(L, W) || Y ? q(U) : Q.protectedKeys[U] = !0 : L !== void 0 ? q(U) : I.add(U) : L !== void 0 && I.has(U) ? q(U) : Q.protectedKeys[U] = !0);
|
|
9953
9953
|
}
|
|
9954
|
-
Q.prevProp = T, Q.prevResolvedValues = Z, Q.isActive && (m = { ...m, ...Z }), r && e.blockInitialAnimation && (
|
|
9954
|
+
Q.prevProp = T, Q.prevResolvedValues = Z, Q.isActive && (m = { ...m, ...Z }), r && e.blockInitialAnimation && (G = !1), G && !D && h.push(...z.map((U) => ({
|
|
9955
9955
|
animation: U,
|
|
9956
9956
|
options: { type: R, ...u }
|
|
9957
9957
|
})));
|
|
@@ -10574,7 +10574,7 @@ function zk() {
|
|
|
10574
10574
|
if (e === null)
|
|
10575
10575
|
return [!0, null];
|
|
10576
10576
|
const { isPresent: t, onExitComplete: n, register: r } = e, i = yO();
|
|
10577
|
-
return
|
|
10577
|
+
return Xe(() => r(i), []), !t && n ? [!1, () => n && n(i)] : [!0];
|
|
10578
10578
|
}
|
|
10579
10579
|
const Fc = {
|
|
10580
10580
|
/**
|
|
@@ -12053,7 +12053,7 @@ const $F = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
12053
12053
|
inheritViewBox: f = !1,
|
|
12054
12054
|
titleAccess: C,
|
|
12055
12055
|
viewBox: h = "0 0 24 24"
|
|
12056
|
-
} = r, I =
|
|
12056
|
+
} = r, I = Ze(r, $F), m = /* @__PURE__ */ O.isValidElement(i) && i.type === "svg", B = V({}, r, {
|
|
12057
12057
|
color: l,
|
|
12058
12058
|
component: A,
|
|
12059
12059
|
fontSize: u,
|
|
@@ -12276,7 +12276,7 @@ const Py = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
12276
12276
|
src: f,
|
|
12277
12277
|
srcSet: C,
|
|
12278
12278
|
variant: h = "circular"
|
|
12279
|
-
} = r, I =
|
|
12279
|
+
} = r, I = Ze(r, o9);
|
|
12280
12280
|
let m = null;
|
|
12281
12281
|
const B = c9(V({}, u, {
|
|
12282
12282
|
src: f,
|
|
@@ -12637,7 +12637,7 @@ const p9 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
12637
12637
|
paragraph: C = !1,
|
|
12638
12638
|
variant: h = "body1",
|
|
12639
12639
|
variantMapping: I = Sm
|
|
12640
|
-
} = a, m =
|
|
12640
|
+
} = a, m = Ze(a, p9), B = V({}, a, {
|
|
12641
12641
|
align: l,
|
|
12642
12642
|
color: i,
|
|
12643
12643
|
className: A,
|
|
@@ -12884,7 +12884,7 @@ var y9 = function(t) {
|
|
|
12884
12884
|
return null;
|
|
12885
12885
|
var a = this.props, l = a.children;
|
|
12886
12886
|
a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
|
|
12887
|
-
var A =
|
|
12887
|
+
var A = Ze(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
12888
12888
|
return (
|
|
12889
12889
|
// allows for nested Transitions
|
|
12890
12890
|
/* @__PURE__ */ Le.createElement(sA.Provider, {
|
|
@@ -13204,7 +13204,7 @@ var T9 = Object.values || function(e) {
|
|
|
13204
13204
|
};
|
|
13205
13205
|
}));
|
|
13206
13206
|
}, n.render = function() {
|
|
13207
|
-
var i = this.props, a = i.component, l = i.childFactory, A =
|
|
13207
|
+
var i = this.props, a = i.component, l = i.childFactory, A = Ze(i, ["component", "childFactory"]), u = this.state.contextValue, g = T9(this.state.children).map(l);
|
|
13208
13208
|
return delete A.appear, delete A.enter, delete A.exit, a === null ? /* @__PURE__ */ Le.createElement(sA.Provider, {
|
|
13209
13209
|
value: u
|
|
13210
13210
|
}, g) : /* @__PURE__ */ Le.createElement(sA.Provider, {
|
|
@@ -13442,7 +13442,7 @@ const Wg = 550, D9 = 80, M9 = Lo(Om || (Om = JA`
|
|
|
13442
13442
|
center: i = !1,
|
|
13443
13443
|
classes: a = {},
|
|
13444
13444
|
className: l
|
|
13445
|
-
} = r, A =
|
|
13445
|
+
} = r, A = Ze(r, O9), [u, g] = O.useState([]), f = O.useRef(0), C = O.useRef(null);
|
|
13446
13446
|
O.useEffect(() => {
|
|
13447
13447
|
C.current && (C.current(), C.current = null);
|
|
13448
13448
|
}, [u]);
|
|
@@ -13456,7 +13456,7 @@ const Wg = 550, D9 = 80, M9 = Lo(Om || (Om = JA`
|
|
|
13456
13456
|
rippleX: k,
|
|
13457
13457
|
rippleY: D,
|
|
13458
13458
|
rippleSize: Y,
|
|
13459
|
-
cb:
|
|
13459
|
+
cb: G
|
|
13460
13460
|
} = T;
|
|
13461
13461
|
g((z) => [...z, /* @__PURE__ */ p(N9, {
|
|
13462
13462
|
classes: {
|
|
@@ -13472,13 +13472,13 @@ const Wg = 550, D9 = 80, M9 = Lo(Om || (Om = JA`
|
|
|
13472
13472
|
rippleX: k,
|
|
13473
13473
|
rippleY: D,
|
|
13474
13474
|
rippleSize: Y
|
|
13475
|
-
}, f.current)]), f.current += 1, C.current =
|
|
13475
|
+
}, f.current)]), f.current += 1, C.current = G;
|
|
13476
13476
|
}, [a]), P = O.useCallback((T = {}, w = {}, k = () => {
|
|
13477
13477
|
}) => {
|
|
13478
13478
|
const {
|
|
13479
13479
|
pulsate: D = !1,
|
|
13480
13480
|
center: Y = i || w.pulsate,
|
|
13481
|
-
fakeElement:
|
|
13481
|
+
fakeElement: G = !1
|
|
13482
13482
|
// For test purposes
|
|
13483
13483
|
} = w;
|
|
13484
13484
|
if ((T == null ? void 0 : T.type) === "mousedown" && h.current) {
|
|
@@ -13486,7 +13486,7 @@ const Wg = 550, D9 = 80, M9 = Lo(Om || (Om = JA`
|
|
|
13486
13486
|
return;
|
|
13487
13487
|
}
|
|
13488
13488
|
(T == null ? void 0 : T.type) === "touchstart" && (h.current = !0);
|
|
13489
|
-
const z =
|
|
13489
|
+
const z = G ? null : B.current, Z = z ? z.getBoundingClientRect() : {
|
|
13490
13490
|
width: 0,
|
|
13491
13491
|
height: 0,
|
|
13492
13492
|
left: 0,
|
|
@@ -13652,16 +13652,16 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
13652
13652
|
onMouseDown: k,
|
|
13653
13653
|
onMouseLeave: D,
|
|
13654
13654
|
onMouseUp: Y,
|
|
13655
|
-
onTouchEnd:
|
|
13655
|
+
onTouchEnd: G,
|
|
13656
13656
|
onTouchMove: z,
|
|
13657
13657
|
onTouchStart: Z,
|
|
13658
13658
|
tabIndex: ie = 0,
|
|
13659
13659
|
TouchRippleProps: ne,
|
|
13660
13660
|
touchRippleRef: q,
|
|
13661
13661
|
type: U
|
|
13662
|
-
} = r, L =
|
|
13662
|
+
} = r, L = Ze(r, z9), W = O.useRef(null), M = O.useRef(null), X = Vn(M, q), {
|
|
13663
13663
|
isFocusVisibleRef: j,
|
|
13664
|
-
onFocus:
|
|
13664
|
+
onFocus: K,
|
|
13665
13665
|
onBlur: ce,
|
|
13666
13666
|
ref: ue
|
|
13667
13667
|
} = Df(), [se, le] = O.useState(!1);
|
|
@@ -13674,7 +13674,7 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
13674
13674
|
O.useEffect(() => {
|
|
13675
13675
|
Ee(!0);
|
|
13676
13676
|
}, []);
|
|
13677
|
-
const
|
|
13677
|
+
const pe = de && !f && !g;
|
|
13678
13678
|
O.useEffect(() => {
|
|
13679
13679
|
se && h && !f && de && M.current.pulsate();
|
|
13680
13680
|
}, [f, h, se, de]);
|
|
@@ -13683,10 +13683,10 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
13683
13683
|
}
|
|
13684
13684
|
const Ce = ge("start", k), Qe = ge("stop", y), oe = ge("stop", P), Ue = ge("stop", Y), Ae = ge("stop", (we) => {
|
|
13685
13685
|
se && we.preventDefault(), D && D(we);
|
|
13686
|
-
}), ut = ge("start", Z), Gt = ge("stop",
|
|
13686
|
+
}), ut = ge("start", Z), Gt = ge("stop", G), mt = ge("stop", z), Tt = ge("stop", (we) => {
|
|
13687
13687
|
ce(we), j.current === !1 && le(!1), m && m(we);
|
|
13688
13688
|
}, !1), br = wo((we) => {
|
|
13689
|
-
W.current || (W.current = we.currentTarget),
|
|
13689
|
+
W.current || (W.current = we.currentTarget), K(we), j.current === !0 && (le(!0), Q && Q(we)), R && R(we);
|
|
13690
13690
|
}), bt = () => {
|
|
13691
13691
|
const we = W.current;
|
|
13692
13692
|
return u && u !== "button" && !(we.tagName === "A" && we.href);
|
|
@@ -13705,9 +13705,9 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
13705
13705
|
Ht === "button" ? (Pe.type = U === void 0 ? "button" : U, Pe.disabled = g) : (!L.href && !L.to && (Pe.role = "button"), g && (Pe["aria-disabled"] = g));
|
|
13706
13706
|
const Ne = Vn(n, ue, W);
|
|
13707
13707
|
process.env.NODE_ENV !== "production" && O.useEffect(() => {
|
|
13708
|
-
|
|
13708
|
+
pe && !M.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(`
|
|
13709
13709
|
`));
|
|
13710
|
-
}, [
|
|
13710
|
+
}, [pe]);
|
|
13711
13711
|
const xe = V({}, r, {
|
|
13712
13712
|
centerRipple: a,
|
|
13713
13713
|
component: u,
|
|
@@ -13739,7 +13739,7 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
13739
13739
|
tabIndex: g ? -1 : ie,
|
|
13740
13740
|
type: U
|
|
13741
13741
|
}, Pe, L, {
|
|
13742
|
-
children: [l,
|
|
13742
|
+
children: [l, pe ? (
|
|
13743
13743
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
13744
13744
|
/* @__PURE__ */ p(j9, V({
|
|
13745
13745
|
ref: X,
|
|
@@ -13940,7 +13940,7 @@ function My(e) {
|
|
|
13940
13940
|
const {
|
|
13941
13941
|
slots: t = {},
|
|
13942
13942
|
slotProps: n = {}
|
|
13943
|
-
} = e, r =
|
|
13943
|
+
} = e, r = Ze(e, G9), i = e;
|
|
13944
13944
|
return /* @__PURE__ */ p("li", {
|
|
13945
13945
|
children: /* @__PURE__ */ p(K9, V({
|
|
13946
13946
|
focusRipple: !0
|
|
@@ -14037,7 +14037,7 @@ const ky = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
14037
14037
|
itemsBeforeCollapse: C = 1,
|
|
14038
14038
|
maxItems: h = 8,
|
|
14039
14039
|
separator: I = "/"
|
|
14040
|
-
} = r, m =
|
|
14040
|
+
} = r, m = Ze(r, _9), [B, y] = O.useState(!1), P = V({}, r, {
|
|
14041
14041
|
component: l,
|
|
14042
14042
|
expanded: B,
|
|
14043
14043
|
expandText: g,
|
|
@@ -14052,8 +14052,8 @@ const ky = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
14052
14052
|
}), T = O.useRef(null), w = (D) => {
|
|
14053
14053
|
const Y = () => {
|
|
14054
14054
|
y(!0);
|
|
14055
|
-
const
|
|
14056
|
-
|
|
14055
|
+
const G = T.current.querySelector("a[href],button,[tabindex]");
|
|
14056
|
+
G && G.focus();
|
|
14057
14057
|
};
|
|
14058
14058
|
return C + f >= D.length ? (process.env.NODE_ENV !== "production" && console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.", `itemsAfterCollapse={${f}} + itemsBeforeCollapse={${C}} >= maxItems={${h}}`].join(`
|
|
14059
14059
|
`)), D) : [...D.slice(0, C), /* @__PURE__ */ p(My, {
|
|
@@ -14203,11 +14203,11 @@ const Xd = ky, oL = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
|
|
|
14203
14203
|
}, D = (W) => {
|
|
14204
14204
|
W.children && W.children.filter((M) => (M.type && M.type === "collapse" ? (D(M), M.url === w && (R(M), T(M))) : M.type && M.type === "item" && w.includes(M.url) && (R(W), T(M)), !1));
|
|
14205
14205
|
};
|
|
14206
|
-
|
|
14206
|
+
Xe(() => {
|
|
14207
14207
|
var W;
|
|
14208
14208
|
(W = l == null ? void 0 : l.items) == null || W.map((M) => (M.type && M.type === "group" && D(M), !1));
|
|
14209
14209
|
});
|
|
14210
|
-
const
|
|
14210
|
+
const G = u ? /* @__PURE__ */ p(u, { style: { fontSize: "0.75rem", marginTop: 2 } }) : "/", z = {
|
|
14211
14211
|
mb: 2,
|
|
14212
14212
|
bgcolor: t === !1 ? "transparent" : "inherit",
|
|
14213
14213
|
...C,
|
|
@@ -14232,7 +14232,7 @@ const Xd = ky, oL = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
|
|
|
14232
14232
|
{
|
|
14233
14233
|
"aria-label": "breadcrumb",
|
|
14234
14234
|
maxItems: a || 8,
|
|
14235
|
-
separator:
|
|
14235
|
+
separator: G,
|
|
14236
14236
|
sx: {
|
|
14237
14237
|
[B.breakpoints.down("sm")]: {
|
|
14238
14238
|
mt: 1
|
|
@@ -14276,7 +14276,7 @@ const Xd = ky, oL = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
|
|
|
14276
14276
|
alignItems: A ? "center" : "flex-start",
|
|
14277
14277
|
spacing: 1,
|
|
14278
14278
|
children: [
|
|
14279
|
-
/* @__PURE__ */ p(ye, { item: !0, children: /* @__PURE__ */ $(Xd, { "aria-label": "breadcrumb", maxItems: a || 8, separator:
|
|
14279
|
+
/* @__PURE__ */ p(ye, { item: !0, children: /* @__PURE__ */ $(Xd, { "aria-label": "breadcrumb", maxItems: a || 8, separator: G, children: [
|
|
14280
14280
|
e !== !1 && /* @__PURE__ */ $(Ie, { component: Nn, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
|
|
14281
14281
|
i && /* @__PURE__ */ p(Td, { style: k }),
|
|
14282
14282
|
r && !i && /* @__PURE__ */ p(Pd, { style: { ...k, marginRight: 0 } }),
|
|
@@ -14330,7 +14330,7 @@ const Xd = ky, oL = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
|
|
|
14330
14330
|
spacing: 1,
|
|
14331
14331
|
children: [
|
|
14332
14332
|
g && !f && /* @__PURE__ */ p(ye, { item: !0, children: /* @__PURE__ */ p(Ie, { variant: "h2", children: Q.title }) }),
|
|
14333
|
-
/* @__PURE__ */ p(ye, { item: !0, children: /* @__PURE__ */ $(Xd, { "aria-label": "breadcrumb", maxItems: a || 8, separator:
|
|
14333
|
+
/* @__PURE__ */ p(ye, { item: !0, children: /* @__PURE__ */ $(Xd, { "aria-label": "breadcrumb", maxItems: a || 8, separator: G, children: [
|
|
14334
14334
|
e !== !1 && /* @__PURE__ */ $(Ie, { component: Nn, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
|
|
14335
14335
|
i && /* @__PURE__ */ p(Td, { style: k }),
|
|
14336
14336
|
r && !i && /* @__PURE__ */ p(Pd, { style: { ...k, marginRight: 0 } }),
|
|
@@ -14486,7 +14486,7 @@ const aL = Jt("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
14486
14486
|
disabled: u = !1,
|
|
14487
14487
|
disableFocusRipple: g = !1,
|
|
14488
14488
|
size: f = "medium"
|
|
14489
|
-
} = r, C =
|
|
14489
|
+
} = r, C = Ze(r, lL), h = V({}, r, {
|
|
14490
14490
|
edge: i,
|
|
14491
14491
|
color: A,
|
|
14492
14492
|
disabled: u,
|
|
@@ -14968,7 +14968,7 @@ const EL = jy, IL = ["children", "color", "component", "className", "disabled",
|
|
|
14968
14968
|
startIcon: R,
|
|
14969
14969
|
type: Q,
|
|
14970
14970
|
variant: T = "text"
|
|
14971
|
-
} = l, w =
|
|
14971
|
+
} = l, w = Ze(l, IL), k = V({}, l, {
|
|
14972
14972
|
color: u,
|
|
14973
14973
|
component: g,
|
|
14974
14974
|
disabled: C,
|
|
@@ -14982,7 +14982,7 @@ const EL = jy, IL = ["children", "color", "component", "className", "disabled",
|
|
|
14982
14982
|
className: D.startIcon,
|
|
14983
14983
|
ownerState: k,
|
|
14984
14984
|
children: R
|
|
14985
|
-
}),
|
|
14985
|
+
}), G = m && /* @__PURE__ */ p(yL, {
|
|
14986
14986
|
className: D.endIcon,
|
|
14987
14987
|
ownerState: k,
|
|
14988
14988
|
children: m
|
|
@@ -14998,7 +14998,7 @@ const EL = jy, IL = ["children", "color", "component", "className", "disabled",
|
|
|
14998
14998
|
type: Q
|
|
14999
14999
|
}, w, {
|
|
15000
15000
|
classes: D,
|
|
15001
|
-
children: [Y, A,
|
|
15001
|
+
children: [Y, A, G]
|
|
15002
15002
|
}));
|
|
15003
15003
|
});
|
|
15004
15004
|
process.env.NODE_ENV !== "production" && (Hy.propTypes = {
|
|
@@ -15204,7 +15204,7 @@ const Bo = 44, wL = Lo(Fm || (Fm = XA`
|
|
|
15204
15204
|
thickness: g = 3.6,
|
|
15205
15205
|
value: f = 0,
|
|
15206
15206
|
variant: C = "indeterminate"
|
|
15207
|
-
} = r, h =
|
|
15207
|
+
} = r, h = Ze(r, xL), I = V({}, r, {
|
|
15208
15208
|
color: a,
|
|
15209
15209
|
disableShrink: l,
|
|
15210
15210
|
size: A,
|
|
@@ -15406,7 +15406,7 @@ const ML = Jt("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
15406
15406
|
loadingIndicator: u,
|
|
15407
15407
|
loadingPosition: g = "center",
|
|
15408
15408
|
variant: f = "text"
|
|
15409
|
-
} = r, C =
|
|
15409
|
+
} = r, C = Ze(r, kL), h = Of(l), I = u ?? /* @__PURE__ */ p(vp, {
|
|
15410
15410
|
"aria-labelledby": h,
|
|
15411
15411
|
color: "inherit",
|
|
15412
15412
|
size: 16
|
|
@@ -15899,7 +15899,7 @@ qL.propTypes = {
|
|
|
15899
15899
|
const Yy = Tn({});
|
|
15900
15900
|
function JL(e) {
|
|
15901
15901
|
const { useDefaults: t = !1, queryOptions: n = {} } = e, r = zn(), i = mA(), { search: a } = Pf(), l = `${r}/new`, A = Fe(() => {
|
|
15902
|
-
if (!t || !
|
|
15902
|
+
if (!t || !he.isFunction(i.get))
|
|
15903
15903
|
return Promise.resolve({});
|
|
15904
15904
|
const h = {};
|
|
15905
15905
|
return new URLSearchParams(a ?? "").forEach((I, m) => {
|
|
@@ -15908,7 +15908,7 @@ function JL(e) {
|
|
|
15908
15908
|
const { responseCode: m, value: B } = I;
|
|
15909
15909
|
return m === "ok" ? B : Promise.reject(I);
|
|
15910
15910
|
});
|
|
15911
|
-
}, [r, t, a, i]), u = nt(() =>
|
|
15911
|
+
}, [r, t, a, i]), u = nt(() => he.chain(n).extend({ queryKey: [r, a], queryFn: A }).value(), [r, a, A, n]), { data: g, isLoading: f } = y3(u), C = he.omit(e, ["useDefaults"]);
|
|
15912
15912
|
return f ? /* @__PURE__ */ p(jt, { alignItems: "center", justifyContent: "center", flex: 1, p: 2, children: /* @__PURE__ */ p(Ei, {}) }) : /* @__PURE__ */ p(Yy.Provider, { value: g ?? {}, children: /* @__PURE__ */ p(SR, { ...C }) });
|
|
15913
15913
|
}
|
|
15914
15914
|
function VJ() {
|
|
@@ -16234,7 +16234,7 @@ var qy = { exports: {} };
|
|
|
16234
16234
|
k[w] = R;
|
|
16235
16235
|
var D = "$isDayjsObject", Y = function(q) {
|
|
16236
16236
|
return q instanceof ie || !(!q || !q[D]);
|
|
16237
|
-
},
|
|
16237
|
+
}, G = function q(U, L, W) {
|
|
16238
16238
|
var M;
|
|
16239
16239
|
if (!U)
|
|
16240
16240
|
return w;
|
|
@@ -16245,8 +16245,8 @@ var qy = { exports: {} };
|
|
|
16245
16245
|
if (!M && j.length > 1)
|
|
16246
16246
|
return q(j[0]);
|
|
16247
16247
|
} else {
|
|
16248
|
-
var
|
|
16249
|
-
k[
|
|
16248
|
+
var K = U.name;
|
|
16249
|
+
k[K] = U, M = K;
|
|
16250
16250
|
}
|
|
16251
16251
|
return !W && M && (w = M), M || !W && w;
|
|
16252
16252
|
}, z = function(q, U) {
|
|
@@ -16255,12 +16255,12 @@ var qy = { exports: {} };
|
|
|
16255
16255
|
var L = typeof U == "object" ? U : {};
|
|
16256
16256
|
return L.date = q, L.args = arguments, new ie(L);
|
|
16257
16257
|
}, Z = T;
|
|
16258
|
-
Z.l =
|
|
16258
|
+
Z.l = G, Z.i = Y, Z.w = function(q, U) {
|
|
16259
16259
|
return z(q, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
16260
16260
|
};
|
|
16261
16261
|
var ie = function() {
|
|
16262
16262
|
function q(L) {
|
|
16263
|
-
this.$L =
|
|
16263
|
+
this.$L = G(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[D] = !0;
|
|
16264
16264
|
}
|
|
16265
16265
|
var U = q.prototype;
|
|
16266
16266
|
return U.parse = function(L) {
|
|
@@ -16275,8 +16275,8 @@ var qy = { exports: {} };
|
|
|
16275
16275
|
if (typeof M == "string" && !/Z$/i.test(M)) {
|
|
16276
16276
|
var j = M.match(y);
|
|
16277
16277
|
if (j) {
|
|
16278
|
-
var
|
|
16279
|
-
return X ? new Date(Date.UTC(j[1],
|
|
16278
|
+
var K = j[2] - 1 || 0, ce = (j[7] || "0").substring(0, 3);
|
|
16279
|
+
return X ? new Date(Date.UTC(j[1], K, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, ce)) : new Date(j[1], K, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, ce);
|
|
16280
16280
|
}
|
|
16281
16281
|
}
|
|
16282
16282
|
return new Date(M);
|
|
@@ -16302,7 +16302,7 @@ var qy = { exports: {} };
|
|
|
16302
16302
|
}, U.valueOf = function() {
|
|
16303
16303
|
return this.$d.getTime();
|
|
16304
16304
|
}, U.startOf = function(L, W) {
|
|
16305
|
-
var M = this, X = !!Z.u(W) || W, j = Z.p(L),
|
|
16305
|
+
var M = this, X = !!Z.u(W) || W, j = Z.p(L), K = function(ge, Ce) {
|
|
16306
16306
|
var Qe = Z.w(M.$u ? Date.UTC(M.$y, Ce, ge) : new Date(M.$y, Ce, ge), M);
|
|
16307
16307
|
return X ? Qe : Qe.endOf(g);
|
|
16308
16308
|
}, ce = function(ge, Ce) {
|
|
@@ -16310,12 +16310,12 @@ var qy = { exports: {} };
|
|
|
16310
16310
|
}, ue = this.$W, se = this.$M, le = this.$D, de = "set" + (this.$u ? "UTC" : "");
|
|
16311
16311
|
switch (j) {
|
|
16312
16312
|
case I:
|
|
16313
|
-
return X ?
|
|
16313
|
+
return X ? K(1, 0) : K(31, 11);
|
|
16314
16314
|
case C:
|
|
16315
|
-
return X ?
|
|
16315
|
+
return X ? K(1, se) : K(0, se + 1);
|
|
16316
16316
|
case f:
|
|
16317
|
-
var Ee = this.$locale().weekStart || 0,
|
|
16318
|
-
return
|
|
16317
|
+
var Ee = this.$locale().weekStart || 0, pe = (ue < Ee ? ue + 7 : ue) - Ee;
|
|
16318
|
+
return K(X ? le - pe : le + (6 - pe), se);
|
|
16319
16319
|
case g:
|
|
16320
16320
|
case m:
|
|
16321
16321
|
return ce(de + "Hours", 0);
|
|
@@ -16331,12 +16331,12 @@ var qy = { exports: {} };
|
|
|
16331
16331
|
}, U.endOf = function(L) {
|
|
16332
16332
|
return this.startOf(L, !1);
|
|
16333
16333
|
}, U.$set = function(L, W) {
|
|
16334
|
-
var M, X = Z.p(L), j = "set" + (this.$u ? "UTC" : ""),
|
|
16334
|
+
var M, X = Z.p(L), j = "set" + (this.$u ? "UTC" : ""), K = (M = {}, M[g] = j + "Date", M[m] = j + "Date", M[C] = j + "Month", M[I] = j + "FullYear", M[u] = j + "Hours", M[A] = j + "Minutes", M[l] = j + "Seconds", M[a] = j + "Milliseconds", M)[X], ce = X === g ? this.$D + (W - this.$W) : W;
|
|
16335
16335
|
if (X === C || X === I) {
|
|
16336
16336
|
var ue = this.clone().set(m, 1);
|
|
16337
|
-
ue.$d[
|
|
16337
|
+
ue.$d[K](ce), ue.init(), this.$d = ue.set(m, Math.min(this.$D, ue.daysInMonth())).$d;
|
|
16338
16338
|
} else
|
|
16339
|
-
|
|
16339
|
+
K && this.$d[K](ce);
|
|
16340
16340
|
return this.init(), this;
|
|
16341
16341
|
}, U.set = function(L, W) {
|
|
16342
16342
|
return this.clone().$set(L, W);
|
|
@@ -16345,7 +16345,7 @@ var qy = { exports: {} };
|
|
|
16345
16345
|
}, U.add = function(L, W) {
|
|
16346
16346
|
var M, X = this;
|
|
16347
16347
|
L = Number(L);
|
|
16348
|
-
var j = Z.p(W),
|
|
16348
|
+
var j = Z.p(W), K = function(se) {
|
|
16349
16349
|
var le = z(X);
|
|
16350
16350
|
return Z.w(le.date(le.date() + Math.round(se * L)), X);
|
|
16351
16351
|
};
|
|
@@ -16354,9 +16354,9 @@ var qy = { exports: {} };
|
|
|
16354
16354
|
if (j === I)
|
|
16355
16355
|
return this.set(I, this.$y + L);
|
|
16356
16356
|
if (j === g)
|
|
16357
|
-
return
|
|
16357
|
+
return K(1);
|
|
16358
16358
|
if (j === f)
|
|
16359
|
-
return
|
|
16359
|
+
return K(7);
|
|
16360
16360
|
var ce = (M = {}, M[A] = r, M[u] = i, M[l] = n, M)[j] || 1, ue = this.$d.getTime() + L * ce;
|
|
16361
16361
|
return Z.w(ue, this);
|
|
16362
16362
|
}, U.subtract = function(L, W) {
|
|
@@ -16365,10 +16365,10 @@ var qy = { exports: {} };
|
|
|
16365
16365
|
var W = this, M = this.$locale();
|
|
16366
16366
|
if (!this.isValid())
|
|
16367
16367
|
return M.invalidDate || B;
|
|
16368
|
-
var X = L || "YYYY-MM-DDTHH:mm:ssZ", j = Z.z(this),
|
|
16368
|
+
var X = L || "YYYY-MM-DDTHH:mm:ssZ", j = Z.z(this), K = this.$H, ce = this.$m, ue = this.$M, se = M.weekdays, le = M.months, de = M.meridiem, Ee = function(Ce, Qe, oe, Ue) {
|
|
16369
16369
|
return Ce && (Ce[Qe] || Ce(W, X)) || oe[Qe].slice(0, Ue);
|
|
16370
|
-
},
|
|
16371
|
-
return Z.s(
|
|
16370
|
+
}, pe = function(Ce) {
|
|
16371
|
+
return Z.s(K % 12 || 12, Ce, "0");
|
|
16372
16372
|
}, ge = de || function(Ce, Qe, oe) {
|
|
16373
16373
|
var Ue = Ce < 12 ? "AM" : "PM";
|
|
16374
16374
|
return oe ? Ue.toLowerCase() : Ue;
|
|
@@ -16401,17 +16401,17 @@ var qy = { exports: {} };
|
|
|
16401
16401
|
case "dddd":
|
|
16402
16402
|
return se[W.$W];
|
|
16403
16403
|
case "H":
|
|
16404
|
-
return String(
|
|
16404
|
+
return String(K);
|
|
16405
16405
|
case "HH":
|
|
16406
|
-
return Z.s(
|
|
16406
|
+
return Z.s(K, 2, "0");
|
|
16407
16407
|
case "h":
|
|
16408
|
-
return
|
|
16408
|
+
return pe(1);
|
|
16409
16409
|
case "hh":
|
|
16410
|
-
return
|
|
16410
|
+
return pe(2);
|
|
16411
16411
|
case "a":
|
|
16412
|
-
return ge(
|
|
16412
|
+
return ge(K, ce, !0);
|
|
16413
16413
|
case "A":
|
|
16414
|
-
return ge(
|
|
16414
|
+
return ge(K, ce, !1);
|
|
16415
16415
|
case "m":
|
|
16416
16416
|
return String(ce);
|
|
16417
16417
|
case "mm":
|
|
@@ -16431,10 +16431,10 @@ var qy = { exports: {} };
|
|
|
16431
16431
|
}, U.utcOffset = function() {
|
|
16432
16432
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
16433
16433
|
}, U.diff = function(L, W, M) {
|
|
16434
|
-
var X, j = this,
|
|
16434
|
+
var X, j = this, K = Z.p(W), ce = z(L), ue = (ce.utcOffset() - this.utcOffset()) * r, se = this - ce, le = function() {
|
|
16435
16435
|
return Z.m(j, ce);
|
|
16436
16436
|
};
|
|
16437
|
-
switch (
|
|
16437
|
+
switch (K) {
|
|
16438
16438
|
case I:
|
|
16439
16439
|
X = le() / 12;
|
|
16440
16440
|
break;
|
|
@@ -16470,7 +16470,7 @@ var qy = { exports: {} };
|
|
|
16470
16470
|
}, U.locale = function(L, W) {
|
|
16471
16471
|
if (!L)
|
|
16472
16472
|
return this.$L;
|
|
16473
|
-
var M = this.clone(), X =
|
|
16473
|
+
var M = this.clone(), X = G(L, W, !0);
|
|
16474
16474
|
return X && (M.$L = X), M;
|
|
16475
16475
|
}, U.clone = function() {
|
|
16476
16476
|
return Z.w(this.$d, this);
|
|
@@ -16490,7 +16490,7 @@ var qy = { exports: {} };
|
|
|
16490
16490
|
};
|
|
16491
16491
|
}), z.extend = function(q, U) {
|
|
16492
16492
|
return q.$i || (q(U, ie, z), q.$i = !0), z;
|
|
16493
|
-
}, z.locale =
|
|
16493
|
+
}, z.locale = G, z.isDayjs = Y, z.unix = function(q) {
|
|
16494
16494
|
return z(1e3 * q);
|
|
16495
16495
|
}, z.en = k[w], z.Ls = k, z.p = {}, z;
|
|
16496
16496
|
});
|
|
@@ -16514,7 +16514,7 @@ const ao = /* @__PURE__ */ xa(tN), Jy = ({ entityId: e, property: t, disabled: n
|
|
|
16514
16514
|
}),
|
|
16515
16515
|
[A, i == null ? void 0 : i.source, i == null ? void 0 : i.title]
|
|
16516
16516
|
), h = vr();
|
|
16517
|
-
return
|
|
16517
|
+
return Xe(() => {
|
|
16518
16518
|
!A || !(A != null && A.userId) || u.getOne(r, { id: A == null ? void 0 : A.userId }).then(({ data: I }) => l(I)).catch(() => l(null));
|
|
16519
16519
|
}, [A, u, r]), /* @__PURE__ */ p(
|
|
16520
16520
|
Ky,
|
|
@@ -17239,7 +17239,7 @@ const IN = ({ source: e, minWidth: t = 300, children: n }) => {
|
|
|
17239
17239
|
},
|
|
17240
17240
|
[f, r, e, i]
|
|
17241
17241
|
);
|
|
17242
|
-
return
|
|
17242
|
+
return Xe(() => l(gt.get(i, e)), [i, e]), n ? Le.cloneElement(n, {
|
|
17243
17243
|
...n.props,
|
|
17244
17244
|
source: e,
|
|
17245
17245
|
value: a,
|
|
@@ -17549,7 +17549,7 @@ const PN = ae(ye, {
|
|
|
17549
17549
|
}
|
|
17550
17550
|
}));
|
|
17551
17551
|
function yb(e) {
|
|
17552
|
-
const { spacing: t } = lr(), { spacing: n = t } = e, r =
|
|
17552
|
+
const { spacing: t } = lr(), { spacing: n = t } = e, r = he.omit(e, ["spacing"]);
|
|
17553
17553
|
return /* @__PURE__ */ p(Us, { ...r, children: /* @__PURE__ */ p(PN, { container: !0, spacing: n * 2, children: e.children }) });
|
|
17554
17554
|
}
|
|
17555
17555
|
function zg(e) {
|
|
@@ -17560,7 +17560,7 @@ function bb(e, t) {
|
|
|
17560
17560
|
return t.match(r) !== null;
|
|
17561
17561
|
}
|
|
17562
17562
|
function SN(e) {
|
|
17563
|
-
return
|
|
17563
|
+
return he.map(e, "id");
|
|
17564
17564
|
}
|
|
17565
17565
|
function lA(e) {
|
|
17566
17566
|
const t = e.match(new RegExp("[^.]+", "g"));
|
|
@@ -17568,25 +17568,27 @@ function lA(e) {
|
|
|
17568
17568
|
}
|
|
17569
17569
|
function Qb(e, t) {
|
|
17570
17570
|
const n = e !== void 0 ? lA(e) : 0;
|
|
17571
|
-
return
|
|
17571
|
+
return he.chain(t).filter((i) => e !== void 0 ? bb(e, i.id) : !0).filter((i) => lA(i.id) === n + 1).value();
|
|
17572
17572
|
}
|
|
17573
17573
|
function RN(e, t) {
|
|
17574
17574
|
var a;
|
|
17575
|
-
const n =
|
|
17575
|
+
const n = he.clone(e), { type: r, payload: i } = t;
|
|
17576
17576
|
switch (r) {
|
|
17577
17577
|
case "setFormRootPath":
|
|
17578
|
-
return
|
|
17578
|
+
return he.extend(n, { formRootPath: i });
|
|
17579
17579
|
case "setSyncWithLocation":
|
|
17580
|
-
return
|
|
17580
|
+
return he.extend(n, { syncWithLocation: i });
|
|
17581
17581
|
case "setActiveItem":
|
|
17582
|
-
return
|
|
17582
|
+
return he.includes(SN(e.items), i) ? he.extend(n, { activeItem: i }) : n;
|
|
17583
17583
|
case "addItem": {
|
|
17584
|
-
const
|
|
17585
|
-
return
|
|
17584
|
+
const { id: l } = i;
|
|
17585
|
+
return he.extend(n, {
|
|
17586
|
+
items: he.chain(n.items).clone().reject((A) => A.id === l).concat([i]).orderBy((A) => A.index).value()
|
|
17587
|
+
});
|
|
17586
17588
|
}
|
|
17587
17589
|
case "removeItem": {
|
|
17588
|
-
const l =
|
|
17589
|
-
return
|
|
17590
|
+
const l = he.isString(i) ? i : i.id, A = he.chain(n.items).clone().reject((u) => u.id === l).value();
|
|
17591
|
+
return he.extend(n, { items: A }), n.activeItem === l && he.extend(n, { activeItem: ((a = he.first(A)) == null ? void 0 : a.id) ?? void 0 }), n;
|
|
17590
17592
|
}
|
|
17591
17593
|
default:
|
|
17592
17594
|
return n;
|
|
@@ -17598,8 +17600,8 @@ const ON = {
|
|
|
17598
17600
|
activeItem: void 0
|
|
17599
17601
|
}, xb = Tn(void 0);
|
|
17600
17602
|
function wb(e) {
|
|
17601
|
-
const t = !!(e.syncWithLocation ?? !0), { rootMatchString: n } = e, { pathname: r } = Pf(), [i, a] = hB(RN,
|
|
17602
|
-
return
|
|
17603
|
+
const t = !!(e.syncWithLocation ?? !0), { rootMatchString: n } = e, { pathname: r } = Pf(), [i, a] = hB(RN, he.cloneDeep(ON)), { formRootPath: l, items: A } = i, u = nt(() => ({ state: i, dispatch: a }), [i, a]);
|
|
17604
|
+
return Xe(() => {
|
|
17603
17605
|
const g = [
|
|
17604
17606
|
"entities/:resource/create/*",
|
|
17605
17607
|
":resource/create/*",
|
|
@@ -17609,21 +17611,21 @@ function wb(e) {
|
|
|
17609
17611
|
":resource/:id/*"
|
|
17610
17612
|
];
|
|
17611
17613
|
n !== void 0 && g.push(n);
|
|
17612
|
-
const f =
|
|
17614
|
+
const f = he.chain(g).map((h) => B3(h, r)).reject((h) => h === null).first().value(), C = f == null ? void 0 : f.pathnameBase;
|
|
17613
17615
|
C !== void 0 && C !== l && a({
|
|
17614
17616
|
type: "setFormRootPath",
|
|
17615
17617
|
payload: C
|
|
17616
17618
|
});
|
|
17617
|
-
}, [r, l, n]),
|
|
17619
|
+
}, [r, l, n]), Xe(() => {
|
|
17618
17620
|
a({
|
|
17619
17621
|
type: "setSyncWithLocation",
|
|
17620
17622
|
payload: !!t
|
|
17621
17623
|
});
|
|
17622
|
-
}, [t, a]),
|
|
17624
|
+
}, [t, a]), Xe(() => {
|
|
17623
17625
|
var g;
|
|
17624
17626
|
if (t && l !== void 0) {
|
|
17625
17627
|
let f = r.replace(l, "").replace(new RegExp(/^\/?/), "");
|
|
17626
|
-
|
|
17628
|
+
he.isEmpty(f) && (f = ((g = he.chain(A).filter((C) => Qb(C.id, A).length === 0).orderBy([(C) => lA(C.id), (C) => C.index]).first().value()) == null ? void 0 : g.id) ?? void 0), a({
|
|
17627
17629
|
type: "setActiveItem",
|
|
17628
17630
|
payload: f
|
|
17629
17631
|
});
|
|
@@ -17753,8 +17755,8 @@ var _d = (e) => {
|
|
|
17753
17755
|
};
|
|
17754
17756
|
let g = l === window ? window.scrollY : l.scrollTop;
|
|
17755
17757
|
const f = (D) => {
|
|
17756
|
-
const { offsetTop: Y, height:
|
|
17757
|
-
return D + Y +
|
|
17758
|
+
const { offsetTop: Y, height: G } = I, { naturalTop: z } = y, { height: Z } = P;
|
|
17759
|
+
return D + Y + G >= z + Z + R + i;
|
|
17758
17760
|
}, C = () => {
|
|
17759
17761
|
const { height: D } = I, { height: Y } = P;
|
|
17760
17762
|
return Y + a + i <= D ? 3 : f(g) ? 1 : 2;
|
|
@@ -17787,18 +17789,18 @@ var _d = (e) => {
|
|
|
17787
17789
|
e.style.position = Fs, r ? e.style.bottom = `${i}px` : e.style.top = `${a}px`;
|
|
17788
17790
|
return;
|
|
17789
17791
|
}
|
|
17790
|
-
const { height:
|
|
17792
|
+
const { height: G, offsetTop: z } = I, { height: Z, naturalTop: ie } = y, { height: ne } = P;
|
|
17791
17793
|
if (D === 2)
|
|
17792
17794
|
if (e.style.position = "relative", R = Y === 0 ? Math.max(0, z + g - ie + a) : Math.max(
|
|
17793
17795
|
0,
|
|
17794
|
-
z + g +
|
|
17796
|
+
z + g + G - (ie + ne + i)
|
|
17795
17797
|
), r) {
|
|
17796
17798
|
const q = Math.max(0, Z - ne - R);
|
|
17797
17799
|
e.style.bottom = `${q}px`;
|
|
17798
17800
|
} else
|
|
17799
17801
|
e.style.top = `${R}px`;
|
|
17800
17802
|
else
|
|
17801
|
-
e.style.position = Fs, D === 1 ? r ? e.style.bottom = `${i}px` : e.style.top = `${
|
|
17803
|
+
e.style.position = Fs, D === 1 ? r ? e.style.bottom = `${i}px` : e.style.top = `${G - ne - i}px` : r ? e.style.bottom = `${G - ne - i}px` : e.style.top = `${a}px`;
|
|
17802
17804
|
};
|
|
17803
17805
|
T(Q);
|
|
17804
17806
|
const w = (D) => {
|
|
@@ -17807,12 +17809,12 @@ var _d = (e) => {
|
|
|
17807
17809
|
const Y = D - g;
|
|
17808
17810
|
if (g = D, Q === 3)
|
|
17809
17811
|
return;
|
|
17810
|
-
const { offsetTop:
|
|
17812
|
+
const { offsetTop: G, height: z } = I, { naturalTop: Z, height: ie } = y, { height: ne } = P;
|
|
17811
17813
|
if (Y > 0)
|
|
17812
17814
|
if (Q === 0) {
|
|
17813
|
-
if (D +
|
|
17814
|
-
const q = Math.max(0,
|
|
17815
|
-
D +
|
|
17815
|
+
if (D + G + a > Z) {
|
|
17816
|
+
const q = Math.max(0, G + g - Z + a);
|
|
17817
|
+
D + G + z <= Z + ne + q + i ? T(
|
|
17816
17818
|
2
|
|
17817
17819
|
/* relative */
|
|
17818
17820
|
) : T(
|
|
@@ -17826,12 +17828,12 @@ var _d = (e) => {
|
|
|
17826
17828
|
/* stickyBottom */
|
|
17827
17829
|
);
|
|
17828
17830
|
else if (Q === 1) {
|
|
17829
|
-
if (
|
|
17831
|
+
if (G + D + z < Z + ie + i) {
|
|
17830
17832
|
const q = Math.max(
|
|
17831
17833
|
0,
|
|
17832
|
-
|
|
17834
|
+
G + g + z - (Z + ne + i)
|
|
17833
17835
|
);
|
|
17834
|
-
|
|
17836
|
+
G + D + a >= Z + q ? T(
|
|
17835
17837
|
2
|
|
17836
17838
|
/* relative */
|
|
17837
17839
|
) : T(
|
|
@@ -17840,7 +17842,7 @@ var _d = (e) => {
|
|
|
17840
17842
|
);
|
|
17841
17843
|
}
|
|
17842
17844
|
} else
|
|
17843
|
-
Q === 2 &&
|
|
17845
|
+
Q === 2 && G + D + a < Z + R && T(
|
|
17844
17846
|
0
|
|
17845
17847
|
/* stickyTop */
|
|
17846
17848
|
);
|
|
@@ -17855,7 +17857,7 @@ var _d = (e) => {
|
|
|
17855
17857
|
bottom: n = !1
|
|
17856
17858
|
} = {}) => {
|
|
17857
17859
|
const [r, i] = qe(null);
|
|
17858
|
-
return
|
|
17860
|
+
return Xe(() => {
|
|
17859
17861
|
if (!r || !Fs)
|
|
17860
17862
|
return;
|
|
17861
17863
|
const a = [];
|
|
@@ -17868,7 +17870,7 @@ var _d = (e) => {
|
|
|
17868
17870
|
return /* @__PURE__ */ p("div", { className: a, style: l, ref: A, children: i });
|
|
17869
17871
|
}, VN = jN, Lb = /* @__PURE__ */ ((e) => (e.TOP = "top", e.BOTTOM = "bottom", e))(Lb || {});
|
|
17870
17872
|
function Nb(e) {
|
|
17871
|
-
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, i =
|
|
17873
|
+
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, i = he.omit(e, ["sticky", "disposition", "spacing"]), a = t ? VN : Me, l = nt(() => t ? { offsetTop: 74, offsetBottom: r * 2 } : {}, [t, r]);
|
|
17872
17874
|
return /* @__PURE__ */ p(ye, { ...i, item: !0, ...n, children: /* @__PURE__ */ p(a, { ...l, children: /* @__PURE__ */ p(jt, { spacing: r, children: e.children }) }) });
|
|
17873
17875
|
}
|
|
17874
17876
|
function jb(e) {
|
|
@@ -17897,12 +17899,12 @@ function Vb(e) {
|
|
|
17897
17899
|
}, [t]);
|
|
17898
17900
|
}
|
|
17899
17901
|
function Hb(e) {
|
|
17900
|
-
const { disposition: t = { xl: 9, lg: 9, md: 8, sm: 8, xs: 12 } } = e, n =
|
|
17902
|
+
const { disposition: t = { xl: 9, lg: 9, md: 8, sm: 8, xs: 12 } } = e, n = he.omit(e, ["disposition"]);
|
|
17901
17903
|
return /* @__PURE__ */ p(ye, { ...n, item: !0, ...t, children: e.children });
|
|
17902
17904
|
}
|
|
17903
17905
|
function Wb(e) {
|
|
17904
17906
|
const t = Sb();
|
|
17905
|
-
return e === t || bb(e, t
|
|
17907
|
+
return t === void 0 ? !1 : e === t || bb(e, t);
|
|
17906
17908
|
}
|
|
17907
17909
|
function zb(e) {
|
|
17908
17910
|
const t = Rb();
|
|
@@ -17932,31 +17934,33 @@ function Ub() {
|
|
|
17932
17934
|
minWidth: 24
|
|
17933
17935
|
}
|
|
17934
17936
|
},
|
|
17935
|
-
children:
|
|
17937
|
+
children: he.map(e, (t, n) => /* @__PURE__ */ p(Op, { ...t }, n))
|
|
17936
17938
|
}
|
|
17937
17939
|
) });
|
|
17938
17940
|
}
|
|
17939
17941
|
function Op(e) {
|
|
17940
|
-
const t = on() ??
|
|
17942
|
+
const t = on() ?? he.identity, n = Yb(e), { selected: r, label: i, icon: a, onClick: l, badge: A, items: u, isGroup: g, level: f } = n, { spacing: C } = lr(), [h, I] = qe(r), m = Fe(
|
|
17941
17943
|
(P) => {
|
|
17942
17944
|
I(!h), l(P);
|
|
17943
17945
|
},
|
|
17944
17946
|
[l, h]
|
|
17945
|
-
), B = a !== void 0, y =
|
|
17946
|
-
return
|
|
17947
|
+
), B = a !== void 0, y = he.omit(e, ["label", "icon", "selected", "badge"]);
|
|
17948
|
+
return Xe(() => {
|
|
17949
|
+
r && !h && I(r);
|
|
17950
|
+
}, [r, h, I]), /* @__PURE__ */ $(yn, { children: [
|
|
17947
17951
|
/* @__PURE__ */ p(gB, { ...y, disablePadding: !0, children: /* @__PURE__ */ $(Fr, { selected: r && !g, onClick: m, sx: { pl: C * f }, children: [
|
|
17948
17952
|
B && /* @__PURE__ */ p(Cr, { children: a }),
|
|
17949
17953
|
/* @__PURE__ */ p(Br, { inset: !B, primary: t(i) }),
|
|
17950
17954
|
A && /* @__PURE__ */ p(fB, { children: /* @__PURE__ */ p(aA, { type: "filled", size: "xs", color: A.color ?? "default", children: A.content }) }),
|
|
17951
17955
|
g && (h ? /* @__PURE__ */ p(wO, {}) : /* @__PURE__ */ p(TO, {}))
|
|
17952
17956
|
] }) }),
|
|
17953
|
-
g && /* @__PURE__ */ p(mf, { in: h, timeout: "auto", children: /* @__PURE__ */ p(Ii, { children:
|
|
17957
|
+
g && /* @__PURE__ */ p(mf, { in: h, timeout: "auto", children: /* @__PURE__ */ p(Ii, { children: he.map(u, (P, R) => /* @__PURE__ */ p(Op, { ...P }, R)) }) })
|
|
17954
17958
|
] });
|
|
17955
17959
|
}
|
|
17956
17960
|
function Yb(e) {
|
|
17957
|
-
const { id: t } = e, n = Wb(t), r = lA(t), i = HN(), a = Ob(), l = Db(), A = zb(t), u = !
|
|
17961
|
+
const { id: t } = e, n = Wb(t), r = lA(t), i = HN(), a = Ob(), l = Db(), A = zb(t), u = !he.isEmpty(A), g = Fe(
|
|
17958
17962
|
(C) => {
|
|
17959
|
-
u || (a ? i(e.id) : l(e.id)),
|
|
17963
|
+
u || (a ? i(e.id) : l(e.id)), he.isFunction(e.onClick) && e.onClick(C);
|
|
17960
17964
|
},
|
|
17961
17965
|
[l, i, e, a, u]
|
|
17962
17966
|
);
|
|
@@ -17971,7 +17975,7 @@ function Yb(e) {
|
|
|
17971
17975
|
}
|
|
17972
17976
|
function Gb(e) {
|
|
17973
17977
|
const { label: t, icon: n, badge: r, index: i = 0 } = e, a = zg(e), l = Mb(), A = kb(), u = Wb(a);
|
|
17974
|
-
return
|
|
17978
|
+
return Xe(() => (l({
|
|
17975
17979
|
id: a,
|
|
17976
17980
|
index: i,
|
|
17977
17981
|
label: t,
|
|
@@ -17996,13 +18000,13 @@ function Dp(e) {
|
|
|
17996
18000
|
return nt(
|
|
17997
18001
|
() => (
|
|
17998
18002
|
//@ts-ignore
|
|
17999
|
-
|
|
18003
|
+
he.chain(tr.toArray(t)).filter((r) => hi(r) && ((r == null ? void 0 : r.type) === qb || (r == null ? void 0 : r.type) === Kb)).map((r, i) => Or(r, { index: i })).value()
|
|
18000
18004
|
),
|
|
18001
18005
|
[t]
|
|
18002
18006
|
);
|
|
18003
18007
|
}
|
|
18004
18008
|
function WN(e) {
|
|
18005
|
-
const { tabsDisposition: t, contentDisposition: n, spacing: r = 2 } = e, i =
|
|
18009
|
+
const { tabsDisposition: t, contentDisposition: n, spacing: r = 2 } = e, i = he.pick(e, ["syncWithLocation"]), a = he.omit(e, ["tabsDisposition", "contentDisposition", "syncWithLocation"]), { top: l, bottom: A } = Vb(e), u = Dp(e);
|
|
18006
18010
|
return /* @__PURE__ */ p(wb, { ...i, children: /* @__PURE__ */ $(yb, { ...a, spacing: r, children: [
|
|
18007
18011
|
/* @__PURE__ */ $(Nb, { disposition: t, spacing: r, children: [
|
|
18008
18012
|
l,
|
|
@@ -18456,7 +18460,7 @@ const mH = /* @__PURE__ */ xa(IH), nQ = (e) => {
|
|
|
18456
18460
|
y(M), P(`${r}.${I.length}`, { defaultValue: W });
|
|
18457
18461
|
},
|
|
18458
18462
|
[y, t, P, r, I.length, f]
|
|
18459
|
-
),
|
|
18463
|
+
), G = (L) => (W) => {
|
|
18460
18464
|
Y(), L && L(W);
|
|
18461
18465
|
}, z = Fe(() => {
|
|
18462
18466
|
B([]), h(!1);
|
|
@@ -18476,7 +18480,7 @@ const mH = /* @__PURE__ */ xa(IH), nQ = (e) => {
|
|
|
18476
18480
|
source: r,
|
|
18477
18481
|
disableAdd: l,
|
|
18478
18482
|
template: f,
|
|
18479
|
-
onClick:
|
|
18483
|
+
onClick: G((U = (q = e == null ? void 0 : e.addButton) == null ? void 0 : q.props) == null ? void 0 : U.onClick)
|
|
18480
18484
|
}),
|
|
18481
18485
|
/* @__PURE__ */ p(sO, { component: mi, sx: { mt: 2, border: `1px solid ${ne}` }, children: /* @__PURE__ */ $(lO, { children: [
|
|
18482
18486
|
/* @__PURE__ */ p(cO, { sx: { borderTop: 0, borderBottom: `1px solid ${ne}` }, children: /* @__PURE__ */ $(wd, { children: [
|
|
@@ -18557,27 +18561,27 @@ nQ.propTypes = {
|
|
|
18557
18561
|
template: c.object
|
|
18558
18562
|
};
|
|
18559
18563
|
function BH(e, t) {
|
|
18560
|
-
const n =
|
|
18564
|
+
const n = he.clone(e), { type: r, payload: i } = t;
|
|
18561
18565
|
switch (r) {
|
|
18562
18566
|
case "updateMedia": {
|
|
18563
|
-
const a =
|
|
18564
|
-
return
|
|
18567
|
+
const a = he.chain(n.media).clone().extend(i).value();
|
|
18568
|
+
return he.extend(n, { media: a });
|
|
18565
18569
|
}
|
|
18566
18570
|
case "updateDrawer": {
|
|
18567
|
-
const a =
|
|
18568
|
-
return
|
|
18571
|
+
const a = he.chain(n.drawer).clone().extend(i).value();
|
|
18572
|
+
return he.extend(n, { drawer: a });
|
|
18569
18573
|
}
|
|
18570
18574
|
case "updateLogo": {
|
|
18571
|
-
const a =
|
|
18572
|
-
return
|
|
18575
|
+
const a = he.chain(n.logo).clone().extend(i).value();
|
|
18576
|
+
return he.extend(n, { logo: a });
|
|
18573
18577
|
}
|
|
18574
18578
|
case "updateNotifications": {
|
|
18575
|
-
const a =
|
|
18576
|
-
return
|
|
18579
|
+
const a = he.chain(n.notifications).clone().extend(i).value();
|
|
18580
|
+
return he.extend(n, { notifications: a });
|
|
18577
18581
|
}
|
|
18578
18582
|
case "updateTheme": {
|
|
18579
|
-
const a =
|
|
18580
|
-
return
|
|
18583
|
+
const a = he.chain(n.theme).clone().extend(i).value();
|
|
18584
|
+
return he.extend(n, { theme: a });
|
|
18581
18585
|
}
|
|
18582
18586
|
default:
|
|
18583
18587
|
return n;
|
|
@@ -18612,9 +18616,9 @@ function yH(e) {
|
|
|
18612
18616
|
h(!C);
|
|
18613
18617
|
}, [C, h]), [m, B] = qe(!1), [y, P] = hB(
|
|
18614
18618
|
BH,
|
|
18615
|
-
|
|
18619
|
+
he.chain(vH).clone().merge({ drawer: { open: !l || C } }).value()
|
|
18616
18620
|
), R = Fe(() => B(!1), []), Q = nt(() => ({ state: y, dispatch: P }), [y, P]), { logoIcon: T, logoMain: w, enableNotification: k, notification: D } = e;
|
|
18617
|
-
return
|
|
18621
|
+
return Xe(() => {
|
|
18618
18622
|
P({
|
|
18619
18623
|
type: "updateMedia",
|
|
18620
18624
|
payload: {
|
|
@@ -18624,7 +18628,7 @@ function yH(e) {
|
|
|
18624
18628
|
horizontal: f
|
|
18625
18629
|
}
|
|
18626
18630
|
});
|
|
18627
|
-
}, [u, r, i, a]),
|
|
18631
|
+
}, [u, r, i, a]), Xe(() => {
|
|
18628
18632
|
P({
|
|
18629
18633
|
type: "updateDrawer",
|
|
18630
18634
|
payload: {
|
|
@@ -18633,9 +18637,9 @@ function yH(e) {
|
|
|
18633
18637
|
handleDrawerToggle: I
|
|
18634
18638
|
}
|
|
18635
18639
|
});
|
|
18636
|
-
}, [C, g, I]),
|
|
18640
|
+
}, [C, g, I]), Xe(() => {
|
|
18637
18641
|
l || h(!a);
|
|
18638
|
-
}, [a, l]),
|
|
18642
|
+
}, [a, l]), Xe(() => {
|
|
18639
18643
|
P({
|
|
18640
18644
|
type: "updateLogo",
|
|
18641
18645
|
payload: {
|
|
@@ -18643,7 +18647,7 @@ function yH(e) {
|
|
|
18643
18647
|
icon: T
|
|
18644
18648
|
}
|
|
18645
18649
|
});
|
|
18646
|
-
}, [T, w]),
|
|
18650
|
+
}, [T, w]), Xe(() => {
|
|
18647
18651
|
P({
|
|
18648
18652
|
type: "updateNotifications",
|
|
18649
18653
|
payload: {
|
|
@@ -18651,7 +18655,7 @@ function yH(e) {
|
|
|
18651
18655
|
resource: D ?? "entities/notification"
|
|
18652
18656
|
}
|
|
18653
18657
|
});
|
|
18654
|
-
}, [k, D]),
|
|
18658
|
+
}, [k, D]), Xe(() => {
|
|
18655
18659
|
P({
|
|
18656
18660
|
type: "updateTheme",
|
|
18657
18661
|
payload: {
|
|
@@ -18659,9 +18663,9 @@ function yH(e) {
|
|
|
18659
18663
|
iconColor: n.palette.mode === "dark" ? "background.default" : "grey.100"
|
|
18660
18664
|
}
|
|
18661
18665
|
});
|
|
18662
|
-
}, [n.palette.mode]),
|
|
18663
|
-
var
|
|
18664
|
-
B(((
|
|
18666
|
+
}, [n.palette.mode]), Xe(() => {
|
|
18667
|
+
var G;
|
|
18668
|
+
B(((G = t == null ? void 0 : t.data) == null ? void 0 : G.needToChangePassword) === !0);
|
|
18665
18669
|
}, [(Y = t == null ? void 0 : t.data) == null ? void 0 : Y.needToChangePassword]), /* @__PURE__ */ $(oQ.Provider, { value: Q, children: [
|
|
18666
18670
|
/* @__PURE__ */ p(wA, { open: m, maxWidth: "xs", fullWidth: !0, children: /* @__PURE__ */ p(Bb, { onSuccess: R, firstAccess: !0 }) }),
|
|
18667
18671
|
e.children
|
|
@@ -18733,7 +18737,7 @@ function wH(e) {
|
|
|
18733
18737
|
elevation: 0,
|
|
18734
18738
|
sx: u
|
|
18735
18739
|
};
|
|
18736
|
-
return r ||
|
|
18740
|
+
return r || he.extend(g, { open: a }), //@ts-ignore
|
|
18737
18741
|
/* @__PURE__ */ p(A, { ref: t, ...g, children: /* @__PURE__ */ $(vf, { sx: { "& > *": { marginX: n.spacing(0.325) } }, children: [
|
|
18738
18742
|
!i && /* @__PURE__ */ p(xH, {}),
|
|
18739
18743
|
e.children
|
|
@@ -18801,7 +18805,7 @@ function OH() {
|
|
|
18801
18805
|
readed: !1
|
|
18802
18806
|
}
|
|
18803
18807
|
});
|
|
18804
|
-
return
|
|
18808
|
+
return Xe(() => {
|
|
18805
18809
|
!m && I && g(I ?? []);
|
|
18806
18810
|
}, [I, m]), /* @__PURE__ */ $(Me, { sx: { flexShrink: 0 }, children: [
|
|
18807
18811
|
/* @__PURE__ */ p(
|
|
@@ -18914,7 +18918,7 @@ const DH = () => {
|
|
|
18914
18918
|
() => t.stopImpersonate().then(() => document.location.href = "/"),
|
|
18915
18919
|
[t == null ? void 0 : t.stopImpersonating]
|
|
18916
18920
|
), [r, i] = qe(!1);
|
|
18917
|
-
return
|
|
18921
|
+
return Xe(() => {
|
|
18918
18922
|
t.isImpersonating && t.isImpersonating().then((a) => i(a));
|
|
18919
18923
|
}, [t, i]), r ? /* @__PURE__ */ p(co, { children: /* @__PURE__ */ $(Fr, { onClick: n, children: [
|
|
18920
18924
|
/* @__PURE__ */ p(Cr, { children: /* @__PURE__ */ p(IB, {}) }),
|
|
@@ -18931,7 +18935,7 @@ const FH = () => {
|
|
|
18931
18935
|
}, u = e.palette.mode === "dark" ? "grey.200" : "grey.300", g = WR(), f = mA(), C = J0(), h = Fe(() => {
|
|
18932
18936
|
g();
|
|
18933
18937
|
}, [C, g]), [I, m] = qe(null);
|
|
18934
|
-
return
|
|
18938
|
+
return Xe(() => {
|
|
18935
18939
|
if (!n)
|
|
18936
18940
|
return;
|
|
18937
18941
|
async function y() {
|
|
@@ -19240,11 +19244,11 @@ const uQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
19240
19244
|
timeout: T = a,
|
|
19241
19245
|
// eslint-disable-next-line react/prop-types
|
|
19242
19246
|
TransitionComponent: w = hp
|
|
19243
|
-
} = t, k =
|
|
19247
|
+
} = t, k = Ze(t, WH), D = O.useRef(null), Y = Vn(u.ref, D, n), G = (M) => (X) => {
|
|
19244
19248
|
M && (X === void 0 ? M(D.current) : M(D.current, X));
|
|
19245
|
-
}, z =
|
|
19249
|
+
}, z = G((M, X) => {
|
|
19246
19250
|
yc(f, M, g), Up(M), I && I(M, X);
|
|
19247
|
-
}), Z =
|
|
19251
|
+
}), Z = G((M, X) => {
|
|
19248
19252
|
const j = Ea({
|
|
19249
19253
|
timeout: T,
|
|
19250
19254
|
style: Q,
|
|
@@ -19253,7 +19257,7 @@ const uQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
19253
19257
|
mode: "enter"
|
|
19254
19258
|
});
|
|
19255
19259
|
M.style.webkitTransition = r.transitions.create("-webkit-transform", V({}, j)), M.style.transition = r.transitions.create("transform", V({}, j)), M.style.webkitTransform = "none", M.style.transform = "none", B && B(M, X);
|
|
19256
|
-
}), ie =
|
|
19260
|
+
}), ie = G(m), ne = G(R), q = G((M) => {
|
|
19257
19261
|
const X = Ea({
|
|
19258
19262
|
timeout: T,
|
|
19259
19263
|
style: Q,
|
|
@@ -19262,7 +19266,7 @@ const uQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
19262
19266
|
mode: "exit"
|
|
19263
19267
|
});
|
|
19264
19268
|
M.style.webkitTransition = r.transitions.create("-webkit-transform", X), M.style.transition = r.transitions.create("transform", X), yc(f, M, g), y && y(M);
|
|
19265
|
-
}), U =
|
|
19269
|
+
}), U = G((M) => {
|
|
19266
19270
|
M.style.webkitTransition = "", M.style.transition = "", P && P(M);
|
|
19267
19271
|
}), L = (M) => {
|
|
19268
19272
|
l && l(D.current, M);
|
|
@@ -19469,7 +19473,7 @@ function $H(e) {
|
|
|
19469
19473
|
externalSlotProps: r,
|
|
19470
19474
|
ownerState: i,
|
|
19471
19475
|
skipResolvingSlotProps: a = !1
|
|
19472
|
-
} = e, l =
|
|
19476
|
+
} = e, l = Ze(e, _H), A = a ? {} : XH(r, i), {
|
|
19473
19477
|
props: u,
|
|
19474
19478
|
internalRef: g
|
|
19475
19479
|
} = ZH(V({}, l, {
|
|
@@ -19631,7 +19635,7 @@ function lW(e) {
|
|
|
19631
19635
|
}, D = wo(() => {
|
|
19632
19636
|
const L = iW(t) || T().body;
|
|
19633
19637
|
i.add(w(), L), m.current && k();
|
|
19634
|
-
}), Y = O.useCallback(() => i.isTopModal(w()), [i]),
|
|
19638
|
+
}), Y = O.useCallback(() => i.isTopModal(w()), [i]), G = wo((L) => {
|
|
19635
19639
|
I.current = L, L && (f && Y() ? k() : m.current && ys(m.current, Q));
|
|
19636
19640
|
}), z = O.useCallback(() => {
|
|
19637
19641
|
i.remove(w(), Q);
|
|
@@ -19681,7 +19685,7 @@ function lW(e) {
|
|
|
19681
19685
|
};
|
|
19682
19686
|
},
|
|
19683
19687
|
rootRef: B,
|
|
19684
|
-
portalRef:
|
|
19688
|
+
portalRef: G,
|
|
19685
19689
|
isTopModal: Y,
|
|
19686
19690
|
exited: y,
|
|
19687
19691
|
hasTransition: R
|
|
@@ -19759,8 +19763,8 @@ function uA(e) {
|
|
|
19759
19763
|
return;
|
|
19760
19764
|
let Y = [];
|
|
19761
19765
|
if ((Q.activeElement === g.current || Q.activeElement === f.current) && (Y = a(m.current)), Y.length > 0) {
|
|
19762
|
-
var
|
|
19763
|
-
const Z = !!((
|
|
19766
|
+
var G, z;
|
|
19767
|
+
const Z = !!((G = y.current) != null && G.shiftKey && ((z = y.current) == null ? void 0 : z.key) === "Tab"), ie = Y[0], ne = Y[Y.length - 1];
|
|
19764
19768
|
typeof ie != "string" && typeof ne != "string" && (Z ? ne.focus() : ie.focus());
|
|
19765
19769
|
} else
|
|
19766
19770
|
D.focus();
|
|
@@ -19934,7 +19938,7 @@ const hW = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
19934
19938
|
timeout: P = i,
|
|
19935
19939
|
// eslint-disable-next-line react/prop-types
|
|
19936
19940
|
TransitionComponent: R = hp
|
|
19937
|
-
} = t, Q =
|
|
19941
|
+
} = t, Q = Ze(t, hW), T = O.useRef(null), w = Vn(T, A.ref, n), k = (q) => (U) => {
|
|
19938
19942
|
if (q) {
|
|
19939
19943
|
const L = T.current;
|
|
19940
19944
|
U === void 0 ? q(L) : q(L, U);
|
|
@@ -19949,7 +19953,7 @@ const hW = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
19949
19953
|
mode: "enter"
|
|
19950
19954
|
});
|
|
19951
19955
|
q.style.webkitTransition = r.transitions.create("opacity", L), q.style.transition = r.transitions.create("opacity", L), f && f(q, U);
|
|
19952
|
-
}),
|
|
19956
|
+
}), G = k(C), z = k(B), Z = k((q) => {
|
|
19953
19957
|
const U = Ea({
|
|
19954
19958
|
style: y,
|
|
19955
19959
|
timeout: P,
|
|
@@ -19964,7 +19968,7 @@ const hW = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
19964
19968
|
in: g,
|
|
19965
19969
|
nodeRef: T,
|
|
19966
19970
|
onEnter: Y,
|
|
19967
|
-
onEntered:
|
|
19971
|
+
onEntered: G,
|
|
19968
19972
|
onEntering: D,
|
|
19969
19973
|
onExit: Z,
|
|
19970
19974
|
onExited: ie,
|
|
@@ -20112,7 +20116,7 @@ const mW = ["children", "className", "component", "components", "componentsProps
|
|
|
20112
20116
|
slots: B = {},
|
|
20113
20117
|
TransitionComponent: y = EW,
|
|
20114
20118
|
transitionDuration: P
|
|
20115
|
-
} = l, R =
|
|
20119
|
+
} = l, R = Ze(l, mW), Q = V({}, l, {
|
|
20116
20120
|
component: g,
|
|
20117
20121
|
invisible: h
|
|
20118
20122
|
}), T = BW(Q), w = (r = m.root) != null ? r : C.root;
|
|
@@ -20291,14 +20295,14 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20291
20295
|
disablePortal: k = !1,
|
|
20292
20296
|
disableRestoreFocus: D = !1,
|
|
20293
20297
|
disableScrollLock: Y = !1,
|
|
20294
|
-
hideBackdrop:
|
|
20298
|
+
hideBackdrop: G = !1,
|
|
20295
20299
|
keepMounted: z = !1,
|
|
20296
20300
|
onBackdropClick: Z,
|
|
20297
20301
|
open: ie,
|
|
20298
20302
|
slotProps: ne,
|
|
20299
20303
|
slots: q
|
|
20300
20304
|
// eslint-disable-next-line react/prop-types
|
|
20301
|
-
} = g, U =
|
|
20305
|
+
} = g, U = Ze(g, QW), L = V({}, g, {
|
|
20302
20306
|
closeAfterTransition: I,
|
|
20303
20307
|
disableAutoFocus: Q,
|
|
20304
20308
|
disableEnforceFocus: T,
|
|
@@ -20306,14 +20310,14 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20306
20310
|
disablePortal: k,
|
|
20307
20311
|
disableRestoreFocus: D,
|
|
20308
20312
|
disableScrollLock: Y,
|
|
20309
|
-
hideBackdrop:
|
|
20313
|
+
hideBackdrop: G,
|
|
20310
20314
|
keepMounted: z
|
|
20311
20315
|
}), {
|
|
20312
20316
|
getRootProps: W,
|
|
20313
20317
|
getBackdropProps: M,
|
|
20314
20318
|
getTransitionProps: X,
|
|
20315
20319
|
portalRef: j,
|
|
20316
|
-
isTopModal:
|
|
20320
|
+
isTopModal: K,
|
|
20317
20321
|
exited: ce,
|
|
20318
20322
|
hasTransition: ue
|
|
20319
20323
|
} = lW(V({}, L, {
|
|
@@ -20328,7 +20332,7 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20328
20332
|
} = X();
|
|
20329
20333
|
de.onEnter = Ue, de.onExited = Ae;
|
|
20330
20334
|
}
|
|
20331
|
-
const Ee = (r = (i = q == null ? void 0 : q.root) != null ? i : P.Root) != null ? r : wW,
|
|
20335
|
+
const Ee = (r = (i = q == null ? void 0 : q.root) != null ? i : P.Root) != null ? r : wW, pe = (a = (l = q == null ? void 0 : q.backdrop) != null ? l : P.Backdrop) != null ? a : f, ge = (A = ne == null ? void 0 : ne.root) != null ? A : R.root, Ce = (u = ne == null ? void 0 : ne.backdrop) != null ? u : R.backdrop, Qe = Cg({
|
|
20332
20336
|
elementType: Ee,
|
|
20333
20337
|
externalSlotProps: ge,
|
|
20334
20338
|
externalForwardedProps: U,
|
|
@@ -20340,7 +20344,7 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20340
20344
|
ownerState: se,
|
|
20341
20345
|
className: $e(h, ge == null ? void 0 : ge.className, le == null ? void 0 : le.root, !se.open && se.exited && (le == null ? void 0 : le.hidden))
|
|
20342
20346
|
}), oe = Cg({
|
|
20343
|
-
elementType:
|
|
20347
|
+
elementType: pe,
|
|
20344
20348
|
externalSlotProps: Ce,
|
|
20345
20349
|
additionalProps: C,
|
|
20346
20350
|
getSlotProps: (Ue) => M(V({}, Ue, {
|
|
@@ -20356,11 +20360,11 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20356
20360
|
container: B,
|
|
20357
20361
|
disablePortal: k,
|
|
20358
20362
|
children: /* @__PURE__ */ $(Ee, V({}, Qe, {
|
|
20359
|
-
children: [!
|
|
20363
|
+
children: [!G && f ? /* @__PURE__ */ p(pe, V({}, oe)) : null, /* @__PURE__ */ p(uA, {
|
|
20360
20364
|
disableEnforceFocus: T,
|
|
20361
20365
|
disableAutoFocus: Q,
|
|
20362
20366
|
disableRestoreFocus: D,
|
|
20363
|
-
isEnabled:
|
|
20367
|
+
isEnabled: K,
|
|
20364
20368
|
open: ie,
|
|
20365
20369
|
children: /* @__PURE__ */ O.cloneElement(m, de)
|
|
20366
20370
|
})]
|
|
@@ -20564,9 +20568,9 @@ var CQ = Gp.default = void 0, kW = MW(zp()), FW = rf, LW = (0, kW.default)(/* @_
|
|
|
20564
20568
|
CQ = Gp.default = LW;
|
|
20565
20569
|
var NW = function(e) {
|
|
20566
20570
|
var t = e.children, n = e.editor, r = e.preferenceKey, i = e.openButtonLabel, a = i === void 0 ? "ra.configurable.customize" : i, l = e.sx, A = "preferences.".concat(r), u = o3(), g = !!u, f = on(), C = u || {}, h = C.isEnabled, I = C.setEditor, m = C.preferenceKey, B = C.setPreferenceKey, y = A === m, P = ir(y), R = ir(null), Q = qe(!1), T = Q[0], w = Q[1];
|
|
20567
|
-
if (
|
|
20571
|
+
if (Xe(function() {
|
|
20568
20572
|
P.current = y;
|
|
20569
|
-
}, [y]),
|
|
20573
|
+
}, [y]), Xe(function() {
|
|
20570
20574
|
return function() {
|
|
20571
20575
|
P.current && (B && B(null), I && I(null));
|
|
20572
20576
|
};
|
|
@@ -20721,7 +20725,7 @@ var NW = function(e) {
|
|
|
20721
20725
|
var t = e.defaultTitle, n = e.title, r = e.preferenceKey, i = YW(e, ["defaultTitle", "title", "preferenceKey"]), a = qe(function() {
|
|
20722
20726
|
return typeof document < "u" ? document.getElementById("react-admin-title") : null;
|
|
20723
20727
|
}), l = a[0], A = a[1];
|
|
20724
|
-
return
|
|
20728
|
+
return Xe(function() {
|
|
20725
20729
|
A(function(u) {
|
|
20726
20730
|
var g = typeof document < "u" && document.body.contains(u);
|
|
20727
20731
|
return u && g ? u : typeof document < "u" ? document.getElementById("react-admin-title") : null;
|
|
@@ -20739,7 +20743,7 @@ EQ.propTypes = {
|
|
|
20739
20743
|
};
|
|
20740
20744
|
var GW = function(e) {
|
|
20741
20745
|
var t = Pf().pathname, n = ir(t);
|
|
20742
|
-
|
|
20746
|
+
Xe(function() {
|
|
20743
20747
|
t !== n.current && e();
|
|
20744
20748
|
}, [t, e]);
|
|
20745
20749
|
}, KW = function(t, n) {
|
|
@@ -20894,12 +20898,12 @@ const nz = {
|
|
|
20894
20898
|
timeout: B = "auto",
|
|
20895
20899
|
// eslint-disable-next-line react/prop-types
|
|
20896
20900
|
TransitionComponent: y = hp
|
|
20897
|
-
} = t, P =
|
|
20901
|
+
} = t, P = Ze(t, tz), R = O.useRef(), Q = O.useRef(), T = Rt(), w = O.useRef(null), k = Vn(w, a.ref, n), D = (U) => (L) => {
|
|
20898
20902
|
if (U) {
|
|
20899
20903
|
const W = w.current;
|
|
20900
20904
|
L === void 0 ? U(W) : U(W, L);
|
|
20901
20905
|
}
|
|
20902
|
-
}, Y = D(f),
|
|
20906
|
+
}, Y = D(f), G = D((U, L) => {
|
|
20903
20907
|
Up(U);
|
|
20904
20908
|
const {
|
|
20905
20909
|
duration: W,
|
|
@@ -20951,7 +20955,7 @@ const nz = {
|
|
|
20951
20955
|
appear: i,
|
|
20952
20956
|
in: A,
|
|
20953
20957
|
nodeRef: w,
|
|
20954
|
-
onEnter:
|
|
20958
|
+
onEnter: G,
|
|
20955
20959
|
onEntered: z,
|
|
20956
20960
|
onEntering: Y,
|
|
20957
20961
|
onExit: ie,
|
|
@@ -21301,11 +21305,11 @@ function o0(e) {
|
|
|
21301
21305
|
var k = Al(n), D = "clientHeight", Y = "clientWidth";
|
|
21302
21306
|
if (k === Wn(n) && (k = Ho(n), so(k).position !== "static" && A === "absolute" && (D = "scrollHeight", Y = "scrollWidth")), k = k, i === bn || (i === Qn || i === sr) && a === Ns) {
|
|
21303
21307
|
T = ar;
|
|
21304
|
-
var
|
|
21308
|
+
var G = C && k === w && w.visualViewport ? w.visualViewport.height : (
|
|
21305
21309
|
// $FlowFixMe[prop-missing]
|
|
21306
21310
|
k[D]
|
|
21307
21311
|
);
|
|
21308
|
-
B -=
|
|
21312
|
+
B -= G - r.height, B *= u ? 1 : -1;
|
|
21309
21313
|
}
|
|
21310
21314
|
if (i === Qn || (i === bn || i === ar) && a === Ns) {
|
|
21311
21315
|
Q = sr;
|
|
@@ -21534,11 +21538,11 @@ function js(e, t) {
|
|
|
21534
21538
|
element: Q,
|
|
21535
21539
|
strategy: "absolute",
|
|
21536
21540
|
placement: i
|
|
21537
|
-
}), Y = Xg(Object.assign({}, Q, D)),
|
|
21538
|
-
top: w.top -
|
|
21539
|
-
bottom:
|
|
21540
|
-
left: w.left -
|
|
21541
|
-
right:
|
|
21541
|
+
}), Y = Xg(Object.assign({}, Q, D)), G = h === ls ? Y : k, z = {
|
|
21542
|
+
top: w.top - G.top + P.top,
|
|
21543
|
+
bottom: G.bottom - w.bottom + P.bottom,
|
|
21544
|
+
left: w.left - G.left + P.left,
|
|
21545
|
+
right: G.right - w.right + P.right
|
|
21542
21546
|
}, Z = e.modifiersData.offset;
|
|
21543
21547
|
if (h === ls && Z) {
|
|
21544
21548
|
var ie = Z[i];
|
|
@@ -21587,7 +21591,7 @@ function Vz(e) {
|
|
|
21587
21591
|
flipVariations: m,
|
|
21588
21592
|
allowedAutoPlacements: B
|
|
21589
21593
|
}) : le);
|
|
21590
|
-
}, []), w = t.rects.reference, k = t.rects.popper, D = /* @__PURE__ */ new Map(), Y = !0,
|
|
21594
|
+
}, []), w = t.rects.reference, k = t.rects.popper, D = /* @__PURE__ */ new Map(), Y = !0, G = T[0], z = 0; z < T.length; z++) {
|
|
21591
21595
|
var Z = T[z], ie = kr(Z), ne = va(Z) === Ia, q = [bn, ar].indexOf(ie) >= 0, U = q ? "width" : "height", L = js(t, {
|
|
21592
21596
|
placement: Z,
|
|
21593
21597
|
boundary: f,
|
|
@@ -21600,28 +21604,28 @@ function Vz(e) {
|
|
|
21600
21604
|
if (a && X.push(L[ie] <= 0), A && X.push(L[W] <= 0, L[M] <= 0), X.every(function(se) {
|
|
21601
21605
|
return se;
|
|
21602
21606
|
})) {
|
|
21603
|
-
|
|
21607
|
+
G = Z, Y = !1;
|
|
21604
21608
|
break;
|
|
21605
21609
|
}
|
|
21606
21610
|
D.set(Z, X);
|
|
21607
21611
|
}
|
|
21608
21612
|
if (Y)
|
|
21609
|
-
for (var j = m ? 3 : 1,
|
|
21613
|
+
for (var j = m ? 3 : 1, K = function(le) {
|
|
21610
21614
|
var de = T.find(function(Ee) {
|
|
21611
|
-
var
|
|
21612
|
-
if (
|
|
21613
|
-
return
|
|
21615
|
+
var pe = D.get(Ee);
|
|
21616
|
+
if (pe)
|
|
21617
|
+
return pe.slice(0, le).every(function(ge) {
|
|
21614
21618
|
return ge;
|
|
21615
21619
|
});
|
|
21616
21620
|
});
|
|
21617
21621
|
if (de)
|
|
21618
|
-
return
|
|
21622
|
+
return G = de, "break";
|
|
21619
21623
|
}, ce = j; ce > 0; ce--) {
|
|
21620
|
-
var ue =
|
|
21624
|
+
var ue = K(ce);
|
|
21621
21625
|
if (ue === "break")
|
|
21622
21626
|
break;
|
|
21623
21627
|
}
|
|
21624
|
-
t.placement !==
|
|
21628
|
+
t.placement !== G && (t.modifiersData[r]._skip = !0, t.placement = G, t.reset = !0);
|
|
21625
21629
|
}
|
|
21626
21630
|
}
|
|
21627
21631
|
const Hz = {
|
|
@@ -21723,24 +21727,24 @@ function Xz(e) {
|
|
|
21723
21727
|
rootBoundary: g,
|
|
21724
21728
|
padding: C,
|
|
21725
21729
|
altBoundary: f
|
|
21726
|
-
}), P = kr(t.placement), R = va(t.placement), Q = !R, T = _p(P), w = Jz(T), k = t.modifiersData.popperOffsets, D = t.rects.reference, Y = t.rects.popper,
|
|
21730
|
+
}), P = kr(t.placement), R = va(t.placement), Q = !R, T = _p(P), w = Jz(T), k = t.modifiersData.popperOffsets, D = t.rects.reference, Y = t.rects.popper, G = typeof B == "function" ? B(Object.assign({}, t.rects, {
|
|
21727
21731
|
placement: t.placement
|
|
21728
|
-
})) : B, z = typeof
|
|
21729
|
-
mainAxis:
|
|
21730
|
-
altAxis:
|
|
21732
|
+
})) : B, z = typeof G == "number" ? {
|
|
21733
|
+
mainAxis: G,
|
|
21734
|
+
altAxis: G
|
|
21731
21735
|
} : Object.assign({
|
|
21732
21736
|
mainAxis: 0,
|
|
21733
21737
|
altAxis: 0
|
|
21734
|
-
},
|
|
21738
|
+
}, G), Z = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, ie = {
|
|
21735
21739
|
x: 0,
|
|
21736
21740
|
y: 0
|
|
21737
21741
|
};
|
|
21738
21742
|
if (k) {
|
|
21739
21743
|
if (a) {
|
|
21740
|
-
var ne, q = T === "y" ? bn : Qn, U = T === "y" ? ar : sr, L = T === "y" ? "height" : "width", W = k[T], M = W + y[q], X = W - y[U], j = I ? -Y[L] / 2 : 0,
|
|
21744
|
+
var ne, q = T === "y" ? bn : Qn, U = T === "y" ? ar : sr, L = T === "y" ? "height" : "width", W = k[T], M = W + y[q], X = W - y[U], j = I ? -Y[L] / 2 : 0, K = R === Ia ? D[L] : Y[L], ce = R === Ia ? -Y[L] : -D[L], ue = t.elements.arrow, se = I && ue ? Zp(ue) : {
|
|
21741
21745
|
width: 0,
|
|
21742
21746
|
height: 0
|
|
21743
|
-
}, le = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : xQ(), de = le[q], Ee = le[U],
|
|
21747
|
+
}, le = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : xQ(), de = le[q], Ee = le[U], pe = bs(0, D[L], se[L]), ge = Q ? D[L] / 2 - j - pe - de - z.mainAxis : K - pe - de - z.mainAxis, Ce = Q ? -D[L] / 2 + j + pe + Ee + z.mainAxis : ce + pe + Ee + z.mainAxis, Qe = t.elements.arrow && Al(t.elements.arrow), oe = Qe ? T === "y" ? Qe.clientTop || 0 : Qe.clientLeft || 0 : 0, Ue = (ne = Z == null ? void 0 : Z[T]) != null ? ne : 0, Ae = W + ge - Ue - oe, ut = W + Ce - Ue, Gt = bs(I ? fA(M, Ae) : M, W, I ? Ci(X, ut) : X);
|
|
21744
21748
|
k[T] = Gt, ie[T] = Gt - W;
|
|
21745
21749
|
}
|
|
21746
21750
|
if (A) {
|
|
@@ -21897,11 +21901,11 @@ function aU(e) {
|
|
|
21897
21901
|
f.reset = !1, T = -1;
|
|
21898
21902
|
continue;
|
|
21899
21903
|
}
|
|
21900
|
-
var w = f.orderedModifiers[T], k = w.fn, D = w.options, Y = D === void 0 ? {} : D,
|
|
21904
|
+
var w = f.orderedModifiers[T], k = w.fn, D = w.options, Y = D === void 0 ? {} : D, G = w.name;
|
|
21901
21905
|
typeof k == "function" && (f = k({
|
|
21902
21906
|
state: f,
|
|
21903
21907
|
options: Y,
|
|
21904
|
-
name:
|
|
21908
|
+
name: G,
|
|
21905
21909
|
instance: I
|
|
21906
21910
|
}) || f);
|
|
21907
21911
|
}
|
|
@@ -21999,23 +22003,23 @@ const fU = () => hn({
|
|
|
21999
22003
|
TransitionProps: B
|
|
22000
22004
|
// @ts-ignore internal logic
|
|
22001
22005
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
22002
|
-
} = t, y =
|
|
22006
|
+
} = t, y = Ze(t, AU), P = O.useRef(null), R = Vn(P, n), Q = O.useRef(null), T = Vn(Q, h), w = O.useRef(T);
|
|
22003
22007
|
pa(() => {
|
|
22004
22008
|
w.current = T;
|
|
22005
22009
|
}, [T]), O.useImperativeHandle(h, () => Q.current, []);
|
|
22006
|
-
const k = dU(f, l), [D, Y] = O.useState(k), [
|
|
22010
|
+
const k = dU(f, l), [D, Y] = O.useState(k), [G, z] = O.useState(pA(i));
|
|
22007
22011
|
O.useEffect(() => {
|
|
22008
22012
|
Q.current && Q.current.forceUpdate();
|
|
22009
22013
|
}), O.useEffect(() => {
|
|
22010
22014
|
i && z(pA(i));
|
|
22011
22015
|
}, [i]), pa(() => {
|
|
22012
|
-
if (!
|
|
22016
|
+
if (!G || !g)
|
|
22013
22017
|
return;
|
|
22014
22018
|
const U = (M) => {
|
|
22015
22019
|
Y(M.placement);
|
|
22016
22020
|
};
|
|
22017
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
22018
|
-
const M =
|
|
22021
|
+
if (process.env.NODE_ENV !== "production" && G && ou(G) && G.nodeType === 1) {
|
|
22022
|
+
const M = G.getBoundingClientRect();
|
|
22019
22023
|
process.env.NODE_ENV !== "test" && M.top === 0 && M.left === 0 && M.right === 0 && M.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(`
|
|
22020
22024
|
`));
|
|
22021
22025
|
}
|
|
@@ -22040,7 +22044,7 @@ const fU = () => hn({
|
|
|
22040
22044
|
}
|
|
22041
22045
|
}];
|
|
22042
22046
|
u != null && (L = L.concat(u)), C && C.modifiers != null && (L = L.concat(C.modifiers));
|
|
22043
|
-
const W = lU(
|
|
22047
|
+
const W = lU(G, P.current, V({
|
|
22044
22048
|
placement: k
|
|
22045
22049
|
}, C, {
|
|
22046
22050
|
modifiers: L
|
|
@@ -22048,7 +22052,7 @@ const fU = () => hn({
|
|
|
22048
22052
|
return w.current(W), () => {
|
|
22049
22053
|
W.destroy(), w.current(null);
|
|
22050
22054
|
};
|
|
22051
|
-
}, [
|
|
22055
|
+
}, [G, A, u, g, C, k]);
|
|
22052
22056
|
const Z = {
|
|
22053
22057
|
placement: D
|
|
22054
22058
|
};
|
|
@@ -22084,7 +22088,7 @@ const fU = () => hn({
|
|
|
22084
22088
|
transition: B = !1,
|
|
22085
22089
|
slotProps: y = {},
|
|
22086
22090
|
slots: P = {}
|
|
22087
|
-
} = t, R =
|
|
22091
|
+
} = t, R = Ze(t, uU), [Q, T] = O.useState(!0), w = () => {
|
|
22088
22092
|
T(!1);
|
|
22089
22093
|
}, k = () => {
|
|
22090
22094
|
T(!0);
|
|
@@ -22098,7 +22102,7 @@ const fU = () => hn({
|
|
|
22098
22102
|
const z = pA(r);
|
|
22099
22103
|
D = z && ou(z) ? Ir(z).body : Ir(null).body;
|
|
22100
22104
|
}
|
|
22101
|
-
const Y = !f && u && (!B || Q) ? "none" : void 0,
|
|
22105
|
+
const Y = !f && u && (!B || Q) ? "none" : void 0, G = B ? {
|
|
22102
22106
|
in: f,
|
|
22103
22107
|
onEnter: w,
|
|
22104
22108
|
onExited: k
|
|
@@ -22127,7 +22131,7 @@ const fU = () => hn({
|
|
|
22127
22131
|
left: 0,
|
|
22128
22132
|
display: Y
|
|
22129
22133
|
}, m),
|
|
22130
|
-
TransitionProps:
|
|
22134
|
+
TransitionProps: G,
|
|
22131
22135
|
children: i
|
|
22132
22136
|
}))
|
|
22133
22137
|
});
|
|
@@ -22275,7 +22279,7 @@ const CU = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
22275
22279
|
transition: R,
|
|
22276
22280
|
slots: Q,
|
|
22277
22281
|
slotProps: T
|
|
22278
|
-
} = a, w =
|
|
22282
|
+
} = a, w = Ze(a, CU), k = (r = Q == null ? void 0 : Q.root) != null ? r : u == null ? void 0 : u.Root, D = V({
|
|
22279
22283
|
anchorEl: l,
|
|
22280
22284
|
container: f,
|
|
22281
22285
|
disablePortal: C,
|
|
@@ -22610,7 +22614,7 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
22610
22614
|
}), {
|
|
22611
22615
|
arrow: D = !1,
|
|
22612
22616
|
children: Y,
|
|
22613
|
-
components:
|
|
22617
|
+
components: G = {},
|
|
22614
22618
|
componentsProps: z = {},
|
|
22615
22619
|
describeChild: Z = !1,
|
|
22616
22620
|
disableFocusListener: ie = !1,
|
|
@@ -22622,20 +22626,20 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
22622
22626
|
enterTouchDelay: M = 700,
|
|
22623
22627
|
followCursor: X = !1,
|
|
22624
22628
|
id: j,
|
|
22625
|
-
leaveDelay:
|
|
22629
|
+
leaveDelay: K = 0,
|
|
22626
22630
|
leaveTouchDelay: ce = 1500,
|
|
22627
22631
|
onClose: ue,
|
|
22628
22632
|
onOpen: se,
|
|
22629
22633
|
open: le,
|
|
22630
22634
|
placement: de = "bottom",
|
|
22631
22635
|
PopperComponent: Ee,
|
|
22632
|
-
PopperProps:
|
|
22636
|
+
PopperProps: pe = {},
|
|
22633
22637
|
slotProps: ge = {},
|
|
22634
22638
|
slots: Ce = {},
|
|
22635
22639
|
title: Qe,
|
|
22636
22640
|
TransitionComponent: oe = t0,
|
|
22637
22641
|
TransitionProps: Ue
|
|
22638
|
-
} = k, Ae =
|
|
22642
|
+
} = k, Ae = Ze(k, BU), ut = /* @__PURE__ */ O.isValidElement(Y) ? Y : /* @__PURE__ */ p("span", {
|
|
22639
22643
|
children: Y
|
|
22640
22644
|
}), Gt = Rt(), mt = Gt.direction === "rtl", [Tt, br] = O.useState(), [bt, Bt] = O.useState(null), pt = O.useRef(!1), Vt = q || X, Ht = O.useRef(), Pe = O.useRef(), Ne = O.useRef(), xe = O.useRef(), [Ye, we] = RB({
|
|
22641
22645
|
controlled: le,
|
|
@@ -22668,7 +22672,7 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
22668
22672
|
(He) => {
|
|
22669
22673
|
clearTimeout(rg), rg = setTimeout(() => {
|
|
22670
22674
|
Qc = !1;
|
|
22671
|
-
}, 800 +
|
|
22675
|
+
}, 800 + K), we(!1), ue && ht && ue(He), clearTimeout(Ht.current), Ht.current = setTimeout(() => {
|
|
22672
22676
|
pt.current = !1;
|
|
22673
22677
|
}, Gt.transitions.duration.shortest);
|
|
22674
22678
|
}
|
|
@@ -22679,7 +22683,7 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
22679
22683
|
}, Pi = (He) => {
|
|
22680
22684
|
clearTimeout(Pe.current), clearTimeout(Ne.current), Ne.current = setTimeout(() => {
|
|
22681
22685
|
Ar(He);
|
|
22682
|
-
},
|
|
22686
|
+
}, K);
|
|
22683
22687
|
}, {
|
|
22684
22688
|
isFocusVisibleRef: pl,
|
|
22685
22689
|
onBlur: au,
|
|
@@ -22746,18 +22750,18 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
22746
22750
|
padding: 4
|
|
22747
22751
|
}
|
|
22748
22752
|
}];
|
|
22749
|
-
return (He =
|
|
22753
|
+
return (He = pe.popperOptions) != null && He.modifiers && (Zt = Zt.concat(pe.popperOptions.modifiers)), V({}, pe.popperOptions, {
|
|
22750
22754
|
modifiers: Zt
|
|
22751
22755
|
});
|
|
22752
|
-
}, [bt,
|
|
22756
|
+
}, [bt, pe]), Ko = V({}, k, {
|
|
22753
22757
|
isRtl: mt,
|
|
22754
22758
|
arrow: D,
|
|
22755
22759
|
disableInteractive: Vt,
|
|
22756
22760
|
placement: de,
|
|
22757
22761
|
PopperComponentProp: Ee,
|
|
22758
22762
|
touch: pt.current
|
|
22759
|
-
}), Va = yU(Ko), Bl = (r = (i = Ce.popper) != null ? i :
|
|
22760
|
-
className: $e(Va.popper,
|
|
22763
|
+
}), Va = yU(Ko), Bl = (r = (i = Ce.popper) != null ? i : G.Popper) != null ? r : bU, vl = (a = (l = (A = Ce.transition) != null ? A : G.Transition) != null ? l : oe) != null ? a : t0, Ha = (u = (g = Ce.tooltip) != null ? g : G.Tooltip) != null ? u : QU, yl = (f = (C = Ce.arrow) != null ? C : G.Arrow) != null ? f : xU, gu = dc(Bl, V({}, pe, (h = ge.popper) != null ? h : z.popper, {
|
|
22764
|
+
className: $e(Va.popper, pe == null ? void 0 : pe.className, (I = (m = ge.popper) != null ? m : z.popper) == null ? void 0 : I.className)
|
|
22761
22765
|
}), Ko), fu = dc(vl, V({}, Ue, (B = ge.transition) != null ? B : z.transition), Ko), pu = dc(Ha, V({}, (y = ge.tooltip) != null ? y : z.tooltip, {
|
|
22762
22766
|
className: $e(Va.tooltip, (P = (R = ge.tooltip) != null ? R : z.tooltip) == null ? void 0 : P.className)
|
|
22763
22767
|
}), Ko), hu = dc(yl, V({}, (Q = ge.arrow) != null ? Q : z.arrow, {
|
|
@@ -23047,7 +23051,7 @@ const RU = ["className", "raised"], OU = (e) => {
|
|
|
23047
23051
|
}), {
|
|
23048
23052
|
className: i,
|
|
23049
23053
|
raised: a = !1
|
|
23050
|
-
} = r, l =
|
|
23054
|
+
} = r, l = Ze(r, RU), A = V({}, r, {
|
|
23051
23055
|
raised: a
|
|
23052
23056
|
}), u = OU(A);
|
|
23053
23057
|
return /* @__PURE__ */ p(DU, V({
|
|
@@ -23294,27 +23298,27 @@ const VQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23294
23298
|
TransitionComponent: P = UH,
|
|
23295
23299
|
transitionDuration: R = a,
|
|
23296
23300
|
variant: Q = "temporary"
|
|
23297
|
-
} = r, T =
|
|
23301
|
+
} = r, T = Ze(r.ModalProps, jU), w = Ze(r, VU), k = O.useRef(!1);
|
|
23298
23302
|
O.useEffect(() => {
|
|
23299
23303
|
k.current = !0;
|
|
23300
23304
|
}, []);
|
|
23301
|
-
const D = YU(i, l),
|
|
23305
|
+
const D = YU(i, l), G = V({}, r, {
|
|
23302
23306
|
anchor: l,
|
|
23303
23307
|
elevation: f,
|
|
23304
23308
|
open: m,
|
|
23305
23309
|
variant: Q
|
|
23306
|
-
}, w), z = HU(
|
|
23310
|
+
}, w), z = HU(G), Z = /* @__PURE__ */ p(zU, V({
|
|
23307
23311
|
elevation: Q === "temporary" ? f : 0,
|
|
23308
23312
|
square: !0
|
|
23309
23313
|
}, B, {
|
|
23310
23314
|
className: $e(z.paper, B.className),
|
|
23311
|
-
ownerState:
|
|
23315
|
+
ownerState: G,
|
|
23312
23316
|
children: u
|
|
23313
23317
|
}));
|
|
23314
23318
|
if (Q === "permanent")
|
|
23315
23319
|
return /* @__PURE__ */ p(u0, V({
|
|
23316
23320
|
className: $e(z.root, z.docked, g),
|
|
23317
|
-
ownerState:
|
|
23321
|
+
ownerState: G,
|
|
23318
23322
|
ref: n
|
|
23319
23323
|
}, w, {
|
|
23320
23324
|
children: Z
|
|
@@ -23329,7 +23333,7 @@ const VQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23329
23333
|
}));
|
|
23330
23334
|
return Q === "persistent" ? /* @__PURE__ */ p(u0, V({
|
|
23331
23335
|
className: $e(z.root, z.docked, g),
|
|
23332
|
-
ownerState:
|
|
23336
|
+
ownerState: G,
|
|
23333
23337
|
ref: n
|
|
23334
23338
|
}, w, {
|
|
23335
23339
|
children: ie
|
|
@@ -23339,7 +23343,7 @@ const VQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23339
23343
|
}),
|
|
23340
23344
|
className: $e(z.root, z.modal, g),
|
|
23341
23345
|
open: m,
|
|
23342
|
-
ownerState:
|
|
23346
|
+
ownerState: G,
|
|
23343
23347
|
onClose: I,
|
|
23344
23348
|
hideBackdrop: C,
|
|
23345
23349
|
ref: n
|
|
@@ -23506,7 +23510,7 @@ function _U(e) {
|
|
|
23506
23510
|
var Be = {}, _g = { exports: {} };
|
|
23507
23511
|
(function(e, t) {
|
|
23508
23512
|
(function(n, r) {
|
|
23509
|
-
var i = "1.0.36", a = "", l = "?", A = "function", u = "undefined", g = "object", f = "string", C = "major", h = "model", I = "name", m = "type", B = "vendor", y = "version", P = "architecture", R = "console", Q = "mobile", T = "tablet", w = "smarttv", k = "wearable", D = "embedded", Y = 350,
|
|
23513
|
+
var i = "1.0.36", a = "", l = "?", A = "function", u = "undefined", g = "object", f = "string", C = "major", h = "model", I = "name", m = "type", B = "vendor", y = "version", P = "architecture", R = "console", Q = "mobile", T = "tablet", w = "smarttv", k = "wearable", D = "embedded", Y = 350, G = "Amazon", z = "Apple", Z = "ASUS", ie = "BlackBerry", ne = "Browser", q = "Chrome", U = "Edge", L = "Firefox", W = "Google", M = "Huawei", X = "LG", j = "Microsoft", K = "Motorola", ce = "Opera", ue = "Samsung", se = "Sharp", le = "Sony", de = "Xiaomi", Ee = "Zebra", pe = "Facebook", ge = "Chromium OS", Ce = "Mac OS", Qe = function(Pe, Ne) {
|
|
23510
23514
|
var xe = {};
|
|
23511
23515
|
for (var Ye in Pe)
|
|
23512
23516
|
Ne[Ye] && Ne[Ye].length % 2 === 0 ? xe[Ye] = Ne[Ye].concat(Pe[Ye]) : xe[Ye] = Pe[Ye];
|
|
@@ -23542,7 +23546,7 @@ var Be = {}, _g = { exports: {} };
|
|
|
23542
23546
|
} else if (Ue(Ne[xe], Pe))
|
|
23543
23547
|
return xe === l ? r : xe;
|
|
23544
23548
|
return Pe;
|
|
23545
|
-
}, br = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, bt = { 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" }, Bt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [I, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [I, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [I, y], [/opios[\/ ]+([\w\.]+)/i], [y, [I, ce + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [I, ce]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\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], [I, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [I, "UC" + ne]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [I, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [I, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [I, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [I, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [I, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[I, /(.+)/, "$1 Secure " + ne], y], [/\bfocus\/([\w\.]+)/i], [y, [I, L + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [I, ce + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [I, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [I, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [I, ce + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [I, "MIUI " + ne]], [/fxios\/([-\w\.]+)/i], [y, [I, L]], [/\bqihu|(qi?ho?o?|360)browser/i], [[I, "360 " + ne]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[I, /(.+)/, "$1 " + ne], y], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [I, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [I], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[I, he], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [I, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [I, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [I, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [I, q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[I, q + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [I, "Android " + ne]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [I, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [I, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, I], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [I, [y, Tt, br]], [/(webkit|khtml)\/([\w\.]+)/i], [I, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[I, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [I, L + " 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], [I, y], [/(cobalt)\/([\w\.]+)/i], [I, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[P, "amd64"]], [/(ia32(?=;))/i], [[P, Ae]], [/((?:i[346]|x)86)[;\)]/i], [[P, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[P, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[P, "armhf"]], [/windows (ce|mobile); ppc;/i], [[P, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[P, /ower/, a, Ae]], [/(sun4\w)[;\)]/i], [[P, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[P, Ae]]], 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], [h, [B, ue], [m, T]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [B, ue], [m, Q]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [B, z], [m, Q]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [B, z], [m, T]], [/(macintosh);/i], [h, [B, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [B, se], [m, Q]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [B, M], [m, T]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [B, M], [m, Q]], [/\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, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [B, de], [m, Q]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [B, de], [m, T]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [B, "OPPO"], [m, Q]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [B, "Vivo"], [m, Q]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [h, [B, "Realme"], [m, Q]], [/\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], [h, [B, G], [m, Q]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [B, G], [m, T]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [B, X], [m, T]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [B, X], [m, Q]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [B, "Lenovo"], [m, T]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [B, "Nokia"], [m, Q]], [/(pixel c)\b/i], [h, [B, W], [m, T]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [B, W], [m, Q]], [/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], [h, [B, le], [m, Q]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [B, le], [m, T]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [B, "OnePlus"], [m, Q]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [B, K], [m, T]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [B, K], [m, Q]], [/(playbook);[-\w\),; ]+(rim)/i], [h, B, [m, T]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [B, ie], [m, Q]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [B, Z], [m, T]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [B, Z], [m, Q]], [/(nexus 9)/i], [h, [B, "HTC"], [m, T]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [B, [h, /_/g, " "], [m, Q]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [B, "Acer"], [m, T]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [B, "Meizu"], [m, Q]], [/(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, h, [m, Q]], [/(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, h, [m, T]], [/(surface duo)/i], [h, [B, j], [m, T]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [B, "Fairphone"], [m, Q]], [/(u304aa)/i], [h, [B, "AT&T"], [m, Q]], [/\bsie-(\w*)/i], [h, [B, "Siemens"], [m, Q]], [/\b(rct\w+) b/i], [h, [B, "RCA"], [m, T]], [/\b(venue[\d ]{2,7}) b/i], [h, [B, "Dell"], [m, T]], [/\b(q(?:mv|ta)\w+) b/i], [h, [B, "Verizon"], [m, T]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [B, "Barnes & Noble"], [m, T]], [/\b(tm\d{3}\w+) b/i], [h, [B, "NuVision"], [m, T]], [/\b(k88) b/i], [h, [B, "ZTE"], [m, T]], [/\b(nx\d{3}j) b/i], [h, [B, "ZTE"], [m, Q]], [/\b(gen\d{3}) b.+49h/i], [h, [B, "Swiss"], [m, Q]], [/\b(zur\d{3}) b/i], [h, [B, "Swiss"], [m, T]], [/\b((zeki)?tb.*\b) b/i], [h, [B, "Zeki"], [m, T]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[B, "Dragon Touch"], h, [m, T]], [/\b(ns-?\w{0,9}) b/i], [h, [B, "Insignia"], [m, T]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [B, "NextBook"], [m, T]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[B, "Voice"], h, [m, Q]], [/\b(lvtel\-)?(v1[12]) b/i], [[B, "LvTel"], h, [m, Q]], [/\b(ph-1) /i], [h, [B, "Essential"], [m, Q]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [B, "Envizen"], [m, T]], [/\b(trio[-\w\. ]+) b/i], [h, [B, "MachSpeed"], [m, T]], [/\btu_(1491) b/i], [h, [B, "Rotor"], [m, T]], [/(shield[\w ]+) b/i], [h, [B, "Nvidia"], [m, T]], [/(sprint) (\w+)/i], [B, h, [m, Q]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [B, j], [m, Q]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [B, Ee], [m, T]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [B, Ee], [m, Q]], [/smart-tv.+(samsung)/i], [B, [m, w]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [B, ue], [m, w]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[B, X], [m, w]], [/(apple) ?tv/i], [B, [h, z + " TV"], [m, w]], [/crkey/i], [[h, q + "cast"], [B, W], [m, w]], [/droid.+aft(\w+)( bui|\))/i], [h, [B, K], [m, w]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [B, se], [m, w]], [/(bravia[\w ]+)( bui|\))/i], [h, [B, le], [m, w]], [/(mitv-\w{5}) bui/i], [h, [B, de], [m, w]], [/Hbbtv.*(technisat) (.*);/i], [B, h, [m, w]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[B, Gt], [h, Gt], [m, w]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[m, w]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [B, h, [m, R]], [/droid.+; (shield) bui/i], [h, [B, "Nvidia"], [m, R]], [/(playstation [345portablevi]+)/i], [h, [B, le], [m, R]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [B, j], [m, R]], [/((pebble))app/i], [B, h, [m, k]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [B, z], [m, k]], [/droid.+; (glass) \d/i], [h, [B, W], [m, k]], [/droid.+; (wt63?0{2,3})\)/i], [h, [B, Ee], [m, k]], [/(quest( 2| pro)?)/i], [h, [B, he], [m, k]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [B, [m, D]], [/(aeobc)\b/i], [h, [B, K], [m, D]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [h, [m, Q]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [m, T]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[m, T]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[m, Q]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [B, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [I, U + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [I, "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], [I, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, I]], os: [[/microsoft (windows) (vista|xp)/i], [I, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [I, [y, Tt, bt]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, "Windows"], [y, Tt, bt]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [I, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[I, Ce], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, I], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [I, y], [/\(bb(10);/i], [y, [I, ie]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [I, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [I, L + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [I, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [I, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [I, q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[I, ge], y], [/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], [I, y], [/(sunos) ?([\w\.\d]*)/i], [[I, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [I, y]] }, pt = function(Pe, Ne) {
|
|
23549
|
+
}, br = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, bt = { 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" }, Bt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [y, [I, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [y, [I, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [I, y], [/opios[\/ ]+([\w\.]+)/i], [y, [I, ce + " Mini"]], [/\bopr\/([\w\.]+)/i], [y, [I, ce]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\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], [I, y], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [y, [I, "UC" + ne]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [y, [I, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [y, [I, "WeChat"]], [/konqueror\/([\w\.]+)/i], [y, [I, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [y, [I, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [y, [I, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[I, /(.+)/, "$1 Secure " + ne], y], [/\bfocus\/([\w\.]+)/i], [y, [I, L + " Focus"]], [/\bopt\/([\w\.]+)/i], [y, [I, ce + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [y, [I, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [y, [I, "Dolphin"]], [/coast\/([\w\.]+)/i], [y, [I, ce + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [y, [I, "MIUI " + ne]], [/fxios\/([-\w\.]+)/i], [y, [I, L]], [/\bqihu|(qi?ho?o?|360)browser/i], [[I, "360 " + ne]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[I, /(.+)/, "$1 " + ne], y], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], y], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [I, y], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [I], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[I, pe], y], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [I, y], [/\bgsa\/([\w\.]+) .*safari\//i], [y, [I, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [y, [I, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [y, [I, q + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[I, q + " WebView"], y], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [y, [I, "Android " + ne]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [I, y], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [y, [I, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [y, I], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [I, [y, Tt, br]], [/(webkit|khtml)\/([\w\.]+)/i], [I, y], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[I, "Netscape"], y], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [y, [I, L + " 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], [I, y], [/(cobalt)\/([\w\.]+)/i], [I, [y, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[P, "amd64"]], [/(ia32(?=;))/i], [[P, Ae]], [/((?:i[346]|x)86)[;\)]/i], [[P, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[P, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[P, "armhf"]], [/windows (ce|mobile); ppc;/i], [[P, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[P, /ower/, a, Ae]], [/(sun4\w)[;\)]/i], [[P, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[P, Ae]]], 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], [h, [B, ue], [m, T]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [B, ue], [m, Q]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [B, z], [m, Q]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [B, z], [m, T]], [/(macintosh);/i], [h, [B, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [B, se], [m, Q]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [B, M], [m, T]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [B, M], [m, Q]], [/\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, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [B, de], [m, Q]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [B, de], [m, T]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [B, "OPPO"], [m, Q]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [B, "Vivo"], [m, Q]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [h, [B, "Realme"], [m, Q]], [/\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], [h, [B, K], [m, Q]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [B, K], [m, T]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [B, X], [m, T]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [B, X], [m, Q]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [B, "Lenovo"], [m, T]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [B, "Nokia"], [m, Q]], [/(pixel c)\b/i], [h, [B, W], [m, T]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [B, W], [m, Q]], [/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], [h, [B, le], [m, Q]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [B, le], [m, T]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [B, "OnePlus"], [m, Q]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [B, G], [m, T]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [B, G], [m, Q]], [/(playbook);[-\w\),; ]+(rim)/i], [h, B, [m, T]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [B, ie], [m, Q]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [B, Z], [m, T]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [B, Z], [m, Q]], [/(nexus 9)/i], [h, [B, "HTC"], [m, T]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [B, [h, /_/g, " "], [m, Q]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [B, "Acer"], [m, T]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [B, "Meizu"], [m, Q]], [/(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, h, [m, Q]], [/(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, h, [m, T]], [/(surface duo)/i], [h, [B, j], [m, T]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [B, "Fairphone"], [m, Q]], [/(u304aa)/i], [h, [B, "AT&T"], [m, Q]], [/\bsie-(\w*)/i], [h, [B, "Siemens"], [m, Q]], [/\b(rct\w+) b/i], [h, [B, "RCA"], [m, T]], [/\b(venue[\d ]{2,7}) b/i], [h, [B, "Dell"], [m, T]], [/\b(q(?:mv|ta)\w+) b/i], [h, [B, "Verizon"], [m, T]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [B, "Barnes & Noble"], [m, T]], [/\b(tm\d{3}\w+) b/i], [h, [B, "NuVision"], [m, T]], [/\b(k88) b/i], [h, [B, "ZTE"], [m, T]], [/\b(nx\d{3}j) b/i], [h, [B, "ZTE"], [m, Q]], [/\b(gen\d{3}) b.+49h/i], [h, [B, "Swiss"], [m, Q]], [/\b(zur\d{3}) b/i], [h, [B, "Swiss"], [m, T]], [/\b((zeki)?tb.*\b) b/i], [h, [B, "Zeki"], [m, T]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[B, "Dragon Touch"], h, [m, T]], [/\b(ns-?\w{0,9}) b/i], [h, [B, "Insignia"], [m, T]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [B, "NextBook"], [m, T]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[B, "Voice"], h, [m, Q]], [/\b(lvtel\-)?(v1[12]) b/i], [[B, "LvTel"], h, [m, Q]], [/\b(ph-1) /i], [h, [B, "Essential"], [m, Q]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [B, "Envizen"], [m, T]], [/\b(trio[-\w\. ]+) b/i], [h, [B, "MachSpeed"], [m, T]], [/\btu_(1491) b/i], [h, [B, "Rotor"], [m, T]], [/(shield[\w ]+) b/i], [h, [B, "Nvidia"], [m, T]], [/(sprint) (\w+)/i], [B, h, [m, Q]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [B, j], [m, Q]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [B, Ee], [m, T]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [B, Ee], [m, Q]], [/smart-tv.+(samsung)/i], [B, [m, w]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [B, ue], [m, w]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[B, X], [m, w]], [/(apple) ?tv/i], [B, [h, z + " TV"], [m, w]], [/crkey/i], [[h, q + "cast"], [B, W], [m, w]], [/droid.+aft(\w+)( bui|\))/i], [h, [B, G], [m, w]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [B, se], [m, w]], [/(bravia[\w ]+)( bui|\))/i], [h, [B, le], [m, w]], [/(mitv-\w{5}) bui/i], [h, [B, de], [m, w]], [/Hbbtv.*(technisat) (.*);/i], [B, h, [m, w]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[B, Gt], [h, Gt], [m, w]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[m, w]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [B, h, [m, R]], [/droid.+; (shield) bui/i], [h, [B, "Nvidia"], [m, R]], [/(playstation [345portablevi]+)/i], [h, [B, le], [m, R]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [B, j], [m, R]], [/((pebble))app/i], [B, h, [m, k]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [B, z], [m, k]], [/droid.+; (glass) \d/i], [h, [B, W], [m, k]], [/droid.+; (wt63?0{2,3})\)/i], [h, [B, Ee], [m, k]], [/(quest( 2| pro)?)/i], [h, [B, pe], [m, k]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [B, [m, D]], [/(aeobc)\b/i], [h, [B, G], [m, D]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [h, [m, Q]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [m, T]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[m, T]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[m, Q]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [B, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [y, [I, U + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [y, [I, "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], [I, y], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [y, I]], os: [[/microsoft (windows) (vista|xp)/i], [I, y], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [I, [y, Tt, bt]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, "Windows"], [y, Tt, bt]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[y, /_/g, "."], [I, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[I, Ce], [y, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [y, I], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [I, y], [/\(bb(10);/i], [y, [I, ie]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [y, [I, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [y, [I, L + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [y, [I, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [y, [I, "watchOS"]], [/crkey\/([\d\.]+)/i], [y, [I, q + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[I, ge], y], [/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], [I, y], [/(sunos) ?([\w\.\d]*)/i], [[I, "Solaris"], y], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [I, y]] }, pt = function(Pe, Ne) {
|
|
23546
23550
|
if (typeof Pe === g && (Ne = Pe, Pe = r), !(this instanceof pt))
|
|
23547
23551
|
return new pt(Pe, Ne).getResult();
|
|
23548
23552
|
var xe = typeof n !== u && n.navigator ? n.navigator : r, Ye = Pe || (xe && xe.userAgent ? xe.userAgent : a), we = xe && xe.userAgentData ? xe.userAgentData : r, ht = Ne ? Qe(Bt, Ne) : Bt, Ge = xe && xe.userAgent == Ye;
|
|
@@ -24379,8 +24383,8 @@ function Hc(e, t, n) {
|
|
|
24379
24383
|
return g = k, A = setTimeout(P, t), f ? I(k) : l;
|
|
24380
24384
|
}
|
|
24381
24385
|
function B(k) {
|
|
24382
|
-
var D = k - u, Y = k - g,
|
|
24383
|
-
return C ? KG(
|
|
24386
|
+
var D = k - u, Y = k - g, G = t - D;
|
|
24387
|
+
return C ? KG(G, a - Y) : G;
|
|
24384
24388
|
}
|
|
24385
24389
|
function y(k) {
|
|
24386
24390
|
var D = k - u, Y = k - g;
|
|
@@ -24932,7 +24936,7 @@ const ws = ({ item: e, level: t }) => {
|
|
|
24932
24936
|
};
|
|
24933
24937
|
e != null && e.external && (f = { component: "a", href: e.url, target: g });
|
|
24934
24938
|
const C = e.icon, h = e.icon ? /* @__PURE__ */ p(C, { style: { fontSize: a ? "1rem" : "1.25rem" } }) : !1, I = l.findIndex((P) => P === e.id) > -1, { pathname: m } = ba();
|
|
24935
|
-
|
|
24939
|
+
Xe(() => {
|
|
24936
24940
|
m.endsWith(e.url) && A([e.id]);
|
|
24937
24941
|
}, [m]);
|
|
24938
24942
|
const B = n.palette.mode === "dark" ? "grey.400" : "text.primary", y = n.palette.mode === "dark" && a ? "text.primary" : "primary.main";
|
|
@@ -25159,19 +25163,19 @@ const y0 = ae(qs)(({ theme: e }) => ({
|
|
|
25159
25163
|
m === i ? t === 1 && I(!0) : t === l && (I(!1), B(null));
|
|
25160
25164
|
}, [i, t, m, l]);
|
|
25161
25165
|
const { pathname: k } = ba(), D = !!y, Y = (X, j) => {
|
|
25162
|
-
X.forEach((
|
|
25163
|
-
|
|
25166
|
+
X.forEach((K) => {
|
|
25167
|
+
K.url === k && (I(!0), B(j));
|
|
25164
25168
|
});
|
|
25165
25169
|
};
|
|
25166
|
-
|
|
25170
|
+
Xe(() => {
|
|
25167
25171
|
I(!1), B(null), D && P(null), e.children && e.children.forEach((X) => {
|
|
25168
25172
|
var j;
|
|
25169
25173
|
(j = X.children) != null && j.length && Y(X.children, e.id), X.url === k && (B(e.id), I(!0)), k.includes(X.url) && (B(e.id), I(!0));
|
|
25170
25174
|
});
|
|
25171
|
-
}, [k, e.children]),
|
|
25175
|
+
}, [k, e.children]), Xe(() => {
|
|
25172
25176
|
e.url === k && m !== e.id && (u([e.id]), B(e.id), P(null), I(!0));
|
|
25173
25177
|
}, [k, e, m, u]);
|
|
25174
|
-
const
|
|
25178
|
+
const G = (M = e.children) == null ? void 0 : M.map((X) => {
|
|
25175
25179
|
switch (X.type) {
|
|
25176
25180
|
case "collapse":
|
|
25177
25181
|
return /* @__PURE__ */ p(
|
|
@@ -25274,7 +25278,7 @@ const y0 = ae(qs)(({ theme: e }) => ({
|
|
|
25274
25278
|
boxShadow: A.shadows[8],
|
|
25275
25279
|
backgroundImage: "none"
|
|
25276
25280
|
},
|
|
25277
|
-
children: /* @__PURE__ */ p(ga, { onClickAway: w, children: /* @__PURE__ */ p(Me, { children:
|
|
25281
|
+
children: /* @__PURE__ */ p(ga, { onClickAway: w, children: /* @__PURE__ */ p(Me, { children: G }) })
|
|
25278
25282
|
}
|
|
25279
25283
|
) })
|
|
25280
25284
|
}
|
|
@@ -25382,7 +25386,7 @@ const y0 = ae(qs)(({ theme: e }) => ({
|
|
|
25382
25386
|
backgroundImage: "none",
|
|
25383
25387
|
border: `1px solid ${A.palette.divider}`
|
|
25384
25388
|
},
|
|
25385
|
-
children: /* @__PURE__ */ p(ga, { onClickAway: w, children: /* @__PURE__ */ p(Me, { children:
|
|
25389
|
+
children: /* @__PURE__ */ p(ga, { onClickAway: w, children: /* @__PURE__ */ p(Me, { children: G }) })
|
|
25386
25390
|
}
|
|
25387
25391
|
) })
|
|
25388
25392
|
}
|
|
@@ -25390,7 +25394,7 @@ const y0 = ae(qs)(({ theme: e }) => ({
|
|
|
25390
25394
|
]
|
|
25391
25395
|
}
|
|
25392
25396
|
),
|
|
25393
|
-
f && /* @__PURE__ */ p(mf, { in: h, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ p(Ii, { sx: { p: 0 }, children:
|
|
25397
|
+
f && /* @__PURE__ */ p(mf, { in: h, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ p(Ii, { sx: { p: 0 }, children: G }) })
|
|
25394
25398
|
] }) });
|
|
25395
25399
|
};
|
|
25396
25400
|
Ts.propTypes = {
|
|
@@ -25423,7 +25427,7 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25423
25427
|
})), _1 = ({ item: e, lastItem: t, remItems: n, lastItemId: r, setSelectedItems: i, selectedItems: a, setSelectedLevel: l, selectedLevel: A }) => {
|
|
25424
25428
|
var L, W;
|
|
25425
25429
|
const u = Rt(), g = vr(), { pathname: f } = { pathname: "" }, { horizontal: C, downLg: h } = yr(), I = yi(), { drawerOpen: m, selectedID: B } = I, { activeID: y } = yi(), [P, R] = qe(null), [Q, T] = qe(e), w = !!P;
|
|
25426
|
-
|
|
25430
|
+
Xe(() => {
|
|
25427
25431
|
if (t)
|
|
25428
25432
|
if (e.id === r) {
|
|
25429
25433
|
const M = { ...e }, X = n.map((j) => j.elements);
|
|
@@ -25433,21 +25437,21 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25433
25437
|
}, [e, t, h]);
|
|
25434
25438
|
const k = (M, X) => {
|
|
25435
25439
|
M.forEach((j) => {
|
|
25436
|
-
var
|
|
25437
|
-
(
|
|
25440
|
+
var K;
|
|
25441
|
+
(K = j.children) != null && K.length && k(j.children, Q.id), j.url === f && y(X);
|
|
25438
25442
|
});
|
|
25439
25443
|
}, D = (M) => {
|
|
25440
25444
|
(M.children ? M.children : []).forEach((j) => {
|
|
25441
|
-
var
|
|
25442
|
-
(
|
|
25445
|
+
var K;
|
|
25446
|
+
(K = j.children) != null && K.length && k(j.children, Q.id), j.url === f && y(Q.id);
|
|
25443
25447
|
});
|
|
25444
25448
|
};
|
|
25445
|
-
|
|
25449
|
+
Xe(() => {
|
|
25446
25450
|
D(Q), w && R(null);
|
|
25447
25451
|
}, [f, Q]);
|
|
25448
25452
|
const Y = (M) => {
|
|
25449
25453
|
w || R(M == null ? void 0 : M.currentTarget);
|
|
25450
|
-
},
|
|
25454
|
+
}, G = () => {
|
|
25451
25455
|
R(null);
|
|
25452
25456
|
}, z = Q == null ? void 0 : Q.icon, Z = Q != null && Q.icon ? /* @__PURE__ */ p(
|
|
25453
25457
|
z,
|
|
@@ -25481,13 +25485,13 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25481
25485
|
var j;
|
|
25482
25486
|
return /* @__PURE__ */ $(co, { children: [
|
|
25483
25487
|
M.title && /* @__PURE__ */ p(Ie, { variant: "caption", sx: { pl: 2 }, children: M.title }),
|
|
25484
|
-
(j = M == null ? void 0 : M.elements) == null ? void 0 : j.map((
|
|
25485
|
-
switch (
|
|
25488
|
+
(j = M == null ? void 0 : M.elements) == null ? void 0 : j.map((K) => {
|
|
25489
|
+
switch (K.type) {
|
|
25486
25490
|
case "collapse":
|
|
25487
25491
|
return /* @__PURE__ */ p(
|
|
25488
25492
|
Ts,
|
|
25489
25493
|
{
|
|
25490
|
-
menu:
|
|
25494
|
+
menu: K,
|
|
25491
25495
|
level: 1,
|
|
25492
25496
|
parentId: Q.id,
|
|
25493
25497
|
setSelectedItems: i,
|
|
@@ -25495,12 +25499,12 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25495
25499
|
selectedLevel: A,
|
|
25496
25500
|
selectedItems: a
|
|
25497
25501
|
},
|
|
25498
|
-
|
|
25502
|
+
K.id
|
|
25499
25503
|
);
|
|
25500
25504
|
case "item":
|
|
25501
|
-
return /* @__PURE__ */ p(ws, { item:
|
|
25505
|
+
return /* @__PURE__ */ p(ws, { item: K, level: 1 }, K.id);
|
|
25502
25506
|
default:
|
|
25503
|
-
return /* @__PURE__ */ p(Ie, { variant: "h6", color: "error", align: "center", children: "Menu Items Error" },
|
|
25507
|
+
return /* @__PURE__ */ p(Ie, { variant: "h6", color: "error", align: "center", children: "Menu Items Error" }, K.id);
|
|
25504
25508
|
}
|
|
25505
25509
|
})
|
|
25506
25510
|
] }, X);
|
|
@@ -25543,7 +25547,7 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25543
25547
|
},
|
|
25544
25548
|
onMouseEnter: Y,
|
|
25545
25549
|
onClick: Y,
|
|
25546
|
-
onMouseLeave:
|
|
25550
|
+
onMouseLeave: G,
|
|
25547
25551
|
"aria-describedby": U,
|
|
25548
25552
|
children: [
|
|
25549
25553
|
Z && /* @__PURE__ */ p(Cr, { sx: { minWidth: 28 }, children: Q.id === r ? /* @__PURE__ */ p(Uc, { style: { fontSize: 20, stroke: "1.5" } }) : Z }),
|
|
@@ -25581,7 +25585,7 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25581
25585
|
boxShadow: u.shadows[8],
|
|
25582
25586
|
backgroundImage: "none"
|
|
25583
25587
|
},
|
|
25584
|
-
children: /* @__PURE__ */ p(ga, { onClickAway:
|
|
25588
|
+
children: /* @__PURE__ */ p(ga, { onClickAway: G, children: /* @__PURE__ */ p(
|
|
25585
25589
|
Me,
|
|
25586
25590
|
{
|
|
25587
25591
|
sx: {
|
|
@@ -25646,7 +25650,7 @@ function sK(e) {
|
|
|
25646
25650
|
"& > ul:first-of-type": { mt: 0 },
|
|
25647
25651
|
display: t ? { xs: "block", lg: "flex" } : "block"
|
|
25648
25652
|
});
|
|
25649
|
-
return /* @__PURE__ */ p(Me, { sx: m, children: !i &&
|
|
25653
|
+
return /* @__PURE__ */ p(Me, { sx: m, children: !i && he.map((r ?? []).slice(0, C + 1), (B) => {
|
|
25650
25654
|
const { type: y } = B;
|
|
25651
25655
|
switch (y) {
|
|
25652
25656
|
case "group":
|
|
@@ -25904,7 +25908,7 @@ const nf = 4, uK = Lo(b0 || (b0 = Fa`
|
|
|
25904
25908
|
value: l,
|
|
25905
25909
|
valueBuffer: A,
|
|
25906
25910
|
variant: u = "indeterminate"
|
|
25907
|
-
} = r, g =
|
|
25911
|
+
} = r, g = Ze(r, AK), f = V({}, r, {
|
|
25908
25912
|
color: a,
|
|
25909
25913
|
variant: u
|
|
25910
25914
|
}), C = fK(f), h = Rt(), I = {}, m = {
|
|
@@ -26012,7 +26016,7 @@ const vK = ae(
|
|
|
26012
26016
|
}
|
|
26013
26017
|
})), ex = ({ children: e }) => {
|
|
26014
26018
|
const t = ba(), { pathname: n } = t;
|
|
26015
|
-
return
|
|
26019
|
+
return Xe(() => {
|
|
26016
26020
|
window.scrollTo({
|
|
26017
26021
|
top: 0,
|
|
26018
26022
|
left: 0,
|
|
@@ -26976,13 +26980,13 @@ gl.propTypes = {
|
|
|
26976
26980
|
};
|
|
26977
26981
|
const zK = ({ name: e, copy: t, version: n, background: r }) => {
|
|
26978
26982
|
const i = on(), a = Xs(), l = Qa(), A = Qf(), { token: u } = FO();
|
|
26979
|
-
return
|
|
26983
|
+
return Xe(() => {
|
|
26980
26984
|
if (typeof a.activate != "function")
|
|
26981
26985
|
throw new Error("The authProvider used for the ActivatePage must define an activate() method");
|
|
26982
26986
|
a.activate(u).then(() => {
|
|
26983
|
-
l("ra.auth.activate_success", { type: "info" }),
|
|
26987
|
+
l("ra.auth.activate_success", { type: "info" }), he.delay(() => A("/login"), 1e3);
|
|
26984
26988
|
}).catch((g) => {
|
|
26985
|
-
l(g, { type: "error" }),
|
|
26989
|
+
l(g, { type: "error" }), he.delay(() => A("/login"), 1e3);
|
|
26986
26990
|
});
|
|
26987
26991
|
}, [u]), /* @__PURE__ */ p(gl, { name: e, copy: t, version: n, background: r, children: /* @__PURE__ */ $(ye, { container: !0, spacing: 3, children: [
|
|
26988
26992
|
/* @__PURE__ */ p(ye, { item: !0, xs: 12, children: /* @__PURE__ */ $(jt, { direction: "row", justifyContent: "space-between", alignItems: "baseline", sx: { mb: { xs: -0.5, sm: 0.5 } }, children: [
|
|
@@ -26999,7 +27003,7 @@ zK.propTypes = {
|
|
|
26999
27003
|
};
|
|
27000
27004
|
const uh = ({ version: e, name: t, copy: n, enablePasswordRecover: r, enableRegistration: i, redirectTo: a, background: l }) => {
|
|
27001
27005
|
const [A, u] = C3(!1), g = E3(), f = on(), C = Qa(), h = I3(), I = Qf();
|
|
27002
|
-
|
|
27006
|
+
Xe(() => {
|
|
27003
27007
|
h({}, !1).then(() => {
|
|
27004
27008
|
I("/");
|
|
27005
27009
|
}).catch(() => {
|
|
@@ -30118,7 +30122,7 @@ function fJ(e) {
|
|
|
30118
30122
|
}
|
|
30119
30123
|
const dh = ({ themeOverrides: e, children: t }) => {
|
|
30120
30124
|
const { themeDirection: n, mode: r, presetColor: i, fontFamily: a } = lr(), l = nt(() => Eq(r, i), [r, i]), A = nt(() => Iq(a), [a]), u = nt(() => KK(l), [l]), g = nt(
|
|
30121
|
-
() =>
|
|
30125
|
+
() => he.merge(
|
|
30122
30126
|
{
|
|
30123
30127
|
breakpoints: {
|
|
30124
30128
|
values: {
|
|
@@ -30156,8 +30160,8 @@ const dh = ({ themeOverrides: e, children: t }) => {
|
|
|
30156
30160
|
typeof e == "function" ? e(l) : e
|
|
30157
30161
|
),
|
|
30158
30162
|
[n, l, A, u, e]
|
|
30159
|
-
), f = Wf(g), C =
|
|
30160
|
-
return f.components =
|
|
30163
|
+
), f = Wf(g), C = he.cloneDeep(f.components ?? {});
|
|
30164
|
+
return f.components = he.merge(fJ(f), C), /* @__PURE__ */ p(EO, { injectFirst: !0, children: /* @__PURE__ */ $(YB, { theme: f, children: [
|
|
30161
30165
|
/* @__PURE__ */ p(IO, {}),
|
|
30162
30166
|
t
|
|
30163
30167
|
] }) });
|
|
@@ -30237,7 +30241,7 @@ class pJ {
|
|
|
30237
30241
|
ri(this, Hs, void 0);
|
|
30238
30242
|
ri(this, da, /* @__PURE__ */ new Set());
|
|
30239
30243
|
const { apiUrl: n } = t ?? {};
|
|
30240
|
-
if (!
|
|
30244
|
+
if (!he.isString(n) || he.isEmpty(n))
|
|
30241
30245
|
throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");
|
|
30242
30246
|
Ui(this, Hs, n), Ui(this, Vs, new Headers({ Accept: "application/json", "Content-Type": "application/json" }));
|
|
30243
30247
|
}
|
|
@@ -30285,16 +30289,18 @@ const hJ = ({
|
|
|
30285
30289
|
catcherFn: r = (a) => new hx({ catch: a != null, display: !1, log: a != null, error: a }),
|
|
30286
30290
|
...i
|
|
30287
30291
|
}) => {
|
|
30288
|
-
const a = O.useMemo(() => i.errorHandler ? i.errorHandler : new pJ({ apiUrl: t }), [t, i.errorHandler]), l = O.useCallback(
|
|
30289
|
-
function(
|
|
30290
|
-
const
|
|
30291
|
-
|
|
30292
|
+
const a = O.useMemo(() => i.errorHandler ? i.errorHandler : new pJ({ apiUrl: t }), [t, i.errorHandler]), l = console.error, A = O.useCallback(
|
|
30293
|
+
function(u, ...g) {
|
|
30294
|
+
const f = r(u instanceof ErrorEvent ? u : u.replace(/%s/g, () => g.shift()));
|
|
30295
|
+
if (f.isCatched())
|
|
30296
|
+
return !1;
|
|
30297
|
+
f.logError() && (u instanceof ErrorEvent ? a.handle(u) : a.handle(new ErrorEvent("window.onerror", { error: u, message: u.toString() }))), f.displayError() && l.apply(console, arguments);
|
|
30292
30298
|
},
|
|
30293
30299
|
[t, n, r, e, a]
|
|
30294
30300
|
);
|
|
30295
|
-
return O.useEffect(() => (window.removeEventListener("error",
|
|
30296
|
-
window.removeEventListener("error", l
|
|
30297
|
-
}), [
|
|
30301
|
+
return O.useEffect(() => (window.removeEventListener("error", A), window.addEventListener("error", A), console.error = A, () => {
|
|
30302
|
+
window.removeEventListener("error", A), console.error = l;
|
|
30303
|
+
}), [A]), !0;
|
|
30298
30304
|
};
|
|
30299
30305
|
var Ws, zs, pi;
|
|
30300
30306
|
class CJ {
|
|
@@ -30303,23 +30309,23 @@ class CJ {
|
|
|
30303
30309
|
ri(this, zs, void 0);
|
|
30304
30310
|
ri(this, pi, []);
|
|
30305
30311
|
const { apiUrl: n } = t ?? {};
|
|
30306
|
-
if (!
|
|
30312
|
+
if (!he.isString(n) || he.isEmpty(n))
|
|
30307
30313
|
throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");
|
|
30308
30314
|
Ui(this, zs, n), Ui(this, Ws, new Headers({ Accept: "application/json", "Content-Type": "application/json" }));
|
|
30309
30315
|
}
|
|
30310
30316
|
handleMessage(t) {
|
|
30311
|
-
if (!
|
|
30317
|
+
if (!he.isPlainObject(t))
|
|
30312
30318
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");
|
|
30313
30319
|
const { code: n, lang: r } = t;
|
|
30314
|
-
if (!
|
|
30320
|
+
if (!he.isString(n) || he.isEmpty(n))
|
|
30315
30321
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");
|
|
30316
|
-
if (!
|
|
30322
|
+
if (!he.isString(r) || he.isEmpty(r))
|
|
30317
30323
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");
|
|
30318
|
-
if (!
|
|
30324
|
+
if (!he.some(pr(this, pi), (i) => he.isEqual(i, { code: n, lang: r }))) {
|
|
30319
30325
|
pr(this, pi).push({ code: n, lang: r }), fetch(`${pr(this, zs)}/i18n/message`, { method: "put", headers: pr(this, Ws), body: JSON.stringify({ code: n, lang: r, text: n }) }).then((i) => i.json()).then(() => {
|
|
30320
30326
|
console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`);
|
|
30321
30327
|
}).catch((i) => {
|
|
30322
|
-
console.error(i), Ui(this, pi,
|
|
30328
|
+
console.error(i), Ui(this, pi, he.reject(pr(this, pi), (a) => he.isEqual(a, { code: n, lang: r })));
|
|
30323
30329
|
});
|
|
30324
30330
|
return;
|
|
30325
30331
|
}
|
|
@@ -30327,10 +30333,7 @@ class CJ {
|
|
|
30327
30333
|
}
|
|
30328
30334
|
Ws = new WeakMap(), zs = new WeakMap(), pi = new WeakMap();
|
|
30329
30335
|
function EJ(e) {
|
|
30330
|
-
const { apiUrl: t, defaultLocale: n, allowMissing: r = !1, createMissing: i = !1 } = e, a = [{ locale: n, name: n }], l = new Headers({ Accept: "application/json", "Content-Type": "application/json" }), A = new CJ({ apiUrl: t }), u = () => fetch(`${t}/i18n/languages`, { headers: l, method: "get" }).then((C) => C.json()).then((C) =>
|
|
30331
|
-
const { responseCode: h, locales: I } = C;
|
|
30332
|
-
return h !== "ok" ? a : I;
|
|
30333
|
-
}).catch(() => Promise.resolve(a)), g = () => fetch(`${t}/i18n/messages`, { headers: l, method: "get" }).then((C) => C.json()).then((C) => C.reduce(
|
|
30336
|
+
const { apiUrl: t, defaultLocale: n, allowMissing: r = !1, createMissing: i = !1 } = e, a = [{ locale: n, name: n }], l = new Headers({ Accept: "application/json", "Content-Type": "application/json" }), A = new CJ({ apiUrl: t }), u = () => fetch(`${t}/i18n/languages`, { headers: l, method: "get" }).then((C) => C.json()).catch(() => Promise.resolve(a)), g = () => fetch(`${t}/i18n/messages`, { headers: l, method: "get" }).then((C) => C.json()).then((C) => C.reduce(
|
|
30334
30337
|
(h, I) => ({
|
|
30335
30338
|
...h,
|
|
30336
30339
|
[I.lang]: {
|
|
@@ -30339,11 +30342,11 @@ function EJ(e) {
|
|
|
30339
30342
|
}
|
|
30340
30343
|
}),
|
|
30341
30344
|
{}
|
|
30342
|
-
)), f = (C, h, I) => (r || console.error(`Warning: Missing translation for key: "${C}"`), i && (
|
|
30345
|
+
)), f = (C, h, I) => (r || console.error(`Warning: Missing translation for key: "${C}"`), i && (he.isString(C) ? C.match(new RegExp(/[\s[\]]/, "gm")) ? console.error(`[createI18nProvider] onMissingKey: illegal character in key ${C}`) : A.handleMessage({ code: C, lang: I }) : console.error("[createI18nProvider] onMissingKey: provided key is not a string")), C);
|
|
30343
30346
|
return Promise.all([u(), g()]).then((C) => {
|
|
30344
30347
|
const [h, I] = C;
|
|
30345
30348
|
function m(B) {
|
|
30346
|
-
return
|
|
30349
|
+
return he.get(I, B, {});
|
|
30347
30350
|
}
|
|
30348
30351
|
return P3(m, n, h, {
|
|
30349
30352
|
allowMissing: r || i,
|
|
@@ -30361,7 +30364,7 @@ const $J = ({ apiUrl: e, endpoint: t = "/languages/load", mapper: n = ({ data: r
|
|
|
30361
30364
|
};
|
|
30362
30365
|
function IJ(e) {
|
|
30363
30366
|
const [t, n] = qe(), r = H5(e);
|
|
30364
|
-
return
|
|
30367
|
+
return Xe(() => {
|
|
30365
30368
|
EJ(r).then((i) => {
|
|
30366
30369
|
n(i);
|
|
30367
30370
|
}).catch(() => {
|
|
@@ -30402,18 +30405,18 @@ const mJ = new Q3({
|
|
|
30402
30405
|
apiUrl: n,
|
|
30403
30406
|
errorHandler: m,
|
|
30404
30407
|
catcherFn: (Y) => {
|
|
30405
|
-
const
|
|
30408
|
+
const G = Y == null ? void 0 : Y.toString(), Z = [
|
|
30406
30409
|
// @see https://github.com/marmelab/react-admin/pull/8884
|
|
30407
30410
|
"Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.",
|
|
30408
30411
|
"Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.",
|
|
30409
30412
|
"Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.",
|
|
30410
30413
|
"validateDOMNesting(...): <form> cannot appear as a descendant of <form>."
|
|
30411
|
-
].some((ne) =>
|
|
30414
|
+
].some((ne) => G == null ? void 0 : G.includes(ne));
|
|
30412
30415
|
return new hx({
|
|
30413
30416
|
catch: Z,
|
|
30414
30417
|
display: !Z,
|
|
30415
30418
|
log: !Z,
|
|
30416
|
-
error:
|
|
30419
|
+
error: G
|
|
30417
30420
|
});
|
|
30418
30421
|
}
|
|
30419
30422
|
});
|