biblio-react 2.0.10 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +694 -701
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as x from "react";
|
|
|
3
3
|
import Vt, { forwardRef as si, useContext as we, createElement as es, Children as Bn, isValidElement as yr, cloneElement as tr, createContext as no, useState as Ue, useMemo as Kt, useCallback as Fe, useEffect as pt, Fragment as Wt, memo as ef, useRef as zn } from "react";
|
|
4
4
|
import n from "prop-types";
|
|
5
5
|
import { MenuItem as Va, ListItemIcon as Ba, ListItemText as ts, useMediaQuery as Hn, Typography as Nc, Box as ke, alpha as tf, createTheme as ci, StyledEngineProvider as _c, Stack as jc, Card as rf, CircularProgress as Vc, Dialog as ui, DialogTitle as Bc, DialogContent as of, DialogActions as nf, Tooltip as Wn, IconButton as Cn, ThemeProvider as af, Paper as di, CardContent as zc, Collapse as lf, List as sf, Divider as cf, Button as rs } from "@mui/material";
|
|
6
|
-
import { useTranslate as Je, useUserMenu as uf, useResourceDefinitions as df, AppBar as pf, UserMenu as ff, Logout as mf, useDataProvider as Hc, useListContext as Gr, useNotify as nr, useRedirect as Vo, useRefresh as hf, useResourceContext as qe, useUnselectAll as gf, NumberField as bf, DateField as os, TextField as bn, ReferenceField as vf, Button as ut, useRecordContext as Yt, useInput as Wc, useGetList as Uc, useSafeSetState as pi, Confirm as fi, Form as Bo, SaveButton as Un, useCreatePath as mi, useResourceDefinition as Gc, DatagridRoot as yf, DatagridClasses as ns, BulkActionsToolbar as Of, SimpleList as xf, useGetOne as qc, required as Sf, minValue as Tf, TopToolbar as Kc, ListButton as
|
|
6
|
+
import { useTranslate as Je, useUserMenu as uf, useResourceDefinitions as df, AppBar as pf, UserMenu as ff, Logout as mf, useDataProvider as Hc, useListContext as Gr, useNotify as nr, useRedirect as Vo, useRefresh as hf, useResourceContext as qe, useUnselectAll as gf, NumberField as bf, DateField as os, TextField as bn, ReferenceField as vf, Button as ut, useRecordContext as Yt, useInput as Wc, useGetList as Uc, useSafeSetState as pi, Confirm as fi, Form as Bo, SaveButton as Un, useCreatePath as mi, useResourceDefinition as Gc, DatagridRoot as yf, DatagridClasses as ns, BulkActionsToolbar as Of, SimpleList as xf, useGetOne as qc, required as Sf, minValue as Tf, TopToolbar as Kc, ListButton as Pf, ShowButton as Ef, useCreateController as Cf, CreateContextProvider as Ff, useSaveContext as wf, Create as Rf, useListController as Mf, ListContextProvider as kf, List as Yc, useDelete as $f, useEditController as Lf, Edit as Af, SimpleForm as If, useSidebarState as Qc, Menu as Df, DashboardMenuItem as Nf, MenuItemLink as Xc, Layout as _f, FilterContext as jf, sanitizeListRestProps as Vf, FilterButton as Bf, CreateButton as zf, ExportButton as Hf, useLogin as Wf, TextInput as Sr, PasswordInput as Zc, FieldTitle as Uf, useShowController as Gf, Show as qf, FormTab as Kf, getTabbedFormTabFullPath as Yf, TabbedFormTabs as Qf, Toolbar as Jc, defaultTheme as Br, BooleanField as Xf, ImageInput as Zf, ImageField as Jf, FileInput as em, BooleanInput as tm, ReferenceInput as eu, useChoicesContext as rm, AutocompleteInput as om, SelectInput as nm, ReferenceArrayInput as am, SelectArrayInput as im, RadioButtonGroupInput as tu, useRecordSelection as ru, Datagrid as lm, NumberInput as sm, DateInput as cm, DateTimeInput as um } from "react-admin";
|
|
7
7
|
import { Link as Fo, Routes as hi, Route as gi, useLocation as bi, matchPath as za, useResolvedPath as dm } from "react-router-dom";
|
|
8
8
|
import { DataGridPremium as yi, useGridApiContext as Oi, useGridApiRef as ou, useKeepGroupedColumnsHidden as nu, GridActionsCellItem as pm } from "@mui/x-data-grid-premium";
|
|
9
9
|
import { useFormContext as $t, useFormState as fm } from "react-hook-form";
|
|
@@ -13,7 +13,7 @@ import * as hm from "react-dom";
|
|
|
13
13
|
import an from "react-dom";
|
|
14
14
|
import { isAfter as gm } from "date-fns";
|
|
15
15
|
import iu from "ra-language-english";
|
|
16
|
-
import
|
|
16
|
+
import Et from "@blackbox-vision/ra-language-spanish";
|
|
17
17
|
import lu from "react-draggable";
|
|
18
18
|
import { TreeView as bm } from "devextreme-react";
|
|
19
19
|
function Qt(e) {
|
|
@@ -156,7 +156,7 @@ var Ha = { exports: {} }, ye = {};
|
|
|
156
156
|
* LICENSE file in the root directory of this source tree.
|
|
157
157
|
*/
|
|
158
158
|
var as;
|
|
159
|
-
function
|
|
159
|
+
function Pm() {
|
|
160
160
|
if (as)
|
|
161
161
|
return ye;
|
|
162
162
|
as = 1;
|
|
@@ -235,16 +235,16 @@ var Oe = {};
|
|
|
235
235
|
* LICENSE file in the root directory of this source tree.
|
|
236
236
|
*/
|
|
237
237
|
var is;
|
|
238
|
-
function
|
|
238
|
+
function Em() {
|
|
239
239
|
return is || (is = 1, process.env.NODE_ENV !== "production" && function() {
|
|
240
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = !1, g = !1, b = !1, O = !1, C = !1,
|
|
241
|
-
|
|
240
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = !1, g = !1, b = !1, O = !1, C = !1, P;
|
|
241
|
+
P = Symbol.for("react.module.reference");
|
|
242
242
|
function T(I) {
|
|
243
243
|
return !!(typeof I == "string" || typeof I == "function" || I === r || I === a || C || I === o || I === u || I === d || O || I === h || v || g || b || typeof I == "object" && I !== null && (I.$$typeof === f || I.$$typeof === m || I.$$typeof === i || I.$$typeof === l || I.$$typeof === c || // This needs to include all possible module reference object
|
|
244
244
|
// types supported by any Flight configuration anywhere since
|
|
245
245
|
// we don't know which Flight build this will end up being used
|
|
246
246
|
// with.
|
|
247
|
-
I.$$typeof ===
|
|
247
|
+
I.$$typeof === P || I.getModuleId !== void 0));
|
|
248
248
|
}
|
|
249
249
|
function y(I) {
|
|
250
250
|
if (typeof I == "object" && I !== null) {
|
|
@@ -278,7 +278,7 @@ function Pm() {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
var F = l,
|
|
281
|
+
var F = l, E = i, $ = e, w = c, R = r, M = f, D = m, L = t, N = a, _ = o, A = u, j = d, k = !1, z = !1;
|
|
282
282
|
function J(I) {
|
|
283
283
|
return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
284
284
|
}
|
|
@@ -309,10 +309,10 @@ function Pm() {
|
|
|
309
309
|
function G(I) {
|
|
310
310
|
return y(I) === t;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Pe(I) {
|
|
313
313
|
return y(I) === a;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Ee(I) {
|
|
316
316
|
return y(I) === o;
|
|
317
317
|
}
|
|
318
318
|
function B(I) {
|
|
@@ -321,10 +321,10 @@ function Pm() {
|
|
|
321
321
|
function Z(I) {
|
|
322
322
|
return y(I) === d;
|
|
323
323
|
}
|
|
324
|
-
Oe.ContextConsumer = F, Oe.ContextProvider =
|
|
324
|
+
Oe.ContextConsumer = F, Oe.ContextProvider = E, Oe.Element = $, Oe.ForwardRef = w, Oe.Fragment = R, Oe.Lazy = M, Oe.Memo = D, Oe.Portal = L, Oe.Profiler = N, Oe.StrictMode = _, Oe.Suspense = A, Oe.SuspenseList = j, Oe.isAsyncMode = J, Oe.isConcurrentMode = Y, Oe.isContextConsumer = re, Oe.isContextProvider = Te, Oe.isElement = oe, Oe.isForwardRef = ee, Oe.isFragment = ne, Oe.isLazy = ce, Oe.isMemo = ae, Oe.isPortal = G, Oe.isProfiler = Pe, Oe.isStrictMode = Ee, Oe.isSuspense = B, Oe.isSuspenseList = Z, Oe.isValidElementType = T, Oe.typeOf = y;
|
|
325
325
|
}()), Oe;
|
|
326
326
|
}
|
|
327
|
-
process.env.NODE_ENV === "production" ? Ha.exports =
|
|
327
|
+
process.env.NODE_ENV === "production" ? Ha.exports = Pm() : Ha.exports = Em();
|
|
328
328
|
var wo = Ha.exports;
|
|
329
329
|
const Cm = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
330
330
|
function du(e) {
|
|
@@ -441,7 +441,7 @@ function $m(e) {
|
|
|
441
441
|
}, [t]), o;
|
|
442
442
|
}
|
|
443
443
|
const cs = x.useId;
|
|
444
|
-
function
|
|
444
|
+
function Pi(e) {
|
|
445
445
|
if (cs !== void 0) {
|
|
446
446
|
const t = cs();
|
|
447
447
|
return e ?? t;
|
|
@@ -554,14 +554,14 @@ function _m(e) {
|
|
|
554
554
|
function jm(e) {
|
|
555
555
|
e.metaKey || e.altKey || e.ctrlKey || (qn = !0);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function Pa() {
|
|
558
558
|
qn = !1;
|
|
559
559
|
}
|
|
560
560
|
function Vm() {
|
|
561
561
|
this.visibilityState === "hidden" && Ua && (qn = !0);
|
|
562
562
|
}
|
|
563
563
|
function Bm(e) {
|
|
564
|
-
e.addEventListener("keydown", jm, !0), e.addEventListener("mousedown",
|
|
564
|
+
e.addEventListener("keydown", jm, !0), e.addEventListener("mousedown", Pa, !0), e.addEventListener("pointerdown", Pa, !0), e.addEventListener("touchstart", Pa, !0), e.addEventListener("visibilitychange", Vm, !0);
|
|
565
565
|
}
|
|
566
566
|
function zm(e) {
|
|
567
567
|
const {
|
|
@@ -648,7 +648,7 @@ function Ga() {
|
|
|
648
648
|
yu.isRequired = vu;
|
|
649
649
|
Ga.isRequired = Ga;
|
|
650
650
|
const Ou = process.env.NODE_ENV === "production" ? Ga : yu;
|
|
651
|
-
function
|
|
651
|
+
function Ei(e, t) {
|
|
652
652
|
const r = S({}, t);
|
|
653
653
|
return Object.keys(e).forEach((o) => {
|
|
654
654
|
if (o.toString().match(/^(components|slots)$/))
|
|
@@ -656,7 +656,7 @@ function Pi(e, t) {
|
|
|
656
656
|
else if (o.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
657
657
|
const a = e[o] || {}, i = t[o];
|
|
658
658
|
r[o] = {}, !i || !Object.keys(i) ? r[o] = a : !a || !Object.keys(a) ? r[o] = i : (r[o] = S({}, i), Object.keys(a).forEach((l) => {
|
|
659
|
-
r[o][l] =
|
|
659
|
+
r[o][l] = Ei(a[l], i[l]);
|
|
660
660
|
}));
|
|
661
661
|
} else
|
|
662
662
|
r[o] === void 0 && (r[o] = e[o]);
|
|
@@ -759,7 +759,7 @@ function Ym(e) {
|
|
|
759
759
|
name: r,
|
|
760
760
|
props: o
|
|
761
761
|
} = e;
|
|
762
|
-
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? o :
|
|
762
|
+
return !t || !t.components || !t.components[r] || !t.components[r].defaultProps ? o : Ei(t.components[r].defaultProps, o);
|
|
763
763
|
}
|
|
764
764
|
const Qm = ["values", "unit", "step"], Xm = (e) => {
|
|
765
765
|
const t = Object.keys(e).map((r) => ({
|
|
@@ -770,7 +770,7 @@ const Qm = ["values", "unit", "step"], Xm = (e) => {
|
|
|
770
770
|
[o.key]: o.val
|
|
771
771
|
}), {});
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function Pu(e) {
|
|
774
774
|
const {
|
|
775
775
|
// The breakpoint **start** at this value.
|
|
776
776
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -864,7 +864,7 @@ function Mt(e, t, r) {
|
|
|
864
864
|
}
|
|
865
865
|
return r(t);
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function Eu(e = {}) {
|
|
868
868
|
var t;
|
|
869
869
|
return ((t = e.keys) == null ? void 0 : t.reduce((o, a) => {
|
|
870
870
|
const i = e.up(a);
|
|
@@ -878,7 +878,7 @@ function Cu(e, t) {
|
|
|
878
878
|
}, t);
|
|
879
879
|
}
|
|
880
880
|
function Jm(e, ...t) {
|
|
881
|
-
const r =
|
|
881
|
+
const r = Eu(e), o = [r, ...t].reduce((a, i) => Ot(a, i), {});
|
|
882
882
|
return Cu(Object.keys(r), o);
|
|
883
883
|
}
|
|
884
884
|
function eh(e, t) {
|
|
@@ -891,7 +891,7 @@ function eh(e, t) {
|
|
|
891
891
|
e[a] != null && (r[a] = !0);
|
|
892
892
|
}), r;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Ea({
|
|
895
895
|
values: e,
|
|
896
896
|
breakpoints: t,
|
|
897
897
|
base: r
|
|
@@ -977,14 +977,14 @@ function Uo(e, t, r, o) {
|
|
|
977
977
|
function wi(e) {
|
|
978
978
|
return Uo(e, "spacing", 8, "spacing");
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function Pr(e, t) {
|
|
981
981
|
if (typeof t == "string" || t == null)
|
|
982
982
|
return t;
|
|
983
983
|
const r = Math.abs(t), o = e(r);
|
|
984
984
|
return t >= 0 ? o : typeof o == "number" ? -o : `-${o}`;
|
|
985
985
|
}
|
|
986
986
|
function ih(e, t) {
|
|
987
|
-
return (r) => e.reduce((o, a) => (o[a] =
|
|
987
|
+
return (r) => e.reduce((o, a) => (o[a] = Pr(t, r), o), {});
|
|
988
988
|
}
|
|
989
989
|
function lh(e, t, r, o) {
|
|
990
990
|
if (t.indexOf(r) === -1)
|
|
@@ -1037,7 +1037,7 @@ function Ct(e, t) {
|
|
|
1037
1037
|
const ch = Ct("border", vt), uh = Ct("borderTop", vt), dh = Ct("borderRight", vt), ph = Ct("borderBottom", vt), fh = Ct("borderLeft", vt), mh = Ct("borderColor"), hh = Ct("borderTopColor"), gh = Ct("borderRightColor"), bh = Ct("borderBottomColor"), vh = Ct("borderLeftColor"), yh = Ct("outline", vt), Oh = Ct("outlineColor"), Zn = (e) => {
|
|
1038
1038
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1039
1039
|
const t = Uo(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (o) => ({
|
|
1040
|
-
borderRadius:
|
|
1040
|
+
borderRadius: Pr(t, o)
|
|
1041
1041
|
});
|
|
1042
1042
|
return Mt(e, e.borderRadius, r);
|
|
1043
1043
|
}
|
|
@@ -1051,7 +1051,7 @@ Xn(ch, uh, dh, ph, fh, mh, hh, gh, bh, vh, Zn, yh, Oh);
|
|
|
1051
1051
|
const Jn = (e) => {
|
|
1052
1052
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1053
1053
|
const t = Uo(e.theme, "spacing", 8, "gap"), r = (o) => ({
|
|
1054
|
-
gap:
|
|
1054
|
+
gap: Pr(t, o)
|
|
1055
1055
|
});
|
|
1056
1056
|
return Mt(e, e.gap, r);
|
|
1057
1057
|
}
|
|
@@ -1064,7 +1064,7 @@ Jn.filterProps = ["gap"];
|
|
|
1064
1064
|
const ea = (e) => {
|
|
1065
1065
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1066
1066
|
const t = Uo(e.theme, "spacing", 8, "columnGap"), r = (o) => ({
|
|
1067
|
-
columnGap:
|
|
1067
|
+
columnGap: Pr(t, o)
|
|
1068
1068
|
});
|
|
1069
1069
|
return Mt(e, e.columnGap, r);
|
|
1070
1070
|
}
|
|
@@ -1077,7 +1077,7 @@ ea.filterProps = ["columnGap"];
|
|
|
1077
1077
|
const ta = (e) => {
|
|
1078
1078
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1079
1079
|
const t = Uo(e.theme, "spacing", 8, "rowGap"), r = (o) => ({
|
|
1080
|
-
rowGap:
|
|
1080
|
+
rowGap: Pr(t, o)
|
|
1081
1081
|
});
|
|
1082
1082
|
return Mt(e, e.rowGap, r);
|
|
1083
1083
|
}
|
|
@@ -1093,9 +1093,9 @@ const xh = je({
|
|
|
1093
1093
|
prop: "gridRow"
|
|
1094
1094
|
}), Th = je({
|
|
1095
1095
|
prop: "gridAutoFlow"
|
|
1096
|
-
}), Eh = je({
|
|
1097
|
-
prop: "gridAutoColumns"
|
|
1098
1096
|
}), Ph = je({
|
|
1097
|
+
prop: "gridAutoColumns"
|
|
1098
|
+
}), Eh = je({
|
|
1099
1099
|
prop: "gridAutoRows"
|
|
1100
1100
|
}), Ch = je({
|
|
1101
1101
|
prop: "gridTemplateColumns"
|
|
@@ -1106,7 +1106,7 @@ const xh = je({
|
|
|
1106
1106
|
}), Rh = je({
|
|
1107
1107
|
prop: "gridArea"
|
|
1108
1108
|
});
|
|
1109
|
-
Xn(Jn, ea, ta, xh, Sh, Th,
|
|
1109
|
+
Xn(Jn, ea, ta, xh, Sh, Th, Ph, Eh, Ch, Fh, wh, Rh);
|
|
1110
1110
|
function zr(e, t) {
|
|
1111
1111
|
return t === "grey" ? t : e;
|
|
1112
1112
|
}
|
|
@@ -1515,7 +1515,7 @@ function wu() {
|
|
|
1515
1515
|
return c;
|
|
1516
1516
|
if (!u)
|
|
1517
1517
|
return null;
|
|
1518
|
-
const d =
|
|
1518
|
+
const d = Eu(i.breakpoints), m = Object.keys(d);
|
|
1519
1519
|
let f = d;
|
|
1520
1520
|
return Object.keys(u).forEach((h) => {
|
|
1521
1521
|
const v = Vh(u[h], i);
|
|
@@ -1557,7 +1557,7 @@ function qo(e = {}, ...t) {
|
|
|
1557
1557
|
palette: o = {},
|
|
1558
1558
|
spacing: a,
|
|
1559
1559
|
shape: i = {}
|
|
1560
|
-
} = e, l = W(e, Bh), s =
|
|
1560
|
+
} = e, l = W(e, Bh), s = Pu(r), c = sh(a);
|
|
1561
1561
|
let u = Ot({
|
|
1562
1562
|
breakpoints: s,
|
|
1563
1563
|
direction: "ltr",
|
|
@@ -1579,7 +1579,7 @@ function qo(e = {}, ...t) {
|
|
|
1579
1579
|
const zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1580
1580
|
__proto__: null,
|
|
1581
1581
|
default: qo,
|
|
1582
|
-
private_createBreakpoints:
|
|
1582
|
+
private_createBreakpoints: Pu,
|
|
1583
1583
|
unstable_applyStyles: Ru
|
|
1584
1584
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1585
1585
|
function Mu(e) {
|
|
@@ -1782,26 +1782,26 @@ function lg(e) {
|
|
|
1782
1782
|
return Iu(On("", null, null, null, [""], e = Au(e), 0, [0], e));
|
|
1783
1783
|
}
|
|
1784
1784
|
function On(e, t, r, o, a, i, l, s, c) {
|
|
1785
|
-
for (var u = 0, d = 0, m = l, f = 0, h = 0, v = 0, g = 1, b = 1, O = 1, C = 0,
|
|
1785
|
+
for (var u = 0, d = 0, m = l, f = 0, h = 0, v = 0, g = 1, b = 1, O = 1, C = 0, P = "", T = a, y = i, F = o, E = P; b; )
|
|
1786
1786
|
switch (v = C, C = dt()) {
|
|
1787
1787
|
case 40:
|
|
1788
|
-
if (v != 108 && Ye(
|
|
1789
|
-
qa(
|
|
1788
|
+
if (v != 108 && Ye(E, m - 1) == 58) {
|
|
1789
|
+
qa(E += be(yn(C), "&", "&\f"), "&\f") != -1 && (O = -1);
|
|
1790
1790
|
break;
|
|
1791
1791
|
}
|
|
1792
1792
|
case 34:
|
|
1793
1793
|
case 39:
|
|
1794
1794
|
case 91:
|
|
1795
|
-
|
|
1795
|
+
E += yn(C);
|
|
1796
1796
|
break;
|
|
1797
1797
|
case 9:
|
|
1798
1798
|
case 10:
|
|
1799
1799
|
case 13:
|
|
1800
1800
|
case 32:
|
|
1801
|
-
|
|
1801
|
+
E += og(v);
|
|
1802
1802
|
break;
|
|
1803
1803
|
case 92:
|
|
1804
|
-
|
|
1804
|
+
E += ng(vn() - 1, 7);
|
|
1805
1805
|
continue;
|
|
1806
1806
|
case 47:
|
|
1807
1807
|
switch (Bt()) {
|
|
@@ -1810,11 +1810,11 @@ function On(e, t, r, o, a, i, l, s, c) {
|
|
|
1810
1810
|
ln(sg(ag(dt(), vn()), t, r), c);
|
|
1811
1811
|
break;
|
|
1812
1812
|
default:
|
|
1813
|
-
|
|
1813
|
+
E += "/";
|
|
1814
1814
|
}
|
|
1815
1815
|
break;
|
|
1816
1816
|
case 123 * g:
|
|
1817
|
-
s[u++] = Nt(
|
|
1817
|
+
s[u++] = Nt(E) * O;
|
|
1818
1818
|
case 125 * g:
|
|
1819
1819
|
case 59:
|
|
1820
1820
|
case 0:
|
|
@@ -1823,30 +1823,30 @@ function On(e, t, r, o, a, i, l, s, c) {
|
|
|
1823
1823
|
case 125:
|
|
1824
1824
|
b = 0;
|
|
1825
1825
|
case 59 + d:
|
|
1826
|
-
O == -1 && (
|
|
1826
|
+
O == -1 && (E = be(E, /\f/g, "")), h > 0 && Nt(E) - m && ln(h > 32 ? hs(E + ";", o, r, m - 1) : hs(be(E, " ", "") + ";", o, r, m - 2), c);
|
|
1827
1827
|
break;
|
|
1828
1828
|
case 59:
|
|
1829
|
-
|
|
1829
|
+
E += ";";
|
|
1830
1830
|
default:
|
|
1831
|
-
if (ln(F = ms(
|
|
1831
|
+
if (ln(F = ms(E, t, r, u, d, a, s, P, T = [], y = [], m), i), C === 123)
|
|
1832
1832
|
if (d === 0)
|
|
1833
|
-
On(
|
|
1833
|
+
On(E, t, F, F, T, i, m, s, y);
|
|
1834
1834
|
else
|
|
1835
|
-
switch (f === 99 && Ye(
|
|
1835
|
+
switch (f === 99 && Ye(E, 3) === 110 ? 100 : f) {
|
|
1836
1836
|
case 100:
|
|
1837
1837
|
case 108:
|
|
1838
1838
|
case 109:
|
|
1839
1839
|
case 115:
|
|
1840
|
-
On(e, F, F, o && ln(ms(e, F, F, 0, 0, a, s,
|
|
1840
|
+
On(e, F, F, o && ln(ms(e, F, F, 0, 0, a, s, P, a, T = [], m), y), a, y, m, s, o ? T : y);
|
|
1841
1841
|
break;
|
|
1842
1842
|
default:
|
|
1843
|
-
On(
|
|
1843
|
+
On(E, F, F, F, [""], y, 0, s, y);
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
|
-
u = d = h = 0, g = O = 1,
|
|
1846
|
+
u = d = h = 0, g = O = 1, P = E = "", m = l;
|
|
1847
1847
|
break;
|
|
1848
1848
|
case 58:
|
|
1849
|
-
m = 1 + Nt(
|
|
1849
|
+
m = 1 + Nt(E), h = v;
|
|
1850
1850
|
default:
|
|
1851
1851
|
if (g < 1) {
|
|
1852
1852
|
if (C == 123)
|
|
@@ -1854,26 +1854,26 @@ function On(e, t, r, o, a, i, l, s, c) {
|
|
|
1854
1854
|
else if (C == 125 && g++ == 0 && rg() == 125)
|
|
1855
1855
|
continue;
|
|
1856
1856
|
}
|
|
1857
|
-
switch (
|
|
1857
|
+
switch (E += ra(C), C * g) {
|
|
1858
1858
|
case 38:
|
|
1859
|
-
O = d > 0 ? 1 : (
|
|
1859
|
+
O = d > 0 ? 1 : (E += "\f", -1);
|
|
1860
1860
|
break;
|
|
1861
1861
|
case 44:
|
|
1862
|
-
s[u++] = (Nt(
|
|
1862
|
+
s[u++] = (Nt(E) - 1) * O, O = 1;
|
|
1863
1863
|
break;
|
|
1864
1864
|
case 64:
|
|
1865
|
-
Bt() === 45 && (
|
|
1865
|
+
Bt() === 45 && (E += yn(dt())), f = Bt(), d = m = Nt(P = E += ig(vn())), C++;
|
|
1866
1866
|
break;
|
|
1867
1867
|
case 45:
|
|
1868
|
-
v === 45 && Nt(
|
|
1868
|
+
v === 45 && Nt(E) == 2 && (g = 0);
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
return i;
|
|
1872
1872
|
}
|
|
1873
1873
|
function ms(e, t, r, o, a, i, l, s, c, u, d) {
|
|
1874
1874
|
for (var m = a - 1, f = a === 0 ? i : [""], h = Li(f), v = 0, g = 0, b = 0; v < o; ++v)
|
|
1875
|
-
for (var O = 0, C = Ro(e, m + 1, m = Qh(g = l[v])),
|
|
1876
|
-
(
|
|
1875
|
+
for (var O = 0, C = Ro(e, m + 1, m = Qh(g = l[v])), P = e; O < h; ++O)
|
|
1876
|
+
(P = $u(g > 0 ? f[O] + " " + C : be(C, /&\f/g, f[O]))) && (c[b++] = P);
|
|
1877
1877
|
return na(e, t, r, a === 0 ? ki : s, c, u, d);
|
|
1878
1878
|
}
|
|
1879
1879
|
function sg(e, t, r) {
|
|
@@ -2187,12 +2187,12 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2187
2187
|
})], f = ug(u.concat(a, m)), h = function(b) {
|
|
2188
2188
|
return Hr(lg(b), f);
|
|
2189
2189
|
};
|
|
2190
|
-
c = function(b, O, C,
|
|
2190
|
+
c = function(b, O, C, P) {
|
|
2191
2191
|
d = C, process.env.NODE_ENV !== "production" && O.map !== void 0 && (d = {
|
|
2192
2192
|
insert: function(y) {
|
|
2193
2193
|
C.insert(y + O.map);
|
|
2194
2194
|
}
|
|
2195
|
-
}), h(b ? b + "{" + O.styles + "}" : O.styles),
|
|
2195
|
+
}), h(b ? b + "{" + O.styles + "}" : O.styles), P && (v.inserted[O.name] = !0);
|
|
2196
2196
|
};
|
|
2197
2197
|
}
|
|
2198
2198
|
var v = {
|
|
@@ -2221,12 +2221,12 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2221
2221
|
* LICENSE file in the root directory of this source tree.
|
|
2222
2222
|
*/
|
|
2223
2223
|
var vs;
|
|
2224
|
-
function
|
|
2224
|
+
function Pg() {
|
|
2225
2225
|
if (vs)
|
|
2226
2226
|
return xe;
|
|
2227
2227
|
vs = 1;
|
|
2228
2228
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
2229
|
-
function
|
|
2229
|
+
function P(y) {
|
|
2230
2230
|
if (typeof y == "object" && y !== null) {
|
|
2231
2231
|
var F = y.$$typeof;
|
|
2232
2232
|
switch (F) {
|
|
@@ -2257,35 +2257,35 @@ function Eg() {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
function T(y) {
|
|
2260
|
-
return
|
|
2260
|
+
return P(y) === u;
|
|
2261
2261
|
}
|
|
2262
2262
|
return xe.AsyncMode = c, xe.ConcurrentMode = u, xe.ContextConsumer = s, xe.ContextProvider = l, xe.Element = t, xe.ForwardRef = d, xe.Fragment = o, xe.Lazy = v, xe.Memo = h, xe.Portal = r, xe.Profiler = i, xe.StrictMode = a, xe.Suspense = m, xe.isAsyncMode = function(y) {
|
|
2263
|
-
return T(y) ||
|
|
2263
|
+
return T(y) || P(y) === c;
|
|
2264
2264
|
}, xe.isConcurrentMode = T, xe.isContextConsumer = function(y) {
|
|
2265
|
-
return
|
|
2265
|
+
return P(y) === s;
|
|
2266
2266
|
}, xe.isContextProvider = function(y) {
|
|
2267
|
-
return
|
|
2267
|
+
return P(y) === l;
|
|
2268
2268
|
}, xe.isElement = function(y) {
|
|
2269
2269
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
2270
2270
|
}, xe.isForwardRef = function(y) {
|
|
2271
|
-
return
|
|
2271
|
+
return P(y) === d;
|
|
2272
2272
|
}, xe.isFragment = function(y) {
|
|
2273
|
-
return
|
|
2273
|
+
return P(y) === o;
|
|
2274
2274
|
}, xe.isLazy = function(y) {
|
|
2275
|
-
return
|
|
2275
|
+
return P(y) === v;
|
|
2276
2276
|
}, xe.isMemo = function(y) {
|
|
2277
|
-
return
|
|
2277
|
+
return P(y) === h;
|
|
2278
2278
|
}, xe.isPortal = function(y) {
|
|
2279
|
-
return
|
|
2279
|
+
return P(y) === r;
|
|
2280
2280
|
}, xe.isProfiler = function(y) {
|
|
2281
|
-
return
|
|
2281
|
+
return P(y) === i;
|
|
2282
2282
|
}, xe.isStrictMode = function(y) {
|
|
2283
|
-
return
|
|
2283
|
+
return P(y) === a;
|
|
2284
2284
|
}, xe.isSuspense = function(y) {
|
|
2285
|
-
return
|
|
2285
|
+
return P(y) === m;
|
|
2286
2286
|
}, xe.isValidElementType = function(y) {
|
|
2287
2287
|
return typeof y == "string" || typeof y == "function" || y === o || y === u || y === i || y === a || y === m || y === f || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === h || y.$$typeof === l || y.$$typeof === s || y.$$typeof === d || y.$$typeof === b || y.$$typeof === O || y.$$typeof === C || y.$$typeof === g);
|
|
2288
|
-
}, xe.typeOf =
|
|
2288
|
+
}, xe.typeOf = P, xe;
|
|
2289
2289
|
}
|
|
2290
2290
|
var Se = {};
|
|
2291
2291
|
/** @license React v16.13.1
|
|
@@ -2297,10 +2297,10 @@ var Se = {};
|
|
|
2297
2297
|
* LICENSE file in the root directory of this source tree.
|
|
2298
2298
|
*/
|
|
2299
2299
|
var ys;
|
|
2300
|
-
function
|
|
2300
|
+
function Eg() {
|
|
2301
2301
|
return ys || (ys = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2302
2302
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
2303
|
-
function
|
|
2303
|
+
function P(B) {
|
|
2304
2304
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2305
2305
|
B === o || B === u || B === i || B === a || B === m || B === f || typeof B == "object" && B !== null && (B.$$typeof === v || B.$$typeof === h || B.$$typeof === l || B.$$typeof === s || B.$$typeof === d || B.$$typeof === b || B.$$typeof === O || B.$$typeof === C || B.$$typeof === g);
|
|
2306
2306
|
}
|
|
@@ -2336,7 +2336,7 @@ function Pg() {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
|
-
var y = c, F = u,
|
|
2339
|
+
var y = c, F = u, E = s, $ = l, w = t, R = d, M = o, D = v, L = h, N = r, _ = i, A = a, j = m, k = !1;
|
|
2340
2340
|
function z(B) {
|
|
2341
2341
|
return k || (k = !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.")), J(B) || T(B) === c;
|
|
2342
2342
|
}
|
|
@@ -2370,16 +2370,16 @@ function Pg() {
|
|
|
2370
2370
|
function G(B) {
|
|
2371
2371
|
return T(B) === i;
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2373
|
+
function Pe(B) {
|
|
2374
2374
|
return T(B) === a;
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function Ee(B) {
|
|
2377
2377
|
return T(B) === m;
|
|
2378
2378
|
}
|
|
2379
|
-
Se.AsyncMode = y, Se.ConcurrentMode = F, Se.ContextConsumer =
|
|
2379
|
+
Se.AsyncMode = y, Se.ConcurrentMode = F, Se.ContextConsumer = E, Se.ContextProvider = $, Se.Element = w, Se.ForwardRef = R, Se.Fragment = M, Se.Lazy = D, Se.Memo = L, Se.Portal = N, Se.Profiler = _, Se.StrictMode = A, Se.Suspense = j, Se.isAsyncMode = z, Se.isConcurrentMode = J, Se.isContextConsumer = Y, Se.isContextProvider = re, Se.isElement = Te, Se.isForwardRef = oe, Se.isFragment = ee, Se.isLazy = ne, Se.isMemo = ce, Se.isPortal = ae, Se.isProfiler = G, Se.isStrictMode = Pe, Se.isSuspense = Ee, Se.isValidElementType = P, Se.typeOf = T;
|
|
2380
2380
|
}()), Se;
|
|
2381
2381
|
}
|
|
2382
|
-
process.env.NODE_ENV === "production" ? Ya.exports =
|
|
2382
|
+
process.env.NODE_ENV === "production" ? Ya.exports = Pg() : Ya.exports = Eg();
|
|
2383
2383
|
var Cg = Ya.exports, ju = Cg, Fg = {
|
|
2384
2384
|
$$typeof: !0,
|
|
2385
2385
|
render: !0,
|
|
@@ -2654,7 +2654,7 @@ var Rt, Yr = function(t, r, o) {
|
|
|
2654
2654
|
};
|
|
2655
2655
|
}, Vg = function(t) {
|
|
2656
2656
|
return t();
|
|
2657
|
-
}, Wu = x.useInsertionEffect ? x.useInsertionEffect : !1, Di = Wu || Vg,
|
|
2657
|
+
}, Wu = x.useInsertionEffect ? x.useInsertionEffect : !1, Di = Wu || Vg, Ps = Wu || x.useLayoutEffect, Bg = {}.hasOwnProperty, Ni = /* @__PURE__ */ x.createContext(
|
|
2658
2658
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
2659
2659
|
// because this module is primarily intended for the browser and node
|
|
2660
2660
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -2673,7 +2673,7 @@ var zg = Ni.Provider, la = function(t) {
|
|
|
2673
2673
|
});
|
|
2674
2674
|
}, ur = /* @__PURE__ */ x.createContext({});
|
|
2675
2675
|
process.env.NODE_ENV !== "production" && (ur.displayName = "EmotionThemeContext");
|
|
2676
|
-
var
|
|
2676
|
+
var Es = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Cs = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Hg = function(t) {
|
|
2677
2677
|
var r = t.cache, o = t.serialized, a = t.isStringTag;
|
|
2678
2678
|
return aa(r, o, a), Di(function() {
|
|
2679
2679
|
return ia(r, o, a);
|
|
@@ -2681,7 +2681,7 @@ var Ps = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Cs = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
2681
2681
|
}, Wg = /* @__PURE__ */ la(function(e, t, r) {
|
|
2682
2682
|
var o = e.css;
|
|
2683
2683
|
typeof o == "string" && t.registered[o] !== void 0 && (o = t.registered[o]);
|
|
2684
|
-
var a = e[
|
|
2684
|
+
var a = e[Es], i = [o], l = "";
|
|
2685
2685
|
typeof e.className == "string" ? l = Ai(t.registered, i, e.className) : e.className != null && (l = e.className + " ");
|
|
2686
2686
|
var s = Yr(i, void 0, x.useContext(ur));
|
|
2687
2687
|
if (process.env.NODE_ENV !== "production" && s.name.indexOf("-") === -1) {
|
|
@@ -2691,7 +2691,7 @@ var Ps = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Cs = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
2691
2691
|
l += t.key + "-" + s.name;
|
|
2692
2692
|
var u = {};
|
|
2693
2693
|
for (var d in e)
|
|
2694
|
-
Bg.call(e, d) && d !== "css" && d !==
|
|
2694
|
+
Bg.call(e, d) && d !== "css" && d !== Es && (process.env.NODE_ENV === "production" || d !== Cs) && (u[d] = e[d]);
|
|
2695
2695
|
return u.ref = r, u.className = l, /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Hg, {
|
|
2696
2696
|
cache: t,
|
|
2697
2697
|
serialized: s,
|
|
@@ -2853,7 +2853,7 @@ var Ug = {
|
|
|
2853
2853
|
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
|
|
2854
2854
|
(e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), ws = !0);
|
|
2855
2855
|
var r = e.styles, o = Yr([r], void 0, x.useContext(ur)), a = x.useRef();
|
|
2856
|
-
return
|
|
2856
|
+
return Ps(function() {
|
|
2857
2857
|
var i = t.key + "-global", l = new t.sheet.constructor({
|
|
2858
2858
|
key: i,
|
|
2859
2859
|
nonce: t.sheet.nonce,
|
|
@@ -2863,7 +2863,7 @@ var Ug = {
|
|
|
2863
2863
|
return t.sheet.tags.length && (l.before = t.sheet.tags[0]), c !== null && (s = !0, c.setAttribute("data-emotion", i), l.hydrate([c])), a.current = [l, s], function() {
|
|
2864
2864
|
l.flush();
|
|
2865
2865
|
};
|
|
2866
|
-
}, [t]),
|
|
2866
|
+
}, [t]), Ps(function() {
|
|
2867
2867
|
var i = a.current, l = i[0], s = i[1];
|
|
2868
2868
|
if (s) {
|
|
2869
2869
|
i[1] = !1;
|
|
@@ -3004,23 +3004,23 @@ You may have forgotten to import it.`);
|
|
|
3004
3004
|
process.env.NODE_ENV !== "production" && d[0][h] === void 0 && console.error(As), m.push(d[h], d[0][h]);
|
|
3005
3005
|
}
|
|
3006
3006
|
var v = la(function(g, b, O) {
|
|
3007
|
-
var C = u && g.as || a,
|
|
3007
|
+
var C = u && g.as || a, P = "", T = [], y = g;
|
|
3008
3008
|
if (g.theme == null) {
|
|
3009
3009
|
y = {};
|
|
3010
3010
|
for (var F in g)
|
|
3011
3011
|
y[F] = g[F];
|
|
3012
3012
|
y.theme = x.useContext(ur);
|
|
3013
3013
|
}
|
|
3014
|
-
typeof g.className == "string" ?
|
|
3015
|
-
var
|
|
3016
|
-
|
|
3014
|
+
typeof g.className == "string" ? P = Ai(b.registered, T, g.className) : g.className != null && (P = g.className + " ");
|
|
3015
|
+
var E = Yr(m.concat(T), b.registered, y);
|
|
3016
|
+
P += b.key + "-" + E.name, l !== void 0 && (P += " " + l);
|
|
3017
3017
|
var $ = u && s === void 0 ? $s(C) : c, w = {};
|
|
3018
3018
|
for (var R in g)
|
|
3019
3019
|
u && R === "as" || // $FlowFixMe
|
|
3020
3020
|
$(R) && (w[R] = g[R]);
|
|
3021
|
-
return w.className =
|
|
3021
|
+
return w.className = P, w.ref = O, /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Jg, {
|
|
3022
3022
|
cache: b,
|
|
3023
|
-
serialized:
|
|
3023
|
+
serialized: E,
|
|
3024
3024
|
isStringTag: typeof C == "string"
|
|
3025
3025
|
}), /* @__PURE__ */ x.createElement(C, w));
|
|
3026
3026
|
});
|
|
@@ -3490,7 +3490,7 @@ function Tb(e, t, r, o = 1) {
|
|
|
3490
3490
|
const $o = {
|
|
3491
3491
|
black: "#000",
|
|
3492
3492
|
white: "#fff"
|
|
3493
|
-
},
|
|
3493
|
+
}, Pb = {
|
|
3494
3494
|
50: "#fafafa",
|
|
3495
3495
|
100: "#f5f5f5",
|
|
3496
3496
|
200: "#eeeeee",
|
|
@@ -3595,7 +3595,7 @@ const $o = {
|
|
|
3595
3595
|
A200: "#69f0ae",
|
|
3596
3596
|
A400: "#00e676",
|
|
3597
3597
|
A700: "#00c853"
|
|
3598
|
-
},
|
|
3598
|
+
}, Eb = ["mode", "contrastThreshold", "tonalOffset"], Ns = {
|
|
3599
3599
|
// The colors used to style the text.
|
|
3600
3600
|
text: {
|
|
3601
3601
|
// The most important text.
|
|
@@ -3734,7 +3734,7 @@ function $b(e) {
|
|
|
3734
3734
|
mode: t = "light",
|
|
3735
3735
|
contrastThreshold: r = 3,
|
|
3736
3736
|
tonalOffset: o = 0.2
|
|
3737
|
-
} = e, a = W(e,
|
|
3737
|
+
} = e, a = W(e, Eb), i = e.primary || Cb(t), l = e.secondary || Fb(t), s = e.error || wb(t), c = e.info || Rb(t), u = e.success || Mb(t), d = e.warning || kb(t);
|
|
3738
3738
|
function m(g) {
|
|
3739
3739
|
const b = Is(g, wa.text.primary) >= r ? wa.text.primary : Ns.text.primary;
|
|
3740
3740
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -3749,7 +3749,7 @@ function $b(e) {
|
|
|
3749
3749
|
name: b,
|
|
3750
3750
|
mainShade: O = 500,
|
|
3751
3751
|
lightShade: C = 300,
|
|
3752
|
-
darkShade:
|
|
3752
|
+
darkShade: P = 700
|
|
3753
3753
|
}) => {
|
|
3754
3754
|
if (g = S({}, g), !g.main && g[O] && (g.main = g[O]), !g.hasOwnProperty("main"))
|
|
3755
3755
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${b ? ` (${b})` : ""} provided to augmentColor(color) is invalid.
|
|
@@ -3769,7 +3769,7 @@ const theme1 = createTheme({ palette: {
|
|
|
3769
3769
|
const theme2 = createTheme({ palette: {
|
|
3770
3770
|
primary: { main: green[500] },
|
|
3771
3771
|
} });` : Tr(12, b ? ` (${b})` : "", JSON.stringify(g.main)));
|
|
3772
|
-
return _s(g, "light", C, o), _s(g, "dark",
|
|
3772
|
+
return _s(g, "light", C, o), _s(g, "dark", P, o), g.contrastText || (g.contrastText = m(g.main)), g;
|
|
3773
3773
|
}, h = {
|
|
3774
3774
|
dark: wa,
|
|
3775
3775
|
light: Ns
|
|
@@ -3814,7 +3814,7 @@ const theme2 = createTheme({ palette: {
|
|
|
3814
3814
|
name: "success"
|
|
3815
3815
|
}),
|
|
3816
3816
|
// The grey colors.
|
|
3817
|
-
grey:
|
|
3817
|
+
grey: Pb,
|
|
3818
3818
|
// Used by `getContrastText()` to maximize the contrast between
|
|
3819
3819
|
// the background and the text.
|
|
3820
3820
|
contrastThreshold: r,
|
|
@@ -3853,12 +3853,12 @@ function Ib(e, t) {
|
|
|
3853
3853
|
pxToRem: m
|
|
3854
3854
|
} = r, f = W(r, Lb);
|
|
3855
3855
|
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3856
|
-
const h = a / 14, v = m || ((O) => `${O / u * h}rem`), g = (O, C,
|
|
3856
|
+
const h = a / 14, v = m || ((O) => `${O / u * h}rem`), g = (O, C, P, T, y) => S({
|
|
3857
3857
|
fontFamily: o,
|
|
3858
3858
|
fontWeight: O,
|
|
3859
3859
|
fontSize: v(C),
|
|
3860
3860
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3861
|
-
lineHeight:
|
|
3861
|
+
lineHeight: P
|
|
3862
3862
|
}, o === Vs ? {
|
|
3863
3863
|
letterSpacing: `${Ab(T / C)}em`
|
|
3864
3864
|
} : {}, y, d), b = {
|
|
@@ -4166,15 +4166,15 @@ function fv(e = {}) {
|
|
|
4166
4166
|
const C = (0, Hs.default)(l, (0, gt.default)({
|
|
4167
4167
|
shouldForwardProp: O,
|
|
4168
4168
|
label: b
|
|
4169
|
-
}, h)),
|
|
4169
|
+
}, h)), P = (y) => typeof y == "function" && y.__emotion_real !== y || (0, ev.isPlainObject)(y) ? (F) => Sn(y, (0, gt.default)({}, F, {
|
|
4170
4170
|
theme: sn({
|
|
4171
4171
|
theme: F.theme,
|
|
4172
4172
|
defaultTheme: r,
|
|
4173
4173
|
themeId: t
|
|
4174
4174
|
})
|
|
4175
4175
|
})) : y, T = (y, ...F) => {
|
|
4176
|
-
let
|
|
4177
|
-
const $ = F ? F.map(
|
|
4176
|
+
let E = P(y);
|
|
4177
|
+
const $ = F ? F.map(P) : [];
|
|
4178
4178
|
c && f && $.push((M) => {
|
|
4179
4179
|
const D = sn((0, gt.default)({}, M, {
|
|
4180
4180
|
defaultTheme: r,
|
|
@@ -4203,9 +4203,9 @@ function fv(e = {}) {
|
|
|
4203
4203
|
const w = $.length - F.length;
|
|
4204
4204
|
if (Array.isArray(y) && w > 0) {
|
|
4205
4205
|
const M = new Array(w).fill("");
|
|
4206
|
-
|
|
4206
|
+
E = [...y, ...M], E.raw = [...y.raw, ...M];
|
|
4207
4207
|
}
|
|
4208
|
-
const R = C(
|
|
4208
|
+
const R = C(E, ...$);
|
|
4209
4209
|
if (process.env.NODE_ENV !== "production") {
|
|
4210
4210
|
let M;
|
|
4211
4211
|
c && (M = `${c}${(0, tv.default)(u || "")}`), M === void 0 && (M = `Styled(${(0, rv.default)(l)})`), R.displayName = M;
|
|
@@ -4418,7 +4418,7 @@ const yv = {
|
|
|
4418
4418
|
setRef: Fn,
|
|
4419
4419
|
unstable_ClassNameGenerator: yv,
|
|
4420
4420
|
unstable_useEnhancedEffect: rr,
|
|
4421
|
-
unstable_useId:
|
|
4421
|
+
unstable_useId: Pi,
|
|
4422
4422
|
unsupportedProp: mu,
|
|
4423
4423
|
useControlled: hu,
|
|
4424
4424
|
useEventCallback: yt,
|
|
@@ -4444,15 +4444,15 @@ var Sv = $e;
|
|
|
4444
4444
|
Object.defineProperty(Si, "__esModule", {
|
|
4445
4445
|
value: !0
|
|
4446
4446
|
});
|
|
4447
|
-
var Wi = Si.default = void 0, Tv = Sv(De()),
|
|
4448
|
-
Wi = Si.default = (0, Tv.default)(/* @__PURE__ */ (0,
|
|
4447
|
+
var Wi = Si.default = void 0, Tv = Sv(De()), Pv = Ie;
|
|
4448
|
+
Wi = Si.default = (0, Tv.default)(/* @__PURE__ */ (0, Pv.jsx)("path", {
|
|
4449
4449
|
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"
|
|
4450
4450
|
}), "Lock");
|
|
4451
|
-
var Ui = {},
|
|
4451
|
+
var Ui = {}, Ev = $e;
|
|
4452
4452
|
Object.defineProperty(Ui, "__esModule", {
|
|
4453
4453
|
value: !0
|
|
4454
4454
|
});
|
|
4455
|
-
var ld = Ui.default = void 0, Cv =
|
|
4455
|
+
var ld = Ui.default = void 0, Cv = Ev(De()), Fv = Ie;
|
|
4456
4456
|
ld = Ui.default = (0, Cv.default)(/* @__PURE__ */ (0, Fv.jsx)("path", {
|
|
4457
4457
|
d: "M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1m-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7zm-2.28 8c.04.33.08.66.08 1 0 2.08-.8 3.97-2.1 5.39-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H7v-2h2c.55 0 1-.45 1-1V8h2c1.1 0 2-.9 2-2V3.46c-.95-.3-1.95-.46-3-.46C5.48 3 1 7.48 1 13s4.48 10 10 10 10-4.48 10-10c0-.34-.02-.67-.05-1zM10 20.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L8 16v1c0 1.1.9 2 2 2z"
|
|
4458
4458
|
}), "VpnLock");
|
|
@@ -4618,15 +4618,15 @@ function Vv(e = {}) {
|
|
|
4618
4618
|
const C = _i(l, S({
|
|
4619
4619
|
shouldForwardProp: O,
|
|
4620
4620
|
label: b
|
|
4621
|
-
}, h)),
|
|
4621
|
+
}, h)), P = (y) => typeof y == "function" && y.__emotion_real !== y || er(y) ? (F) => Tn(y, S({}, F, {
|
|
4622
4622
|
theme: cn({
|
|
4623
4623
|
theme: F.theme,
|
|
4624
4624
|
defaultTheme: r,
|
|
4625
4625
|
themeId: t
|
|
4626
4626
|
})
|
|
4627
4627
|
})) : y, T = (y, ...F) => {
|
|
4628
|
-
let
|
|
4629
|
-
const $ = F ? F.map(
|
|
4628
|
+
let E = P(y);
|
|
4629
|
+
const $ = F ? F.map(P) : [];
|
|
4630
4630
|
c && f && $.push((M) => {
|
|
4631
4631
|
const D = cn(S({}, M, {
|
|
4632
4632
|
defaultTheme: r,
|
|
@@ -4655,9 +4655,9 @@ function Vv(e = {}) {
|
|
|
4655
4655
|
const w = $.length - F.length;
|
|
4656
4656
|
if (Array.isArray(y) && w > 0) {
|
|
4657
4657
|
const M = new Array(w).fill("");
|
|
4658
|
-
|
|
4658
|
+
E = [...y, ...M], E.raw = [...y.raw, ...M];
|
|
4659
4659
|
}
|
|
4660
|
-
const R = C(
|
|
4660
|
+
const R = C(E, ...$);
|
|
4661
4661
|
if (process.env.NODE_ENV !== "production") {
|
|
4662
4662
|
let M;
|
|
4663
4663
|
c && (M = `${c}${X(u || "")}`), M === void 0 && (M = `Styled(${fu(l)})`), R.displayName = M;
|
|
@@ -4856,17 +4856,17 @@ const ty = (e) => ({
|
|
|
4856
4856
|
flexDirection: "column"
|
|
4857
4857
|
}, Mt({
|
|
4858
4858
|
theme: t
|
|
4859
|
-
},
|
|
4859
|
+
}, Ea({
|
|
4860
4860
|
values: e.direction,
|
|
4861
4861
|
breakpoints: t.breakpoints.values
|
|
4862
4862
|
}), (o) => ({
|
|
4863
4863
|
flexDirection: o
|
|
4864
4864
|
})));
|
|
4865
4865
|
if (e.spacing) {
|
|
4866
|
-
const o = wi(t), a = Object.keys(t.breakpoints.values).reduce((c, u) => ((typeof e.spacing == "object" && e.spacing[u] != null || typeof e.direction == "object" && e.direction[u] != null) && (c[u] = !0), c), {}), i =
|
|
4866
|
+
const o = wi(t), a = Object.keys(t.breakpoints.values).reduce((c, u) => ((typeof e.spacing == "object" && e.spacing[u] != null || typeof e.direction == "object" && e.direction[u] != null) && (c[u] = !0), c), {}), i = Ea({
|
|
4867
4867
|
values: e.direction,
|
|
4868
4868
|
base: a
|
|
4869
|
-
}), l =
|
|
4869
|
+
}), l = Ea({
|
|
4870
4870
|
values: e.spacing,
|
|
4871
4871
|
base: a
|
|
4872
4872
|
});
|
|
@@ -4878,7 +4878,7 @@ const ty = (e) => ({
|
|
|
4878
4878
|
}), r = Ot(r, Mt({
|
|
4879
4879
|
theme: t
|
|
4880
4880
|
}, l, (c, u) => e.useFlexGap ? {
|
|
4881
|
-
gap:
|
|
4881
|
+
gap: Pr(o, c)
|
|
4882
4882
|
} : {
|
|
4883
4883
|
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
4884
4884
|
// We need to reset the margin to avoid double spacing.
|
|
@@ -4886,7 +4886,7 @@ const ty = (e) => ({
|
|
|
4886
4886
|
margin: 0
|
|
4887
4887
|
},
|
|
4888
4888
|
"& > :not(style) ~ :not(style)": {
|
|
4889
|
-
[`margin${ty(u ? i[u] : e.direction)}`]:
|
|
4889
|
+
[`margin${ty(u ? i[u] : e.direction)}`]: Pr(o, c)
|
|
4890
4890
|
}
|
|
4891
4891
|
}));
|
|
4892
4892
|
}
|
|
@@ -4909,7 +4909,7 @@ function oy(e = {}) {
|
|
|
4909
4909
|
children: b,
|
|
4910
4910
|
className: O,
|
|
4911
4911
|
useFlexGap: C = !1
|
|
4912
|
-
} = m,
|
|
4912
|
+
} = m, P = W(m, Qv), T = {
|
|
4913
4913
|
direction: h,
|
|
4914
4914
|
spacing: v,
|
|
4915
4915
|
useFlexGap: C
|
|
@@ -4919,7 +4919,7 @@ function oy(e = {}) {
|
|
|
4919
4919
|
ownerState: T,
|
|
4920
4920
|
ref: u,
|
|
4921
4921
|
className: q(y.root, O)
|
|
4922
|
-
},
|
|
4922
|
+
}, P, {
|
|
4923
4923
|
children: g ? ey(b, g) : b
|
|
4924
4924
|
}));
|
|
4925
4925
|
});
|
|
@@ -5072,7 +5072,7 @@ function Oy(e) {
|
|
|
5072
5072
|
const t = Ze(e);
|
|
5073
5073
|
return t.body === e ? Gt(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
5074
5074
|
}
|
|
5075
|
-
function
|
|
5075
|
+
function Po(e, t) {
|
|
5076
5076
|
t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
|
|
5077
5077
|
}
|
|
5078
5078
|
function Xs(e) {
|
|
@@ -5086,7 +5086,7 @@ function Zs(e, t, r, o, a) {
|
|
|
5086
5086
|
const i = [t, r, ...o];
|
|
5087
5087
|
[].forEach.call(e.children, (l) => {
|
|
5088
5088
|
const s = i.indexOf(l) === -1, c = !xy(l);
|
|
5089
|
-
s && c &&
|
|
5089
|
+
s && c && Po(l, a);
|
|
5090
5090
|
});
|
|
5091
5091
|
}
|
|
5092
5092
|
function ka(e, t) {
|
|
@@ -5149,7 +5149,7 @@ function Ty(e) {
|
|
|
5149
5149
|
r.getAttribute("aria-hidden") === "true" && t.push(r);
|
|
5150
5150
|
}), t;
|
|
5151
5151
|
}
|
|
5152
|
-
class
|
|
5152
|
+
class Py {
|
|
5153
5153
|
constructor() {
|
|
5154
5154
|
this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
|
|
5155
5155
|
}
|
|
@@ -5157,7 +5157,7 @@ class Ey {
|
|
|
5157
5157
|
let o = this.modals.indexOf(t);
|
|
5158
5158
|
if (o !== -1)
|
|
5159
5159
|
return o;
|
|
5160
|
-
o = this.modals.length, this.modals.push(t), t.modalRef &&
|
|
5160
|
+
o = this.modals.length, this.modals.push(t), t.modalRef && Po(t.modalRef, !1);
|
|
5161
5161
|
const a = Ty(r);
|
|
5162
5162
|
Zs(r, t.mount, t.modalRef, a, !0);
|
|
5163
5163
|
const i = ka(this.containers, (l) => l.container === r);
|
|
@@ -5178,10 +5178,10 @@ class Ey {
|
|
|
5178
5178
|
return o;
|
|
5179
5179
|
const a = ka(this.containers, (l) => l.modals.indexOf(t) !== -1), i = this.containers[a];
|
|
5180
5180
|
if (i.modals.splice(i.modals.indexOf(t), 1), this.modals.splice(o, 1), i.modals.length === 0)
|
|
5181
|
-
i.restore && i.restore(), t.modalRef &&
|
|
5181
|
+
i.restore && i.restore(), t.modalRef && Po(t.modalRef, r), Zs(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(a, 1);
|
|
5182
5182
|
else {
|
|
5183
5183
|
const l = i.modals[i.modals.length - 1];
|
|
5184
|
-
l.modalRef &&
|
|
5184
|
+
l.modalRef && Po(l.modalRef, !1);
|
|
5185
5185
|
}
|
|
5186
5186
|
return o;
|
|
5187
5187
|
}
|
|
@@ -5189,13 +5189,13 @@ class Ey {
|
|
|
5189
5189
|
return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
|
|
5190
5190
|
}
|
|
5191
5191
|
}
|
|
5192
|
-
function
|
|
5192
|
+
function Ey(e) {
|
|
5193
5193
|
return typeof e == "function" ? e() : e;
|
|
5194
5194
|
}
|
|
5195
5195
|
function Cy(e) {
|
|
5196
5196
|
return e ? e.props.hasOwnProperty("in") : !1;
|
|
5197
5197
|
}
|
|
5198
|
-
const Fy = new
|
|
5198
|
+
const Fy = new Py();
|
|
5199
5199
|
function wy(e) {
|
|
5200
5200
|
const {
|
|
5201
5201
|
container: t,
|
|
@@ -5211,25 +5211,25 @@ function wy(e) {
|
|
|
5211
5211
|
open: d,
|
|
5212
5212
|
rootRef: m
|
|
5213
5213
|
} = e, f = x.useRef({}), h = x.useRef(null), v = x.useRef(null), g = Ge(v, m), [b, O] = x.useState(!d), C = Cy(c);
|
|
5214
|
-
let
|
|
5215
|
-
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (
|
|
5214
|
+
let P = !0;
|
|
5215
|
+
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (P = !1);
|
|
5216
5216
|
const T = () => Ze(h.current), y = () => (f.current.modalRef = v.current, f.current.mount = h.current, f.current), F = () => {
|
|
5217
5217
|
a.mount(y(), {
|
|
5218
5218
|
disableScrollLock: o
|
|
5219
5219
|
}), v.current && (v.current.scrollTop = 0);
|
|
5220
|
-
},
|
|
5221
|
-
const A =
|
|
5220
|
+
}, E = yt(() => {
|
|
5221
|
+
const A = Ey(t) || T().body;
|
|
5222
5222
|
a.add(y(), A), v.current && F();
|
|
5223
5223
|
}), $ = x.useCallback(() => a.isTopModal(y()), [a]), w = yt((A) => {
|
|
5224
|
-
h.current = A, A && (d && $() ? F() : v.current &&
|
|
5224
|
+
h.current = A, A && (d && $() ? F() : v.current && Po(v.current, P));
|
|
5225
5225
|
}), R = x.useCallback(() => {
|
|
5226
|
-
a.remove(y(),
|
|
5227
|
-
}, [
|
|
5226
|
+
a.remove(y(), P);
|
|
5227
|
+
}, [P, a]);
|
|
5228
5228
|
x.useEffect(() => () => {
|
|
5229
5229
|
R();
|
|
5230
5230
|
}, [R]), x.useEffect(() => {
|
|
5231
|
-
d ?
|
|
5232
|
-
}, [d, R, C, i,
|
|
5231
|
+
d ? E() : (!C || !i) && R();
|
|
5232
|
+
}, [d, R, C, i, E]);
|
|
5233
5233
|
const M = (A) => (j) => {
|
|
5234
5234
|
var k;
|
|
5235
5235
|
(k = A.onKeyDown) == null || k.call(A, j), !(j.key !== "Escape" || j.which === 229 || // Wait until IME is settled.
|
|
@@ -5321,54 +5321,54 @@ function In(e) {
|
|
|
5321
5321
|
}, [r, s]), x.useEffect(() => {
|
|
5322
5322
|
if (!s || !v.current)
|
|
5323
5323
|
return;
|
|
5324
|
-
const
|
|
5325
|
-
return v.current.contains(
|
|
5324
|
+
const P = Ze(v.current);
|
|
5325
|
+
return v.current.contains(P.activeElement) || (v.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
5326
5326
|
`)), v.current.setAttribute("tabIndex", "-1")), h.current && v.current.focus()), () => {
|
|
5327
5327
|
a || (m.current && m.current.focus && (c.current = !0, m.current.focus()), m.current = null);
|
|
5328
5328
|
};
|
|
5329
5329
|
}, [s]), x.useEffect(() => {
|
|
5330
5330
|
if (!s || !v.current)
|
|
5331
5331
|
return;
|
|
5332
|
-
const
|
|
5333
|
-
b.current =
|
|
5332
|
+
const P = Ze(v.current), T = (E) => {
|
|
5333
|
+
b.current = E, !(o || !l() || E.key !== "Tab") && P.activeElement === v.current && E.shiftKey && (c.current = !0, d.current && d.current.focus());
|
|
5334
5334
|
}, y = () => {
|
|
5335
|
-
const
|
|
5336
|
-
if (
|
|
5335
|
+
const E = v.current;
|
|
5336
|
+
if (E === null)
|
|
5337
5337
|
return;
|
|
5338
|
-
if (!
|
|
5338
|
+
if (!P.hasFocus() || !l() || c.current) {
|
|
5339
5339
|
c.current = !1;
|
|
5340
5340
|
return;
|
|
5341
5341
|
}
|
|
5342
|
-
if (
|
|
5342
|
+
if (E.contains(P.activeElement) || o && P.activeElement !== u.current && P.activeElement !== d.current)
|
|
5343
5343
|
return;
|
|
5344
|
-
if (
|
|
5344
|
+
if (P.activeElement !== f.current)
|
|
5345
5345
|
f.current = null;
|
|
5346
5346
|
else if (f.current !== null)
|
|
5347
5347
|
return;
|
|
5348
5348
|
if (!h.current)
|
|
5349
5349
|
return;
|
|
5350
5350
|
let $ = [];
|
|
5351
|
-
if ((
|
|
5351
|
+
if ((P.activeElement === u.current || P.activeElement === d.current) && ($ = i(v.current)), $.length > 0) {
|
|
5352
5352
|
var w, R;
|
|
5353
5353
|
const M = !!((w = b.current) != null && w.shiftKey && ((R = b.current) == null ? void 0 : R.key) === "Tab"), D = $[0], L = $[$.length - 1];
|
|
5354
5354
|
typeof D != "string" && typeof L != "string" && (M ? L.focus() : D.focus());
|
|
5355
5355
|
} else
|
|
5356
|
-
|
|
5356
|
+
E.focus();
|
|
5357
5357
|
};
|
|
5358
|
-
|
|
5358
|
+
P.addEventListener("focusin", y), P.addEventListener("keydown", T, !0);
|
|
5359
5359
|
const F = setInterval(() => {
|
|
5360
|
-
|
|
5360
|
+
P.activeElement && P.activeElement.tagName === "BODY" && y();
|
|
5361
5361
|
}, 50);
|
|
5362
5362
|
return () => {
|
|
5363
|
-
clearInterval(F),
|
|
5363
|
+
clearInterval(F), P.removeEventListener("focusin", y), P.removeEventListener("keydown", T, !0);
|
|
5364
5364
|
};
|
|
5365
5365
|
}, [r, o, a, l, s, i]);
|
|
5366
|
-
const O = (
|
|
5367
|
-
m.current === null && (m.current =
|
|
5366
|
+
const O = (P) => {
|
|
5367
|
+
m.current === null && (m.current = P.relatedTarget), h.current = !0, f.current = P.target;
|
|
5368
5368
|
const T = t.props.onFocus;
|
|
5369
|
-
T && T(
|
|
5370
|
-
}, C = (
|
|
5371
|
-
m.current === null && (m.current =
|
|
5369
|
+
T && T(P);
|
|
5370
|
+
}, C = (P) => {
|
|
5371
|
+
m.current === null && (m.current = P.relatedTarget), h.current = !0;
|
|
5372
5372
|
};
|
|
5373
5373
|
return /* @__PURE__ */ V(x.Fragment, {
|
|
5374
5374
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -6073,12 +6073,12 @@ const Wy = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6073
6073
|
timeout: O = a,
|
|
6074
6074
|
// eslint-disable-next-line react/prop-types
|
|
6075
6075
|
TransitionComponent: C = Lt
|
|
6076
|
-
} = t,
|
|
6076
|
+
} = t, P = W(t, Wy), T = x.useRef(null), y = Ge(T, s.ref, r), F = (N) => (_) => {
|
|
6077
6077
|
if (N) {
|
|
6078
6078
|
const A = T.current;
|
|
6079
6079
|
_ === void 0 ? N(A) : N(A, _);
|
|
6080
6080
|
}
|
|
6081
|
-
},
|
|
6081
|
+
}, E = F(f), $ = F((N, _) => {
|
|
6082
6082
|
tl(N);
|
|
6083
6083
|
const A = Xr({
|
|
6084
6084
|
style: b,
|
|
@@ -6104,7 +6104,7 @@ const Wy = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6104
6104
|
nodeRef: T,
|
|
6105
6105
|
onEnter: $,
|
|
6106
6106
|
onEntered: w,
|
|
6107
|
-
onEntering:
|
|
6107
|
+
onEntering: E,
|
|
6108
6108
|
onExit: M,
|
|
6109
6109
|
onExited: D,
|
|
6110
6110
|
onExiting: R,
|
|
@@ -6112,7 +6112,7 @@ const Wy = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6112
6112
|
i && i(T.current, N);
|
|
6113
6113
|
},
|
|
6114
6114
|
timeout: O
|
|
6115
|
-
},
|
|
6115
|
+
}, P, {
|
|
6116
6116
|
children: (N, _) => /* @__PURE__ */ x.cloneElement(s, S({
|
|
6117
6117
|
style: S({
|
|
6118
6118
|
opacity: 0,
|
|
@@ -6250,10 +6250,10 @@ const qy = ["children", "className", "component", "components", "componentsProps
|
|
|
6250
6250
|
slots: g = {},
|
|
6251
6251
|
TransitionComponent: b = rl,
|
|
6252
6252
|
transitionDuration: O
|
|
6253
|
-
} = l, C = W(l, qy),
|
|
6253
|
+
} = l, C = W(l, qy), P = S({}, l, {
|
|
6254
6254
|
component: u,
|
|
6255
6255
|
invisible: f
|
|
6256
|
-
}), T = Ky(
|
|
6256
|
+
}), T = Ky(P), y = (o = v.root) != null ? o : m.root;
|
|
6257
6257
|
return /* @__PURE__ */ p(b, S({
|
|
6258
6258
|
in: h,
|
|
6259
6259
|
timeout: O
|
|
@@ -6263,7 +6263,7 @@ const qy = ["children", "className", "component", "components", "componentsProps
|
|
|
6263
6263
|
}, y, {
|
|
6264
6264
|
as: (a = (i = g.root) != null ? i : d.Root) != null ? a : u,
|
|
6265
6265
|
className: q(T.root, c, y == null ? void 0 : y.className),
|
|
6266
|
-
ownerState: S({},
|
|
6266
|
+
ownerState: S({}, P, y == null ? void 0 : y.ownerState),
|
|
6267
6267
|
classes: T,
|
|
6268
6268
|
ref: r,
|
|
6269
6269
|
children: s
|
|
@@ -6422,11 +6422,11 @@ const Xy = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6422
6422
|
component: b,
|
|
6423
6423
|
components: O = {},
|
|
6424
6424
|
componentsProps: C = {},
|
|
6425
|
-
disableAutoFocus:
|
|
6425
|
+
disableAutoFocus: P = !1,
|
|
6426
6426
|
disableEnforceFocus: T = !1,
|
|
6427
6427
|
disableEscapeKeyDown: y = !1,
|
|
6428
6428
|
disablePortal: F = !1,
|
|
6429
|
-
disableRestoreFocus:
|
|
6429
|
+
disableRestoreFocus: E = !1,
|
|
6430
6430
|
disableScrollLock: $ = !1,
|
|
6431
6431
|
hideBackdrop: w = !1,
|
|
6432
6432
|
keepMounted: R = !1,
|
|
@@ -6437,11 +6437,11 @@ const Xy = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6437
6437
|
// eslint-disable-next-line react/prop-types
|
|
6438
6438
|
} = u, _ = W(u, Xy), A = S({}, u, {
|
|
6439
6439
|
closeAfterTransition: h,
|
|
6440
|
-
disableAutoFocus:
|
|
6440
|
+
disableAutoFocus: P,
|
|
6441
6441
|
disableEnforceFocus: T,
|
|
6442
6442
|
disableEscapeKeyDown: y,
|
|
6443
6443
|
disablePortal: F,
|
|
6444
|
-
disableRestoreFocus:
|
|
6444
|
+
disableRestoreFocus: E,
|
|
6445
6445
|
disableScrollLock: $,
|
|
6446
6446
|
hideBackdrop: w,
|
|
6447
6447
|
keepMounted: R
|
|
@@ -6465,7 +6465,7 @@ const Xy = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6465
6465
|
} = z();
|
|
6466
6466
|
ne.onEnter = Z, ne.onExited = I;
|
|
6467
6467
|
}
|
|
6468
|
-
const ce = (o = (a = N == null ? void 0 : N.root) != null ? a : O.Root) != null ? o : Jy, ae = (i = (l = N == null ? void 0 : N.backdrop) != null ? l : O.Backdrop) != null ? i : d, G = (s = L == null ? void 0 : L.root) != null ? s : C.root,
|
|
6468
|
+
const ce = (o = (a = N == null ? void 0 : N.root) != null ? a : O.Root) != null ? o : Jy, ae = (i = (l = N == null ? void 0 : N.backdrop) != null ? l : O.Backdrop) != null ? i : d, G = (s = L == null ? void 0 : L.root) != null ? s : C.root, Pe = (c = L == null ? void 0 : L.backdrop) != null ? c : C.backdrop, Ee = kt({
|
|
6469
6469
|
elementType: ce,
|
|
6470
6470
|
externalSlotProps: G,
|
|
6471
6471
|
externalForwardedProps: _,
|
|
@@ -6478,25 +6478,25 @@ const Xy = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6478
6478
|
className: q(f, G == null ? void 0 : G.className, ee == null ? void 0 : ee.root, !oe.open && oe.exited && (ee == null ? void 0 : ee.hidden))
|
|
6479
6479
|
}), B = kt({
|
|
6480
6480
|
elementType: ae,
|
|
6481
|
-
externalSlotProps:
|
|
6481
|
+
externalSlotProps: Pe,
|
|
6482
6482
|
additionalProps: m,
|
|
6483
6483
|
getSlotProps: (Z) => k(S({}, Z, {
|
|
6484
6484
|
onClick: (I) => {
|
|
6485
6485
|
M && M(I), Z != null && Z.onClick && Z.onClick(I);
|
|
6486
6486
|
}
|
|
6487
6487
|
})),
|
|
6488
|
-
className: q(
|
|
6488
|
+
className: q(Pe == null ? void 0 : Pe.className, m == null ? void 0 : m.className, ee == null ? void 0 : ee.backdrop),
|
|
6489
6489
|
ownerState: oe
|
|
6490
6490
|
});
|
|
6491
6491
|
return !R && !D && (!Te || re) ? null : /* @__PURE__ */ p(Ao, {
|
|
6492
6492
|
ref: J,
|
|
6493
6493
|
container: g,
|
|
6494
6494
|
disablePortal: F,
|
|
6495
|
-
children: /* @__PURE__ */ V(ce, S({},
|
|
6495
|
+
children: /* @__PURE__ */ V(ce, S({}, Ee, {
|
|
6496
6496
|
children: [!w && d ? /* @__PURE__ */ p(ae, S({}, B)) : null, /* @__PURE__ */ p(In, {
|
|
6497
6497
|
disableEnforceFocus: T,
|
|
6498
|
-
disableAutoFocus:
|
|
6499
|
-
disableRestoreFocus:
|
|
6498
|
+
disableAutoFocus: P,
|
|
6499
|
+
disableRestoreFocus: E,
|
|
6500
6500
|
isEnabled: Y,
|
|
6501
6501
|
open: D,
|
|
6502
6502
|
children: /* @__PURE__ */ x.cloneElement(v, ne)
|
|
@@ -6948,11 +6948,11 @@ const iO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6948
6948
|
onBackdropClick: b,
|
|
6949
6949
|
onClose: O,
|
|
6950
6950
|
open: C,
|
|
6951
|
-
PaperComponent:
|
|
6951
|
+
PaperComponent: P = dr,
|
|
6952
6952
|
PaperProps: T = {},
|
|
6953
6953
|
scroll: y = "paper",
|
|
6954
6954
|
TransitionComponent: F = rl,
|
|
6955
|
-
transitionDuration:
|
|
6955
|
+
transitionDuration: E = i,
|
|
6956
6956
|
TransitionProps: $
|
|
6957
6957
|
} = o, w = W(o, iO), R = S({}, o, {
|
|
6958
6958
|
disableEscapeKeyDown: f,
|
|
@@ -6964,7 +6964,7 @@ const iO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6964
6964
|
D.current = j.target === j.currentTarget;
|
|
6965
6965
|
}, N = (j) => {
|
|
6966
6966
|
D.current && (D.current = null, b && b(j), O && O(j, "backdropClick"));
|
|
6967
|
-
}, _ =
|
|
6967
|
+
}, _ = Pi(s), A = x.useMemo(() => ({
|
|
6968
6968
|
titleId: _
|
|
6969
6969
|
}), [_]);
|
|
6970
6970
|
return /* @__PURE__ */ p(cO, S({
|
|
@@ -6975,7 +6975,7 @@ const iO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6975
6975
|
},
|
|
6976
6976
|
componentsProps: {
|
|
6977
6977
|
backdrop: S({
|
|
6978
|
-
transitionDuration:
|
|
6978
|
+
transitionDuration: E,
|
|
6979
6979
|
as: c
|
|
6980
6980
|
}, u)
|
|
6981
6981
|
},
|
|
@@ -6989,7 +6989,7 @@ const iO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6989
6989
|
children: /* @__PURE__ */ p(F, S({
|
|
6990
6990
|
appear: !0,
|
|
6991
6991
|
in: C,
|
|
6992
|
-
timeout:
|
|
6992
|
+
timeout: E,
|
|
6993
6993
|
role: "presentation"
|
|
6994
6994
|
}, $, {
|
|
6995
6995
|
children: /* @__PURE__ */ p(uO, {
|
|
@@ -6997,7 +6997,7 @@ const iO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6997
6997
|
onMouseDown: L,
|
|
6998
6998
|
ownerState: R,
|
|
6999
6999
|
children: /* @__PURE__ */ p(dO, S({
|
|
7000
|
-
as:
|
|
7000
|
+
as: P,
|
|
7001
7001
|
elevation: 24,
|
|
7002
7002
|
role: "dialog",
|
|
7003
7003
|
"aria-describedby": l,
|
|
@@ -7306,7 +7306,7 @@ function SO(e) {
|
|
|
7306
7306
|
return me("MuiTypography", e);
|
|
7307
7307
|
}
|
|
7308
7308
|
fe("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
7309
|
-
const TO = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"],
|
|
7309
|
+
const TO = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], PO = (e) => {
|
|
7310
7310
|
const {
|
|
7311
7311
|
align: t,
|
|
7312
7312
|
gutterBottom: r,
|
|
@@ -7318,7 +7318,7 @@ const TO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
7318
7318
|
root: ["root", i, e.align !== "inherit" && `align${X(t)}`, r && "gutterBottom", o && "noWrap", a && "paragraph"]
|
|
7319
7319
|
};
|
|
7320
7320
|
return ve(s, SO, l);
|
|
7321
|
-
},
|
|
7321
|
+
}, EO = U("span", {
|
|
7322
7322
|
name: "MuiTypography",
|
|
7323
7323
|
slot: "Root",
|
|
7324
7324
|
overridesResolver: (e, t) => {
|
|
@@ -7388,8 +7388,8 @@ const TO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
7388
7388
|
paragraph: m,
|
|
7389
7389
|
variant: f,
|
|
7390
7390
|
variantMapping: h
|
|
7391
|
-
}), b = c || (m ? "p" : h[f] || ec[f]) || "span", O =
|
|
7392
|
-
return /* @__PURE__ */ p(
|
|
7391
|
+
}), b = c || (m ? "p" : h[f] || ec[f]) || "span", O = PO(g);
|
|
7392
|
+
return /* @__PURE__ */ p(EO, S({
|
|
7393
7393
|
as: b,
|
|
7394
7394
|
ref: r,
|
|
7395
7395
|
ownerState: g,
|
|
@@ -9818,7 +9818,7 @@ const IO = {
|
|
|
9818
9818
|
aggregationFunctionLabelMin: "min",
|
|
9819
9819
|
aggregationFunctionLabelMax: "max",
|
|
9820
9820
|
aggregationFunctionLabelSize: "størrelse"
|
|
9821
|
-
},
|
|
9821
|
+
}, Px = de(Tx, _O), Ex = {
|
|
9822
9822
|
// Root
|
|
9823
9823
|
noRowsLabel: "Keine Einträge",
|
|
9824
9824
|
noResultsOverlayLabel: "Keine Ergebnisse gefunden.",
|
|
@@ -9961,7 +9961,7 @@ const IO = {
|
|
|
9961
9961
|
aggregationFunctionLabelMin: "Minimum",
|
|
9962
9962
|
aggregationFunctionLabelMax: "Maximum",
|
|
9963
9963
|
aggregationFunctionLabelSize: "Anzahl"
|
|
9964
|
-
}, Cx = de(
|
|
9964
|
+
}, Cx = de(Ex, jO), Fx = {
|
|
9965
9965
|
// Root
|
|
9966
9966
|
noRowsLabel: "Δεν υπάρχουν καταχωρήσεις",
|
|
9967
9967
|
noResultsOverlayLabel: "Δεν βρέθηκαν αποτελέσματα.",
|
|
@@ -13721,7 +13721,7 @@ const IO = {
|
|
|
13721
13721
|
aggregationFunctionLabelMin: "min",
|
|
13722
13722
|
aggregationFunctionLabelMax: "max",
|
|
13723
13723
|
aggregationFunctionLabelSize: "veličina"
|
|
13724
|
-
},
|
|
13724
|
+
}, PS = de(TS, qO), ES = {
|
|
13725
13725
|
// Root
|
|
13726
13726
|
noRowsLabel: "Nenhuma linha",
|
|
13727
13727
|
noResultsOverlayLabel: "Nenhum resultado encontrado.",
|
|
@@ -13864,7 +13864,7 @@ const IO = {
|
|
|
13864
13864
|
aggregationFunctionLabelMin: "min",
|
|
13865
13865
|
aggregationFunctionLabelMax: "máx.",
|
|
13866
13866
|
aggregationFunctionLabelSize: "tamanho"
|
|
13867
|
-
}, CS = de(
|
|
13867
|
+
}, CS = de(ES, rx), FS = {
|
|
13868
13868
|
// Root
|
|
13869
13869
|
noRowsLabel: "沒有行",
|
|
13870
13870
|
noResultsOverlayLabel: "未找到結果。",
|
|
@@ -14013,7 +14013,7 @@ const IO = {
|
|
|
14013
14013
|
beBY: vx,
|
|
14014
14014
|
bgBG: Ox,
|
|
14015
14015
|
csCZ: Sx,
|
|
14016
|
-
daDK:
|
|
14016
|
+
daDK: Px,
|
|
14017
14017
|
deDE: Cx,
|
|
14018
14018
|
elGR: wx,
|
|
14019
14019
|
enUS: Mx,
|
|
@@ -14022,7 +14022,7 @@ const IO = {
|
|
|
14022
14022
|
fiFI: Dx,
|
|
14023
14023
|
frFR: _x,
|
|
14024
14024
|
heIL: Vx,
|
|
14025
|
-
hrHR:
|
|
14025
|
+
hrHR: PS,
|
|
14026
14026
|
huHU: zx,
|
|
14027
14027
|
itIT: Wx,
|
|
14028
14028
|
jaJP: Gx,
|
|
@@ -14149,7 +14149,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14149
14149
|
},
|
|
14150
14150
|
[e]
|
|
14151
14151
|
);
|
|
14152
|
-
},
|
|
14152
|
+
}, Pd = () => {
|
|
14153
14153
|
const e = Cr();
|
|
14154
14154
|
return Fe(
|
|
14155
14155
|
(t, r) => {
|
|
@@ -14157,7 +14157,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14157
14157
|
},
|
|
14158
14158
|
[e]
|
|
14159
14159
|
);
|
|
14160
|
-
},
|
|
14160
|
+
}, Ed = () => {
|
|
14161
14161
|
const e = Cr();
|
|
14162
14162
|
return Fe(
|
|
14163
14163
|
(t, r) => {
|
|
@@ -14215,7 +14215,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14215
14215
|
translate: u
|
|
14216
14216
|
};
|
|
14217
14217
|
}, VS = (e) => {
|
|
14218
|
-
const t = Sd(), r = Td(), o =
|
|
14218
|
+
const t = Sd(), r = Td(), o = Pd(), a = Ed(), i = Cd(), l = Fd(), s = rn(), c = nr(), u = Vo(), d = qe(e), m = ma(), [f] = cl(d), h = e.etrs || {};
|
|
14219
14219
|
return {
|
|
14220
14220
|
ajax: f,
|
|
14221
14221
|
notify: c,
|
|
@@ -14231,7 +14231,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14231
14231
|
etrs: h
|
|
14232
14232
|
};
|
|
14233
14233
|
}, Zt = (e) => {
|
|
14234
|
-
const t = Sd(), r = Td(), o =
|
|
14234
|
+
const t = Sd(), r = Td(), o = Pd(), a = Ed(), i = Cd(), l = Fd(), s = rn(), c = nr(), u = Vo(), d = $t(), m = qe(e), f = ma(), [h] = cl(m), v = e.etrs || {}, g = e.asisEtr || {}, b = d == null ? void 0 : d.trigger;
|
|
14235
14235
|
return {
|
|
14236
14236
|
form: d,
|
|
14237
14237
|
ajax: h,
|
|
@@ -14565,7 +14565,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14565
14565
|
}, [c]), /* @__PURE__ */ V(xr, { children: [
|
|
14566
14566
|
/* @__PURE__ */ p(en, { children: /* @__PURE__ */ p(jc, { spacing: 4, children: Bn.map(
|
|
14567
14567
|
a,
|
|
14568
|
-
(C,
|
|
14568
|
+
(C, P) => tr(C, {
|
|
14569
14569
|
resource: r,
|
|
14570
14570
|
estado: o,
|
|
14571
14571
|
defaultValue: i[C.props.source] || "",
|
|
@@ -14609,13 +14609,13 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14609
14609
|
} = e, [u, d] = pi(!1), m = qe(e), f = $t(), h = Oi(), v = Md({ apiRef: h, source: i, enviarTodo: l }), g = "N", {
|
|
14610
14610
|
estado: b,
|
|
14611
14611
|
fichaProps: { etrs: O }
|
|
14612
|
-
} = we(We), C = we(uo),
|
|
14612
|
+
} = we(We), C = we(uo), P = Zt({ etrs: O, asisEtr: C }), y = Je()("ra.action.create");
|
|
14613
14613
|
return /* @__PURE__ */ V(xr, { children: [
|
|
14614
14614
|
/* @__PURE__ */ p(
|
|
14615
14615
|
ut,
|
|
14616
14616
|
{
|
|
14617
|
-
onClick: (
|
|
14618
|
-
d(!0),
|
|
14617
|
+
onClick: (E) => {
|
|
14618
|
+
d(!0), E.stopPropagation();
|
|
14619
14619
|
},
|
|
14620
14620
|
children: /* @__PURE__ */ p(Xo, {})
|
|
14621
14621
|
}
|
|
@@ -14624,20 +14624,20 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14624
14624
|
Ld,
|
|
14625
14625
|
{
|
|
14626
14626
|
open: u,
|
|
14627
|
-
onClose: (
|
|
14628
|
-
d(!1),
|
|
14627
|
+
onClose: (E) => {
|
|
14628
|
+
d(!1), E.stopPropagation();
|
|
14629
14629
|
},
|
|
14630
14630
|
labelEstado: y,
|
|
14631
14631
|
label: a,
|
|
14632
14632
|
resource: m,
|
|
14633
|
-
onSubmit: async (
|
|
14633
|
+
onSubmit: async (E, $) => {
|
|
14634
14634
|
const w = await s(
|
|
14635
|
-
E,
|
|
14636
14635
|
P,
|
|
14636
|
+
E,
|
|
14637
14637
|
g,
|
|
14638
14638
|
b
|
|
14639
14639
|
);
|
|
14640
|
-
w !== !1 && (v(typeof w == "object" ? w :
|
|
14640
|
+
w !== !1 && (v(typeof w == "object" ? w : E, f), d(!1), c(P, E, g, b));
|
|
14641
14641
|
},
|
|
14642
14642
|
children: /* @__PURE__ */ p(
|
|
14643
14643
|
Ad,
|
|
@@ -14672,13 +14672,13 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14672
14672
|
} = e, d = Je(), [m, f] = pi(!1), h = Oi(), v = $t(), g = kd({ apiRef: h, source: i, enviarTodo: s }), b = "M", {
|
|
14673
14673
|
estado: O,
|
|
14674
14674
|
fichaProps: { etrs: C }
|
|
14675
|
-
} = we(We),
|
|
14675
|
+
} = we(We), P = we(uo), T = Zt({ etrs: C, asisEtr: P }), y = d("ra.action.edit");
|
|
14676
14676
|
return /* @__PURE__ */ V(xr, { children: [
|
|
14677
14677
|
/* @__PURE__ */ p(
|
|
14678
14678
|
ut,
|
|
14679
14679
|
{
|
|
14680
|
-
onClick: (
|
|
14681
|
-
f(!0),
|
|
14680
|
+
onClick: (E) => {
|
|
14681
|
+
f(!0), E.stopPropagation();
|
|
14682
14682
|
},
|
|
14683
14683
|
children: /* @__PURE__ */ p(pd, {})
|
|
14684
14684
|
}
|
|
@@ -14687,20 +14687,20 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14687
14687
|
Ld,
|
|
14688
14688
|
{
|
|
14689
14689
|
open: m,
|
|
14690
|
-
onClose: (
|
|
14691
|
-
f(!1),
|
|
14690
|
+
onClose: (E) => {
|
|
14691
|
+
f(!1), E.stopPropagation();
|
|
14692
14692
|
},
|
|
14693
14693
|
labelEstado: y,
|
|
14694
14694
|
label: a,
|
|
14695
14695
|
resource: o,
|
|
14696
|
-
onSubmit: async (
|
|
14696
|
+
onSubmit: async (E, $) => {
|
|
14697
14697
|
const w = await c(
|
|
14698
14698
|
T,
|
|
14699
|
-
|
|
14699
|
+
E,
|
|
14700
14700
|
b,
|
|
14701
14701
|
O
|
|
14702
14702
|
);
|
|
14703
|
-
w !== !1 && (g(l.id, typeof w == "object" ? w :
|
|
14703
|
+
w !== !1 && (g(l.id, typeof w == "object" ? w : E, v), f(!1), u(T, E, b, O));
|
|
14704
14704
|
},
|
|
14705
14705
|
children: /* @__PURE__ */ p(
|
|
14706
14706
|
Ad,
|
|
@@ -14777,13 +14777,13 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14777
14777
|
source: f,
|
|
14778
14778
|
...h
|
|
14779
14779
|
} = e, [v, g] = Ue([]), b = Yt(e), O = $t(), { field: C } = Wc({ defaultValue: "", ...e }), {
|
|
14780
|
-
isLoading:
|
|
14780
|
+
isLoading: P,
|
|
14781
14781
|
fichaProps: { [f]: T }
|
|
14782
14782
|
} = we(We), y = xi((G) => {
|
|
14783
|
-
const
|
|
14784
|
-
return
|
|
14783
|
+
const Pe = G.configInputs ? G.configInputs.filter((Ee) => Ee.id === f) : [];
|
|
14784
|
+
return Pe[0] ? Pe[0] : null;
|
|
14785
14785
|
}), { hidden: F } = y || {}, {
|
|
14786
|
-
enviarTodo:
|
|
14786
|
+
enviarTodo: E = !1,
|
|
14787
14787
|
disabled: $,
|
|
14788
14788
|
hidden: w,
|
|
14789
14789
|
useContenido: R = pr,
|
|
@@ -14815,7 +14815,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14815
14815
|
filter: Te
|
|
14816
14816
|
},
|
|
14817
14817
|
{
|
|
14818
|
-
enabled: c && !
|
|
14818
|
+
enabled: c && !P,
|
|
14819
14819
|
onSuccess: (G) => {
|
|
14820
14820
|
setTimeout(() => {
|
|
14821
14821
|
O.setValue(f, "");
|
|
@@ -14848,7 +14848,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14848
14848
|
source: f,
|
|
14849
14849
|
onBeforeSubmitAsistente: M,
|
|
14850
14850
|
onAfterSubmitAsistente: D,
|
|
14851
|
-
enviarTodo:
|
|
14851
|
+
enviarTodo: E,
|
|
14852
14852
|
camposClaveFila: r,
|
|
14853
14853
|
row: G.row
|
|
14854
14854
|
}
|
|
@@ -14866,7 +14866,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14866
14866
|
source: f,
|
|
14867
14867
|
onBeforeSubmitAsistente: M,
|
|
14868
14868
|
onAfterSubmitAsistente: D,
|
|
14869
|
-
enviarTodo:
|
|
14869
|
+
enviarTodo: E,
|
|
14870
14870
|
camposClaveFila: r
|
|
14871
14871
|
}
|
|
14872
14872
|
)
|
|
@@ -14885,7 +14885,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14885
14885
|
source: f,
|
|
14886
14886
|
onBeforeSubmitAsistente: M,
|
|
14887
14887
|
onAfterSubmitAsistente: D,
|
|
14888
|
-
enviarTodo:
|
|
14888
|
+
enviarTodo: E,
|
|
14889
14889
|
camposClaveFila: r,
|
|
14890
14890
|
row: G.row
|
|
14891
14891
|
}
|
|
@@ -14907,7 +14907,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14907
14907
|
yi,
|
|
14908
14908
|
{
|
|
14909
14909
|
apiRef: m,
|
|
14910
|
-
loading: oe ||
|
|
14910
|
+
loading: oe || P,
|
|
14911
14911
|
sx: {
|
|
14912
14912
|
"& .MuiDataGrid-columnsContainer": {
|
|
14913
14913
|
backgroundColor: (G) => G.palette.mode === "light" ? "#fafafa" : "#1d1d1d"
|
|
@@ -14969,8 +14969,8 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14969
14969
|
estado: b,
|
|
14970
14970
|
isLoading: O,
|
|
14971
14971
|
fichaProps: C = {}
|
|
14972
|
-
} = we(We),
|
|
14973
|
-
data:
|
|
14972
|
+
} = we(We), P = Zt(e), { [e.source]: T = {} } = C, { useContenido: y = pr, ...F } = T, {
|
|
14973
|
+
data: E = [],
|
|
14974
14974
|
isLoading: $,
|
|
14975
14975
|
refetch: w
|
|
14976
14976
|
} = Uc(
|
|
@@ -14990,7 +14990,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
14990
14990
|
estado: b,
|
|
14991
14991
|
hidden: e.hidden,
|
|
14992
14992
|
isLoading: O,
|
|
14993
|
-
utils:
|
|
14993
|
+
utils: P,
|
|
14994
14994
|
...F,
|
|
14995
14995
|
refetch: w,
|
|
14996
14996
|
apiRef: R
|
|
@@ -15007,7 +15007,7 @@ const yd = no(), fa = ({ children: e }) => {
|
|
|
15007
15007
|
yi,
|
|
15008
15008
|
{
|
|
15009
15009
|
apiRef: R,
|
|
15010
|
-
rows:
|
|
15010
|
+
rows: E,
|
|
15011
15011
|
columns: v,
|
|
15012
15012
|
loading: $ || c,
|
|
15013
15013
|
sx: {
|
|
@@ -15258,18 +15258,18 @@ const _d = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15258
15258
|
onExit: b,
|
|
15259
15259
|
onExited: O,
|
|
15260
15260
|
onExiting: C,
|
|
15261
|
-
style:
|
|
15261
|
+
style: P,
|
|
15262
15262
|
timeout: T = i,
|
|
15263
15263
|
// eslint-disable-next-line react/prop-types
|
|
15264
15264
|
TransitionComponent: y = Lt
|
|
15265
|
-
} = t, F = W(t, c0),
|
|
15266
|
-
k && (z === void 0 ? k(
|
|
15265
|
+
} = t, F = W(t, c0), E = x.useRef(null), $ = Ge(c.ref, E, r), w = (k) => (z) => {
|
|
15266
|
+
k && (z === void 0 ? k(E.current) : k(E.current, z));
|
|
15267
15267
|
}, R = w((k, z) => {
|
|
15268
15268
|
dn(d, k, u), tl(k), h && h(k, z);
|
|
15269
15269
|
}), M = w((k, z) => {
|
|
15270
15270
|
const J = Xr({
|
|
15271
15271
|
timeout: T,
|
|
15272
|
-
style:
|
|
15272
|
+
style: P,
|
|
15273
15273
|
easing: m
|
|
15274
15274
|
}, {
|
|
15275
15275
|
mode: "enter"
|
|
@@ -15278,7 +15278,7 @@ const _d = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15278
15278
|
}), D = w(v), L = w(C), N = w((k) => {
|
|
15279
15279
|
const z = Xr({
|
|
15280
15280
|
timeout: T,
|
|
15281
|
-
style:
|
|
15281
|
+
style: P,
|
|
15282
15282
|
easing: m
|
|
15283
15283
|
}, {
|
|
15284
15284
|
mode: "exit"
|
|
@@ -15287,23 +15287,23 @@ const _d = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15287
15287
|
}), _ = w((k) => {
|
|
15288
15288
|
k.style.webkitTransition = "", k.style.transition = "", O && O(k);
|
|
15289
15289
|
}), A = (k) => {
|
|
15290
|
-
l && l(
|
|
15290
|
+
l && l(E.current, k);
|
|
15291
15291
|
}, j = x.useCallback(() => {
|
|
15292
|
-
|
|
15292
|
+
E.current && dn(d, E.current, u);
|
|
15293
15293
|
}, [d, u]);
|
|
15294
15294
|
return x.useEffect(() => {
|
|
15295
15295
|
if (f || d === "down" || d === "right")
|
|
15296
15296
|
return;
|
|
15297
15297
|
const k = Ho(() => {
|
|
15298
|
-
|
|
15299
|
-
}), z = Gt(
|
|
15298
|
+
E.current && dn(d, E.current, u);
|
|
15299
|
+
}), z = Gt(E.current);
|
|
15300
15300
|
return z.addEventListener("resize", k), () => {
|
|
15301
15301
|
k.clear(), z.removeEventListener("resize", k);
|
|
15302
15302
|
};
|
|
15303
15303
|
}, [d, f, u]), x.useEffect(() => {
|
|
15304
15304
|
f || j();
|
|
15305
15305
|
}, [f, j]), /* @__PURE__ */ p(y, S({
|
|
15306
|
-
nodeRef:
|
|
15306
|
+
nodeRef: E,
|
|
15307
15307
|
onEnter: R,
|
|
15308
15308
|
onEntered: D,
|
|
15309
15309
|
onEntering: M,
|
|
@@ -15319,7 +15319,7 @@ const _d = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15319
15319
|
ref: $,
|
|
15320
15320
|
style: S({
|
|
15321
15321
|
visibility: k === "exited" && !f ? "hidden" : void 0
|
|
15322
|
-
},
|
|
15322
|
+
}, P, c.props.style)
|
|
15323
15323
|
}, z))
|
|
15324
15324
|
}));
|
|
15325
15325
|
});
|
|
@@ -15541,8 +15541,7 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15541
15541
|
showAceptar: f = !0,
|
|
15542
15542
|
showCancelar: h = !0,
|
|
15543
15543
|
formDividers: v = !0,
|
|
15544
|
-
|
|
15545
|
-
dialogProps: b = {}
|
|
15544
|
+
dialogProps: g = {}
|
|
15546
15545
|
}
|
|
15547
15546
|
} = o;
|
|
15548
15547
|
return d === "confirm" ? /* @__PURE__ */ p(
|
|
@@ -15563,7 +15562,7 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15563
15562
|
fullScreen: d === "vista",
|
|
15564
15563
|
maxWidth: d === "vista" ? "lg" : "sm",
|
|
15565
15564
|
TransitionComponent: h0,
|
|
15566
|
-
...
|
|
15565
|
+
...g,
|
|
15567
15566
|
children: d === "form" ? /* @__PURE__ */ V(Wt, { children: [
|
|
15568
15567
|
/* @__PURE__ */ p(Bc, { id: "draggable-dialog-title", children: l }),
|
|
15569
15568
|
/* @__PURE__ */ V(Bo, { resource: r, onSubmit: c, children: [
|
|
@@ -15571,18 +15570,18 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15571
15570
|
/* @__PURE__ */ V(nf, { children: [
|
|
15572
15571
|
m.map(
|
|
15573
15572
|
({
|
|
15574
|
-
label:
|
|
15575
|
-
icon:
|
|
15576
|
-
handler:
|
|
15577
|
-
},
|
|
15573
|
+
label: P = "",
|
|
15574
|
+
icon: T = /* @__PURE__ */ p(ti, {}),
|
|
15575
|
+
handler: y
|
|
15576
|
+
}, F) => /* @__PURE__ */ p(
|
|
15578
15577
|
ut,
|
|
15579
15578
|
{
|
|
15580
|
-
label:
|
|
15579
|
+
label: P,
|
|
15581
15580
|
disabled: t,
|
|
15582
|
-
onClick:
|
|
15583
|
-
children:
|
|
15581
|
+
onClick: y,
|
|
15582
|
+
children: T
|
|
15584
15583
|
},
|
|
15585
|
-
`extra_${
|
|
15584
|
+
`extra_${F}`
|
|
15586
15585
|
)
|
|
15587
15586
|
),
|
|
15588
15587
|
h && /* @__PURE__ */ p(
|
|
@@ -15594,13 +15593,7 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15594
15593
|
children: /* @__PURE__ */ p(Lo, {})
|
|
15595
15594
|
}
|
|
15596
15595
|
),
|
|
15597
|
-
f && /* @__PURE__ */ p(
|
|
15598
|
-
Un,
|
|
15599
|
-
{
|
|
15600
|
-
alwaysEnable: g,
|
|
15601
|
-
disabled: t && !g
|
|
15602
|
-
}
|
|
15603
|
-
)
|
|
15596
|
+
f && /* @__PURE__ */ p(Un, { disabled: t })
|
|
15604
15597
|
] })
|
|
15605
15598
|
] })
|
|
15606
15599
|
] }) : /* @__PURE__ */ V(Wt, { children: [
|
|
@@ -15616,18 +15609,18 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15616
15609
|
),
|
|
15617
15610
|
m.map(
|
|
15618
15611
|
({
|
|
15619
|
-
label:
|
|
15620
|
-
icon:
|
|
15621
|
-
handler:
|
|
15622
|
-
},
|
|
15612
|
+
label: P = "",
|
|
15613
|
+
icon: T = /* @__PURE__ */ p(ti, {}),
|
|
15614
|
+
handler: y
|
|
15615
|
+
}, F) => /* @__PURE__ */ p(
|
|
15623
15616
|
ut,
|
|
15624
15617
|
{
|
|
15625
|
-
label:
|
|
15618
|
+
label: P,
|
|
15626
15619
|
disabled: t,
|
|
15627
|
-
onClick:
|
|
15628
|
-
children:
|
|
15620
|
+
onClick: y,
|
|
15621
|
+
children: T
|
|
15629
15622
|
},
|
|
15630
|
-
`extra_${
|
|
15623
|
+
`extra_${F}`
|
|
15631
15624
|
)
|
|
15632
15625
|
),
|
|
15633
15626
|
/* @__PURE__ */ p(
|
|
@@ -15726,7 +15719,7 @@ var Vd = hl.default = void 0, S0 = x0(De()), T0 = Ie;
|
|
|
15726
15719
|
Vd = hl.default = (0, S0.default)(/* @__PURE__ */ (0, T0.jsx)("path", {
|
|
15727
15720
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
15728
15721
|
}), "Create");
|
|
15729
|
-
const
|
|
15722
|
+
const P0 = (e) => e.stopPropagation(), E0 = {
|
|
15730
15723
|
true: { _scrollToTop: !0 },
|
|
15731
15724
|
false: {}
|
|
15732
15725
|
}, C0 = /* @__PURE__ */ p(Vd, {}), F0 = (e) => {
|
|
@@ -15741,9 +15734,9 @@ const E0 = (e) => e.stopPropagation(), P0 = {
|
|
|
15741
15734
|
{
|
|
15742
15735
|
component: Fo,
|
|
15743
15736
|
to: s({ type: "edit", resource: i, id: l.id }),
|
|
15744
|
-
state:
|
|
15737
|
+
state: E0[String(o)],
|
|
15745
15738
|
label: r,
|
|
15746
|
-
onClick:
|
|
15739
|
+
onClick: P0,
|
|
15747
15740
|
...a,
|
|
15748
15741
|
children: t
|
|
15749
15742
|
}
|
|
@@ -15831,8 +15824,8 @@ const k0 = (e) => {
|
|
|
15831
15824
|
hasVerFicha: b = !1,
|
|
15832
15825
|
disableMultipleRowSelection: O = !0,
|
|
15833
15826
|
...C
|
|
15834
|
-
} = e,
|
|
15835
|
-
props: { hasBulkActionButtons: F = !0, ...
|
|
15827
|
+
} = e, P = ha(e), T = Je(), y = qe(e), {
|
|
15828
|
+
props: { hasBulkActionButtons: F = !0, ...E }
|
|
15836
15829
|
} = sl(), {
|
|
15837
15830
|
data: $ = [],
|
|
15838
15831
|
isLoading: w,
|
|
@@ -15901,7 +15894,7 @@ const k0 = (e) => {
|
|
|
15901
15894
|
showInMenu: !0,
|
|
15902
15895
|
onClick: (G) => typeof ce == "function" ? ce(
|
|
15903
15896
|
{
|
|
15904
|
-
...
|
|
15897
|
+
...P,
|
|
15905
15898
|
record: Y.row
|
|
15906
15899
|
},
|
|
15907
15900
|
ae.key
|
|
@@ -15969,7 +15962,7 @@ const k0 = (e) => {
|
|
|
15969
15962
|
isRowSelectable: (Y) => Y.row.id,
|
|
15970
15963
|
initialState: _,
|
|
15971
15964
|
...C,
|
|
15972
|
-
...
|
|
15965
|
+
...E
|
|
15973
15966
|
}
|
|
15974
15967
|
) })
|
|
15975
15968
|
}
|
|
@@ -16004,10 +15997,10 @@ const k0 = (e) => {
|
|
|
16004
15997
|
field: b,
|
|
16005
15998
|
headerName: O,
|
|
16006
15999
|
valueGetter: C,
|
|
16007
|
-
type:
|
|
16000
|
+
type: P = "string",
|
|
16008
16001
|
jsxMobile: T
|
|
16009
16002
|
} = g;
|
|
16010
|
-
return T ? /* @__PURE__ */ p(ke, { children: T(v, g) }) :
|
|
16003
|
+
return T ? /* @__PURE__ */ p(ke, { children: T(v, g) }) : P === "boolean" ? /* @__PURE__ */ p(ke, { children: /* @__PURE__ */ p(
|
|
16011
16004
|
ke,
|
|
16012
16005
|
{
|
|
16013
16006
|
component: "span",
|
|
@@ -16024,7 +16017,7 @@ const k0 = (e) => {
|
|
|
16024
16017
|
const {
|
|
16025
16018
|
key: O,
|
|
16026
16019
|
handler: C,
|
|
16027
|
-
icon:
|
|
16020
|
+
icon: P = /* @__PURE__ */ p(Io, {}),
|
|
16028
16021
|
...T
|
|
16029
16022
|
} = g;
|
|
16030
16023
|
return /* @__PURE__ */ p(
|
|
@@ -16032,7 +16025,7 @@ const k0 = (e) => {
|
|
|
16032
16025
|
{
|
|
16033
16026
|
onClick: (y) => typeof C == "function" ? C({ ...u, record: v }, O) : !1,
|
|
16034
16027
|
...T,
|
|
16035
|
-
children:
|
|
16028
|
+
children: P
|
|
16036
16029
|
},
|
|
16037
16030
|
`actionbutton-${b}}`
|
|
16038
16031
|
);
|
|
@@ -16463,7 +16456,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16463
16456
|
const {
|
|
16464
16457
|
pulsate: y,
|
|
16465
16458
|
rippleX: F,
|
|
16466
|
-
rippleY:
|
|
16459
|
+
rippleY: E,
|
|
16467
16460
|
rippleSize: $,
|
|
16468
16461
|
cb: w
|
|
16469
16462
|
} = T;
|
|
@@ -16479,13 +16472,13 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16479
16472
|
timeout: ri,
|
|
16480
16473
|
pulsate: y,
|
|
16481
16474
|
rippleX: F,
|
|
16482
|
-
rippleY:
|
|
16475
|
+
rippleY: E,
|
|
16483
16476
|
rippleSize: $
|
|
16484
16477
|
}, d.current)]), d.current += 1, m.current = w;
|
|
16485
16478
|
}, [i]), O = x.useCallback((T = {}, y = {}, F = () => {
|
|
16486
16479
|
}) => {
|
|
16487
16480
|
const {
|
|
16488
|
-
pulsate:
|
|
16481
|
+
pulsate: E = !1,
|
|
16489
16482
|
center: $ = a || y.pulsate,
|
|
16490
16483
|
fakeElement: w = !1
|
|
16491
16484
|
// For test purposes
|
|
@@ -16519,7 +16512,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16519
16512
|
}
|
|
16520
16513
|
T != null && T.touches ? v.current === null && (v.current = () => {
|
|
16521
16514
|
b({
|
|
16522
|
-
pulsate:
|
|
16515
|
+
pulsate: E,
|
|
16523
16516
|
rippleX: D,
|
|
16524
16517
|
rippleY: L,
|
|
16525
16518
|
rippleSize: N,
|
|
@@ -16528,7 +16521,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16528
16521
|
}, h.start(q0, () => {
|
|
16529
16522
|
v.current && (v.current(), v.current = null);
|
|
16530
16523
|
})) : b({
|
|
16531
|
-
pulsate:
|
|
16524
|
+
pulsate: E,
|
|
16532
16525
|
rippleX: D,
|
|
16533
16526
|
rippleY: L,
|
|
16534
16527
|
rippleSize: N,
|
|
@@ -16538,10 +16531,10 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16538
16531
|
O({}, {
|
|
16539
16532
|
pulsate: !0
|
|
16540
16533
|
});
|
|
16541
|
-
}, [O]),
|
|
16534
|
+
}, [O]), P = x.useCallback((T, y) => {
|
|
16542
16535
|
if (h.clear(), (T == null ? void 0 : T.type) === "touchend" && v.current) {
|
|
16543
16536
|
v.current(), v.current = null, h.start(0, () => {
|
|
16544
|
-
|
|
16537
|
+
P(T, y);
|
|
16545
16538
|
});
|
|
16546
16539
|
return;
|
|
16547
16540
|
}
|
|
@@ -16550,8 +16543,8 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16550
16543
|
return x.useImperativeHandle(r, () => ({
|
|
16551
16544
|
pulsate: C,
|
|
16552
16545
|
start: O,
|
|
16553
|
-
stop:
|
|
16554
|
-
}), [C, O,
|
|
16546
|
+
stop: P
|
|
16547
|
+
}), [C, O, P]), /* @__PURE__ */ p(X0, S({
|
|
16555
16548
|
className: q(bt.root, i.root, l),
|
|
16556
16549
|
ref: g
|
|
16557
16550
|
}, s, {
|
|
@@ -16653,11 +16646,11 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16653
16646
|
onContextMenu: b,
|
|
16654
16647
|
onDragLeave: O,
|
|
16655
16648
|
onFocus: C,
|
|
16656
|
-
onFocusVisible:
|
|
16649
|
+
onFocusVisible: P,
|
|
16657
16650
|
onKeyDown: T,
|
|
16658
16651
|
onKeyUp: y,
|
|
16659
16652
|
onMouseDown: F,
|
|
16660
|
-
onMouseLeave:
|
|
16653
|
+
onMouseLeave: E,
|
|
16661
16654
|
onMouseUp: $,
|
|
16662
16655
|
onTouchEnd: w,
|
|
16663
16656
|
onTouchMove: R,
|
|
@@ -16688,12 +16681,12 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16688
16681
|
function G(Q, et, It = m) {
|
|
16689
16682
|
return yt((Dt) => (et && et(Dt), !It && k.current && k.current[Q](Dt), !0));
|
|
16690
16683
|
}
|
|
16691
|
-
const
|
|
16692
|
-
oe && Q.preventDefault(),
|
|
16684
|
+
const Pe = G("start", F), Ee = G("stop", b), B = G("stop", O), Z = G("stop", $), I = G("stop", (Q) => {
|
|
16685
|
+
oe && Q.preventDefault(), E && E(Q);
|
|
16693
16686
|
}), te = G("start", M), Re = G("stop", w), Ce = G("stop", R), pe = G("stop", (Q) => {
|
|
16694
16687
|
re(Q), J.current === !1 && ee(!1), v && v(Q);
|
|
16695
16688
|
}, !1), tt = yt((Q) => {
|
|
16696
|
-
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0),
|
|
16689
|
+
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0), P && P(Q)), C && C(Q);
|
|
16697
16690
|
}), le = () => {
|
|
16698
16691
|
const Q = j.current;
|
|
16699
16692
|
return c && c !== "button" && !(Q.tagName === "A" && Q.href);
|
|
@@ -16731,11 +16724,11 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16731
16724
|
ownerState: At,
|
|
16732
16725
|
onBlur: pe,
|
|
16733
16726
|
onClick: g,
|
|
16734
|
-
onContextMenu:
|
|
16727
|
+
onContextMenu: Ee,
|
|
16735
16728
|
onFocus: tt,
|
|
16736
16729
|
onKeyDown: ze,
|
|
16737
16730
|
onKeyUp: rt,
|
|
16738
|
-
onMouseDown:
|
|
16731
|
+
onMouseDown: Pe,
|
|
16739
16732
|
onMouseLeave: I,
|
|
16740
16733
|
onMouseUp: Z,
|
|
16741
16734
|
onDragLeave: B,
|
|
@@ -17028,7 +17021,7 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17028
17021
|
// eslint-disable-next-line react/prop-types
|
|
17029
17022
|
textColor: O = "inherit",
|
|
17030
17023
|
value: C,
|
|
17031
|
-
wrapped:
|
|
17024
|
+
wrapped: P = !1
|
|
17032
17025
|
} = o, T = W(o, aT), y = S({}, o, {
|
|
17033
17026
|
disabled: i,
|
|
17034
17027
|
disableFocusRipple: l,
|
|
@@ -17038,8 +17031,8 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17038
17031
|
label: !!m,
|
|
17039
17032
|
fullWidth: s,
|
|
17040
17033
|
textColor: O,
|
|
17041
|
-
wrapped:
|
|
17042
|
-
}), F = iT(y),
|
|
17034
|
+
wrapped: P
|
|
17035
|
+
}), F = iT(y), E = c && m && /* @__PURE__ */ x.isValidElement(c) ? /* @__PURE__ */ x.cloneElement(c, {
|
|
17043
17036
|
className: q(F.iconWrapper, c.props.className)
|
|
17044
17037
|
}) : c, $ = (R) => {
|
|
17045
17038
|
!g && f && f(R, C), h && h(R);
|
|
@@ -17059,9 +17052,9 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17059
17052
|
tabIndex: g ? 0 : -1
|
|
17060
17053
|
}, T, {
|
|
17061
17054
|
children: [u === "top" || u === "start" ? /* @__PURE__ */ V(x.Fragment, {
|
|
17062
|
-
children: [
|
|
17055
|
+
children: [E, m]
|
|
17063
17056
|
}) : /* @__PURE__ */ V(x.Fragment, {
|
|
17064
|
-
children: [m,
|
|
17057
|
+
children: [m, E]
|
|
17065
17058
|
}), d]
|
|
17066
17059
|
}));
|
|
17067
17060
|
});
|
|
@@ -17437,7 +17430,7 @@ const Ia = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
17437
17430
|
}, e.scrollableY && {
|
|
17438
17431
|
overflowY: "auto",
|
|
17439
17432
|
overflowX: "hidden"
|
|
17440
|
-
})),
|
|
17433
|
+
})), PT = U("div", {
|
|
17441
17434
|
name: "MuiTabs",
|
|
17442
17435
|
slot: "FlexContainer",
|
|
17443
17436
|
overridesResolver: (e, t) => {
|
|
@@ -17454,7 +17447,7 @@ const Ia = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
17454
17447
|
flexDirection: "column"
|
|
17455
17448
|
}, e.centered && {
|
|
17456
17449
|
justifyContent: "center"
|
|
17457
|
-
})),
|
|
17450
|
+
})), ET = U("span", {
|
|
17458
17451
|
name: "MuiTabs",
|
|
17459
17452
|
slot: "Indicator",
|
|
17460
17453
|
overridesResolver: (e, t) => t.indicator
|
|
@@ -17505,11 +17498,11 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17505
17498
|
orientation: b = "horizontal",
|
|
17506
17499
|
ScrollButtonComponent: O = qd,
|
|
17507
17500
|
scrollButtons: C = "auto",
|
|
17508
|
-
selectionFollowsFocus:
|
|
17501
|
+
selectionFollowsFocus: P,
|
|
17509
17502
|
slots: T = {},
|
|
17510
17503
|
slotProps: y = {},
|
|
17511
17504
|
TabIndicatorProps: F = {},
|
|
17512
|
-
TabScrollButtonProps:
|
|
17505
|
+
TabScrollButtonProps: E = {},
|
|
17513
17506
|
textColor: $ = "primary",
|
|
17514
17507
|
value: w,
|
|
17515
17508
|
variant: R = "standard",
|
|
@@ -17540,7 +17533,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17540
17533
|
ownerState: J
|
|
17541
17534
|
});
|
|
17542
17535
|
process.env.NODE_ENV !== "production" && u && L && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
17543
|
-
const [oe, ee] = x.useState(!1), [ne, ce] = x.useState(uc), [ae, G] = x.useState(!1), [
|
|
17536
|
+
const [oe, ee] = x.useState(!1), [ne, ce] = x.useState(uc), [ae, G] = x.useState(!1), [Pe, Ee] = x.useState(!1), [B, Z] = x.useState(!1), [I, te] = x.useState({
|
|
17544
17537
|
overflow: "hidden",
|
|
17545
17538
|
scrollbarWidth: 0
|
|
17546
17539
|
}), Re = /* @__PURE__ */ new Map(), Ce = x.useRef(null), pe = x.useRef(null), tt = () => {
|
|
@@ -17635,7 +17628,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17635
17628
|
onChange: Ft,
|
|
17636
17629
|
className: q(Y.scrollableX, Y.hideScrollbar)
|
|
17637
17630
|
}) : null;
|
|
17638
|
-
const se = L && (C === "auto" && (ae ||
|
|
17631
|
+
const se = L && (C === "auto" && (ae || Pe) || C === !0);
|
|
17639
17632
|
return H.scrollButtonStart = se ? /* @__PURE__ */ p(O, S({
|
|
17640
17633
|
slots: {
|
|
17641
17634
|
StartScrollButtonIcon: T.StartScrollButtonIcon
|
|
@@ -17647,8 +17640,8 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17647
17640
|
direction: i ? "right" : "left",
|
|
17648
17641
|
onClick: Me,
|
|
17649
17642
|
disabled: !ae
|
|
17650
|
-
},
|
|
17651
|
-
className: q(Y.scrollButtons,
|
|
17643
|
+
}, E, {
|
|
17644
|
+
className: q(Y.scrollButtons, E.className)
|
|
17652
17645
|
})) : null, H.scrollButtonEnd = se ? /* @__PURE__ */ p(O, S({
|
|
17653
17646
|
slots: {
|
|
17654
17647
|
EndScrollButtonIcon: T.EndScrollButtonIcon
|
|
@@ -17659,9 +17652,9 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17659
17652
|
orientation: b,
|
|
17660
17653
|
direction: i ? "left" : "right",
|
|
17661
17654
|
onClick: ot,
|
|
17662
|
-
disabled: !
|
|
17663
|
-
},
|
|
17664
|
-
className: q(Y.scrollButtons,
|
|
17655
|
+
disabled: !Pe
|
|
17656
|
+
}, E, {
|
|
17657
|
+
className: q(Y.scrollButtons, E.className)
|
|
17665
17658
|
})) : null, H;
|
|
17666
17659
|
}, Jt = yt((H) => {
|
|
17667
17660
|
const {
|
|
@@ -17721,7 +17714,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17721
17714
|
}, mt = new IntersectionObserver(Ke, Ae);
|
|
17722
17715
|
mt.observe(se);
|
|
17723
17716
|
const ar = (Mr) => {
|
|
17724
|
-
|
|
17717
|
+
Ee(!Mr[0].isIntersecting);
|
|
17725
17718
|
}, wt = new IntersectionObserver(ar, Ae);
|
|
17726
17719
|
return wt.observe(ue), () => {
|
|
17727
17720
|
mt.disconnect(), wt.disconnect();
|
|
@@ -17737,7 +17730,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17737
17730
|
updateIndicator: le,
|
|
17738
17731
|
updateScrollButtons: Q
|
|
17739
17732
|
}), [le, Q]);
|
|
17740
|
-
const et = /* @__PURE__ */ p(
|
|
17733
|
+
const et = /* @__PURE__ */ p(ET, S({}, F, {
|
|
17741
17734
|
className: q(Y.indicator, F.className),
|
|
17742
17735
|
ownerState: J,
|
|
17743
17736
|
style: S({}, ne, F.style)
|
|
@@ -17755,7 +17748,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17755
17748
|
fullWidth: R === "fullWidth",
|
|
17756
17749
|
indicator: se && !oe && et,
|
|
17757
17750
|
selected: se,
|
|
17758
|
-
selectionFollowsFocus:
|
|
17751
|
+
selectionFollowsFocus: P,
|
|
17759
17752
|
onChange: g,
|
|
17760
17753
|
textColor: $,
|
|
17761
17754
|
value: K
|
|
@@ -17796,7 +17789,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17796
17789
|
[N ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: M ? void 0 : -I.scrollbarWidth
|
|
17797
17790
|
},
|
|
17798
17791
|
ref: Ce,
|
|
17799
|
-
children: [/* @__PURE__ */ p(
|
|
17792
|
+
children: [/* @__PURE__ */ p(PT, {
|
|
17800
17793
|
"aria-label": l,
|
|
17801
17794
|
"aria-labelledby": s,
|
|
17802
17795
|
"aria-orientation": b === "vertical" ? "vertical" : null,
|
|
@@ -18299,27 +18292,27 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18299
18292
|
narrow: /^[1234]/i,
|
|
18300
18293
|
abbreviated: /^q[1234]/i,
|
|
18301
18294
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
18302
|
-
},
|
|
18295
|
+
}, eP = {
|
|
18303
18296
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
18304
|
-
},
|
|
18297
|
+
}, tP = {
|
|
18305
18298
|
narrow: /^[jfmasond]/i,
|
|
18306
18299
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
18307
18300
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
18308
|
-
},
|
|
18301
|
+
}, rP = {
|
|
18309
18302
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
18310
18303
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
18311
|
-
},
|
|
18304
|
+
}, oP = {
|
|
18312
18305
|
narrow: /^[smtwf]/i,
|
|
18313
18306
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
18314
18307
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
18315
18308
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
18316
|
-
},
|
|
18309
|
+
}, nP = {
|
|
18317
18310
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
18318
18311
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
18319
|
-
},
|
|
18312
|
+
}, aP = {
|
|
18320
18313
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
18321
18314
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
18322
|
-
},
|
|
18315
|
+
}, iP = {
|
|
18323
18316
|
any: {
|
|
18324
18317
|
am: /^a/i,
|
|
18325
18318
|
pm: /^p/i,
|
|
@@ -18330,7 +18323,7 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18330
18323
|
evening: /evening/i,
|
|
18331
18324
|
night: /night/i
|
|
18332
18325
|
}
|
|
18333
|
-
},
|
|
18326
|
+
}, lP = {
|
|
18334
18327
|
ordinalNumber: Qd({
|
|
18335
18328
|
matchPattern: YT,
|
|
18336
18329
|
parsePattern: QT,
|
|
@@ -18347,42 +18340,42 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18347
18340
|
quarter: jt({
|
|
18348
18341
|
matchPatterns: JT,
|
|
18349
18342
|
defaultMatchWidth: "wide",
|
|
18350
|
-
parsePatterns:
|
|
18343
|
+
parsePatterns: eP,
|
|
18351
18344
|
defaultParseWidth: "any",
|
|
18352
18345
|
valueCallback: function(t) {
|
|
18353
18346
|
return t + 1;
|
|
18354
18347
|
}
|
|
18355
18348
|
}),
|
|
18356
18349
|
month: jt({
|
|
18357
|
-
matchPatterns:
|
|
18350
|
+
matchPatterns: tP,
|
|
18358
18351
|
defaultMatchWidth: "wide",
|
|
18359
|
-
parsePatterns:
|
|
18352
|
+
parsePatterns: rP,
|
|
18360
18353
|
defaultParseWidth: "any"
|
|
18361
18354
|
}),
|
|
18362
18355
|
day: jt({
|
|
18363
|
-
matchPatterns:
|
|
18356
|
+
matchPatterns: oP,
|
|
18364
18357
|
defaultMatchWidth: "wide",
|
|
18365
|
-
parsePatterns:
|
|
18358
|
+
parsePatterns: nP,
|
|
18366
18359
|
defaultParseWidth: "any"
|
|
18367
18360
|
}),
|
|
18368
18361
|
dayPeriod: jt({
|
|
18369
|
-
matchPatterns:
|
|
18362
|
+
matchPatterns: aP,
|
|
18370
18363
|
defaultMatchWidth: "any",
|
|
18371
|
-
parsePatterns:
|
|
18364
|
+
parsePatterns: iP,
|
|
18372
18365
|
defaultParseWidth: "any"
|
|
18373
18366
|
})
|
|
18374
|
-
},
|
|
18367
|
+
}, sP = {
|
|
18375
18368
|
code: "en-US",
|
|
18376
18369
|
formatDistance: $T,
|
|
18377
18370
|
formatLong: DT,
|
|
18378
18371
|
formatRelative: _T,
|
|
18379
18372
|
localize: GT,
|
|
18380
|
-
match:
|
|
18373
|
+
match: lP,
|
|
18381
18374
|
options: {
|
|
18382
18375
|
weekStartsOn: 0,
|
|
18383
18376
|
firstWeekContainsDate: 1
|
|
18384
18377
|
}
|
|
18385
|
-
},
|
|
18378
|
+
}, cP = {
|
|
18386
18379
|
lessThanXSeconds: {
|
|
18387
18380
|
one: "menos de un segundo",
|
|
18388
18381
|
other: "menos de {{count}} segundos"
|
|
@@ -18444,71 +18437,71 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18444
18437
|
one: "casi 1 año",
|
|
18445
18438
|
other: "casi {{count}} años"
|
|
18446
18439
|
}
|
|
18447
|
-
},
|
|
18448
|
-
var a, i =
|
|
18440
|
+
}, uP = function(t, r, o) {
|
|
18441
|
+
var a, i = cP[t];
|
|
18449
18442
|
return typeof i == "string" ? a = i : r === 1 ? a = i.one : a = i.other.replace("{{count}}", r.toString()), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "en " + a : "hace " + a : a;
|
|
18450
|
-
},
|
|
18443
|
+
}, dP = {
|
|
18451
18444
|
full: "EEEE, d 'de' MMMM 'de' y",
|
|
18452
18445
|
long: "d 'de' MMMM 'de' y",
|
|
18453
18446
|
medium: "d MMM y",
|
|
18454
18447
|
short: "dd/MM/y"
|
|
18455
|
-
},
|
|
18448
|
+
}, pP = {
|
|
18456
18449
|
full: "HH:mm:ss zzzz",
|
|
18457
18450
|
long: "HH:mm:ss z",
|
|
18458
18451
|
medium: "HH:mm:ss",
|
|
18459
18452
|
short: "HH:mm"
|
|
18460
|
-
},
|
|
18453
|
+
}, fP = {
|
|
18461
18454
|
full: "{{date}} 'a las' {{time}}",
|
|
18462
18455
|
long: "{{date}} 'a las' {{time}}",
|
|
18463
18456
|
medium: "{{date}}, {{time}}",
|
|
18464
18457
|
short: "{{date}}, {{time}}"
|
|
18465
|
-
},
|
|
18458
|
+
}, mP = {
|
|
18466
18459
|
date: Wr({
|
|
18467
|
-
formats:
|
|
18460
|
+
formats: dP,
|
|
18468
18461
|
defaultWidth: "full"
|
|
18469
18462
|
}),
|
|
18470
18463
|
time: Wr({
|
|
18471
|
-
formats:
|
|
18464
|
+
formats: pP,
|
|
18472
18465
|
defaultWidth: "full"
|
|
18473
18466
|
}),
|
|
18474
18467
|
dateTime: Wr({
|
|
18475
|
-
formats:
|
|
18468
|
+
formats: fP,
|
|
18476
18469
|
defaultWidth: "full"
|
|
18477
18470
|
})
|
|
18478
|
-
},
|
|
18471
|
+
}, hP = {
|
|
18479
18472
|
lastWeek: "'el' eeee 'pasado a la' p",
|
|
18480
18473
|
yesterday: "'ayer a la' p",
|
|
18481
18474
|
today: "'hoy a la' p",
|
|
18482
18475
|
tomorrow: "'mañana a la' p",
|
|
18483
18476
|
nextWeek: "eeee 'a la' p",
|
|
18484
18477
|
other: "P"
|
|
18485
|
-
},
|
|
18478
|
+
}, gP = {
|
|
18486
18479
|
lastWeek: "'el' eeee 'pasado a las' p",
|
|
18487
18480
|
yesterday: "'ayer a las' p",
|
|
18488
18481
|
today: "'hoy a las' p",
|
|
18489
18482
|
tomorrow: "'mañana a las' p",
|
|
18490
18483
|
nextWeek: "eeee 'a las' p",
|
|
18491
18484
|
other: "P"
|
|
18492
|
-
},
|
|
18493
|
-
return r.getUTCHours() !== 1 ?
|
|
18494
|
-
},
|
|
18485
|
+
}, bP = function(t, r, o, a) {
|
|
18486
|
+
return r.getUTCHours() !== 1 ? gP[t] : hP[t];
|
|
18487
|
+
}, vP = {
|
|
18495
18488
|
narrow: ["AC", "DC"],
|
|
18496
18489
|
abbreviated: ["AC", "DC"],
|
|
18497
18490
|
wide: ["antes de cristo", "después de cristo"]
|
|
18498
|
-
},
|
|
18491
|
+
}, yP = {
|
|
18499
18492
|
narrow: ["1", "2", "3", "4"],
|
|
18500
18493
|
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
18501
18494
|
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
|
|
18502
|
-
},
|
|
18495
|
+
}, OP = {
|
|
18503
18496
|
narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
18504
18497
|
abbreviated: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
|
|
18505
18498
|
wide: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"]
|
|
18506
|
-
},
|
|
18499
|
+
}, xP = {
|
|
18507
18500
|
narrow: ["d", "l", "m", "m", "j", "v", "s"],
|
|
18508
18501
|
short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
|
|
18509
18502
|
abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
|
18510
18503
|
wide: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"]
|
|
18511
|
-
},
|
|
18504
|
+
}, SP = {
|
|
18512
18505
|
narrow: {
|
|
18513
18506
|
am: "a",
|
|
18514
18507
|
pm: "p",
|
|
@@ -18539,7 +18532,7 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18539
18532
|
evening: "tarde",
|
|
18540
18533
|
night: "noche"
|
|
18541
18534
|
}
|
|
18542
|
-
},
|
|
18535
|
+
}, TP = {
|
|
18543
18536
|
narrow: {
|
|
18544
18537
|
am: "a",
|
|
18545
18538
|
pm: "p",
|
|
@@ -18570,68 +18563,68 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18570
18563
|
evening: "de la tarde",
|
|
18571
18564
|
night: "de la noche"
|
|
18572
18565
|
}
|
|
18573
|
-
},
|
|
18566
|
+
}, PP = function(t, r) {
|
|
18574
18567
|
var o = Number(t);
|
|
18575
18568
|
return o + "º";
|
|
18576
|
-
},
|
|
18577
|
-
ordinalNumber:
|
|
18569
|
+
}, EP = {
|
|
18570
|
+
ordinalNumber: PP,
|
|
18578
18571
|
era: _t({
|
|
18579
|
-
values:
|
|
18572
|
+
values: vP,
|
|
18580
18573
|
defaultWidth: "wide"
|
|
18581
18574
|
}),
|
|
18582
18575
|
quarter: _t({
|
|
18583
|
-
values:
|
|
18576
|
+
values: yP,
|
|
18584
18577
|
defaultWidth: "wide",
|
|
18585
18578
|
argumentCallback: function(t) {
|
|
18586
18579
|
return Number(t) - 1;
|
|
18587
18580
|
}
|
|
18588
18581
|
}),
|
|
18589
18582
|
month: _t({
|
|
18590
|
-
values:
|
|
18583
|
+
values: OP,
|
|
18591
18584
|
defaultWidth: "wide"
|
|
18592
18585
|
}),
|
|
18593
18586
|
day: _t({
|
|
18594
|
-
values:
|
|
18587
|
+
values: xP,
|
|
18595
18588
|
defaultWidth: "wide"
|
|
18596
18589
|
}),
|
|
18597
18590
|
dayPeriod: _t({
|
|
18598
|
-
values:
|
|
18591
|
+
values: SP,
|
|
18599
18592
|
defaultWidth: "wide",
|
|
18600
|
-
formattingValues:
|
|
18593
|
+
formattingValues: TP,
|
|
18601
18594
|
defaultFormattingWidth: "wide"
|
|
18602
18595
|
})
|
|
18603
|
-
},
|
|
18596
|
+
}, CP = /^(\d+)(º)?/i, FP = /\d+/i, wP = {
|
|
18604
18597
|
narrow: /^(ac|dc|a|d)/i,
|
|
18605
18598
|
abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
|
|
18606
18599
|
wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
|
|
18607
|
-
},
|
|
18600
|
+
}, RP = {
|
|
18608
18601
|
any: [/^ac/i, /^dc/i],
|
|
18609
18602
|
wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i]
|
|
18610
|
-
},
|
|
18603
|
+
}, MP = {
|
|
18611
18604
|
narrow: /^[1234]/i,
|
|
18612
18605
|
abbreviated: /^T[1234]/i,
|
|
18613
18606
|
wide: /^[1234](º)? trimestre/i
|
|
18614
|
-
},
|
|
18607
|
+
}, kP = {
|
|
18615
18608
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
18616
|
-
}, $
|
|
18609
|
+
}, $P = {
|
|
18617
18610
|
narrow: /^[efmajsond]/i,
|
|
18618
18611
|
abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,
|
|
18619
18612
|
wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i
|
|
18620
|
-
},
|
|
18613
|
+
}, LP = {
|
|
18621
18614
|
narrow: [/^e/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
18622
18615
|
any: [/^en/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i]
|
|
18623
|
-
},
|
|
18616
|
+
}, AP = {
|
|
18624
18617
|
narrow: /^[dlmjvs]/i,
|
|
18625
18618
|
short: /^(do|lu|ma|mi|ju|vi|s[áa])/i,
|
|
18626
18619
|
abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,
|
|
18627
18620
|
wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
|
|
18628
|
-
},
|
|
18621
|
+
}, IP = {
|
|
18629
18622
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
18630
18623
|
any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
|
|
18631
|
-
},
|
|
18624
|
+
}, DP = {
|
|
18632
18625
|
narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,
|
|
18633
18626
|
any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i
|
|
18634
|
-
},
|
|
18627
|
+
}, NP = {
|
|
18635
18628
|
any: {
|
|
18636
18629
|
am: /^a/i,
|
|
18637
18630
|
pm: /^p/i,
|
|
@@ -18642,54 +18635,54 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18642
18635
|
evening: /tarde/i,
|
|
18643
18636
|
night: /noche/i
|
|
18644
18637
|
}
|
|
18645
|
-
},
|
|
18638
|
+
}, _P = {
|
|
18646
18639
|
ordinalNumber: Qd({
|
|
18647
|
-
matchPattern:
|
|
18648
|
-
parsePattern:
|
|
18640
|
+
matchPattern: CP,
|
|
18641
|
+
parsePattern: FP,
|
|
18649
18642
|
valueCallback: function(t) {
|
|
18650
18643
|
return parseInt(t, 10);
|
|
18651
18644
|
}
|
|
18652
18645
|
}),
|
|
18653
18646
|
era: jt({
|
|
18654
|
-
matchPatterns:
|
|
18647
|
+
matchPatterns: wP,
|
|
18655
18648
|
defaultMatchWidth: "wide",
|
|
18656
|
-
parsePatterns:
|
|
18649
|
+
parsePatterns: RP,
|
|
18657
18650
|
defaultParseWidth: "any"
|
|
18658
18651
|
}),
|
|
18659
18652
|
quarter: jt({
|
|
18660
|
-
matchPatterns:
|
|
18653
|
+
matchPatterns: MP,
|
|
18661
18654
|
defaultMatchWidth: "wide",
|
|
18662
|
-
parsePatterns:
|
|
18655
|
+
parsePatterns: kP,
|
|
18663
18656
|
defaultParseWidth: "any",
|
|
18664
18657
|
valueCallback: function(t) {
|
|
18665
18658
|
return t + 1;
|
|
18666
18659
|
}
|
|
18667
18660
|
}),
|
|
18668
18661
|
month: jt({
|
|
18669
|
-
matchPatterns: $
|
|
18662
|
+
matchPatterns: $P,
|
|
18670
18663
|
defaultMatchWidth: "wide",
|
|
18671
|
-
parsePatterns:
|
|
18664
|
+
parsePatterns: LP,
|
|
18672
18665
|
defaultParseWidth: "any"
|
|
18673
18666
|
}),
|
|
18674
18667
|
day: jt({
|
|
18675
|
-
matchPatterns:
|
|
18668
|
+
matchPatterns: AP,
|
|
18676
18669
|
defaultMatchWidth: "wide",
|
|
18677
|
-
parsePatterns:
|
|
18670
|
+
parsePatterns: IP,
|
|
18678
18671
|
defaultParseWidth: "any"
|
|
18679
18672
|
}),
|
|
18680
18673
|
dayPeriod: jt({
|
|
18681
|
-
matchPatterns:
|
|
18674
|
+
matchPatterns: DP,
|
|
18682
18675
|
defaultMatchWidth: "any",
|
|
18683
|
-
parsePatterns:
|
|
18676
|
+
parsePatterns: NP,
|
|
18684
18677
|
defaultParseWidth: "any"
|
|
18685
18678
|
})
|
|
18686
|
-
},
|
|
18679
|
+
}, jP = {
|
|
18687
18680
|
code: "es",
|
|
18688
|
-
formatDistance:
|
|
18689
|
-
formatLong:
|
|
18690
|
-
formatRelative:
|
|
18691
|
-
localize:
|
|
18692
|
-
match:
|
|
18681
|
+
formatDistance: uP,
|
|
18682
|
+
formatLong: mP,
|
|
18683
|
+
formatRelative: bP,
|
|
18684
|
+
localize: EP,
|
|
18685
|
+
match: _P,
|
|
18693
18686
|
options: {
|
|
18694
18687
|
weekStartsOn: 1,
|
|
18695
18688
|
firstWeekContainsDate: 1
|
|
@@ -18708,11 +18701,11 @@ const lt = (e) => {
|
|
|
18708
18701
|
} = s || {}, h = d === !0 ? Xd : void 0, v = typeof m == "function" ? m : () => m, { [t]: g = {}, etrs: b } = a, {
|
|
18709
18702
|
onFocus: O,
|
|
18710
18703
|
onChange: C,
|
|
18711
|
-
onBlur:
|
|
18704
|
+
onBlur: P,
|
|
18712
18705
|
hidden: T = !1,
|
|
18713
18706
|
disabled: y = !1,
|
|
18714
18707
|
validate: F,
|
|
18715
|
-
...
|
|
18708
|
+
...E
|
|
18716
18709
|
} = e, { field: $ } = Wc(e), {
|
|
18717
18710
|
onFocus: w,
|
|
18718
18711
|
onBlur: R,
|
|
@@ -18722,8 +18715,8 @@ const lt = (e) => {
|
|
|
18722
18715
|
useContenido: N = pr,
|
|
18723
18716
|
validate: _,
|
|
18724
18717
|
...A
|
|
18725
|
-
} = g, j = l || D === void 0 ? T : D, k = l || L === void 0 ? y : L, z = l || w === void 0 ? O : w, J = l || R === void 0 ?
|
|
18726
|
-
...
|
|
18718
|
+
} = g, j = l || D === void 0 ? T : D, k = l || L === void 0 ? y : L, z = l || w === void 0 ? O : w, J = l || R === void 0 ? P : R, Y = l || M === void 0 ? C : M, re = Zt({ ...e, etrs: b, asisEtr: i }), Te = N({
|
|
18719
|
+
...E,
|
|
18727
18720
|
estado: r,
|
|
18728
18721
|
hidden: j,
|
|
18729
18722
|
isLoading: o,
|
|
@@ -18743,9 +18736,9 @@ const lt = (e) => {
|
|
|
18743
18736
|
onFocus: ce,
|
|
18744
18737
|
onChange: ae,
|
|
18745
18738
|
onBlur: G,
|
|
18746
|
-
validate:
|
|
18747
|
-
...
|
|
18748
|
-
} = Te, B = ce || z, Z = G || J, I = ae || Y, te = { ...re, prev: oe.current }, Re = Array.isArray(F) ? F : [F], Ce = Array.isArray(_) ? _ : [_], pe = Array.isArray(
|
|
18739
|
+
validate: Pe,
|
|
18740
|
+
...Ee
|
|
18741
|
+
} = Te, B = ce || z, Z = G || J, I = ae || Y, te = { ...re, prev: oe.current }, Re = Array.isArray(F) ? F : [F], Ce = Array.isArray(_) ? _ : [_], pe = Array.isArray(Pe) ? Pe : [Pe], tt = [
|
|
18749
18742
|
...Re,
|
|
18750
18743
|
...Ce,
|
|
18751
18744
|
...pe,
|
|
@@ -18762,15 +18755,15 @@ const lt = (e) => {
|
|
|
18762
18755
|
onChange: (le) => I && I(te, r, le),
|
|
18763
18756
|
helperText: !1,
|
|
18764
18757
|
validate: tt,
|
|
18765
|
-
...
|
|
18758
|
+
...E,
|
|
18766
18759
|
...A,
|
|
18767
|
-
...
|
|
18760
|
+
...Ee,
|
|
18768
18761
|
disabled: c !== void 0 ? c : ne !== void 0 ? ne : k,
|
|
18769
18762
|
...f ? { label: f } : {}
|
|
18770
18763
|
},
|
|
18771
18764
|
hidden: u !== void 0 ? u : ee !== void 0 ? ee : j
|
|
18772
18765
|
};
|
|
18773
|
-
},
|
|
18766
|
+
}, VP = (e) => e.split("_")[1], BP = /^\d{2}\/\d{2}\/\d{4}$/, Nn = (e) => {
|
|
18774
18767
|
if (!(e instanceof Date) || isNaN(e.getDate()))
|
|
18775
18768
|
return "";
|
|
18776
18769
|
const t = "00", r = e.getFullYear().toString(), o = (e.getMonth() + 1).toString(), a = e.getDate().toString();
|
|
@@ -18780,7 +18773,7 @@ const lt = (e) => {
|
|
|
18780
18773
|
return "";
|
|
18781
18774
|
if (e instanceof Date)
|
|
18782
18775
|
return Nn(e);
|
|
18783
|
-
if (
|
|
18776
|
+
if (BP.test(e)) {
|
|
18784
18777
|
const t = e.split("/");
|
|
18785
18778
|
return t[2] + "-" + t[1] + "-" + t[0];
|
|
18786
18779
|
}
|
|
@@ -18790,12 +18783,12 @@ const lt = (e) => {
|
|
|
18790
18783
|
return "";
|
|
18791
18784
|
const t = e.split("-");
|
|
18792
18785
|
return t[2] + "/" + t[1] + "/" + t[0];
|
|
18793
|
-
},
|
|
18786
|
+
}, zP = /^\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}$/, Kw = (e) => {
|
|
18794
18787
|
if (e == null || e === "")
|
|
18795
18788
|
return "";
|
|
18796
18789
|
if (e instanceof Date)
|
|
18797
18790
|
return Nn(e);
|
|
18798
|
-
if (
|
|
18791
|
+
if (zP.test(e)) {
|
|
18799
18792
|
const t = e.split(" "), r = t[0].split("/");
|
|
18800
18793
|
return r[2] + "-" + r[1] + "-" + r[0] + " " + t[1];
|
|
18801
18794
|
}
|
|
@@ -18821,7 +18814,7 @@ const lt = (e) => {
|
|
|
18821
18814
|
let r = /* @__PURE__ */ new Date();
|
|
18822
18815
|
return r.setHours(t[0]), r.setMinutes(t[1]), r.toString();
|
|
18823
18816
|
}
|
|
18824
|
-
}, Xw = (e, t) => e ? e.split(" ")[4].substring(0, 5) : "",
|
|
18817
|
+
}, Xw = (e, t) => e ? e.split(" ")[4].substring(0, 5) : "", HP = ({
|
|
18825
18818
|
className: e,
|
|
18826
18819
|
record: t,
|
|
18827
18820
|
hasEdit: r,
|
|
@@ -18841,11 +18834,11 @@ const lt = (e) => {
|
|
|
18841
18834
|
onToggleItem: b,
|
|
18842
18835
|
isLoading: O,
|
|
18843
18836
|
exporter: C,
|
|
18844
|
-
hideFilter:
|
|
18837
|
+
hideFilter: P,
|
|
18845
18838
|
hasCreate: T,
|
|
18846
18839
|
filterValues: y,
|
|
18847
18840
|
displayedFilters: F,
|
|
18848
|
-
sort:
|
|
18841
|
+
sort: E,
|
|
18849
18842
|
...$
|
|
18850
18843
|
}) => $, Zw = (e) => {
|
|
18851
18844
|
const { hidden: t } = lt(e);
|
|
@@ -18857,10 +18850,10 @@ const lt = (e) => {
|
|
|
18857
18850
|
hasShow: o,
|
|
18858
18851
|
hasList: a = !0,
|
|
18859
18852
|
...i
|
|
18860
|
-
}) => /* @__PURE__ */ V(Kc, { className: t, ...
|
|
18853
|
+
}) => /* @__PURE__ */ V(Kc, { className: t, ...HP(i), children: [
|
|
18861
18854
|
e,
|
|
18862
|
-
a && /* @__PURE__ */ p(
|
|
18863
|
-
o && /* @__PURE__ */ p(
|
|
18855
|
+
a && /* @__PURE__ */ p(Pf, { label: "ra.action.back", icon: /* @__PURE__ */ p(Yd, {}) }),
|
|
18856
|
+
o && /* @__PURE__ */ p(Ef, { record: r })
|
|
18864
18857
|
] }), Xd = Sf(), eR = [Xd, Tf(1)], tR = { inputFormat: "dd/MM/yyyy" }, rR = (e) => (t, r) => {
|
|
18865
18858
|
const o = r[e];
|
|
18866
18859
|
if (t && o) {
|
|
@@ -18872,7 +18865,7 @@ const lt = (e) => {
|
|
|
18872
18865
|
};
|
|
18873
18866
|
}
|
|
18874
18867
|
}, oR = (e = "es") => ({
|
|
18875
|
-
locale: e === "en" ?
|
|
18868
|
+
locale: e === "en" ? sP : jP
|
|
18876
18869
|
}), nR = [
|
|
18877
18870
|
{ id: "1", name: "Aprobado" },
|
|
18878
18871
|
{ id: "2", name: "Rechazado" },
|
|
@@ -18907,22 +18900,22 @@ const lt = (e) => {
|
|
|
18907
18900
|
return e.toLocaleString("es", t).replace(",", "");
|
|
18908
18901
|
}, uR = (e, t) => {
|
|
18909
18902
|
const r = qe(), { data: o, isLoading: a, error: i } = qc(
|
|
18910
|
-
"cb_" +
|
|
18903
|
+
"cb_" + VP(r) + "_" + e,
|
|
18911
18904
|
{ id: t }
|
|
18912
18905
|
);
|
|
18913
18906
|
return a || i ? "" : (o == null ? void 0 : o.etiqueta) || "";
|
|
18914
18907
|
};
|
|
18915
|
-
var yl = {},
|
|
18908
|
+
var yl = {}, WP = $e;
|
|
18916
18909
|
Object.defineProperty(yl, "__esModule", {
|
|
18917
18910
|
value: !0
|
|
18918
18911
|
});
|
|
18919
|
-
var Zd = yl.default = void 0,
|
|
18920
|
-
Zd = yl.default = (0,
|
|
18912
|
+
var Zd = yl.default = void 0, UP = WP(De()), GP = Ie;
|
|
18913
|
+
Zd = yl.default = (0, UP.default)(/* @__PURE__ */ (0, GP.jsx)("path", {
|
|
18921
18914
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
18922
18915
|
}), "Close");
|
|
18923
18916
|
const Jd = (e) => {
|
|
18924
18917
|
const t = Je(), { defaultTitle: r, onClose: o, record: a, title: i } = e;
|
|
18925
|
-
return /* @__PURE__ */ V(
|
|
18918
|
+
return /* @__PURE__ */ V(qP, { id: "edit-dialog-title", children: [
|
|
18926
18919
|
yr(i) ? tr(i, { record: a }) : i ? t(i, { _: i }) : r,
|
|
18927
18920
|
/* @__PURE__ */ p(
|
|
18928
18921
|
Cn,
|
|
@@ -18936,7 +18929,7 @@ const Jd = (e) => {
|
|
|
18936
18929
|
] });
|
|
18937
18930
|
}, ep = "RaFormDialogTitle", tp = {
|
|
18938
18931
|
closeButton: `${ep}-closeButton`
|
|
18939
|
-
},
|
|
18932
|
+
}, qP = U(Bc, {
|
|
18940
18933
|
name: ep,
|
|
18941
18934
|
overridesResolver: (e, t) => t.root
|
|
18942
18935
|
})(({ theme: e }) => ({
|
|
@@ -18953,7 +18946,7 @@ const Jd = (e) => {
|
|
|
18953
18946
|
close: (e == null ? void 0 : e.close) ?? (t == null ? void 0 : t.close)
|
|
18954
18947
|
};
|
|
18955
18948
|
return r.isOpen == null && r.open == null && r.close == null ? null : r;
|
|
18956
|
-
},
|
|
18949
|
+
}, KP = (e) => {
|
|
18957
18950
|
const t = qe(e), r = op(e);
|
|
18958
18951
|
return r ? /* @__PURE__ */ p(pc, { resource: t, ...r, ...e }) : /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(
|
|
18959
18952
|
gi,
|
|
@@ -18994,7 +18987,7 @@ const Jd = (e) => {
|
|
|
18994
18987
|
"aria-labelledby": "create-dialog-title",
|
|
18995
18988
|
onClose: h,
|
|
18996
18989
|
"data-testid": "create-dialog",
|
|
18997
|
-
...
|
|
18990
|
+
...YP(a),
|
|
18998
18991
|
children: [
|
|
18999
18992
|
/* @__PURE__ */ p(
|
|
19000
18993
|
Jd,
|
|
@@ -19010,7 +19003,7 @@ const Jd = (e) => {
|
|
|
19010
19003
|
]
|
|
19011
19004
|
}
|
|
19012
19005
|
);
|
|
19013
|
-
},
|
|
19006
|
+
}, YP = ({
|
|
19014
19007
|
basePath: e = null,
|
|
19015
19008
|
hasCreate: t = null,
|
|
19016
19009
|
hasEdit: r = null,
|
|
@@ -19030,12 +19023,12 @@ const Jd = (e) => {
|
|
|
19030
19023
|
close: b = null,
|
|
19031
19024
|
...O
|
|
19032
19025
|
}) => O;
|
|
19033
|
-
var Ol = {},
|
|
19026
|
+
var Ol = {}, QP = $e;
|
|
19034
19027
|
Object.defineProperty(Ol, "__esModule", {
|
|
19035
19028
|
value: !0
|
|
19036
19029
|
});
|
|
19037
|
-
var np = Ol.default = void 0,
|
|
19038
|
-
np = Ol.default = (0,
|
|
19030
|
+
var np = Ol.default = void 0, XP = QP(De()), ZP = Ie;
|
|
19031
|
+
np = Ol.default = (0, XP.default)(/* @__PURE__ */ (0, ZP.jsx)("path", {
|
|
19039
19032
|
d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
|
|
19040
19033
|
}), "OpenInNew");
|
|
19041
19034
|
const ap = (e) => {
|
|
@@ -19051,7 +19044,7 @@ const ap = (e) => {
|
|
|
19051
19044
|
}),
|
|
19052
19045
|
[i, r, a]
|
|
19053
19046
|
), {
|
|
19054
|
-
icon: s =
|
|
19047
|
+
icon: s = JP,
|
|
19055
19048
|
label: c = "",
|
|
19056
19049
|
inline: u,
|
|
19057
19050
|
dialog: d,
|
|
@@ -19076,14 +19069,14 @@ const ap = (e) => {
|
|
|
19076
19069
|
v,
|
|
19077
19070
|
d
|
|
19078
19071
|
] });
|
|
19079
|
-
},
|
|
19072
|
+
}, JP = /* @__PURE__ */ p(np, {}), eE = (e) => {
|
|
19080
19073
|
const {
|
|
19081
19074
|
inline: t,
|
|
19082
|
-
icon: r =
|
|
19075
|
+
icon: r = tE,
|
|
19083
19076
|
label: o = "ra.action.create",
|
|
19084
19077
|
ButtonProps: a,
|
|
19085
19078
|
...i
|
|
19086
|
-
} = e, l = /* @__PURE__ */ p(
|
|
19079
|
+
} = e, l = /* @__PURE__ */ p(KP, { ...i });
|
|
19087
19080
|
return /* @__PURE__ */ p(
|
|
19088
19081
|
ap,
|
|
19089
19082
|
{
|
|
@@ -19094,7 +19087,7 @@ const ap = (e) => {
|
|
|
19094
19087
|
ButtonProps: a
|
|
19095
19088
|
}
|
|
19096
19089
|
);
|
|
19097
|
-
},
|
|
19090
|
+
}, tE = /* @__PURE__ */ p(Xo, {}), Ur = "FormEtriek", Da = {
|
|
19098
19091
|
form: `${Ur}-form`,
|
|
19099
19092
|
tab: `${Ur}-tab`,
|
|
19100
19093
|
contenido: `${Ur}-contenido`
|
|
@@ -19141,13 +19134,13 @@ const ap = (e) => {
|
|
|
19141
19134
|
[t, i, Na, l]
|
|
19142
19135
|
);
|
|
19143
19136
|
return typeof t == "function" ? s : void 0;
|
|
19144
|
-
},
|
|
19137
|
+
}, rE = (e) => {
|
|
19145
19138
|
const {
|
|
19146
19139
|
useFormulario: t = pr,
|
|
19147
19140
|
enableLoad: r = !0,
|
|
19148
19141
|
tipo: o,
|
|
19149
19142
|
...a
|
|
19150
|
-
} = e, i = qe(e), l = o === "ventana" ?
|
|
19143
|
+
} = e, i = qe(e), l = o === "ventana" ? eE : Rf, { data: s, isLoading: c } = FT(i, {
|
|
19151
19144
|
enabled: r
|
|
19152
19145
|
}), { fichaProps: u } = bl(e), d = Kt(
|
|
19153
19146
|
() => ({ estado: "N", initialValues: s, isLoading: c, fichaProps: u }),
|
|
@@ -19161,10 +19154,10 @@ const ap = (e) => {
|
|
|
19161
19154
|
...u == null ? void 0 : u.panel
|
|
19162
19155
|
}
|
|
19163
19156
|
) }) }) });
|
|
19164
|
-
}, dR = U(
|
|
19157
|
+
}, dR = U(rE, {
|
|
19165
19158
|
name: Ur,
|
|
19166
19159
|
overridesResolver: (e, t) => t.root
|
|
19167
|
-
})(({ theme: e }) => xl(e)),
|
|
19160
|
+
})(({ theme: e }) => xl(e)), oE = (e) => {
|
|
19168
19161
|
const t = qe(e), r = op(e);
|
|
19169
19162
|
return r ? /* @__PURE__ */ p(fc, { resource: t, ...r, ...e }) : /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(
|
|
19170
19163
|
gi,
|
|
@@ -19205,7 +19198,7 @@ const ap = (e) => {
|
|
|
19205
19198
|
"aria-labelledby": "list-dialog-title",
|
|
19206
19199
|
onClose: h,
|
|
19207
19200
|
"data-testid": "list-dialog",
|
|
19208
|
-
...
|
|
19201
|
+
...nE(a),
|
|
19209
19202
|
children: [
|
|
19210
19203
|
/* @__PURE__ */ p(
|
|
19211
19204
|
Jd,
|
|
@@ -19221,7 +19214,7 @@ const ap = (e) => {
|
|
|
19221
19214
|
]
|
|
19222
19215
|
}
|
|
19223
19216
|
);
|
|
19224
|
-
},
|
|
19217
|
+
}, nE = ({
|
|
19225
19218
|
basePath: e = null,
|
|
19226
19219
|
hasCreate: t = null,
|
|
19227
19220
|
hasEdit: r = null,
|
|
@@ -19239,14 +19232,14 @@ const ap = (e) => {
|
|
|
19239
19232
|
open: v = null,
|
|
19240
19233
|
close: g = null,
|
|
19241
19234
|
...b
|
|
19242
|
-
}) => b,
|
|
19235
|
+
}) => b, aE = (e) => {
|
|
19243
19236
|
const {
|
|
19244
19237
|
inline: t,
|
|
19245
|
-
icon: r =
|
|
19238
|
+
icon: r = iE,
|
|
19246
19239
|
label: o = "ra.action.list",
|
|
19247
19240
|
ButtonProps: a,
|
|
19248
19241
|
...i
|
|
19249
|
-
} = e, l = /* @__PURE__ */ p(
|
|
19242
|
+
} = e, l = /* @__PURE__ */ p(oE, { ...i });
|
|
19250
19243
|
return /* @__PURE__ */ p(
|
|
19251
19244
|
ap,
|
|
19252
19245
|
{
|
|
@@ -19257,14 +19250,14 @@ const ap = (e) => {
|
|
|
19257
19250
|
ButtonProps: a
|
|
19258
19251
|
}
|
|
19259
19252
|
);
|
|
19260
|
-
},
|
|
19253
|
+
}, iE = /* @__PURE__ */ p(Xo, {}), pR = (e) => {
|
|
19261
19254
|
const { tipo: t, ...r } = e;
|
|
19262
|
-
return /* @__PURE__ */ p(kS, { children: /* @__PURE__ */ p(ll, { children: /* @__PURE__ */ p(t === "ventana" ?
|
|
19255
|
+
return /* @__PURE__ */ p(kS, { children: /* @__PURE__ */ p(ll, { children: /* @__PURE__ */ p(t === "ventana" ? aE : Yc, { ...r }) }) });
|
|
19263
19256
|
};
|
|
19264
|
-
function
|
|
19257
|
+
function lE(e) {
|
|
19265
19258
|
return me("MuiIconButton", e);
|
|
19266
19259
|
}
|
|
19267
|
-
const
|
|
19260
|
+
const sE = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), cE = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], uE = (e) => {
|
|
19268
19261
|
const {
|
|
19269
19262
|
classes: t,
|
|
19270
19263
|
disabled: r,
|
|
@@ -19274,8 +19267,8 @@ const sP = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19274
19267
|
} = e, l = {
|
|
19275
19268
|
root: ["root", r && "disabled", o !== "default" && `color${X(o)}`, a && `edge${X(a)}`, `size${X(i)}`]
|
|
19276
19269
|
};
|
|
19277
|
-
return ve(l,
|
|
19278
|
-
},
|
|
19270
|
+
return ve(l, lE, t);
|
|
19271
|
+
}, dE = U(po, {
|
|
19279
19272
|
name: "MuiIconButton",
|
|
19280
19273
|
slot: "Root",
|
|
19281
19274
|
overridesResolver: (e, t) => {
|
|
@@ -19337,7 +19330,7 @@ const sP = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19337
19330
|
padding: 12,
|
|
19338
19331
|
fontSize: e.typography.pxToRem(28)
|
|
19339
19332
|
}, {
|
|
19340
|
-
[`&.${
|
|
19333
|
+
[`&.${sE.disabled}`]: {
|
|
19341
19334
|
backgroundColor: "transparent",
|
|
19342
19335
|
color: (e.vars || e).palette.action.disabled
|
|
19343
19336
|
}
|
|
@@ -19354,14 +19347,14 @@ const sP = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19354
19347
|
disabled: c = !1,
|
|
19355
19348
|
disableFocusRipple: u = !1,
|
|
19356
19349
|
size: d = "medium"
|
|
19357
|
-
} = o, m = W(o,
|
|
19350
|
+
} = o, m = W(o, cE), f = S({}, o, {
|
|
19358
19351
|
edge: a,
|
|
19359
19352
|
color: s,
|
|
19360
19353
|
disabled: c,
|
|
19361
19354
|
disableFocusRipple: u,
|
|
19362
19355
|
size: d
|
|
19363
|
-
}), h =
|
|
19364
|
-
return /* @__PURE__ */ p(
|
|
19356
|
+
}), h = uE(f);
|
|
19357
|
+
return /* @__PURE__ */ p(dE, S({
|
|
19365
19358
|
className: q(h.root, l),
|
|
19366
19359
|
centerRipple: !0,
|
|
19367
19360
|
focusRipple: !u,
|
|
@@ -19434,11 +19427,11 @@ process.env.NODE_ENV !== "production" && (zt.propTypes = {
|
|
|
19434
19427
|
*/
|
|
19435
19428
|
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
|
|
19436
19429
|
});
|
|
19437
|
-
const
|
|
19430
|
+
const pE = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
19438
19431
|
function oi(e) {
|
|
19439
19432
|
return `scale(${e}, ${e ** 2})`;
|
|
19440
19433
|
}
|
|
19441
|
-
const
|
|
19434
|
+
const fE = {
|
|
19442
19435
|
entering: {
|
|
19443
19436
|
opacity: 1,
|
|
19444
19437
|
transform: oi(1)
|
|
@@ -19464,12 +19457,12 @@ const fP = {
|
|
|
19464
19457
|
timeout: g = "auto",
|
|
19465
19458
|
// eslint-disable-next-line react/prop-types
|
|
19466
19459
|
TransitionComponent: b = Lt
|
|
19467
|
-
} = t, O = W(t,
|
|
19460
|
+
} = t, O = W(t, pE), C = jr(), P = x.useRef(), T = wr(), y = x.useRef(null), F = Ge(y, i.ref, r), E = (_) => (A) => {
|
|
19468
19461
|
if (_) {
|
|
19469
19462
|
const j = y.current;
|
|
19470
19463
|
A === void 0 ? _(j) : _(j, A);
|
|
19471
19464
|
}
|
|
19472
|
-
}, $ =
|
|
19465
|
+
}, $ = E(d), w = E((_, A) => {
|
|
19473
19466
|
tl(_);
|
|
19474
19467
|
const {
|
|
19475
19468
|
duration: j,
|
|
@@ -19483,7 +19476,7 @@ const fP = {
|
|
|
19483
19476
|
mode: "enter"
|
|
19484
19477
|
});
|
|
19485
19478
|
let J;
|
|
19486
|
-
g === "auto" ? (J = T.transitions.getAutoHeightDuration(_.clientHeight),
|
|
19479
|
+
g === "auto" ? (J = T.transitions.getAutoHeightDuration(_.clientHeight), P.current = J) : J = j, _.style.transition = [T.transitions.create("opacity", {
|
|
19487
19480
|
duration: J,
|
|
19488
19481
|
delay: k
|
|
19489
19482
|
}), T.transitions.create("transform", {
|
|
@@ -19491,7 +19484,7 @@ const fP = {
|
|
|
19491
19484
|
delay: k,
|
|
19492
19485
|
easing: z
|
|
19493
19486
|
})].join(","), c && c(_, A);
|
|
19494
|
-
}), R =
|
|
19487
|
+
}), R = E(u), M = E(h), D = E((_) => {
|
|
19495
19488
|
const {
|
|
19496
19489
|
duration: A,
|
|
19497
19490
|
delay: j,
|
|
@@ -19504,7 +19497,7 @@ const fP = {
|
|
|
19504
19497
|
mode: "exit"
|
|
19505
19498
|
});
|
|
19506
19499
|
let z;
|
|
19507
|
-
g === "auto" ? (z = T.transitions.getAutoHeightDuration(_.clientHeight),
|
|
19500
|
+
g === "auto" ? (z = T.transitions.getAutoHeightDuration(_.clientHeight), P.current = z) : z = A, _.style.transition = [T.transitions.create("opacity", {
|
|
19508
19501
|
duration: z,
|
|
19509
19502
|
delay: j
|
|
19510
19503
|
}), T.transitions.create("transform", {
|
|
@@ -19512,7 +19505,7 @@ const fP = {
|
|
|
19512
19505
|
delay: _a ? j : j || z * 0.333,
|
|
19513
19506
|
easing: k
|
|
19514
19507
|
})].join(","), _.style.opacity = 0, _.style.transform = oi(0.75), m && m(_);
|
|
19515
|
-
}), L =
|
|
19508
|
+
}), L = E(f);
|
|
19516
19509
|
return /* @__PURE__ */ p(b, S({
|
|
19517
19510
|
appear: a,
|
|
19518
19511
|
in: s,
|
|
@@ -19524,7 +19517,7 @@ const fP = {
|
|
|
19524
19517
|
onExited: L,
|
|
19525
19518
|
onExiting: M,
|
|
19526
19519
|
addEndListener: (_) => {
|
|
19527
|
-
g === "auto" && C.start(
|
|
19520
|
+
g === "auto" && C.start(P.current || 0, _), o && o(y.current, _);
|
|
19528
19521
|
},
|
|
19529
19522
|
timeout: g === "auto" ? null : g
|
|
19530
19523
|
}, O, {
|
|
@@ -19533,7 +19526,7 @@ const fP = {
|
|
|
19533
19526
|
opacity: 0,
|
|
19534
19527
|
transform: oi(0.75),
|
|
19535
19528
|
visibility: _ === "exited" && !s ? "hidden" : void 0
|
|
19536
|
-
},
|
|
19529
|
+
}, fE[_], v, i.props.style),
|
|
19537
19530
|
ref: F
|
|
19538
19531
|
}, A))
|
|
19539
19532
|
}));
|
|
@@ -19613,11 +19606,11 @@ process.env.NODE_ENV !== "production" && (No.propTypes = {
|
|
|
19613
19606
|
})])
|
|
19614
19607
|
});
|
|
19615
19608
|
No.muiSupportAuto = !0;
|
|
19616
|
-
var nt = "top", Tt = "bottom",
|
|
19609
|
+
var nt = "top", Tt = "bottom", Pt = "right", at = "left", Sl = "auto", on = [nt, Tt, Pt, at], Jr = "start", _o = "end", mE = "clippingParents", lp = "viewport", vo = "popper", hE = "reference", mc = /* @__PURE__ */ on.reduce(function(e, t) {
|
|
19617
19610
|
return e.concat([t + "-" + Jr, t + "-" + _o]);
|
|
19618
19611
|
}, []), sp = /* @__PURE__ */ [].concat(on, [Sl]).reduce(function(e, t) {
|
|
19619
19612
|
return e.concat([t, t + "-" + Jr, t + "-" + _o]);
|
|
19620
|
-
}, []),
|
|
19613
|
+
}, []), gE = "beforeRead", bE = "read", vE = "afterRead", yE = "beforeMain", OE = "main", xE = "afterMain", SE = "beforeWrite", TE = "write", PE = "afterWrite", EE = [gE, bE, vE, yE, OE, xE, SE, TE, PE];
|
|
19621
19614
|
function qt(e) {
|
|
19622
19615
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
19623
19616
|
}
|
|
@@ -19630,7 +19623,7 @@ function ft(e) {
|
|
|
19630
19623
|
}
|
|
19631
19624
|
return e;
|
|
19632
19625
|
}
|
|
19633
|
-
function
|
|
19626
|
+
function Er(e) {
|
|
19634
19627
|
var t = ft(e).Element;
|
|
19635
19628
|
return e instanceof t || e instanceof Element;
|
|
19636
19629
|
}
|
|
@@ -19644,7 +19637,7 @@ function Tl(e) {
|
|
|
19644
19637
|
var t = ft(e).ShadowRoot;
|
|
19645
19638
|
return e instanceof t || e instanceof ShadowRoot;
|
|
19646
19639
|
}
|
|
19647
|
-
function
|
|
19640
|
+
function CE(e) {
|
|
19648
19641
|
var t = e.state;
|
|
19649
19642
|
Object.keys(t.elements).forEach(function(r) {
|
|
19650
19643
|
var o = t.styles[r] || {}, a = t.attributes[r] || {}, i = t.elements[r];
|
|
@@ -19654,7 +19647,7 @@ function CP(e) {
|
|
|
19654
19647
|
}));
|
|
19655
19648
|
});
|
|
19656
19649
|
}
|
|
19657
|
-
function
|
|
19650
|
+
function FE(e) {
|
|
19658
19651
|
var t = e.state, r = {
|
|
19659
19652
|
popper: {
|
|
19660
19653
|
position: t.options.strategy,
|
|
@@ -19678,12 +19671,12 @@ function FP(e) {
|
|
|
19678
19671
|
});
|
|
19679
19672
|
};
|
|
19680
19673
|
}
|
|
19681
|
-
const
|
|
19674
|
+
const wE = {
|
|
19682
19675
|
name: "applyStyles",
|
|
19683
19676
|
enabled: !0,
|
|
19684
19677
|
phase: "write",
|
|
19685
|
-
fn:
|
|
19686
|
-
effect:
|
|
19678
|
+
fn: CE,
|
|
19679
|
+
effect: FE,
|
|
19687
19680
|
requires: ["computeStyles"]
|
|
19688
19681
|
};
|
|
19689
19682
|
function Ht(e) {
|
|
@@ -19703,7 +19696,7 @@ function to(e, t, r) {
|
|
|
19703
19696
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
19704
19697
|
var o = e.getBoundingClientRect(), a = 1, i = 1;
|
|
19705
19698
|
t && xt(e) && (a = e.offsetWidth > 0 && eo(o.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && eo(o.height) / e.offsetHeight || 1);
|
|
19706
|
-
var l =
|
|
19699
|
+
var l = Er(e) ? ft(e) : window, s = l.visualViewport, c = !cp() && r, u = (o.left + (c && s ? s.offsetLeft : 0)) / a, d = (o.top + (c && s ? s.offsetTop : 0)) / i, m = o.width / a, f = o.height / i;
|
|
19707
19700
|
return {
|
|
19708
19701
|
width: m,
|
|
19709
19702
|
height: f,
|
|
@@ -19715,7 +19708,7 @@ function to(e, t, r) {
|
|
|
19715
19708
|
y: d
|
|
19716
19709
|
};
|
|
19717
19710
|
}
|
|
19718
|
-
function
|
|
19711
|
+
function Pl(e) {
|
|
19719
19712
|
var t = to(e), r = e.offsetWidth, o = e.offsetHeight;
|
|
19720
19713
|
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
|
|
19721
19714
|
x: e.offsetLeft,
|
|
@@ -19741,11 +19734,11 @@ function up(e, t) {
|
|
|
19741
19734
|
function or(e) {
|
|
19742
19735
|
return ft(e).getComputedStyle(e);
|
|
19743
19736
|
}
|
|
19744
|
-
function
|
|
19737
|
+
function RE(e) {
|
|
19745
19738
|
return ["table", "td", "th"].indexOf(qt(e)) >= 0;
|
|
19746
19739
|
}
|
|
19747
19740
|
function fr(e) {
|
|
19748
|
-
return ((
|
|
19741
|
+
return ((Er(e) ? e.ownerDocument : (
|
|
19749
19742
|
// $FlowFixMe[prop-missing]
|
|
19750
19743
|
e.document
|
|
19751
19744
|
)) || window.document).documentElement;
|
|
@@ -19766,7 +19759,7 @@ function hc(e) {
|
|
|
19766
19759
|
return !xt(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
19767
19760
|
or(e).position === "fixed" ? null : e.offsetParent;
|
|
19768
19761
|
}
|
|
19769
|
-
function
|
|
19762
|
+
function ME(e) {
|
|
19770
19763
|
var t = /firefox/i.test(ni()), r = /Trident/i.test(ni());
|
|
19771
19764
|
if (r && xt(e)) {
|
|
19772
19765
|
var o = or(e);
|
|
@@ -19783,18 +19776,18 @@ function MP(e) {
|
|
|
19783
19776
|
return null;
|
|
19784
19777
|
}
|
|
19785
19778
|
function nn(e) {
|
|
19786
|
-
for (var t = ft(e), r = hc(e); r &&
|
|
19779
|
+
for (var t = ft(e), r = hc(e); r && RE(r) && or(r).position === "static"; )
|
|
19787
19780
|
r = hc(r);
|
|
19788
|
-
return r && (qt(r) === "html" || qt(r) === "body" && or(r).position === "static") ? t : r ||
|
|
19781
|
+
return r && (qt(r) === "html" || qt(r) === "body" && or(r).position === "static") ? t : r || ME(e) || t;
|
|
19789
19782
|
}
|
|
19790
|
-
function
|
|
19783
|
+
function El(e) {
|
|
19791
19784
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
19792
19785
|
}
|
|
19793
|
-
function
|
|
19786
|
+
function Eo(e, t, r) {
|
|
19794
19787
|
return Or(e, _n(t, r));
|
|
19795
19788
|
}
|
|
19796
|
-
function
|
|
19797
|
-
var o =
|
|
19789
|
+
function kE(e, t, r) {
|
|
19790
|
+
var o = Eo(e, t, r);
|
|
19798
19791
|
return o > r ? r : o;
|
|
19799
19792
|
}
|
|
19800
19793
|
function dp() {
|
|
@@ -19813,41 +19806,41 @@ function fp(e, t) {
|
|
|
19813
19806
|
return r[o] = e, r;
|
|
19814
19807
|
}, {});
|
|
19815
19808
|
}
|
|
19816
|
-
var $
|
|
19809
|
+
var $E = function(t, r) {
|
|
19817
19810
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
19818
19811
|
placement: r.placement
|
|
19819
19812
|
})) : t, pp(typeof t != "number" ? t : fp(t, on));
|
|
19820
19813
|
};
|
|
19821
|
-
function
|
|
19822
|
-
var t, r = e.state, o = e.name, a = e.options, i = r.elements.arrow, l = r.modifiersData.popperOffsets, s = Ht(r.placement), c =
|
|
19814
|
+
function LE(e) {
|
|
19815
|
+
var t, r = e.state, o = e.name, a = e.options, i = r.elements.arrow, l = r.modifiersData.popperOffsets, s = Ht(r.placement), c = El(s), u = [at, Pt].indexOf(s) >= 0, d = u ? "height" : "width";
|
|
19823
19816
|
if (!(!i || !l)) {
|
|
19824
|
-
var m = $
|
|
19825
|
-
r.modifiersData[o] = (t = {}, t[$] =
|
|
19817
|
+
var m = $E(a.padding, r), f = Pl(i), h = c === "y" ? nt : at, v = c === "y" ? Tt : Pt, g = r.rects.reference[d] + r.rects.reference[c] - l[c] - r.rects.popper[d], b = l[c] - r.rects.reference[c], O = nn(i), C = O ? c === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, P = g / 2 - b / 2, T = m[h], y = C - f[d] - m[v], F = C / 2 - f[d] / 2 + P, E = Eo(T, F, y), $ = c;
|
|
19818
|
+
r.modifiersData[o] = (t = {}, t[$] = E, t.centerOffset = E - F, t);
|
|
19826
19819
|
}
|
|
19827
19820
|
}
|
|
19828
|
-
function
|
|
19821
|
+
function AE(e) {
|
|
19829
19822
|
var t = e.state, r = e.options, o = r.element, a = o === void 0 ? "[data-popper-arrow]" : o;
|
|
19830
19823
|
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || up(t.elements.popper, a) && (t.elements.arrow = a));
|
|
19831
19824
|
}
|
|
19832
|
-
const
|
|
19825
|
+
const IE = {
|
|
19833
19826
|
name: "arrow",
|
|
19834
19827
|
enabled: !0,
|
|
19835
19828
|
phase: "main",
|
|
19836
|
-
fn:
|
|
19837
|
-
effect:
|
|
19829
|
+
fn: LE,
|
|
19830
|
+
effect: AE,
|
|
19838
19831
|
requires: ["popperOffsets"],
|
|
19839
19832
|
requiresIfExists: ["preventOverflow"]
|
|
19840
19833
|
};
|
|
19841
19834
|
function ro(e) {
|
|
19842
19835
|
return e.split("-")[1];
|
|
19843
19836
|
}
|
|
19844
|
-
var
|
|
19837
|
+
var DE = {
|
|
19845
19838
|
top: "auto",
|
|
19846
19839
|
right: "auto",
|
|
19847
19840
|
bottom: "auto",
|
|
19848
19841
|
left: "auto"
|
|
19849
19842
|
};
|
|
19850
|
-
function
|
|
19843
|
+
function NE(e, t) {
|
|
19851
19844
|
var r = e.x, o = e.y, a = t.devicePixelRatio || 1;
|
|
19852
19845
|
return {
|
|
19853
19846
|
x: eo(r * a) / a || 0,
|
|
@@ -19863,19 +19856,19 @@ function gc(e) {
|
|
|
19863
19856
|
y: g
|
|
19864
19857
|
};
|
|
19865
19858
|
h = b.x, g = b.y;
|
|
19866
|
-
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"),
|
|
19859
|
+
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"), P = at, T = nt, y = window;
|
|
19867
19860
|
if (u) {
|
|
19868
|
-
var F = nn(r),
|
|
19869
|
-
if (F === ft(r) && (F = fr(r), or(F).position !== "static" && s === "absolute" && (
|
|
19861
|
+
var F = nn(r), E = "clientHeight", $ = "clientWidth";
|
|
19862
|
+
if (F === ft(r) && (F = fr(r), or(F).position !== "static" && s === "absolute" && (E = "scrollHeight", $ = "scrollWidth")), F = F, a === nt || (a === at || a === Pt) && i === _o) {
|
|
19870
19863
|
T = Tt;
|
|
19871
19864
|
var w = m && F === y && y.visualViewport ? y.visualViewport.height : (
|
|
19872
19865
|
// $FlowFixMe[prop-missing]
|
|
19873
|
-
F[
|
|
19866
|
+
F[E]
|
|
19874
19867
|
);
|
|
19875
19868
|
g -= w - o.height, g *= c ? 1 : -1;
|
|
19876
19869
|
}
|
|
19877
19870
|
if (a === at || (a === nt || a === Tt) && i === _o) {
|
|
19878
|
-
|
|
19871
|
+
P = Pt;
|
|
19879
19872
|
var R = m && F === y && y.visualViewport ? y.visualViewport.width : (
|
|
19880
19873
|
// $FlowFixMe[prop-missing]
|
|
19881
19874
|
F[$]
|
|
@@ -19885,7 +19878,7 @@ function gc(e) {
|
|
|
19885
19878
|
}
|
|
19886
19879
|
var M = Object.assign({
|
|
19887
19880
|
position: s
|
|
19888
|
-
}, u &&
|
|
19881
|
+
}, u && DE), D = d === !0 ? NE({
|
|
19889
19882
|
x: h,
|
|
19890
19883
|
y: g
|
|
19891
19884
|
}, ft(r)) : {
|
|
@@ -19894,11 +19887,11 @@ function gc(e) {
|
|
|
19894
19887
|
};
|
|
19895
19888
|
if (h = D.x, g = D.y, c) {
|
|
19896
19889
|
var L;
|
|
19897
|
-
return Object.assign({}, M, (L = {}, L[T] = C ? "0" : "", L[
|
|
19890
|
+
return Object.assign({}, M, (L = {}, L[T] = C ? "0" : "", L[P] = O ? "0" : "", L.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", L));
|
|
19898
19891
|
}
|
|
19899
|
-
return Object.assign({}, M, (t = {}, t[T] = C ? g + "px" : "", t[
|
|
19892
|
+
return Object.assign({}, M, (t = {}, t[T] = C ? g + "px" : "", t[P] = O ? h + "px" : "", t.transform = "", t));
|
|
19900
19893
|
}
|
|
19901
|
-
function
|
|
19894
|
+
function _E(e) {
|
|
19902
19895
|
var t = e.state, r = e.options, o = r.gpuAcceleration, a = o === void 0 ? !0 : o, i = r.adaptive, l = i === void 0 ? !0 : i, s = r.roundOffsets, c = s === void 0 ? !0 : s, u = {
|
|
19903
19896
|
placement: Ht(t.placement),
|
|
19904
19897
|
variation: ro(t.placement),
|
|
@@ -19921,17 +19914,17 @@ function _P(e) {
|
|
|
19921
19914
|
"data-popper-placement": t.placement
|
|
19922
19915
|
});
|
|
19923
19916
|
}
|
|
19924
|
-
const
|
|
19917
|
+
const jE = {
|
|
19925
19918
|
name: "computeStyles",
|
|
19926
19919
|
enabled: !0,
|
|
19927
19920
|
phase: "beforeWrite",
|
|
19928
|
-
fn:
|
|
19921
|
+
fn: _E,
|
|
19929
19922
|
data: {}
|
|
19930
19923
|
};
|
|
19931
19924
|
var fn = {
|
|
19932
19925
|
passive: !0
|
|
19933
19926
|
};
|
|
19934
|
-
function
|
|
19927
|
+
function VE(e) {
|
|
19935
19928
|
var t = e.state, r = e.instance, o = e.options, a = o.scroll, i = a === void 0 ? !0 : a, l = o.resize, s = l === void 0 ? !0 : l, c = ft(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
19936
19929
|
return i && u.forEach(function(d) {
|
|
19937
19930
|
d.addEventListener("scroll", r.update, fn);
|
|
@@ -19941,33 +19934,33 @@ function VP(e) {
|
|
|
19941
19934
|
}), s && c.removeEventListener("resize", r.update, fn);
|
|
19942
19935
|
};
|
|
19943
19936
|
}
|
|
19944
|
-
const
|
|
19937
|
+
const BE = {
|
|
19945
19938
|
name: "eventListeners",
|
|
19946
19939
|
enabled: !0,
|
|
19947
19940
|
phase: "write",
|
|
19948
19941
|
fn: function() {
|
|
19949
19942
|
},
|
|
19950
|
-
effect:
|
|
19943
|
+
effect: VE,
|
|
19951
19944
|
data: {}
|
|
19952
19945
|
};
|
|
19953
|
-
var
|
|
19946
|
+
var zE = {
|
|
19954
19947
|
left: "right",
|
|
19955
19948
|
right: "left",
|
|
19956
19949
|
bottom: "top",
|
|
19957
19950
|
top: "bottom"
|
|
19958
19951
|
};
|
|
19959
|
-
function
|
|
19952
|
+
function Pn(e) {
|
|
19960
19953
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
19961
|
-
return
|
|
19954
|
+
return zE[t];
|
|
19962
19955
|
});
|
|
19963
19956
|
}
|
|
19964
|
-
var
|
|
19957
|
+
var HE = {
|
|
19965
19958
|
start: "end",
|
|
19966
19959
|
end: "start"
|
|
19967
19960
|
};
|
|
19968
19961
|
function bc(e) {
|
|
19969
19962
|
return e.replace(/start|end/g, function(t) {
|
|
19970
|
-
return
|
|
19963
|
+
return HE[t];
|
|
19971
19964
|
});
|
|
19972
19965
|
}
|
|
19973
19966
|
function Cl(e) {
|
|
@@ -19980,7 +19973,7 @@ function Cl(e) {
|
|
|
19980
19973
|
function Fl(e) {
|
|
19981
19974
|
return to(fr(e)).left + Cl(e).scrollLeft;
|
|
19982
19975
|
}
|
|
19983
|
-
function
|
|
19976
|
+
function WE(e, t) {
|
|
19984
19977
|
var r = ft(e), o = fr(e), a = r.visualViewport, i = o.clientWidth, l = o.clientHeight, s = 0, c = 0;
|
|
19985
19978
|
if (a) {
|
|
19986
19979
|
i = a.width, l = a.height;
|
|
@@ -19994,7 +19987,7 @@ function WP(e, t) {
|
|
|
19994
19987
|
y: c
|
|
19995
19988
|
};
|
|
19996
19989
|
}
|
|
19997
|
-
function
|
|
19990
|
+
function UE(e) {
|
|
19998
19991
|
var t, r = fr(e), o = Cl(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, i = Or(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = Or(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), s = -o.scrollLeft + Fl(e), c = -o.scrollTop;
|
|
19999
19992
|
return or(a || r).direction === "rtl" && (s += Or(r.clientWidth, a ? a.clientWidth : 0) - i), {
|
|
20000
19993
|
width: i,
|
|
@@ -20027,21 +20020,21 @@ function ai(e) {
|
|
|
20027
20020
|
bottom: e.y + e.height
|
|
20028
20021
|
});
|
|
20029
20022
|
}
|
|
20030
|
-
function
|
|
20023
|
+
function GE(e, t) {
|
|
20031
20024
|
var r = to(e, !1, t === "fixed");
|
|
20032
20025
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
20033
20026
|
}
|
|
20034
20027
|
function vc(e, t, r) {
|
|
20035
|
-
return t === lp ? ai(
|
|
20028
|
+
return t === lp ? ai(WE(e, r)) : Er(t) ? GE(t, r) : ai(UE(fr(e)));
|
|
20036
20029
|
}
|
|
20037
|
-
function
|
|
20030
|
+
function qE(e) {
|
|
20038
20031
|
var t = Co(ba(e)), r = ["absolute", "fixed"].indexOf(or(e).position) >= 0, o = r && xt(e) ? nn(e) : e;
|
|
20039
|
-
return
|
|
20040
|
-
return
|
|
20032
|
+
return Er(o) ? t.filter(function(a) {
|
|
20033
|
+
return Er(a) && up(a, o) && qt(a) !== "body";
|
|
20041
20034
|
}) : [];
|
|
20042
20035
|
}
|
|
20043
|
-
function
|
|
20044
|
-
var a = t === "clippingParents" ?
|
|
20036
|
+
function KE(e, t, r, o) {
|
|
20037
|
+
var a = t === "clippingParents" ? qE(e) : [].concat(t), i = [].concat(a, [r]), l = i[0], s = i.reduce(function(c, u) {
|
|
20045
20038
|
var d = vc(e, u, o);
|
|
20046
20039
|
return c.top = Or(d.top, c.top), c.right = _n(d.right, c.right), c.bottom = _n(d.bottom, c.bottom), c.left = Or(d.left, c.left), c;
|
|
20047
20040
|
}, vc(e, l, o));
|
|
@@ -20062,7 +20055,7 @@ function hp(e) {
|
|
|
20062
20055
|
y: t.y + t.height
|
|
20063
20056
|
};
|
|
20064
20057
|
break;
|
|
20065
|
-
case
|
|
20058
|
+
case Pt:
|
|
20066
20059
|
c = {
|
|
20067
20060
|
x: t.x + t.width,
|
|
20068
20061
|
y: s
|
|
@@ -20080,7 +20073,7 @@ function hp(e) {
|
|
|
20080
20073
|
y: t.y
|
|
20081
20074
|
};
|
|
20082
20075
|
}
|
|
20083
|
-
var u = a ?
|
|
20076
|
+
var u = a ? El(a) : null;
|
|
20084
20077
|
if (u != null) {
|
|
20085
20078
|
var d = u === "y" ? "height" : "width";
|
|
20086
20079
|
switch (i) {
|
|
@@ -20096,12 +20089,12 @@ function hp(e) {
|
|
|
20096
20089
|
}
|
|
20097
20090
|
function jo(e, t) {
|
|
20098
20091
|
t === void 0 && (t = {});
|
|
20099
|
-
var r = t, o = r.placement, a = o === void 0 ? e.placement : o, i = r.strategy, l = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ?
|
|
20092
|
+
var r = t, o = r.placement, a = o === void 0 ? e.placement : o, i = r.strategy, l = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? mE : s, u = r.rootBoundary, d = u === void 0 ? lp : u, m = r.elementContext, f = m === void 0 ? vo : m, h = r.altBoundary, v = h === void 0 ? !1 : h, g = r.padding, b = g === void 0 ? 0 : g, O = pp(typeof b != "number" ? b : fp(b, on)), C = f === vo ? hE : vo, P = e.rects.popper, T = e.elements[v ? C : f], y = KE(Er(T) ? T : T.contextElement || fr(e.elements.popper), c, d, l), F = to(e.elements.reference), E = hp({
|
|
20100
20093
|
reference: F,
|
|
20101
|
-
element:
|
|
20094
|
+
element: P,
|
|
20102
20095
|
strategy: "absolute",
|
|
20103
20096
|
placement: a
|
|
20104
|
-
}), $ = ai(Object.assign({},
|
|
20097
|
+
}), $ = ai(Object.assign({}, P, E)), w = f === vo ? $ : F, R = {
|
|
20105
20098
|
top: y.top - w.top + O.top,
|
|
20106
20099
|
bottom: w.bottom - y.bottom + O.bottom,
|
|
20107
20100
|
left: y.left - w.left + O.left,
|
|
@@ -20110,13 +20103,13 @@ function jo(e, t) {
|
|
|
20110
20103
|
if (f === vo && M) {
|
|
20111
20104
|
var D = M[a];
|
|
20112
20105
|
Object.keys(R).forEach(function(L) {
|
|
20113
|
-
var N = [
|
|
20106
|
+
var N = [Pt, Tt].indexOf(L) >= 0 ? 1 : -1, _ = [nt, Tt].indexOf(L) >= 0 ? "y" : "x";
|
|
20114
20107
|
R[L] += D[_] * N;
|
|
20115
20108
|
});
|
|
20116
20109
|
}
|
|
20117
20110
|
return R;
|
|
20118
20111
|
}
|
|
20119
|
-
function
|
|
20112
|
+
function YE(e, t) {
|
|
20120
20113
|
t === void 0 && (t = {});
|
|
20121
20114
|
var r = t, o = r.placement, a = r.boundary, i = r.rootBoundary, l = r.padding, s = r.flipVariations, c = r.allowedAutoPlacements, u = c === void 0 ? sp : c, d = ro(o), m = d ? s ? mc : mc.filter(function(v) {
|
|
20122
20115
|
return ro(v) === d;
|
|
@@ -20136,17 +20129,17 @@ function YP(e, t) {
|
|
|
20136
20129
|
return h[v] - h[g];
|
|
20137
20130
|
});
|
|
20138
20131
|
}
|
|
20139
|
-
function
|
|
20132
|
+
function QE(e) {
|
|
20140
20133
|
if (Ht(e) === Sl)
|
|
20141
20134
|
return [];
|
|
20142
|
-
var t =
|
|
20135
|
+
var t = Pn(e);
|
|
20143
20136
|
return [bc(e), t, bc(t)];
|
|
20144
20137
|
}
|
|
20145
|
-
function
|
|
20138
|
+
function XE(e) {
|
|
20146
20139
|
var t = e.state, r = e.options, o = e.name;
|
|
20147
20140
|
if (!t.modifiersData[o]._skip) {
|
|
20148
|
-
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, l = r.altAxis, s = l === void 0 ? !0 : l, c = r.fallbackPlacements, u = r.padding, d = r.boundary, m = r.rootBoundary, f = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, g = r.allowedAutoPlacements, b = t.options.placement, O = Ht(b), C = O === b,
|
|
20149
|
-
return oe.concat(Ht(ee) === Sl ?
|
|
20141
|
+
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, l = r.altAxis, s = l === void 0 ? !0 : l, c = r.fallbackPlacements, u = r.padding, d = r.boundary, m = r.rootBoundary, f = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, g = r.allowedAutoPlacements, b = t.options.placement, O = Ht(b), C = O === b, P = c || (C || !v ? [Pn(b)] : QE(b)), T = [b].concat(P).reduce(function(oe, ee) {
|
|
20142
|
+
return oe.concat(Ht(ee) === Sl ? YE(t, {
|
|
20150
20143
|
placement: ee,
|
|
20151
20144
|
boundary: d,
|
|
20152
20145
|
rootBoundary: m,
|
|
@@ -20154,28 +20147,28 @@ function XP(e) {
|
|
|
20154
20147
|
flipVariations: v,
|
|
20155
20148
|
allowedAutoPlacements: g
|
|
20156
20149
|
}) : ee);
|
|
20157
|
-
}, []), y = t.rects.reference, F = t.rects.popper,
|
|
20150
|
+
}, []), y = t.rects.reference, F = t.rects.popper, E = /* @__PURE__ */ new Map(), $ = !0, w = T[0], R = 0; R < T.length; R++) {
|
|
20158
20151
|
var M = T[R], D = Ht(M), L = ro(M) === Jr, N = [nt, Tt].indexOf(D) >= 0, _ = N ? "width" : "height", A = jo(t, {
|
|
20159
20152
|
placement: M,
|
|
20160
20153
|
boundary: d,
|
|
20161
20154
|
rootBoundary: m,
|
|
20162
20155
|
altBoundary: f,
|
|
20163
20156
|
padding: u
|
|
20164
|
-
}), j = N ? L ?
|
|
20165
|
-
y[_] > F[_] && (j =
|
|
20166
|
-
var k =
|
|
20157
|
+
}), j = N ? L ? Pt : at : L ? Tt : nt;
|
|
20158
|
+
y[_] > F[_] && (j = Pn(j));
|
|
20159
|
+
var k = Pn(j), z = [];
|
|
20167
20160
|
if (i && z.push(A[D] <= 0), s && z.push(A[j] <= 0, A[k] <= 0), z.every(function(oe) {
|
|
20168
20161
|
return oe;
|
|
20169
20162
|
})) {
|
|
20170
20163
|
w = M, $ = !1;
|
|
20171
20164
|
break;
|
|
20172
20165
|
}
|
|
20173
|
-
|
|
20166
|
+
E.set(M, z);
|
|
20174
20167
|
}
|
|
20175
20168
|
if ($)
|
|
20176
20169
|
for (var J = v ? 3 : 1, Y = function(ee) {
|
|
20177
20170
|
var ne = T.find(function(ce) {
|
|
20178
|
-
var ae =
|
|
20171
|
+
var ae = E.get(ce);
|
|
20179
20172
|
if (ae)
|
|
20180
20173
|
return ae.slice(0, ee).every(function(G) {
|
|
20181
20174
|
return G;
|
|
@@ -20191,11 +20184,11 @@ function XP(e) {
|
|
|
20191
20184
|
t.placement !== w && (t.modifiersData[o]._skip = !0, t.placement = w, t.reset = !0);
|
|
20192
20185
|
}
|
|
20193
20186
|
}
|
|
20194
|
-
const
|
|
20187
|
+
const ZE = {
|
|
20195
20188
|
name: "flip",
|
|
20196
20189
|
enabled: !0,
|
|
20197
20190
|
phase: "main",
|
|
20198
|
-
fn:
|
|
20191
|
+
fn: XE,
|
|
20199
20192
|
requiresIfExists: ["offset"],
|
|
20200
20193
|
data: {
|
|
20201
20194
|
_skip: !1
|
|
@@ -20213,11 +20206,11 @@ function yc(e, t, r) {
|
|
|
20213
20206
|
};
|
|
20214
20207
|
}
|
|
20215
20208
|
function Oc(e) {
|
|
20216
|
-
return [nt,
|
|
20209
|
+
return [nt, Pt, Tt, at].some(function(t) {
|
|
20217
20210
|
return e[t] >= 0;
|
|
20218
20211
|
});
|
|
20219
20212
|
}
|
|
20220
|
-
function
|
|
20213
|
+
function JE(e) {
|
|
20221
20214
|
var t = e.state, r = e.name, o = t.rects.reference, a = t.rects.popper, i = t.modifiersData.preventOverflow, l = jo(t, {
|
|
20222
20215
|
elementContext: "reference"
|
|
20223
20216
|
}), s = jo(t, {
|
|
@@ -20238,13 +20231,13 @@ const eC = {
|
|
|
20238
20231
|
enabled: !0,
|
|
20239
20232
|
phase: "main",
|
|
20240
20233
|
requiresIfExists: ["preventOverflow"],
|
|
20241
|
-
fn:
|
|
20234
|
+
fn: JE
|
|
20242
20235
|
};
|
|
20243
20236
|
function tC(e, t, r) {
|
|
20244
20237
|
var o = Ht(e), a = [at, nt].indexOf(o) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
20245
20238
|
placement: e
|
|
20246
20239
|
})) : r, l = i[0], s = i[1];
|
|
20247
|
-
return l = l || 0, s = (s || 0) * a, [at,
|
|
20240
|
+
return l = l || 0, s = (s || 0) * a, [at, Pt].indexOf(o) >= 0 ? {
|
|
20248
20241
|
x: s,
|
|
20249
20242
|
y: l
|
|
20250
20243
|
} : {
|
|
@@ -20290,7 +20283,7 @@ function lC(e) {
|
|
|
20290
20283
|
rootBoundary: u,
|
|
20291
20284
|
padding: m,
|
|
20292
20285
|
altBoundary: d
|
|
20293
|
-
}), O = Ht(t.placement), C = ro(t.placement),
|
|
20286
|
+
}), O = Ht(t.placement), C = ro(t.placement), P = !C, T = El(O), y = iC(T), F = t.modifiersData.popperOffsets, E = t.rects.reference, $ = t.rects.popper, w = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
20294
20287
|
placement: t.placement
|
|
20295
20288
|
})) : g, R = typeof w == "number" ? {
|
|
20296
20289
|
mainAxis: w,
|
|
@@ -20304,14 +20297,14 @@ function lC(e) {
|
|
|
20304
20297
|
};
|
|
20305
20298
|
if (F) {
|
|
20306
20299
|
if (i) {
|
|
20307
|
-
var L, N = T === "y" ? nt : at, _ = T === "y" ? Tt :
|
|
20300
|
+
var L, N = T === "y" ? nt : at, _ = T === "y" ? Tt : Pt, A = T === "y" ? "height" : "width", j = F[T], k = j + b[N], z = j - b[_], J = h ? -$[A] / 2 : 0, Y = C === Jr ? E[A] : $[A], re = C === Jr ? -$[A] : -E[A], Te = t.elements.arrow, oe = h && Te ? Pl(Te) : {
|
|
20308
20301
|
width: 0,
|
|
20309
20302
|
height: 0
|
|
20310
|
-
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dp(), ne = ee[N], ce = ee[_], ae =
|
|
20303
|
+
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dp(), ne = ee[N], ce = ee[_], ae = Eo(0, E[A], oe[A]), G = P ? E[A] / 2 - J - ae - ne - R.mainAxis : Y - ae - ne - R.mainAxis, Pe = P ? -E[A] / 2 + J + ae + ce + R.mainAxis : re + ae + ce + R.mainAxis, Ee = t.elements.arrow && nn(t.elements.arrow), B = Ee ? T === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Z = (L = M == null ? void 0 : M[T]) != null ? L : 0, I = j + G - Z - B, te = j + Pe - Z, Re = Eo(h ? _n(k, I) : k, j, h ? Or(z, te) : z);
|
|
20311
20304
|
F[T] = Re, D[T] = Re - j;
|
|
20312
20305
|
}
|
|
20313
20306
|
if (s) {
|
|
20314
|
-
var Ce, pe = T === "x" ? nt : at, tt = T === "x" ? Tt :
|
|
20307
|
+
var Ce, pe = T === "x" ? nt : at, tt = T === "x" ? Tt : Pt, le = F[y], Be = y === "y" ? "height" : "width", ze = le + b[pe], rt = le - b[tt], Me = [nt, at].indexOf(O) !== -1, ot = (Ce = M == null ? void 0 : M[y]) != null ? Ce : 0, Ft = Me ? ze : le - E[Be] - $[Be] - ot + R.altAxis, At = Me ? le + E[Be] + $[Be] - ot - R.altAxis : rt, Jt = h && Me ? kE(Ft, le, At) : Eo(h ? Ft : ze, le, h ? At : rt);
|
|
20315
20308
|
F[y] = Jt, D[y] = Jt - le;
|
|
20316
20309
|
}
|
|
20317
20310
|
t.modifiersData[o] = D;
|
|
@@ -20375,7 +20368,7 @@ function fC(e) {
|
|
|
20375
20368
|
}
|
|
20376
20369
|
function mC(e) {
|
|
20377
20370
|
var t = fC(e);
|
|
20378
|
-
return
|
|
20371
|
+
return EE.reduce(function(r, o) {
|
|
20379
20372
|
return r.concat(t.filter(function(a) {
|
|
20380
20373
|
return a.phase === o;
|
|
20381
20374
|
}));
|
|
@@ -20436,11 +20429,11 @@ function bC(e) {
|
|
|
20436
20429
|
setOptions: function(O) {
|
|
20437
20430
|
var C = typeof O == "function" ? O(d.options) : O;
|
|
20438
20431
|
g(), d.options = Object.assign({}, i, d.options, C), d.scrollParents = {
|
|
20439
|
-
reference:
|
|
20432
|
+
reference: Er(s) ? Co(s) : s.contextElement ? Co(s.contextElement) : [],
|
|
20440
20433
|
popper: Co(c)
|
|
20441
20434
|
};
|
|
20442
|
-
var
|
|
20443
|
-
return d.orderedModifiers =
|
|
20435
|
+
var P = mC(gC([].concat(o, d.options.modifiers)));
|
|
20436
|
+
return d.orderedModifiers = P.filter(function(T) {
|
|
20444
20437
|
return T.enabled;
|
|
20445
20438
|
}), v(), h.update();
|
|
20446
20439
|
},
|
|
@@ -20451,11 +20444,11 @@ function bC(e) {
|
|
|
20451
20444
|
// prefer the async Popper#update method
|
|
20452
20445
|
forceUpdate: function() {
|
|
20453
20446
|
if (!f) {
|
|
20454
|
-
var O = d.elements, C = O.reference,
|
|
20455
|
-
if (Sc(C,
|
|
20447
|
+
var O = d.elements, C = O.reference, P = O.popper;
|
|
20448
|
+
if (Sc(C, P)) {
|
|
20456
20449
|
d.rects = {
|
|
20457
|
-
reference: pC(C, nn(
|
|
20458
|
-
popper:
|
|
20450
|
+
reference: pC(C, nn(P), d.options.strategy === "fixed"),
|
|
20451
|
+
popper: Pl(P)
|
|
20459
20452
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(R) {
|
|
20460
20453
|
return d.modifiersData[R.name] = Object.assign({}, R.data);
|
|
20461
20454
|
});
|
|
@@ -20464,7 +20457,7 @@ function bC(e) {
|
|
|
20464
20457
|
d.reset = !1, T = -1;
|
|
20465
20458
|
continue;
|
|
20466
20459
|
}
|
|
20467
|
-
var y = d.orderedModifiers[T], F = y.fn,
|
|
20460
|
+
var y = d.orderedModifiers[T], F = y.fn, E = y.options, $ = E === void 0 ? {} : E, w = y.name;
|
|
20468
20461
|
typeof F == "function" && (d = F({
|
|
20469
20462
|
state: d,
|
|
20470
20463
|
options: $,
|
|
@@ -20493,13 +20486,13 @@ function bC(e) {
|
|
|
20493
20486
|
});
|
|
20494
20487
|
function v() {
|
|
20495
20488
|
d.orderedModifiers.forEach(function(b) {
|
|
20496
|
-
var O = b.name, C = b.options,
|
|
20489
|
+
var O = b.name, C = b.options, P = C === void 0 ? {} : C, T = b.effect;
|
|
20497
20490
|
if (typeof T == "function") {
|
|
20498
20491
|
var y = T({
|
|
20499
20492
|
state: d,
|
|
20500
20493
|
name: O,
|
|
20501
20494
|
instance: h,
|
|
20502
|
-
options:
|
|
20495
|
+
options: P
|
|
20503
20496
|
}), F = function() {
|
|
20504
20497
|
};
|
|
20505
20498
|
m.push(y || F);
|
|
@@ -20514,7 +20507,7 @@ function bC(e) {
|
|
|
20514
20507
|
return h;
|
|
20515
20508
|
};
|
|
20516
20509
|
}
|
|
20517
|
-
var vC = [
|
|
20510
|
+
var vC = [BE, aC, jE, wE, oC, ZE, sC, IE, eC], yC = /* @__PURE__ */ bC({
|
|
20518
20511
|
defaultModifiers: vC
|
|
20519
20512
|
});
|
|
20520
20513
|
const gp = "base";
|
|
@@ -20539,7 +20532,7 @@ function TC(e) {
|
|
|
20539
20532
|
return bp(vp, e);
|
|
20540
20533
|
}
|
|
20541
20534
|
SC(vp, ["root"]);
|
|
20542
|
-
const
|
|
20535
|
+
const PC = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], EC = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
20543
20536
|
function CC(e, t) {
|
|
20544
20537
|
if (t === "ltr")
|
|
20545
20538
|
return e;
|
|
@@ -20584,13 +20577,13 @@ const wC = () => ve({
|
|
|
20584
20577
|
TransitionProps: g
|
|
20585
20578
|
// @ts-ignore internal logic
|
|
20586
20579
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
20587
|
-
} = t, b = W(t,
|
|
20580
|
+
} = t, b = W(t, PC), O = x.useRef(null), C = Ge(O, r), P = x.useRef(null), T = Ge(P, f), y = x.useRef(T);
|
|
20588
20581
|
rr(() => {
|
|
20589
20582
|
y.current = T;
|
|
20590
|
-
}, [T]), x.useImperativeHandle(f, () =>
|
|
20591
|
-
const F = CC(d, l), [
|
|
20583
|
+
}, [T]), x.useImperativeHandle(f, () => P.current, []);
|
|
20584
|
+
const F = CC(d, l), [E, $] = x.useState(F), [w, R] = x.useState(jn(a));
|
|
20592
20585
|
x.useEffect(() => {
|
|
20593
|
-
|
|
20586
|
+
P.current && P.current.forceUpdate();
|
|
20594
20587
|
}), x.useEffect(() => {
|
|
20595
20588
|
a && R(jn(a));
|
|
20596
20589
|
}, [a]), rr(() => {
|
|
@@ -20635,7 +20628,7 @@ const wC = () => ve({
|
|
|
20635
20628
|
};
|
|
20636
20629
|
}, [w, s, c, u, m, F]);
|
|
20637
20630
|
const M = {
|
|
20638
|
-
placement:
|
|
20631
|
+
placement: E
|
|
20639
20632
|
};
|
|
20640
20633
|
g !== null && (M.TransitionProps = g);
|
|
20641
20634
|
const D = wC(), L = (o = v.root) != null ? o : "div", N = kt({
|
|
@@ -20669,35 +20662,35 @@ const wC = () => ve({
|
|
|
20669
20662
|
transition: g = !1,
|
|
20670
20663
|
slotProps: b = {},
|
|
20671
20664
|
slots: O = {}
|
|
20672
|
-
} = t, C = W(t,
|
|
20665
|
+
} = t, C = W(t, EC), [P, T] = x.useState(!0), y = () => {
|
|
20673
20666
|
T(!1);
|
|
20674
20667
|
}, F = () => {
|
|
20675
20668
|
T(!0);
|
|
20676
20669
|
};
|
|
20677
|
-
if (!c && !d && (!g ||
|
|
20670
|
+
if (!c && !d && (!g || P))
|
|
20678
20671
|
return null;
|
|
20679
|
-
let
|
|
20672
|
+
let E;
|
|
20680
20673
|
if (i)
|
|
20681
|
-
|
|
20674
|
+
E = i;
|
|
20682
20675
|
else if (o) {
|
|
20683
20676
|
const R = jn(o);
|
|
20684
|
-
|
|
20677
|
+
E = R && va(R) ? Ze(R).body : Ze(null).body;
|
|
20685
20678
|
}
|
|
20686
|
-
const $ = !d && c && (!g ||
|
|
20679
|
+
const $ = !d && c && (!g || P) ? "none" : void 0, w = g ? {
|
|
20687
20680
|
in: d,
|
|
20688
20681
|
onEnter: y,
|
|
20689
20682
|
onExited: F
|
|
20690
20683
|
} : void 0;
|
|
20691
20684
|
return /* @__PURE__ */ p(Ao, {
|
|
20692
20685
|
disablePortal: s,
|
|
20693
|
-
container:
|
|
20686
|
+
container: E,
|
|
20694
20687
|
children: /* @__PURE__ */ p(MC, S({
|
|
20695
20688
|
anchorEl: o,
|
|
20696
20689
|
direction: l,
|
|
20697
20690
|
disablePortal: s,
|
|
20698
20691
|
modifiers: u,
|
|
20699
20692
|
ref: r,
|
|
20700
|
-
open: g ? !
|
|
20693
|
+
open: g ? !P : d,
|
|
20701
20694
|
placement: m,
|
|
20702
20695
|
popperOptions: f,
|
|
20703
20696
|
popperRef: h,
|
|
@@ -20898,9 +20891,9 @@ const DC = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
20898
20891
|
popperOptions: b,
|
|
20899
20892
|
popperRef: O,
|
|
20900
20893
|
transition: C,
|
|
20901
|
-
slots:
|
|
20894
|
+
slots: P,
|
|
20902
20895
|
slotProps: T
|
|
20903
|
-
} = i, y = W(i, DC), F = (o =
|
|
20896
|
+
} = i, y = W(i, DC), F = (o = P == null ? void 0 : P.root) != null ? o : c == null ? void 0 : c.Root, E = S({
|
|
20904
20897
|
anchorEl: l,
|
|
20905
20898
|
container: d,
|
|
20906
20899
|
disablePortal: m,
|
|
@@ -20919,7 +20912,7 @@ const DC = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
20919
20912
|
root: F
|
|
20920
20913
|
},
|
|
20921
20914
|
slotProps: T ?? u
|
|
20922
|
-
},
|
|
20915
|
+
}, E, {
|
|
20923
20916
|
ref: r
|
|
20924
20917
|
}));
|
|
20925
20918
|
});
|
|
@@ -21232,12 +21225,12 @@ function hn(e, t) {
|
|
|
21232
21225
|
};
|
|
21233
21226
|
}
|
|
21234
21227
|
const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
21235
|
-
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C,
|
|
21228
|
+
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C, P, T, y;
|
|
21236
21229
|
const F = he({
|
|
21237
21230
|
props: t,
|
|
21238
21231
|
name: "MuiTooltip"
|
|
21239
21232
|
}), {
|
|
21240
|
-
arrow:
|
|
21233
|
+
arrow: E = !1,
|
|
21241
21234
|
children: $,
|
|
21242
21235
|
components: w = {},
|
|
21243
21236
|
componentsProps: R = {},
|
|
@@ -21260,8 +21253,8 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21260
21253
|
PopperComponent: ce,
|
|
21261
21254
|
PopperProps: ae = {},
|
|
21262
21255
|
slotProps: G = {},
|
|
21263
|
-
slots:
|
|
21264
|
-
title:
|
|
21256
|
+
slots: Pe = {},
|
|
21257
|
+
title: Ee,
|
|
21265
21258
|
TransitionComponent: B = No,
|
|
21266
21259
|
TransitionProps: Z
|
|
21267
21260
|
} = F, I = W(F, jC), te = /* @__PURE__ */ x.isValidElement($) ? $ : /* @__PURE__ */ p("span", {
|
|
@@ -21278,11 +21271,11 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21278
21271
|
current: ie
|
|
21279
21272
|
} = x.useRef(ee !== void 0);
|
|
21280
21273
|
x.useEffect(() => {
|
|
21281
|
-
pe && pe.disabled && !ie &&
|
|
21274
|
+
pe && pe.disabled && !ie && Ee !== "" && pe.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
21282
21275
|
`));
|
|
21283
|
-
}, [
|
|
21276
|
+
}, [Ee, pe, ie]);
|
|
21284
21277
|
}
|
|
21285
|
-
const It =
|
|
21278
|
+
const It = Pi(J), Dt = x.useRef(), mr = yt(() => {
|
|
21286
21279
|
Dt.current !== void 0 && (document.body.style.WebkitUserSelect = Dt.current, Dt.current = void 0), At.clear();
|
|
21287
21280
|
});
|
|
21288
21281
|
x.useEffect(() => mr, [mr]);
|
|
@@ -21340,15 +21333,15 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21340
21333
|
};
|
|
21341
21334
|
}, [H, et]);
|
|
21342
21335
|
const qp = Ge(te.ref, mt, tt, r);
|
|
21343
|
-
!
|
|
21336
|
+
!Ee && Ee !== 0 && (et = !1);
|
|
21344
21337
|
const Oa = x.useRef(), Kp = (ie) => {
|
|
21345
21338
|
const st = te.props;
|
|
21346
21339
|
st.onMouseMove && st.onMouseMove(ie), yo = {
|
|
21347
21340
|
x: ie.clientX,
|
|
21348
21341
|
y: ie.clientY
|
|
21349
21342
|
}, Oa.current && Oa.current.update();
|
|
21350
|
-
}, fo = {}, xa = typeof
|
|
21351
|
-
M ? (fo.title = !et && xa && !L ?
|
|
21343
|
+
}, fo = {}, xa = typeof Ee == "string";
|
|
21344
|
+
M ? (fo.title = !et && xa && !L ? Ee : null, fo["aria-describedby"] = et ? It : null) : (fo["aria-label"] = xa ? Ee : null, fo["aria-labelledby"] = et && !xa ? It : null);
|
|
21352
21345
|
const ht = S({}, fo, I, te.props, {
|
|
21353
21346
|
className: q(I.className, te.props.className),
|
|
21354
21347
|
onTouchStart: Yl,
|
|
@@ -21378,16 +21371,16 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21378
21371
|
});
|
|
21379
21372
|
}, [le, ae]), ho = S({}, F, {
|
|
21380
21373
|
isRtl: Ce,
|
|
21381
|
-
arrow:
|
|
21374
|
+
arrow: E,
|
|
21382
21375
|
disableInteractive: rt,
|
|
21383
21376
|
placement: ne,
|
|
21384
21377
|
PopperComponentProp: ce,
|
|
21385
21378
|
touch: ze.current
|
|
21386
|
-
}), Sa = BC(ho), Ql = (o = (a =
|
|
21379
|
+
}), Sa = BC(ho), Ql = (o = (a = Pe.popper) != null ? a : w.Popper) != null ? o : zC, Xl = (i = (l = (s = Pe.transition) != null ? s : w.Transition) != null ? l : B) != null ? i : No, Zl = (c = (u = Pe.tooltip) != null ? u : w.Tooltip) != null ? c : HC, Jl = (d = (m = Pe.arrow) != null ? m : w.Arrow) != null ? d : WC, Qp = Vr(Ql, S({}, ae, (f = G.popper) != null ? f : R.popper, {
|
|
21387
21380
|
className: q(Sa.popper, ae == null ? void 0 : ae.className, (h = (v = G.popper) != null ? v : R.popper) == null ? void 0 : h.className)
|
|
21388
21381
|
}), ho), Xp = Vr(Xl, S({}, Z, (g = G.transition) != null ? g : R.transition), ho), Zp = Vr(Zl, S({}, (b = G.tooltip) != null ? b : R.tooltip, {
|
|
21389
21382
|
className: q(Sa.tooltip, (O = (C = G.tooltip) != null ? C : R.tooltip) == null ? void 0 : O.className)
|
|
21390
|
-
}), ho), Jp = Vr(Jl, S({}, (
|
|
21383
|
+
}), ho), Jp = Vr(Jl, S({}, (P = G.arrow) != null ? P : R.arrow, {
|
|
21391
21384
|
className: q(Sa.arrow, (T = (y = G.arrow) != null ? y : R.arrow) == null ? void 0 : T.className)
|
|
21392
21385
|
}), ho);
|
|
21393
21386
|
return /* @__PURE__ */ V(x.Fragment, {
|
|
@@ -21416,7 +21409,7 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21416
21409
|
timeout: Re.transitions.duration.shorter
|
|
21417
21410
|
}, ie, Xp, {
|
|
21418
21411
|
children: /* @__PURE__ */ V(Zl, S({}, Zp, {
|
|
21419
|
-
children: [
|
|
21412
|
+
children: [Ee, E ? /* @__PURE__ */ p(Jl, S({}, Jp, {
|
|
21420
21413
|
ref: Be
|
|
21421
21414
|
})) : null]
|
|
21422
21415
|
}))
|
|
@@ -21850,7 +21843,7 @@ const r1 = (e) => {
|
|
|
21850
21843
|
}
|
|
21851
21844
|
) })
|
|
21852
21845
|
] });
|
|
21853
|
-
},
|
|
21846
|
+
}, Pp = (e) => {
|
|
21854
21847
|
const { items: t, translate: r, ...o } = e, { state: a, handleToggle: i, dense: l } = o;
|
|
21855
21848
|
return t && /* @__PURE__ */ p("div", { children: t.map((s) => {
|
|
21856
21849
|
const { name: c, menu: u, label: d, icon: m = "settings" } = s;
|
|
@@ -21862,7 +21855,7 @@ const r1 = (e) => {
|
|
|
21862
21855
|
isOpen: a[c],
|
|
21863
21856
|
icon: /* @__PURE__ */ p(Io, {}),
|
|
21864
21857
|
dense: l,
|
|
21865
|
-
children:
|
|
21858
|
+
children: Pp({ items: u, translate: r, ...o })
|
|
21866
21859
|
},
|
|
21867
21860
|
c
|
|
21868
21861
|
) : /* @__PURE__ */ p(
|
|
@@ -21879,7 +21872,7 @@ const r1 = (e) => {
|
|
|
21879
21872
|
);
|
|
21880
21873
|
}) });
|
|
21881
21874
|
}, o1 = ({ dense: e = !1 }) => {
|
|
21882
|
-
const t = Je(), [r, o] = Ue({ mnuPrueba: !1 }), a = Hn((f) => f.breakpoints.down("sm")), [i] = Qc(), l = JSON.parse(localStorage.getItem("menus")), m =
|
|
21875
|
+
const t = Je(), [r, o] = Ue({ mnuPrueba: !1 }), a = Hn((f) => f.breakpoints.down("sm")), [i] = Qc(), l = JSON.parse(localStorage.getItem("menus")), m = Pp({
|
|
21883
21876
|
items: l,
|
|
21884
21877
|
handleToggle: (f) => {
|
|
21885
21878
|
o((h) => ({ ...h, [f]: !h[f] }));
|
|
@@ -21942,7 +21935,7 @@ const r1 = (e) => {
|
|
|
21942
21935
|
exporter: m,
|
|
21943
21936
|
showFilter: f,
|
|
21944
21937
|
total: h
|
|
21945
|
-
} = Gr(e), v = qe(e), { hasCreate: g } = Gc(e), b = we(jf) || r, O = Gr(e),
|
|
21938
|
+
} = Gr(e), v = qe(e), { hasCreate: g } = Gc(e), b = we(jf) || r, O = Gr(e), P = { ...ha(e), ...O };
|
|
21946
21939
|
return delete s.hasCreate, Kt(
|
|
21947
21940
|
() => /* @__PURE__ */ V(Kc, { className: t, ...Vf(s), children: [
|
|
21948
21941
|
i ? null : r ? tr(r, {
|
|
@@ -21966,12 +21959,12 @@ const r1 = (e) => {
|
|
|
21966
21959
|
a,
|
|
21967
21960
|
(T, y) => tr(T, {
|
|
21968
21961
|
onClick: T.props.options ? null : (F) => {
|
|
21969
|
-
T.props.onClick && T.props.onClick(F), l(
|
|
21962
|
+
T.props.onClick && T.props.onClick(F), l(P, T.key);
|
|
21970
21963
|
},
|
|
21971
21964
|
options: T.props.options ? T.props.options.map((F) => ({
|
|
21972
21965
|
...F,
|
|
21973
|
-
onClick: (
|
|
21974
|
-
T.props.onClick && T.props.onClick(
|
|
21966
|
+
onClick: (E) => {
|
|
21967
|
+
T.props.onClick && T.props.onClick(E), l(P, F.key);
|
|
21975
21968
|
}
|
|
21976
21969
|
})) : null
|
|
21977
21970
|
})
|
|
@@ -21990,7 +21983,7 @@ const r1 = (e) => {
|
|
|
21990
21983
|
i,
|
|
21991
21984
|
m,
|
|
21992
21985
|
g,
|
|
21993
|
-
|
|
21986
|
+
P.data
|
|
21994
21987
|
]
|
|
21995
21988
|
);
|
|
21996
21989
|
};
|
|
@@ -22033,13 +22026,13 @@ function p1(e, t) {
|
|
|
22033
22026
|
component: g
|
|
22034
22027
|
},
|
|
22035
22028
|
internalRef: b
|
|
22036
|
-
} = v, O = W(v.props, d1), C = Ge(b, h == null ? void 0 : h.ref, t.ref),
|
|
22029
|
+
} = v, O = W(v.props, d1), C = Ge(b, h == null ? void 0 : h.ref, t.ref), P = l ? l(O) : {}, T = S({}, a, P), y = g, F = Vr(f, S({}, e === "root", !d[e] && s, O, y && {
|
|
22037
22030
|
as: y
|
|
22038
22031
|
}, {
|
|
22039
22032
|
ref: C
|
|
22040
22033
|
}), T);
|
|
22041
|
-
return Object.keys(
|
|
22042
|
-
delete F[
|
|
22034
|
+
return Object.keys(P).forEach((E) => {
|
|
22035
|
+
delete F[E];
|
|
22043
22036
|
}), [f, F];
|
|
22044
22037
|
}
|
|
22045
22038
|
const f1 = ["alt", "children", "className", "component", "slots", "slotProps", "imgProps", "sizes", "src", "srcSet", "variant"], m1 = i1(), h1 = (e) => {
|
|
@@ -22171,11 +22164,11 @@ const Al = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22171
22164
|
const O = y1(S({}, d, {
|
|
22172
22165
|
src: f,
|
|
22173
22166
|
srcSet: h
|
|
22174
|
-
})), C = f || h,
|
|
22175
|
-
colorDefault: !
|
|
22167
|
+
})), C = f || h, P = C && O !== "error", T = S({}, o, {
|
|
22168
|
+
colorDefault: !P,
|
|
22176
22169
|
component: s,
|
|
22177
22170
|
variant: v
|
|
22178
|
-
}), y = h1(T), [F,
|
|
22171
|
+
}), y = h1(T), [F, E] = p1("img", {
|
|
22179
22172
|
className: y.img,
|
|
22180
22173
|
elementType: b1,
|
|
22181
22174
|
externalForwardedProps: {
|
|
@@ -22192,7 +22185,7 @@ const Al = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22192
22185
|
},
|
|
22193
22186
|
ownerState: T
|
|
22194
22187
|
});
|
|
22195
|
-
return
|
|
22188
|
+
return P ? b = /* @__PURE__ */ p(F, S({}, E)) : i || i === 0 ? b = i : C && a ? b = a[0] : b = /* @__PURE__ */ p(v1, {
|
|
22196
22189
|
ownerState: T,
|
|
22197
22190
|
className: y.fallback
|
|
22198
22191
|
}), /* @__PURE__ */ p(g1, S({
|
|
@@ -22278,8 +22271,8 @@ process.env.NODE_ENV !== "production" && (Al.propTypes = {
|
|
|
22278
22271
|
function O1(e) {
|
|
22279
22272
|
return me("MuiButton", e);
|
|
22280
22273
|
}
|
|
22281
|
-
const gn = fe("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]),
|
|
22282
|
-
process.env.NODE_ENV !== "production" && (
|
|
22274
|
+
const gn = fe("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), Ep = /* @__PURE__ */ x.createContext({});
|
|
22275
|
+
process.env.NODE_ENV !== "production" && (Ep.displayName = "ButtonGroupContext");
|
|
22283
22276
|
const Cp = /* @__PURE__ */ x.createContext(void 0);
|
|
22284
22277
|
process.env.NODE_ENV !== "production" && (Cp.displayName = "ButtonGroupButtonContext");
|
|
22285
22278
|
const x1 = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"], S1 = (e) => {
|
|
@@ -22442,7 +22435,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22442
22435
|
[`&.${gn.disabled}`]: {
|
|
22443
22436
|
boxShadow: "none"
|
|
22444
22437
|
}
|
|
22445
|
-
}),
|
|
22438
|
+
}), P1 = U("span", {
|
|
22446
22439
|
name: "MuiButton",
|
|
22447
22440
|
slot: "StartIcon",
|
|
22448
22441
|
overridesResolver: (e, t) => {
|
|
@@ -22459,7 +22452,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22459
22452
|
marginLeft: -4
|
|
22460
22453
|
}, e.size === "small" && {
|
|
22461
22454
|
marginLeft: -2
|
|
22462
|
-
}, Fp(e))),
|
|
22455
|
+
}, Fp(e))), E1 = U("span", {
|
|
22463
22456
|
name: "MuiButton",
|
|
22464
22457
|
slot: "EndIcon",
|
|
22465
22458
|
overridesResolver: (e, t) => {
|
|
@@ -22477,7 +22470,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22477
22470
|
}, e.size === "small" && {
|
|
22478
22471
|
marginRight: -2
|
|
22479
22472
|
}, Fp(e))), oo = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
22480
|
-
const o = x.useContext(
|
|
22473
|
+
const o = x.useContext(Ep), a = x.useContext(Cp), i = Ei(o, t), l = he({
|
|
22481
22474
|
props: i,
|
|
22482
22475
|
name: "MuiButton"
|
|
22483
22476
|
}), {
|
|
@@ -22493,7 +22486,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22493
22486
|
fullWidth: b = !1,
|
|
22494
22487
|
size: O = "medium",
|
|
22495
22488
|
startIcon: C,
|
|
22496
|
-
type:
|
|
22489
|
+
type: P,
|
|
22497
22490
|
variant: T = "text"
|
|
22498
22491
|
} = l, y = W(l, x1), F = S({}, l, {
|
|
22499
22492
|
color: c,
|
|
@@ -22503,28 +22496,28 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22503
22496
|
disableFocusRipple: h,
|
|
22504
22497
|
fullWidth: b,
|
|
22505
22498
|
size: O,
|
|
22506
|
-
type:
|
|
22499
|
+
type: P,
|
|
22507
22500
|
variant: T
|
|
22508
|
-
}),
|
|
22509
|
-
className:
|
|
22501
|
+
}), E = S1(F), $ = C && /* @__PURE__ */ p(P1, {
|
|
22502
|
+
className: E.startIcon,
|
|
22510
22503
|
ownerState: F,
|
|
22511
22504
|
children: C
|
|
22512
|
-
}), w = v && /* @__PURE__ */ p(
|
|
22513
|
-
className:
|
|
22505
|
+
}), w = v && /* @__PURE__ */ p(E1, {
|
|
22506
|
+
className: E.endIcon,
|
|
22514
22507
|
ownerState: F,
|
|
22515
22508
|
children: v
|
|
22516
22509
|
}), R = a || "";
|
|
22517
22510
|
return /* @__PURE__ */ V(T1, S({
|
|
22518
22511
|
ownerState: F,
|
|
22519
|
-
className: q(o.className,
|
|
22512
|
+
className: q(o.className, E.root, d, R),
|
|
22520
22513
|
component: u,
|
|
22521
22514
|
disabled: m,
|
|
22522
22515
|
focusRipple: !h,
|
|
22523
|
-
focusVisibleClassName: q(
|
|
22516
|
+
focusVisibleClassName: q(E.focusVisible, g),
|
|
22524
22517
|
ref: r,
|
|
22525
|
-
type:
|
|
22518
|
+
type: P
|
|
22526
22519
|
}, y, {
|
|
22527
|
-
classes:
|
|
22520
|
+
classes: E,
|
|
22528
22521
|
children: [$, s, w]
|
|
22529
22522
|
}));
|
|
22530
22523
|
});
|
|
@@ -22762,8 +22755,8 @@ function A1(e) {
|
|
|
22762
22755
|
}
|
|
22763
22756
|
fe("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
22764
22757
|
const I1 = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
22765
|
-
let ya = (e) => e,
|
|
22766
|
-
const ir = 44, D1 = lo(
|
|
22758
|
+
let ya = (e) => e, Pc, Ec, Cc, Fc;
|
|
22759
|
+
const ir = 44, D1 = lo(Pc || (Pc = ya`
|
|
22767
22760
|
0% {
|
|
22768
22761
|
transform: rotate(0deg);
|
|
22769
22762
|
}
|
|
@@ -22771,7 +22764,7 @@ const ir = 44, D1 = lo(Ec || (Ec = ya`
|
|
|
22771
22764
|
100% {
|
|
22772
22765
|
transform: rotate(360deg);
|
|
22773
22766
|
}
|
|
22774
|
-
`)), N1 = lo(
|
|
22767
|
+
`)), N1 = lo(Ec || (Ec = ya`
|
|
22775
22768
|
0% {
|
|
22776
22769
|
stroke-dasharray: 1px, 200px;
|
|
22777
22770
|
stroke-dashoffset: 0;
|
|
@@ -23238,50 +23231,50 @@ const Lp = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
23238
23231
|
rr(() => {
|
|
23239
23232
|
a && h.current.focus();
|
|
23240
23233
|
}, [a]), x.useImperativeHandle(o, () => ({
|
|
23241
|
-
adjustStyleForScrollbar: (
|
|
23234
|
+
adjustStyleForScrollbar: (P, {
|
|
23242
23235
|
direction: T
|
|
23243
23236
|
}) => {
|
|
23244
23237
|
const y = !h.current.style.width;
|
|
23245
|
-
if (
|
|
23246
|
-
const F = `${gu(Ze(
|
|
23238
|
+
if (P.clientHeight < h.current.clientHeight && y) {
|
|
23239
|
+
const F = `${gu(Ze(P))}px`;
|
|
23247
23240
|
h.current.style[T === "rtl" ? "paddingLeft" : "paddingRight"] = F, h.current.style.width = `calc(100% + ${F})`;
|
|
23248
23241
|
}
|
|
23249
23242
|
return h.current;
|
|
23250
23243
|
}
|
|
23251
23244
|
}), []);
|
|
23252
|
-
const g = (
|
|
23253
|
-
const T = h.current, y =
|
|
23245
|
+
const g = (P) => {
|
|
23246
|
+
const T = h.current, y = P.key, F = Ze(T).activeElement;
|
|
23254
23247
|
if (y === "ArrowDown")
|
|
23255
|
-
|
|
23248
|
+
P.preventDefault(), Oo(T, F, u, c, ja);
|
|
23256
23249
|
else if (y === "ArrowUp")
|
|
23257
|
-
|
|
23250
|
+
P.preventDefault(), Oo(T, F, u, c, wc);
|
|
23258
23251
|
else if (y === "Home")
|
|
23259
|
-
|
|
23252
|
+
P.preventDefault(), Oo(T, null, u, c, ja);
|
|
23260
23253
|
else if (y === "End")
|
|
23261
|
-
|
|
23254
|
+
P.preventDefault(), Oo(T, null, u, c, wc);
|
|
23262
23255
|
else if (y.length === 1) {
|
|
23263
|
-
const
|
|
23264
|
-
|
|
23265
|
-
const R = F && !
|
|
23266
|
-
|
|
23256
|
+
const E = v.current, $ = y.toLowerCase(), w = performance.now();
|
|
23257
|
+
E.keys.length > 0 && (w - E.lastTime > 500 ? (E.keys = [], E.repeating = !0, E.previousKeyMatched = !0) : E.repeating && $ !== E.keys[0] && (E.repeating = !1)), E.lastTime = w, E.keys.push($);
|
|
23258
|
+
const R = F && !E.repeating && $p(F, E);
|
|
23259
|
+
E.previousKeyMatched && (R || Oo(T, F, !1, c, ja, E)) ? P.preventDefault() : E.previousKeyMatched = !1;
|
|
23267
23260
|
}
|
|
23268
|
-
d && d(
|
|
23261
|
+
d && d(P);
|
|
23269
23262
|
}, b = Ge(h, r);
|
|
23270
23263
|
let O = -1;
|
|
23271
|
-
x.Children.forEach(l, (
|
|
23272
|
-
if (!/* @__PURE__ */ x.isValidElement(
|
|
23264
|
+
x.Children.forEach(l, (P, T) => {
|
|
23265
|
+
if (!/* @__PURE__ */ x.isValidElement(P)) {
|
|
23273
23266
|
O === T && (O += 1, O >= l.length && (O = -1));
|
|
23274
23267
|
return;
|
|
23275
23268
|
}
|
|
23276
|
-
process.env.NODE_ENV !== "production" && wo.isFragment(
|
|
23277
|
-
`)),
|
|
23269
|
+
process.env.NODE_ENV !== "production" && wo.isFragment(P) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
23270
|
+
`)), P.props.disabled || (m === "selectedMenu" && P.props.selected || O === -1) && (O = T), O === T && (P.props.disabled || P.props.muiSkipListHighlight || P.type.muiSkipListHighlight) && (O += 1, O >= l.length && (O = -1));
|
|
23278
23271
|
});
|
|
23279
|
-
const C = x.Children.map(l, (
|
|
23272
|
+
const C = x.Children.map(l, (P, T) => {
|
|
23280
23273
|
if (T === O) {
|
|
23281
23274
|
const y = {};
|
|
23282
|
-
return i && (y.autoFocus = !0),
|
|
23275
|
+
return i && (y.autoFocus = !0), P.props.tabIndex === void 0 && m === "selectedMenu" && (y.tabIndex = 0), /* @__PURE__ */ x.cloneElement(P, y);
|
|
23283
23276
|
}
|
|
23284
|
-
return
|
|
23277
|
+
return P;
|
|
23285
23278
|
});
|
|
23286
23279
|
return /* @__PURE__ */ p(kp, S({
|
|
23287
23280
|
role: "menu",
|
|
@@ -23354,7 +23347,7 @@ function Mc(e, t) {
|
|
|
23354
23347
|
function kc(e) {
|
|
23355
23348
|
return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
|
|
23356
23349
|
}
|
|
23357
|
-
function
|
|
23350
|
+
function En(e) {
|
|
23358
23351
|
return typeof e == "function" ? e() : e;
|
|
23359
23352
|
}
|
|
23360
23353
|
const X1 = (e) => {
|
|
@@ -23406,14 +23399,14 @@ const X1 = (e) => {
|
|
|
23406
23399
|
marginThreshold: b = 16,
|
|
23407
23400
|
open: O,
|
|
23408
23401
|
PaperProps: C = {},
|
|
23409
|
-
slots:
|
|
23402
|
+
slots: P,
|
|
23410
23403
|
slotProps: T,
|
|
23411
23404
|
transformOrigin: y = {
|
|
23412
23405
|
vertical: "top",
|
|
23413
23406
|
horizontal: "left"
|
|
23414
23407
|
},
|
|
23415
23408
|
TransitionComponent: F = No,
|
|
23416
|
-
transitionDuration:
|
|
23409
|
+
transitionDuration: E = "auto",
|
|
23417
23410
|
TransitionProps: {
|
|
23418
23411
|
onEntering: $
|
|
23419
23412
|
} = {},
|
|
@@ -23426,12 +23419,12 @@ const X1 = (e) => {
|
|
|
23426
23419
|
externalPaperSlotProps: D,
|
|
23427
23420
|
transformOrigin: y,
|
|
23428
23421
|
TransitionComponent: F,
|
|
23429
|
-
transitionDuration:
|
|
23422
|
+
transitionDuration: E,
|
|
23430
23423
|
TransitionProps: R
|
|
23431
23424
|
}), A = X1(_), j = x.useCallback(() => {
|
|
23432
23425
|
if (m === "anchorPosition")
|
|
23433
23426
|
return process.env.NODE_ENV !== "production" && (d || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), d;
|
|
23434
|
-
const Z =
|
|
23427
|
+
const Z = En(c), I = Z && Z.nodeType === 1 ? Z : Ze(L.current).body, te = I.getBoundingClientRect();
|
|
23435
23428
|
if (process.env.NODE_ENV !== "production") {
|
|
23436
23429
|
const Re = I.getBoundingClientRect();
|
|
23437
23430
|
process.env.NODE_ENV !== "test" && Re.top === 0 && Re.left === 0 && Re.right === 0 && Re.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
@@ -23457,7 +23450,7 @@ const X1 = (e) => {
|
|
|
23457
23450
|
};
|
|
23458
23451
|
const Re = j();
|
|
23459
23452
|
let Ce = Re.top - te.vertical, pe = Re.left - te.horizontal;
|
|
23460
|
-
const tt = Ce + I.height, le = pe + I.width, Be = Gt(
|
|
23453
|
+
const tt = Ce + I.height, le = pe + I.width, Be = Gt(En(c)), ze = Be.innerHeight - b, rt = Be.innerWidth - b;
|
|
23461
23454
|
if (b !== null && Ce < b) {
|
|
23462
23455
|
const Me = Ce - b;
|
|
23463
23456
|
Ce -= Me, te.vertical += Me;
|
|
@@ -23507,9 +23500,9 @@ const X1 = (e) => {
|
|
|
23507
23500
|
Z.clear(), I.removeEventListener("resize", Z);
|
|
23508
23501
|
};
|
|
23509
23502
|
}, [c, O, re]);
|
|
23510
|
-
let ee =
|
|
23511
|
-
|
|
23512
|
-
const ne = v || (c ? Ze(
|
|
23503
|
+
let ee = E;
|
|
23504
|
+
E === "auto" && !F.muiSupportAuto && (ee = void 0);
|
|
23505
|
+
const ne = v || (c ? Ze(En(c)).body : void 0), ce = (a = P == null ? void 0 : P.root) != null ? a : Z1, ae = (i = P == null ? void 0 : P.paper) != null ? i : Ap, G = kt({
|
|
23513
23506
|
elementType: ae,
|
|
23514
23507
|
externalSlotProps: S({}, D, {
|
|
23515
23508
|
style: J ? D.style : S({}, D.style, {
|
|
@@ -23522,7 +23515,7 @@ const X1 = (e) => {
|
|
|
23522
23515
|
},
|
|
23523
23516
|
ownerState: _,
|
|
23524
23517
|
className: q(A.paper, D == null ? void 0 : D.className)
|
|
23525
|
-
}),
|
|
23518
|
+
}), Pe = kt({
|
|
23526
23519
|
elementType: ce,
|
|
23527
23520
|
externalSlotProps: (T == null ? void 0 : T.root) || {},
|
|
23528
23521
|
externalForwardedProps: M,
|
|
@@ -23539,10 +23532,10 @@ const X1 = (e) => {
|
|
|
23539
23532
|
ownerState: _,
|
|
23540
23533
|
className: q(A.root, h)
|
|
23541
23534
|
}), {
|
|
23542
|
-
slotProps:
|
|
23543
|
-
} =
|
|
23535
|
+
slotProps: Ee
|
|
23536
|
+
} = Pe, B = W(Pe, Q1);
|
|
23544
23537
|
return /* @__PURE__ */ p(ce, S({}, B, !fd(ce) && {
|
|
23545
|
-
slotProps:
|
|
23538
|
+
slotProps: Ee,
|
|
23546
23539
|
disableScrollLock: w
|
|
23547
23540
|
}, {
|
|
23548
23541
|
children: /* @__PURE__ */ p(F, S({
|
|
@@ -23575,7 +23568,7 @@ process.env.NODE_ENV !== "production" && (Ip.propTypes = {
|
|
|
23575
23568
|
*/
|
|
23576
23569
|
anchorEl: Xt(n.oneOfType([Ut, n.func]), (e) => {
|
|
23577
23570
|
if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
|
|
23578
|
-
const t =
|
|
23571
|
+
const t = En(e.anchorEl);
|
|
23579
23572
|
if (t && t.nodeType === 1) {
|
|
23580
23573
|
const r = t.getBoundingClientRect();
|
|
23581
23574
|
if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
|
@@ -23798,8 +23791,8 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23798
23791
|
} = {},
|
|
23799
23792
|
variant: O = "selectedMenu",
|
|
23800
23793
|
slots: C = {},
|
|
23801
|
-
slotProps:
|
|
23802
|
-
} = i, T = W(i.TransitionProps, eF), y = W(i, tF), F = da(),
|
|
23794
|
+
slotProps: P = {}
|
|
23795
|
+
} = i, T = W(i.TransitionProps, eF), y = W(i, tF), F = da(), E = S({}, i, {
|
|
23803
23796
|
autoFocus: l,
|
|
23804
23797
|
disableAutoFocusItem: u,
|
|
23805
23798
|
MenuListProps: d,
|
|
@@ -23808,7 +23801,7 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23808
23801
|
transitionDuration: g,
|
|
23809
23802
|
TransitionProps: T,
|
|
23810
23803
|
variant: O
|
|
23811
|
-
}), $ = nF(
|
|
23804
|
+
}), $ = nF(E), w = l && !u && f, R = x.useRef(null), M = (k, z) => {
|
|
23812
23805
|
R.current && R.current.adjustStyleForScrollbar(k, {
|
|
23813
23806
|
direction: F ? "rtl" : "ltr"
|
|
23814
23807
|
}), b && b(k, z);
|
|
@@ -23820,15 +23813,15 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23820
23813
|
/* @__PURE__ */ x.isValidElement(k) && (process.env.NODE_ENV !== "production" && wo.isFragment(k) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
23821
23814
|
`)), k.props.disabled || (O === "selectedMenu" && k.props.selected || L === -1) && (L = z));
|
|
23822
23815
|
});
|
|
23823
|
-
const N = (o = C.paper) != null ? o : iF, _ = (a =
|
|
23816
|
+
const N = (o = C.paper) != null ? o : iF, _ = (a = P.paper) != null ? a : h, A = kt({
|
|
23824
23817
|
elementType: C.root,
|
|
23825
|
-
externalSlotProps:
|
|
23826
|
-
ownerState:
|
|
23818
|
+
externalSlotProps: P.root,
|
|
23819
|
+
ownerState: E,
|
|
23827
23820
|
className: [$.root, c]
|
|
23828
23821
|
}), j = kt({
|
|
23829
23822
|
elementType: N,
|
|
23830
23823
|
externalSlotProps: _,
|
|
23831
|
-
ownerState:
|
|
23824
|
+
ownerState: E,
|
|
23832
23825
|
className: $.paper
|
|
23833
23826
|
});
|
|
23834
23827
|
return /* @__PURE__ */ p(aF, S({
|
|
@@ -23852,7 +23845,7 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23852
23845
|
TransitionProps: S({
|
|
23853
23846
|
onEntering: M
|
|
23854
23847
|
}, T),
|
|
23855
|
-
ownerState:
|
|
23848
|
+
ownerState: E
|
|
23856
23849
|
}, y, {
|
|
23857
23850
|
classes: v,
|
|
23858
23851
|
children: /* @__PURE__ */ p(lF, S({
|
|
@@ -24102,12 +24095,12 @@ const xo = fe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
24102
24095
|
dense: g.dense,
|
|
24103
24096
|
divider: s,
|
|
24104
24097
|
disableGutters: c
|
|
24105
|
-
}), C = dF(o),
|
|
24098
|
+
}), C = dF(o), P = Ge(b, r);
|
|
24106
24099
|
let T;
|
|
24107
24100
|
return o.disabled || (T = m !== void 0 ? m : -1), /* @__PURE__ */ p(Vn.Provider, {
|
|
24108
24101
|
value: g,
|
|
24109
24102
|
children: /* @__PURE__ */ p(pF, S({
|
|
24110
|
-
ref:
|
|
24103
|
+
ref: P,
|
|
24111
24104
|
role: d,
|
|
24112
24105
|
tabIndex: T,
|
|
24113
24106
|
component: i,
|
|
@@ -24231,8 +24224,8 @@ const fF = ({
|
|
|
24231
24224
|
{
|
|
24232
24225
|
disabled: O.disabled,
|
|
24233
24226
|
selected: C === d,
|
|
24234
|
-
onClick: (
|
|
24235
|
-
h(
|
|
24227
|
+
onClick: (P) => {
|
|
24228
|
+
h(P, C), O.onClick && O.onClick(P, C);
|
|
24236
24229
|
},
|
|
24237
24230
|
resource: f,
|
|
24238
24231
|
title: O.label,
|
|
@@ -24304,7 +24297,7 @@ const fF = ({
|
|
|
24304
24297
|
},
|
|
24305
24298
|
T
|
|
24306
24299
|
));
|
|
24307
|
-
},
|
|
24300
|
+
}, P = () => tr(
|
|
24308
24301
|
l,
|
|
24309
24302
|
{
|
|
24310
24303
|
onChange: C,
|
|
@@ -24320,19 +24313,19 @@ const fF = ({
|
|
|
24320
24313
|
className: q("tabbed-form", r),
|
|
24321
24314
|
...SF(u),
|
|
24322
24315
|
children: [
|
|
24323
|
-
i ? /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(gi, { path: "/*", element:
|
|
24316
|
+
i ? /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(gi, { path: "/*", element: P() }) }) : P(),
|
|
24324
24317
|
/* @__PURE__ */ p(cf, {}),
|
|
24325
24318
|
/* @__PURE__ */ p(o, { children: Bn.map(t, (T, y) => {
|
|
24326
24319
|
if (!T)
|
|
24327
24320
|
return null;
|
|
24328
|
-
const F = Yf(T, y),
|
|
24321
|
+
const F = Yf(T, y), E = i ? !za(
|
|
24329
24322
|
`${m.pathname}/${F}`,
|
|
24330
24323
|
d.pathname
|
|
24331
24324
|
) : h !== y;
|
|
24332
24325
|
return yr(T) ? x.cloneElement(T, {
|
|
24333
24326
|
intent: "content",
|
|
24334
24327
|
resource: f,
|
|
24335
|
-
hidden:
|
|
24328
|
+
hidden: E,
|
|
24336
24329
|
value: i ? F : y
|
|
24337
24330
|
}) : null;
|
|
24338
24331
|
}) }),
|
|
@@ -24379,7 +24372,7 @@ const TF = ({
|
|
|
24379
24372
|
validate: g,
|
|
24380
24373
|
warnWhenUnsavedChanges: b,
|
|
24381
24374
|
...O
|
|
24382
|
-
}) => O,
|
|
24375
|
+
}) => O, PF = (e) => {
|
|
24383
24376
|
const {
|
|
24384
24377
|
initialValues: t,
|
|
24385
24378
|
fichaProps: { config: r = {} }
|
|
@@ -24396,10 +24389,10 @@ const TF = ({
|
|
|
24396
24389
|
}
|
|
24397
24390
|
) : null;
|
|
24398
24391
|
};
|
|
24399
|
-
|
|
24392
|
+
PF.defaultProps = {
|
|
24400
24393
|
syncWithLocation: !1
|
|
24401
24394
|
};
|
|
24402
|
-
const
|
|
24395
|
+
const EF = {
|
|
24403
24396
|
...Br,
|
|
24404
24397
|
palette: {
|
|
24405
24398
|
...Br.palette,
|
|
@@ -24481,7 +24474,7 @@ const PF = {
|
|
|
24481
24474
|
}
|
|
24482
24475
|
}, xR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24483
24476
|
__proto__: null,
|
|
24484
|
-
darkTheme:
|
|
24477
|
+
darkTheme: EF,
|
|
24485
24478
|
lightTheme: CF
|
|
24486
24479
|
}, Symbol.toStringTag, { value: "Module" })), SR = (e) => {
|
|
24487
24480
|
const {
|
|
@@ -24557,19 +24550,19 @@ const TR = {
|
|
|
24557
24550
|
}
|
|
24558
24551
|
//...resources
|
|
24559
24552
|
};
|
|
24560
|
-
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24569
|
-
|
|
24570
|
-
|
|
24571
|
-
const
|
|
24572
|
-
...
|
|
24553
|
+
Et.ra.notification.created = "Datos guardados correctamente";
|
|
24554
|
+
Et.ra.action.bulk_actions = "1 seleccionado |||| %{smart_count} seleccionados";
|
|
24555
|
+
Et.ra.page.dashboard = "Inicio";
|
|
24556
|
+
Et.ra.page.empty = "Sin registros todavía";
|
|
24557
|
+
Et.ra.page.invite = "¿Quiere agregar uno?";
|
|
24558
|
+
Et.ra.page.list = "%{name}";
|
|
24559
|
+
Et.ra.page.edit = "Editar %{name}";
|
|
24560
|
+
Et.ra.action.back = "Volver";
|
|
24561
|
+
Et.ra.message.delete_title = "Eliminar";
|
|
24562
|
+
Et.ra.input.file.upload_single = "Seleccione o arrastre archivo";
|
|
24563
|
+
Et.ra.input.image.upload_single = "Seleccione o arrastre imagen";
|
|
24564
|
+
const PR = {
|
|
24565
|
+
...Et,
|
|
24573
24566
|
from_camera: "Desde camara",
|
|
24574
24567
|
take_foto: "Tomar foto",
|
|
24575
24568
|
login: {
|
|
@@ -24606,7 +24599,7 @@ const ER = {
|
|
|
24606
24599
|
greater_or_equal: "Debe ser mayor o igual a %{menor}"
|
|
24607
24600
|
}
|
|
24608
24601
|
//...resources
|
|
24609
|
-
},
|
|
24602
|
+
}, ER = (e) => {
|
|
24610
24603
|
const { propsContenido: t, hidden: r } = wd(e), o = Yt(), a = JSON.parse(JSON.stringify(o)), i = a[e.source];
|
|
24611
24604
|
return a[e.source] = i != "" && i != "0", !r && /* @__PURE__ */ p(Xf, { ...t, record: a });
|
|
24612
24605
|
}, ii = oy({
|
|
@@ -24781,17 +24774,17 @@ const AF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24781
24774
|
onBlur: g,
|
|
24782
24775
|
onFocus: b,
|
|
24783
24776
|
ref: O
|
|
24784
|
-
} = Kn(), [C,
|
|
24785
|
-
g(w), v.current === !1 &&
|
|
24777
|
+
} = Kn(), [C, P] = x.useState(!1), T = Ge(r, O), y = (w) => {
|
|
24778
|
+
g(w), v.current === !1 && P(!1), s && s(w);
|
|
24786
24779
|
}, F = (w) => {
|
|
24787
|
-
b(w), v.current === !0 &&
|
|
24788
|
-
},
|
|
24780
|
+
b(w), v.current === !0 && P(!0), c && c(w);
|
|
24781
|
+
}, E = S({}, o, {
|
|
24789
24782
|
color: i,
|
|
24790
24783
|
component: l,
|
|
24791
24784
|
focusVisible: C,
|
|
24792
24785
|
underline: d,
|
|
24793
24786
|
variant: m
|
|
24794
|
-
}), $ = _F(
|
|
24787
|
+
}), $ = _F(E);
|
|
24795
24788
|
return /* @__PURE__ */ p(jF, S({
|
|
24796
24789
|
color: i,
|
|
24797
24790
|
className: q($.root, a),
|
|
@@ -24800,7 +24793,7 @@ const AF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24800
24793
|
onBlur: y,
|
|
24801
24794
|
onFocus: F,
|
|
24802
24795
|
ref: T,
|
|
24803
|
-
ownerState:
|
|
24796
|
+
ownerState: E,
|
|
24804
24797
|
variant: m,
|
|
24805
24798
|
sx: [...Object.keys(zp).includes(i) ? [] : [{
|
|
24806
24799
|
color: i
|
|
@@ -24980,7 +24973,7 @@ const Ic = (e) => {
|
|
|
24980
24973
|
return typeof e == "string" ? { src: `${t}/${e}` } : e instanceof Array ? e.map((r) => ({ src: `${t}/${r}` })) : e;
|
|
24981
24974
|
}, CR = (e) => {
|
|
24982
24975
|
var C;
|
|
24983
|
-
const { propsContenido: t, hidden: r } = lt(e), o = Je(), a = Yt(e), i = Hn((
|
|
24976
|
+
const { propsContenido: t, hidden: r } = lt(e), o = Je(), a = Yt(e), i = Hn((P) => P.breakpoints.down("sm")), l = $t();
|
|
24984
24977
|
if (!l)
|
|
24985
24978
|
return null;
|
|
24986
24979
|
const {
|
|
@@ -25007,7 +25000,7 @@ const Ic = (e) => {
|
|
|
25007
25000
|
maxSize: 5e6,
|
|
25008
25001
|
...v,
|
|
25009
25002
|
options: { disabled: c, ...s },
|
|
25010
|
-
format: (
|
|
25003
|
+
format: (P) => Dc(P, m),
|
|
25011
25004
|
placeholder: o("ra.input.image.upload_single"),
|
|
25012
25005
|
accept: "image/*",
|
|
25013
25006
|
inputProps: {
|
|
@@ -25033,7 +25026,7 @@ const Ic = (e) => {
|
|
|
25033
25026
|
maxSize: 5e6,
|
|
25034
25027
|
...v,
|
|
25035
25028
|
options: { disabled: c, ...s },
|
|
25036
|
-
format: (
|
|
25029
|
+
format: (P) => Dc(P, m),
|
|
25037
25030
|
placeholder: o("ra.input.file.upload_single"),
|
|
25038
25031
|
accept: f,
|
|
25039
25032
|
children: /* @__PURE__ */ V($l, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
@@ -25523,7 +25516,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25523
25516
|
seleccion: [],
|
|
25524
25517
|
all: !0,
|
|
25525
25518
|
none: !1
|
|
25526
|
-
}, Tw = (e) => String(e) === e ? e === "" ? "Ninguno" : "Selección (1)" : !e || e != null && e.all ? "Todos" : e != null && e.none || e.seleccion.length === 0 ? "Ninguno" : `Selección (${e.seleccion.length})`,
|
|
25519
|
+
}, Tw = (e) => String(e) === e ? e === "" ? "Ninguno" : "Selección (1)" : !e || e != null && e.all ? "Todos" : e != null && e.none || e.seleccion.length === 0 ? "Ninguno" : `Selección (${e.seleccion.length})`, Pw = (e) => e, IR = (e) => {
|
|
25527
25520
|
const {
|
|
25528
25521
|
asistant: t,
|
|
25529
25522
|
asistantResource: r,
|
|
@@ -25536,7 +25529,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25536
25529
|
} = e, [u] = ru("form_224"), [d, m] = Ue(!1), f = $t(), { estado: h, fichaProps: v = {} } = we(We), g = we(uo), {
|
|
25537
25530
|
hidden: b,
|
|
25538
25531
|
propsContenido: { disabled: O, label: C = "Funcionarios" }
|
|
25539
|
-
} = lt(e), { [i]:
|
|
25532
|
+
} = lt(e), { [i]: P = {}, etrs: T } = v, y = Zt({ ...e, etrs: T, asisEtr: g }), F = P.onChange === void 0 ? s : P.onChange;
|
|
25540
25533
|
pt(() => {
|
|
25541
25534
|
f.setValue(i, {
|
|
25542
25535
|
seleccion: [],
|
|
@@ -25544,7 +25537,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25544
25537
|
none: !1
|
|
25545
25538
|
});
|
|
25546
25539
|
}, []);
|
|
25547
|
-
const
|
|
25540
|
+
const E = Fe(() => {
|
|
25548
25541
|
m(!1);
|
|
25549
25542
|
}, [m]), $ = (M, D) => {
|
|
25550
25543
|
m(!1), f.setValue(i, {
|
|
@@ -25580,7 +25573,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25580
25573
|
source: i,
|
|
25581
25574
|
label: C,
|
|
25582
25575
|
disabled: !0,
|
|
25583
|
-
parse:
|
|
25576
|
+
parse: Pw,
|
|
25584
25577
|
format: Tw,
|
|
25585
25578
|
helperText: !1,
|
|
25586
25579
|
InputProps: {
|
|
@@ -25630,7 +25623,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25630
25623
|
isOpen: d,
|
|
25631
25624
|
title: `Selección de ${C}`,
|
|
25632
25625
|
onConfirm: $,
|
|
25633
|
-
onClose:
|
|
25626
|
+
onClose: E
|
|
25634
25627
|
}
|
|
25635
25628
|
)
|
|
25636
25629
|
] });
|
|
@@ -25688,7 +25681,7 @@ export {
|
|
|
25688
25681
|
fl as Asistente,
|
|
25689
25682
|
Od as AsistenteContext,
|
|
25690
25683
|
ll as AsistenteProvider,
|
|
25691
|
-
|
|
25684
|
+
ER as BooleanField,
|
|
25692
25685
|
CR as Camino,
|
|
25693
25686
|
FR as CheckBox,
|
|
25694
25687
|
qF as ComboBox,
|
|
@@ -25727,7 +25720,7 @@ export {
|
|
|
25727
25720
|
tc as ShowGridButton,
|
|
25728
25721
|
r1 as SubMenu,
|
|
25729
25722
|
IR as TBSF,
|
|
25730
|
-
|
|
25723
|
+
PF as TabbedFormEtriek,
|
|
25731
25724
|
Uw as TabbedGrillaEtriek,
|
|
25732
25725
|
DR as TextArea,
|
|
25733
25726
|
NR as TextBox,
|
|
@@ -25745,11 +25738,11 @@ export {
|
|
|
25745
25738
|
LS as deleteRecargarComboBox,
|
|
25746
25739
|
aR as descargarLink,
|
|
25747
25740
|
TR as enMessages,
|
|
25748
|
-
|
|
25741
|
+
PR as esMessages,
|
|
25749
25742
|
rR as etrFechaMayorQue,
|
|
25750
25743
|
Xd as etrRequerido,
|
|
25751
25744
|
eR as etrRequeridoNumerico,
|
|
25752
|
-
|
|
25745
|
+
VP as getFormcodFromResource,
|
|
25753
25746
|
oR as localeOptions,
|
|
25754
25747
|
$S as recargarComboBox,
|
|
25755
25748
|
Bw as renderCellComboBox,
|