treege 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -2,13 +2,13 @@ import * as W from "react";
2
2
  import Ga, { createContext as xo, useMemo as kr, useReducer as Ja, useState as be, useCallback as K, useContext as Co, memo as Xa, forwardRef as Qa, Children as El, useEffect as so, useId as Tl, useLayoutEffect as Sl } from "react";
3
3
  import { QueryClient as wl, useQuery as Za, useMutation as Ha, QueryClientProvider as jl } from "@tanstack/react-query";
4
4
  import Qt from "axios";
5
- import { GlobalStyles as xn, ThemeProvider as Rl, Snackbar as Ol, Alert as _o, Box as ee, Button as lt, CircularProgress as ei, Stack as pe, Tooltip as Ge, IconButton as _t, Divider as ti, Dialog as Eo, DialogTitle as $l, DialogContent as kl, DialogContentText as Al, DialogActions as Ml, Slide as Pl, AppBar as Dl, Toolbar as Il, Typography as kt, Grid as Wn, FormControl as To, InputLabel as So, Select as wo, MenuItem as Nt, Skeleton as Fl, TextField as Pe, Chip as an, createFilterOptions as Nl, Autocomplete as Ll, InputAdornment as Ns, Accordion as Vl, AccordionSummary as ql, FormGroup as zl, FormControlLabel as vr, Checkbox as br } from "@tracktor/design-system";
5
+ import { GlobalStyles as xn, ThemeProvider as Rl, Snackbar as Ol, Alert as _o, Box as ee, Button as lt, CircularProgress as ei, Stack as pe, Tooltip as Ge, IconButton as _t, Divider as ti, Dialog as Eo, DialogTitle as $l, DialogContent as kl, DialogContentText as Al, DialogActions as Ml, Slide as Pl, AppBar as Dl, Toolbar as Il, Typography as kt, Grid as Wn, FormControl as To, InputLabel as So, Select as wo, MenuItem as Nt, Skeleton as Fl, TextField as Pe, Chip as an, createFilterOptions as Nl, Autocomplete as Ll, InputAdornment as Ns, Accordion as Vl, AccordionSummary as ql, FormGroup as zl, FormControlLabel as br, Checkbox as yr } from "@tracktor/design-system";
6
6
  import Bl from "react-d3-tree";
7
7
  import { useTranslation as Ue, initReactI18next as Ul } from "react-i18next";
8
8
  import { json as Wl } from "@codemirror/lang-json";
9
9
  import { dracula as Yl } from "@uiw/codemirror-theme-dracula";
10
10
  import Kl from "@uiw/react-codemirror";
11
- import Er from "i18next";
11
+ import Tr from "i18next";
12
12
  import Gl from "i18next-browser-languagedetector";
13
13
  function Jl(e) {
14
14
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -34,7 +34,7 @@ function Tt(e) {
34
34
  });
35
35
  }), n;
36
36
  }
37
- var ao = { exports: {} }, yr = {};
37
+ var ao = { exports: {} }, xr = {};
38
38
  /**
39
39
  * @license React
40
40
  * react-jsx-runtime.production.min.js
@@ -47,22 +47,22 @@ var ao = { exports: {} }, yr = {};
47
47
  var Ls;
48
48
  function Xl() {
49
49
  if (Ls)
50
- return yr;
50
+ return xr;
51
51
  Ls = 1;
52
52
  var e = Ga, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
53
53
  function a(l, c, d) {
54
- var f, m = {}, h = null, x = null;
55
- d !== void 0 && (h = "" + d), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (x = c.ref);
54
+ var f, p = {}, h = null, y = null;
55
+ d !== void 0 && (h = "" + d), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (y = c.ref);
56
56
  for (f in c)
57
- r.call(c, f) && !s.hasOwnProperty(f) && (m[f] = c[f]);
57
+ r.call(c, f) && !s.hasOwnProperty(f) && (p[f] = c[f]);
58
58
  if (l && l.defaultProps)
59
59
  for (f in c = l.defaultProps, c)
60
- m[f] === void 0 && (m[f] = c[f]);
61
- return { $$typeof: t, type: l, key: h, ref: x, props: m, _owner: o.current };
60
+ p[f] === void 0 && (p[f] = c[f]);
61
+ return { $$typeof: t, type: l, key: h, ref: y, props: p, _owner: o.current };
62
62
  }
63
- return yr.Fragment = n, yr.jsx = a, yr.jsxs = a, yr;
63
+ return xr.Fragment = n, xr.jsx = a, xr.jsxs = a, xr;
64
64
  }
65
- var xr = {};
65
+ var Cr = {};
66
66
  /**
67
67
  * @license React
68
68
  * react-jsx-runtime.development.js
@@ -75,7 +75,7 @@ var xr = {};
75
75
  var Vs;
76
76
  function Ql() {
77
77
  return Vs || (Vs = 1, process.env.NODE_ENV !== "production" && function() {
78
- var e = Ga, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), b = Symbol.iterator, g = "@@iterator";
78
+ var e = Ga, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), b = Symbol.iterator, g = "@@iterator";
79
79
  function v(u) {
80
80
  if (u === null || typeof u != "object")
81
81
  return null;
@@ -100,10 +100,10 @@ function Ql() {
100
100
  ae.unshift("Warning: " + T), Function.prototype.apply.call(console[u], console, ae);
101
101
  }
102
102
  }
103
- var $ = !1, p = !1, P = !1, D = !1, Q = !1, Te;
103
+ var $ = !1, m = !1, P = !1, D = !1, Q = !1, Te;
104
104
  Te = Symbol.for("react.module.reference");
105
105
  function xe(u) {
106
- return !!(typeof u == "string" || typeof u == "function" || u === r || u === s || Q || u === o || u === d || u === f || D || u === x || $ || p || P || typeof u == "object" && u !== null && (u.$$typeof === h || u.$$typeof === m || u.$$typeof === a || u.$$typeof === l || u.$$typeof === c || // This needs to include all possible module reference object
106
+ return !!(typeof u == "string" || typeof u == "function" || u === r || u === s || Q || u === o || u === d || u === f || D || u === y || $ || m || P || typeof u == "object" && u !== null && (u.$$typeof === h || u.$$typeof === p || u.$$typeof === a || u.$$typeof === l || u.$$typeof === c || // This needs to include all possible module reference object
107
107
  // types supported by any Flight configuration anywhere since
108
108
  // we don't know which Flight build this will end up being used
109
109
  // with.
@@ -150,7 +150,7 @@ function Ql() {
150
150
  return te(j._context) + ".Provider";
151
151
  case c:
152
152
  return H(u, u.render, "ForwardRef");
153
- case m:
153
+ case p:
154
154
  var N = u.displayName || null;
155
155
  return N !== null ? N : he(u.type) || "Memo";
156
156
  case h: {
@@ -245,7 +245,7 @@ function Ql() {
245
245
  var ye = typeof WeakMap == "function" ? WeakMap : Map;
246
246
  V = new ye();
247
247
  }
248
- function y(u, T) {
248
+ function x(u, T) {
249
249
  if (!u || U)
250
250
  return "";
251
251
  {
@@ -313,11 +313,11 @@ function Ql() {
313
313
  } finally {
314
314
  U = !1, M.current = ae, B(), Error.prepareStackTrace = Z;
315
315
  }
316
- var yt = u ? u.displayName || u.name : "", ur = yt ? z(yt) : "";
317
- return typeof u == "function" && V.set(u, ur), ur;
316
+ var yt = u ? u.displayName || u.name : "", dr = yt ? z(yt) : "";
317
+ return typeof u == "function" && V.set(u, dr), dr;
318
318
  }
319
319
  function Se(u, T, j) {
320
- return y(u, !1);
320
+ return x(u, !1);
321
321
  }
322
322
  function O(u) {
323
323
  var T = u.prototype;
@@ -327,7 +327,7 @@ function Ql() {
327
327
  if (u == null)
328
328
  return "";
329
329
  if (typeof u == "function")
330
- return y(u, O(u));
330
+ return x(u, O(u));
331
331
  if (typeof u == "string")
332
332
  return z(u);
333
333
  switch (u) {
@@ -340,7 +340,7 @@ function Ql() {
340
340
  switch (u.$$typeof) {
341
341
  case c:
342
342
  return Se(u.render);
343
- case m:
343
+ case p:
344
344
  return Ve(u.type, T, j);
345
345
  case h: {
346
346
  var N = u, Z = N._payload, ae = N._init;
@@ -360,7 +360,7 @@ function Ql() {
360
360
  } else
361
361
  ct.setExtraStackFrame(null);
362
362
  }
363
- function nr(u, T, j, N, Z) {
363
+ function or(u, T, j, N, Z) {
364
364
  {
365
365
  var ae = Function.call.bind(Xe);
366
366
  for (var G in u)
@@ -389,7 +389,7 @@ function Ql() {
389
389
  return j;
390
390
  }
391
391
  }
392
- function or(u) {
392
+ function sr(u) {
393
393
  try {
394
394
  return gt(u), !1;
395
395
  } catch {
@@ -400,10 +400,10 @@ function Ql() {
400
400
  return "" + u;
401
401
  }
402
402
  function Vt(u) {
403
- if (or(u))
403
+ if (sr(u))
404
404
  return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", St(u)), gt(u);
405
405
  }
406
- var vt = C.ReactCurrentOwner, sr = {
406
+ var vt = C.ReactCurrentOwner, ar = {
407
407
  key: !0,
408
408
  ref: !0,
409
409
  __self: !0,
@@ -488,7 +488,7 @@ function Ql() {
488
488
  var ae, G = {}, Y = null, qe = null;
489
489
  j !== void 0 && (Vt(j), Y = "" + j), wt(T) && (Vt(T.key), Y = "" + T.key), at(T) && (qe = T.ref, It(T, Z));
490
490
  for (ae in T)
491
- Xe.call(T, ae) && !sr.hasOwnProperty(ae) && (G[ae] = T[ae]);
491
+ Xe.call(T, ae) && !ar.hasOwnProperty(ae) && (G[ae] = T[ae]);
492
492
  if (u && u.defaultProps) {
493
493
  var Ce = u.defaultProps;
494
494
  for (ae in Ce)
@@ -501,7 +501,7 @@ function Ql() {
501
501
  return Vn(u, Y, qe, Z, N, vt.current, G);
502
502
  }
503
503
  }
504
- var ar = C.ReactCurrentOwner, Fr = C.ReactDebugCurrentFrame;
504
+ var ir = C.ReactCurrentOwner, Fr = C.ReactDebugCurrentFrame;
505
505
  function jt(u) {
506
506
  if (u) {
507
507
  var T = u._owner, j = Ve(u.type, u._source, T ? T.type : null);
@@ -509,15 +509,15 @@ function Ql() {
509
509
  } else
510
510
  Fr.setExtraStackFrame(null);
511
511
  }
512
- var ir;
513
- ir = !1;
514
- function lr(u) {
512
+ var lr;
513
+ lr = !1;
514
+ function cr(u) {
515
515
  return typeof u == "object" && u !== null && u.$$typeof === t;
516
516
  }
517
517
  function Nr() {
518
518
  {
519
- if (ar.current) {
520
- var u = he(ar.current.type);
519
+ if (ir.current) {
520
+ var u = he(ir.current.type);
521
521
  if (u)
522
522
  return `
523
523
 
@@ -560,7 +560,7 @@ Check the top-level render call using <` + j + ">.");
560
560
  return;
561
561
  Lr[j] = !0;
562
562
  var N = "";
563
- u && u._owner && u._owner !== ar.current && (N = " It was passed a child from " + he(u._owner.type) + "."), jt(u), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, N), jt(null);
563
+ u && u._owner && u._owner !== ir.current && (N = " It was passed a child from " + he(u._owner.type) + "."), jt(u), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, N), jt(null);
564
564
  }
565
565
  }
566
566
  function qr(u, T) {
@@ -570,15 +570,15 @@ Check the top-level render call using <` + j + ">.");
570
570
  if (Qe(u))
571
571
  for (var j = 0; j < u.length; j++) {
572
572
  var N = u[j];
573
- lr(N) && Vr(N, T);
573
+ cr(N) && Vr(N, T);
574
574
  }
575
- else if (lr(u))
575
+ else if (cr(u))
576
576
  u._store && (u._store.validated = !0);
577
577
  else if (u) {
578
578
  var Z = v(u);
579
579
  if (typeof Z == "function" && Z !== u.entries)
580
580
  for (var ae = Z.call(u), G; !(G = ae.next()).done; )
581
- lr(G.value) && Vr(G.value, T);
581
+ cr(G.value) && Vr(G.value, T);
582
582
  }
583
583
  }
584
584
  }
@@ -592,15 +592,15 @@ Check the top-level render call using <` + j + ">.");
592
592
  j = T.propTypes;
593
593
  else if (typeof T == "object" && (T.$$typeof === c || // Note: Memo only checks outer props here.
594
594
  // Inner props are checked in the reconciler.
595
- T.$$typeof === m))
595
+ T.$$typeof === p))
596
596
  j = T.propTypes;
597
597
  else
598
598
  return;
599
599
  if (j) {
600
600
  var N = he(T);
601
- nr(j, u.props, "prop", N, u);
602
- } else if (T.PropTypes !== void 0 && !ir) {
603
- ir = !0;
601
+ or(j, u.props, "prop", N, u);
602
+ } else if (T.PropTypes !== void 0 && !lr) {
603
+ lr = !0;
604
604
  var Z = he(T);
605
605
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
606
606
  }
@@ -619,7 +619,7 @@ Check the top-level render call using <` + j + ">.");
619
619
  u.ref !== null && (jt(u), S("Invalid attribute `ref` supplied to `React.Fragment`."), jt(null));
620
620
  }
621
621
  }
622
- function cr(u, T, j, N, Z, ae) {
622
+ function ur(u, T, j, N, Z, ae) {
623
623
  {
624
624
  var G = xe(u);
625
625
  if (!G) {
@@ -650,14 +650,14 @@ Check the top-level render call using <` + j + ">.");
650
650
  }
651
651
  }
652
652
  function Ur(u, T, j) {
653
- return cr(u, T, j, !0);
653
+ return ur(u, T, j, !0);
654
654
  }
655
655
  function Un(u, T, j) {
656
- return cr(u, T, j, !1);
656
+ return ur(u, T, j, !1);
657
657
  }
658
658
  var Wr = Un, Yr = Ur;
659
- xr.Fragment = r, xr.jsx = Wr, xr.jsxs = Yr;
660
- }()), xr;
659
+ Cr.Fragment = r, Cr.jsx = Wr, Cr.jsxs = Yr;
660
+ }()), Cr;
661
661
  }
662
662
  process.env.NODE_ENV === "production" ? ao.exports = Xl() : ao.exports = Ql();
663
663
  var i = ao.exports;
@@ -991,28 +991,28 @@ function bc() {
991
991
  if (Us)
992
992
  return ie;
993
993
  Us = 1;
994
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
995
- function w(p) {
996
- if (typeof p == "object" && p !== null) {
997
- var P = p.$$typeof;
994
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
995
+ function w(m) {
996
+ if (typeof m == "object" && m !== null) {
997
+ var P = m.$$typeof;
998
998
  switch (P) {
999
999
  case t:
1000
- switch (p = p.type, p) {
1000
+ switch (m = m.type, m) {
1001
1001
  case c:
1002
1002
  case d:
1003
1003
  case r:
1004
1004
  case s:
1005
1005
  case o:
1006
- case m:
1007
- return p;
1006
+ case p:
1007
+ return m;
1008
1008
  default:
1009
- switch (p = p && p.$$typeof, p) {
1009
+ switch (m = m && m.$$typeof, m) {
1010
1010
  case l:
1011
1011
  case f:
1012
1012
  case b:
1013
- case x:
1013
+ case y:
1014
1014
  case a:
1015
- return p;
1015
+ return m;
1016
1016
  default:
1017
1017
  return P;
1018
1018
  }
@@ -1022,35 +1022,35 @@ function bc() {
1022
1022
  }
1023
1023
  }
1024
1024
  }
1025
- function $(p) {
1026
- return w(p) === d;
1025
+ function $(m) {
1026
+ return w(m) === d;
1027
1027
  }
1028
- return ie.AsyncMode = c, ie.ConcurrentMode = d, ie.ContextConsumer = l, ie.ContextProvider = a, ie.Element = t, ie.ForwardRef = f, ie.Fragment = r, ie.Lazy = b, ie.Memo = x, ie.Portal = n, ie.Profiler = s, ie.StrictMode = o, ie.Suspense = m, ie.isAsyncMode = function(p) {
1029
- return $(p) || w(p) === c;
1030
- }, ie.isConcurrentMode = $, ie.isContextConsumer = function(p) {
1031
- return w(p) === l;
1032
- }, ie.isContextProvider = function(p) {
1033
- return w(p) === a;
1034
- }, ie.isElement = function(p) {
1035
- return typeof p == "object" && p !== null && p.$$typeof === t;
1036
- }, ie.isForwardRef = function(p) {
1037
- return w(p) === f;
1038
- }, ie.isFragment = function(p) {
1039
- return w(p) === r;
1040
- }, ie.isLazy = function(p) {
1041
- return w(p) === b;
1042
- }, ie.isMemo = function(p) {
1043
- return w(p) === x;
1044
- }, ie.isPortal = function(p) {
1045
- return w(p) === n;
1046
- }, ie.isProfiler = function(p) {
1047
- return w(p) === s;
1048
- }, ie.isStrictMode = function(p) {
1049
- return w(p) === o;
1050
- }, ie.isSuspense = function(p) {
1051
- return w(p) === m;
1052
- }, ie.isValidElementType = function(p) {
1053
- return typeof p == "string" || typeof p == "function" || p === r || p === d || p === s || p === o || p === m || p === h || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === x || p.$$typeof === a || p.$$typeof === l || p.$$typeof === f || p.$$typeof === v || p.$$typeof === C || p.$$typeof === S || p.$$typeof === g);
1028
+ return ie.AsyncMode = c, ie.ConcurrentMode = d, ie.ContextConsumer = l, ie.ContextProvider = a, ie.Element = t, ie.ForwardRef = f, ie.Fragment = r, ie.Lazy = b, ie.Memo = y, ie.Portal = n, ie.Profiler = s, ie.StrictMode = o, ie.Suspense = p, ie.isAsyncMode = function(m) {
1029
+ return $(m) || w(m) === c;
1030
+ }, ie.isConcurrentMode = $, ie.isContextConsumer = function(m) {
1031
+ return w(m) === l;
1032
+ }, ie.isContextProvider = function(m) {
1033
+ return w(m) === a;
1034
+ }, ie.isElement = function(m) {
1035
+ return typeof m == "object" && m !== null && m.$$typeof === t;
1036
+ }, ie.isForwardRef = function(m) {
1037
+ return w(m) === f;
1038
+ }, ie.isFragment = function(m) {
1039
+ return w(m) === r;
1040
+ }, ie.isLazy = function(m) {
1041
+ return w(m) === b;
1042
+ }, ie.isMemo = function(m) {
1043
+ return w(m) === y;
1044
+ }, ie.isPortal = function(m) {
1045
+ return w(m) === n;
1046
+ }, ie.isProfiler = function(m) {
1047
+ return w(m) === s;
1048
+ }, ie.isStrictMode = function(m) {
1049
+ return w(m) === o;
1050
+ }, ie.isSuspense = function(m) {
1051
+ return w(m) === p;
1052
+ }, ie.isValidElementType = function(m) {
1053
+ return typeof m == "string" || typeof m == "function" || m === r || m === d || m === s || m === o || m === p || m === h || typeof m == "object" && m !== null && (m.$$typeof === b || m.$$typeof === y || m.$$typeof === a || m.$$typeof === l || m.$$typeof === f || m.$$typeof === v || m.$$typeof === C || m.$$typeof === S || m.$$typeof === g);
1054
1054
  }, ie.typeOf = w, ie;
1055
1055
  }
1056
1056
  var le = {};
@@ -1065,24 +1065,24 @@ var le = {};
1065
1065
  var Ws;
1066
1066
  function yc() {
1067
1067
  return Ws || (Ws = 1, process.env.NODE_ENV !== "production" && function() {
1068
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1069
- function w(y) {
1070
- return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1071
- y === r || y === d || y === s || y === o || y === m || y === h || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === x || y.$$typeof === a || y.$$typeof === l || y.$$typeof === f || y.$$typeof === v || y.$$typeof === C || y.$$typeof === S || y.$$typeof === g);
1072
- }
1073
- function $(y) {
1074
- if (typeof y == "object" && y !== null) {
1075
- var Se = y.$$typeof;
1068
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1069
+ function w(x) {
1070
+ return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1071
+ x === r || x === d || x === s || x === o || x === p || x === h || typeof x == "object" && x !== null && (x.$$typeof === b || x.$$typeof === y || x.$$typeof === a || x.$$typeof === l || x.$$typeof === f || x.$$typeof === v || x.$$typeof === C || x.$$typeof === S || x.$$typeof === g);
1072
+ }
1073
+ function $(x) {
1074
+ if (typeof x == "object" && x !== null) {
1075
+ var Se = x.$$typeof;
1076
1076
  switch (Se) {
1077
1077
  case t:
1078
- var O = y.type;
1078
+ var O = x.type;
1079
1079
  switch (O) {
1080
1080
  case c:
1081
1081
  case d:
1082
1082
  case r:
1083
1083
  case s:
1084
1084
  case o:
1085
- case m:
1085
+ case p:
1086
1086
  return O;
1087
1087
  default:
1088
1088
  var Ve = O && O.$$typeof;
@@ -1090,7 +1090,7 @@ function yc() {
1090
1090
  case l:
1091
1091
  case f:
1092
1092
  case b:
1093
- case x:
1093
+ case y:
1094
1094
  case a:
1095
1095
  return Ve;
1096
1096
  default:
@@ -1102,47 +1102,47 @@ function yc() {
1102
1102
  }
1103
1103
  }
1104
1104
  }
1105
- var p = c, P = d, D = l, Q = a, Te = t, xe = f, H = r, te = b, he = x, se = n, re = s, ve = o, Ie = m, Me = !1;
1106
- function We(y) {
1107
- return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(y) || $(y) === c;
1105
+ var m = c, P = d, D = l, Q = a, Te = t, xe = f, H = r, te = b, he = y, se = n, re = s, ve = o, Ie = p, Me = !1;
1106
+ function We(x) {
1107
+ return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(x) || $(x) === c;
1108
1108
  }
1109
- function E(y) {
1110
- return $(y) === d;
1109
+ function E(x) {
1110
+ return $(x) === d;
1111
1111
  }
1112
- function R(y) {
1113
- return $(y) === l;
1112
+ function R(x) {
1113
+ return $(x) === l;
1114
1114
  }
1115
- function I(y) {
1116
- return $(y) === a;
1115
+ function I(x) {
1116
+ return $(x) === a;
1117
1117
  }
1118
- function L(y) {
1119
- return typeof y == "object" && y !== null && y.$$typeof === t;
1118
+ function L(x) {
1119
+ return typeof x == "object" && x !== null && x.$$typeof === t;
1120
1120
  }
1121
- function A(y) {
1122
- return $(y) === f;
1121
+ function A(x) {
1122
+ return $(x) === f;
1123
1123
  }
1124
- function B(y) {
1125
- return $(y) === r;
1124
+ function B(x) {
1125
+ return $(x) === r;
1126
1126
  }
1127
- function M(y) {
1128
- return $(y) === b;
1127
+ function M(x) {
1128
+ return $(x) === b;
1129
1129
  }
1130
- function F(y) {
1131
- return $(y) === x;
1130
+ function F(x) {
1131
+ return $(x) === y;
1132
1132
  }
1133
- function z(y) {
1134
- return $(y) === n;
1133
+ function z(x) {
1134
+ return $(x) === n;
1135
1135
  }
1136
- function U(y) {
1137
- return $(y) === s;
1136
+ function U(x) {
1137
+ return $(x) === s;
1138
1138
  }
1139
- function V(y) {
1140
- return $(y) === o;
1139
+ function V(x) {
1140
+ return $(x) === o;
1141
1141
  }
1142
- function ye(y) {
1143
- return $(y) === m;
1142
+ function ye(x) {
1143
+ return $(x) === p;
1144
1144
  }
1145
- le.AsyncMode = p, le.ConcurrentMode = P, le.ContextConsumer = D, le.ContextProvider = Q, le.Element = Te, le.ForwardRef = xe, le.Fragment = H, le.Lazy = te, le.Memo = he, le.Portal = se, le.Profiler = re, le.StrictMode = ve, le.Suspense = Ie, le.isAsyncMode = We, le.isConcurrentMode = E, le.isContextConsumer = R, le.isContextProvider = I, le.isElement = L, le.isForwardRef = A, le.isFragment = B, le.isLazy = M, le.isMemo = F, le.isPortal = z, le.isProfiler = U, le.isStrictMode = V, le.isSuspense = ye, le.isValidElementType = w, le.typeOf = $;
1145
+ le.AsyncMode = m, le.ConcurrentMode = P, le.ContextConsumer = D, le.ContextProvider = Q, le.Element = Te, le.ForwardRef = xe, le.Fragment = H, le.Lazy = te, le.Memo = he, le.Portal = se, le.Profiler = re, le.StrictMode = ve, le.Suspense = Ie, le.isAsyncMode = We, le.isConcurrentMode = E, le.isContextConsumer = R, le.isContextProvider = I, le.isElement = L, le.isForwardRef = A, le.isFragment = B, le.isLazy = M, le.isMemo = F, le.isPortal = z, le.isProfiler = U, le.isStrictMode = V, le.isSuspense = ye, le.isValidElementType = w, le.typeOf = $;
1146
1146
  }()), le;
1147
1147
  }
1148
1148
  var Ys;
@@ -1190,8 +1190,8 @@ function xc() {
1190
1190
  return Gn = o() ? Object.assign : function(s, a) {
1191
1191
  for (var l, c = r(s), d, f = 1; f < arguments.length; f++) {
1192
1192
  l = Object(arguments[f]);
1193
- for (var m in l)
1194
- t.call(l, m) && (c[m] = l[m]);
1193
+ for (var p in l)
1194
+ t.call(l, p) && (c[p] = l[p]);
1195
1195
  if (e) {
1196
1196
  d = e(l);
1197
1197
  for (var h = 0; h < d.length; h++)
@@ -1235,7 +1235,7 @@ function Cc() {
1235
1235
  if (process.env.NODE_ENV !== "production") {
1236
1236
  for (var f in s)
1237
1237
  if (r(s, f)) {
1238
- var m;
1238
+ var p;
1239
1239
  try {
1240
1240
  if (typeof s[f] != "function") {
1241
1241
  var h = Error(
@@ -1243,17 +1243,17 @@ function Cc() {
1243
1243
  );
1244
1244
  throw h.name = "Invariant Violation", h;
1245
1245
  }
1246
- m = s[f](a, f, c, l, null, t);
1246
+ p = s[f](a, f, c, l, null, t);
1247
1247
  } catch (b) {
1248
- m = b;
1248
+ p = b;
1249
1249
  }
1250
- if (m && !(m instanceof Error) && e(
1251
- (c || "React class") + ": type specification of " + l + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1252
- ), m instanceof Error && !(m.message in n)) {
1253
- n[m.message] = !0;
1254
- var x = d ? d() : "";
1250
+ if (p && !(p instanceof Error) && e(
1251
+ (c || "React class") + ": type specification of " + l + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1252
+ ), p instanceof Error && !(p.message in n)) {
1253
+ n[p.message] = !0;
1254
+ var y = d ? d() : "";
1255
1255
  e(
1256
- "Failed " + l + " type: " + m.message + (x ?? "")
1256
+ "Failed " + l + " type: " + p.message + (y ?? "")
1257
1257
  );
1258
1258
  }
1259
1259
  }
@@ -1283,12 +1283,12 @@ function _c() {
1283
1283
  }
1284
1284
  return Zn = function(l, c) {
1285
1285
  var d = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
1286
- function m(E) {
1286
+ function p(E) {
1287
1287
  var R = E && (d && E[d] || E[f]);
1288
1288
  if (typeof R == "function")
1289
1289
  return R;
1290
1290
  }
1291
- var h = "<<anonymous>>", x = {
1291
+ var h = "<<anonymous>>", y = {
1292
1292
  array: C("array"),
1293
1293
  bigint: C("bigint"),
1294
1294
  bool: C("boolean"),
@@ -1300,7 +1300,7 @@ function _c() {
1300
1300
  any: S(),
1301
1301
  arrayOf: w,
1302
1302
  element: $(),
1303
- elementType: p(),
1303
+ elementType: m(),
1304
1304
  instanceOf: P,
1305
1305
  node: xe(),
1306
1306
  objectOf: Q,
@@ -1322,10 +1322,10 @@ function _c() {
1322
1322
  function L(B, M, F, z, U, V, ye) {
1323
1323
  if (z = z || h, V = V || F, ye !== n) {
1324
1324
  if (c) {
1325
- var y = new Error(
1325
+ var x = new Error(
1326
1326
  "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"
1327
1327
  );
1328
- throw y.name = "Invariant Violation", y;
1328
+ throw x.name = "Invariant Violation", x;
1329
1329
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1330
1330
  var Se = z + ":" + F;
1331
1331
  !R[Se] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -1385,7 +1385,7 @@ function _c() {
1385
1385
  }
1386
1386
  return v(E);
1387
1387
  }
1388
- function p() {
1388
+ function m() {
1389
1389
  function E(R, I, L, A, B) {
1390
1390
  var M = R[I];
1391
1391
  if (!e.isValidElementType(M)) {
@@ -1415,9 +1415,9 @@ function _c() {
1415
1415
  for (var F = I[L], z = 0; z < E.length; z++)
1416
1416
  if (b(F, E[z]))
1417
1417
  return null;
1418
- var U = JSON.stringify(E, function(ye, y) {
1419
- var Se = Ie(y);
1420
- return Se === "symbol" ? String(y) : y;
1418
+ var U = JSON.stringify(E, function(ye, x) {
1419
+ var Se = Ie(x);
1420
+ return Se === "symbol" ? String(x) : x;
1421
1421
  });
1422
1422
  return new g("Invalid " + B + " `" + M + "` of value `" + String(F) + "` " + ("supplied to `" + A + "`, expected one of " + U + "."));
1423
1423
  }
@@ -1452,10 +1452,10 @@ function _c() {
1452
1452
  }
1453
1453
  function L(A, B, M, F, z) {
1454
1454
  for (var U = [], V = 0; V < E.length; V++) {
1455
- var ye = E[V], y = ye(A, B, M, F, z, n);
1456
- if (y == null)
1455
+ var ye = E[V], x = ye(A, B, M, F, z, n);
1456
+ if (x == null)
1457
1457
  return null;
1458
- y.data && r(y.data, "expectedType") && U.push(y.data.expectedType);
1458
+ x.data && r(x.data, "expectedType") && U.push(x.data.expectedType);
1459
1459
  }
1460
1460
  var Se = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
1461
1461
  return new g("Invalid " + F + " `" + z + "` supplied to " + ("`" + M + "`" + Se + "."));
@@ -1505,9 +1505,9 @@ function _c() {
1505
1505
  "Invalid " + B + " `" + M + "` key `" + V + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(I[L], null, " ") + `
1506
1506
  Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
1507
1507
  );
1508
- var y = ye(F, V, A, B, M + "." + V, n);
1509
- if (y)
1510
- return y;
1508
+ var x = ye(F, V, A, B, M + "." + V, n);
1509
+ if (x)
1510
+ return x;
1511
1511
  }
1512
1512
  return null;
1513
1513
  }
@@ -1526,7 +1526,7 @@ Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
1526
1526
  return E.every(se);
1527
1527
  if (E === null || l(E))
1528
1528
  return !0;
1529
- var R = m(E);
1529
+ var R = p(E);
1530
1530
  if (R) {
1531
1531
  var I = R.call(E), L;
1532
1532
  if (R !== E.entries) {
@@ -1582,7 +1582,7 @@ Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
1582
1582
  function We(E) {
1583
1583
  return !E.constructor || !E.constructor.name ? h : E.constructor.name;
1584
1584
  }
1585
- return x.checkPropTypes = o, x.resetWarningCache = o.resetWarningCache, x.PropTypes = x, x;
1585
+ return y.checkPropTypes = o, y.resetWarningCache = o.resetWarningCache, y.PropTypes = y, y;
1586
1586
  }, Zn;
1587
1587
  }
1588
1588
  var Hn, Zs;
@@ -1596,8 +1596,8 @@ function Ec() {
1596
1596
  function n() {
1597
1597
  }
1598
1598
  return n.resetWarningCache = t, Hn = function() {
1599
- function r(a, l, c, d, f, m) {
1600
- if (m !== e) {
1599
+ function r(a, l, c, d, f, p) {
1600
+ if (p !== e) {
1601
1601
  var h = new Error(
1602
1602
  "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"
1603
1603
  );
@@ -1641,7 +1641,7 @@ if (process.env.NODE_ENV !== "production") {
1641
1641
  io.exports = Ec()();
1642
1642
  var wc = io.exports;
1643
1643
  const X = /* @__PURE__ */ Jl(wc);
