@applica-software-guru/react-admin 1.5.311 → 1.5.312

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.
@@ -5,12 +5,12 @@ var I1 = (e) => {
5
5
  var Pk = (e, t, n) => t in e ? Ok(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
6
  var el = (e, t, n) => Pk(e, typeof t != "symbol" ? t + "" : t, n), dh = (e, t, n) => t.has(e) || I1("Cannot " + n);
7
7
  var Dn = (e, t, n) => (dh(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Po = (e, t, n) => t.has(e) ? I1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), ei = (e, t, n, r) => (dh(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), tl = (e, t, n) => (dh(e, t, "access private method"), n);
8
- import bi, { jsx as h, jsxs as U, Fragment as rt } from "react/jsx-runtime";
8
+ import bi, { jsx as h, jsxs as U, Fragment as tt } from "react/jsx-runtime";
9
9
  import Rk from "@emotion/styled";
10
10
  import { CacheProvider as Mk, Global as kk, ThemeContext as km, css as _m, keyframes as xs, useTheme as Fm } from "@emotion/react";
11
11
  import * as F from "react";
12
- import xe, { createContext as nn, useLayoutEffect as _k, useEffect as Oe, useContext as yt, useRef as jn, useInsertionEffect as Fk, useCallback as de, useMemo as Be, forwardRef as Rr, createElement as sA, useId as Dk, useState as ke, Children as Vt, isValidElement as Tn, cloneElement as On, useReducer as Dm, Suspense as lA, Fragment as Lk, memo as Lm } from "react";
13
- import { Card as Qd, CardHeader as rg, Typography as ue, Divider as Gr, CardContent as Bm, Grid as Te, Box as Ee, Tooltip as Ul, tooltipClasses as Xa, Grow as Bk, Collapse as $m, Fade as cA, Slide as $k, Zoom as uA, CircularProgress as hi, circularProgressClasses as Nk, LinearProgress as Nm, Popover as Vm, styled as fa, IconButton as Il, MenuItem as Wm, useMediaQuery as Pn, Button as vt, Fab as jm, alpha as T1, TextField as dA, useTheme as Qt, Container as Jd, Stack as tt, InputLabel as zm, FormHelperText as fA, ListItemText as zn, Chip as sd, Menu as pA, Alert as Vk, AlertTitle as Wk, List as co, ListItem as Tl, ListItemButton as Nn, ListItemIcon as qr, Badge as hA, ListItemAvatar as gA, Dialog as xi, TableCell as Ji, TableContainer as jk, Paper as gi, Table as mA, TableHead as zk, TableRow as fh, TableBody as Uk, Stepper as Hk, Step as Gk, StepLabel as qk, Toolbar as pa, ButtonBase as Yk, Drawer as Um, AppBar as ef, ToggleButton as Kk, Avatar as og, Popper as tf, ClickAwayListener as sa, useScrollTrigger as Xk, buttonClasses as Zk, Pagination as Qk, TablePagination as O1, DialogContent as Hm, DialogTitle as Jk, DialogContentText as e8, DialogActions as t8, Accordion as n8, AccordionSummary as r8, AccordionDetails as o8, darken as i8, lighten as a8, Link as s8, StyledEngineProvider as l8, CssBaseline as c8 } from "@mui/material";
12
+ import be, { createContext as nn, useLayoutEffect as _k, useEffect as Oe, useContext as yt, useRef as jn, useInsertionEffect as Fk, useCallback as de, useMemo as Le, forwardRef as Rr, createElement as sA, useId as Dk, useState as ke, Children as Vt, isValidElement as Tn, cloneElement as On, useReducer as Dm, Suspense as lA, Fragment as Lk, memo as Lm } from "react";
13
+ import { Card as Qd, CardHeader as rg, Typography as ue, Divider as Gr, CardContent as Bm, Grid as Te, Box as Ee, Tooltip as Ul, tooltipClasses as Xa, Grow as Bk, Collapse as $m, Fade as cA, Slide as $k, Zoom as uA, CircularProgress as hi, circularProgressClasses as Nk, LinearProgress as Nm, Popover as Vm, styled as fa, IconButton as Il, MenuItem as Wm, useMediaQuery as Pn, Button as vt, Fab as jm, alpha as T1, TextField as dA, useTheme as Qt, Container as Jd, Stack as nt, InputLabel as zm, FormHelperText as fA, ListItemText as zn, Chip as sd, Menu as pA, Alert as Vk, AlertTitle as Wk, List as co, ListItem as Tl, ListItemButton as Nn, ListItemIcon as qr, Badge as hA, ListItemAvatar as gA, Dialog as xi, TableCell as Ji, TableContainer as jk, Paper as gi, Table as mA, TableHead as zk, TableRow as fh, TableBody as Uk, Stepper as Hk, Step as Gk, StepLabel as qk, Toolbar as pa, ButtonBase as Yk, Drawer as Um, AppBar as ef, ToggleButton as Kk, Avatar as og, Popper as tf, ClickAwayListener as sa, useScrollTrigger as Xk, buttonClasses as Zk, Pagination as Qk, TablePagination as O1, DialogContent as Hm, DialogTitle as Jk, DialogContentText as e8, DialogActions as t8, Accordion as n8, AccordionSummary as r8, AccordionDetails as o8, darken as i8, lighten as a8, Link as s8, StyledEngineProvider as l8, CssBaseline as c8 } from "@mui/material";
14
14
  import { HomeOutlined as ph, HomeFilled as hh, ApartmentOutlined as ig, AntDesignOutlined as u8, FlagFilled as d8, FlagOutlined as f8, PlusCircleOutlined as vA, CaretUpOutlined as p8, CaretDownOutlined as h8, MenuUnfoldOutlined as g8, MenuFoldOutlined as m8, MessageOutlined as v8, BellOutlined as y8, CheckCircleOutlined as b8, LogoutOutlined as x8, MoreOutlined as C8, UpOutlined as w8, DownOutlined as ld, RightOutlined as Gm, BorderOutlined as A8, MoonOutlined as yA, SunOutlined as bA, ReloadOutlined as S8, CheckSquareFilled as E8, MinusSquareFilled as I8 } from "@ant-design/icons";
15
15
  import { useLocation as Hl, Link as tn, useNavigate as qm, Outlet as T8, useParams as O8 } from "react-router-dom";
16
16
  import { MoreHoriz as P8, MoreVert as R8, History as M8, ExpandLess as k8, ExpandMore as _8, Key as F8, LogoutOutlined as xA, Brightness6 as CA, VpnKey as D8, Close as wA, Inbox as L8, FilterList as P1, Email as B8, Drafts as $8 } from "@mui/icons-material";
@@ -98,7 +98,7 @@ function __(e, t) {
98
98
  }
99
99
  function F_(e) {
100
100
  const { initial: t, animate: n } = __(e, yt(af));
101
- return Be(() => ({ initial: t, animate: n }), [k1(t), k1(n)]);
101
+ return Le(() => ({ initial: t, animate: n }), [k1(t), k1(n)]);
102
102
  }
103
103
  function k1(e) {
104
104
  return Array.isArray(e) ? e.join(" ") : e;
@@ -293,7 +293,7 @@ const Ql = (e) => ({
293
293
  test: (t) => Zl(t) && t.endsWith(e) && t.split(" ").length === 1,
294
294
  parse: parseFloat,
295
295
  transform: (t) => `${t}${e}`
296
- }), ii = Ql("deg"), io = Ql("%"), Le = Ql("px"), Y_ = Ql("vh"), K_ = Ql("vw"), F1 = {
296
+ }), ii = Ql("deg"), io = Ql("%"), Be = Ql("px"), Y_ = Ql("vh"), K_ = Ql("vw"), F1 = {
297
297
  ...io,
298
298
  parse: (e) => io.parse(e) / 100,
299
299
  transform: (e) => io.transform(e * 100)
@@ -302,38 +302,38 @@ const Ql = (e) => ({
302
302
  transform: Math.round
303
303
  }, KA = {
304
304
  // Border props
305
- borderWidth: Le,
306
- borderTopWidth: Le,
307
- borderRightWidth: Le,
308
- borderBottomWidth: Le,
309
- borderLeftWidth: Le,
310
- borderRadius: Le,
311
- radius: Le,
312
- borderTopLeftRadius: Le,
313
- borderTopRightRadius: Le,
314
- borderBottomRightRadius: Le,
315
- borderBottomLeftRadius: Le,
305
+ borderWidth: Be,
306
+ borderTopWidth: Be,
307
+ borderRightWidth: Be,
308
+ borderBottomWidth: Be,
309
+ borderLeftWidth: Be,
310
+ borderRadius: Be,
311
+ radius: Be,
312
+ borderTopLeftRadius: Be,
313
+ borderTopRightRadius: Be,
314
+ borderBottomRightRadius: Be,
315
+ borderBottomLeftRadius: Be,
316
316
  // Positioning props
317
- width: Le,
318
- maxWidth: Le,
319
- height: Le,
320
- maxHeight: Le,
321
- size: Le,
322
- top: Le,
323
- right: Le,
324
- bottom: Le,
325
- left: Le,
317
+ width: Be,
318
+ maxWidth: Be,
319
+ height: Be,
320
+ maxHeight: Be,
321
+ size: Be,
322
+ top: Be,
323
+ right: Be,
324
+ bottom: Be,
325
+ left: Be,
326
326
  // Spacing props
327
- padding: Le,
328
- paddingTop: Le,
329
- paddingRight: Le,
330
- paddingBottom: Le,
331
- paddingLeft: Le,
332
- margin: Le,
333
- marginTop: Le,
334
- marginRight: Le,
335
- marginBottom: Le,
336
- marginLeft: Le,
327
+ padding: Be,
328
+ paddingTop: Be,
329
+ paddingRight: Be,
330
+ paddingBottom: Be,
331
+ paddingLeft: Be,
332
+ margin: Be,
333
+ marginTop: Be,
334
+ marginRight: Be,
335
+ marginBottom: Be,
336
+ marginLeft: Be,
337
337
  // Transform props
338
338
  rotate: ii,
339
339
  rotateX: ii,
@@ -346,19 +346,19 @@ const Ql = (e) => ({
346
346
  skew: ii,
347
347
  skewX: ii,
348
348
  skewY: ii,
349
- distance: Le,
350
- translateX: Le,
351
- translateY: Le,
352
- translateZ: Le,
353
- x: Le,
354
- y: Le,
355
- z: Le,
356
- perspective: Le,
357
- transformPerspective: Le,
349
+ distance: Be,
350
+ translateX: Be,
351
+ translateY: Be,
352
+ translateZ: Be,
353
+ x: Be,
354
+ y: Be,
355
+ z: Be,
356
+ perspective: Be,
357
+ transformPerspective: Be,
358
358
  opacity: gl,
359
359
  originX: F1,
360
360
  originY: F1,
361
- originZ: Le,
361
+ originZ: Be,
362
362
  // Misc
363
363
  zIndex: D1,
364
364
  // SVG
@@ -398,7 +398,7 @@ function XA(e, t, n) {
398
398
  !Un(t[r]) && !HA(r, n) && (e[r] = t[r]);
399
399
  }
400
400
  function X_({ transformTemplate: e }, t, n) {
401
- return Be(() => {
401
+ return Le(() => {
402
402
  const r = g0();
403
403
  return h0(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style);
404
404
  }, [t]);
@@ -463,7 +463,7 @@ function tF(e, t, n) {
463
463
  return r;
464
464
  }
465
465
  function L1(e, t, n) {
466
- return typeof e == "string" ? e : Le.transform(t + n * e);
466
+ return typeof e == "string" ? e : Be.transform(t + n * e);
467
467
  }
468
468
  function nF(e, t, n) {
469
469
  const r = L1(t, e.x, e.width), o = L1(n, e.y, e.height);
@@ -479,8 +479,8 @@ const rF = {
479
479
  function iF(e, t, n = 1, r = 0, o = !0) {
480
480
  e.pathLength = 1;
481
481
  const a = o ? rF : oF;
482
- e[a.offset] = Le.transform(-r);
483
- const s = Le.transform(t), c = Le.transform(n);
482
+ e[a.offset] = Be.transform(-r);
483
+ const s = Be.transform(t), c = Be.transform(n);
484
484
  e[a.array] = `${s} ${c}`;
485
485
  }
486
486
  function m0(e, {
@@ -508,7 +508,7 @@ const QA = () => ({
508
508
  attrs: {}
509
509
  }), v0 = (e) => typeof e == "string" && e.toLowerCase() === "svg";
510
510
  function aF(e, t, n, r) {
511
- const o = Be(() => {
511
+ const o = Le(() => {
512
512
  const a = QA();
513
513
  return m0(a, t, { enableHardwareAcceleration: !1 }, v0(r), e.transformTemplate), {
514
514
  ...a.attrs,
@@ -527,7 +527,7 @@ function sF(e = !1) {
527
527
  ...tF(r, typeof n == "string", e),
528
528
  ...u,
529
529
  ref: o
530
- }, { children: g } = r, m = Be(() => Un(g) ? g.get() : g, [g]);
530
+ }, { children: g } = r, m = Le(() => Un(g) ? g.get() : g, [g]);
531
531
  return sA(n, {
532
532
  ...p,
533
533
  children: m
@@ -1509,8 +1509,8 @@ function gd({ autoplay: e = !0, delay: t = 0, driver: n = vD, keyframes: r, type
1509
1509
  O && (ge.value = O(ge.value));
1510
1510
  let { done: Ae } = ge;
1511
1511
  !fe && N !== null && (Ae = v >= 0 ? K >= ne : K <= 0);
1512
- const be = $ === null && (k === "finished" || k === "running" && Ae);
1513
- return g && g(ge.value), be && B(), ge;
1512
+ const xe = $ === null && (k === "finished" || k === "running" && Ae);
1513
+ return g && g(ge.value), xe && B(), ge;
1514
1514
  }, V = () => {
1515
1515
  P && P.stop(), P = void 0;
1516
1516
  }, J = () => {
@@ -2052,7 +2052,7 @@ function ds(e, t) {
2052
2052
  const $2 = (e) => (t) => t.test(e), WD = {
2053
2053
  test: (e) => e === "auto",
2054
2054
  parse: (e) => e
2055
- }, N2 = [ga, Le, io, ii, K_, Y_, WD], nl = (e) => N2.find($2(e)), jD = [...N2, En, vi], zD = (e) => jD.find($2(e));
2055
+ }, N2 = [ga, Be, io, ii, K_, Y_, WD], nl = (e) => N2.find($2(e)), jD = [...N2, En, vi], zD = (e) => jD.find($2(e));
2056
2056
  function UD(e, t, n) {
2057
2057
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, ds(n));
2058
2058
  }
@@ -2896,7 +2896,7 @@ const rl = {
2896
2896
  if (!t.target)
2897
2897
  return e;
2898
2898
  if (typeof e == "string")
2899
- if (Le.test(e))
2899
+ if (Be.test(e))
2900
2900
  e = parseFloat(e);
2901
2901
  else
2902
2902
  return e;
@@ -2914,7 +2914,7 @@ const rl = {
2914
2914
  return typeof o[2 + s] == "number" && (o[2 + s] /= d), typeof o[3 + s] == "number" && (o[3 + s] /= d), a(o);
2915
2915
  }
2916
2916
  };
2917
- class _7 extends xe.Component {
2917
+ class _7 extends be.Component {
2918
2918
  /**
2919
2919
  * This only mounts projection nodes for components that
2920
2920
  * need measuring, we might want to do it for all components
@@ -2956,7 +2956,7 @@ class _7 extends xe.Component {
2956
2956
  }
2957
2957
  function Y2(e) {
2958
2958
  const [t, n] = M7(), r = yt(zA);
2959
- return xe.createElement(_7, { ...e, layoutGroup: r, switchLayoutGroup: yt(UA), isPresent: t, safeToRemove: n });
2959
+ return be.createElement(_7, { ...e, layoutGroup: r, switchLayoutGroup: yt(UA), isPresent: t, safeToRemove: n });
2960
2960
  }
2961
2961
  const F7 = {
2962
2962
  borderRadius: {
@@ -2973,7 +2973,7 @@ const F7 = {
2973
2973
  borderBottomLeftRadius: rl,
2974
2974
  borderBottomRightRadius: rl,
2975
2975
  boxShadow: k7
2976
- }, K2 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], D7 = K2.length, hx = (e) => typeof e == "string" ? parseFloat(e) : e, gx = (e) => typeof e == "number" || Le.test(e);
2976
+ }, K2 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], D7 = K2.length, hx = (e) => typeof e == "string" ? parseFloat(e) : e, gx = (e) => typeof e == "number" || Be.test(e);
2977
2977
  function L7(e, t, n, r, o, a) {
2978
2978
  o ? (e.opacity = Lt(
2979
2979
  0,
@@ -3767,7 +3767,7 @@ const bL = /* @__PURE__ */ new Set([
3767
3767
  "y",
3768
3768
  "translateX",
3769
3769
  "translateY"
3770
- ]), nS = (e) => bL.has(e), xL = (e) => Object.keys(e).some(nS), Iu = (e) => e === ga || e === Le, _x = (e, t) => parseFloat(e.split(", ")[t]), Fx = (e, t) => (n, { transform: r }) => {
3770
+ ]), nS = (e) => bL.has(e), xL = (e) => Object.keys(e).some(nS), Iu = (e) => e === ga || e === Be, _x = (e, t) => parseFloat(e.split(", ")[t]), Fx = (e, t) => (n, { transform: r }) => {
3771
3771
  if (r === "none" || !r)
3772
3772
  return 0;
3773
3773
  const o = r.match(/^matrix3d\((.+)\)$/);
@@ -3831,7 +3831,7 @@ const SL = (e, t, n) => {
3831
3831
  if (g !== v)
3832
3832
  if (Iu(g) && Iu(v)) {
3833
3833
  const y = d.get();
3834
- typeof y == "string" && d.set(parseFloat(y)), typeof m == "string" ? t[u] = parseFloat(m) : Array.isArray(m) && v === Le && (t[u] = m.map(parseFloat));
3834
+ typeof y == "string" && d.set(parseFloat(y)), typeof m == "string" ? t[u] = parseFloat(m) : Array.isArray(m) && v === Be && (t[u] = m.map(parseFloat));
3835
3835
  } else g != null && g.transform && (v != null && v.transform) && (p === 0 || m === 0) ? p === 0 ? d.set(v.transform(p)) : t[u] = g.transform(m) : (s || (a = AL(e), s = !0), c.push(u), r[u] = r[u] !== void 0 ? r[u] : t[u], d.jump(m));
3836
3836
  }), c.length) {
3837
3837
  const u = c.indexOf("height") >= 0 ? window.pageYOffset : null, d = SL(t, e, c);
@@ -4452,14 +4452,14 @@ function WL() {
4452
4452
  case g:
4453
4453
  return he;
4454
4454
  default:
4455
- var nt = he && he.$$typeof;
4456
- switch (nt) {
4455
+ var rt = he && he.$$typeof;
4456
+ switch (rt) {
4457
4457
  case c:
4458
4458
  case p:
4459
4459
  case y:
4460
4460
  case v:
4461
4461
  case s:
4462
- return nt;
4462
+ return rt;
4463
4463
  default:
4464
4464
  return ot;
4465
4465
  }
@@ -4497,7 +4497,7 @@ function WL() {
4497
4497
  function Ae(le) {
4498
4498
  return O(le) === v;
4499
4499
  }
4500
- function be(le) {
4500
+ function xe(le) {
4501
4501
  return O(le) === n;
4502
4502
  }
4503
4503
  function ve(le) {
@@ -4509,7 +4509,7 @@ function WL() {
4509
4509
  function Pe(le) {
4510
4510
  return O(le) === g;
4511
4511
  }
4512
- pt.AsyncMode = I, pt.ConcurrentMode = M, pt.ContextConsumer = k, pt.ContextProvider = $, pt.Element = z, pt.ForwardRef = q, pt.Fragment = N, pt.Lazy = oe, pt.Memo = ne, pt.Portal = K, pt.Profiler = Y, pt.StrictMode = V, pt.Suspense = J, pt.isAsyncMode = Q, pt.isConcurrentMode = L, pt.isContextConsumer = H, pt.isContextProvider = ae, pt.isElement = fe, pt.isForwardRef = ce, pt.isFragment = pe, pt.isLazy = ge, pt.isMemo = Ae, pt.isPortal = be, pt.isProfiler = ve, pt.isStrictMode = Ce, pt.isSuspense = Pe, pt.isValidElementType = E, pt.typeOf = O;
4512
+ pt.AsyncMode = I, pt.ConcurrentMode = M, pt.ContextConsumer = k, pt.ContextProvider = $, pt.Element = z, pt.ForwardRef = q, pt.Fragment = N, pt.Lazy = oe, pt.Memo = ne, pt.Portal = K, pt.Profiler = Y, pt.StrictMode = V, pt.Suspense = J, pt.isAsyncMode = Q, pt.isConcurrentMode = L, pt.isContextConsumer = H, pt.isContextProvider = ae, pt.isElement = fe, pt.isForwardRef = ce, pt.isFragment = pe, pt.isLazy = ge, pt.isMemo = Ae, pt.isPortal = xe, pt.isProfiler = ve, pt.isStrictMode = Ce, pt.isSuspense = Pe, pt.isValidElementType = E, pt.typeOf = O;
4513
4513
  }()), pt;
4514
4514
  }
4515
4515
  var Vx;
@@ -4682,31 +4682,31 @@ function UL() {
4682
4682
  function w(L) {
4683
4683
  if (process.env.NODE_ENV !== "production")
4684
4684
  var H = {}, ae = 0;
4685
- function fe(pe, ge, Ae, be, ve, Ce, Pe) {
4686
- if (be = be || m, Ce = Ce || Ae, Pe !== n) {
4685
+ function fe(pe, ge, Ae, xe, ve, Ce, Pe) {
4686
+ if (xe = xe || m, Ce = Ce || Ae, Pe !== n) {
4687
4687
  if (u) {
4688
4688
  var le = new Error(
4689
4689
  "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"
4690
4690
  );
4691
4691
  throw le.name = "Invariant Violation", le;
4692
4692
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
4693
- var ot = be + ":" + Ae;
4693
+ var ot = xe + ":" + Ae;
4694
4694
  !H[ot] && // Avoid spamming the console because they are often not actionable except for lib authors
4695
4695
  ae < 3 && (a(
4696
- "You are manually calling a React.PropTypes validation function for the `" + Ce + "` prop on `" + be + "`. 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."
4696
+ "You are manually calling a React.PropTypes validation function for the `" + Ce + "` prop on `" + xe + "`. 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."
4697
4697
  ), H[ot] = !0, ae++);
4698
4698
  }
4699
4699
  }
4700
- return ge[Ae] == null ? pe ? ge[Ae] === null ? new b("The " + ve + " `" + Ce + "` is marked as required " + ("in `" + be + "`, but its value is `null`.")) : new b("The " + ve + " `" + Ce + "` is marked as required in " + ("`" + be + "`, but its value is `undefined`.")) : null : L(ge, Ae, be, ve, Ce);
4700
+ return ge[Ae] == null ? pe ? ge[Ae] === null ? new b("The " + ve + " `" + Ce + "` is marked as required " + ("in `" + xe + "`, but its value is `null`.")) : new b("The " + ve + " `" + Ce + "` is marked as required in " + ("`" + xe + "`, but its value is `undefined`.")) : null : L(ge, Ae, xe, ve, Ce);
4701
4701
  }
4702
4702
  var ce = fe.bind(null, !1);
4703
4703
  return ce.isRequired = fe.bind(null, !0), ce;
4704
4704
  }
4705
4705
  function S(L) {
4706
4706
  function H(ae, fe, ce, pe, ge, Ae) {
4707
- var be = ae[fe], ve = V(be);
4707
+ var xe = ae[fe], ve = V(xe);
4708
4708
  if (ve !== L) {
4709
- var Ce = J(be);
4709
+ var Ce = J(xe);
4710
4710
  return new b(
4711
4711
  "Invalid " + pe + " `" + ge + "` of type " + ("`" + Ce + "` supplied to `" + ce + "`, expected ") + ("`" + L + "`."),
4712
4712
  { expectedType: L }
@@ -4725,8 +4725,8 @@ function UL() {
4725
4725
  return new b("Property `" + ge + "` of component `" + ce + "` has invalid PropType notation inside arrayOf.");
4726
4726
  var Ae = ae[fe];
4727
4727
  if (!Array.isArray(Ae)) {
4728
- var be = V(Ae);
4729
- return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + be + "` supplied to `" + ce + "`, expected an array."));
4728
+ var xe = V(Ae);
4729
+ return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + xe + "` supplied to `" + ce + "`, expected an array."));
4730
4730
  }
4731
4731
  for (var ve = 0; ve < Ae.length; ve++) {
4732
4732
  var Ce = L(Ae, ve, ce, pe, ge + "[" + ve + "]", n);
@@ -4762,8 +4762,8 @@ function UL() {
4762
4762
  function M(L) {
4763
4763
  function H(ae, fe, ce, pe, ge) {
4764
4764
  if (!(ae[fe] instanceof L)) {
4765
- var Ae = L.name || m, be = Q(ae[fe]);
4766
- return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + be + "` supplied to `" + ce + "`, expected ") + ("instance of `" + Ae + "`."));
4765
+ var Ae = L.name || m, xe = Q(ae[fe]);
4766
+ return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + xe + "` supplied to `" + ce + "`, expected ") + ("instance of `" + Ae + "`."));
4767
4767
  }
4768
4768
  return null;
4769
4769
  }
@@ -4775,8 +4775,8 @@ function UL() {
4775
4775
  "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])."
4776
4776
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
4777
4777
  function H(ae, fe, ce, pe, ge) {
4778
- for (var Ae = ae[fe], be = 0; be < L.length; be++)
4779
- if (y(Ae, L[be]))
4778
+ for (var Ae = ae[fe], xe = 0; xe < L.length; xe++)
4779
+ if (y(Ae, L[xe]))
4780
4780
  return null;
4781
4781
  var ve = JSON.stringify(L, function(Pe, le) {
4782
4782
  var ot = J(le);
@@ -4790,9 +4790,9 @@ function UL() {
4790
4790
  function H(ae, fe, ce, pe, ge) {
4791
4791
  if (typeof L != "function")
4792
4792
  return new b("Property `" + ge + "` of component `" + ce + "` has invalid PropType notation inside objectOf.");
4793
- var Ae = ae[fe], be = V(Ae);
4794
- if (be !== "object")
4795
- return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + be + "` supplied to `" + ce + "`, expected an object."));
4793
+ var Ae = ae[fe], xe = V(Ae);
4794
+ if (xe !== "object")
4795
+ return new b("Invalid " + pe + " `" + ge + "` of type " + ("`" + xe + "` supplied to `" + ce + "`, expected an object."));
4796
4796
  for (var ve in Ae)
4797
4797
  if (r(Ae, ve)) {
4798
4798
  var Ce = L(Ae, ve, ce, pe, ge + "." + ve, n);
@@ -4813,15 +4813,15 @@ function UL() {
4813
4813
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(ae) + " at index " + H + "."
4814
4814
  ), s;
4815
4815
  }
4816
- function fe(ce, pe, ge, Ae, be) {
4816
+ function fe(ce, pe, ge, Ae, xe) {
4817
4817
  for (var ve = [], Ce = 0; Ce < L.length; Ce++) {
4818
- var Pe = L[Ce], le = Pe(ce, pe, ge, Ae, be, n);
4818
+ var Pe = L[Ce], le = Pe(ce, pe, ge, Ae, xe, n);
4819
4819
  if (le == null)
4820
4820
  return null;
4821
4821
  le.data && r(le.data, "expectedType") && ve.push(le.data.expectedType);
4822
4822
  }
4823
4823
  var ot = ve.length > 0 ? ", expected one of type [" + ve.join(", ") + "]" : "";
4824
- return new b("Invalid " + Ae + " `" + be + "` supplied to " + ("`" + ge + "`" + ot + "."));
4824
+ return new b("Invalid " + Ae + " `" + xe + "` supplied to " + ("`" + ge + "`" + ot + "."));
4825
4825
  }
4826
4826
  return w(fe);
4827
4827
  }
@@ -4838,9 +4838,9 @@ function UL() {
4838
4838
  }
4839
4839
  function oe(L) {
4840
4840
  function H(ae, fe, ce, pe, ge) {
4841
- var Ae = ae[fe], be = V(Ae);
4842
- if (be !== "object")
4843
- return new b("Invalid " + pe + " `" + ge + "` of type `" + be + "` " + ("supplied to `" + ce + "`, expected `object`."));
4841
+ var Ae = ae[fe], xe = V(Ae);
4842
+ if (xe !== "object")
4843
+ return new b("Invalid " + pe + " `" + ge + "` of type `" + xe + "` " + ("supplied to `" + ce + "`, expected `object`."));
4844
4844
  for (var ve in L) {
4845
4845
  var Ce = L[ve];
4846
4846
  if (typeof Ce != "function")
@@ -4855,9 +4855,9 @@ function UL() {
4855
4855
  }
4856
4856
  function ne(L) {
4857
4857
  function H(ae, fe, ce, pe, ge) {
4858
- var Ae = ae[fe], be = V(Ae);
4859
- if (be !== "object")
4860
- return new b("Invalid " + pe + " `" + ge + "` of type `" + be + "` " + ("supplied to `" + ce + "`, expected `object`."));
4858
+ var Ae = ae[fe], xe = V(Ae);
4859
+ if (xe !== "object")
4860
+ return new b("Invalid " + pe + " `" + ge + "` of type `" + xe + "` " + ("supplied to `" + ce + "`, expected `object`."));
4861
4861
  var ve = t({}, ae[fe], L);
4862
4862
  for (var Ce in ve) {
4863
4863
  var Pe = L[Ce];
@@ -7480,8 +7480,8 @@ function CN() {
7480
7480
  }
7481
7481
  function I(he) {
7482
7482
  if (typeof he == "object" && he !== null) {
7483
- var nt = he.$$typeof;
7484
- switch (nt) {
7483
+ var rt = he.$$typeof;
7484
+ switch (rt) {
7485
7485
  case e:
7486
7486
  var dn = he.type;
7487
7487
  switch (dn) {
@@ -7502,11 +7502,11 @@ function CN() {
7502
7502
  case a:
7503
7503
  return kt;
7504
7504
  default:
7505
- return nt;
7505
+ return rt;
7506
7506
  }
7507
7507
  }
7508
7508
  case t:
7509
- return nt;
7509
+ return rt;
7510
7510
  }
7511
7511
  }
7512
7512
  }
@@ -7535,7 +7535,7 @@ function CN() {
7535
7535
  function Ae(he) {
7536
7536
  return I(he) === m;
7537
7537
  }
7538
- function be(he) {
7538
+ function xe(he) {
7539
7539
  return I(he) === g;
7540
7540
  }
7541
7541
  function ve(he) {
@@ -7553,7 +7553,7 @@ function CN() {
7553
7553
  function ot(he) {
7554
7554
  return I(he) === p;
7555
7555
  }
7556
- gt.ContextConsumer = M, gt.ContextProvider = k, gt.Element = $, gt.ForwardRef = z, gt.Fragment = q, gt.Lazy = N, gt.Memo = oe, gt.Portal = ne, gt.Profiler = K, gt.StrictMode = Y, gt.Suspense = V, gt.SuspenseList = J, gt.isAsyncMode = L, gt.isConcurrentMode = H, gt.isContextConsumer = ae, gt.isContextProvider = fe, gt.isElement = ce, gt.isForwardRef = pe, gt.isFragment = ge, gt.isLazy = Ae, gt.isMemo = be, gt.isPortal = ve, gt.isProfiler = Ce, gt.isStrictMode = Pe, gt.isSuspense = le, gt.isSuspenseList = ot, gt.isValidElementType = O, gt.typeOf = I;
7556
+ gt.ContextConsumer = M, gt.ContextProvider = k, gt.Element = $, gt.ForwardRef = z, gt.Fragment = q, gt.Lazy = N, gt.Memo = oe, gt.Portal = ne, gt.Profiler = K, gt.StrictMode = Y, gt.Suspense = V, gt.SuspenseList = J, gt.isAsyncMode = L, gt.isConcurrentMode = H, gt.isContextConsumer = ae, gt.isContextProvider = fe, gt.isElement = ce, gt.isForwardRef = pe, gt.isFragment = ge, gt.isLazy = Ae, gt.isMemo = xe, gt.isPortal = ve, gt.isProfiler = Ce, gt.isStrictMode = Pe, gt.isSuspense = le, gt.isSuspenseList = ot, gt.isValidElementType = O, gt.typeOf = I;
7557
7557
  }()), gt;
7558
7558
  }
7559
7559
  process.env.NODE_ENV === "production" ? Ag.exports = xN() : Ag.exports = CN();
@@ -9323,7 +9323,7 @@ process.env.NODE_ENV !== "production" && x.oneOfType([x.string, x.shape({
9323
9323
  exitDone: x.string,
9324
9324
  exitActive: x.string
9325
9325
  })]);
9326
- const Sd = xe.createContext(null);
9326
+ const Sd = be.createContext(null);
9327
9327
  var dW = function(t) {
9328
9328
  return t.scrollTop;
9329
9329
  }, fl = "unmounted", Yi = "exited", Ki = "entering", qa = "entered", Mg = "exiting", Uo = /* @__PURE__ */ function(e) {
@@ -9448,12 +9448,12 @@ var dW = function(t) {
9448
9448
  var c = Qe(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
9449
9449
  return (
9450
9450
  // allows for nested Transitions
9451
- /* @__PURE__ */ xe.createElement(Sd.Provider, {
9451
+ /* @__PURE__ */ be.createElement(Sd.Provider, {
9452
9452
  value: null
9453
- }, typeof s == "function" ? s(o, c) : xe.cloneElement(xe.Children.only(s), c))
9453
+ }, typeof s == "function" ? s(o, c) : be.cloneElement(be.Children.only(s), c))
9454
9454
  );
9455
9455
  }, t;
9456
- }(xe.Component);
9456
+ }(be.Component);
9457
9457
  Uo.contextType = Sd;
9458
9458
  Uo.propTypes = process.env.NODE_ENV !== "production" ? {
9459
9459
  /**
@@ -9764,13 +9764,13 @@ var mW = Object.values || function(e) {
9764
9764
  }));
9765
9765
  }, n.render = function() {
9766
9766
  var o = this.props, a = o.component, s = o.childFactory, c = Qe(o, ["component", "childFactory"]), u = this.state.contextValue, d = mW(this.state.children).map(s);
9767
- return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ xe.createElement(Sd.Provider, {
9767
+ return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ be.createElement(Sd.Provider, {
9768
9768
  value: u
9769
- }, d) : /* @__PURE__ */ xe.createElement(Sd.Provider, {
9769
+ }, d) : /* @__PURE__ */ be.createElement(Sd.Provider, {
9770
9770
  value: u
9771
- }, /* @__PURE__ */ xe.createElement(a, c, d));
9771
+ }, /* @__PURE__ */ be.createElement(a, c, d));
9772
9772
  }, t;
9773
- }(xe.Component);
9773
+ }(be.Component);
9774
9774
  Z0.propTypes = process.env.NODE_ENV !== "production" ? {
9775
9775
  /**
9776
9776
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
@@ -10225,7 +10225,7 @@ const IW = Lr("MuiButtonBase", ["root", "disabled", "focusVisible"]), TW = ["act
10225
10225
  F.useEffect(() => {
10226
10226
  Ae(!0);
10227
10227
  }, []);
10228
- const be = ge && !p && !d;
10228
+ const xe = ge && !p && !d;
10229
10229
  F.useEffect(() => {
10230
10230
  ce && m && !p && ge && B.current.pulsate();
10231
10231
  }, [p, m, ce, ge]);
@@ -10234,7 +10234,7 @@ const IW = Lr("MuiButtonBase", ["root", "disabled", "focusVisible"]), TW = ["act
10234
10234
  }
10235
10235
  const Ce = ve("start", M), Pe = ve("stop", w), le = ve("stop", S), ot = ve("stop", $), he = ve("stop", (ye) => {
10236
10236
  ce && ye.preventDefault(), k && k(ye);
10237
- }), nt = ve("start", N), dn = ve("stop", z), kt = ve("stop", q), At = ve("stop", (ye) => {
10237
+ }), rt = ve("start", N), dn = ve("stop", z), kt = ve("stop", q), At = ve("stop", (ye) => {
10238
10238
  ae(ye), L.current === !1 && pe(!1), y && y(ye);
10239
10239
  }, !1), Kn = ta((ye) => {
10240
10240
  J.current || (J.current = ye.currentTarget), H(ye), L.current === !0 && (pe(!0), E && E(ye)), P && P(ye);
@@ -10256,9 +10256,9 @@ const IW = Lr("MuiButtonBase", ["root", "disabled", "focusVisible"]), TW = ["act
10256
10256
  Yt === "button" ? (Ft.type = Y === void 0 ? "button" : Y, Ft.disabled = d) : (!V.href && !V.to && (Ft.role = "button"), d && (Ft["aria-disabled"] = d));
10257
10257
  const $e = Gn(n, fe, J);
10258
10258
  process.env.NODE_ENV !== "production" && F.useEffect(() => {
10259
- be && !B.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(`
10259
+ xe && !B.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
10260
10260
  `));
10261
- }, [be]);
10261
+ }, [xe]);
10262
10262
  const Ne = G({}, r, {
10263
10263
  centerRipple: a,
10264
10264
  component: u,
@@ -10285,12 +10285,12 @@ const IW = Lr("MuiButtonBase", ["root", "disabled", "focusVisible"]), TW = ["act
10285
10285
  onDragLeave: le,
10286
10286
  onTouchEnd: dn,
10287
10287
  onTouchMove: kt,
10288
- onTouchStart: nt,
10288
+ onTouchStart: rt,
10289
10289
  ref: $e,
10290
10290
  tabIndex: d ? -1 : oe,
10291
10291
  type: Y
10292
10292
  }, Ft, V, {
10293
- children: [s, be ? (
10293
+ children: [s, xe ? (
10294
10294
  /* TouchRipple is only needed client-side, x2 boost on the server. */
10295
10295
  /* @__PURE__ */ h(lE, G({
10296
10296
  ref: Q,
@@ -11915,9 +11915,9 @@ function Hj(e) {
11915
11915
  if ($)
11916
11916
  for (var L = y ? 3 : 1, H = function(pe) {
11917
11917
  var ge = O.find(function(Ae) {
11918
- var be = k.get(Ae);
11919
- if (be)
11920
- return be.slice(0, pe).every(function(ve) {
11918
+ var xe = k.get(Ae);
11919
+ if (xe)
11920
+ return xe.slice(0, pe).every(function(ve) {
11921
11921
  return ve;
11922
11922
  });
11923
11923
  });
@@ -12046,7 +12046,7 @@ function tz(e) {
12046
12046
  var ne, K = O === "y" ? Vn : Wn, Y = O === "y" ? Tr : Or, V = O === "y" ? "height" : "width", J = M[O], B = J + w[K], Q = J - w[Y], L = v ? -$[V] / 2 : 0, H = P === ms ? k[V] : $[V], ae = P === ms ? -$[V] : -k[V], fe = t.elements.arrow, ce = v && fe ? nv(fe) : {
12047
12047
  width: 0,
12048
12048
  height: 0
12049
- }, pe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gE(), ge = pe[K], Ae = pe[Y], be = xl(0, k[V], ce[V]), ve = E ? k[V] / 2 - L - be - ge - q.mainAxis : H - be - ge - q.mainAxis, Ce = E ? -k[V] / 2 + L + be + Ae + q.mainAxis : ae + be + Ae + q.mainAxis, Pe = t.elements.arrow && dc(t.elements.arrow), le = Pe ? O === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, ot = (ne = N == null ? void 0 : N[O]) != null ? ne : 0, he = J + ve - ot - le, nt = J + Ce - ot, dn = xl(v ? Ed(B, he) : B, J, v ? ia(Q, nt) : Q);
12049
+ }, pe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gE(), ge = pe[K], Ae = pe[Y], xe = xl(0, k[V], ce[V]), ve = E ? k[V] / 2 - L - xe - ge - q.mainAxis : H - xe - ge - q.mainAxis, Ce = E ? -k[V] / 2 + L + xe + Ae + q.mainAxis : ae + xe + Ae + q.mainAxis, Pe = t.elements.arrow && dc(t.elements.arrow), le = Pe ? O === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, ot = (ne = N == null ? void 0 : N[O]) != null ? ne : 0, he = J + ve - ot - le, rt = J + Ce - ot, dn = xl(v ? Ed(B, he) : B, J, v ? ia(Q, rt) : Q);
12050
12050
  M[O] = dn, oe[O] = dn - J;
12051
12051
  }
12052
12052
  if (c) {
@@ -13957,7 +13957,7 @@ const Kz = { width: "100%", justifyContent: "flex-start" }, Xz = fa("div", {
13957
13957
  }
13958
13958
  }));
13959
13959
  function da({ horizontal: e = !1, children: t }) {
13960
- const [n, r] = ke(null), o = xe.useRef(null);
13960
+ const [n, r] = ke(null), o = be.useRef(null);
13961
13961
  function a(u) {
13962
13962
  u.stopPropagation(), u.preventDefault(), r(u.currentTarget), o.current = u.currentTarget;
13963
13963
  }
@@ -13967,12 +13967,12 @@ function da({ horizontal: e = !1, children: t }) {
13967
13967
  var d;
13968
13968
  r(null), typeof ((d = u.currentTarget) == null ? void 0 : d.onClick) == "function" && u.currentTarget.onClick(u);
13969
13969
  }, []);
13970
- return !t || xe.Children.count(t) === 0 || // @ts-ignore
13971
- t != null && t.filter && (t == null ? void 0 : t.filter((u) => xe.isValidElement(u)).length) === 0 ? null : /* @__PURE__ */ U(Xz, { children: [
13970
+ return !t || be.Children.count(t) === 0 || // @ts-ignore
13971
+ t != null && t.filter && (t == null ? void 0 : t.filter((u) => be.isValidElement(u)).length) === 0 ? null : /* @__PURE__ */ U(Xz, { children: [
13972
13972
  /* @__PURE__ */ h(Il, { "aria-label": "more", "aria-haspopup": "true", onClick: a, color: n ? "inherit" : "default", children: e ? /* @__PURE__ */ h(P8, {}) : /* @__PURE__ */ h(R8, {}) }),
13973
13973
  /* @__PURE__ */ h(Zz, { open: n, onClose: s, arrow: "right-top", children: Vt.map(
13974
13974
  t,
13975
- (u, d) => xe.isValidElement(u) && /* @__PURE__ */ h(Wm, { onClick: c, children: xe.cloneElement(u, {
13975
+ (u, d) => be.isValidElement(u) && /* @__PURE__ */ h(Wm, { onClick: c, children: be.cloneElement(u, {
13976
13976
  // @ts-ignore
13977
13977
  style: { ...Kz }
13978
13978
  }) }, d)
@@ -16988,7 +16988,7 @@ var Rv = {};
16988
16988
  Object.defineProperty(Rv, "__esModule", {
16989
16989
  value: !0
16990
16990
  });
16991
- var yI = Rv.default = void 0, qJ = KJ(xe), YJ = $S;
16991
+ var yI = Rv.default = void 0, qJ = KJ(be), YJ = $S;
16992
16992
  function bI(e) {
16993
16993
  if (typeof WeakMap != "function") return null;
16994
16994
  var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
@@ -17399,13 +17399,13 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
17399
17399
  open: pe,
17400
17400
  placement: ge = "bottom",
17401
17401
  PopperComponent: Ae,
17402
- PopperProps: be = {},
17402
+ PopperProps: xe = {},
17403
17403
  slotProps: ve = {},
17404
17404
  slots: Ce = {},
17405
17405
  title: Pe,
17406
17406
  TransitionComponent: le = Bd,
17407
17407
  TransitionProps: ot
17408
- } = M, he = Qe(M, tee), nt = /* @__PURE__ */ F.isValidElement($) ? $ : /* @__PURE__ */ h("span", {
17408
+ } = M, he = Qe(M, tee), rt = /* @__PURE__ */ F.isValidElement($) ? $ : /* @__PURE__ */ h("span", {
17409
17409
  children: $
17410
17410
  }), dn = jt(), kt = ZV(), [At, Kn] = F.useState(), [_t, St] = F.useState(null), rn = F.useRef(!1), Et = K || Q, Yt = ns(), Ft = ns(), $e = ns(), Ne = ns(), [Re, ye] = qS({
17411
17411
  controlled: pe,
@@ -17459,14 +17459,14 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
17459
17459
  At || Kn(He.currentTarget), qf(He), wc.current === !0 && (Ds(!0), Nr(He));
17460
17460
  }, Ic = (He) => {
17461
17461
  rn.current = !0;
17462
- const Cn = nt.props;
17462
+ const Cn = rt.props;
17463
17463
  Cn.onTouchStart && Cn.onTouchStart(He);
17464
17464
  }, Yf = (He) => {
17465
17465
  Ic(He), $e.clear(), Yt.clear(), Me(), je.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ne.start(B, () => {
17466
17466
  document.body.style.WebkitUserSelect = je.current, Nr(He);
17467
17467
  });
17468
17468
  }, Tc = (He) => {
17469
- nt.props.onTouchEnd && nt.props.onTouchEnd(He), Me(), $e.start(ae, () => {
17469
+ rt.props.onTouchEnd && rt.props.onTouchEnd(He), Me(), $e.start(ae, () => {
17470
17470
  dr(He);
17471
17471
  });
17472
17472
  };
@@ -17480,18 +17480,18 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
17480
17480
  document.removeEventListener("keydown", He);
17481
17481
  };
17482
17482
  }, [dr, xt]);
17483
- const Kf = Gn(nt.ref, Ac, Kn, n);
17483
+ const Kf = Gn(rt.ref, Ac, Kn, n);
17484
17484
  !Pe && Pe !== 0 && (xt = !1);
17485
17485
  const Ls = F.useRef(), Xf = (He) => {
17486
- const Cn = nt.props;
17486
+ const Cn = rt.props;
17487
17487
  Cn.onMouseMove && Cn.onMouseMove(He), ll = {
17488
17488
  x: He.clientX,
17489
17489
  y: He.clientY
17490
17490
  }, Ls.current && Ls.current.update();
17491
17491
  }, bo = {}, Bs = typeof Pe == "string";
17492
17492
  N ? (bo.title = !xt && Bs && !ne ? Pe : null, bo["aria-describedby"] = xt ? Kt : null) : (bo["aria-label"] = Bs ? Pe : null, bo["aria-labelledby"] = xt && !Bs ? Kt : null);
17493
- const fn = G({}, bo, he, nt.props, {
17494
- className: ut(he.className, nt.props.className),
17493
+ const fn = G({}, bo, he, rt.props, {
17494
+ className: ut(he.className, rt.props.className),
17495
17495
  onTouchStart: Ic,
17496
17496
  ref: Kf
17497
17497
  }, Q ? {
@@ -17502,7 +17502,7 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
17502
17502
  `));
17503
17503
  }, [At]));
17504
17504
  const Mi = {};
17505
- Y || (fn.onTouchStart = Yf, fn.onTouchEnd = Tc), ne || (fn.onMouseOver = Bu(Nr, fn.onMouseOver), fn.onMouseLeave = Bu(Ri, fn.onMouseLeave), Et || (Mi.onMouseOver = Nr, Mi.onMouseLeave = Ri)), oe || (fn.onFocus = Bu(Ec, fn.onFocus), fn.onBlur = Bu(Sc, fn.onBlur), Et || (Mi.onFocus = Ec, Mi.onBlur = Sc)), process.env.NODE_ENV !== "production" && nt.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${nt.props.title}\` or the Tooltip component.`].join(`
17505
+ Y || (fn.onTouchStart = Yf, fn.onTouchEnd = Tc), ne || (fn.onMouseOver = Bu(Nr, fn.onMouseOver), fn.onMouseLeave = Bu(Ri, fn.onMouseLeave), Et || (Mi.onMouseOver = Nr, Mi.onMouseLeave = Ri)), oe || (fn.onFocus = Bu(Ec, fn.onFocus), fn.onBlur = Bu(Sc, fn.onBlur), Et || (Mi.onFocus = Ec, Mi.onBlur = Sc)), process.env.NODE_ENV !== "production" && rt.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${rt.props.title}\` or the Tooltip component.`].join(`
17506
17506
  `));
17507
17507
  const Zf = F.useMemo(() => {
17508
17508
  var He;
@@ -17514,25 +17514,25 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
17514
17514
  padding: 4
17515
17515
  }
17516
17516
  }];
17517
- return (He = be.popperOptions) != null && He.modifiers && (Cn = Cn.concat(be.popperOptions.modifiers)), G({}, be.popperOptions, {
17517
+ return (He = xe.popperOptions) != null && He.modifiers && (Cn = Cn.concat(xe.popperOptions.modifiers)), G({}, xe.popperOptions, {
17518
17518
  modifiers: Cn
17519
17519
  });
17520
- }, [_t, be]), ki = G({}, M, {
17520
+ }, [_t, xe]), ki = G({}, M, {
17521
17521
  isRtl: kt,
17522
17522
  arrow: k,
17523
17523
  disableInteractive: Et,
17524
17524
  placement: ge,
17525
17525
  PopperComponentProp: Ae,
17526
17526
  touch: rn.current
17527
- }), $s = ree(ki), Oc = (r = (o = Ce.popper) != null ? o : z.Popper) != null ? r : oee, Pc = (a = (s = (c = Ce.transition) != null ? c : z.Transition) != null ? s : le) != null ? a : Bd, Rc = (u = (d = Ce.tooltip) != null ? d : z.Tooltip) != null ? u : iee, Mc = (p = (g = Ce.arrow) != null ? g : z.Arrow) != null ? p : aee, kc = ts(Oc, G({}, be, (m = ve.popper) != null ? m : q.popper, {
17528
- className: ut($s.popper, be == null ? void 0 : be.className, (v = (y = ve.popper) != null ? y : q.popper) == null ? void 0 : v.className)
17527
+ }), $s = ree(ki), Oc = (r = (o = Ce.popper) != null ? o : z.Popper) != null ? r : oee, Pc = (a = (s = (c = Ce.transition) != null ? c : z.Transition) != null ? s : le) != null ? a : Bd, Rc = (u = (d = Ce.tooltip) != null ? d : z.Tooltip) != null ? u : iee, Mc = (p = (g = Ce.arrow) != null ? g : z.Arrow) != null ? p : aee, kc = ts(Oc, G({}, xe, (m = ve.popper) != null ? m : q.popper, {
17528
+ className: ut($s.popper, xe == null ? void 0 : xe.className, (v = (y = ve.popper) != null ? y : q.popper) == null ? void 0 : v.className)
17529
17529
  }), ki), Qf = ts(Pc, G({}, ot, (b = ve.transition) != null ? b : q.transition), ki), Jf = ts(Rc, G({}, (w = ve.tooltip) != null ? w : q.tooltip, {
17530
17530
  className: ut($s.tooltip, (S = (P = ve.tooltip) != null ? P : q.tooltip) == null ? void 0 : S.className)
17531
17531
  }), ki), ep = ts(Mc, G({}, (E = ve.arrow) != null ? E : q.arrow, {
17532
17532
  className: ut($s.arrow, (O = (I = ve.arrow) != null ? I : q.arrow) == null ? void 0 : O.className)
17533
17533
  }), ki);
17534
17534
  return /* @__PURE__ */ U(F.Fragment, {
17535
- children: [/* @__PURE__ */ F.cloneElement(nt, fn), /* @__PURE__ */ h(Oc, G({
17535
+ children: [/* @__PURE__ */ F.cloneElement(rt, fn), /* @__PURE__ */ h(Oc, G({
17536
17536
  as: Ae ?? Mv,
17537
17537
  placement: ge,
17538
17538
  anchorEl: Q ? {
@@ -18104,7 +18104,7 @@ function PI(e) {
18104
18104
  const d = de(() => {
18105
18105
  Ite();
18106
18106
  }, []);
18107
- return n ? /* @__PURE__ */ h(n, { error: t, errorInfo: r, title: a }) : /* @__PURE__ */ h(Jd, { children: /* @__PURE__ */ U(tt, { alignItems: "center", px: 2, py: { xs: 4, sm: 8 }, spacing: 2, textAlign: "center", children: [
18107
+ return n ? /* @__PURE__ */ h(n, { error: t, errorInfo: r, title: a }) : /* @__PURE__ */ h(Jd, { children: /* @__PURE__ */ U(nt, { alignItems: "center", px: 2, py: { xs: 4, sm: 8 }, spacing: 2, textAlign: "center", children: [
18108
18108
  a ? /* @__PURE__ */ h(lI, { title: a }) : null,
18109
18109
  /* @__PURE__ */ h("img", { src: IE, style: { width: "100%", maxWidth: 450, marginTop: c.spacing(4) }, alt: "oops!" }),
18110
18110
  /* @__PURE__ */ h(
@@ -18158,7 +18158,7 @@ Nd.exports;
18158
18158
  ["partial", I],
18159
18159
  ["partialRight", M],
18160
18160
  ["rearg", $]
18161
- ], pe = "[object Arguments]", ge = "[object Array]", Ae = "[object AsyncFunction]", be = "[object Boolean]", ve = "[object Date]", Ce = "[object DOMException]", Pe = "[object Error]", le = "[object Function]", ot = "[object GeneratorFunction]", he = "[object Map]", nt = "[object Number]", dn = "[object Null]", kt = "[object Object]", At = "[object Promise]", Kn = "[object Proxy]", _t = "[object RegExp]", St = "[object Set]", rn = "[object String]", Et = "[object Symbol]", Yt = "[object Undefined]", Ft = "[object WeakMap]", $e = "[object WeakSet]", Ne = "[object ArrayBuffer]", Re = "[object DataView]", ye = "[object Float32Array]", xt = "[object Float64Array]", Kt = "[object Int8Array]", je = "[object Int16Array]", Me = "[object Int32Array]", sn = "[object Uint8Array]", dr = "[object Uint8ClampedArray]", Nr = "[object Uint16Array]", Ri = "[object Uint32Array]", wc = /\b__p \+= '';/g, Gf = /\b(__p \+=) '' \+/g, qf = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ac = /&(?:amp|lt|gt|quot|#39);/g, Ds = /[&<>"']/g, Sc = RegExp(Ac.source), Ec = RegExp(Ds.source), Ic = /<%-([\s\S]+?)%>/g, Yf = /<%([\s\S]+?)%>/g, Tc = /<%=([\s\S]+?)%>/g, Kf = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ls = /^\w*$/, Xf = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, bo = /[\\^$.*+?()[\]{}|]/g, Bs = RegExp(bo.source), fn = /^\s+/, Mi = /\s/, Zf = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ki = /\{\n\/\* \[wrapped with (.+)\] \*/, $s = /,? & /, Oc = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Pc = /[()=,{}\[\]\/\s]/, Rc = /\\(\\)?/g, Mc = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, kc = /\w*$/, Qf = /^[-+]0x[0-9a-f]+$/i, Jf = /^0b[01]+$/i, ep = /^\[object .+?Constructor\]$/, He = /^0o[0-7]+$/i, Cn = /^(?:0|[1-9]\d*)$/, bP = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _c = /($^)/, xP = /['\n\r\u2028\u2029\\]/g, Fc = "\\ud800-\\udfff", CP = "\\u0300-\\u036f", wP = "\\ufe20-\\ufe2f", AP = "\\u20d0-\\u20ff", ty = CP + wP + AP, ny = "\\u2700-\\u27bf", ry = "a-z\\xdf-\\xf6\\xf8-\\xff", SP = "\\xac\\xb1\\xd7\\xf7", EP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", IP = "\\u2000-\\u206f", TP = " \\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", oy = "A-Z\\xc0-\\xd6\\xd8-\\xde", iy = "\\ufe0e\\ufe0f", ay = SP + EP + IP + TP, tp = "['’]", OP = "[" + Fc + "]", sy = "[" + ay + "]", Dc = "[" + ty + "]", ly = "\\d+", PP = "[" + ny + "]", cy = "[" + ry + "]", uy = "[^" + Fc + ay + ly + ny + ry + oy + "]", np = "\\ud83c[\\udffb-\\udfff]", RP = "(?:" + Dc + "|" + np + ")", dy = "[^" + Fc + "]", rp = "(?:\\ud83c[\\udde6-\\uddff]){2}", op = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ca = "[" + oy + "]", fy = "\\u200d", py = "(?:" + cy + "|" + uy + ")", MP = "(?:" + Ca + "|" + uy + ")", hy = "(?:" + tp + "(?:d|ll|m|re|s|t|ve))?", gy = "(?:" + tp + "(?:D|LL|M|RE|S|T|VE))?", my = RP + "?", vy = "[" + iy + "]?", kP = "(?:" + fy + "(?:" + [dy, rp, op].join("|") + ")" + vy + my + ")*", _P = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", FP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", yy = vy + my + kP, DP = "(?:" + [PP, rp, op].join("|") + ")" + yy, LP = "(?:" + [dy + Dc + "?", Dc, rp, op, OP].join("|") + ")", BP = RegExp(tp, "g"), $P = RegExp(Dc, "g"), ip = RegExp(np + "(?=" + np + ")|" + LP + yy, "g"), NP = RegExp([
18161
+ ], pe = "[object Arguments]", ge = "[object Array]", Ae = "[object AsyncFunction]", xe = "[object Boolean]", ve = "[object Date]", Ce = "[object DOMException]", Pe = "[object Error]", le = "[object Function]", ot = "[object GeneratorFunction]", he = "[object Map]", rt = "[object Number]", dn = "[object Null]", kt = "[object Object]", At = "[object Promise]", Kn = "[object Proxy]", _t = "[object RegExp]", St = "[object Set]", rn = "[object String]", Et = "[object Symbol]", Yt = "[object Undefined]", Ft = "[object WeakMap]", $e = "[object WeakSet]", Ne = "[object ArrayBuffer]", Re = "[object DataView]", ye = "[object Float32Array]", xt = "[object Float64Array]", Kt = "[object Int8Array]", je = "[object Int16Array]", Me = "[object Int32Array]", sn = "[object Uint8Array]", dr = "[object Uint8ClampedArray]", Nr = "[object Uint16Array]", Ri = "[object Uint32Array]", wc = /\b__p \+= '';/g, Gf = /\b(__p \+=) '' \+/g, qf = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Ac = /&(?:amp|lt|gt|quot|#39);/g, Ds = /[&<>"']/g, Sc = RegExp(Ac.source), Ec = RegExp(Ds.source), Ic = /<%-([\s\S]+?)%>/g, Yf = /<%([\s\S]+?)%>/g, Tc = /<%=([\s\S]+?)%>/g, Kf = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ls = /^\w*$/, Xf = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, bo = /[\\^$.*+?()[\]{}|]/g, Bs = RegExp(bo.source), fn = /^\s+/, Mi = /\s/, Zf = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ki = /\{\n\/\* \[wrapped with (.+)\] \*/, $s = /,? & /, Oc = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Pc = /[()=,{}\[\]\/\s]/, Rc = /\\(\\)?/g, Mc = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, kc = /\w*$/, Qf = /^[-+]0x[0-9a-f]+$/i, Jf = /^0b[01]+$/i, ep = /^\[object .+?Constructor\]$/, He = /^0o[0-7]+$/i, Cn = /^(?:0|[1-9]\d*)$/, bP = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _c = /($^)/, xP = /['\n\r\u2028\u2029\\]/g, Fc = "\\ud800-\\udfff", CP = "\\u0300-\\u036f", wP = "\\ufe20-\\ufe2f", AP = "\\u20d0-\\u20ff", ty = CP + wP + AP, ny = "\\u2700-\\u27bf", ry = "a-z\\xdf-\\xf6\\xf8-\\xff", SP = "\\xac\\xb1\\xd7\\xf7", EP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", IP = "\\u2000-\\u206f", TP = " \\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", oy = "A-Z\\xc0-\\xd6\\xd8-\\xde", iy = "\\ufe0e\\ufe0f", ay = SP + EP + IP + TP, tp = "['’]", OP = "[" + Fc + "]", sy = "[" + ay + "]", Dc = "[" + ty + "]", ly = "\\d+", PP = "[" + ny + "]", cy = "[" + ry + "]", uy = "[^" + Fc + ay + ly + ny + ry + oy + "]", np = "\\ud83c[\\udffb-\\udfff]", RP = "(?:" + Dc + "|" + np + ")", dy = "[^" + Fc + "]", rp = "(?:\\ud83c[\\udde6-\\uddff]){2}", op = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ca = "[" + oy + "]", fy = "\\u200d", py = "(?:" + cy + "|" + uy + ")", MP = "(?:" + Ca + "|" + uy + ")", hy = "(?:" + tp + "(?:d|ll|m|re|s|t|ve))?", gy = "(?:" + tp + "(?:D|LL|M|RE|S|T|VE))?", my = RP + "?", vy = "[" + iy + "]?", kP = "(?:" + fy + "(?:" + [dy, rp, op].join("|") + ")" + vy + my + ")*", _P = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", FP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", yy = vy + my + kP, DP = "(?:" + [PP, rp, op].join("|") + ")" + yy, LP = "(?:" + [dy + Dc + "?", Dc, rp, op, OP].join("|") + ")", BP = RegExp(tp, "g"), $P = RegExp(Dc, "g"), ip = RegExp(np + "(?=" + np + ")|" + LP + yy, "g"), NP = RegExp([
18162
18162
  Ca + "?" + cy + "+" + hy + "(?=" + [sy, Ca, "$"].join("|") + ")",
18163
18163
  MP + "+" + gy + "(?=" + [sy, Ca + py, "$"].join("|") + ")",
18164
18164
  Ca + "?" + py + "+" + hy,
@@ -18199,9 +18199,9 @@ Nd.exports;
18199
18199
  "parseInt",
18200
18200
  "setTimeout"
18201
18201
  ], zP = -1, It = {};
18202
- It[ye] = It[xt] = It[Kt] = It[je] = It[Me] = It[sn] = It[dr] = It[Nr] = It[Ri] = !0, It[pe] = It[ge] = It[Ne] = It[be] = It[Re] = It[ve] = It[Pe] = It[le] = It[he] = It[nt] = It[kt] = It[_t] = It[St] = It[rn] = It[Ft] = !1;
18202
+ It[ye] = It[xt] = It[Kt] = It[je] = It[Me] = It[sn] = It[dr] = It[Nr] = It[Ri] = !0, It[pe] = It[ge] = It[Ne] = It[xe] = It[Re] = It[ve] = It[Pe] = It[le] = It[he] = It[rt] = It[kt] = It[_t] = It[St] = It[rn] = It[Ft] = !1;
18203
18203
  var Ct = {};
18204
- Ct[pe] = Ct[ge] = Ct[Ne] = Ct[Re] = Ct[be] = Ct[ve] = Ct[ye] = Ct[xt] = Ct[Kt] = Ct[je] = Ct[Me] = Ct[he] = Ct[nt] = Ct[kt] = Ct[_t] = Ct[St] = Ct[rn] = Ct[Et] = Ct[sn] = Ct[dr] = Ct[Nr] = Ct[Ri] = !0, Ct[Pe] = Ct[le] = Ct[Ft] = !1;
18204
+ Ct[pe] = Ct[ge] = Ct[Ne] = Ct[Re] = Ct[xe] = Ct[ve] = Ct[ye] = Ct[xt] = Ct[Kt] = Ct[je] = Ct[Me] = Ct[he] = Ct[rt] = Ct[kt] = Ct[_t] = Ct[St] = Ct[rn] = Ct[Et] = Ct[sn] = Ct[dr] = Ct[Nr] = Ct[Ri] = !0, Ct[Pe] = Ct[le] = Ct[Ft] = !1;
18205
18205
  var UP = {
18206
18206
  // Latin-1 Supplement block.
18207
18207
  À: "A",
@@ -19996,9 +19996,9 @@ Nd.exports;
19996
19996
  i = i.buffer, l = l.buffer;
19997
19997
  case Ne:
19998
19998
  return !(i.byteLength != l.byteLength || !R(new Uc(i), new Uc(l)));
19999
- case be:
19999
+ case xe:
20000
20000
  case ve:
20001
- case nt:
20001
+ case rt:
20002
20002
  return jr(+i, +l);
20003
20003
  case Pe:
20004
20004
  return i.name == l.name && i.message == l.message;
@@ -20179,7 +20179,7 @@ Nd.exports;
20179
20179
  switch (l) {
20180
20180
  case Ne:
20181
20181
  return $p(i);
20182
- case be:
20182
+ case xe:
20183
20183
  case ve:
20184
20184
  return new C(+i);
20185
20185
  case Re:
@@ -20196,7 +20196,7 @@ Nd.exports;
20196
20196
  return yb(i, f);
20197
20197
  case he:
20198
20198
  return new C();
20199
- case nt:
20199
+ case rt:
20200
20200
  case rn:
20201
20201
  return new C(i);
20202
20202
  case _t:
@@ -21029,7 +21029,7 @@ Nd.exports;
21029
21029
  return Bt(i) && kn(i);
21030
21030
  }
21031
21031
  function mM(i) {
21032
- return i === !0 || i === !1 || Bt(i) && wn(i) == be;
21032
+ return i === !0 || i === !1 || Bt(i) && wn(i) == xe;
21033
21033
  }
21034
21034
  var Jo = R3 || uh, vM = wy ? Zn(wy) : S4;
21035
21035
  function yM(i) {
@@ -21108,7 +21108,7 @@ Nd.exports;
21108
21108
  return i == null;
21109
21109
  }
21110
21110
  function u1(i) {
21111
- return typeof i == "number" || Bt(i) && wn(i) == nt;
21111
+ return typeof i == "number" || Bt(i) && wn(i) == rt;
21112
21112
  }
21113
21113
  function Js(i) {
21114
21114
  if (!Bt(i) || wn(i) != kt)
@@ -21956,12 +21956,12 @@ function Dv() {
21956
21956
  return yt(DI);
21957
21957
  }
21958
21958
  function LI() {
21959
- const e = Y8(), { isLoading: t, data: n } = nf(), r = !!n && !!n.id, { permissions: o } = K8(r), { menu: a } = Dv(), s = Ue(), c = Be(() => {
21959
+ const e = Y8(), { isLoading: t, data: n } = nf(), r = !!n && !!n.id, { permissions: o } = K8(r), { menu: a } = Dv(), s = Ue(), c = Le(() => {
21960
21960
  if (t || !n)
21961
21961
  return null;
21962
21962
  const p = ((n == null ? void 0 : n.roles) || []).map((m) => m.id);
21963
21963
  return Mte(a, e, o, s, p);
21964
- }, [t, n, e, o, s, a]), u = Be(() => t, [t]);
21964
+ }, [t, n, e, o, s, a]), u = Le(() => t, [t]);
21965
21965
  function d(p) {
21966
21966
  if (c)
21967
21967
  return Yg(c, p);
@@ -21976,7 +21976,7 @@ function LI() {
21976
21976
  }
21977
21977
  function _te() {
21978
21978
  const e = Ue(), { isLoading: t, menu: n, findInMenu: r } = LI(), { pathname: o } = ql();
21979
- return Be(() => {
21979
+ return Le(() => {
21980
21980
  var m;
21981
21981
  const a = o.split("/").filter((v) => v), s = X.cloneDeep(n);
21982
21982
  let c = o, u = r(s, o);
@@ -23801,8 +23801,8 @@ var QI = { exports: {} };
23801
23801
  case g:
23802
23802
  return Q ? H(1, ce) : H(0, ce + 1);
23803
23803
  case p:
23804
- var Ae = this.$locale().weekStart || 0, be = (fe < Ae ? fe + 7 : fe) - Ae;
23805
- return H(Q ? pe - be : pe + (6 - be), ce);
23804
+ var Ae = this.$locale().weekStart || 0, xe = (fe < Ae ? fe + 7 : fe) - Ae;
23805
+ return H(Q ? pe - xe : pe + (6 - xe), ce);
23806
23806
  case d:
23807
23807
  case y:
23808
23808
  return ae(ge + "Hours", 0);
@@ -23848,7 +23848,7 @@ var QI = { exports: {} };
23848
23848
  if (!this.isValid()) return B.invalidDate || b;
23849
23849
  var Q = V || "YYYY-MM-DDTHH:mm:ssZ", L = N.z(this), H = this.$H, ae = this.$m, fe = this.$M, ce = B.weekdays, pe = B.months, ge = B.meridiem, Ae = function(Ce, Pe, le, ot) {
23850
23850
  return Ce && (Ce[Pe] || Ce(J, Q)) || le[Pe].slice(0, ot);
23851
- }, be = function(Ce) {
23851
+ }, xe = function(Ce) {
23852
23852
  return N.s(H % 12 || 12, Ce, "0");
23853
23853
  }, ve = ge || function(Ce, Pe, le) {
23854
23854
  var ot = Ce < 12 ? "AM" : "PM";
@@ -23886,9 +23886,9 @@ var QI = { exports: {} };
23886
23886
  case "HH":
23887
23887
  return N.s(H, 2, "0");
23888
23888
  case "h":
23889
- return be(1);
23889
+ return xe(1);
23890
23890
  case "hh":
23891
- return be(2);
23891
+ return xe(2);
23892
23892
  case "a":
23893
23893
  return ve(H, ae, !0);
23894
23894
  case "A":
@@ -24082,7 +24082,7 @@ function Mue(e, t) {
24082
24082
  }
24083
24083
  function nT(e) {
24084
24084
  const t = an(), n = kr(), r = ho(), o = t != null && t.id ? "edit" : "create";
24085
- return Be(() => {
24085
+ return Le(() => {
24086
24086
  if (e === !1)
24087
24087
  return;
24088
24088
  const s = `resources.${r}.title`;
@@ -24241,14 +24241,14 @@ function Nne({
24241
24241
  xs: d = 12,
24242
24242
  ...p
24243
24243
  }) {
24244
- const g = kr(), m = ho(), { cardTitle: v, cardSubheader: y } = Be(() => {
24244
+ const g = kr(), m = ho(), { cardTitle: v, cardSubheader: y } = Le(() => {
24245
24245
  const b = n || `resources.${m}.title`;
24246
24246
  return {
24247
24247
  cardTitle: g(b, { _: b }),
24248
24248
  cardSubheader: r !== null ? g(r, { _: r }) : null
24249
24249
  };
24250
24250
  }, [m, r, n, g]);
24251
- return /* @__PURE__ */ h(Te, { item: !0, ...p, lg: s, md: c, sm: u, xs: d, children: /* @__PURE__ */ h(ar, { content: t, title: v, subheader: y, secondary: o, divider: !0, children: /* @__PURE__ */ U(rt, { children: [
24251
+ return /* @__PURE__ */ h(Te, { item: !0, ...p, lg: s, md: c, sm: u, xs: d, children: /* @__PURE__ */ h(ar, { content: t, title: v, subheader: y, secondary: o, divider: !0, children: /* @__PURE__ */ U(tt, { children: [
24252
24252
  e,
24253
24253
  a === !0 ? /* @__PURE__ */ h(xa, { children: /* @__PURE__ */ h(Kl, {}) }) : a
24254
24254
  ] }) }) });
@@ -24378,7 +24378,7 @@ function zne({
24378
24378
  }) {
24379
24379
  const d = Fm(), { getCurrentDialog: p } = zv(), { source: g, resource: m, isRequired: v } = u, { getFieldState: y, formState: b } = wi(), { error: w } = y(g, b), S = p();
24380
24380
  return /* @__PURE__ */ U(
24381
- tt,
24381
+ nt,
24382
24382
  {
24383
24383
  spacing: 1,
24384
24384
  sx: {
@@ -24408,7 +24408,7 @@ function zne({
24408
24408
  children: /* @__PURE__ */ h(Jm, { label: e, source: g, resource: S || m, isRequired: v })
24409
24409
  }
24410
24410
  ),
24411
- xe.isValidElement(t) ? xe.cloneElement(t, {
24411
+ be.isValidElement(t) ? be.cloneElement(t, {
24412
24412
  // @ts-ignore
24413
24413
  ...t.props,
24414
24414
  ...u,
@@ -24508,7 +24508,7 @@ function qne({
24508
24508
  I.href = O, I.download = Ze.get(d, (s == null ? void 0 : s.title) || (s == null ? void 0 : s.source)), I.click();
24509
24509
  },
24510
24510
  [p, d, e, g, a, t, s == null ? void 0 : s.source, s == null ? void 0 : s.title, m]
24511
- ), y = Be(
24511
+ ), y = Le(
24512
24512
  () => ({
24513
24513
  ...d,
24514
24514
  [s == null ? void 0 : s.source]: (d == null ? void 0 : d.src) || Ze.get(d, s == null ? void 0 : s.source),
@@ -24553,7 +24553,7 @@ function Xne({
24553
24553
  sx: a,
24554
24554
  ...s
24555
24555
  }) {
24556
- const c = Be(
24556
+ const c = Le(
24557
24557
  () => ({
24558
24558
  width: typeof e == "number" ? `${e}px !important` : `${e} !important`,
24559
24559
  height: typeof t == "number" ? `${t}px !important` : `${t} !important`,
@@ -24654,11 +24654,11 @@ var Jne = uT.exports;
24654
24654
  const ere = /* @__PURE__ */ go(Jne);
24655
24655
  Xr.extend(ere);
24656
24656
  function tre(e) {
24657
- const t = an(e), [n] = PA(), r = Be(
24657
+ const t = an(e), [n] = PA(), r = Le(
24658
24658
  () => Xr(Ze.get(t, e == null ? void 0 : e.source)).locale(n).fromNow(),
24659
24659
  [t, e == null ? void 0 : e.source, n]
24660
24660
  );
24661
- return /* @__PURE__ */ U(rt, { children: [
24661
+ return /* @__PURE__ */ U(tt, { children: [
24662
24662
  /* @__PURE__ */ h(RA, { record: t, source: e.source, showTime: !0 }),
24663
24663
  /* @__PURE__ */ h("br", {}),
24664
24664
  /* @__PURE__ */ h(ue, { variant: "caption", color: "textSecondary", children: r })
@@ -24699,10 +24699,10 @@ function sre({ variant: e = "body1", ...t }) {
24699
24699
  return /* @__PURE__ */ h(are, { ...t, variant: e });
24700
24700
  }
24701
24701
  function Bue(e) {
24702
- const t = Qt(), n = Xm(), { source: r = "" } = e, a = Cs(e)[r], s = !Qg(a, n), c = yo(e, { flex: 1 }), [u] = Gl(), d = Be(() => s ? /* @__PURE__ */ h(d8, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ h(f8, {}), [s, t.palette.warning.main]), p = Be(() => /* @__PURE__ */ h(tt, { children: X.map(n, (g, m) => /* @__PURE__ */ h(ue, { children: `${g.locale.toUpperCase()}: ${(a ?? {})[g.locale] ?? ""}` }, m)) }), [a, n]);
24702
+ const t = Qt(), n = Xm(), { source: r = "" } = e, a = Cs(e)[r], s = !Qg(a, n), c = yo(e, { flex: 1 }), [u] = Gl(), d = Le(() => s ? /* @__PURE__ */ h(d8, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ h(f8, {}), [s, t.palette.warning.main]), p = Le(() => /* @__PURE__ */ h(nt, { children: X.map(n, (g, m) => /* @__PURE__ */ h(ue, { children: `${g.locale.toUpperCase()}: ${(a ?? {})[g.locale] ?? ""}` }, m)) }), [a, n]);
24703
24703
  return (
24704
24704
  // @ts-ignore
24705
- /* @__PURE__ */ h(lv, { title: p, arrow: !1, children: /* @__PURE__ */ U(tt, { alignItems: "center", direction: "row", gap: 1, children: [
24705
+ /* @__PURE__ */ h(lv, { title: p, arrow: !1, children: /* @__PURE__ */ U(nt, { alignItems: "center", direction: "row", gap: 1, children: [
24706
24706
  d,
24707
24707
  /* @__PURE__ */ h(sre, { ...e, source: `${r}.${u}`, sx: c })
24708
24708
  ] }) })
@@ -24738,10 +24738,10 @@ function $ue({
24738
24738
  tooltip: o,
24739
24739
  ...a
24740
24740
  }) {
24741
- const s = Vt.only(r), { getCurrentDialog: c } = cT(), u = an(a), d = ho(a), p = c(), g = Be(() => o === !1 ? !1 : typeof o == "function" ? o(u) : typeof o == "string" ? Ze.get(u, o, o) : o, [u, o]), m = yo(a, { width: a != null && a.fullWidth ? "100%" : "auto" });
24742
- return /* @__PURE__ */ h(ure, { title: g, children: /* @__PURE__ */ U(rt, { children: [
24741
+ const s = Vt.only(r), { getCurrentDialog: c } = cT(), u = an(a), d = ho(a), p = c(), g = Le(() => o === !1 ? !1 : typeof o == "function" ? o(u) : typeof o == "string" ? Ze.get(u, o, o) : o, [u, o]), m = yo(a, { width: a != null && a.fullWidth ? "100%" : "auto" });
24742
+ return /* @__PURE__ */ h(ure, { title: g, children: /* @__PURE__ */ U(tt, { children: [
24743
24743
  /* @__PURE__ */ h(zm, { sx: { pt: 1 }, children: /* @__PURE__ */ h(Jm, { label: e, source: t, resource: p || d }) }),
24744
- /* @__PURE__ */ h(lre, { ...a, children: xe.isValidElement(s) ? xe.cloneElement(s, {
24744
+ /* @__PURE__ */ h(lre, { ...a, children: be.isValidElement(s) ? be.cloneElement(s, {
24745
24745
  ...s.props,
24746
24746
  source: t,
24747
24747
  record: u,
@@ -24827,7 +24827,7 @@ function Rn({
24827
24827
  fieldState: { invalid: y }
24828
24828
  } = n0(c), b = d();
24829
24829
  return /* @__PURE__ */ U(
24830
- tt,
24830
+ nt,
24831
24831
  {
24832
24832
  spacing: 1,
24833
24833
  sx: {
@@ -24861,11 +24861,11 @@ function Rn({
24861
24861
  children: /* @__PURE__ */ h(Jm, { label: e, source: p, resource: b || g, isRequired: m })
24862
24862
  }
24863
24863
  ),
24864
- xe.isValidElement(t) ? xe.cloneElement(t, {
24864
+ be.isValidElement(t) ? be.cloneElement(t, {
24865
24865
  // @ts-ignore
24866
24866
  ...t.props,
24867
24867
  ...c,
24868
- chip: v && typeof v == "function" ? xe.createElement(v) : v,
24868
+ chip: v && typeof v == "function" ? be.createElement(v) : v,
24869
24869
  label: n === "legend" ? e : !1
24870
24870
  }) : t,
24871
24871
  r ? /* @__PURE__ */ h(
@@ -24929,7 +24929,7 @@ function Vue({
24929
24929
  }) {
24930
24930
  const a = an(o), s = o == null ? void 0 : o.source, c = a == null ? void 0 : a.id;
24931
24931
  return n0({ source: `__${r}__${o == null ? void 0 : o.source}`, defaultValue: o == null ? void 0 : o.source }), /** @ts-ignore */
24932
- /* @__PURE__ */ h(Rn, { ...o, disabled: n, children: /* @__PURE__ */ h(gre, { type: r, multiple: t, disabled: n, children: xe.cloneElement(e, { entityId: c, property: s, ...e.props }) }) });
24932
+ /* @__PURE__ */ h(Rn, { ...o, disabled: n, children: /* @__PURE__ */ h(gre, { type: r, multiple: t, disabled: n, children: be.cloneElement(e, { entityId: c, property: s, ...e.props }) }) });
24933
24933
  }
24934
24934
  const mre = se(R9, {
24935
24935
  name: "StyledAutocompleteInput",
@@ -25047,7 +25047,7 @@ const wre = se(MA, { slot: "root" })(({ theme: e }) => ({
25047
25047
  }
25048
25048
  }));
25049
25049
  function Gue({ children: e = /* @__PURE__ */ h(ire, { source: "", title: "" }), title: t, ...n }) {
25050
- const r = l0({ name: n.source }), o = an(n), { source: a } = n, s = Be(() => {
25050
+ const r = l0({ name: n.source }), o = an(n), { source: a } = n, s = Le(() => {
25051
25051
  if (r && (r != null && r.title))
25052
25052
  return r == null ? void 0 : r.title;
25053
25053
  const c = Ze.get(o, a);
@@ -25061,7 +25061,7 @@ function Gue({ children: e = /* @__PURE__ */ h(ire, { source: "", title: "" }),
25061
25061
  // @ts-ignore
25062
25062
  /* @__PURE__ */ h(Rn, { ...n, children: /* @__PURE__ */ h(wre, {
25063
25063
  /** @ts-ignore */
25064
- children: xe.cloneElement(e, {
25064
+ children: be.cloneElement(e, {
25065
25065
  // @ts-ignore
25066
25066
  ...e.props,
25067
25067
  title: t || a,
@@ -25082,7 +25082,7 @@ function que({ children: e = /* @__PURE__ */ h(Xne, {}), title: t, multiple: n =
25082
25082
  /* @__PURE__ */ h(Rn, { ...r, multiple: n, children: /* @__PURE__ */ h(D9, {
25083
25083
  accept: "image/*",
25084
25084
  /** @ts-ignore */
25085
- children: xe.cloneElement(e, {
25085
+ children: be.cloneElement(e, {
25086
25086
  // @ts-ignore
25087
25087
  ...e.props,
25088
25088
  title: t,
@@ -25119,10 +25119,10 @@ function Yue({
25119
25119
  return M;
25120
25120
  },
25121
25121
  [e, t, s, r]
25122
- ), u = Be(() => X8(n, c()), [n, c]), { fieldState: d } = Z8({ ...o, validate: u }), { error: p } = d, g = l0({ name: a }), m = !Qg(g, s), [v] = Gl(), [y, b] = ke(v), [w, S] = ke(null), P = !!w, E = de(
25122
+ ), u = Le(() => X8(n, c()), [n, c]), { fieldState: d } = Z8({ ...o, validate: u }), { error: p } = d, g = l0({ name: a }), m = !Qg(g, s), [v] = Gl(), [y, b] = ke(v), [w, S] = ke(null), P = !!w, E = de(
25123
25123
  (M) => S(P ? null : M.currentTarget),
25124
25124
  [P, S]
25125
- ), O = de(() => S(null), [S]), I = Be(() => X.map(s, (M, k) => /* @__PURE__ */ h(
25125
+ ), O = de(() => S(null), [S]), I = Le(() => X.map(s, (M, k) => /* @__PURE__ */ h(
25126
25126
  Wm,
25127
25127
  {
25128
25128
  onClick: () => {
@@ -25138,7 +25138,7 @@ function Yue({
25138
25138
  ...o,
25139
25139
  validate: u,
25140
25140
  helperText: p != null && p.message ? /* @__PURE__ */ h(Q8, { error: p == null ? void 0 : p.message }) : o == null ? void 0 : o.helperText,
25141
- children: /* @__PURE__ */ h(rt, { children: /* @__PURE__ */ U(Ee, { flex: 1, children: [
25141
+ children: /* @__PURE__ */ h(tt, { children: /* @__PURE__ */ U(Ee, { flex: 1, children: [
25142
25142
  X.map(s, (M, k) => /* @__PURE__ */ h(
25143
25143
  Yr,
25144
25144
  {
@@ -25239,7 +25239,7 @@ function Zue({ source: e, minWidth: t = 300, children: n }) {
25239
25239
  },
25240
25240
  [p, r, e, o]
25241
25241
  );
25242
- return Oe(() => s(Ze.get(o, e)), [o, e]), n ? xe.cloneElement(n, {
25242
+ return Oe(() => s(Ze.get(o, e)), [o, e]), n ? be.cloneElement(n, {
25243
25243
  ...n.props,
25244
25244
  source: e,
25245
25245
  value: a,
@@ -25261,14 +25261,14 @@ function Zue({ source: e, minWidth: t = 300, children: n }) {
25261
25261
  }
25262
25262
  function Que({ children: e, ...t }) {
25263
25263
  const n = Vt.only(e);
25264
- return /* @__PURE__ */ h(N9, { ...t, children: xe.cloneElement(n, {
25264
+ return /* @__PURE__ */ h(N9, { ...t, children: be.cloneElement(n, {
25265
25265
  ...t,
25266
25266
  source: n.props.source || t.source
25267
25267
  }) });
25268
25268
  }
25269
25269
  function Jue({ children: e, ...t }) {
25270
25270
  const n = Vt.only(e);
25271
- return /* @__PURE__ */ h(V9, { ...t, children: xe.cloneElement(n, {
25271
+ return /* @__PURE__ */ h(V9, { ...t, children: be.cloneElement(n, {
25272
25272
  ...t,
25273
25273
  source: n.props.source || t.source
25274
25274
  }) });
@@ -25281,7 +25281,7 @@ function ede({
25281
25281
  actions: o,
25282
25282
  ...a
25283
25283
  }) {
25284
- return /* @__PURE__ */ h(W9, { value: e, children: /* @__PURE__ */ h(pre, { perPage: 5, pagination: /* @__PURE__ */ h(t0, {}), ...a, reference: e, target: t, children: /* @__PURE__ */ U(rt, { children: [
25284
+ return /* @__PURE__ */ h(W9, { value: e, children: /* @__PURE__ */ h(pre, { perPage: 5, pagination: /* @__PURE__ */ h(t0, {}), ...a, reference: e, target: t, children: /* @__PURE__ */ U(tt, { children: [
25285
25285
  /* @__PURE__ */ h(j9, { filters: r, actions: o }),
25286
25286
  n
25287
25287
  ] }) }) });
@@ -25422,11 +25422,11 @@ function _re(e) {
25422
25422
  const { responseCode: y, value: b } = v;
25423
25423
  return y === "ok" ? b : Promise.reject(v);
25424
25424
  });
25425
- }, [t, a, o, s]), u = Be(
25425
+ }, [t, a, o, s]), u = Le(
25426
25426
  () => X.chain(n).extend({ queryKey: [r, a], queryFn: c }).value(),
25427
25427
  [r, a, c, n]
25428
25428
  ), { data: d, isLoading: p } = DA(u), g = X.omit(e, ["useDefaults"]);
25429
- return p ? /* @__PURE__ */ h(tt, { alignItems: "center", justifyContent: "center", flex: 1, p: 2, children: /* @__PURE__ */ h(hi, {}) }) : /* @__PURE__ */ h(fT.Provider, { value: d ?? {}, children: /* @__PURE__ */ h(Y9, { ...g, children: e.children }) });
25429
+ return p ? /* @__PURE__ */ h(nt, { alignItems: "center", justifyContent: "center", flex: 1, p: 2, children: /* @__PURE__ */ h(hi, {}) }) : /* @__PURE__ */ h(fT.Provider, { value: d ?? {}, children: /* @__PURE__ */ h(Y9, { ...g, children: e.children }) });
25430
25430
  }
25431
25431
  const ade = se(_re, { slot: "root" })(({ theme: e }) => ({
25432
25432
  "& .RaCreate-card, & > div > div > form": {
@@ -25506,7 +25506,7 @@ const Dre = se(rg)(({ theme: e }) => ({
25506
25506
  }));
25507
25507
  function cde({ title: e, divider: t = !0, variant: n = "h5" }) {
25508
25508
  const r = kr();
25509
- return /* @__PURE__ */ U(rt, { children: [
25509
+ return /* @__PURE__ */ U(tt, { children: [
25510
25510
  /* @__PURE__ */ h(
25511
25511
  Dre,
25512
25512
  {
@@ -25570,7 +25570,7 @@ const Nre = {
25570
25570
  activeItem: void 0
25571
25571
  }, gT = nn(void 0);
25572
25572
  function mT(e) {
25573
- const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = ql(), [a, s] = Dm($re, X.cloneDeep(Nre)), { formRootPath: c, items: u } = a, d = Be(() => ({ state: a, dispatch: s }), [a, s]);
25573
+ const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = ql(), [a, s] = Dm($re, X.cloneDeep(Nre)), { formRootPath: c, items: u } = a, d = Le(() => ({ state: a, dispatch: s }), [a, s]);
25574
25574
  return Oe(() => {
25575
25575
  const p = [
25576
25576
  "entities/:resource/create/*",
@@ -25719,7 +25719,7 @@ function OT(e) {
25719
25719
  }
25720
25720
  function PT(e) {
25721
25721
  const t = xT();
25722
- return Be(() => hT(e, t), [t, e]);
25722
+ return Le(() => hT(e, t), [t, e]);
25723
25723
  }
25724
25724
  function Wre() {
25725
25725
  const e = yT(), { search: t } = ql(), n = y9();
@@ -25758,7 +25758,7 @@ function Hv(e) {
25758
25758
  ), w = a !== void 0, S = X.omit(e, ["label", "icon", "selected", "badge"]);
25759
25759
  return Oe(() => {
25760
25760
  r && !v && y(r);
25761
- }, [r, v, y]), /* @__PURE__ */ U(rt, { children: [
25761
+ }, [r, v, y]), /* @__PURE__ */ U(tt, { children: [
25762
25762
  /* @__PURE__ */ h(Tl, { ...S, disablePadding: !0, children: /* @__PURE__ */ U(Nn, { selected: r ? !d : null, onClick: b, sx: { pl: m * p }, children: [
25763
25763
  w ? /* @__PURE__ */ h(qr, { children: a }) : null,
25764
25764
  /* @__PURE__ */ h(
@@ -25789,7 +25789,7 @@ function MT(e) {
25789
25789
  },
25790
25790
  [s, o, e, a, u]
25791
25791
  );
25792
- return Be(() => ({
25792
+ return Le(() => ({
25793
25793
  ...e,
25794
25794
  selected: n,
25795
25795
  onClick: d,
@@ -25974,15 +25974,15 @@ var Xh = (e) => {
25974
25974
  return /* @__PURE__ */ h("div", { className: a, style: s, ref: c, children: o });
25975
25975
  }, Kre = Yre, _T = /* @__PURE__ */ ((e) => (e.TOP = "top", e.BOTTOM = "bottom", e))(_T || {});
25976
25976
  function FT(e) {
25977
- const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o = X.omit(e, ["sticky", "disposition", "spacing"]), a = t ? Kre : Ee, s = Be(() => t ? { offsetTop: 74, offsetBottom: r * 2 } : {}, [t, r]);
25978
- return /* @__PURE__ */ h(Te, { ...o, item: !0, ...n, children: /* @__PURE__ */ h(a, { ...s, children: /* @__PURE__ */ h(tt, { spacing: r, children: e.children }) }) });
25977
+ const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o = X.omit(e, ["sticky", "disposition", "spacing"]), a = t ? Kre : Ee, s = Le(() => t ? { offsetTop: 74, offsetBottom: r * 2 } : {}, [t, r]);
25978
+ return /* @__PURE__ */ h(Te, { ...o, item: !0, ...n, children: /* @__PURE__ */ h(a, { ...s, children: /* @__PURE__ */ h(nt, { spacing: r, children: e.children }) }) });
25979
25979
  }
25980
25980
  function DT(e) {
25981
- return /* @__PURE__ */ h(rt, { children: e.children });
25981
+ return /* @__PURE__ */ h(tt, { children: e.children });
25982
25982
  }
25983
25983
  function LT(e) {
25984
25984
  const { children: t } = e;
25985
- return Be(() => {
25985
+ return Le(() => {
25986
25986
  const r = {
25987
25987
  top: [],
25988
25988
  bottom: []
@@ -26034,7 +26034,7 @@ function NT(e) {
26034
26034
  }
26035
26035
  function Gv(e) {
26036
26036
  const { children: t } = e;
26037
- return Be(
26037
+ return Le(
26038
26038
  () => (
26039
26039
  //@ts-ignore
26040
26040
  X.chain(Vt.toArray(t)).filter((r) => Tn(r) && ((r == null ? void 0 : r.type) === NT || (r == null ? void 0 : r.type) === $T)).map((r, o) => On(r, { index: o })).value()
@@ -26128,7 +26128,7 @@ const Jre = lc(r0, { slot: "Root" })(({ theme: e }) => ({
26128
26128
  }
26129
26129
  }));
26130
26130
  function eoe({ children: e }) {
26131
- return /* @__PURE__ */ h(rt, { children: e });
26131
+ return /* @__PURE__ */ h(tt, { children: e });
26132
26132
  }
26133
26133
  function VT(e) {
26134
26134
  const {
@@ -26182,7 +26182,7 @@ VT.TabStack = toe;
26182
26182
  function WT(e) {
26183
26183
  const { label: t, disableAdd: n, onClick: r, inset: o } = e, a = Qt(), s = a.palette.mode === "dark" ? a.palette.grey.A400 : a.palette.grey.A800, c = a.palette.mode === "light" ? "#000000" : "#FFFFFF";
26184
26184
  return /* @__PURE__ */ U(
26185
- tt,
26185
+ nt,
26186
26186
  {
26187
26187
  justifyContent: "space-between",
26188
26188
  alignItems: "center",
@@ -26190,7 +26190,7 @@ function WT(e) {
26190
26190
  sx: o ? { p: 2.5 } : { pt: 2 },
26191
26191
  children: [
26192
26192
  t !== !1 && /* @__PURE__ */ h(ue, { children: t }),
26193
- !n && (xe.isValidElement(e == null ? void 0 : e.customButton) ? xe.cloneElement(e == null ? void 0 : e.customButton, {
26193
+ !n && (be.isValidElement(e == null ? void 0 : e.customButton) ? be.cloneElement(e == null ? void 0 : e.customButton, {
26194
26194
  onClick: r
26195
26195
  }) : /* @__PURE__ */ h(Il, { color: "secondary", sx: { border: `1px solid ${s}` }, onClick: r, children: /* @__PURE__ */ h(vA, { style: { color: c } }) }))
26196
26196
  ]
@@ -26202,11 +26202,11 @@ function noe() {
26202
26202
  return yt(jT);
26203
26203
  }
26204
26204
  function Hd(e) {
26205
- const { children: t } = e, { item: n, index: r } = noe(), [o, a] = xe.useState(!1), { update: s } = o0(), c = kr(), u = xe.useCallback(
26205
+ const { children: t } = e, { item: n, index: r } = noe(), [o, a] = be.useState(!1), { update: s } = o0(), c = kr(), u = be.useCallback(
26206
26206
  (d) => (a(!1), s(r, d), Promise.resolve()),
26207
26207
  [r, s]
26208
26208
  );
26209
- return /* @__PURE__ */ U(rt, { children: [
26209
+ return /* @__PURE__ */ U(tt, { children: [
26210
26210
  /* @__PURE__ */ h(vt, { color: "primary", onClick: () => a(!0), sx: { justifyContent: "flex-start" }, children: c("ra.action.edit") }),
26211
26211
  /* @__PURE__ */ h(xi, { open: o, onClose: () => a(!1), maxWidth: "xs", fullWidth: !0, children: /* @__PURE__ */ h(
26212
26212
  Q9,
@@ -26222,17 +26222,17 @@ function Hd(e) {
26222
26222
  }
26223
26223
  function roe({ source: e, children: t }) {
26224
26224
  const n = Vt.only(t), { getValues: r } = wi(), o = an({ record: r() });
26225
- return xe.isValidElement(n) ? xe.cloneElement(n, { source: e, record: o }) : null;
26225
+ return be.isValidElement(n) ? be.cloneElement(n, { source: e, record: o }) : null;
26226
26226
  }
26227
26227
  function zT(e) {
26228
- const { label: t, disableAdd: n, inset: r, source: o, template: a } = e, [s, c] = xe.useState(!1), { append: u } = o0(), d = xe.useCallback(() => {
26228
+ const { label: t, disableAdd: n, inset: r, source: o, template: a } = e, [s, c] = be.useState(!1), { append: u } = o0(), d = be.useCallback(() => {
26229
26229
  c((g) => !g);
26230
- }, [c]), p = xe.useCallback(
26230
+ }, [c]), p = be.useCallback(
26231
26231
  (g) => (c(!1), u(g), Promise.resolve()),
26232
26232
  [c, u]
26233
26233
  );
26234
- return /* @__PURE__ */ U(rt, { children: [
26235
- xe.cloneElement(/* @__PURE__ */ h(WT, {}), {
26234
+ return /* @__PURE__ */ U(tt, { children: [
26235
+ be.cloneElement(/* @__PURE__ */ h(WT, {}), {
26236
26236
  label: t,
26237
26237
  source: o,
26238
26238
  disableAdd: n,
@@ -26258,7 +26258,7 @@ function ooe() {
26258
26258
  const ioe = F.forwardRef((e, t) => {
26259
26259
  const { children: n, disabled: r, disableRemove: o = !1, index: a, member: s, resource: c, record: u } = e, d = kr(), [p, g] = F.useState(!1), { total: m, remove: v } = ooe(), y = F.useCallback(() => {
26260
26260
  g(!1), v(a);
26261
- }, [a, v]), b = Be(
26261
+ }, [a, v]), b = Le(
26262
26262
  // @ts-ignore
26263
26263
  () => ({
26264
26264
  index: a,
@@ -26267,7 +26267,7 @@ const ioe = F.forwardRef((e, t) => {
26267
26267
  remove: () => v(a)
26268
26268
  }),
26269
26269
  [a, m, v, u]
26270
- ), w = Be(
26270
+ ), w = Le(
26271
26271
  () => Vt.map(n, (S) => Tn(S) && (S == null ? void 0 : S.type) === Hd && F.isValidElement(S) ? S : null),
26272
26272
  [n]
26273
26273
  );
@@ -26285,11 +26285,11 @@ const ioe = F.forwardRef((e, t) => {
26285
26285
  label: ""
26286
26286
  }) });
26287
26287
  }),
26288
- !o && /* @__PURE__ */ h(Ji, { children: /* @__PURE__ */ h(tt, { direction: "row", spacing: 1, justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ U(da, { horizontal: !0, children: [
26288
+ !o && /* @__PURE__ */ h(Ji, { children: /* @__PURE__ */ h(nt, { direction: "row", spacing: 1, justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ U(da, { horizontal: !0, children: [
26289
26289
  /* @__PURE__ */ h(vt, { onClick: () => g(!0), color: "error", sx: { justifyContent: "flex-start" }, children: d("ra.action.delete") }),
26290
26290
  w
26291
26291
  ] }) }) }),
26292
- o && w ? /* @__PURE__ */ h(Ji, { children: /* @__PURE__ */ h(tt, { direction: "row", spacing: 1, justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ h(da, { horizontal: !0, children: w }) }) }) : null,
26292
+ o && w ? /* @__PURE__ */ h(Ji, { children: /* @__PURE__ */ h(nt, { direction: "row", spacing: 1, justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ h(da, { horizontal: !0, children: w }) }) }) : null,
26293
26293
  n.length > 0 && /* @__PURE__ */ h(
26294
26294
  i0,
26295
26295
  {
@@ -26352,7 +26352,7 @@ function aoe(e) {
26352
26352
  }
26353
26353
  const oe = de(() => {
26354
26354
  P([]), b(!1);
26355
- }, [P]), ne = Be(
26355
+ }, [P]), ne = Le(
26356
26356
  () => ({
26357
26357
  total: w.length,
26358
26358
  remove: z,
@@ -26541,7 +26541,7 @@ function poe({ isHorizontal: e, setCurrentStep: t, stepFields: n }) {
26541
26541
  );
26542
26542
  }
26543
26543
  function hoe({ title: e, subheader: t, secondary: n, toolbar: r, progress: o, isSmall: a, modal: s, sx: c, setCurrentStep: u }) {
26544
- const { currentStep: d, steps: p } = Yv(), g = kr(), m = Qt(), v = a || s, y = Be(() => r ? Vt.toArray(r.props.children).find(
26544
+ const { currentStep: d, steps: p } = Yv(), g = kr(), m = Qt(), v = a || s, y = Le(() => r ? Vt.toArray(r.props.children).find(
26545
26545
  (w) => {
26546
26546
  var S;
26547
26547
  return Tn(w) && w.type === vt && ((S = w.props) == null ? void 0 : S.children) === g("ra.action.cancel");
@@ -26651,7 +26651,7 @@ function moe({
26651
26651
  ) }) });
26652
26652
  }
26653
26653
  function voe({ children: e }) {
26654
- return /* @__PURE__ */ h(rt, { children: e });
26654
+ return /* @__PURE__ */ h(tt, { children: e });
26655
26655
  }
26656
26656
  moe.Step = voe;
26657
26657
  function yoe(e, t) {
@@ -26711,7 +26711,7 @@ function xoe(e) {
26711
26711
  }, [m, v]), [b, w] = ke(!1), [S, P] = Dm(
26712
26712
  yoe,
26713
26713
  X.chain(boe).clone().merge({ drawer: { open: !c || m } }).value()
26714
- ), E = de(() => w(!1), []), O = Be(() => ({ state: S, dispatch: P }), [S, P]), { logoIcon: I, logoMain: M, enableNotification: k, notification: $ } = e;
26714
+ ), E = de(() => w(!1), []), O = Le(() => ({ state: S, dispatch: P }), [S, P]), { logoIcon: I, logoMain: M, enableNotification: k, notification: $ } = e;
26715
26715
  return Oe(() => {
26716
26716
  P({
26717
26717
  type: "updateMedia",
@@ -26940,7 +26940,7 @@ const Toe = se(Um, { shouldForwardProp: (e) => e !== "open" })(
26940
26940
  var Se = {}, em = { exports: {} };
26941
26941
  (function(e, t) {
26942
26942
  (function(n, r) {
26943
- var o = "1.0.39", a = "", s = "?", c = "function", u = "undefined", d = "object", p = "string", g = "major", m = "model", v = "name", y = "type", b = "vendor", w = "version", S = "architecture", P = "console", E = "mobile", O = "tablet", I = "smarttv", M = "wearable", k = "embedded", $ = 500, z = "Amazon", q = "Apple", N = "ASUS", oe = "BlackBerry", ne = "Browser", K = "Chrome", Y = "Edge", V = "Firefox", J = "Google", B = "Huawei", Q = "LG", L = "Microsoft", H = "Motorola", ae = "Opera", fe = "Samsung", ce = "Sharp", pe = "Sony", ge = "Xiaomi", Ae = "Zebra", be = "Facebook", ve = "Chromium OS", Ce = "Mac OS", Pe = " Browser", le = function($e, Ne) {
26943
+ var o = "1.0.39", a = "", s = "?", c = "function", u = "undefined", d = "object", p = "string", g = "major", m = "model", v = "name", y = "type", b = "vendor", w = "version", S = "architecture", P = "console", E = "mobile", O = "tablet", I = "smarttv", M = "wearable", k = "embedded", $ = 500, z = "Amazon", q = "Apple", N = "ASUS", oe = "BlackBerry", ne = "Browser", K = "Chrome", Y = "Edge", V = "Firefox", J = "Google", B = "Huawei", Q = "LG", L = "Microsoft", H = "Motorola", ae = "Opera", fe = "Samsung", ce = "Sharp", pe = "Sony", ge = "Xiaomi", Ae = "Zebra", xe = "Facebook", ve = "Chromium OS", Ce = "Mac OS", Pe = " Browser", le = function($e, Ne) {
26944
26944
  var Re = {};
26945
26945
  for (var ye in $e)
26946
26946
  Ne[ye] && Ne[ye].length % 2 === 0 ? Re[ye] = Ne[ye].concat($e[ye]) : Re[ye] = $e[ye];
@@ -26950,8 +26950,8 @@ var Se = {}, em = { exports: {} };
26950
26950
  Ne[$e[Re].toUpperCase()] = $e[Re];
26951
26951
  return Ne;
26952
26952
  }, he = function($e, Ne) {
26953
- return typeof $e === p ? nt(Ne).indexOf(nt($e)) !== -1 : !1;
26954
- }, nt = function($e) {
26953
+ return typeof $e === p ? rt(Ne).indexOf(rt($e)) !== -1 : !1;
26954
+ }, rt = function($e) {
26955
26955
  return $e.toLowerCase();
26956
26956
  }, dn = function($e) {
26957
26957
  return typeof $e === p ? $e.replace(/[^\d\.]/g, a).split(".")[0] : r;
@@ -26976,7 +26976,7 @@ var Se = {}, em = { exports: {} };
26976
26976
  } else if (he(Ne[Re], $e))
26977
26977
  return Re === s ? r : Re;
26978
26978
  return Ne.hasOwnProperty("*") ? Ne["*"] : $e;
26979
- }, _t = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, St = { 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" }, rn = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, w], [/opios[\/ ]+([\w\.]+)/i], [w, [v, ae + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [v, ae + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [v, ae]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [v, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [v, "UC" + ne]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [v, "Smart Lenovo " + ne]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + ne], w], [/\bfocus\/([\w\.]+)/i], [w, [v, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [v, ae + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [v, ae + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [v, "MIUI " + ne]], [/fxios\/([-\w\.]+)/i], [w, [v, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360" + Pe]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + Pe], w], [/samsungbrowser\/([\w\.]+)/i], [w, [v, fe + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, be], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [v, K + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, K + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [v, "Android " + ne]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [w, Kn, _t]], [/(webkit|khtml)\/([\w\.]+)/i], [v, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [v, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [v, V + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\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|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [v, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[S, "amd64"]], [/(ia32(?=;))/i], [[S, nt]], [/((?:i[346]|x)86)[;\)]/i], [[S, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/windows (ce|mobile); ppc;/i], [[S, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[S, /ower/, a, nt]], [/(sun4\w)[;\)]/i], [[S, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[S, nt]]], 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], [m, [b, fe], [y, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [m, [b, fe], [y, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [b, q], [y, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [b, q], [y, O]], [/(macintosh);/i], [m, [b, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [b, ce], [y, E]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [m, [b, B], [y, O]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [b, B], [y, E]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[m, /_/g, " "], [b, ge], [y, E]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[m, /_/g, " "], [b, ge], [y, O]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [b, "OPPO"], [y, E]], [/\b(opd2\d{3}a?) bui/i], [m, [b, "OPPO"], [y, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [b, "Vivo"], [y, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [b, "Realme"], [y, E]], [/\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], [m, [b, H], [y, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [b, H], [y, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [b, Q], [y, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [b, Q], [y, E]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [m, [b, "Lenovo"], [y, O]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[m, /_/g, " "], [b, "Nokia"], [y, E]], [/(pixel c)\b/i], [m, [b, J], [y, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [b, J], [y, E]], [/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], [m, [b, pe], [y, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [b, pe], [y, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [b, "OnePlus"], [y, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [b, z], [y, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [b, z], [y, E]], [/(playbook);[-\w\),; ]+(rim)/i], [m, b, [y, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [b, oe], [y, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [b, N], [y, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [b, N], [y, E]], [/(nexus 9)/i], [m, [b, "HTC"], [y, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [m, /_/g, " "], [y, E]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [m, [b, "TCL"], [y, O]], [/(itel) ((\w+))/i], [[b, nt], m, [y, Kn, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [b, "Acer"], [y, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [b, "Meizu"], [y, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [b, "Ulefone"], [y, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [b, "Nothing"], [y, E]], [/(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, m, [y, E]], [/(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, m, [y, O]], [/(surface duo)/i], [m, [b, L], [y, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [b, "Fairphone"], [y, E]], [/(u304aa)/i], [m, [b, "AT&T"], [y, E]], [/\bsie-(\w*)/i], [m, [b, "Siemens"], [y, E]], [/\b(rct\w+) b/i], [m, [b, "RCA"], [y, O]], [/\b(venue[\d ]{2,7}) b/i], [m, [b, "Dell"], [y, O]], [/\b(q(?:mv|ta)\w+) b/i], [m, [b, "Verizon"], [y, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [b, "Barnes & Noble"], [y, O]], [/\b(tm\d{3}\w+) b/i], [m, [b, "NuVision"], [y, O]], [/\b(k88) b/i], [m, [b, "ZTE"], [y, O]], [/\b(nx\d{3}j) b/i], [m, [b, "ZTE"], [y, E]], [/\b(gen\d{3}) b.+49h/i], [m, [b, "Swiss"], [y, E]], [/\b(zur\d{3}) b/i], [m, [b, "Swiss"], [y, O]], [/\b((zeki)?tb.*\b) b/i], [m, [b, "Zeki"], [y, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], m, [y, O]], [/\b(ns-?\w{0,9}) b/i], [m, [b, "Insignia"], [y, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [b, "NextBook"], [y, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], m, [y, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], m, [y, E]], [/\b(ph-1) /i], [m, [b, "Essential"], [y, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [b, "Envizen"], [y, O]], [/\b(trio[-\w\. ]+) b/i], [m, [b, "MachSpeed"], [y, O]], [/\btu_(1491) b/i], [m, [b, "Rotor"], [y, O]], [/(shield[\w ]+) b/i], [m, [b, "Nvidia"], [y, O]], [/(sprint) (\w+)/i], [b, m, [y, E]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [b, L], [y, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [b, Ae], [y, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [b, Ae], [y, E]], [/smart-tv.+(samsung)/i], [b, [y, I]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [b, fe], [y, I]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, Q], [y, I]], [/(apple) ?tv/i], [b, [m, q + " TV"], [y, I]], [/crkey/i], [[m, K + "cast"], [b, J], [y, I]], [/droid.+aft(\w+)( bui|\))/i], [m, [b, z], [y, I]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [b, ce], [y, I]], [/(bravia[\w ]+)( bui|\))/i], [m, [b, pe], [y, I]], [/(mitv-\w{5}) bui/i], [m, [b, ge], [y, I]], [/Hbbtv.*(technisat) (.*);/i], [b, m, [y, I]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, kt], [m, kt], [y, I]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[y, I]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, m, [y, P]], [/droid.+; (shield) bui/i], [m, [b, "Nvidia"], [y, P]], [/(playstation [345portablevi]+)/i], [m, [b, pe], [y, P]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [b, L], [y, P]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [m, [b, fe], [y, M]], [/((pebble))app/i], [b, m, [y, M]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [b, q], [y, M]], [/droid.+; (glass) \d/i], [m, [b, J], [y, M]], [/droid.+; (wt63?0{2,3})\)/i], [m, [b, Ae], [y, M]], [/(quest( \d| pro)?)/i], [m, [b, be], [y, M]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [y, k]], [/(aeobc)\b/i], [m, [b, z], [y, k]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [y, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [y, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[y, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[y, E]], [/(android[-\w\. ]{0,9});.+buil/i], [m, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [v, Y + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [w, Kn, St]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, Kn, St], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, Ce], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, w], [/\(bb(10);/i], [w, [v, oe]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [v, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [v, K + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, ve], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, w], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, w]] }, Et = function($e, Ne) {
26979
+ }, _t = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, St = { 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" }, rn = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, w], [/opios[\/ ]+([\w\.]+)/i], [w, [v, ae + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [v, ae + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [v, ae]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [v, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [v, "UC" + ne]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [v, "Smart Lenovo " + ne]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + ne], w], [/\bfocus\/([\w\.]+)/i], [w, [v, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [v, ae + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [v, ae + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [v, "MIUI " + ne]], [/fxios\/([-\w\.]+)/i], [w, [v, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360" + Pe]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + Pe], w], [/samsungbrowser\/([\w\.]+)/i], [w, [v, fe + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, xe], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [v, K + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, K + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [v, "Android " + ne]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [w, Kn, _t]], [/(webkit|khtml)\/([\w\.]+)/i], [v, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [v, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [v, V + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\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|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [v, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[S, "amd64"]], [/(ia32(?=;))/i], [[S, rt]], [/((?:i[346]|x)86)[;\)]/i], [[S, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/windows (ce|mobile); ppc;/i], [[S, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[S, /ower/, a, rt]], [/(sun4\w)[;\)]/i], [[S, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[S, rt]]], 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], [m, [b, fe], [y, O]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [m, [b, fe], [y, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [m, [b, q], [y, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [m, [b, q], [y, O]], [/(macintosh);/i], [m, [b, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [m, [b, ce], [y, E]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [m, [b, B], [y, O]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [m, [b, B], [y, E]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[m, /_/g, " "], [b, ge], [y, E]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[m, /_/g, " "], [b, ge], [y, O]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [m, [b, "OPPO"], [y, E]], [/\b(opd2\d{3}a?) bui/i], [m, [b, "OPPO"], [y, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [m, [b, "Vivo"], [y, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [m, [b, "Realme"], [y, E]], [/\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], [m, [b, H], [y, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [m, [b, H], [y, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [m, [b, Q], [y, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [m, [b, Q], [y, E]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [m, [b, "Lenovo"], [y, O]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[m, /_/g, " "], [b, "Nokia"], [y, E]], [/(pixel c)\b/i], [m, [b, J], [y, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [m, [b, J], [y, E]], [/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], [m, [b, pe], [y, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[m, "Xperia Tablet"], [b, pe], [y, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [m, [b, "OnePlus"], [y, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [m, [b, z], [y, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[m, /(.+)/g, "Fire Phone $1"], [b, z], [y, E]], [/(playbook);[-\w\),; ]+(rim)/i], [m, b, [y, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [m, [b, oe], [y, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [m, [b, N], [y, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [m, [b, N], [y, E]], [/(nexus 9)/i], [m, [b, "HTC"], [y, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [b, [m, /_/g, " "], [y, E]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [m, [b, "TCL"], [y, O]], [/(itel) ((\w+))/i], [[b, rt], m, [y, Kn, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [m, [b, "Acer"], [y, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [m, [b, "Meizu"], [y, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [m, [b, "Ulefone"], [y, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [m, [b, "Nothing"], [y, E]], [/(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, m, [y, E]], [/(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, m, [y, O]], [/(surface duo)/i], [m, [b, L], [y, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [m, [b, "Fairphone"], [y, E]], [/(u304aa)/i], [m, [b, "AT&T"], [y, E]], [/\bsie-(\w*)/i], [m, [b, "Siemens"], [y, E]], [/\b(rct\w+) b/i], [m, [b, "RCA"], [y, O]], [/\b(venue[\d ]{2,7}) b/i], [m, [b, "Dell"], [y, O]], [/\b(q(?:mv|ta)\w+) b/i], [m, [b, "Verizon"], [y, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [m, [b, "Barnes & Noble"], [y, O]], [/\b(tm\d{3}\w+) b/i], [m, [b, "NuVision"], [y, O]], [/\b(k88) b/i], [m, [b, "ZTE"], [y, O]], [/\b(nx\d{3}j) b/i], [m, [b, "ZTE"], [y, E]], [/\b(gen\d{3}) b.+49h/i], [m, [b, "Swiss"], [y, E]], [/\b(zur\d{3}) b/i], [m, [b, "Swiss"], [y, O]], [/\b((zeki)?tb.*\b) b/i], [m, [b, "Zeki"], [y, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[b, "Dragon Touch"], m, [y, O]], [/\b(ns-?\w{0,9}) b/i], [m, [b, "Insignia"], [y, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [m, [b, "NextBook"], [y, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[b, "Voice"], m, [y, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[b, "LvTel"], m, [y, E]], [/\b(ph-1) /i], [m, [b, "Essential"], [y, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [m, [b, "Envizen"], [y, O]], [/\b(trio[-\w\. ]+) b/i], [m, [b, "MachSpeed"], [y, O]], [/\btu_(1491) b/i], [m, [b, "Rotor"], [y, O]], [/(shield[\w ]+) b/i], [m, [b, "Nvidia"], [y, O]], [/(sprint) (\w+)/i], [b, m, [y, E]], [/(kin\.[onetw]{3})/i], [[m, /\./g, " "], [b, L], [y, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [m, [b, Ae], [y, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [m, [b, Ae], [y, E]], [/smart-tv.+(samsung)/i], [b, [y, I]], [/hbbtv.+maple;(\d+)/i], [[m, /^/, "SmartTV"], [b, fe], [y, I]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[b, Q], [y, I]], [/(apple) ?tv/i], [b, [m, q + " TV"], [y, I]], [/crkey/i], [[m, K + "cast"], [b, J], [y, I]], [/droid.+aft(\w+)( bui|\))/i], [m, [b, z], [y, I]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [m, [b, ce], [y, I]], [/(bravia[\w ]+)( bui|\))/i], [m, [b, pe], [y, I]], [/(mitv-\w{5}) bui/i], [m, [b, ge], [y, I]], [/Hbbtv.*(technisat) (.*);/i], [b, m, [y, I]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[b, kt], [m, kt], [y, I]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[y, I]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [b, m, [y, P]], [/droid.+; (shield) bui/i], [m, [b, "Nvidia"], [y, P]], [/(playstation [345portablevi]+)/i], [m, [b, pe], [y, P]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [m, [b, L], [y, P]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [m, [b, fe], [y, M]], [/((pebble))app/i], [b, m, [y, M]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [m, [b, q], [y, M]], [/droid.+; (glass) \d/i], [m, [b, J], [y, M]], [/droid.+; (wt63?0{2,3})\)/i], [m, [b, Ae], [y, M]], [/(quest( \d| pro)?)/i], [m, [b, xe], [y, M]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [b, [y, k]], [/(aeobc)\b/i], [m, [b, z], [y, k]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [m, [y, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [m, [y, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[y, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[y, E]], [/(android[-\w\. ]{0,9});.+buil/i], [m, [b, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [v, Y + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [w, Kn, St]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, Kn, St], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, Ce], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, w], [/\(bb(10);/i], [w, [v, oe]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [v, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [v, K + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, ve], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, w], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, w]] }, Et = function($e, Ne) {
26980
26980
  if (typeof $e === d && (Ne = $e, $e = r), !(this instanceof Et))
26981
26981
  return new Et($e, Ne).getResult();
26982
26982
  var Re = typeof n !== u && n.navigator ? n.navigator : r, ye = $e || (Re && Re.userAgent ? Re.userAgent : a), xt = Re && Re.userAgentData ? Re.userAgentData : r, Kt = Ne ? le(rn, Ne) : rn, je = Re && Re.userAgent == ye;
@@ -27023,7 +27023,7 @@ Object.defineProperty(Se, "__esModule", { value: !0 });
27023
27023
  function Poe(e) {
27024
27024
  return e && typeof e == "object" && "default" in e ? e.default : e;
27025
27025
  }
27026
- var yn = xe, wt = Poe(yn), YT = Ooe, Oi = new YT(), xn = Oi.getBrowser(), Roe = Oi.getCPU(), ur = Oi.getDevice(), Xv = Oi.getEngine(), Pi = Oi.getOS(), yc = Oi.getUA(), KT = function(t) {
27026
+ var yn = be, wt = Poe(yn), YT = Ooe, Oi = new YT(), xn = Oi.getBrowser(), Roe = Oi.getCPU(), ur = Oi.getDevice(), Xv = Oi.getEngine(), Pi = Oi.getOS(), yc = Oi.getUA(), KT = function(t) {
27027
27027
  return Oi.setUA(t);
27028
27028
  }, bc = function(t) {
27029
27029
  if (!t) {
@@ -28270,13 +28270,13 @@ const Eae = se(qie)({
28270
28270
  }
28271
28271
  }));
28272
28272
  function Tae({ children: e, sx: t, ...n }) {
28273
- return /* @__PURE__ */ U(rt, { children: [
28273
+ return /* @__PURE__ */ U(tt, { children: [
28274
28274
  /* @__PURE__ */ h(Eae, { children: /* @__PURE__ */ h(Iae, { timeout: 500, clickOnTrack: !1, sx: t, ...n, children: e }) }),
28275
28275
  /* @__PURE__ */ h(Yie, { children: /* @__PURE__ */ h(Ee, { sx: { overflowX: "auto", ...t }, ...n, children: e }) })
28276
28276
  ] });
28277
28277
  }
28278
28278
  function Oae(e) {
28279
- const t = Qt(), n = yo(e, { flexShrink: { md: 0 }, zIndex: 1200 }), { downLg: r } = Br(), { open: o, handleDrawerToggle: a, width: s } = _s(), c = r ? Um : Toe, u = document.body, d = Be(() => r ? {
28279
+ const t = Qt(), n = yo(e, { flexShrink: { md: 0 }, zIndex: 1200 }), { downLg: r } = Br(), { open: o, handleDrawerToggle: a, width: s } = _s(), c = r ? Um : Toe, u = document.body, d = Le(() => r ? {
28280
28280
  container: u,
28281
28281
  variant: "temporary",
28282
28282
  onClose: a,
@@ -28312,7 +28312,7 @@ function Oae(e) {
28312
28312
  function tP(e) {
28313
28313
  const { name: t, version: n, copy: r = "&copy; Applica Software Guru for" } = e;
28314
28314
  return /* @__PURE__ */ h(
28315
- tt,
28315
+ nt,
28316
28316
  {
28317
28317
  direction: "row",
28318
28318
  justifyContent: "space-between",
@@ -28393,8 +28393,8 @@ function Mae({ onClick: e = void 0 }) {
28393
28393
  }
28394
28394
  s(d), r();
28395
28395
  }
28396
- return /* @__PURE__ */ U(rt, { children: [
28397
- /* @__PURE__ */ h(Rae, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ U(tt, { direction: "row", spacing: 0.5, children: [
28396
+ return /* @__PURE__ */ U(tt, { children: [
28397
+ /* @__PURE__ */ h(Rae, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ U(nt, { direction: "row", spacing: 0.5, children: [
28398
28398
  /* @__PURE__ */ h(ue, { variant: "body1", children: a.toUpperCase() }),
28399
28399
  t ? /* @__PURE__ */ h(p8, {}) : /* @__PURE__ */ h(h8, {})
28400
28400
  ] }) }),
@@ -28454,7 +28454,7 @@ function Dae(e) {
28454
28454
  c("resources.notifications.messages.readed.error", "warning");
28455
28455
  }
28456
28456
  }
28457
- ), p = de(() => d(), [d]), [g] = Gl(), m = Be(() => Xr(n.created).locale(g).fromNow(), [n, g]);
28457
+ ), p = de(() => d(), [d]), [g] = Gl(), m = Le(() => Xr(n.created).locale(g).fromNow(), [n, g]);
28458
28458
  return /* @__PURE__ */ h(Tl, { disablePadding: !0, divider: a, children: /* @__PURE__ */ U(Nn, { selected: o, onClick: p, children: [
28459
28459
  /* @__PURE__ */ h(gA, { children: /* @__PURE__ */ h(
28460
28460
  og,
@@ -28535,7 +28535,7 @@ function Nae() {
28535
28535
  ), S = de(() => {
28536
28536
  w();
28537
28537
  }, [w]);
28538
- return /* @__PURE__ */ U(rt, { children: [
28538
+ return /* @__PURE__ */ U(tt, { children: [
28539
28539
  /* @__PURE__ */ h(xc, { value: "notifications", selected: g, onChange: y, children: /* @__PURE__ */ h(hA, { badgeContent: p, color: "primary", children: /* @__PURE__ */ h(y8, {}) }) }),
28540
28540
  /* @__PURE__ */ h(
28541
28541
  tf,
@@ -28569,7 +28569,7 @@ function Nae() {
28569
28569
  elevation: 0,
28570
28570
  border: !1,
28571
28571
  content: !1,
28572
- secondary: /* @__PURE__ */ h(rt, { children: p > 0 && /* @__PURE__ */ h(Ul, { title: e("ra.notification.mark-as-read"), onClick: S, children: /* @__PURE__ */ h(J0, { color: "success", size: "small", children: /* @__PURE__ */ h(b8, { style: { fontSize: "1.15rem" } }) }) }) }),
28572
+ secondary: /* @__PURE__ */ h(tt, { children: p > 0 && /* @__PURE__ */ h(Ul, { title: e("ra.notification.mark-as-read"), onClick: S, children: /* @__PURE__ */ h(J0, { color: "success", size: "small", children: /* @__PURE__ */ h(b8, { style: { fontSize: "1.15rem" } }) }) }) }),
28573
28573
  children: [
28574
28574
  /* @__PURE__ */ h(
28575
28575
  co,
@@ -28626,7 +28626,7 @@ function Nae() {
28626
28626
  }
28627
28627
  function Vae() {
28628
28628
  const [e, t] = ke(!1), n = de(() => t(!1), [t]), r = de(() => t(!0), [t]), o = Ue();
28629
- return /* @__PURE__ */ U(rt, { children: [
28629
+ return /* @__PURE__ */ U(tt, { children: [
28630
28630
  /* @__PURE__ */ U(Nn, { onClick: r, children: [
28631
28631
  /* @__PURE__ */ h(qr, { children: /* @__PURE__ */ h(F8, {}) }),
28632
28632
  /* @__PURE__ */ h(zn, { primary: o("ra.auth.change_password") })
@@ -28636,7 +28636,7 @@ function Vae() {
28636
28636
  }
28637
28637
  function Wae() {
28638
28638
  const e = SA(), t = Ue();
28639
- return /* @__PURE__ */ h(rt, { children: /* @__PURE__ */ U(Nn, { onClick: e, children: [
28639
+ return /* @__PURE__ */ h(tt, { children: /* @__PURE__ */ U(Nn, { onClick: e, children: [
28640
28640
  /* @__PURE__ */ h(qr, { children: /* @__PURE__ */ h(xA, {}) }),
28641
28641
  /* @__PURE__ */ h(zn, { primary: t("ra.auth.logout") })
28642
28642
  ] }) });
@@ -28652,64 +28652,69 @@ function jae() {
28652
28652
  return;
28653
28653
  }
28654
28654
  t.isImpersonating().then((a) => o(a));
28655
- }, [t, o]), r ? /* @__PURE__ */ h(rt, { children: /* @__PURE__ */ U(Nn, { onClick: n, children: [
28655
+ }, [t, o]), r ? /* @__PURE__ */ h(tt, { children: /* @__PURE__ */ U(Nn, { onClick: n, children: [
28656
28656
  /* @__PURE__ */ h(qr, { children: /* @__PURE__ */ h(xA, {}) }),
28657
28657
  /* @__PURE__ */ h(zn, { primary: e("ra.auth.stop_impersonate") })
28658
28658
  ] }) }) : null;
28659
28659
  }
28660
- function zae() {
28661
- var m;
28662
- const e = Qt(), t = EA(), { identity: n } = nf(), r = n !== void 0 && n.image && n.image !== null && n.image !== "", [o, a] = ke(null), { open: s, anchorEl: c, handleToggle: u, handleClose: d } = gc(), p = SA(), g = de(() => {
28663
- p();
28664
- }, [p]);
28665
- return Oe(() => {
28666
- r && t.getFile("/profile/me/image").then((v) => a(v));
28667
- }, [t, r]), /* @__PURE__ */ U(rt, { children: [
28668
- /* @__PURE__ */ h(xc, { sx: { p: 0.25, width: "auto" }, onClick: u, value: "profile", selected: s, children: /* @__PURE__ */ U(tt, { direction: "row", spacing: 2, alignItems: "center", sx: { p: 0.5 }, children: [
28669
- /* @__PURE__ */ h(Pg, { alt: (m = n == null ? void 0 : n.name) == null ? void 0 : m.toUpperCase(), src: o, size: "xs" }),
28670
- /* @__PURE__ */ h(ue, { variant: "subtitle1", children: n == null ? void 0 : n.name })
28660
+ function zae(e) {
28661
+ var b;
28662
+ const { roles: t } = e, n = Qt(), r = EA(), { identity: o } = nf(), a = o !== void 0 && o.image && o.image !== null && o.image !== "", [s, c] = ke(null), { open: u, anchorEl: d, handleToggle: p, handleClose: g } = gc(), m = SA(), v = de(() => {
28663
+ m();
28664
+ }, [m]);
28665
+ Oe(() => {
28666
+ a && r.getFile("/profile/me/image").then((w) => c(w));
28667
+ }, [r, a]);
28668
+ const y = Le(
28669
+ () => {
28670
+ var w;
28671
+ return be.isValidElement(t) ? t : t ? /* @__PURE__ */ h(tt, { children: t }) : (w = o == null ? void 0 : o.roles) == null ? void 0 : w.map((S) => S.name.replace("ROLE_", "")).join(",");
28672
+ },
28673
+ [t, o]
28674
+ );
28675
+ return /* @__PURE__ */ U(tt, { children: [
28676
+ /* @__PURE__ */ h(xc, { sx: { p: 0.25, width: "auto" }, onClick: p, value: "profile", selected: u, children: /* @__PURE__ */ U(nt, { direction: "row", spacing: 2, alignItems: "center", sx: { p: 0.5 }, children: [
28677
+ /* @__PURE__ */ h(Pg, { alt: (b = o == null ? void 0 : o.name) == null ? void 0 : b.toUpperCase(), src: s, size: "xs" }),
28678
+ /* @__PURE__ */ h(ue, { variant: "subtitle1", children: o == null ? void 0 : o.name })
28671
28679
  ] }) }),
28672
- /* @__PURE__ */ h(sv, { placement: "bottom-end", open: s, anchorEl: c, role: void 0, transition: !0, disablePortal: !0, children: ({ TransitionProps: v }) => {
28673
- var y;
28674
- return /* @__PURE__ */ h(ua, { type: "grow", position: "top-right", in: s, ...v, children: /* @__PURE__ */ h(
28675
- gi,
28676
- {
28677
- sx: {
28678
- // @ts-ignore
28679
- boxShadow: e.customShadows.z1,
28680
- width: 290,
28681
- minWidth: 240,
28682
- maxWidth: 290,
28683
- [e.breakpoints.down("md")]: {
28684
- maxWidth: 250
28685
- },
28686
- marginTop: 1
28680
+ /* @__PURE__ */ h(sv, { placement: "bottom-end", open: u, anchorEl: d, role: void 0, transition: !0, disablePortal: !0, children: ({ TransitionProps: w }) => /* @__PURE__ */ h(ua, { type: "grow", position: "top-right", in: u, ...w, children: /* @__PURE__ */ h(
28681
+ gi,
28682
+ {
28683
+ sx: {
28684
+ // @ts-ignore
28685
+ boxShadow: n.customShadows.z1,
28686
+ width: 290,
28687
+ minWidth: 240,
28688
+ maxWidth: 290,
28689
+ [n.breakpoints.down("md")]: {
28690
+ maxWidth: 250
28687
28691
  },
28688
- children: /* @__PURE__ */ h(sa, { onClickAway: d, children: /* @__PURE__ */ U(ar, { elevation: 0, border: !1, content: !1, children: [
28689
- /* @__PURE__ */ h(Bm, { sx: { px: 2.5, pt: 3 }, children: /* @__PURE__ */ U(Te, { container: !0, justifyContent: "space-between", alignItems: "center", children: [
28690
- /* @__PURE__ */ h(Te, { item: !0, children: /* @__PURE__ */ U(tt, { direction: "row", spacing: 1.25, alignItems: "center", children: [
28691
- /* @__PURE__ */ h(Pg, { alt: "profile user", src: o, sx: { width: 32, height: 32 } }),
28692
- /* @__PURE__ */ U(tt, { children: [
28693
- /* @__PURE__ */ h(ue, { variant: "h6", children: n == null ? void 0 : n.name }),
28694
- /* @__PURE__ */ h(ue, { variant: "body2", color: "textSecondary", children: (y = n == null ? void 0 : n.roles) == null ? void 0 : y.map((b) => b.name.replace("ROLE_", "")).join(",") })
28695
- ] })
28696
- ] }) }),
28697
- /* @__PURE__ */ h(Te, { item: !0, children: /* @__PURE__ */ h(Ul, { title: "Logout", children: /* @__PURE__ */ h(J0, { size: "large", sx: { color: "text.primary" }, onClick: g, children: /* @__PURE__ */ h(x8, {}) }) }) })
28692
+ marginTop: 1
28693
+ },
28694
+ children: /* @__PURE__ */ h(sa, { onClickAway: g, children: /* @__PURE__ */ U(ar, { elevation: 0, border: !1, content: !1, children: [
28695
+ /* @__PURE__ */ h(Bm, { sx: { px: 2.5, pt: 3 }, children: /* @__PURE__ */ U(Te, { container: !0, justifyContent: "space-between", alignItems: "center", children: [
28696
+ /* @__PURE__ */ h(Te, { item: !0, children: /* @__PURE__ */ U(nt, { direction: "row", spacing: 1.25, alignItems: "center", children: [
28697
+ /* @__PURE__ */ h(Pg, { alt: "profile user", src: s, sx: { width: 32, height: 32 } }),
28698
+ /* @__PURE__ */ U(nt, { children: [
28699
+ /* @__PURE__ */ h(ue, { variant: "h6", children: o == null ? void 0 : o.name }),
28700
+ /* @__PURE__ */ h(ue, { variant: "body2", color: "textSecondary", children: y })
28701
+ ] })
28698
28702
  ] }) }),
28699
- /* @__PURE__ */ h(Te, { container: !0, children: /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(co, { component: "nav", sx: { p: 0, "& .MuiListItemIcon-root": { minWidth: 32 } }, children: [
28700
- /* @__PURE__ */ h(Vae, {}),
28701
- /* @__PURE__ */ h(Wae, {}),
28702
- /* @__PURE__ */ h(jae, {})
28703
- ] }) }) })
28704
- ] }) })
28705
- }
28706
- ) });
28707
- } })
28703
+ /* @__PURE__ */ h(Te, { item: !0, children: /* @__PURE__ */ h(Ul, { title: "Logout", children: /* @__PURE__ */ h(J0, { size: "large", sx: { color: "text.primary" }, onClick: v, children: /* @__PURE__ */ h(x8, {}) }) }) })
28704
+ ] }) }),
28705
+ /* @__PURE__ */ h(Te, { container: !0, children: /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(co, { component: "nav", sx: { p: 0, "& .MuiListItemIcon-root": { minWidth: 32 } }, children: [
28706
+ /* @__PURE__ */ h(Vae, {}),
28707
+ /* @__PURE__ */ h(Wae, {}),
28708
+ /* @__PURE__ */ h(jae, {})
28709
+ ] }) }) })
28710
+ ] }) })
28711
+ }
28712
+ ) }) })
28708
28713
  ] });
28709
28714
  }
28710
28715
  function Uae(e) {
28711
28716
  const t = jt(), { downMd: n } = Br(), { open: r, anchorEl: o, handleToggle: a, handleClose: s } = gc();
28712
- return n ? /* @__PURE__ */ U(rt, { children: [
28717
+ return n ? /* @__PURE__ */ U(tt, { children: [
28713
28718
  /* @__PURE__ */ h(
28714
28719
  xc,
28715
28720
  {
@@ -28748,7 +28753,7 @@ function Uae(e) {
28748
28753
  )
28749
28754
  }
28750
28755
  )
28751
- ] }) : /* @__PURE__ */ h(rt, { children: e.children });
28756
+ ] }) : /* @__PURE__ */ h(tt, { children: e.children });
28752
28757
  }
28753
28758
  function Hae(e) {
28754
28759
  return /* @__PURE__ */ h(Ee, { ...e, flex: 1 });
@@ -28792,7 +28797,7 @@ function od({ item: e, level: t }) {
28792
28797
  y.endsWith(e.url) && c([e.id]);
28793
28798
  }, [y]);
28794
28799
  const b = n.palette.mode === "dark" ? "grey.400" : "text.primary", w = n.palette.mode === "dark" && a ? "text.primary" : "primary.main";
28795
- return /* @__PURE__ */ h(rt, { children: r ? /* @__PURE__ */ U(
28800
+ return /* @__PURE__ */ h(tt, { children: r ? /* @__PURE__ */ U(
28796
28801
  Nn,
28797
28802
  {
28798
28803
  ...p,
@@ -29022,7 +29027,7 @@ function id({
29022
29027
  function I() {
29023
29028
  v(!1), b(null), S(null);
29024
29029
  }
29025
- Be(() => {
29030
+ Le(() => {
29026
29031
  y === o ? t === 1 && v(!0) : t === s && (v(!1), b(null));
29027
29032
  }, [o, t, y, s]);
29028
29033
  const { pathname: M } = Hl(), k = !!w;
@@ -29066,7 +29071,7 @@ function id({
29066
29071
  alignItems: "center",
29067
29072
  width: "100%"
29068
29073
  };
29069
- return /* @__PURE__ */ h(rt, { children: d ? /* @__PURE__ */ h(rt, { children: /* @__PURE__ */ U(
29074
+ return /* @__PURE__ */ h(tt, { children: d ? /* @__PURE__ */ h(tt, { children: /* @__PURE__ */ U(
29070
29075
  Nn,
29071
29076
  {
29072
29077
  id: `boundary-${V}`,
@@ -29152,7 +29157,7 @@ function id({
29152
29157
  ) : null
29153
29158
  ]
29154
29159
  }
29155
- ) }) : /* @__PURE__ */ U(rt, { children: [
29160
+ ) }) : /* @__PURE__ */ U(tt, { children: [
29156
29161
  /* @__PURE__ */ U(
29157
29162
  Nn,
29158
29163
  {
@@ -29407,7 +29412,7 @@ function Kae({
29407
29412
  return /* @__PURE__ */ h(ue, { variant: "h6", color: "error", align: "center", children: "Menu Items Error" }, B.id);
29408
29413
  }
29409
29414
  }), Y = I ? `group-pop-${e.id}` : void 0;
29410
- return /* @__PURE__ */ h(rt, { children: g ? /* @__PURE__ */ h(co, { children: /* @__PURE__ */ U(
29415
+ return /* @__PURE__ */ h(tt, { children: g ? /* @__PURE__ */ h(co, { children: /* @__PURE__ */ U(
29411
29416
  Nn,
29412
29417
  {
29413
29418
  selected: b === E.id,
@@ -29701,7 +29706,7 @@ function ase(e) {
29701
29706
  const { sx: t } = e;
29702
29707
  return /* @__PURE__ */ U(Ee, { children: [
29703
29708
  /* @__PURE__ */ h(
29704
- tt,
29709
+ nt,
29705
29710
  {
29706
29711
  alignItems: "center",
29707
29712
  bgcolor: "background.paper",
@@ -29783,7 +29788,7 @@ function gde(e) {
29783
29788
  return (t) => /* @__PURE__ */ h(lA, { fallback: /* @__PURE__ */ h(hse, {}), children: /* @__PURE__ */ h(e, { ...t }) });
29784
29789
  }
29785
29790
  function rP({ title: e }) {
29786
- return /* @__PURE__ */ U(tt, { direction: "row", children: [
29791
+ return /* @__PURE__ */ U(nt, { direction: "row", children: [
29787
29792
  /* @__PURE__ */ h(ue, { variant: "h2", sx: { fontWeight: "regular", letterSpacing: -2.5 }, children: "a." }),
29788
29793
  " ",
29789
29794
  /* @__PURE__ */ h(ue, { variant: "h2", sx: { fontWeight: "bold" }, children: e })
@@ -29910,7 +29915,7 @@ function mde(e) {
29910
29915
  currentStep: 0,
29911
29916
  onComplete: () => {
29912
29917
  }
29913
- }), c = Be(() => ({ state: a, dispatch: s }), [a, s]);
29918
+ }), c = Le(() => ({ state: a, dispatch: s }), [a, s]);
29914
29919
  return Oe(() => {
29915
29920
  s({ type: "SET_SHOW", payload: r });
29916
29921
  }, [r, s]), Oe(() => {
@@ -29974,7 +29979,7 @@ function Ise(e) {
29974
29979
  ...u,
29975
29980
  arrow: !0,
29976
29981
  open: c,
29977
- title: /* @__PURE__ */ U(tt, { gap: 1, children: [
29982
+ title: /* @__PURE__ */ U(nt, { gap: 1, children: [
29978
29983
  /* @__PURE__ */ h(ue, { children: r }),
29979
29984
  /* @__PURE__ */ h(vt, { onClick: s, variant: "text", color: "primary", size: "small", children: "Got it!" })
29980
29985
  ] }),
@@ -30041,7 +30046,7 @@ function Ose({ nextIconButtonProps: e, backIconButtonProps: t, slotProps: n, ...
30041
30046
  return r;
30042
30047
  }
30043
30048
  const lP = Lm((e) => {
30044
- const { rowsPerPageOptions: t = Pse, actions: n, limit: r = null, ...o } = e, { isLoading: a, hasNextPage: s, page: c, perPage: u, total: d, setPage: p, setPerPage: g } = a9(e), m = Ue(), v = Pn(($) => $.breakpoints.down("md")), [y, b] = ke(c - 1), { hasCreate: w } = IA(e), S = Be(() => d != null ? Math.ceil(d / u) : void 0, [u, d]), P = de(
30049
+ const { rowsPerPageOptions: t = Pse, actions: n, limit: r = null, ...o } = e, { isLoading: a, hasNextPage: s, page: c, perPage: u, total: d, setPage: p, setPerPage: g } = a9(e), m = Ue(), v = Pn(($) => $.breakpoints.down("md")), [y, b] = ke(c - 1), { hasCreate: w } = IA(e), S = Le(() => d != null ? Math.ceil(d / u) : void 0, [u, d]), P = de(
30045
30050
  Ze.debounce(($) => {
30046
30051
  p($ + 1);
30047
30052
  }, 500),
@@ -30147,7 +30152,7 @@ function Mse({ children: e }) {
30147
30152
  left: 0,
30148
30153
  behavior: "smooth"
30149
30154
  });
30150
- }, [n]), /* @__PURE__ */ h(rt, { children: e });
30155
+ }, [n]), /* @__PURE__ */ h(tt, { children: e });
30151
30156
  }
30152
30157
  const bde = se("div")({
30153
30158
  width: "100%",
@@ -30207,7 +30212,7 @@ function _se(e) {
30207
30212
  function q(N) {
30208
30213
  M(), typeof u == "function" && u(N);
30209
30214
  }
30210
- return /* @__PURE__ */ U(rt, { children: [
30215
+ return /* @__PURE__ */ U(tt, { children: [
30211
30216
  /* @__PURE__ */ h(Lse, { onClick: $, label: a, ...Fse(g), children: o }),
30212
30217
  /* @__PURE__ */ h(
30213
30218
  i0,
@@ -30473,7 +30478,7 @@ function wde(e) {
30473
30478
  },
30474
30479
  [S, b, e.mutationOptions, d, p]
30475
30480
  );
30476
- return /* @__PURE__ */ U(rt, { children: [
30481
+ return /* @__PURE__ */ U(tt, { children: [
30477
30482
  /* @__PURE__ */ h(Xse, { ...u, onClick: w }),
30478
30483
  /* @__PURE__ */ h(
30479
30484
  xi,
@@ -30492,7 +30497,7 @@ function wde(e) {
30492
30497
  ...s,
30493
30498
  onSuccess: P
30494
30499
  },
30495
- children: xe.isValidElement(m) ? xe.cloneElement(m, {
30500
+ children: be.isValidElement(m) ? be.cloneElement(m, {
30496
30501
  ...m.props,
30497
30502
  modal: !0,
30498
30503
  toolbar: /* @__PURE__ */ U(xa, { children: [
@@ -30555,7 +30560,7 @@ function Ade(e) {
30555
30560
  },
30556
30561
  [y, d, e.mutationOptions, e.mutationMode]
30557
30562
  ), w = Cs();
30558
- return /* @__PURE__ */ U(rt, { children: [
30563
+ return /* @__PURE__ */ U(tt, { children: [
30559
30564
  /* @__PURE__ */ h(Qse, { ...u, onClick: v }),
30560
30565
  /* @__PURE__ */ h(
30561
30566
  xi,
@@ -30577,7 +30582,7 @@ function Ade(e) {
30577
30582
  ...a,
30578
30583
  onSuccess: b
30579
30584
  },
30580
- children: xe.isValidElement(m) ? xe.cloneElement(m, {
30585
+ children: be.isValidElement(m) ? be.cloneElement(m, {
30581
30586
  ...m.props,
30582
30587
  modal: !0,
30583
30588
  toolbar: /* @__PURE__ */ U(xa, { children: [
@@ -30638,7 +30643,7 @@ function Ede({
30638
30643
  }) {
30639
30644
  const { getCurrentDialog: m } = zv(), v = Ci(g), y = m(), b = Cs(), w = r || b, S = Ze.get(w, e || "");
30640
30645
  return /* @__PURE__ */ U(
30641
- tt,
30646
+ nt,
30642
30647
  {
30643
30648
  direction: "row",
30644
30649
  alignItems: "center",
@@ -30651,13 +30656,13 @@ function Ede({
30651
30656
  ...a && { mt: 2 }
30652
30657
  }),
30653
30658
  children: [
30654
- /* @__PURE__ */ U(tt, { direction: "row", alignItems: "start", children: [
30655
- c ? xe.isValidElement(c) ? xe.cloneElement(c, { style: Vu }) : xe.createElement(c, { style: Vu }) : null,
30659
+ /* @__PURE__ */ U(nt, { direction: "row", alignItems: "start", children: [
30660
+ c ? be.isValidElement(c) ? be.cloneElement(c, { style: Vu }) : be.createElement(c, { style: Vu }) : null,
30656
30661
  /* @__PURE__ */ h(d9, { label: t, source: e, resource: y || v })
30657
30662
  ] }),
30658
- /* @__PURE__ */ U(tt, { direction: "row", alignItems: "center", children: [
30659
- s ? xe.isValidElement(s) ? xe.cloneElement(s, { record: w, resource: v, value: S }) : xe.createElement(s, { source: e, record: w, resource: v, value: S }) : /* @__PURE__ */ h(ue, { variant: n, children: S }),
30660
- u ? xe.isValidElement(u) ? xe.cloneElement(u, { style: Vu }) : xe.createElement(u, { style: Vu }) : null,
30663
+ /* @__PURE__ */ U(nt, { direction: "row", alignItems: "center", children: [
30664
+ s ? be.isValidElement(s) ? be.cloneElement(s, { record: w, resource: v, value: S }) : be.createElement(s, { source: e, record: w, resource: v, value: S }) : /* @__PURE__ */ h(ue, { variant: n, children: S }),
30665
+ u ? be.isValidElement(u) ? be.cloneElement(u, { style: Vu }) : be.createElement(u, { style: Vu }) : null,
30661
30666
  d ? /* @__PURE__ */ h(vt, { size: "small", variant: "outlined", sx: { ml: 1, p: 0 }, ...p, children: d }) : null
30662
30667
  ] })
30663
30668
  ]
@@ -30864,7 +30869,7 @@ const rA = /* @__PURE__ */ h(l_, {}), dP = F.forwardRef((e, t) => {
30864
30869
  sx: E,
30865
30870
  expandSingle: O = !1,
30866
30871
  ...I
30867
- } = e, { sort: M, data: k, isLoading: $, onSelect: z, onToggleItem: q, selectedIds: N, setSort: oe, total: ne } = Mr(e), K = !!p, Y = Be(() => ({ isRowExpandable: v, expandSingle: O }), [v, O]), V = jn(null);
30872
+ } = e, { sort: M, data: k, isLoading: $, onSelect: z, onToggleItem: q, selectedIds: N, setSort: oe, total: ne } = Mr(e), K = !!p, Y = Le(() => ({ isRowExpandable: v, expandSingle: O }), [v, O]), V = jn(null);
30868
30873
  Oe(() => {
30869
30874
  (!N || N.length === 0) && (V.current = null);
30870
30875
  }, [JSON.stringify(N)]);
@@ -31039,11 +31044,11 @@ function cle() {
31039
31044
  return ((e = yt(fP)) == null ? void 0 : e.hasFilterSidebar) ?? !1;
31040
31045
  }
31041
31046
  function pP({ source: e, value: t }) {
31042
- const n = yt(of), r = ho(), o = Be(() => n.find((u) => {
31047
+ const n = yt(of), r = ho(), o = Le(() => n.find((u) => {
31043
31048
  var d;
31044
- return xe.isValidElement(u) && ((d = u.props) == null ? void 0 : d.source) === e;
31045
- }), [n, e]), a = Be(
31046
- () => xe.isValidElement(o) ? o.props : {},
31049
+ return be.isValidElement(u) && ((d = u.props) == null ? void 0 : d.source) === e;
31050
+ }), [n, e]), a = Le(
31051
+ () => be.isValidElement(o) ? o.props : {},
31047
31052
  [o]
31048
31053
  );
31049
31054
  if (!(a != null && a.chip))
@@ -31056,18 +31061,18 @@ function pP({ source: e, value: t }) {
31056
31061
  value: t,
31057
31062
  resource: r
31058
31063
  };
31059
- return xe.isValidElement(a.chip) ? xe.cloneElement(a.chip, s) : Ze.isFunction(a.chip) ? xe.createElement(a.chip, s) : null;
31064
+ return be.isValidElement(a.chip) ? be.cloneElement(a.chip, s) : Ze.isFunction(a.chip) ? be.createElement(a.chip, s) : null;
31060
31065
  }
31061
31066
  function ule(e) {
31062
31067
  const { value: t, source: n, lastItem: r } = e, o = pP({ source: n, value: t });
31063
- return /* @__PURE__ */ U(tt, { children: [
31068
+ return /* @__PURE__ */ U(nt, { children: [
31064
31069
  /* @__PURE__ */ h(Tl, { alignItems: "flex-start", sx: { pl: 0 }, children: /* @__PURE__ */ h(zn, { primary: o, sx: { my: 0 } }) }),
31065
31070
  r === n ? null : /* @__PURE__ */ h(Gr, {})
31066
31071
  ] });
31067
31072
  }
31068
31073
  function dle() {
31069
31074
  const { filterValues: e } = Mr(), t = Ue();
31070
- return /* @__PURE__ */ U(tt, { mt: 4, width: "100%", children: [
31075
+ return /* @__PURE__ */ U(nt, { mt: 4, width: "100%", children: [
31071
31076
  /* @__PURE__ */ h(ue, { variant: "h6", fontWeight: "bold", color: "secondary", children: t("ra.title.selected_filters") }),
31072
31077
  /* @__PURE__ */ h(co, { sx: { bgcolor: "background.paper", pt: 0 }, children: e ? Object.entries(e).map(([n, r]) => {
31073
31078
  const o = Object.entries(e).pop(), a = o ? o[0] : "";
@@ -31137,7 +31142,7 @@ function hle() {
31137
31142
  }, []), o = de(() => {
31138
31143
  t(!0);
31139
31144
  }, []);
31140
- return /* @__PURE__ */ U(rt, { children: [
31145
+ return /* @__PURE__ */ U(tt, { children: [
31141
31146
  /* @__PURE__ */ h(vt, { sx: { height: "36px" }, variant: "contained", onClick: o, children: n("ra.action.save_filter") }),
31142
31147
  /* @__PURE__ */ h(ple, { open: e, onClose: r })
31143
31148
  ] });
@@ -31171,13 +31176,13 @@ function mle() {
31171
31176
  delete d[u], t(d);
31172
31177
  },
31173
31178
  [e, t]
31174
- ), c = de(() => /* @__PURE__ */ U(tt, { flexDirection: "row", gap: 2, children: [
31179
+ ), c = de(() => /* @__PURE__ */ U(nt, { flexDirection: "row", gap: 2, children: [
31175
31180
  /* @__PURE__ */ h(hle, {}),
31176
31181
  /* @__PURE__ */ h(vt, { variant: "outlined", onClick: a, children: o("ra.action.reset_filters") })
31177
31182
  ] }), [a, o]);
31178
- return /* @__PURE__ */ U(tt, { gap: 2, flexDirection: r ? "column" : "row", children: [
31183
+ return /* @__PURE__ */ U(nt, { gap: 2, flexDirection: r ? "column" : "row", children: [
31179
31184
  /* @__PURE__ */ U(
31180
- tt,
31185
+ nt,
31181
31186
  {
31182
31187
  flexDirection: "row",
31183
31188
  flexWrap: r ? "nowrap" : "wrap",
@@ -31196,7 +31201,7 @@ function mle() {
31196
31201
  }
31197
31202
  function iA() {
31198
31203
  const { filterValues: e } = Mr(), t = Qt(), n = Pn(t.breakpoints.down("sm")), r = Ue();
31199
- return e && !Ze.isEmpty(e) ? /* @__PURE__ */ U(tt, { flexDirection: n ? "column" : "row", alignItems: "baseline", gap: 2, m: n ? 2 : 0, children: [
31204
+ return e && !Ze.isEmpty(e) ? /* @__PURE__ */ U(nt, { flexDirection: n ? "column" : "row", alignItems: "baseline", gap: 2, m: n ? 2 : 0, children: [
31200
31205
  /* @__PURE__ */ h(ue, { variant: "h6", color: "secondary", whiteSpace: "nowrap", children: r("ra.title.active_filters") }),
31201
31206
  /* @__PURE__ */ h(mle, {})
31202
31207
  ] }) : null;
@@ -31248,7 +31253,7 @@ function yle(e) {
31248
31253
  const { query: t } = e, [n, r] = ke(!1), o = de(() => {
31249
31254
  r((s) => !s);
31250
31255
  }, []), a = Ue();
31251
- return /* @__PURE__ */ U(rt, { children: [
31256
+ return /* @__PURE__ */ U(tt, { children: [
31252
31257
  /* @__PURE__ */ h(vt, { size: "small", color: "primary", onClick: o, children: a("ra.action.delete") }),
31253
31258
  /* @__PURE__ */ h(vle, { open: n, onClose: o, filterToRemove: t })
31254
31259
  ] });
@@ -31306,7 +31311,7 @@ function ble(e) {
31306
31311
  sx: { display: "flex", justifyContent: "space-between", px: "20px", alignItems: "center" },
31307
31312
  children: [
31308
31313
  /* @__PURE__ */ h(ue, { variant: "body1", children: b.label }),
31309
- /* @__PURE__ */ U(tt, { flexDirection: "row", alignItems: "center", children: [
31314
+ /* @__PURE__ */ U(nt, { flexDirection: "row", alignItems: "center", children: [
31310
31315
  /* @__PURE__ */ h(yle, { query: b }),
31311
31316
  /* @__PURE__ */ h(vt, { size: "small", color: "primary", onClick: () => y({ value: b.value }), children: m("ra.action.apply") })
31312
31317
  ] })
@@ -31322,13 +31327,13 @@ function xle(e) {
31322
31327
  const { form: t, filters: n } = e, r = Ci();
31323
31328
  return /* @__PURE__ */ h(of.Provider, { value: Array.isArray(n) ? n : [n], children: /* @__PURE__ */ h(E_, { ...t, children: /* @__PURE__ */ h(Ee, { px: "20px", children: n ? (Array.isArray(n) ? n : [n]).map((o, a) => {
31324
31329
  const s = { ...o.props, display: "label" };
31325
- return xe.isValidElement(o) ? /* @__PURE__ */ h(Ee, { mb: 1, children: xe.cloneElement(o, { ...s, resource: r }) }, a) : null;
31330
+ return be.isValidElement(o) ? /* @__PURE__ */ h(Ee, { mb: 1, children: be.cloneElement(o, { ...s, resource: r }) }, a) : null;
31326
31331
  }) : null }) }) });
31327
31332
  }
31328
31333
  function im(e) {
31329
31334
  const { filters: t } = e, [n, r] = ke(!1), { setSidebarOpen: o, sidebarOpen: a } = mP(), { filterValues: s, setFilters: c } = Mr(), u = Ue(), d = S_({
31330
31335
  defaultValues: s
31331
- }), { handleSubmit: p, getValues: g, reset: m, watch: v } = d, y = v(), b = Be(() => {
31336
+ }), { handleSubmit: p, getValues: g, reset: m, watch: v } = d, y = v(), b = Le(() => {
31332
31337
  const I = {};
31333
31338
  return t && (Array.isArray(t) ? t : [t]).forEach((M) => {
31334
31339
  I[M.props.source] = (s == null ? void 0 : s[M.props.source]) ?? "";
@@ -31340,7 +31345,7 @@ function im(e) {
31340
31345
  }, [JSON.stringify(s), s, g, m]);
31341
31346
  const w = de(() => {
31342
31347
  Ze.isFunction(o) && o(!1);
31343
- }, [o]), S = xe.useCallback(
31348
+ }, [o]), S = be.useCallback(
31344
31349
  (I) => {
31345
31350
  c(I), w();
31346
31351
  },
@@ -31351,7 +31356,7 @@ function im(e) {
31351
31356
  r((I) => !I), P(), setTimeout(() => {
31352
31357
  r(!1);
31353
31358
  }, 1e3);
31354
- }, [P]), O = Be(() => {
31359
+ }, [P]), O = Le(() => {
31355
31360
  const I = g();
31356
31361
  return Ze.isEmpty(b) || Ze.isEqual(I, b);
31357
31362
  }, [b, g, y]);
@@ -31374,7 +31379,7 @@ function im(e) {
31374
31379
  /* @__PURE__ */ h(ble, { closeSidebar: w }),
31375
31380
  /* @__PURE__ */ h(xle, { form: d, filters: t })
31376
31381
  ] }),
31377
- /* @__PURE__ */ h(Ur.Footer, { children: /* @__PURE__ */ U(tt, { direction: "row", spacing: 2, children: [
31382
+ /* @__PURE__ */ h(Ur.Footer, { children: /* @__PURE__ */ U(nt, { direction: "row", spacing: 2, children: [
31378
31383
  /* @__PURE__ */ h(
31379
31384
  vt,
31380
31385
  {
@@ -31414,7 +31419,7 @@ function Pde() {
31414
31419
  ] }) : /* @__PURE__ */ h(Cc, { label: "ra.action.add_filter", onClick: s, children: /* @__PURE__ */ h(P1, {}) });
31415
31420
  }
31416
31421
  function hP(e) {
31417
- const { filters: t, actions: n, className: r, hasFilterSidebar: o, ...a } = e, s = jt(), c = Pn(s.breakpoints.down("sm")), u = n ? xe.cloneElement(n, { ...a, ...n.props }) : null, { filterValues: d } = Mr();
31422
+ const { filters: t, actions: n, className: r, hasFilterSidebar: o, ...a } = e, s = jt(), c = Pn(s.breakpoints.down("sm")), u = n ? be.cloneElement(n, { ...a, ...n.props }) : null, { filterValues: d } = Mr();
31418
31423
  return Array.isArray(t) ? /* @__PURE__ */ h(fP.Provider, { value: { hasFilterSidebar: o }, children: /* @__PURE__ */ h(of.Provider, { value: t, children: c && o ? /* @__PURE__ */ U("div", { children: [
31419
31424
  u,
31420
31425
  Ze.isEmpty(d) ? null : /* @__PURE__ */ U("div", { children: [
@@ -31426,12 +31431,12 @@ function hP(e) {
31426
31431
  /* @__PURE__ */ h("span", {}),
31427
31432
  u
31428
31433
  ] }) }) }) : /* @__PURE__ */ U(aA, { className: r, children: [
31429
- t ? xe.cloneElement(t, {
31434
+ t ? be.cloneElement(t, {
31430
31435
  ...a,
31431
31436
  context: "form"
31432
31437
  }) : null,
31433
31438
  /* @__PURE__ */ h("span", {}),
31434
- n ? xe.cloneElement(n, {
31439
+ n ? be.cloneElement(n, {
31435
31440
  ...a,
31436
31441
  filters: t,
31437
31442
  ...n.props
@@ -31598,7 +31603,7 @@ const Ka = "RaList", oo = {
31598
31603
  }
31599
31604
  });
31600
31605
  function Rle(e) {
31601
- const [t, n] = xe.useState(!1);
31606
+ const [t, n] = be.useState(!1);
31602
31607
  return /* @__PURE__ */ h(gP.Provider, { value: { sidebarOpen: t, setSidebarOpen: n }, children: e.children });
31603
31608
  }
31604
31609
  function mP() {
@@ -31735,7 +31740,7 @@ const kle = {}, _le = lc(Mle, { slot: "root" })(({ theme: e }) => ({
31735
31740
  }
31736
31741
  }));
31737
31742
  function Rde(e) {
31738
- const { aside: t } = e, n = Tn(t), r = n && (t == null ? void 0 : t.type) === im, o = n && !r ? xe.Fragment : ar;
31743
+ const { aside: t } = e, n = Tn(t), r = n && (t == null ? void 0 : t.type) === im, o = n && !r ? be.Fragment : ar;
31739
31744
  return /* @__PURE__ */ h(o, { ...!t || r ? { content: !1 } : void 0, children: /* @__PURE__ */ h(_le, { ...e, pagination: /* @__PURE__ */ h(lP, {}) }) });
31740
31745
  }
31741
31746
  function Fle() {
@@ -31797,7 +31802,7 @@ function Dle() {
31797
31802
  );
31798
31803
  }
31799
31804
  function Lle(e) {
31800
- const t = an(e), n = ho(e), r = m_(), o = rf(), a = kr(), [s] = PA(), c = Be(
31805
+ const t = an(e), n = ho(e), r = m_(), o = rf(), a = kr(), [s] = PA(), c = Le(
31801
31806
  () => t != null && t.readed ? Xr(t == null ? void 0 : t.readed).locale(s).format("ddd, DD MMM YYYY HH:mm:ss") : !1,
31802
31807
  [t == null ? void 0 : t.readed, s]
31803
31808
  ), [u] = v_(
@@ -31841,7 +31846,7 @@ function Lle(e) {
31841
31846
  ] });
31842
31847
  }
31843
31848
  function Mde({ ...e }) {
31844
- const t = Qt(), { mode: n, colorize: r, density: o } = Be(
31849
+ const t = Qt(), { mode: n, colorize: r, density: o } = Le(
31845
31850
  () => ({
31846
31851
  mode: t.palette.mode,
31847
31852
  colorize: t.palette.mode === "dark" ? i8 : a8,
@@ -31903,7 +31908,7 @@ function Hf({
31903
31908
  }) {
31904
31909
  return /* @__PURE__ */ U(Ee, { children: [
31905
31910
  /* @__PURE__ */ h(nP, { source: "default" }),
31906
- xe.isValidElement(a) ? a : xe.createElement(a),
31911
+ be.isValidElement(a) ? a : be.createElement(a),
31907
31912
  /* @__PURE__ */ U(Te, { container: !0, direction: "column", justifyContent: "flex-end", children: [
31908
31913
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, sx: { ml: 3 }, children: o || /* @__PURE__ */ h(rP, { title: t }) }),
31909
31914
  /* @__PURE__ */ U(Te, { item: !0, xs: 12, children: [
@@ -31936,7 +31941,7 @@ function _de({ name: e, copy: t, logo: n, version: r, background: o }) {
31936
31941
  });
31937
31942
  }, [d, s, c, u]), /* @__PURE__ */ h(Hf, { name: e, copy: t, logo: n, version: r, background: o, children: /* @__PURE__ */ U(Te, { container: !0, spacing: 3, children: [
31938
31943
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(
31939
- tt,
31944
+ nt,
31940
31945
  {
31941
31946
  direction: "row",
31942
31947
  justifyContent: "space-between",
@@ -31953,7 +31958,7 @@ function _de({ name: e, copy: t, logo: n, version: r, background: o }) {
31953
31958
  }
31954
31959
  function $le() {
31955
31960
  const e = de(() => location.reload(), []);
31956
- return /* @__PURE__ */ h(Jd, { children: /* @__PURE__ */ U(tt, { alignItems: "center", px: 2, py: { xs: 4, sm: 8 }, spacing: 2, textAlign: "center", children: [
31961
+ return /* @__PURE__ */ h(Jd, { children: /* @__PURE__ */ U(nt, { alignItems: "center", px: 2, py: { xs: 4, sm: 8 }, spacing: 2, textAlign: "center", children: [
31957
31962
  /* @__PURE__ */ h("img", { alt: "Error", src: IE, style: { width: "100%", maxWidth: 450 } }),
31958
31963
  /* @__PURE__ */ h(ue, { variant: "h2", children: "Ops! An error occurred..." }),
31959
31964
  /* @__PURE__ */ h(ue, { children: "We're fixing the problem. Please try again later." }),
@@ -31994,7 +31999,7 @@ function Nle({
31994
31999
  }
31995
32000
  return /* @__PURE__ */ h(Hf, { name: t, version: e, copy: n, logo: r, background: c, children: /* @__PURE__ */ U(Te, { container: !0, spacing: 3, children: [
31996
32001
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(
31997
- tt,
32002
+ nt,
31998
32003
  {
31999
32004
  direction: "row",
32000
32005
  justifyContent: "space-between",
@@ -32043,7 +32048,7 @@ function Nle({
32043
32048
  }
32044
32049
  ) })
32045
32050
  ] }),
32046
- o ? /* @__PURE__ */ h(Te, { item: !0, xs: 12, sx: { mt: 1 }, children: /* @__PURE__ */ h(tt, { direction: "row", justifyContent: "flex-end", alignItems: "flex-end", spacing: 2, children: /* @__PURE__ */ h(s8, { variant: "h6", component: tn, to: "/recover", color: "text.primary", children: g("ra.auth.forgot_password") }) }) }) : null,
32051
+ o ? /* @__PURE__ */ h(Te, { item: !0, xs: 12, sx: { mt: 1 }, children: /* @__PURE__ */ h(nt, { direction: "row", justifyContent: "flex-end", alignItems: "flex-end", spacing: 2, children: /* @__PURE__ */ h(s8, { variant: "h6", component: tn, to: "/recover", color: "text.primary", children: g("ra.auth.forgot_password") }) }) }) : null,
32047
32052
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, sx: { mt: 1 }, children: /* @__PURE__ */ h(vt, { variant: "contained", type: "submit", color: "primary", disabled: u, fullWidth: !0, children: u ? /* @__PURE__ */ h(hi, { size: 19, thickness: 3 }) : g("ra.auth.sign_in") }) })
32048
32053
  ] }) })
32049
32054
  ] }) });
@@ -32060,7 +32065,7 @@ function Fde({ name: e, copy: t, logo: n, version: r, background: o }) {
32060
32065
  }
32061
32066
  return /* @__PURE__ */ h(Hf, { name: e, copy: t, logo: n, version: r, background: o, children: /* @__PURE__ */ U(Te, { container: !0, spacing: 3, children: [
32062
32067
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(
32063
- tt,
32068
+ nt,
32064
32069
  {
32065
32070
  direction: "row",
32066
32071
  justifyContent: "space-between",
@@ -32091,7 +32096,7 @@ function Dde({ name: e, copy: t, version: n, logo: r, background: o }) {
32091
32096
  }
32092
32097
  return /* @__PURE__ */ h(Hf, { name: e, copy: t, logo: r, background: o, version: n, children: /* @__PURE__ */ U(Te, { container: !0, spacing: 3, children: [
32093
32098
  /* @__PURE__ */ h(Te, { item: !0, xs: 12, children: /* @__PURE__ */ U(
32094
- tt,
32099
+ nt,
32095
32100
  {
32096
32101
  direction: "row",
32097
32102
  justifyContent: "space-between",
@@ -35017,7 +35022,7 @@ function Xce(e) {
35017
35022
  };
35018
35023
  }
35019
35024
  function vP({ themeOverrides: e, children: t }) {
35020
- const n = Yn(), { themeDirection: r, mode: o, presetColor: a, fontFamily: s } = n, c = Fne(), u = Be(() => o === "auto" ? c : o, [o, c]), d = Be(() => Yce(u, a), [u, a]), p = Be(() => Xce(s), [s]), g = Be(() => Kce(d), [d]), m = Be(
35025
+ const n = Yn(), { themeDirection: r, mode: o, presetColor: a, fontFamily: s } = n, c = Fne(), u = Le(() => o === "auto" ? c : o, [o, c]), d = Le(() => Yce(u, a), [u, a]), p = Le(() => Xce(s), [s]), g = Le(() => Kce(d), [d]), m = Le(
35021
35026
  () => X.merge(
35022
35027
  {
35023
35028
  breakpoints: {
@@ -35365,7 +35370,7 @@ function $de({
35365
35370
  });
35366
35371
  }
35367
35372
  });
35368
- const q = Be(() => xe.isValidElement(c) ? xe.cloneElement(c, {
35373
+ const q = Le(() => be.isValidElement(c) ? be.cloneElement(c, {
35369
35374
  // @ts-ignore
35370
35375
  name: d,
35371
35376
  copy: p,
@@ -35374,7 +35379,7 @@ function $de({
35374
35379
  background: k,
35375
35380
  enableRegistration: P,
35376
35381
  enablePasswordRecover: E
35377
- }) : c, [c, d, g, p, k, a, P, E]), N = Be(
35382
+ }) : c, [c, d, g, p, k, a, P, E]), N = Le(
35378
35383
  () => (ne) => /* @__PURE__ */ h(
35379
35384
  tse,
35380
35385
  {
@@ -35410,7 +35415,7 @@ function $de({
35410
35415
  createMissing: o,
35411
35416
  customProvider: y
35412
35417
  });
35413
- return oe === void 0 ? /* @__PURE__ */ h(rt, {}) : oe.error ? /* @__PURE__ */ h(jw, { initialConfig: t, children: /* @__PURE__ */ h(vP, { themeOverrides: e, children: /* @__PURE__ */ h($le, {}) }) }) : /* @__PURE__ */ h(jne, { children: /* @__PURE__ */ h(kte, { menu: u, children: /* @__PURE__ */ h(jw, { initialConfig: t, children: /* @__PURE__ */ h(
35418
+ return oe === void 0 ? /* @__PURE__ */ h(tt, {}) : oe.error ? /* @__PURE__ */ h(jw, { initialConfig: t, children: /* @__PURE__ */ h(vP, { themeOverrides: e, children: /* @__PURE__ */ h($le, {}) }) }) : /* @__PURE__ */ h(jne, { children: /* @__PURE__ */ h(kte, { menu: u, children: /* @__PURE__ */ h(jw, { initialConfig: t, children: /* @__PURE__ */ h(
35414
35419
  Qce,
35415
35420
  {
35416
35421
  theme: e,