@cm-sigoo-temp/ui 1.0.0 → 1.0.2
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/api/permisos.d.ts +6 -3
- package/dist/lib/api/terminales.d.ts +9 -2
- package/dist/lib/auth/keycloak.d.ts +4 -2
- package/dist/lib/auth/keycloakInstance.d.ts +3 -1
- package/dist/lib/auth/openID.d.ts +1 -1
- package/dist/lib/cm-sigoo-temp-ui.js +718 -708
- package/dist/lib/cm-sigoo-temp-ui.js.map +1 -1
- package/dist/lib/tipos/Api/Terminales.d.ts +3 -1
- package/package.json +1 -1
|
@@ -2,18 +2,21 @@ var Yn = Object.defineProperty;
|
|
|
2
2
|
var qn = (e, r, t) => r in e ? Yn(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var rr = (e, r, t) => qn(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
import * as $e from "react";
|
|
5
|
-
import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as
|
|
5
|
+
import tt, { createContext as Zn, useContext as Xn, useCallback as ye, useMemo as Ze, useState as Tr, createElement as eo, useRef as ro, useEffect as to } from "react";
|
|
6
6
|
import { createTheme as no, responsiveFontSizes as oo, ListItemIcon as Xe, Icon as _r, Tooltip as Ar, ListItem as ve, ListItemButton as Se, ListItemText as he, ListSubheader as nt, Divider as vr, Drawer as ao, Toolbar as mt, List as io, Skeleton as fe, Typography as xe, Box as le, Grid as sr, ButtonBase as pn, Paper as so, createSvgIcon as ht, Avatar as co, CircularProgress as mn, Menu as lo, MenuItem as ot, TextField as uo, AppBar as fo, Zoom as po, IconButton as wt, Collapse as mo, LinearProgress as ho, Popover as go, ThemeProvider as yo, Button as hn } from "@mui/material";
|
|
7
7
|
import bo from "@emotion/styled";
|
|
8
8
|
import "@emotion/react";
|
|
9
|
-
let cr = null;
|
|
10
|
-
function Ao(e) {
|
|
11
|
-
cr = e;
|
|
9
|
+
let cr = null, gn = "dev";
|
|
10
|
+
function Ao(e, r = "dev") {
|
|
11
|
+
cr = e, gn = r;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function yn() {
|
|
14
|
+
return gn;
|
|
15
|
+
}
|
|
16
|
+
function Ec() {
|
|
14
17
|
return cr;
|
|
15
18
|
}
|
|
16
|
-
function
|
|
19
|
+
function bn() {
|
|
17
20
|
return cr == null ? void 0 : cr.token;
|
|
18
21
|
}
|
|
19
22
|
const vo = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" }, So = {
|
|
@@ -27,14 +30,14 @@ function xo(e, r) {
|
|
|
27
30
|
const n = vo;
|
|
28
31
|
return n && typeof n == "object" ? n[t] ?? "" : "";
|
|
29
32
|
}
|
|
30
|
-
function
|
|
31
|
-
const r = So[e]
|
|
32
|
-
return
|
|
33
|
+
function wo(e) {
|
|
34
|
+
const r = So[e];
|
|
35
|
+
return xo("VITE__URL__OBTENER_PERMISOS_CON_CORREO", r);
|
|
33
36
|
}
|
|
34
|
-
const
|
|
35
|
-
const n =
|
|
37
|
+
const Eo = async (e, r, t) => {
|
|
38
|
+
const n = bn();
|
|
36
39
|
if (!n) throw new Error("No hay sesión de Keycloak activa");
|
|
37
|
-
const o = yn(
|
|
40
|
+
const o = wo(yn()), a = new URL(o);
|
|
38
41
|
return (await fetch(a, {
|
|
39
42
|
method: "post",
|
|
40
43
|
body: JSON.stringify({
|
|
@@ -48,7 +51,7 @@ const wo = async (e, r, t = "dev") => {
|
|
|
48
51
|
Authorization: `Bearer ${n}`
|
|
49
52
|
}
|
|
50
53
|
})).json();
|
|
51
|
-
},
|
|
54
|
+
}, Co = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE__URL__CERRAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout", VITE__URL__INICIAR_SESION_OPENID: "https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google", VITE__URL__OBTENER_PERMISOS_CON_CORREO: "https://autorizaciones-service-dev.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_PROD: "https://autorizaciones-service.coordinadora.com/permisos/generar", VITE__URL__OBTENER_PERMISOS_CON_CORREO_TEST: "https://autorizaciones-service-test.coordinadora.com/permisos/generar", VITE__URL__OBTENER_TERMINALES_DEV: "https://maestros-services-dev.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_PROD: "https://maestros-services.coordinadora.com/territorios/terminales", VITE__URL__OBTENER_TERMINALES_TEST: "https://maestros-services-test.coordinadora.com/territorios/terminales" }, ko = {
|
|
52
55
|
dev: "_DEV",
|
|
53
56
|
test: "_TEST",
|
|
54
57
|
prod: "_PROD"
|
|
@@ -56,27 +59,32 @@ const wo = async (e, r, t = "dev") => {
|
|
|
56
59
|
function To(e, r) {
|
|
57
60
|
const t = `${e}${r}`;
|
|
58
61
|
if (import.meta === void 0) return "";
|
|
59
|
-
const n =
|
|
62
|
+
const n = Co;
|
|
60
63
|
return n && typeof n == "object" ? n[t] ?? "" : "";
|
|
61
64
|
}
|
|
62
|
-
function
|
|
63
|
-
const r =
|
|
64
|
-
return
|
|
65
|
+
function _o(e) {
|
|
66
|
+
const r = ko[e];
|
|
67
|
+
return To("VITE__URL__OBTENER_TERMINALES", r);
|
|
65
68
|
}
|
|
66
|
-
const
|
|
67
|
-
const r =
|
|
69
|
+
const Ro = async (e) => {
|
|
70
|
+
const r = bn();
|
|
68
71
|
if (!r) throw new Error("No hay sesión de Keycloak activa");
|
|
69
|
-
const t =
|
|
72
|
+
const t = _o(yn()), n = new URL(t);
|
|
70
73
|
return (await fetch(n, {
|
|
71
74
|
headers: {
|
|
72
75
|
Accept: "application/json",
|
|
73
|
-
Authorization: `Bearer ${r}
|
|
76
|
+
Authorization: `Bearer ${r}`,
|
|
77
|
+
"x-version": "v2",
|
|
78
|
+
"x-api-key": "08472C354910293A756D02938475612",
|
|
79
|
+
"x-app-sources": "plantilla_autenticacion",
|
|
80
|
+
"x-request": crypto.randomUUID(),
|
|
81
|
+
"x-timestamp": (/* @__PURE__ */ new Date()).toISOString()
|
|
74
82
|
}
|
|
75
83
|
})).json();
|
|
76
|
-
},
|
|
84
|
+
}, Oo = (e) => {
|
|
77
85
|
var r;
|
|
78
86
|
return document ? ((r = document.cookie.split("; ").find((t) => t.startsWith(`${e}=`))) == null ? void 0 : r.split("=")[1]) ?? null : null;
|
|
79
|
-
},
|
|
87
|
+
}, Io = (e, r) => {
|
|
80
88
|
switch (e) {
|
|
81
89
|
case "expires":
|
|
82
90
|
return `; expires=${(r == null ? void 0 : r.toUTCString()) ?? ""}`;
|
|
@@ -88,14 +96,14 @@ const ko = async (e = "dev") => {
|
|
|
88
96
|
default:
|
|
89
97
|
return `; ${e.toLowerCase()}=${r ?? ""}`;
|
|
90
98
|
}
|
|
91
|
-
},
|
|
99
|
+
}, Po = (e, r, t) => {
|
|
92
100
|
if (!document) return;
|
|
93
101
|
const n = Object.entries(t).reduce(
|
|
94
|
-
(o, [a, s]) => `${o}${
|
|
102
|
+
(o, [a, s]) => `${o}${Io(a, s)}`,
|
|
95
103
|
""
|
|
96
104
|
);
|
|
97
105
|
document.cookie = `${e}=${r}${n}`;
|
|
98
|
-
},
|
|
106
|
+
}, Cc = (e) => document.cookie = e + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;", jo = (e) => (typeof e == "string" ? new URL(e) : e).hash.split("&").reduce(
|
|
99
107
|
(t, n) => {
|
|
100
108
|
const o = n.split("=");
|
|
101
109
|
return {
|
|
@@ -104,17 +112,17 @@ const ko = async (e = "dev") => {
|
|
|
104
112
|
};
|
|
105
113
|
},
|
|
106
114
|
{}
|
|
107
|
-
),
|
|
115
|
+
), $o = "token", An = (e = $o) => {
|
|
108
116
|
if (!(window != null && window.location)) return null;
|
|
109
|
-
const r = new URL(window.location.href), t = r.searchParams.get(e), o =
|
|
117
|
+
const r = new URL(window.location.href), t = r.searchParams.get(e), o = jo(r)[e], a = Oo(e);
|
|
110
118
|
return {
|
|
111
119
|
hash: o,
|
|
112
120
|
params: t,
|
|
113
121
|
cookie: a
|
|
114
122
|
};
|
|
115
|
-
},
|
|
116
|
-
}, Cc = () => {
|
|
123
|
+
}, kc = () => {
|
|
117
124
|
}, Tc = () => {
|
|
125
|
+
}, _c = () => {
|
|
118
126
|
};
|
|
119
127
|
function vn(e) {
|
|
120
128
|
if (!(this instanceof vn))
|
|
@@ -178,8 +186,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
178
186
|
}).catch(function(m) {
|
|
179
187
|
y.setError(m);
|
|
180
188
|
});
|
|
181
|
-
var v =
|
|
182
|
-
function
|
|
189
|
+
var v = U();
|
|
190
|
+
function T() {
|
|
183
191
|
var m = function(P) {
|
|
184
192
|
P || (j.prompt = "none"), i.locale && (j.locale = i.locale), r.login(j).then(function() {
|
|
185
193
|
A.setSuccess();
|
|
@@ -192,7 +200,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
192
200
|
var I = function(ce) {
|
|
193
201
|
if (!(ce.origin !== window.location.origin || P.contentWindow !== ce.source)) {
|
|
194
202
|
var de = _(ce.data);
|
|
195
|
-
|
|
203
|
+
k(de, A), document.body.removeChild(P), window.removeEventListener("message", I);
|
|
196
204
|
}
|
|
197
205
|
};
|
|
198
206
|
window.addEventListener("message", I);
|
|
@@ -218,7 +226,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
218
226
|
var m = _(window.location.href);
|
|
219
227
|
if (m && window.history.replaceState(window.history.state, null, m.newUrl), m && m.valid)
|
|
220
228
|
return se().then(function() {
|
|
221
|
-
|
|
229
|
+
k(m, A);
|
|
222
230
|
}).catch(function(R) {
|
|
223
231
|
A.setError(R);
|
|
224
232
|
});
|
|
@@ -231,8 +239,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
231
239
|
}) : r.updateToken(-1).then(function() {
|
|
232
240
|
r.onAuthSuccess && r.onAuthSuccess(), A.setSuccess();
|
|
233
241
|
}).catch(function(R) {
|
|
234
|
-
r.onAuthError && r.onAuthError(), i.onLoad ?
|
|
235
|
-
})) : i.onLoad ?
|
|
242
|
+
r.onAuthError && r.onAuthError(), i.onLoad ? T() : A.setError(R);
|
|
243
|
+
})) : i.onLoad ? T() : A.setSuccess();
|
|
236
244
|
}
|
|
237
245
|
return v.then(function() {
|
|
238
246
|
M().then(b).catch(function(m) {
|
|
@@ -260,8 +268,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
260
268
|
async function w(i, c) {
|
|
261
269
|
if (i !== "S256")
|
|
262
270
|
throw new TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${i}'.`);
|
|
263
|
-
const y = new Uint8Array(await
|
|
264
|
-
return
|
|
271
|
+
const y = new Uint8Array(await Lo(c));
|
|
272
|
+
return Mo(y).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
|
|
265
273
|
}
|
|
266
274
|
function h(i) {
|
|
267
275
|
var c = {
|
|
@@ -279,11 +287,11 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
279
287
|
loginOptions: i
|
|
280
288
|
};
|
|
281
289
|
i && i.prompt && (v.prompt = i.prompt);
|
|
282
|
-
var
|
|
283
|
-
i && i.action == "register" ?
|
|
290
|
+
var T;
|
|
291
|
+
i && i.action == "register" ? T = r.endpoints.register() : T = r.endpoints.authorize();
|
|
284
292
|
var b = i && i.scope || r.scope;
|
|
285
293
|
b ? b.indexOf("openid") === -1 && (b = "openid " + b) : b = "openid";
|
|
286
|
-
var m =
|
|
294
|
+
var m = T + "?client_id=" + encodeURIComponent(r.clientId) + "&redirect_uri=" + encodeURIComponent(A) + "&state=" + encodeURIComponent(c) + "&response_mode=" + encodeURIComponent(r.responseMode) + "&response_type=" + encodeURIComponent(r.responseType) + "&scope=" + encodeURIComponent(b);
|
|
287
295
|
if (s && (m = m + "&nonce=" + encodeURIComponent(y)), i && i.prompt && (m += "&prompt=" + encodeURIComponent(i.prompt)), i && typeof i.maxAge == "number" && (m += "&max_age=" + encodeURIComponent(i.maxAge)), i && i.loginHint && (m += "&login_hint=" + encodeURIComponent(i.loginHint)), i && i.idpHint && (m += "&kc_idp_hint=" + encodeURIComponent(i.idpHint)), i && i.action && i.action != "register" && (m += "&kc_action=" + encodeURIComponent(i.action)), i && i.locale && (m += "&ui_locales=" + encodeURIComponent(i.locale)), i && i.acr) {
|
|
288
296
|
var R = h(i.acr);
|
|
289
297
|
m += "&claims=" + encodeURIComponent(R);
|
|
@@ -356,10 +364,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
356
364
|
if (i == -1 ? (v = !0, u("[KEYCLOAK] Refreshing token: forced refresh")) : (!r.tokenParsed || r.isTokenExpired(i)) && (v = !0, u("[KEYCLOAK] Refreshing token: token expired")), !v)
|
|
357
365
|
c.setSuccess(!1);
|
|
358
366
|
else {
|
|
359
|
-
var
|
|
367
|
+
var T = "grant_type=refresh_token&refresh_token=" + r.refreshToken, b = r.endpoints.token();
|
|
360
368
|
if (n.push(c), n.length == 1) {
|
|
361
369
|
var m = new XMLHttpRequest();
|
|
362
|
-
m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0,
|
|
370
|
+
m.open("POST", b, !0), m.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), m.withCredentials = !0, T += "&client_id=" + encodeURIComponent(r.clientId);
|
|
363
371
|
var R = (/* @__PURE__ */ new Date()).getTime();
|
|
364
372
|
m.onreadystatechange = function() {
|
|
365
373
|
if (m.readyState == 4)
|
|
@@ -374,7 +382,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
374
382
|
for (var P = n.pop(); P != null; P = n.pop())
|
|
375
383
|
P.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
|
|
376
384
|
}
|
|
377
|
-
}, m.send(
|
|
385
|
+
}, m.send(T);
|
|
378
386
|
}
|
|
379
387
|
}
|
|
380
388
|
};
|
|
@@ -398,8 +406,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
398
406
|
function p() {
|
|
399
407
|
return window.location.origin ? window.location.origin : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "");
|
|
400
408
|
}
|
|
401
|
-
function
|
|
402
|
-
var y = i.code, A = i.error, v = i.prompt,
|
|
409
|
+
function k(i, c) {
|
|
410
|
+
var y = i.code, A = i.error, v = i.prompt, T = (/* @__PURE__ */ new Date()).getTime();
|
|
403
411
|
if (i.kc_action_status && r.onActionUpdate && r.onActionUpdate(i.kc_action_status, i.kc_action), A) {
|
|
404
412
|
if (v != "none")
|
|
405
413
|
if (i.error_description && i.error_description === "authentication_expired")
|
|
@@ -424,10 +432,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
424
432
|
}, j.send(m);
|
|
425
433
|
}
|
|
426
434
|
function P(z, I, ce, de) {
|
|
427
|
-
|
|
435
|
+
T = (T + (/* @__PURE__ */ new Date()).getTime()) / 2, B(z, I, ce, T), s && r.idTokenParsed && r.idTokenParsed.nonce != i.storedNonce ? (u("[KEYCLOAK] Invalid nonce, clearing token"), r.clearToken(), c && c.setError()) : de && (r.onAuthSuccess && r.onAuthSuccess(), c && c.setSuccess());
|
|
428
436
|
}
|
|
429
437
|
}
|
|
430
|
-
function
|
|
438
|
+
function U() {
|
|
431
439
|
var i = F(), c;
|
|
432
440
|
typeof e == "string" && (c = e);
|
|
433
441
|
function y(b) {
|
|
@@ -496,10 +504,10 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
496
504
|
if (!v)
|
|
497
505
|
r.authServerUrl = e.url, r.realm = e.realm, y(null), i.setSuccess();
|
|
498
506
|
else if (typeof v == "string") {
|
|
499
|
-
var
|
|
500
|
-
v.charAt(v.length - 1) == "/" ?
|
|
507
|
+
var T;
|
|
508
|
+
v.charAt(v.length - 1) == "/" ? T = v + ".well-known/openid-configuration" : T = v + "/.well-known/openid-configuration";
|
|
501
509
|
var A = new XMLHttpRequest();
|
|
502
|
-
A.open("GET",
|
|
510
|
+
A.open("GET", T, !0), A.setRequestHeader("Accept", "application/json"), A.onreadystatechange = function() {
|
|
503
511
|
if (A.readyState == 4)
|
|
504
512
|
if (A.status == 200 || V(A)) {
|
|
505
513
|
var m = JSON.parse(A.responseText);
|
|
@@ -550,13 +558,13 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
550
558
|
break;
|
|
551
559
|
}
|
|
552
560
|
c.push("error"), c.push("error_description"), c.push("error_uri");
|
|
553
|
-
var y = i.indexOf("?"), A = i.indexOf("#"), v,
|
|
554
|
-
if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y),
|
|
561
|
+
var y = i.indexOf("?"), A = i.indexOf("#"), v, T;
|
|
562
|
+
if (r.responseMode === "query" && y !== -1 ? (v = i.substring(0, y), T = W(i.substring(y + 1, A !== -1 ? A : i.length), c), T.paramsString !== "" && (v += "?" + T.paramsString), A !== -1 && (v += i.substring(A))) : r.responseMode === "fragment" && A !== -1 && (v = i.substring(0, A), T = W(i.substring(A + 1), c), T.paramsString !== "" && (v += "#" + T.paramsString)), T && T.oauthParams) {
|
|
555
563
|
if (r.flow === "standard" || r.flow === "hybrid") {
|
|
556
|
-
if ((
|
|
557
|
-
return
|
|
558
|
-
} else if (r.flow === "implicit" && (
|
|
559
|
-
return
|
|
564
|
+
if ((T.oauthParams.code || T.oauthParams.error) && T.oauthParams.state)
|
|
565
|
+
return T.oauthParams.newUrl = v, T.oauthParams;
|
|
566
|
+
} else if (r.flow === "implicit" && (T.oauthParams.access_token || T.oauthParams.error) && T.oauthParams.state)
|
|
567
|
+
return T.oauthParams.newUrl = v, T.oauthParams;
|
|
560
568
|
}
|
|
561
569
|
}
|
|
562
570
|
function W(i, c) {
|
|
@@ -564,8 +572,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
564
572
|
paramsString: "",
|
|
565
573
|
oauthParams: {}
|
|
566
574
|
}, v = 0; v < y.length; v++) {
|
|
567
|
-
var
|
|
568
|
-
c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(
|
|
575
|
+
var T = y[v].indexOf("="), b = y[v].slice(0, T);
|
|
576
|
+
c.indexOf(b) !== -1 ? A.oauthParams[b] = y[v].slice(T + 1) : (A.paramsString !== "" && (A.paramsString += "&"), A.paramsString += y[v]);
|
|
569
577
|
}
|
|
570
578
|
return A;
|
|
571
579
|
}
|
|
@@ -583,7 +591,7 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
583
591
|
}), i;
|
|
584
592
|
}
|
|
585
593
|
function X(i, c, y) {
|
|
586
|
-
var A = null, v = new Promise(function(
|
|
594
|
+
var A = null, v = new Promise(function(T, b) {
|
|
587
595
|
A = setTimeout(function() {
|
|
588
596
|
b({ error: y });
|
|
589
597
|
}, c);
|
|
@@ -606,8 +614,8 @@ For more information see: https://developer.mozilla.org/en-US/docs/Web/Security/
|
|
|
606
614
|
var A = function(v) {
|
|
607
615
|
if (!(v.origin !== a.iframeOrigin || a.iframe.contentWindow !== v.source) && (v.data == "unchanged" || v.data == "changed" || v.data == "error")) {
|
|
608
616
|
v.data != "unchanged" && r.clearToken();
|
|
609
|
-
for (var
|
|
610
|
-
var m =
|
|
617
|
+
for (var T = a.callbackList.splice(0, a.callbackList.length), b = T.length - 1; b >= 0; --b) {
|
|
618
|
+
var m = T[b];
|
|
611
619
|
v.data == "error" ? m.setError() : m.setSuccess(v.data == "unchanged");
|
|
612
620
|
}
|
|
613
621
|
}
|
|
@@ -706,7 +714,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
706
714
|
}, v = function(b) {
|
|
707
715
|
var m = y(b);
|
|
708
716
|
return m.location = "no", b && b.prompt == "none" && (m.hidden = "yes"), A(m);
|
|
709
|
-
},
|
|
717
|
+
}, T = function() {
|
|
710
718
|
return r.redirectUri || "http://localhost";
|
|
711
719
|
};
|
|
712
720
|
return {
|
|
@@ -715,15 +723,15 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
715
723
|
I = !0, P.close();
|
|
716
724
|
};
|
|
717
725
|
return P.addEventListener("loadstart", function(de) {
|
|
718
|
-
if (de.url.indexOf(
|
|
726
|
+
if (de.url.indexOf(T()) == 0) {
|
|
719
727
|
var He = _(de.url);
|
|
720
|
-
|
|
728
|
+
k(He, m), ce(), z = !0;
|
|
721
729
|
}
|
|
722
730
|
}), P.addEventListener("loaderror", function(de) {
|
|
723
731
|
if (!z)
|
|
724
|
-
if (de.url.indexOf(
|
|
732
|
+
if (de.url.indexOf(T()) == 0) {
|
|
725
733
|
var He = _(de.url);
|
|
726
|
-
|
|
734
|
+
k(He, m), ce(), z = !0;
|
|
727
735
|
} else
|
|
728
736
|
m.setError(), ce();
|
|
729
737
|
}), P.addEventListener("exit", function(de) {
|
|
@@ -735,9 +743,9 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
735
743
|
logout: function(b) {
|
|
736
744
|
var m = F(), R = r.createLogoutUrl(b), j = c(R, "_blank", "location=no,hidden=yes,clearcache=yes"), P;
|
|
737
745
|
return j.addEventListener("loadstart", function(z) {
|
|
738
|
-
z.url.indexOf(
|
|
746
|
+
z.url.indexOf(T()) == 0 && j.close();
|
|
739
747
|
}), j.addEventListener("loaderror", function(z) {
|
|
740
|
-
z.url.indexOf(
|
|
748
|
+
z.url.indexOf(T()) == 0 || (P = !0), j.close();
|
|
741
749
|
}), j.addEventListener("exit", function(z) {
|
|
742
750
|
P ? m.setError() : (r.clearToken(), m.setSuccess());
|
|
743
751
|
}), m.promise;
|
|
@@ -745,10 +753,10 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
745
753
|
register: async function(b) {
|
|
746
754
|
var m = F(), R = await r.createRegisterUrl(), j = v(b), P = c(R, "_blank", j);
|
|
747
755
|
return P.addEventListener("loadstart", function(z) {
|
|
748
|
-
if (z.url.indexOf(
|
|
756
|
+
if (z.url.indexOf(T()) == 0) {
|
|
749
757
|
P.close();
|
|
750
758
|
var I = _(z.url);
|
|
751
|
-
|
|
759
|
+
k(I, m);
|
|
752
760
|
}
|
|
753
761
|
}), m.promise;
|
|
754
762
|
},
|
|
@@ -757,13 +765,13 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
757
765
|
if (typeof b < "u") {
|
|
758
766
|
var m = c(b, "_blank", "location=no");
|
|
759
767
|
m.addEventListener("loadstart", function(R) {
|
|
760
|
-
R.url.indexOf(
|
|
768
|
+
R.url.indexOf(T()) == 0 && m.close();
|
|
761
769
|
});
|
|
762
770
|
} else
|
|
763
771
|
throw "Not supported by the OIDC server";
|
|
764
772
|
},
|
|
765
773
|
redirectUri: function(b) {
|
|
766
|
-
return
|
|
774
|
+
return T();
|
|
767
775
|
}
|
|
768
776
|
};
|
|
769
777
|
}
|
|
@@ -774,7 +782,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
774
782
|
return universalLinks.subscribe("keycloak", function(j) {
|
|
775
783
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
|
|
776
784
|
var P = _(j.url);
|
|
777
|
-
|
|
785
|
+
k(P, m);
|
|
778
786
|
}), window.cordova.plugins.browsertab.openUrl(R), m.promise;
|
|
779
787
|
},
|
|
780
788
|
logout: function(b) {
|
|
@@ -788,7 +796,7 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
788
796
|
return universalLinks.subscribe("keycloak", function(j) {
|
|
789
797
|
universalLinks.unsubscribe("keycloak"), window.cordova.plugins.browsertab.close();
|
|
790
798
|
var P = _(j.url);
|
|
791
|
-
|
|
799
|
+
k(P, m);
|
|
792
800
|
}), window.cordova.plugins.browsertab.openUrl(R), m.promise;
|
|
793
801
|
},
|
|
794
802
|
accountManagement: function() {
|
|
@@ -804,44 +812,44 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
804
812
|
};
|
|
805
813
|
throw "invalid adapter type: " + i;
|
|
806
814
|
}
|
|
807
|
-
const
|
|
815
|
+
const N = "kc-callback-";
|
|
808
816
|
var D = function() {
|
|
809
817
|
if (!(this instanceof D))
|
|
810
818
|
return new D();
|
|
811
819
|
localStorage.setItem("kc-test", "test"), localStorage.removeItem("kc-test");
|
|
812
820
|
var i = this;
|
|
813
821
|
function c() {
|
|
814
|
-
const
|
|
822
|
+
const T = Date.now();
|
|
815
823
|
for (const [b, m] of A()) {
|
|
816
824
|
const R = v(m);
|
|
817
|
-
(R === null || R <
|
|
825
|
+
(R === null || R < T) && localStorage.removeItem(b);
|
|
818
826
|
}
|
|
819
827
|
}
|
|
820
828
|
function y() {
|
|
821
|
-
for (const [
|
|
822
|
-
localStorage.removeItem(
|
|
829
|
+
for (const [T] of A())
|
|
830
|
+
localStorage.removeItem(T);
|
|
823
831
|
}
|
|
824
832
|
function A() {
|
|
825
|
-
return Object.entries(localStorage).filter(([
|
|
833
|
+
return Object.entries(localStorage).filter(([T]) => T.startsWith(N));
|
|
826
834
|
}
|
|
827
|
-
function v(
|
|
835
|
+
function v(T) {
|
|
828
836
|
let b;
|
|
829
837
|
try {
|
|
830
|
-
b = JSON.parse(
|
|
838
|
+
b = JSON.parse(T);
|
|
831
839
|
} catch {
|
|
832
840
|
return null;
|
|
833
841
|
}
|
|
834
842
|
return Wr(b) && "expires" in b && typeof b.expires == "number" ? b.expires : null;
|
|
835
843
|
}
|
|
836
|
-
i.get = function(
|
|
837
|
-
if (
|
|
838
|
-
var b =
|
|
844
|
+
i.get = function(T) {
|
|
845
|
+
if (T) {
|
|
846
|
+
var b = N + T, m = localStorage.getItem(b);
|
|
839
847
|
return m && (localStorage.removeItem(b), m = JSON.parse(m)), c(), m;
|
|
840
848
|
}
|
|
841
|
-
}, i.add = function(
|
|
849
|
+
}, i.add = function(T) {
|
|
842
850
|
c();
|
|
843
|
-
const b =
|
|
844
|
-
...
|
|
851
|
+
const b = N + T.state, m = JSON.stringify({
|
|
852
|
+
...T,
|
|
845
853
|
// Set the expiry time to 1 hour from now.
|
|
846
854
|
expires: Date.now() + 3600 * 1e3
|
|
847
855
|
});
|
|
@@ -857,28 +865,28 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
857
865
|
var i = this;
|
|
858
866
|
i.get = function(v) {
|
|
859
867
|
if (v) {
|
|
860
|
-
var
|
|
861
|
-
if (A(
|
|
862
|
-
return JSON.parse(
|
|
868
|
+
var T = y(N + v);
|
|
869
|
+
if (A(N + v, "", c(-100)), T)
|
|
870
|
+
return JSON.parse(T);
|
|
863
871
|
}
|
|
864
872
|
}, i.add = function(v) {
|
|
865
|
-
A(
|
|
873
|
+
A(N + v.state, JSON.stringify(v), c(60));
|
|
866
874
|
}, i.removeItem = function(v) {
|
|
867
875
|
A(v, "", c(-100));
|
|
868
876
|
};
|
|
869
877
|
var c = function(v) {
|
|
870
|
-
var
|
|
871
|
-
return
|
|
878
|
+
var T = /* @__PURE__ */ new Date();
|
|
879
|
+
return T.setTime(T.getTime() + v * 60 * 1e3), T;
|
|
872
880
|
}, y = function(v) {
|
|
873
|
-
for (var
|
|
881
|
+
for (var T = v + "=", b = document.cookie.split(";"), m = 0; m < b.length; m++) {
|
|
874
882
|
for (var R = b[m]; R.charAt(0) == " "; )
|
|
875
883
|
R = R.substring(1);
|
|
876
|
-
if (R.indexOf(
|
|
877
|
-
return R.substring(
|
|
884
|
+
if (R.indexOf(T) == 0)
|
|
885
|
+
return R.substring(T.length, R.length);
|
|
878
886
|
}
|
|
879
887
|
return "";
|
|
880
|
-
}, A = function(v,
|
|
881
|
-
var m = v + "=" +
|
|
888
|
+
}, A = function(v, T, b) {
|
|
889
|
+
var m = v + "=" + T + "; expires=" + b.toUTCString() + "; ";
|
|
882
890
|
document.cookie = m;
|
|
883
891
|
};
|
|
884
892
|
};
|
|
@@ -895,11 +903,11 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
895
903
|
};
|
|
896
904
|
}
|
|
897
905
|
}
|
|
898
|
-
function
|
|
906
|
+
function Mo(e) {
|
|
899
907
|
const r = String.fromCodePoint(...e);
|
|
900
908
|
return btoa(r);
|
|
901
909
|
}
|
|
902
|
-
async function
|
|
910
|
+
async function Lo(e) {
|
|
903
911
|
const t = new TextEncoder().encode(e);
|
|
904
912
|
if (typeof crypto > "u" || typeof crypto.subtle > "u")
|
|
905
913
|
throw new Error("Web Crypto API is not available.");
|
|
@@ -911,7 +919,7 @@ function zr(e) {
|
|
|
911
919
|
throw new Error("Unable to decode token, payload not found.");
|
|
912
920
|
let n;
|
|
913
921
|
try {
|
|
914
|
-
n =
|
|
922
|
+
n = Uo(t);
|
|
915
923
|
} catch (o) {
|
|
916
924
|
throw new Error("Unable to decode token, payload is not a valid Base64URL value.", { cause: o });
|
|
917
925
|
}
|
|
@@ -921,7 +929,7 @@ function zr(e) {
|
|
|
921
929
|
throw new Error("Unable to decode token, payload is not a valid JSON value.", { cause: o });
|
|
922
930
|
}
|
|
923
931
|
}
|
|
924
|
-
function
|
|
932
|
+
function Uo(e) {
|
|
925
933
|
let r = e.replaceAll("-", "+").replaceAll("_", "/");
|
|
926
934
|
switch (r.length % 4) {
|
|
927
935
|
case 0:
|
|
@@ -936,12 +944,12 @@ function Mo(e) {
|
|
|
936
944
|
throw new Error("Input is not of the correct length.");
|
|
937
945
|
}
|
|
938
946
|
try {
|
|
939
|
-
return
|
|
947
|
+
return No(r);
|
|
940
948
|
} catch {
|
|
941
949
|
return atob(r);
|
|
942
950
|
}
|
|
943
951
|
}
|
|
944
|
-
function
|
|
952
|
+
function No(e) {
|
|
945
953
|
return decodeURIComponent(atob(e).replace(/(.)/g, (r, t) => {
|
|
946
954
|
let n = t.charCodeAt(0).toString(16).toUpperCase();
|
|
947
955
|
return n.length < 2 && (n = "0" + n), "%" + n;
|
|
@@ -950,7 +958,7 @@ function Lo(e) {
|
|
|
950
958
|
function Wr(e) {
|
|
951
959
|
return typeof e == "object" && e !== null;
|
|
952
960
|
}
|
|
953
|
-
const
|
|
961
|
+
const Do = {
|
|
954
962
|
dev: {
|
|
955
963
|
url: "https://cmautenticacion-dev.coordinadora.com",
|
|
956
964
|
clientId: "sigo-cli",
|
|
@@ -967,15 +975,15 @@ const No = {
|
|
|
967
975
|
realm: "autenticacion_usuarios"
|
|
968
976
|
}
|
|
969
977
|
};
|
|
970
|
-
function
|
|
971
|
-
const r =
|
|
978
|
+
function Rc(e = "dev") {
|
|
979
|
+
const r = Do[e], t = new vn({
|
|
972
980
|
url: r.url,
|
|
973
981
|
clientId: r.clientId,
|
|
974
982
|
realm: r.realm
|
|
975
983
|
});
|
|
976
|
-
return Ao(t), t;
|
|
984
|
+
return Ao(t, e), t;
|
|
977
985
|
}
|
|
978
|
-
function
|
|
986
|
+
function Bo(e) {
|
|
979
987
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
980
988
|
}
|
|
981
989
|
var pr = { exports: {} }, tr = {};
|
|
@@ -989,7 +997,7 @@ var pr = { exports: {} }, tr = {};
|
|
|
989
997
|
* LICENSE file in the root directory of this source tree.
|
|
990
998
|
*/
|
|
991
999
|
var Et;
|
|
992
|
-
function
|
|
1000
|
+
function Vo() {
|
|
993
1001
|
if (Et) return tr;
|
|
994
1002
|
Et = 1;
|
|
995
1003
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
@@ -1021,7 +1029,7 @@ var nr = {};
|
|
|
1021
1029
|
* LICENSE file in the root directory of this source tree.
|
|
1022
1030
|
*/
|
|
1023
1031
|
var Ct;
|
|
1024
|
-
function
|
|
1032
|
+
function Fo() {
|
|
1025
1033
|
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
1026
1034
|
function e(c) {
|
|
1027
1035
|
if (c == null) return null;
|
|
@@ -1029,11 +1037,11 @@ function Bo() {
|
|
|
1029
1037
|
return c.$$typeof === H ? null : c.displayName || c.name || null;
|
|
1030
1038
|
if (typeof c == "string") return c;
|
|
1031
1039
|
switch (c) {
|
|
1032
|
-
case
|
|
1040
|
+
case k:
|
|
1033
1041
|
return "Fragment";
|
|
1034
1042
|
case V:
|
|
1035
1043
|
return "Profiler";
|
|
1036
|
-
case
|
|
1044
|
+
case U:
|
|
1037
1045
|
return "StrictMode";
|
|
1038
1046
|
case L:
|
|
1039
1047
|
return "Suspense";
|
|
@@ -1087,7 +1095,7 @@ function Bo() {
|
|
|
1087
1095
|
}
|
|
1088
1096
|
}
|
|
1089
1097
|
function n(c) {
|
|
1090
|
-
if (c ===
|
|
1098
|
+
if (c === k) return "<>";
|
|
1091
1099
|
if (typeof c == "object" && c !== null && c.$$typeof === X)
|
|
1092
1100
|
return "<...>";
|
|
1093
1101
|
try {
|
|
@@ -1129,7 +1137,7 @@ function Bo() {
|
|
|
1129
1137
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
1130
1138
|
)), c = this.props.ref, c !== void 0 ? c : null;
|
|
1131
1139
|
}
|
|
1132
|
-
function g(c, y, A, v,
|
|
1140
|
+
function g(c, y, A, v, T, b) {
|
|
1133
1141
|
var m = A.ref;
|
|
1134
1142
|
return c = {
|
|
1135
1143
|
$$typeof: C,
|
|
@@ -1154,7 +1162,7 @@ function Bo() {
|
|
|
1154
1162
|
configurable: !1,
|
|
1155
1163
|
enumerable: !1,
|
|
1156
1164
|
writable: !0,
|
|
1157
|
-
value:
|
|
1165
|
+
value: T
|
|
1158
1166
|
}), Object.defineProperty(c, "_debugTask", {
|
|
1159
1167
|
configurable: !1,
|
|
1160
1168
|
enumerable: !1,
|
|
@@ -1162,7 +1170,7 @@ function Bo() {
|
|
|
1162
1170
|
value: b
|
|
1163
1171
|
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
1164
1172
|
}
|
|
1165
|
-
function x(c, y, A, v,
|
|
1173
|
+
function x(c, y, A, v, T, b) {
|
|
1166
1174
|
var m = y.children;
|
|
1167
1175
|
if (m !== void 0)
|
|
1168
1176
|
if (v)
|
|
@@ -1206,7 +1214,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1206
1214
|
m,
|
|
1207
1215
|
A,
|
|
1208
1216
|
o(),
|
|
1209
|
-
|
|
1217
|
+
T,
|
|
1210
1218
|
b
|
|
1211
1219
|
);
|
|
1212
1220
|
}
|
|
@@ -1216,7 +1224,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1216
1224
|
function w(c) {
|
|
1217
1225
|
return typeof c == "object" && c !== null && c.$$typeof === C;
|
|
1218
1226
|
}
|
|
1219
|
-
var h = tt, C = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"),
|
|
1227
|
+
var h = tt, C = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), l = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, O = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
1220
1228
|
return null;
|
|
1221
1229
|
};
|
|
1222
1230
|
h = {
|
|
@@ -1227,8 +1235,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1227
1235
|
var D, J = {}, ne = h.react_stack_bottom_frame.bind(
|
|
1228
1236
|
h,
|
|
1229
1237
|
a
|
|
1230
|
-
)(), ue =
|
|
1231
|
-
nr.Fragment =
|
|
1238
|
+
)(), ue = N(n(a)), i = {};
|
|
1239
|
+
nr.Fragment = k, nr.jsx = function(c, y, A) {
|
|
1232
1240
|
var v = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
1233
1241
|
return x(
|
|
1234
1242
|
c,
|
|
@@ -1236,7 +1244,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1236
1244
|
A,
|
|
1237
1245
|
!1,
|
|
1238
1246
|
v ? Error("react-stack-top-frame") : ne,
|
|
1239
|
-
v ?
|
|
1247
|
+
v ? N(n(c)) : ue
|
|
1240
1248
|
);
|
|
1241
1249
|
}, nr.jsxs = function(c, y, A) {
|
|
1242
1250
|
var v = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
@@ -1246,18 +1254,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1246
1254
|
A,
|
|
1247
1255
|
!0,
|
|
1248
1256
|
v ? Error("react-stack-top-frame") : ne,
|
|
1249
|
-
v ?
|
|
1257
|
+
v ? N(n(c)) : ue
|
|
1250
1258
|
);
|
|
1251
1259
|
};
|
|
1252
1260
|
})()), nr;
|
|
1253
1261
|
}
|
|
1254
|
-
var
|
|
1255
|
-
function
|
|
1256
|
-
return
|
|
1262
|
+
var kt;
|
|
1263
|
+
function zo() {
|
|
1264
|
+
return kt || (kt = 1, process.env.NODE_ENV === "production" ? pr.exports = Vo() : pr.exports = Fo()), pr.exports;
|
|
1257
1265
|
}
|
|
1258
|
-
var d =
|
|
1266
|
+
var d = zo();
|
|
1259
1267
|
const Sn = Zn(null);
|
|
1260
|
-
function
|
|
1268
|
+
function Oc({
|
|
1261
1269
|
keycloak: e,
|
|
1262
1270
|
children: r
|
|
1263
1271
|
}) {
|
|
@@ -1273,7 +1281,7 @@ function xn() {
|
|
|
1273
1281
|
}
|
|
1274
1282
|
new TextEncoder();
|
|
1275
1283
|
const at = new TextDecoder();
|
|
1276
|
-
function
|
|
1284
|
+
function Wo(e) {
|
|
1277
1285
|
if (Uint8Array.fromBase64)
|
|
1278
1286
|
return Uint8Array.fromBase64(e);
|
|
1279
1287
|
const r = atob(e), t = new Uint8Array(r.length);
|
|
@@ -1281,7 +1289,7 @@ function Fo(e) {
|
|
|
1281
1289
|
t[n] = r.charCodeAt(n);
|
|
1282
1290
|
return t;
|
|
1283
1291
|
}
|
|
1284
|
-
function
|
|
1292
|
+
function Ho(e) {
|
|
1285
1293
|
if (Uint8Array.fromBase64)
|
|
1286
1294
|
return Uint8Array.fromBase64(typeof e == "string" ? e : at.decode(e), {
|
|
1287
1295
|
alphabet: "base64url"
|
|
@@ -1289,7 +1297,7 @@ function zo(e) {
|
|
|
1289
1297
|
let r = e;
|
|
1290
1298
|
r instanceof Uint8Array && (r = at.decode(r)), r = r.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
|
|
1291
1299
|
try {
|
|
1292
|
-
return
|
|
1300
|
+
return Wo(r);
|
|
1293
1301
|
} catch {
|
|
1294
1302
|
throw new TypeError("The input to be decoded is not correctly encoded.");
|
|
1295
1303
|
}
|
|
@@ -1310,11 +1318,11 @@ class Ie extends wn {
|
|
|
1310
1318
|
}
|
|
1311
1319
|
}
|
|
1312
1320
|
rr(Ie, "code", "ERR_JWT_INVALID");
|
|
1313
|
-
function
|
|
1321
|
+
function Ko(e) {
|
|
1314
1322
|
return typeof e == "object" && e !== null;
|
|
1315
1323
|
}
|
|
1316
|
-
const
|
|
1317
|
-
if (!
|
|
1324
|
+
const Qo = (e) => {
|
|
1325
|
+
if (!Ko(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
|
1318
1326
|
return !1;
|
|
1319
1327
|
if (Object.getPrototypeOf(e) === null)
|
|
1320
1328
|
return !0;
|
|
@@ -1335,7 +1343,7 @@ function Sr(e) {
|
|
|
1335
1343
|
throw new Ie("JWTs must contain a payload");
|
|
1336
1344
|
let n;
|
|
1337
1345
|
try {
|
|
1338
|
-
n =
|
|
1346
|
+
n = Ho(r);
|
|
1339
1347
|
} catch {
|
|
1340
1348
|
throw new Ie("Failed to base64url decode the payload");
|
|
1341
1349
|
}
|
|
@@ -1345,14 +1353,14 @@ function Sr(e) {
|
|
|
1345
1353
|
} catch {
|
|
1346
1354
|
throw new Ie("Failed to parse the decoded payload as JSON");
|
|
1347
1355
|
}
|
|
1348
|
-
if (!
|
|
1356
|
+
if (!Qo(o))
|
|
1349
1357
|
throw new Ie("Invalid JWT Claims Set");
|
|
1350
1358
|
return o;
|
|
1351
1359
|
}
|
|
1352
|
-
const gt = "access_token", En = "
|
|
1360
|
+
const gt = "access_token", En = "id_token_hint", Jo = () => {
|
|
1353
1361
|
const e = new URL("https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/google");
|
|
1354
1362
|
return e.searchParams.set("redirect_url", window.location.href), e;
|
|
1355
|
-
},
|
|
1363
|
+
}, Go = (e) => {
|
|
1356
1364
|
const r = new URL("https://apiv2-test.coordinadora.com/autenticacion/cm-autenticacion-google-openid-ms/auth/logout");
|
|
1357
1365
|
return r.searchParams.set("redirect_url", window.location.href), r.searchParams.set(En, e), r;
|
|
1358
1366
|
}, Cn = () => {
|
|
@@ -1380,11 +1388,12 @@ const gt = "access_token", En = "access_token", Ko = () => {
|
|
|
1380
1388
|
}
|
|
1381
1389
|
}, it = (e, r) => {
|
|
1382
1390
|
const t = new Date(r * 1e3);
|
|
1383
|
-
|
|
1391
|
+
Po(gt, e, {
|
|
1384
1392
|
expires: t,
|
|
1385
|
-
secure: !0
|
|
1393
|
+
secure: !0,
|
|
1394
|
+
sameSite: "lax"
|
|
1386
1395
|
});
|
|
1387
|
-
},
|
|
1396
|
+
}, Yo = () => {
|
|
1388
1397
|
var t;
|
|
1389
1398
|
const e = Cn(), r = (t = An()) == null ? void 0 : t.params;
|
|
1390
1399
|
if (r) {
|
|
@@ -1411,16 +1420,16 @@ const gt = "access_token", En = "access_token", Ko = () => {
|
|
|
1411
1420
|
return console.error("Error al decodificar tokenParams"), console.error(n), null;
|
|
1412
1421
|
}
|
|
1413
1422
|
return null;
|
|
1414
|
-
},
|
|
1423
|
+
}, Ic = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1415
1424
|
__proto__: null,
|
|
1416
1425
|
COOKIE_KEY_TOKEN_OPEN_ID: gt,
|
|
1417
1426
|
LOGOUT_KEY_TOKEN_OPEN_ID: En,
|
|
1418
1427
|
obtenerSesionOpenID: Cn,
|
|
1419
|
-
obtenerUrlCerrarSesionOpenID:
|
|
1420
|
-
obtenerUrlIniciarSesionOpenID:
|
|
1428
|
+
obtenerUrlCerrarSesionOpenID: Go,
|
|
1429
|
+
obtenerUrlIniciarSesionOpenID: Jo,
|
|
1421
1430
|
setCookieOpenID: it,
|
|
1422
|
-
validarSesionOpenID:
|
|
1423
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1431
|
+
validarSesionOpenID: Yo
|
|
1432
|
+
}, Symbol.toStringTag, { value: "Module" })), qo = (e) => /* @__PURE__ */ d.jsxs(
|
|
1424
1433
|
"svg",
|
|
1425
1434
|
{
|
|
1426
1435
|
...e,
|
|
@@ -1469,7 +1478,7 @@ const gt = "access_token", En = "access_token", Ko = () => {
|
|
|
1469
1478
|
) }) })
|
|
1470
1479
|
]
|
|
1471
1480
|
}
|
|
1472
|
-
),
|
|
1481
|
+
), Zo = (e) => /* @__PURE__ */ d.jsxs(
|
|
1473
1482
|
"svg",
|
|
1474
1483
|
{
|
|
1475
1484
|
...e,
|
|
@@ -1551,7 +1560,7 @@ const gt = "access_token", En = "access_token", Ko = () => {
|
|
|
1551
1560
|
gray2: "#F2F2F2",
|
|
1552
1561
|
gray1: "#FAFAFA",
|
|
1553
1562
|
whiteBackdrop: "#FFFFFFDE"
|
|
1554
|
-
}, st = 256,
|
|
1563
|
+
}, st = 256, Xo = {
|
|
1555
1564
|
components: {
|
|
1556
1565
|
MuiBreadcrumbs: {
|
|
1557
1566
|
defaultProps: {
|
|
@@ -1606,7 +1615,7 @@ function ct() {
|
|
|
1606
1615
|
return e;
|
|
1607
1616
|
}, ct.apply(null, arguments);
|
|
1608
1617
|
}
|
|
1609
|
-
const
|
|
1618
|
+
const ea = (e) => ({
|
|
1610
1619
|
components: {
|
|
1611
1620
|
MuiLocalizationProvider: {
|
|
1612
1621
|
defaultProps: {
|
|
@@ -1614,12 +1623,12 @@ const Zo = (e) => ({
|
|
|
1614
1623
|
}
|
|
1615
1624
|
}
|
|
1616
1625
|
}
|
|
1617
|
-
}),
|
|
1626
|
+
}), Tt = {
|
|
1618
1627
|
hours: "Horas",
|
|
1619
1628
|
minutes: "Minutos",
|
|
1620
1629
|
seconds: "Segundos",
|
|
1621
1630
|
meridiem: "Meridiano"
|
|
1622
|
-
},
|
|
1631
|
+
}, ra = {
|
|
1623
1632
|
// Calendar navigation
|
|
1624
1633
|
previousMonth: "Mes anterior",
|
|
1625
1634
|
nextMonth: "Mes siguiente",
|
|
@@ -1645,12 +1654,12 @@ const Zo = (e) => ({
|
|
|
1645
1654
|
timePickerToolbarTitle: "Seleccionar hora",
|
|
1646
1655
|
dateRangePickerToolbarTitle: "Seleccionar rango de fecha",
|
|
1647
1656
|
// Clock labels
|
|
1648
|
-
clockLabelText: (e, r, t, n) => `Seleccione ${
|
|
1657
|
+
clockLabelText: (e, r, t, n) => `Seleccione ${Tt[e]}. ${!n && (r === null || !t.isValid(r)) ? "No hay hora seleccionada" : `La hora seleccionada es ${n ?? t.format(r, "fullTime")}`}`,
|
|
1649
1658
|
hoursClockNumberText: (e) => `${e} horas`,
|
|
1650
1659
|
minutesClockNumberText: (e) => `${e} minutos`,
|
|
1651
1660
|
secondsClockNumberText: (e) => `${e} segundos`,
|
|
1652
1661
|
// Digital clock labels
|
|
1653
|
-
selectViewText: (e) => `Seleccionar ${
|
|
1662
|
+
selectViewText: (e) => `Seleccionar ${Tt[e]}`,
|
|
1654
1663
|
// Calendar labels
|
|
1655
1664
|
calendarWeekNumberHeaderLabel: "Número de semana",
|
|
1656
1665
|
calendarWeekNumberHeaderText: "#",
|
|
@@ -1683,7 +1692,7 @@ const Zo = (e) => ({
|
|
|
1683
1692
|
meridiem: "Meridiano",
|
|
1684
1693
|
// Common
|
|
1685
1694
|
empty: "Vacío"
|
|
1686
|
-
},
|
|
1695
|
+
}, ta = ea(ra), na = {
|
|
1687
1696
|
MuiTab: {
|
|
1688
1697
|
styleOverrides: {
|
|
1689
1698
|
root: {
|
|
@@ -1904,7 +1913,7 @@ const Zo = (e) => ({
|
|
|
1904
1913
|
}
|
|
1905
1914
|
}
|
|
1906
1915
|
}
|
|
1907
|
-
},
|
|
1916
|
+
}, oa = {
|
|
1908
1917
|
primary: {
|
|
1909
1918
|
main: K.primary
|
|
1910
1919
|
},
|
|
@@ -1963,8 +1972,8 @@ const Zo = (e) => ({
|
|
|
1963
1972
|
};
|
|
1964
1973
|
let lt = no(
|
|
1965
1974
|
{
|
|
1966
|
-
palette:
|
|
1967
|
-
components:
|
|
1975
|
+
palette: oa,
|
|
1976
|
+
components: na,
|
|
1968
1977
|
typography: {
|
|
1969
1978
|
allVariants: {
|
|
1970
1979
|
color: K.black60
|
|
@@ -1972,8 +1981,8 @@ let lt = no(
|
|
|
1972
1981
|
fontFamily: "'Roboto Variable', sans-serif"
|
|
1973
1982
|
}
|
|
1974
1983
|
},
|
|
1975
|
-
|
|
1976
|
-
|
|
1984
|
+
Xo,
|
|
1985
|
+
ta
|
|
1977
1986
|
);
|
|
1978
1987
|
lt = oo(lt);
|
|
1979
1988
|
const _t = (e) => {
|
|
@@ -1986,8 +1995,8 @@ const _t = (e) => {
|
|
|
1986
1995
|
}
|
|
1987
1996
|
}, o = () => r, u = { setState: n, getState: o, getInitialState: () => f, subscribe: (g) => (t.add(g), () => t.delete(g)) }, f = r = e(n, o, u);
|
|
1988
1997
|
return u;
|
|
1989
|
-
},
|
|
1990
|
-
function
|
|
1998
|
+
}, aa = (e) => e ? _t(e) : _t, ia = (e) => e;
|
|
1999
|
+
function sa(e, r = ia) {
|
|
1991
2000
|
const t = tt.useSyncExternalStore(
|
|
1992
2001
|
e.subscribe,
|
|
1993
2002
|
() => r(e.getState()),
|
|
@@ -1996,7 +2005,7 @@ function aa(e, r = oa) {
|
|
|
1996
2005
|
return tt.useDebugValue(t), t;
|
|
1997
2006
|
}
|
|
1998
2007
|
const Rt = (e) => {
|
|
1999
|
-
const r =
|
|
2008
|
+
const r = aa(e), t = (n) => sa(r, n);
|
|
2000
2009
|
return Object.assign(t, r), t;
|
|
2001
2010
|
}, Rr = (e) => e ? Rt(e) : Rt, xr = Rr(
|
|
2002
2011
|
(e, r) => ({
|
|
@@ -2017,8 +2026,8 @@ const Rt = (e) => {
|
|
|
2017
2026
|
});
|
|
2018
2027
|
}
|
|
2019
2028
|
})
|
|
2020
|
-
),
|
|
2021
|
-
const t =
|
|
2029
|
+
), kn = xr, je = (e, r) => {
|
|
2030
|
+
const t = kn(
|
|
2022
2031
|
(s) => s.toolbar.includes(e) || s.cargando.includes(e)
|
|
2023
2032
|
), n = ye(
|
|
2024
2033
|
(s) => xr.getState().set(e, s, r),
|
|
@@ -2031,19 +2040,19 @@ const Rt = (e) => {
|
|
|
2031
2040
|
() => [t, { setCargando: n, toogleCargando: o }],
|
|
2032
2041
|
[t, n, o]
|
|
2033
2042
|
);
|
|
2034
|
-
},
|
|
2043
|
+
}, Te = Rr(() => ({
|
|
2035
2044
|
abierto: !0,
|
|
2036
2045
|
cargando: !0,
|
|
2037
2046
|
toolbar: !0,
|
|
2038
2047
|
inhabilitado: !1
|
|
2039
|
-
})), Be =
|
|
2040
|
-
inhabilitado: typeof e == "boolean" ? e : e(
|
|
2041
|
-
}),
|
|
2048
|
+
})), Be = Te, Pc = (e) => Te.setState({
|
|
2049
|
+
inhabilitado: typeof e == "boolean" ? e : e(Te.getState().inhabilitado)
|
|
2050
|
+
}), jc = (e, r) => Te.setState({ seleccion: { menu: e, submenu: r } }), ca = ({
|
|
2042
2051
|
subMenu: e,
|
|
2043
2052
|
menu: r,
|
|
2044
2053
|
LinkComponent: t
|
|
2045
2054
|
}) => {
|
|
2046
|
-
const [n, o] =
|
|
2055
|
+
const [n, o] = Tr(!1), a = Be(
|
|
2047
2056
|
({ seleccion: f }) => r === (f == null ? void 0 : f.menu) && (f == null ? void 0 : f.submenu) === e.id
|
|
2048
2057
|
), s = ye(
|
|
2049
2058
|
(f) => {
|
|
@@ -2064,7 +2073,7 @@ const Rt = (e) => {
|
|
|
2064
2073
|
sx: [{ px: 3 }],
|
|
2065
2074
|
...e.to ? { to: e.to } : {},
|
|
2066
2075
|
LinkComponent: t,
|
|
2067
|
-
onClick: () =>
|
|
2076
|
+
onClick: () => Te.setState({ seleccion: { menu: r, submenu: e.id } }),
|
|
2068
2077
|
children: [
|
|
2069
2078
|
u,
|
|
2070
2079
|
/* @__PURE__ */ d.jsx(
|
|
@@ -2090,12 +2099,12 @@ const Rt = (e) => {
|
|
|
2090
2099
|
sx: {
|
|
2091
2100
|
color: "primary.main"
|
|
2092
2101
|
}
|
|
2093
|
-
},
|
|
2102
|
+
}, la = ({
|
|
2094
2103
|
menu: e,
|
|
2095
2104
|
separar: r,
|
|
2096
2105
|
LinkComponent: t
|
|
2097
2106
|
}) => {
|
|
2098
|
-
const [n, o] =
|
|
2107
|
+
const [n, o] = Tr(!1), a = Be(
|
|
2099
2108
|
({ seleccion: f }) => (f == null ? void 0 : f.menu) === e.id
|
|
2100
2109
|
), s = ye(
|
|
2101
2110
|
(f) => {
|
|
@@ -2114,7 +2123,7 @@ const Rt = (e) => {
|
|
|
2114
2123
|
e.subMenus ? /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsxs("ul", { children: [
|
|
2115
2124
|
/* @__PURE__ */ d.jsx(nt, { children: e.nombre }),
|
|
2116
2125
|
e.subMenus.map((f) => /* @__PURE__ */ d.jsx(
|
|
2117
|
-
|
|
2126
|
+
ca,
|
|
2118
2127
|
{
|
|
2119
2128
|
subMenu: f,
|
|
2120
2129
|
menu: e.id,
|
|
@@ -2128,7 +2137,7 @@ const Rt = (e) => {
|
|
|
2128
2137
|
...Oe,
|
|
2129
2138
|
...e.to ? { to: e.to } : {},
|
|
2130
2139
|
LinkComponent: t,
|
|
2131
|
-
onClick: () =>
|
|
2140
|
+
onClick: () => Te.setState({ seleccion: { menu: e.id } }),
|
|
2132
2141
|
sx: [
|
|
2133
2142
|
{ px: 3 },
|
|
2134
2143
|
...Array.isArray(Oe == null ? void 0 : Oe.sx) ? Oe.sx : [Oe == null ? void 0 : Oe.sx]
|
|
@@ -2155,7 +2164,7 @@ const Rt = (e) => {
|
|
|
2155
2164
|
) }) }),
|
|
2156
2165
|
r && /* @__PURE__ */ d.jsx(vr, { sx: { my: 1 } })
|
|
2157
2166
|
] });
|
|
2158
|
-
},
|
|
2167
|
+
}, ua = ({
|
|
2159
2168
|
menus: e,
|
|
2160
2169
|
LinkComponent: r
|
|
2161
2170
|
}) => {
|
|
@@ -2299,7 +2308,7 @@ const Rt = (e) => {
|
|
|
2299
2308
|
] }) : e.map((a, s) => {
|
|
2300
2309
|
var u, f, g;
|
|
2301
2310
|
return /* @__PURE__ */ eo(
|
|
2302
|
-
|
|
2311
|
+
la,
|
|
2303
2312
|
{
|
|
2304
2313
|
...a,
|
|
2305
2314
|
key: `MENU_ITEM_DRAWER_${a.id}`,
|
|
@@ -2314,7 +2323,7 @@ const Rt = (e) => {
|
|
|
2314
2323
|
]
|
|
2315
2324
|
}
|
|
2316
2325
|
);
|
|
2317
|
-
},
|
|
2326
|
+
}, da = () => {
|
|
2318
2327
|
const e = Be((r) => r.abierto);
|
|
2319
2328
|
return /* @__PURE__ */ d.jsx(
|
|
2320
2329
|
le,
|
|
@@ -2336,7 +2345,7 @@ const Rt = (e) => {
|
|
|
2336
2345
|
}
|
|
2337
2346
|
}
|
|
2338
2347
|
);
|
|
2339
|
-
},
|
|
2348
|
+
}, fa = ({ link: e, nombre: r, icono: t }) => /* @__PURE__ */ d.jsxs(
|
|
2340
2349
|
sr,
|
|
2341
2350
|
{
|
|
2342
2351
|
component: pn,
|
|
@@ -2359,11 +2368,11 @@ const Rt = (e) => {
|
|
|
2359
2368
|
}
|
|
2360
2369
|
},
|
|
2361
2370
|
children: [
|
|
2362
|
-
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(
|
|
2371
|
+
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(bc, { children: t }) }),
|
|
2363
2372
|
/* @__PURE__ */ d.jsx(sr, { children: /* @__PURE__ */ d.jsx(xe, { fontSize: 12, fontWeight: 500, align: "center", color: "inherit", children: r }) })
|
|
2364
2373
|
]
|
|
2365
2374
|
}
|
|
2366
|
-
),
|
|
2375
|
+
), pa = ({ apps: e }) => /* @__PURE__ */ d.jsx(
|
|
2367
2376
|
so,
|
|
2368
2377
|
{
|
|
2369
2378
|
elevation: 0,
|
|
@@ -2381,12 +2390,12 @@ const Rt = (e) => {
|
|
|
2381
2390
|
alignItems: "center",
|
|
2382
2391
|
justifyContent: "center",
|
|
2383
2392
|
display: "flex",
|
|
2384
|
-
children: /* @__PURE__ */ d.jsx(
|
|
2393
|
+
children: /* @__PURE__ */ d.jsx(fa, { ...t })
|
|
2385
2394
|
},
|
|
2386
2395
|
`CARD_APPS_TOOLBAR__APP__${r}`
|
|
2387
2396
|
)) })
|
|
2388
2397
|
}
|
|
2389
|
-
), Ot = (e) => e,
|
|
2398
|
+
), Ot = (e) => e, ma = () => {
|
|
2390
2399
|
let e = Ot;
|
|
2391
2400
|
return {
|
|
2392
2401
|
configure(r) {
|
|
@@ -2399,7 +2408,7 @@ const Rt = (e) => {
|
|
|
2399
2408
|
e = Ot;
|
|
2400
2409
|
}
|
|
2401
2410
|
};
|
|
2402
|
-
},
|
|
2411
|
+
}, ha = ma();
|
|
2403
2412
|
function Fe(e, ...r) {
|
|
2404
2413
|
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
2405
2414
|
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|
|
@@ -2419,10 +2428,10 @@ var mr = { exports: {} }, hr = { exports: {} }, G = {};
|
|
|
2419
2428
|
* LICENSE file in the root directory of this source tree.
|
|
2420
2429
|
*/
|
|
2421
2430
|
var It;
|
|
2422
|
-
function
|
|
2431
|
+
function ga() {
|
|
2423
2432
|
if (It) return G;
|
|
2424
2433
|
It = 1;
|
|
2425
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121,
|
|
2434
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
2426
2435
|
function B(_) {
|
|
2427
2436
|
if (typeof _ == "object" && _ !== null) {
|
|
2428
2437
|
var L = _.$$typeof;
|
|
@@ -2481,7 +2490,7 @@ function ma() {
|
|
|
2481
2490
|
}, G.isSuspense = function(_) {
|
|
2482
2491
|
return B(_) === E;
|
|
2483
2492
|
}, G.isValidElementType = function(_) {
|
|
2484
|
-
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === g || _ === a || _ === o || _ === E || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === C || _.$$typeof === h || _.$$typeof === s || _.$$typeof === u || _.$$typeof === x || _.$$typeof ===
|
|
2493
|
+
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === g || _ === a || _ === o || _ === E || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === C || _.$$typeof === h || _.$$typeof === s || _.$$typeof === u || _.$$typeof === x || _.$$typeof === k || _.$$typeof === U || _.$$typeof === V || _.$$typeof === p);
|
|
2485
2494
|
}, G.typeOf = B, G;
|
|
2486
2495
|
}
|
|
2487
2496
|
var Y = {};
|
|
@@ -2494,12 +2503,12 @@ var Y = {};
|
|
|
2494
2503
|
* LICENSE file in the root directory of this source tree.
|
|
2495
2504
|
*/
|
|
2496
2505
|
var Pt;
|
|
2497
|
-
function
|
|
2506
|
+
function ya() {
|
|
2498
2507
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
2499
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121,
|
|
2508
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, x = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, U = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
2500
2509
|
function B(I) {
|
|
2501
2510
|
return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2502
|
-
I === n || I === g || I === a || I === o || I === E || I === w || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === h || I.$$typeof === s || I.$$typeof === u || I.$$typeof === x || I.$$typeof ===
|
|
2511
|
+
I === n || I === g || I === a || I === o || I === E || I === w || typeof I == "object" && I !== null && (I.$$typeof === C || I.$$typeof === h || I.$$typeof === s || I.$$typeof === u || I.$$typeof === x || I.$$typeof === k || I.$$typeof === U || I.$$typeof === V || I.$$typeof === p);
|
|
2503
2512
|
}
|
|
2504
2513
|
function $(I) {
|
|
2505
2514
|
if (typeof I == "object" && I !== null) {
|
|
@@ -2533,7 +2542,7 @@ function ha() {
|
|
|
2533
2542
|
}
|
|
2534
2543
|
}
|
|
2535
2544
|
}
|
|
2536
|
-
var _ = f, L = g, W = u, F = s, X = r, se = x, H = n, l = C, M = h, O = t,
|
|
2545
|
+
var _ = f, L = g, W = u, F = s, X = r, se = x, H = n, l = C, M = h, O = t, N = a, D = o, J = E, ne = !1;
|
|
2537
2546
|
function ue(I) {
|
|
2538
2547
|
return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(I) || $(I) === f;
|
|
2539
2548
|
}
|
|
@@ -2552,7 +2561,7 @@ function ha() {
|
|
|
2552
2561
|
function v(I) {
|
|
2553
2562
|
return $(I) === x;
|
|
2554
2563
|
}
|
|
2555
|
-
function
|
|
2564
|
+
function T(I) {
|
|
2556
2565
|
return $(I) === n;
|
|
2557
2566
|
}
|
|
2558
2567
|
function b(I) {
|
|
@@ -2573,12 +2582,12 @@ function ha() {
|
|
|
2573
2582
|
function z(I) {
|
|
2574
2583
|
return $(I) === E;
|
|
2575
2584
|
}
|
|
2576
|
-
Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler =
|
|
2585
|
+
Y.AsyncMode = _, Y.ConcurrentMode = L, Y.ContextConsumer = W, Y.ContextProvider = F, Y.Element = X, Y.ForwardRef = se, Y.Fragment = H, Y.Lazy = l, Y.Memo = M, Y.Portal = O, Y.Profiler = N, Y.StrictMode = D, Y.Suspense = J, Y.isAsyncMode = ue, Y.isConcurrentMode = i, Y.isContextConsumer = c, Y.isContextProvider = y, Y.isElement = A, Y.isForwardRef = v, Y.isFragment = T, Y.isLazy = b, Y.isMemo = m, Y.isPortal = R, Y.isProfiler = j, Y.isStrictMode = P, Y.isSuspense = z, Y.isValidElementType = B, Y.typeOf = $;
|
|
2577
2586
|
})()), Y;
|
|
2578
2587
|
}
|
|
2579
2588
|
var jt;
|
|
2580
|
-
function
|
|
2581
|
-
return jt || (jt = 1, process.env.NODE_ENV === "production" ? hr.exports =
|
|
2589
|
+
function Tn() {
|
|
2590
|
+
return jt || (jt = 1, process.env.NODE_ENV === "production" ? hr.exports = ga() : hr.exports = ya()), hr.exports;
|
|
2582
2591
|
}
|
|
2583
2592
|
/*
|
|
2584
2593
|
object-assign
|
|
@@ -2586,7 +2595,7 @@ object-assign
|
|
|
2586
2595
|
@license MIT
|
|
2587
2596
|
*/
|
|
2588
2597
|
var Hr, $t;
|
|
2589
|
-
function
|
|
2598
|
+
function ba() {
|
|
2590
2599
|
if ($t) return Hr;
|
|
2591
2600
|
$t = 1;
|
|
2592
2601
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
@@ -2642,10 +2651,10 @@ var Qr, Lt;
|
|
|
2642
2651
|
function _n() {
|
|
2643
2652
|
return Lt || (Lt = 1, Qr = Function.call.bind(Object.prototype.hasOwnProperty)), Qr;
|
|
2644
2653
|
}
|
|
2645
|
-
var Jr,
|
|
2646
|
-
function
|
|
2647
|
-
if (
|
|
2648
|
-
|
|
2654
|
+
var Jr, Ut;
|
|
2655
|
+
function Aa() {
|
|
2656
|
+
if (Ut) return Jr;
|
|
2657
|
+
Ut = 1;
|
|
2649
2658
|
var e = function() {
|
|
2650
2659
|
};
|
|
2651
2660
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2691,11 +2700,11 @@ function ya() {
|
|
|
2691
2700
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
2692
2701
|
}, Jr = o, Jr;
|
|
2693
2702
|
}
|
|
2694
|
-
var Gr,
|
|
2695
|
-
function
|
|
2696
|
-
if (
|
|
2697
|
-
|
|
2698
|
-
var e =
|
|
2703
|
+
var Gr, Nt;
|
|
2704
|
+
function va() {
|
|
2705
|
+
if (Nt) return Gr;
|
|
2706
|
+
Nt = 1;
|
|
2707
|
+
var e = Tn(), r = ba(), t = /* @__PURE__ */ yt(), n = /* @__PURE__ */ _n(), o = /* @__PURE__ */ Aa(), a = function() {
|
|
2699
2708
|
};
|
|
2700
2709
|
process.env.NODE_ENV !== "production" && (a = function(u) {
|
|
2701
2710
|
var f = "Warning: " + u;
|
|
@@ -2716,14 +2725,14 @@ function ba() {
|
|
|
2716
2725
|
return c;
|
|
2717
2726
|
}
|
|
2718
2727
|
var w = "<<anonymous>>", h = {
|
|
2719
|
-
array:
|
|
2720
|
-
bigint:
|
|
2721
|
-
bool:
|
|
2722
|
-
func:
|
|
2723
|
-
number:
|
|
2724
|
-
object:
|
|
2725
|
-
string:
|
|
2726
|
-
symbol:
|
|
2728
|
+
array: U("array"),
|
|
2729
|
+
bigint: U("bigint"),
|
|
2730
|
+
bool: U("boolean"),
|
|
2731
|
+
func: U("function"),
|
|
2732
|
+
number: U("number"),
|
|
2733
|
+
object: U("object"),
|
|
2734
|
+
string: U("string"),
|
|
2735
|
+
symbol: U("symbol"),
|
|
2727
2736
|
any: V(),
|
|
2728
2737
|
arrayOf: B,
|
|
2729
2738
|
element: $(),
|
|
@@ -2743,10 +2752,10 @@ function ba() {
|
|
|
2743
2752
|
this.message = i, this.data = c && typeof c == "object" ? c : {}, this.stack = "";
|
|
2744
2753
|
}
|
|
2745
2754
|
p.prototype = Error.prototype;
|
|
2746
|
-
function
|
|
2755
|
+
function k(i) {
|
|
2747
2756
|
if (process.env.NODE_ENV !== "production")
|
|
2748
2757
|
var c = {}, y = 0;
|
|
2749
|
-
function A(
|
|
2758
|
+
function A(T, b, m, R, j, P, z) {
|
|
2750
2759
|
if (R = R || w, P = P || m, z !== t) {
|
|
2751
2760
|
if (f) {
|
|
2752
2761
|
var I = new Error(
|
|
@@ -2761,84 +2770,84 @@ function ba() {
|
|
|
2761
2770
|
), c[ce] = !0, y++);
|
|
2762
2771
|
}
|
|
2763
2772
|
}
|
|
2764
|
-
return b[m] == null ?
|
|
2773
|
+
return b[m] == null ? T ? b[m] === null ? new p("The " + j + " `" + P + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new p("The " + j + " `" + P + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : i(b, m, R, j, P);
|
|
2765
2774
|
}
|
|
2766
2775
|
var v = A.bind(null, !1);
|
|
2767
2776
|
return v.isRequired = A.bind(null, !0), v;
|
|
2768
2777
|
}
|
|
2769
|
-
function
|
|
2770
|
-
function c(y, A, v,
|
|
2778
|
+
function U(i) {
|
|
2779
|
+
function c(y, A, v, T, b, m) {
|
|
2771
2780
|
var R = y[A], j = D(R);
|
|
2772
2781
|
if (j !== i) {
|
|
2773
2782
|
var P = J(R);
|
|
2774
2783
|
return new p(
|
|
2775
|
-
"Invalid " +
|
|
2784
|
+
"Invalid " + T + " `" + b + "` of type " + ("`" + P + "` supplied to `" + v + "`, expected ") + ("`" + i + "`."),
|
|
2776
2785
|
{ expectedType: i }
|
|
2777
2786
|
);
|
|
2778
2787
|
}
|
|
2779
2788
|
return null;
|
|
2780
2789
|
}
|
|
2781
|
-
return
|
|
2790
|
+
return k(c);
|
|
2782
2791
|
}
|
|
2783
2792
|
function V() {
|
|
2784
|
-
return
|
|
2793
|
+
return k(s);
|
|
2785
2794
|
}
|
|
2786
2795
|
function B(i) {
|
|
2787
|
-
function c(y, A, v,
|
|
2796
|
+
function c(y, A, v, T, b) {
|
|
2788
2797
|
if (typeof i != "function")
|
|
2789
2798
|
return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
|
|
2790
2799
|
var m = y[A];
|
|
2791
2800
|
if (!Array.isArray(m)) {
|
|
2792
2801
|
var R = D(m);
|
|
2793
|
-
return new p("Invalid " +
|
|
2802
|
+
return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an array."));
|
|
2794
2803
|
}
|
|
2795
2804
|
for (var j = 0; j < m.length; j++) {
|
|
2796
|
-
var P = i(m, j, v,
|
|
2805
|
+
var P = i(m, j, v, T, b + "[" + j + "]", t);
|
|
2797
2806
|
if (P instanceof Error)
|
|
2798
2807
|
return P;
|
|
2799
2808
|
}
|
|
2800
2809
|
return null;
|
|
2801
2810
|
}
|
|
2802
|
-
return
|
|
2811
|
+
return k(c);
|
|
2803
2812
|
}
|
|
2804
2813
|
function $() {
|
|
2805
|
-
function i(c, y, A, v,
|
|
2814
|
+
function i(c, y, A, v, T) {
|
|
2806
2815
|
var b = c[y];
|
|
2807
2816
|
if (!u(b)) {
|
|
2808
2817
|
var m = D(b);
|
|
2809
|
-
return new p("Invalid " + v + " `" +
|
|
2818
|
+
return new p("Invalid " + v + " `" + T + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement."));
|
|
2810
2819
|
}
|
|
2811
2820
|
return null;
|
|
2812
2821
|
}
|
|
2813
|
-
return
|
|
2822
|
+
return k(i);
|
|
2814
2823
|
}
|
|
2815
2824
|
function _() {
|
|
2816
|
-
function i(c, y, A, v,
|
|
2825
|
+
function i(c, y, A, v, T) {
|
|
2817
2826
|
var b = c[y];
|
|
2818
2827
|
if (!e.isValidElementType(b)) {
|
|
2819
2828
|
var m = D(b);
|
|
2820
|
-
return new p("Invalid " + v + " `" +
|
|
2829
|
+
return new p("Invalid " + v + " `" + T + "` of type " + ("`" + m + "` supplied to `" + A + "`, expected a single ReactElement type."));
|
|
2821
2830
|
}
|
|
2822
2831
|
return null;
|
|
2823
2832
|
}
|
|
2824
|
-
return
|
|
2833
|
+
return k(i);
|
|
2825
2834
|
}
|
|
2826
2835
|
function L(i) {
|
|
2827
|
-
function c(y, A, v,
|
|
2836
|
+
function c(y, A, v, T, b) {
|
|
2828
2837
|
if (!(y[A] instanceof i)) {
|
|
2829
2838
|
var m = i.name || w, R = ue(y[A]);
|
|
2830
|
-
return new p("Invalid " +
|
|
2839
|
+
return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected ") + ("instance of `" + m + "`."));
|
|
2831
2840
|
}
|
|
2832
2841
|
return null;
|
|
2833
2842
|
}
|
|
2834
|
-
return
|
|
2843
|
+
return k(c);
|
|
2835
2844
|
}
|
|
2836
2845
|
function W(i) {
|
|
2837
2846
|
if (!Array.isArray(i))
|
|
2838
2847
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
2839
2848
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2840
2849
|
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
2841
|
-
function c(y, A, v,
|
|
2850
|
+
function c(y, A, v, T, b) {
|
|
2842
2851
|
for (var m = y[A], R = 0; R < i.length; R++)
|
|
2843
2852
|
if (C(m, i[R]))
|
|
2844
2853
|
return null;
|
|
@@ -2846,26 +2855,26 @@ function ba() {
|
|
|
2846
2855
|
var ce = J(I);
|
|
2847
2856
|
return ce === "symbol" ? String(I) : I;
|
|
2848
2857
|
});
|
|
2849
|
-
return new p("Invalid " +
|
|
2858
|
+
return new p("Invalid " + T + " `" + b + "` of value `" + String(m) + "` " + ("supplied to `" + v + "`, expected one of " + j + "."));
|
|
2850
2859
|
}
|
|
2851
|
-
return
|
|
2860
|
+
return k(c);
|
|
2852
2861
|
}
|
|
2853
2862
|
function F(i) {
|
|
2854
|
-
function c(y, A, v,
|
|
2863
|
+
function c(y, A, v, T, b) {
|
|
2855
2864
|
if (typeof i != "function")
|
|
2856
2865
|
return new p("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
|
|
2857
2866
|
var m = y[A], R = D(m);
|
|
2858
2867
|
if (R !== "object")
|
|
2859
|
-
return new p("Invalid " +
|
|
2868
|
+
return new p("Invalid " + T + " `" + b + "` of type " + ("`" + R + "` supplied to `" + v + "`, expected an object."));
|
|
2860
2869
|
for (var j in m)
|
|
2861
2870
|
if (n(m, j)) {
|
|
2862
|
-
var P = i(m, j, v,
|
|
2871
|
+
var P = i(m, j, v, T, b + "." + j, t);
|
|
2863
2872
|
if (P instanceof Error)
|
|
2864
2873
|
return P;
|
|
2865
2874
|
}
|
|
2866
2875
|
return null;
|
|
2867
2876
|
}
|
|
2868
|
-
return
|
|
2877
|
+
return k(c);
|
|
2869
2878
|
}
|
|
2870
2879
|
function X(i) {
|
|
2871
2880
|
if (!Array.isArray(i))
|
|
@@ -2877,9 +2886,9 @@ function ba() {
|
|
|
2877
2886
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(y) + " at index " + c + "."
|
|
2878
2887
|
), s;
|
|
2879
2888
|
}
|
|
2880
|
-
function A(v,
|
|
2889
|
+
function A(v, T, b, m, R) {
|
|
2881
2890
|
for (var j = [], P = 0; P < i.length; P++) {
|
|
2882
|
-
var z = i[P], I = z(v,
|
|
2891
|
+
var z = i[P], I = z(v, T, b, m, R, t);
|
|
2883
2892
|
if (I == null)
|
|
2884
2893
|
return null;
|
|
2885
2894
|
I.data && n(I.data, "expectedType") && j.push(I.data.expectedType);
|
|
@@ -2887,13 +2896,13 @@ function ba() {
|
|
|
2887
2896
|
var ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
2888
2897
|
return new p("Invalid " + m + " `" + R + "` supplied to " + ("`" + b + "`" + ce + "."));
|
|
2889
2898
|
}
|
|
2890
|
-
return
|
|
2899
|
+
return k(A);
|
|
2891
2900
|
}
|
|
2892
2901
|
function se() {
|
|
2893
|
-
function i(c, y, A, v,
|
|
2894
|
-
return O(c[y]) ? null : new p("Invalid " + v + " `" +
|
|
2902
|
+
function i(c, y, A, v, T) {
|
|
2903
|
+
return O(c[y]) ? null : new p("Invalid " + v + " `" + T + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
|
|
2895
2904
|
}
|
|
2896
|
-
return
|
|
2905
|
+
return k(i);
|
|
2897
2906
|
}
|
|
2898
2907
|
function H(i, c, y, A, v) {
|
|
2899
2908
|
return new p(
|
|
@@ -2901,44 +2910,44 @@ function ba() {
|
|
|
2901
2910
|
);
|
|
2902
2911
|
}
|
|
2903
2912
|
function l(i) {
|
|
2904
|
-
function c(y, A, v,
|
|
2913
|
+
function c(y, A, v, T, b) {
|
|
2905
2914
|
var m = y[A], R = D(m);
|
|
2906
2915
|
if (R !== "object")
|
|
2907
|
-
return new p("Invalid " +
|
|
2916
|
+
return new p("Invalid " + T + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2908
2917
|
for (var j in i) {
|
|
2909
2918
|
var P = i[j];
|
|
2910
2919
|
if (typeof P != "function")
|
|
2911
|
-
return H(v,
|
|
2912
|
-
var z = P(m, j, v,
|
|
2920
|
+
return H(v, T, b, j, J(P));
|
|
2921
|
+
var z = P(m, j, v, T, b + "." + j, t);
|
|
2913
2922
|
if (z)
|
|
2914
2923
|
return z;
|
|
2915
2924
|
}
|
|
2916
2925
|
return null;
|
|
2917
2926
|
}
|
|
2918
|
-
return
|
|
2927
|
+
return k(c);
|
|
2919
2928
|
}
|
|
2920
2929
|
function M(i) {
|
|
2921
|
-
function c(y, A, v,
|
|
2930
|
+
function c(y, A, v, T, b) {
|
|
2922
2931
|
var m = y[A], R = D(m);
|
|
2923
2932
|
if (R !== "object")
|
|
2924
|
-
return new p("Invalid " +
|
|
2933
|
+
return new p("Invalid " + T + " `" + b + "` of type `" + R + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2925
2934
|
var j = r({}, y[A], i);
|
|
2926
2935
|
for (var P in j) {
|
|
2927
2936
|
var z = i[P];
|
|
2928
2937
|
if (n(i, P) && typeof z != "function")
|
|
2929
|
-
return H(v,
|
|
2938
|
+
return H(v, T, b, P, J(z));
|
|
2930
2939
|
if (!z)
|
|
2931
2940
|
return new p(
|
|
2932
|
-
"Invalid " +
|
|
2941
|
+
"Invalid " + T + " `" + b + "` key `" + P + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(y[A], null, " ") + `
|
|
2933
2942
|
Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
2934
2943
|
);
|
|
2935
|
-
var I = z(m, P, v,
|
|
2944
|
+
var I = z(m, P, v, T, b + "." + P, t);
|
|
2936
2945
|
if (I)
|
|
2937
2946
|
return I;
|
|
2938
2947
|
}
|
|
2939
2948
|
return null;
|
|
2940
2949
|
}
|
|
2941
|
-
return
|
|
2950
|
+
return k(c);
|
|
2942
2951
|
}
|
|
2943
2952
|
function O(i) {
|
|
2944
2953
|
switch (typeof i) {
|
|
@@ -2973,12 +2982,12 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
2973
2982
|
return !1;
|
|
2974
2983
|
}
|
|
2975
2984
|
}
|
|
2976
|
-
function
|
|
2985
|
+
function N(i, c) {
|
|
2977
2986
|
return i === "symbol" ? !0 : c ? c["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && c instanceof Symbol : !1;
|
|
2978
2987
|
}
|
|
2979
2988
|
function D(i) {
|
|
2980
2989
|
var c = typeof i;
|
|
2981
|
-
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" :
|
|
2990
|
+
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : N(c, i) ? "symbol" : c;
|
|
2982
2991
|
}
|
|
2983
2992
|
function J(i) {
|
|
2984
2993
|
if (typeof i > "u" || i === null)
|
|
@@ -3013,7 +3022,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
3013
3022
|
}, Gr;
|
|
3014
3023
|
}
|
|
3015
3024
|
var Yr, Dt;
|
|
3016
|
-
function
|
|
3025
|
+
function Sa() {
|
|
3017
3026
|
if (Dt) return Yr;
|
|
3018
3027
|
Dt = 1;
|
|
3019
3028
|
var e = /* @__PURE__ */ yt();
|
|
@@ -3061,17 +3070,17 @@ function Aa() {
|
|
|
3061
3070
|
}, Yr;
|
|
3062
3071
|
}
|
|
3063
3072
|
var Bt;
|
|
3064
|
-
function
|
|
3073
|
+
function xa() {
|
|
3065
3074
|
if (Bt) return mr.exports;
|
|
3066
3075
|
if (Bt = 1, process.env.NODE_ENV !== "production") {
|
|
3067
|
-
var e =
|
|
3068
|
-
mr.exports = /* @__PURE__ */
|
|
3076
|
+
var e = Tn(), r = !0;
|
|
3077
|
+
mr.exports = /* @__PURE__ */ va()(e.isElement, r);
|
|
3069
3078
|
} else
|
|
3070
|
-
mr.exports = /* @__PURE__ */
|
|
3079
|
+
mr.exports = /* @__PURE__ */ Sa()();
|
|
3071
3080
|
return mr.exports;
|
|
3072
3081
|
}
|
|
3073
|
-
var
|
|
3074
|
-
const Q = /* @__PURE__ */
|
|
3082
|
+
var wa = /* @__PURE__ */ xa();
|
|
3083
|
+
const Q = /* @__PURE__ */ Bo(wa);
|
|
3075
3084
|
function Rn(e) {
|
|
3076
3085
|
var r, t, n = "";
|
|
3077
3086
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -3085,7 +3094,7 @@ function On() {
|
|
|
3085
3094
|
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Rn(e)) && (n && (n += " "), n += r);
|
|
3086
3095
|
return n;
|
|
3087
3096
|
}
|
|
3088
|
-
function
|
|
3097
|
+
function Ea(e, r, t = void 0) {
|
|
3089
3098
|
const n = {};
|
|
3090
3099
|
for (const o in e) {
|
|
3091
3100
|
const a = e[o];
|
|
@@ -3109,14 +3118,14 @@ var gr = { exports: {} }, ee = {};
|
|
|
3109
3118
|
* LICENSE file in the root directory of this source tree.
|
|
3110
3119
|
*/
|
|
3111
3120
|
var Vt;
|
|
3112
|
-
function
|
|
3121
|
+
function Ca() {
|
|
3113
3122
|
if (Vt) return ee;
|
|
3114
3123
|
Vt = 1;
|
|
3115
3124
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
|
|
3116
3125
|
function C(p) {
|
|
3117
3126
|
if (typeof p == "object" && p !== null) {
|
|
3118
|
-
var
|
|
3119
|
-
switch (
|
|
3127
|
+
var k = p.$$typeof;
|
|
3128
|
+
switch (k) {
|
|
3120
3129
|
case e:
|
|
3121
3130
|
switch (p = p.type, p) {
|
|
3122
3131
|
case t:
|
|
@@ -3136,11 +3145,11 @@ function wa() {
|
|
|
3136
3145
|
case a:
|
|
3137
3146
|
return p;
|
|
3138
3147
|
default:
|
|
3139
|
-
return
|
|
3148
|
+
return k;
|
|
3140
3149
|
}
|
|
3141
3150
|
}
|
|
3142
3151
|
case r:
|
|
3143
|
-
return
|
|
3152
|
+
return k;
|
|
3144
3153
|
}
|
|
3145
3154
|
}
|
|
3146
3155
|
}
|
|
@@ -3183,12 +3192,12 @@ var re = {};
|
|
|
3183
3192
|
* LICENSE file in the root directory of this source tree.
|
|
3184
3193
|
*/
|
|
3185
3194
|
var Ft;
|
|
3186
|
-
function
|
|
3195
|
+
function ka() {
|
|
3187
3196
|
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3188
3197
|
function e(p) {
|
|
3189
3198
|
if (typeof p == "object" && p !== null) {
|
|
3190
|
-
var
|
|
3191
|
-
switch (
|
|
3199
|
+
var k = p.$$typeof;
|
|
3200
|
+
switch (k) {
|
|
3192
3201
|
case r:
|
|
3193
3202
|
switch (p = p.type, p) {
|
|
3194
3203
|
case n:
|
|
@@ -3208,11 +3217,11 @@ function Ea() {
|
|
|
3208
3217
|
case s:
|
|
3209
3218
|
return p;
|
|
3210
3219
|
default:
|
|
3211
|
-
return
|
|
3220
|
+
return k;
|
|
3212
3221
|
}
|
|
3213
3222
|
}
|
|
3214
3223
|
case t:
|
|
3215
|
-
return
|
|
3224
|
+
return k;
|
|
3216
3225
|
}
|
|
3217
3226
|
}
|
|
3218
3227
|
}
|
|
@@ -3247,18 +3256,18 @@ function Ea() {
|
|
|
3247
3256
|
})()), re;
|
|
3248
3257
|
}
|
|
3249
3258
|
var zt;
|
|
3250
|
-
function
|
|
3251
|
-
return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */
|
|
3259
|
+
function Ta() {
|
|
3260
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? gr.exports = /* @__PURE__ */ Ca() : gr.exports = /* @__PURE__ */ ka()), gr.exports;
|
|
3252
3261
|
}
|
|
3253
|
-
var wr = /* @__PURE__ */
|
|
3254
|
-
function
|
|
3262
|
+
var wr = /* @__PURE__ */ Ta();
|
|
3263
|
+
function ke(e) {
|
|
3255
3264
|
if (typeof e != "object" || e === null)
|
|
3256
3265
|
return !1;
|
|
3257
3266
|
const r = Object.getPrototypeOf(e);
|
|
3258
3267
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
3259
3268
|
}
|
|
3260
3269
|
function In(e) {
|
|
3261
|
-
if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !
|
|
3270
|
+
if (/* @__PURE__ */ $e.isValidElement(e) || wr.isValidElementType(e) || !ke(e))
|
|
3262
3271
|
return e;
|
|
3263
3272
|
const r = {};
|
|
3264
3273
|
return Object.keys(e).forEach((t) => {
|
|
@@ -3271,9 +3280,9 @@ function me(e, r, t = {
|
|
|
3271
3280
|
const n = t.clone ? {
|
|
3272
3281
|
...e
|
|
3273
3282
|
} : e;
|
|
3274
|
-
return
|
|
3275
|
-
/* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] :
|
|
3276
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
3283
|
+
return ke(e) && ke(r) && Object.keys(r).forEach((o) => {
|
|
3284
|
+
/* @__PURE__ */ $e.isValidElement(r[o]) || wr.isValidElementType(r[o]) ? n[o] = r[o] : ke(r[o]) && // Avoid prototype pollution
|
|
3285
|
+
Object.prototype.hasOwnProperty.call(e, o) && ke(e[o]) ? n[o] = me(e[o], r[o], t) : t.clone ? n[o] = ke(r[o]) ? In(r[o]) : r[o] : n[o] = r[o];
|
|
3277
3286
|
}), n;
|
|
3278
3287
|
}
|
|
3279
3288
|
function lr(e, r) {
|
|
@@ -3298,10 +3307,10 @@ function Wt(e, r) {
|
|
|
3298
3307
|
...r
|
|
3299
3308
|
}) : r;
|
|
3300
3309
|
}
|
|
3301
|
-
function
|
|
3310
|
+
function _a(e, r) {
|
|
3302
3311
|
return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
|
|
3303
3312
|
}
|
|
3304
|
-
function
|
|
3313
|
+
function Ra(e, r) {
|
|
3305
3314
|
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
3306
3315
|
if (!t) {
|
|
3307
3316
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -3315,7 +3324,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
|
3315
3324
|
const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
3316
3325
|
return e.containerQueries(o).up(a);
|
|
3317
3326
|
}
|
|
3318
|
-
function
|
|
3327
|
+
function Oa(e) {
|
|
3319
3328
|
const r = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
|
|
3320
3329
|
function t(a, s) {
|
|
3321
3330
|
a.up = (...u) => r(e.breakpoints.up(...u), s), a.down = (...u) => r(e.breakpoints.down(...u), s), a.between = (...u) => r(e.breakpoints.between(...u), s), a.only = (...u) => r(e.breakpoints.only(...u), s), a.not = (...u) => {
|
|
@@ -3345,7 +3354,7 @@ const Or = {
|
|
|
3345
3354
|
// It can't be configured as it's used statically for propTypes.
|
|
3346
3355
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
3347
3356
|
up: (e) => `@media (min-width:${Or[e]}px)`
|
|
3348
|
-
},
|
|
3357
|
+
}, Ia = {
|
|
3349
3358
|
containerQueries: (e) => ({
|
|
3350
3359
|
up: (r) => {
|
|
3351
3360
|
let t = typeof r == "number" ? r : Or[r] || r;
|
|
@@ -3362,8 +3371,8 @@ function _e(e, r, t) {
|
|
|
3362
3371
|
if (typeof r == "object") {
|
|
3363
3372
|
const a = n.breakpoints || Ht;
|
|
3364
3373
|
return Object.keys(r).reduce((s, u) => {
|
|
3365
|
-
if (
|
|
3366
|
-
const f =
|
|
3374
|
+
if (_a(a.keys, u)) {
|
|
3375
|
+
const f = Ra(n.containerQueries ? n : Ia, u);
|
|
3367
3376
|
f && (s[f] = t(r[u], u));
|
|
3368
3377
|
} else if (Object.keys(a.values || Or).includes(u)) {
|
|
3369
3378
|
const f = a.up(u);
|
|
@@ -3377,7 +3386,7 @@ function _e(e, r, t) {
|
|
|
3377
3386
|
}
|
|
3378
3387
|
return t(r);
|
|
3379
3388
|
}
|
|
3380
|
-
function
|
|
3389
|
+
function Pa(e = {}) {
|
|
3381
3390
|
var t;
|
|
3382
3391
|
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
3383
3392
|
const a = e.up(o);
|
|
@@ -3425,14 +3434,14 @@ function ie(e) {
|
|
|
3425
3434
|
[r]: Le
|
|
3426
3435
|
} : {}, a.filterProps = [r], a;
|
|
3427
3436
|
}
|
|
3428
|
-
function
|
|
3437
|
+
function ja(e) {
|
|
3429
3438
|
const r = {};
|
|
3430
3439
|
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
3431
3440
|
}
|
|
3432
|
-
const
|
|
3441
|
+
const $a = {
|
|
3433
3442
|
m: "margin",
|
|
3434
3443
|
p: "padding"
|
|
3435
|
-
},
|
|
3444
|
+
}, Ma = {
|
|
3436
3445
|
t: "Top",
|
|
3437
3446
|
r: "Right",
|
|
3438
3447
|
b: "Bottom",
|
|
@@ -3444,15 +3453,15 @@ const Pa = {
|
|
|
3444
3453
|
marginY: "my",
|
|
3445
3454
|
paddingX: "px",
|
|
3446
3455
|
paddingY: "py"
|
|
3447
|
-
},
|
|
3456
|
+
}, La = ja((e) => {
|
|
3448
3457
|
if (e.length > 2)
|
|
3449
3458
|
if (Qt[e])
|
|
3450
3459
|
e = Qt[e];
|
|
3451
3460
|
else
|
|
3452
3461
|
return [e];
|
|
3453
|
-
const [r, t] = e.split(""), n =
|
|
3462
|
+
const [r, t] = e.split(""), n = $a[r], o = Ma[t] || "";
|
|
3454
3463
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
3455
|
-
}), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
3464
|
+
}), Pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], jr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ua = [...Pr, ...jr];
|
|
3456
3465
|
function dr(e, r, t, n) {
|
|
3457
3466
|
const o = Ir(e, r, !0) ?? t;
|
|
3458
3467
|
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
@@ -3474,18 +3483,18 @@ function bt(e) {
|
|
|
3474
3483
|
function fr(e, r) {
|
|
3475
3484
|
return typeof r == "string" || r == null ? r : e(r);
|
|
3476
3485
|
}
|
|
3477
|
-
function
|
|
3486
|
+
function Na(e, r) {
|
|
3478
3487
|
return (t) => e.reduce((n, o) => (n[o] = fr(r, t), n), {});
|
|
3479
3488
|
}
|
|
3480
|
-
function
|
|
3489
|
+
function Da(e, r, t, n) {
|
|
3481
3490
|
if (!r.includes(t))
|
|
3482
3491
|
return null;
|
|
3483
|
-
const o =
|
|
3492
|
+
const o = La(t), a = Na(o, n), s = e[t];
|
|
3484
3493
|
return _e(e, s, a);
|
|
3485
3494
|
}
|
|
3486
3495
|
function Pn(e, r) {
|
|
3487
3496
|
const t = bt(e.theme);
|
|
3488
|
-
return Object.keys(e).map((n) =>
|
|
3497
|
+
return Object.keys(e).map((n) => Da(e, r, n, t)).reduce(lr, {});
|
|
3489
3498
|
}
|
|
3490
3499
|
function oe(e) {
|
|
3491
3500
|
return Pn(e, Pr);
|
|
@@ -3497,7 +3506,7 @@ function ae(e) {
|
|
|
3497
3506
|
}
|
|
3498
3507
|
ae.propTypes = process.env.NODE_ENV !== "production" ? jr.reduce((e, r) => (e[r] = Le, e), {}) : {};
|
|
3499
3508
|
ae.filterProps = jr;
|
|
3500
|
-
process.env.NODE_ENV !== "production" &&
|
|
3509
|
+
process.env.NODE_ENV !== "production" && Ua.reduce((e, r) => (e[r] = Le, e), {});
|
|
3501
3510
|
function $r(...e) {
|
|
3502
3511
|
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
3503
3512
|
n[a] = o;
|
|
@@ -3514,7 +3523,7 @@ function be(e, r) {
|
|
|
3514
3523
|
transform: r
|
|
3515
3524
|
});
|
|
3516
3525
|
}
|
|
3517
|
-
const
|
|
3526
|
+
const Ba = be("border", ge), Va = be("borderTop", ge), Fa = be("borderRight", ge), za = be("borderBottom", ge), Wa = be("borderLeft", ge), Ha = be("borderColor"), Ka = be("borderTopColor"), Qa = be("borderRightColor"), Ja = be("borderBottomColor"), Ga = be("borderLeftColor"), Ya = be("outline", ge), qa = be("outlineColor"), Mr = (e) => {
|
|
3518
3527
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
3519
3528
|
const r = dr(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
3520
3529
|
borderRadius: fr(r, n)
|
|
@@ -3527,7 +3536,7 @@ Mr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3527
3536
|
borderRadius: Le
|
|
3528
3537
|
} : {};
|
|
3529
3538
|
Mr.filterProps = ["borderRadius"];
|
|
3530
|
-
$r(
|
|
3539
|
+
$r(Ba, Va, Fa, za, Wa, Ha, Ka, Qa, Ja, Ga, Mr, Ya, qa);
|
|
3531
3540
|
const Lr = (e) => {
|
|
3532
3541
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
3533
3542
|
const r = dr(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
@@ -3541,7 +3550,7 @@ Lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3541
3550
|
gap: Le
|
|
3542
3551
|
} : {};
|
|
3543
3552
|
Lr.filterProps = ["gap"];
|
|
3544
|
-
const
|
|
3553
|
+
const Ur = (e) => {
|
|
3545
3554
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
3546
3555
|
const r = dr(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
3547
3556
|
columnGap: fr(r, n)
|
|
@@ -3550,11 +3559,11 @@ const Nr = (e) => {
|
|
|
3550
3559
|
}
|
|
3551
3560
|
return null;
|
|
3552
3561
|
};
|
|
3553
|
-
|
|
3562
|
+
Ur.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3554
3563
|
columnGap: Le
|
|
3555
3564
|
} : {};
|
|
3556
|
-
|
|
3557
|
-
const
|
|
3565
|
+
Ur.filterProps = ["columnGap"];
|
|
3566
|
+
const Nr = (e) => {
|
|
3558
3567
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
3559
3568
|
const r = dr(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
3560
3569
|
rowGap: fr(r, n)
|
|
@@ -3563,52 +3572,52 @@ const Ur = (e) => {
|
|
|
3563
3572
|
}
|
|
3564
3573
|
return null;
|
|
3565
3574
|
};
|
|
3566
|
-
|
|
3575
|
+
Nr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3567
3576
|
rowGap: Le
|
|
3568
3577
|
} : {};
|
|
3569
|
-
|
|
3570
|
-
const
|
|
3578
|
+
Nr.filterProps = ["rowGap"];
|
|
3579
|
+
const Za = ie({
|
|
3571
3580
|
prop: "gridColumn"
|
|
3572
|
-
}),
|
|
3581
|
+
}), Xa = ie({
|
|
3573
3582
|
prop: "gridRow"
|
|
3574
|
-
}),
|
|
3583
|
+
}), ei = ie({
|
|
3575
3584
|
prop: "gridAutoFlow"
|
|
3576
|
-
}),
|
|
3585
|
+
}), ri = ie({
|
|
3577
3586
|
prop: "gridAutoColumns"
|
|
3578
|
-
}),
|
|
3587
|
+
}), ti = ie({
|
|
3579
3588
|
prop: "gridAutoRows"
|
|
3580
|
-
}),
|
|
3589
|
+
}), ni = ie({
|
|
3581
3590
|
prop: "gridTemplateColumns"
|
|
3582
|
-
}),
|
|
3591
|
+
}), oi = ie({
|
|
3583
3592
|
prop: "gridTemplateRows"
|
|
3584
|
-
}),
|
|
3593
|
+
}), ai = ie({
|
|
3585
3594
|
prop: "gridTemplateAreas"
|
|
3586
|
-
}),
|
|
3595
|
+
}), ii = ie({
|
|
3587
3596
|
prop: "gridArea"
|
|
3588
3597
|
});
|
|
3589
|
-
$r(Lr,
|
|
3598
|
+
$r(Lr, Ur, Nr, Za, Xa, ei, ri, ti, ni, oi, ai, ii);
|
|
3590
3599
|
function qe(e, r) {
|
|
3591
3600
|
return r === "grey" ? r : e;
|
|
3592
3601
|
}
|
|
3593
|
-
const
|
|
3602
|
+
const si = ie({
|
|
3594
3603
|
prop: "color",
|
|
3595
3604
|
themeKey: "palette",
|
|
3596
3605
|
transform: qe
|
|
3597
|
-
}),
|
|
3606
|
+
}), ci = ie({
|
|
3598
3607
|
prop: "bgcolor",
|
|
3599
3608
|
cssProperty: "backgroundColor",
|
|
3600
3609
|
themeKey: "palette",
|
|
3601
3610
|
transform: qe
|
|
3602
|
-
}),
|
|
3611
|
+
}), li = ie({
|
|
3603
3612
|
prop: "backgroundColor",
|
|
3604
3613
|
themeKey: "palette",
|
|
3605
3614
|
transform: qe
|
|
3606
3615
|
});
|
|
3607
|
-
$r(
|
|
3616
|
+
$r(si, ci, li);
|
|
3608
3617
|
function pe(e) {
|
|
3609
3618
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
3610
3619
|
}
|
|
3611
|
-
const
|
|
3620
|
+
const ui = ie({
|
|
3612
3621
|
prop: "width",
|
|
3613
3622
|
transform: pe
|
|
3614
3623
|
}), At = (e) => {
|
|
@@ -3629,16 +3638,16 @@ const ci = ie({
|
|
|
3629
3638
|
return null;
|
|
3630
3639
|
};
|
|
3631
3640
|
At.filterProps = ["maxWidth"];
|
|
3632
|
-
const
|
|
3641
|
+
const di = ie({
|
|
3633
3642
|
prop: "minWidth",
|
|
3634
3643
|
transform: pe
|
|
3635
|
-
}),
|
|
3644
|
+
}), fi = ie({
|
|
3636
3645
|
prop: "height",
|
|
3637
3646
|
transform: pe
|
|
3638
|
-
}),
|
|
3647
|
+
}), pi = ie({
|
|
3639
3648
|
prop: "maxHeight",
|
|
3640
3649
|
transform: pe
|
|
3641
|
-
}),
|
|
3650
|
+
}), mi = ie({
|
|
3642
3651
|
prop: "minHeight",
|
|
3643
3652
|
transform: pe
|
|
3644
3653
|
});
|
|
@@ -3652,10 +3661,10 @@ ie({
|
|
|
3652
3661
|
cssProperty: "height",
|
|
3653
3662
|
transform: pe
|
|
3654
3663
|
});
|
|
3655
|
-
const
|
|
3664
|
+
const hi = ie({
|
|
3656
3665
|
prop: "boxSizing"
|
|
3657
3666
|
});
|
|
3658
|
-
$r(
|
|
3667
|
+
$r(ui, At, di, fi, pi, mi, hi);
|
|
3659
3668
|
const Dr = {
|
|
3660
3669
|
// borders
|
|
3661
3670
|
border: {
|
|
@@ -3872,10 +3881,10 @@ const Dr = {
|
|
|
3872
3881
|
style: Lr
|
|
3873
3882
|
},
|
|
3874
3883
|
rowGap: {
|
|
3875
|
-
style:
|
|
3884
|
+
style: Nr
|
|
3876
3885
|
},
|
|
3877
3886
|
columnGap: {
|
|
3878
|
-
style:
|
|
3887
|
+
style: Ur
|
|
3879
3888
|
},
|
|
3880
3889
|
gridColumn: {},
|
|
3881
3890
|
gridRow: {},
|
|
@@ -3944,14 +3953,14 @@ const Dr = {
|
|
|
3944
3953
|
themeKey: "typography"
|
|
3945
3954
|
}
|
|
3946
3955
|
};
|
|
3947
|
-
function
|
|
3956
|
+
function gi(...e) {
|
|
3948
3957
|
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
3949
3958
|
return e.every((n) => t.size === Object.keys(n).length);
|
|
3950
3959
|
}
|
|
3951
|
-
function
|
|
3960
|
+
function yi(e, r) {
|
|
3952
3961
|
return typeof e == "function" ? e(r) : e;
|
|
3953
3962
|
}
|
|
3954
|
-
function
|
|
3963
|
+
function bi() {
|
|
3955
3964
|
function e(t, n, o, a) {
|
|
3956
3965
|
const s = {
|
|
3957
3966
|
[t]: n,
|
|
@@ -3998,10 +4007,10 @@ function gi() {
|
|
|
3998
4007
|
return f;
|
|
3999
4008
|
if (!g)
|
|
4000
4009
|
return null;
|
|
4001
|
-
const x =
|
|
4010
|
+
const x = Pa(o.breakpoints), E = Object.keys(x);
|
|
4002
4011
|
let w = x;
|
|
4003
4012
|
return Object.keys(g).forEach((h) => {
|
|
4004
|
-
const C =
|
|
4013
|
+
const C = yi(g[h], o);
|
|
4005
4014
|
if (C != null)
|
|
4006
4015
|
if (typeof C == "object")
|
|
4007
4016
|
if (s[h])
|
|
@@ -4009,10 +4018,10 @@ function gi() {
|
|
|
4009
4018
|
else {
|
|
4010
4019
|
const p = _e({
|
|
4011
4020
|
theme: o
|
|
4012
|
-
}, C, (
|
|
4013
|
-
[h]:
|
|
4021
|
+
}, C, (k) => ({
|
|
4022
|
+
[h]: k
|
|
4014
4023
|
}));
|
|
4015
|
-
|
|
4024
|
+
gi(p, C) ? w[h] = r({
|
|
4016
4025
|
sx: C,
|
|
4017
4026
|
theme: o,
|
|
4018
4027
|
nested: !0
|
|
@@ -4028,9 +4037,9 @@ function gi() {
|
|
|
4028
4037
|
}
|
|
4029
4038
|
return r;
|
|
4030
4039
|
}
|
|
4031
|
-
const er =
|
|
4040
|
+
const er = bi();
|
|
4032
4041
|
er.filterProps = ["sx"];
|
|
4033
|
-
function
|
|
4042
|
+
function Ai(e) {
|
|
4034
4043
|
for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
4035
4044
|
t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
|
|
4036
4045
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
@@ -4049,7 +4058,7 @@ function yi(e) {
|
|
|
4049
4058
|
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
4050
4059
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
4051
4060
|
}
|
|
4052
|
-
var
|
|
4061
|
+
var vi = {
|
|
4053
4062
|
animationIterationCount: 1,
|
|
4054
4063
|
aspectRatio: 1,
|
|
4055
4064
|
borderImageOutset: 1,
|
|
@@ -4099,24 +4108,24 @@ var bi = {
|
|
|
4099
4108
|
strokeOpacity: 1,
|
|
4100
4109
|
strokeWidth: 1
|
|
4101
4110
|
};
|
|
4102
|
-
function
|
|
4111
|
+
function Si(e) {
|
|
4103
4112
|
var r = /* @__PURE__ */ Object.create(null);
|
|
4104
4113
|
return function(t) {
|
|
4105
4114
|
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
4106
4115
|
};
|
|
4107
4116
|
}
|
|
4108
|
-
var
|
|
4117
|
+
var xi = /[A-Z]|^ms/g, wi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, jn = function(r) {
|
|
4109
4118
|
return r.charCodeAt(1) === 45;
|
|
4110
4119
|
}, Jt = function(r) {
|
|
4111
4120
|
return r != null && typeof r != "boolean";
|
|
4112
|
-
}, qr = /* @__PURE__ */
|
|
4113
|
-
return jn(e) ? e : e.replace(
|
|
4121
|
+
}, qr = /* @__PURE__ */ Si(function(e) {
|
|
4122
|
+
return jn(e) ? e : e.replace(xi, "-$&").toLowerCase();
|
|
4114
4123
|
}), Gt = function(r, t) {
|
|
4115
4124
|
switch (r) {
|
|
4116
4125
|
case "animation":
|
|
4117
4126
|
case "animationName":
|
|
4118
4127
|
if (typeof t == "string")
|
|
4119
|
-
return t.replace(
|
|
4128
|
+
return t.replace(wi, function(n, o, a) {
|
|
4120
4129
|
return Pe = {
|
|
4121
4130
|
name: o,
|
|
4122
4131
|
styles: a,
|
|
@@ -4124,7 +4133,7 @@ var vi = /[A-Z]|^ms/g, Si = /_EMO_([^_]+?)_([^]*?)_EMO_/g, jn = function(r) {
|
|
|
4124
4133
|
}, o;
|
|
4125
4134
|
});
|
|
4126
4135
|
}
|
|
4127
|
-
return
|
|
4136
|
+
return vi[r] !== 1 && !jn(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
4128
4137
|
};
|
|
4129
4138
|
function Cr(e, r, t) {
|
|
4130
4139
|
if (t == null)
|
|
@@ -4156,13 +4165,13 @@ function Cr(e, r, t) {
|
|
|
4156
4165
|
var u = a.styles + ";";
|
|
4157
4166
|
return u;
|
|
4158
4167
|
}
|
|
4159
|
-
return
|
|
4168
|
+
return Ei(e, r, t);
|
|
4160
4169
|
}
|
|
4161
4170
|
}
|
|
4162
4171
|
var f = t;
|
|
4163
4172
|
return f;
|
|
4164
4173
|
}
|
|
4165
|
-
function
|
|
4174
|
+
function Ei(e, r, t) {
|
|
4166
4175
|
var n = "";
|
|
4167
4176
|
if (Array.isArray(t))
|
|
4168
4177
|
for (var o = 0; o < t.length; o++)
|
|
@@ -4192,7 +4201,7 @@ function xi(e, r, t) {
|
|
|
4192
4201
|
return n;
|
|
4193
4202
|
}
|
|
4194
4203
|
var Yt = /label:\s*([^\s;{]+)\s*(;|$)/g, Pe;
|
|
4195
|
-
function
|
|
4204
|
+
function Ci(e, r, t) {
|
|
4196
4205
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
4197
4206
|
return e[0];
|
|
4198
4207
|
var n = !0, o = "";
|
|
@@ -4212,7 +4221,7 @@ function wi(e, r, t) {
|
|
|
4212
4221
|
Yt.lastIndex = 0;
|
|
4213
4222
|
for (var g = "", x; (x = Yt.exec(o)) !== null; )
|
|
4214
4223
|
g += "-" + x[1];
|
|
4215
|
-
var E =
|
|
4224
|
+
var E = Ai(o) + g;
|
|
4216
4225
|
return {
|
|
4217
4226
|
name: E,
|
|
4218
4227
|
styles: o,
|
|
@@ -4226,7 +4235,7 @@ function wi(e, r, t) {
|
|
|
4226
4235
|
* This source code is licensed under the MIT license found in the
|
|
4227
4236
|
* LICENSE file in the root directory of this source tree.
|
|
4228
4237
|
*/
|
|
4229
|
-
function
|
|
4238
|
+
function ki(e, r) {
|
|
4230
4239
|
const t = bo(e, r);
|
|
4231
4240
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
4232
4241
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -4234,14 +4243,14 @@ function Ei(e, r) {
|
|
|
4234
4243
|
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
4235
4244
|
} : t;
|
|
4236
4245
|
}
|
|
4237
|
-
function
|
|
4246
|
+
function Ti(e, r) {
|
|
4238
4247
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
4239
4248
|
}
|
|
4240
4249
|
const qt = [];
|
|
4241
4250
|
function Ve(e) {
|
|
4242
|
-
return qt[0] = e,
|
|
4251
|
+
return qt[0] = e, Ci(qt);
|
|
4243
4252
|
}
|
|
4244
|
-
const
|
|
4253
|
+
const _i = (e) => {
|
|
4245
4254
|
const r = Object.keys(e).map((t) => ({
|
|
4246
4255
|
key: t,
|
|
4247
4256
|
val: e[t]
|
|
@@ -4251,7 +4260,7 @@ const Ti = (e) => {
|
|
|
4251
4260
|
[n.key]: n.val
|
|
4252
4261
|
}), {});
|
|
4253
4262
|
};
|
|
4254
|
-
function
|
|
4263
|
+
function Ri(e) {
|
|
4255
4264
|
const {
|
|
4256
4265
|
// The breakpoint **start** at this value.
|
|
4257
4266
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -4270,7 +4279,7 @@ function ki(e) {
|
|
|
4270
4279
|
unit: t = "px",
|
|
4271
4280
|
step: n = 5,
|
|
4272
4281
|
...o
|
|
4273
|
-
} = e, a =
|
|
4282
|
+
} = e, a = _i(r), s = Object.keys(a);
|
|
4274
4283
|
function u(w) {
|
|
4275
4284
|
return `@media (min-width:${typeof r[w] == "number" ? r[w] : w}${t})`;
|
|
4276
4285
|
}
|
|
@@ -4300,7 +4309,7 @@ function ki(e) {
|
|
|
4300
4309
|
...o
|
|
4301
4310
|
};
|
|
4302
4311
|
}
|
|
4303
|
-
const
|
|
4312
|
+
const Oi = {
|
|
4304
4313
|
borderRadius: 4
|
|
4305
4314
|
};
|
|
4306
4315
|
function $n(e = 8, r = bt({
|
|
@@ -4314,7 +4323,7 @@ function $n(e = 8, r = bt({
|
|
|
4314
4323
|
}).join(" "));
|
|
4315
4324
|
return t.mui = !0, t;
|
|
4316
4325
|
}
|
|
4317
|
-
function
|
|
4326
|
+
function Ii(e, r) {
|
|
4318
4327
|
var n;
|
|
4319
4328
|
const t = this;
|
|
4320
4329
|
if (t.vars) {
|
|
@@ -4334,7 +4343,7 @@ function Mn(e = {}, ...r) {
|
|
|
4334
4343
|
spacing: o,
|
|
4335
4344
|
shape: a = {},
|
|
4336
4345
|
...s
|
|
4337
|
-
} = e, u =
|
|
4346
|
+
} = e, u = Ri(t), f = $n(o);
|
|
4338
4347
|
let g = me({
|
|
4339
4348
|
breakpoints: u,
|
|
4340
4349
|
direction: "ltr",
|
|
@@ -4346,11 +4355,11 @@ function Mn(e = {}, ...r) {
|
|
|
4346
4355
|
},
|
|
4347
4356
|
spacing: f,
|
|
4348
4357
|
shape: {
|
|
4349
|
-
...
|
|
4358
|
+
...Oi,
|
|
4350
4359
|
...a
|
|
4351
4360
|
}
|
|
4352
4361
|
}, s);
|
|
4353
|
-
return g =
|
|
4362
|
+
return g = Oa(g), g.applyStyles = Ii, g = r.reduce((x, E) => me(x, E), g), g.unstable_sxConfig = {
|
|
4354
4363
|
...Dr,
|
|
4355
4364
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
4356
4365
|
}, g.unstable_sx = function(E) {
|
|
@@ -4360,7 +4369,7 @@ function Mn(e = {}, ...r) {
|
|
|
4360
4369
|
});
|
|
4361
4370
|
}, g;
|
|
4362
4371
|
}
|
|
4363
|
-
const
|
|
4372
|
+
const Pi = {
|
|
4364
4373
|
active: "active",
|
|
4365
4374
|
checked: "checked",
|
|
4366
4375
|
completed: "completed",
|
|
@@ -4375,10 +4384,10 @@ const Oi = {
|
|
|
4375
4384
|
selected: "selected"
|
|
4376
4385
|
};
|
|
4377
4386
|
function vt(e, r, t = "Mui") {
|
|
4378
|
-
const n =
|
|
4379
|
-
return n ? `${t}-${n}` : `${
|
|
4387
|
+
const n = Pi[r];
|
|
4388
|
+
return n ? `${t}-${n}` : `${ha.generate(e)}-${r}`;
|
|
4380
4389
|
}
|
|
4381
|
-
function
|
|
4390
|
+
function ji(e, r, t = "Mui") {
|
|
4382
4391
|
const n = {};
|
|
4383
4392
|
return r.forEach((o) => {
|
|
4384
4393
|
n[o] = vt(e, o, t);
|
|
@@ -4391,7 +4400,7 @@ function Zt(e, r, t) {
|
|
|
4391
4400
|
const n = Ln(r);
|
|
4392
4401
|
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
4393
4402
|
}
|
|
4394
|
-
function
|
|
4403
|
+
function $i(e) {
|
|
4395
4404
|
if (e != null) {
|
|
4396
4405
|
if (typeof e == "string")
|
|
4397
4406
|
return e;
|
|
@@ -4408,7 +4417,7 @@ function Pi(e) {
|
|
|
4408
4417
|
}
|
|
4409
4418
|
}
|
|
4410
4419
|
}
|
|
4411
|
-
function
|
|
4420
|
+
function Un(e) {
|
|
4412
4421
|
const {
|
|
4413
4422
|
variants: r,
|
|
4414
4423
|
...t
|
|
@@ -4421,18 +4430,18 @@ function Nn(e) {
|
|
|
4421
4430
|
typeof o.style != "function" && (o.style = Ve(o.style));
|
|
4422
4431
|
}), n;
|
|
4423
4432
|
}
|
|
4424
|
-
const
|
|
4433
|
+
const Mi = Mn();
|
|
4425
4434
|
function Zr(e) {
|
|
4426
4435
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
4427
4436
|
}
|
|
4428
|
-
function
|
|
4437
|
+
function Ne(e, r) {
|
|
4429
4438
|
return r && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${r}{${String(e.styles)}}`), e;
|
|
4430
4439
|
}
|
|
4431
|
-
function
|
|
4440
|
+
function Li(e) {
|
|
4432
4441
|
return e ? (r, t) => t[e] : null;
|
|
4433
4442
|
}
|
|
4434
|
-
function
|
|
4435
|
-
e.theme =
|
|
4443
|
+
function Ui(e, r, t) {
|
|
4444
|
+
e.theme = Vi(e.theme) ? t : e.theme[r] || e.theme;
|
|
4436
4445
|
}
|
|
4437
4446
|
function br(e, r, t) {
|
|
4438
4447
|
const n = typeof r == "function" ? r(e) : r;
|
|
@@ -4441,19 +4450,19 @@ function br(e, r, t) {
|
|
|
4441
4450
|
if (Array.isArray(n == null ? void 0 : n.variants)) {
|
|
4442
4451
|
let o;
|
|
4443
4452
|
if (n.isProcessed)
|
|
4444
|
-
o = t ?
|
|
4453
|
+
o = t ? Ne(n.style, t) : n.style;
|
|
4445
4454
|
else {
|
|
4446
4455
|
const {
|
|
4447
4456
|
variants: a,
|
|
4448
4457
|
...s
|
|
4449
4458
|
} = n;
|
|
4450
|
-
o = t ?
|
|
4459
|
+
o = t ? Ne(Ve(s), t) : s;
|
|
4451
4460
|
}
|
|
4452
|
-
return
|
|
4461
|
+
return Nn(e, n.variants, [o], t);
|
|
4453
4462
|
}
|
|
4454
|
-
return n != null && n.isProcessed ? t ?
|
|
4463
|
+
return n != null && n.isProcessed ? t ? Ne(Ve(n.style), t) : n.style : t ? Ne(Ve(n), t) : n;
|
|
4455
4464
|
}
|
|
4456
|
-
function
|
|
4465
|
+
function Nn(e, r, t = [], n = void 0) {
|
|
4457
4466
|
var a;
|
|
4458
4467
|
let o;
|
|
4459
4468
|
e: for (let s = 0; s < r.length; s += 1) {
|
|
@@ -4473,22 +4482,22 @@ function Un(e, r, t = [], n = void 0) {
|
|
|
4473
4482
|
...e,
|
|
4474
4483
|
...e.ownerState,
|
|
4475
4484
|
ownerState: e.ownerState
|
|
4476
|
-
}), t.push(n ?
|
|
4485
|
+
}), t.push(n ? Ne(Ve(u.style(o)), n) : u.style(o))) : t.push(n ? Ne(Ve(u.style), n) : u.style);
|
|
4477
4486
|
}
|
|
4478
4487
|
return t;
|
|
4479
4488
|
}
|
|
4480
|
-
function
|
|
4489
|
+
function Ni(e = {}) {
|
|
4481
4490
|
const {
|
|
4482
4491
|
themeId: r,
|
|
4483
|
-
defaultTheme: t =
|
|
4492
|
+
defaultTheme: t = Mi,
|
|
4484
4493
|
rootShouldForwardProp: n = Zr,
|
|
4485
4494
|
slotShouldForwardProp: o = Zr
|
|
4486
4495
|
} = e;
|
|
4487
4496
|
function a(u) {
|
|
4488
|
-
|
|
4497
|
+
Ui(u, r, t);
|
|
4489
4498
|
}
|
|
4490
4499
|
return (u, f = {}) => {
|
|
4491
|
-
|
|
4500
|
+
Ti(u, (L) => L.filter((W) => W !== er));
|
|
4492
4501
|
const {
|
|
4493
4502
|
name: g,
|
|
4494
4503
|
slot: x,
|
|
@@ -4496,18 +4505,18 @@ function Li(e = {}) {
|
|
|
4496
4505
|
skipSx: w,
|
|
4497
4506
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4498
4507
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4499
|
-
overridesResolver: h =
|
|
4508
|
+
overridesResolver: h = Li(Dn(x)),
|
|
4500
4509
|
...C
|
|
4501
|
-
} = f, p = g && g.startsWith("Mui") || x ? "components" : "custom",
|
|
4510
|
+
} = f, p = g && g.startsWith("Mui") || x ? "components" : "custom", k = E !== void 0 ? E : (
|
|
4502
4511
|
// TODO v6: remove `Root` in the next major release
|
|
4503
4512
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4504
4513
|
x && x !== "Root" && x !== "root" || !1
|
|
4505
|
-
),
|
|
4514
|
+
), U = w || !1;
|
|
4506
4515
|
let V = Zr;
|
|
4507
|
-
x === "Root" || x === "root" ? V = n : x ? V = o :
|
|
4508
|
-
const B =
|
|
4516
|
+
x === "Root" || x === "root" ? V = n : x ? V = o : Fi(u) && (V = void 0);
|
|
4517
|
+
const B = ki(u, {
|
|
4509
4518
|
shouldForwardProp: V,
|
|
4510
|
-
label:
|
|
4519
|
+
label: Bi(g, x),
|
|
4511
4520
|
...C
|
|
4512
4521
|
}), $ = (L) => {
|
|
4513
4522
|
if (L.__emotion_real === L)
|
|
@@ -4516,10 +4525,10 @@ function Li(e = {}) {
|
|
|
4516
4525
|
return function(F) {
|
|
4517
4526
|
return br(F, L, F.theme.modularCssLayers ? p : void 0);
|
|
4518
4527
|
};
|
|
4519
|
-
if (
|
|
4520
|
-
const W =
|
|
4528
|
+
if (ke(L)) {
|
|
4529
|
+
const W = Un(L);
|
|
4521
4530
|
return function(X) {
|
|
4522
|
-
return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ?
|
|
4531
|
+
return W.variants ? br(X, W, X.theme.modularCssLayers ? p : void 0) : X.theme.modularCssLayers ? Ne(W.style, p) : W.style;
|
|
4523
4532
|
};
|
|
4524
4533
|
}
|
|
4525
4534
|
return L;
|
|
@@ -4527,41 +4536,41 @@ function Li(e = {}) {
|
|
|
4527
4536
|
const W = [], F = L.map($), X = [];
|
|
4528
4537
|
if (W.push(a), g && h && X.push(function(M) {
|
|
4529
4538
|
var J, ne;
|
|
4530
|
-
const
|
|
4531
|
-
if (!
|
|
4539
|
+
const N = (ne = (J = M.theme.components) == null ? void 0 : J[g]) == null ? void 0 : ne.styleOverrides;
|
|
4540
|
+
if (!N)
|
|
4532
4541
|
return null;
|
|
4533
4542
|
const D = {};
|
|
4534
|
-
for (const ue in
|
|
4535
|
-
D[ue] = br(M,
|
|
4543
|
+
for (const ue in N)
|
|
4544
|
+
D[ue] = br(M, N[ue], M.theme.modularCssLayers ? "theme" : void 0);
|
|
4536
4545
|
return h(M, D);
|
|
4537
|
-
}), g && !
|
|
4546
|
+
}), g && !k && X.push(function(M) {
|
|
4538
4547
|
var D, J;
|
|
4539
|
-
const O = M.theme,
|
|
4540
|
-
return
|
|
4541
|
-
}),
|
|
4548
|
+
const O = M.theme, N = (J = (D = O == null ? void 0 : O.components) == null ? void 0 : D[g]) == null ? void 0 : J.variants;
|
|
4549
|
+
return N ? Nn(M, N, [], M.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
4550
|
+
}), U || X.push(er), Array.isArray(F[0])) {
|
|
4542
4551
|
const l = F.shift(), M = new Array(W.length).fill(""), O = new Array(X.length).fill("");
|
|
4543
|
-
let
|
|
4544
|
-
|
|
4552
|
+
let N;
|
|
4553
|
+
N = [...M, ...l, ...O], N.raw = [...M, ...l.raw, ...O], W.unshift(N);
|
|
4545
4554
|
}
|
|
4546
4555
|
const se = [...W, ...F, ...X], H = B(...se);
|
|
4547
|
-
return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName =
|
|
4556
|
+
return u.muiName && (H.muiName = u.muiName), process.env.NODE_ENV !== "production" && (H.displayName = Di(g, x, u)), H;
|
|
4548
4557
|
};
|
|
4549
4558
|
return B.withConfig && (_.withConfig = B.withConfig), _;
|
|
4550
4559
|
};
|
|
4551
4560
|
}
|
|
4552
|
-
function
|
|
4553
|
-
return e ? `${e}${ze(r || "")}` : `Styled(${
|
|
4561
|
+
function Di(e, r, t) {
|
|
4562
|
+
return e ? `${e}${ze(r || "")}` : `Styled(${$i(t)})`;
|
|
4554
4563
|
}
|
|
4555
|
-
function
|
|
4564
|
+
function Bi(e, r) {
|
|
4556
4565
|
let t;
|
|
4557
4566
|
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${Dn(r || "Root")}`), t;
|
|
4558
4567
|
}
|
|
4559
|
-
function
|
|
4568
|
+
function Vi(e) {
|
|
4560
4569
|
for (const r in e)
|
|
4561
4570
|
return !1;
|
|
4562
4571
|
return !0;
|
|
4563
4572
|
}
|
|
4564
|
-
function
|
|
4573
|
+
function Fi(e) {
|
|
4565
4574
|
return typeof e == "string" && // 96 is one less than the char code
|
|
4566
4575
|
// for "a" so this is checking that
|
|
4567
4576
|
// it's a lowercase character
|
|
@@ -4605,13 +4614,13 @@ function ut(e, r, t = !1) {
|
|
|
4605
4614
|
}
|
|
4606
4615
|
return n;
|
|
4607
4616
|
}
|
|
4608
|
-
function
|
|
4617
|
+
function zi(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
4609
4618
|
return Math.max(r, Math.min(e, t));
|
|
4610
4619
|
}
|
|
4611
4620
|
function St(e, r = 0, t = 1) {
|
|
4612
|
-
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),
|
|
4621
|
+
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), zi(e, r, t);
|
|
4613
4622
|
}
|
|
4614
|
-
function
|
|
4623
|
+
function Wi(e) {
|
|
4615
4624
|
e = e.slice(1);
|
|
4616
4625
|
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
4617
4626
|
let t = e.match(r);
|
|
@@ -4621,7 +4630,7 @@ function Me(e) {
|
|
|
4621
4630
|
if (e.type)
|
|
4622
4631
|
return e;
|
|
4623
4632
|
if (e.charAt(0) === "#")
|
|
4624
|
-
return Me(
|
|
4633
|
+
return Me(Wi(e));
|
|
4625
4634
|
const r = e.indexOf("("), t = e.substring(0, r);
|
|
4626
4635
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
4627
4636
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -4639,12 +4648,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
4639
4648
|
colorSpace: o
|
|
4640
4649
|
};
|
|
4641
4650
|
}
|
|
4642
|
-
const
|
|
4651
|
+
const Hi = (e) => {
|
|
4643
4652
|
const r = Me(e);
|
|
4644
4653
|
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
4645
4654
|
}, ar = (e, r) => {
|
|
4646
4655
|
try {
|
|
4647
|
-
return
|
|
4656
|
+
return Hi(e);
|
|
4648
4657
|
} catch {
|
|
4649
4658
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
4650
4659
|
}
|
|
@@ -4683,7 +4692,7 @@ function Xt(e, r) {
|
|
|
4683
4692
|
function Vn(e, r) {
|
|
4684
4693
|
return e = Me(e), r = St(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Br(e);
|
|
4685
4694
|
}
|
|
4686
|
-
function
|
|
4695
|
+
function Ue(e, r, t) {
|
|
4687
4696
|
try {
|
|
4688
4697
|
return Vn(e, r);
|
|
4689
4698
|
} catch {
|
|
@@ -4723,19 +4732,19 @@ function Z(e, r, t) {
|
|
|
4723
4732
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
4724
4733
|
}
|
|
4725
4734
|
}
|
|
4726
|
-
function
|
|
4735
|
+
function Ki(e, r = 0.15) {
|
|
4727
4736
|
return dt(e) > 0.5 ? Vr(e, r) : Fr(e, r);
|
|
4728
4737
|
}
|
|
4729
4738
|
function yr(e, r, t) {
|
|
4730
4739
|
try {
|
|
4731
|
-
return
|
|
4740
|
+
return Ki(e, r);
|
|
4732
4741
|
} catch {
|
|
4733
4742
|
return e;
|
|
4734
4743
|
}
|
|
4735
4744
|
}
|
|
4736
|
-
const
|
|
4745
|
+
const Qi = /* @__PURE__ */ $e.createContext(void 0);
|
|
4737
4746
|
process.env.NODE_ENV !== "production" && (Q.node, Q.object);
|
|
4738
|
-
function
|
|
4747
|
+
function Ji(e) {
|
|
4739
4748
|
const {
|
|
4740
4749
|
theme: r,
|
|
4741
4750
|
name: t,
|
|
@@ -4746,12 +4755,12 @@ function Ki(e) {
|
|
|
4746
4755
|
const o = r.components[t];
|
|
4747
4756
|
return o.defaultProps ? ut(o.defaultProps, n, r.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? ut(o, n, r.components.mergeClassNameAndStyle) : n;
|
|
4748
4757
|
}
|
|
4749
|
-
function
|
|
4758
|
+
function Gi({
|
|
4750
4759
|
props: e,
|
|
4751
4760
|
name: r
|
|
4752
4761
|
}) {
|
|
4753
|
-
const t = $e.useContext(
|
|
4754
|
-
return
|
|
4762
|
+
const t = $e.useContext(Qi);
|
|
4763
|
+
return Ji({
|
|
4755
4764
|
props: e,
|
|
4756
4765
|
name: r,
|
|
4757
4766
|
theme: {
|
|
@@ -4762,14 +4771,14 @@ function Qi({
|
|
|
4762
4771
|
const en = {
|
|
4763
4772
|
theme: void 0
|
|
4764
4773
|
};
|
|
4765
|
-
function
|
|
4774
|
+
function Yi(e) {
|
|
4766
4775
|
let r, t;
|
|
4767
4776
|
return function(o) {
|
|
4768
4777
|
let a = r;
|
|
4769
|
-
return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a =
|
|
4778
|
+
return (a === void 0 || o.theme !== t) && (en.theme = o.theme, a = Un(e(en)), r = a, t = o.theme), a;
|
|
4770
4779
|
};
|
|
4771
4780
|
}
|
|
4772
|
-
function
|
|
4781
|
+
function qi(e = "") {
|
|
4773
4782
|
function r(...n) {
|
|
4774
4783
|
if (!n.length)
|
|
4775
4784
|
return "";
|
|
@@ -4783,24 +4792,24 @@ const rn = (e, r, t, n = []) => {
|
|
|
4783
4792
|
r.forEach((a, s) => {
|
|
4784
4793
|
s === 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]);
|
|
4785
4794
|
});
|
|
4786
|
-
},
|
|
4795
|
+
}, Zi = (e, r, t) => {
|
|
4787
4796
|
function n(o, a = [], s = []) {
|
|
4788
4797
|
Object.entries(o).forEach(([u, f]) => {
|
|
4789
4798
|
(!t || t && !t([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...s, u] : s) : r([...a, u], f, s));
|
|
4790
4799
|
});
|
|
4791
4800
|
}
|
|
4792
4801
|
n(e);
|
|
4793
|
-
},
|
|
4802
|
+
}, Xi = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
|
|
4794
4803
|
function Xr(e, r) {
|
|
4795
4804
|
const {
|
|
4796
4805
|
prefix: t,
|
|
4797
4806
|
shouldSkipGeneratingVar: n
|
|
4798
4807
|
} = r || {}, o = {}, a = {}, s = {};
|
|
4799
|
-
return
|
|
4808
|
+
return Zi(
|
|
4800
4809
|
e,
|
|
4801
4810
|
(u, f, g) => {
|
|
4802
4811
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
4803
|
-
const x = `--${t ? `${t}-` : ""}${u.join("-")}`, E =
|
|
4812
|
+
const x = `--${t ? `${t}-` : ""}${u.join("-")}`, E = Xi(u, f);
|
|
4804
4813
|
Object.assign(o, {
|
|
4805
4814
|
[x]: E
|
|
4806
4815
|
}), rn(a, u, `var(${x})`, g), rn(s, u, `var(${x}, ${E})`, g);
|
|
@@ -4814,9 +4823,9 @@ function Xr(e, r) {
|
|
|
4814
4823
|
varsWithDefaults: s
|
|
4815
4824
|
};
|
|
4816
4825
|
}
|
|
4817
|
-
function
|
|
4826
|
+
function es(e, r = {}) {
|
|
4818
4827
|
const {
|
|
4819
|
-
getSelector: t =
|
|
4828
|
+
getSelector: t = U,
|
|
4820
4829
|
disableCssColorScheme: n,
|
|
4821
4830
|
colorSchemeSelector: o,
|
|
4822
4831
|
enableContrastVars: a
|
|
@@ -4833,9 +4842,9 @@ function Zi(e, r = {}) {
|
|
|
4833
4842
|
let h = w;
|
|
4834
4843
|
const C = {}, {
|
|
4835
4844
|
[f]: p,
|
|
4836
|
-
...
|
|
4845
|
+
...k
|
|
4837
4846
|
} = s;
|
|
4838
|
-
if (Object.entries(
|
|
4847
|
+
if (Object.entries(k || {}).forEach(([$, _]) => {
|
|
4839
4848
|
const {
|
|
4840
4849
|
vars: L,
|
|
4841
4850
|
css: W,
|
|
@@ -4856,7 +4865,7 @@ function Zi(e, r = {}) {
|
|
|
4856
4865
|
vars: _
|
|
4857
4866
|
};
|
|
4858
4867
|
}
|
|
4859
|
-
function
|
|
4868
|
+
function U($, _) {
|
|
4860
4869
|
var W, F;
|
|
4861
4870
|
let L = o;
|
|
4862
4871
|
if (o === "class" && (L = ".%s"), o === "data" && (L = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (L = `[${o}="%s"]`), $) {
|
|
@@ -4916,8 +4925,8 @@ function Zi(e, r = {}) {
|
|
|
4916
4925
|
return Object.entries(F).forEach(([H, {
|
|
4917
4926
|
css: l
|
|
4918
4927
|
}]) => {
|
|
4919
|
-
var
|
|
4920
|
-
const M = (D = (
|
|
4928
|
+
var N, D;
|
|
4929
|
+
const M = (D = (N = s[H]) == null ? void 0 : N.palette) == null ? void 0 : D.mode, O = !n && M ? {
|
|
4921
4930
|
colorScheme: M,
|
|
4922
4931
|
...l
|
|
4923
4932
|
} : {
|
|
@@ -4938,7 +4947,7 @@ function Zi(e, r = {}) {
|
|
|
4938
4947
|
}
|
|
4939
4948
|
};
|
|
4940
4949
|
}
|
|
4941
|
-
function
|
|
4950
|
+
function rs(e) {
|
|
4942
4951
|
return function(t) {
|
|
4943
4952
|
return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
|
|
4944
4953
|
};
|
|
@@ -4946,7 +4955,7 @@ function Xi(e) {
|
|
|
4946
4955
|
const ur = {
|
|
4947
4956
|
black: "#000",
|
|
4948
4957
|
white: "#fff"
|
|
4949
|
-
},
|
|
4958
|
+
}, ts = {
|
|
4950
4959
|
50: "#fafafa",
|
|
4951
4960
|
100: "#f5f5f5",
|
|
4952
4961
|
200: "#eeeeee",
|
|
@@ -5078,7 +5087,7 @@ function nn(e, r, t, n, o) {
|
|
|
5078
5087
|
const a = o.light || o, s = o.dark || o * 1.5;
|
|
5079
5088
|
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 ${(s * 100).toFixed(0)}%)`));
|
|
5080
5089
|
}
|
|
5081
|
-
function
|
|
5090
|
+
function ns(e = "light") {
|
|
5082
5091
|
return e === "dark" ? {
|
|
5083
5092
|
main: Je[200],
|
|
5084
5093
|
light: Je[50],
|
|
@@ -5089,7 +5098,7 @@ function rs(e = "light") {
|
|
|
5089
5098
|
dark: Je[800]
|
|
5090
5099
|
};
|
|
5091
5100
|
}
|
|
5092
|
-
function
|
|
5101
|
+
function os(e = "light") {
|
|
5093
5102
|
return e === "dark" ? {
|
|
5094
5103
|
main: Ke[200],
|
|
5095
5104
|
light: Ke[50],
|
|
@@ -5100,7 +5109,7 @@ function ts(e = "light") {
|
|
|
5100
5109
|
dark: Ke[700]
|
|
5101
5110
|
};
|
|
5102
5111
|
}
|
|
5103
|
-
function
|
|
5112
|
+
function as(e = "light") {
|
|
5104
5113
|
return e === "dark" ? {
|
|
5105
5114
|
main: Qe[500],
|
|
5106
5115
|
light: Qe[300],
|
|
@@ -5111,7 +5120,7 @@ function ns(e = "light") {
|
|
|
5111
5120
|
dark: Qe[800]
|
|
5112
5121
|
};
|
|
5113
5122
|
}
|
|
5114
|
-
function
|
|
5123
|
+
function is(e = "light") {
|
|
5115
5124
|
return e === "dark" ? {
|
|
5116
5125
|
main: Ge[400],
|
|
5117
5126
|
light: Ge[300],
|
|
@@ -5122,7 +5131,7 @@ function os(e = "light") {
|
|
|
5122
5131
|
dark: Ge[900]
|
|
5123
5132
|
};
|
|
5124
5133
|
}
|
|
5125
|
-
function
|
|
5134
|
+
function ss(e = "light") {
|
|
5126
5135
|
return e === "dark" ? {
|
|
5127
5136
|
main: Ye[400],
|
|
5128
5137
|
light: Ye[300],
|
|
@@ -5133,7 +5142,7 @@ function as(e = "light") {
|
|
|
5133
5142
|
dark: Ye[900]
|
|
5134
5143
|
};
|
|
5135
5144
|
}
|
|
5136
|
-
function
|
|
5145
|
+
function cs(e = "light") {
|
|
5137
5146
|
return e === "dark" ? {
|
|
5138
5147
|
main: or[400],
|
|
5139
5148
|
light: or[300],
|
|
@@ -5145,7 +5154,7 @@ function is(e = "light") {
|
|
|
5145
5154
|
dark: or[900]
|
|
5146
5155
|
};
|
|
5147
5156
|
}
|
|
5148
|
-
function
|
|
5157
|
+
function ls(e) {
|
|
5149
5158
|
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
5150
5159
|
}
|
|
5151
5160
|
function xt(e) {
|
|
@@ -5155,33 +5164,33 @@ function xt(e) {
|
|
|
5155
5164
|
tonalOffset: n = 0.2,
|
|
5156
5165
|
colorSpace: o,
|
|
5157
5166
|
...a
|
|
5158
|
-
} = e, s = e.primary ||
|
|
5159
|
-
function w(
|
|
5167
|
+
} = e, s = e.primary || ns(r), u = e.secondary || os(r), f = e.error || as(r), g = e.info || is(r), x = e.success || ss(r), E = e.warning || cs(r);
|
|
5168
|
+
function w(k) {
|
|
5160
5169
|
if (o)
|
|
5161
|
-
return
|
|
5162
|
-
const
|
|
5170
|
+
return ls(k);
|
|
5171
|
+
const U = Xt(k, ft.text.primary) >= t ? ft.text.primary : zn.text.primary;
|
|
5163
5172
|
if (process.env.NODE_ENV !== "production") {
|
|
5164
|
-
const V = Xt(
|
|
5165
|
-
V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${
|
|
5173
|
+
const V = Xt(k, U);
|
|
5174
|
+
V < 3 && console.error([`MUI: The contrast ratio of ${V}:1 for ${U} on ${k}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
5166
5175
|
`));
|
|
5167
5176
|
}
|
|
5168
|
-
return
|
|
5177
|
+
return U;
|
|
5169
5178
|
}
|
|
5170
5179
|
const h = ({
|
|
5171
|
-
color:
|
|
5172
|
-
name:
|
|
5180
|
+
color: k,
|
|
5181
|
+
name: U,
|
|
5173
5182
|
mainShade: V = 500,
|
|
5174
5183
|
lightShade: B = 300,
|
|
5175
5184
|
darkShade: $ = 700
|
|
5176
5185
|
}) => {
|
|
5177
|
-
if (
|
|
5178
|
-
...
|
|
5179
|
-
}, !
|
|
5180
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5181
|
-
The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11,
|
|
5182
|
-
if (typeof
|
|
5183
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
5184
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
5186
|
+
if (k = {
|
|
5187
|
+
...k
|
|
5188
|
+
}, !k.main && k[V] && (k.main = k[V]), !k.hasOwnProperty("main"))
|
|
5189
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
|
|
5190
|
+
The color object needs to have a \`main\` property or a \`${V}\` property.` : Fe(11, U ? ` (${U})` : "", V));
|
|
5191
|
+
if (typeof k.main != "string")
|
|
5192
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${U ? ` (${U})` : ""} provided to augmentColor(color) is invalid.
|
|
5193
|
+
\`color.main\` should be a string, but \`${JSON.stringify(k.main)}\` was provided instead.
|
|
5185
5194
|
|
|
5186
5195
|
Did you intend to use one of the following approaches?
|
|
5187
5196
|
|
|
@@ -5193,8 +5202,8 @@ const theme1 = createTheme({ palette: {
|
|
|
5193
5202
|
|
|
5194
5203
|
const theme2 = createTheme({ palette: {
|
|
5195
5204
|
primary: { main: green[500] },
|
|
5196
|
-
} });` : Fe(12,
|
|
5197
|
-
return o ? (nn(o,
|
|
5205
|
+
} });` : Fe(12, U ? ` (${U})` : "", JSON.stringify(k.main)));
|
|
5206
|
+
return o ? (nn(o, k, "light", B, n), nn(o, k, "dark", $, n)) : (tn(k, "light", B, n), tn(k, "dark", $, n)), k.contrastText || (k.contrastText = w(k.main)), k;
|
|
5198
5207
|
};
|
|
5199
5208
|
let C;
|
|
5200
5209
|
return r === "light" ? C = Fn() : r === "dark" && (C = Wn()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), me({
|
|
@@ -5239,7 +5248,7 @@ const theme2 = createTheme({ palette: {
|
|
|
5239
5248
|
name: "success"
|
|
5240
5249
|
}),
|
|
5241
5250
|
// The grey colors.
|
|
5242
|
-
grey:
|
|
5251
|
+
grey: ts,
|
|
5243
5252
|
// Used by `getContrastText()` to maximize the contrast between
|
|
5244
5253
|
// the background and the text.
|
|
5245
5254
|
contrastThreshold: t,
|
|
@@ -5255,14 +5264,14 @@ const theme2 = createTheme({ palette: {
|
|
|
5255
5264
|
...C
|
|
5256
5265
|
}, a);
|
|
5257
5266
|
}
|
|
5258
|
-
function
|
|
5267
|
+
function us(e) {
|
|
5259
5268
|
const r = {};
|
|
5260
5269
|
return Object.entries(e).forEach((n) => {
|
|
5261
5270
|
const [o, a] = n;
|
|
5262
5271
|
typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
5263
5272
|
}), r;
|
|
5264
5273
|
}
|
|
5265
|
-
function
|
|
5274
|
+
function ds(e, r) {
|
|
5266
5275
|
return {
|
|
5267
5276
|
toolbar: {
|
|
5268
5277
|
minHeight: 56,
|
|
@@ -5278,13 +5287,13 @@ function ls(e, r) {
|
|
|
5278
5287
|
...r
|
|
5279
5288
|
};
|
|
5280
5289
|
}
|
|
5281
|
-
function
|
|
5290
|
+
function fs(e) {
|
|
5282
5291
|
return Math.round(e * 1e5) / 1e5;
|
|
5283
5292
|
}
|
|
5284
5293
|
const on = {
|
|
5285
5294
|
textTransform: "uppercase"
|
|
5286
5295
|
}, an = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
5287
|
-
function
|
|
5296
|
+
function ps(e, r) {
|
|
5288
5297
|
const {
|
|
5289
5298
|
fontFamily: t = an,
|
|
5290
5299
|
// The default font size of the Material Specification.
|
|
@@ -5303,16 +5312,16 @@ function ds(e, r) {
|
|
|
5303
5312
|
...E
|
|
5304
5313
|
} = typeof r == "function" ? r(e) : r;
|
|
5305
5314
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
5306
|
-
const w = n / 14, h = x || ((
|
|
5315
|
+
const w = n / 14, h = x || ((k) => `${k / f * w}rem`), C = (k, U, V, B, $) => ({
|
|
5307
5316
|
fontFamily: t,
|
|
5308
|
-
fontWeight:
|
|
5309
|
-
fontSize: h(
|
|
5317
|
+
fontWeight: k,
|
|
5318
|
+
fontSize: h(U),
|
|
5310
5319
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
5311
5320
|
lineHeight: V,
|
|
5312
5321
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
5313
5322
|
// across font-families can cause issues with the kerning.
|
|
5314
5323
|
...t === an ? {
|
|
5315
|
-
letterSpacing: `${
|
|
5324
|
+
letterSpacing: `${fs(B / U)}em`
|
|
5316
5325
|
} : {},
|
|
5317
5326
|
...$,
|
|
5318
5327
|
...g
|
|
@@ -5354,11 +5363,11 @@ function ds(e, r) {
|
|
|
5354
5363
|
// No need to clone deep
|
|
5355
5364
|
});
|
|
5356
5365
|
}
|
|
5357
|
-
const
|
|
5366
|
+
const ms = 0.2, hs = 0.14, gs = 0.12;
|
|
5358
5367
|
function te(...e) {
|
|
5359
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
5368
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ms})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${hs})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gs})`].join(",");
|
|
5360
5369
|
}
|
|
5361
|
-
const
|
|
5370
|
+
const ys = ["none", te(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), te(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), te(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), te(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), te(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), te(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), te(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), te(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), te(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), te(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), te(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), te(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), te(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), te(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), te(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), te(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), te(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), te(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), te(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), te(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), te(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), te(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), te(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), te(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], bs = {
|
|
5362
5371
|
// This is the most common easing curve.
|
|
5363
5372
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
5364
5373
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -5368,7 +5377,7 @@ const hs = ["none", te(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), te(0, 3, 1, -2, 0,
|
|
|
5368
5377
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
5369
5378
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
5370
5379
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
5371
|
-
},
|
|
5380
|
+
}, As = {
|
|
5372
5381
|
shortest: 150,
|
|
5373
5382
|
shorter: 200,
|
|
5374
5383
|
short: 250,
|
|
@@ -5384,22 +5393,22 @@ const hs = ["none", te(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), te(0, 3, 1, -2, 0,
|
|
|
5384
5393
|
function sn(e) {
|
|
5385
5394
|
return `${Math.round(e)}ms`;
|
|
5386
5395
|
}
|
|
5387
|
-
function
|
|
5396
|
+
function vs(e) {
|
|
5388
5397
|
if (!e)
|
|
5389
5398
|
return 0;
|
|
5390
5399
|
const r = e / 36;
|
|
5391
5400
|
return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
|
|
5392
5401
|
}
|
|
5393
|
-
function
|
|
5402
|
+
function Ss(e) {
|
|
5394
5403
|
const r = {
|
|
5395
|
-
...
|
|
5404
|
+
...bs,
|
|
5396
5405
|
...e.easing
|
|
5397
5406
|
}, t = {
|
|
5398
|
-
...
|
|
5407
|
+
...As,
|
|
5399
5408
|
...e.duration
|
|
5400
5409
|
};
|
|
5401
5410
|
return {
|
|
5402
|
-
getAutoHeightDuration:
|
|
5411
|
+
getAutoHeightDuration: vs,
|
|
5403
5412
|
create: (o = ["all"], a = {}) => {
|
|
5404
5413
|
const {
|
|
5405
5414
|
duration: s = t.standard,
|
|
@@ -5419,7 +5428,7 @@ function As(e) {
|
|
|
5419
5428
|
duration: t
|
|
5420
5429
|
};
|
|
5421
5430
|
}
|
|
5422
|
-
const
|
|
5431
|
+
const xs = {
|
|
5423
5432
|
mobileStepper: 1e3,
|
|
5424
5433
|
fab: 1050,
|
|
5425
5434
|
speedDial: 1050,
|
|
@@ -5429,8 +5438,8 @@ const vs = {
|
|
|
5429
5438
|
snackbar: 1400,
|
|
5430
5439
|
tooltip: 1500
|
|
5431
5440
|
};
|
|
5432
|
-
function
|
|
5433
|
-
return
|
|
5441
|
+
function ws(e) {
|
|
5442
|
+
return ke(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
5434
5443
|
}
|
|
5435
5444
|
function Hn(e = {}) {
|
|
5436
5445
|
const r = {
|
|
@@ -5440,7 +5449,7 @@ function Hn(e = {}) {
|
|
|
5440
5449
|
const o = Object.entries(n);
|
|
5441
5450
|
for (let a = 0; a < o.length; a++) {
|
|
5442
5451
|
const [s, u] = o[a];
|
|
5443
|
-
!
|
|
5452
|
+
!ws(u) || s.startsWith("unstable_") ? delete n[s] : ke(u) && (n[s] = {
|
|
5444
5453
|
...u
|
|
5445
5454
|
}, t(n[s]));
|
|
5446
5455
|
}
|
|
@@ -5457,7 +5466,7 @@ export default theme;`;
|
|
|
5457
5466
|
function cn(e) {
|
|
5458
5467
|
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
5459
5468
|
}
|
|
5460
|
-
const
|
|
5469
|
+
const Es = (e) => {
|
|
5461
5470
|
if (!Number.isNaN(+e))
|
|
5462
5471
|
return +e;
|
|
5463
5472
|
const r = e.match(/\d*\.?\d+/g);
|
|
@@ -5468,11 +5477,11 @@ const xs = (e) => {
|
|
|
5468
5477
|
t += +r[n];
|
|
5469
5478
|
return t;
|
|
5470
5479
|
};
|
|
5471
|
-
function
|
|
5480
|
+
function Cs(e) {
|
|
5472
5481
|
Object.assign(e, {
|
|
5473
5482
|
alpha(r, t) {
|
|
5474
5483
|
const n = this || e;
|
|
5475
|
-
return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Vn(r,
|
|
5484
|
+
return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Vn(r, Es(t));
|
|
5476
5485
|
},
|
|
5477
5486
|
lighten(r, t) {
|
|
5478
5487
|
const n = this || e;
|
|
@@ -5505,38 +5514,38 @@ function pt(e = {}, ...r) {
|
|
|
5505
5514
|
colorSpace: g
|
|
5506
5515
|
}), w = Mn(e);
|
|
5507
5516
|
let h = me(w, {
|
|
5508
|
-
mixins:
|
|
5517
|
+
mixins: ds(w.breakpoints, n),
|
|
5509
5518
|
palette: E,
|
|
5510
5519
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
5511
|
-
shadows:
|
|
5512
|
-
typography:
|
|
5513
|
-
transitions:
|
|
5520
|
+
shadows: ys.slice(),
|
|
5521
|
+
typography: ps(E, u),
|
|
5522
|
+
transitions: Ss(s),
|
|
5514
5523
|
zIndex: {
|
|
5515
|
-
...
|
|
5524
|
+
...xs
|
|
5516
5525
|
}
|
|
5517
5526
|
});
|
|
5518
5527
|
if (h = me(h, x), h = r.reduce((C, p) => me(C, p), h), process.env.NODE_ENV !== "production") {
|
|
5519
|
-
const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (
|
|
5528
|
+
const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], p = (k, U) => {
|
|
5520
5529
|
let V;
|
|
5521
|
-
for (V in
|
|
5522
|
-
const B =
|
|
5530
|
+
for (V in k) {
|
|
5531
|
+
const B = k[V];
|
|
5523
5532
|
if (C.includes(V) && Object.keys(B).length > 0) {
|
|
5524
5533
|
if (process.env.NODE_ENV !== "production") {
|
|
5525
5534
|
const $ = vt("", V);
|
|
5526
|
-
console.error([`MUI: The \`${
|
|
5535
|
+
console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${V}\` internal state.`, "You can not override it like this: ", JSON.stringify(k, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
5527
5536
|
root: {
|
|
5528
5537
|
[`&.${$}`]: B
|
|
5529
5538
|
}
|
|
5530
5539
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
5531
5540
|
`));
|
|
5532
5541
|
}
|
|
5533
|
-
|
|
5542
|
+
k[V] = {};
|
|
5534
5543
|
}
|
|
5535
5544
|
}
|
|
5536
5545
|
};
|
|
5537
|
-
Object.keys(h.components).forEach((
|
|
5538
|
-
const
|
|
5539
|
-
|
|
5546
|
+
Object.keys(h.components).forEach((k) => {
|
|
5547
|
+
const U = h.components[k].styleOverrides;
|
|
5548
|
+
U && k.startsWith("Mui") && p(U, k);
|
|
5540
5549
|
});
|
|
5541
5550
|
}
|
|
5542
5551
|
return h.unstable_sxConfig = {
|
|
@@ -5547,16 +5556,16 @@ function pt(e = {}, ...r) {
|
|
|
5547
5556
|
sx: p,
|
|
5548
5557
|
theme: this
|
|
5549
5558
|
});
|
|
5550
|
-
}, h.toRuntimeSource = Hn,
|
|
5559
|
+
}, h.toRuntimeSource = Hn, Cs(h), h;
|
|
5551
5560
|
}
|
|
5552
|
-
function
|
|
5561
|
+
function ks(e) {
|
|
5553
5562
|
let r;
|
|
5554
5563
|
return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
|
|
5555
5564
|
}
|
|
5556
|
-
const
|
|
5565
|
+
const Ts = [...Array(25)].map((e, r) => {
|
|
5557
5566
|
if (r === 0)
|
|
5558
5567
|
return "none";
|
|
5559
|
-
const t =
|
|
5568
|
+
const t = ks(r);
|
|
5560
5569
|
return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
|
|
5561
5570
|
});
|
|
5562
5571
|
function Kn(e) {
|
|
@@ -5568,9 +5577,9 @@ function Kn(e) {
|
|
|
5568
5577
|
};
|
|
5569
5578
|
}
|
|
5570
5579
|
function Qn(e) {
|
|
5571
|
-
return e === "dark" ?
|
|
5580
|
+
return e === "dark" ? Ts : [];
|
|
5572
5581
|
}
|
|
5573
|
-
function
|
|
5582
|
+
function _s(e) {
|
|
5574
5583
|
const {
|
|
5575
5584
|
palette: r = {
|
|
5576
5585
|
mode: "light"
|
|
@@ -5594,18 +5603,18 @@ function Ts(e) {
|
|
|
5594
5603
|
...a
|
|
5595
5604
|
};
|
|
5596
5605
|
}
|
|
5597
|
-
function
|
|
5606
|
+
function Rs(e) {
|
|
5598
5607
|
var r;
|
|
5599
5608
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
5600
5609
|
e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
5601
5610
|
}
|
|
5602
|
-
const
|
|
5611
|
+
const Os = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Is = (e) => (r, t) => {
|
|
5603
5612
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
5604
5613
|
let a = o;
|
|
5605
5614
|
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
|
|
5606
5615
|
if (r === "dark") {
|
|
5607
5616
|
const s = {};
|
|
5608
|
-
return
|
|
5617
|
+
return Os(e.cssVarPrefix).forEach((u) => {
|
|
5609
5618
|
s[u] = t[u], delete t[u];
|
|
5610
5619
|
}), a === "media" ? {
|
|
5611
5620
|
[n]: t,
|
|
@@ -5636,7 +5645,7 @@ const _s = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlay
|
|
|
5636
5645
|
}
|
|
5637
5646
|
return n;
|
|
5638
5647
|
};
|
|
5639
|
-
function
|
|
5648
|
+
function Ps(e, r) {
|
|
5640
5649
|
r.forEach((t) => {
|
|
5641
5650
|
e[t] || (e[t] = {});
|
|
5642
5651
|
});
|
|
@@ -5651,7 +5660,7 @@ function Ce(e, r) {
|
|
|
5651
5660
|
`${r}Channel` in e || (e[`${r}Channel`] = ar(ir(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
5652
5661
|
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
5653
5662
|
}
|
|
5654
|
-
function
|
|
5663
|
+
function js(e) {
|
|
5655
5664
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
5656
5665
|
}
|
|
5657
5666
|
const Ae = (e) => {
|
|
@@ -5659,14 +5668,14 @@ const Ae = (e) => {
|
|
|
5659
5668
|
return e();
|
|
5660
5669
|
} catch {
|
|
5661
5670
|
}
|
|
5662
|
-
},
|
|
5671
|
+
}, $s = (e = "mui") => qi(e);
|
|
5663
5672
|
function et(e, r, t, n, o) {
|
|
5664
5673
|
if (!t)
|
|
5665
5674
|
return;
|
|
5666
5675
|
t = t === !0 ? {} : t;
|
|
5667
5676
|
const a = o === "dark" ? "dark" : "light";
|
|
5668
5677
|
if (!n) {
|
|
5669
|
-
r[o] =
|
|
5678
|
+
r[o] = _s({
|
|
5670
5679
|
...t,
|
|
5671
5680
|
palette: {
|
|
5672
5681
|
mode: a,
|
|
@@ -5697,7 +5706,7 @@ function et(e, r, t, n, o) {
|
|
|
5697
5706
|
overlays: (t == null ? void 0 : t.overlays) || Qn(a)
|
|
5698
5707
|
}, u;
|
|
5699
5708
|
}
|
|
5700
|
-
function
|
|
5709
|
+
function Ms(e = {}, ...r) {
|
|
5701
5710
|
const {
|
|
5702
5711
|
colorSchemes: t = {
|
|
5703
5712
|
light: !0
|
|
@@ -5706,17 +5715,17 @@ function js(e = {}, ...r) {
|
|
|
5706
5715
|
disableCssColorScheme: o = !1,
|
|
5707
5716
|
cssVarPrefix: a = "mui",
|
|
5708
5717
|
nativeColor: s = !1,
|
|
5709
|
-
shouldSkipGeneratingVar: u =
|
|
5718
|
+
shouldSkipGeneratingVar: u = Rs,
|
|
5710
5719
|
colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
|
|
5711
5720
|
rootSelector: g = ":root",
|
|
5712
5721
|
...x
|
|
5713
|
-
} = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E), h =
|
|
5722
|
+
} = e, E = Object.keys(t)[0], w = n || (t.light && E !== "light" ? "light" : E), h = $s(a), {
|
|
5714
5723
|
[w]: C,
|
|
5715
5724
|
light: p,
|
|
5716
|
-
dark:
|
|
5717
|
-
...
|
|
5725
|
+
dark: k,
|
|
5726
|
+
...U
|
|
5718
5727
|
} = t, V = {
|
|
5719
|
-
...
|
|
5728
|
+
...U
|
|
5720
5729
|
};
|
|
5721
5730
|
let B = C;
|
|
5722
5731
|
if ((w === "dark" && !("dark" in t) || w === "light" && !("light" in t)) && (B = !0), !B)
|
|
@@ -5724,7 +5733,7 @@ function js(e = {}, ...r) {
|
|
|
5724
5733
|
let $;
|
|
5725
5734
|
s && ($ = "oklch");
|
|
5726
5735
|
const _ = et($, V, B, x, w);
|
|
5727
|
-
p && !V.light && et($, V, p, void 0, "light"),
|
|
5736
|
+
p && !V.light && et($, V, p, void 0, "light"), k && !V.dark && et($, V, k, void 0, "dark");
|
|
5728
5737
|
let L = {
|
|
5729
5738
|
defaultColorScheme: w,
|
|
5730
5739
|
..._,
|
|
@@ -5734,55 +5743,55 @@ function js(e = {}, ...r) {
|
|
|
5734
5743
|
getCssVar: h,
|
|
5735
5744
|
colorSchemes: V,
|
|
5736
5745
|
font: {
|
|
5737
|
-
...
|
|
5746
|
+
...us(_.typography),
|
|
5738
5747
|
..._.font
|
|
5739
5748
|
},
|
|
5740
|
-
spacing:
|
|
5749
|
+
spacing: js(x.spacing)
|
|
5741
5750
|
};
|
|
5742
5751
|
Object.keys(L.colorSchemes).forEach((H) => {
|
|
5743
|
-
const l = L.colorSchemes[H].palette, M = (
|
|
5744
|
-
const D =
|
|
5745
|
-
return h(
|
|
5752
|
+
const l = L.colorSchemes[H].palette, M = (N) => {
|
|
5753
|
+
const D = N.split("-"), J = D[1], ne = D[2];
|
|
5754
|
+
return h(N, l[J][ne]);
|
|
5746
5755
|
};
|
|
5747
5756
|
l.mode === "light" && (S(l.common, "background", "#fff"), S(l.common, "onBackground", "#000")), l.mode === "dark" && (S(l.common, "background", "#000"), S(l.common, "onBackground", "#fff"));
|
|
5748
|
-
function O(
|
|
5757
|
+
function O(N, D, J) {
|
|
5749
5758
|
if ($) {
|
|
5750
5759
|
let ne;
|
|
5751
|
-
return
|
|
5760
|
+
return N === Ue && (ne = `transparent ${((1 - J) * 100).toFixed(0)}%`), N === q && (ne = `#000 ${(J * 100).toFixed(0)}%`), N === Z && (ne = `#fff ${(J * 100).toFixed(0)}%`), `color-mix(in ${$}, ${D}, ${ne})`;
|
|
5752
5761
|
}
|
|
5753
|
-
return
|
|
5762
|
+
return N(D, J);
|
|
5754
5763
|
}
|
|
5755
|
-
if (
|
|
5756
|
-
S(l.Alert, "errorColor", O(q, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(q, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(q, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(q, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-main")), S(l.Alert, "infoFilledBg", M("palette-info-main")), S(l.Alert, "successFilledBg", M("palette-success-main")), S(l.Alert, "warningFilledBg", M("palette-warning-main")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.main))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.main))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.main))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.main))), S(l.Alert, "errorStandardBg", O(Z, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(Z, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(Z, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-100")), S(l.Avatar, "defaultBg", M("palette-grey-400")), S(l.Button, "inheritContainedBg", M("palette-grey-300")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(l.Chip, "defaultBorder", M("palette-grey-400")), S(l.Chip, "defaultAvatarColor", M("palette-grey-700")), S(l.Chip, "defaultIconColor", M("palette-grey-700")), S(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(l.LinearProgress, "primaryBg", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.LinearProgress, "secondaryBg", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.LinearProgress, "errorBg", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.LinearProgress, "infoBg", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.LinearProgress, "successBg", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.LinearProgress, "warningBg", O(Z, s ? h("palette-warning-light") : l.warning.main, 0.62)), S(l.Skeleton, "bg", $ ? O(
|
|
5757
|
-
const
|
|
5758
|
-
S(l.SnackbarContent, "bg",
|
|
5764
|
+
if (Ps(l, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), l.mode === "light") {
|
|
5765
|
+
S(l.Alert, "errorColor", O(q, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(q, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(q, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(q, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-main")), S(l.Alert, "infoFilledBg", M("palette-info-main")), S(l.Alert, "successFilledBg", M("palette-success-main")), S(l.Alert, "warningFilledBg", M("palette-warning-main")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.main))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.main))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.main))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.main))), S(l.Alert, "errorStandardBg", O(Z, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(Z, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(Z, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-100")), S(l.Avatar, "defaultBg", M("palette-grey-400")), S(l.Button, "inheritContainedBg", M("palette-grey-300")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-A100")), S(l.Chip, "defaultBorder", M("palette-grey-400")), S(l.Chip, "defaultAvatarColor", M("palette-grey-700")), S(l.Chip, "defaultIconColor", M("palette-grey-700")), S(l.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(l.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(l.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(l.LinearProgress, "primaryBg", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.LinearProgress, "secondaryBg", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.LinearProgress, "errorBg", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.LinearProgress, "infoBg", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.LinearProgress, "successBg", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.LinearProgress, "warningBg", O(Z, s ? h("palette-warning-light") : l.warning.main, 0.62)), S(l.Skeleton, "bg", $ ? O(Ue, s ? h("palette-text-primary") : l.text.primary, 0.11) : `rgba(${M("palette-text-primaryChannel")} / 0.11)`), S(l.Slider, "primaryTrack", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.Slider, "secondaryTrack", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Slider, "errorTrack", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.Slider, "infoTrack", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.Slider, "successTrack", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.Slider, "warningTrack", O(Z, s ? h("palette-warning-main") : l.warning.main, 0.62));
|
|
5766
|
+
const N = $ ? O(q, s ? h("palette-background-default") : l.background.default, 0.6825) : yr(l.background.default, 0.8);
|
|
5767
|
+
S(l.SnackbarContent, "bg", N), S(l.SnackbarContent, "color", Ae(() => $ ? ft.text.primary : l.getContrastText(N))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-400")), S(l.StepContent, "border", M("palette-grey-400")), S(l.Switch, "defaultColor", M("palette-common-white")), S(l.Switch, "defaultDisabledColor", M("palette-grey-100")), S(l.Switch, "primaryDisabledColor", O(Z, s ? h("palette-primary-main") : l.primary.main, 0.62)), S(l.Switch, "secondaryDisabledColor", O(Z, s ? h("palette-secondary-main") : l.secondary.main, 0.62)), S(l.Switch, "errorDisabledColor", O(Z, s ? h("palette-error-main") : l.error.main, 0.62)), S(l.Switch, "infoDisabledColor", O(Z, s ? h("palette-info-main") : l.info.main, 0.62)), S(l.Switch, "successDisabledColor", O(Z, s ? h("palette-success-main") : l.success.main, 0.62)), S(l.Switch, "warningDisabledColor", O(Z, s ? h("palette-warning-main") : l.warning.main, 0.62)), S(l.TableCell, "border", O(Z, Ue(s ? h("palette-divider") : l.divider, 1), 0.88)), S(l.Tooltip, "bg", O(Ue, s ? h("palette-grey-700") : l.grey[700], 0.92));
|
|
5759
5768
|
}
|
|
5760
5769
|
if (l.mode === "dark") {
|
|
5761
|
-
S(l.Alert, "errorColor", O(Z, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(Z, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(Z, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-dark")), S(l.Alert, "infoFilledBg", M("palette-info-dark")), S(l.Alert, "successFilledBg", M("palette-success-dark")), S(l.Alert, "warningFilledBg", M("palette-warning-dark")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.dark))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.dark))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.dark))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.dark))), S(l.Alert, "errorStandardBg", O(q, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(q, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(q, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(q, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-900")), S(l.AppBar, "darkBg", M("palette-background-paper")), S(l.AppBar, "darkColor", M("palette-text-primary")), S(l.Avatar, "defaultBg", M("palette-grey-600")), S(l.Button, "inheritContainedBg", M("palette-grey-800")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(l.Chip, "defaultBorder", M("palette-grey-700")), S(l.Chip, "defaultAvatarColor", M("palette-grey-300")), S(l.Chip, "defaultIconColor", M("palette-grey-300")), S(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(l.LinearProgress, "primaryBg", O(q, s ? h("palette-primary-main") : l.primary.main, 0.5)), S(l.LinearProgress, "secondaryBg", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.5)), S(l.LinearProgress, "errorBg", O(q, s ? h("palette-error-main") : l.error.main, 0.5)), S(l.LinearProgress, "infoBg", O(q, s ? h("palette-info-main") : l.info.main, 0.5)), S(l.LinearProgress, "successBg", O(q, s ? h("palette-success-main") : l.success.main, 0.5)), S(l.LinearProgress, "warningBg", O(q, s ? h("palette-warning-main") : l.warning.main, 0.5)), S(l.Skeleton, "bg", $ ? O(
|
|
5762
|
-
const
|
|
5763
|
-
S(l.SnackbarContent, "bg",
|
|
5770
|
+
S(l.Alert, "errorColor", O(Z, s ? h("palette-error-light") : l.error.light, 0.6)), S(l.Alert, "infoColor", O(Z, s ? h("palette-info-light") : l.info.light, 0.6)), S(l.Alert, "successColor", O(Z, s ? h("palette-success-light") : l.success.light, 0.6)), S(l.Alert, "warningColor", O(Z, s ? h("palette-warning-light") : l.warning.light, 0.6)), S(l.Alert, "errorFilledBg", M("palette-error-dark")), S(l.Alert, "infoFilledBg", M("palette-info-dark")), S(l.Alert, "successFilledBg", M("palette-success-dark")), S(l.Alert, "warningFilledBg", M("palette-warning-dark")), S(l.Alert, "errorFilledColor", Ae(() => l.getContrastText(l.error.dark))), S(l.Alert, "infoFilledColor", Ae(() => l.getContrastText(l.info.dark))), S(l.Alert, "successFilledColor", Ae(() => l.getContrastText(l.success.dark))), S(l.Alert, "warningFilledColor", Ae(() => l.getContrastText(l.warning.dark))), S(l.Alert, "errorStandardBg", O(q, s ? h("palette-error-light") : l.error.light, 0.9)), S(l.Alert, "infoStandardBg", O(q, s ? h("palette-info-light") : l.info.light, 0.9)), S(l.Alert, "successStandardBg", O(q, s ? h("palette-success-light") : l.success.light, 0.9)), S(l.Alert, "warningStandardBg", O(q, s ? h("palette-warning-light") : l.warning.light, 0.9)), S(l.Alert, "errorIconColor", M("palette-error-main")), S(l.Alert, "infoIconColor", M("palette-info-main")), S(l.Alert, "successIconColor", M("palette-success-main")), S(l.Alert, "warningIconColor", M("palette-warning-main")), S(l.AppBar, "defaultBg", M("palette-grey-900")), S(l.AppBar, "darkBg", M("palette-background-paper")), S(l.AppBar, "darkColor", M("palette-text-primary")), S(l.Avatar, "defaultBg", M("palette-grey-600")), S(l.Button, "inheritContainedBg", M("palette-grey-800")), S(l.Button, "inheritContainedHoverBg", M("palette-grey-700")), S(l.Chip, "defaultBorder", M("palette-grey-700")), S(l.Chip, "defaultAvatarColor", M("palette-grey-300")), S(l.Chip, "defaultIconColor", M("palette-grey-300")), S(l.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(l.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(l.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(l.LinearProgress, "primaryBg", O(q, s ? h("palette-primary-main") : l.primary.main, 0.5)), S(l.LinearProgress, "secondaryBg", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.5)), S(l.LinearProgress, "errorBg", O(q, s ? h("palette-error-main") : l.error.main, 0.5)), S(l.LinearProgress, "infoBg", O(q, s ? h("palette-info-main") : l.info.main, 0.5)), S(l.LinearProgress, "successBg", O(q, s ? h("palette-success-main") : l.success.main, 0.5)), S(l.LinearProgress, "warningBg", O(q, s ? h("palette-warning-main") : l.warning.main, 0.5)), S(l.Skeleton, "bg", $ ? O(Ue, s ? h("palette-text-primary") : l.text.primary, 0.13) : `rgba(${M("palette-text-primaryChannel")} / 0.13)`), S(l.Slider, "primaryTrack", O(q, s ? h("palette-primary-main") : l.primary.main, 0.5)), S(l.Slider, "secondaryTrack", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.5)), S(l.Slider, "errorTrack", O(q, s ? h("palette-error-main") : l.error.main, 0.5)), S(l.Slider, "infoTrack", O(q, s ? h("palette-info-main") : l.info.main, 0.5)), S(l.Slider, "successTrack", O(q, s ? h("palette-success-main") : l.success.main, 0.5)), S(l.Slider, "warningTrack", O(q, s ? h("palette-warning-light") : l.warning.main, 0.5));
|
|
5771
|
+
const N = $ ? O(Z, s ? h("palette-background-default") : l.background.default, 0.985) : yr(l.background.default, 0.98);
|
|
5772
|
+
S(l.SnackbarContent, "bg", N), S(l.SnackbarContent, "color", Ae(() => $ ? zn.text.primary : l.getContrastText(N))), S(l.SpeedDialAction, "fabHoverBg", yr(l.background.paper, 0.15)), S(l.StepConnector, "border", M("palette-grey-600")), S(l.StepContent, "border", M("palette-grey-600")), S(l.Switch, "defaultColor", M("palette-grey-300")), S(l.Switch, "defaultDisabledColor", M("palette-grey-600")), S(l.Switch, "primaryDisabledColor", O(q, s ? h("palette-primary-main") : l.primary.main, 0.55)), S(l.Switch, "secondaryDisabledColor", O(q, s ? h("palette-secondary-main") : l.secondary.main, 0.55)), S(l.Switch, "errorDisabledColor", O(q, s ? h("palette-error-main") : l.error.main, 0.55)), S(l.Switch, "infoDisabledColor", O(q, s ? h("palette-info-main") : l.info.main, 0.55)), S(l.Switch, "successDisabledColor", O(q, s ? h("palette-success-main") : l.success.main, 0.55)), S(l.Switch, "warningDisabledColor", O(q, s ? h("palette-warning-light") : l.warning.main, 0.55)), S(l.TableCell, "border", O(q, Ue(s ? h("palette-divider") : l.divider, 1), 0.68)), S(l.Tooltip, "bg", O(Ue, s ? h("palette-grey-700") : l.grey[700], 0.92));
|
|
5764
5773
|
}
|
|
5765
|
-
Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((
|
|
5766
|
-
const D = l[
|
|
5767
|
-
|
|
5774
|
+
Ce(l.background, "default"), Ce(l.background, "paper"), Ce(l.common, "background"), Ce(l.common, "onBackground"), Ce(l, "divider"), Object.keys(l).forEach((N) => {
|
|
5775
|
+
const D = l[N];
|
|
5776
|
+
N !== "tonalOffset" && D && typeof D == "object" && (D.main && S(l[N], "mainChannel", ar(ir(D.main))), D.light && S(l[N], "lightChannel", ar(ir(D.light))), D.dark && S(l[N], "darkChannel", ar(ir(D.dark))), D.contrastText && S(l[N], "contrastTextChannel", ar(ir(D.contrastText))), N === "text" && (Ce(l[N], "primary"), Ce(l[N], "secondary")), N === "action" && (D.active && Ce(l[N], "active"), D.selected && Ce(l[N], "selected")));
|
|
5768
5777
|
});
|
|
5769
5778
|
}), L = r.reduce((H, l) => me(H, l), L);
|
|
5770
5779
|
const W = {
|
|
5771
5780
|
prefix: a,
|
|
5772
5781
|
disableCssColorScheme: o,
|
|
5773
5782
|
shouldSkipGeneratingVar: u,
|
|
5774
|
-
getSelector:
|
|
5783
|
+
getSelector: Is(L),
|
|
5775
5784
|
enableContrastVars: s
|
|
5776
5785
|
}, {
|
|
5777
5786
|
vars: F,
|
|
5778
5787
|
generateThemeVars: X,
|
|
5779
5788
|
generateStyleSheets: se
|
|
5780
|
-
} =
|
|
5789
|
+
} = es(L, W);
|
|
5781
5790
|
return L.vars = F, Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([H, l]) => {
|
|
5782
5791
|
L[H] = l;
|
|
5783
5792
|
}), L.generateThemeVars = X, L.generateStyleSheets = se, L.generateSpacing = function() {
|
|
5784
5793
|
return $n(x.spacing, bt(this));
|
|
5785
|
-
}, L.getColorSchemeSelector =
|
|
5794
|
+
}, L.getColorSchemeSelector = rs(f), L.spacing = L.generateSpacing(), L.shouldSkipGeneratingVar = u, L.unstable_sxConfig = {
|
|
5786
5795
|
...Dr,
|
|
5787
5796
|
...x == null ? void 0 : x.unstable_sxConfig
|
|
5788
5797
|
}, L.unstable_sx = function(l) {
|
|
@@ -5802,7 +5811,7 @@ function ln(e, r, t) {
|
|
|
5802
5811
|
// cast type to skip module augmentation test
|
|
5803
5812
|
});
|
|
5804
5813
|
}
|
|
5805
|
-
function
|
|
5814
|
+
function Ls(e = {}, ...r) {
|
|
5806
5815
|
const {
|
|
5807
5816
|
palette: t,
|
|
5808
5817
|
cssVariables: n = !1,
|
|
@@ -5839,31 +5848,31 @@ function $s(e = {}, ...r) {
|
|
|
5839
5848
|
palette: E.palette
|
|
5840
5849
|
}, ln(E, "light", g.light)), E;
|
|
5841
5850
|
}
|
|
5842
|
-
return !t && !("light" in g) && u === "light" && (g.light = !0),
|
|
5851
|
+
return !t && !("light" in g) && u === "light" && (g.light = !0), Ms({
|
|
5843
5852
|
...s,
|
|
5844
5853
|
colorSchemes: g,
|
|
5845
5854
|
defaultColorScheme: u,
|
|
5846
5855
|
...typeof n != "boolean" && n
|
|
5847
5856
|
}, ...r);
|
|
5848
5857
|
}
|
|
5849
|
-
const
|
|
5850
|
-
function
|
|
5858
|
+
const Us = Ls(), Ns = "$$material";
|
|
5859
|
+
function Ds(e) {
|
|
5851
5860
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
5852
5861
|
}
|
|
5853
|
-
const
|
|
5854
|
-
themeId:
|
|
5855
|
-
defaultTheme:
|
|
5856
|
-
rootShouldForwardProp:
|
|
5857
|
-
}),
|
|
5862
|
+
const Bs = (e) => Ds(e) && e !== "classes", Vs = Ni({
|
|
5863
|
+
themeId: Ns,
|
|
5864
|
+
defaultTheme: Us,
|
|
5865
|
+
rootShouldForwardProp: Bs
|
|
5866
|
+
}), Fs = Yi;
|
|
5858
5867
|
process.env.NODE_ENV !== "production" && (Q.node, Q.object.isRequired);
|
|
5859
|
-
function
|
|
5860
|
-
return
|
|
5868
|
+
function zs(e) {
|
|
5869
|
+
return Gi(e);
|
|
5861
5870
|
}
|
|
5862
|
-
function
|
|
5871
|
+
function Ws(e) {
|
|
5863
5872
|
return vt("MuiSvgIcon", e);
|
|
5864
5873
|
}
|
|
5865
|
-
|
|
5866
|
-
const
|
|
5874
|
+
ji("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
5875
|
+
const Hs = (e) => {
|
|
5867
5876
|
const {
|
|
5868
5877
|
color: r,
|
|
5869
5878
|
fontSize: t,
|
|
@@ -5871,8 +5880,8 @@ const zs = (e) => {
|
|
|
5871
5880
|
} = e, o = {
|
|
5872
5881
|
root: ["root", r !== "inherit" && `color${ze(r)}`, `fontSize${ze(t)}`]
|
|
5873
5882
|
};
|
|
5874
|
-
return
|
|
5875
|
-
},
|
|
5883
|
+
return Ea(o, Ws, n);
|
|
5884
|
+
}, Ks = Vs("svg", {
|
|
5876
5885
|
name: "MuiSvgIcon",
|
|
5877
5886
|
slot: "Root",
|
|
5878
5887
|
overridesResolver: (e, r) => {
|
|
@@ -5881,7 +5890,7 @@ const zs = (e) => {
|
|
|
5881
5890
|
} = e;
|
|
5882
5891
|
return [r.root, t.color !== "inherit" && r[`color${ze(t.color)}`], r[`fontSize${ze(t.fontSize)}`]];
|
|
5883
5892
|
}
|
|
5884
|
-
})(
|
|
5893
|
+
})(Fs(({
|
|
5885
5894
|
theme: e
|
|
5886
5895
|
}) => {
|
|
5887
5896
|
var r, t, n, o, a, s, u, f, g, x, E, w, h, C;
|
|
@@ -5937,13 +5946,13 @@ const zs = (e) => {
|
|
|
5937
5946
|
},
|
|
5938
5947
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
5939
5948
|
...Object.entries((e.vars ?? e).palette).filter(([, p]) => p && p.main).map(([p]) => {
|
|
5940
|
-
var
|
|
5949
|
+
var k, U;
|
|
5941
5950
|
return {
|
|
5942
5951
|
props: {
|
|
5943
5952
|
color: p
|
|
5944
5953
|
},
|
|
5945
5954
|
style: {
|
|
5946
|
-
color: (
|
|
5955
|
+
color: (U = (k = (e.vars ?? e).palette) == null ? void 0 : k[p]) == null ? void 0 : U.main
|
|
5947
5956
|
}
|
|
5948
5957
|
};
|
|
5949
5958
|
}),
|
|
@@ -5973,8 +5982,8 @@ const zs = (e) => {
|
|
|
5973
5982
|
}
|
|
5974
5983
|
]
|
|
5975
5984
|
};
|
|
5976
|
-
})),
|
|
5977
|
-
const n =
|
|
5985
|
+
})), kr = /* @__PURE__ */ $e.forwardRef(function(r, t) {
|
|
5986
|
+
const n = zs({
|
|
5978
5987
|
props: r,
|
|
5979
5988
|
name: "MuiSvgIcon"
|
|
5980
5989
|
}), {
|
|
@@ -5997,18 +6006,18 @@ const zs = (e) => {
|
|
|
5997
6006
|
inheritViewBox: x,
|
|
5998
6007
|
viewBox: w,
|
|
5999
6008
|
hasSvgAsChild: C
|
|
6000
|
-
},
|
|
6001
|
-
x || (
|
|
6002
|
-
const
|
|
6003
|
-
return /* @__PURE__ */ d.jsxs(
|
|
6009
|
+
}, k = {};
|
|
6010
|
+
x || (k.viewBox = w);
|
|
6011
|
+
const U = Hs(p);
|
|
6012
|
+
return /* @__PURE__ */ d.jsxs(Ks, {
|
|
6004
6013
|
as: u,
|
|
6005
|
-
className: On(
|
|
6014
|
+
className: On(U.root, a),
|
|
6006
6015
|
focusable: "false",
|
|
6007
6016
|
color: g,
|
|
6008
6017
|
"aria-hidden": E ? void 0 : !0,
|
|
6009
6018
|
role: E ? "img" : void 0,
|
|
6010
6019
|
ref: t,
|
|
6011
|
-
...
|
|
6020
|
+
...k,
|
|
6012
6021
|
...h,
|
|
6013
6022
|
...C && o.props,
|
|
6014
6023
|
ownerState: p,
|
|
@@ -6017,7 +6026,7 @@ const zs = (e) => {
|
|
|
6017
6026
|
}) : null]
|
|
6018
6027
|
});
|
|
6019
6028
|
});
|
|
6020
|
-
process.env.NODE_ENV !== "production" && (
|
|
6029
|
+
process.env.NODE_ENV !== "production" && (kr.propTypes = {
|
|
6021
6030
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
6022
6031
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
6023
6032
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -6089,33 +6098,33 @@ process.env.NODE_ENV !== "production" && (Tr.propTypes = {
|
|
|
6089
6098
|
*/
|
|
6090
6099
|
viewBox: Q.string
|
|
6091
6100
|
});
|
|
6092
|
-
|
|
6101
|
+
kr.muiName = "SvgIcon";
|
|
6093
6102
|
function Ee(e, r) {
|
|
6094
6103
|
function t(n, o) {
|
|
6095
|
-
return /* @__PURE__ */ d.jsx(
|
|
6104
|
+
return /* @__PURE__ */ d.jsx(kr, {
|
|
6096
6105
|
"data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
|
|
6097
6106
|
ref: o,
|
|
6098
6107
|
...n,
|
|
6099
6108
|
children: e
|
|
6100
6109
|
});
|
|
6101
6110
|
}
|
|
6102
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName =
|
|
6111
|
+
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = kr.muiName, /* @__PURE__ */ $e.memo(/* @__PURE__ */ $e.forwardRef(t));
|
|
6103
6112
|
}
|
|
6104
|
-
const
|
|
6113
|
+
const Qs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6105
6114
|
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"
|
|
6106
|
-
}), "AccountBoxOutlined"),
|
|
6115
|
+
}), "AccountBoxOutlined"), Js = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6107
6116
|
d: "m17 16-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5z"
|
|
6108
|
-
}), "DeviceHubOutlined"),
|
|
6117
|
+
}), "DeviceHubOutlined"), Gs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6109
6118
|
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"
|
|
6110
|
-
}), "FindInPageOutlined"),
|
|
6119
|
+
}), "FindInPageOutlined"), Ys = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6111
6120
|
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"
|
|
6112
6121
|
}), "HandshakeOutlined"), un = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6113
6122
|
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"
|
|
6114
|
-
}), "PaidOutlined"),
|
|
6123
|
+
}), "PaidOutlined"), qs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6115
6124
|
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"
|
|
6116
|
-
}), "RequestQuoteOutlined"),
|
|
6125
|
+
}), "RequestQuoteOutlined"), Zs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6117
6126
|
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"
|
|
6118
|
-
}), "SettingsOutlined"),
|
|
6127
|
+
}), "SettingsOutlined"), Xs = ht(
|
|
6119
6128
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6120
6129
|
"path",
|
|
6121
6130
|
{
|
|
@@ -6124,7 +6133,7 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6124
6133
|
}
|
|
6125
6134
|
) }),
|
|
6126
6135
|
"DresserIcono"
|
|
6127
|
-
),
|
|
6136
|
+
), ec = ht(
|
|
6128
6137
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6129
6138
|
"path",
|
|
6130
6139
|
{
|
|
@@ -6133,7 +6142,7 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6133
6142
|
}
|
|
6134
6143
|
) }),
|
|
6135
6144
|
"LoadIcono"
|
|
6136
|
-
),
|
|
6145
|
+
), rc = ht(
|
|
6137
6146
|
/* @__PURE__ */ d.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ d.jsx(
|
|
6138
6147
|
"path",
|
|
6139
6148
|
{
|
|
@@ -6149,7 +6158,7 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6149
6158
|
avatar: Symbol("cargando-toolbar/avatar"),
|
|
6150
6159
|
nombreApp: Symbol("cargando-toolbar/nombre-app"),
|
|
6151
6160
|
apps: Symbol("cargando-toolbar/apps")
|
|
6152
|
-
},
|
|
6161
|
+
}, tc = {
|
|
6153
6162
|
abrirApps: !1,
|
|
6154
6163
|
mostrarBotonDrawer: !1,
|
|
6155
6164
|
terminales: [],
|
|
@@ -6161,13 +6170,13 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6161
6170
|
id: "sigo-wms",
|
|
6162
6171
|
link: new URL("https://www.coordinadora.com"),
|
|
6163
6172
|
nombre: "WMS",
|
|
6164
|
-
icono:
|
|
6173
|
+
icono: Xs
|
|
6165
6174
|
},
|
|
6166
6175
|
{
|
|
6167
6176
|
id: "sigo-nysv2",
|
|
6168
6177
|
link: new URL("https://www.coordinadora.com"),
|
|
6169
6178
|
nombre: "NyS",
|
|
6170
|
-
icono:
|
|
6179
|
+
icono: Gs
|
|
6171
6180
|
},
|
|
6172
6181
|
{
|
|
6173
6182
|
id: "sigo-consolidacion",
|
|
@@ -6179,43 +6188,43 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6179
6188
|
id: "sigo-recogidas",
|
|
6180
6189
|
link: new URL("https://www.coordinadora.com"),
|
|
6181
6190
|
nombre: "Recogida",
|
|
6182
|
-
icono:
|
|
6191
|
+
icono: ec
|
|
6183
6192
|
},
|
|
6184
6193
|
{
|
|
6185
6194
|
id: "sigo-reparto",
|
|
6186
6195
|
link: new URL("https://www.coordinadora.com"),
|
|
6187
6196
|
nombre: "Reparto",
|
|
6188
|
-
icono:
|
|
6197
|
+
icono: rc
|
|
6189
6198
|
},
|
|
6190
6199
|
{
|
|
6191
6200
|
id: "sigo-configuracion",
|
|
6192
6201
|
link: new URL("https://www.coordinadora.com"),
|
|
6193
6202
|
nombre: "Configuración",
|
|
6194
|
-
icono:
|
|
6203
|
+
icono: Zs
|
|
6195
6204
|
},
|
|
6196
6205
|
{
|
|
6197
6206
|
id: "autorizaciones",
|
|
6198
6207
|
link: new URL("https://www.coordinadora.com"),
|
|
6199
6208
|
nombre: "Autorizaciones",
|
|
6200
|
-
icono:
|
|
6209
|
+
icono: Qs
|
|
6201
6210
|
},
|
|
6202
6211
|
{
|
|
6203
6212
|
id: "sigo-hub",
|
|
6204
6213
|
link: new URL("https://www.coordinadora.com"),
|
|
6205
6214
|
nombre: "Hub",
|
|
6206
|
-
icono:
|
|
6215
|
+
icono: Js
|
|
6207
6216
|
},
|
|
6208
6217
|
{
|
|
6209
6218
|
id: "sigo-legalizacion",
|
|
6210
6219
|
link: new URL("https://www.coordinadora.com"),
|
|
6211
6220
|
nombre: "Legalización",
|
|
6212
|
-
icono:
|
|
6221
|
+
icono: qs
|
|
6213
6222
|
},
|
|
6214
6223
|
{
|
|
6215
6224
|
id: "sigo-aliados",
|
|
6216
6225
|
link: new URL("https://www.coordinadora.com"),
|
|
6217
6226
|
nombre: "Acuerdos",
|
|
6218
|
-
icono:
|
|
6227
|
+
icono: Ys
|
|
6219
6228
|
},
|
|
6220
6229
|
{
|
|
6221
6230
|
id: "sigo-tracking",
|
|
@@ -6235,15 +6244,15 @@ const Hs = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
|
6235
6244
|
nombre: "Recolecciones y entregas",
|
|
6236
6245
|
icono: un
|
|
6237
6246
|
}
|
|
6238
|
-
],
|
|
6247
|
+
], nc = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6239
6248
|
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"
|
|
6240
6249
|
}), "ExitToAppOutlined"), We = Rr(() => ({
|
|
6241
|
-
...
|
|
6250
|
+
...tc,
|
|
6242
6251
|
setTerminal(e) {
|
|
6243
6252
|
localStorage.setItem("terminal", e.toString()), We.setState({ terminal: e });
|
|
6244
6253
|
}
|
|
6245
6254
|
}));
|
|
6246
|
-
function
|
|
6255
|
+
function oc(e) {
|
|
6247
6256
|
const r = e.terminalDeNomina;
|
|
6248
6257
|
if (typeof r != "number" || !Number.isFinite(r) || r < 0)
|
|
6249
6258
|
return null;
|
|
@@ -6264,14 +6273,14 @@ We.setState = ((e, r) => {
|
|
|
6264
6273
|
e,
|
|
6265
6274
|
r
|
|
6266
6275
|
);
|
|
6267
|
-
const t = We.getState(), n =
|
|
6276
|
+
const t = We.getState(), n = oc(t);
|
|
6268
6277
|
n && dn(n);
|
|
6269
6278
|
});
|
|
6270
|
-
const De = We, Re = We,
|
|
6279
|
+
const De = We, Re = We, ac = ({
|
|
6271
6280
|
onCerrarSesion: e,
|
|
6272
6281
|
acciones: r
|
|
6273
6282
|
}) => {
|
|
6274
|
-
const [t, n] =
|
|
6283
|
+
const [t, n] = Tr(null), [o] = je(we.general), [a] = je(we.avatar), s = Ze(
|
|
6275
6284
|
() => o || a,
|
|
6276
6285
|
[o, a]
|
|
6277
6286
|
), u = Re((w) => w.avatar), f = Re((w) => w.nombre), g = Ze(() => {
|
|
@@ -6330,7 +6339,7 @@ const De = We, Re = We, nc = ({
|
|
|
6330
6339
|
] });
|
|
6331
6340
|
}),
|
|
6332
6341
|
/* @__PURE__ */ d.jsxs(ot, { onClick: () => e == null ? void 0 : e(), children: [
|
|
6333
|
-
/* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(
|
|
6342
|
+
/* @__PURE__ */ d.jsx(Xe, { children: /* @__PURE__ */ d.jsx(nc, { sx: { transform: "rotate(180deg)" } }) }),
|
|
6334
6343
|
/* @__PURE__ */ d.jsx(
|
|
6335
6344
|
he,
|
|
6336
6345
|
{
|
|
@@ -6347,7 +6356,7 @@ const De = We, Re = We, nc = ({
|
|
|
6347
6356
|
}
|
|
6348
6357
|
)
|
|
6349
6358
|
] });
|
|
6350
|
-
},
|
|
6359
|
+
}, ic = () => {
|
|
6351
6360
|
const e = Re(
|
|
6352
6361
|
(n) => n.terminales.find((o) => n.terminal === o.codigo)
|
|
6353
6362
|
), r = ye(
|
|
@@ -6358,8 +6367,8 @@ const De = We, Re = We, nc = ({
|
|
|
6358
6367
|
() => [e, r],
|
|
6359
6368
|
[e, r]
|
|
6360
6369
|
);
|
|
6361
|
-
},
|
|
6362
|
-
const [e, r] =
|
|
6370
|
+
}, sc = () => {
|
|
6371
|
+
const [e, r] = ic(), t = Re((o) => o.terminales), n = ye(
|
|
6363
6372
|
(o) => {
|
|
6364
6373
|
r(Number(o.target.value));
|
|
6365
6374
|
},
|
|
@@ -6436,7 +6445,7 @@ const De = We, Re = We, nc = ({
|
|
|
6436
6445
|
)
|
|
6437
6446
|
}
|
|
6438
6447
|
);
|
|
6439
|
-
},
|
|
6448
|
+
}, cc = ({
|
|
6440
6449
|
acciones: e,
|
|
6441
6450
|
onCerrarSesion: r
|
|
6442
6451
|
}) => {
|
|
@@ -6472,16 +6481,16 @@ const De = We, Re = We, nc = ({
|
|
|
6472
6481
|
]
|
|
6473
6482
|
}
|
|
6474
6483
|
),
|
|
6475
|
-
/* @__PURE__ */ d.jsx(le, { width: 90, mb: -0.5, children: /* @__PURE__ */ d.jsx(
|
|
6484
|
+
/* @__PURE__ */ d.jsx(le, { width: 90, mb: -0.5, children: /* @__PURE__ */ d.jsx(sc, {}) })
|
|
6476
6485
|
] }) : /* @__PURE__ */ d.jsx(xe, { variant: "caption", children: "No se encontraron terminales" }) })
|
|
6477
6486
|
] }),
|
|
6478
|
-
/* @__PURE__ */ d.jsx(
|
|
6487
|
+
/* @__PURE__ */ d.jsx(ac, { acciones: e, onCerrarSesion: r })
|
|
6479
6488
|
] });
|
|
6480
|
-
},
|
|
6489
|
+
}, lc = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6481
6490
|
d: "M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"
|
|
6482
|
-
}), "Apps"),
|
|
6491
|
+
}), "Apps"), uc = Ee(/* @__PURE__ */ d.jsx("path", {
|
|
6483
6492
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
6484
|
-
}), "Menu"),
|
|
6493
|
+
}), "Menu"), dc = ({
|
|
6485
6494
|
apps: e = [],
|
|
6486
6495
|
nombreApp: r,
|
|
6487
6496
|
acciones: t,
|
|
@@ -6489,23 +6498,23 @@ const De = We, Re = We, nc = ({
|
|
|
6489
6498
|
idApp: o,
|
|
6490
6499
|
iconoApp: a
|
|
6491
6500
|
}) => {
|
|
6492
|
-
const s =
|
|
6493
|
-
(
|
|
6494
|
-
), [u] = je(we.apps), [f] = je(we.general), [g] = je(we.nombreApp), x = Be((
|
|
6495
|
-
(
|
|
6501
|
+
const s = kn(
|
|
6502
|
+
(U) => !!U.toolbar.length
|
|
6503
|
+
), [u] = je(we.apps), [f] = je(we.general), [g] = je(we.nombreApp), x = Be((U) => U.inhabilitado), E = Re((U) => U.abrirApps), w = Re(
|
|
6504
|
+
(U) => U.mostrarBotonDrawer
|
|
6496
6505
|
), h = ro(null), C = ye(() => {
|
|
6497
6506
|
De.setState({ abrirApps: !0 });
|
|
6498
6507
|
}, []), p = ye(() => {
|
|
6499
6508
|
De.setState({ abrirApps: !1 });
|
|
6500
|
-
}, []),
|
|
6501
|
-
|
|
6509
|
+
}, []), k = ye(() => {
|
|
6510
|
+
Te.setState({ abierto: !Te.getState().abierto });
|
|
6502
6511
|
}, []);
|
|
6503
6512
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6504
6513
|
/* @__PURE__ */ d.jsxs(
|
|
6505
6514
|
fo,
|
|
6506
6515
|
{
|
|
6507
6516
|
position: "fixed",
|
|
6508
|
-
sx: { zIndex: (
|
|
6517
|
+
sx: { zIndex: (U) => U.zIndex.drawer + 1 },
|
|
6509
6518
|
children: [
|
|
6510
6519
|
/* @__PURE__ */ d.jsx(mt, { children: /* @__PURE__ */ d.jsxs(
|
|
6511
6520
|
le,
|
|
@@ -6519,19 +6528,19 @@ const De = We, Re = We, nc = ({
|
|
|
6519
6528
|
/* @__PURE__ */ d.jsx(po, { in: w, children: /* @__PURE__ */ d.jsx(
|
|
6520
6529
|
wt,
|
|
6521
6530
|
{
|
|
6522
|
-
onClick:
|
|
6531
|
+
onClick: k,
|
|
6523
6532
|
disabled: x,
|
|
6524
|
-
children: /* @__PURE__ */ d.jsx(
|
|
6533
|
+
children: /* @__PURE__ */ d.jsx(uc, {})
|
|
6525
6534
|
}
|
|
6526
6535
|
) }),
|
|
6527
6536
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", ml: 3, children: [
|
|
6528
|
-
/* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(
|
|
6537
|
+
/* @__PURE__ */ d.jsx("a", { href: "/", children: /* @__PURE__ */ d.jsx(Zo, { width: 88 }) }),
|
|
6529
6538
|
g || f ? /* @__PURE__ */ d.jsx(fe, { variant: "text", width: 150, sx: { ml: 0.5 } }) : typeof r == "string" ? /* @__PURE__ */ d.jsx(xe, { variant: "body2", noWrap: !0, ml: 0.5, children: r }) : r
|
|
6530
6539
|
] })
|
|
6531
6540
|
] }),
|
|
6532
6541
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", alignItems: "center", children: [
|
|
6533
6542
|
/* @__PURE__ */ d.jsx(
|
|
6534
|
-
|
|
6543
|
+
cc,
|
|
6535
6544
|
{
|
|
6536
6545
|
acciones: t,
|
|
6537
6546
|
onCerrarSesion: n
|
|
@@ -6544,7 +6553,7 @@ const De = We, Re = We, nc = ({
|
|
|
6544
6553
|
ref: h,
|
|
6545
6554
|
sx: { ml: 2 },
|
|
6546
6555
|
onClick: C,
|
|
6547
|
-
children: u || f ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : /* @__PURE__ */ d.jsx(
|
|
6556
|
+
children: u || f ? /* @__PURE__ */ d.jsx(mn, { size: 18 }) : /* @__PURE__ */ d.jsx(lc, {})
|
|
6548
6557
|
}
|
|
6549
6558
|
)
|
|
6550
6559
|
] })
|
|
@@ -6566,22 +6575,22 @@ const De = We, Re = We, nc = ({
|
|
|
6566
6575
|
horizontal: "left"
|
|
6567
6576
|
},
|
|
6568
6577
|
children: /* @__PURE__ */ d.jsx(
|
|
6569
|
-
|
|
6578
|
+
pa,
|
|
6570
6579
|
{
|
|
6571
6580
|
apps: e.map(
|
|
6572
|
-
(
|
|
6573
|
-
...
|
|
6581
|
+
(U) => U.id === o ? {
|
|
6582
|
+
...U,
|
|
6574
6583
|
link: new URL(window.location.href),
|
|
6575
6584
|
...typeof r == "string" ? { nombre: r } : {},
|
|
6576
6585
|
...a ? { icono: a } : {}
|
|
6577
|
-
} :
|
|
6586
|
+
} : U
|
|
6578
6587
|
)
|
|
6579
6588
|
}
|
|
6580
6589
|
)
|
|
6581
6590
|
}
|
|
6582
6591
|
)
|
|
6583
6592
|
] });
|
|
6584
|
-
},
|
|
6593
|
+
}, fc = ({
|
|
6585
6594
|
apps: e,
|
|
6586
6595
|
acciones: r,
|
|
6587
6596
|
children: t,
|
|
@@ -6597,7 +6606,7 @@ const De = We, Re = We, nc = ({
|
|
|
6597
6606
|
);
|
|
6598
6607
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
6599
6608
|
/* @__PURE__ */ d.jsx(
|
|
6600
|
-
|
|
6609
|
+
dc,
|
|
6601
6610
|
{
|
|
6602
6611
|
apps: e,
|
|
6603
6612
|
nombreApp: n,
|
|
@@ -6607,19 +6616,19 @@ const De = We, Re = We, nc = ({
|
|
|
6607
6616
|
idApp: s
|
|
6608
6617
|
}
|
|
6609
6618
|
),
|
|
6610
|
-
/* @__PURE__ */ d.jsx(
|
|
6619
|
+
/* @__PURE__ */ d.jsx(ua, { menus: u, LinkComponent: f }),
|
|
6611
6620
|
/* @__PURE__ */ d.jsx(mt, {}),
|
|
6612
6621
|
/* @__PURE__ */ d.jsxs(le, { display: "flex", children: [
|
|
6613
|
-
/* @__PURE__ */ d.jsx(
|
|
6622
|
+
/* @__PURE__ */ d.jsx(da, {}),
|
|
6614
6623
|
/* @__PURE__ */ d.jsx("main", { style: { flexGrow: 1, display: "flex" }, children: g ? t : "Selecciona una terminal para comenzar" })
|
|
6615
6624
|
] })
|
|
6616
6625
|
] });
|
|
6617
6626
|
}, Gn = Rr(() => ({
|
|
6618
6627
|
openID: null,
|
|
6619
6628
|
keycloack: null
|
|
6620
|
-
})),
|
|
6629
|
+
})), pc = Gn, $c = (e) => Jn.filter(
|
|
6621
6630
|
({ id: r }) => e.some(({ id: t }) => r === t)
|
|
6622
|
-
),
|
|
6631
|
+
), mc = (e, r, t) => {
|
|
6623
6632
|
const n = r.reduce(
|
|
6624
6633
|
(o, a) => {
|
|
6625
6634
|
const s = e.some(
|
|
@@ -6651,7 +6660,7 @@ const De = We, Re = We, nc = ({
|
|
|
6651
6660
|
}
|
|
6652
6661
|
return n;
|
|
6653
6662
|
}, { set: fn } = xr.getState();
|
|
6654
|
-
function
|
|
6663
|
+
function hc({
|
|
6655
6664
|
children: e,
|
|
6656
6665
|
idApp: r,
|
|
6657
6666
|
nombreApp: t,
|
|
@@ -6661,19 +6670,19 @@ function pc({
|
|
|
6661
6670
|
LinkComponent: s,
|
|
6662
6671
|
tema: u
|
|
6663
6672
|
}) {
|
|
6664
|
-
const f = xn(), g =
|
|
6673
|
+
const f = xn(), g = pc((C) => C.permisos), [x, E] = Tr([]), w = () => {
|
|
6665
6674
|
f.logout();
|
|
6666
6675
|
}, h = o.reduce((C, p) => {
|
|
6667
|
-
var
|
|
6668
|
-
const
|
|
6669
|
-
return
|
|
6676
|
+
var U, V;
|
|
6677
|
+
const k = (U = g == null ? void 0 : g.menus) == null ? void 0 : U.find(({ id: B }) => p.id === B);
|
|
6678
|
+
return k ? [
|
|
6670
6679
|
...C,
|
|
6671
6680
|
{
|
|
6672
6681
|
...p,
|
|
6673
6682
|
subMenus: (V = p.subMenus) == null ? void 0 : V.filter(
|
|
6674
6683
|
({ id: B }) => {
|
|
6675
6684
|
var $;
|
|
6676
|
-
return ($ =
|
|
6685
|
+
return ($ = k == null ? void 0 : k.sub_menu) == null ? void 0 : $.some(({ id: _ }) => B === _);
|
|
6677
6686
|
}
|
|
6678
6687
|
)
|
|
6679
6688
|
}
|
|
@@ -6696,16 +6705,16 @@ function pc({
|
|
|
6696
6705
|
// Tipos de keycloak-js no incluyen select_account; es válido en OIDC.
|
|
6697
6706
|
prompt: "select_account"
|
|
6698
6707
|
});
|
|
6699
|
-
const
|
|
6708
|
+
const k = f.idTokenParsed, { terminal: U, setTerminal: V } = De.getState(), B = `${(k == null ? void 0 : k.given_name) ?? ""}${k != null && k.given_name && (k != null && k.family_name) ? " " : ""}${k == null ? void 0 : k.family_name}`;
|
|
6700
6709
|
De.setState({
|
|
6701
6710
|
nombre: B
|
|
6702
6711
|
});
|
|
6703
|
-
const $ =
|
|
6704
|
-
typeof
|
|
6705
|
-
const _ =
|
|
6706
|
-
_ ?
|
|
6707
|
-
var O,
|
|
6708
|
-
const W = (J = (D = (
|
|
6712
|
+
const $ = k.terminal;
|
|
6713
|
+
typeof U != "number" && typeof $ == "number" && V(Number($));
|
|
6714
|
+
const _ = k.email;
|
|
6715
|
+
_ ? Eo(_, n).then(async (L) => {
|
|
6716
|
+
var O, N, D, J, ne;
|
|
6717
|
+
const W = (J = (D = (N = (O = L.response) == null ? void 0 : O[0]) == null ? void 0 : N.permisos) == null ? void 0 : D.aplicaciones) == null ? void 0 : J.find(
|
|
6709
6718
|
({ id: ue }) => ue === r
|
|
6710
6719
|
);
|
|
6711
6720
|
if (!((ne = L.response) != null && ne[0]) || !W)
|
|
@@ -6722,12 +6731,12 @@ function pc({
|
|
|
6722
6731
|
), Gn.setState({
|
|
6723
6732
|
permisos: W
|
|
6724
6733
|
});
|
|
6725
|
-
const F = await
|
|
6726
|
-
if (F.isError || !F.data.length)
|
|
6734
|
+
const F = await Ro();
|
|
6735
|
+
if (F.isError || !F.data.terminales.length)
|
|
6727
6736
|
throw new Error("No se han encontrado terminales");
|
|
6728
|
-
const X = typeof (
|
|
6737
|
+
const X = typeof (k == null ? void 0 : k.terminal) == "number" ? k.terminal : void 0, se = mc(
|
|
6729
6738
|
L.response[0].terminales ?? [],
|
|
6730
|
-
F.data,
|
|
6739
|
+
F.data.terminales,
|
|
6731
6740
|
X
|
|
6732
6741
|
);
|
|
6733
6742
|
if (!se.length)
|
|
@@ -6736,8 +6745,8 @@ function pc({
|
|
|
6736
6745
|
terminales: se,
|
|
6737
6746
|
mostrarBotonDrawer: !0,
|
|
6738
6747
|
terminalDeNomina: X
|
|
6739
|
-
}),
|
|
6740
|
-
const { terminal: H, setTerminal: l } = De.getState(), M = Number(
|
|
6748
|
+
}), Te.setState({ cargando: !1 });
|
|
6749
|
+
const { terminal: H, setTerminal: l } = De.getState(), M = Number(k == null ? void 0 : k.terminal);
|
|
6741
6750
|
H || l(
|
|
6742
6751
|
Number.isNaN(M) ? se[0].codigo : M
|
|
6743
6752
|
);
|
|
@@ -6748,7 +6757,7 @@ function pc({
|
|
|
6748
6757
|
) : fn(we.general, !1, !0);
|
|
6749
6758
|
});
|
|
6750
6759
|
}, [r, f, n, a]), /* @__PURE__ */ d.jsx(yo, { theme: u ?? lt, children: /* @__PURE__ */ d.jsx(
|
|
6751
|
-
|
|
6760
|
+
fc,
|
|
6752
6761
|
{
|
|
6753
6762
|
apps: x,
|
|
6754
6763
|
menus: h,
|
|
@@ -6759,12 +6768,12 @@ function pc({
|
|
|
6759
6768
|
}
|
|
6760
6769
|
) });
|
|
6761
6770
|
}
|
|
6762
|
-
const
|
|
6771
|
+
const Mc = {
|
|
6763
6772
|
// OpenID: AuthOpenID,
|
|
6764
|
-
Keycloak:
|
|
6765
|
-
},
|
|
6773
|
+
Keycloak: hc
|
|
6774
|
+
}, gc = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QBsRXhpZgAASUkqAAgAAAADADEBAgAHAAAAMgAAABICAwACAAAAAgACAGmHBAABAAAAOgAAAAAAAABQaWNhc2EAAAMAAJAHAAQAAAAwMjIwAqAEAAEAAADlAAAAA6AEAAEAAAAVAAAAAAAAAP/iAdhJQ0NfUFJPRklMRQABAQAAAcgAAAAABDAAAG1udHJSR0IgWFlaIAfgAAEAAQAAAAAAAGFjc3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAD21gABAAAAANMtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACWRlc2MAAADwAAAAJHJYWVoAAAEUAAAAFGdYWVoAAAEoAAAAFGJYWVoAAAE8AAAAFHd0cHQAAAFQAAAAFHJUUkMAAAFkAAAAKGdUUkMAAAFkAAAAKGJUUkMAAAFkAAAAKGNwcnQAAAGMAAAAPG1sdWMAAAAAAAAAAQAAAAxlblVTAAAACAAAABwAcwBSAEcAQlhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z1hZWiAAAAAAAAD21gABAAAAANMtcGFyYQAAAAAABAAAAAJmZgAA8qcAAA1ZAAAT0AAAClsAAAAAAAAAAG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMAAwICAgICAwICAgMDAwMEBgQEBAQECAYGBQYJCAoKCQgJCQoMDwwKCw4LCQkNEQ0ODxAQERAKDBITEhATDxAQEP/bAEMBAwMDBAMECAQECBALCQsQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEP/AABEIABUA5QMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAACAYHCQQDBf/EADkQAAEDAwMDAgMGBAUFAAAAAAECAwQFBhEABxIIEyEUQRUiMQkWMlFhcSMkQpEXQ1KBgjNiY3Kh/8QAGgEBAQADAQEAAAAAAAAAAAAAAAYCAwQHAf/EACoRAAEDAgQDCQEAAAAAAAAAAAEAAxECBAUhMUFRgZEGEhMVIjJxobHR/9oADAMBAAIRAxEAPwD7HXv183ZQrsqWyGx9aXSfhKjFr1ejKxJMkfjjR1/5QQfC3B8/MFKSkJJUkv8AhP1C3Pbzm8CrGveqUoAyV19USQ8FIGSp4OkFSkDzlYJSMHJ1DqxMqDl3Tp91x3H5yqk69UmnFFK3He6S6kn6glXIE62ZpPX10qrtyhxrUulcqbUfTU6m23DpjqJSHVlLbccoKQ22EkhOSrhgfKVeM46ooFX+p2dsLsHtvt/Q3fit9SbSpkmdJnLU8mCXYyFFTmTlbhUVcUk4AAKvBAK3SK31Fbx+sr6ZN73MxGJU+5ERIdjsHGSAlodtvx54gD88a4N/pk+bvbfDlRQW3Wq7LjIRjAQy04W2kgfkG0IA/QDTnbYdVnT1t5sfQIEarLZn0qlNMvUZiG56hyYEDu+ePA83OSuZUAeWTg+NepNWvkNi1XaW/iu1xJiYkTyGw0G5Xmzlz53eu0XT/hN0TAmNDHM7nU7BKFth1GbrbXVRt6mXbU5NOJ4SKfJfLzSkHwShLnJLax9QoD6gZChlJ67zk9QtyVOtVh6sX1cdMpj7gXVGUylREtDylfyfw2gUFKuIwADqDFEzcO95kpDbEJVXmvzpCgP4MNpSlOOrOPo22nkT+idaCO9X/T/Z+1sV22K8qoPxKciPBo3plpkKcS2EpQ78vFHkfMrJH1KeXjPfijtVg7Q5a2wrcryMDThJA+c+ui4MNaF61W3c3JobozEnXjAJ+MumqUrY3qq3I2xueAit3NUK1bLryG50Gc+p/tsk4UtlSyVIUkZIAIScYI9xV/2kO49bqPVZcFLpNfnMRaFAp9PQmPJWhBJjpfV4ScZ5PqB/bX0dp9vKtuxuJSLMpUdRNQkpVKW2n5Y8YHLrh9gEpzj8zgDyRqg+pC4TevULuFXIuXW5lzT24oT55MofU2yB/wAEo1K9t2bZl9otACsg96OGUE/apuxz1w6w4HSTQCO7POR+L0um3+oDaWk2je9w1K4qHDvCF8Ut6czWTyksAIVzSWnCpsgOtnCuJwseNW/uH1V7l7k9HFDti8Lkmya5BvZTCKt3SiRMhMwioIdWMFakrkJyo+SAjOTkmhalXbrvS5aFaG6l81SPDoa2qC25UVOSUUSKhQbUlDOflQ2E+UIwfk9zjV6dce1do9P0bbXZC0asurIg0mVck6pLCUmdKnOpaLoSkkJTwhNpSkE4SkeSSVGIVkqStum73XNRqpdVpMXlVKbQAldSnU8yXm4QIJCnFIzwGEqOTgAAnTAdHvXHu5t1uVQLSvm8qnctm1qczTpbFVkqkuQQ6sIS+y6slaAgqBKMlJTyGArChP8Aog6ldlemzpsvOoXfXmJV21esSHYdAZaW4/LbRGaQyleE8UILhdypRAxn6nAKm9Odg1LczfCzbTp7Sil6rR5MxwDxHhsrDsh1R9glpCz+4A99EU+62dyrgrvVTuNIp9w1FiNDq3wxDTMpaEI9K0iOoAA4HzNKJ/UnXp1WXNcdBnbZ2RHuCpMOW/tzREzkIluJPrJKFy3SrB8q/mEjJ9kjVRVN+buruvLkslRmXhcLjicjJ7kuSSP98uanXWNWWK/1P7hLgDLFPq5orCE+cIhNoiJSP2DAGiJuPsot+5z9auTY26aw/JVOR8coqpLxWruoCUSWQVEnygNrCR4HbcPvpPrbrt0bqdRVNpTVxVRTV2Xm0zwTMc49uTNAPgHwAF/21K96rCu3oi6mYcm1nnGvh4YrVEfcJIejOoKXWVH6lIV32T5yUjPvrj6FIFLe6nrSrVfktxaPbSJ1wVCS7+COzEhvO9xX6BaUaInu+1C6hntuttYO0Nr1Ncev3me9McYcKXI1MaV58jykuuAIB90odGswLf3Dvm07kpNwJr9YD9Mlxqi0h2W6AvgtLiPBPkHA/Qg6kPUPvJUN/wDeev7k1Zx1iJUZQZgMqHIxIDfyso45xkIHJWPBWpR99enUdd22t6bkJqe0sWoR7aiUal0qKiewll/+ViNsFSkpUoZPbBznySTpKLU37Q/cRNJ6PqrVaDUXGTdL9LiwpDSyhZQ46iQSkg+MttKH7E6yZs2m707gyZkWwmLwuCTTo5mSWqWZMlxlkEDmUoyQMkDP66aTqt3a++HQx070cyebs3vd4ZySulNGESr9T3c+frnOvP7OHerZrYKLuRfG6l2s02VIjwIlNhoZW9KlJSXlupbQgHOVdkZJAz9SB501RVTsL1rb57GXVCfkXjWbgt1t9KKjQqrLXIbWxnC0tdwksOAZwpJAyByChkFm+t/7Q+vxay7tV0+1wwGGGUGrXExj1CnFpCvTxyf+nwCgFrHz88pTx4kqRquLq2+W9VTkWrQyioX3c0h+DT2/PbcmSVKQ34+gT3ACfoAM6jlXZfp90zY9fiuF6NUHETWSSlfJLhDic+xyCNJRSqqWJvrcduObv1u1b1qdFz3XLjlxZTzJ847hkKBBHLxyzjPjOdMx0DdZe4dn7o0Haa/bom1u0LlkopkcVGQp5ymSnDxZU04slQbUspQpGeICuQAIOWj3n67+l6F071elWDccSrTKxb7tHpVvR4TiFMd1gtJQ8hSQlptsK+YE+QnCc5GsvNorfrFWul6vUltwItCnyrnkvgfKymG2XW+R9ubwZaH/AHOJ00RdNevS/dzt0ai9Qa3Vnp12V95UKMiatHN2VIPbQMqATlSwPOANfWq9w9RXTZuRLtyoXdclq3VQ3GjJYZq5dA5oS4jlwWpp1CkLScHkkg4I+o1X1sPXFDrsWrWmuU1VaSo1SM/FyHY5jAvF5JH04Bsrz7cc6tbp92+j9U+/kO1t0d0J8CdcKlvu1OWlUuVUHkJ5FgOOK+VxSEqCVKyBxAwThJItO7q6tZVo9EVJ6gq43HYuivUVhinxwkBD1WdSpAUlB/oBQt4p/wBCCM6x3k3hfMkqqcu56456p1ZL65jpDjnhS/mz5PzpJ/8AYfnpkvtB92KLXL/pGw+3ygzZW0sJFDiMtr5IcmIQlDyif6i2EJayfPJDhz8+qivi7NspmxG3Ni2mzUTc1Fn1mp3E+/GS2y47L9MlsNKCiVBLUVtJyB5BI+uiLXvoVvd2/ulWwatLlLflwoLlJkKWrksKiurZTyJ+pKEIV/yGjVD/AGRt6JqO0V42O8+FOUGvNzkAn8DUtkAAfpzjOn9ydGsgihP2iPRnZNERVeoO0ay9SJFSklyqUgRQ4xIlLypT7a+SS0VEEqGFAqJI4+QV36C9pIm4G/1oVedVey1QamzVhH9Pz7y46u4hPLkOPzISc4P7aNGsd0WkHUh0j2dujKl7g0+sPW/XEs8pjjUcPszAhOAVt8kkLwAOQV9AMgnzpZduuklF9XKugu38qGhpRCnE0vmVAfXA7ox/90aNWeFYzfNWDlNLnsGWQMdQpPE8IsnL1uqpv3nPMiehV0bndFVr2rtq8myryqFNLCAuquSIqJC6nhQKUqUCgtoSoAhAykkJJBUkKFF7R9LbW5twGkP3uuA22olakU4OKUAfIGXRgn8/P7HRo10YdjV+cOedLnqByMCfz9XNf4PZC/aaDfpO0n+p6dsdkrC2EtaeiyqcpycqOpyVUZZDkiSUJJAUoABKAf6UgD38nzrJDarYRFW3gs/4tdJlIm3LT/UhULBdC5SOYJ7nvk/30aNRb77ly4XXqjVUdSVYMst29AaapApGwU66zOnWlQ+pS9ZVGrvoo1Vlt1Ux/R8u27IaQ67g8xkFxa1fQY5Y9s6rO77JuTcR2lG5r2VKetulRrfjOrhZUYrAKmgf4n9KXAn9kg++jRrTC2rp236Tf8Qrtg2t9/vQetdS33/hXd4ZP1495Of760gsjpG266Vtj9wJtmPP1G65dr1FMm4ZqB3jiMtSUNIT4aaCgFcQSSQOSlYTg0aQiQTpj2Eio6hNvZUy4vUNQ7ghze16PjzUy4HUgnmfBKB7a+RA2WXdm9UasVe5+4qs3SiTKR6L8RdlhSxnue/I+2jRpCJ7/tMtlqHuNthQLvcl+grFvVQRmZAY7ncjSEHuNKHJP9TbagcnGFDHzE6zzt/ayq21DrcelXj2jXKeaVJWIOFCOp1txaUkOeOXZCT+aVLHvo0aEIrv6KujLbbc6+q5H3QkSK7TKdS+4zCZLkPL63UgOFxtzkQEhQ4/Q8s+2vLrU6PNtttdx6NS9rlPUCmSqIiQ9FdU7MKn++8kuBbrnIZSEDj9Plz7nRo0hFT1Y20q1Zsy3bRmXdyhW69OVDHovwiQptaxjuf6k5/31wW100/eKuRKN99fT+qdS33PhvPjk4zjujP99GjSEWn3St0JbYdOEhu8fXv3Td7jJQ3VpjCWURELThQjsAq7ZUDgqKlKxkAgEg0f199D9iPtVrqBtOuvUGfJd79WpqYgejzJCskvIPNJaWoglf4gonOASSTRoiR7p12FTv3f0ayVXUaGH3Q2ZIg+pIGQPw9xH5/nrRfd3pW286euje9rJ26LzdRuH4exVa9MQHZcseraJBxxCW8ckpQnAHIk8lEkmjQIl36C+negzt6KnFuOpipwX7VqkRyOYvb5IkJRHc88z/lvOD6e+l6mbTVXbSrque373eaqVtzRKhyGofbWh5lwFCwe4cEKSD76NGkIpbsH010rc/di0KdeFzSJdPrk9p+otBlSXZDZBdcbLvc5ArwUlY8jkSPOmZ60ehTYnbja+l1/a6jybfqbtdZiPvuTZE1LjCo76ijg67gHkhB5Dz4I99GjSES87NRrx2X+MfdO8eHxj0/qP5Qpz2u5x+jn/lVo0aNfCi//2Q==", Lc = ({
|
|
6766
6775
|
backgroundImage: e,
|
|
6767
|
-
logoSrc: r =
|
|
6776
|
+
logoSrc: r = gc,
|
|
6768
6777
|
welcomeSubtitle: t = "Autentícate para acceder al ecosistema digital de aplicaciones de Coordinadora.",
|
|
6769
6778
|
corporateAccessLabel: n = "Ingresa únicamente con tu correo @coordinadora.com"
|
|
6770
6779
|
}) => {
|
|
@@ -6848,7 +6857,7 @@ const jc = {
|
|
|
6848
6857
|
variant: "outlined",
|
|
6849
6858
|
size: "large",
|
|
6850
6859
|
onClick: a,
|
|
6851
|
-
startIcon: /* @__PURE__ */ d.jsx(
|
|
6860
|
+
startIcon: /* @__PURE__ */ d.jsx(qo, { width: 22, height: 22 }),
|
|
6852
6861
|
sx: {
|
|
6853
6862
|
height: 44,
|
|
6854
6863
|
borderRadius: "8px",
|
|
@@ -6939,7 +6948,7 @@ const jc = {
|
|
|
6939
6948
|
)
|
|
6940
6949
|
}
|
|
6941
6950
|
);
|
|
6942
|
-
},
|
|
6951
|
+
}, yc = ({
|
|
6943
6952
|
story: e,
|
|
6944
6953
|
botones: r,
|
|
6945
6954
|
imports: t,
|
|
@@ -6998,7 +7007,7 @@ const ${e}Story = () => {
|
|
|
6998
7007
|
${a ? "</>" : ""});
|
|
6999
7008
|
};
|
|
7000
7009
|
`;
|
|
7001
|
-
},
|
|
7010
|
+
}, Uc = ({
|
|
7002
7011
|
children: e,
|
|
7003
7012
|
estado: r,
|
|
7004
7013
|
...t
|
|
@@ -7007,7 +7016,7 @@ const ${e}Story = () => {
|
|
|
7007
7016
|
const n = r((a) => a);
|
|
7008
7017
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
7009
7018
|
e,
|
|
7010
|
-
/* @__PURE__ */ d.jsx("pre", { children:
|
|
7019
|
+
/* @__PURE__ */ d.jsx("pre", { children: yc(t) }),
|
|
7011
7020
|
t.botones && /* @__PURE__ */ d.jsxs(
|
|
7012
7021
|
le,
|
|
7013
7022
|
{
|
|
@@ -7039,7 +7048,7 @@ const ${e}Story = () => {
|
|
|
7039
7048
|
}
|
|
7040
7049
|
)
|
|
7041
7050
|
] });
|
|
7042
|
-
},
|
|
7051
|
+
}, bc = ({
|
|
7043
7052
|
children: e,
|
|
7044
7053
|
...r
|
|
7045
7054
|
}) => {
|
|
@@ -7049,61 +7058,62 @@ const ${e}Story = () => {
|
|
|
7049
7058
|
return /* @__PURE__ */ d.jsx(t, { ...r });
|
|
7050
7059
|
};
|
|
7051
7060
|
export {
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7061
|
+
fa as AppToolbar,
|
|
7062
|
+
Mc as AuthLayout,
|
|
7063
|
+
ac as AvatarToolbar,
|
|
7064
|
+
pa as CardAppsToolbar,
|
|
7056
7065
|
st as DRAWER_WIDTH,
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7066
|
+
cc as DatosSesionToolbar,
|
|
7067
|
+
ua as Drawer,
|
|
7068
|
+
da as DrawerMargin,
|
|
7069
|
+
Xs as DresserIcono,
|
|
7070
|
+
qo as GoogleLogo,
|
|
7071
|
+
bc as Icono,
|
|
7072
|
+
$o as KEY_TOKEN_DEFECTO,
|
|
7073
|
+
Oc as KeycloakProvider,
|
|
7074
|
+
ec as LoadIcono,
|
|
7075
|
+
Lc as LoginPage,
|
|
7076
|
+
la as MenuItemDrawer,
|
|
7077
|
+
sc as SelectorTerminalToolbar,
|
|
7078
|
+
Zo as SigooLogo,
|
|
7079
|
+
Uc as StorySiblingDecorator,
|
|
7080
|
+
ca as SubMenuItemDrawer,
|
|
7081
|
+
dc as Toolbar,
|
|
7082
|
+
rc as UnloadIcono,
|
|
7083
|
+
_c as appsPermitidas,
|
|
7075
7084
|
Jn as appsToolbar,
|
|
7076
7085
|
K as colores,
|
|
7077
|
-
|
|
7086
|
+
mc as convertirTerminalesToolbar,
|
|
7078
7087
|
Gn as estadoAuth,
|
|
7079
|
-
|
|
7080
|
-
|
|
7088
|
+
Te as estadoDrawer,
|
|
7089
|
+
tc as estadoInicialToolbar,
|
|
7081
7090
|
De as estadoToolbar,
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7091
|
+
yn as getEnvActual,
|
|
7092
|
+
Ec as getKeycloakInstance,
|
|
7093
|
+
bn as getKeycloakToken,
|
|
7094
|
+
Rc as getLoginKeycloak,
|
|
7085
7095
|
we as keysCargandoToolbar,
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7096
|
+
Tc as menusPermitidos,
|
|
7097
|
+
$c as obtenerAppsToolbar,
|
|
7098
|
+
Oo as obtenerCookie,
|
|
7099
|
+
jo as obtenerHash,
|
|
7100
|
+
Eo as obtenerPermisos,
|
|
7101
|
+
Ro as obtenerTerminales,
|
|
7092
7102
|
An as obtenerToken,
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7103
|
+
Ic as openID,
|
|
7104
|
+
Cc as removeCookie,
|
|
7105
|
+
Po as setCookie,
|
|
7106
|
+
Pc as setDrawerHabilitado,
|
|
7097
7107
|
Ao as setKeycloakInstance,
|
|
7098
|
-
|
|
7108
|
+
jc as setMenuSeleccionado,
|
|
7099
7109
|
xr as storeCargando,
|
|
7100
7110
|
lt as tema,
|
|
7101
|
-
|
|
7111
|
+
kc as terminalesPermitidas,
|
|
7102
7112
|
je as useCargando,
|
|
7103
|
-
|
|
7113
|
+
pc as useEstadoAuth,
|
|
7104
7114
|
Be as useEstadoDrawer,
|
|
7105
7115
|
Re as useEstadoToolbar,
|
|
7106
7116
|
xn as useLoginKeycloak,
|
|
7107
|
-
|
|
7117
|
+
kn as useStoreCargando
|
|
7108
7118
|
};
|
|
7109
7119
|
//# sourceMappingURL=cm-sigoo-temp-ui.js.map
|