1644
- function Sr(e) {
1644
+ function wr(e) {
1645
1645
  let t = "https://mui.com/production-error/?code=" + e;
1646
1646
  for (let n = 1; n < arguments.length; n += 1)
1647
1647
  t += "&args[]=" + encodeURIComponent(arguments[n]);
@@ -1649,7 +1649,7 @@ function Sr(e) {
1649
1649
  }
1650
1650
  const jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1651
1651
  __proto__: null,
1652
- default: Sr
1652
+ default: wr
1653
1653
  }, Symbol.toStringTag, { value: "Module" }));
1654
1654
  var lo = { exports: {} }, ce = {};
1655
1655
  /**
@@ -1666,7 +1666,7 @@ function Rc() {
1666
1666
  if (Hs)
1667
1667
  return ce;
1668
1668
  Hs = 1;
1669
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), b;
1669
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), b;
1670
1670
  b = Symbol.for("react.module.reference");
1671
1671
  function g(v) {
1672
1672
  if (typeof v == "object" && v !== null) {
@@ -1686,7 +1686,7 @@ function Rc() {
1686
1686
  case a:
1687
1687
  case c:
1688
1688
  case h:
1689
- case m:
1689
+ case p:
1690
1690
  case s:
1691
1691
  return v;
1692
1692
  default:
@@ -1698,7 +1698,7 @@ function Rc() {
1698
1698
  }
1699
1699
  }
1700
1700
  }
1701
- return ce.ContextConsumer = a, ce.ContextProvider = s, ce.Element = e, ce.ForwardRef = c, ce.Fragment = n, ce.Lazy = h, ce.Memo = m, ce.Portal = t, ce.Profiler = o, ce.StrictMode = r, ce.Suspense = d, ce.SuspenseList = f, ce.isAsyncMode = function() {
1701
+ return ce.ContextConsumer = a, ce.ContextProvider = s, ce.Element = e, ce.ForwardRef = c, ce.Fragment = n, ce.Lazy = h, ce.Memo = p, ce.Portal = t, ce.Profiler = o, ce.StrictMode = r, ce.Suspense = d, ce.SuspenseList = f, ce.isAsyncMode = function() {
1702
1702
  return !1;
1703
1703
  }, ce.isConcurrentMode = function() {
1704
1704
  return !1;
@@ -1715,7 +1715,7 @@ function Rc() {
1715
1715
  }, ce.isLazy = function(v) {
1716
1716
  return g(v) === h;
1717
1717
  }, ce.isMemo = function(v) {
1718
- return g(v) === m;
1718
+ return g(v) === p;
1719
1719
  }, ce.isPortal = function(v) {
1720
1720
  return g(v) === t;
1721
1721
  }, ce.isProfiler = function(v) {
@@ -1727,7 +1727,7 @@ function Rc() {
1727
1727
  }, ce.isSuspenseList = function(v) {
1728
1728
  return g(v) === f;
1729
1729
  }, ce.isValidElementType = function(v) {
1730
- return typeof v == "string" || typeof v == "function" || v === n || v === o || v === r || v === d || v === f || v === x || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === m || v.$$typeof === s || v.$$typeof === a || v.$$typeof === c || v.$$typeof === b || v.getModuleId !== void 0);
1730
+ return typeof v == "string" || typeof v == "function" || v === n || v === o || v === r || v === d || v === f || v === y || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === p || v.$$typeof === s || v.$$typeof === a || v.$$typeof === c || v.$$typeof === b || v.getModuleId !== void 0);
1731
1731
  }, ce.typeOf = g, ce;
1732
1732
  }
1733
1733
  var ue = {};
@@ -1743,16 +1743,16 @@ var ue = {};
1743
1743
  var ea;
1744
1744
  function Oc() {
1745
1745
  return ea || (ea = 1, process.env.NODE_ENV !== "production" && function() {
1746
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), b = !1, g = !1, v = !1, C = !1, S = !1, w;
1746
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), b = !1, g = !1, v = !1, C = !1, S = !1, w;
1747
1747
  w = Symbol.for("react.module.reference");
1748
1748
  function $(O) {
1749
- return !!(typeof O == "string" || typeof O == "function" || O === n || O === o || S || O === r || O === d || O === f || C || O === x || b || g || v || typeof O == "object" && O !== null && (O.$$typeof === h || O.$$typeof === m || O.$$typeof === s || O.$$typeof === a || O.$$typeof === c || // This needs to include all possible module reference object
1749
+ return !!(typeof O == "string" || typeof O == "function" || O === n || O === o || S || O === r || O === d || O === f || C || O === y || b || g || v || typeof O == "object" && O !== null && (O.$$typeof === h || O.$$typeof === p || O.$$typeof === s || O.$$typeof === a || O.$$typeof === c || // This needs to include all possible module reference object
1750
1750
  // types supported by any Flight configuration anywhere since
1751
1751
  // we don't know which Flight build this will end up being used
1752
1752
  // with.
1753
1753
  O.$$typeof === w || O.getModuleId !== void 0));
1754
1754
  }
1755
- function p(O) {
1755
+ function m(O) {
1756
1756
  if (typeof O == "object" && O !== null) {
1757
1757
  var Ve = O.$$typeof;
1758
1758
  switch (Ve) {
@@ -1772,7 +1772,7 @@ function Oc() {
1772
1772
  case a:
1773
1773
  case c:
1774
1774
  case h:
1775
- case m:
1775
+ case p:
1776
1776
  case s:
1777
1777
  return mt;
1778
1778
  default:
@@ -1784,7 +1784,7 @@ function Oc() {
1784
1784
  }
1785
1785
  }
1786
1786
  }
1787
- var P = a, D = s, Q = e, Te = c, xe = n, H = h, te = m, he = t, se = o, re = r, ve = d, Ie = f, Me = !1, We = !1;
1787
+ var P = a, D = s, Q = e, Te = c, xe = n, H = h, te = p, he = t, se = o, re = r, ve = d, Ie = f, Me = !1, We = !1;
1788
1788
  function E(O) {
1789
1789
  return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1790
1790
  }
@@ -1792,42 +1792,42 @@ function Oc() {
1792
1792
  return We || (We = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
1793
1793
  }
1794
1794
  function I(O) {
1795
- return p(O) === a;
1795
+ return m(O) === a;
1796
1796
  }
1797
1797
  function L(O) {
1798
- return p(O) === s;
1798
+ return m(O) === s;
1799
1799
  }
1800
1800
  function A(O) {
1801
1801
  return typeof O == "object" && O !== null && O.$$typeof === e;
1802
1802
  }
1803
1803
  function B(O) {
1804
- return p(O) === c;
1804
+ return m(O) === c;
1805
1805
  }
1806
1806
  function M(O) {
1807
- return p(O) === n;
1807
+ return m(O) === n;
1808
1808
  }
1809
1809
  function F(O) {
1810
- return p(O) === h;
1810
+ return m(O) === h;
1811
1811
  }
1812
1812
  function z(O) {
1813
- return p(O) === m;
1813
+ return m(O) === p;
1814
1814
  }
1815
1815
  function U(O) {
1816
- return p(O) === t;
1816
+ return m(O) === t;
1817
1817
  }
1818
1818
  function V(O) {
1819
- return p(O) === o;
1819
+ return m(O) === o;
1820
1820
  }
1821
1821
  function ye(O) {
1822
- return p(O) === r;
1822
+ return m(O) === r;
1823
1823
  }
1824
- function y(O) {
1825
- return p(O) === d;
1824
+ function x(O) {
1825
+ return m(O) === d;
1826
1826
  }
1827
1827
  function Se(O) {
1828
- return p(O) === f;
1828
+ return m(O) === f;
1829
1829
  }
1830
- ue.ContextConsumer = P, ue.ContextProvider = D, ue.Element = Q, ue.ForwardRef = Te, ue.Fragment = xe, ue.Lazy = H, ue.Memo = te, ue.Portal = he, ue.Profiler = se, ue.StrictMode = re, ue.Suspense = ve, ue.SuspenseList = Ie, ue.isAsyncMode = E, ue.isConcurrentMode = R, ue.isContextConsumer = I, ue.isContextProvider = L, ue.isElement = A, ue.isForwardRef = B, ue.isFragment = M, ue.isLazy = F, ue.isMemo = z, ue.isPortal = U, ue.isProfiler = V, ue.isStrictMode = ye, ue.isSuspense = y, ue.isSuspenseList = Se, ue.isValidElementType = $, ue.typeOf = p;
1830
+ ue.ContextConsumer = P, ue.ContextProvider = D, ue.Element = Q, ue.ForwardRef = Te, ue.Fragment = xe, ue.Lazy = H, ue.Memo = te, ue.Portal = he, ue.Profiler = se, ue.StrictMode = re, ue.Suspense = ve, ue.SuspenseList = Ie, ue.isAsyncMode = E, ue.isConcurrentMode = R, ue.isContextConsumer = I, ue.isContextProvider = L, ue.isElement = A, ue.isForwardRef = B, ue.isFragment = M, ue.isLazy = F, ue.isMemo = z, ue.isPortal = U, ue.isProfiler = V, ue.isStrictMode = ye, ue.isSuspense = x, ue.isSuspenseList = Se, ue.isValidElementType = $, ue.typeOf = m;
1831
1831
  }()), ue;
1832
1832
  }
1833
1833
  process.env.NODE_ENV === "production" ? lo.exports = Rc() : lo.exports = Oc();
@@ -1868,7 +1868,7 @@ const Ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1868
1868
  }, Symbol.toStringTag, { value: "Module" }));
1869
1869
  function At(e) {
1870
1870
  if (typeof e != "string")
1871
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Sr(7));
1871
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : wr(7));
1872
1872
  return e.charAt(0).toUpperCase() + e.slice(1);
1873
1873
  }
1874
1874
  const Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1919,13 +1919,13 @@ function Lc(e, t) {
1919
1919
  return () => null;
1920
1920
  const n = t ? me({}, t.propTypes) : null;
1921
1921
  return (o) => (s, a, l, c, d, ...f) => {
1922
- const m = d || a, h = n == null ? void 0 : n[m];
1922
+ const p = d || a, h = n == null ? void 0 : n[p];
1923
1923
  if (h) {
1924
- const x = h(s, a, l, c, d, ...f);
1925
- if (x)
1926
- return x;
1924
+ const y = h(s, a, l, c, d, ...f);
1925
+ if (y)
1926
+ return y;
1927
1927
  }
1928
- return typeof s[a] < "u" && !s[o] ? new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
1928
+ return typeof s[a] < "u" && !s[o] ? new Error(`The prop \`${p}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
1929
1929
  };
1930
1930
  }
1931
1931
  function pi(e, t) {
@@ -2221,16 +2221,16 @@ function yi(e) {
2221
2221
  function c(h) {
2222
2222
  return `@media (max-width:${(typeof t[h] == "number" ? t[h] : h) - r / 100}${n})`;
2223
2223
  }
2224
- function d(h, x) {
2225
- const b = a.indexOf(x);
2226
- return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${n}) and (max-width:${(b !== -1 && typeof t[a[b]] == "number" ? t[a[b]] : x) - r / 100}${n})`;
2224
+ function d(h, y) {
2225
+ const b = a.indexOf(y);
2226
+ return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${n}) and (max-width:${(b !== -1 && typeof t[a[b]] == "number" ? t[a[b]] : y) - r / 100}${n})`;
2227
2227
  }
2228
2228
  function f(h) {
2229
2229
  return a.indexOf(h) + 1 < a.length ? d(h, a[a.indexOf(h) + 1]) : l(h);
2230
2230
  }
2231
- function m(h) {
2232
- const x = a.indexOf(h);
2233
- return x === 0 ? l(a[1]) : x === a.length - 1 ? c(a[x]) : d(h, a[a.indexOf(h) + 1]).replace("@media", "@media not all and");
2231
+ function p(h) {
2232
+ const y = a.indexOf(h);
2233
+ return y === 0 ? l(a[1]) : y === a.length - 1 ? c(a[y]) : d(h, a[a.indexOf(h) + 1]).replace("@media", "@media not all and");
2234
2234
  }
2235
2235
  return me({
2236
2236
  keys: a,
@@ -2239,14 +2239,14 @@ function yi(e) {
2239
2239
  down: c,
2240
2240
  between: d,
2241
2241
  only: f,
2242
- not: m,
2242
+ not: p,
2243
2243
  unit: n
2244
2244
  }, o);
2245
2245
  }
2246
2246
  const du = {
2247
2247
  borderRadius: 4
2248
2248
  }, fu = du, pu = process.env.NODE_ENV !== "production" ? X.oneOfType([X.number, X.string, X.object, X.array]) : {}, Pt = pu;
2249
- function Tr(e, t) {
2249
+ function Sr(e, t) {
2250
2250
  return t ? ft(e, t, {
2251
2251
  clone: !1
2252
2252
  // No need to clone deep, it's way faster.
@@ -2327,9 +2327,9 @@ function ke(e) {
2327
2327
  if (a[t] == null)
2328
2328
  return null;
2329
2329
  const l = a[t], c = a.theme, d = En(c, r) || {};
2330
- return Et(a, l, (m) => {
2331
- let h = mn(d, o, m);
2332
- return m === h && typeof m == "string" && (h = mn(d, o, `${t}${m === "default" ? "" : At(m)}`, m)), n === !1 ? h : {
2330
+ return Et(a, l, (p) => {
2331
+ let h = mn(d, o, p);
2332
+ return p === h && typeof p == "string" && (h = mn(d, o, `${t}${p === "default" ? "" : At(p)}`, p)), n === !1 ? h : {
2333
2333
  [n]: h
2334
2334
  };
2335
2335
  });
@@ -2395,7 +2395,7 @@ function _u(e, t, n, r) {
2395
2395
  }
2396
2396
  function Ci(e, t) {
2397
2397
  const n = xi(e.theme);
2398
- return Object.keys(e).map((r) => _u(e, t, r, n)).reduce(Tr, {});
2398
+ return Object.keys(e).map((r) => _u(e, t, r, n)).reduce(Sr, {});
2399
2399
  }
2400
2400
  function Re(e) {
2401
2401
  return Ci(e, Tn);
@@ -2422,7 +2422,7 @@ function Eu(e = 8) {
2422
2422
  function wn(...e) {
2423
2423
  const t = e.reduce((r, o) => (o.filterProps.forEach((s) => {
2424
2424
  r[s] = o;
2425
- }), r), {}), n = (r) => Object.keys(r).reduce((o, s) => t[s] ? Tr(o, t[s](r)) : o, {});
2425
+ }), r), {}), n = (r) => Object.keys(r).reduce((o, s) => t[s] ? Sr(o, t[s](r)) : o, {});
2426
2426
  return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), n;
2427
2427
  }
2428
2428
  function nt(e) {
@@ -2883,7 +2883,7 @@ function _i() {
2883
2883
  cssProperty: c = n,
2884
2884
  themeKey: d,
2885
2885
  transform: f,
2886
- style: m
2886
+ style: p
2887
2887
  } = l;
2888
2888
  if (r == null)
2889
2889
  return null;
@@ -2892,7 +2892,7 @@ function _i() {
2892
2892
  [n]: r
2893
2893
  };
2894
2894
  const h = En(o, d) || {};
2895
- return m ? m(a) : Et(a, r, (b) => {
2895
+ return p ? p(a) : Et(a, r, (b) => {
2896
2896
  let g = mn(h, f, b);
2897
2897
  return b === g && typeof b == "string" && (g = mn(h, f, `${n}${b === "default" ? "" : At(b)}`, b)), c === !1 ? g : {
2898
2898
  [c]: g
@@ -2916,28 +2916,28 @@ function _i() {
2916
2916
  return c;
2917
2917
  if (!d)
2918
2918
  return null;
2919
- const f = mu(s.breakpoints), m = Object.keys(f);
2919
+ const f = mu(s.breakpoints), p = Object.keys(f);
2920
2920
  let h = f;
2921
- return Object.keys(d).forEach((x) => {
2922
- const b = rd(d[x], s);
2921
+ return Object.keys(d).forEach((y) => {
2922
+ const b = rd(d[y], s);
2923
2923
  if (b != null)
2924
2924
  if (typeof b == "object")
2925
- if (a[x])
2926
- h = Tr(h, e(x, b, s, a));
2925
+ if (a[y])
2926
+ h = Sr(h, e(y, b, s, a));
2927
2927
  else {
2928
2928
  const g = Et({
2929
2929
  theme: s
2930
2930
  }, b, (v) => ({
2931
- [x]: v
2931
+ [y]: v
2932
2932
  }));
2933
- td(g, b) ? h[x] = t({
2933
+ td(g, b) ? h[y] = t({
2934
2934
  sx: b,
2935
2935
  theme: s
2936
- }) : h = Tr(h, g);
2936
+ }) : h = Sr(h, g);
2937
2937
  }
2938
2938
  else
2939
- h = Tr(h, e(x, b, s, a));
2940
- }), hu(m, h);
2939
+ h = Sr(h, e(y, b, s, a));
2940
+ }), hu(p, h);
2941
2941
  }
2942
2942
  return Array.isArray(o) ? o.map(l) : l(o);
2943
2943
  }
@@ -2970,9 +2970,9 @@ function Mo(e = {}, ...t) {
2970
2970
  spacing: c,
2971
2971
  shape: me({}, fu, s)
2972
2972
  }, a);
2973
- return d.applyStyles = Ei, d = t.reduce((f, m) => ft(f, m), d), d.unstable_sxConfig = me({}, Pr, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(m) {
2973
+ return d.applyStyles = Ei, d = t.reduce((f, p) => ft(f, p), d), d.unstable_sxConfig = me({}, Pr, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(p) {
2974
2974
  return kn({
2975
- sx: m,
2975
+ sx: p,
2976
2976
  theme: this
2977
2977
  });
2978
2978
  }, d;
@@ -3059,7 +3059,7 @@ function uo(e, t) {
3059
3059
  function Be(e, t) {
3060
3060
  return e.charCodeAt(t) | 0;
3061
3061
  }
3062
- function wr(e, t, n) {
3062
+ function jr(e, t, n) {
3063
3063
  return e.slice(t, n);
3064
3064
  }
3065
3065
  function ut(e) {
@@ -3074,32 +3074,32 @@ function tn(e, t) {
3074
3074
  function gd(e, t) {
3075
3075
  return e.map(t).join("");
3076
3076
  }
3077
- var Mn = 1, Zt = 1, ji = 0, Je = 0, De = 0, er = "";
3077
+ var Mn = 1, Zt = 1, ji = 0, Je = 0, De = 0, tr = "";
3078
3078
  function Pn(e, t, n, r, o, s, a) {
3079
3079
  return { value: e, root: t, parent: n, type: r, props: o, children: s, line: Mn, column: Zt, length: a, return: "" };
3080
3080
  }
3081
- function Cr(e, t) {
3081
+ function _r(e, t) {
3082
3082
  return pd(Pn("", null, null, "", null, null, 0), e, { length: -e.length }, t);
3083
3083
  }
3084
3084
  function vd() {
3085
3085
  return De;
3086
3086
  }
3087
3087
  function bd() {
3088
- return De = Je > 0 ? Be(er, --Je) : 0, Zt--, De === 10 && (Zt = 1, Mn--), De;
3088
+ return De = Je > 0 ? Be(tr, --Je) : 0, Zt--, De === 10 && (Zt = 1, Mn--), De;
3089
3089
  }
3090
3090
  function et() {
3091
- return De = Je < ji ? Be(er, Je++) : 0, Zt++, De === 10 && (Zt = 1, Mn++), De;
3091
+ return De = Je < ji ? Be(tr, Je++) : 0, Zt++, De === 10 && (Zt = 1, Mn++), De;
3092
3092
  }
3093
3093
  function pt() {
3094
- return Be(er, Je);
3094
+ return Be(tr, Je);
3095
3095
  }
3096
3096
  function ln() {
3097
3097
  return Je;
3098
3098
  }
3099
3099
  function Dr(e, t) {
3100
- return wr(er, e, t);
3100
+ return jr(tr, e, t);
3101
3101
  }
3102
- function jr(e) {
3102
+ function Rr(e) {
3103
3103
  switch (e) {
3104
3104
  case 0:
3105
3105
  case 9:
@@ -3132,10 +3132,10 @@ function jr(e) {
3132
3132
  return 0;
3133
3133
  }
3134
3134
  function Ri(e) {
3135
- return Mn = Zt = 1, ji = ut(er = e), Je = 0, [];
3135
+ return Mn = Zt = 1, ji = ut(tr = e), Je = 0, [];
3136
3136
  }
3137
3137
  function Oi(e) {
3138
- return er = "", e;
3138
+ return tr = "", e;
3139
3139
  }
3140
3140
  function cn(e) {
3141
3141
  return wi(Dr(Je - 1, fo(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
@@ -3143,7 +3143,7 @@ function cn(e) {
3143
3143
  function yd(e) {
3144
3144
  for (; (De = pt()) && De < 33; )
3145
3145
  et();
3146
- return jr(e) > 2 || jr(De) > 3 ? "" : " ";
3146
+ return Rr(e) > 2 || Rr(De) > 3 ? "" : " ";
3147
3147
  }
3148
3148
  function xd(e, t) {
3149
3149
  for (; --t && et() && !(De < 48 || De > 102 || De > 57 && De < 65 || De > 70 && De < 97); )
@@ -3175,7 +3175,7 @@ function Cd(e, t) {
3175
3175
  return "/*" + Dr(t, Je - 1) + "*" + An(e === 47 ? e : et());
3176
3176
  }
3177
3177
  function _d(e) {
3178
- for (; !jr(pt()); )
3178
+ for (; !Rr(pt()); )
3179
3179
  et();
3180
3180
  return Dr(e, Je);
3181
3181
  }
@@ -3183,10 +3183,10 @@ function Ed(e) {
3183
3183
  return Oi(un("", null, null, null, [""], e = Ri(e), 0, [0], e));
3184
3184
  }
3185
3185
  function un(e, t, n, r, o, s, a, l, c) {
3186
- for (var d = 0, f = 0, m = a, h = 0, x = 0, b = 0, g = 1, v = 1, C = 1, S = 0, w = "", $ = o, p = s, P = r, D = w; v; )
3186
+ for (var d = 0, f = 0, p = a, h = 0, y = 0, b = 0, g = 1, v = 1, C = 1, S = 0, w = "", $ = o, m = s, P = r, D = w; v; )
3187
3187
  switch (b = S, S = et()) {
3188
3188
  case 40:
3189
- if (b != 108 && Be(D, m - 1) == 58) {
3189
+ if (b != 108 && Be(D, p - 1) == 58) {
3190
3190
  uo(D += oe(cn(S), "&", "&\f"), "&\f") != -1 && (C = -1);
3191
3191
  break;
3192
3192
  }
@@ -3224,30 +3224,30 @@ function un(e, t, n, r, o, s, a, l, c) {
3224
3224
  case 125:
3225
3225
  v = 0;
3226
3226
  case 59 + f:
3227
- C == -1 && (D = oe(D, /\f/g, "")), x > 0 && ut(D) - m && tn(x > 32 ? ca(D + ";", r, n, m - 1) : ca(oe(D, " ", "") + ";", r, n, m - 2), c);
3227
+ C == -1 && (D = oe(D, /\f/g, "")), y > 0 && ut(D) - p && tn(y > 32 ? ca(D + ";", r, n, p - 1) : ca(oe(D, " ", "") + ";", r, n, p - 2), c);
3228
3228
  break;
3229
3229
  case 59:
3230
3230
  D += ";";
3231
3231
  default:
3232
- if (tn(P = la(D, t, n, d, f, o, l, w, $ = [], p = [], m), s), S === 123)
3232
+ if (tn(P = la(D, t, n, d, f, o, l, w, $ = [], m = [], p), s), S === 123)
3233
3233
  if (f === 0)
3234
- un(D, t, P, P, $, s, m, l, p);
3234
+ un(D, t, P, P, $, s, p, l, m);
3235
3235
  else
3236
3236
  switch (h === 99 && Be(D, 3) === 110 ? 100 : h) {
3237
3237
  case 100:
3238
3238
  case 108:
3239
3239
  case 109:
3240
3240
  case 115:
3241
- un(e, P, P, r && tn(la(e, P, P, 0, 0, o, l, w, o, $ = [], m), p), o, p, m, l, r ? $ : p);
3241
+ un(e, P, P, r && tn(la(e, P, P, 0, 0, o, l, w, o, $ = [], p), m), o, m, p, l, r ? $ : m);
3242
3242
  break;
3243
3243
  default:
3244
- un(D, P, P, P, [""], p, 0, l, p);
3244
+ un(D, P, P, P, [""], m, 0, l, m);
3245
3245
  }
3246
3246
  }
3247
- d = f = x = 0, g = C = 1, w = D = "", m = a;
3247
+ d = f = y = 0, g = C = 1, w = D = "", p = a;
3248
3248
  break;
3249
3249
  case 58:
3250
- m = 1 + ut(D), x = b;
3250
+ p = 1 + ut(D), y = b;
3251
3251
  default:
3252
3252
  if (g < 1) {
3253
3253
  if (S == 123)
@@ -3263,7 +3263,7 @@ function un(e, t, n, r, o, s, a, l, c) {
3263
3263
  l[d++] = (ut(D) - 1) * C, C = 1;
3264
3264
  break;
3265
3265
  case 64:
3266
- pt() === 45 && (D += cn(et())), h = pt(), f = m = ut(w = D += _d(ln())), S++;
3266
+ pt() === 45 && (D += cn(et())), h = pt(), f = p = ut(w = D += _d(ln())), S++;
3267
3267
  break;
3268
3268
  case 45:
3269
3269
  b === 45 && ut(D) == 2 && (g = 0);
@@ -3272,16 +3272,16 @@ function un(e, t, n, r, o, s, a, l, c) {
3272
3272
  return s;
3273
3273
  }
3274
3274
  function la(e, t, n, r, o, s, a, l, c, d, f) {
3275
- for (var m = o - 1, h = o === 0 ? s : [""], x = Fo(h), b = 0, g = 0, v = 0; b < r; ++b)
3276
- for (var C = 0, S = wr(e, m + 1, m = fd(g = a[b])), w = e; C < x; ++C)
3275
+ for (var p = o - 1, h = o === 0 ? s : [""], y = Fo(h), b = 0, g = 0, v = 0; b < r; ++b)
3276
+ for (var C = 0, S = jr(e, p + 1, p = fd(g = a[b])), w = e; C < y; ++C)
3277
3277
  (w = wi(g > 0 ? h[C] + " " + S : oe(S, /&\f/g, h[C]))) && (c[v++] = w);
3278
3278
  return Pn(e, t, n, o === 0 ? Do : l, c, d, f);
3279
3279
  }
3280
3280
  function Td(e, t, n) {
3281
- return Pn(e, t, n, Po, An(vd()), wr(e, 2, -2), 0);
3281
+ return Pn(e, t, n, Po, An(vd()), jr(e, 2, -2), 0);
3282
3282
  }
3283
3283
  function ca(e, t, n, r) {
3284
- return Pn(e, t, n, Io, wr(e, 0, r), wr(e, r + 1, -1), r);
3284
+ return Pn(e, t, n, Io, jr(e, 0, r), jr(e, r + 1, -1), r);
3285
3285
  }
3286
3286
  function Xt(e, t) {
3287
3287
  for (var n = "", r = Fo(e), o = 0; o < r; o++)
@@ -3319,13 +3319,13 @@ function jd(e) {
3319
3319
  };
3320
3320
  }
3321
3321
  var Rd = function(t, n, r) {
3322
- for (var o = 0, s = 0; o = s, s = pt(), o === 38 && s === 12 && (n[r] = 1), !jr(s); )
3322
+ for (var o = 0, s = 0; o = s, s = pt(), o === 38 && s === 12 && (n[r] = 1), !Rr(s); )
3323
3323
  et();
3324
3324
  return Dr(t, Je);
3325
3325
  }, Od = function(t, n) {
3326
3326
  var r = -1, o = 44;
3327
3327
  do
3328
- switch (jr(o)) {
3328
+ switch (Rr(o)) {
3329
3329
  case 0:
3330
3330
  o === 38 && pt() === 12 && (n[r] = 1), t[r] += Rd(Je - 1, n, r);
3331
3331
  break;
@@ -3524,7 +3524,7 @@ var Nd = function(t, n, r, o) {
3524
3524
  t.return = ki(t.value, t.length);
3525
3525
  break;
3526
3526
  case Si:
3527
- return Xt([Cr(t, {
3527
+ return Xt([_r(t, {
3528
3528
  value: oe(t.value, "@", "@" + ne)
3529
3529
  })], o);
3530
3530
  case Do:
@@ -3533,15 +3533,15 @@ var Nd = function(t, n, r, o) {
3533
3533
  switch (hd(s, /(::plac\w+|:read-\w+)/)) {
3534
3534
  case ":read-only":
3535
3535
  case ":read-write":
3536
- return Xt([Cr(t, {
3536
+ return Xt([_r(t, {
3537
3537
  props: [oe(s, /:(read-\w+)/, ":" + hn + "$1")]
3538
3538
  })], o);
3539
3539
  case "::placeholder":
3540
- return Xt([Cr(t, {
3540
+ return Xt([_r(t, {
3541
3541
  props: [oe(s, /:(plac\w+)/, ":" + ne + "input-$1")]
3542
- }), Cr(t, {
3542
+ }), _r(t, {
3543
3543
  props: [oe(s, /:(plac\w+)/, ":" + hn + "$1")]
3544
- }), Cr(t, {
3544
+ }), _r(t, {
3545
3545
  props: [oe(s, /:(plac\w+)/, Ye + "input-$1")]
3546
3546
  })], o);
3547
3547
  }
@@ -3581,19 +3581,19 @@ If multiple caches share the same key they might "fight" for each other's style
3581
3581
  }
3582
3582
  }), Fd);
3583
3583
  {
3584
- var f, m = [Sd, process.env.NODE_ENV !== "production" ? function(g) {
3584
+ var f, p = [Sd, process.env.NODE_ENV !== "production" ? function(g) {
3585
3585
  g.root || (g.return ? f.insert(g.return) : g.value && g.type !== Po && f.insert(g.value + "{}"));
3586
3586
  } : jd(function(g) {
3587
3587
  f.insert(g);
3588
- })], h = wd(d.concat(o, m)), x = function(v) {
3588
+ })], h = wd(d.concat(o, p)), y = function(v) {
3589
3589
  return Xt(Ed(v), h);
3590
3590
  };
3591
3591
  c = function(v, C, S, w) {
3592
3592
  f = S, process.env.NODE_ENV !== "production" && C.map !== void 0 && (f = {
3593
- insert: function(p) {
3594
- S.insert(p + C.map);
3593
+ insert: function(m) {
3594
+ S.insert(m + C.map);
3595
3595
  }
3596
- }), x(v ? v + "{" + C.styles + "}" : C.styles), w && (b.inserted[C.name] = !0);
3596
+ }), y(v ? v + "{" + C.styles + "}" : C.styles), w && (b.inserted[C.name] = !0);
3597
3597
  };
3598
3598
  }
3599
3599
  var b = {
@@ -3626,28 +3626,28 @@ function Vd() {
3626
3626
  if (fa)
3627
3627
  return de;
3628
3628
  fa = 1;
3629
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
3630
- function w(p) {
3631
- if (typeof p == "object" && p !== null) {
3632
- var P = p.$$typeof;
3629
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
3630
+ function w(m) {
3631
+ if (typeof m == "object" && m !== null) {
3632
+ var P = m.$$typeof;
3633
3633
  switch (P) {
3634
3634
  case t:
3635
- switch (p = p.type, p) {
3635
+ switch (m = m.type, m) {
3636
3636
  case c:
3637
3637
  case d:
3638
3638
  case r:
3639
3639
  case s:
3640
3640
  case o:
3641
- case m:
3642
- return p;
3641
+ case p:
3642
+ return m;
3643
3643
  default:
3644
- switch (p = p && p.$$typeof, p) {
3644
+ switch (m = m && m.$$typeof, m) {
3645
3645
  case l:
3646
3646
  case f:
3647
3647
  case b:
3648
- case x:
3648
+ case y:
3649
3649
  case a:
3650
- return p;
3650
+ return m;
3651
3651
  default:
3652
3652
  return P;
3653
3653
  }
@@ -3657,35 +3657,35 @@ function Vd() {
3657
3657
  }
3658
3658
  }
3659
3659
  }
3660
- function $(p) {
3661
- return w(p) === d;
3660
+ function $(m) {
3661
+ return w(m) === d;
3662
3662
  }
3663
- return de.AsyncMode = c, de.ConcurrentMode = d, de.ContextConsumer = l, de.ContextProvider = a, de.Element = t, de.ForwardRef = f, de.Fragment = r, de.Lazy = b, de.Memo = x, de.Portal = n, de.Profiler = s, de.StrictMode = o, de.Suspense = m, de.isAsyncMode = function(p) {
3664
- return $(p) || w(p) === c;
3665
- }, de.isConcurrentMode = $, de.isContextConsumer = function(p) {
3666
- return w(p) === l;
3667
- }, de.isContextProvider = function(p) {
3668
- return w(p) === a;
3669
- }, de.isElement = function(p) {
3670
- return typeof p == "object" && p !== null && p.$$typeof === t;
3671
- }, de.isForwardRef = function(p) {
3672
- return w(p) === f;
3673
- }, de.isFragment = function(p) {
3674
- return w(p) === r;
3675
- }, de.isLazy = function(p) {
3676
- return w(p) === b;
3677
- }, de.isMemo = function(p) {
3678
- return w(p) === x;
3679
- }, de.isPortal = function(p) {
3680
- return w(p) === n;
3681
- }, de.isProfiler = function(p) {
3682
- return w(p) === s;
3683
- }, de.isStrictMode = function(p) {
3684
- return w(p) === o;
3685
- }, de.isSuspense = function(p) {
3686
- return w(p) === m;
3687
- }, de.isValidElementType = function(p) {
3688
- return typeof p == "string" || typeof p == "function" || p === r || p === d || p === s || p === o || p === m || p === h || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === x || p.$$typeof === a || p.$$typeof === l || p.$$typeof === f || p.$$typeof === v || p.$$typeof === C || p.$$typeof === S || p.$$typeof === g);
3663
+ return de.AsyncMode = c, de.ConcurrentMode = d, de.ContextConsumer = l, de.ContextProvider = a, de.Element = t, de.ForwardRef = f, de.Fragment = r, de.Lazy = b, de.Memo = y, de.Portal = n, de.Profiler = s, de.StrictMode = o, de.Suspense = p, de.isAsyncMode = function(m) {
3664
+ return $(m) || w(m) === c;
3665
+ }, de.isConcurrentMode = $, de.isContextConsumer = function(m) {
3666
+ return w(m) === l;
3667
+ }, de.isContextProvider = function(m) {
3668
+ return w(m) === a;
3669
+ }, de.isElement = function(m) {
3670
+ return typeof m == "object" && m !== null && m.$$typeof === t;
3671
+ }, de.isForwardRef = function(m) {
3672
+ return w(m) === f;
3673
+ }, de.isFragment = function(m) {
3674
+ return w(m) === r;
3675
+ }, de.isLazy = function(m) {
3676
+ return w(m) === b;
3677
+ }, de.isMemo = function(m) {
3678
+ return w(m) === y;
3679
+ }, de.isPortal = function(m) {
3680
+ return w(m) === n;
3681
+ }, de.isProfiler = function(m) {
3682
+ return w(m) === s;
3683
+ }, de.isStrictMode = function(m) {
3684
+ return w(m) === o;
3685
+ }, de.isSuspense = function(m) {
3686
+ return w(m) === p;
3687
+ }, de.isValidElementType = function(m) {
3688
+ return typeof m == "string" || typeof m == "function" || m === r || m === d || m === s || m === o || m === p || m === h || typeof m == "object" && m !== null && (m.$$typeof === b || m.$$typeof === y || m.$$typeof === a || m.$$typeof === l || m.$$typeof === f || m.$$typeof === v || m.$$typeof === C || m.$$typeof === S || m.$$typeof === g);
3689
3689
  }, de.typeOf = w, de;
3690
3690
  }
3691
3691
  var fe = {};
@@ -3700,24 +3700,24 @@ var fe = {};
3700
3700
  var pa;
3701
3701
  function qd() {
3702
3702
  return pa || (pa = 1, process.env.NODE_ENV !== "production" && function() {
3703
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
3704
- function w(y) {
3705
- return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
3706
- y === r || y === d || y === s || y === o || y === m || y === h || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === x || y.$$typeof === a || y.$$typeof === l || y.$$typeof === f || y.$$typeof === v || y.$$typeof === C || y.$$typeof === S || y.$$typeof === g);
3707
- }
3708
- function $(y) {
3709
- if (typeof y == "object" && y !== null) {
3710
- var Se = y.$$typeof;
3703
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
3704
+ function w(x) {
3705
+ return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
3706
+ x === r || x === d || x === s || x === o || x === p || x === h || typeof x == "object" && x !== null && (x.$$typeof === b || x.$$typeof === y || x.$$typeof === a || x.$$typeof === l || x.$$typeof === f || x.$$typeof === v || x.$$typeof === C || x.$$typeof === S || x.$$typeof === g);
3707
+ }
3708
+ function $(x) {
3709
+ if (typeof x == "object" && x !== null) {
3710
+ var Se = x.$$typeof;
3711
3711
  switch (Se) {
3712
3712
  case t:
3713
- var O = y.type;
3713
+ var O = x.type;
3714
3714
  switch (O) {
3715
3715
  case c:
3716
3716
  case d:
3717
3717
  case r:
3718
3718
  case s:
3719
3719
  case o:
3720
- case m:
3720
+ case p:
3721
3721
  return O;
3722
3722
  default:
3723
3723
  var Ve = O && O.$$typeof;
@@ -3725,7 +3725,7 @@ function qd() {
3725
3725
  case l:
3726
3726
  case f:
3727
3727
  case b:
3728
- case x:
3728
+ case y:
3729
3729
  case a:
3730
3730
  return Ve;
3731
3731
  default:
@@ -3737,47 +3737,47 @@ function qd() {
3737
3737
  }
3738
3738
  }
3739
3739
  }
3740
- var p = c, P = d, D = l, Q = a, Te = t, xe = f, H = r, te = b, he = x, se = n, re = s, ve = o, Ie = m, Me = !1;
3741
- function We(y) {
3742
- return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(y) || $(y) === c;
3740
+ var m = c, P = d, D = l, Q = a, Te = t, xe = f, H = r, te = b, he = y, se = n, re = s, ve = o, Ie = p, Me = !1;
3741
+ function We(x) {
3742
+ return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), E(x) || $(x) === c;
3743
3743
  }
3744
- function E(y) {
3745
- return $(y) === d;
3744
+ function E(x) {
3745
+ return $(x) === d;
3746
3746
  }
3747
- function R(y) {
3748
- return $(y) === l;
3747
+ function R(x) {
3748
+ return $(x) === l;
3749
3749
  }
3750
- function I(y) {
3751
- return $(y) === a;
3750
+ function I(x) {
3751
+ return $(x) === a;
3752
3752
  }
3753
- function L(y) {
3754
- return typeof y == "object" && y !== null && y.$$typeof === t;
3753
+ function L(x) {
3754
+ return typeof x == "object" && x !== null && x.$$typeof === t;
3755
3755
  }
3756
- function A(y) {
3757
- return $(y) === f;
3756
+ function A(x) {
3757
+ return $(x) === f;
3758
3758
  }
3759
- function B(y) {
3760
- return $(y) === r;
3759
+ function B(x) {
3760
+ return $(x) === r;
3761
3761
  }
3762
- function M(y) {
3763
- return $(y) === b;
3762
+ function M(x) {
3763
+ return $(x) === b;
3764
3764
  }
3765
- function F(y) {
3766
- return $(y) === x;
3765
+ function F(x) {
3766
+ return $(x) === y;
3767
3767
  }
3768
- function z(y) {
3769
- return $(y) === n;
3768
+ function z(x) {
3769
+ return $(x) === n;
3770
3770
  }
3771
- function U(y) {
3772
- return $(y) === s;
3771
+ function U(x) {
3772
+ return $(x) === s;
3773
3773
  }
3774
- function V(y) {
3775
- return $(y) === o;
3774
+ function V(x) {
3775
+ return $(x) === o;
3776
3776
  }
3777
- function ye(y) {
3778
- return $(y) === m;
3777
+ function ye(x) {
3778
+ return $(x) === p;
3779
3779
  }
3780
- fe.AsyncMode = p, fe.ConcurrentMode = P, fe.ContextConsumer = D, fe.ContextProvider = Q, fe.Element = Te, fe.ForwardRef = xe, fe.Fragment = H, fe.Lazy = te, fe.Memo = he, fe.Portal = se, fe.Profiler = re, fe.StrictMode = ve, fe.Suspense = Ie, fe.isAsyncMode = We, fe.isConcurrentMode = E, fe.isContextConsumer = R, fe.isContextProvider = I, fe.isElement = L, fe.isForwardRef = A, fe.isFragment = B, fe.isLazy = M, fe.isMemo = F, fe.isPortal = z, fe.isProfiler = U, fe.isStrictMode = V, fe.isSuspense = ye, fe.isValidElementType = w, fe.typeOf = $;
3780
+ fe.AsyncMode = m, fe.ConcurrentMode = P, fe.ContextConsumer = D, fe.ContextProvider = Q, fe.Element = Te, fe.ForwardRef = xe, fe.Fragment = H, fe.Lazy = te, fe.Memo = he, fe.Portal = se, fe.Profiler = re, fe.StrictMode = ve, fe.Suspense = Ie, fe.isAsyncMode = We, fe.isConcurrentMode = E, fe.isContextConsumer = R, fe.isContextProvider = I, fe.isElement = L, fe.isForwardRef = A, fe.isFragment = B, fe.isLazy = M, fe.isMemo = F, fe.isPortal = z, fe.isProfiler = U, fe.isStrictMode = V, fe.isSuspense = ye, fe.isValidElementType = w, fe.typeOf = $;
3781
3781
  }()), fe;
3782
3782
  }
3783
3783
  process.env.NODE_ENV === "production" ? po.exports = Vd() : po.exports = qd();
@@ -3929,7 +3929,7 @@ if (process.env.NODE_ENV !== "production") {
3929
3929
  };
3930
3930
  }
3931
3931
  var Ii = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
3932
- function Rr(e, t, n) {
3932
+ function Or(e, t, n) {
3933
3933
  if (n == null)
3934
3934
  return "";
3935
3935
  if (n.__emotion_styles !== void 0) {
@@ -3964,16 +3964,16 @@ function Rr(e, t, n) {
3964
3964
  case "function": {
3965
3965
  if (e !== void 0) {
3966
3966
  var s = it, a = n(e);
3967
- return it = s, Rr(e, t, a);
3967
+ return it = s, Or(e, t, a);
3968
3968
  } else
3969
3969
  process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
3970
3970
  break;
3971
3971
  }
3972
3972
  case "string":
3973
3973
  if (process.env.NODE_ENV !== "production") {
3974
- var l = [], c = n.replace(Di, function(f, m, h) {
3975
- var x = "animation" + l.length;
3976
- return l.push("const " + x + " = keyframes`" + h.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + x + "}";
3974
+ var l = [], c = n.replace(Di, function(f, p, h) {
3975
+ var y = "animation" + l.length;
3976
+ return l.push("const " + y + " = keyframes`" + h.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + y + "}";
3977
3977
  });
3978
3978
  l.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(l, ["`" + c + "`"]).join(`
3979
3979
  `) + `
@@ -3993,7 +3993,7 @@ function tf(e, t, n) {
3993
3993
  var r = "";
3994
3994
  if (Array.isArray(n))
3995
3995
  for (var o = 0; o < n.length; o++)
3996
- r += Rr(e, t, n[o]) + ";";
3996
+ r += Or(e, t, n[o]) + ";";
3997
3997
  else
3998
3998
  for (var s in n) {
3999
3999
  var a = n[s];
@@ -4006,7 +4006,7 @@ function tf(e, t, n) {
4006
4006
  for (var l = 0; l < a.length; l++)
4007
4007
  ha(a[l]) && (r += to(s) + ":" + gn(s, a[l]) + ";");
4008
4008
  else {
4009
- var c = Rr(e, t, a);
4009
+ var c = Or(e, t, a);
4010
4010
  switch (s) {
4011
4011
  case "animation":
4012
4012
  case "animationName": {
@@ -4029,9 +4029,9 @@ var it, Ht = function(t, n, r) {
4029
4029
  var o = !0, s = "";
4030
4030
  it = void 0;
4031
4031
  var a = t[0];
4032
- a == null || a.raw === void 0 ? (o = !1, s += Rr(r, n, a)) : (process.env.NODE_ENV !== "production" && a[0] === void 0 && console.error(ma), s += a[0]);
4032
+ a == null || a.raw === void 0 ? (o = !1, s += Or(r, n, a)) : (process.env.NODE_ENV !== "production" && a[0] === void 0 && console.error(ma), s += a[0]);
4033
4033
  for (var l = 1; l < t.length; l++)
4034
- s += Rr(r, n, t[l]), o && (process.env.NODE_ENV !== "production" && a[l] === void 0 && console.error(ma), s += a[l]);
4034
+ s += Or(r, n, t[l]), o && (process.env.NODE_ENV !== "production" && a[l] === void 0 && console.error(ma), s += a[l]);
4035
4035
  var c;
4036
4036
  process.env.NODE_ENV !== "production" && (s = s.replace(Fi, function(h) {
4037
4037
  return c = h, "";
@@ -4039,9 +4039,9 @@ var it, Ht = function(t, n, r) {
4039
4039
  for (var d = "", f; (f = va.exec(s)) !== null; )
4040
4040
  d += "-" + // $FlowFixMe we know it's not null
4041
4041
  f[1];
4042
- var m = Yd(s) + d;
4042
+ var p = Yd(s) + d;
4043
4043
  return process.env.NODE_ENV !== "production" ? {
4044
- name: m,
4044
+ name: p,
4045
4045
  styles: s,
4046
4046
  map: c,
4047
4047
  next: it,
@@ -4049,7 +4049,7 @@ var it, Ht = function(t, n, r) {
4049
4049
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
4050
4050
  }
4051
4051
  } : {
4052
- name: m,
4052
+ name: p,
4053
4053
  styles: s,
4054
4054
  next: it
4055
4055
  };
@@ -4333,15 +4333,15 @@ var ff = function(t) {
4333
4333
  var n = !1, r = [], o = function() {
4334
4334
  if (n && process.env.NODE_ENV !== "production")
4335
4335
  throw new Error("css can only be used during render");
4336
- for (var d = arguments.length, f = new Array(d), m = 0; m < d; m++)
4337
- f[m] = arguments[m];
4336
+ for (var d = arguments.length, f = new Array(d), p = 0; p < d; p++)
4337
+ f[p] = arguments[p];
4338
4338
  var h = Ht(f, t.registered);
4339
4339
  return r.push(h), Dn(t, h, !1), t.key + "-" + h.name;
4340
4340
  }, s = function() {
4341
4341
  if (n && process.env.NODE_ENV !== "production")
4342
4342
  throw new Error("cx can only be used during render");
4343
- for (var d = arguments.length, f = new Array(d), m = 0; m < d; m++)
4344
- f[m] = arguments[m];
4343
+ for (var d = arguments.length, f = new Array(d), p = 0; p < d; p++)
4344
+ f[p] = arguments[p];
4345
4345
  return df(t.registered, o, uf(f));
4346
4346
  }, a = {
4347
4347
  css: o,
@@ -4396,24 +4396,24 @@ You may have forgotten to import it.`);
4396
4396
  n !== void 0 && (s = n.label, a = n.target);
4397
4397
  var l = ja(t, n, r), c = l || wa(o), d = !c("as");
4398
4398
  return function() {
4399
- var f = arguments, m = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
4400
- if (s !== void 0 && m.push("label:" + s + ";"), f[0] == null || f[0].raw === void 0)
4401
- m.push.apply(m, f);
4399
+ var f = arguments, p = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
4400
+ if (s !== void 0 && p.push("label:" + s + ";"), f[0] == null || f[0].raw === void 0)
4401
+ p.push.apply(p, f);
4402
4402
  else {
4403
- process.env.NODE_ENV !== "production" && f[0][0] === void 0 && console.error(Ra), m.push(f[0][0]);
4404
- for (var h = f.length, x = 1; x < h; x++)
4405
- process.env.NODE_ENV !== "production" && f[0][x] === void 0 && console.error(Ra), m.push(f[x], f[0][x]);
4403
+ process.env.NODE_ENV !== "production" && f[0][0] === void 0 && console.error(Ra), p.push(f[0][0]);
4404
+ for (var h = f.length, y = 1; y < h; y++)
4405
+ process.env.NODE_ENV !== "production" && f[0][y] === void 0 && console.error(Ra), p.push(f[y], f[0][y]);
4406
4406
  }
4407
4407
  var b = Fn(function(g, v, C) {
4408
- var S = d && g.as || o, w = "", $ = [], p = g;
4408
+ var S = d && g.as || o, w = "", $ = [], m = g;
4409
4409
  if (g.theme == null) {
4410
- p = {};
4410
+ m = {};
4411
4411
  for (var P in g)
4412
- p[P] = g[P];
4413
- p.theme = W.useContext(Lt);
4412
+ m[P] = g[P];
4413
+ m.theme = W.useContext(Lt);
4414
4414
  }
4415
4415
  typeof g.className == "string" ? w = No(v.registered, $, g.className) : g.className != null && (w = g.className + " ");
4416
- var D = Ht(m.concat($), v.registered, p);
4416
+ var D = Ht(p.concat($), v.registered, m);
4417
4417
  w += v.key + "-" + D.name, a !== void 0 && (w += " " + a);
4418
4418
  var Q = d && l === void 0 ? wa(S) : c, Te = {};
4419
4419
  for (var xe in g)
@@ -4425,14 +4425,14 @@ You may have forgotten to import it.`);
4425
4425
  isStringTag: typeof S == "string"
4426
4426
  }), /* @__PURE__ */ W.createElement(S, Te));
