@mui-toolpad-extended-tuni/main 3.4.0 → 3.4.1

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/index.es.js CHANGED
@@ -6,9 +6,9 @@ import _, { memo as aa, useRef as nt, useState as Be, useCallback as vr, useEffe
6
6
  import { Account as ul, AccountPreview as fl, AccountPopoverFooter as dl, ThemeSwitcher as ml, SignOutButton as hl, useActivePage as pl, PageHeader as yl, PageHeaderToolbar as gl, AppProvider as vl, DashboardLayout as Sl, PageContainer as bl } from "@toolpad/core";
7
7
  import { useCurrentUser as mn, useUserActions as Ho, useRetry as wl, getColorSchemePreference as Tl, setColorSchemePreference as fi, getEffectiveColorScheme as di, CollapsingButtons as El, useNavigationStore as wo, useMicroserviceNavigation as xl, ApiConfigProvider as kl, GridItemProvider as Cl, Dialogs as Ol, Notifications as Al, useGridItemContext as Dl, EditModeToggler as mi, ResponsiveGridLayout as Ml, useMicroserviceRoutes as Il } from "@mui-toolpad-extended-tuni/core";
8
8
  export * from "@mui-toolpad-extended-tuni/core";
9
- import { ApiConfigProvider as fg, DialogOpener as dg, Dialogs as mg, EventBus as hg, ExtendedDialog as pg, FormDialog as yg, NavigationFilter as gg, NavigationSectionBuilder as vg, Notifications as Sg, UserBus as bg, apiPrefix as wg, calculateNavigationFromSections as Tg, closeDialog as Eg, convertObjectKeysToCamelCase as xg, convertObjectKeysToUnderscore as kg, deleteCookie as Cg, eventBus as Og, filterNavigationByRole as Ag, getAllMicroservices as Dg, getAllRegisteredMicroservices as Mg, getApiConfig as Ig, getApiPrefix as Ng, getCookie as Pg, getMicroservice as Lg, getMicroserviceIds as Rg, isMicroserviceRegistered as jg, openDialog as Bg, parseDate as Fg, registerDialog as Wg, registerMicroservice as Vg, registerRouteProvider as Hg, setCookie as zg, slugify as Ug, unregisterMicroservice as Zg, unregisterRouteProvider as Jg, updateMicroserviceNavigationForSections as Yg, useApiConfig as Gg, useCurrentUser as Kg, useMicroserviceNavigation as Qg, useMicroserviceRegistryStore as qg, useMicroserviceRoutes as Xg, useNavigationFilterStore as _g, useNavigationSectionManager as $g, useNavigationStore as e0, useNotificationStore as t0, useRetry as r0, useSyncNavigationFilters as n0, useUserActions as o0, useUserPreferences as i0, userBus as s0 } from "@mui-toolpad-extended-tuni/core";
9
+ import { DialogOpener as fg, Dialogs as dg, EventBus as mg, ExtendedDialog as hg, FormDialog as pg, NavigationFilter as yg, NavigationSectionBuilder as gg, Notifications as vg, UserBus as Sg, apiPrefix as bg, calculateNavigationFromSections as wg, closeDialog as Tg, convertObjectKeysToCamelCase as Eg, convertObjectKeysToUnderscore as xg, deleteCookie as kg, eventBus as Cg, filterNavigationByRole as Og, getAllMicroservices as Ag, getAllRegisteredMicroservices as Dg, getApiConfig as Mg, getApiPrefix as Ig, getCookie as Ng, getMicroservice as Pg, getMicroserviceIds as Lg, isMicroserviceRegistered as Rg, openDialog as jg, parseDate as Bg, registerApiEndpoints as Fg, registerDialog as Wg, registerMicroservice as Vg, registerRouteProvider as Hg, setCookie as zg, slugify as Ug, unregisterMicroservice as Zg, unregisterRouteProvider as Jg, updateMicroserviceNavigationForSections as Yg, useApiConfigContext as Gg, useCurrentUser as Kg, useMicroserviceNavigation as Qg, useMicroserviceRegistryStore as qg, useMicroserviceRoutes as Xg, useNavigationFilterStore as _g, useNavigationSectionManager as $g, useNavigationStore as e0, useNotificationStore as t0, useRetry as r0, useServiceApiConfig as n0, useSyncNavigationFilters as o0, useUserActions as i0, useUserPreferences as s0, userBus as a0 } from "@mui-toolpad-extended-tuni/core";
10
10
  import { useNavigate as la, useLocation as hn, Routes as Nl, Route as Pl } from "react-router-dom";
11
- import { BrowserRouter as c0, HashRouter as l0, Link as u0, MemoryRouter as f0, Navigate as d0, Outlet as m0, Route as h0, Routes as p0, useLocation as y0, useNavigate as g0, useParams as v0 } from "react-router-dom";
11
+ import { BrowserRouter as l0, HashRouter as u0, Link as f0, MemoryRouter as d0, Navigate as m0, Outlet as h0, Route as p0, Routes as y0, useLocation as g0, useNavigate as v0, useParams as S0 } from "react-router-dom";
12
12
  import { Box as he, useTheme as br, useMediaQuery as zo, Typography as we, Stack as ur, Divider as Ll, MenuItem as To, Tooltip as pn, IconButton as wt, createTheme as Bn, ThemeProvider as Rl, CssBaseline as jl, Badge as Bl, TextField as yn, FormControlLabel as Fl, Switch as Wl, Paper as Vl, FormControl as Hl, InputLabel as zl, Select as Ul, Autocomplete as Zl, Chip as hi, Popover as Jl, Button as ua } from "@mui/material";
13
13
  import { createPortal as Yl } from "react-dom";
14
14
  import Gl from "@emotion/styled";
@@ -72,11 +72,11 @@ function nu() {
72
72
  switch (p) {
73
73
  case v:
74
74
  return "Fragment";
75
- case O:
75
+ case b:
76
76
  return "Profiler";
77
77
  case x:
78
78
  return "StrictMode";
79
- case A:
79
+ case D:
80
80
  return "Suspense";
81
81
  case L:
82
82
  return "SuspenseList";
@@ -91,17 +91,17 @@ function nu() {
91
91
  return "Portal";
92
92
  case C:
93
93
  return p.displayName || "Context";
94
- case w:
94
+ case O:
95
95
  return (p._context.displayName || "Context") + ".Consumer";
96
96
  case S:
97
- var D = p.render;
98
- return p = p.displayName, p || (p = D.displayName || D.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
97
+ var A = p.render;
98
+ return p = p.displayName, p || (p = A.displayName || A.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
99
99
  case J:
100
- return D = p.displayName || null, D !== null ? D : t(p.type) || "Memo";
100
+ return A = p.displayName || null, A !== null ? A : t(p.type) || "Memo";
101
101
  case G:
102
- D = p._payload, p = p._init;
102
+ A = p._payload, p = p._init;
103
103
  try {
104
- return t(p(D));
104
+ return t(p(A));
105
105
  } catch {
106
106
  }
107
107
  }
@@ -113,15 +113,15 @@ function nu() {
113
113
  function r(p) {
114
114
  try {
115
115
  e(p);
116
- var D = !1;
116
+ var A = !1;
117
117
  } catch {
118
- D = !0;
118
+ A = !0;
119
119
  }
120
- if (D) {
121
- D = console;
122
- var I = D.error, M = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
120
+ if (A) {
121
+ A = console;
122
+ var I = A.error, M = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
123
123
  return I.call(
124
- D,
124
+ A,
125
125
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
126
126
  M
127
127
  ), e(p);
@@ -132,8 +132,8 @@ function nu() {
132
132
  if (typeof p == "object" && p !== null && p.$$typeof === G)
133
133
  return "<...>";
134
134
  try {
135
- var D = t(p);
136
- return D ? "<" + D + ">" : "<...>";
135
+ var A = t(p);
136
+ return A ? "<" + A + ">" : "<...>";
137
137
  } catch {
138
138
  return "<...>";
139
139
  }
@@ -147,16 +147,16 @@ function nu() {
147
147
  }
148
148
  function s(p) {
149
149
  if (B.call(p, "key")) {
150
- var D = Object.getOwnPropertyDescriptor(p, "key").get;
151
- if (D && D.isReactWarning) return !1;
150
+ var A = Object.getOwnPropertyDescriptor(p, "key").get;
151
+ if (A && A.isReactWarning) return !1;
152
152
  }
153
153
  return p.key !== void 0;
154
154
  }
155
- function a(p, D) {
155
+ function a(p, A) {
156
156
  function I() {
157
157
  Z || (Z = !0, console.error(
158
158
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
159
- D
159
+ A
160
160
  ));
161
161
  }
162
162
  I.isReactWarning = !0, Object.defineProperty(p, "key", {
@@ -170,12 +170,12 @@ function nu() {
170
170
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
171
171
  )), p = this.props.ref, p !== void 0 ? p : null;
172
172
  }
173
- function l(p, D, I, M, W, R) {
173
+ function l(p, A, I, M, W, R) {
174
174
  var N = I.ref;
175
175
  return p = {
176
176
  $$typeof: y,
177
177
  type: p,
178
- key: D,
178
+ key: A,
179
179
  props: I,
180
180
  _owner: M
181
181
  }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(p, "ref", {
@@ -203,8 +203,8 @@ function nu() {
203
203
  value: R
204
204
  }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
205
205
  }
206
- function f(p, D, I, M, W, R) {
207
- var N = D.children;
206
+ function f(p, A, I, M, W, R) {
207
+ var N = A.children;
208
208
  if (N !== void 0)
209
209
  if (M)
210
210
  if (P(N)) {
@@ -216,12 +216,12 @@ function nu() {
216
216
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
217
217
  );
218
218
  else d(N);
219
- if (B.call(D, "key")) {
219
+ if (B.call(A, "key")) {
220
220
  N = t(p);
221
- var F = Object.keys(D).filter(function(V) {
221
+ var F = Object.keys(A).filter(function(V) {
222
222
  return V !== "key";
223
223
  });
224
- M = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", b[N + M] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
224
+ M = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", w[N + M] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
225
225
  `A props object containing a "key" prop is being spread into JSX:
226
226
  let props = %s;
227
227
  <%s {...props} />
@@ -232,13 +232,13 @@ React keys must be passed directly to JSX without using spread:
232
232
  N,
233
233
  F,
234
234
  N
235
- ), b[N + M] = !0);
235
+ ), w[N + M] = !0);
236
236
  }
237
- if (N = null, I !== void 0 && (r(I), N = "" + I), s(D) && (r(D.key), N = "" + D.key), "key" in D) {
237
+ if (N = null, I !== void 0 && (r(I), N = "" + I), s(A) && (r(A.key), N = "" + A.key), "key" in A) {
238
238
  I = {};
239
- for (var z in D)
240
- z !== "key" && (I[z] = D[z]);
241
- } else I = D;
239
+ for (var z in A)
240
+ z !== "key" && (I[z] = A[z]);
241
+ } else I = A;
242
242
  return N && a(
243
243
  I,
244
244
  typeof p == "function" ? p.displayName || p.name || "Unknown" : p
@@ -257,7 +257,7 @@ React keys must be passed directly to JSX without using spread:
257
257
  function h(p) {
258
258
  return typeof p == "object" && p !== null && p.$$typeof === y;
259
259
  }
260
- var g = _, y = Symbol.for("react.transitional.element"), u = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), m = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, P = Array.isArray, U = console.createTask ? console.createTask : function() {
260
+ var g = _, y = Symbol.for("react.transitional.element"), u = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), m = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, P = Array.isArray, U = console.createTask ? console.createTask : function() {
261
261
  return null;
262
262
  };
263
263
  g = {
@@ -268,22 +268,22 @@ React keys must be passed directly to JSX without using spread:
268
268
  var Z, q = {}, pe = g.react_stack_bottom_frame.bind(
269
269
  g,
270
270
  i
271
- )(), Ce = U(n(i)), b = {};
272
- Xt.Fragment = v, Xt.jsx = function(p, D, I) {
271
+ )(), Ce = U(n(i)), w = {};
272
+ Xt.Fragment = v, Xt.jsx = function(p, A, I) {
273
273
  var M = 1e4 > m.recentlyCreatedOwnerStacks++;
274
274
  return f(
275
275
  p,
276
- D,
276
+ A,
277
277
  I,
278
278
  !1,
279
279
  M ? Error("react-stack-top-frame") : pe,
280
280
  M ? U(n(p)) : Ce
281
281
  );
282
- }, Xt.jsxs = function(p, D, I) {
282
+ }, Xt.jsxs = function(p, A, I) {
283
283
  var M = 1e4 > m.recentlyCreatedOwnerStacks++;
284
284
  return f(
285
285
  p,
286
- D,
286
+ A,
287
287
  I,
288
288
  !0,
289
289
  M ? Error("react-stack-top-frame") : pe,
@@ -677,7 +677,7 @@ function Lr(t, e) {
677
677
  var Sa = /* @__PURE__ */ Sr(function(t, e) {
678
678
  var r = t.children, n = t.direction, o = n === void 0 ? "down" : n, i = t.in, s = t.style, a = t.timeout, c = a === void 0 ? 0 : a, l = t.onEnter, f = t.onEntered, d = t.onExit, h = t.onExited, g = wr(t, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), y = nt(null), u = Eo(r.ref, y), v = Eo(u, e), x = function(L, J) {
679
679
  Lr(o, L), ga(L), l && l(L, J);
680
- }, O = function(L) {
680
+ }, b = function(L) {
681
681
  var J = (s == null ? void 0 : s.transitionTimingFunction) || xo.easeOut, G = en({
682
682
  timeout: c,
683
683
  mode: "enter",
@@ -686,7 +686,7 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
686
686
  })
687
687
  });
688
688
  L.style.webkitTransition = Rt("-webkit-transform", G), L.style.transition = Rt("transform", G), L.style.webkitTransform = "none", L.style.transform = "none";
689
- }, w = function(L) {
689
+ }, O = function(L) {
690
690
  var J = (s == null ? void 0 : s.transitionTimingFunction) || xo.sharp, G = en({
691
691
  timeout: c,
692
692
  mode: "exit",
@@ -702,11 +702,11 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
702
702
  }, [o]);
703
703
  return Me(function() {
704
704
  if (!(i || o === "down" || o === "right")) {
705
- var A = vu(function() {
705
+ var D = vu(function() {
706
706
  y.current && Lr(o, y.current);
707
707
  }), L = va(y.current);
708
- return L.addEventListener("resize", A), function() {
709
- A.clear(), L.removeEventListener("resize", A);
708
+ return L.addEventListener("resize", D), function() {
709
+ D.clear(), L.removeEventListener("resize", D);
710
710
  };
711
711
  }
712
712
  }, [o, i]), Me(function() {
@@ -716,16 +716,16 @@ var Sa = /* @__PURE__ */ Sr(function(t, e) {
716
716
  nodeRef: y,
717
717
  onEnter: x,
718
718
  onEntered: f,
719
- onEntering: O,
720
- onExit: w,
719
+ onEntering: b,
720
+ onExit: O,
721
721
  onExited: C,
722
722
  in: i,
723
723
  timeout: c
724
- }, g), function(A, L) {
724
+ }, g), function(D, L) {
725
725
  return sl(r, de({
726
726
  ref: v,
727
727
  style: de({
728
- visibility: A === "exited" && !i ? "hidden" : void 0
728
+ visibility: D === "exited" && !i ? "hidden" : void 0
729
729
  }, s, {}, r.props.style)
730
730
  }, L));
731
731
  });
@@ -836,8 +836,8 @@ var Vt = {
836
836
  var v = c(), x = en({
837
837
  timeout: Wn,
838
838
  mode: "enter"
839
- }), O = x.duration, w = x.easing;
840
- u.style.transitionDuration = typeof O == "string" ? O : O + "ms", u.style.height = v + "px", u.style.transitionTimingFunction = w || "";
839
+ }), b = x.duration, O = x.easing;
840
+ u.style.transitionDuration = typeof b == "string" ? b : b + "ms", u.style.height = v + "px", u.style.transitionTimingFunction = O || "";
841
841
  }, d = function(u) {
842
842
  u.style.height = "auto";
843
843
  }, h = function(u) {
@@ -847,8 +847,8 @@ var Vt = {
847
847
  var v = en({
848
848
  timeout: Wn,
849
849
  mode: "exit"
850
- }), x = v.duration, O = v.easing;
851
- u.style.transitionDuration = typeof x == "string" ? x : x + "ms", u.style.height = Fn, u.style.transitionTimingFunction = O || "";
850
+ }), x = v.duration, b = v.easing;
851
+ u.style.transitionDuration = typeof x == "string" ? x : x + "ms", u.style.height = Fn, u.style.transitionTimingFunction = b || "";
852
852
  };
853
853
  return lr(Yo, {
854
854
  in: n,
@@ -940,10 +940,10 @@ function Oi(t) {
940
940
  var wa = /* @__PURE__ */ Sr(function(t, e) {
941
941
  var r = t.children, n = t.className, o = t.autoHideDuration, i = t.disableWindowBlurListener, s = i === void 0 ? !1 : i, a = t.onClose, c = t.id, l = t.open, f = t.SnackbarProps, d = f === void 0 ? {} : f, h = nt(), g = Oi(function() {
942
942
  a && a.apply(void 0, arguments);
943
- }), y = Oi(function(w) {
944
- !a || w == null || (h.current && clearTimeout(h.current), h.current = setTimeout(function() {
943
+ }), y = Oi(function(O) {
944
+ !a || O == null || (h.current && clearTimeout(h.current), h.current = setTimeout(function() {
945
945
  g(null, "timeout", c);
946
- }, w));
946
+ }, O));
947
947
  });
948
948
  Me(function() {
949
949
  return l && y(o), function() {
@@ -956,7 +956,7 @@ var wa = /* @__PURE__ */ Sr(function(t, e) {
956
956
  o != null && y(o * 0.5);
957
957
  }, [o, y]), x = function(C) {
958
958
  d.onMouseEnter && d.onMouseEnter(C), u();
959
- }, O = function(C) {
959
+ }, b = function(C) {
960
960
  d.onMouseLeave && d.onMouseLeave(C), v();
961
961
  };
962
962
  return Me(function() {
@@ -969,7 +969,7 @@ var wa = /* @__PURE__ */ Sr(function(t, e) {
969
969
  }, d, {
970
970
  className: Tt(Vt.Snackbar, n),
971
971
  onMouseEnter: x,
972
- onMouseLeave: O
972
+ onMouseLeave: b
973
973
  }), r);
974
974
  });
975
975
  wa.displayName = "Snackbar";
@@ -1076,9 +1076,9 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1076
1076
  }, []);
1077
1077
  var l = e.snack, f = e.classes, d = e.Component, h = d === void 0 ? Lu : d, g = Vo(function() {
1078
1078
  return Mu(f);
1079
- }, [f]), y = l.open, u = l.SnackbarProps, v = l.TransitionComponent, x = l.TransitionProps, O = l.transitionDuration, w = l.disableWindowBlurListener, C = l.content, S = wr(l, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = de({
1079
+ }, [f]), y = l.open, u = l.SnackbarProps, v = l.TransitionComponent, x = l.TransitionProps, b = l.transitionDuration, O = l.disableWindowBlurListener, C = l.content, S = wr(l, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), D = de({
1080
1080
  direction: Au(S.anchorOrigin),
1081
- timeout: O
1081
+ timeout: b
1082
1082
  }, x), L = C;
1083
1083
  typeof L == "function" && (L = L(S.id, S.message));
1084
1084
  var J = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(G, se) {
@@ -1091,12 +1091,12 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1091
1091
  }, _.createElement(wa, {
1092
1092
  open: y,
1093
1093
  id: S.id,
1094
- disableWindowBlurListener: w,
1094
+ disableWindowBlurListener: O,
1095
1095
  autoHideDuration: S.autoHideDuration,
1096
1096
  className: Tt(Ru.wrappedRoot, g.root, g[Du(S.anchorOrigin)]),
1097
1097
  SnackbarProps: u,
1098
1098
  onClose: s
1099
- }, _.createElement(v, Object.assign({}, A, {
1099
+ }, _.createElement(v, Object.assign({}, D, {
1100
1100
  appear: !0,
1101
1101
  in: y,
1102
1102
  onExit: J.onExit,
@@ -1230,8 +1230,8 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1230
1230
  if (f === void 0 && o.props.preventDuplicate || f) {
1231
1231
  var x = function(S) {
1232
1232
  return h ? S.id === g : S.message === c;
1233
- }, O = v.queue.findIndex(x) > -1, w = v.snacks.findIndex(x) > -1;
1234
- if (O || w)
1233
+ }, b = v.queue.findIndex(x) > -1, O = v.snacks.findIndex(x) > -1;
1234
+ if (b || O)
1235
1235
  return v;
1236
1236
  }
1237
1237
  return o.handleDisplaySnack(de({}, v, {
@@ -1325,26 +1325,26 @@ var Lu = /* @__PURE__ */ aa(Ea), Ru = /* @__PURE__ */ Tr({
1325
1325
  var r = e.prototype;
1326
1326
  return r.render = function() {
1327
1327
  var o = this, i = this.state.contextValue, s = this.props, a = s.domRoot, c = s.children, l = s.dense, f = l === void 0 ? !1 : l, d = s.Components, h = d === void 0 ? {} : d, g = s.classes, y = this.state.snacks.reduce(function(v, x) {
1328
- var O, w = Jo(x.anchorOrigin), C = v[w] || [];
1329
- return de({}, v, (O = {}, O[w] = [].concat(C, [x]), O));
1328
+ var b, O = Jo(x.anchorOrigin), C = v[O] || [];
1329
+ return de({}, v, (b = {}, b[O] = [].concat(C, [x]), b));
1330
1330
  }, {}), u = Object.keys(y).map(function(v) {
1331
- var x = y[v], O = x[0];
1331
+ var x = y[v], b = x[0];
1332
1332
  return _.createElement(Fu, {
1333
1333
  key: v,
1334
1334
  dense: f,
1335
- anchorOrigin: O.anchorOrigin,
1335
+ anchorOrigin: b.anchorOrigin,
1336
1336
  classes: g
1337
- }, x.map(function(w) {
1337
+ }, x.map(function(O) {
1338
1338
  return _.createElement(ju, {
1339
- key: w.id,
1340
- snack: w,
1339
+ key: O.id,
1340
+ snack: O,
1341
1341
  classes: g,
1342
- Component: h[w.variant],
1342
+ Component: h[O.variant],
1343
1343
  onClose: o.handleCloseSnack,
1344
1344
  onEnter: o.props.onEnter,
1345
1345
  onExit: o.props.onExit,
1346
- onExited: fr([o.handleExitedSnack, o.props.onExited], w.id),
1347
- onEntered: fr([o.handleEnteredSnack, o.props.onEntered], w.id)
1346
+ onExited: fr([o.handleExitedSnack, o.props.onExited], O.id),
1347
+ onEntered: fr([o.handleEnteredSnack, o.props.onEntered], O.id)
1348
1348
  });
1349
1349
  }));
1350
1350
  });
@@ -1389,11 +1389,11 @@ var Ii;
1389
1389
  function Zu() {
1390
1390
  if (Ii) return te;
1391
1391
  Ii = 1;
1392
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
1393
- function w(S) {
1392
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
1393
+ function O(S) {
1394
1394
  if (typeof S == "object" && S !== null) {
1395
- var A = S.$$typeof;
1396
- switch (A) {
1395
+ var D = S.$$typeof;
1396
+ switch (D) {
1397
1397
  case e:
1398
1398
  switch (S = S.type, S) {
1399
1399
  case c:
@@ -1412,44 +1412,44 @@ function Zu() {
1412
1412
  case s:
1413
1413
  return S;
1414
1414
  default:
1415
- return A;
1415
+ return D;
1416
1416
  }
1417
1417
  }
1418
1418
  case r:
1419
- return A;
1419
+ return D;
1420
1420
  }
1421
1421
  }
1422
1422
  }
1423
1423
  function C(S) {
1424
- return w(S) === l;
1424
+ return O(S) === l;
1425
1425
  }
1426
1426
  return te.AsyncMode = c, te.ConcurrentMode = l, te.ContextConsumer = a, te.ContextProvider = s, te.Element = e, te.ForwardRef = f, te.Fragment = n, te.Lazy = y, te.Memo = g, te.Portal = r, te.Profiler = i, te.StrictMode = o, te.Suspense = d, te.isAsyncMode = function(S) {
1427
- return C(S) || w(S) === c;
1427
+ return C(S) || O(S) === c;
1428
1428
  }, te.isConcurrentMode = C, te.isContextConsumer = function(S) {
1429
- return w(S) === a;
1429
+ return O(S) === a;
1430
1430
  }, te.isContextProvider = function(S) {
1431
- return w(S) === s;
1431
+ return O(S) === s;
1432
1432
  }, te.isElement = function(S) {
1433
1433
  return typeof S == "object" && S !== null && S.$$typeof === e;
1434
1434
  }, te.isForwardRef = function(S) {
1435
- return w(S) === f;
1435
+ return O(S) === f;
1436
1436
  }, te.isFragment = function(S) {
1437
- return w(S) === n;
1437
+ return O(S) === n;
1438
1438
  }, te.isLazy = function(S) {
1439
- return w(S) === y;
1439
+ return O(S) === y;
1440
1440
  }, te.isMemo = function(S) {
1441
- return w(S) === g;
1441
+ return O(S) === g;
1442
1442
  }, te.isPortal = function(S) {
1443
- return w(S) === r;
1443
+ return O(S) === r;
1444
1444
  }, te.isProfiler = function(S) {
1445
- return w(S) === i;
1445
+ return O(S) === i;
1446
1446
  }, te.isStrictMode = function(S) {
1447
- return w(S) === o;
1447
+ return O(S) === o;
1448
1448
  }, te.isSuspense = function(S) {
1449
- return w(S) === d;
1449
+ return O(S) === d;
1450
1450
  }, te.isValidElementType = function(S) {
1451
- return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === O || S.$$typeof === u);
1452
- }, te.typeOf = w, te;
1451
+ return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === b || S.$$typeof === u);
1452
+ }, te.typeOf = O, te;
1453
1453
  }
1454
1454
  var re = {};
1455
1455
  /** @license React v16.13.1
@@ -1463,10 +1463,10 @@ var re = {};
1463
1463
  var Ni;
1464
1464
  function Ju() {
1465
1465
  return Ni || (Ni = 1, process.env.NODE_ENV !== "production" && function() {
1466
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
1467
- function w(E) {
1466
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
1467
+ function O(E) {
1468
1468
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1469
- E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === O || E.$$typeof === u);
1469
+ E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === b || E.$$typeof === u);
1470
1470
  }
1471
1471
  function C(E) {
1472
1472
  if (typeof E == "object" && E !== null) {
@@ -1500,17 +1500,17 @@ function Ju() {
1500
1500
  }
1501
1501
  }
1502
1502
  }
1503
- var S = c, A = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
1503
+ var S = c, D = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
1504
1504
  function Ce(E) {
1505
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(E) || C(E) === c;
1505
+ return pe || (pe = !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.")), w(E) || C(E) === c;
1506
1506
  }
1507
- function b(E) {
1507
+ function w(E) {
1508
1508
  return C(E) === l;
1509
1509
  }
1510
1510
  function p(E) {
1511
1511
  return C(E) === a;
1512
1512
  }
1513
- function D(E) {
1513
+ function A(E) {
1514
1514
  return C(E) === s;
1515
1515
  }
1516
1516
  function I(E) {
@@ -1540,7 +1540,7 @@ function Ju() {
1540
1540
  function ae(E) {
1541
1541
  return C(E) === d;
1542
1542
  }
1543
- re.AsyncMode = S, re.ConcurrentMode = A, re.ContextConsumer = L, re.ContextProvider = J, re.Element = G, re.ForwardRef = se, re.Fragment = Q, re.Lazy = m, re.Memo = B, re.Portal = P, re.Profiler = U, re.StrictMode = Z, re.Suspense = q, re.isAsyncMode = Ce, re.isConcurrentMode = b, re.isContextConsumer = p, re.isContextProvider = D, re.isElement = I, re.isForwardRef = M, re.isFragment = W, re.isLazy = R, re.isMemo = N, re.isPortal = F, re.isProfiler = z, re.isStrictMode = V, re.isSuspense = ae, re.isValidElementType = w, re.typeOf = C;
1543
+ re.AsyncMode = S, re.ConcurrentMode = D, re.ContextConsumer = L, re.ContextProvider = J, re.Element = G, re.ForwardRef = se, re.Fragment = Q, re.Lazy = m, re.Memo = B, re.Portal = P, re.Profiler = U, re.StrictMode = Z, re.Suspense = q, re.isAsyncMode = Ce, re.isConcurrentMode = w, re.isContextConsumer = p, re.isContextProvider = A, re.isElement = I, re.isForwardRef = M, re.isFragment = W, re.isLazy = R, re.isMemo = N, re.isPortal = F, re.isProfiler = z, re.isStrictMode = V, re.isSuspense = ae, re.isValidElementType = O, re.typeOf = C;
1544
1544
  }()), re;
1545
1545
  }
1546
1546
  var Pi;
@@ -1677,8 +1677,8 @@ function Ku() {
1677
1677
  }
1678
1678
  return Kn = function(a, c) {
1679
1679
  var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
1680
- function d(b) {
1681
- var p = b && (l && b[l] || b[f]);
1680
+ function d(w) {
1681
+ var p = w && (l && w[l] || w[f]);
1682
1682
  if (typeof p == "function")
1683
1683
  return p;
1684
1684
  }
@@ -1691,11 +1691,11 @@ function Ku() {
1691
1691
  object: x("object"),
1692
1692
  string: x("string"),
1693
1693
  symbol: x("symbol"),
1694
- any: O(),
1695
- arrayOf: w,
1694
+ any: b(),
1695
+ arrayOf: O,
1696
1696
  element: C(),
1697
1697
  elementType: S(),
1698
- instanceOf: A,
1698
+ instanceOf: D,
1699
1699
  node: se(),
1700
1700
  objectOf: J,
1701
1701
  oneOf: L,
@@ -1703,16 +1703,16 @@ function Ku() {
1703
1703
  shape: m,
1704
1704
  exact: B
1705
1705
  };
1706
- function y(b, p) {
1707
- return b === p ? b !== 0 || 1 / b === 1 / p : b !== b && p !== p;
1706
+ function y(w, p) {
1707
+ return w === p ? w !== 0 || 1 / w === 1 / p : w !== w && p !== p;
1708
1708
  }
1709
- function u(b, p) {
1710
- this.message = b, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
1709
+ function u(w, p) {
1710
+ this.message = w, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
1711
1711
  }
1712
1712
  u.prototype = Error.prototype;
1713
- function v(b) {
1713
+ function v(w) {
1714
1714
  if (process.env.NODE_ENV !== "production")
1715
- var p = {}, D = 0;
1715
+ var p = {}, A = 0;
1716
1716
  function I(W, R, N, F, z, V, ae) {
1717
1717
  if (F = F || h, V = V || N, ae !== r) {
1718
1718
  if (c) {
@@ -1723,44 +1723,44 @@ function Ku() {
1723
1723
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1724
1724
  var Te = F + ":" + N;
1725
1725
  !p[Te] && // Avoid spamming the console because they are often not actionable except for lib authors
1726
- D < 3 && (i(
1726
+ A < 3 && (i(
1727
1727
  "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + F + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1728
- ), p[Te] = !0, D++);
1728
+ ), p[Te] = !0, A++);
1729
1729
  }
1730
1730
  }
1731
- return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : b(R, N, F, z, V);
1731
+ return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : w(R, N, F, z, V);
1732
1732
  }
1733
1733
  var M = I.bind(null, !1);
1734
1734
  return M.isRequired = I.bind(null, !0), M;
1735
1735
  }
1736
- function x(b) {
1737
- function p(D, I, M, W, R, N) {
1738
- var F = D[I], z = Z(F);
1739
- if (z !== b) {
1736
+ function x(w) {
1737
+ function p(A, I, M, W, R, N) {
1738
+ var F = A[I], z = Z(F);
1739
+ if (z !== w) {
1740
1740
  var V = q(F);
1741
1741
  return new u(
1742
- "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + b + "`."),
1743
- { expectedType: b }
1742
+ "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + w + "`."),
1743
+ { expectedType: w }
1744
1744
  );
1745
1745
  }
1746
1746
  return null;
1747
1747
  }
1748
1748
  return v(p);
1749
1749
  }
1750
- function O() {
1750
+ function b() {
1751
1751
  return v(s);
1752
1752
  }
1753
- function w(b) {
1754
- function p(D, I, M, W, R) {
1755
- if (typeof b != "function")
1753
+ function O(w) {
1754
+ function p(A, I, M, W, R) {
1755
+ if (typeof w != "function")
1756
1756
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
1757
- var N = D[I];
1757
+ var N = A[I];
1758
1758
  if (!Array.isArray(N)) {
1759
1759
  var F = Z(N);
1760
1760
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an array."));
1761
1761
  }
1762
1762
  for (var z = 0; z < N.length; z++) {
1763
- var V = b(N, z, M, W, R + "[" + z + "]", r);
1763
+ var V = w(N, z, M, W, R + "[" + z + "]", r);
1764
1764
  if (V instanceof Error)
1765
1765
  return V;
1766
1766
  }
@@ -1769,47 +1769,47 @@ function Ku() {
1769
1769
  return v(p);
1770
1770
  }
1771
1771
  function C() {
1772
- function b(p, D, I, M, W) {
1773
- var R = p[D];
1772
+ function w(p, A, I, M, W) {
1773
+ var R = p[A];
1774
1774
  if (!a(R)) {
1775
1775
  var N = Z(R);
1776
1776
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
1777
1777
  }
1778
1778
  return null;
1779
1779
  }
1780
- return v(b);
1780
+ return v(w);
1781
1781
  }
1782
1782
  function S() {
1783
- function b(p, D, I, M, W) {
1784
- var R = p[D];
1783
+ function w(p, A, I, M, W) {
1784
+ var R = p[A];
1785
1785
  if (!t.isValidElementType(R)) {
1786
1786
  var N = Z(R);
1787
1787
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
1788
1788
  }
1789
1789
  return null;
1790
1790
  }
1791
- return v(b);
1791
+ return v(w);
1792
1792
  }
1793
- function A(b) {
1794
- function p(D, I, M, W, R) {
1795
- if (!(D[I] instanceof b)) {
1796
- var N = b.name || h, F = Ce(D[I]);
1793
+ function D(w) {
1794
+ function p(A, I, M, W, R) {
1795
+ if (!(A[I] instanceof w)) {
1796
+ var N = w.name || h, F = Ce(A[I]);
1797
1797
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected ") + ("instance of `" + N + "`."));
1798
1798
  }
1799
1799
  return null;
1800
1800
  }
1801
1801
  return v(p);
1802
1802
  }
1803
- function L(b) {
1804
- if (!Array.isArray(b))
1803
+ function L(w) {
1804
+ if (!Array.isArray(w))
1805
1805
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1806
1806
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1807
1807
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1808
- function p(D, I, M, W, R) {
1809
- for (var N = D[I], F = 0; F < b.length; F++)
1810
- if (y(N, b[F]))
1808
+ function p(A, I, M, W, R) {
1809
+ for (var N = A[I], F = 0; F < w.length; F++)
1810
+ if (y(N, w[F]))
1811
1811
  return null;
1812
- var z = JSON.stringify(b, function(ae, E) {
1812
+ var z = JSON.stringify(w, function(ae, E) {
1813
1813
  var Te = q(E);
1814
1814
  return Te === "symbol" ? String(E) : E;
1815
1815
  });
@@ -1817,16 +1817,16 @@ function Ku() {
1817
1817
  }
1818
1818
  return v(p);
1819
1819
  }
1820
- function J(b) {
1821
- function p(D, I, M, W, R) {
1822
- if (typeof b != "function")
1820
+ function J(w) {
1821
+ function p(A, I, M, W, R) {
1822
+ if (typeof w != "function")
1823
1823
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
1824
- var N = D[I], F = Z(N);
1824
+ var N = A[I], F = Z(N);
1825
1825
  if (F !== "object")
1826
1826
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an object."));
1827
1827
  for (var z in N)
1828
1828
  if (n(N, z)) {
1829
- var V = b(N, z, M, W, R + "." + z, r);
1829
+ var V = w(N, z, M, W, R + "." + z, r);
1830
1830
  if (V instanceof Error)
1831
1831
  return V;
1832
1832
  }
@@ -1834,19 +1834,19 @@ function Ku() {
1834
1834
  }
1835
1835
  return v(p);
1836
1836
  }
1837
- function G(b) {
1838
- if (!Array.isArray(b))
1837
+ function G(w) {
1838
+ if (!Array.isArray(w))
1839
1839
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1840
- for (var p = 0; p < b.length; p++) {
1841
- var D = b[p];
1842
- if (typeof D != "function")
1840
+ for (var p = 0; p < w.length; p++) {
1841
+ var A = w[p];
1842
+ if (typeof A != "function")
1843
1843
  return i(
1844
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(D) + " at index " + p + "."
1844
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(A) + " at index " + p + "."
1845
1845
  ), s;
1846
1846
  }
1847
1847
  function I(M, W, R, N, F) {
1848
- for (var z = [], V = 0; V < b.length; V++) {
1849
- var ae = b[V], E = ae(M, W, R, N, F, r);
1848
+ for (var z = [], V = 0; V < w.length; V++) {
1849
+ var ae = w[V], E = ae(M, W, R, N, F, r);
1850
1850
  if (E == null)
1851
1851
  return null;
1852
1852
  E.data && n(E.data, "expectedType") && z.push(E.data.expectedType);
@@ -1857,23 +1857,23 @@ function Ku() {
1857
1857
  return v(I);
1858
1858
  }
1859
1859
  function se() {
1860
- function b(p, D, I, M, W) {
1861
- return P(p[D]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1860
+ function w(p, A, I, M, W) {
1861
+ return P(p[A]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1862
1862
  }
1863
- return v(b);
1863
+ return v(w);
1864
1864
  }
1865
- function Q(b, p, D, I, M) {
1865
+ function Q(w, p, A, I, M) {
1866
1866
  return new u(
1867
- (b || "React class") + ": " + p + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
1867
+ (w || "React class") + ": " + p + " type `" + A + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
1868
1868
  );
1869
1869
  }
1870
- function m(b) {
1871
- function p(D, I, M, W, R) {
1872
- var N = D[I], F = Z(N);
1870
+ function m(w) {
1871
+ function p(A, I, M, W, R) {
1872
+ var N = A[I], F = Z(N);
1873
1873
  if (F !== "object")
1874
1874
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
1875
- for (var z in b) {
1876
- var V = b[z];
1875
+ for (var z in w) {
1876
+ var V = w[z];
1877
1877
  if (typeof V != "function")
1878
1878
  return Q(M, W, R, z, q(V));
1879
1879
  var ae = V(N, z, M, W, R + "." + z, r);
@@ -1884,20 +1884,20 @@ function Ku() {
1884
1884
  }
1885
1885
  return v(p);
1886
1886
  }
1887
- function B(b) {
1888
- function p(D, I, M, W, R) {
1889
- var N = D[I], F = Z(N);
1887
+ function B(w) {
1888
+ function p(A, I, M, W, R) {
1889
+ var N = A[I], F = Z(N);
1890
1890
  if (F !== "object")
1891
1891
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
1892
- var z = e({}, D[I], b);
1892
+ var z = e({}, A[I], w);
1893
1893
  for (var V in z) {
1894
- var ae = b[V];
1895
- if (n(b, V) && typeof ae != "function")
1894
+ var ae = w[V];
1895
+ if (n(w, V) && typeof ae != "function")
1896
1896
  return Q(M, W, R, V, q(ae));
1897
1897
  if (!ae)
1898
1898
  return new u(
1899
- "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
1900
- Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1899
+ "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(A[I], null, " ") + `
1900
+ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1901
1901
  );
1902
1902
  var E = ae(N, V, M, W, R + "." + V, r);
1903
1903
  if (E)
@@ -1907,28 +1907,28 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1907
1907
  }
1908
1908
  return v(p);
1909
1909
  }
1910
- function P(b) {
1911
- switch (typeof b) {
1910
+ function P(w) {
1911
+ switch (typeof w) {
1912
1912
  case "number":
1913
1913
  case "string":
1914
1914
  case "undefined":
1915
1915
  return !0;
1916
1916
  case "boolean":
1917
- return !b;
1917
+ return !w;
1918
1918
  case "object":
1919
- if (Array.isArray(b))
1920
- return b.every(P);
1921
- if (b === null || a(b))
1919
+ if (Array.isArray(w))
1920
+ return w.every(P);
1921
+ if (w === null || a(w))
1922
1922
  return !0;
1923
- var p = d(b);
1923
+ var p = d(w);
1924
1924
  if (p) {
1925
- var D = p.call(b), I;
1926
- if (p !== b.entries) {
1927
- for (; !(I = D.next()).done; )
1925
+ var A = p.call(w), I;
1926
+ if (p !== w.entries) {
1927
+ for (; !(I = A.next()).done; )
1928
1928
  if (!P(I.value))
1929
1929
  return !1;
1930
1930
  } else
1931
- for (; !(I = D.next()).done; ) {
1931
+ for (; !(I = A.next()).done; ) {
1932
1932
  var M = I.value;
1933
1933
  if (M && !P(M[1]))
1934
1934
  return !1;
@@ -1940,27 +1940,27 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1940
1940
  return !1;
1941
1941
  }
1942
1942
  }
1943
- function U(b, p) {
1944
- return b === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
1943
+ function U(w, p) {
1944
+ return w === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
1945
1945
  }
1946
- function Z(b) {
1947
- var p = typeof b;
1948
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : U(p, b) ? "symbol" : p;
1946
+ function Z(w) {
1947
+ var p = typeof w;
1948
+ return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : U(p, w) ? "symbol" : p;
1949
1949
  }
1950
- function q(b) {
1951
- if (typeof b > "u" || b === null)
1952
- return "" + b;
1953
- var p = Z(b);
1950
+ function q(w) {
1951
+ if (typeof w > "u" || w === null)
1952
+ return "" + w;
1953
+ var p = Z(w);
1954
1954
  if (p === "object") {
1955
- if (b instanceof Date)
1955
+ if (w instanceof Date)
1956
1956
  return "date";
1957
- if (b instanceof RegExp)
1957
+ if (w instanceof RegExp)
1958
1958
  return "regexp";
1959
1959
  }
1960
1960
  return p;
1961
1961
  }
1962
- function pe(b) {
1963
- var p = q(b);
1962
+ function pe(w) {
1963
+ var p = q(w);
1964
1964
  switch (p) {
1965
1965
  case "array":
1966
1966
  case "object":
@@ -1973,8 +1973,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1973
1973
  return p;
1974
1974
  }
1975
1975
  }
1976
- function Ce(b) {
1977
- return !b.constructor || !b.constructor.name ? h : b.constructor.name;
1976
+ function Ce(w) {
1977
+ return !w.constructor || !w.constructor.name ? h : w.constructor.name;
1978
1978
  }
1979
1979
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1980
1980
  }, Kn;
@@ -2250,11 +2250,11 @@ var Zi;
2250
2250
  function sf() {
2251
2251
  if (Zi) return ne;
2252
2252
  Zi = 1;
2253
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
2254
- function w(S) {
2253
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
2254
+ function O(S) {
2255
2255
  if (typeof S == "object" && S !== null) {
2256
- var A = S.$$typeof;
2257
- switch (A) {
2256
+ var D = S.$$typeof;
2257
+ switch (D) {
2258
2258
  case e:
2259
2259
  switch (S = S.type, S) {
2260
2260
  case c:
@@ -2273,44 +2273,44 @@ function sf() {
2273
2273
  case s:
2274
2274
  return S;
2275
2275
  default:
2276
- return A;
2276
+ return D;
2277
2277
  }
2278
2278
  }
2279
2279
  case r:
2280
- return A;
2280
+ return D;
2281
2281
  }
2282
2282
  }
2283
2283
  }
2284
2284
  function C(S) {
2285
- return w(S) === l;
2285
+ return O(S) === l;
2286
2286
  }
2287
2287
  return ne.AsyncMode = c, ne.ConcurrentMode = l, ne.ContextConsumer = a, ne.ContextProvider = s, ne.Element = e, ne.ForwardRef = f, ne.Fragment = n, ne.Lazy = y, ne.Memo = g, ne.Portal = r, ne.Profiler = i, ne.StrictMode = o, ne.Suspense = d, ne.isAsyncMode = function(S) {
2288
- return C(S) || w(S) === c;
2288
+ return C(S) || O(S) === c;
2289
2289
  }, ne.isConcurrentMode = C, ne.isContextConsumer = function(S) {
2290
- return w(S) === a;
2290
+ return O(S) === a;
2291
2291
  }, ne.isContextProvider = function(S) {
2292
- return w(S) === s;
2292
+ return O(S) === s;
2293
2293
  }, ne.isElement = function(S) {
2294
2294
  return typeof S == "object" && S !== null && S.$$typeof === e;
2295
2295
  }, ne.isForwardRef = function(S) {
2296
- return w(S) === f;
2296
+ return O(S) === f;
2297
2297
  }, ne.isFragment = function(S) {
2298
- return w(S) === n;
2298
+ return O(S) === n;
2299
2299
  }, ne.isLazy = function(S) {
2300
- return w(S) === y;
2300
+ return O(S) === y;
2301
2301
  }, ne.isMemo = function(S) {
2302
- return w(S) === g;
2302
+ return O(S) === g;
2303
2303
  }, ne.isPortal = function(S) {
2304
- return w(S) === r;
2304
+ return O(S) === r;
2305
2305
  }, ne.isProfiler = function(S) {
2306
- return w(S) === i;
2306
+ return O(S) === i;
2307
2307
  }, ne.isStrictMode = function(S) {
2308
- return w(S) === o;
2308
+ return O(S) === o;
2309
2309
  }, ne.isSuspense = function(S) {
2310
- return w(S) === d;
2310
+ return O(S) === d;
2311
2311
  }, ne.isValidElementType = function(S) {
2312
- return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === O || S.$$typeof === u);
2313
- }, ne.typeOf = w, ne;
2312
+ return typeof S == "string" || typeof S == "function" || S === n || S === l || S === i || S === o || S === d || S === h || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === g || S.$$typeof === s || S.$$typeof === a || S.$$typeof === f || S.$$typeof === v || S.$$typeof === x || S.$$typeof === b || S.$$typeof === u);
2313
+ }, ne.typeOf = O, ne;
2314
2314
  }
2315
2315
  var oe = {};
2316
2316
  /** @license React v16.13.1
@@ -2324,10 +2324,10 @@ var oe = {};
2324
2324
  var Ji;
2325
2325
  function af() {
2326
2326
  return Ji || (Ji = 1, process.env.NODE_ENV !== "production" && function() {
2327
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
2328
- function w(E) {
2327
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, u = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
2328
+ function O(E) {
2329
2329
  return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2330
- E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === O || E.$$typeof === u);
2330
+ E === n || E === l || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === g || E.$$typeof === s || E.$$typeof === a || E.$$typeof === f || E.$$typeof === v || E.$$typeof === x || E.$$typeof === b || E.$$typeof === u);
2331
2331
  }
2332
2332
  function C(E) {
2333
2333
  if (typeof E == "object" && E !== null) {
@@ -2361,17 +2361,17 @@ function af() {
2361
2361
  }
2362
2362
  }
2363
2363
  }
2364
- var S = c, A = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
2364
+ var S = c, D = l, L = a, J = s, G = e, se = f, Q = n, m = y, B = g, P = r, U = i, Z = o, q = d, pe = !1;
2365
2365
  function Ce(E) {
2366
- return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(E) || C(E) === c;
2366
+ return pe || (pe = !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.")), w(E) || C(E) === c;
2367
2367
  }
2368
- function b(E) {
2368
+ function w(E) {
2369
2369
  return C(E) === l;
2370
2370
  }
2371
2371
  function p(E) {
2372
2372
  return C(E) === a;
2373
2373
  }
2374
- function D(E) {
2374
+ function A(E) {
2375
2375
  return C(E) === s;
2376
2376
  }
2377
2377
  function I(E) {
@@ -2401,7 +2401,7 @@ function af() {
2401
2401
  function ae(E) {
2402
2402
  return C(E) === d;
2403
2403
  }
2404
- oe.AsyncMode = S, oe.ConcurrentMode = A, oe.ContextConsumer = L, oe.ContextProvider = J, oe.Element = G, oe.ForwardRef = se, oe.Fragment = Q, oe.Lazy = m, oe.Memo = B, oe.Portal = P, oe.Profiler = U, oe.StrictMode = Z, oe.Suspense = q, oe.isAsyncMode = Ce, oe.isConcurrentMode = b, oe.isContextConsumer = p, oe.isContextProvider = D, oe.isElement = I, oe.isForwardRef = M, oe.isFragment = W, oe.isLazy = R, oe.isMemo = N, oe.isPortal = F, oe.isProfiler = z, oe.isStrictMode = V, oe.isSuspense = ae, oe.isValidElementType = w, oe.typeOf = C;
2404
+ oe.AsyncMode = S, oe.ConcurrentMode = D, oe.ContextConsumer = L, oe.ContextProvider = J, oe.Element = G, oe.ForwardRef = se, oe.Fragment = Q, oe.Lazy = m, oe.Memo = B, oe.Portal = P, oe.Profiler = U, oe.StrictMode = Z, oe.Suspense = q, oe.isAsyncMode = Ce, oe.isConcurrentMode = w, oe.isContextConsumer = p, oe.isContextProvider = A, oe.isElement = I, oe.isForwardRef = M, oe.isFragment = W, oe.isLazy = R, oe.isMemo = N, oe.isPortal = F, oe.isProfiler = z, oe.isStrictMode = V, oe.isSuspense = ae, oe.isValidElementType = O, oe.typeOf = C;
2405
2405
  }()), oe;
2406
2406
  }
2407
2407
  var Yi;
@@ -2538,8 +2538,8 @@ function uf() {
2538
2538
  }
2539
2539
  return to = function(a, c) {
2540
2540
  var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
2541
- function d(b) {
2542
- var p = b && (l && b[l] || b[f]);
2541
+ function d(w) {
2542
+ var p = w && (l && w[l] || w[f]);
2543
2543
  if (typeof p == "function")
2544
2544
  return p;
2545
2545
  }
@@ -2552,11 +2552,11 @@ function uf() {
2552
2552
  object: x("object"),
2553
2553
  string: x("string"),
2554
2554
  symbol: x("symbol"),
2555
- any: O(),
2556
- arrayOf: w,
2555
+ any: b(),
2556
+ arrayOf: O,
2557
2557
  element: C(),
2558
2558
  elementType: S(),
2559
- instanceOf: A,
2559
+ instanceOf: D,
2560
2560
  node: se(),
2561
2561
  objectOf: J,
2562
2562
  oneOf: L,
@@ -2564,16 +2564,16 @@ function uf() {
2564
2564
  shape: m,
2565
2565
  exact: B
2566
2566
  };
2567
- function y(b, p) {
2568
- return b === p ? b !== 0 || 1 / b === 1 / p : b !== b && p !== p;
2567
+ function y(w, p) {
2568
+ return w === p ? w !== 0 || 1 / w === 1 / p : w !== w && p !== p;
2569
2569
  }
2570
- function u(b, p) {
2571
- this.message = b, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
2570
+ function u(w, p) {
2571
+ this.message = w, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
2572
2572
  }
2573
2573
  u.prototype = Error.prototype;
2574
- function v(b) {
2574
+ function v(w) {
2575
2575
  if (process.env.NODE_ENV !== "production")
2576
- var p = {}, D = 0;
2576
+ var p = {}, A = 0;
2577
2577
  function I(W, R, N, F, z, V, ae) {
2578
2578
  if (F = F || h, V = V || N, ae !== r) {
2579
2579
  if (c) {
@@ -2584,44 +2584,44 @@ function uf() {
2584
2584
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2585
2585
  var Te = F + ":" + N;
2586
2586
  !p[Te] && // Avoid spamming the console because they are often not actionable except for lib authors
2587
- D < 3 && (i(
2587
+ A < 3 && (i(
2588
2588
  "You are manually calling a React.PropTypes validation function for the `" + V + "` prop on `" + F + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2589
- ), p[Te] = !0, D++);
2589
+ ), p[Te] = !0, A++);
2590
2590
  }
2591
2591
  }
2592
- return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : b(R, N, F, z, V);
2592
+ return R[N] == null ? W ? R[N] === null ? new u("The " + z + " `" + V + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new u("The " + z + " `" + V + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : w(R, N, F, z, V);
2593
2593
  }
2594
2594
  var M = I.bind(null, !1);
2595
2595
  return M.isRequired = I.bind(null, !0), M;
2596
2596
  }
2597
- function x(b) {
2598
- function p(D, I, M, W, R, N) {
2599
- var F = D[I], z = Z(F);
2600
- if (z !== b) {
2597
+ function x(w) {
2598
+ function p(A, I, M, W, R, N) {
2599
+ var F = A[I], z = Z(F);
2600
+ if (z !== w) {
2601
2601
  var V = q(F);
2602
2602
  return new u(
2603
- "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + b + "`."),
2604
- { expectedType: b }
2603
+ "Invalid " + W + " `" + R + "` of type " + ("`" + V + "` supplied to `" + M + "`, expected ") + ("`" + w + "`."),
2604
+ { expectedType: w }
2605
2605
  );
2606
2606
  }
2607
2607
  return null;
2608
2608
  }
2609
2609
  return v(p);
2610
2610
  }
2611
- function O() {
2611
+ function b() {
2612
2612
  return v(s);
2613
2613
  }
2614
- function w(b) {
2615
- function p(D, I, M, W, R) {
2616
- if (typeof b != "function")
2614
+ function O(w) {
2615
+ function p(A, I, M, W, R) {
2616
+ if (typeof w != "function")
2617
2617
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
2618
- var N = D[I];
2618
+ var N = A[I];
2619
2619
  if (!Array.isArray(N)) {
2620
2620
  var F = Z(N);
2621
2621
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an array."));
2622
2622
  }
2623
2623
  for (var z = 0; z < N.length; z++) {
2624
- var V = b(N, z, M, W, R + "[" + z + "]", r);
2624
+ var V = w(N, z, M, W, R + "[" + z + "]", r);
2625
2625
  if (V instanceof Error)
2626
2626
  return V;
2627
2627
  }
@@ -2630,47 +2630,47 @@ function uf() {
2630
2630
  return v(p);
2631
2631
  }
2632
2632
  function C() {
2633
- function b(p, D, I, M, W) {
2634
- var R = p[D];
2633
+ function w(p, A, I, M, W) {
2634
+ var R = p[A];
2635
2635
  if (!a(R)) {
2636
2636
  var N = Z(R);
2637
2637
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
2638
2638
  }
2639
2639
  return null;
2640
2640
  }
2641
- return v(b);
2641
+ return v(w);
2642
2642
  }
2643
2643
  function S() {
2644
- function b(p, D, I, M, W) {
2645
- var R = p[D];
2644
+ function w(p, A, I, M, W) {
2645
+ var R = p[A];
2646
2646
  if (!t.isValidElementType(R)) {
2647
2647
  var N = Z(R);
2648
2648
  return new u("Invalid " + M + " `" + W + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
2649
2649
  }
2650
2650
  return null;
2651
2651
  }
2652
- return v(b);
2652
+ return v(w);
2653
2653
  }
2654
- function A(b) {
2655
- function p(D, I, M, W, R) {
2656
- if (!(D[I] instanceof b)) {
2657
- var N = b.name || h, F = Ce(D[I]);
2654
+ function D(w) {
2655
+ function p(A, I, M, W, R) {
2656
+ if (!(A[I] instanceof w)) {
2657
+ var N = w.name || h, F = Ce(A[I]);
2658
2658
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected ") + ("instance of `" + N + "`."));
2659
2659
  }
2660
2660
  return null;
2661
2661
  }
2662
2662
  return v(p);
2663
2663
  }
2664
- function L(b) {
2665
- if (!Array.isArray(b))
2664
+ function L(w) {
2665
+ if (!Array.isArray(w))
2666
2666
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
2667
2667
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2668
2668
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
2669
- function p(D, I, M, W, R) {
2670
- for (var N = D[I], F = 0; F < b.length; F++)
2671
- if (y(N, b[F]))
2669
+ function p(A, I, M, W, R) {
2670
+ for (var N = A[I], F = 0; F < w.length; F++)
2671
+ if (y(N, w[F]))
2672
2672
  return null;
2673
- var z = JSON.stringify(b, function(ae, E) {
2673
+ var z = JSON.stringify(w, function(ae, E) {
2674
2674
  var Te = q(E);
2675
2675
  return Te === "symbol" ? String(E) : E;
2676
2676
  });
@@ -2678,16 +2678,16 @@ function uf() {
2678
2678
  }
2679
2679
  return v(p);
2680
2680
  }
2681
- function J(b) {
2682
- function p(D, I, M, W, R) {
2683
- if (typeof b != "function")
2681
+ function J(w) {
2682
+ function p(A, I, M, W, R) {
2683
+ if (typeof w != "function")
2684
2684
  return new u("Property `" + R + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
2685
- var N = D[I], F = Z(N);
2685
+ var N = A[I], F = Z(N);
2686
2686
  if (F !== "object")
2687
2687
  return new u("Invalid " + W + " `" + R + "` of type " + ("`" + F + "` supplied to `" + M + "`, expected an object."));
2688
2688
  for (var z in N)
2689
2689
  if (n(N, z)) {
2690
- var V = b(N, z, M, W, R + "." + z, r);
2690
+ var V = w(N, z, M, W, R + "." + z, r);
2691
2691
  if (V instanceof Error)
2692
2692
  return V;
2693
2693
  }
@@ -2695,19 +2695,19 @@ function uf() {
2695
2695
  }
2696
2696
  return v(p);
2697
2697
  }
2698
- function G(b) {
2699
- if (!Array.isArray(b))
2698
+ function G(w) {
2699
+ if (!Array.isArray(w))
2700
2700
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
2701
- for (var p = 0; p < b.length; p++) {
2702
- var D = b[p];
2703
- if (typeof D != "function")
2701
+ for (var p = 0; p < w.length; p++) {
2702
+ var A = w[p];
2703
+ if (typeof A != "function")
2704
2704
  return i(
2705
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(D) + " at index " + p + "."
2705
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(A) + " at index " + p + "."
2706
2706
  ), s;
2707
2707
  }
2708
2708
  function I(M, W, R, N, F) {
2709
- for (var z = [], V = 0; V < b.length; V++) {
2710
- var ae = b[V], E = ae(M, W, R, N, F, r);
2709
+ for (var z = [], V = 0; V < w.length; V++) {
2710
+ var ae = w[V], E = ae(M, W, R, N, F, r);
2711
2711
  if (E == null)
2712
2712
  return null;
2713
2713
  E.data && n(E.data, "expectedType") && z.push(E.data.expectedType);
@@ -2718,23 +2718,23 @@ function uf() {
2718
2718
  return v(I);
2719
2719
  }
2720
2720
  function se() {
2721
- function b(p, D, I, M, W) {
2722
- return P(p[D]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
2721
+ function w(p, A, I, M, W) {
2722
+ return P(p[A]) ? null : new u("Invalid " + M + " `" + W + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
2723
2723
  }
2724
- return v(b);
2724
+ return v(w);
2725
2725
  }
2726
- function Q(b, p, D, I, M) {
2726
+ function Q(w, p, A, I, M) {
2727
2727
  return new u(
2728
- (b || "React class") + ": " + p + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
2728
+ (w || "React class") + ": " + p + " type `" + A + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + M + "`."
2729
2729
  );
2730
2730
  }
2731
- function m(b) {
2732
- function p(D, I, M, W, R) {
2733
- var N = D[I], F = Z(N);
2731
+ function m(w) {
2732
+ function p(A, I, M, W, R) {
2733
+ var N = A[I], F = Z(N);
2734
2734
  if (F !== "object")
2735
2735
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
2736
- for (var z in b) {
2737
- var V = b[z];
2736
+ for (var z in w) {
2737
+ var V = w[z];
2738
2738
  if (typeof V != "function")
2739
2739
  return Q(M, W, R, z, q(V));
2740
2740
  var ae = V(N, z, M, W, R + "." + z, r);
@@ -2745,20 +2745,20 @@ function uf() {
2745
2745
  }
2746
2746
  return v(p);
2747
2747
  }
2748
- function B(b) {
2749
- function p(D, I, M, W, R) {
2750
- var N = D[I], F = Z(N);
2748
+ function B(w) {
2749
+ function p(A, I, M, W, R) {
2750
+ var N = A[I], F = Z(N);
2751
2751
  if (F !== "object")
2752
2752
  return new u("Invalid " + W + " `" + R + "` of type `" + F + "` " + ("supplied to `" + M + "`, expected `object`."));
2753
- var z = e({}, D[I], b);
2753
+ var z = e({}, A[I], w);
2754
2754
  for (var V in z) {
2755
- var ae = b[V];
2756
- if (n(b, V) && typeof ae != "function")
2755
+ var ae = w[V];
2756
+ if (n(w, V) && typeof ae != "function")
2757
2757
  return Q(M, W, R, V, q(ae));
2758
2758
  if (!ae)
2759
2759
  return new u(
2760
- "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
2761
- Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2760
+ "Invalid " + W + " `" + R + "` key `" + V + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(A[I], null, " ") + `
2761
+ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
2762
2762
  );
2763
2763
  var E = ae(N, V, M, W, R + "." + V, r);
2764
2764
  if (E)
@@ -2768,28 +2768,28 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2768
2768
  }
2769
2769
  return v(p);
2770
2770
  }
2771
- function P(b) {
2772
- switch (typeof b) {
2771
+ function P(w) {
2772
+ switch (typeof w) {
2773
2773
  case "number":
2774
2774
  case "string":
2775
2775
  case "undefined":
2776
2776
  return !0;
2777
2777
  case "boolean":
2778
- return !b;
2778
+ return !w;
2779
2779
  case "object":
2780
- if (Array.isArray(b))
2781
- return b.every(P);
2782
- if (b === null || a(b))
2780
+ if (Array.isArray(w))
2781
+ return w.every(P);
2782
+ if (w === null || a(w))
2783
2783
  return !0;
2784
- var p = d(b);
2784
+ var p = d(w);
2785
2785
  if (p) {
2786
- var D = p.call(b), I;
2787
- if (p !== b.entries) {
2788
- for (; !(I = D.next()).done; )
2786
+ var A = p.call(w), I;
2787
+ if (p !== w.entries) {
2788
+ for (; !(I = A.next()).done; )
2789
2789
  if (!P(I.value))
2790
2790
  return !1;
2791
2791
  } else
2792
- for (; !(I = D.next()).done; ) {
2792
+ for (; !(I = A.next()).done; ) {
2793
2793
  var M = I.value;
2794
2794
  if (M && !P(M[1]))
2795
2795
  return !1;
@@ -2801,27 +2801,27 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2801
2801
  return !1;
2802
2802
  }
2803
2803
  }
2804
- function U(b, p) {
2805
- return b === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
2804
+ function U(w, p) {
2805
+ return w === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
2806
2806
  }
2807
- function Z(b) {
2808
- var p = typeof b;
2809
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : U(p, b) ? "symbol" : p;
2807
+ function Z(w) {
2808
+ var p = typeof w;
2809
+ return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : U(p, w) ? "symbol" : p;
2810
2810
  }
2811
- function q(b) {
2812
- if (typeof b > "u" || b === null)
2813
- return "" + b;
2814
- var p = Z(b);
2811
+ function q(w) {
2812
+ if (typeof w > "u" || w === null)
2813
+ return "" + w;
2814
+ var p = Z(w);
2815
2815
  if (p === "object") {
2816
- if (b instanceof Date)
2816
+ if (w instanceof Date)
2817
2817
  return "date";
2818
- if (b instanceof RegExp)
2818
+ if (w instanceof RegExp)
2819
2819
  return "regexp";
2820
2820
  }
2821
2821
  return p;
2822
2822
  }
2823
- function pe(b) {
2824
- var p = q(b);
2823
+ function pe(w) {
2824
+ var p = q(w);
2825
2825
  switch (p) {
2826
2826
  case "array":
2827
2827
  case "object":
@@ -2834,8 +2834,8 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
2834
2834
  return p;
2835
2835
  }
2836
2836
  }
2837
- function Ce(b) {
2838
- return !b.constructor || !b.constructor.name ? h : b.constructor.name;
2837
+ function Ce(w) {
2838
+ return !w.constructor || !w.constructor.name ? h : w.constructor.name;
2839
2839
  }
2840
2840
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
2841
2841
  }, to;
@@ -4102,7 +4102,7 @@ function Td(t = {}) {
4102
4102
  wd(a, e, r);
4103
4103
  }
4104
4104
  return (a, c = {}) => {
4105
- pf(a, (A) => A.filter((L) => L !== zt));
4105
+ pf(a, (D) => D.filter((L) => L !== zt));
4106
4106
  const {
4107
4107
  name: l,
4108
4108
  slot: f,
@@ -4117,28 +4117,28 @@ function Td(t = {}) {
4117
4117
  // For more details: https://github.com/mui/material-ui/pull/37908
4118
4118
  f && f !== "Root" && f !== "root" || !1
4119
4119
  ), x = h || !1;
4120
- let O = no;
4121
- f === "Root" || f === "root" ? O = n : f ? O = o : Cd(a) && (O = void 0);
4122
- const w = hf(a, {
4123
- shouldForwardProp: O,
4120
+ let b = no;
4121
+ f === "Root" || f === "root" ? b = n : f ? b = o : Cd(a) && (b = void 0);
4122
+ const O = hf(a, {
4123
+ shouldForwardProp: b,
4124
4124
  label: xd(l, f),
4125
4125
  ...y
4126
- }), C = (A) => {
4127
- if (A.__emotion_real === A)
4128
- return A;
4129
- if (typeof A == "function")
4126
+ }), C = (D) => {
4127
+ if (D.__emotion_real === D)
4128
+ return D;
4129
+ if (typeof D == "function")
4130
4130
  return function(J) {
4131
- return qr(J, A, J.theme.modularCssLayers ? u : void 0);
4131
+ return qr(J, D, J.theme.modularCssLayers ? u : void 0);
4132
4132
  };
4133
- if (ft(A)) {
4134
- const L = ja(A);
4133
+ if (ft(D)) {
4134
+ const L = ja(D);
4135
4135
  return function(G) {
4136
4136
  return L.variants ? qr(G, L, G.theme.modularCssLayers ? u : void 0) : G.theme.modularCssLayers ? dt(L.style, u) : L.style;
4137
4137
  };
4138
4138
  }
4139
- return A;
4140
- }, S = (...A) => {
4141
- const L = [], J = A.map(C), G = [];
4139
+ return D;
4140
+ }, S = (...D) => {
4141
+ const L = [], J = D.map(C), G = [];
4142
4142
  if (L.push(i), l && g && G.push(function(B) {
4143
4143
  var q, pe;
4144
4144
  const U = (pe = (q = B.theme.components) == null ? void 0 : q[l]) == null ? void 0 : pe.styleOverrides;
@@ -4157,10 +4157,10 @@ function Td(t = {}) {
4157
4157
  let U;
4158
4158
  U = [...B, ...m, ...P], U.raw = [...B, ...m.raw, ...P], L.unshift(U);
4159
4159
  }
4160
- const se = [...L, ...J, ...G], Q = w(...se);
4160
+ const se = [...L, ...J, ...G], Q = O(...se);
4161
4161
  return a.muiName && (Q.muiName = a.muiName), process.env.NODE_ENV !== "production" && (Q.displayName = Ed(l, f, a)), Q;
4162
4162
  };
4163
- return w.withConfig && (S.withConfig = w.withConfig), S;
4163
+ return O.withConfig && (S.withConfig = O.withConfig), S;
4164
4164
  };
4165
4165
  }
4166
4166
  function Ed(t, e, r) {
@@ -4472,37 +4472,37 @@ function Vd(t, e = {}) {
4472
4472
  } = s;
4473
4473
  if (Object.entries(v || {}).forEach(([C, S]) => {
4474
4474
  const {
4475
- vars: A,
4475
+ vars: D,
4476
4476
  css: L,
4477
4477
  varsWithDefaults: J
4478
4478
  } = oo(S, e);
4479
4479
  g = yt(g, J), y[C] = {
4480
4480
  css: L,
4481
- vars: A
4481
+ vars: D
4482
4482
  };
4483
4483
  }), u) {
4484
4484
  const {
4485
4485
  css: C,
4486
4486
  vars: S,
4487
- varsWithDefaults: A
4487
+ varsWithDefaults: D
4488
4488
  } = oo(u, e);
4489
- g = yt(g, A), y[c] = {
4489
+ g = yt(g, D), y[c] = {
4490
4490
  css: C,
4491
4491
  vars: S
4492
4492
  };
4493
4493
  }
4494
4494
  function x(C, S) {
4495
4495
  var L, J;
4496
- let A = o;
4497
- if (o === "class" && (A = ".%s"), o === "data" && (A = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (A = `[${o}="%s"]`), C) {
4498
- if (A === "media")
4496
+ let D = o;
4497
+ if (o === "class" && (D = ".%s"), o === "data" && (D = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (D = `[${o}="%s"]`), C) {
4498
+ if (D === "media")
4499
4499
  return t.defaultColorScheme === C ? ":root" : {
4500
4500
  [`@media (prefers-color-scheme: ${((J = (L = s[C]) == null ? void 0 : L.palette) == null ? void 0 : J.mode) || C})`]: {
4501
4501
  ":root": S
4502
4502
  }
4503
4503
  };
4504
- if (A)
4505
- return t.defaultColorScheme === C ? `:root, ${A.replace("%s", String(C))}` : A.replace("%s", String(C));
4504
+ if (D)
4505
+ return t.defaultColorScheme === C ? `:root, ${D.replace("%s", String(C))}` : D.replace("%s", String(C));
4506
4506
  }
4507
4507
  return ":root";
4508
4508
  }
@@ -4521,14 +4521,14 @@ function Vd(t, e = {}) {
4521
4521
  generateStyleSheets: () => {
4522
4522
  var G, se;
4523
4523
  const C = [], S = t.defaultColorScheme || "light";
4524
- function A(Q, m) {
4524
+ function D(Q, m) {
4525
4525
  Object.keys(m).length && C.push(typeof Q == "string" ? {
4526
4526
  [Q]: {
4527
4527
  ...m
4528
4528
  }
4529
4529
  } : Q);
4530
4530
  }
4531
- A(r(void 0, {
4531
+ D(r(void 0, {
4532
4532
  ...d
4533
4533
  }), d);
4534
4534
  const {
@@ -4544,7 +4544,7 @@ function Vd(t, e = {}) {
4544
4544
  } : {
4545
4545
  ...Q
4546
4546
  };
4547
- A(r(S, {
4547
+ D(r(S, {
4548
4548
  ...B
4549
4549
  }), B);
4550
4550
  }
@@ -4558,7 +4558,7 @@ function Vd(t, e = {}) {
4558
4558
  } : {
4559
4559
  ...m
4560
4560
  };
4561
- A(r(Q, {
4561
+ D(r(Q, {
4562
4562
  ...P
4563
4563
  }), P);
4564
4564
  }), i && C.push({
@@ -4821,8 +4821,8 @@ function ei(t) {
4821
4821
  return Qd(v);
4822
4822
  const x = ls(v, Co.text.primary) >= r ? Co.text.primary : Ua.text.primary;
4823
4823
  if (process.env.NODE_ENV !== "production") {
4824
- const O = ls(v, x);
4825
- O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${x} on ${v}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
4824
+ const b = ls(v, x);
4825
+ b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${x} on ${v}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
4826
4826
  `));
4827
4827
  }
4828
4828
  return x;
@@ -4830,15 +4830,15 @@ function ei(t) {
4830
4830
  const g = ({
4831
4831
  color: v,
4832
4832
  name: x,
4833
- mainShade: O = 500,
4834
- lightShade: w = 300,
4833
+ mainShade: b = 500,
4834
+ lightShade: O = 300,
4835
4835
  darkShade: C = 700
4836
4836
  }) => {
4837
4837
  if (v = {
4838
4838
  ...v
4839
- }, !v.main && v[O] && (v.main = v[O]), !v.hasOwnProperty("main"))
4839
+ }, !v.main && v[b] && (v.main = v[b]), !v.hasOwnProperty("main"))
4840
4840
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
4841
- The color object needs to have a \`main\` property or a \`${O}\` property.` : hr(11, x ? ` (${x})` : "", O));
4841
+ The color object needs to have a \`main\` property or a \`${b}\` property.` : hr(11, x ? ` (${x})` : "", b));
4842
4842
  if (typeof v.main != "string")
4843
4843
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
4844
4844
  \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
@@ -4854,7 +4854,7 @@ const theme1 = createTheme({ palette: {
4854
4854
  const theme2 = createTheme({ palette: {
4855
4855
  primary: { main: green[500] },
4856
4856
  } });` : hr(12, x ? ` (${x})` : "", JSON.stringify(v.main)));
4857
- return o ? (ms(o, v, "light", w, n), ms(o, v, "dark", C, n)) : (ds(v, "light", w, n), ds(v, "dark", C, n)), v.contrastText || (v.contrastText = h(v.main)), v;
4857
+ return o ? (ms(o, v, "light", O, n), ms(o, v, "dark", C, n)) : (ds(v, "light", O, n), ds(v, "dark", C, n)), v.contrastText || (v.contrastText = h(v.main)), v;
4858
4858
  };
4859
4859
  let y;
4860
4860
  return e === "light" ? y = za() : e === "dark" && (y = Za()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${e}\` is not supported.`)), gt({
@@ -4994,16 +4994,16 @@ function rm(t, e) {
4994
4994
  ...d
4995
4995
  } = typeof e == "function" ? e(t) : e;
4996
4996
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
4997
- const h = n / 14, g = f || ((v) => `${v / c * h}rem`), y = (v, x, O, w, C) => ({
4997
+ const h = n / 14, g = f || ((v) => `${v / c * h}rem`), y = (v, x, b, O, C) => ({
4998
4998
  fontFamily: r,
4999
4999
  fontWeight: v,
5000
5000
  fontSize: g(x),
5001
5001
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
5002
- lineHeight: O,
5002
+ lineHeight: b,
5003
5003
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
5004
5004
  // across font-families can cause issues with the kerning.
5005
5005
  ...r === ys ? {
5006
- letterSpacing: `${tm(w / x)}em`
5006
+ letterSpacing: `${tm(O / x)}em`
5007
5007
  } : {},
5008
5008
  ...C,
5009
5009
  ...l
@@ -5208,20 +5208,20 @@ function Oo(t = {}, ...e) {
5208
5208
  });
5209
5209
  if (g = gt(g, f), g = e.reduce((y, u) => gt(y, u), g), process.env.NODE_ENV !== "production") {
5210
5210
  const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (v, x) => {
5211
- let O;
5212
- for (O in v) {
5213
- const w = v[O];
5214
- if (y.includes(O) && Object.keys(w).length > 0) {
5211
+ let b;
5212
+ for (b in v) {
5213
+ const O = v[b];
5214
+ if (y.includes(b) && Object.keys(O).length > 0) {
5215
5215
  if (process.env.NODE_ENV !== "production") {
5216
- const C = ti("", O);
5217
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
5216
+ const C = ti("", b);
5217
+ console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${b}\` internal state.`, "You can not override it like this: ", JSON.stringify(v, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
5218
5218
  root: {
5219
- [`&.${C}`]: w
5219
+ [`&.${C}`]: O
5220
5220
  }
5221
5221
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
5222
5222
  `));
5223
5223
  }
5224
- v[O] = {};
5224
+ v[b] = {};
5225
5225
  }
5226
5226
  }
5227
5227
  };
@@ -5406,32 +5406,32 @@ function xm(t = {}, ...e) {
5406
5406
  light: u,
5407
5407
  dark: v,
5408
5408
  ...x
5409
- } = r, O = {
5409
+ } = r, b = {
5410
5410
  ...x
5411
5411
  };
5412
- let w = y;
5413
- if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (w = !0), !w)
5412
+ let O = y;
5413
+ if ((h === "dark" && !("dark" in r) || h === "light" && !("light" in r)) && (O = !0), !O)
5414
5414
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : hr(21, h));
5415
5415
  let C;
5416
5416
  s && (C = "oklch");
5417
- const S = io(C, O, w, f, h);
5418
- u && !O.light && io(C, O, u, void 0, "light"), v && !O.dark && io(C, O, v, void 0, "dark");
5419
- let A = {
5417
+ const S = io(C, b, O, f, h);
5418
+ u && !b.light && io(C, b, u, void 0, "light"), v && !b.dark && io(C, b, v, void 0, "dark");
5419
+ let D = {
5420
5420
  defaultColorScheme: h,
5421
5421
  ...S,
5422
5422
  cssVarPrefix: i,
5423
5423
  colorSchemeSelector: c,
5424
5424
  rootSelector: l,
5425
5425
  getCssVar: g,
5426
- colorSchemes: O,
5426
+ colorSchemes: b,
5427
5427
  font: {
5428
5428
  ...qd(S.typography),
5429
5429
  ...S.font
5430
5430
  },
5431
5431
  spacing: Tm(f.spacing)
5432
5432
  };
5433
- Object.keys(A.colorSchemes).forEach((Q) => {
5434
- const m = A.colorSchemes[Q].palette, B = (U) => {
5433
+ Object.keys(D.colorSchemes).forEach((Q) => {
5434
+ const m = D.colorSchemes[Q].palette, B = (U) => {
5435
5435
  const Z = U.split("-"), q = Z[1], pe = Z[2];
5436
5436
  return g(U, m[q][pe]);
5437
5437
  };
@@ -5457,31 +5457,31 @@ function xm(t = {}, ...e) {
5457
5457
  const Z = m[U];
5458
5458
  U !== "tonalOffset" && Z && typeof Z == "object" && (Z.main && k(m[U], "mainChannel", nr(or(Z.main))), Z.light && k(m[U], "lightChannel", nr(or(Z.light))), Z.dark && k(m[U], "darkChannel", nr(or(Z.dark))), Z.contrastText && k(m[U], "contrastTextChannel", nr(or(Z.contrastText))), U === "text" && (Ge(m[U], "primary"), Ge(m[U], "secondary")), U === "action" && (Z.active && Ge(m[U], "active"), Z.selected && Ge(m[U], "selected")));
5459
5459
  });
5460
- }), A = e.reduce((Q, m) => gt(Q, m), A);
5460
+ }), D = e.reduce((Q, m) => gt(Q, m), D);
5461
5461
  const L = {
5462
5462
  prefix: i,
5463
5463
  disableCssColorScheme: o,
5464
5464
  shouldSkipGeneratingVar: a,
5465
- getSelector: bm(A),
5465
+ getSelector: bm(D),
5466
5466
  enableContrastVars: s
5467
5467
  }, {
5468
5468
  vars: J,
5469
5469
  generateThemeVars: G,
5470
5470
  generateStyleSheets: se
5471
- } = Vd(A, L);
5472
- return A.vars = J, Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([Q, m]) => {
5473
- A[Q] = m;
5474
- }), A.generateThemeVars = G, A.generateStyleSheets = se, A.generateSpacing = function() {
5471
+ } = Vd(D, L);
5472
+ return D.vars = J, Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([Q, m]) => {
5473
+ D[Q] = m;
5474
+ }), D.generateThemeVars = G, D.generateStyleSheets = se, D.generateSpacing = function() {
5475
5475
  return Na(f.spacing, qo(this));
5476
- }, A.getColorSchemeSelector = Hd(c), A.spacing = A.generateSpacing(), A.shouldSkipGeneratingVar = a, A.unstable_sxConfig = {
5476
+ }, D.getColorSchemeSelector = Hd(c), D.spacing = D.generateSpacing(), D.shouldSkipGeneratingVar = a, D.unstable_sxConfig = {
5477
5477
  ...On,
5478
5478
  ...f == null ? void 0 : f.unstable_sxConfig
5479
- }, A.unstable_sx = function(m) {
5479
+ }, D.unstable_sx = function(m) {
5480
5480
  return zt({
5481
5481
  sx: m,
5482
5482
  theme: this
5483
5483
  });
5484
- }, A.toRuntimeSource = Ja, A;
5484
+ }, D.toRuntimeSource = Ja, D;
5485
5485
  }
5486
5486
  function Ss(t, e, r) {
5487
5487
  t.colorSchemes && r && (t.colorSchemes[e] = {
@@ -10044,17 +10044,17 @@ class Y {
10044
10044
  if (h && f)
10045
10045
  throw new jt("Can't mix ordinal dates with month/day");
10046
10046
  const u = y || i.weekday && !g;
10047
- let v, x, O = Yr(c, l);
10048
- u ? (v = Lp, x = Np, O = un(O, s, a)) : f ? (v = Rp, x = Pp, O = lo(O)) : (v = _r, x = Qc);
10049
- let w = !1;
10047
+ let v, x, b = Yr(c, l);
10048
+ u ? (v = Lp, x = Np, b = un(b, s, a)) : f ? (v = Rp, x = Pp, b = lo(b)) : (v = _r, x = Qc);
10049
+ let O = !1;
10050
10050
  for (const se of v) {
10051
10051
  const Q = i[se];
10052
- K(Q) ? w ? i[se] = x[se] : i[se] = O[se] : w = !0;
10052
+ K(Q) ? O ? i[se] = x[se] : i[se] = b[se] : O = !0;
10053
10053
  }
10054
10054
  const C = u ? uh(i, s, a) : f ? fh(i) : wc(i), S = C || Tc(i);
10055
10055
  if (S)
10056
10056
  return Y.invalid(S);
10057
- const A = u ? Ms(i, s, a) : f ? Is(i) : i, [L, J] = Xr(A, l, n), G = new Y({
10057
+ const D = u ? Ms(i, s, a) : f ? Is(i) : i, [L, J] = Xr(D, l, n), G = new Y({
10058
10058
  ts: L,
10059
10059
  zone: n,
10060
10060
  o: J,
@@ -11830,16 +11830,16 @@ function Hp() {
11830
11830
  v = s({
11831
11831
  inst: { value: u, getSnapshot: y }
11832
11832
  });
11833
- var x = v[0].inst, O = v[1];
11833
+ var x = v[0].inst, b = v[1];
11834
11834
  return c(
11835
11835
  function() {
11836
- x.value = u, x.getSnapshot = y, r(x) && O({ inst: x });
11836
+ x.value = u, x.getSnapshot = y, r(x) && b({ inst: x });
11837
11837
  },
11838
11838
  [g, u, y]
11839
11839
  ), a(
11840
11840
  function() {
11841
- return r(x) && O({ inst: x }), g(function() {
11842
- r(x) && O({ inst: x });
11841
+ return r(x) && b({ inst: x }), g(function() {
11842
+ r(x) && b({ inst: x });
11843
11843
  });
11844
11844
  },
11845
11845
  [g]
@@ -11893,20 +11893,20 @@ function zp() {
11893
11893
  } else u = y.current;
11894
11894
  y = a(
11895
11895
  function() {
11896
- function x(A) {
11897
- if (!O) {
11898
- if (O = !0, w = A, A = h(A), g !== void 0 && u.hasValue) {
11896
+ function x(D) {
11897
+ if (!b) {
11898
+ if (b = !0, O = D, D = h(D), g !== void 0 && u.hasValue) {
11899
11899
  var L = u.value;
11900
- if (g(L, A))
11900
+ if (g(L, D))
11901
11901
  return C = L;
11902
11902
  }
11903
- return C = A;
11903
+ return C = D;
11904
11904
  }
11905
- if (L = C, n(w, A)) return L;
11906
- var J = h(A);
11907
- return g !== void 0 && g(L, J) ? (w = A, L) : (w = A, C = J);
11905
+ if (L = C, n(O, D)) return L;
11906
+ var J = h(D);
11907
+ return g !== void 0 && g(L, J) ? (O = D, L) : (O = D, C = J);
11908
11908
  }
11909
- var O = !1, w, C, S = d === void 0 ? null : d;
11909
+ var b = !1, O, C, S = d === void 0 ? null : d;
11910
11910
  return [
11911
11911
  function() {
11912
11912
  return x(f());
@@ -11953,21 +11953,21 @@ function Up() {
11953
11953
  } else u = y.current;
11954
11954
  y = a(
11955
11955
  function() {
11956
- function x(A) {
11957
- if (!O) {
11958
- if (O = !0, w = A, A = h(A), g !== void 0 && u.hasValue) {
11956
+ function x(D) {
11957
+ if (!b) {
11958
+ if (b = !0, O = D, D = h(D), g !== void 0 && u.hasValue) {
11959
11959
  var L = u.value;
11960
- if (g(L, A))
11960
+ if (g(L, D))
11961
11961
  return C = L;
11962
11962
  }
11963
- return C = A;
11963
+ return C = D;
11964
11964
  }
11965
- if (L = C, n(w, A))
11965
+ if (L = C, n(O, D))
11966
11966
  return L;
11967
- var J = h(A);
11968
- return g !== void 0 && g(L, J) ? (w = A, L) : (w = A, C = J);
11967
+ var J = h(D);
11968
+ return g !== void 0 && g(L, J) ? (O = D, L) : (O = D, C = J);
11969
11969
  }
11970
- var O = !1, w, C, S = d === void 0 ? null : d;
11970
+ var b = !1, O, C, S = d === void 0 ? null : d;
11971
11971
  return [
11972
11972
  function() {
11973
11973
  return x(f());
@@ -12096,14 +12096,14 @@ const gr = (t) => (e) => {
12096
12096
  const f = gr(i.serialize), d = () => {
12097
12097
  const v = i.partialize({ ...n() });
12098
12098
  let x;
12099
- const O = f({ state: v, version: i.version }).then(
12100
- (w) => l.setItem(i.name, w)
12101
- ).catch((w) => {
12102
- x = w;
12099
+ const b = f({ state: v, version: i.version }).then(
12100
+ (O) => l.setItem(i.name, O)
12101
+ ).catch((O) => {
12102
+ x = O;
12103
12103
  });
12104
12104
  if (x)
12105
12105
  throw x;
12106
- return O;
12106
+ return b;
12107
12107
  }, h = o.setState;
12108
12108
  o.setState = (v, x) => {
12109
12109
  h(v, x), d();
@@ -12119,34 +12119,34 @@ const gr = (t) => (e) => {
12119
12119
  const u = () => {
12120
12120
  var v;
12121
12121
  if (!l) return;
12122
- s = !1, a.forEach((O) => O(n()));
12122
+ s = !1, a.forEach((b) => b(n()));
12123
12123
  const x = ((v = i.onRehydrateStorage) == null ? void 0 : v.call(i, n())) || void 0;
12124
- return gr(l.getItem.bind(l))(i.name).then((O) => {
12125
- if (O)
12126
- return i.deserialize(O);
12127
- }).then((O) => {
12128
- if (O)
12129
- if (typeof O.version == "number" && O.version !== i.version) {
12124
+ return gr(l.getItem.bind(l))(i.name).then((b) => {
12125
+ if (b)
12126
+ return i.deserialize(b);
12127
+ }).then((b) => {
12128
+ if (b)
12129
+ if (typeof b.version == "number" && b.version !== i.version) {
12130
12130
  if (i.migrate)
12131
12131
  return i.migrate(
12132
- O.state,
12133
- O.version
12132
+ b.state,
12133
+ b.version
12134
12134
  );
12135
12135
  console.error(
12136
12136
  "State loaded from storage couldn't be migrated since no migrate function was provided"
12137
12137
  );
12138
12138
  } else
12139
- return O.state;
12140
- }).then((O) => {
12141
- var w;
12139
+ return b.state;
12140
+ }).then((b) => {
12141
+ var O;
12142
12142
  return y = i.merge(
12143
- O,
12144
- (w = n()) != null ? w : g
12143
+ b,
12144
+ (O = n()) != null ? O : g
12145
12145
  ), r(y, !0), d();
12146
12146
  }).then(() => {
12147
- x == null || x(y, void 0), s = !0, c.forEach((O) => O(y));
12148
- }).catch((O) => {
12149
- x == null || x(void 0, O);
12147
+ x == null || x(y, void 0), s = !0, c.forEach((b) => b(y));
12148
+ }).catch((b) => {
12149
+ x == null || x(void 0, b);
12150
12150
  });
12151
12151
  };
12152
12152
  return o.persist = {
@@ -12214,40 +12214,40 @@ const gr = (t) => (e) => {
12214
12214
  const y = () => {
12215
12215
  var u, v;
12216
12216
  if (!l) return;
12217
- s = !1, a.forEach((O) => {
12218
- var w;
12219
- return O((w = n()) != null ? w : h);
12217
+ s = !1, a.forEach((b) => {
12218
+ var O;
12219
+ return b((O = n()) != null ? O : h);
12220
12220
  });
12221
12221
  const x = ((v = i.onRehydrateStorage) == null ? void 0 : v.call(i, (u = n()) != null ? u : h)) || void 0;
12222
- return gr(l.getItem.bind(l))(i.name).then((O) => {
12223
- if (O)
12224
- if (typeof O.version == "number" && O.version !== i.version) {
12222
+ return gr(l.getItem.bind(l))(i.name).then((b) => {
12223
+ if (b)
12224
+ if (typeof b.version == "number" && b.version !== i.version) {
12225
12225
  if (i.migrate)
12226
12226
  return [
12227
12227
  !0,
12228
12228
  i.migrate(
12229
- O.state,
12230
- O.version
12229
+ b.state,
12230
+ b.version
12231
12231
  )
12232
12232
  ];
12233
12233
  console.error(
12234
12234
  "State loaded from storage couldn't be migrated since no migrate function was provided"
12235
12235
  );
12236
12236
  } else
12237
- return [!1, O.state];
12237
+ return [!1, b.state];
12238
12238
  return [!1, void 0];
12239
- }).then((O) => {
12240
- var w;
12241
- const [C, S] = O;
12239
+ }).then((b) => {
12240
+ var O;
12241
+ const [C, S] = b;
12242
12242
  if (g = i.merge(
12243
12243
  S,
12244
- (w = n()) != null ? w : h
12244
+ (O = n()) != null ? O : h
12245
12245
  ), r(g, !0), C)
12246
12246
  return f();
12247
12247
  }).then(() => {
12248
- x == null || x(g, void 0), g = n(), s = !0, c.forEach((O) => O(g));
12249
- }).catch((O) => {
12250
- x == null || x(void 0, O);
12248
+ x == null || x(g, void 0), g = n(), s = !0, c.forEach((b) => b(g));
12249
+ }).catch((b) => {
12250
+ x == null || x(void 0, b);
12251
12251
  });
12252
12252
  };
12253
12253
  return o.persist = {
@@ -13052,88 +13052,88 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13052
13052
  slots: { toolbar: Cy }
13053
13053
  }
13054
13054
  );
13055
- }, rl = ll({}), Ay = () => cl(rl), Gy = ({ children: t, logos: e = {}, apiConfig: r }) => {
13056
- var v, x, O;
13057
- const { user: n } = mn(), { getUser: o, logout: i } = Ho(), { navigation: s } = wo(), a = iu(), c = br(), { getTheme: l, colorSchemePreference: f } = $c(), [d, h] = Be(() => {
13058
- var A;
13059
- const w = l(), C = (w == null ? void 0 : w.defaultColorScheme) || "light", S = (A = w == null ? void 0 : w.colorSchemes) == null ? void 0 : A[C];
13060
- return S ? Bn({
13055
+ }, rl = ll({}), Ay = () => cl(rl), Gy = ({ children: t, logos: e = {} }) => {
13056
+ var u, v, x;
13057
+ const { user: r } = mn(), { getUser: n, logout: o } = Ho(), { navigation: i } = wo(), s = iu(), a = br(), { getTheme: c, colorSchemePreference: l } = $c(), [f, d] = Be(() => {
13058
+ var S;
13059
+ const b = c(), O = (b == null ? void 0 : b.defaultColorScheme) || "light", C = (S = b == null ? void 0 : b.colorSchemes) == null ? void 0 : S[O];
13060
+ return C ? Bn({
13061
13061
  palette: {
13062
- ...S.palette,
13063
- mode: C
13062
+ ...C.palette,
13063
+ mode: O
13064
13064
  },
13065
- typography: w.typography,
13066
- shape: w.shape,
13067
- spacing: w.spacing,
13068
- breakpoints: w.breakpoints,
13069
- components: w.components,
13070
- transitions: w.transitions,
13071
- zIndex: w.zIndex
13072
- }) : (console.error("No initial color scheme found for mode:", C), Bn());
13065
+ typography: b.typography,
13066
+ shape: b.shape,
13067
+ spacing: b.spacing,
13068
+ breakpoints: b.breakpoints,
13069
+ components: b.components,
13070
+ transitions: b.transitions,
13071
+ zIndex: b.zIndex
13072
+ }) : (console.error("No initial color scheme found for mode:", O), Bn());
13073
13073
  });
13074
13074
  Me(() => {
13075
- var L, J, G, se, Q, m, B, P, U, Z, q, pe, Ce, b;
13076
- const w = l();
13077
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:99", message: "Theme store changed", data: { defaultColorScheme: w == null ? void 0 : w.defaultColorScheme, darkBackgroundDefault: (se = (G = (J = (L = w == null ? void 0 : w.colorSchemes) == null ? void 0 : L.dark) == null ? void 0 : J.palette) == null ? void 0 : G.background) == null ? void 0 : se.default, lightBackgroundDefault: (P = (B = (m = (Q = w == null ? void 0 : w.colorSchemes) == null ? void 0 : Q.light) == null ? void 0 : m.palette) == null ? void 0 : B.background) == null ? void 0 : P.default }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "A" }) }).catch(() => {
13075
+ var D, L, J, G, se, Q, m, B, P, U, Z, q, pe, Ce;
13076
+ const b = c();
13077
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:99", message: "Theme store changed", data: { defaultColorScheme: b == null ? void 0 : b.defaultColorScheme, darkBackgroundDefault: (G = (J = (L = (D = b == null ? void 0 : b.colorSchemes) == null ? void 0 : D.dark) == null ? void 0 : L.palette) == null ? void 0 : J.background) == null ? void 0 : G.default, lightBackgroundDefault: (B = (m = (Q = (se = b == null ? void 0 : b.colorSchemes) == null ? void 0 : se.light) == null ? void 0 : Q.palette) == null ? void 0 : m.background) == null ? void 0 : B.default }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "A" }) }).catch(() => {
13078
13078
  });
13079
- const C = (w == null ? void 0 : w.defaultColorScheme) || "light", S = (U = w == null ? void 0 : w.colorSchemes) == null ? void 0 : U[C];
13080
- if (!S) {
13081
- console.error("No color scheme found for mode:", C);
13079
+ const O = (b == null ? void 0 : b.defaultColorScheme) || "light", C = (P = b == null ? void 0 : b.colorSchemes) == null ? void 0 : P[O];
13080
+ if (!C) {
13081
+ console.error("No color scheme found for mode:", O);
13082
13082
  return;
13083
13083
  }
13084
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:108", message: "Creating theme with colorScheme", data: { currentMode: C, backgroundDefault: S.palette.background.default, backgroundPaper: S.palette.background.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "B" }) }).catch(() => {
13084
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:108", message: "Creating theme with colorScheme", data: { currentMode: O, backgroundDefault: C.palette.background.default, backgroundPaper: C.palette.background.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "B" }) }).catch(() => {
13085
13085
  });
13086
- const A = Bn({
13086
+ const S = Bn({
13087
13087
  palette: {
13088
- ...S.palette,
13089
- mode: C
13088
+ ...C.palette,
13089
+ mode: O
13090
13090
  },
13091
- typography: w.typography,
13092
- shape: w.shape,
13093
- spacing: w.spacing,
13094
- breakpoints: w.breakpoints,
13095
- components: w.components,
13096
- transitions: w.transitions,
13097
- zIndex: w.zIndex
13091
+ typography: b.typography,
13092
+ shape: b.shape,
13093
+ spacing: b.spacing,
13094
+ breakpoints: b.breakpoints,
13095
+ components: b.components,
13096
+ transitions: b.transitions,
13097
+ zIndex: b.zIndex
13098
13098
  });
13099
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:121", message: "New theme created", data: { mode: (Z = A.palette) == null ? void 0 : Z.mode, backgroundDefault: (pe = (q = A.palette) == null ? void 0 : q.background) == null ? void 0 : pe.default, backgroundPaper: (b = (Ce = A.palette) == null ? void 0 : Ce.background) == null ? void 0 : b.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "C" }) }).catch(() => {
13100
- }), h(A);
13101
- }, [f, l]), Me(() => {
13102
- const w = d.palette.background.default, C = d.palette.mode || "light";
13103
- document.documentElement.setAttribute("data-mui-color-scheme", C), document.documentElement.setAttribute("data-color-scheme", C), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:127", message: "Before setting DOM backgrounds", data: { bgColor: w, mode: C, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found" }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "D" }) }).catch(() => {
13104
- }), document.body.style.backgroundColor = w, document.documentElement.style.backgroundColor = w;
13105
- const S = document.getElementById("root");
13106
- S && (S.style.backgroundColor = w), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:134", message: "After setting DOM backgrounds", data: { bgColor: w, mode: C, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "E" }) }).catch(() => {
13099
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:121", message: "New theme created", data: { mode: (U = S.palette) == null ? void 0 : U.mode, backgroundDefault: (q = (Z = S.palette) == null ? void 0 : Z.background) == null ? void 0 : q.default, backgroundPaper: (Ce = (pe = S.palette) == null ? void 0 : pe.background) == null ? void 0 : Ce.paper }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "C" }) }).catch(() => {
13100
+ }), d(S);
13101
+ }, [l, c]), Me(() => {
13102
+ const b = f.palette.background.default, O = f.palette.mode || "light";
13103
+ document.documentElement.setAttribute("data-mui-color-scheme", O), document.documentElement.setAttribute("data-color-scheme", O), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:127", message: "Before setting DOM backgrounds", data: { bgColor: b, mode: O, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found" }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "D" }) }).catch(() => {
13104
+ }), document.body.style.backgroundColor = b, document.documentElement.style.backgroundColor = b;
13105
+ const C = document.getElementById("root");
13106
+ C && (C.style.backgroundColor = b), fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:134", message: "After setting DOM backgrounds", data: { bgColor: b, mode: O, bodyComputed: window.getComputedStyle(document.body).backgroundColor, htmlComputed: window.getComputedStyle(document.documentElement).backgroundColor, rootComputed: document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "E" }) }).catch(() => {
13107
13107
  });
13108
- }, [d]);
13109
- const y = {
13110
- user: n != null && n.id ? {
13111
- id: n.id,
13112
- name: n.name,
13113
- image: ((v = n.image) == null ? void 0 : v.thumbnail) || ((x = n.image) == null ? void 0 : x.medium) || ((O = n.image) == null ? void 0 : O.large) || "",
13114
- email: n.email
13108
+ }, [f]);
13109
+ const g = {
13110
+ user: r != null && r.id ? {
13111
+ id: r.id,
13112
+ name: r.name,
13113
+ image: ((u = r.image) == null ? void 0 : u.thumbnail) || ((v = r.image) == null ? void 0 : v.medium) || ((x = r.image) == null ? void 0 : x.large) || "",
13114
+ email: r.email
13115
13115
  } : void 0
13116
- }, u = Vo(
13116
+ }, y = Vo(
13117
13117
  () => ({
13118
13118
  signIn: async () => {
13119
- await o();
13119
+ await n();
13120
13120
  },
13121
13121
  signOut: async () => {
13122
- await i();
13122
+ await o();
13123
13123
  }
13124
13124
  }),
13125
- [o, i]
13125
+ [n, o]
13126
13126
  );
13127
13127
  return xl(), Me(() => {
13128
- const w = () => {
13129
- const S = window.getComputedStyle(document.body).backgroundColor, A = window.getComputedStyle(document.documentElement).backgroundColor, L = document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", J = document.querySelector('[data-testid="dashboard-layout"]'), G = J ? window.getComputedStyle(J).backgroundColor : "not found";
13130
- fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:182", message: "Computed styles check", data: { themeBackgroundDefault: d.palette.background.default, bodyComputed: S, htmlComputed: A, rootComputed: L, dashboardLayoutComputed: G, bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "F" }) }).catch(() => {
13128
+ const b = () => {
13129
+ const C = window.getComputedStyle(document.body).backgroundColor, S = window.getComputedStyle(document.documentElement).backgroundColor, D = document.getElementById("root") ? window.getComputedStyle(document.getElementById("root")).backgroundColor : "not found", L = document.querySelector('[data-testid="dashboard-layout"]'), J = L ? window.getComputedStyle(L).backgroundColor : "not found";
13130
+ fetch("http://127.0.0.1:7242/ingest/30a7b8ff-4a46-48a8-8e84-a3a483543b74", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ location: "ToolpadProvider.tsx:182", message: "Computed styles check", data: { themeBackgroundDefault: f.palette.background.default, bodyComputed: C, htmlComputed: S, rootComputed: D, dashboardLayoutComputed: J, bodyInline: document.body.style.backgroundColor, htmlInline: document.documentElement.style.backgroundColor }, timestamp: Date.now(), sessionId: "debug-session", runId: "run1", hypothesisId: "F" }) }).catch(() => {
13131
13131
  });
13132
13132
  };
13133
- w();
13134
- const C = setTimeout(w, 100);
13135
- return () => clearTimeout(C);
13136
- }, [d]), /* @__PURE__ */ T.jsx(kl, { apiConfig: r, baseUrl: _c, children: /* @__PURE__ */ T.jsx(rl.Provider, { value: e, children: /* @__PURE__ */ T.jsx(ri, { dateAdapter: Wp, children: /* @__PURE__ */ T.jsx(zu, { maxSnack: 6, autoHideDuration: 1e4, children: /* @__PURE__ */ T.jsx(Cl, { children: /* @__PURE__ */ T.jsxs(Rl, { theme: d, children: [
13133
+ b();
13134
+ const O = setTimeout(b, 100);
13135
+ return () => clearTimeout(O);
13136
+ }, [f]), /* @__PURE__ */ T.jsx(kl, { baseUrl: _c, children: /* @__PURE__ */ T.jsx(rl.Provider, { value: e, children: /* @__PURE__ */ T.jsx(ri, { dateAdapter: Wp, children: /* @__PURE__ */ T.jsx(zu, { maxSnack: 6, autoHideDuration: 1e4, children: /* @__PURE__ */ T.jsx(Cl, { children: /* @__PURE__ */ T.jsxs(Rl, { theme: f, children: [
13137
13137
  /* @__PURE__ */ T.jsx(jl, {}),
13138
13138
  /* @__PURE__ */ T.jsxs(
13139
13139
  vl,
@@ -13142,11 +13142,11 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13142
13142
  logo: /* @__PURE__ */ T.jsx(ay, {}),
13143
13143
  title: ""
13144
13144
  },
13145
- navigation: cu(fa(s)),
13146
- theme: d,
13147
- router: a,
13148
- session: y,
13149
- authentication: u,
13145
+ navigation: cu(fa(i)),
13146
+ theme: f,
13147
+ router: s,
13148
+ session: g,
13149
+ authentication: y,
13150
13150
  children: [
13151
13151
  /* @__PURE__ */ T.jsx(dy, {}),
13152
13152
  /* @__PURE__ */ T.jsxs(
@@ -13185,12 +13185,12 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13185
13185
  },
13186
13186
  // Selected items should have white text in dark mode, primary color in light mode
13187
13187
  "& .MuiListItemButton-root.Mui-selected": {
13188
- color: (w) => w.palette.mode === "dark" ? "white" : w.palette.primary.main,
13188
+ color: (b) => b.palette.mode === "dark" ? "white" : b.palette.primary.main,
13189
13189
  "& .MuiTypography-root": {
13190
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13190
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13191
13191
  },
13192
13192
  "& .MuiTypography-caption": {
13193
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13193
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13194
13194
  }
13195
13195
  }
13196
13196
  },
@@ -13218,12 +13218,12 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13218
13218
  }
13219
13219
  },
13220
13220
  "& .MuiListItemButton-root.Mui-selected": {
13221
- color: (w) => w.palette.mode === "dark" ? "white" : w.palette.primary.main,
13221
+ color: (b) => b.palette.mode === "dark" ? "white" : b.palette.primary.main,
13222
13222
  "& .MuiTypography-root": {
13223
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13223
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13224
13224
  },
13225
13225
  "& .MuiTypography-caption": {
13226
- color: (w) => w.palette.mode === "dark" ? "white !important" : `${w.palette.primary.main} !important`
13226
+ color: (b) => b.palette.mode === "dark" ? "white !important" : `${b.palette.primary.main} !important`
13227
13227
  }
13228
13228
  }
13229
13229
  },
@@ -13253,7 +13253,7 @@ const tl = () => bt((t) => ({ version: t.version }), hy), Sy = In(/* @__PURE__ *
13253
13253
  //Make scrollbars opacity 0
13254
13254
  "&:hover": {
13255
13255
  //Give the scrollbars theme color on hover, not transparent
13256
- scrollbarColor: c.palette.divider + " " + c.palette.background.paper
13256
+ scrollbarColor: a.palette.divider + " " + a.palette.background.paper
13257
13257
  }
13258
13258
  }
13259
13259
  },
@@ -13933,10 +13933,9 @@ const Ly = Py("csrftoken"), ag = tu.create({
13933
13933
  }
13934
13934
  });
13935
13935
  export {
13936
- fg as ApiConfigProvider,
13937
- c0 as BrowserRouter,
13938
- dg as DialogOpener,
13939
- mg as Dialogs,
13936
+ l0 as BrowserRouter,
13937
+ fg as DialogOpener,
13938
+ dg as Dialogs,
13940
13939
  tg as EditableAutocomplete,
13941
13940
  rg as EditableColor,
13942
13941
  $y as EditableImage,
@@ -13945,48 +13944,49 @@ export {
13945
13944
  Xy as EditableSwitch,
13946
13945
  qy as EditableText,
13947
13946
  ng as ErrorBoundary,
13948
- hg as EventBus,
13949
- pg as ExtendedDialog,
13950
- yg as FormDialog,
13951
- l0 as HashRouter,
13947
+ mg as EventBus,
13948
+ hg as ExtendedDialog,
13949
+ pg as FormDialog,
13950
+ u0 as HashRouter,
13952
13951
  Iy as Home,
13953
13952
  Qy as IconWithBadge,
13954
- u0 as Link,
13955
- f0 as MemoryRouter,
13953
+ f0 as Link,
13954
+ d0 as MemoryRouter,
13956
13955
  sg as MicroserviceSubsections,
13957
13956
  Ky as Microservices,
13958
- d0 as Navigate,
13959
- gg as NavigationFilter,
13960
- vg as NavigationSectionBuilder,
13961
- Sg as Notifications,
13957
+ m0 as Navigate,
13958
+ yg as NavigationFilter,
13959
+ gg as NavigationSectionBuilder,
13960
+ vg as Notifications,
13962
13961
  og as NullStateWarning,
13963
- m0 as Outlet,
13964
- h0 as Route,
13965
- p0 as Routes,
13962
+ h0 as Outlet,
13963
+ p0 as Route,
13964
+ y0 as Routes,
13966
13965
  wy as ThemeToggle,
13967
13966
  Gy as ToolpadProvider,
13968
- bg as UserBus,
13969
- wg as apiPrefix,
13967
+ Sg as UserBus,
13968
+ bg as apiPrefix,
13970
13969
  ag as axios,
13971
13970
  _c as baseUrl,
13972
13971
  ig as buildMicroServiceNavigation,
13973
- Tg as calculateNavigationFromSections,
13974
- Eg as closeDialog,
13975
- xg as convertObjectKeysToCamelCase,
13976
- kg as convertObjectKeysToUnderscore,
13977
- Cg as deleteCookie,
13978
- Og as eventBus,
13979
- Ag as filterNavigationByRole,
13980
- Dg as getAllMicroservices,
13981
- Mg as getAllRegisteredMicroservices,
13982
- Ig as getApiConfig,
13983
- Ng as getApiPrefix,
13984
- Pg as getCookie,
13985
- Lg as getMicroservice,
13986
- Rg as getMicroserviceIds,
13987
- jg as isMicroserviceRegistered,
13988
- Bg as openDialog,
13989
- Fg as parseDate,
13972
+ wg as calculateNavigationFromSections,
13973
+ Tg as closeDialog,
13974
+ Eg as convertObjectKeysToCamelCase,
13975
+ xg as convertObjectKeysToUnderscore,
13976
+ kg as deleteCookie,
13977
+ Cg as eventBus,
13978
+ Og as filterNavigationByRole,
13979
+ Ag as getAllMicroservices,
13980
+ Dg as getAllRegisteredMicroservices,
13981
+ Mg as getApiConfig,
13982
+ Ig as getApiPrefix,
13983
+ Ng as getCookie,
13984
+ Pg as getMicroservice,
13985
+ Lg as getMicroserviceIds,
13986
+ Rg as isMicroserviceRegistered,
13987
+ jg as openDialog,
13988
+ Bg as parseDate,
13989
+ Fg as registerApiEndpoints,
13990
13990
  gy as registerAppToolbarAction,
13991
13991
  Wg as registerDialog,
13992
13992
  Vg as registerMicroservice,
@@ -13999,24 +13999,25 @@ export {
13999
13999
  yy as unregisterPageToolbarAction,
14000
14000
  Jg as unregisterRouteProvider,
14001
14001
  Yg as updateMicroserviceNavigationForSections,
14002
- Gg as useApiConfig,
14002
+ Gg as useApiConfigContext,
14003
14003
  Kg as useCurrentUser,
14004
14004
  Xc as useDialogStore,
14005
- y0 as useLocation,
14005
+ g0 as useLocation,
14006
14006
  Ay as useLogoContext,
14007
14007
  Qg as useMicroserviceNavigation,
14008
14008
  qg as useMicroserviceRegistryStore,
14009
14009
  Xg as useMicroserviceRoutes,
14010
- g0 as useNavigate,
14010
+ v0 as useNavigate,
14011
14011
  _g as useNavigationFilterStore,
14012
14012
  $g as useNavigationSectionManager,
14013
14013
  e0 as useNavigationStore,
14014
14014
  t0 as useNotificationStore,
14015
- v0 as useParams,
14015
+ S0 as useParams,
14016
14016
  r0 as useRetry,
14017
- n0 as useSyncNavigationFilters,
14017
+ n0 as useServiceApiConfig,
14018
+ o0 as useSyncNavigationFilters,
14018
14019
  tl as useToolbarRegistryStore,
14019
- o0 as useUserActions,
14020
- i0 as useUserPreferences,
14021
- s0 as userBus
14020
+ i0 as useUserActions,
14021
+ s0 as useUserPreferences,
14022
+ a0 as userBus
14022
14023
  };