@applica-software-guru/react-admin 1.3.129 → 1.3.130
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/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 +206 -205
- 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/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/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";
|
|
@@ -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 = K, 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 = G, st.isContextProvider = ce, st.isElement = ue, st.isForwardRef = se, st.isFragment = le, st.isLazy = de, st.isMemo = Ee, st.isPortal =
|
|
221
|
+
st.AsyncMode = w, st.ConcurrentMode = k, st.ContextConsumer = D, st.ContextProvider = Y, st.Element = K, 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 = G, 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;
|
|
@@ -395,31 +395,31 @@ function k3() {
|
|
|
395
395
|
function y(j) {
|
|
396
396
|
if (process.env.NODE_ENV !== "production")
|
|
397
397
|
var G = {}, ce = 0;
|
|
398
|
-
function ue(le, de, Ee,
|
|
399
|
-
if (
|
|
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 =
|
|
406
|
+
var Ue = pe + ":" + Ee;
|
|
407
407
|
!G[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 `" +
|
|
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
410
|
), G[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
419
|
function G(ce, ue, se, le, de, Ee) {
|
|
420
|
-
var
|
|
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 }
|
|
@@ -438,8 +438,8 @@ function k3() {
|
|
|
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);
|
|
@@ -475,8 +475,8 @@ function k3() {
|
|
|
475
475
|
function k(j) {
|
|
476
476
|
function G(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
|
}
|
|
@@ -488,8 +488,8 @@ function k3() {
|
|
|
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
490
|
function G(ce, ue, se, le, de) {
|
|
491
|
-
for (var Ee = ce[ue],
|
|
492
|
-
if (m(Ee, j[
|
|
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);
|
|
@@ -503,9 +503,9 @@ function k3() {
|
|
|
503
503
|
function G(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);
|
|
@@ -526,15 +526,15 @@ function k3() {
|
|
|
526
526
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + M(ce) + " at index " + G + "."
|
|
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
|
}
|
|
@@ -551,9 +551,9 @@ function k3() {
|
|
|
551
551
|
}
|
|
552
552
|
function ie(j) {
|
|
553
553
|
function G(ce, ue, se, le, de) {
|
|
554
|
-
var Ee = ce[ue],
|
|
555
|
-
if (
|
|
556
|
-
return new B("Invalid " + le + " `" + de + "` of type `" +
|
|
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")
|
|
@@ -568,9 +568,9 @@ function k3() {
|
|
|
568
568
|
}
|
|
569
569
|
function ne(j) {
|
|
570
570
|
function G(ce, ue, se, le, de) {
|
|
571
|
-
var Ee = ce[ue],
|
|
572
|
-
if (
|
|
573
|
-
return new B("Invalid " + le + " `" + de + "` of type `" +
|
|
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];
|
|
@@ -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 = K, 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 = G, ct.isContextConsumer = ce, ct.isContextProvider = ue, ct.isElement = se, ct.isForwardRef = le, ct.isFragment = de, ct.isLazy = Ee, ct.isMemo =
|
|
983
|
+
ct.ContextConsumer = k, ct.ContextProvider = D, ct.Element = Y, ct.ForwardRef = K, 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 = G, 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
|
|
@@ -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
|
|
@@ -3772,7 +3772,7 @@ Zc.exports;
|
|
|
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",
|
|
@@ -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:
|
|
@@ -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) {
|
|
@@ -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
|
}
|
|
@@ -9266,8 +9266,8 @@ 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 = () => {
|
|
@@ -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]);
|
|
@@ -13659,7 +13659,7 @@ const H9 = Jt("MuiButtonBase", ["root", "disabled", "focusVisible"]), W9 = H9, z
|
|
|
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
13664
|
onFocus: G,
|
|
13665
13665
|
onBlur: ce,
|
|
@@ -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]);
|
|
@@ -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,
|
|
@@ -14203,7 +14203,7 @@ 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
|
});
|
|
@@ -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,
|
|
@@ -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() {
|
|
@@ -16314,8 +16314,8 @@ var qy = { exports: {} };
|
|
|
16314
16314
|
case C:
|
|
16315
16315
|
return X ? G(1, se) : G(0, se + 1);
|
|
16316
16316
|
case f:
|
|
16317
|
-
var Ee = this.$locale().weekStart || 0,
|
|
16318
|
-
return G(X ? le -
|
|
16317
|
+
var Ee = this.$locale().weekStart || 0, pe = (ue < Ee ? ue + 7 : ue) - Ee;
|
|
16318
|
+
return G(X ? le - pe : le + (6 - pe), se);
|
|
16319
16319
|
case g:
|
|
16320
16320
|
case m:
|
|
16321
16321
|
return ce(de + "Hours", 0);
|
|
@@ -16367,7 +16367,7 @@ var qy = { exports: {} };
|
|
|
16367
16367
|
return M.invalidDate || B;
|
|
16368
16368
|
var X = L || "YYYY-MM-DDTHH:mm:ssZ", j = Z.z(this), G = 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
|
-
},
|
|
16370
|
+
}, pe = function(Ce) {
|
|
16371
16371
|
return Z.s(G % 12 || 12, Ce, "0");
|
|
16372
16372
|
}, ge = de || function(Ce, Qe, oe) {
|
|
16373
16373
|
var Ue = Ce < 12 ? "AM" : "PM";
|
|
@@ -16405,9 +16405,9 @@ var qy = { exports: {} };
|
|
|
16405
16405
|
case "HH":
|
|
16406
16406
|
return Z.s(G, 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
16412
|
return ge(G, ce, !0);
|
|
16413
16413
|
case "A":
|
|
@@ -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
|
});
|
|
@@ -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,
|
|
@@ -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,7 +18663,7 @@ function yH(e) {
|
|
|
18659
18663
|
iconColor: n.palette.mode === "dark" ? "background.default" : "grey.100"
|
|
18660
18664
|
}
|
|
18661
18665
|
});
|
|
18662
|
-
}, [n.palette.mode]),
|
|
18666
|
+
}, [n.palette.mode]), Xe(() => {
|
|
18663
18667
|
var K;
|
|
18664
18668
|
B(((K = t == null ? void 0 : t.data) == null ? void 0 : K.needToChangePassword) === !0);
|
|
18665
18669
|
}, [(Y = t == null ? void 0 : t.data) == null ? void 0 : Y.needToChangePassword]), /* @__PURE__ */ $(oQ.Provider, { value: Q, 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,7 +19244,7 @@ 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), K = (M) => (X) => {
|
|
19244
19248
|
M && (X === void 0 ? M(D.current) : M(D.current, X));
|
|
19245
19249
|
}, z = K((M, X) => {
|
|
19246
19250
|
yc(f, M, g), Up(M), I && I(M, X);
|
|
@@ -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, {
|
|
@@ -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);
|
|
@@ -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;
|
|
@@ -20298,7 +20302,7 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
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,
|
|
@@ -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,7 +20360,7 @@ const QW = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
20356
20360
|
container: B,
|
|
20357
20361
|
disablePortal: k,
|
|
20358
20362
|
children: /* @__PURE__ */ $(Ee, V({}, Qe, {
|
|
20359
|
-
children: [!K && f ? /* @__PURE__ */ p(
|
|
20363
|
+
children: [!K && f ? /* @__PURE__ */ p(pe, V({}, oe)) : null, /* @__PURE__ */ p(uA, {
|
|
20360
20364
|
disableEnforceFocus: T,
|
|
20361
20365
|
disableAutoFocus: Q,
|
|
20362
20366
|
disableRestoreFocus: D,
|
|
@@ -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,7 +20898,7 @@ 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);
|
|
@@ -21608,9 +21612,9 @@ function Vz(e) {
|
|
|
21608
21612
|
if (Y)
|
|
21609
21613
|
for (var j = m ? 3 : 1, G = 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
|
});
|
|
@@ -21740,7 +21744,7 @@ function Xz(e) {
|
|
|
21740
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, G = 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 : G - 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) {
|
|
@@ -21999,7 +22003,7 @@ 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, []);
|
|
@@ -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);
|
|
@@ -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,
|
|
@@ -22629,13 +22633,13 @@ const MQ = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
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,
|
|
@@ -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 : K.Popper) != null ? r : bU, vl = (a = (l = (A = Ce.transition) != null ? A : K.Transition) != null ? l : oe) != null ? a : t0, Ha = (u = (g = Ce.tooltip) != null ? g : K.Tooltip) != null ? u : QU, yl = (f = (C = Ce.arrow) != null ? C : K.Arrow) != null ? f : xU, gu = dc(Bl, V({},
|
|
22760
|
-
className: $e(Va.popper,
|
|
22763
|
+
}), Va = yU(Ko), Bl = (r = (i = Ce.popper) != null ? i : K.Popper) != null ? r : bU, vl = (a = (l = (A = Ce.transition) != null ? A : K.Transition) != null ? l : oe) != null ? a : t0, Ha = (u = (g = Ce.tooltip) != null ? g : K.Tooltip) != null ? u : QU, yl = (f = (C = Ce.arrow) != null ? C : K.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,7 +23298,7 @@ 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
|
}, []);
|
|
@@ -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, K = "Amazon", z = "Apple", Z = "ASUS", ie = "BlackBerry", ne = "Browser", q = "Chrome", U = "Edge", L = "Firefox", W = "Google", M = "Huawei", X = "LG", j = "Microsoft", G = "Motorola", ce = "Opera", ue = "Samsung", se = "Sharp", le = "Sony", de = "Xiaomi", Ee = "Zebra",
|
|
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, K = "Amazon", z = "Apple", Z = "ASUS", ie = "BlackBerry", ne = "Browser", q = "Chrome", U = "Edge", L = "Firefox", W = "Google", M = "Huawei", X = "LG", j = "Microsoft", G = "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, 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, pe], [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) {
|
|
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;
|
|
@@ -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";
|
|
@@ -25163,12 +25167,12 @@ const y0 = ae(qs)(({ theme: e }) => ({
|
|
|
25163
25167
|
G.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
25178
|
const K = (M = e.children) == null ? void 0 : M.map((X) => {
|
|
@@ -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);
|
|
@@ -25442,7 +25446,7 @@ const aK = ae(qs)(({ theme: e }) => ({
|
|
|
25442
25446
|
(G = j.children) != null && G.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) => {
|
|
@@ -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
|
}
|
|
@@ -30303,23 +30307,23 @@ class CJ {
|
|
|
30303
30307
|
ri(this, zs, void 0);
|
|
30304
30308
|
ri(this, pi, []);
|
|
30305
30309
|
const { apiUrl: n } = t ?? {};
|
|
30306
|
-
if (!
|
|
30310
|
+
if (!he.isString(n) || he.isEmpty(n))
|
|
30307
30311
|
throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");
|
|
30308
30312
|
Ui(this, zs, n), Ui(this, Ws, new Headers({ Accept: "application/json", "Content-Type": "application/json" }));
|
|
30309
30313
|
}
|
|
30310
30314
|
handleMessage(t) {
|
|
30311
|
-
if (!
|
|
30315
|
+
if (!he.isPlainObject(t))
|
|
30312
30316
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");
|
|
30313
30317
|
const { code: n, lang: r } = t;
|
|
30314
|
-
if (!
|
|
30318
|
+
if (!he.isString(n) || he.isEmpty(n))
|
|
30315
30319
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");
|
|
30316
|
-
if (!
|
|
30320
|
+
if (!he.isString(r) || he.isEmpty(r))
|
|
30317
30321
|
throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");
|
|
30318
|
-
if (!
|
|
30322
|
+
if (!he.some(pr(this, pi), (i) => he.isEqual(i, { code: n, lang: r }))) {
|
|
30319
30323
|
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
30324
|
console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`);
|
|
30321
30325
|
}).catch((i) => {
|
|
30322
|
-
console.error(i), Ui(this, pi,
|
|
30326
|
+
console.error(i), Ui(this, pi, he.reject(pr(this, pi), (a) => he.isEqual(a, { code: n, lang: r })));
|
|
30323
30327
|
});
|
|
30324
30328
|
return;
|
|
30325
30329
|
}
|
|
@@ -30327,10 +30331,7 @@ class CJ {
|
|
|
30327
30331
|
}
|
|
30328
30332
|
Ws = new WeakMap(), zs = new WeakMap(), pi = new WeakMap();
|
|
30329
30333
|
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(
|
|
30334
|
+
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
30335
|
(h, I) => ({
|
|
30335
30336
|
...h,
|
|
30336
30337
|
[I.lang]: {
|
|
@@ -30339,11 +30340,11 @@ function EJ(e) {
|
|
|
30339
30340
|
}
|
|
30340
30341
|
}),
|
|
30341
30342
|
{}
|
|
30342
|
-
)), f = (C, h, I) => (r || console.error(`Warning: Missing translation for key: "${C}"`), i && (
|
|
30343
|
+
)), 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
30344
|
return Promise.all([u(), g()]).then((C) => {
|
|
30344
30345
|
const [h, I] = C;
|
|
30345
30346
|
function m(B) {
|
|
30346
|
-
return
|
|
30347
|
+
return he.get(I, B, {});
|
|
30347
30348
|
}
|
|
30348
30349
|
return P3(m, n, h, {
|
|
30349
30350
|
allowMissing: r || i,
|
|
@@ -30361,7 +30362,7 @@ const $J = ({ apiUrl: e, endpoint: t = "/languages/load", mapper: n = ({ data: r
|
|
|
30361
30362
|
};
|
|
30362
30363
|
function IJ(e) {
|
|
30363
30364
|
const [t, n] = qe(), r = H5(e);
|
|
30364
|
-
return
|
|
30365
|
+
return Xe(() => {
|
|
30365
30366
|
EJ(r).then((i) => {
|
|
30366
30367
|
n(i);
|
|
30367
30368
|
}).catch(() => {
|