@cm-sigoo-temp/ui 1.0.2 → 1.0.4

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.
@@ -2,7 +2,7 @@ var Yn = Object.defineProperty;
2
2
  var qn = (e, r, t) => r in e ? Yn(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var rr = (e, r, t) => qn(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  import * as $e from "react";
5
- import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as Tr, createElement as eo, useRef as ro, useEffect as to } from "react";
5
+ import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as kr, createElement as eo, useRef as ro, useEffect as to } from "react";
6
6
  import { createTheme as no, responsiveFontSizes as oo, ListItemIcon as Xe, Icon as _r, Tooltip as Ar, ListItem as ve, ListItemButton as Se, ListItemText as he, ListSubheader as nt, Divider as vr, Drawer as ao, Toolbar as mt, List as io, Skeleton as fe, Typography as xe, Box as le, Grid as sr, ButtonBase as pn, Paper as so, createSvgIcon as ht, Avatar as co, CircularProgress as mn, Menu as lo, MenuItem as ot, TextField as uo, AppBar as fo, Zoom as po, IconButton as wt, Collapse as mo, LinearProgress as ho, Popover as go, ThemeProvider as yo, Button as hn } from "@mui/material";
7
7
  import bo from "@emotion/styled";
8
8
  import "@emotion/react";
@@ -51,26 +51,26 @@ const Eo = async (e, r, t) => {
51
51
  Authorization: `Bearer ${n}`
52
52
  }
53
53
  })).json();
54
- }, Co = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" }, ko = {
54
+ }, Co = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" }, To = {
55
55
  dev: "_DEV",
56
56
  test: "_TEST",
57
57
  prod: "_PROD"
58
58
  };
59
- function To(e, r) {
59
+ function ko(e, r) {
60
60
  const t = `${e}${r}`;
61
61
  if (import.meta === void 0) return "";
62
62
  const n = Co;
63
63
  return n && typeof n == "object" ? n[t] ?? "" : "";
64
64
  }
65
65
  function _o(e) {
66
- const r = ko[e];
67
- return To("VITE__URL__OBTENER_TERMINALES", r);
66
+ const r = To[e];
67
+ return ko("VITE__URL__OBTENER_TERMINALES", r);
68
68
  }
69
69
  const Ro = async (e) => {
70
+ var u;
70
71
  const r = bn();
71
72
  if (!r) throw new Error("No hay sesión de Keycloak activa");
72
- const t = _o(yn()), n = new URL(t);
73
- return (await fetch(n, {
73
+ const t = _o(yn()), n = new URL(t), a = await (await fetch(n, {
74
74
  headers: {
75
75
  Accept: "application/json",
76
76
  Authorization: `Bearer ${r}`,
@@ -80,7 +80,8 @@ const Ro = async (e) => {
80
80
  "x-request": crypto.randomUUID(),
81
81
  "x-timestamp": (/* @__PURE__ */ new Date()).toISOString()
82
82
  }
83
- })).json();
83
+ })).json(), s = Array.isArray(a.data) ? a.data : Array.isArray((u = a.data) == null ? void 0 : u.terminales) ? a.data.terminales : [];
84
+ return { ...a, data: s };
84
85
  }, Oo = (e) => {
85
86
  var r;
86
87
  return document ? ((r = document.cookie.split("; ").find((t) => t.startsWith(`${e}=`))) == null ? void 0 : r.split("=")[1]) ?? null : null;
@@ -120,8 +121,8 @@ const Ro = async (e) => {
120
121
  params: t,
121
122
  cookie: a
122
123
  };
123
- }, kc = () => {
124
124
  }, Tc = () => {
125
+ }, kc = () => {
125
126
  }, _c = () => {
126
127
  };
127
128
  function vn(e) {
@@ -186,8 +187,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
186
187
  }).catch(function(m) {
187
188
  y.setError(m);
188
189
  });
189
- var v = U();
190
- function T() {
190
+ var v = N();
191
+ function k() {
191
192
  var m = function(P) {
192
193
  P || (j.prompt = "none"), i.locale && (j.locale = i.locale), r.login(j).then(function() {
193
194
  A.setSuccess();
@@ -200,7 +201,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
200
201
  var I = function(ce) {
201
202
  if (!(ce.origin !== window.location.origin || P.contentWindow !== ce.source)) {
202
203
  var de = _(ce.data);
203
- k(de, A), document.body.removeChild(P), window.removeEventListener("message", I);
204
+ T(de, A), document.body.removeChild(P), window.removeEventListener("message", I);
204
205
  }
205
206
  };
206
207
  window.addEventListener("message", I);
@@ -226,7 +227,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
226
227
  var m = _(window.location.href);
227
228
  if (m && window.history.replaceState(window.history.state, null, m.newUrl), m && m.valid)
228
229
  return se().then(function() {
229
- k(m, A);
230
+ T(m, A);
230
231
  }).catch(function(R) {
231
232
  A.setError(R);
232
233
  });
@@ -239,8 +240,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
239
240
  }) : r.updateToken(-1).then(function() {
240
241
  r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess();
241
242
  }).catch(function(R) {
242
- r.onAuthError && r.onAuthError(), i.onLoad ? T() : A.setError(R);
243
- })) : i.onLoad ? T() : A.setSuccess();
243
+ r.onAuthError && r.onAuthError(), i.onLoad ? k() : A.setError(R);
244
+ })) : i.onLoad ? k() : A.setSuccess();
244
245
  }
245
246
  return v.then(function() {
246
247
  M().then(b).catch(function(m) {
@@ -252,7 +253,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
252
253
  }, r.login = function(i) {
253
254
  return t.login(i);
254
255
  };
255
- function g(i) {
256
+ function h(i) {
256
257
  if (typeof crypto > "u" || typeof crypto.getRandomValues > "u")
257
258
  throw new Error("Web Crypto API is not available.");
258
259
  return crypto.getRandomValues(new Uint8Array(i));
@@ -261,7 +262,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
261
262
  return E(i, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
262
263
  }
263
264
  function E(i, c) {
264
- for (var y = g(i), A = new Array(i), v = 0; v < i; v++)
265
+ for (var y = h(i), A = new Array(i), v = 0; v < i; v++)
265
266
  A[v] = c.charCodeAt(y[v] % c.length);
266
267
  return String.fromCharCode.apply(null, A);
267
268
  }
@@ -271,7 +272,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
271
272
  const y = new Uint8Array(await Lo(c));
272
273
  return Mo(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
273
274
  }
274
- function h(i) {
275
+ function g(i) {
275
276
  var c = {
276
277
  id_token: {
277
278
  acr: i
@@ -287,13 +288,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
287
288
  loginOptions: i
288
289
  };
289
290
  i && i.prompt && (v.prompt = i.prompt);
290
- var T;
291
- i && i.action == "register" ? T = r.endpoints.register() : T = r.endpoints.authorize();
291
+ var k;
292
+ i && i.action == "register" ? k = r.endpoints.register() : k = r.endpoints.authorize();
292
293
  var b = i && i.scope || r.scope;
293
294
  b ? b.indexOf("openid") === -1 && (b = "openid " + b) : b = "openid";
294
- var m = T + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(c) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(b);
295
+ var m = k + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(c) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(b);
295
296
  if (s && (m = m + "&nonce=" + encodeURIComponent(y)), i && i.prompt && (m += "&prompt=" + encodeURIComponent(i.prompt)), i && typeof i.maxAge == "number" && (m += "&max_age=" + encodeURIComponent(i.maxAge)), i && i.loginHint && (m += "&login_hint=" + encodeURIComponent(i.loginHint)), i && i.idpHint && (m += "&kc_idp_hint=" + encodeURIComponent(i.idpHint)), i && i.action && i.action != "register" && (m += "&kc_action=" + encodeURIComponent(i.action)), i && i.locale && (m += "&ui_locales=" + encodeURIComponent(i.locale)), i && i.acr) {
296
- var R = h(i.acr);
297
+ var R = g(i.acr);
297
298
  m += "&claims=" + encodeURIComponent(R);
298
299
  }
299
300
  if ((i && i.acrValues || r.acrValues) && (m += "&acr_values=" + encodeURIComponent(i.acrValues || r.acrValues)), r.pkceMethod)
@@ -364,10 +365,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
364
365
  if (i == -1 ? (v = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!r.tokenParsed || r.isTokenExpired(i)) && (v = !0, u("[KEYCLOAK] Refreshing token: token expired")), !v)
365
366
  c.setSuccess(!1);
366
367
  else {
367
- var T = "grant_type=refresh_token&refresh_token=" + r.refreshToken, b = r.endpoints.token();
368
+ var k = "grant_type=refresh_token&refresh_token=" + r.refreshToken, b = r.endpoints.token();
368
369
  if (n.push(c), n.length == 1) {
369
370
  var m = new XMLHttpRequest();
370
- m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, T += "&client_id=" + encodeURIComponent(r.clientId);
371
+ m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, k += "&client_id=" + encodeURIComponent(r.clientId);
371
372
  var R = (/* @__PURE__ */ new Date()).getTime();
372
373
  m.onreadystatechange = function() {
373
374
  if (m.readyState == 4)
@@ -382,7 +383,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
382
383
  for (var P = n.pop(); P != null; P = n.pop())
383
384
  P.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
384
385
  }
385
- }, m.send(T);
386
+ }, m.send(k);
386
387
  }
387
388
  }
388
389
  };
@@ -406,8 +407,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
406
407
  function p() {
407
408
  return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
408
409
  }
409
- function k(i, c) {
410
- var y = i.code, A = i.error, v = i.prompt, T = (/* @__PURE__ */ new Date()).getTime();
410
+ function T(i, c) {
411
+ var y = i.code, A = i.error, v = i.prompt, k = (/* @__PURE__ */ new Date()).getTime();
411
412
  if (i.kc_action_status && r.onActionUpdate && r.onActionUpdate(i.kc_action_status, i.kc_action), A) {
412
413
  if (v != "none")
413
414
  if (i.error_description && i.error_description === "authentication_expired")
@@ -432,10 +433,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
432
433
  }, j.send(m);
433
434
  }
434
435
  function P(z, I, ce, de) {
435
- T = (T + (/* @__PURE__ */ new Date()).getTime()) / 2, B(z, I, ce, T), s && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), c && c.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), c && c.setSuccess());
436
+ k = (k + (/* @__PURE__ */ new Date()).getTime()) / 2, B(z, I, ce, k), s && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), c && c.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), c && c.setSuccess());
436
437
  }
437
438
  }
438
- function U() {
439
+ function N() {
439
440
  var i = F(), c;
440
441
  typeof e == "string" && (c = e);
441
442
  function y(b) {
@@ -504,10 +505,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
504
505
  if (!v)
505
506
  r.authServerUrl = e.url, r.realm = e.realm, y(null), i.setSuccess();
506
507
  else if (typeof v == "string") {
507
- var T;
508
- v.charAt(v.length - 1) == "/" ? T = v + ".well-known/openid-configuration" : T = v + "/.well-known/openid-configuration";
508
+ var k;
509
+ v.charAt(v.length - 1) == "/" ? k = v + ".well-known/openid-configuration" : k = v + "/.well-known/openid-configuration";
509
510
  var A = new XMLHttpRequest();
510
- A.open("GET", T, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
511
+ A.open("GET", k, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
511
512
  if (A.readyState == 4)
512
513
  if (A.status == 200 || V(A)) {
513
514
  var m = JSON.parse(A.responseText);
@@ -558,13 +559,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
558
559
  break;
559
560
  }
560
561
  c.push("error"), c.push("error_description"), c.push("error_uri");
561
- var y = i.indexOf("?"), A = i.indexOf("#"), v, T;
562
- if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y), T = W(i.substring(y + 1, A !== -1 ? A : i.length), c), T.paramsString !== "" && (v += "?" + T.paramsString), A !== -1 && (v += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (v = i.substring(0, A), T = W(i.substring(A + 1), c), T.paramsString !== "" && (v += "#" + T.paramsString)), T && T.oauthParams) {
562
+ var y = i.indexOf("?"), A = i.indexOf("#"), v, k;
563
+ if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y), k = W(i.substring(y + 1, A !== -1 ? A : i.length), c), k.paramsString !== "" && (v += "?" + k.paramsString), A !== -1 && (v += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (v = i.substring(0, A), k = W(i.substring(A + 1), c), k.paramsString !== "" && (v += "#" + k.paramsString)), k && k.oauthParams) {
563
564
  if (r.flow === "standard" || r.flow === "hybrid") {
564
- if ((T.oauthParams.code || T.oauthParams.error) && T.oauthParams.state)
565
- return T.oauthParams.newUrl = v, T.oauthParams;
566
- } else if (r.flow === "implicit" && (T.oauthParams.access_token || T.oauthParams.error) && T.oauthParams.state)
567
- return T.oauthParams.newUrl = v, T.oauthParams;
565
+ if ((k.oauthParams.code || k.oauthParams.error) && k.oauthParams.state)
566
+ return k.oauthParams.newUrl = v, k.oauthParams;
567
+ } else if (r.flow === "implicit" && (k.oauthParams.access_token || k.oauthParams.error) && k.oauthParams.state)
568
+ return k.oauthParams.newUrl = v, k.oauthParams;
568
569
  }
569
570
  }
570
571
  function W(i, c) {
@@ -572,8 +573,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
572
573
  paramsString: "",
573
574
  oauthParams: {}
574
575
  }, v = 0; v < y.length; v++) {
575
- var T = y[v].indexOf("="), b = y[v].slice(0, T);
576
- c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(T + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += y[v]);
576
+ var k = y[v].indexOf("="), b = y[v].slice(0, k);
577
+ c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(k + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += y[v]);
577
578
  }
578
579
  return A;
579
580
  }
@@ -591,7 +592,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
591
592
  }), i;
592
593
  }