4427
4427
  });
4428
- return b.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", b.defaultProps = t.defaultProps, b.__emotion_real = b, b.__emotion_base = o, b.__emotion_styles = m, b.__emotion_forwardProp = l, Object.defineProperty(b, "toString", {
4428
+ return b.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", b.defaultProps = t.defaultProps, b.__emotion_real = b, b.__emotion_base = o, b.__emotion_styles = p, b.__emotion_forwardProp = l, Object.defineProperty(b, "toString", {
4429
4429
  value: function() {
4430
4430
  return a === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + a;
4431
4431
  }
4432
4432
  }), b.withComponent = function(g, v) {
4433
4433
  return e(g, me({}, n, v, {
4434
4434
  shouldForwardProp: ja(b, v, !0)
4435
- })).apply(void 0, m);
4435
+ })).apply(void 0, p);
4436
4436
  }, b;
4437
4437
  };
4438
4438
  }, yf = [
@@ -4738,7 +4738,7 @@ Ae.private_safeColorChannel = void 0;
4738
4738
  Ae.private_safeDarken = Uf;
4739
4739
  Ae.private_safeEmphasize = Ji;
4740
4740
  Ae.private_safeLighten = Wf;
4741
- Ae.recomposeColor = tr;
4741
+ Ae.recomposeColor = rr;
4742
4742
  Ae.rgbToHex = qf;
4743
4743
  var $a = Ui(Pf), Nf = Ui(Df);
4744
4744
  function zo(e, t = 0, n = 1) {
@@ -4789,7 +4789,7 @@ const Vf = (e, t) => {
4789
4789
  }
4790
4790
  };
4791
4791
  Ae.private_safeColorChannel = Vf;
4792
- function tr(e) {
4792
+ function rr(e) {
4793
4793
  const {
4794
4794
  type: t,
4795
4795
  colorSpace: n
@@ -4814,7 +4814,7 @@ function Ki(e) {
4814
4814
  } = e, n = t[0], r = t[1] / 100, o = t[2] / 100, s = r * Math.min(o, 1 - o), a = (d, f = (d + n / 30) % 12) => o - s * Math.max(Math.min(f - 3, 9 - f, 1), -1);
4815
4815
  let l = "rgb";
4816
4816
  const c = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
4817
- return e.type === "hsla" && (l += "a", c.push(t[3])), tr({
4817
+ return e.type === "hsla" && (l += "a", c.push(t[3])), rr({
4818
4818
  type: l,
4819
4819
  values: c
4820
4820
  });
@@ -4829,7 +4829,7 @@ function zf(e, t) {
4829
4829
  return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
4830
4830
  }
4831
4831
  function Gi(e, t) {
4832
- return e = ot(e), t = zo(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, tr(e);
4832
+ return e = ot(e), t = zo(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, rr(e);
4833
4833
  }
4834
4834
  function Bf(e, t, n) {
4835
4835
  try {
@@ -4844,7 +4844,7 @@ function Bo(e, t) {
4844
4844
  else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
4845
4845
  for (let n = 0; n < 3; n += 1)
4846
4846
  e.values[n] *= 1 - t;
4847
- return tr(e);
4847
+ return rr(e);
4848
4848
  }
4849
4849
  function Uf(e, t, n) {
4850
4850
  try {
@@ -4862,7 +4862,7 @@ function Uo(e, t) {
4862
4862
  else if (e.type.indexOf("color") !== -1)
4863
4863
  for (let n = 0; n < 3; n += 1)
4864
4864
  e.values[n] += (1 - e.values[n]) * t;
4865
- return tr(e);
4865
+ return rr(e);
4866
4866
  }
4867
4867
  function Wf(e, t, n) {
4868
4868
  try {
@@ -4883,7 +4883,7 @@ function Ji(e, t, n) {
4883
4883
  }
4884
4884
  function Kf(e, t, n, r = 1) {
4885
4885
  const o = (c, d) => Math.round((c ** (1 / r) * (1 - n) + d ** (1 / r) * n) ** r), s = ot(e), a = ot(t), l = [o(s.values[0], a.values[0]), o(s.values[1], a.values[1]), o(s.values[2], a.values[2])];
4886
- return tr({
4886
+ return rr({
4887
4887
  type: "rgb",
4888
4888
  values: l
4889
4889
  });
@@ -4891,7 +4891,7 @@ function Kf(e, t, n, r = 1) {
4891
4891
  const Gf = {
4892
4892
  black: "#000",
4893
4893
  white: "#fff"
4894
- }, Or = Gf, Jf = {
4894
+ }, $r = Gf, Jf = {
4895
4895
  50: "#fafafa",
4896
4896
  100: "#f5f5f5",
4897
4897
  200: "#eeeeee",
@@ -4951,7 +4951,7 @@ const Gf = {
4951
4951
  A200: "#ffab40",
4952
4952
  A400: "#ff9100",
4953
4953
  A700: "#ff6d00"
4954
- }, _r = Hf, e0 = {
4954
+ }, Er = Hf, e0 = {
4955
4955
  50: "#e3f2fd",
4956
4956
  100: "#bbdefb",
4957
4957
  200: "#90caf9",
@@ -5011,8 +5011,8 @@ const Gf = {
5011
5011
  // The background colors used to style the surfaces.
5012
5012
  // Consistency between these values is important.
5013
5013
  background: {
5014
- paper: Or.white,
5015
- default: Or.white
5014
+ paper: $r.white,
5015
+ default: $r.white
5016
5016
  },
5017
5017
  // The colors used to style the action elements.
5018
5018
  action: {
@@ -5035,7 +5035,7 @@ const Gf = {
5035
5035
  }
5036
5036
  }, no = {
5037
5037
  text: {
5038
- primary: Or.white,
5038
+ primary: $r.white,
5039
5039
  secondary: "rgba(255, 255, 255, 0.7)",
5040
5040
  disabled: "rgba(255, 255, 255, 0.5)",
5041
5041
  icon: "rgba(255, 255, 255, 0.5)"
@@ -5046,7 +5046,7 @@ const Gf = {
5046
5046
  default: "#121212"
5047
5047
  },
5048
5048
  action: {
5049
- active: Or.white,
5049
+ active: $r.white,
5050
5050
  hover: "rgba(255, 255, 255, 0.08)",
5051
5051
  hoverOpacity: 0.08,
5052
5052
  selected: "rgba(255, 255, 255, 0.16)",
@@ -5120,14 +5120,14 @@ function l0(e = "light") {
5120
5120
  }
5121
5121
  function c0(e = "light") {
5122
5122
  return e === "dark" ? {
5123
- main: _r[400],
5124
- light: _r[300],
5125
- dark: _r[700]
5123
+ main: Er[400],
5124
+ light: Er[300],
5125
+ dark: Er[700]
5126
5126
  } : {
5127
5127
  main: "#ed6c02",
5128
5128
  // closest to orange[800] that pass 3:1.
5129
- light: _r[500],
5130
- dark: _r[900]
5129
+ light: Er[500],
5130
+ dark: Er[900]
5131
5131
  };
5132
5132
  }
5133
5133
  function u0(e) {
@@ -5136,7 +5136,7 @@ function u0(e) {
5136
5136
  contrastThreshold: n = 3,
5137
5137
  tonalOffset: r = 0.2
5138
5138
  } = e, o = Mt(e, n0), s = e.primary || o0(t), a = e.secondary || s0(t), l = e.error || a0(t), c = e.info || i0(t), d = e.success || l0(t), f = e.warning || c0(t);
5139
- function m(g) {
5139
+ function p(g) {
5140
5140
  const v = Oa(g, no.text.primary) >= n ? no.text.primary : ka.text.primary;
5141
5141
  if (process.env.NODE_ENV !== "production") {
5142
5142
  const C = Oa(g, v);
@@ -5154,7 +5154,7 @@ function u0(e) {
5154
5154
  }) => {
5155
5155
  if (g = me({}, g), !g.main && g[C] && (g.main = g[C]), !g.hasOwnProperty("main"))
5156
5156
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
5157
- The color object needs to have a \`main\` property or a \`${C}\` property.` : Sr(11, v ? ` (${v})` : "", C));
5157
+ The color object needs to have a \`main\` property or a \`${C}\` property.` : wr(11, v ? ` (${v})` : "", C));
5158
5158
  if (typeof g.main != "string")
5159
5159
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
5160
5160
  \`color.main\` should be a string, but \`${JSON.stringify(g.main)}\` was provided instead.
@@ -5169,15 +5169,15 @@ const theme1 = createTheme({ palette: {
5169
5169
 
5170
5170
  const theme2 = createTheme({ palette: {
5171
5171
  primary: { main: green[500] },
5172
- } });` : Sr(12, v ? ` (${v})` : "", JSON.stringify(g.main)));
5173
- return Aa(g, "light", S, r), Aa(g, "dark", w, r), g.contrastText || (g.contrastText = m(g.main)), g;
5174
- }, x = {
5172
+ } });` : wr(12, v ? ` (${v})` : "", JSON.stringify(g.main)));
5173
+ return Aa(g, "light", S, r), Aa(g, "dark", w, r), g.contrastText || (g.contrastText = p(g.main)), g;
5174
+ }, y = {
5175
5175
  dark: no,
5176
5176
  light: ka
5177
5177
  };
5178
- return process.env.NODE_ENV !== "production" && (x[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ft(me({
5178
+ return process.env.NODE_ENV !== "production" && (y[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ft(me({
5179
5179
  // A collection of common colors.
5180
- common: me({}, Or),
5180
+ common: me({}, $r),
5181
5181
  // prevent mutable object.
5182
5182
  // The palette mode, can be light or dark.
5183
5183
  mode: t,
@@ -5220,14 +5220,14 @@ const theme2 = createTheme({ palette: {
5220
5220
  // the background and the text.
5221
5221
  contrastThreshold: n,
5222
5222
  // Takes a background color and returns the text color that maximizes the contrast.
5223
- getContrastText: m,
5223
+ getContrastText: p,
5224
5224
  // Generate a rich color object.
5225
5225
  augmentColor: h,
5226
5226
  // Used by the functions below to shift a color's luminance by approximately
5227
5227
  // two indexes within its tonal palette.
5228
5228
  // E.g., shift from Red 500 to Red 300 or Red 700.
5229
5229
  tonalOffset: r
5230
- }, x[t]), o);
5230
+ }, y[t]), o);
5231
5231
  }
5232
5232
  const d0 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
5233
5233
  function f0(e) {
@@ -5251,10 +5251,10 @@ function p0(e, t) {
5251
5251
  htmlFontSize: d = 16,
5252
5252
  // Apply the CSS properties to all the variants.
5253
5253
  allVariants: f,
5254
- pxToRem: m
5254
+ pxToRem: p
5255
5255
  } = n, h = Mt(n, d0);
5256
5256
  process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
5257
- const x = o / 14, b = m || ((C) => `${C / d * x}rem`), g = (C, S, w, $, p) => me({
5257
+ const y = o / 14, b = p || ((C) => `${C / d * y}rem`), g = (C, S, w, $, m) => me({
5258
5258
  fontFamily: r,
5259
5259
  fontWeight: C,
5260
5260
  fontSize: b(S),
@@ -5262,7 +5262,7 @@ function p0(e, t) {
5262
5262
  lineHeight: w
5263
5263
  }, r === Pa ? {
5264
5264
  letterSpacing: `${f0($ / S)}em`
5265
- } : {}, p, f), v = {
5265
+ } : {}, m, f), v = {
5266
5266
  h1: g(s, 96, 1.167, -1.5),
5267
5267
  h2: g(s, 60, 1.2, -0.5),
5268
5268
  h3: g(a, 48, 1.167, 0),
@@ -5346,8 +5346,8 @@ function _0(e) {
5346
5346
  delay: c = 0
5347
5347
  } = s, d = Mt(s, b0);
5348
5348
  if (process.env.NODE_ENV !== "production") {
5349
- const f = (h) => typeof h == "string", m = (h) => !isNaN(parseFloat(h));
5350
- !f(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(a) && !f(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), f(l) || console.error('MUI: Argument "easing" must be a string.'), !m(c) && !f(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
5349
+ const f = (h) => typeof h == "string", p = (h) => !isNaN(parseFloat(h));
5350
+ !f(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(a) && !f(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), f(l) || console.error('MUI: Argument "easing" must be a string.'), !p(c) && !f(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
5351
5351
  `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
5352
5352
  }
5353
5353
  return (Array.isArray(o) ? o : [o]).map((f) => `${f} ${typeof a == "string" ? a : Da(a)} ${l} ${typeof c == "string" ? c : Da(c)}`).join(",");
@@ -5375,7 +5375,7 @@ function w0(e = {}, ...t) {
5375
5375
  typography: s = {}
5376
5376
  } = e, a = Mt(e, S0);
5377
5377
  if (e.vars)
5378
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Sr(18));
5378
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : wr(18));
5379
5379
  const l = u0(r), c = Mo(e);
5380
5380
  let d = ft(c, {
5381
5381
  mixins: Mf(c.breakpoints, n),
@@ -5386,15 +5386,15 @@ function w0(e = {}, ...t) {
5386
5386
  transitions: _0(o),
5387
5387
  zIndex: me({}, T0)
5388
5388
  });
5389
- if (d = ft(d, a), d = t.reduce((f, m) => ft(f, m), d), process.env.NODE_ENV !== "production") {
5390
- const f = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (h, x) => {
5389
+ if (d = ft(d, a), d = t.reduce((f, p) => ft(f, p), d), process.env.NODE_ENV !== "production") {
5390
+ const f = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (h, y) => {
5391
5391
  let b;
5392
5392
  for (b in h) {
5393
5393
  const g = h[b];
5394
5394
  if (f.indexOf(b) !== -1 && Object.keys(g).length > 0) {
5395
5395
  if (process.env.NODE_ENV !== "production") {
5396
5396
  const v = $o("", b);
5397
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${b}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${v}' syntax:`, JSON.stringify({
5397
+ console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${b}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${v}' syntax:`, JSON.stringify({
5398
5398
  root: {
5399
5399
  [`&.${v}`]: g
5400
5400
  }
@@ -5406,13 +5406,13 @@ function w0(e = {}, ...t) {
5406
5406
  }
5407
5407
  };
5408
5408
  Object.keys(d.components).forEach((h) => {
5409
- const x = d.components[h].styleOverrides;
5410
- x && h.indexOf("Mui") === 0 && m(x, h);
5409
+ const y = d.components[h].styleOverrides;
5410
+ y && h.indexOf("Mui") === 0 && p(y, h);
5411
5411
  });
5412
5412
  }
5413
- return d.unstable_sxConfig = me({}, Pr, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(m) {
5413
+ return d.unstable_sxConfig = me({}, Pr, a == null ? void 0 : a.unstable_sxConfig), d.unstable_sx = function(p) {
5414
5414
  return kn({
5415
- sx: m,
5415
+ sx: p,
5416
5416
  theme: this
5417
5417
  });
5418
5418
  }, d;
@@ -5444,14 +5444,14 @@ function O0() {
5444
5444
  }(oo)), oo.exports;
5445
5445
  }
5446
5446
  const $0 = /* @__PURE__ */ Tt(Ef), k0 = /* @__PURE__ */ Tt(vc), A0 = /* @__PURE__ */ Tt(Mc), M0 = /* @__PURE__ */ Tt(Ac), P0 = /* @__PURE__ */ Tt(od), D0 = /* @__PURE__ */ Tt(Af);
5447
- var rr = Ee;
5447
+ var nr = Ee;
5448
5448
  Object.defineProperty(Ir, "__esModule", {
5449
5449
  value: !0
5450
5450
  });
5451
5451
  var I0 = Ir.default = X0;
5452
5452
  Ir.shouldForwardProp = dn;
5453
5453
  Ir.systemDefaultTheme = void 0;
5454
- var rt = rr(Li()), go = rr(O0()), Fa = W0($0), F0 = k0, N0 = rr(A0), L0 = rr(M0), V0 = rr(P0), q0 = rr(D0);
5454
+ var rt = nr(Li()), go = nr(O0()), Fa = W0($0), F0 = k0, N0 = nr(A0), L0 = nr(M0), V0 = nr(P0), q0 = nr(D0);
5455
5455
  const z0 = ["ownerState"], B0 = ["variants"], U0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
5456
5456
  function Zi(e) {
5457
5457
  if (typeof WeakMap != "function")
@@ -5542,20 +5542,20 @@ function X0(e = {}) {
5542
5542
  }))
5543
5543
  }));
5544
5544
  return s.__mui_systemSx = !0, (a, l = {}) => {
5545
- (0, Fa.internal_processStyles)(a, (p) => p.filter((P) => !(P != null && P.__mui_systemSx)));
5545
+ (0, Fa.internal_processStyles)(a, (m) => m.filter((P) => !(P != null && P.__mui_systemSx)));
5546
5546
  const {
5547
5547
  name: c,
5548
5548
  slot: d,
5549
5549
  skipVariantsResolver: f,
5550
- skipSx: m,
5550
+ skipSx: p,
5551
5551
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
5552
5552
  // For more details: https://github.com/mui/material-ui/pull/37908
5553
5553
  overridesResolver: h = J0(Na(d))
5554
- } = l, x = (0, go.default)(l, U0), b = f !== void 0 ? f : (
5554
+ } = l, y = (0, go.default)(l, U0), b = f !== void 0 ? f : (
5555
5555
  // TODO v6: remove `Root` in the next major release
5556
5556
  // For more details: https://github.com/mui/material-ui/pull/37908
5557
5557
  d && d !== "Root" && d !== "root" || !1
5558
- ), g = m || !1;
5558
+ ), g = p || !1;
5559
5559
  let v;
5560
5560
  process.env.NODE_ENV !== "production" && c && (v = `${c}-${Na(d || "Root")}`);
5561
5561
  let C = dn;
@@ -5563,14 +5563,14 @@ function X0(e = {}) {
5563
5563
  const S = (0, Fa.default)(a, (0, rt.default)({
5564
5564
  shouldForwardProp: C,
5565
5565
  label: v
5566
- }, x)), w = (p) => typeof p == "function" && p.__emotion_real !== p || (0, F0.isPlainObject)(p) ? (P) => fn(p, (0, rt.default)({}, P, {
5566
+ }, y)), w = (m) => typeof m == "function" && m.__emotion_real !== m || (0, F0.isPlainObject)(m) ? (P) => fn(m, (0, rt.default)({}, P, {
5567
5567
  theme: rn({
5568
5568
  theme: P.theme,
5569
5569
  defaultTheme: n,
5570
5570
  themeId: t
5571
5571
  })
5572
- })) : p, $ = (p, ...P) => {
5573
- let D = w(p);
5572
+ })) : m, $ = (m, ...P) => {
5573
+ let D = w(m);
5574
5574
  const Q = P ? P.map(w) : [];
5575
5575
  c && h && Q.push((H) => {
5576
5576
  const te = rn((0, rt.default)({}, H, {
@@ -5598,9 +5598,9 @@ function X0(e = {}) {
5598
5598
  }));
5599
5599
  }), g || Q.push(s);
5600
5600
  const Te = Q.length - P.length;
5601
- if (Array.isArray(p) && Te > 0) {
5601
+ if (Array.isArray(m) && Te > 0) {
5602
5602
  const H = new Array(Te).fill("");
5603
- D = [...p, ...H], D.raw = [...p.raw, ...H];
5603
+ D = [...m, ...H], D.raw = [...m.raw, ...H];
5604
5604
  }
5605
5605
  const xe = S(D, ...Q);
5606
5606
  if (process.env.NODE_ENV !== "production") {
@@ -5646,7 +5646,7 @@ const rp = ["children", "className", "color", "component", "fontSize", "htmlColo
5646
5646
  theme: e,
5647
5647
  ownerState: t
5648
5648
  }) => {
5649
- var n, r, o, s, a, l, c, d, f, m, h, x, b;
5649
+ var n, r, o, s, a, l, c, d, f, p, h, y, b;
5650
5650
  return {
5651
5651
  userSelect: "none",
5652
5652
  width: "1em",
@@ -5666,8 +5666,8 @@ const rp = ["children", "className", "color", "component", "fontSize", "htmlColo
5666
5666
  large: ((d = e.typography) == null || (f = d.pxToRem) == null ? void 0 : f.call(d, 35)) || "2.1875rem"
5667
5667
  }[t.fontSize],
5668
5668
  // TODO v5 deprecate, v6 remove for sx
5669
- color: (m = (h = (e.vars || e).palette) == null || (h = h[t.color]) == null ? void 0 : h.main) != null ? m : {
5670
- action: (x = (e.vars || e).palette) == null || (x = x.action) == null ? void 0 : x.active,
5669
+ color: (p = (h = (e.vars || e).palette) == null || (h = h[t.color]) == null ? void 0 : h.main) != null ? p : {
5670
+ action: (y = (e.vars || e).palette) == null || (y = y.action) == null ? void 0 : y.active,
5671
5671
  disabled: (b = (e.vars || e).palette) == null || (b = b.action) == null ? void 0 : b.disabled,
5672
5672
  inherit: void 0
5673
5673
  }[t.color]
@@ -5684,9 +5684,9 @@ const rp = ["children", "className", "color", "component", "fontSize", "htmlColo
5684
5684
  fontSize: c = "medium",
5685
5685
  htmlColor: d,
5686
5686
  inheritViewBox: f = !1,
5687
- titleAccess: m,
5687
+ titleAccess: p,
5688
5688
  viewBox: h = "0 0 24 24"
5689
- } = r, x = Mt(r, rp), b = /* @__PURE__ */ W.isValidElement(o) && o.type === "svg", g = me({}, r, {
5689
+ } = r, y = Mt(r, rp), b = /* @__PURE__ */ W.isValidElement(o) && o.type === "svg", g = me({}, r, {
5690
5690
  color: a,
5691
5691
  component: l,
5692
5692
  fontSize: c,
@@ -5702,13 +5702,13 @@ const rp = ["children", "className", "color", "component", "fontSize", "htmlColo
5702
5702
  className: iu(C.root, s),
5703
5703
  focusable: "false",
5704
5704
  color: d,
5705
- "aria-hidden": m ? void 0 : !0,
5706
- role: m ? "img" : void 0,
5705
+ "aria-hidden": p ? void 0 : !0,
5706
+ role: p ? "img" : void 0,
5707
5707
  ref: n
5708
- }, v, x, b && o.props, {
5708
+ }, v, y, b && o.props, {
5709
5709
  ownerState: g,
5710
- children: [b ? o.props.children : o, m ? /* @__PURE__ */ i.jsx("title", {
5711
- children: m
5710
+ children: [b ? o.props.children : o, p ? /* @__PURE__ */ i.jsx("title", {
5711
+ children: p
5712
5712
  }) : null]
5713
5713
  }));
5714
5714
  });
@@ -5881,7 +5881,7 @@ const nl = (e, t) => {
5881
5881
  return s;
5882
5882
  }
5883
5883
  return null;
5884
- }, $r = (e, t) => {
5884
+ }, er = (e, t) => {
5885
5885
  var s, a, l, c, d;
5886
5886
  if (!e)
5887
5887
  return null;
@@ -5891,18 +5891,18 @@ const nl = (e, t) => {
5891
5891
  return ((a = e.attributes) == null ? void 0 : a.tree) || null;
5892
5892
  let n = null;
5893
5893
  const r = (l = e.attributes) == null ? void 0 : l.tree, o = (c = e.children) == null ? void 0 : c.length;
5894
- if (r && (n = $r((d = e.attributes) == null ? void 0 : d.tree, t)), o) {
5894
+ if (r && (n = er((d = e.attributes) == null ? void 0 : d.tree, t)), o) {
5895
5895
  const { children: f } = e;
5896
- for (let m = 0; m < f.length; m += 1) {
5897
- const h = f[m];
5896
+ for (let p = 0; p < f.length; p += 1) {
5897
+ const h = f[p];
5898
5898
  if (n !== null)
5899
5899
  return n;
5900
- n = $r(h, t);
5900
+ n = er(h, t);
5901
5901
  }
5902
5902
  }
5903
5903
  return n;
5904
5904
  }, yn = (e, t, n) => {
5905
- const r = $r(e, t);
5905
+ const r = er(e, t);
5906
5906
  return nl(r, n);
5907
5907
  }, Cp = (e, t) => {
5908
5908
  if (!e)
@@ -5929,7 +5929,7 @@ const nl = (e, t) => {
5929
5929
  }
5930
5930
  return null;
5931
5931
  }, Ep = (e, t) => (!e || !t || (Object.defineProperty(e, "children", { value: e.children.filter((n) => n.uuid !== t.uuid) }), Object.defineProperty(e, "attributes", { value: { ...e.attributes, isLeaf: !0 } })), null), Tp = (e, t, n) => {
5932
- const r = $r(e, t);
5932
+ const r = er(e, t);
5933
5933
  return ol(r, n);
5934
5934
  }, Sp = ({ tree: e, path: t, uuid: n }) => {
5935
5935
  const r = structuredClone(e), o = yn(r, t, n), s = Tp(r, t, n);
@@ -6064,14 +6064,14 @@ const nl = (e, t) => {
6064
6064
  onSuccess: () => {
6065
6065
  t(e("success.updateTree", { ns: "snackMessage" }));
6066
6066
  }
6067
- }), m = (S) => JSON.stringify(S, null, 2), h = (S) => `data:text/json;charset=utf-8,${encodeURIComponent(m(S))}`, x = (S) => () => {
6068
- navigator.clipboard.writeText(m(S)).then(), t(e("success.copyToClipboard", { ns: "snackMessage" }));
6067
+ }), p = (S) => JSON.stringify(S, null, 2), h = (S) => `data:text/json;charset=utf-8,${encodeURIComponent(p(S))}`, y = (S) => () => {
6068
+ navigator.clipboard.writeText(p(S)).then(), t(e("success.copyToClipboard", { ns: "snackMessage" }));
6069
6069
  }, b = () => {
6070
6070
  l(!1);
6071
6071
  };
6072
6072
  return {
6073
- copyToClipboard: x,
6074
- formatJSON: m,
6073
+ copyToClipboard: y,
6074
+ formatJSON: p,
6075
6075
  getDownloadLink: h,
6076
6076
  handleClose: b,
6077
6077
  handleOpen: () => {
@@ -6097,7 +6097,7 @@ const nl = (e, t) => {
6097
6097
  openModal: a
6098
6098
  };
6099
6099
  }, Ip = ({ downloadedFileName: e = "export", value: t }) => {
6100
- const { t: n } = Ue(), { getDownloadLink: r, handleSubmit: o, handleClose: s, handleOpen: a, handleResetTree: l, copyToClipboard: c, openModal: d } = Dp(), { currentTree: f, backendConfig: m, tree: h } = Le(), { id: x } = f;
6100
+ const { t: n } = Ue(), { getDownloadLink: r, handleSubmit: o, handleClose: s, handleOpen: a, handleResetTree: l, copyToClipboard: c, openModal: d } = Dp(), { currentTree: f, backendConfig: p, tree: h } = Le(), { id: y } = f;
6101
6101
  return /* @__PURE__ */ i.jsxs(pe, { direction: "row", spacing: 1, justifyContent: "center", children: [
6102
6102
  /* @__PURE__ */ i.jsx(Ge, { title: n("resetTree", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { disabled: !h, onClick: a, color: "warning", children: /* @__PURE__ */ i.jsx(el, {}) }) }) }),
6103
6103
  /* @__PURE__ */ i.jsx(ti, { orientation: "vertical", flexItem: !0 }),
@@ -6106,11 +6106,11 @@ const nl = (e, t) => {
6106
6106
  /* @__PURE__ */ i.jsx(
6107
6107
  Ge,
6108
6108
  {
6109
- title: x ? n("update", { ns: "button" }) : n("save", { ns: "button" }),
6109
+ title: y ? n("update", { ns: "button" }) : n("save", { ns: "button" }),
6110
6110
  enterDelay: 1500,
6111
6111
  disableHoverListener: !t,
6112
6112
  arrow: !0,
6113
- children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { onClick: o, disabled: !t || !(m != null && m.baseUrl), children: /* @__PURE__ */ i.jsx(tl, {}) }) })
6113
+ children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { onClick: o, disabled: !t || !(p != null && p.baseUrl), children: /* @__PURE__ */ i.jsx(tl, {}) }) })
6114
6114
  }
6115
6115
  ),
6116
6116
  /* @__PURE__ */ i.jsxs(Eo, { maxWidth: "xs", fullWidth: !0, open: d, onClose: s, children: [
@@ -6418,11 +6418,11 @@ const T1 = (e) => {
6418
6418
  e
6419
6419
  );
6420
6420
  }, S1 = ({ isControlled: e, fetchWorkflowsOnOpen: t }) => {
6421
- const { t: n } = Ue("snackMessage"), { open: r } = Jo(), { currentTree: o, setCurrentTree: s, dispatchTree: a } = Le(), [l, c] = be(""), d = !!l && !e && l !== o.id, { data: f, isError: m } = Cn(l, {
6421
+ const { t: n } = Ue("snackMessage"), { open: r } = Jo(), { currentTree: o, setCurrentTree: s, dispatchTree: a } = Le(), [l, c] = be(""), d = !!l && !e && l !== o.id, { data: f, isError: p } = Cn(l, {
6422
6422
  enabled: d
6423
6423
  }), {
6424
6424
  data: h,
6425
- isLoading: x,
6425
+ isLoading: y,
6426
6426
  refetch: b
6427
6427
  } = T1({
6428
6428
  enabled: !t
@@ -6451,8 +6451,8 @@ const T1 = (e) => {
6451
6451
  s({ id: C, name: S }), a(Go(w));
6452
6452
  }
6453
6453
  }, [o.id, a, e, s, l, f]), so(() => {
6454
- m && r(n("error.fetchTree", { ns: "snackMessage" }), "error");
6455
- }, [m, r, n]), {
6454
+ p && r(n("error.fetchTree", { ns: "snackMessage" }), "error");
6455
+ }, [p, r, n]), {
6456
6456
  currentTree: o,
6457
6457
  fetchWorkflowSuggestions: b,
6458
6458
  handleChangeTree: g,
@@ -6460,7 +6460,7 @@ const T1 = (e) => {
6460
6460
  setTreeSelected: c,
6461
6461
  treeSelected: l,
6462
6462
  workflowsSuggestions: h,
6463
- workflowsSuggestionsLoading: x
6463
+ workflowsSuggestionsLoading: y
6464
6464
  };
6465
6465
  }, za = {
6466
6466
  formControl: {
@@ -6472,7 +6472,7 @@ const T1 = (e) => {
6472
6472
  boxShadow: "none"
6473
6473
  }
6474
6474
  }, dl = ({ arrowOnly: e, required: t, size: n, showBtnAddNewTree: r, onChange: o, value: s, fetchWorkflowsOnOpen: a }) => {
6475
- const { t: l } = Ue("form"), c = kr(() => !!o, [o]), { handleChangeTree: d, handleOnOpen: f, workflowsSuggestions: m, workflowsSuggestionsLoading: h, treeSelected: x } = S1({
6475
+ const { t: l } = Ue("form"), c = kr(() => !!o, [o]), { handleChangeTree: d, handleOnOpen: f, workflowsSuggestions: p, workflowsSuggestionsLoading: h, treeSelected: y } = S1({
6476
6476
  fetchWorkflowsOnOpen: a,
6477
6477
  isControlled: c
6478
6478
  });
@@ -6481,7 +6481,7 @@ const T1 = (e) => {
6481
6481
  /* @__PURE__ */ i.jsxs(
6482
6482
  wo,
6483
6483
  {
6484
- value: c ? s : x,
6484
+ value: c ? s : y,
6485
6485
  id: "tree-select",
6486
6486
  onChange: (b) => c ? o == null ? void 0 : o(b) : d(b),
6487
6487
  sx: e ? za.select : void 0,
@@ -6489,7 +6489,7 @@ const T1 = (e) => {
6489
6489
  onOpen: f,
6490
6490
  children: [
6491
6491
  (s && h || h) && /* @__PURE__ */ i.jsx(Nt, { value: s, children: /* @__PURE__ */ i.jsx(Fl, { width: "100%" }) }),
6492
- m == null ? void 0 : m.map(({ label: b, id: g }) => /* @__PURE__ */ i.jsx(Nt, { value: g, children: b }, g)),
6492
+ p == null ? void 0 : p.map(({ label: b, id: g }) => /* @__PURE__ */ i.jsx(Nt, { value: g, children: b }, g)),
6493
6493
  r && /* @__PURE__ */ i.jsx(Nt, { disabled: !0, children: /* @__PURE__ */ i.jsx(ee, { sx: { height: 1, width: "100%" }, children: /* @__PURE__ */ i.jsx(ti, {}) }) }),
6494
6494
  r && /* @__PURE__ */ i.jsxs(Nt, { value: "add-new-tree", children: [
6495
6495
  /* @__PURE__ */ i.jsx(kt, { mr: 1, children: l("newTree", { ns: "form" }) }),
@@ -6665,11 +6665,11 @@ const T1 = (e) => {
6665
6665
  type: "dynamicSelect"
6666
6666
  }
6667
6667
  ], j1 = () => {
6668
- var Wr, Yr, u, T, j, N, Z, ae, G, Y, qe, Ce, we, Ke, yt, ur, tt, ms, hs, gs, vs, bs, ys, xs, Cs, _s, Es, Ts, Ss, ws, js, Rs;
6669
- const e = Tl(), t = kr(() => [{ id: "0", label: "", message: "", value: "" }], []), { dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: s, setModalOpen: a } = Le(), { open: l } = Jo(), { t: c } = Ue(), d = r != null && r.data && ((Wr = r == null ? void 0 : r.data) != null && Wr.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [f, m] = be(t), [h, x] = be(""), [b, g] = be(""), [v, C] = be(""), [S, w] = be(!1), [$, p] = be(!1), [P, D] = be(!1), [Q, Te] = be("text"), [xe, H] = be(null), [te, he] = be(null), [se, re] = be({ url: "" }), [ve, Ie] = be(""), [Me, We] = be(""), [E, R] = be(""), [I, L] = be({ off: "", on: "" }), [A, B] = be(!1), [M, F] = be(!1), z = o === "edit", U = Q === "tree", V = Q === "hidden", ye = Q === "autocomplete", y = Q === "dynamicSelect", Se = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isBooleanField)), O = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isDecisionField)), Ve = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isRequiredDisabled)), Xe = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isRepeatableDisabled)), mt = ((u = (Yr = r == null ? void 0 : r.data) == null ? void 0 : Yr.attributes) == null ? void 0 : u.isLeaf) ?? !0, ct = Gt.some((_) => _.type === Q && "isMultiple" in _), { refetch: ht, isInitialLoading: nr } = Cn(ve, {
6668
+ var Wr, Yr, u, T, j, N, Z, ae, G, Y, qe, Ce, we, Ke, yt, dr, tt, ms, hs, gs, vs, bs, ys, xs, Cs, _s, Es, Ts, Ss, ws, js, Rs;
6669
+ const e = Tl(), t = kr(() => [{ id: "0", label: "", message: "", value: "" }], []), { dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: s, setModalOpen: a } = Le(), { open: l } = Jo(), { t: c } = Ue(), d = r != null && r.data && ((Wr = r == null ? void 0 : r.data) != null && Wr.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [f, p] = be(t), [h, y] = be(""), [b, g] = be(""), [v, C] = be(""), [S, w] = be(!1), [$, m] = be(!1), [P, D] = be(!1), [Q, Te] = be("text"), [xe, H] = be(null), [te, he] = be(null), [se, re] = be({ url: "" }), [ve, Ie] = be(""), [Me, We] = be(""), [E, R] = be(""), [I, L] = be({ off: "", on: "" }), [A, B] = be(!1), [M, F] = be(!1), z = o === "edit", U = Q === "tree", V = Q === "hidden", ye = Q === "autocomplete", x = Q === "dynamicSelect", Se = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isBooleanField)), O = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isDecisionField)), Ve = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isRequiredDisabled)), Xe = Gt.some((_) => _.type === Q && (_ == null ? void 0 : _.isRepeatableDisabled)), mt = ((u = (Yr = r == null ? void 0 : r.data) == null ? void 0 : Yr.attributes) == null ? void 0 : u.isLeaf) ?? !0, ct = Gt.some((_) => _.type === Q && "isMultiple" in _), { refetch: ht, isInitialLoading: or } = Cn(ve, {
6670
6670
  enabled: !1
6671
6671
  }), Dt = K((_) => !O && _ > 0, [O]), Qe = K((_, k) => {
6672
- m(
6672
+ p(
6673
6673
  (q) => q.map((J) => {
6674
6674
  const { id: je } = J;
6675
6675
  return _.target.dataset.id === je ? {
@@ -6684,18 +6684,18 @@ const T1 = (e) => {
6684
6684
  typeof k == "string" ? H(k) : k && k.inputValue ? H(k.inputValue) : H(null);
6685
6685
  },
6686
6686
  []
6687
- ), or = K((_, k) => {
6687
+ ), sr = K((_, k) => {
6688
6688
  re((q) => ({
6689
6689
  ...q,
6690
6690
  url: q.url ? q.url.replace(/{{[^{}]+}}/, `{{${k || ""}}}`) : `https://example.com/{{${k || ""}}}`
6691
6691
  })), he(k ?? null);
6692
6692
  }, []), gt = K((_) => {
6693
- x(_.target.value);
6693
+ y(_.target.value);
6694
6694
  }, []), Vt = K((_) => {
6695
6695
  g(_.target.value);
6696
6696
  }, []), vt = K((_) => {
6697
6697
  C(_.target.value);
6698
- }, []), sr = K(
6698
+ }, []), ar = K(
6699
6699
  (_) => {
6700
6700
  Qe(_, "label");
6701
6701
  },
@@ -6773,15 +6773,15 @@ const T1 = (e) => {
6773
6773
  D(_.target.checked);
6774
6774
  }, []), qn = K((_) => {
6775
6775
  w(_.target.checked);
6776
- }, []), ar = K((_) => {
6776
+ }, []), ir = K((_) => {
6777
6777
  F(_.target.checked);
6778
6778
  }, []), Fr = K((_) => {
6779
- p(_.target.checked);
6779
+ m(_.target.checked);
6780
6780
  }, []), jt = K((_) => {
6781
6781
  B(_.target.checked);
6782
- }, []), ir = K((_) => {
6783
- Te(_.target.value), p(!1), w(!1), B(!1);
6784
6782
  }, []), lr = K((_) => {
6783
+ Te(_.target.value), m(!1), w(!1), B(!1);
6784
+ }, []), cr = K((_) => {
6785
6785
  Ie(_.target.value);
6786
6786
  }, []), Nr = K(
6787
6787
  (_) => (k) => {
@@ -6794,7 +6794,7 @@ const T1 = (e) => {
6794
6794
  ), zn = K((_) => {
6795
6795
  We(_.target.value);
6796
6796
  }, []), Lr = K(() => {
6797
- m((_) => {
6797
+ p((_) => {
6798
6798
  const k = Number(_[_.length - 1].id), q = String(k + 1);
6799
6799
  return [..._, { ...t[0], id: q }];
6800
6800
  });
@@ -6805,7 +6805,7 @@ const T1 = (e) => {
6805
6805
  return { ..._, params: J };
6806
6806
  });
6807
6807
  }, []), Vr = K((_) => {
6808
- m((k) => k.filter(({ id: q }) => _.currentTarget.value !== q));
6808
+ p((k) => k.filter(({ id: q }) => _.currentTarget.value !== q));
6809
6809
  }, []), qr = K((_) => {
6810
6810
  const k = _.currentTarget.value;
6811
6811
  re((q) => {
@@ -6843,7 +6843,7 @@ const T1 = (e) => {
6843
6843
  }) : [];
6844
6844
  },
6845
6845
  [r, Dt, zr, $, v, e, f]
6846
- ), cr = K(
6846
+ ), ur = K(
6847
6847
  (_) => _.map(({ message: k, ...q }) => ({
6848
6848
  ...q,
6849
6849
  ...k && { message: k }
@@ -6866,19 +6866,19 @@ const T1 = (e) => {
6866
6866
  [(T = r == null ? void 0 : r.data.attributes) == null ? void 0 : T.tree, ht, l, c]
6867
6867
  ), Un = K(
6868
6868
  async (_) => {
6869
- var fr, pr, mr, hr;
6869
+ var pr, mr, hr, gr;
6870
6870
  _.preventDefault();
6871
- const { on: k, off: q } = I, J = ((fr = r == null ? void 0 : r.data) == null ? void 0 : fr.uuid) || "", je = (r == null ? void 0 : r.depth) || 0, Ne = o === "edit", xt = je + (Ne || r === null ? 0 : 1), Ct = Br(xt), Rt = (pr = s == null ? void 0 : s.at(-1)) == null ? void 0 : pr.path, Kr = s.length ? `${Rt}/${e}` : `/${e}`, Gr = ((hr = (mr = r == null ? void 0 : r.data.attributes) == null ? void 0 : mr.tree) == null ? void 0 : hr.treeId) !== ve, { data: zt, isError: Jr } = await Ur(U, Ne, Gr);
6871
+ const { on: k, off: q } = I, J = ((pr = r == null ? void 0 : r.data) == null ? void 0 : pr.uuid) || "", je = (r == null ? void 0 : r.depth) || 0, Ne = o === "edit", xt = je + (Ne || r === null ? 0 : 1), Ct = Br(xt), Rt = (mr = s == null ? void 0 : s.at(-1)) == null ? void 0 : mr.path, Kr = s.length ? `${Rt}/${e}` : `/${e}`, Gr = ((gr = (hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : hr.tree) == null ? void 0 : gr.treeId) !== ve, { data: zt, isError: Jr } = await Ur(U, Ne, Gr);
6872
6872
  if (Jr)
6873
6873
  return;
6874
- const dr = {
6874
+ const fr = {
6875
6875
  attributes: {
6876
6876
  depth: xt,
6877
6877
  name: v,
6878
6878
  type: Q,
6879
6879
  ...b && { label: b },
6880
6880
  ...ye && { route: se },
6881
- ...y && { route: se },
6881
+ ...x && { route: se },
6882
6882
  ...Me && { helperText: Me },
6883
6883
  ...$ && { isDecision: $ },
6884
6884
  ...S && { required: S },
@@ -6889,7 +6889,7 @@ const T1 = (e) => {
6889
6889
  ...te && { parentRef: te },
6890
6890
  ...P && ct && { isMultiple: P },
6891
6891
  ...M && { initialQuery: M },
6892
- ...O && !$ && { values: cr(f) },
6892
+ ...O && !$ && { values: ur(f) },
6893
6893
  ...(q || k) && { messages: { ...q && { off: q }, ...k && { on: k } } },
6894
6894
  ...U && {
6895
6895
  tree: { ...zt == null ? void 0 : zt.workflow, treeId: ve },
@@ -6899,7 +6899,7 @@ const T1 = (e) => {
6899
6899
  children: Ct,
6900
6900
  uuid: Ne ? J : e
6901
6901
  };
6902
- n(Ne ? $p(Rt || "", J, dr) : Op(Rt || null, J, dr)), a(null);
6902
+ n(Ne ? $p(Rt || "", J, fr) : Op(Rt || null, J, fr)), a(null);
6903
6903
  },
6904
6904
  [
6905
6905
  I,
@@ -6916,11 +6916,11 @@ const T1 = (e) => {
6916
6916
  Q,
6917
6917
  ye,
6918
6918
  se,
6919
- y,
6919
+ x,
6920
6920
  Me,
6921
6921
  $,
6922
6922
  O,
6923
- cr,
6923
+ ur,
6924
6924
  f,
6925
6925
  S,
6926
6926
  E,
@@ -6937,26 +6937,26 @@ const T1 = (e) => {
6937
6937
  ]
6938
6938
  );
6939
6939
  return so(() => {
6940
- var _, k, q, J, je, Ne, xt, Ct, Rt, Kr, Gr, zt, Jr, dr, fr, pr, mr, hr, Os, $s, ks, As, Ms;
6940
+ var _, k, q, J, je, Ne, xt, Ct, Rt, Kr, Gr, zt, Jr, fr, pr, mr, hr, gr, Os, $s, ks, As, Ms;
6941
6941
  if (o === "edit") {
6942
6942
  const Xr = ((k = (_ = r == null ? void 0 : r.data) == null ? void 0 : _.attributes) == null ? void 0 : k.values) || ((je = (J = (q = r == null ? void 0 : r.data) == null ? void 0 : q.children) == null ? void 0 : J.filter(({ attributes: Ft }) => !(Ft != null && Ft.type))) == null ? void 0 : je.map(({ attributes: Ft }, Qr) => {
6943
- const { label: Zr, value: Hr, message: gr } = Ft || {};
6943
+ const { label: Zr, value: Hr, message: vr } = Ft || {};
6944
6944
  return {
6945
6945
  id: String(Qr),
6946
6946
  label: String(Zr),
6947
6947
  value: String(Hr),
6948
- ...gr && { message: String(gr) }
6948
+ ...vr && { message: String(vr) }
6949
6949
  };
6950
6950
  }));
6951
- H(((Ne = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ne.tag) || null), Te(((xt = r == null ? void 0 : r.data.attributes) == null ? void 0 : xt.type) || "text"), We(((Ct = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ct.helperText) || ""), w(((Rt = r == null ? void 0 : r.data.attributes) == null ? void 0 : Rt.required) || !1), R(((Kr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Kr.step) || ""), g(((Gr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Gr.label) || ""), C(((zt = r == null ? void 0 : r.data.attributes) == null ? void 0 : zt.name) || ""), p(((Jr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Jr.isDecision) || !1), m(Xr != null && Xr.length ? Xr : t), Ie(((fr = (dr = r == null ? void 0 : r.data.attributes) == null ? void 0 : dr.tree) == null ? void 0 : fr.treeId) || ""), B(((pr = r == null ? void 0 : r.data.attributes) == null ? void 0 : pr.repeatable) || !1), x(((mr = r == null ? void 0 : r.data.attributes) == null ? void 0 : mr.hiddenValue) || ""), he(((hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : hr.parentRef) || null), L({
6951
+ H(((Ne = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ne.tag) || null), Te(((xt = r == null ? void 0 : r.data.attributes) == null ? void 0 : xt.type) || "text"), We(((Ct = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ct.helperText) || ""), w(((Rt = r == null ? void 0 : r.data.attributes) == null ? void 0 : Rt.required) || !1), R(((Kr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Kr.step) || ""), g(((Gr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Gr.label) || ""), C(((zt = r == null ? void 0 : r.data.attributes) == null ? void 0 : zt.name) || ""), m(((Jr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Jr.isDecision) || !1), p(Xr != null && Xr.length ? Xr : t), Ie(((pr = (fr = r == null ? void 0 : r.data.attributes) == null ? void 0 : fr.tree) == null ? void 0 : pr.treeId) || ""), B(((mr = r == null ? void 0 : r.data.attributes) == null ? void 0 : mr.repeatable) || !1), y(((hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : hr.hiddenValue) || ""), he(((gr = r == null ? void 0 : r.data.attributes) == null ? void 0 : gr.parentRef) || null), L({
6952
6952
  off: (($s = (Os = r == null ? void 0 : r.data.attributes) == null ? void 0 : Os.messages) == null ? void 0 : $s.off) || "",
6953
6953
  on: ((As = (ks = r == null ? void 0 : r.data.attributes) == null ? void 0 : ks.messages) == null ? void 0 : As.on) || ""
6954
6954
  }), re((Ft) => {
6955
- var Qr, Zr, Hr, gr, Ps, Ds, Is, Fs;
6955
+ var Qr, Zr, Hr, vr, Ps, Ds, Is, Fs;
6956
6956
  return {
6957
6957
  ...Ft,
6958
6958
  params: (Zr = (Qr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Qr.route) == null ? void 0 : Zr.params,
6959
- pathKey: (gr = (Hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Hr.route) == null ? void 0 : gr.pathKey,
6959
+ pathKey: (vr = (Hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Hr.route) == null ? void 0 : vr.pathKey,
6960
6960
  searchKey: (Ds = (Ps = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ps.route) == null ? void 0 : Ds.searchKey,
6961
6961
  url: ((Fs = (Is = r == null ? void 0 : r.data.attributes) == null ? void 0 : Is.route) == null ? void 0 : Fs.url) || ""
6962
6962
  };
@@ -6972,7 +6972,7 @@ const T1 = (e) => {
6972
6972
  (we = (Ce = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ce.messages) == null ? void 0 : we.on,
6973
6973
  (Ke = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ke.name,
6974
6974
  (yt = r == null ? void 0 : r.data.attributes) == null ? void 0 : yt.parentRef,
6975
- (ur = r == null ? void 0 : r.data.attributes) == null ? void 0 : ur.repeatable,
6975
+ (dr = r == null ? void 0 : r.data.attributes) == null ? void 0 : dr.repeatable,
6976
6976
  (tt = r == null ? void 0 : r.data.attributes) == null ? void 0 : tt.required,
6977
6977
  (hs = (ms = r == null ? void 0 : r.data.attributes) == null ? void 0 : ms.route) == null ? void 0 : hs.params,
6978
6978
  (vs = (gs = r == null ? void 0 : r.data.attributes) == null ? void 0 : gs.route) == null ? void 0 : vs.pathKey,
@@ -6994,25 +6994,25 @@ const T1 = (e) => {
6994
6994
  handleAddValue: Lr,
6995
6995
  handleChangeHelperText: zn,
6996
6996
  handleChangeHiddenValue: gt,
6997
- handleChangeInitialQuery: ar,
6997
+ handleChangeInitialQuery: ir,
6998
6998
  handleChangeIsDecisionField: Fr,
6999
6999
  handleChangeLabel: Vt,
7000
7000
  handleChangeMessage: Nr,
7001
7001
  handleChangeMultiple: Vn,
7002
7002
  handleChangeName: vt,
7003
- handleChangeOptionLabel: sr,
7003
+ handleChangeOptionLabel: ar,
7004
7004
  handleChangeOptionMessage: Fe,
7005
7005
  handleChangeOptionValue: qt,
7006
7006
  handleChangeParam: Nn,
7007
- handleChangeParentRef: or,
7007
+ handleChangeParentRef: sr,
7008
7008
  handleChangePath: It,
7009
7009
  handleChangeRepeatable: jt,
7010
7010
  handleChangeRequired: qn,
7011
7011
  handleChangeSearchKey: wt,
7012
7012
  handleChangeStep: Ln,
7013
7013
  handleChangeTag: St,
7014
- handleChangeTreeSelect: lr,
7015
- handleChangeType: ir,
7014
+ handleChangeTreeSelect: cr,
7015
+ handleChangeType: lr,
7016
7016
  handleChangeUrl: bt,
7017
7017
  handleChangeUrlSelect: at,
7018
7018
  handleDeleteParam: qr,
@@ -7025,7 +7025,7 @@ const T1 = (e) => {
7025
7025
  isBooleanField: Se,
7026
7026
  isDecision: $,
7027
7027
  isDecisionField: O,
7028
- isDynamicSelect: y,
7028
+ isDynamicSelect: x,
7029
7029
  isEditModal: z,
7030
7030
  isHiddenField: V,
7031
7031
  isLeaf: mt,
@@ -7034,7 +7034,7 @@ const T1 = (e) => {
7034
7034
  isRepeatableDisabled: Xe,
7035
7035
  isRequiredDisabled: Ve,
7036
7036
  isTreeField: U,
7037
- isWorkflowLoading: nr,
7037
+ isWorkflowLoading: or,
7038
7038
  label: b,
7039
7039
  messages: I,
7040
7040
  name: v,
@@ -7050,9 +7050,10 @@ const T1 = (e) => {
7050
7050
  values: f
7051
7051
  };
7052
7052
  }, R1 = ({ value: e, onChange: t }) => {
7053
- const [n, r] = be(e || ""), { t: o } = Ue(["form"]), { tree: s, currentHierarchyPointNode: a } = Le(), { uuid: l } = (a == null ? void 0 : a.data) || {}, c = Rp(s, l), d = (f) => {
7054
- const m = f.target.value;
7055
- r(m), t == null || t(f, m);
7053
+ var h;
7054
+ const [n, r] = be(e || ""), { t: o } = Ue(["form"]), { tree: s, treePath: a, currentHierarchyPointNode: l } = Le(), { uuid: c } = (l == null ? void 0 : l.data) || {}, d = er(s, (h = a == null ? void 0 : a.at(-1)) == null ? void 0 : h.path), f = Rp(d, c), p = (y) => {
7055
+ const b = y.target.value;
7056
+ r(b), t == null || t(y, b);
7056
7057
  };
7057
7058
  return /* @__PURE__ */ i.jsxs(To, { sx: { flex: 1.5 }, required: !0, children: [
7058
7059
  /* @__PURE__ */ i.jsx(So, { children: o("form:ancestor") }),
@@ -7062,15 +7063,15 @@ const T1 = (e) => {
7062
7063
  sx: { flex: 2 },
7063
7064
  value: n,
7064
7065
  label: o("form:ancestor"),
7065
- onChange: d,
7066
+ onChange: p,
7066
7067
  MenuProps: {
7067
7068
  PaperProps: {
7068
7069
  sx: { maxHeight: 300 }
7069
7070
  }
7070
7071
  },
7071
- children: c.length ? c.map((f, m) => {
7072
- const h = `${f}-${m}`;
7073
- return /* @__PURE__ */ i.jsx(Nt, { value: f, children: f }, h);
7072
+ children: f.length ? f.map((y, b) => {
7073
+ const g = `${y}-${b}`;
7074
+ return /* @__PURE__ */ i.jsx(Nt, { value: y, children: y }, g);
7074
7075
  }) : /* @__PURE__ */ i.jsx(Nt, { disabled: !0, value: "", children: o("form:noAncestorFound") })
7075
7076
  }
7076
7077
  )
@@ -7191,9 +7192,9 @@ const T1 = (e) => {
7191
7192
  name: c,
7192
7193
  hiddenValue: d,
7193
7194
  isBooleanField: f,
7194
- isDecision: m,
7195
+ isDecision: p,
7195
7196
  isEditModal: h,
7196
- isDecisionField: x,
7197
+ isDecisionField: y,
7197
7198
  isHiddenField: b,
7198
7199
  isRequiredDisabled: g,
7199
7200
  isRepeatableDisabled: v,
@@ -7201,7 +7202,7 @@ const T1 = (e) => {
7201
7202
  isDynamicSelect: S,
7202
7203
  isTreeField: w,
7203
7204
  treeSelected: $,
7204
- isWorkflowLoading: p,
7205
+ isWorkflowLoading: m,
7205
7206
  repeatable: P,
7206
7207
  isLeaf: D,
7207
7208
  isMultiplePossible: Q,
@@ -7228,7 +7229,7 @@ const T1 = (e) => {
7228
7229
  handleChangeTag: U,
7229
7230
  handleChangeSearchKey: V,
7230
7231
  handleChangeUrl: ye,
7231
- handleChangeUrlSelect: y,
7232
+ handleChangeUrlSelect: x,
7232
7233
  handleChangeParam: Se,
7233
7234
  handleChangePath: O,
7234
7235
  handleChangeMultiple: Ve,
@@ -7236,8 +7237,8 @@ const T1 = (e) => {
7236
7237
  handleChangeInitialQuery: mt,
7237
7238
  parentRef: ct,
7238
7239
  route: ht,
7239
- messages: { on: nr, off: Dt }
7240
- } = j1(), { searchKey: Qe, url: St, pathKey: or, params: gt } = ht || {}, { object: Vt = "", label: vt = "", value: sr = "", image: qt = "" } = or || {};
7240
+ messages: { on: or, off: Dt }
7241
+ } = j1(), { searchKey: Qe, url: St, pathKey: sr, params: gt } = ht || {}, { object: Vt = "", label: vt = "", value: ar = "", image: qt = "" } = sr || {};
7241
7242
  return /* @__PURE__ */ i.jsxs("form", { onSubmit: L, children: [
7242
7243
  /* @__PURE__ */ i.jsx(ee, { marginBottom: 1, children: /* @__PURE__ */ i.jsx($1, { value: s, onChange: ve }) }),
7243
7244
  /* @__PURE__ */ i.jsxs(pe, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
@@ -7294,7 +7295,7 @@ const T1 = (e) => {
7294
7295
  placeholder: `https://api.fr/{{${ct || ""}}}/enpoint`,
7295
7296
  type: "url",
7296
7297
  label: t("form:apiRoute"),
7297
- onChange: y,
7298
+ onChange: x,
7298
7299
  value: St
7299
7300
  }
7300
7301
  )
@@ -7353,7 +7354,7 @@ const T1 = (e) => {
7353
7354
  sx: { flex: 3 },
7354
7355
  InputLabelProps: { shrink: !0 },
7355
7356
  label: "Value Path",
7356
- value: sr,
7357
+ value: ar,
7357
7358
  onChange: (Fe) => O("value", Fe),
7358
7359
  placeholder: "client.id",
7359
7360
  type: "text"
@@ -7416,44 +7417,44 @@ const T1 = (e) => {
7416
7417
  ] })
7417
7418
  ] }),
7418
7419
  f && /* @__PURE__ */ i.jsxs(pe, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
7419
- /* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, label: t("onMessage", { ns: "form" }), onChange: I("on"), value: nr }),
7420
+ /* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, label: t("onMessage", { ns: "form" }), onChange: I("on"), value: or }),
7420
7421
  /* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, label: t("offMessage", { ns: "form" }), onChange: I("off"), value: Dt })
7421
7422
  ] }),
7422
7423
  /* @__PURE__ */ i.jsx(pe, { paddingY: 1, children: /* @__PURE__ */ i.jsxs(zl, { children: [
7423
- Q && /* @__PURE__ */ i.jsx(vr, { control: /* @__PURE__ */ i.jsx(br, { checked: Te, onChange: Ve }), label: t("multiple") }),
7424
+ Q && /* @__PURE__ */ i.jsx(br, { control: /* @__PURE__ */ i.jsx(yr, { checked: Te, onChange: Ve }), label: t("multiple") }),
7424
7425
  C && /* @__PURE__ */ i.jsx(
7425
- vr,
7426
+ br,
7426
7427
  {
7427
- control: /* @__PURE__ */ i.jsx(br, { checked: xe, onChange: mt }),
7428
+ control: /* @__PURE__ */ i.jsx(yr, { checked: xe, onChange: mt }),
7428
7429
  label: t("initialQueryEnable")
7429
7430
  }
7430
7431
  ),
7431
7432
  /* @__PURE__ */ i.jsx(
7432
- vr,
7433
+ br,
7433
7434
  {
7434
7435
  disabled: g,
7435
- control: /* @__PURE__ */ i.jsx(br, { checked: r, onChange: se }),
7436
+ control: /* @__PURE__ */ i.jsx(yr, { checked: r, onChange: se }),
7436
7437
  label: t("required")
7437
7438
  }
7438
7439
  ),
7439
7440
  /* @__PURE__ */ i.jsx(
7440
- vr,
7441
+ br,
7441
7442
  {
7442
7443
  disabled: v,
7443
- control: /* @__PURE__ */ i.jsx(br, { checked: P, onChange: F }),
7444
+ control: /* @__PURE__ */ i.jsx(yr, { checked: P, onChange: F }),
7444
7445
  label: t("repeatable", { ns: "form" })
7445
7446
  }
7446
7447
  ),
7447
7448
  (D || h) && /* @__PURE__ */ i.jsx(
7448
- vr,
7449
+ br,
7449
7450
  {
7450
- disabled: !x,
7451
- control: /* @__PURE__ */ i.jsx(br, { checked: m, onChange: Ie }),
7451
+ disabled: !y,
7452
+ control: /* @__PURE__ */ i.jsx(yr, { checked: p, onChange: Ie }),
7452
7453
  label: t("decisionField", { ns: "form" })
7453
7454
  }
7454
7455
  )
7455
7456
  ] }) }),
7456
- x && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
7457
+ y && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
7457
7458
  /* @__PURE__ */ i.jsx("h4", { children: t("values") }),
7458
7459
  n == null ? void 0 : n.map(({ value: Fe, label: bt, id: at, message: wt }) => /* @__PURE__ */ i.jsxs(pe, { direction: { sm: "row", xs: "column" }, spacing: 1, paddingY: 1, position: "relative", children: [
7459
7460
  /* @__PURE__ */ i.jsx(
@@ -7491,7 +7492,7 @@ const T1 = (e) => {
7491
7492
  n.length > 1 && /* @__PURE__ */ i.jsx(_t, { color: "warning", sx: sn.iconButtonDelete, value: at, onClick: We, children: /* @__PURE__ */ i.jsx(yo, {}) })
7492
7493
  ] }, at))
7493
7494
  ] }),
7494
- x && /* @__PURE__ */ i.jsx(ee, { justifyContent: "flex-end", display: "flex", children: /* @__PURE__ */ i.jsx(_t, { color: "success", sx: sn.iconButton, onClick: A, children: /* @__PURE__ */ i.jsx(vo, {}) }) }),
7495
+ y && /* @__PURE__ */ i.jsx(ee, { justifyContent: "flex-end", display: "flex", children: /* @__PURE__ */ i.jsx(_t, { color: "success", sx: sn.iconButton, onClick: A, children: /* @__PURE__ */ i.jsx(vo, {}) }) }),
7495
7496
  /* @__PURE__ */ i.jsxs(pe, { spacing: 2, direction: "row", justifyContent: "flex-end", paddingTop: 3, children: [
7496
7497
  /* @__PURE__ */ i.jsx(lt, { variant: "text", onClick: e, children: t("cancel") }),
7497
7498
  /* @__PURE__ */ i.jsx(
@@ -7499,8 +7500,8 @@ const T1 = (e) => {
7499
7500
  {
7500
7501
  variant: "contained",
7501
7502
  type: "submit",
7502
- disabled: p,
7503
- isLoading: p,
7503
+ disabled: m,
7504
+ isLoading: m,
7504
7505
  loadingIndicator: /* @__PURE__ */ i.jsx(ei, { size: 14 }),
7505
7506
  children: t("validate")
7506
7507
  }
@@ -7651,19 +7652,19 @@ const ze = {
7651
7652
  size: a = 220
7652
7653
  }) => {
7653
7654
  var D;
7654
- const { t: l } = Ue(["translation", "form"]), { attributes: c } = e || {}, { isRoot: d, isLeaf: f, required: m, isDecision: h, step: x, type: b, label: g, repeatable: v, tag: C } = c || {}, S = !!b, w = b === "tree", $ = b === "hidden", p = !S, P = !d && !f;
7655
+ const { t: l } = Ue(["translation", "form"]), { attributes: c } = e || {}, { isRoot: d, isLeaf: f, required: p, isDecision: h, step: y, type: b, label: g, repeatable: v, tag: C } = c || {}, S = !!b, w = b === "tree", $ = b === "hidden", m = !S, P = !d && !f;
7655
7656
  return /* @__PURE__ */ i.jsxs("g", { children: [
7656
7657
  /* @__PURE__ */ i.jsx(xn, { styles: { ".rd3t-node svg": ze.nodeSvg } }),
7657
7658
  /* @__PURE__ */ i.jsx(ee, { component: "foreignObject", height: a, width: a, x: `-${a / 2}`, y: `-${a / 2}`, sx: um(b), children: /* @__PURE__ */ i.jsxs(ee, { flex: 1, display: "flex", p: 2, height: "100%", flexDirection: "column", justifyContent: "space-between", children: [
7658
7659
  /* @__PURE__ */ i.jsxs(pe, { alignItems: "flex-end", spacing: 0.5, children: [
7659
7660
  S && /* @__PURE__ */ i.jsxs(pe, { direction: "row", spacing: 1, alignItems: "center", children: [
7660
- x && /* @__PURE__ */ i.jsx(Ge, { title: `${l("step", { ns: "form" })} ${(D = e == null ? void 0 : e.attributes) == null ? void 0 : D.step}`, placement: "left", arrow: !0, children: /* @__PURE__ */ i.jsx(an, { color: "primary", size: "small", label: x, sx: ze.stepChip }) }),
7661
+ y && /* @__PURE__ */ i.jsx(Ge, { title: `${l("step", { ns: "form" })} ${(D = e == null ? void 0 : e.attributes) == null ? void 0 : D.step}`, placement: "left", arrow: !0, children: /* @__PURE__ */ i.jsx(an, { color: "primary", size: "small", label: y, sx: ze.stepChip }) }),
7661
7662
  /* @__PURE__ */ i.jsx(kt, { variant: "subtitle2", sx: ze.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) })
7662
7663
  ] }),
7663
7664
  S && /* @__PURE__ */ i.jsx(an, { color: "info", size: "small", label: l(`type.${b}`, { ns: "form" }) }),
7664
7665
  C && /* @__PURE__ */ i.jsx(an, { variant: "outlined", color: "warning", size: "small", label: C }),
7665
- m && /* @__PURE__ */ i.jsx(pe, { direction: "row", spacing: 0.5, children: m && /* @__PURE__ */ i.jsx(kt, { variant: "body2", sx: { color: ({ palette: Q }) => Q.error.main }, children: l("required") }) }),
7666
- /* @__PURE__ */ i.jsx(pe, { spacing: 0.5, alignItems: "flex-end", children: p && /* @__PURE__ */ i.jsx(kt, { variant: "subtitle2", sx: ze.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) }) }),
7666
+ p && /* @__PURE__ */ i.jsx(pe, { direction: "row", spacing: 0.5, children: p && /* @__PURE__ */ i.jsx(kt, { variant: "body2", sx: { color: ({ palette: Q }) => Q.error.main }, children: l("required") }) }),
7667
+ /* @__PURE__ */ i.jsx(pe, { spacing: 0.5, alignItems: "flex-end", children: m && /* @__PURE__ */ i.jsx(kt, { variant: "subtitle2", sx: ze.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) }) }),
7667
7668
  /* @__PURE__ */ i.jsxs(pe, { paddingTop: 0.5, spacing: 0.5, direction: "row", children: [
7668
7669
  v && /* @__PURE__ */ i.jsx(Ge, { title: l("isARepeatable"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(bl, { style: ze.icon }) }),
7669
7670
  f && /* @__PURE__ */ i.jsx(Ge, { title: l("isALeaf"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(gl, { style: ze.icon }) }),
@@ -7685,7 +7686,7 @@ const ze = {
7685
7686
  children: /* @__PURE__ */ i.jsx(ml, {})
7686
7687
  }
7687
7688
  ) }),
7688
- !p && /* @__PURE__ */ i.jsx(Ge, { title: l("edit"), arrow: !0, children: /* @__PURE__ */ i.jsx(
7689
+ !m && /* @__PURE__ */ i.jsx(Ge, { title: l("edit"), arrow: !0, children: /* @__PURE__ */ i.jsx(
7689
7690
  lt,
7690
7691
  {
7691
7692
  variant: "text",
@@ -7723,22 +7724,28 @@ const ze = {
7723
7724
  ] });
7724
7725
  }, fm = Xa(dm), _l = () => {
7725
7726
  const { setModalOpen: e, setCurrentHierarchyPointNode: t, setTreeModalOpen: n, setTreePath: r } = Le();
7726
- return { handleAddChildren: (d) => {
7727
- t(d), e("add");
7728
- }, handleCloseTreeModal: () => {
7729
- r([]), n(!1);
7730
- }, handleDeleteChildren: (d) => {
7731
- t(d), e("delete");
7732
- }, handleEditChildren: (d) => {
7733
- t(d), e("edit");
7734
- }, handleOpenTreeModal: (d) => {
7735
- var m, h, x;
7736
- const f = {
7737
- label: ((m = d == null ? void 0 : d.data.attributes) == null ? void 0 : m.label) || "",
7738
- path: ((x = (h = d == null ? void 0 : d.data) == null ? void 0 : h.attributes) == null ? void 0 : x.treePath) || ""
7739
- };
7740
- r((b) => [...b, f]), n(!0);
7741
- } };
7727
+ return {
7728
+ handleAddChildren: (d) => {
7729
+ t(d), e("add");
7730
+ },
7731
+ handleCloseTreeModal: () => {
7732
+ r([]), n(!1);
7733
+ },
7734
+ handleDeleteChildren: (d) => {
7735
+ t(d), e("delete");
7736
+ },
7737
+ handleEditChildren: (d) => {
7738
+ t(d), e("edit");
7739
+ },
7740
+ handleOpenTreeModal: (d) => {
7741
+ var p, h, y;
7742
+ const f = {
7743
+ label: ((p = d == null ? void 0 : d.data.attributes) == null ? void 0 : p.label) || "",
7744
+ path: ((y = (h = d == null ? void 0 : d.data) == null ? void 0 : h.attributes) == null ? void 0 : y.treePath) || ""
7745
+ };
7746
+ r((b) => [...b, f]), n(!0);
7747
+ }
7748
+ };
7742
7749
  }, pm = ({
7743
7750
  nodeDatum: e,
7744
7751
  hierarchyPointNode: t,
@@ -7792,17 +7799,17 @@ const ze = {
7792
7799
  },
7793
7800
  getTitleModalDelete: () => {
7794
7801
  var g, v, C;
7795
- const x = (v = (g = t == null ? void 0 : t.data) == null ? void 0 : g.attributes) == null ? void 0 : v.label, b = (C = t == null ? void 0 : t.data) == null ? void 0 : C.uuid;
7796
- return e("deleteTitle", { name: x || b, ns: "modal" });
7802
+ const y = (v = (g = t == null ? void 0 : t.data) == null ? void 0 : g.attributes) == null ? void 0 : v.label, b = (C = t == null ? void 0 : t.data) == null ? void 0 : C.uuid;
7803
+ return e("deleteTitle", { name: y || b, ns: "modal" });
7797
7804
  },
7798
7805
  getTitleModalMutation: () => {
7799
7806
  var g;
7800
- const x = (g = t == null ? void 0 : t.data) == null ? void 0 : g.attributes.label;
7801
- return x ? e(s ? "editTitle" : "addTitle", { name: x, ns: "modal" }) : e("addFirstTitle", { name: x, ns: "modal" });
7807
+ const y = (g = t == null ? void 0 : t.data) == null ? void 0 : g.attributes.label;
7808
+ return y ? e(s ? "editTitle" : "addTitle", { name: y, ns: "modal" }) : e("addFirstTitle", { name: y, ns: "modal" });
7802
7809
  },
7803
- handleChangeTree: (x) => {
7810
+ handleChangeTree: (y) => {
7804
7811
  try {
7805
- o(Go(JSON.parse(x)));
7812
+ o(Go(JSON.parse(y)));
7806
7813
  } catch {
7807
7814
  return !1;
7808
7815
  }
@@ -7835,8 +7842,7 @@ const ze = {
7835
7842
  }
7836
7843
  );
7837
7844
  }, vm = () => {
7838
- var b, g;
7839
- const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = Le(), { handleCloseTreeModal: o } = _l(), { getTitleModalMutation: s, closeModal: a, getTitleModalDelete: l, isModalMutationOpen: c, isDeleteModal: d, handleChangeTree: f } = mm(), m = (b = n == null ? void 0 : n.at(-1)) == null ? void 0 : b.path, h = (g = n == null ? void 0 : n.at(-1)) == null ? void 0 : g.label, x = e && $r(e, m);
7845
+ const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = Le(), { handleCloseTreeModal: o } = _l(), { getTitleModalMutation: s, closeModal: a, getTitleModalDelete: l, isModalMutationOpen: c, isDeleteModal: d, handleChangeTree: f } = mm(), p = n == null ? void 0 : n.at(-1), h = p == null ? void 0 : p.path, y = p == null ? void 0 : p.label, b = er(e, h);
7840
7846
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
7841
7847
  /* @__PURE__ */ i.jsxs(Xp, { children: [
7842
7848
  /* @__PURE__ */ i.jsx(Kp, { children: /* @__PURE__ */ i.jsxs(pe, { justifyContent: "space-between", direction: "row", alignItems: "center", children: [
@@ -7852,10 +7858,10 @@ const ze = {
7852
7858
  ] }),
7853
7859
  /* @__PURE__ */ i.jsx(Va, { open: c, onClose: a, title: s(), children: /* @__PURE__ */ i.jsx(P1, { onClose: a }) }),
7854
7860
  /* @__PURE__ */ i.jsx(Va, { open: d, onClose: a, title: l(), children: /* @__PURE__ */ i.jsx(e1, { onClose: a }) }),
7855
- /* @__PURE__ */ i.jsx(Bp, { open: t, onClose: o, title: h, children: x && /* @__PURE__ */ i.jsx(zs, { data: x, renderCustomNodeElement: Wa }) })
7861
+ /* @__PURE__ */ i.jsx(Bp, { open: t, onClose: o, title: y, children: /* @__PURE__ */ i.jsx(zs, { data: b, renderCustomNodeElement: Wa }) })
7856
7862
  ] });
7857
- }, bm = "1.0.2", ym = ({ children: e, initialTree: t, initialTreeId: n, backendConfig: r }) => {
7858
- const [o, s] = be(Ze.currentHierarchyPointNode), [a, l] = be(Ze.modalOpen), [c, d] = be(Ze.treeModalOpen), [f, m] = be(Ze.treePath), [h, x] = Ja(Ap, t || Ze.tree), [b, g] = be(
7863
+ }, bm = "1.0.3", ym = ({ children: e, initialTree: t, initialTreeId: n, backendConfig: r }) => {
7864
+ const [o, s] = be(Ze.currentHierarchyPointNode), [a, l] = be(Ze.modalOpen), [c, d] = be(Ze.treeModalOpen), [f, p] = be(Ze.treePath), [h, y] = Ja(Ap, t || Ze.tree), [b, g] = be(
7859
7865
  n ? { ...Ze.currentTree, id: n } : Ze.currentTree
7860
7866
  ), v = kr(
7861
7867
  () => {
@@ -7872,13 +7878,13 @@ const ze = {
7872
7878
  },
7873
7879
  currentHierarchyPointNode: o,
7874
7880
  currentTree: b,
7875
- dispatchTree: x,
7881
+ dispatchTree: y,
7876
7882
  modalOpen: a,
7877
7883
  setCurrentHierarchyPointNode: s,
7878
7884
  setCurrentTree: g,
7879
7885
  setModalOpen: l,
7880
7886
  setTreeModalOpen: d,
7881
- setTreePath: m,
7887
+ setTreePath: p,
7882
7888
  tree: h,
7883
7889
  treeModalOpen: c,
7884
7890
  treePath: f,
@@ -7890,7 +7896,7 @@ const ze = {
7890
7896
  return Cn(b.id, {
7891
7897
  enabled: !!n,
7892
7898
  onSuccess: async (C) => {
7893
- C && (g({ id: C == null ? void 0 : C.id, name: C == null ? void 0 : C.label }), x(Go((C == null ? void 0 : C.workflow) || null)));
7899
+ C && (g({ id: C == null ? void 0 : C.id, name: C == null ? void 0 : C.label }), y(Go((C == null ? void 0 : C.workflow) || null)));
7894
7900
  }
7895
7901
  }), /* @__PURE__ */ i.jsx(si.Provider, { value: v, children: e });
7896
7902
  }, xm = {
@@ -8047,7 +8053,7 @@ const ze = {
8047
8053
  value: "Valeur",
8048
8054
  values: "Valeurs"
8049
8055
  };
8050
- Er.use(Gl).use(Ul).init({
8056
+ Tr.use(Gl).use(Ul).init({
8051
8057
  debug: !1,
8052
8058
  fallbackLng: "en",
8053
8059
  interpolation: {
@@ -8075,9 +8081,9 @@ Er.use(Gl).use(Ul).init({
8075
8081
  },
8076
8082
  returnNull: !1
8077
8083
  }).then(() => {
8078
- document.documentElement.lang !== Er.resolvedLanguage && Er.resolvedLanguage && document.documentElement.setAttribute("lang", Er.resolvedLanguage);
8084
+ document.documentElement.lang !== Tr.resolvedLanguage && Tr.resolvedLanguage && document.documentElement.setAttribute("lang", Tr.resolvedLanguage);
8079
8085
  });
8080
- Er.on("languageChanged", (e) => {
8086
+ Tr.on("languageChanged", (e) => {
8081
8087
  document.documentElement.setAttribute("lang", e);
8082
8088
  });
8083
8089
  const Nm = ({ initialTree: e, initialTreeId: t, backendConfig: n }) => (Sl(() => {