@cm-sigoo-temp/ui 0.2.32 → 0.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/cm-sigoo-temp-ui.js +325 -317
- package/dist/lib/cm-sigoo-temp-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var zn = Object.defineProperty;
|
|
2
2
|
var Wn = (e, r, t) => r in e ? zn(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var rr = (e, r, t) => Wn(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import { createTheme as Jn, responsiveFontSizes as Gn, ListItemIcon as Xe, Icon as Tr, Tooltip as br, ListItem as
|
|
4
|
+
import * as Ue from "react";
|
|
5
|
+
import tt, { useCallback as ye, useMemo as Ze, useState as Er, createElement as Hn, useRef as Qn, useEffect as Kn } from "react";
|
|
6
|
+
import { createTheme as Jn, responsiveFontSizes as Gn, ListItemIcon as Xe, Icon as Tr, Tooltip as br, ListItem as xe, ListItemButton as Se, ListItemText as he, ListSubheader as nt, Divider as Ar, Drawer as Yn, Toolbar as mt, List as qn, Skeleton as fe, Typography as we, Box as ce, Grid as sr, ButtonBase as dn, Paper as Zn, createSvgIcon as ht, Avatar as Xn, CircularProgress as fn, Menu as eo, MenuItem as ot, TextField as ro, AppBar as to, Zoom as no, IconButton as wt, Collapse as oo, LinearProgress as ao, Popover as io, ThemeProvider as so, Button as pn } from "@mui/material";
|
|
7
7
|
import co from "@emotion/styled";
|
|
8
8
|
import "@emotion/react";
|
|
9
9
|
const lo = async (e, r, t) => {
|
|
@@ -902,13 +902,13 @@ function vo(e) {
|
|
|
902
902
|
function zr(e) {
|
|
903
903
|
return typeof e == "object" && e !== null;
|
|
904
904
|
}
|
|
905
|
-
const
|
|
905
|
+
const Ee = new hn({
|
|
906
906
|
clientId: "sigo-cli",
|
|
907
907
|
realm: "autenticacion_usuarios",
|
|
908
908
|
url: "https://cmautenticacion-dev.coordinadora.com"
|
|
909
909
|
});
|
|
910
910
|
new TextEncoder();
|
|
911
|
-
const
|
|
911
|
+
const at = new TextDecoder();
|
|
912
912
|
function xo(e) {
|
|
913
913
|
if (Uint8Array.fromBase64)
|
|
914
914
|
return Uint8Array.fromBase64(e);
|
|
@@ -919,11 +919,11 @@ function xo(e) {
|
|
|
919
919
|
}
|
|
920
920
|
function So(e) {
|
|
921
921
|
if (Uint8Array.fromBase64)
|
|
922
|
-
return Uint8Array.fromBase64(typeof e == "string" ? e :
|
|
922
|
+
return Uint8Array.fromBase64(typeof e == "string" ? e : at.decode(e), {
|
|
923
923
|
alphabet: "base64url"
|
|
924
924
|
});
|
|
925
925
|
let r = e;
|
|
926
|
-
r instanceof Uint8Array && (r =
|
|
926
|
+
r instanceof Uint8Array && (r = at.decode(r)), r = r.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
|
|
927
927
|
try {
|
|
928
928
|
return xo(r);
|
|
929
929
|
} catch {
|
|
@@ -939,13 +939,13 @@ class gn extends Error {
|
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
rr(gn, "code", "ERR_JOSE_GENERIC");
|
|
942
|
-
class
|
|
942
|
+
class je extends gn {
|
|
943
943
|
constructor() {
|
|
944
944
|
super(...arguments);
|
|
945
945
|
rr(this, "code", "ERR_JWT_INVALID");
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
rr(
|
|
948
|
+
rr(je, "code", "ERR_JWT_INVALID");
|
|
949
949
|
function wo(e) {
|
|
950
950
|
return typeof e == "object" && e !== null;
|
|
951
951
|
}
|
|
@@ -961,38 +961,38 @@ const Co = (e) => {
|
|
|
961
961
|
};
|
|
962
962
|
function vr(e) {
|
|
963
963
|
if (typeof e != "string")
|
|
964
|
-
throw new
|
|
964
|
+
throw new je("JWTs must use Compact JWS serialization, JWT must be a string");
|
|
965
965
|
const { 1: r, length: t } = e.split(".");
|
|
966
966
|
if (t === 5)
|
|
967
|
-
throw new
|
|
967
|
+
throw new je("Only JWTs using Compact JWS serialization can be decoded");
|
|
968
968
|
if (t !== 3)
|
|
969
|
-
throw new
|
|
969
|
+
throw new je("Invalid JWT");
|
|
970
970
|
if (!r)
|
|
971
|
-
throw new
|
|
971
|
+
throw new je("JWTs must contain a payload");
|
|
972
972
|
let n;
|
|
973
973
|
try {
|
|
974
974
|
n = So(r);
|
|
975
975
|
} catch {
|
|
976
|
-
throw new
|
|
976
|
+
throw new je("Failed to base64url decode the payload");
|
|
977
977
|
}
|
|
978
978
|
let o;
|
|
979
979
|
try {
|
|
980
|
-
o = JSON.parse(
|
|
980
|
+
o = JSON.parse(at.decode(n));
|
|
981
981
|
} catch {
|
|
982
|
-
throw new
|
|
982
|
+
throw new je("Failed to parse the decoded payload as JSON");
|
|
983
983
|
}
|
|
984
984
|
if (!Co(o))
|
|
985
|
-
throw new
|
|
985
|
+
throw new je("Invalid JWT Claims Set");
|
|
986
986
|
return o;
|
|
987
987
|
}
|
|
988
|
-
const
|
|
988
|
+
const gt = "access_token", yn = "access_token", ko = () => {
|
|
989
989
|
const e = new URL("https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google");
|
|
990
990
|
return e.searchParams.set("redirect_url", window.location.href), e;
|
|
991
991
|
}, Eo = (e) => {
|
|
992
992
|
const r = new URL("https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout");
|
|
993
993
|
return r.searchParams.set("redirect_url", window.location.href), r.searchParams.set(yn, e), r;
|
|
994
994
|
}, bn = () => {
|
|
995
|
-
const e = mn(
|
|
995
|
+
const e = mn(gt);
|
|
996
996
|
if (!(e != null && e.cookie)) return null;
|
|
997
997
|
try {
|
|
998
998
|
const r = vr(e.cookie);
|
|
@@ -1014,9 +1014,9 @@ const ht = "access_token", yn = "access_token", ko = () => {
|
|
|
1014
1014
|
} catch (r) {
|
|
1015
1015
|
return console.error("Error al decodificar accessToken:", e), console.error(r), null;
|
|
1016
1016
|
}
|
|
1017
|
-
},
|
|
1017
|
+
}, it = (e, r) => {
|
|
1018
1018
|
const t = new Date(r * 1e3);
|
|
1019
|
-
mo(
|
|
1019
|
+
mo(gt, e, {
|
|
1020
1020
|
expires: t,
|
|
1021
1021
|
secure: !0
|
|
1022
1022
|
});
|
|
@@ -1034,12 +1034,12 @@ const ht = "access_token", yn = "access_token", ko = () => {
|
|
|
1034
1034
|
if (n.cerrar_sesion) return;
|
|
1035
1035
|
try {
|
|
1036
1036
|
const o = n.idToken ? vr(n.idToken) : null;
|
|
1037
|
-
return
|
|
1037
|
+
return it(r, n.exp ?? (o == null ? void 0 : o.exp) ?? 1), {
|
|
1038
1038
|
sesion: n,
|
|
1039
1039
|
usuario: o
|
|
1040
1040
|
};
|
|
1041
1041
|
} catch (o) {
|
|
1042
|
-
return console.error("Error al decodificar sesion.idToken:", n.idToken), console.error(o),
|
|
1042
|
+
return console.error("Error al decodificar sesion.idToken:", n.idToken), console.error(o), it(r, n.exp ?? 1), {
|
|
1043
1043
|
sesion: n
|
|
1044
1044
|
};
|
|
1045
1045
|
}
|
|
@@ -1049,12 +1049,12 @@ const ht = "access_token", yn = "access_token", ko = () => {
|
|
|
1049
1049
|
return null;
|
|
1050
1050
|
}, cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1051
1051
|
__proto__: null,
|
|
1052
|
-
COOKIE_KEY_TOKEN_OPEN_ID:
|
|
1052
|
+
COOKIE_KEY_TOKEN_OPEN_ID: gt,
|
|
1053
1053
|
LOGOUT_KEY_TOKEN_OPEN_ID: yn,
|
|
1054
1054
|
obtenerSesionOpenID: bn,
|
|
1055
1055
|
obtenerUrlCerrarSesionOpenID: Eo,
|
|
1056
1056
|
obtenerUrlIniciarSesionOpenID: ko,
|
|
1057
|
-
setCookieOpenID:
|
|
1057
|
+
setCookieOpenID: it,
|
|
1058
1058
|
validarSesionOpenID: To
|
|
1059
1059
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1060
1060
|
function Ro(e) {
|
|
@@ -1070,10 +1070,10 @@ var fr = { exports: {} }, tr = {};
|
|
|
1070
1070
|
* This source code is licensed under the MIT license found in the
|
|
1071
1071
|
* LICENSE file in the root directory of this source tree.
|
|
1072
1072
|
*/
|
|
1073
|
-
var
|
|
1073
|
+
var Ct;
|
|
1074
1074
|
function _o() {
|
|
1075
|
-
if (
|
|
1076
|
-
|
|
1075
|
+
if (Ct) return tr;
|
|
1076
|
+
Ct = 1;
|
|
1077
1077
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
1078
1078
|
function t(n, o, a) {
|
|
1079
1079
|
var l = null;
|
|
@@ -1102,9 +1102,9 @@ var nr = {};
|
|
|
1102
1102
|
* This source code is licensed under the MIT license found in the
|
|
1103
1103
|
* LICENSE file in the root directory of this source tree.
|
|
1104
1104
|
*/
|
|
1105
|
-
var
|
|
1105
|
+
var kt;
|
|
1106
1106
|
function Oo() {
|
|
1107
|
-
return
|
|
1107
|
+
return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1108
1108
|
function e(s) {
|
|
1109
1109
|
if (s == null) return null;
|
|
1110
1110
|
if (typeof s == "function")
|
|
@@ -1298,7 +1298,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1298
1298
|
function x(s) {
|
|
1299
1299
|
return typeof s == "object" && s !== null && s.$$typeof === v;
|
|
1300
1300
|
}
|
|
1301
|
-
var E =
|
|
1301
|
+
var E = tt, v = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), j = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), le = Symbol.for("react.activity"), W = Symbol.for("react.client.reference"), c = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
1302
1302
|
return null;
|
|
1303
1303
|
};
|
|
1304
1304
|
E = {
|
|
@@ -1333,9 +1333,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1333
1333
|
};
|
|
1334
1334
|
}()), nr;
|
|
1335
1335
|
}
|
|
1336
|
-
var
|
|
1336
|
+
var Et;
|
|
1337
1337
|
function Io() {
|
|
1338
|
-
return
|
|
1338
|
+
return Et || (Et = 1, process.env.NODE_ENV === "production" ? fr.exports = _o() : fr.exports = Oo()), fr.exports;
|
|
1339
1339
|
}
|
|
1340
1340
|
var d = Io();
|
|
1341
1341
|
const Po = (e) => /* @__PURE__ */ d.jsxs(
|
|
@@ -1469,7 +1469,7 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
|
|
|
1469
1469
|
gray2: "#F2F2F2",
|
|
1470
1470
|
gray1: "#FAFAFA",
|
|
1471
1471
|
whiteBackdrop: "#FFFFFFDE"
|
|
1472
|
-
},
|
|
1472
|
+
}, st = 256, $o = {
|
|
1473
1473
|
components: {
|
|
1474
1474
|
MuiBreadcrumbs: {
|
|
1475
1475
|
defaultProps: {
|
|
@@ -1515,24 +1515,24 @@ const Po = (e) => /* @__PURE__ */ d.jsxs(
|
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
};
|
|
1518
|
-
function
|
|
1519
|
-
return
|
|
1518
|
+
function ct() {
|
|
1519
|
+
return ct = Object.assign ? Object.assign.bind() : function(e) {
|
|
1520
1520
|
for (var r = 1; r < arguments.length; r++) {
|
|
1521
1521
|
var t = arguments[r];
|
|
1522
1522
|
for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
1523
1523
|
}
|
|
1524
1524
|
return e;
|
|
1525
|
-
},
|
|
1525
|
+
}, ct.apply(null, arguments);
|
|
1526
1526
|
}
|
|
1527
1527
|
const Mo = (e) => ({
|
|
1528
1528
|
components: {
|
|
1529
1529
|
MuiLocalizationProvider: {
|
|
1530
1530
|
defaultProps: {
|
|
1531
|
-
localeText:
|
|
1531
|
+
localeText: ct({}, e)
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
|
-
}),
|
|
1535
|
+
}), Tt = {
|
|
1536
1536
|
hours: "Horas",
|
|
1537
1537
|
minutes: "Minutos",
|
|
1538
1538
|
seconds: "Segundos",
|
|
@@ -1563,12 +1563,12 @@ const Mo = (e) => ({
|
|
|
1563
1563
|
timePickerToolbarTitle: "Seleccionar hora",
|
|
1564
1564
|
dateRangePickerToolbarTitle: "Seleccionar rango de fecha",
|
|
1565
1565
|
// Clock labels
|
|
1566
|
-
clockLabelText: (e, r, t, n) => `Seleccione ${
|
|
1566
|
+
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")}`}`,
|
|
1567
1567
|
hoursClockNumberText: (e) => `${e} horas`,
|
|
1568
1568
|
minutesClockNumberText: (e) => `${e} minutos`,
|
|
1569
1569
|
secondsClockNumberText: (e) => `${e} segundos`,
|
|
1570
1570
|
// Digital clock labels
|
|
1571
|
-
selectViewText: (e) => `Seleccionar ${
|
|
1571
|
+
selectViewText: (e) => `Seleccionar ${Tt[e]}`,
|
|
1572
1572
|
// Calendar labels
|
|
1573
1573
|
calendarWeekNumberHeaderLabel: "Número de semana",
|
|
1574
1574
|
calendarWeekNumberHeaderText: "#",
|
|
@@ -1879,7 +1879,7 @@ const Mo = (e) => ({
|
|
|
1879
1879
|
main: Q.gray1
|
|
1880
1880
|
}
|
|
1881
1881
|
};
|
|
1882
|
-
let
|
|
1882
|
+
let lt = Jn(
|
|
1883
1883
|
{
|
|
1884
1884
|
palette: Do,
|
|
1885
1885
|
components: No,
|
|
@@ -1893,8 +1893,8 @@ let ct = Jn(
|
|
|
1893
1893
|
$o,
|
|
1894
1894
|
Lo
|
|
1895
1895
|
);
|
|
1896
|
-
|
|
1897
|
-
const
|
|
1896
|
+
lt = Gn(lt);
|
|
1897
|
+
const Rt = (e) => {
|
|
1898
1898
|
let r;
|
|
1899
1899
|
const t = /* @__PURE__ */ new Set(), n = (h, w) => {
|
|
1900
1900
|
const C = typeof h == "function" ? h(r) : h;
|
|
@@ -1904,19 +1904,19 @@ const Tt = (e) => {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
}, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (h) => (t.add(h), () => t.delete(h)) }, f = r = e(n, o, u);
|
|
1906
1906
|
return u;
|
|
1907
|
-
}, Bo = (e) => e ?
|
|
1907
|
+
}, Bo = (e) => e ? Rt(e) : Rt, Vo = (e) => e;
|
|
1908
1908
|
function Fo(e, r = Vo) {
|
|
1909
|
-
const t =
|
|
1909
|
+
const t = tt.useSyncExternalStore(
|
|
1910
1910
|
e.subscribe,
|
|
1911
1911
|
() => r(e.getState()),
|
|
1912
1912
|
() => r(e.getInitialState())
|
|
1913
1913
|
);
|
|
1914
|
-
return
|
|
1914
|
+
return tt.useDebugValue(t), t;
|
|
1915
1915
|
}
|
|
1916
|
-
const
|
|
1916
|
+
const _t = (e) => {
|
|
1917
1917
|
const r = Bo(e), t = (n) => Fo(r, n);
|
|
1918
1918
|
return Object.assign(t, r), t;
|
|
1919
|
-
}, Rr = (e) => e ?
|
|
1919
|
+
}, Rr = (e) => e ? _t(e) : _t, xr = Rr(
|
|
1920
1920
|
(e, r) => ({
|
|
1921
1921
|
toolbar: [],
|
|
1922
1922
|
cargando: [],
|
|
@@ -1935,7 +1935,7 @@ const Rt = (e) => {
|
|
|
1935
1935
|
});
|
|
1936
1936
|
}
|
|
1937
1937
|
})
|
|
1938
|
-
), An = xr,
|
|
1938
|
+
), An = xr, Me = (e, r) => {
|
|
1939
1939
|
const t = An(
|
|
1940
1940
|
(l) => l.toolbar.includes(e) || l.cargando.includes(e)
|
|
1941
1941
|
), n = ye(
|
|
@@ -1949,14 +1949,14 @@ const Rt = (e) => {
|
|
|
1949
1949
|
() => [t, { setCargando: n, toogleCargando: o }],
|
|
1950
1950
|
[t, n, o]
|
|
1951
1951
|
);
|
|
1952
|
-
},
|
|
1952
|
+
}, _e = Rr(() => ({
|
|
1953
1953
|
abierto: !0,
|
|
1954
1954
|
cargando: !0,
|
|
1955
1955
|
toolbar: !0,
|
|
1956
1956
|
inhabilitado: !1
|
|
1957
|
-
})), Ve =
|
|
1958
|
-
inhabilitado: typeof e == "boolean" ? e : e(
|
|
1959
|
-
}), uc = (e, r) =>
|
|
1957
|
+
})), Ve = _e, lc = (e) => _e.setState({
|
|
1958
|
+
inhabilitado: typeof e == "boolean" ? e : e(_e.getState().inhabilitado)
|
|
1959
|
+
}), uc = (e, r) => _e.setState({ seleccion: { menu: e, submenu: r } }), zo = ({
|
|
1960
1960
|
subMenu: e,
|
|
1961
1961
|
menu: r,
|
|
1962
1962
|
LinkComponent: t
|
|
@@ -1976,13 +1976,13 @@ const Rt = (e) => {
|
|
|
1976
1976
|
const f = e.icono;
|
|
1977
1977
|
return /* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(f, { color: a ? "primary" : "inherit" }) });
|
|
1978
1978
|
}, [a, e.icono]);
|
|
1979
|
-
return /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(
|
|
1980
|
-
|
|
1979
|
+
return /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsxs(
|
|
1980
|
+
Se,
|
|
1981
1981
|
{
|
|
1982
1982
|
sx: [{ px: 3 }],
|
|
1983
1983
|
...e.to ? { to: e.to } : {},
|
|
1984
1984
|
LinkComponent: t,
|
|
1985
|
-
onClick: () =>
|
|
1985
|
+
onClick: () => _e.setState({ seleccion: { menu: r, submenu: e.id } }),
|
|
1986
1986
|
children: [
|
|
1987
1987
|
u,
|
|
1988
1988
|
/* @__PURE__ */ d.jsx(
|
|
@@ -2003,7 +2003,7 @@ const Rt = (e) => {
|
|
|
2003
2003
|
]
|
|
2004
2004
|
}
|
|
2005
2005
|
) }) });
|
|
2006
|
-
},
|
|
2006
|
+
}, Pe = {
|
|
2007
2007
|
color: "primary",
|
|
2008
2008
|
sx: {
|
|
2009
2009
|
color: "primary.main"
|
|
@@ -2030,7 +2030,7 @@ const Rt = (e) => {
|
|
|
2030
2030
|
}, [e.icono, a]);
|
|
2031
2031
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
2032
2032
|
e.subMenus ? /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
|
|
2033
|
-
/* @__PURE__ */ d.jsx(
|
|
2033
|
+
/* @__PURE__ */ d.jsx(nt, { children: e.nombre }),
|
|
2034
2034
|
e.subMenus.map((f) => /* @__PURE__ */ d.jsx(
|
|
2035
2035
|
zo,
|
|
2036
2036
|
{
|
|
@@ -2040,16 +2040,16 @@ const Rt = (e) => {
|
|
|
2040
2040
|
},
|
|
2041
2041
|
`MENU_ITEM_DRAWER__${e.id}__SUBMENU__${f.id}`
|
|
2042
2042
|
))
|
|
2043
|
-
] }) }) : /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(
|
|
2044
|
-
|
|
2043
|
+
] }) }) : /* @__PURE__ */ d.jsx(br, { title: n ? e.nombre : "", placement: "right", arrow: !0, children: /* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsxs(
|
|
2044
|
+
Se,
|
|
2045
2045
|
{
|
|
2046
|
-
...
|
|
2046
|
+
...Pe,
|
|
2047
2047
|
...e.to ? { to: e.to } : {},
|
|
2048
2048
|
LinkComponent: t,
|
|
2049
|
-
onClick: () =>
|
|
2049
|
+
onClick: () => _e.setState({ seleccion: { menu: e.id } }),
|
|
2050
2050
|
sx: [
|
|
2051
2051
|
{ px: 3 },
|
|
2052
|
-
...Array.isArray(
|
|
2052
|
+
...Array.isArray(Pe == null ? void 0 : Pe.sx) ? Pe.sx : [Pe == null ? void 0 : Pe.sx]
|
|
2053
2053
|
],
|
|
2054
2054
|
children: [
|
|
2055
2055
|
u,
|
|
@@ -2084,10 +2084,10 @@ const Rt = (e) => {
|
|
|
2084
2084
|
Yn,
|
|
2085
2085
|
{
|
|
2086
2086
|
sx: {
|
|
2087
|
-
width:
|
|
2087
|
+
width: st,
|
|
2088
2088
|
flexShrink: 0,
|
|
2089
2089
|
"& .MuiDrawer-paper": {
|
|
2090
|
-
width:
|
|
2090
|
+
width: st,
|
|
2091
2091
|
boxSizing: "border-box",
|
|
2092
2092
|
boxShadow: "0px 5.5px 5px 0px #0000003D"
|
|
2093
2093
|
}
|
|
@@ -2096,7 +2096,7 @@ const Rt = (e) => {
|
|
|
2096
2096
|
anchor: "left",
|
|
2097
2097
|
open: t,
|
|
2098
2098
|
children: [
|
|
2099
|
-
o && /* @__PURE__ */ d.jsx(
|
|
2099
|
+
o && /* @__PURE__ */ d.jsx(mt, {}),
|
|
2100
2100
|
/* @__PURE__ */ d.jsx(
|
|
2101
2101
|
qn,
|
|
2102
2102
|
{
|
|
@@ -2110,7 +2110,7 @@ const Rt = (e) => {
|
|
|
2110
2110
|
},
|
|
2111
2111
|
subheader: /* @__PURE__ */ d.jsx("li", {}),
|
|
2112
2112
|
children: n ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
2113
|
-
/* @__PURE__ */ d.jsx(
|
|
2113
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2114
2114
|
he,
|
|
2115
2115
|
{
|
|
2116
2116
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2122,7 +2122,7 @@ const Rt = (e) => {
|
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
2124
2124
|
) }) }),
|
|
2125
|
-
/* @__PURE__ */ d.jsx(
|
|
2125
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2126
2126
|
he,
|
|
2127
2127
|
{
|
|
2128
2128
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2136,8 +2136,8 @@ const Rt = (e) => {
|
|
|
2136
2136
|
) }) }),
|
|
2137
2137
|
/* @__PURE__ */ d.jsx(Ar, { sx: { my: 1 } }),
|
|
2138
2138
|
/* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
|
|
2139
|
-
/* @__PURE__ */ d.jsx(
|
|
2140
|
-
/* @__PURE__ */ d.jsx(
|
|
2139
|
+
/* @__PURE__ */ d.jsx(nt, { component: "div", children: /* @__PURE__ */ d.jsx(we, { py: 1.5, children: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 50 }) }) }),
|
|
2140
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2141
2141
|
he,
|
|
2142
2142
|
{
|
|
2143
2143
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2149,7 +2149,7 @@ const Rt = (e) => {
|
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
2151
|
) }) }),
|
|
2152
|
-
/* @__PURE__ */ d.jsx(
|
|
2152
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2153
2153
|
he,
|
|
2154
2154
|
{
|
|
2155
2155
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2161,7 +2161,7 @@ const Rt = (e) => {
|
|
|
2161
2161
|
}
|
|
2162
2162
|
}
|
|
2163
2163
|
) }) }),
|
|
2164
|
-
/* @__PURE__ */ d.jsx(
|
|
2164
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2165
2165
|
he,
|
|
2166
2166
|
{
|
|
2167
2167
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2176,8 +2176,8 @@ const Rt = (e) => {
|
|
|
2176
2176
|
] }) }),
|
|
2177
2177
|
/* @__PURE__ */ d.jsx(Ar, { sx: { my: 1 } }),
|
|
2178
2178
|
/* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
|
|
2179
|
-
/* @__PURE__ */ d.jsx(
|
|
2180
|
-
/* @__PURE__ */ d.jsx(
|
|
2179
|
+
/* @__PURE__ */ d.jsx(nt, { children: /* @__PURE__ */ d.jsx(we, { py: 1.5, children: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 50 }) }) }),
|
|
2180
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2181
2181
|
he,
|
|
2182
2182
|
{
|
|
2183
2183
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2189,7 +2189,7 @@ const Rt = (e) => {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
) }) }),
|
|
2192
|
-
/* @__PURE__ */ d.jsx(
|
|
2192
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2193
2193
|
he,
|
|
2194
2194
|
{
|
|
2195
2195
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2201,7 +2201,7 @@ const Rt = (e) => {
|
|
|
2201
2201
|
}
|
|
2202
2202
|
}
|
|
2203
2203
|
) }) }),
|
|
2204
|
-
/* @__PURE__ */ d.jsx(
|
|
2204
|
+
/* @__PURE__ */ d.jsx(xe, { disablePadding: !0, children: /* @__PURE__ */ d.jsx(Se, { sx: { px: 3 }, disabled: !0, children: /* @__PURE__ */ d.jsx(
|
|
2205
2205
|
he,
|
|
2206
2206
|
{
|
|
2207
2207
|
primary: /* @__PURE__ */ d.jsx(fe, { variant: "text", width: "100%" }),
|
|
@@ -2239,7 +2239,7 @@ const Rt = (e) => {
|
|
|
2239
2239
|
{
|
|
2240
2240
|
sx: {
|
|
2241
2241
|
...e ? {
|
|
2242
|
-
ml: `${
|
|
2242
|
+
ml: `${st}px`,
|
|
2243
2243
|
transition: (r) => r.transitions.create("margin", {
|
|
2244
2244
|
easing: r.transitions.easing.easeOut,
|
|
2245
2245
|
duration: r.transitions.duration.enteringScreen
|
|
@@ -2278,7 +2278,7 @@ const Rt = (e) => {
|
|
|
2278
2278
|
},
|
|
2279
2279
|
children: [
|
|
2280
2280
|
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(Zs, { children: t }) }),
|
|
2281
|
-
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(
|
|
2281
|
+
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(we, { fontSize: 12, fontWeight: 500, align: "center", color: "inherit", children: r }) })
|
|
2282
2282
|
]
|
|
2283
2283
|
}
|
|
2284
2284
|
), Jo = ({ apps: e }) => /* @__PURE__ */ d.jsx(
|
|
@@ -2304,8 +2304,8 @@ const Rt = (e) => {
|
|
|
2304
2304
|
`CARD_APPS_TOOLBAR__APP__${r}`
|
|
2305
2305
|
)) })
|
|
2306
2306
|
}
|
|
2307
|
-
),
|
|
2308
|
-
let e =
|
|
2307
|
+
), Ot = (e) => e, Go = () => {
|
|
2308
|
+
let e = Ot;
|
|
2309
2309
|
return {
|
|
2310
2310
|
configure(r) {
|
|
2311
2311
|
e = r;
|
|
@@ -2314,7 +2314,7 @@ const Rt = (e) => {
|
|
|
2314
2314
|
return e(r);
|
|
2315
2315
|
},
|
|
2316
2316
|
reset() {
|
|
2317
|
-
e =
|
|
2317
|
+
e = Ot;
|
|
2318
2318
|
}
|
|
2319
2319
|
};
|
|
2320
2320
|
}, Yo = Go();
|
|
@@ -2336,10 +2336,10 @@ var pr = { exports: {} }, mr = { exports: {} }, G = {};
|
|
|
2336
2336
|
* This source code is licensed under the MIT license found in the
|
|
2337
2337
|
* LICENSE file in the root directory of this source tree.
|
|
2338
2338
|
*/
|
|
2339
|
-
var
|
|
2339
|
+
var It;
|
|
2340
2340
|
function qo() {
|
|
2341
|
-
if (
|
|
2342
|
-
|
|
2341
|
+
if (It) return G;
|
|
2342
|
+
It = 1;
|
|
2343
2343
|
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, l = 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, w = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
|
|
2344
2344
|
function V(R) {
|
|
2345
2345
|
if (typeof R == "object" && R !== null) {
|
|
@@ -2411,9 +2411,9 @@ var Y = {};
|
|
|
2411
2411
|
* This source code is licensed under the MIT license found in the
|
|
2412
2412
|
* LICENSE file in the root directory of this source tree.
|
|
2413
2413
|
*/
|
|
2414
|
-
var
|
|
2414
|
+
var Pt;
|
|
2415
2415
|
function Zo() {
|
|
2416
|
-
return
|
|
2416
|
+
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2417
2417
|
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, l = 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, w = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
|
|
2418
2418
|
function V(I) {
|
|
2419
2419
|
return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -2494,19 +2494,19 @@ function Zo() {
|
|
|
2494
2494
|
Y.AsyncMode = R, Y.ConcurrentMode = L, Y.ContextConsumer = H, Y.ContextProvider = F, Y.Element = re, Y.ForwardRef = le, Y.Fragment = W, Y.Lazy = c, Y.Memo = M, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = s, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = b, Y.isFragment = k, Y.isLazy = g, Y.isMemo = m, Y.isPortal = T, Y.isProfiler = $, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = V, Y.typeOf = j;
|
|
2495
2495
|
}()), Y;
|
|
2496
2496
|
}
|
|
2497
|
-
var
|
|
2497
|
+
var jt;
|
|
2498
2498
|
function vn() {
|
|
2499
|
-
return
|
|
2499
|
+
return jt || (jt = 1, process.env.NODE_ENV === "production" ? mr.exports = qo() : mr.exports = Zo()), mr.exports;
|
|
2500
2500
|
}
|
|
2501
2501
|
/*
|
|
2502
2502
|
object-assign
|
|
2503
2503
|
(c) Sindre Sorhus
|
|
2504
2504
|
@license MIT
|
|
2505
2505
|
*/
|
|
2506
|
-
var Wr,
|
|
2506
|
+
var Wr, $t;
|
|
2507
2507
|
function Xo() {
|
|
2508
|
-
if (
|
|
2509
|
-
|
|
2508
|
+
if ($t) return Wr;
|
|
2509
|
+
$t = 1;
|
|
2510
2510
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
2511
2511
|
function n(a) {
|
|
2512
2512
|
if (a == null)
|
|
@@ -2549,25 +2549,25 @@ function Xo() {
|
|
|
2549
2549
|
return f;
|
|
2550
2550
|
}, Wr;
|
|
2551
2551
|
}
|
|
2552
|
-
var Hr,
|
|
2553
|
-
function
|
|
2554
|
-
if (
|
|
2555
|
-
|
|
2552
|
+
var Hr, Mt;
|
|
2553
|
+
function yt() {
|
|
2554
|
+
if (Mt) return Hr;
|
|
2555
|
+
Mt = 1;
|
|
2556
2556
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2557
2557
|
return Hr = e, Hr;
|
|
2558
2558
|
}
|
|
2559
|
-
var Qr,
|
|
2559
|
+
var Qr, Ut;
|
|
2560
2560
|
function xn() {
|
|
2561
|
-
return
|
|
2561
|
+
return Ut || (Ut = 1, Qr = Function.call.bind(Object.prototype.hasOwnProperty)), Qr;
|
|
2562
2562
|
}
|
|
2563
|
-
var Kr,
|
|
2563
|
+
var Kr, Lt;
|
|
2564
2564
|
function ea() {
|
|
2565
|
-
if (
|
|
2566
|
-
|
|
2565
|
+
if (Lt) return Kr;
|
|
2566
|
+
Lt = 1;
|
|
2567
2567
|
var e = function() {
|
|
2568
2568
|
};
|
|
2569
2569
|
if (process.env.NODE_ENV !== "production") {
|
|
2570
|
-
var r = /* @__PURE__ */
|
|
2570
|
+
var r = /* @__PURE__ */ yt(), t = {}, n = /* @__PURE__ */ xn();
|
|
2571
2571
|
e = function(a) {
|
|
2572
2572
|
var l = "Warning: " + a;
|
|
2573
2573
|
typeof console < "u" && console.error(l);
|
|
@@ -2609,11 +2609,11 @@ function ea() {
|
|
|
2609
2609
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
2610
2610
|
}, Kr = o, Kr;
|
|
2611
2611
|
}
|
|
2612
|
-
var Jr,
|
|
2612
|
+
var Jr, Nt;
|
|
2613
2613
|
function ra() {
|
|
2614
|
-
if (
|
|
2615
|
-
|
|
2616
|
-
var e = vn(), r = Xo(), t = /* @__PURE__ */
|
|
2614
|
+
if (Nt) return Jr;
|
|
2615
|
+
Nt = 1;
|
|
2616
|
+
var e = vn(), r = Xo(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ xn(), o = /* @__PURE__ */ ea(), a = function() {
|
|
2617
2617
|
};
|
|
2618
2618
|
process.env.NODE_ENV !== "production" && (a = function(u) {
|
|
2619
2619
|
var f = "Warning: " + u;
|
|
@@ -2930,11 +2930,11 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
2930
2930
|
return E.checkPropTypes = o, E.resetWarningCache = o.resetWarningCache, E.PropTypes = E, E;
|
|
2931
2931
|
}, Jr;
|
|
2932
2932
|
}
|
|
2933
|
-
var Gr,
|
|
2933
|
+
var Gr, Dt;
|
|
2934
2934
|
function ta() {
|
|
2935
|
-
if (
|
|
2936
|
-
|
|
2937
|
-
var e = /* @__PURE__ */
|
|
2935
|
+
if (Dt) return Gr;
|
|
2936
|
+
Dt = 1;
|
|
2937
|
+
var e = /* @__PURE__ */ yt();
|
|
2938
2938
|
function r() {
|
|
2939
2939
|
}
|
|
2940
2940
|
function t() {
|
|
@@ -2978,10 +2978,10 @@ function ta() {
|
|
|
2978
2978
|
return a.PropTypes = a, a;
|
|
2979
2979
|
}, Gr;
|
|
2980
2980
|
}
|
|
2981
|
-
var
|
|
2981
|
+
var Bt;
|
|
2982
2982
|
function na() {
|
|
2983
|
-
if (
|
|
2984
|
-
if (
|
|
2983
|
+
if (Bt) return pr.exports;
|
|
2984
|
+
if (Bt = 1, process.env.NODE_ENV !== "production") {
|
|
2985
2985
|
var e = vn(), r = !0;
|
|
2986
2986
|
pr.exports = /* @__PURE__ */ ra()(e.isElement, r);
|
|
2987
2987
|
} else
|
|
@@ -3026,10 +3026,10 @@ var hr = { exports: {} }, X = {};
|
|
|
3026
3026
|
* This source code is licensed under the MIT license found in the
|
|
3027
3027
|
* LICENSE file in the root directory of this source tree.
|
|
3028
3028
|
*/
|
|
3029
|
-
var
|
|
3029
|
+
var Vt;
|
|
3030
3030
|
function ia() {
|
|
3031
|
-
if (
|
|
3032
|
-
|
|
3031
|
+
if (Vt) return X;
|
|
3032
|
+
Vt = 1;
|
|
3033
3033
|
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"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), x = Symbol.for("react.view_transition"), E = Symbol.for("react.client.reference");
|
|
3034
3034
|
function v(p) {
|
|
3035
3035
|
if (typeof p == "object" && p !== null) {
|
|
@@ -3100,9 +3100,9 @@ var ee = {};
|
|
|
3100
3100
|
* This source code is licensed under the MIT license found in the
|
|
3101
3101
|
* LICENSE file in the root directory of this source tree.
|
|
3102
3102
|
*/
|
|
3103
|
-
var
|
|
3103
|
+
var Ft;
|
|
3104
3104
|
function sa() {
|
|
3105
|
-
return
|
|
3105
|
+
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3106
3106
|
function e(p) {
|
|
3107
3107
|
if (typeof p == "object" && p !== null) {
|
|
3108
3108
|
var _ = p.$$typeof;
|
|
@@ -3164,19 +3164,19 @@ function sa() {
|
|
|
3164
3164
|
}, ee.typeOf = e;
|
|
3165
3165
|
}()), ee;
|
|
3166
3166
|
}
|
|
3167
|
-
var
|
|
3167
|
+
var zt;
|
|
3168
3168
|
function ca() {
|
|
3169
|
-
return
|
|
3169
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? hr.exports = /* @__PURE__ */ ia() : hr.exports = /* @__PURE__ */ sa()), hr.exports;
|
|
3170
3170
|
}
|
|
3171
3171
|
var Sr = /* @__PURE__ */ ca();
|
|
3172
|
-
function
|
|
3172
|
+
function Te(e) {
|
|
3173
3173
|
if (typeof e != "object" || e === null)
|
|
3174
3174
|
return !1;
|
|
3175
3175
|
const r = Object.getPrototypeOf(e);
|
|
3176
3176
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
3177
3177
|
}
|
|
3178
3178
|
function Cn(e) {
|
|
3179
|
-
if (/* @__PURE__ */
|
|
3179
|
+
if (/* @__PURE__ */ Ue.isValidElement(e) || Sr.isValidElementType(e) || !Te(e))
|
|
3180
3180
|
return e;
|
|
3181
3181
|
const r = {};
|
|
3182
3182
|
return Object.keys(e).forEach((t) => {
|
|
@@ -3189,9 +3189,9 @@ function me(e, r, t = {
|
|
|
3189
3189
|
const n = t.clone ? {
|
|
3190
3190
|
...e
|
|
3191
3191
|
} : e;
|
|
3192
|
-
return
|
|
3193
|
-
/* @__PURE__ */
|
|
3194
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
3192
|
+
return Te(e) && Te(r) && Object.keys(r).forEach((o) => {
|
|
3193
|
+
/* @__PURE__ */ Ue.isValidElement(r[o]) || Sr.isValidElementType(r[o]) ? n[o] = r[o] : Te(r[o]) && // Avoid prototype pollution
|
|
3194
|
+
Object.prototype.hasOwnProperty.call(e, o) && Te(e[o]) ? n[o] = me(e[o], r[o], t) : t.clone ? n[o] = Te(r[o]) ? Cn(r[o]) : r[o] : n[o] = r[o];
|
|
3195
3195
|
}), n;
|
|
3196
3196
|
}
|
|
3197
3197
|
function cr(e, r) {
|
|
@@ -3200,8 +3200,8 @@ function cr(e, r) {
|
|
|
3200
3200
|
// No need to clone deep, it's way faster.
|
|
3201
3201
|
}) : e;
|
|
3202
3202
|
}
|
|
3203
|
-
const
|
|
3204
|
-
function
|
|
3203
|
+
const Ne = process.env.NODE_ENV !== "production" ? K.oneOfType([K.number, K.string, K.object, K.array]) : {};
|
|
3204
|
+
function Wt(e, r) {
|
|
3205
3205
|
if (!e.containerQueries)
|
|
3206
3206
|
return r;
|
|
3207
3207
|
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -3258,7 +3258,7 @@ const _r = {
|
|
|
3258
3258
|
// desktop
|
|
3259
3259
|
xl: 1536
|
|
3260
3260
|
// large screen
|
|
3261
|
-
},
|
|
3261
|
+
}, Ht = {
|
|
3262
3262
|
// Sorted ASC by size. That's important.
|
|
3263
3263
|
// It can't be configured as it's used statically for propTypes.
|
|
3264
3264
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -3271,14 +3271,14 @@ const _r = {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
})
|
|
3273
3273
|
};
|
|
3274
|
-
function
|
|
3274
|
+
function Oe(e, r, t) {
|
|
3275
3275
|
const n = e.theme || {};
|
|
3276
3276
|
if (Array.isArray(r)) {
|
|
3277
|
-
const a = n.breakpoints ||
|
|
3277
|
+
const a = n.breakpoints || Ht;
|
|
3278
3278
|
return r.reduce((l, u, f) => (l[a.up(a.keys[f])] = t(r[f]), l), {});
|
|
3279
3279
|
}
|
|
3280
3280
|
if (typeof r == "object") {
|
|
3281
|
-
const a = n.breakpoints ||
|
|
3281
|
+
const a = n.breakpoints || Ht;
|
|
3282
3282
|
return Object.keys(r).reduce((l, u) => {
|
|
3283
3283
|
if (la(a.keys, u)) {
|
|
3284
3284
|
const f = ua(n.containerQueries ? n : fa, u);
|
|
@@ -3302,7 +3302,7 @@ function pa(e = {}) {
|
|
|
3302
3302
|
return n[a] = {}, n;
|
|
3303
3303
|
}, {})) || {};
|
|
3304
3304
|
}
|
|
3305
|
-
function
|
|
3305
|
+
function Qt(e, r) {
|
|
3306
3306
|
return e.reduce((t, n) => {
|
|
3307
3307
|
const o = t[n];
|
|
3308
3308
|
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
@@ -3332,7 +3332,7 @@ function ie(e) {
|
|
|
3332
3332
|
if (l[r] == null)
|
|
3333
3333
|
return null;
|
|
3334
3334
|
const u = l[r], f = l.theme, h = Or(f, n) || {};
|
|
3335
|
-
return
|
|
3335
|
+
return Oe(l, u, (C) => {
|
|
3336
3336
|
let x = wr(h, o, C);
|
|
3337
3337
|
return C === x && typeof C == "string" && (x = wr(h, o, `${r}${C === "default" ? "" : We(C)}`, C)), t === !1 ? x : {
|
|
3338
3338
|
[t]: x
|
|
@@ -3340,7 +3340,7 @@ function ie(e) {
|
|
|
3340
3340
|
});
|
|
3341
3341
|
};
|
|
3342
3342
|
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3343
|
-
[r]:
|
|
3343
|
+
[r]: Ne
|
|
3344
3344
|
} : {}, a.filterProps = [r], a;
|
|
3345
3345
|
}
|
|
3346
3346
|
function ma(e) {
|
|
@@ -3357,15 +3357,15 @@ const ha = {
|
|
|
3357
3357
|
l: "Left",
|
|
3358
3358
|
x: ["Left", "Right"],
|
|
3359
3359
|
y: ["Top", "Bottom"]
|
|
3360
|
-
},
|
|
3360
|
+
}, Kt = {
|
|
3361
3361
|
marginX: "mx",
|
|
3362
3362
|
marginY: "my",
|
|
3363
3363
|
paddingX: "px",
|
|
3364
3364
|
paddingY: "py"
|
|
3365
3365
|
}, ya = ma((e) => {
|
|
3366
3366
|
if (e.length > 2)
|
|
3367
|
-
if (
|
|
3368
|
-
e =
|
|
3367
|
+
if (Kt[e])
|
|
3368
|
+
e = Kt[e];
|
|
3369
3369
|
else
|
|
3370
3370
|
return [e];
|
|
3371
3371
|
const [r, t] = e.split(""), n = ha[r], o = ga[t] || "";
|
|
@@ -3386,7 +3386,7 @@ function ur(e, r, t, n) {
|
|
|
3386
3386
|
`)), () => {
|
|
3387
3387
|
});
|
|
3388
3388
|
}
|
|
3389
|
-
function
|
|
3389
|
+
function bt(e) {
|
|
3390
3390
|
return ur(e, "spacing", 8, "spacing");
|
|
3391
3391
|
}
|
|
3392
3392
|
function dr(e, r) {
|
|
@@ -3399,23 +3399,23 @@ function va(e, r, t, n) {
|
|
|
3399
3399
|
if (!r.includes(t))
|
|
3400
3400
|
return null;
|
|
3401
3401
|
const o = ya(t), a = Aa(o, n), l = e[t];
|
|
3402
|
-
return
|
|
3402
|
+
return Oe(e, l, a);
|
|
3403
3403
|
}
|
|
3404
3404
|
function kn(e, r) {
|
|
3405
|
-
const t =
|
|
3405
|
+
const t = bt(e.theme);
|
|
3406
3406
|
return Object.keys(e).map((n) => va(e, r, n, t)).reduce(cr, {});
|
|
3407
3407
|
}
|
|
3408
3408
|
function oe(e) {
|
|
3409
3409
|
return kn(e, Ir);
|
|
3410
3410
|
}
|
|
3411
|
-
oe.propTypes = process.env.NODE_ENV !== "production" ? Ir.reduce((e, r) => (e[r] =
|
|
3411
|
+
oe.propTypes = process.env.NODE_ENV !== "production" ? Ir.reduce((e, r) => (e[r] = Ne, e), {}) : {};
|
|
3412
3412
|
oe.filterProps = Ir;
|
|
3413
3413
|
function ae(e) {
|
|
3414
3414
|
return kn(e, Pr);
|
|
3415
3415
|
}
|
|
3416
|
-
ae.propTypes = process.env.NODE_ENV !== "production" ? Pr.reduce((e, r) => (e[r] =
|
|
3416
|
+
ae.propTypes = process.env.NODE_ENV !== "production" ? Pr.reduce((e, r) => (e[r] = Ne, e), {}) : {};
|
|
3417
3417
|
ae.filterProps = Pr;
|
|
3418
|
-
process.env.NODE_ENV !== "production" && ba.reduce((e, r) => (e[r] =
|
|
3418
|
+
process.env.NODE_ENV !== "production" && ba.reduce((e, r) => (e[r] = Ne, e), {});
|
|
3419
3419
|
function jr(...e) {
|
|
3420
3420
|
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
3421
3421
|
n[a] = o;
|
|
@@ -3437,12 +3437,12 @@ const xa = be("border", ge), Sa = be("borderTop", ge), wa = be("borderRight", ge
|
|
|
3437
3437
|
const r = ur(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
3438
3438
|
borderRadius: dr(r, n)
|
|
3439
3439
|
});
|
|
3440
|
-
return
|
|
3440
|
+
return Oe(e, e.borderRadius, t);
|
|
3441
3441
|
}
|
|
3442
3442
|
return null;
|
|
3443
3443
|
};
|
|
3444
3444
|
$r.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3445
|
-
borderRadius:
|
|
3445
|
+
borderRadius: Ne
|
|
3446
3446
|
} : {};
|
|
3447
3447
|
$r.filterProps = ["borderRadius"];
|
|
3448
3448
|
jr(xa, Sa, wa, Ca, ka, Ea, Ta, Ra, _a, Oa, $r, Ia, Pa);
|
|
@@ -3451,12 +3451,12 @@ const Mr = (e) => {
|
|
|
3451
3451
|
const r = ur(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
3452
3452
|
gap: dr(r, n)
|
|
3453
3453
|
});
|
|
3454
|
-
return
|
|
3454
|
+
return Oe(e, e.gap, t);
|
|
3455
3455
|
}
|
|
3456
3456
|
return null;
|
|
3457
3457
|
};
|
|
3458
3458
|
Mr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3459
|
-
gap:
|
|
3459
|
+
gap: Ne
|
|
3460
3460
|
} : {};
|
|
3461
3461
|
Mr.filterProps = ["gap"];
|
|
3462
3462
|
const Ur = (e) => {
|
|
@@ -3464,12 +3464,12 @@ const Ur = (e) => {
|
|
|
3464
3464
|
const r = ur(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
3465
3465
|
columnGap: dr(r, n)
|
|
3466
3466
|
});
|
|
3467
|
-
return
|
|
3467
|
+
return Oe(e, e.columnGap, t);
|
|
3468
3468
|
}
|
|
3469
3469
|
return null;
|
|
3470
3470
|
};
|
|
3471
3471
|
Ur.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3472
|
-
columnGap:
|
|
3472
|
+
columnGap: Ne
|
|
3473
3473
|
} : {};
|
|
3474
3474
|
Ur.filterProps = ["columnGap"];
|
|
3475
3475
|
const Lr = (e) => {
|
|
@@ -3477,12 +3477,12 @@ const Lr = (e) => {
|
|
|
3477
3477
|
const r = ur(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
3478
3478
|
rowGap: dr(r, n)
|
|
3479
3479
|
});
|
|
3480
|
-
return
|
|
3480
|
+
return Oe(e, e.rowGap, t);
|
|
3481
3481
|
}
|
|
3482
3482
|
return null;
|
|
3483
3483
|
};
|
|
3484
3484
|
Lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3485
|
-
rowGap:
|
|
3485
|
+
rowGap: Ne
|
|
3486
3486
|
} : {};
|
|
3487
3487
|
Lr.filterProps = ["rowGap"];
|
|
3488
3488
|
const ja = ie({
|
|
@@ -3529,7 +3529,7 @@ function pe(e) {
|
|
|
3529
3529
|
const Ha = ie({
|
|
3530
3530
|
prop: "width",
|
|
3531
3531
|
transform: pe
|
|
3532
|
-
}),
|
|
3532
|
+
}), At = (e) => {
|
|
3533
3533
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
3534
3534
|
const r = (t) => {
|
|
3535
3535
|
var o, a, l, u, f;
|
|
@@ -3542,11 +3542,11 @@ const Ha = ie({
|
|
|
3542
3542
|
maxWidth: pe(t)
|
|
3543
3543
|
};
|
|
3544
3544
|
};
|
|
3545
|
-
return
|
|
3545
|
+
return Oe(e, e.maxWidth, r);
|
|
3546
3546
|
}
|
|
3547
3547
|
return null;
|
|
3548
3548
|
};
|
|
3549
|
-
|
|
3549
|
+
At.filterProps = ["maxWidth"];
|
|
3550
3550
|
const Qa = ie({
|
|
3551
3551
|
prop: "minWidth",
|
|
3552
3552
|
transform: pe
|
|
@@ -3573,7 +3573,7 @@ ie({
|
|
|
3573
3573
|
const Ya = ie({
|
|
3574
3574
|
prop: "boxSizing"
|
|
3575
3575
|
});
|
|
3576
|
-
jr(Ha,
|
|
3576
|
+
jr(Ha, At, Qa, Ka, Ja, Ga, Ya);
|
|
3577
3577
|
const Nr = {
|
|
3578
3578
|
// borders
|
|
3579
3579
|
border: {
|
|
@@ -3822,7 +3822,7 @@ const Nr = {
|
|
|
3822
3822
|
transform: pe
|
|
3823
3823
|
},
|
|
3824
3824
|
maxWidth: {
|
|
3825
|
-
style:
|
|
3825
|
+
style: At
|
|
3826
3826
|
},
|
|
3827
3827
|
minWidth: {
|
|
3828
3828
|
transform: pe
|
|
@@ -3892,7 +3892,7 @@ function Xa() {
|
|
|
3892
3892
|
[t]: n
|
|
3893
3893
|
};
|
|
3894
3894
|
const x = Or(o, h) || {};
|
|
3895
|
-
return C ? C(l) :
|
|
3895
|
+
return C ? C(l) : Oe(l, n, (v) => {
|
|
3896
3896
|
let p = wr(x, w, v);
|
|
3897
3897
|
return v === p && typeof v == "string" && (p = wr(x, w, `${t}${v === "default" ? "" : We(v)}`, v)), f === !1 ? p : {
|
|
3898
3898
|
[f]: p
|
|
@@ -3925,7 +3925,7 @@ function Xa() {
|
|
|
3925
3925
|
if (l[E])
|
|
3926
3926
|
x = cr(x, e(E, v, o, l));
|
|
3927
3927
|
else {
|
|
3928
|
-
const p =
|
|
3928
|
+
const p = Oe({
|
|
3929
3929
|
theme: o
|
|
3930
3930
|
}, v, (_) => ({
|
|
3931
3931
|
[E]: _
|
|
@@ -3939,8 +3939,8 @@ function Xa() {
|
|
|
3939
3939
|
else
|
|
3940
3940
|
x = cr(x, e(E, v, o, l));
|
|
3941
3941
|
}), !a && o.modularCssLayers ? {
|
|
3942
|
-
"@layer sx":
|
|
3943
|
-
} :
|
|
3942
|
+
"@layer sx": Wt(o, Qt(C, x))
|
|
3943
|
+
} : Wt(o, Qt(C, x));
|
|
3944
3944
|
}
|
|
3945
3945
|
return Array.isArray(n) ? n.map(u) : u(n);
|
|
3946
3946
|
}
|
|
@@ -4025,20 +4025,20 @@ function ti(e) {
|
|
|
4025
4025
|
}
|
|
4026
4026
|
var ni = /[A-Z]|^ms/g, oi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, En = function(r) {
|
|
4027
4027
|
return r.charCodeAt(1) === 45;
|
|
4028
|
-
},
|
|
4028
|
+
}, Jt = function(r) {
|
|
4029
4029
|
return r != null && typeof r != "boolean";
|
|
4030
4030
|
}, Yr = /* @__PURE__ */ ti(function(e) {
|
|
4031
4031
|
return En(e) ? e : e.replace(ni, "-$&").toLowerCase();
|
|
4032
|
-
}),
|
|
4032
|
+
}), Gt = function(r, t) {
|
|
4033
4033
|
switch (r) {
|
|
4034
4034
|
case "animation":
|
|
4035
4035
|
case "animationName":
|
|
4036
4036
|
if (typeof t == "string")
|
|
4037
4037
|
return t.replace(oi, function(n, o, a) {
|
|
4038
|
-
return
|
|
4038
|
+
return $e = {
|
|
4039
4039
|
name: o,
|
|
4040
4040
|
styles: a,
|
|
4041
|
-
next:
|
|
4041
|
+
next: $e
|
|
4042
4042
|
}, o;
|
|
4043
4043
|
});
|
|
4044
4044
|
}
|
|
@@ -4056,20 +4056,20 @@ function Cr(e, r, t) {
|
|
|
4056
4056
|
case "object": {
|
|
4057
4057
|
var o = t;
|
|
4058
4058
|
if (o.anim === 1)
|
|
4059
|
-
return
|
|
4059
|
+
return $e = {
|
|
4060
4060
|
name: o.name,
|
|
4061
4061
|
styles: o.styles,
|
|
4062
|
-
next:
|
|
4062
|
+
next: $e
|
|
4063
4063
|
}, o.name;
|
|
4064
4064
|
var a = t;
|
|
4065
4065
|
if (a.styles !== void 0) {
|
|
4066
4066
|
var l = a.next;
|
|
4067
4067
|
if (l !== void 0)
|
|
4068
4068
|
for (; l !== void 0; )
|
|
4069
|
-
|
|
4069
|
+
$e = {
|
|
4070
4070
|
name: l.name,
|
|
4071
4071
|
styles: l.styles,
|
|
4072
|
-
next:
|
|
4072
|
+
next: $e
|
|
4073
4073
|
}, l = l.next;
|
|
4074
4074
|
var u = a.styles + ";";
|
|
4075
4075
|
return u;
|
|
@@ -4090,10 +4090,10 @@ function ai(e, r, t) {
|
|
|
4090
4090
|
var l = t[a];
|
|
4091
4091
|
if (typeof l != "object") {
|
|
4092
4092
|
var u = l;
|
|
4093
|
-
|
|
4093
|
+
Jt(u) && (n += Yr(a) + ":" + Gt(a, u) + ";");
|
|
4094
4094
|
} else if (Array.isArray(l) && typeof l[0] == "string" && r == null)
|
|
4095
4095
|
for (var f = 0; f < l.length; f++)
|
|
4096
|
-
|
|
4096
|
+
Jt(l[f]) && (n += Yr(a) + ":" + Gt(a, l[f]) + ";");
|
|
4097
4097
|
else {
|
|
4098
4098
|
var h = Cr(e, r, l);
|
|
4099
4099
|
switch (a) {
|
|
@@ -4109,12 +4109,12 @@ function ai(e, r, t) {
|
|
|
4109
4109
|
}
|
|
4110
4110
|
return n;
|
|
4111
4111
|
}
|
|
4112
|
-
var
|
|
4112
|
+
var Yt = /label:\s*([^\s;{]+)\s*(;|$)/g, $e;
|
|
4113
4113
|
function ii(e, r, t) {
|
|
4114
4114
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
4115
4115
|
return e[0];
|
|
4116
4116
|
var n = !0, o = "";
|
|
4117
|
-
|
|
4117
|
+
$e = void 0;
|
|
4118
4118
|
var a = e[0];
|
|
4119
4119
|
if (a == null || a.raw === void 0)
|
|
4120
4120
|
n = !1, o += Cr(t, r, a);
|
|
@@ -4127,14 +4127,14 @@ function ii(e, r, t) {
|
|
|
4127
4127
|
var f = a;
|
|
4128
4128
|
o += f[u];
|
|
4129
4129
|
}
|
|
4130
|
-
|
|
4131
|
-
for (var h = "", w; (w =
|
|
4130
|
+
Yt.lastIndex = 0;
|
|
4131
|
+
for (var h = "", w; (w = Yt.exec(o)) !== null; )
|
|
4132
4132
|
h += "-" + w[1];
|
|
4133
4133
|
var C = ei(o) + h;
|
|
4134
4134
|
return {
|
|
4135
4135
|
name: C,
|
|
4136
4136
|
styles: o,
|
|
4137
|
-
next:
|
|
4137
|
+
next: $e
|
|
4138
4138
|
};
|
|
4139
4139
|
}
|
|
4140
4140
|
/**
|
|
@@ -4155,9 +4155,9 @@ function si(e, r) {
|
|
|
4155
4155
|
function ci(e, r) {
|
|
4156
4156
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
4157
4157
|
}
|
|
4158
|
-
const
|
|
4158
|
+
const qt = [];
|
|
4159
4159
|
function Fe(e) {
|
|
4160
|
-
return
|
|
4160
|
+
return qt[0] = e, ii(qt);
|
|
4161
4161
|
}
|
|
4162
4162
|
const li = (e) => {
|
|
4163
4163
|
const r = Object.keys(e).map((t) => ({
|
|
@@ -4221,7 +4221,7 @@ function ui(e) {
|
|
|
4221
4221
|
const di = {
|
|
4222
4222
|
borderRadius: 4
|
|
4223
4223
|
};
|
|
4224
|
-
function Tn(e = 8, r =
|
|
4224
|
+
function Tn(e = 8, r = bt({
|
|
4225
4225
|
spacing: e
|
|
4226
4226
|
})) {
|
|
4227
4227
|
if (e.mui)
|
|
@@ -4292,20 +4292,20 @@ const pi = {
|
|
|
4292
4292
|
required: "required",
|
|
4293
4293
|
selected: "selected"
|
|
4294
4294
|
};
|
|
4295
|
-
function
|
|
4295
|
+
function vt(e, r, t = "Mui") {
|
|
4296
4296
|
const n = pi[r];
|
|
4297
4297
|
return n ? `${t}-${n}` : `${Yo.generate(e)}-${r}`;
|
|
4298
4298
|
}
|
|
4299
4299
|
function mi(e, r, t = "Mui") {
|
|
4300
4300
|
const n = {};
|
|
4301
4301
|
return r.forEach((o) => {
|
|
4302
|
-
n[o] =
|
|
4302
|
+
n[o] = vt(e, o, t);
|
|
4303
4303
|
}), n;
|
|
4304
4304
|
}
|
|
4305
4305
|
function _n(e, r = "") {
|
|
4306
4306
|
return e.displayName || e.name || r;
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function Zt(e, r, t) {
|
|
4309
4309
|
const n = _n(r);
|
|
4310
4310
|
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
4311
4311
|
}
|
|
@@ -4318,9 +4318,9 @@ function hi(e) {
|
|
|
4318
4318
|
if (typeof e == "object")
|
|
4319
4319
|
switch (e.$$typeof) {
|
|
4320
4320
|
case Sr.ForwardRef:
|
|
4321
|
-
return
|
|
4321
|
+
return Zt(e, e.render, "ForwardRef");
|
|
4322
4322
|
case Sr.Memo:
|
|
4323
|
-
return
|
|
4323
|
+
return Zt(e, e.type, "memo");
|
|
4324
4324
|
default:
|
|
4325
4325
|
return;
|
|
4326
4326
|
}
|
|
@@ -4434,7 +4434,7 @@ function Ai(e = {}) {
|
|
|
4434
4434
|
return function(F) {
|
|
4435
4435
|
return yr(F, L, F.theme.modularCssLayers ? p : void 0);
|
|
4436
4436
|
};
|
|
4437
|
-
if (
|
|
4437
|
+
if (Te(L)) {
|
|
4438
4438
|
const H = On(L);
|
|
4439
4439
|
return function(re) {
|
|
4440
4440
|
return H.variants ? yr(re, H, re.theme.modularCssLayers ? p : void 0) : re.theme.modularCssLayers ? Be(H.style, p) : H.style;
|
|
@@ -4488,7 +4488,7 @@ function wi(e) {
|
|
|
4488
4488
|
function Pn(e) {
|
|
4489
4489
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
4490
4490
|
}
|
|
4491
|
-
function
|
|
4491
|
+
function ut(e, r, t = !1) {
|
|
4492
4492
|
const n = {
|
|
4493
4493
|
...r
|
|
4494
4494
|
};
|
|
@@ -4513,7 +4513,7 @@ function lt(e, r, t = !1) {
|
|
|
4513
4513
|
for (const f in l)
|
|
4514
4514
|
if (Object.prototype.hasOwnProperty.call(l, f)) {
|
|
4515
4515
|
const h = f;
|
|
4516
|
-
n[a][h] =
|
|
4516
|
+
n[a][h] = ut(l[h], u[h], t);
|
|
4517
4517
|
}
|
|
4518
4518
|
}
|
|
4519
4519
|
} else a === "className" && t && r.className ? n.className = wn(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : a === "style" && t && r.style ? n.style = {
|
|
@@ -4526,7 +4526,7 @@ function lt(e, r, t = !1) {
|
|
|
4526
4526
|
function Ci(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
4527
4527
|
return Math.max(r, Math.min(e, t));
|
|
4528
4528
|
}
|
|
4529
|
-
function
|
|
4529
|
+
function xt(e, r = 0, t = 1) {
|
|
4530
4530
|
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Ci(e, r, t);
|
|
4531
4531
|
}
|
|
4532
4532
|
function ki(e) {
|
|
@@ -4535,11 +4535,11 @@ function ki(e) {
|
|
|
4535
4535
|
let t = e.match(r);
|
|
4536
4536
|
return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4538
|
+
function Le(e) {
|
|
4539
4539
|
if (e.type)
|
|
4540
4540
|
return e;
|
|
4541
4541
|
if (e.charAt(0) === "#")
|
|
4542
|
-
return
|
|
4542
|
+
return Le(ki(e));
|
|
4543
4543
|
const r = e.indexOf("("), t = e.substring(0, r);
|
|
4544
4544
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
4545
4545
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -4558,7 +4558,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
4558
4558
|
};
|
|
4559
4559
|
}
|
|
4560
4560
|
const Ei = (e) => {
|
|
4561
|
-
const r =
|
|
4561
|
+
const r = Le(e);
|
|
4562
4562
|
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
4563
4563
|
}, ar = (e, r) => {
|
|
4564
4564
|
try {
|
|
@@ -4578,7 +4578,7 @@ function Dr(e) {
|
|
|
4578
4578
|
return r.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
4579
4579
|
}
|
|
4580
4580
|
function jn(e) {
|
|
4581
|
-
e =
|
|
4581
|
+
e = Le(e);
|
|
4582
4582
|
const {
|
|
4583
4583
|
values: r
|
|
4584
4584
|
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), l = (h, w = (h + t / 30) % 12) => o - a * Math.max(Math.min(w - 3, 9 - w, 1), -1);
|
|
@@ -4589,19 +4589,19 @@ function jn(e) {
|
|
|
4589
4589
|
values: f
|
|
4590
4590
|
});
|
|
4591
4591
|
}
|
|
4592
|
-
function
|
|
4593
|
-
e =
|
|
4594
|
-
let r = e.type === "hsl" || e.type === "hsla" ?
|
|
4592
|
+
function dt(e) {
|
|
4593
|
+
e = Le(e);
|
|
4594
|
+
let r = e.type === "hsl" || e.type === "hsla" ? Le(jn(e)).values : e.values;
|
|
4595
4595
|
return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
4596
4596
|
}
|
|
4597
|
-
function
|
|
4598
|
-
const t =
|
|
4597
|
+
function Xt(e, r) {
|
|
4598
|
+
const t = dt(e), n = dt(r);
|
|
4599
4599
|
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
4600
4600
|
}
|
|
4601
4601
|
function $n(e, r) {
|
|
4602
|
-
return e =
|
|
4602
|
+
return e = Le(e), r = xt(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Dr(e);
|
|
4603
4603
|
}
|
|
4604
|
-
function
|
|
4604
|
+
function De(e, r, t) {
|
|
4605
4605
|
try {
|
|
4606
4606
|
return $n(e, r);
|
|
4607
4607
|
} catch {
|
|
@@ -4609,7 +4609,7 @@ function Ne(e, r, t) {
|
|
|
4609
4609
|
}
|
|
4610
4610
|
}
|
|
4611
4611
|
function Br(e, r) {
|
|
4612
|
-
if (e =
|
|
4612
|
+
if (e = Le(e), r = xt(r), e.type.includes("hsl"))
|
|
4613
4613
|
e.values[2] *= 1 - r;
|
|
4614
4614
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
4615
4615
|
for (let t = 0; t < 3; t += 1)
|
|
@@ -4624,7 +4624,7 @@ function q(e, r, t) {
|
|
|
4624
4624
|
}
|
|
4625
4625
|
}
|
|
4626
4626
|
function Vr(e, r) {
|
|
4627
|
-
if (e =
|
|
4627
|
+
if (e = Le(e), r = xt(r), e.type.includes("hsl"))
|
|
4628
4628
|
e.values[2] += (100 - e.values[2]) * r;
|
|
4629
4629
|
else if (e.type.includes("rgb"))
|
|
4630
4630
|
for (let t = 0; t < 3; t += 1)
|
|
@@ -4642,7 +4642,7 @@ function Z(e, r, t) {
|
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
4644
|
function Ti(e, r = 0.15) {
|
|
4645
|
-
return
|
|
4645
|
+
return dt(e) > 0.5 ? Br(e, r) : Vr(e, r);
|
|
4646
4646
|
}
|
|
4647
4647
|
function gr(e, r, t) {
|
|
4648
4648
|
try {
|
|
@@ -4651,7 +4651,7 @@ function gr(e, r, t) {
|
|
|
4651
4651
|
return e;
|
|
4652
4652
|
}
|
|
4653
4653
|
}
|
|
4654
|
-
const Ri = /* @__PURE__ */
|
|
4654
|
+
const Ri = /* @__PURE__ */ Ue.createContext(void 0);
|
|
4655
4655
|
process.env.NODE_ENV !== "production" && (K.node, K.object);
|
|
4656
4656
|
function _i(e) {
|
|
4657
4657
|
const {
|
|
@@ -4662,13 +4662,13 @@ function _i(e) {
|
|
|
4662
4662
|
if (!r || !r.components || !r.components[t])
|
|
4663
4663
|
return n;
|
|
4664
4664
|
const o = r.components[t];
|
|
4665
|
-
return o.defaultProps ?
|
|
4665
|
+
return o.defaultProps ? ut(o.defaultProps, n, r.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? ut(o, n, r.components.mergeClassNameAndStyle) : n;
|
|
4666
4666
|
}
|
|
4667
4667
|
function Oi({
|
|
4668
4668
|
props: e,
|
|
4669
4669
|
name: r
|
|
4670
4670
|
}) {
|
|
4671
|
-
const t =
|
|
4671
|
+
const t = Ue.useContext(Ri);
|
|
4672
4672
|
return _i({
|
|
4673
4673
|
props: e,
|
|
4674
4674
|
name: r,
|
|
@@ -4677,14 +4677,14 @@ function Oi({
|
|
|
4677
4677
|
}
|
|
4678
4678
|
});
|
|
4679
4679
|
}
|
|
4680
|
-
const
|
|
4680
|
+
const en = {
|
|
4681
4681
|
theme: void 0
|
|
4682
4682
|
};
|
|
4683
4683
|
function Ii(e) {
|
|
4684
4684
|
let r, t;
|
|
4685
4685
|
return function(o) {
|
|
4686
4686
|
let a = r;
|
|
4687
|
-
return (a === void 0 || o.theme !== t) && (
|
|
4687
|
+
return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a = On(e(en)), r = a, t = o.theme), a;
|
|
4688
4688
|
};
|
|
4689
4689
|
}
|
|
4690
4690
|
function Pi(e = "") {
|
|
@@ -4696,7 +4696,7 @@ function Pi(e = "") {
|
|
|
4696
4696
|
}
|
|
4697
4697
|
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
|
|
4698
4698
|
}
|
|
4699
|
-
const
|
|
4699
|
+
const rn = (e, r, t, n = []) => {
|
|
4700
4700
|
let o = e;
|
|
4701
4701
|
r.forEach((a, l) => {
|
|
4702
4702
|
l === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
@@ -4721,7 +4721,7 @@ function Zr(e, r) {
|
|
|
4721
4721
|
const w = `--${t ? `${t}-` : ""}${u.join("-")}`, C = $i(u, f);
|
|
4722
4722
|
Object.assign(o, {
|
|
4723
4723
|
[w]: C
|
|
4724
|
-
}),
|
|
4724
|
+
}), rn(a, u, `var(${w})`, h), rn(l, u, `var(${w}, ${C})`, h);
|
|
4725
4725
|
}
|
|
4726
4726
|
},
|
|
4727
4727
|
(u) => u[0] === "vars"
|
|
@@ -4987,12 +4987,12 @@ function Ln() {
|
|
|
4987
4987
|
}
|
|
4988
4988
|
};
|
|
4989
4989
|
}
|
|
4990
|
-
const
|
|
4991
|
-
function
|
|
4990
|
+
const ft = Ln();
|
|
4991
|
+
function tn(e, r, t, n) {
|
|
4992
4992
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
4993
4993
|
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Vr(e.main, o) : r === "dark" && (e.dark = Br(e.main, a)));
|
|
4994
4994
|
}
|
|
4995
|
-
function
|
|
4995
|
+
function nn(e, r, t, n, o) {
|
|
4996
4996
|
const a = o.light || o, l = o.dark || o * 1.5;
|
|
4997
4997
|
r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(a * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(l * 100).toFixed(0)}%)`));
|
|
4998
4998
|
}
|
|
@@ -5066,7 +5066,7 @@ function zi(e = "light") {
|
|
|
5066
5066
|
function Wi(e) {
|
|
5067
5067
|
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
5068
5068
|
}
|
|
5069
|
-
function
|
|
5069
|
+
function St(e) {
|
|
5070
5070
|
const {
|
|
5071
5071
|
mode: r = "light",
|
|
5072
5072
|
contrastThreshold: t = 3,
|
|
@@ -5077,9 +5077,9 @@ function xt(e) {
|
|
|
5077
5077
|
function x(_) {
|
|
5078
5078
|
if (o)
|
|
5079
5079
|
return Wi(_);
|
|
5080
|
-
const U =
|
|
5080
|
+
const U = Xt(_, ft.text.primary) >= t ? ft.text.primary : Un.text.primary;
|
|
5081
5081
|
if (process.env.NODE_ENV !== "production") {
|
|
5082
|
-
const B =
|
|
5082
|
+
const B = Xt(_, U);
|
|
5083
5083
|
B < 3 && console.error([`MUI: The contrast ratio of ${B}:1 for ${U} on ${_}`, "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(`
|
|
5084
5084
|
`));
|
|
5085
5085
|
}
|
|
@@ -5112,7 +5112,7 @@ const theme1 = createTheme({ palette: {
|
|
|
5112
5112
|
const theme2 = createTheme({ palette: {
|
|
5113
5113
|
primary: { main: green[500] },
|
|
5114
5114
|
} });` : ze(12, U ? ` (${U})` : "", JSON.stringify(_.main)));
|
|
5115
|
-
return o ? (
|
|
5115
|
+
return o ? (nn(o, _, "light", V, n), nn(o, _, "dark", j, n)) : (tn(_, "light", V, n), tn(_, "dark", j, n)), _.contrastText || (_.contrastText = x(_.main)), _;
|
|
5116
5116
|
};
|
|
5117
5117
|
let v;
|
|
5118
5118
|
return r === "light" ? v = Mn() : r === "dark" && (v = Ln()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
|
|
@@ -5199,12 +5199,12 @@ function Qi(e, r) {
|
|
|
5199
5199
|
function Ki(e) {
|
|
5200
5200
|
return Math.round(e * 1e5) / 1e5;
|
|
5201
5201
|
}
|
|
5202
|
-
const
|
|
5202
|
+
const on = {
|
|
5203
5203
|
textTransform: "uppercase"
|
|
5204
|
-
},
|
|
5204
|
+
}, an = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
5205
5205
|
function Ji(e, r) {
|
|
5206
5206
|
const {
|
|
5207
|
-
fontFamily: t =
|
|
5207
|
+
fontFamily: t = an,
|
|
5208
5208
|
// The default font size of the Material Specification.
|
|
5209
5209
|
fontSize: n = 14,
|
|
5210
5210
|
// px
|
|
@@ -5229,7 +5229,7 @@ function Ji(e, r) {
|
|
|
5229
5229
|
lineHeight: B,
|
|
5230
5230
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5231
5231
|
// across font-families can cause issues with the kerning.
|
|
5232
|
-
...t ===
|
|
5232
|
+
...t === an ? {
|
|
5233
5233
|
letterSpacing: `${Ki(V / U)}em`
|
|
5234
5234
|
} : {},
|
|
5235
5235
|
...j,
|
|
@@ -5245,9 +5245,9 @@ function Ji(e, r) {
|
|
|
5245
5245
|
subtitle2: v(l, 14, 1.57, 0.1),
|
|
5246
5246
|
body1: v(a, 16, 1.5, 0.15),
|
|
5247
5247
|
body2: v(a, 14, 1.43, 0.15),
|
|
5248
|
-
button: v(l, 14, 1.75, 0.4,
|
|
5248
|
+
button: v(l, 14, 1.75, 0.4, on),
|
|
5249
5249
|
caption: v(a, 12, 1.66, 0.4),
|
|
5250
|
-
overline: v(a, 12, 2.66, 1,
|
|
5250
|
+
overline: v(a, 12, 2.66, 1, on),
|
|
5251
5251
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
5252
5252
|
inherit: {
|
|
5253
5253
|
fontFamily: "inherit",
|
|
@@ -5299,7 +5299,7 @@ const Zi = ["none", te(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), te(0, 3, 1, -2, 0,
|
|
|
5299
5299
|
// recommended when something is leaving screen
|
|
5300
5300
|
leavingScreen: 195
|
|
5301
5301
|
};
|
|
5302
|
-
function
|
|
5302
|
+
function sn(e) {
|
|
5303
5303
|
return `${Math.round(e)}ms`;
|
|
5304
5304
|
}
|
|
5305
5305
|
function rs(e) {
|
|
@@ -5330,7 +5330,7 @@ function ts(e) {
|
|
|
5330
5330
|
!w(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !C(l) && !w(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), w(u) || console.error('MUI: Argument "easing" must be a string.'), !C(f) && !w(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(`
|
|
5331
5331
|
`)), Object.keys(h).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(h).join(",")}].`);
|
|
5332
5332
|
}
|
|
5333
|
-
return (Array.isArray(o) ? o : [o]).map((w) => `${w} ${typeof l == "string" ? l :
|
|
5333
|
+
return (Array.isArray(o) ? o : [o]).map((w) => `${w} ${typeof l == "string" ? l : sn(l)} ${u} ${typeof f == "string" ? f : sn(f)}`).join(",");
|
|
5334
5334
|
},
|
|
5335
5335
|
...e,
|
|
5336
5336
|
easing: r,
|
|
@@ -5348,7 +5348,7 @@ const ns = {
|
|
|
5348
5348
|
tooltip: 1500
|
|
5349
5349
|
};
|
|
5350
5350
|
function os(e) {
|
|
5351
|
-
return
|
|
5351
|
+
return Te(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
5352
5352
|
}
|
|
5353
5353
|
function Nn(e = {}) {
|
|
5354
5354
|
const r = {
|
|
@@ -5358,7 +5358,7 @@ function Nn(e = {}) {
|
|
|
5358
5358
|
const o = Object.entries(n);
|
|
5359
5359
|
for (let a = 0; a < o.length; a++) {
|
|
5360
5360
|
const [l, u] = o[a];
|
|
5361
|
-
!os(u) || l.startsWith("unstable_") ? delete n[l] :
|
|
5361
|
+
!os(u) || l.startsWith("unstable_") ? delete n[l] : Te(u) && (n[l] = {
|
|
5362
5362
|
...u
|
|
5363
5363
|
}, t(n[l]));
|
|
5364
5364
|
}
|
|
@@ -5372,7 +5372,7 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
5372
5372
|
|
|
5373
5373
|
export default theme;`;
|
|
5374
5374
|
}
|
|
5375
|
-
function
|
|
5375
|
+
function cn(e) {
|
|
5376
5376
|
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
5377
5377
|
}
|
|
5378
5378
|
const as = (e) => {
|
|
@@ -5394,15 +5394,15 @@ function is(e) {
|
|
|
5394
5394
|
},
|
|
5395
5395
|
lighten(r, t) {
|
|
5396
5396
|
const n = this || e;
|
|
5397
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${
|
|
5397
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${cn(t)})` : Vr(r, t);
|
|
5398
5398
|
},
|
|
5399
5399
|
darken(r, t) {
|
|
5400
5400
|
const n = this || e;
|
|
5401
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${
|
|
5401
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${cn(t)})` : Br(r, t);
|
|
5402
5402
|
}
|
|
5403
5403
|
});
|
|
5404
5404
|
}
|
|
5405
|
-
function
|
|
5405
|
+
function pt(e = {}, ...r) {
|
|
5406
5406
|
const {
|
|
5407
5407
|
breakpoints: t,
|
|
5408
5408
|
mixins: n = {},
|
|
@@ -5418,7 +5418,7 @@ function ft(e = {}, ...r) {
|
|
|
5418
5418
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
5419
5419
|
e.generateThemeVars === void 0)
|
|
5420
5420
|
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." : ze(20));
|
|
5421
|
-
const C =
|
|
5421
|
+
const C = St({
|
|
5422
5422
|
...a,
|
|
5423
5423
|
colorSpace: h
|
|
5424
5424
|
}), x = Rn(e);
|
|
@@ -5440,7 +5440,7 @@ function ft(e = {}, ...r) {
|
|
|
5440
5440
|
const V = _[B];
|
|
5441
5441
|
if (v.includes(B) && Object.keys(V).length > 0) {
|
|
5442
5442
|
if (process.env.NODE_ENV !== "production") {
|
|
5443
|
-
const j =
|
|
5443
|
+
const j = vt("", B);
|
|
5444
5444
|
console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${B}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${j}' syntax:`, JSON.stringify({
|
|
5445
5445
|
root: {
|
|
5446
5446
|
[`&.${j}`]: V
|
|
@@ -5498,7 +5498,7 @@ function ls(e) {
|
|
|
5498
5498
|
overlays: n,
|
|
5499
5499
|
colorSpace: o,
|
|
5500
5500
|
...a
|
|
5501
|
-
} = e, l =
|
|
5501
|
+
} = e, l = St({
|
|
5502
5502
|
...r,
|
|
5503
5503
|
colorSpace: o
|
|
5504
5504
|
});
|
|
@@ -5572,7 +5572,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
5572
5572
|
function ms(e) {
|
|
5573
5573
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
5574
5574
|
}
|
|
5575
|
-
const
|
|
5575
|
+
const ve = (e) => {
|
|
5576
5576
|
try {
|
|
5577
5577
|
return e();
|
|
5578
5578
|
} catch {
|
|
@@ -5597,7 +5597,7 @@ function Xr(e, r, t, n, o) {
|
|
|
5597
5597
|
const {
|
|
5598
5598
|
palette: l,
|
|
5599
5599
|
...u
|
|
5600
|
-
} =
|
|
5600
|
+
} = pt({
|
|
5601
5601
|
...n,
|
|
5602
5602
|
palette: {
|
|
5603
5603
|
mode: a,
|
|
@@ -5666,19 +5666,19 @@ function gs(e = {}, ...r) {
|
|
|
5666
5666
|
function O(N, D, J) {
|
|
5667
5667
|
if (j) {
|
|
5668
5668
|
let ne;
|
|
5669
|
-
return N ===
|
|
5669
|
+
return N === De && (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 ${j}, ${D}, ${ne})`;
|
|
5670
5670
|
}
|
|
5671
5671
|
return N(D, J);
|
|
5672
5672
|
}
|
|
5673
5673
|
if (ps(c, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), c.mode === "light") {
|
|
5674
|
-
S(c.Alert, "errorColor", O(q, c.error.light, 0.6)), S(c.Alert, "infoColor", O(q, c.info.light, 0.6)), S(c.Alert, "successColor", O(q, c.success.light, 0.6)), S(c.Alert, "warningColor", O(q, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-main")), S(c.Alert, "infoFilledBg", M("palette-info-main")), S(c.Alert, "successFilledBg", M("palette-success-main")), S(c.Alert, "warningFilledBg", M("palette-warning-main")), S(c.Alert, "errorFilledColor",
|
|
5674
|
+
S(c.Alert, "errorColor", O(q, c.error.light, 0.6)), S(c.Alert, "infoColor", O(q, c.info.light, 0.6)), S(c.Alert, "successColor", O(q, c.success.light, 0.6)), S(c.Alert, "warningColor", O(q, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-main")), S(c.Alert, "infoFilledBg", M("palette-info-main")), S(c.Alert, "successFilledBg", M("palette-success-main")), S(c.Alert, "warningFilledBg", M("palette-warning-main")), S(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.main))), S(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.main))), S(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.main))), S(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.main))), S(c.Alert, "errorStandardBg", O(Z, c.error.light, 0.9)), S(c.Alert, "infoStandardBg", O(Z, c.info.light, 0.9)), S(c.Alert, "successStandardBg", O(Z, c.success.light, 0.9)), S(c.Alert, "warningStandardBg", O(Z, c.warning.light, 0.9)), S(c.Alert, "errorIconColor", M("palette-error-main")), S(c.Alert, "infoIconColor", M("palette-info-main")), S(c.Alert, "successIconColor", M("palette-success-main")), S(c.Alert, "warningIconColor", M("palette-warning-main")), S(c.AppBar, "defaultBg", M("palette-grey-100")), S(c.Avatar, "defaultBg", M("palette-grey-400")), S(c.Button, "inheritContainedBg", M("palette-grey-300")), S(c.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(c.Chip, "defaultBorder", M("palette-grey-400")), S(c.Chip, "defaultAvatarColor", M("palette-grey-700")), S(c.Chip, "defaultIconColor", M("palette-grey-700")), S(c.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(c.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(c.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(c.LinearProgress, "primaryBg", O(Z, c.primary.main, 0.62)), S(c.LinearProgress, "secondaryBg", O(Z, c.secondary.main, 0.62)), S(c.LinearProgress, "errorBg", O(Z, c.error.main, 0.62)), S(c.LinearProgress, "infoBg", O(Z, c.info.main, 0.62)), S(c.LinearProgress, "successBg", O(Z, c.success.main, 0.62)), S(c.LinearProgress, "warningBg", O(Z, c.warning.main, 0.62)), S(c.Skeleton, "bg", j ? O(De, c.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(c.Slider, "primaryTrack", O(Z, c.primary.main, 0.62)), S(c.Slider, "secondaryTrack", O(Z, c.secondary.main, 0.62)), S(c.Slider, "errorTrack", O(Z, c.error.main, 0.62)), S(c.Slider, "infoTrack", O(Z, c.info.main, 0.62)), S(c.Slider, "successTrack", O(Z, c.success.main, 0.62)), S(c.Slider, "warningTrack", O(Z, c.warning.main, 0.62));
|
|
5675
5675
|
const N = j ? O(q, c.background.default, 0.6825) : gr(c.background.default, 0.8);
|
|
5676
|
-
S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color",
|
|
5676
|
+
S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color", ve(() => j ? ft.text.primary : c.getContrastText(N))), S(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), S(c.StepConnector, "border", M("palette-grey-400")), S(c.StepContent, "border", M("palette-grey-400")), S(c.Switch, "defaultColor", M("palette-common-white")), S(c.Switch, "defaultDisabledColor", M("palette-grey-100")), S(c.Switch, "primaryDisabledColor", O(Z, c.primary.main, 0.62)), S(c.Switch, "secondaryDisabledColor", O(Z, c.secondary.main, 0.62)), S(c.Switch, "errorDisabledColor", O(Z, c.error.main, 0.62)), S(c.Switch, "infoDisabledColor", O(Z, c.info.main, 0.62)), S(c.Switch, "successDisabledColor", O(Z, c.success.main, 0.62)), S(c.Switch, "warningDisabledColor", O(Z, c.warning.main, 0.62)), S(c.TableCell, "border", O(Z, O(De, c.divider, 1), 0.88)), S(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
|
|
5677
5677
|
}
|
|
5678
5678
|
if (c.mode === "dark") {
|
|
5679
|
-
S(c.Alert, "errorColor", O(Z, c.error.light, 0.6)), S(c.Alert, "infoColor", O(Z, c.info.light, 0.6)), S(c.Alert, "successColor", O(Z, c.success.light, 0.6)), S(c.Alert, "warningColor", O(Z, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-dark")), S(c.Alert, "infoFilledBg", M("palette-info-dark")), S(c.Alert, "successFilledBg", M("palette-success-dark")), S(c.Alert, "warningFilledBg", M("palette-warning-dark")), S(c.Alert, "errorFilledColor",
|
|
5679
|
+
S(c.Alert, "errorColor", O(Z, c.error.light, 0.6)), S(c.Alert, "infoColor", O(Z, c.info.light, 0.6)), S(c.Alert, "successColor", O(Z, c.success.light, 0.6)), S(c.Alert, "warningColor", O(Z, c.warning.light, 0.6)), S(c.Alert, "errorFilledBg", M("palette-error-dark")), S(c.Alert, "infoFilledBg", M("palette-info-dark")), S(c.Alert, "successFilledBg", M("palette-success-dark")), S(c.Alert, "warningFilledBg", M("palette-warning-dark")), S(c.Alert, "errorFilledColor", ve(() => c.getContrastText(c.error.dark))), S(c.Alert, "infoFilledColor", ve(() => c.getContrastText(c.info.dark))), S(c.Alert, "successFilledColor", ve(() => c.getContrastText(c.success.dark))), S(c.Alert, "warningFilledColor", ve(() => c.getContrastText(c.warning.dark))), S(c.Alert, "errorStandardBg", O(q, c.error.light, 0.9)), S(c.Alert, "infoStandardBg", O(q, c.info.light, 0.9)), S(c.Alert, "successStandardBg", O(q, c.success.light, 0.9)), S(c.Alert, "warningStandardBg", O(q, c.warning.light, 0.9)), S(c.Alert, "errorIconColor", M("palette-error-main")), S(c.Alert, "infoIconColor", M("palette-info-main")), S(c.Alert, "successIconColor", M("palette-success-main")), S(c.Alert, "warningIconColor", M("palette-warning-main")), S(c.AppBar, "defaultBg", M("palette-grey-900")), S(c.AppBar, "darkBg", M("palette-background-paper")), S(c.AppBar, "darkColor", M("palette-text-primary")), S(c.Avatar, "defaultBg", M("palette-grey-600")), S(c.Button, "inheritContainedBg", M("palette-grey-800")), S(c.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(c.Chip, "defaultBorder", M("palette-grey-700")), S(c.Chip, "defaultAvatarColor", M("palette-grey-300")), S(c.Chip, "defaultIconColor", M("palette-grey-300")), S(c.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(c.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(c.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(c.LinearProgress, "primaryBg", O(q, c.primary.main, 0.5)), S(c.LinearProgress, "secondaryBg", O(q, c.secondary.main, 0.5)), S(c.LinearProgress, "errorBg", O(q, c.error.main, 0.5)), S(c.LinearProgress, "infoBg", O(q, c.info.main, 0.5)), S(c.LinearProgress, "successBg", O(q, c.success.main, 0.5)), S(c.LinearProgress, "warningBg", O(q, c.warning.main, 0.5)), S(c.Skeleton, "bg", j ? O(De, c.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(c.Slider, "primaryTrack", O(q, c.primary.main, 0.5)), S(c.Slider, "secondaryTrack", O(q, c.secondary.main, 0.5)), S(c.Slider, "errorTrack", O(q, c.error.main, 0.5)), S(c.Slider, "infoTrack", O(q, c.info.main, 0.5)), S(c.Slider, "successTrack", O(q, c.success.main, 0.5)), S(c.Slider, "warningTrack", O(q, c.warning.main, 0.5));
|
|
5680
5680
|
const N = j ? O(Z, c.background.default, 0.985) : gr(c.background.default, 0.98);
|
|
5681
|
-
S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color",
|
|
5681
|
+
S(c.SnackbarContent, "bg", N), S(c.SnackbarContent, "color", ve(() => j ? Un.text.primary : c.getContrastText(N))), S(c.SpeedDialAction, "fabHoverBg", gr(c.background.paper, 0.15)), S(c.StepConnector, "border", M("palette-grey-600")), S(c.StepContent, "border", M("palette-grey-600")), S(c.Switch, "defaultColor", M("palette-grey-300")), S(c.Switch, "defaultDisabledColor", M("palette-grey-600")), S(c.Switch, "primaryDisabledColor", O(q, c.primary.main, 0.55)), S(c.Switch, "secondaryDisabledColor", O(q, c.secondary.main, 0.55)), S(c.Switch, "errorDisabledColor", O(q, c.error.main, 0.55)), S(c.Switch, "infoDisabledColor", O(q, c.info.main, 0.55)), S(c.Switch, "successDisabledColor", O(q, c.success.main, 0.55)), S(c.Switch, "warningDisabledColor", O(q, c.warning.main, 0.55)), S(c.TableCell, "border", O(q, O(De, c.divider, 1), 0.68)), S(c.Tooltip, "bg", O(De, c.grey[700], 0.92));
|
|
5682
5682
|
}
|
|
5683
5683
|
ke(c.background, "default"), ke(c.background, "paper"), ke(c.common, "background"), ke(c.common, "onBackground"), ke(c, "divider"), Object.keys(c).forEach((N) => {
|
|
5684
5684
|
const D = c[N];
|
|
@@ -5699,7 +5699,7 @@ function gs(e = {}, ...r) {
|
|
|
5699
5699
|
return L.vars = F, Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([W, c]) => {
|
|
5700
5700
|
L[W] = c;
|
|
5701
5701
|
}), L.generateThemeVars = re, L.generateStyleSheets = le, L.generateSpacing = function() {
|
|
5702
|
-
return Tn(w.spacing,
|
|
5702
|
+
return Tn(w.spacing, bt(this));
|
|
5703
5703
|
}, L.getColorSchemeSelector = Ui(f), L.spacing = L.generateSpacing(), L.shouldSkipGeneratingVar = u, L.unstable_sxConfig = {
|
|
5704
5704
|
...Nr,
|
|
5705
5705
|
...w == null ? void 0 : w.unstable_sxConfig
|
|
@@ -5710,10 +5710,10 @@ function gs(e = {}, ...r) {
|
|
|
5710
5710
|
});
|
|
5711
5711
|
}, L.toRuntimeSource = Nn, L;
|
|
5712
5712
|
}
|
|
5713
|
-
function
|
|
5713
|
+
function ln(e, r, t) {
|
|
5714
5714
|
e.colorSchemes && t && (e.colorSchemes[r] = {
|
|
5715
5715
|
...t !== !0 && t,
|
|
5716
|
-
palette:
|
|
5716
|
+
palette: St({
|
|
5717
5717
|
...t === !0 ? {} : t.palette,
|
|
5718
5718
|
mode: r
|
|
5719
5719
|
})
|
|
@@ -5740,22 +5740,22 @@ function ys(e = {}, ...r) {
|
|
|
5740
5740
|
};
|
|
5741
5741
|
if (n === !1) {
|
|
5742
5742
|
if (!("colorSchemes" in e))
|
|
5743
|
-
return
|
|
5743
|
+
return pt(e, ...r);
|
|
5744
5744
|
let w = t;
|
|
5745
5745
|
"palette" in e || h[u] && (h[u] !== !0 ? w = h[u].palette : u === "dark" && (w = {
|
|
5746
5746
|
mode: "dark"
|
|
5747
5747
|
}));
|
|
5748
|
-
const C =
|
|
5748
|
+
const C = pt({
|
|
5749
5749
|
...e,
|
|
5750
5750
|
palette: w
|
|
5751
5751
|
}, ...r);
|
|
5752
5752
|
return C.defaultColorScheme = u, C.colorSchemes = h, C.palette.mode === "light" && (C.colorSchemes.light = {
|
|
5753
5753
|
...h.light !== !0 && h.light,
|
|
5754
5754
|
palette: C.palette
|
|
5755
|
-
},
|
|
5755
|
+
}, ln(C, "dark", h.dark)), C.palette.mode === "dark" && (C.colorSchemes.dark = {
|
|
5756
5756
|
...h.dark !== !0 && h.dark,
|
|
5757
5757
|
palette: C.palette
|
|
5758
|
-
},
|
|
5758
|
+
}, ln(C, "light", h.light)), C;
|
|
5759
5759
|
}
|
|
5760
5760
|
return !t && !("light" in h) && u === "light" && (h.light = !0), gs({
|
|
5761
5761
|
...l,
|
|
@@ -5778,7 +5778,7 @@ function Cs(e) {
|
|
|
5778
5778
|
return Oi(e);
|
|
5779
5779
|
}
|
|
5780
5780
|
function ks(e) {
|
|
5781
|
-
return
|
|
5781
|
+
return vt("MuiSvgIcon", e);
|
|
5782
5782
|
}
|
|
5783
5783
|
mi("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
5784
5784
|
const Es = (e) => {
|
|
@@ -5891,7 +5891,7 @@ const Es = (e) => {
|
|
|
5891
5891
|
}
|
|
5892
5892
|
]
|
|
5893
5893
|
};
|
|
5894
|
-
})), kr = /* @__PURE__ */
|
|
5894
|
+
})), kr = /* @__PURE__ */ Ue.forwardRef(function(r, t) {
|
|
5895
5895
|
const n = Cs({
|
|
5896
5896
|
props: r,
|
|
5897
5897
|
name: "MuiSvgIcon"
|
|
@@ -5906,7 +5906,7 @@ const Es = (e) => {
|
|
|
5906
5906
|
titleAccess: C,
|
|
5907
5907
|
viewBox: x = "0 0 24 24",
|
|
5908
5908
|
...E
|
|
5909
|
-
} = n, v = /* @__PURE__ */
|
|
5909
|
+
} = n, v = /* @__PURE__ */ Ue.isValidElement(o) && o.type === "svg", p = {
|
|
5910
5910
|
...n,
|
|
5911
5911
|
color: l,
|
|
5912
5912
|
component: u,
|
|
@@ -6017,7 +6017,7 @@ function Ce(e, r) {
|
|
|
6017
6017
|
children: e
|
|
6018
6018
|
});
|
|
6019
6019
|
}
|
|
6020
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = kr.muiName, /* @__PURE__ */
|
|
6020
|
+
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = kr.muiName, /* @__PURE__ */ Ue.memo(/* @__PURE__ */ Ue.forwardRef(t));
|
|
6021
6021
|
}
|
|
6022
6022
|
const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6023
6023
|
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"
|
|
@@ -6027,13 +6027,13 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6027
6027
|
d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 4h7l5 5v8.58l-1.84-1.84c1.28-1.94 1.07-4.57-.64-6.28C14.55 8.49 13.28 8 12 8s-2.55.49-3.53 1.46c-1.95 1.95-1.95 5.11 0 7.05.97.97 2.25 1.46 3.53 1.46.96 0 1.92-.28 2.75-.83L17.6 20H6zm8.11 11.1c-.56.56-1.31.88-2.11.88s-1.55-.31-2.11-.88c-.56-.56-.88-1.31-.88-2.11s.31-1.55.88-2.11c.56-.57 1.31-.88 2.11-.88s1.55.31 2.11.88c.56.56.88 1.31.88 2.11s-.31 1.55-.88 2.11"
|
|
6028
6028
|
}), "FindInPageOutlined"), Is = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6029
6029
|
d: "M12.22 19.85c-.18.18-.5.21-.71 0-.18-.18-.21-.5 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.19.2-.51.19-.71 0-.21-.21-.18-.53 0-.71l3.39-3.39-1.41-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.19-.19-.51 0-.71l3.39-3.39-1.42-1.41-3.39 3.39c-.18.18-.5.21-.71 0-.19-.2-.19-.51 0-.71L9.52 8.4l1.87 1.86c.95.95 2.59.94 3.54 0 .98-.98.98-2.56 0-3.54l-1.86-1.86.28-.28c.78-.78 2.05-.78 2.83 0l4.24 4.24c.78.78.78 2.05 0 2.83zm9.61-6.78c1.56-1.56 1.56-4.09 0-5.66l-4.24-4.24c-1.56-1.56-4.09-1.56-5.66 0l-.28.28-.28-.28c-1.56-1.56-4.09-1.56-5.66 0L2.17 6.71C.75 8.13.62 10.34 1.77 11.9l1.45-1.45c-.39-.75-.26-1.7.37-2.33l3.54-3.54c.78-.78 2.05-.78 2.83 0l3.56 3.56c.18.18.21.5 0 .71s-.53.18-.71 0L9.52 5.57l-5.8 5.79c-.98.97-.98 2.56 0 3.54.39.39.89.63 1.42.7.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.52.3 1.02.7 1.42s.9.63 1.42.7c.07.54.31 1.03.7 1.42.47.47 1.1.73 1.77.73s1.3-.26 1.77-.73z"
|
|
6030
|
-
}), "HandshakeOutlined"),
|
|
6030
|
+
}), "HandshakeOutlined"), un = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6031
6031
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m.89-8.9c-1.78-.59-2.64-.96-2.64-1.9 0-1.02 1.11-1.39 1.81-1.39 1.31 0 1.79.99 1.9 1.34l1.58-.67c-.15-.44-.82-1.91-2.66-2.23V5h-1.75v1.26c-2.6.56-2.62 2.85-2.62 2.96 0 2.27 2.25 2.91 3.35 3.31 1.58.56 2.28 1.07 2.28 2.03 0 1.13-1.05 1.61-1.98 1.61-1.82 0-2.34-1.87-2.4-2.09l-1.66.67c.63 2.19 2.28 2.78 3.02 2.96V19h1.75v-1.24c.52-.09 3.02-.59 3.02-3.22.01-1.39-.6-2.61-3-3.44"
|
|
6032
6032
|
}), "PaidOutlined"), Ps = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6033
6033
|
d: "M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8zM6 20V4h7v4h5v12zm5-1h2v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1h-3v-1h4v-2h-2V9h-2v1h-1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h3v1H9v2h2z"
|
|
6034
6034
|
}), "RequestQuoteOutlined"), js = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6035
6035
|
d: "M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1q-.09-.03-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"
|
|
6036
|
-
}), "SettingsOutlined"), $s =
|
|
6036
|
+
}), "SettingsOutlined"), $s = ht(
|
|
6037
6037
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6038
6038
|
"path",
|
|
6039
6039
|
{
|
|
@@ -6042,7 +6042,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6042
6042
|
}
|
|
6043
6043
|
) }),
|
|
6044
6044
|
"DresserIcono"
|
|
6045
|
-
), Ms =
|
|
6045
|
+
), Ms = ht(
|
|
6046
6046
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6047
6047
|
"path",
|
|
6048
6048
|
{
|
|
@@ -6051,7 +6051,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
) }),
|
|
6053
6053
|
"LoadIcono"
|
|
6054
|
-
), Us =
|
|
6054
|
+
), Us = ht(
|
|
6055
6055
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6056
6056
|
"path",
|
|
6057
6057
|
{
|
|
@@ -6060,7 +6060,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6060
6060
|
}
|
|
6061
6061
|
) }),
|
|
6062
6062
|
"UnloadIcono"
|
|
6063
|
-
), et = localStorage.getItem("terminal"),
|
|
6063
|
+
), et = localStorage.getItem("terminal"), Ae = {
|
|
6064
6064
|
general: Symbol("cargando-toolbar/general"),
|
|
6065
6065
|
terminales: Symbol("cargando-toolbar/linea"),
|
|
6066
6066
|
nombreUsuario: Symbol("cargando-toolbar/nombre-usuario"),
|
|
@@ -6145,31 +6145,31 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6145
6145
|
id: "sigo-dineros",
|
|
6146
6146
|
link: new URL("https://www.coordinadora.com"),
|
|
6147
6147
|
nombre: "Dineros",
|
|
6148
|
-
icono:
|
|
6148
|
+
icono: un
|
|
6149
6149
|
},
|
|
6150
6150
|
{
|
|
6151
6151
|
id: "sigo-recogidas-entregas-v2",
|
|
6152
6152
|
link: new URL("https://www.coordinadora.com"),
|
|
6153
6153
|
nombre: "Recolecciones y entregas",
|
|
6154
|
-
icono:
|
|
6154
|
+
icono: un
|
|
6155
6155
|
}
|
|
6156
6156
|
], Ns = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
6157
6157
|
d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
|
|
6158
|
-
}), "ExitToAppOutlined"),
|
|
6158
|
+
}), "ExitToAppOutlined"), Re = Rr(
|
|
6159
6159
|
() => ({
|
|
6160
6160
|
...Ls,
|
|
6161
6161
|
setTerminal(e) {
|
|
6162
|
-
localStorage.setItem("terminal", e.toString()),
|
|
6162
|
+
localStorage.setItem("terminal", e.toString()), Re.setState({ terminal: e });
|
|
6163
6163
|
}
|
|
6164
6164
|
})
|
|
6165
|
-
),
|
|
6165
|
+
), Ie = Re, Ds = ({
|
|
6166
6166
|
onCerrarSesion: e,
|
|
6167
6167
|
acciones: r
|
|
6168
6168
|
}) => {
|
|
6169
|
-
const [t, n] = Er(null), [o] =
|
|
6169
|
+
const [t, n] = Er(null), [o] = Me(Ae.general), [a] = Me(Ae.avatar), l = Ze(
|
|
6170
6170
|
() => o || a,
|
|
6171
6171
|
[o, a]
|
|
6172
|
-
), u =
|
|
6172
|
+
), u = Ie((x) => x.avatar), f = Ie((x) => x.nombre), h = Ze(() => {
|
|
6173
6173
|
var E, v;
|
|
6174
6174
|
const x = f == null ? void 0 : f.split(" ");
|
|
6175
6175
|
return `${((E = x == null ? void 0 : x[0]) == null ? void 0 : E.charAt(0)) ?? ""}${((v = x == null ? void 0 : x[1]) == null ? void 0 : v.charAt(0)) ?? ""}`;
|
|
@@ -6209,7 +6209,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6209
6209
|
children: [
|
|
6210
6210
|
r == null ? void 0 : r.map(({ nombre: x, icono: E, slotProps: v }) => {
|
|
6211
6211
|
const p = typeof E == "string" ? /* @__PURE__ */ d.jsx(Tr, { children: E }) : E ? /* @__PURE__ */ d.jsx(E, {}) : null;
|
|
6212
|
-
return /* @__PURE__ */ d.jsxs(
|
|
6212
|
+
return /* @__PURE__ */ d.jsxs(ot, { ...v == null ? void 0 : v.MenuItem, children: [
|
|
6213
6213
|
p && /* @__PURE__ */ d.jsx(Xe, { children: p }),
|
|
6214
6214
|
/* @__PURE__ */ d.jsx(
|
|
6215
6215
|
he,
|
|
@@ -6224,7 +6224,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6224
6224
|
)
|
|
6225
6225
|
] });
|
|
6226
6226
|
}),
|
|
6227
|
-
/* @__PURE__ */ d.jsxs(
|
|
6227
|
+
/* @__PURE__ */ d.jsxs(ot, { onClick: () => e == null ? void 0 : e(), children: [
|
|
6228
6228
|
/* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(Ns, { sx: { transform: "rotate(180deg)" } }) }),
|
|
6229
6229
|
/* @__PURE__ */ d.jsx(
|
|
6230
6230
|
he,
|
|
@@ -6243,10 +6243,10 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6243
6243
|
)
|
|
6244
6244
|
] });
|
|
6245
6245
|
}, Bs = () => {
|
|
6246
|
-
const e =
|
|
6246
|
+
const e = Ie(
|
|
6247
6247
|
(n) => n.terminales.find((o) => n.terminal === o.codigo)
|
|
6248
6248
|
), r = ye(
|
|
6249
|
-
(n) =>
|
|
6249
|
+
(n) => Re.getState().setTerminal(n),
|
|
6250
6250
|
[]
|
|
6251
6251
|
);
|
|
6252
6252
|
return Ze(
|
|
@@ -6254,7 +6254,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6254
6254
|
[e, r]
|
|
6255
6255
|
);
|
|
6256
6256
|
}, Vs = () => {
|
|
6257
|
-
const [e, r] = Bs(), t =
|
|
6257
|
+
const [e, r] = Bs(), t = Ie((o) => o.terminales), n = ye(
|
|
6258
6258
|
(o) => {
|
|
6259
6259
|
r(Number(o.target.value));
|
|
6260
6260
|
},
|
|
@@ -6296,7 +6296,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6296
6296
|
}
|
|
6297
6297
|
},
|
|
6298
6298
|
children: t.map(({ codigo: o, abreviado: a, nombre: l }) => /* @__PURE__ */ d.jsx(
|
|
6299
|
-
|
|
6299
|
+
ot,
|
|
6300
6300
|
{
|
|
6301
6301
|
value: o,
|
|
6302
6302
|
children: /* @__PURE__ */ d.jsx(
|
|
@@ -6335,15 +6335,15 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6335
6335
|
acciones: e,
|
|
6336
6336
|
onCerrarSesion: r
|
|
6337
6337
|
}) => {
|
|
6338
|
-
const t =
|
|
6338
|
+
const t = Ie((u) => u.nombre), n = Ie(
|
|
6339
6339
|
(u) => !!u.terminales.length
|
|
6340
|
-
), [o] =
|
|
6341
|
-
|
|
6342
|
-
), [l] =
|
|
6340
|
+
), [o] = Me(Ae.general), [a] = Me(
|
|
6341
|
+
Ae.nombreUsuario
|
|
6342
|
+
), [l] = Me(Ae.terminales);
|
|
6343
6343
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6344
6344
|
/* @__PURE__ */ d.jsxs(ce, { mr: 2, display: "flex", flexDirection: "column", alignItems: "flex-end", children: [
|
|
6345
6345
|
/* @__PURE__ */ d.jsx(
|
|
6346
|
-
|
|
6346
|
+
we,
|
|
6347
6347
|
{
|
|
6348
6348
|
variant: "body2",
|
|
6349
6349
|
color: "primary",
|
|
@@ -6355,7 +6355,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6355
6355
|
),
|
|
6356
6356
|
/* @__PURE__ */ d.jsx(ce, { display: "flex", alignItems: "center", children: l || o ? /* @__PURE__ */ d.jsx(fe, { width: 180, height: 22 }) : n ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6357
6357
|
/* @__PURE__ */ d.jsxs(
|
|
6358
|
-
|
|
6358
|
+
we,
|
|
6359
6359
|
{
|
|
6360
6360
|
variant: "body2",
|
|
6361
6361
|
sx: { color: "rgba(0, 0, 0, 0.87)" },
|
|
@@ -6368,7 +6368,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6368
6368
|
}
|
|
6369
6369
|
),
|
|
6370
6370
|
/* @__PURE__ */ d.jsx(ce, { width: 90, mb: -0.5, children: /* @__PURE__ */ d.jsx(Vs, {}) })
|
|
6371
|
-
] }) : /* @__PURE__ */ d.jsx(
|
|
6371
|
+
] }) : /* @__PURE__ */ d.jsx(we, { variant: "caption", children: "No se encontraron terminales" }) })
|
|
6372
6372
|
] }),
|
|
6373
6373
|
/* @__PURE__ */ d.jsx(Ds, { acciones: e, onCerrarSesion: r })
|
|
6374
6374
|
] });
|
|
@@ -6386,14 +6386,14 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6386
6386
|
}) => {
|
|
6387
6387
|
const l = An(
|
|
6388
6388
|
(U) => !!U.toolbar.length
|
|
6389
|
-
), [u] =
|
|
6389
|
+
), [u] = Me(Ae.apps), [f] = Me(Ae.general), [h] = Me(Ae.nombreApp), w = Ve((U) => U.inhabilitado), C = Ie((U) => U.abrirApps), x = Ie(
|
|
6390
6390
|
(U) => U.mostrarBotonDrawer
|
|
6391
6391
|
), E = Qn(null), v = ye(() => {
|
|
6392
|
-
|
|
6392
|
+
Re.setState({ abrirApps: !0 });
|
|
6393
6393
|
}, []), p = ye(() => {
|
|
6394
|
-
|
|
6394
|
+
Re.setState({ abrirApps: !1 });
|
|
6395
6395
|
}, []), _ = ye(() => {
|
|
6396
|
-
|
|
6396
|
+
_e.setState({ abierto: !_e.getState().abierto });
|
|
6397
6397
|
}, []);
|
|
6398
6398
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6399
6399
|
/* @__PURE__ */ d.jsxs(
|
|
@@ -6402,7 +6402,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6402
6402
|
position: "fixed",
|
|
6403
6403
|
sx: { zIndex: (U) => U.zIndex.drawer + 1 },
|
|
6404
6404
|
children: [
|
|
6405
|
-
/* @__PURE__ */ d.jsx(
|
|
6405
|
+
/* @__PURE__ */ d.jsx(mt, { children: /* @__PURE__ */ d.jsxs(
|
|
6406
6406
|
ce,
|
|
6407
6407
|
{
|
|
6408
6408
|
width: "100%",
|
|
@@ -6412,7 +6412,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6412
6412
|
children: [
|
|
6413
6413
|
/* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", children: [
|
|
6414
6414
|
/* @__PURE__ */ d.jsx(no, { in: x, children: /* @__PURE__ */ d.jsx(
|
|
6415
|
-
|
|
6415
|
+
wt,
|
|
6416
6416
|
{
|
|
6417
6417
|
onClick: _,
|
|
6418
6418
|
disabled: w,
|
|
@@ -6421,7 +6421,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6421
6421
|
) }),
|
|
6422
6422
|
/* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", ml: 3, children: [
|
|
6423
6423
|
/* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(jo, { width: 88 }) }),
|
|
6424
|
-
h || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(
|
|
6424
|
+
h || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(we, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
|
|
6425
6425
|
] })
|
|
6426
6426
|
] }),
|
|
6427
6427
|
/* @__PURE__ */ d.jsxs(ce, { display: "flex", alignItems: "center", children: [
|
|
@@ -6433,7 +6433,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6433
6433
|
}
|
|
6434
6434
|
),
|
|
6435
6435
|
/* @__PURE__ */ d.jsx(
|
|
6436
|
-
|
|
6436
|
+
wt,
|
|
6437
6437
|
{
|
|
6438
6438
|
disabled: u || !e.length,
|
|
6439
6439
|
ref: E,
|
|
@@ -6487,7 +6487,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6487
6487
|
menus: u,
|
|
6488
6488
|
LinkComponent: f
|
|
6489
6489
|
}) => {
|
|
6490
|
-
const h =
|
|
6490
|
+
const h = Ie(
|
|
6491
6491
|
(w) => typeof w.terminal == "number"
|
|
6492
6492
|
);
|
|
6493
6493
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -6503,7 +6503,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6503
6503
|
}
|
|
6504
6504
|
),
|
|
6505
6505
|
/* @__PURE__ */ d.jsx(Ho, { menus: u, LinkComponent: f }),
|
|
6506
|
-
/* @__PURE__ */ d.jsx(
|
|
6506
|
+
/* @__PURE__ */ d.jsx(mt, {}),
|
|
6507
6507
|
/* @__PURE__ */ d.jsxs(ce, { display: "flex", children: [
|
|
6508
6508
|
/* @__PURE__ */ d.jsx(Qo, {}),
|
|
6509
6509
|
/* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: h ? t : "Selecciona una terminal para comenzar" })
|
|
@@ -6545,7 +6545,7 @@ const Rs = Ce(/* @__PURE__ */ d.jsx("path", {
|
|
|
6545
6545
|
];
|
|
6546
6546
|
}
|
|
6547
6547
|
return n;
|
|
6548
|
-
}, { set:
|
|
6548
|
+
}, { set: rt } = xr.getState();
|
|
6549
6549
|
function Gs({
|
|
6550
6550
|
children: e,
|
|
6551
6551
|
idApp: r,
|
|
@@ -6556,7 +6556,7 @@ function Gs({
|
|
|
6556
6556
|
tema: l
|
|
6557
6557
|
}) {
|
|
6558
6558
|
const u = Ks((x) => x.permisos), [f, h] = Er([]), w = () => {
|
|
6559
|
-
|
|
6559
|
+
Ee.logout();
|
|
6560
6560
|
}, C = o.reduce((x, E) => {
|
|
6561
6561
|
var p, _;
|
|
6562
6562
|
const v = (p = u == null ? void 0 : u.menus) == null ? void 0 : p.find(({ id: U }) => E.id === U);
|
|
@@ -6574,30 +6574,40 @@ function Gs({
|
|
|
6574
6574
|
] : x;
|
|
6575
6575
|
}, []);
|
|
6576
6576
|
return Kn(() => {
|
|
6577
|
-
if (
|
|
6577
|
+
if (Ee.didInitialize) return;
|
|
6578
6578
|
const x = new URL(
|
|
6579
6579
|
"/silent-check-sso.html",
|
|
6580
6580
|
window.location.href
|
|
6581
6581
|
).toString();
|
|
6582
|
-
|
|
6582
|
+
Ee.init({
|
|
6583
6583
|
onLoad: "check-sso",
|
|
6584
6584
|
pkceMethod: "S256",
|
|
6585
6585
|
flow: "standard",
|
|
6586
6586
|
silentCheckSsoRedirectUri: x
|
|
6587
6587
|
}).then((E) => {
|
|
6588
|
-
E
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6588
|
+
if (!E) {
|
|
6589
|
+
Ee.login({
|
|
6590
|
+
// select_account fuerza pantalla de selección de cuenta en el IdP (ej. Google).
|
|
6591
|
+
// Tipos de keycloak-js no incluyen select_account; es válido en OIDC.
|
|
6592
|
+
prompt: "select_account"
|
|
6593
|
+
}), rt(Ae.general, !1, !0);
|
|
6594
|
+
return;
|
|
6595
|
+
}
|
|
6596
|
+
const v = Ee.idTokenParsed, { terminal: p, setTerminal: _ } = Re.getState(), U = `${(v == null ? void 0 : v.given_name) ?? ""}${v != null && v.given_name && (v != null && v.family_name) ? " " : ""}${v == null ? void 0 : v.family_name}`;
|
|
6597
|
+
Re.setState({
|
|
6595
6598
|
nombre: U
|
|
6596
6599
|
});
|
|
6597
6600
|
const B = v.terminal;
|
|
6598
6601
|
typeof p != "number" && typeof B == "number" && _(Number(B));
|
|
6599
|
-
const V = v.email;
|
|
6600
|
-
|
|
6602
|
+
const V = v == null ? void 0 : v.email;
|
|
6603
|
+
if (!V) {
|
|
6604
|
+
rt(Ae.general, !1, !0);
|
|
6605
|
+
return;
|
|
6606
|
+
}
|
|
6607
|
+
Ee.updateToken(30).then(() => {
|
|
6608
|
+
const j = Ee.token ?? Ee.idToken ?? void 0;
|
|
6609
|
+
return lo(V, n, j);
|
|
6610
|
+
}).then(async (j) => {
|
|
6601
6611
|
var c, M, O, N, D;
|
|
6602
6612
|
const R = (N = (O = (M = (c = j.response) == null ? void 0 : c[0]) == null ? void 0 : M.permisos) == null ? void 0 : O.aplicaciones) == null ? void 0 : N.find(
|
|
6603
6613
|
({ id: J }) => J === r
|
|
@@ -6626,22 +6636,20 @@ function Gs({
|
|
|
6626
6636
|
);
|
|
6627
6637
|
if (!F.length)
|
|
6628
6638
|
throw new Error("No tienes acceso a ninguna terminal");
|
|
6629
|
-
|
|
6639
|
+
Re.setState({
|
|
6630
6640
|
terminales: F,
|
|
6631
6641
|
mostrarBotonDrawer: !0,
|
|
6632
6642
|
terminalDeNomina: H
|
|
6633
|
-
}),
|
|
6634
|
-
const { terminal: re, setTerminal: le } =
|
|
6643
|
+
}), _e.setState({ cargando: !1 });
|
|
6644
|
+
const { terminal: re, setTerminal: le } = Re.getState(), W = Number(v == null ? void 0 : v.terminal);
|
|
6635
6645
|
re || le(
|
|
6636
6646
|
Number.isNaN(W) ? F[0].codigo : W
|
|
6637
6647
|
);
|
|
6638
6648
|
}).catch((j) => {
|
|
6639
6649
|
console.error("Error al obtener permisos", j);
|
|
6640
|
-
}).finally(
|
|
6641
|
-
() => un(we.general, !1, !0)
|
|
6642
|
-
) : un(we.general, !1, !0);
|
|
6650
|
+
}).finally(() => rt(Ae.general, !1, !0));
|
|
6643
6651
|
});
|
|
6644
|
-
}, [r]), /* @__PURE__ */ d.jsx(so, { theme: l ??
|
|
6652
|
+
}, [r]), /* @__PURE__ */ d.jsx(so, { theme: l ?? lt, children: /* @__PURE__ */ d.jsx(
|
|
6645
6653
|
Qs,
|
|
6646
6654
|
{
|
|
6647
6655
|
apps: f,
|
|
@@ -6663,7 +6671,7 @@ const fc = {
|
|
|
6663
6671
|
corporateAccessLabel: n = "Ingresa únicamente con tu correo @coordinadora.com"
|
|
6664
6672
|
}) => {
|
|
6665
6673
|
const o = ye(() => {
|
|
6666
|
-
|
|
6674
|
+
Ee.login({ idpHint: "google" });
|
|
6667
6675
|
}, []);
|
|
6668
6676
|
return /* @__PURE__ */ d.jsx(
|
|
6669
6677
|
ce,
|
|
@@ -6706,7 +6714,7 @@ const fc = {
|
|
|
6706
6714
|
) }),
|
|
6707
6715
|
/* @__PURE__ */ d.jsx(Ar, { sx: { mb: 3 } }),
|
|
6708
6716
|
/* @__PURE__ */ d.jsx(
|
|
6709
|
-
|
|
6717
|
+
we,
|
|
6710
6718
|
{
|
|
6711
6719
|
component: "span",
|
|
6712
6720
|
variant: "body1",
|
|
@@ -6723,7 +6731,7 @@ const fc = {
|
|
|
6723
6731
|
}
|
|
6724
6732
|
),
|
|
6725
6733
|
/* @__PURE__ */ d.jsx(
|
|
6726
|
-
|
|
6734
|
+
we,
|
|
6727
6735
|
{
|
|
6728
6736
|
variant: "body2",
|
|
6729
6737
|
sx: {
|
|
@@ -6784,7 +6792,7 @@ const fc = {
|
|
|
6784
6792
|
}
|
|
6785
6793
|
),
|
|
6786
6794
|
/* @__PURE__ */ d.jsx(
|
|
6787
|
-
|
|
6795
|
+
we,
|
|
6788
6796
|
{
|
|
6789
6797
|
component: "span",
|
|
6790
6798
|
sx: {
|
|
@@ -6947,7 +6955,7 @@ export {
|
|
|
6947
6955
|
fc as AuthLayout,
|
|
6948
6956
|
Ds as AvatarToolbar,
|
|
6949
6957
|
Jo as CardAppsToolbar,
|
|
6950
|
-
|
|
6958
|
+
st as DRAWER_WIDTH,
|
|
6951
6959
|
Fs as DatosSesionToolbar,
|
|
6952
6960
|
Ho as Drawer,
|
|
6953
6961
|
Qo as DrawerMargin,
|
|
@@ -6969,11 +6977,11 @@ export {
|
|
|
6969
6977
|
Q as colores,
|
|
6970
6978
|
Js as convertirTerminalesToolbar,
|
|
6971
6979
|
Fn as estadoAuth,
|
|
6972
|
-
|
|
6980
|
+
_e as estadoDrawer,
|
|
6973
6981
|
Ls as estadoInicialToolbar,
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6982
|
+
Re as estadoToolbar,
|
|
6983
|
+
Ee as keycloak,
|
|
6984
|
+
Ae as keysCargandoToolbar,
|
|
6977
6985
|
ic as menusPermitidos,
|
|
6978
6986
|
dc as obtenerAppsToolbar,
|
|
6979
6987
|
fo as obtenerCookie,
|
|
@@ -6987,12 +6995,12 @@ export {
|
|
|
6987
6995
|
lc as setDrawerHabilitado,
|
|
6988
6996
|
uc as setMenuSeleccionado,
|
|
6989
6997
|
xr as storeCargando,
|
|
6990
|
-
|
|
6998
|
+
lt as tema,
|
|
6991
6999
|
ac as terminalesPermitidas,
|
|
6992
|
-
|
|
7000
|
+
Me as useCargando,
|
|
6993
7001
|
Ks as useEstadoAuth,
|
|
6994
7002
|
Ve as useEstadoDrawer,
|
|
6995
|
-
|
|
7003
|
+
Ie as useEstadoToolbar,
|
|
6996
7004
|
An as useStoreCargando
|
|
6997
7005
|
};
|
|
6998
7006
|
//# sourceMappingURL=cm-sigoo-temp-ui.js.map
|