593
594
  function X(i, c, y) {
594
- var A = null, v = new Promise(function(T, b) {
595
+ var A = null, v = new Promise(function(k, b) {
595
596
  A = setTimeout(function() {
596
597
  b({ error: y });
597
598
  }, c);
@@ -614,8 +615,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
614
615
  var A = function(v) {
615
616
  if (!(v.origin !== a.iframeOrigin || a.iframe.contentWindow !== v.source) && (v.data == "unchanged" || v.data == "changed" || v.data == "error")) {
616
617
  v.data != "unchanged" && r.clearToken();
617
- for (var T = a.callbackList.splice(0, a.callbackList.length), b = T.length - 1; b >= 0; --b) {
618
- var m = T[b];
618
+ for (var k = a.callbackList.splice(0, a.callbackList.length), b = k.length - 1; b >= 0; --b) {
619
+ var m = k[b];
619
620
  v.data == "error" ? m.setError() : m.setSuccess(v.data == "unchanged");
620
621
  }
621
622
  }
@@ -714,7 +715,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
714
715
  }, v = function(b) {
715
716
  var m = y(b);
716
717
  return m.location = "no", b && b.prompt == "none" && (m.hidden = "yes"), A(m);
717
- }, T = function() {
718
+ }, k = function() {
718
719
  return r.redirectUri || "http://localhost";
719
720
  };
720
721
  return {
@@ -723,15 +724,15 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
723
724
  I = !0, P.close();
724
725
  };
725
726
  return P.addEventListener("loadstart", function(de) {
726
- if (de.url.indexOf(T()) == 0) {
727
+ if (de.url.indexOf(k()) == 0) {
727
728
  var He = _(de.url);
728
- k(He, m), ce(), z = !0;
729
+ T(He, m), ce(), z = !0;
729
730
  }
730
731
  }), P.addEventListener("loaderror", function(de) {
731
732
  if (!z)
732
- if (de.url.indexOf(T()) == 0) {
733
+ if (de.url.indexOf(k()) == 0) {
733
734
  var He = _(de.url);
734
- k(He, m), ce(), z = !0;
735
+ T(He, m), ce(), z = !0;
735
736
  } else
736
737
  m.setError(), ce();
737
738
  }), P.addEventListener("exit", function(de) {
@@ -743,9 +744,9 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
743
744
  logout: function(b) {
744
745
  var m = F(), R = r.createLogoutUrl(b), j = c(R, "_blank", "location=no,hidden=yes,clearcache=yes"), P;
745
746
  return j.addEventListener("loadstart", function(z) {
746
- z.url.indexOf(T()) == 0 && j.close();
747
+ z.url.indexOf(k()) == 0 && j.close();
747
748
  }), j.addEventListener("loaderror", function(z) {
748
- z.url.indexOf(T()) == 0 || (P = !0), j.close();
749
+ z.url.indexOf(k()) == 0 || (P = !0), j.close();
749
750
  }), j.addEventListener("exit", function(z) {
750
751
  P ? m.setError() : (r.clearToken(), m.setSuccess());
751
752
  }), m.promise;
@@ -753,10 +754,10 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
753
754
  register: async function(b) {
754
755
  var m = F(), R = await r.createRegisterUrl(), j = v(b), P = c(R, "_blank", j);
755
756
  return P.addEventListener("loadstart", function(z) {
756
- if (z.url.indexOf(T()) == 0) {
757
+ if (z.url.indexOf(k()) == 0) {
757
758
  P.close();
758
759
  var I = _(z.url);
759
- k(I, m);
760
+ T(I, m);
760
761
  }
761
762
  }), m.promise;
762
763
  },
@@ -765,13 +766,13 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
765
766
  if (typeof b < "u") {
766
767
  var m = c(b, "_blank", "location=no");
767
768
  m.addEventListener("loadstart", function(R) {
768
- R.url.indexOf(T()) == 0 && m.close();
769
+ R.url.indexOf(k()) == 0 && m.close();
769
770
  });
770
771
  } else
771
772
  throw "Not supported by the OIDC server";
772
773
  },
773
774
  redirectUri: function(b) {
774
- return T();
775
+ return k();
775
776
  }
776
777
  };
777
778
  }
@@ -782,7 +783,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
782
783
  return universalLinks.subscribe("keycloak", function(j) {
783
784
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
784
785
  var P = _(j.url);
785
- k(P, m);
786
+ T(P, m);
786
787
  }), window.cordova.plugins.browsertab.openUrl(R), m.promise;
787
788
  },
788
789
  logout: function(b) {
@@ -796,7 +797,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
796
797
  return universalLinks.subscribe("keycloak", function(j) {
797
798
  universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
798
799
  var P = _(j.url);
799
- k(P, m);
800
+ T(P, m);
800
801
  }), window.cordova.plugins.browsertab.openUrl(R), m.promise;
801
802
  },
802
803
  accountManagement: function() {
@@ -812,44 +813,44 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
812
813
  };
813
814
  throw "invalid adapter type: " + i;
814
815
  }
815
- const N = "kc-callback-";
816
+ const U = "kc-callback-";
816
817
  var D = function() {
817
818
  if (!(this instanceof D))
818
819
  return new D();
819
820
  localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
820
821
  var i = this;
821
822
  function c() {
822
- const T = Date.now();
823
+ const k = Date.now();
823
824
  for (const [b, m] of A()) {
824
825
  const R = v(m);
825
- (R === null || R < T) && localStorage.removeItem(b);
826
+ (R === null || R < k) && localStorage.removeItem(b);
826
827
  }
827
828
  }
828
829
  function y() {
829
- for (const [T] of A())
830
- localStorage.removeItem(T);
830
+ for (const [k] of A())
831
+ localStorage.removeItem(k);
831
832
  }
832
833
  function A() {
833
- return Object.entries(localStorage).filter(([T]) => T.startsWith(N));
834
+ return Object.entries(localStorage).filter(([k]) => k.startsWith(U));
834
835
  }
835
- function v(T) {
836
+ function v(k) {
836
837
  let b;
837
838
  try {
838
- b = JSON.parse(T);
839
+ b = JSON.parse(k);
839
840
  } catch {
840
841
  return null;
841
842
  }
842
843
  return Wr(b) && "expires" in b && typeof b.expires == "number" ? b.expires : null;
843
844
  }
844
- i.get = function(T) {
845
- if (T) {
846
- var b = N + T, m = localStorage.getItem(b);
845
+ i.get = function(k) {
846
+ if (k) {
847
+ var b = U + k, m = localStorage.getItem(b);
847
848
  return m && (localStorage.removeItem(b), m = JSON.parse(m)), c(), m;
848
849
  }
849
- }, i.add = function(T) {
850
+ }, i.add = function(k) {
850
851
  c();
851
- const b = N + T.state, m = JSON.stringify({
852
- ...T,
852
+ const b = U + k.state, m = JSON.stringify({
853
+ ...k,
853
854
  // Set the expiry time to 1 hour from now.
854
855
  expires: Date.now() + 3600 * 1e3
855
856
  });
@@ -865,28 +866,28 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
865
866
  var i = this;
866
867
  i.get = function(v) {
867
868
  if (v) {
868
- var T = y(N + v);
869
- if (A(N + v, "", c(-100)), T)
870
- return JSON.parse(T);
869
+ var k = y(U + v);
870
+ if (A(U + v, "", c(-100)), k)
871
+ return JSON.parse(k);
871
872
  }
872
873
  }, i.add = function(v) {
873
- A(N + v.state, JSON.stringify(v), c(60));
874
+ A(U + v.state, JSON.stringify(v), c(60));
874
875
  }, i.removeItem = function(v) {
875
876
  A(v, "", c(-100));
876
877
  };
877
878
  var c = function(v) {
878
- var T = /* @__PURE__ */ new Date();
879
- return T.setTime(T.getTime() + v * 60 * 1e3), T;
879
+ var k = /* @__PURE__ */ new Date();
880
+ return k.setTime(k.getTime() + v * 60 * 1e3), k;
880
881
  }, y = function(v) {
881
- for (var T = v + "=", b = document.cookie.split(";"), m = 0; m < b.length; m++) {
882
+ for (var k = v + "=", b = document.cookie.split(";"), m = 0; m < b.length; m++) {
882
883
  for (var R = b[m]; R.charAt(0) == " "; )
883
884
  R = R.substring(1);
884
- if (R.indexOf(T) == 0)
885
- return R.substring(T.length, R.length);
885
+ if (R.indexOf(k) == 0)
886
+ return R.substring(k.length, R.length);
886
887
  }
887
888
  return "";
888
- }, A = function(v, T, b) {
889
- var m = v + "=" + T + "; expires=" + b.toUTCString() + "; ";
889
+ }, A = function(v, k, b) {
890
+ var m = v + "=" + k + "; expires=" + b.toUTCString() + "; ";
890
891
  document.cookie = m;
891
892
  };
892
893
  };
@@ -919,7 +920,7 @@ function zr(e) {
919
920
  throw new Error("Unable to decode token, payload not found.");
920
921
  let n;
921
922
  try {
922
- n = Uo(t);
923
+ n = No(t);
923
924
  } catch (o) {
924
925
  throw new Error("Unable to decode token, payload is not a valid Base64URL value.", { cause: o });
925
926
  }
@@ -929,7 +930,7 @@ function zr(e) {
929
930
  throw new Error("Unable to decode token, payload is not a valid JSON value.", { cause: o });
930
931
  }
931
932
  }
932
- function Uo(e) {
933
+ function No(e) {
933
934
  let r = e.replaceAll("-", "+").replaceAll("_", "/");
934
935
  switch (r.length % 4) {
935
936
  case 0:
@@ -944,12 +945,12 @@ function Uo(e) {
944
945
  throw new Error("Input is not of the correct length.");
945
946
  }
946
947
  try {
947
- return No(r);
948
+ return Uo(r);
948
949
  } catch {
949
950
  return atob(r);
950
951
  }
951
952
  }
952
- function No(e) {
953
+ function Uo(e) {
953
954
  return decodeURIComponent(atob(e).replace(/(.)/g, (r, t) => {
954
955
  let n = t.charCodeAt(0).toString(16).toUpperCase();
955
956
  return n.length < 2 && (n = "0" + n), "%" + n;
@@ -1037,11 +1038,11 @@ function Fo() {
1037
1038
  return c.$$typeof === H ? null : c.displayName || c.name || null;
1038
1039
  if (typeof c == "string") return c;
1039
1040
  switch (c) {
1040
- case k:
1041
+ case T:
1041
1042
  return "Fragment";
1042
1043
  case V:
1043
1044
  return "Profiler";
1044
- case U:
1045
+ case N:
1045
1046
  return "StrictMode";
1046
1047
  case L:
1047
1048
  return "Suspense";
@@ -1095,7 +1096,7 @@ function Fo() {
1095
1096
  }
1096
1097
  }
1097
1098
  function n(c) {
1098
- if (c === k) return "<>";
1099
+ if (c === T) return "<>";
1099
1100
  if (typeof c == "object" && c !== null && c.$$typeof === X)
1100
1101
  return "<...>";
1101
1102
  try {
@@ -1137,7 +1138,7 @@ function Fo() {
1137
1138
  "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."
1138
1139
  )), c = this.props.ref, c !== void 0 ? c : null;
1139
1140
  }
1140
- function g(c, y, A, v, T, b) {
1141
+ function h(c, y, A, v, k, b) {
1141
1142
  var m = A.ref;
1142
1143
  return c = {
1143
1144
  $$typeof: C,
@@ -1162,7 +1163,7 @@ function Fo() {
1162
1163
  configurable: !1,
1163
1164
  enumerable: !1,
1164
1165
  writable: !0,
1165
- value: T
1166
+ value: k
1166
1167
  }), Object.defineProperty(c, "_debugTask", {
1167
1168
  configurable: !1,
1168
1169
  enumerable: !1,
@@ -1170,7 +1171,7 @@ function Fo() {
1170
1171
  value: b
1171
1172
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
1172
1173
  }
1173
- function x(c, y, A, v, T, b) {
1174
+ function x(c, y, A, v, k, b) {
1174
1175
  var m = y.children;
1175
1176
  if (m !== void 0)
1176
1177
  if (v)
@@ -1209,12 +1210,12 @@ React keys must be passed directly to JSX without using spread:
1209
1210
  return m && u(
1210
1211
  A,
1211
1212
  typeof c == "function" ? c.displayName || c.name || "Unknown" : c
1212
- ), g(
1213
+ ), h(
1213
1214
  c,
1214
1215
  m,
1215
1216
  A,
1216
1217
  o(),
1217
- T,
1218
+ k,
1218
1219
  b
1219
1220
  );
1220
1221
  }
@@ -1224,19 +1225,19 @@ React keys must be passed directly to JSX without using spread:
1224
1225
  function w(c) {
1225
1226
  return typeof c == "object" && c !== null && c.$$typeof === C;
1226
1227
  }
1227
- var h = tt, C = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), l = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, N = console.createTask ? console.createTask : function() {
1228
+ var g = tt, C = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), l = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, U = console.createTask ? console.createTask : function() {
1228
1229
  return null;
1229
1230
  };
1230
- h = {
1231
+ g = {
1231
1232
  react_stack_bottom_frame: function(c) {
1232
1233
  return c();
1233
1234
  }
1234
1235
  };
1235
- var D, J = {}, ne = h.react_stack_bottom_frame.bind(
1236
- h,
1236
+ var D, J = {}, ne = g.react_stack_bottom_frame.bind(
1237
+ g,
1237
1238
  a
1238
- )(), ue = N(n(a)), i = {};
1239
- nr.Fragment = k, nr.jsx = function(c, y, A) {
1239
+ )(), ue = U(n(a)), i = {};
1240
+ nr.Fragment = T, nr.jsx = function(c, y, A) {
1240
1241
  var v = 1e4 > l.recentlyCreatedOwnerStacks++;
1241
1242
  return x(
1242
1243
  c,
@@ -1244,7 +1245,7 @@ React keys must be passed directly to JSX without using spread:
1244
1245
  A,
1245
1246
  !1,
1246
1247
  v ? Error("react-stack-top-frame") : ne,
1247
- v ? N(n(c)) : ue
1248
+ v ? U(n(c)) : ue
1248
1249
  );
1249
1250
  }, nr.jsxs = function(c, y, A) {
1250
1251
  var v = 1e4 > l.recentlyCreatedOwnerStacks++;
@@ -1254,14 +1255,14 @@ React keys must be passed directly to JSX without using spread:
1254
1255
  A,
1255
1256
  !0,
1256
1257
  v ? Error("react-stack-top-frame") : ne,
1257
- v ? N(n(c)) : ue
1258
+ v ? U(n(c)) : ue
1258
1259
  );
1259
1260
  };
1260
1261
  })()), nr;
1261
1262
  }
1262
- var kt;
1263
+ var Tt;
1263
1264
  function zo() {
1264
- return kt || (kt = 1, process.env.NODE_ENV === "production" ? pr.exports = Vo() : pr.exports = Fo()), pr.exports;
1265
+ return Tt || (Tt = 1, process.env.NODE_ENV === "production" ? pr.exports = Vo() : pr.exports = Fo()), pr.exports;
1265
1266
  }
1266
1267
  var d = zo();
1267
1268
  const Sn = Zn(null);
@@ -1623,7 +1624,7 @@ const ea = (e) => ({
1623
1624
  }
1624
1625
  }
1625
1626
  }
1626
- }), Tt = {
1627
+ }), kt = {
1627
1628
  hours: "Horas",
1628
1629
  minutes: "Minutos",
1629
1630
  seconds: "Segundos",
@@ -1654,12 +1655,12 @@ const ea = (e) => ({
1654
1655
  timePickerToolbarTitle: "Seleccionar hora",
1655
1656
  dateRangePickerToolbarTitle: "Seleccionar rango de fecha",
1656
1657
  // Clock labels
1657
- clockLabelText: (e, r, t, n) => `Seleccione ${Tt[e]}. ${!n && (r === null || !t.isValid(r)) ? "No hay hora seleccionada" : `La hora seleccionada es ${n ?? t.format(r, "fullTime")}`}`,
1658
+ clockLabelText: (e, r, t, n) => `Seleccione ${kt[e]}. ${!n && (r === null || !t.isValid(r)) ? "No hay hora seleccionada" : `La hora seleccionada es ${n ?? t.format(r, "fullTime")}`}`,
1658
1659
  hoursClockNumberText: (e) => `${e} horas`,
1659
1660
  minutesClockNumberText: (e) => `${e} minutos`,
1660
1661
  secondsClockNumberText: (e) => `${e} segundos`,
1661
1662
  // Digital clock labels
1662
- selectViewText: (e) => `Seleccionar ${Tt[e]}`,
1663
+ selectViewText: (e) => `Seleccionar ${kt[e]}`,
1663
1664
  // Calendar labels
1664
1665
  calendarWeekNumberHeaderLabel: "Número de semana",
1665
1666
  calendarWeekNumberHeaderText: "#",
@@ -1987,13 +1988,13 @@ let lt = no(
1987
1988
  lt = oo(lt);
1988
1989
  const _t = (e) => {
1989
1990
  let r;
1990
- const t = /* @__PURE__ */ new Set(), n = (g, x) => {
1991
- const E = typeof g == "function" ? g(r) : g;
1991
+ const t = /* @__PURE__ */ new Set(), n = (h, x) => {
1992
+ const E = typeof h == "function" ? h(r) : h;
1992
1993
  if (!Object.is(E, r)) {
1993
1994
  const w = r;
1994
- r = x ?? (typeof E != "object" || E === null) ? E : Object.assign({}, r, E), t.forEach((h) => h(r, w));
1995
+ r = x ?? (typeof E != "object" || E === null) ? E : Object.assign({}, r, E), t.forEach((g) => g(r, w));
1995
1996
  }
1996
- }, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (g) => (t.add(g), () => t.delete(g)) }, f = r = e(n, o, u);
1997
+ }, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (h) => (t.add(h), () => t.delete(h)) }, f = r = e(n, o, u);
1997
1998
  return u;
1998
1999
  }, aa = (e) => e ? _t(e) : _t, ia = (e) => e;
1999
2000
  function sa(e, r = ia) {
@@ -2026,8 +2027,8 @@ const Rt = (e) => {
2026
2027
  });
2027
2028
  }
2028
2029
  })
2029
- ), kn = xr, je = (e, r) => {
2030
- const t = kn(
2030
+ ), Tn = xr, je = (e, r) => {
2031
+ const t = Tn(
2031
2032
  (s) => s.toolbar.includes(e) || s.cargando.includes(e)
2032
2033
  ), n = ye(
2033
2034
  (s) => xr.getState().set(e, s, r),
@@ -2040,19 +2041,19 @@ const Rt = (e) => {
2040
2041
  () => [t, { setCargando: n, toogleCargando: o }],
2041
2042
  [t, n, o]
2042
2043
  );
2043
- }, Te = Rr(() => ({
2044
+ }, ke = Rr(() => ({
2044
2045
  abierto: !0,
2045
2046
  cargando: !0,
2046
2047
  toolbar: !0,
2047
2048
  inhabilitado: !1
2048
- })), Be = Te, Pc = (e) => Te.setState({
2049
- inhabilitado: typeof e == "boolean" ? e : e(Te.getState().inhabilitado)
2050
- }), jc = (e, r) => Te.setState({ seleccion: { menu: e, submenu: r } }), ca = ({
2049
+ })), Be = ke, Pc = (e) => ke.setState({
2050
+ inhabilitado: typeof e == "boolean" ? e : e(ke.getState().inhabilitado)
2051
+ }), jc = (e, r) => ke.setState({ seleccion: { menu: e, submenu: r } }), ca = ({
2051
2052
  subMenu: e,
2052
2053
  menu: r,
2053
2054
  LinkComponent: t
2054
2055
  }) => {
2055
- const [n, o] = Tr(!1), a = Be(
2056
+ const [n, o] = kr(!1), a = Be(
2056
2057
  ({ seleccion: f }) => r === (f == null ? void 0 : f.menu) && (f == null ? void 0 : f.submenu) === e.id
2057
2058
  ), s = ye(
2058
2059
  (f) => {
@@ -2073,7 +2074,7 @@ const Rt = (e) => {
2073
2074
  sx: [{ px: 3 }],
2074
2075
  ...e.to ? { to: e.to } : {},
2075
2076
  LinkComponent: t,
2076
- onClick: () => Te.setState({ seleccion: { menu: r, submenu: e.id } }),
2077
+ onClick: () => ke.setState({ seleccion: { menu: r, submenu: e.id } }),
2077
2078
  children: [
2078
2079
  u,
2079
2080
  /* @__PURE__ */ d.jsx(
@@ -2104,7 +2105,7 @@ const Rt = (e) => {
2104
2105
  separar: r,
2105
2106
  LinkComponent: t
2106
2107
  }) => {
2107
- const [n, o] = Tr(!1), a = Be(
2108
+ const [n, o] = kr(!1), a = Be(
2108
2109
  ({ seleccion: f }) => (f == null ? void 0 : f.menu) === e.id
2109
2110
  ), s = ye(
2110
2111
  (f) => {
@@ -2137,7 +2138,7 @@ const Rt = (e) => {
2137
2138
  ...Oe,
2138
2139
  ...e.to ? { to: e.to } : {},
2139
2140
  LinkComponent: t,
2140
- onClick: () => Te.setState({ seleccion: { menu: e.id } }),
2141
+ onClick: () => ke.setState({ seleccion: { menu: e.id } }),
2141
2142
  sx: [
2142
2143
  { px: 3 },
2143
2144
  ...Array.isArray(Oe == null ? void 0 : Oe.sx) ? Oe.sx : [Oe == null ? void 0 : Oe.sx]
@@ -2306,7 +2307,7 @@ const Rt = (e) => {
2306
2307
  ) }) })
2307
2308
  ] }) })
2308
2309
  ] }) : e.map((a, s) => {
2309
- var u, f, g;
2310
+ var u, f, h;
2310
2311
  return /* @__PURE__ */ eo(
2311
2312
  la,
2312
2313
  {
@@ -2314,7 +2315,7 @@ const Rt = (e) => {
2314
2315
  key: `MENU_ITEM_DRAWER_${a.id}`,
2315
2316
  menu: a,
2316
2317
  LinkComponent: r,
2317
- separar: !!((f = (u = e[s + 1]) == null ? void 0 : u.subMenus) != null && f.length || (g = a.subMenus) != null && g.length && s !== e.length - 1)
2318
+ separar: !!((f = (u = e[s + 1]) == null ? void 0 : u.subMenus) != null && f.length || (h = a.subMenus) != null && h.length && s !== e.length - 1)
2318
2319
  }
2319
2320
  );
2320
2321
  })
@@ -2431,7 +2432,7 @@ var It;
2431
2432
  function ga() {
2432
2433
  if (It) return G;
2433
2434
  It = 1;
2434
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2435
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2435
2436
  function B(_) {
2436
2437
  if (typeof _ == "object" && _ !== null) {
2437
2438
  var L = _.$$typeof;
@@ -2439,7 +2440,7 @@ function ga() {
2439
2440
  case r:
2440
2441
  switch (_ = _.type, _) {
2441
2442
  case f:
2442
- case g:
2443
+ case h:
2443
2444
  case n:
2444
2445
  case a:
2445
2446
  case o:
@@ -2450,7 +2451,7 @@ function ga() {
2450
2451
  case u:
2451
2452
  case x:
2452
2453
  case C:
2453
- case h:
2454
+ case g:
2454
2455
  case s:
2455
2456
  return _;
2456
2457
  default:
@@ -2463,9 +2464,9 @@ function ga() {
2463
2464
  }
2464
2465
  }
2465
2466
  function $(_) {
2466
- return B(_) === g;
2467
+ return B(_) === h;
2467
2468
  }
2468
- return G.AsyncMode = f, G.ConcurrentMode = g, G.ContextConsumer = u, G.ContextProvider = s, G.Element = r, G.ForwardRef = x, G.Fragment = n, G.Lazy = C, G.Memo = h, G.Portal = t, G.Profiler = a, G.StrictMode = o, G.Suspense = E, G.isAsyncMode = function(_) {
2469
+ return G.AsyncMode = f, G.ConcurrentMode = h, G.ContextConsumer = u, G.ContextProvider = s, G.Element = r, G.ForwardRef = x, G.Fragment = n, G.Lazy = C, G.Memo = g, G.Portal = t, G.Profiler = a, G.StrictMode = o, G.Suspense = E, G.isAsyncMode = function(_) {
2469
2470
  return $(_) || B(_) === f;
2470
2471
  }, G.isConcurrentMode = $, G.isContextConsumer = function(_) {
2471
2472
  return B(_) === u;
@@ -2480,7 +2481,7 @@ function ga() {
2480
2481
  }, G.isLazy = function(_) {
2481
2482
  return B(_) === C;
2482
2483
  }, G.isMemo = function(_) {
2483
- return B(_) === h;
2484
+ return B(_) === g;
2484
2485
  }, G.isPortal = function(_) {
2485
2486
  return B(_) === t;
2486
2487
  }, G.isProfiler = function(_) {
@@ -2490,7 +2491,7 @@ function ga() {
2490
2491
  }, G.isSuspense = function(_) {
2491
2492
  return B(_) === E;
2492
2493
  }, G.isValidElementType = function(_) {
2493
- return typeof _ == "string" || typeof _ == "function" || _ === n || _ === g || _ === a || _ === o || _ === E || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === C || _.$$typeof === h || _.$$typeof === s || _.$$typeof === u || _.$$typeof === x || _.$$typeof === k || _.$$typeof === U || _.$$typeof === V || _.$$typeof === p);
2494
+ return typeof _ == "string" || typeof _ == "function" || _ === n || _ === h || _ === a || _ === o || _ === E || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === C || _.$$typeof === g || _.$$typeof === s || _.$$typeof === u || _.$$typeof === x || _.$$typeof === T || _.$$typeof === N || _.$$typeof === V || _.$$typeof === p);
2494
2495
  }, G.typeOf = B, G;
2495
2496
  }
2496
2497
  var Y = {};
@@ -2505,10 +2506,10 @@ var Y = {};
2505
2506
  var Pt;
2506
2507
  function ya() {
2507
2508
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && (function() {
2508
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2509
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
2509
2510
  function B(I) {
2510
2511
  return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2511
- I === n || I === g || I === a || I === o || I === E || I === w || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === h || I.$$typeof === s || I.$$typeof === u || I.$$typeof === x || I.$$typeof === k || I.$$typeof === U || I.$$typeof === V || I.$$typeof === p);
2512
+ I === n || I === h || I === a || I === o || I === E || I === w || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === g || I.$$typeof === s || I.$$typeof === u || I.$$typeof === x || I.$$typeof === T || I.$$typeof === N || I.$$typeof === V || I.$$typeof === p);
2512
2513
  }
2513
2514
  function $(I) {
2514
2515
  if (typeof I == "object" && I !== null) {
@@ -2518,7 +2519,7 @@ function ya() {
2518
2519
  var de = I.type;
2519
2520
  switch (de) {
2520
2521
  case f:
2521
- case g:
2522
+ case h:
2522
2523
  case n:
2523
2524
  case a:
2524
2525
  case o:
@@ -2530,7 +2531,7 @@ function ya() {
2530
2531
  case u:
2531
2532
  case x:
2532
2533
  case C:
2533
- case h:
2534
+ case g:
2534
2535
  case s:
2535
2536
  return He;
2536
2537
  default:
@@ -2542,12 +2543,12 @@ function ya() {
2542
2543
  }
2543
2544
  }
2544
2545
  }
2545
- var _ = f, L = g, W = u, F = s, X = r, se = x, H = n, l = C, M = h, O = t, N = a, D = o, J = E, ne = !1;
2546
+ var _ = f, L = h, W = u, F = s, X = r, se = x, H = n, l = C, M = g, O = t, U = a, D = o, J = E, ne = !1;
2546
2547
  function ue(I) {
2547
2548
  return ne || (ne = !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.")), i(I) || $(I) === f;
2548
2549
  }
2549
2550
  function i(I) {
2550
- return $(I) === g;
2551
+ return $(I) === h;
2551
2552
  }
2552
2553
  function c(I) {
2553
2554
  return $(I) === u;
@@ -2561,14 +2562,14 @@ function ya() {
2561
2562
  function v(I) {
2562
2563
  return $(I) === x;
2563
2564
  }
2564
- function T(I) {
2565
+ function k(I) {
2565
2566
  return $(I) === n;
2566
2567
  }
2567
2568
  function b(I) {
2568
2569
  return $(I) === C;
2569
2570
  }
2570
2571
  function m(I) {
2571
- return $(I) === h;
2572
+ return $(I) === g;
2572
2573
  }
2573
2574
  function R(I) {
2574
2575
  return $(I) === t;
@@ -2582,11 +2583,11 @@ function ya() {
2582
2583
  function z(I) {
2583
2584
  return $(I) === E;
2584
2585
  }
2585
- Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = c, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = v, Y.isFragment = T, Y.isLazy = b, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = $;
2586
+ Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler = U, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = c, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = v, Y.isFragment = k, Y.isLazy = b, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = $;
2586
2587
  })()), Y;
2587
2588
  }
2588
2589
  var jt;
2589
- function Tn() {
2590
+ function kn() {
2590
2591
  return jt || (jt = 1, process.env.NODE_ENV === "production" ? hr.exports = ga() : hr.exports = ya()), hr.exports;
2591
2592
  }
2592
2593
  /*
@@ -2618,23 +2619,23 @@ function ba() {
2618
2619
  });
2619
2620
  if (f.join("") !== "0123456789")
2620
2621
  return !1;
2621
- var g = {};
2622
+ var h = {};
2622
2623
  return "abcdefghijklmnopqrst".split("").forEach(function(x) {
2623
- g[x] = x;
2624
- }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
2624
+ h[x] = x;
2625
+ }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
2625
2626
  } catch {
2626
2627
  return !1;
2627
2628
  }
2628
2629
  }
2629
2630
  return Hr = o() ? Object.assign : function(a, s) {
2630
- for (var u, f = n(a), g, x = 1; x < arguments.length; x++) {
2631
+ for (var u, f = n(a), h, x = 1; x < arguments.length; x++) {
2631
2632
  u = Object(arguments[x]);
2632
2633
  for (var E in u)
2633
2634
  r.call(u, E) && (f[E] = u[E]);
2634
2635
  if (e) {
2635
- g = e(u);
2636
- for (var w = 0; w < g.length; w++)
2637
- t.call(u, g[w]) && (f[g[w]] = u[g[w]]);
2636
+ h = e(u);
2637
+ for (var w = 0; w < h.length; w++)
2638
+ t.call(u, h[w]) && (f[h[w]] = u[h[w]]);
2638
2639
  }
2639
2640
  }
2640
2641
  return f;
@@ -2651,10 +2652,10 @@ var Qr, Lt;
2651
2652
  function _n() {
2652
2653
  return Lt || (Lt = 1, Qr = Function.call.bind(Object.prototype.hasOwnProperty)), Qr;
2653
2654
  }
2654
- var Jr, Ut;
2655
+ var Jr, Nt;
2655
2656
  function Aa() {
2656
- if (Ut) return Jr;
2657
- Ut = 1;
2657
+ if (Nt) return Jr;
2658
+ Nt = 1;
2658
2659
  var e = function() {
2659
2660
  };
2660
2661
  if (process.env.NODE_ENV !== "production") {
@@ -2668,7 +2669,7 @@ function Aa() {
2668
2669
  }
2669
2670
  };
2670
2671
  }
2671
- function o(a, s, u, f, g) {
2672
+ function o(a, s, u, f, h) {
2672
2673
  if (process.env.NODE_ENV !== "production") {
2673
2674
  for (var x in a)
2674
2675
  if (n(a, x)) {
@@ -2688,9 +2689,9 @@ function Aa() {
2688
2689
  (f || "React class") + ": type specification of " + u + " `" + x + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2689
2690
  ), E instanceof Error && !(E.message in t)) {
2690
2691
  t[E.message] = !0;
2691
- var h = g ? g() : "";
2692
+ var g = h ? h() : "";
2692
2693
  e(
2693
- "Failed " + u + " type: " + E.message + (h ?? "")
2694
+ "Failed " + u + " type: " + E.message + (g ?? "")
2694
2695
  );
2695
2696
  }
2696
2697
  }
@@ -2700,11 +2701,11 @@ function Aa() {
2700
2701
  process.env.NODE_ENV !== "production" && (t = {});
2701
2702
  }, Jr = o, Jr;
2702
2703
  }
2703
- var Gr, Nt;
2704
+ var Gr, Ut;
2704
2705
  function va() {
2705
- if (Nt) return Gr;
2706
- Nt = 1;
2707
- var e = Tn(), r = ba(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ _n(), o = /* @__PURE__ */ Aa(), a = function() {
2706
+ if (Ut) return Gr;
2707
+ Ut = 1;
2708
+ var e = kn(), r = ba(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ _n(), o = /* @__PURE__ */ Aa(), a = function() {
2708
2709
  };
2709
2710
  process.env.NODE_ENV !== "production" && (a = function(u) {
2710
2711
  var f = "Warning: " + u;
@@ -2718,21 +2719,21 @@ function va() {
2718
2719
  return null;
2719
2720
  }
2720
2721
  return Gr = function(u, f) {
2721
- var g = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
2722
+ var h = typeof Symbol == "function" && Symbol.iterator, x = "@@iterator";
2722
2723
  function E(i) {
2723
- var c = i && (g && i[g] || i[x]);
2724
+ var c = i && (h && i[h] || i[x]);
2724
2725
  if (typeof c == "function")
2725
2726
  return c;
2726
2727
  }
2727
- var w = "<<anonymous>>", h = {
2728
- array: U("array"),
2729
- bigint: U("bigint"),
2730
- bool: U("boolean"),
2731
- func: U("function"),
2732
- number: U("number"),
2733
- object: U("object"),
2734
- string: U("string"),
2735
- symbol: U("symbol"),
2728
+ var w = "<<anonymous>>", g = {
2729
+ array: N("array"),
2730
+ bigint: N("bigint"),
2731
+ bool: N("boolean"),
2732
+ func: N("function"),
2733
+ number: N("number"),
2734
+ object: N("object"),
2735
+ string: N("string"),
2736
+ symbol: N("symbol"),
2736
2737
  any: V(),
2737
2738
  arrayOf: B,
2738
2739
  element: $(),
@@ -2752,10 +2753,10 @@ function va() {
2752
2753
  this.message = i, this.data = c && typeof c == "object" ? c : {}, this.stack = "";
2753
2754
  }
2754
2755
  p.prototype = Error.prototype;
2755
- function k(i) {
2756
+ function T(i) {
2756
2757
  if (process.env.NODE_ENV !== "production")
2757
2758
  var c = {}, y = 0;
2758
- function A(T, b, m, R, j, P, z) {
2759
+ function A(k, b, m, R, j, P, z) {
2759
2760
  if (R = R || w, P = P || m, z !== t) {
2760
2761
  if (f) {
2761
2762
  var I = new Error(
@@ -2770,84 +2771,84 @@ function va() {
2770
2771
  ), c[ce] = !0, y++);
2771
2772
  }
2772
2773
  }
2773
- return b[m] == null ? T ? b[m] === null ? new p("The " + j + " `" + P + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new p("The " + j + " `" + P + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : i(b, m, R, j, P);
2774
+ return b[m] == null ? k ? b[m] === null ? new p("The " + j + " `" + P + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new p("The " + j + " `" + P + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : i(b, m, R, j, P);
2774
2775
  }
2775
2776
  var v = A.bind(null, !1);
2776
2777
  return v.isRequired = A.bind(null, !0), v;
2777
2778
  }
2778
- function U(i) {
2779
- function c(y, A, v, T, b, m) {
2779
+ function N(i) {
2780
+ function c(y, A, v, k, b, m) {
2780
2781
  var R = y[A], j = D(R);
2781
2782
  if (j !== i) {
2782
2783
  var P = J(R);
2783
2784
  return new p(
2784
- "Invalid " + T + " `" + b + "` of type " + ("`" + P + "` supplied to `" + v + "`, expected ") + ("`" + i + "`."),
2785
+ "Invalid " + k + " `" + b + "` of type " + ("`" + P + "` supplied to `" + v + "`, expected ") + ("`" + i + "`."),
2785
2786
  { expectedType: i }
2786
2787
  );
2787
2788
  }
2788
2789
  return null;
2789
2790
  }
2790
- return k(c);
2791
+ return T(c);
2791
2792
  }
2792
2793
  function V() {
2793
- return k(s);
2794
+ return T(s);
2794
2795
  }
2795
2796
  function B(i) {
2796
- function c(y, A, v, T, b) {
2797
+ function c(y, A, v, k, b) {
2797
2798
  if (typeof i != "function")
2798
2799
  return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
2799
2800
  var m = y[A];
2800
2801
  if (!Array.isArray(m)) {
2801
2802
  var R = D(m);
2802
- return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an array."));
2803
+ return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an array."));
2803
2804
  }
2804
2805
  for (var j = 0; j < m.length; j++) {
2805
- var P = i(m, j, v, T, b + "[" + j + "]", t);
2806
+ var P = i(m, j, v, k, b + "[" + j + "]", t);
2806
2807
  if (P instanceof Error)
2807
2808
  return P;
2808
2809
  }
2809
2810
  return null;
2810
2811
  }
2811
- return k(c);
2812
+ return T(c);
2812
2813
  }
2813
2814
  function $() {
2814
- function i(c, y, A, v, T) {
2815
+ function i(c, y, A, v, k) {
2815
2816
  var b = c[y];
2816
2817
  if (!u(b)) {
2817
2818
  var m = D(b);
2818
- return new p("Invalid " + v + " `" + T + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
2819
+ return new p("Invalid " + v + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
2819
2820
  }
2820
2821
  return null;
2821
2822
  }
2822
- return k(i);
2823
+ return T(i);
2823
2824
  }
2824
2825
  function _() {
2825
- function i(c, y, A, v, T) {
2826
+ function i(c, y, A, v, k) {
2826
2827
  var b = c[y];
2827
2828
  if (!e.isValidElementType(b)) {
2828
2829
  var m = D(b);
2829
- return new p("Invalid " + v + " `" + T + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
2830
+ return new p("Invalid " + v + " `" + k + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
2830
2831
  }
2831
2832
  return null;
2832
2833
  }
2833
- return k(i);
2834
+ return T(i);
2834
2835
  }
2835
2836
  function L(i) {
2836
- function c(y, A, v, T, b) {
2837
+ function c(y, A, v, k, b) {
2837
2838
  if (!(y[A] instanceof i)) {
2838
2839
  var m = i.name || w, R = ue(y[A]);
2839
- return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected ") + ("instance of `" + m + "`."));
2840
+ return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected ") + ("instance of `" + m + "`."));
2840
2841
  }
2841
2842
  return null;
2842
2843
  }
2843
- return k(c);
2844
+ return T(c);
2844
2845
  }
2845
2846
  function W(i) {
2846
2847
  if (!Array.isArray(i))
2847
2848
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2848
2849
  "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])."
2849
2850
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
2850
- function c(y, A, v, T, b) {
2851
+ function c(y, A, v, k, b) {
2851
2852
  for (var m = y[A], R = 0; R < i.length; R++)
2852
2853
  if (C(m, i[R]))
2853
2854
  return null;
@@ -2855,26 +2856,26 @@ function va() {
2855
2856
  var ce = J(I);
2856
2857
  return ce === "symbol" ? String(I) : I;
2857
2858
  });
2858
- return new p("Invalid " + T + " `" + b + "` of value `" + String(m) + "` " + ("supplied to `" + v + "`, expected one of " + j + "."));
2859
+ return new p("Invalid " + k + " `" + b + "` of value `" + String(m) + "` " + ("supplied to `" + v + "`, expected one of " + j + "."));
2859
2860
  }
2860
- return k(c);
2861
+ return T(c);
2861
2862
  }
2862
2863
  function F(i) {
2863
- function c(y, A, v, T, b) {
2864
+ function c(y, A, v, k, b) {
2864
2865
  if (typeof i != "function")
2865
2866
  return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
2866
2867
  var m = y[A], R = D(m);
2867
2868
  if (R !== "object")
2868
- return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an object."));
2869
+ return new p("Invalid " + k + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an object."));
2869
2870
  for (var j in m)
2870
2871
  if (n(m, j)) {
2871
- var P = i(m, j, v, T, b + "." + j, t);
2872
+ var P = i(m, j, v, k, b + "." + j, t);
2872
2873
  if (P instanceof Error)
2873
2874
  return P;
2874
2875
  }
2875
2876
  return null;
2876
2877
  }
2877
- return k(c);
2878
+ return T(c);
2878
2879
  }
2879
2880
  function X(i) {
2880
2881
  if (!Array.isArray(i))
@@ -2886,9 +2887,9 @@ function va() {
2886
2887
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(y) + " at index " + c + "."
2887
2888
  ), s;
2888
2889
  }
2889
- function A(v, T, b, m, R) {
2890
+ function A(v, k, b, m, R) {
2890
2891
  for (var j = [], P = 0; P < i.length; P++) {
2891
- var z = i[P], I = z(v, T, b, m, R, t);
2892
+ var z = i[P], I = z(v, k, b, m, R, t);
2892
2893
  if (I == null)
2893
2894
  return null;
2894
2895
  I.data && n(I.data, "expectedType") && j.push(I.data.expectedType);
@@ -2896,13 +2897,13 @@ function va() {
2896
2897
  var ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
2897
2898
  return new p("Invalid " + m + " `" + R + "` supplied to " + ("`" + b + "`" + ce + "."));
2898
2899
  }
2899
- return k(A);
2900
+ return T(A);
2900
2901
  }
2901
2902
  function se() {
2902
- function i(c, y, A, v, T) {
2903
- return O(c[y]) ? null : new p("Invalid " + v + " `" + T + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
2903
+ function i(c, y, A, v, k) {
2904
+ return O(c[y]) ? null : new p("Invalid " + v + " `" + k + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
2904
2905
  }
2905
- return k(i);
2906
+ return T(i);
2906
2907
  }
2907
2908
  function H(i, c, y, A, v) {
2908
2909
  return new p(
@@ -2910,44 +2911,44 @@ function va() {
2910
2911
  );
2911
2912
  }
2912
2913
  function l(i) {
2913
- function c(y, A, v, T, b) {
2914
+ function c(y, A, v, k, b) {
2914
2915
  var m = y[A], R = D(m);
2915
2916
  if (R !== "object")
2916
- return new p("Invalid " + T + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
2917
+ return new p("Invalid " + k + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
2917
2918
  for (var j in i) {
2918
2919
  var P = i[j];
2919
2920
  if (typeof P != "function")
2920
- return H(v, T, b, j, J(P));
2921
- var z = P(m, j, v, T, b + "." + j, t);
2921
+ return H(v, k, b, j, J(P));
2922
+ var z = P(m, j, v, k, b + "." + j, t);
2922
2923
  if (z)
2923
2924
  return z;
2924
2925
  }
2925
2926
  return null;
2926
2927
  }
2927
- return k(c);
2928
+ return T(c);
2928
2929
  }
2929
2930
  function M(i) {
2930
- function c(y, A, v, T, b) {
2931
+ function c(y, A, v, k, b) {
2931
2932
  var m = y[A], R = D(m);
2932
2933
  if (R !== "object")
2933
- return new p("Invalid " + T + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
2934
+ return new p("Invalid " + k + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
2934
2935
  var j = r({}, y[A], i);
2935
2936
  for (var P in j) {
2936
2937
  var z = i[P];
2937
2938
  if (n(i, P) && typeof z != "function")
2938
- return H(v, T, b, P, J(z));
2939
+ return H(v, k, b, P, J(z));
2939
2940
  if (!z)
2940
2941
  return new p(
2941
- "Invalid " + T + " `" + b + "` key `" + P + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(y[A], null, " ") + `
2942
+ "Invalid " + k + " `" + b + "` key `" + P + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(y[A], null, " ") + `
2942
2943
  Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
2943
2944
  );
2944
- var I = z(m, P, v, T, b + "." + P, t);
2945
+ var I = z(m, P, v, k, b + "." + P, t);
2945
2946
  if (I)
2946
2947
  return I;
2947
2948
  }
2948
2949
  return null;
2949
2950
  }
2950
- return k(c);
2951
+ return T(c);
2951
2952
  }
2952
2953
  function O(i) {
2953
2954
  switch (typeof i) {
@@ -2982,12 +2983,12 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
2982
2983
  return !1;
2983
2984
  }
2984
2985
  }
2985
- function N(i, c) {
2986
+ function U(i, c) {
2986
2987
  return i === "symbol" ? !0 : c ? c["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && c instanceof Symbol : !1;
2987
2988
  }
2988
2989
  function D(i) {
2989
2990
  var c = typeof i;
2990
- return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : N(c, i) ? "symbol" : c;
2991
+ return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : U(c, i) ? "symbol" : c;
2991
2992
  }
2992
2993
  function J(i) {
2993
2994
  if (typeof i > "u" || i === null)
@@ -3018,7 +3019,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
3018
3019
  function ue(i) {
3019
3020
  return !i.constructor || !i.constructor.name ? w : i.constructor.name;
3020
3021
  }
3021
- return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
3022
+ return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
3022
3023
  }, Gr;
3023
3024
  }
3024
3025
  var Yr, Dt;
@@ -3031,7 +3032,7 @@ function Sa() {
3031
3032
  function t() {
3032
3033
  }
3033
3034
  return t.resetWarningCache = r, Yr = function() {
3034
- function n(s, u, f, g, x, E) {
3035
+ function n(s, u, f, h, x, E) {
3035
3036
  if (E !== e) {
3036
3037
  var w = new Error(
3037
3038
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -3073,7 +3074,7 @@ var Bt;
3073
3074
  function xa() {
3074
3075
  if (Bt) return mr.exports;
3075
3076
  if (Bt = 1, process.env.NODE_ENV !== "production") {
3076
- var e = Tn(), r = !0;
3077
+ var e = kn(), r = !0;
3077
3078
  mr.exports = /* @__PURE__ */ va()(e.isElement, r);
3078
3079
  } else
3079
3080
  mr.exports = /* @__PURE__ */ Sa()();
@@ -3100,8 +3101,8 @@ function Ea(e, r, t = void 0) {
3100
3101
  const a = e[o];
3101
3102
  let s = "", u = !0;
3102
3103
  for (let f = 0; f < a.length; f += 1) {
3103
- const g = a[f];
3104
- g && (s += (u === !0 ? "" : " ") + r(g), u = !1, t && t[g] && (s += " " + t[g]));
3104
+ const h = a[f];
3105
+ h && (s += (u === !0 ? "" : " ") + r(h), u = !1, t && t[h] && (s += " " + t[h]));
3105
3106
  }
3106
3107
  n[o] = s;
3107
3108
  }
@@ -3121,18 +3122,18 @@ var Vt;
3121
3122
  function Ca() {
3122
3123
  if (Vt) return ee;
3123
3124
  Vt = 1;
3124
- var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
3125
+ var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
3125
3126
  function C(p) {
3126
3127
  if (typeof p == "object" && p !== null) {
3127
- var k = p.$$typeof;
3128
- switch (k) {
3128
+ var T = p.$$typeof;
3129
+ switch (T) {
3129
3130
  case e:
3130
3131
  switch (p = p.type, p) {
3131
3132
  case t:
3132
3133
  case o:
3133
3134
  case n:
3134
3135
  case f:
3135
- case g:
3136
+ case h:
3136
3137
  case w:
3137
3138
  return p;
3138
3139
  default:
@@ -3145,15 +3146,15 @@ function Ca() {
3145
3146
  case a:
3146
3147
  return p;
3147
3148
  default:
3148
- return k;
3149
+ return T;
3149
3150
  }
3150
3151
  }
3151
3152
  case r:
3152
- return k;
3153
+ return T;
3153
3154
  }
3154
3155
  }
3155
3156
  }
3156
- return ee.ContextConsumer = a, ee.ContextProvider = s, ee.Element = e, ee.ForwardRef = u, ee.Fragment = t, ee.Lazy = E, ee.Memo = x, ee.Portal = r, ee.Profiler = o, ee.StrictMode = n, ee.Suspense = f, ee.SuspenseList = g, ee.isContextConsumer = function(p) {
3157
+ return ee.ContextConsumer = a, ee.ContextProvider = s, ee.Element = e, ee.ForwardRef = u, ee.Fragment = t, ee.Lazy = E, ee.Memo = x, ee.Portal = r, ee.Profiler = o, ee.StrictMode = n, ee.Suspense = f, ee.SuspenseList = h, ee.isContextConsumer = function(p) {
3157
3158
  return C(p) === a;
3158
3159
  }, ee.isContextProvider = function(p) {
3159
3160
  return C(p) === s;
@@ -3176,9 +3177,9 @@ function Ca() {
3176
3177
  }, ee.isSuspense = function(p) {
3177
3178
  return C(p) === f;
3178
3179
  }, ee.isSuspenseList = function(p) {
3179
- return C(p) === g;
3180
+ return C(p) === h;
3180
3181
  }, ee.isValidElementType = function(p) {
3181
- return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p === g || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === x || p.$$typeof === s || p.$$typeof === a || p.$$typeof === u || p.$$typeof === h || p.getModuleId !== void 0);
3182
+ return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p === h || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === x || p.$$typeof === s || p.$$typeof === a || p.$$typeof === u || p.$$typeof === g || p.getModuleId !== void 0);
3182
3183
  }, ee.typeOf = C, ee;
3183
3184
  }
3184
3185
  var re = {};
@@ -3192,20 +3193,20 @@ var re = {};
3192
3193
  * LICENSE file in the root directory of this source tree.
3193
3194
  */
3194
3195
  var Ft;
3195
- function ka() {
3196
+ function Ta() {
3196
3197
  return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
3197
3198
  function e(p) {
3198
3199
  if (typeof p == "object" && p !== null) {
3199
- var k = p.$$typeof;
3200
- switch (k) {
3200
+ var T = p.$$typeof;
3201
+ switch (T) {
3201
3202
  case r:
3202
3203
  switch (p = p.type, p) {
3203
3204
  case n:
3204
3205
  case a:
3205
3206
  case o:
3206
- case g:
3207
- case x:
3208
3207
  case h:
3208
+ case x:
3209
+ case g:
3209
3210
  return p;
3210
3211
  default:
3211
3212
  switch (p = p && p.$$typeof, p) {
@@ -3217,16 +3218,16 @@ function ka() {
3217
3218
  case s:
3218
3219
  return p;
3219
3220
  default:
3220
- return k;
3221
+ return T;
3221
3222
  }
3222
3223
  }
3223
3224
  case t:
3224
- return k;
3225
+ return T;
3225
3226
  }
3226
3227
  }
3227
3228
  }
3228
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), h = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
3229
- re.ContextConsumer = s, re.ContextProvider = u, re.Element = r, re.ForwardRef = f, re.Fragment = n, re.Lazy = w, re.Memo = E, re.Portal = t, re.Profiler = a, re.StrictMode = o, re.Suspense = g, re.SuspenseList = x, re.isContextConsumer = function(p) {
3229
+ var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), g = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
3230
+ re.ContextConsumer = s, re.ContextProvider = u, re.Element = r, re.ForwardRef = f, re.Fragment = n, re.Lazy = w, re.Memo = E, re.Portal = t, re.Profiler = a, re.StrictMode = o, re.Suspense = h, re.SuspenseList = x, re.isContextConsumer = function(p) {
3230
3231
  return e(p) === s;
3231
3232
  }, re.isContextProvider = function(p) {
3232
3233
  return e(p) === u;
@@ -3247,27 +3248,27 @@ function ka() {
3247
3248
  }, re.isStrictMode = function(p) {
3248
3249
  return e(p) === o;
3249
3250
  }, re.isSuspense = function(p) {
3250
- return e(p) === g;
3251
+ return e(p) === h;
3251
3252
  }, re.isSuspenseList = function(p) {
3252
3253
  return e(p) === x;
3253
3254
  }, re.isValidElementType = function(p) {
3254
- return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p === g || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === E || p.$$typeof === u || p.$$typeof === s || p.$$typeof === f || p.$$typeof === C || p.getModuleId !== void 0);
3255
+ return typeof p == "string" || typeof p == "function" || p === n || p === a || p === o || p === h || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === E || p.$$typeof === u || p.$$typeof === s || p.$$typeof === f || p.$$typeof === C || p.getModuleId !== void 0);
3255
3256
  }, re.typeOf = e;
3256
3257
  })()), re;
3257
3258
  }
3258
3259
  var zt;
3259
- function Ta() {
3260
- return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */ Ca() : gr.exports = /* @__PURE__ */ ka()), gr.exports;
3260
+ function ka() {
3261
+ return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */ Ca() : gr.exports = /* @__PURE__ */ Ta()), gr.exports;
3261
3262
  }
3262
- var wr = /* @__PURE__ */ Ta();
3263
- function ke(e) {
3263
+ var wr = /* @__PURE__ */ ka();
3264
+ function Te(e) {
3264
3265
  if (typeof e != "object" || e === null)
3265
3266
  return !1;
3266
3267
  const r = Object.getPrototypeOf(e);
3267
3268
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3268
3269
  }
3269
3270
  function In(e) {
3270
- if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !ke(e))
3271
+ if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !Te(e))
3271
3272
  return e;
3272
3273
  const r = {};
3273
3274
  return Object.keys(e).forEach((t) => {
@@ -3280,9 +3281,9 @@ function me(e, r, t = {
3280
3281
  const n = t.clone ? {
3281
3282
  ...e
3282
3283
  } : e;
3283
- return ke(e) && ke(r) && Object.keys(r).forEach((o) => {
3284
- /* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] : ke(r[o]) && // Avoid prototype pollution
3285
- Object.prototype.hasOwnProperty.call(e, o) && ke(e[o]) ? n[o] = me(e[o], r[o], t) : t.clone ? n[o] = ke(r[o]) ? In(r[o]) : r[o] : n[o] = r[o];
3284
+ return Te(e) && Te(r) && Object.keys(r).forEach((o) => {
3285
+ /* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] : Te(r[o]) && // Avoid prototype pollution
3286
+ Object.prototype.hasOwnProperty.call(e, o) && Te(e[o]) ? n[o] = me(e[o], r[o], t) : t.clone ? n[o] = Te(r[o]) ? In(r[o]) : r[o] : n[o] = r[o];
3286
3287
  }), n;
3287
3288
  }
3288
3289
  function lr(e, r) {
@@ -3422,10 +3423,10 @@ function ie(e) {
3422
3423
  } = e, a = (s) => {
3423
3424
  if (s[r] == null)
3424
3425
  return null;
3425
- const u = s[r], f = s.theme, g = Ir(f, n) || {};
3426
+ const u = s[r], f = s.theme, h = Ir(f, n) || {};
3426
3427
  return _e(s, u, (E) => {
3427
- let w = Er(g, o, E);
3428
- return E === w && typeof E == "string" && (w = Er(g, o, `${r}${E === "default" ? "" : ze(E)}`, E)), t === !1 ? w : {
3428
+ let w = Er(h, o, E);
3429
+ return E === w && typeof E == "string" && (w = Er(h, o, `${r}${E === "default" ? "" : ze(E)}`, E)), t === !1 ? w : {
3429
3430
  [t]: w
3430
3431
  };
3431
3432
  });
@@ -3461,7 +3462,7 @@ const $a = {
3461
3462
  return [e];
3462
3463
  const [r, t] = e.split(""), n = $a[r], o = Ma[t] || "";
3463
3464
  return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
3464
- }), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ua = [...Pr, ...jr];
3465
+ }), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Na = [...Pr, ...jr];
3465
3466
  function dr(e, r, t, n) {
3466
3467
  const o = Ir(e, r, !0) ?? t;
3467
3468
  return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
@@ -3483,13 +3484,13 @@ function bt(e) {
3483
3484
  function fr(e, r) {
3484
3485
  return typeof r == "string" || r == null ? r : e(r);
3485
3486
  }
3486
- function Na(e, r) {
3487
+ function Ua(e, r) {
3487
3488
  return (t) => e.reduce((n, o) => (n[o] = fr(r, t), n), {});
3488
3489
  }
3489
3490
  function Da(e, r, t, n) {
3490
3491
  if (!r.includes(t))
3491
3492
  return null;
3492
- const o = La(t), a = Na(o, n), s = e[t];
3493
+ const o = La(t), a = Ua(o, n), s = e[t];
3493
3494
  return _e(e, s, a);
3494
3495
  }
3495
3496
  function Pn(e, r) {
@@ -3506,7 +3507,7 @@ function ae(e) {
3506
3507
  }
3507
3508
  ae.propTypes = process.env.NODE_ENV !== "production" ? jr.reduce((e, r) => (e[r] = Le, e), {}) : {};
3508
3509
  ae.filterProps = jr;
3509
- process.env.NODE_ENV !== "production" && Ua.reduce((e, r) => (e[r] = Le, e), {});
3510
+ process.env.NODE_ENV !== "production" && Na.reduce((e, r) => (e[r] = Le, e), {});
3510
3511
  function $r(...e) {
3511
3512
  const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
3512
3513
  n[a] = o;
@@ -3550,7 +3551,7 @@ Lr.propTypes = process.env.NODE_ENV !== "production" ? {
3550
3551
  gap: Le
3551
3552
  } : {};
3552
3553
  Lr.filterProps = ["gap"];
3553
- const Ur = (e) => {
3554
+ const Nr = (e) => {
3554
3555
  if (e.columnGap !== void 0 && e.columnGap !== null) {
3555
3556
  const r = dr(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
3556
3557
  columnGap: fr(r, n)
@@ -3559,11 +3560,11 @@ const Ur = (e) => {
3559
3560
  }
3560
3561
  return null;
3561
3562
  };
3562
- Ur.propTypes = process.env.NODE_ENV !== "production" ? {
3563
+ Nr.propTypes = process.env.NODE_ENV !== "production" ? {
3563
3564
  columnGap: Le
3564
3565
  } : {};
3565
- Ur.filterProps = ["columnGap"];
3566
- const Nr = (e) => {
3566
+ Nr.filterProps = ["columnGap"];
3567
+ const Ur = (e) => {
3567
3568
  if (e.rowGap !== void 0 && e.rowGap !== null) {
3568
3569
  const r = dr(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
3569
3570
  rowGap: fr(r, n)
@@ -3572,10 +3573,10 @@ const Nr = (e) => {
3572
3573
  }
3573
3574
  return null;
3574
3575
  };
3575
- Nr.propTypes = process.env.NODE_ENV !== "production" ? {
3576
+ Ur.propTypes = process.env.NODE_ENV !== "production" ? {
3576
3577
  rowGap: Le
3577
3578
  } : {};
3578
- Nr.filterProps = ["rowGap"];
3579
+ Ur.filterProps = ["rowGap"];
3579
3580
  const Za = ie({
3580
3581
  prop: "gridColumn"
3581
3582
  }), Xa = ie({
@@ -3595,7 +3596,7 @@ const Za = ie({
3595
3596
  }), ii = ie({
3596
3597
  prop: "gridArea"
3597
3598
  });
3598
- $r(Lr, Ur, Nr, Za, Xa, ei, ri, ti, ni, oi, ai, ii);
3599
+ $r(Lr, Nr, Ur, Za, Xa, ei, ri, ti, ni, oi, ai, ii);
3599
3600
  function qe(e, r) {
3600
3601
  return r === "grey" ? r : e;
3601
3602
  }
@@ -3881,10 +3882,10 @@ const Dr = {
3881
3882
  style: Lr
3882
3883
  },
3883
3884
  rowGap: {
3884
- style: Nr
3885
+ style: Ur
3885
3886
  },
3886
3887
  columnGap: {
3887
- style: Ur
3888
+ style: Nr
3888
3889
  },
3889
3890
  gridColumn: {},
3890
3891
  gridRow: {},
@@ -3972,17 +3973,17 @@ function bi() {
3972
3973
  };
3973
3974
  const {
3974
3975
  cssProperty: f = t,
3975
- themeKey: g,
3976
+ themeKey: h,
3976
3977
  transform: x,
3977
3978
  style: E
3978
3979
  } = u;
3979
3980
  if (n == null)
3980
3981
  return null;
3981
- if (g === "typography" && n === "inherit")
3982
+ if (h === "typography" && n === "inherit")
3982
3983
  return {
3983
3984
  [t]: n
3984
3985
  };
3985
- const w = Ir(o, g) || {};
3986
+ const w = Ir(o, h) || {};
3986
3987
  return E ? E(s) : _e(s, n, (C) => {
3987
3988
  let p = Er(w, x, C);
3988
3989
  return C === p && typeof C == "string" && (p = Er(w, x, `${t}${C === "default" ? "" : ze(C)}`, C)), f === !1 ? p : {
@@ -4000,35 +4001,35 @@ function bi() {
4000
4001
  return null;
4001
4002
  const s = o.unstable_sxConfig ?? Dr;
4002
4003
  function u(f) {
4003
- let g = f;
4004
+ let h = f;
4004
4005
  if (typeof f == "function")
4005
- g = f(o);
4006
+ h = f(o);
4006
4007
  else if (typeof f != "object")
4007
4008
  return f;
4008
- if (!g)
4009
+ if (!h)
4009
4010
  return null;
4010
4011
  const x = Pa(o.breakpoints), E = Object.keys(x);
4011
4012
  let w = x;
4012
- return Object.keys(g).forEach((h) => {
4013
- const C = yi(g[h], o);
4013
+ return Object.keys(h).forEach((g) => {
4014
+ const C = yi(h[g], o);
4014
4015
  if (C != null)
4015
4016
  if (typeof C == "object")
4016
- if (s[h])
4017
- w = lr(w, e(h, C, o, s));
4017
+ if (s[g])
4018
+ w = lr(w, e(g, C, o, s));
4018
4019
  else {
4019
4020
  const p = _e({
4020
4021
  theme: o
4021
- }, C, (k) => ({
4022
- [h]: k
4022
+ }, C, (T) => ({
4023
+ [g]: T
4023
4024
  }));
4024
- gi(p, C) ? w[h] = r({
4025
+ gi(p, C) ? w[g] = r({
4025
4026
  sx: C,
4026
4027
  theme: o,
4027
4028
  nested: !0
4028
4029
  }) : w = lr(w, p);
4029
4030
  }
4030
4031
  else
4031
- w = lr(w, e(h, C, o, s));
4032
+ w = lr(w, e(g, C, o, s));
4032
4033
  }), !a && o.modularCssLayers ? {
4033
4034
  "@layer sx": Wt(o, Kt(E, w))
4034
4035
  } : Wt(o, Kt(E, w));
@@ -4186,15 +4187,15 @@ function Ei(e, r, t) {
4186
4187
  for (var f = 0; f < s.length; f++)
4187
4188
  Jt(s[f]) && (n += qr(a) + ":" + Gt(a, s[f]) + ";");
4188
4189
  else {
4189
- var g = Cr(e, r, s);
4190
+ var h = Cr(e, r, s);
4190
4191
  switch (a) {
4191
4192
  case "animation":
4192
4193
  case "animationName": {
4193
- n += qr(a) + ":" + g + ";";
4194
+ n += qr(a) + ":" + h + ";";
4194
4195
  break;
4195
4196
  }
4196
4197
  default:
4197
- n += a + "{" + g + "}";
4198
+ n += a + "{" + h + "}";
4198
4199
  }
4199
4200
  }
4200
4201
  }
@@ -4219,9 +4220,9 @@ function Ci(e, r, t) {
4219
4220
  o += f[u];
4220
4221
  }
4221
4222
  Yt.lastIndex = 0;
4222
- for (var g = "", x; (x = Yt.exec(o)) !== null; )
4223
- g += "-" + x[1];
4224
- var E = Ai(o) + g;
4223
+ for (var h = "", x; (x = Yt.exec(o)) !== null; )
4224
+ h += "-" + x[1];
4225
+ var E = Ai(o) + h;
4225
4226
  return {
4226
4227
  name: E,
4227
4228
  styles: o,
@@ -4235,7 +4236,7 @@ function Ci(e, r, t) {
4235
4236
  * This source code is licensed under the MIT license found in the
4236
4237
  * LICENSE file in the root directory of this source tree.
4237
4238
  */
4238
- function ki(e, r) {
4239
+ function Ti(e, r) {
4239
4240
  const t = bo(e, r);
4240
4241
  return process.env.NODE_ENV !== "production" ? (...n) => {
4241
4242
  const o = typeof e == "string" ? `"${e}"` : "component";
@@ -4243,7 +4244,7 @@ function ki(e, r) {
4243
4244
  `)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
4244
4245
  } : t;
4245
4246
  }
4246
- function Ti(e, r) {
4247
+ function ki(e, r) {
4247
4248
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
4248
4249
  }
4249
4250
  const qt = [];
@@ -4286,23 +4287,23 @@ function Ri(e) {
4286
4287
  function f(w) {
4287
4288
  return `@media (max-width:${(typeof r[w] == "number" ? r[w] : w) - n / 100}${t})`;
4288
4289
  }
4289
- function g(w, h) {
4290
- const C = s.indexOf(h);
4291
- return `@media (min-width:${typeof r[w] == "number" ? r[w] : w}${t}) and (max-width:${(C !== -1 && typeof r[s[C]] == "number" ? r[s[C]] : h) - n / 100}${t})`;
4290
+ function h(w, g) {
4291
+ const C = s.indexOf(g);
4292
+ return `@media (min-width:${typeof r[w] == "number" ? r[w] : w}${t}) and (max-width:${(C !== -1 && typeof r[s[C]] == "number" ? r[s[C]] : g) - n / 100}${t})`;
4292
4293
  }
4293
4294
  function x(w) {
4294
- return s.indexOf(w) + 1 < s.length ? g(w, s[s.indexOf(w) + 1]) : u(w);
4295
+ return s.indexOf(w) + 1 < s.length ? h(w, s[s.indexOf(w) + 1]) : u(w);
4295
4296
  }
4296
4297
  function E(w) {
4297
- const h = s.indexOf(w);
4298
- return h === 0 ? u(s[1]) : h === s.length - 1 ? f(s[h]) : g(w, s[s.indexOf(w) + 1]).replace("@media", "@media not all and");
4298
+ const g = s.indexOf(w);
4299
+ return g === 0 ? u(s[1]) : g === s.length - 1 ? f(s[g]) : h(w, s[s.indexOf(w) + 1]).replace("@media", "@media not all and");
4299
4300
  }
4300
4301
  return {
4301
4302
  keys: s,
4302
4303
  values: a,
4303
4304
  up: u,
4304
4305
  down: f,
4305
- between: g,
4306
+ between: h,
4306
4307
  only: x,
4307
4308
  not: E,
4308
4309
  unit: t,
@@ -4344,7 +4345,7 @@ function Mn(e = {}, ...r) {
4344
4345
  shape: a = {},
4345
4346
  ...s
4346
4347
  } = e, u = Ri(t), f = $n(o);
4347
- let g = me({
4348
+ let h = me({
4348
4349
  breakpoints: u,
4349
4350
  direction: "ltr",
4350
4351
  components: {},
@@ -4359,15 +4360,15 @@ function Mn(e = {}, ...r) {
4359
4360
  ...a
4360
4361
  }
4361
4362
  }, s);
4362
- return g = Oa(g), g.applyStyles = Ii, g = r.reduce((x, E) => me(x, E), g), g.unstable_sxConfig = {
4363
+ return h = Oa(h), h.applyStyles = Ii, h = r.reduce((x, E) => me(x, E), h), h.unstable_sxConfig = {
4363
4364
  ...Dr,
4364
4365
  ...s == null ? void 0 : s.unstable_sxConfig
4365
- }, g.unstable_sx = function(E) {
4366
+ }, h.unstable_sx = function(E) {
4366
4367
  return er({
4367
4368
  sx: E,
4368
4369
  theme: this
4369
4370
  });
4370
- }, g;
4371
+ }, h;
4371
4372
  }
4372
4373
  const Pi = {
4373
4374
  active: "active",
@@ -4417,7 +4418,7 @@ function $i(e) {
4417
4418
  }
4418
4419
  }
4419
4420
  }
4420
- function Un(e) {
4421
+ function Nn(e) {
4421
4422
  const {
4422
4423
  variants: r,
4423
4424
  ...t
@@ -4434,13 +4435,13 @@ const Mi = Mn();
4434
4435
  function Zr(e) {
4435
4436
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
4436
4437
  }
4437
- function Ne(e, r) {
4438
+ function Ue(e, r) {
4438
4439
  return r && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${r}{${String(e.styles)}}`), e;
4439
4440
  }
4440
4441
  function Li(e) {
4441
4442
  return e ? (r, t) => t[e] : null;
4442
4443
  }
4443
- function Ui(e, r, t) {
4444
+ function Ni(e, r, t) {
4444
4445
  e.theme = Vi(e.theme) ? t : e.theme[r] || e.theme;
4445
4446
  }
4446
4447
  function br(e, r, t) {
@@ -4450,19 +4451,19 @@ function br(e, r, t) {
4450
4451
  if (Array.isArray(n == null ? void 0 : n.variants)) {
4451
4452
  let o;
4452
4453
  if (n.isProcessed)
4453
- o = t ? Ne(n.style, t) : n.style;
4454
+ o = t ? Ue(n.style, t) : n.style;
4454
4455
  else {
4455
4456
  const {
4456
4457
  variants: a,
4457
4458
  ...s
4458
4459
  } = n;
4459
- o = t ? Ne(Ve(s), t) : s;
4460
+ o = t ? Ue(Ve(s), t) : s;
4460
4461
  }
4461
- return Nn(e, n.variants, [o], t);
4462
+ return Un(e, n.variants, [o], t);
4462
4463
  }
4463
- return n != null && n.isProcessed ? t ? Ne(Ve(n.style), t) : n.style : t ? Ne(Ve(n), t) : n;
4464
+ return n != null && n.isProcessed ? t ? Ue(Ve(n.style), t) : n.style : t ? Ue(Ve(n), t) : n;
4464
4465
  }
4465
- function Nn(e, r, t = [], n = void 0) {
4466
+ function Un(e, r, t = [], n = void 0) {
4466
4467
  var a;
4467
4468
  let o;
4468
4469
  e: for (let s = 0; s < r.length; s += 1) {
@@ -4482,11 +4483,11 @@ function Nn(e, r, t = [], n = void 0) {
4482
4483
  ...e,
4483
4484
  ...e.ownerState,
4484
4485
  ownerState: e.ownerState
4485
- }), t.push(n ? Ne(Ve(u.style(o)), n) : u.style(o))) : t.push(n ? Ne(Ve(u.style), n) : u.style);
4486
+ }), t.push(n ? Ue(Ve(u.style(o)), n) : u.style(o))) : t.push(n ? Ue(Ve(u.style), n) : u.style);
4486
4487
  }
4487
4488
  return t;
4488
4489
  }
4489
- function Ni(e = {}) {
4490
+ function Ui(e = {}) {
4490
4491
  const {
4491
4492
  themeId: r,
4492
4493
  defaultTheme: t = Mi,
@@ -4494,29 +4495,29 @@ function Ni(e = {}) {
4494
4495
  slotShouldForwardProp: o = Zr
4495
4496
  } = e;
4496
4497
  function a(u) {
4497
- Ui(u, r, t);
4498
+ Ni(u, r, t);
4498
4499
  }
4499
4500
  return (u, f = {}) => {
4500
- Ti(u, (L) => L.filter((W) => W !== er));
4501
+ ki(u, (L) => L.filter((W) => W !== er));
4501
4502
  const {
4502
- name: g,
4503
+ name: h,
4503
4504
  slot: x,
4504
4505
  skipVariantsResolver: E,
4505
4506
  skipSx: w,
4506
4507
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
4507
4508
  // For more details: https://github.com/mui/material-ui/pull/37908
4508
- overridesResolver: h = Li(Dn(x)),
4509
+ overridesResolver: g = Li(Dn(x)),
4509
4510
  ...C
4510
- } = f, p = g && g.startsWith("Mui") || x ? "components" : "custom", k = E !== void 0 ? E : (
4511
+ } = f, p = h && h.startsWith("Mui") || x ? "components" : "custom", T = E !== void 0 ? E : (
4511
4512
  // TODO v6: remove `Root` in the next major release
4512
4513
  // For more details: https://github.com/mui/material-ui/pull/37908
4513
4514
  x && x !== "Root" && x !== "root" || !1
4514
- ), U = w || !1;
4515
+ ), N = w || !1;
4515
4516
  let V = Zr;
4516
4517
  x === "Root" || x === "root" ? V = n : x ? V = o : Fi(u) && (V = void 0);
4517
- const B = ki(u, {
4518
+ const B = Ti(u, {
4518
4519
  shouldForwardProp: V,
4519
- label: Bi(g, x),
4520
+ label: Bi(h, x),
4520
4521
  ...C
4521
4522
  }), $ = (L) => {
4522
4523
  if (L.__emotion_real === L)
@@ -4525,35 +4526,35 @@ function Ni(e = {}) {
4525
4526
  return function(F) {
4526
4527
  return br(F, L, F.theme.modularCssLayers ? p : void 0);
4527
4528
  };
4528
- if (ke(L)) {
4529
- const W = Un(L);
4529
+ if (Te(L)) {
4530
+ const W = Nn(L);
4530
4531
  return function(X) {
4531
- return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ? Ne(W.style, p) : W.style;
4532
+ return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ? Ue(W.style, p) : W.style;
4532
4533
  };
4533
4534
  }
4534
4535
  return L;
4535
4536
  }, _ = (...L) => {
4536
4537
  const W = [], F = L.map($), X = [];
4537
- if (W.push(a), g && h && X.push(function(M) {
4538
+ if (W.push(a), h && g && X.push(function(M) {
4538
4539
  var J, ne;
4539
- const N = (ne = (J = M.theme.components) == null ? void 0 : J[g]) == null ? void 0 : ne.styleOverrides;
4540
- if (!N)
4540
+ const U = (ne = (J = M.theme.components) == null ? void 0 : J[h]) == null ? void 0 : ne.styleOverrides;
4541
+ if (!U)
4541
4542
  return null;
4542
4543
  const D = {};
4543
- for (const ue in N)
4544
- D[ue] = br(M, N[ue], M.theme.modularCssLayers ? "theme" : void 0);
4545
- return h(M, D);
4546
- }), g && !k && X.push(function(M) {
4544
+ for (const ue in U)
4545
+ D[ue] = br(M, U[ue], M.theme.modularCssLayers ? "theme" : void 0);
4546
+ return g(M, D);
4547
+ }), h && !T && X.push(function(M) {
4547
4548
  var D, J;
4548
- const O = M.theme, N = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[g]) == null ? void 0 : J.variants;
4549
- return N ? Nn(M, N, [], M.theme.modularCssLayers ? "theme" : void 0) : null;
4550
- }), U || X.push(er), Array.isArray(F[0])) {
4549
+ const O = M.theme, U = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[h]) == null ? void 0 : J.variants;
4550
+ return U ? Un(M, U, [], M.theme.modularCssLayers ? "theme" : void 0) : null;
4551
+ }), N || X.push(er), Array.isArray(F[0])) {
4551
4552
  const l = F.shift(), M = new Array(W.length).fill(""), O = new Array(X.length).fill("");
4552
- let N;
4553
- N = [...M, ...l, ...O], N.raw = [...M, ...l.raw, ...O], W.unshift(N);
4553
+ let U;
4554
+ U = [...M, ...l, ...O], U.raw = [...M, ...l.raw, ...O], W.unshift(U);
4554
4555
  }
4555
4556
  const se = [...W, ...F, ...X], H = B(...se);
4556
- return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = Di(g, x, u)), H;
4557
+ return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = Di(h, x, u)), H;
4557
4558
  };
4558
4559
  return B.withConfig && (_.withConfig = B.withConfig), _;
4559
4560
  };
@@ -4603,8 +4604,8 @@ function ut(e, r, t = !1) {
4603
4604
  };
4604
4605
  for (const f in s)
4605
4606
  if (Object.prototype.hasOwnProperty.call(s, f)) {
4606
- const g = f;
4607
- n[a][g] = ut(s[g], u[g], t);
4607
+ const h = f;
4608
+ n[a][h] = ut(s[h], u[h], t);
4608
4609
  }
4609
4610
  }
4610
4611
  } else a === "className" && t && r.className ? n.className = On(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : a === "style" && t && r.style ? n.style = {
@@ -4672,7 +4673,7 @@ function Bn(e) {
4672
4673
  e = Me(e);
4673
4674
  const {
4674
4675
  values: r
4675
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (g, x = (g + t / 30) % 12) => o - a * Math.max(Math.min(x - 3, 9 - x, 1), -1);
4676
+ } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (h, x = (h + t / 30) % 12) => o - a * Math.max(Math.min(x - 3, 9 - x, 1), -1);
4676
4677
  let u = "rgb";
4677
4678
  const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
4678
4679
  return e.type === "hsla" && (u += "a", f.push(r[3])), Br({
@@ -4692,7 +4693,7 @@ function Xt(e, r) {
4692
4693
  function Vn(e, r) {
4693
4694
  return e = Me(e), r = St(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Br(e);
4694
4695
  }
4695
- function Ue(e, r, t) {
4696
+ function Ne(e, r, t) {
4696
4697
  try {
4697
4698
  return Vn(e, r);
4698
4699
  } catch {
@@ -4775,7 +4776,7 @@ function Yi(e) {
4775
4776
  let r, t;
4776
4777
  return function(o) {
4777
4778
  let a = r;
4778
- return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a = Un(e(en)), r = a, t = o.theme), a;
4779
+ return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a = Nn(e(en)), r = a, t = o.theme), a;
4779
4780
  };
4780
4781
  }
4781
4782
  function qi(e = "") {
@@ -4807,12 +4808,12 @@ function Xr(e, r) {
4807
4808
  } = r || {}, o = {}, a = {}, s = {};
4808
4809
  return Zi(
4809
4810
  e,
4810
- (u, f, g) => {
4811
+ (u, f, h) => {
4811
4812
  if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
4812
4813
  const x = `--${t ? `${t}-` : ""}${u.join("-")}`, E = Xi(u, f);
4813
4814
  Object.assign(o, {
4814
4815
  [x]: E
4815
- }), rn(a, u, `var(${x})`, g), rn(s, u, `var(${x}, ${E})`, g);
4816
+ }), rn(a, u, `var(${x})`, h), rn(s, u, `var(${x}, ${E})`, h);
4816
4817
  }
4817
4818
  },
4818
4819
  (u) => u[0] === "vars"
@@ -4825,7 +4826,7 @@ function Xr(e, r) {
4825
4826
  }
4826
4827
  function es(e, r = {}) {
4827
4828
  const {
4828
- getSelector: t = U,
4829
+ getSelector: t = N,
4829
4830
  disableCssColorScheme: n,
4830
4831
  colorSchemeSelector: o,
4831
4832
  enableContrastVars: a
@@ -4833,24 +4834,24 @@ function es(e, r = {}) {
4833
4834
  colorSchemes: s = {},
4834
4835
  components: u,
4835
4836
  defaultColorScheme: f = "light",
4836
- ...g
4837
+ ...h
4837
4838
  } = e, {
4838
4839
  vars: x,
4839
4840
  css: E,
4840
4841
  varsWithDefaults: w
4841
- } = Xr(g, r);
4842
- let h = w;
4842
+ } = Xr(h, r);
4843
+ let g = w;
4843
4844
  const C = {}, {
4844
4845
  [f]: p,
4845
- ...k
4846
+ ...T
4846
4847
  } = s;
4847
- if (Object.entries(k || {}).forEach(([$, _]) => {
4848
+ if (Object.entries(T || {}).forEach(([$, _]) => {
4848
4849
  const {
4849
4850
  vars: L,
4850
4851
  css: W,
4851
4852
  varsWithDefaults: F
4852
4853
  } = Xr(_, r);
4853
- h = me(h, F), C[$] = {
4854
+ g = me(g, F), C[$] = {
4854
4855
  css: W,
4855
4856
  vars: L
4856
4857
  };
@@ -4860,12 +4861,12 @@ function es(e, r = {}) {
4860
4861
  vars: _,
4861
4862
  varsWithDefaults: L
4862
4863
  } = Xr(p, r);
4863
- h = me(h, L), C[f] = {
4864
+ g = me(g, L), C[f] = {
4864
4865
  css: $,
4865
4866
  vars: _
4866
4867
  };
4867
4868
  }
4868
- function U($, _) {
4869
+ function N($, _) {
4869
4870
  var W, F;
4870
4871
  let L = o;
4871
4872
  if (o === "class" && (L = ".%s"), o === "data" && (L = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (L = `[${o}="%s"]`), $) {
@@ -4881,7 +4882,7 @@ function es(e, r = {}) {
4881
4882
  return ":root";
4882
4883
  }
4883
4884
  return {
4884
- vars: h,
4885
+ vars: g,
4885
4886
  generateThemeVars: () => {
4886
4887
  let $ = {
4887
4888
  ...x
@@ -4925,8 +4926,8 @@ function es(e, r = {}) {
4925
4926
  return Object.entries(F).forEach(([H, {
4926
4927
  css: l
4927
4928
  }]) => {
4928
- var N, D;
4929
- const M = (D = (N = s[H]) == null ? void 0 : N.palette) == null ? void 0 : D.mode, O = !n && M ? {
4929
+ var U, D;
4930
+ const M = (D = (U = s[H]) == null ? void 0 : U.palette) == null ? void 0 : D.mode, O = !n && M ? {
4930
4931
  colorScheme: M,
4931
4932
  ...l
4932
4933
  } : {
@@ -5164,33 +5165,33 @@ function xt(e) {
5164
5165
  tonalOffset: n = 0.2,
5165
5166
  colorSpace: o,
5166
5167
  ...a
5167
- } = e, s = e.primary || ns(r), u = e.secondary || os(r), f = e.error || as(r), g = e.info || is(r), x = e.success || ss(r), E = e.warning || cs(r);
5168
- function w(k) {
5168
+ } = e, s = e.primary || ns(r), u = e.secondary || os(r), f = e.error || as(r), h = e.info || is(r), x = e.success || ss(r), E = e.warning || cs(r);
5169
+ function w(T) {
5169
5170
  if (o)
5170
- return ls(k);
5171
- const U = Xt(k, ft.text.primary) >= t ? ft.text.primary : zn.text.primary;
5171
+ return ls(T);
5172
+ const N = Xt(T, ft.text.primary) >= t ? ft.text.primary : zn.text.primary;
5172
5173
  if (process.env.NODE_ENV !== "production") {
5173
- const V = Xt(k, U);
5174
- V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${U} on ${k}`, "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(`
5174
+ const V = Xt(T, N);
5175
+ V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${N} on ${T}`, "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(`
5175
5176
  `));
5176
5177
  }
5177
- return U;
5178
+ return N;
5178
5179
  }
5179
- const h = ({
5180
- color: k,
5181
- name: U,
5180
+ const g = ({
5181
+ color: T,
5182
+ name: N,
5182
5183
  mainShade: V = 500,
5183
5184
  lightShade: B = 300,
5184
5185
  darkShade: $ = 700
5185
5186
  }) => {
5186
- if (k = {
5187
- ...k
5188
- }, !k.main && k[V] && (k.main = k[V]), !k.hasOwnProperty("main"))
5189
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
5190
- The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11, U ? ` (${U})` : "", V));
5191
- if (typeof k.main != "string")
5192
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
5193
- \`color.main\` should be a string, but \`${JSON.stringify(k.main)}\` was provided instead.
5187
+ if (T = {
5188
+ ...T
5189
+ }, !T.main && T[V] && (T.main = T[V]), !T.hasOwnProperty("main"))
5190
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${N ? ` (${N})` : ""} provided to augmentColor(color) is invalid.
5191
+ The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11, N ? ` (${N})` : "", V));
5192
+ if (typeof T.main != "string")
5193
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${N ? ` (${N})` : ""} provided to augmentColor(color) is invalid.
5194
+ \`color.main\` should be a string, but \`${JSON.stringify(T.main)}\` was provided instead.
5194
5195
 
5195
5196
  Did you intend to use one of the following approaches?
5196
5197
 
@@ -5202,8 +5203,8 @@ const theme1 = createTheme({ palette: {
5202
5203
 
5203
5204
  const theme2 = createTheme({ palette: {
5204
5205
  primary: { main: green[500] },
5205
- } });` : Fe(12, U ? ` (${U})` : "", JSON.stringify(k.main)));
5206
- return o ? (nn(o, k, "light", B, n), nn(o, k, "dark", $, n)) : (tn(k, "light", B, n), tn(k, "dark", $, n)), k.contrastText || (k.contrastText = w(k.main)), k;
5206
+ } });` : Fe(12, N ? ` (${N})` : "", JSON.stringify(T.main)));
5207
+ return o ? (nn(o, T, "light", B, n), nn(o, T, "dark", $, n)) : (tn(T, "light", B, n), tn(T, "dark", $, n)), T.contrastText || (T.contrastText = w(T.main)), T;
5207
5208
  };
5208
5209
  let C;
5209
5210
  return r === "light" ? C = Fn() : r === "dark" && (C = Wn()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
@@ -5215,12 +5216,12 @@ const theme2 = createTheme({ palette: {
5215
5216
  // The palette mode, can be light or dark.
5216
5217
  mode: r,
5217
5218
  // The colors used to represent primary interface elements for a user.
5218
- primary: h({
5219
+ primary: g({
5219
5220
  color: s,
5220
5221
  name: "primary"
5221
5222
  }),
5222
5223
  // The colors used to represent secondary interface elements for a user.
5223
- secondary: h({
5224
+ secondary: g({
5224
5225
  color: u,
5225
5226
  name: "secondary",
5226
5227
  mainShade: "A400",
@@ -5228,22 +5229,22 @@ const theme2 = createTheme({ palette: {
5228
5229
  darkShade: "A700"
5229
5230
  }),
5230
5231
  // The colors used to represent interface elements that the user should be made aware of.
5231
- error: h({
5232
+ error: g({
5232
5233
  color: f,
5233
5234
  name: "error"
5234
5235
  }),
5235
5236
  // The colors used to represent potentially dangerous actions or important messages.
5236
- warning: h({
5237
+ warning: g({
5237
5238
  color: E,
5238
5239
  name: "warning"
5239
5240
  }),
5240
5241
  // The colors used to present information to the user that is neutral and not necessarily important.
5241
- info: h({
5242
- color: g,
5242
+ info: g({
5243
+ color: h,
5243
5244
  name: "info"
5244
5245
  }),
5245
5246
  // The colors used to indicate the successful completion of an action that user triggered.
5246
- success: h({
5247
+ success: g({
5247
5248
  color: x,
5248
5249
  name: "success"
5249
5250
  }),
@@ -5255,7 +5256,7 @@ const theme2 = createTheme({ palette: {
5255
5256
  // Takes a background color and returns the text color that maximizes the contrast.
5256
5257
  getContrastText: w,
5257
5258
  // Generate a rich color object.
5258
- augmentColor: h,
5259
+ augmentColor: g,
5259
5260
  // Used by the functions below to shift a color's luminance by approximately
5260
5261
  // two indexes within its tonal palette.
5261
5262
  // E.g., shift from Red 500 to Red 300 or Red 700.
@@ -5307,24 +5308,24 @@ function ps(e, r) {
5307
5308
  // 16px is the default font-size used by browsers.
5308
5309
  htmlFontSize: f = 16,
5309
5310
  // Apply the CSS properties to all the variants.
5310
- allVariants: g,
5311
+ allVariants: h,
5311
5312
  pxToRem: x,
5312
5313
  ...E
5313
5314
  } = typeof r == "function" ? r(e) : r;
5314
5315
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
5315
- const w = n / 14, h = x || ((k) => `${k / f * w}rem`), C = (k, U, V, B, $) => ({
5316
+ const w = n / 14, g = x || ((T) => `${T / f * w}rem`), C = (T, N, V, B, $) => ({
5316
5317
  fontFamily: t,
5317
- fontWeight: k,
5318
- fontSize: h(U),
5318
+ fontWeight: T,
5319
+ fontSize: g(N),
5319
5320
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
5320
5321
  lineHeight: V,
5321
5322
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
5322
5323
  // across font-families can cause issues with the kerning.
5323
5324
  ...t === an ? {
5324
- letterSpacing: `${fs(B / U)}em`
5325
+ letterSpacing: `${fs(B / N)}em`
5325
5326
  } : {},
5326
5327
  ...$,
5327
- ...g
5328
+ ...h
5328
5329
  }), p = {
5329
5330
  h1: C(o, 96, 1.167, -1.5),
5330
5331
  h2: C(o, 60, 1.2, -0.5),
@@ -5350,7 +5351,7 @@ function ps(e, r) {
5350
5351
  };
5351
5352
  return me({
5352
5353
  htmlFontSize: f,
5353
- pxToRem: h,
5354
+ pxToRem: g,
5354
5355
  fontFamily: t,
5355
5356
  fontSize: n,
5356
5357
  fontWeightLight: o,
@@ -5414,12 +5415,12 @@ function Ss(e) {
5414
5415
  duration: s = t.standard,
5415
5416
  easing: u = r.easeInOut,
5416
5417
  delay: f = 0,
5417
- ...g
5418
+ ...h
5418
5419
  } = a;
5419
5420
  if (process.env.NODE_ENV !== "production") {
5420
5421
  const x = (w) => typeof w == "string", E = (w) => !Number.isNaN(parseFloat(w));
5421
5422
  !x(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !E(s) && !x(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), x(u) || console.error('MUI: Argument "easing" must be a string.'), !E(f) && !x(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
5422
- `)), Object.keys(g).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`);
5423
+ `)), Object.keys(h).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(h).join(",")}].`);
5423
5424
  }
5424
5425
  return (Array.isArray(o) ? o : [o]).map((x) => `${x} ${typeof s == "string" ? s : sn(s)} ${u} ${typeof f == "string" ? f : sn(f)}`).join(",");
5425
5426
  },
@@ -5439,7 +5440,7 @@ const xs = {
5439
5440
  tooltip: 1500
5440
5441
  };
5441
5442
  function ws(e) {
5442
- return ke(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
5443
+ return Te(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
5443
5444
  }
5444
5445
  function Hn(e = {}) {
5445
5446
  const r = {
@@ -5449,7 +5450,7 @@ function Hn(e = {}) {
5449
5450
  const o = Object.entries(n);
5450
5451
  for (let a = 0; a < o.length; a++) {
5451
5452
  const [s, u] = o[a];
5452
- !ws(u) || s.startsWith("unstable_") ? delete n[s] : ke(u) && (n[s] = {
5453
+ !ws(u) || s.startsWith("unstable_") ? delete n[s] : Te(u) && (n[s] = {
5453
5454
  ...u
5454
5455
  }, t(n[s]));
5455
5456
  }
@@ -5502,7 +5503,7 @@ function pt(e = {}, ...r) {
5502
5503
  transitions: s = {},
5503
5504
  typography: u = {},
5504
5505
  shape: f,
5505
- colorSpace: g,
5506
+ colorSpace: h,
5506
5507
  ...x
5507
5508
  } = e;
5508
5509
  if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
@@ -5511,9 +5512,9 @@ function pt(e = {}, ...r) {
5511
5512
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Fe(20));
5512
5513
  const E = xt({
5513
5514
  ...a,
5514
- colorSpace: g
5515
+ colorSpace: h
5515
5516
  }), w = Mn(e);
5516
- let h = me(w, {
5517
+ let g = me(w, {
5517
5518
  mixins: ds(w.breakpoints, n),
5518
5519
  palette: E,
5519
5520
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -5524,48 +5525,48 @@ function pt(e = {}, ...r) {
5524
5525
  ...xs
5525
5526
  }
5526
5527
  });
5527
- if (h = me(h, x), h = r.reduce((C, p) => me(C, p), h), process.env.NODE_ENV !== "production") {
5528
- const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (k, U) => {
5528
+ if (g = me(g, x), g = r.reduce((C, p) => me(C, p), g), process.env.NODE_ENV !== "production") {
5529
+ const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (T, N) => {
5529
5530
  let V;
5530
- for (V in k) {
5531
- const B = k[V];
5531
+ for (V in T) {
5532
+ const B = T[V];
5532
5533
  if (C.includes(V) && Object.keys(B).length > 0) {
5533
5534
  if (process.env.NODE_ENV !== "production") {
5534
5535
  const $ = vt("", V);
5535
- console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${V}\` internal state.`, "You can not override it like this: ", JSON.stringify(k, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
5536
+ console.error([`MUI: The \`${N}\` component increases the CSS specificity of the \`${V}\` internal state.`, "You can not override it like this: ", JSON.stringify(T, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
5536
5537
  root: {
5537
5538
  [`&.${$}`]: B
5538
5539
  }
5539
5540
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
5540
5541
  `));
5541
5542
  }
5542
- k[V] = {};
5543
+ T[V] = {};
5543
5544
  }
5544
5545
  }
5545
5546
  };
5546
- Object.keys(h.components).forEach((k) => {
5547
- const U = h.components[k].styleOverrides;
5548
- U && k.startsWith("Mui") && p(U, k);
5547
+ Object.keys(g.components).forEach((T) => {
5548
+ const N = g.components[T].styleOverrides;
5549
+ N && T.startsWith("Mui") && p(N, T);
5549
5550
  });
5550
5551
  }
5551
- return h.unstable_sxConfig = {
5552
+ return g.unstable_sxConfig = {
5552
5553
  ...Dr,
5553
5554
  ...x == null ? void 0 : x.unstable_sxConfig
5554
- }, h.unstable_sx = function(p) {
5555
+ }, g.unstable_sx = function(p) {
5555
5556
  return er({
5556
5557
  sx: p,
5557
5558
  theme: this
5558
5559
  });
5559
- }, h.toRuntimeSource = Hn, Cs(h), h;
5560
+ }, g.toRuntimeSource = Hn, Cs(g), g;
5560
5561
  }
5561
- function ks(e) {
5562
+ function Ts(e) {
5562
5563
  let r;
5563
5564
  return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
5564
5565
  }
5565
- const Ts = [...Array(25)].map((e, r) => {
5566
+ const ks = [...Array(25)].map((e, r) => {
5566
5567
  if (r === 0)
5567
5568
  return "none";
5568
- const t = ks(r);
5569
+ const t = Ts(r);
5569
5570
  return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
5570
5571
  });
5571
5572
  function Kn(e) {
@@ -5577,7 +5578,7 @@ function Kn(e) {
5577
5578
  };
5578
5579
  }
5579
5580
  function Qn(e) {
5580
- return e === "dark" ? Ts : [];
5581
+ return e === "dark" ? ks : [];
5581
5582
  }
5582
5583
  function _s(e) {
5583
5584
  const {
@@ -5717,15 +5718,15 @@ function Ms(e = {}, ...r) {
5717
5718
  nativeColor: s = !1,
5718
5719
  shouldSkipGeneratingVar: u = Rs,
5719
5720
  colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
5720
- rootSelector: g = ":root",
5721
+ rootSelector: h = ":root",
5721
5722
  ...x
5722
- } = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E), h = $s(a), {
5723
+ } = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E), g = $s(a), {
5723
5724
  [w]: C,
5724
5725
  light: p,
5725
- dark: k,
5726
- ...U
5726
+ dark: T,
5727
+ ...N
5727
5728
  } = t, V = {
5728
- ...U
5729
+ ...N
5729
5730
  };
5730
5731
  let B = C;
5731
5732
  if ((w === "dark" && !("dark" in t) || w === "light" && !("light" in t)) && (B = !0), !B)
@@ -5733,14 +5734,14 @@ function Ms(e = {}, ...r) {
5733
5734
  let $;
5734
5735
  s && ($ = "oklch");
5735
5736
  const _ = et($, V, B, x, w);
5736
- p && !V.light && et($, V, p, void 0, "light"), k && !V.dark && et($, V, k, void 0, "dark");
5737
+ p && !V.light && et($, V, p, void 0, "light"), T && !V.dark && et($, V, T, void 0, "dark");
5737
5738
  let L = {
5738
5739
  defaultColorScheme: w,
5739
5740
  ..._,
5740
5741
  cssVarPrefix: a,
5741
5742
  colorSchemeSelector: f,
5742
- rootSelector: g,
5743
- getCssVar: h,
5743
+ rootSelector: h,
5744
+ getCssVar: g,
5744
5745
  colorSchemes: V,
5745
5746
  font: {
5746
5747
  ...us(_.typography),
@@ -5749,31 +5750,31 @@ function Ms(e = {}, ...r) {
5749
5750
  spacing: js(x.spacing)
5750
5751
  };
5751
5752
  Object.keys(L.colorSchemes).forEach((H) => {
5752
- const l = L.colorSchemes[H].palette, M = (N) => {
5753
- const D = N.split("-"), J = D[1], ne = D[2];
5754
- return h(N, l[J][ne]);
5753
+ const l = L.colorSchemes[H].palette, M = (U) => {
5754
+ const D = U.split("-"), J = D[1], ne = D[2];
5755
+ return g(U, l[J][ne]);
5755
5756
  };
5756
5757
  l.mode === "light" && (S(l.common, "background", "#fff"), S(l.common, "onBackground", "#000")), l.mode === "dark" && (S(l.common, "background", "#000"), S(l.common, "onBackground", "#fff"));
5757
- function O(N, D, J) {
5758
+ function O(U, D, J) {
5758
5759
  if ($) {
5759
5760
  let ne;
5760
- return N === Ue && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), N === q && (ne = `#000 ${(J * 100).toFixed(0)}%`), N === Z && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${$}, ${D}, ${ne})`;
5761
+ return U === Ne && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), U === q && (ne = `#000 ${(J * 100).toFixed(0)}%`), U === Z && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${$}, ${D}, ${ne})`;
5761
5762
  }
5762
- return N(D, J);
5763
+ return U(D, J);
5763
5764
  }
5764
5765
  if (Ps(l, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), l.mode === "light") {
5765
- S(l.Alert, "errorColor", O(q, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(q, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(q, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(q, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-main")), S(l.Alert, "infoFilledBg", M("palette-info-main")), S(l.Alert, "successFilledBg", M("palette-success-main")), S(l.Alert, "warningFilledBg", M("palette-warning-main")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.main))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.main))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.main))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.main))), S(l.Alert, "errorStandardBg", O(Z, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(Z, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(Z, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-100")), S(l.Avatar, "defaultBg", M("palette-grey-400")), S(l.Button, "inheritContainedBg", M("palette-grey-300")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(l.Chip, "defaultBorder", M("palette-grey-400")), S(l.Chip, "defaultAvatarColor", M("palette-grey-700")), S(l.Chip, "defaultIconColor", M("palette-grey-700")), S(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(l.LinearProgress, "primaryBg", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.LinearProgress, "secondaryBg", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.LinearProgress, "errorBg", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.LinearProgress, "infoBg", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.LinearProgress, "successBg", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.LinearProgress, "warningBg", O(Z, s ? h("palette-warning-light") : l.warning.main, 0.62)), S(l.Skeleton, "bg", $ ? O(Ue, s ? h("palette-text-primary") : l.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(l.Slider, "primaryTrack", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.Slider, "secondaryTrack", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Slider, "errorTrack", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.Slider, "infoTrack", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.Slider, "successTrack", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.Slider, "warningTrack", O(Z, s ? h("palette-warning-main") : l.warning.main, 0.62));
5766
- const N = $ ? O(q, s ? h("palette-background-default") : l.background.default, 0.6825) : yr(l.background.default, 0.8);
5767
- S(l.SnackbarContent, "bg", N), S(l.SnackbarContent, "color", Ae(() => $ ? ft.text.primary : l.getContrastText(N))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-400")), S(l.StepContent, "border", M("palette-grey-400")), S(l.Switch, "defaultColor", M("palette-common-white")), S(l.Switch, "defaultDisabledColor", M("palette-grey-100")), S(l.Switch, "primaryDisabledColor", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.Switch, "secondaryDisabledColor", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Switch, "errorDisabledColor", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.Switch, "infoDisabledColor", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.Switch, "successDisabledColor", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.Switch, "warningDisabledColor", O(Z, s ? h("palette-warning-main") : l.warning.main, 0.62)), S(l.TableCell, "border", O(Z, Ue(s ? h("palette-divider") : l.divider, 1), 0.88)), S(l.Tooltip, "bg", O(Ue, s ? h("palette-grey-700") : l.grey[700], 0.92));
5766
+ S(l.Alert, "errorColor", O(q, s ? g("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(q, s ? g("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(q, s ? g("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(q, s ? g("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-main")), S(l.Alert, "infoFilledBg", M("palette-info-main")), S(l.Alert, "successFilledBg", M("palette-success-main")), S(l.Alert, "warningFilledBg", M("palette-warning-main")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.main))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.main))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.main))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.main))), S(l.Alert, "errorStandardBg", O(Z, s ? g("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(Z, s ? g("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(Z, s ? g("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(Z, s ? g("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-100")), S(l.Avatar, "defaultBg", M("palette-grey-400")), S(l.Button, "inheritContainedBg", M("palette-grey-300")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(l.Chip, "defaultBorder", M("palette-grey-400")), S(l.Chip, "defaultAvatarColor", M("palette-grey-700")), S(l.Chip, "defaultIconColor", M("palette-grey-700")), S(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(l.LinearProgress, "primaryBg", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.LinearProgress, "secondaryBg", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.LinearProgress, "errorBg", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.LinearProgress, "infoBg", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.LinearProgress, "successBg", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.LinearProgress, "warningBg", O(Z, s ? g("palette-warning-light") : l.warning.main, 0.62)), S(l.Skeleton, "bg", $ ? O(Ne, s ? g("palette-text-primary") : l.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(l.Slider, "primaryTrack", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.Slider, "secondaryTrack", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Slider, "errorTrack", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.Slider, "infoTrack", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.Slider, "successTrack", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.Slider, "warningTrack", O(Z, s ? g("palette-warning-main") : l.warning.main, 0.62));
5767
+ const U = $ ? O(q, s ? g("palette-background-default") : l.background.default, 0.6825) : yr(l.background.default, 0.8);
5768
+ S(l.SnackbarContent, "bg", U), S(l.SnackbarContent, "color", Ae(() => $ ? ft.text.primary : l.getContrastText(U))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-400")), S(l.StepContent, "border", M("palette-grey-400")), S(l.Switch, "defaultColor", M("palette-common-white")), S(l.Switch, "defaultDisabledColor", M("palette-grey-100")), S(l.Switch, "primaryDisabledColor", O(Z, s ? g("palette-primary-main") : l.primary.main, 0.62)), S(l.Switch, "secondaryDisabledColor", O(Z, s ? g("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Switch, "errorDisabledColor", O(Z, s ? g("palette-error-main") : l.error.main, 0.62)), S(l.Switch, "infoDisabledColor", O(Z, s ? g("palette-info-main") : l.info.main, 0.62)), S(l.Switch, "successDisabledColor", O(Z, s ? g("palette-success-main") : l.success.main, 0.62)), S(l.Switch, "warningDisabledColor", O(Z, s ? g("palette-warning-main") : l.warning.main, 0.62)), S(l.TableCell, "border", O(Z, Ne(s ? g("palette-divider") : l.divider, 1), 0.88)), S(l.Tooltip, "bg", O(Ne, s ? g("palette-grey-700") : l.grey[700], 0.92));
5768
5769
  }
5769
5770
  if (l.mode === "dark") {
5770
- S(l.Alert, "errorColor", O(Z, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(Z, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(Z, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-dark")), S(l.Alert, "infoFilledBg", M("palette-info-dark")), S(l.Alert, "successFilledBg", M("palette-success-dark")), S(l.Alert, "warningFilledBg", M("palette-warning-dark")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.dark))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.dark))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.dark))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.dark))), S(l.Alert, "errorStandardBg", O(q, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(q, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(q, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(q, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-900")), S(l.AppBar, "darkBg", M("palette-background-paper")), S(l.AppBar, "darkColor", M("palette-text-primary")), S(l.Avatar, "defaultBg", M("palette-grey-600")), S(l.Button, "inheritContainedBg", M("palette-grey-800")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(l.Chip, "defaultBorder", M("palette-grey-700")), S(l.Chip, "defaultAvatarColor", M("palette-grey-300")), S(l.Chip, "defaultIconColor", M("palette-grey-300")), S(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(l.LinearProgress, "primaryBg", O(q, s ? h("palette-primary-main") : l.primary.main, 0.5)), S(l.LinearProgress, "secondaryBg", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.5)), S(l.LinearProgress, "errorBg", O(q, s ? h("palette-error-main") : l.error.main, 0.5)), S(l.LinearProgress, "infoBg", O(q, s ? h("palette-info-main") : l.info.main, 0.5)), S(l.LinearProgress, "successBg", O(q, s ? h("palette-success-main") : l.success.main, 0.5)), S(l.LinearProgress, "warningBg", O(q, s ? h("palette-warning-main") : l.warning.main, 0.5)), S(l.Skeleton, "bg", $ ? O(Ue, s ? h("palette-text-primary") : l.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(l.Slider, "primaryTrack", O(q, s ? h("palette-primary-main") : l.primary.main, 0.5)), S(l.Slider, "secondaryTrack", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.5)), S(l.Slider, "errorTrack", O(q, s ? h("palette-error-main") : l.error.main, 0.5)), S(l.Slider, "infoTrack", O(q, s ? h("palette-info-main") : l.info.main, 0.5)), S(l.Slider, "successTrack", O(q, s ? h("palette-success-main") : l.success.main, 0.5)), S(l.Slider, "warningTrack", O(q, s ? h("palette-warning-light") : l.warning.main, 0.5));
5771
- const N = $ ? O(Z, s ? h("palette-background-default") : l.background.default, 0.985) : yr(l.background.default, 0.98);
5772
- S(l.SnackbarContent, "bg", N), S(l.SnackbarContent, "color", Ae(() => $ ? zn.text.primary : l.getContrastText(N))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-600")), S(l.StepContent, "border", M("palette-grey-600")), S(l.Switch, "defaultColor", M("palette-grey-300")), S(l.Switch, "defaultDisabledColor", M("palette-grey-600")), S(l.Switch, "primaryDisabledColor", O(q, s ? h("palette-primary-main") : l.primary.main, 0.55)), S(l.Switch, "secondaryDisabledColor", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.55)), S(l.Switch, "errorDisabledColor", O(q, s ? h("palette-error-main") : l.error.main, 0.55)), S(l.Switch, "infoDisabledColor", O(q, s ? h("palette-info-main") : l.info.main, 0.55)), S(l.Switch, "successDisabledColor", O(q, s ? h("palette-success-main") : l.success.main, 0.55)), S(l.Switch, "warningDisabledColor", O(q, s ? h("palette-warning-light") : l.warning.main, 0.55)), S(l.TableCell, "border", O(q, Ue(s ? h("palette-divider") : l.divider, 1), 0.68)), S(l.Tooltip, "bg", O(Ue, s ? h("palette-grey-700") : l.grey[700], 0.92));
5771
+ S(l.Alert, "errorColor", O(Z, s ? g("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(Z, s ? g("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(Z, s ? g("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(Z, s ? g("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-dark")), S(l.Alert, "infoFilledBg", M("palette-info-dark")), S(l.Alert, "successFilledBg", M("palette-success-dark")), S(l.Alert, "warningFilledBg", M("palette-warning-dark")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.dark))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.dark))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.dark))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.dark))), S(l.Alert, "errorStandardBg", O(q, s ? g("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(q, s ? g("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(q, s ? g("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(q, s ? g("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-900")), S(l.AppBar, "darkBg", M("palette-background-paper")), S(l.AppBar, "darkColor", M("palette-text-primary")), S(l.Avatar, "defaultBg", M("palette-grey-600")), S(l.Button, "inheritContainedBg", M("palette-grey-800")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(l.Chip, "defaultBorder", M("palette-grey-700")), S(l.Chip, "defaultAvatarColor", M("palette-grey-300")), S(l.Chip, "defaultIconColor", M("palette-grey-300")), S(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(l.LinearProgress, "primaryBg", O(q, s ? g("palette-primary-main") : l.primary.main, 0.5)), S(l.LinearProgress, "secondaryBg", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.5)), S(l.LinearProgress, "errorBg", O(q, s ? g("palette-error-main") : l.error.main, 0.5)), S(l.LinearProgress, "infoBg", O(q, s ? g("palette-info-main") : l.info.main, 0.5)), S(l.LinearProgress, "successBg", O(q, s ? g("palette-success-main") : l.success.main, 0.5)), S(l.LinearProgress, "warningBg", O(q, s ? g("palette-warning-main") : l.warning.main, 0.5)), S(l.Skeleton, "bg", $ ? O(Ne, s ? g("palette-text-primary") : l.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(l.Slider, "primaryTrack", O(q, s ? g("palette-primary-main") : l.primary.main, 0.5)), S(l.Slider, "secondaryTrack", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.5)), S(l.Slider, "errorTrack", O(q, s ? g("palette-error-main") : l.error.main, 0.5)), S(l.Slider, "infoTrack", O(q, s ? g("palette-info-main") : l.info.main, 0.5)), S(l.Slider, "successTrack", O(q, s ? g("palette-success-main") : l.success.main, 0.5)), S(l.Slider, "warningTrack", O(q, s ? g("palette-warning-light") : l.warning.main, 0.5));
5772
+ const U = $ ? O(Z, s ? g("palette-background-default") : l.background.default, 0.985) : yr(l.background.default, 0.98);
5773
+ S(l.SnackbarContent, "bg", U), S(l.SnackbarContent, "color", Ae(() => $ ? zn.text.primary : l.getContrastText(U))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-600")), S(l.StepContent, "border", M("palette-grey-600")), S(l.Switch, "defaultColor", M("palette-grey-300")), S(l.Switch, "defaultDisabledColor", M("palette-grey-600")), S(l.Switch, "primaryDisabledColor", O(q, s ? g("palette-primary-main") : l.primary.main, 0.55)), S(l.Switch, "secondaryDisabledColor", O(q, s ? g("palette-secondary-main") : l.secondary.main, 0.55)), S(l.Switch, "errorDisabledColor", O(q, s ? g("palette-error-main") : l.error.main, 0.55)), S(l.Switch, "infoDisabledColor", O(q, s ? g("palette-info-main") : l.info.main, 0.55)), S(l.Switch, "successDisabledColor", O(q, s ? g("palette-success-main") : l.success.main, 0.55)), S(l.Switch, "warningDisabledColor", O(q, s ? g("palette-warning-light") : l.warning.main, 0.55)), S(l.TableCell, "border", O(q, Ne(s ? g("palette-divider") : l.divider, 1), 0.68)), S(l.Tooltip, "bg", O(Ne, s ? g("palette-grey-700") : l.grey[700], 0.92));
5773
5774
  }
5774
- Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((N) => {
5775
- const D = l[N];
5776
- N !== "tonalOffset" && D && typeof D == "object" && (D.main && S(l[N], "mainChannel", ar(ir(D.main))), D.light && S(l[N], "lightChannel", ar(ir(D.light))), D.dark && S(l[N], "darkChannel", ar(ir(D.dark))), D.contrastText && S(l[N], "contrastTextChannel", ar(ir(D.contrastText))), N === "text" && (Ce(l[N], "primary"), Ce(l[N], "secondary")), N === "action" && (D.active && Ce(l[N], "active"), D.selected && Ce(l[N], "selected")));
5775
+ Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((U) => {
5776
+ const D = l[U];
5777
+ U !== "tonalOffset" && D && typeof D == "object" && (D.main && S(l[U], "mainChannel", ar(ir(D.main))), D.light && S(l[U], "lightChannel", ar(ir(D.light))), D.dark && S(l[U], "darkChannel", ar(ir(D.dark))), D.contrastText && S(l[U], "contrastTextChannel", ar(ir(D.contrastText))), U === "text" && (Ce(l[U], "primary"), Ce(l[U], "secondary")), U === "action" && (D.active && Ce(l[U], "active"), D.selected && Ce(l[U], "selected")));
5777
5778
  });
5778
5779
  }), L = r.reduce((H, l) => me(H, l), L);
5779
5780
  const W = {
@@ -5820,7 +5821,7 @@ function Ls(e = {}, ...r) {
5820
5821
  },
5821
5822
  defaultColorScheme: a = t == null ? void 0 : t.mode,
5822
5823
  ...s
5823
- } = e, u = a || "light", f = o == null ? void 0 : o[u], g = {
5824
+ } = e, u = a || "light", f = o == null ? void 0 : o[u], h = {
5824
5825
  ...o,
5825
5826
  ...t ? {
5826
5827
  [u]: {
@@ -5833,35 +5834,35 @@ function Ls(e = {}, ...r) {
5833
5834
  if (!("colorSchemes" in e))
5834
5835
  return pt(e, ...r);
5835
5836
  let x = t;
5836
- "palette" in e || g[u] && (g[u] !== !0 ? x = g[u].palette : u === "dark" && (x = {
5837
+ "palette" in e || h[u] && (h[u] !== !0 ? x = h[u].palette : u === "dark" && (x = {
5837
5838
  mode: "dark"
5838
5839
  }));
5839
5840
  const E = pt({
5840
5841
  ...e,
5841
5842
  palette: x
5842
5843
  }, ...r);
5843
- return E.defaultColorScheme = u, E.colorSchemes = g, E.palette.mode === "light" && (E.colorSchemes.light = {
5844
- ...g.light !== !0 && g.light,
5844
+ return E.defaultColorScheme = u, E.colorSchemes = h, E.palette.mode === "light" && (E.colorSchemes.light = {
5845
+ ...h.light !== !0 && h.light,
5845
5846
  palette: E.palette
5846
- }, ln(E, "dark", g.dark)), E.palette.mode === "dark" && (E.colorSchemes.dark = {
5847
- ...g.dark !== !0 && g.dark,
5847
+ }, ln(E, "dark", h.dark)), E.palette.mode === "dark" && (E.colorSchemes.dark = {
5848
+ ...h.dark !== !0 && h.dark,
5848
5849
  palette: E.palette
5849
- }, ln(E, "light", g.light)), E;
5850
+ }, ln(E, "light", h.light)), E;
5850
5851
  }
5851
- return !t && !("light" in g) && u === "light" && (g.light = !0), Ms({
5852
+ return !t && !("light" in h) && u === "light" && (h.light = !0), Ms({
5852
5853
  ...s,
5853
- colorSchemes: g,
5854
+ colorSchemes: h,
5854
5855
  defaultColorScheme: u,
5855
5856
  ...typeof n != "boolean" && n
5856
5857
  }, ...r);
5857
5858
  }
5858
- const Us = Ls(), Ns = "$$material";
5859
+ const Ns = Ls(), Us = "$$material";
5859
5860
  function Ds(e) {
5860
5861
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
5861
5862
  }
5862
- const Bs = (e) => Ds(e) && e !== "classes", Vs = Ni({
5863
- themeId: Ns,
5864
- defaultTheme: Us,
5863
+ const Bs = (e) => Ds(e) && e !== "classes", Vs = Ui({
5864
+ themeId: Us,
5865
+ defaultTheme: Ns,
5865
5866
  rootShouldForwardProp: Bs
5866
5867
  }), Fs = Yi;
5867
5868
  process.env.NODE_ENV !== "production" && (Q.node, Q.object.isRequired);
@@ -5893,7 +5894,7 @@ const Hs = (e) => {
5893
5894
  })(Fs(({
5894
5895
  theme: e
5895
5896
  }) => {
5896
- var r, t, n, o, a, s, u, f, g, x, E, w, h, C;
5897
+ var r, t, n, o, a, s, u, f, h, x, E, w, g, C;
5897
5898
  return {
5898
5899
  userSelect: "none",
5899
5900
  width: "1em",
@@ -5941,18 +5942,18 @@ const Hs = (e) => {
5941
5942
  fontSize: "large"
5942
5943
  },
5943
5944
  style: {
5944
- fontSize: ((x = (g = e.typography) == null ? void 0 : g.pxToRem) == null ? void 0 : x.call(g, 35)) || "2.1875rem"
5945
+ fontSize: ((x = (h = e.typography) == null ? void 0 : h.pxToRem) == null ? void 0 : x.call(h, 35)) || "2.1875rem"
5945
5946
  }
5946
5947
  },
5947
5948
  // TODO v5 deprecate color prop, v6 remove for sx
5948
5949
  ...Object.entries((e.vars ?? e).palette).filter(([, p]) => p && p.main).map(([p]) => {
5949
- var k, U;
5950
+ var T, N;
5950
5951
  return {
5951
5952
  props: {
5952
5953
  color: p
5953
5954
  },
5954
5955
  style: {
5955
- color: (U = (k = (e.vars ?? e).palette) == null ? void 0 : k[p]) == null ? void 0 : U.main
5956
+ color: (N = (T = (e.vars ?? e).palette) == null ? void 0 : T[p]) == null ? void 0 : N.main
5956
5957
  }
5957
5958
  };
5958
5959
  }),
@@ -5969,7 +5970,7 @@ const Hs = (e) => {
5969
5970
  color: "disabled"
5970
5971
  },
5971
5972
  style: {
5972
- color: (C = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : C.disabled
5973
+ color: (C = (g = (e.vars ?? e).palette) == null ? void 0 : g.action) == null ? void 0 : C.disabled
5973
5974
  }
5974
5975
  },
5975
5976
  {
@@ -5982,7 +5983,7 @@ const Hs = (e) => {
5982
5983
  }
5983
5984
  ]
5984
5985
  };
5985
- })), kr = /* @__PURE__ */ $e.forwardRef(function(r, t) {
5986
+ })), Tr = /* @__PURE__ */ $e.forwardRef(function(r, t) {
5986
5987
  const n = zs({
5987
5988
  props: r,
5988
5989
  name: "MuiSvgIcon"
@@ -5992,11 +5993,11 @@ const Hs = (e) => {
5992
5993
  color: s = "inherit",
5993
5994
  component: u = "svg",
5994
5995
  fontSize: f = "medium",
5995
- htmlColor: g,
5996
+ htmlColor: h,
5996
5997
  inheritViewBox: x = !1,
5997
5998
  titleAccess: E,
5998
5999
  viewBox: w = "0 0 24 24",
5999
- ...h
6000
+ ...g
6000
6001
  } = n, C = /* @__PURE__ */ $e.isValidElement(o) && o.type === "svg", p = {
6001
6002
  ...n,
6002
6003
  color: s,
@@ -6006,19 +6007,19 @@ const Hs = (e) => {
6006
6007
  inheritViewBox: x,
6007
6008
  viewBox: w,
6008
6009
  hasSvgAsChild: C
6009
- }, k = {};
6010
- x || (k.viewBox = w);
6011
- const U = Hs(p);
6010
+ }, T = {};
6011
+ x || (T.viewBox = w);
6012
+ const N = Hs(p);
6012
6013
  return /* @__PURE__ */ d.jsxs(Ks, {
6013
6014
  as: u,
6014
- className: On(U.root, a),
6015
+ className: On(N.root, a),
6015
6016
  focusable: "false",
6016
- color: g,
6017
+ color: h,
6017
6018
  "aria-hidden": E ? void 0 : !0,
6018
6019
  role: E ? "img" : void 0,
6019
6020
  ref: t,
6020
- ...k,
6021
- ...h,
6021
+ ...T,
6022
+ ...g,
6022
6023
  ...C && o.props,
6023
6024
  ownerState: p,
6024
6025
  children: [C ? o.props.children : o, E ? /* @__PURE__ */ d.jsx("title", {
@@ -6026,7 +6027,7 @@ const Hs = (e) => {
6026
6027
  }) : null]
6027
6028
  });
6028
6029
  });
6029
- process.env.NODE_ENV !== "production" && (kr.propTypes = {
6030
+ process.env.NODE_ENV !== "production" && (Tr.propTypes = {
6030
6031
  // ┌────────────────────────────── Warning ──────────────────────────────┐
6031
6032
  // │ These PropTypes are generated from the TypeScript type definitions. │
6032
6033
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -6098,17 +6099,17 @@ process.env.NODE_ENV !== "production" && (kr.propTypes = {
6098
6099
  */
6099
6100
  viewBox: Q.string
6100
6101
  });
6101
- kr.muiName = "SvgIcon";
6102
+ Tr.muiName = "SvgIcon";
6102
6103
  function Ee(e, r) {
6103
6104
  function t(n, o) {
6104
- return /* @__PURE__ */ d.jsx(kr, {
6105
+ return /* @__PURE__ */ d.jsx(Tr, {
6105
6106
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
6106
6107
  ref: o,
6107
6108
  ...n,
6108
6109
  children: e
6109
6110
  });
6110
6111
  }
6111
- return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = kr.muiName, /* @__PURE__ */ $e.memo(/* @__PURE__ */ $e.forwardRef(t));
6112
+ return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Tr.muiName, /* @__PURE__ */ $e.memo(/* @__PURE__ */ $e.forwardRef(t));
6112
6113
  }
6113
6114
  const Qs = Ee(/* @__PURE__ */ d.jsx("path", {
6114
6115
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 16H7v-.24C8.42 17.62 10.16 17 12 17s3.58.62 5 1.76zm2-1.14C17.2 16.09 14.73 15 12 15s-5.2 1.09-7 2.86V5h14zM12 13c1.93 0 3.5-1.57 3.5-3.5S13.93 6 12 6 8.5 7.57 8.5 9.5 10.07 13 12 13m0-5c.83 0 1.5.67 1.5 1.5S12.83 11 12 11s-1.5-.67-1.5-1.5S11.17 8 12 8"
@@ -6280,13 +6281,13 @@ const De = We, Re = We, ac = ({
6280
6281
  onCerrarSesion: e,
6281
6282
  acciones: r
6282
6283
  }) => {
6283
- const [t, n] = Tr(null), [o] = je(we.general), [a] = je(we.avatar), s = Ze(
6284
+ const [t, n] = kr(null), [o] = je(we.general), [a] = je(we.avatar), s = Ze(
6284
6285
  () => o || a,
6285
6286
  [o, a]
6286
- ), u = Re((w) => w.avatar), f = Re((w) => w.nombre), g = Ze(() => {
6287
- var h, C;
6287
+ ), u = Re((w) => w.avatar), f = Re((w) => w.nombre), h = Ze(() => {
6288
+ var g, C;
6288
6289
  const w = f == null ? void 0 : f.split(" ");
6289
- return `${((h = w == null ? void 0 : w[0]) == null ? void 0 : h.charAt(0)) ?? ""}${((C = w == null ? void 0 : w[1]) == null ? void 0 : C.charAt(0)) ?? ""}`;
6290
+ return `${((g = w == null ? void 0 : w[0]) == null ? void 0 : g.charAt(0)) ?? ""}${((C = w == null ? void 0 : w[1]) == null ? void 0 : C.charAt(0)) ?? ""}`;
6290
6291
  }, [f]), x = ye(
6291
6292
  (w) => {
6292
6293
  n(w.currentTarget);
@@ -6306,10 +6307,10 @@ const De = We, Re = We, ac = ({
6306
6307
  co,
6307
6308
  {
6308
6309
  sx: {
6309
- bgcolor: s || !g ? "black12.main" : "primary.main"
6310
+ bgcolor: s || !h ? "black12.main" : "primary.main"
6310
6311
  },
6311
6312
  src: s ? "" : u,
6312
- children: s ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : g
6313
+ children: s ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : h
6313
6314
  }
6314
6315
  )
6315
6316
  }
@@ -6321,8 +6322,8 @@ const De = We, Re = We, ac = ({
6321
6322
  anchorEl: t,
6322
6323
  onClose: E,
6323
6324
  children: [
6324
- r == null ? void 0 : r.map(({ nombre: w, icono: h, slotProps: C }) => {
6325
- const p = typeof h == "string" ? /* @__PURE__ */ d.jsx(_r, { children: h }) : h ? /* @__PURE__ */ d.jsx(h, {}) : null;
6325
+ r == null ? void 0 : r.map(({ nombre: w, icono: g, slotProps: C }) => {
6326
+ const p = typeof g == "string" ? /* @__PURE__ */ d.jsx(_r, { children: g }) : g ? /* @__PURE__ */ d.jsx(g, {}) : null;
6326
6327
  return /* @__PURE__ */ d.jsxs(ot, { ...C == null ? void 0 : C.MenuItem, children: [
6327
6328
  p && /* @__PURE__ */ d.jsx(Xe, { children: p }),
6328
6329
  /* @__PURE__ */ d.jsx(
@@ -6498,23 +6499,23 @@ const De = We, Re = We, ac = ({
6498
6499
  idApp: o,
6499
6500
  iconoApp: a
6500
6501
  }) => {
6501
- const s = kn(
6502
- (U) => !!U.toolbar.length
6503
- ), [u] = je(we.apps), [f] = je(we.general), [g] = je(we.nombreApp), x = Be((U) => U.inhabilitado), E = Re((U) => U.abrirApps), w = Re(
6504
- (U) => U.mostrarBotonDrawer
6505
- ), h = ro(null), C = ye(() => {
6502
+ const s = Tn(
6503
+ (N) => !!N.toolbar.length
6504
+ ), [u] = je(we.apps), [f] = je(we.general), [h] = je(we.nombreApp), x = Be((N) => N.inhabilitado), E = Re((N) => N.abrirApps), w = Re(
6505
+ (N) => N.mostrarBotonDrawer
6506
+ ), g = ro(null), C = ye(() => {
6506
6507
  De.setState({ abrirApps: !0 });
6507
6508
  }, []), p = ye(() => {
6508
6509
  De.setState({ abrirApps: !1 });
6509
- }, []), k = ye(() => {
6510
- Te.setState({ abierto: !Te.getState().abierto });
6510
+ }, []), T = ye(() => {
6511
+ ke.setState({ abierto: !ke.getState().abierto });
6511
6512
  }, []);
6512
6513
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6513
6514
  /* @__PURE__ */ d.jsxs(
6514
6515
  fo,
6515
6516
  {
6516
6517
  position: "fixed",
6517
- sx: { zIndex: (U) => U.zIndex.drawer + 1 },
6518
+ sx: { zIndex: (N) => N.zIndex.drawer + 1 },
6518
6519
  children: [
6519
6520
  /* @__PURE__ */ d.jsx(mt, { children: /* @__PURE__ */ d.jsxs(
6520
6521
  le,
@@ -6528,14 +6529,14 @@ const De = We, Re = We, ac = ({
6528
6529
  /* @__PURE__ */ d.jsx(po, { in: w, children: /* @__PURE__ */ d.jsx(
6529
6530
  wt,
6530
6531
  {
6531
- onClick: k,
6532
+ onClick: T,
6532
6533
  disabled: x,
6533
6534
  children: /* @__PURE__ */ d.jsx(uc, {})
6534
6535
  }
6535
6536
  ) }),
6536
6537
  /* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", ml: 3, children: [
6537
6538
  /* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(Zo, { width: 88 }) }),
6538
- g || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(xe, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
6539
+ h || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(xe, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
6539
6540
  ] })
6540
6541
  ] }),
6541
6542
  /* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", children: [
@@ -6550,7 +6551,7 @@ const De = We, Re = We, ac = ({
6550
6551
  wt,
6551
6552
  {
6552
6553
  disabled: u || !e.length,
6553
- ref: h,
6554
+ ref: g,
6554
6555
  sx: { ml: 2 },
6555
6556
  onClick: C,
6556
6557
  children: u || f ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : /* @__PURE__ */ d.jsx(lc, {})
@@ -6568,7 +6569,7 @@ const De = We, Re = We, ac = ({
6568
6569
  go,
6569
6570
  {
6570
6571
  open: E,
6571
- anchorEl: h.current,
6572
+ anchorEl: g.current,
6572
6573
  onClose: p,
6573
6574
  anchorOrigin: {
6574
6575
  vertical: "bottom",
@@ -6578,12 +6579,12 @@ const De = We, Re = We, ac = ({
6578
6579
  pa,
6579
6580
  {
6580
6581
  apps: e.map(
6581
- (U) => U.id === o ? {
6582
- ...U,
6582
+ (N) => N.id === o ? {
6583
+ ...N,
6583
6584
  link: new URL(window.location.href),
6584
6585
  ...typeof r == "string" ? { nombre: r } : {},
6585
6586
  ...a ? { icono: a } : {}
6586
- } : U
6587
+ } : N
6587
6588
  )
6588
6589
  }
6589
6590
  )
@@ -6601,7 +6602,7 @@ const De = We, Re = We, ac = ({
6601
6602
  menus: u,
6602
6603
  LinkComponent: f
6603
6604
  }) => {
6604
- const g = Re(
6605
+ const h = Re(
6605
6606
  (x) => typeof x.terminal == "number"
6606
6607
  );
6607
6608
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
@@ -6620,7 +6621,7 @@ const De = We, Re = We, ac = ({
6620
6621
  /* @__PURE__ */ d.jsx(mt, {}),
6621
6622
  /* @__PURE__ */ d.jsxs(le, { display: "flex", children: [
6622
6623
  /* @__PURE__ */ d.jsx(da, {}),
6623
- /* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: g ? t : "Selecciona una terminal para comenzar" })
6624
+ /* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: h ? t : "Selecciona una terminal para comenzar" })
6624
6625
  ] })
6625
6626
  ] });
6626
6627
  }, Gn = Rr(() => ({
@@ -6631,13 +6632,13 @@ const De = We, Re = We, ac = ({
6631
6632
  ), mc = (e, r, t) => {
6632
6633
  const n = r.reduce(
6633
6634
  (o, a) => {
6634
- const s = e.some(
6635
- ({ id: f }) => Number(f) === a.codigo_terminal
6636
- ), u = typeof t == "number" && a.codigo_terminal === t;
6637
- return s || u ? [
6635
+ const s = Number(a.codigo_terminal);
6636
+ return e.some(
6637
+ ({ id: h }) => Number(h) === s
6638
+ ) || typeof t == "number" && s === t ? [
6638
6639
  ...o,
6639
6640
  {
6640
- codigo: a.codigo_terminal,
6641
+ codigo: s,
6641
6642
  ...a.abreviado && { abreviado: a.abreviado },
6642
6643
  ...a.nombre && { nombre: a.nombre }
6643
6644
  }
@@ -6647,7 +6648,7 @@ const De = We, Re = We, ac = ({
6647
6648
  );
6648
6649
  if (typeof t == "number" && !n.some((o) => o.codigo === t)) {
6649
6650
  const o = r.find(
6650
- (a) => a.codigo_terminal === t
6651
+ (a) => Number(a.codigo_terminal) === t
6651
6652
  );
6652
6653
  return [
6653
6654
  ...n,
@@ -6670,19 +6671,19 @@ function hc({
6670
6671
  LinkComponent: s,
6671
6672
  tema: u
6672
6673
  }) {
6673
- const f = xn(), g = pc((C) => C.permisos), [x, E] = Tr([]), w = () => {
6674
+ const f = xn(), h = pc((C) => C.permisos), [x, E] = kr([]), w = () => {
6674
6675
  f.logout();
6675
- }, h = o.reduce((C, p) => {
6676
- var U, V;
6677
- const k = (U = g == null ? void 0 : g.menus) == null ? void 0 : U.find(({ id: B }) => p.id === B);
6678
- return k ? [
6676
+ }, g = o.reduce((C, p) => {
6677
+ var N, V;
6678
+ const T = (N = h == null ? void 0 : h.menus) == null ? void 0 : N.find(({ id: B }) => p.id === B);
6679
+ return T ? [
6679
6680
  ...C,
6680
6681
  {
6681
6682
  ...p,
6682
6683
  subMenus: (V = p.subMenus) == null ? void 0 : V.filter(
6683
6684
  ({ id: B }) => {
6684
6685
  var $;
6685
- return ($ = k == null ? void 0 : k.sub_menu) == null ? void 0 : $.some(({ id: _ }) => B === _);
6686
+ return ($ = T == null ? void 0 : T.sub_menu) == null ? void 0 : $.some(({ id: _ }) => B === _);
6686
6687
  }
6687
6688
  )
6688
6689
  }
@@ -6705,16 +6706,16 @@ function hc({
6705
6706
  // Tipos de keycloak-js no incluyen select_account; es válido en OIDC.
6706
6707
  prompt: "select_account"
6707
6708
  });
6708
- const k = f.idTokenParsed, { terminal: U, setTerminal: V } = De.getState(), B = `${(k == null ? void 0 : k.given_name) ?? ""}${k != null && k.given_name && (k != null && k.family_name) ? " " : ""}${k == null ? void 0 : k.family_name}`;
6709
+ const T = f.idTokenParsed, { terminal: N, setTerminal: V } = De.getState(), B = `${(T == null ? void 0 : T.given_name) ?? ""}${T != null && T.given_name && (T != null && T.family_name) ? " " : ""}${T == null ? void 0 : T.family_name}`;
6709
6710
  De.setState({
6710
6711
  nombre: B
6711
6712
  });
6712
- const $ = k.terminal;
6713
- typeof U != "number" && typeof $ == "number" && V(Number($));
6714
- const _ = k.email;
6713
+ const $ = T.terminal;
6714
+ typeof N != "number" && typeof $ == "number" && V(Number($));
6715
+ const _ = T.email;
6715
6716
  _ ? Eo(_, n).then(async (L) => {
6716
- var O, N, D, J, ne;
6717
- const W = (J = (D = (N = (O = L.response) == null ? void 0 : O[0]) == null ? void 0 : N.permisos) == null ? void 0 : D.aplicaciones) == null ? void 0 : J.find(
6717
+ var O, U, D, J, ne;
6718
+ const W = (J = (D = (U = (O = L.response) == null ? void 0 : O[0]) == null ? void 0 : U.permisos) == null ? void 0 : D.aplicaciones) == null ? void 0 : J.find(
6718
6719
  ({ id: ue }) => ue === r
6719
6720
  );
6720
6721
  if (!((ne = L.response) != null && ne[0]) || !W)
@@ -6732,11 +6733,11 @@ function hc({
6732
6733
  permisos: W
6733
6734
  });
6734
6735
  const F = await Ro();
6735
- if (F.isError || !F.data.terminales.length)
6736
+ if (F.isError || !F.data.length)
6736
6737
  throw new Error("No se han encontrado terminales");
6737
- const X = typeof (k == null ? void 0 : k.terminal) == "number" ? k.terminal : void 0, se = mc(
6738
+ const X = typeof (T == null ? void 0 : T.terminal) == "number" ? T.terminal : void 0, se = mc(
6738
6739
  L.response[0].terminales ?? [],
6739
- F.data.terminales,
6740
+ F.data,
6740
6741
  X
6741
6742
  );
6742
6743
  if (!se.length)
@@ -6745,8 +6746,8 @@ function hc({
6745
6746
  terminales: se,
6746
6747
  mostrarBotonDrawer: !0,
6747
6748
  terminalDeNomina: X
6748
- }), Te.setState({ cargando: !1 });
6749
- const { terminal: H, setTerminal: l } = De.getState(), M = Number(k == null ? void 0 : k.terminal);
6749
+ }), ke.setState({ cargando: !1 });
6750
+ const { terminal: H, setTerminal: l } = De.getState(), M = Number(T == null ? void 0 : T.terminal);
6750
6751
  H || l(
6751
6752
  Number.isNaN(M) ? se[0].codigo : M
6752
6753
  );
@@ -6760,8 +6761,8 @@ function hc({
6760
6761
  fc,
6761
6762
  {
6762
6763
  apps: x,
6763
- menus: h,
6764
- nombreApp: t ?? (g == null ? void 0 : g.nombre),
6764
+ menus: g,
6765
+ nombreApp: t ?? (h == null ? void 0 : h.nombre),
6765
6766
  onCerrarSesion: w,
6766
6767
  LinkComponent: s,
6767
6768
  children: e
@@ -6957,8 +6958,8 @@ const Mc = {
6957
6958
  toolbar: a
6958
6959
  }) => {
6959
6960
  var s, u;
6960
- return `import { ${e}, estado${e}${((s = t == null ? void 0 : t.lib) == null ? void 0 : s.reduce((f, g) => ` ${f}, ${g}`, "")) ?? ""}, useEstado${e} } from "laLibXd";
6961
- import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((f, g) => ` ${f}, ${g}`, "")) ?? ""} } from "@mui/material";
6961
+ return `import { ${e}, estado${e}${((s = t == null ? void 0 : t.lib) == null ? void 0 : s.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""}, useEstado${e} } from "laLibXd";
6962
+ import { ${a ? "Toolbar as MuiToolbar, " : ""}Box, Button${((u = t == null ? void 0 : t.mui) == null ? void 0 : u.reduce((f, h) => ` ${f}, ${h}`, "")) ?? ""} } from "@mui/material";
6962
6963
 
6963
6964
  const ${e}Story = () => {
6964
6965
  const estado = useEstado${e}((est) => est);
@@ -6967,8 +6968,8 @@ const ${e}Story = () => {
6967
6968
  <MuiToolbar />` : ""}
6968
6969
  ${o ? '<Box display="flex">' : "<>"}
6969
6970
  <${e}${n != null && n.length ? n.map(
6970
- ({ fun: f, nombre: g }) => `
6971
- ${g}={${f.toString().split(`
6971
+ ({ fun: f, nombre: h }) => `
6972
+ ${h}={${f.toString().split(`
6972
6973
  `).join(`
6973
6974
  `).replace("action(", "console.log(")}}`
6974
6975
  ).join("") : ""}${n != null && n.length ? `
@@ -6981,9 +6982,9 @@ const ${e}Story = () => {
6981
6982
  alignItems="flex-end"
6982
6983
  flexDirection="column"
6983
6984
  >` : ""}${r != null && r.length ? r.map(
6984
- ({ nombre: f, onClick: g }) => `
6985
+ ({ nombre: f, onClick: h }) => `
6985
6986
  <Button
6986
- onClick={${g.toString().split(`
6987
+ onClick={${h.toString().split(`
6987
6988
  `).join(`
6988
6989
  `)}}
6989
6990
  >
@@ -7007,7 +7008,7 @@ const ${e}Story = () => {
7007
7008
  ${a ? "</>" : ""});
7008
7009
  };
7009
7010
  `;
7010
- }, Uc = ({
7011
+ }, Nc = ({
7011
7012
  children: e,
7012
7013
  estado: r,
7013
7014
  ...t
@@ -7076,7 +7077,7 @@ export {
7076
7077
  la as MenuItemDrawer,
7077
7078
  sc as SelectorTerminalToolbar,
7078
7079
  Zo as SigooLogo,
7079
- Uc as StorySiblingDecorator,
7080
+ Nc as StorySiblingDecorator,
7080
7081
  ca as SubMenuItemDrawer,
7081
7082
  dc as Toolbar,
7082
7083
  rc as UnloadIcono,
@@ -7085,7 +7086,7 @@ export {
7085
7086
  K as colores,
7086
7087
  mc as convertirTerminalesToolbar,
7087
7088
  Gn as estadoAuth,
7088
- Te as estadoDrawer,
7089
+ ke as estadoDrawer,
7089
7090
  tc as estadoInicialToolbar,
7090
7091
  De as estadoToolbar,
7091
7092
  yn as getEnvActual,
@@ -7093,7 +7094,7 @@ export {
7093
7094
  bn as getKeycloakToken,
7094
7095
  Rc as getLoginKeycloak,
7095
7096
  we as keysCargandoToolbar,
7096
- Tc as menusPermitidos,
7097
+ kc as menusPermitidos,
7097
7098
  $c as obtenerAppsToolbar,
7098
7099
  Oo as obtenerCookie,
7099
7100
  jo as obtenerHash,
@@ -7108,12 +7109,12 @@ export {
7108
7109
  jc as setMenuSeleccionado,
7109
7110
  xr as storeCargando,
7110
7111
  lt as tema,
7111
- kc as terminalesPermitidas,
7112
+ Tc as terminalesPermitidas,
7112
7113
  je as useCargando,
7113
7114
  pc as useEstadoAuth,
7114
7115
  Be as useEstadoDrawer,
7115
7116
  Re as useEstadoToolbar,
7116
7117
  xn as useLoginKeycloak,
7117
- kn as useStoreCargando
7118
+ Tn as useStoreCargando
7118
7119
  };
7119
7120
  //# sourceMappingURL=cm-sigoo-temp-ui.js.map