biblio-react 2.0.9 → 2.0.10
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 +701 -694
- package/dist/index.js.map +1 -1
- package/package.json +1 -3
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 Ef, ShowButton as Pf, 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 Pt 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 Em() {
|
|
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 Pm() {
|
|
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, E;
|
|
241
|
+
E = 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 === E || I.getModuleId !== void 0));
|
|
248
248
|
}
|
|
249
249
|
function y(I) {
|
|
250
250
|
if (typeof I == "object" && I !== null) {
|
|
@@ -278,7 +278,7 @@ function Em() {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
var F = l,
|
|
281
|
+
var F = l, P = 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 Em() {
|
|
|
309
309
|
function G(I) {
|
|
310
310
|
return y(I) === t;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Ee(I) {
|
|
313
313
|
return y(I) === a;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Pe(I) {
|
|
316
316
|
return y(I) === o;
|
|
317
317
|
}
|
|
318
318
|
function B(I) {
|
|
@@ -321,10 +321,10 @@ function Em() {
|
|
|
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 = P, 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 = Ee, Oe.isStrictMode = Pe, 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 = Em() : Ha.exports = Pm();
|
|
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 Ei(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 Ea() {
|
|
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", Ea, !0), e.addEventListener("pointerdown", Ea, !0), e.addEventListener("touchstart", Ea, !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 Pi(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 Ei(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] = Pi(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 : Pi(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 Eu(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 Pu(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 = Pu(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 Pa({
|
|
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 Er(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] = Er(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: Er(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: Er(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: Er(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: Er(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
|
-
}), Ph = je({
|
|
1097
|
-
prop: "gridAutoColumns"
|
|
1098
1096
|
}), Eh = je({
|
|
1097
|
+
prop: "gridAutoColumns"
|
|
1098
|
+
}), Ph = 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, Eh, Ph, 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 = Pu(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 = Eu(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: Eu,
|
|
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, E = "", T = a, y = i, F = o, P = E; b; )
|
|
1786
1786
|
switch (v = C, C = dt()) {
|
|
1787
1787
|
case 40:
|
|
1788
|
-
if (v != 108 && Ye(
|
|
1789
|
-
qa(
|
|
1788
|
+
if (v != 108 && Ye(P, m - 1) == 58) {
|
|
1789
|
+
qa(P += 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
|
+
P += yn(C);
|
|
1796
1796
|
break;
|
|
1797
1797
|
case 9:
|
|
1798
1798
|
case 10:
|
|
1799
1799
|
case 13:
|
|
1800
1800
|
case 32:
|
|
1801
|
-
|
|
1801
|
+
P += og(v);
|
|
1802
1802
|
break;
|
|
1803
1803
|
case 92:
|
|
1804
|
-
|
|
1804
|
+
P += 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
|
+
P += "/";
|
|
1814
1814
|
}
|
|
1815
1815
|
break;
|
|
1816
1816
|
case 123 * g:
|
|
1817
|
-
s[u++] = Nt(
|
|
1817
|
+
s[u++] = Nt(P) * 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 && (P = be(P, /\f/g, "")), h > 0 && Nt(P) - m && ln(h > 32 ? hs(P + ";", o, r, m - 1) : hs(be(P, " ", "") + ";", o, r, m - 2), c);
|
|
1827
1827
|
break;
|
|
1828
1828
|
case 59:
|
|
1829
|
-
|
|
1829
|
+
P += ";";
|
|
1830
1830
|
default:
|
|
1831
|
-
if (ln(F = ms(
|
|
1831
|
+
if (ln(F = ms(P, t, r, u, d, a, s, E, T = [], y = [], m), i), C === 123)
|
|
1832
1832
|
if (d === 0)
|
|
1833
|
-
On(
|
|
1833
|
+
On(P, t, F, F, T, i, m, s, y);
|
|
1834
1834
|
else
|
|
1835
|
-
switch (f === 99 && Ye(
|
|
1835
|
+
switch (f === 99 && Ye(P, 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, E, a, T = [], m), y), a, y, m, s, o ? T : y);
|
|
1841
1841
|
break;
|
|
1842
1842
|
default:
|
|
1843
|
-
On(
|
|
1843
|
+
On(P, 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, E = P = "", m = l;
|
|
1847
1847
|
break;
|
|
1848
1848
|
case 58:
|
|
1849
|
-
m = 1 + Nt(
|
|
1849
|
+
m = 1 + Nt(P), 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 (P += ra(C), C * g) {
|
|
1858
1858
|
case 38:
|
|
1859
|
-
O = d > 0 ? 1 : (
|
|
1859
|
+
O = d > 0 ? 1 : (P += "\f", -1);
|
|
1860
1860
|
break;
|
|
1861
1861
|
case 44:
|
|
1862
|
-
s[u++] = (Nt(
|
|
1862
|
+
s[u++] = (Nt(P) - 1) * O, O = 1;
|
|
1863
1863
|
break;
|
|
1864
1864
|
case 64:
|
|
1865
|
-
Bt() === 45 && (
|
|
1865
|
+
Bt() === 45 && (P += yn(dt())), f = Bt(), d = m = Nt(E = P += ig(vn())), C++;
|
|
1866
1866
|
break;
|
|
1867
1867
|
case 45:
|
|
1868
|
-
v === 45 && Nt(
|
|
1868
|
+
v === 45 && Nt(P) == 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])), E = e; O < h; ++O)
|
|
1876
|
+
(E = $u(g > 0 ? f[O] + " " + C : be(C, /&\f/g, f[O]))) && (c[b++] = E);
|
|
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, E) {
|
|
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), E && (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 Eg() {
|
|
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 E(y) {
|
|
2230
2230
|
if (typeof y == "object" && y !== null) {
|
|
2231
2231
|
var F = y.$$typeof;
|
|
2232
2232
|
switch (F) {
|
|
@@ -2257,35 +2257,35 @@ function Pg() {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
function T(y) {
|
|
2260
|
-
return
|
|
2260
|
+
return E(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) || E(y) === c;
|
|
2264
2264
|
}, xe.isConcurrentMode = T, xe.isContextConsumer = function(y) {
|
|
2265
|
-
return
|
|
2265
|
+
return E(y) === s;
|
|
2266
2266
|
}, xe.isContextProvider = function(y) {
|
|
2267
|
-
return
|
|
2267
|
+
return E(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 E(y) === d;
|
|
2272
2272
|
}, xe.isFragment = function(y) {
|
|
2273
|
-
return
|
|
2273
|
+
return E(y) === o;
|
|
2274
2274
|
}, xe.isLazy = function(y) {
|
|
2275
|
-
return
|
|
2275
|
+
return E(y) === v;
|
|
2276
2276
|
}, xe.isMemo = function(y) {
|
|
2277
|
-
return
|
|
2277
|
+
return E(y) === h;
|
|
2278
2278
|
}, xe.isPortal = function(y) {
|
|
2279
|
-
return
|
|
2279
|
+
return E(y) === r;
|
|
2280
2280
|
}, xe.isProfiler = function(y) {
|
|
2281
|
-
return
|
|
2281
|
+
return E(y) === i;
|
|
2282
2282
|
}, xe.isStrictMode = function(y) {
|
|
2283
|
-
return
|
|
2283
|
+
return E(y) === a;
|
|
2284
2284
|
}, xe.isSuspense = function(y) {
|
|
2285
|
-
return
|
|
2285
|
+
return E(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 = E, 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 Pg() {
|
|
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 E(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 Eg() {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
|
-
var y = c, F = u,
|
|
2339
|
+
var y = c, F = u, P = 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 Eg() {
|
|
|
2370
2370
|
function G(B) {
|
|
2371
2371
|
return T(B) === i;
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2373
|
+
function Ee(B) {
|
|
2374
2374
|
return T(B) === a;
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function Pe(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 = P, 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 = Ee, Se.isSuspense = Pe, Se.isValidElementType = E, Se.typeOf = T;
|
|
2380
2380
|
}()), Se;
|
|
2381
2381
|
}
|
|
2382
|
-
process.env.NODE_ENV === "production" ? Ya.exports =
|
|
2382
|
+
process.env.NODE_ENV === "production" ? Ya.exports = Eg() : Ya.exports = Pg();
|
|
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, Es = 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 Ps = "__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 Es = "__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[Ps], 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 Es = "__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 !== Ps && (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 Es(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]), Es(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, E = "", 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" ? E = Ai(b.registered, T, g.className) : g.className != null && (E = g.className + " ");
|
|
3015
|
+
var P = Yr(m.concat(T), b.registered, y);
|
|
3016
|
+
E += b.key + "-" + P.name, l !== void 0 && (E += " " + 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 = E, w.ref = O, /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Jg, {
|
|
3022
3022
|
cache: b,
|
|
3023
|
-
serialized:
|
|
3023
|
+
serialized: P,
|
|
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
|
+
}, Eb = {
|
|
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
|
+
}, Pb = ["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, Pb), 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: E = 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", E, 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: Eb,
|
|
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, E, 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: E
|
|
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)), E = (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 P = E(y);
|
|
4177
|
+
const $ = F ? F.map(E) : [];
|
|
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
|
+
P = [...y, ...M], P.raw = [...y.raw, ...M];
|
|
4207
4207
|
}
|
|
4208
|
-
const R = C(
|
|
4208
|
+
const R = C(P, ...$);
|
|
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: Ei,
|
|
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()), Ev = Ie;
|
|
4448
|
+
Wi = Si.default = (0, Tv.default)(/* @__PURE__ */ (0, Ev.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 = {}, Pv = $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 = Pv(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)), E = (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 P = E(y);
|
|
4629
|
+
const $ = F ? F.map(E) : [];
|
|
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
|
+
P = [...y, ...M], P.raw = [...y.raw, ...M];
|
|
4659
4659
|
}
|
|
4660
|
-
const R = C(
|
|
4660
|
+
const R = C(P, ...$);
|
|
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
|
+
}, Pa({
|
|
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 = Pa({
|
|
4867
4867
|
values: e.direction,
|
|
4868
4868
|
base: a
|
|
4869
|
-
}), l =
|
|
4869
|
+
}), l = Pa({
|
|
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: Er(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)}`]: Er(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, E = 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
|
+
}, E, {
|
|
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 Eo(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 && Eo(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 Ey {
|
|
5153
5153
|
constructor() {
|
|
5154
5154
|
this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
|
|
5155
5155
|
}
|
|
@@ -5157,7 +5157,7 @@ class Py {
|
|
|
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 && Eo(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 Py {
|
|
|
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 && Eo(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 && Eo(l.modalRef, !1);
|
|
5185
5185
|
}
|
|
5186
5186
|
return o;
|
|
5187
5187
|
}
|
|
@@ -5189,13 +5189,13 @@ class Py {
|
|
|
5189
5189
|
return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
|
|
5190
5190
|
}
|
|
5191
5191
|
}
|
|
5192
|
-
function
|
|
5192
|
+
function Py(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 Ey();
|
|
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 E = !0;
|
|
5215
|
+
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (E = !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
|
+
}, P = yt(() => {
|
|
5221
|
+
const A = Py(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 && Eo(v.current, E));
|
|
5225
5225
|
}), R = x.useCallback(() => {
|
|
5226
|
-
a.remove(y(),
|
|
5227
|
-
}, [
|
|
5226
|
+
a.remove(y(), E);
|
|
5227
|
+
}, [E, a]);
|
|
5228
5228
|
x.useEffect(() => () => {
|
|
5229
5229
|
R();
|
|
5230
5230
|
}, [R]), x.useEffect(() => {
|
|
5231
|
-
d ?
|
|
5232
|
-
}, [d, R, C, i,
|
|
5231
|
+
d ? P() : (!C || !i) && R();
|
|
5232
|
+
}, [d, R, C, i, P]);
|
|
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 E = Ze(v.current);
|
|
5325
|
+
return v.current.contains(E.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 E = Ze(v.current), T = (P) => {
|
|
5333
|
+
b.current = P, !(o || !l() || P.key !== "Tab") && E.activeElement === v.current && P.shiftKey && (c.current = !0, d.current && d.current.focus());
|
|
5334
5334
|
}, y = () => {
|
|
5335
|
-
const
|
|
5336
|
-
if (
|
|
5335
|
+
const P = v.current;
|
|
5336
|
+
if (P === null)
|
|
5337
5337
|
return;
|
|
5338
|
-
if (!
|
|
5338
|
+
if (!E.hasFocus() || !l() || c.current) {
|
|
5339
5339
|
c.current = !1;
|
|
5340
5340
|
return;
|
|
5341
5341
|
}
|
|
5342
|
-
if (
|
|
5342
|
+
if (P.contains(E.activeElement) || o && E.activeElement !== u.current && E.activeElement !== d.current)
|
|
5343
5343
|
return;
|
|
5344
|
-
if (
|
|
5344
|
+
if (E.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 ((E.activeElement === u.current || E.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
|
+
P.focus();
|
|
5357
5357
|
};
|
|
5358
|
-
|
|
5358
|
+
E.addEventListener("focusin", y), E.addEventListener("keydown", T, !0);
|
|
5359
5359
|
const F = setInterval(() => {
|
|
5360
|
-
|
|
5360
|
+
E.activeElement && E.activeElement.tagName === "BODY" && y();
|
|
5361
5361
|
}, 50);
|
|
5362
5362
|
return () => {
|
|
5363
|
-
clearInterval(F),
|
|
5363
|
+
clearInterval(F), E.removeEventListener("focusin", y), E.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 = (E) => {
|
|
5367
|
+
m.current === null && (m.current = E.relatedTarget), h.current = !0, f.current = E.target;
|
|
5368
5368
|
const T = t.props.onFocus;
|
|
5369
|
-
T && T(
|
|
5370
|
-
}, C = (
|
|
5371
|
-
m.current === null && (m.current =
|
|
5369
|
+
T && T(E);
|
|
5370
|
+
}, C = (E) => {
|
|
5371
|
+
m.current === null && (m.current = E.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, E = 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
|
+
}, P = 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: P,
|
|
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
|
+
}, E, {
|
|
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), E = S({}, l, {
|
|
6254
6254
|
component: u,
|
|
6255
6255
|
invisible: f
|
|
6256
|
-
}), T = Ky(
|
|
6256
|
+
}), T = Ky(E), 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({}, E, 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: E = !1,
|
|
6426
6426
|
disableEnforceFocus: T = !1,
|
|
6427
6427
|
disableEscapeKeyDown: y = !1,
|
|
6428
6428
|
disablePortal: F = !1,
|
|
6429
|
-
disableRestoreFocus:
|
|
6429
|
+
disableRestoreFocus: P = !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: E,
|
|
6441
6441
|
disableEnforceFocus: T,
|
|
6442
6442
|
disableEscapeKeyDown: y,
|
|
6443
6443
|
disablePortal: F,
|
|
6444
|
-
disableRestoreFocus:
|
|
6444
|
+
disableRestoreFocus: P,
|
|
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, Ee = (c = L == null ? void 0 : L.backdrop) != null ? c : C.backdrop, Pe = 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: Ee,
|
|
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(Ee == null ? void 0 : Ee.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({}, Pe, {
|
|
6496
6496
|
children: [!w && d ? /* @__PURE__ */ p(ae, S({}, B)) : null, /* @__PURE__ */ p(In, {
|
|
6497
6497
|
disableEnforceFocus: T,
|
|
6498
|
-
disableAutoFocus:
|
|
6499
|
-
disableRestoreFocus:
|
|
6498
|
+
disableAutoFocus: E,
|
|
6499
|
+
disableRestoreFocus: P,
|
|
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: E = dr,
|
|
6952
6952
|
PaperProps: T = {},
|
|
6953
6953
|
scroll: y = "paper",
|
|
6954
6954
|
TransitionComponent: F = rl,
|
|
6955
|
-
transitionDuration:
|
|
6955
|
+
transitionDuration: P = 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
|
+
}, _ = Ei(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: P,
|
|
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: P,
|
|
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: E,
|
|
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"], EO = (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
|
+
}, PO = 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 = EO(g);
|
|
7392
|
+
return /* @__PURE__ */ p(PO, 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
|
+
}, Ex = de(Tx, _O), Px = {
|
|
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(Px, 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
|
+
}, ES = de(TS, qO), PS = {
|
|
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(PS, 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: Ex,
|
|
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: ES,
|
|
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
|
+
}, Ed = () => {
|
|
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
|
+
}, Pd = () => {
|
|
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 = Ed(), a = Pd(), 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 = Ed(), a = Pd(), 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, E) => 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), E = 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: (P) => {
|
|
14618
|
+
d(!0), P.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: (P) => {
|
|
14628
|
+
d(!1), P.stopPropagation();
|
|
14629
14629
|
},
|
|
14630
14630
|
labelEstado: y,
|
|
14631
14631
|
label: a,
|
|
14632
14632
|
resource: m,
|
|
14633
|
-
onSubmit: async (
|
|
14633
|
+
onSubmit: async (P, $) => {
|
|
14634
14634
|
const w = await s(
|
|
14635
|
-
P,
|
|
14636
14635
|
E,
|
|
14636
|
+
P,
|
|
14637
14637
|
g,
|
|
14638
14638
|
b
|
|
14639
14639
|
);
|
|
14640
|
-
w !== !1 && (v(typeof w == "object" ? w :
|
|
14640
|
+
w !== !1 && (v(typeof w == "object" ? w : P, f), d(!1), c(E, P, 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), E = we(uo), T = Zt({ etrs: C, asisEtr: E }), 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: (P) => {
|
|
14681
|
+
f(!0), P.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: (P) => {
|
|
14691
|
+
f(!1), P.stopPropagation();
|
|
14692
14692
|
},
|
|
14693
14693
|
labelEstado: y,
|
|
14694
14694
|
label: a,
|
|
14695
14695
|
resource: o,
|
|
14696
|
-
onSubmit: async (
|
|
14696
|
+
onSubmit: async (P, $) => {
|
|
14697
14697
|
const w = await c(
|
|
14698
14698
|
T,
|
|
14699
|
-
|
|
14699
|
+
P,
|
|
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 : P, v), f(!1), u(T, P, 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: E,
|
|
14781
14781
|
fichaProps: { [f]: T }
|
|
14782
14782
|
} = we(We), y = xi((G) => {
|
|
14783
|
-
const
|
|
14784
|
-
return
|
|
14783
|
+
const Ee = G.configInputs ? G.configInputs.filter((Pe) => Pe.id === f) : [];
|
|
14784
|
+
return Ee[0] ? Ee[0] : null;
|
|
14785
14785
|
}), { hidden: F } = y || {}, {
|
|
14786
|
-
enviarTodo:
|
|
14786
|
+
enviarTodo: P = !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 && !E,
|
|
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: P,
|
|
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: P,
|
|
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: P,
|
|
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 || E,
|
|
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), E = Zt(e), { [e.source]: T = {} } = C, { useContenido: y = pr, ...F } = T, {
|
|
14973
|
+
data: P = [],
|
|
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: E,
|
|
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: P,
|
|
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: E,
|
|
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), P = x.useRef(null), $ = Ge(c.ref, P, r), w = (k) => (z) => {
|
|
15266
|
+
k && (z === void 0 ? k(P.current) : k(P.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: E,
|
|
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: E,
|
|
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(P.current, k);
|
|
15291
15291
|
}, j = x.useCallback(() => {
|
|
15292
|
-
|
|
15292
|
+
P.current && dn(d, P.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
|
+
P.current && dn(d, P.current, u);
|
|
15299
|
+
}), z = Gt(P.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: P,
|
|
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
|
+
}, E, c.props.style)
|
|
15323
15323
|
}, z))
|
|
15324
15324
|
}));
|
|
15325
15325
|
});
|
|
@@ -15541,7 +15541,8 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15541
15541
|
showAceptar: f = !0,
|
|
15542
15542
|
showCancelar: h = !0,
|
|
15543
15543
|
formDividers: v = !0,
|
|
15544
|
-
|
|
15544
|
+
aceptarAlwaysEnable: g = !1,
|
|
15545
|
+
dialogProps: b = {}
|
|
15545
15546
|
}
|
|
15546
15547
|
} = o;
|
|
15547
15548
|
return d === "confirm" ? /* @__PURE__ */ p(
|
|
@@ -15562,7 +15563,7 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15562
15563
|
fullScreen: d === "vista",
|
|
15563
15564
|
maxWidth: d === "vista" ? "lg" : "sm",
|
|
15564
15565
|
TransitionComponent: h0,
|
|
15565
|
-
...
|
|
15566
|
+
...b,
|
|
15566
15567
|
children: d === "form" ? /* @__PURE__ */ V(Wt, { children: [
|
|
15567
15568
|
/* @__PURE__ */ p(Bc, { id: "draggable-dialog-title", children: l }),
|
|
15568
15569
|
/* @__PURE__ */ V(Bo, { resource: r, onSubmit: c, children: [
|
|
@@ -15570,18 +15571,18 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15570
15571
|
/* @__PURE__ */ V(nf, { children: [
|
|
15571
15572
|
m.map(
|
|
15572
15573
|
({
|
|
15573
|
-
label:
|
|
15574
|
-
icon:
|
|
15575
|
-
handler:
|
|
15576
|
-
},
|
|
15574
|
+
label: T = "",
|
|
15575
|
+
icon: y = /* @__PURE__ */ p(ti, {}),
|
|
15576
|
+
handler: F
|
|
15577
|
+
}, P) => /* @__PURE__ */ p(
|
|
15577
15578
|
ut,
|
|
15578
15579
|
{
|
|
15579
|
-
label:
|
|
15580
|
+
label: T,
|
|
15580
15581
|
disabled: t,
|
|
15581
|
-
onClick:
|
|
15582
|
-
children:
|
|
15582
|
+
onClick: F,
|
|
15583
|
+
children: y
|
|
15583
15584
|
},
|
|
15584
|
-
`extra_${
|
|
15585
|
+
`extra_${P}`
|
|
15585
15586
|
)
|
|
15586
15587
|
),
|
|
15587
15588
|
h && /* @__PURE__ */ p(
|
|
@@ -15593,7 +15594,13 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15593
15594
|
children: /* @__PURE__ */ p(Lo, {})
|
|
15594
15595
|
}
|
|
15595
15596
|
),
|
|
15596
|
-
f && /* @__PURE__ */ p(
|
|
15597
|
+
f && /* @__PURE__ */ p(
|
|
15598
|
+
Un,
|
|
15599
|
+
{
|
|
15600
|
+
alwaysEnable: g,
|
|
15601
|
+
disabled: t && !g
|
|
15602
|
+
}
|
|
15603
|
+
)
|
|
15597
15604
|
] })
|
|
15598
15605
|
] })
|
|
15599
15606
|
] }) : /* @__PURE__ */ V(Wt, { children: [
|
|
@@ -15609,18 +15616,18 @@ const h0 = x.forwardRef(function(t, r) {
|
|
|
15609
15616
|
),
|
|
15610
15617
|
m.map(
|
|
15611
15618
|
({
|
|
15612
|
-
label:
|
|
15613
|
-
icon:
|
|
15614
|
-
handler:
|
|
15615
|
-
},
|
|
15619
|
+
label: T = "",
|
|
15620
|
+
icon: y = /* @__PURE__ */ p(ti, {}),
|
|
15621
|
+
handler: F
|
|
15622
|
+
}, P) => /* @__PURE__ */ p(
|
|
15616
15623
|
ut,
|
|
15617
15624
|
{
|
|
15618
|
-
label:
|
|
15625
|
+
label: T,
|
|
15619
15626
|
disabled: t,
|
|
15620
|
-
onClick:
|
|
15621
|
-
children:
|
|
15627
|
+
onClick: F,
|
|
15628
|
+
children: y
|
|
15622
15629
|
},
|
|
15623
|
-
`extra_${
|
|
15630
|
+
`extra_${P}`
|
|
15624
15631
|
)
|
|
15625
15632
|
),
|
|
15626
15633
|
/* @__PURE__ */ p(
|
|
@@ -15719,7 +15726,7 @@ var Vd = hl.default = void 0, S0 = x0(De()), T0 = Ie;
|
|
|
15719
15726
|
Vd = hl.default = (0, S0.default)(/* @__PURE__ */ (0, T0.jsx)("path", {
|
|
15720
15727
|
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"
|
|
15721
15728
|
}), "Create");
|
|
15722
|
-
const
|
|
15729
|
+
const E0 = (e) => e.stopPropagation(), P0 = {
|
|
15723
15730
|
true: { _scrollToTop: !0 },
|
|
15724
15731
|
false: {}
|
|
15725
15732
|
}, C0 = /* @__PURE__ */ p(Vd, {}), F0 = (e) => {
|
|
@@ -15734,9 +15741,9 @@ const P0 = (e) => e.stopPropagation(), E0 = {
|
|
|
15734
15741
|
{
|
|
15735
15742
|
component: Fo,
|
|
15736
15743
|
to: s({ type: "edit", resource: i, id: l.id }),
|
|
15737
|
-
state:
|
|
15744
|
+
state: P0[String(o)],
|
|
15738
15745
|
label: r,
|
|
15739
|
-
onClick:
|
|
15746
|
+
onClick: E0,
|
|
15740
15747
|
...a,
|
|
15741
15748
|
children: t
|
|
15742
15749
|
}
|
|
@@ -15824,8 +15831,8 @@ const k0 = (e) => {
|
|
|
15824
15831
|
hasVerFicha: b = !1,
|
|
15825
15832
|
disableMultipleRowSelection: O = !0,
|
|
15826
15833
|
...C
|
|
15827
|
-
} = e,
|
|
15828
|
-
props: { hasBulkActionButtons: F = !0, ...
|
|
15834
|
+
} = e, E = ha(e), T = Je(), y = qe(e), {
|
|
15835
|
+
props: { hasBulkActionButtons: F = !0, ...P }
|
|
15829
15836
|
} = sl(), {
|
|
15830
15837
|
data: $ = [],
|
|
15831
15838
|
isLoading: w,
|
|
@@ -15894,7 +15901,7 @@ const k0 = (e) => {
|
|
|
15894
15901
|
showInMenu: !0,
|
|
15895
15902
|
onClick: (G) => typeof ce == "function" ? ce(
|
|
15896
15903
|
{
|
|
15897
|
-
...
|
|
15904
|
+
...E,
|
|
15898
15905
|
record: Y.row
|
|
15899
15906
|
},
|
|
15900
15907
|
ae.key
|
|
@@ -15962,7 +15969,7 @@ const k0 = (e) => {
|
|
|
15962
15969
|
isRowSelectable: (Y) => Y.row.id,
|
|
15963
15970
|
initialState: _,
|
|
15964
15971
|
...C,
|
|
15965
|
-
...
|
|
15972
|
+
...P
|
|
15966
15973
|
}
|
|
15967
15974
|
) })
|
|
15968
15975
|
}
|
|
@@ -15997,10 +16004,10 @@ const k0 = (e) => {
|
|
|
15997
16004
|
field: b,
|
|
15998
16005
|
headerName: O,
|
|
15999
16006
|
valueGetter: C,
|
|
16000
|
-
type:
|
|
16007
|
+
type: E = "string",
|
|
16001
16008
|
jsxMobile: T
|
|
16002
16009
|
} = g;
|
|
16003
|
-
return T ? /* @__PURE__ */ p(ke, { children: T(v, g) }) :
|
|
16010
|
+
return T ? /* @__PURE__ */ p(ke, { children: T(v, g) }) : E === "boolean" ? /* @__PURE__ */ p(ke, { children: /* @__PURE__ */ p(
|
|
16004
16011
|
ke,
|
|
16005
16012
|
{
|
|
16006
16013
|
component: "span",
|
|
@@ -16017,7 +16024,7 @@ const k0 = (e) => {
|
|
|
16017
16024
|
const {
|
|
16018
16025
|
key: O,
|
|
16019
16026
|
handler: C,
|
|
16020
|
-
icon:
|
|
16027
|
+
icon: E = /* @__PURE__ */ p(Io, {}),
|
|
16021
16028
|
...T
|
|
16022
16029
|
} = g;
|
|
16023
16030
|
return /* @__PURE__ */ p(
|
|
@@ -16025,7 +16032,7 @@ const k0 = (e) => {
|
|
|
16025
16032
|
{
|
|
16026
16033
|
onClick: (y) => typeof C == "function" ? C({ ...u, record: v }, O) : !1,
|
|
16027
16034
|
...T,
|
|
16028
|
-
children:
|
|
16035
|
+
children: E
|
|
16029
16036
|
},
|
|
16030
16037
|
`actionbutton-${b}}`
|
|
16031
16038
|
);
|
|
@@ -16456,7 +16463,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16456
16463
|
const {
|
|
16457
16464
|
pulsate: y,
|
|
16458
16465
|
rippleX: F,
|
|
16459
|
-
rippleY:
|
|
16466
|
+
rippleY: P,
|
|
16460
16467
|
rippleSize: $,
|
|
16461
16468
|
cb: w
|
|
16462
16469
|
} = T;
|
|
@@ -16472,13 +16479,13 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16472
16479
|
timeout: ri,
|
|
16473
16480
|
pulsate: y,
|
|
16474
16481
|
rippleX: F,
|
|
16475
|
-
rippleY:
|
|
16482
|
+
rippleY: P,
|
|
16476
16483
|
rippleSize: $
|
|
16477
16484
|
}, d.current)]), d.current += 1, m.current = w;
|
|
16478
16485
|
}, [i]), O = x.useCallback((T = {}, y = {}, F = () => {
|
|
16479
16486
|
}) => {
|
|
16480
16487
|
const {
|
|
16481
|
-
pulsate:
|
|
16488
|
+
pulsate: P = !1,
|
|
16482
16489
|
center: $ = a || y.pulsate,
|
|
16483
16490
|
fakeElement: w = !1
|
|
16484
16491
|
// For test purposes
|
|
@@ -16512,7 +16519,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16512
16519
|
}
|
|
16513
16520
|
T != null && T.touches ? v.current === null && (v.current = () => {
|
|
16514
16521
|
b({
|
|
16515
|
-
pulsate:
|
|
16522
|
+
pulsate: P,
|
|
16516
16523
|
rippleX: D,
|
|
16517
16524
|
rippleY: L,
|
|
16518
16525
|
rippleSize: N,
|
|
@@ -16521,7 +16528,7 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16521
16528
|
}, h.start(q0, () => {
|
|
16522
16529
|
v.current && (v.current(), v.current = null);
|
|
16523
16530
|
})) : b({
|
|
16524
|
-
pulsate:
|
|
16531
|
+
pulsate: P,
|
|
16525
16532
|
rippleX: D,
|
|
16526
16533
|
rippleY: L,
|
|
16527
16534
|
rippleSize: N,
|
|
@@ -16531,10 +16538,10 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16531
16538
|
O({}, {
|
|
16532
16539
|
pulsate: !0
|
|
16533
16540
|
});
|
|
16534
|
-
}, [O]),
|
|
16541
|
+
}, [O]), E = x.useCallback((T, y) => {
|
|
16535
16542
|
if (h.clear(), (T == null ? void 0 : T.type) === "touchend" && v.current) {
|
|
16536
16543
|
v.current(), v.current = null, h.start(0, () => {
|
|
16537
|
-
|
|
16544
|
+
E(T, y);
|
|
16538
16545
|
});
|
|
16539
16546
|
return;
|
|
16540
16547
|
}
|
|
@@ -16543,8 +16550,8 @@ const ri = 550, q0 = 80, K0 = lo(nc || (nc = ga`
|
|
|
16543
16550
|
return x.useImperativeHandle(r, () => ({
|
|
16544
16551
|
pulsate: C,
|
|
16545
16552
|
start: O,
|
|
16546
|
-
stop:
|
|
16547
|
-
}), [C, O,
|
|
16553
|
+
stop: E
|
|
16554
|
+
}), [C, O, E]), /* @__PURE__ */ p(X0, S({
|
|
16548
16555
|
className: q(bt.root, i.root, l),
|
|
16549
16556
|
ref: g
|
|
16550
16557
|
}, s, {
|
|
@@ -16646,11 +16653,11 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16646
16653
|
onContextMenu: b,
|
|
16647
16654
|
onDragLeave: O,
|
|
16648
16655
|
onFocus: C,
|
|
16649
|
-
onFocusVisible:
|
|
16656
|
+
onFocusVisible: E,
|
|
16650
16657
|
onKeyDown: T,
|
|
16651
16658
|
onKeyUp: y,
|
|
16652
16659
|
onMouseDown: F,
|
|
16653
|
-
onMouseLeave:
|
|
16660
|
+
onMouseLeave: P,
|
|
16654
16661
|
onMouseUp: $,
|
|
16655
16662
|
onTouchEnd: w,
|
|
16656
16663
|
onTouchMove: R,
|
|
@@ -16681,12 +16688,12 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16681
16688
|
function G(Q, et, It = m) {
|
|
16682
16689
|
return yt((Dt) => (et && et(Dt), !It && k.current && k.current[Q](Dt), !0));
|
|
16683
16690
|
}
|
|
16684
|
-
const
|
|
16685
|
-
oe && Q.preventDefault(),
|
|
16691
|
+
const Ee = G("start", F), Pe = G("stop", b), B = G("stop", O), Z = G("stop", $), I = G("stop", (Q) => {
|
|
16692
|
+
oe && Q.preventDefault(), P && P(Q);
|
|
16686
16693
|
}), te = G("start", M), Re = G("stop", w), Ce = G("stop", R), pe = G("stop", (Q) => {
|
|
16687
16694
|
re(Q), J.current === !1 && ee(!1), v && v(Q);
|
|
16688
16695
|
}, !1), tt = yt((Q) => {
|
|
16689
|
-
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0),
|
|
16696
|
+
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0), E && E(Q)), C && C(Q);
|
|
16690
16697
|
}), le = () => {
|
|
16691
16698
|
const Q = j.current;
|
|
16692
16699
|
return c && c !== "button" && !(Q.tagName === "A" && Q.href);
|
|
@@ -16724,11 +16731,11 @@ const eT = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), tT = ["act
|
|
|
16724
16731
|
ownerState: At,
|
|
16725
16732
|
onBlur: pe,
|
|
16726
16733
|
onClick: g,
|
|
16727
|
-
onContextMenu:
|
|
16734
|
+
onContextMenu: Pe,
|
|
16728
16735
|
onFocus: tt,
|
|
16729
16736
|
onKeyDown: ze,
|
|
16730
16737
|
onKeyUp: rt,
|
|
16731
|
-
onMouseDown:
|
|
16738
|
+
onMouseDown: Ee,
|
|
16732
16739
|
onMouseLeave: I,
|
|
16733
16740
|
onMouseUp: Z,
|
|
16734
16741
|
onDragLeave: B,
|
|
@@ -17021,7 +17028,7 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17021
17028
|
// eslint-disable-next-line react/prop-types
|
|
17022
17029
|
textColor: O = "inherit",
|
|
17023
17030
|
value: C,
|
|
17024
|
-
wrapped:
|
|
17031
|
+
wrapped: E = !1
|
|
17025
17032
|
} = o, T = W(o, aT), y = S({}, o, {
|
|
17026
17033
|
disabled: i,
|
|
17027
17034
|
disableFocusRipple: l,
|
|
@@ -17031,8 +17038,8 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17031
17038
|
label: !!m,
|
|
17032
17039
|
fullWidth: s,
|
|
17033
17040
|
textColor: O,
|
|
17034
|
-
wrapped:
|
|
17035
|
-
}), F = iT(y),
|
|
17041
|
+
wrapped: E
|
|
17042
|
+
}), F = iT(y), P = c && m && /* @__PURE__ */ x.isValidElement(c) ? /* @__PURE__ */ x.cloneElement(c, {
|
|
17036
17043
|
className: q(F.iconWrapper, c.props.className)
|
|
17037
17044
|
}) : c, $ = (R) => {
|
|
17038
17045
|
!g && f && f(R, C), h && h(R);
|
|
@@ -17052,9 +17059,9 @@ const hr = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17052
17059
|
tabIndex: g ? 0 : -1
|
|
17053
17060
|
}, T, {
|
|
17054
17061
|
children: [u === "top" || u === "start" ? /* @__PURE__ */ V(x.Fragment, {
|
|
17055
|
-
children: [
|
|
17062
|
+
children: [P, m]
|
|
17056
17063
|
}) : /* @__PURE__ */ V(x.Fragment, {
|
|
17057
|
-
children: [m,
|
|
17064
|
+
children: [m, P]
|
|
17058
17065
|
}), d]
|
|
17059
17066
|
}));
|
|
17060
17067
|
});
|
|
@@ -17430,7 +17437,7 @@ const Ia = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
17430
17437
|
}, e.scrollableY && {
|
|
17431
17438
|
overflowY: "auto",
|
|
17432
17439
|
overflowX: "hidden"
|
|
17433
|
-
})),
|
|
17440
|
+
})), ET = U("div", {
|
|
17434
17441
|
name: "MuiTabs",
|
|
17435
17442
|
slot: "FlexContainer",
|
|
17436
17443
|
overridesResolver: (e, t) => {
|
|
@@ -17447,7 +17454,7 @@ const Ia = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
17447
17454
|
flexDirection: "column"
|
|
17448
17455
|
}, e.centered && {
|
|
17449
17456
|
justifyContent: "center"
|
|
17450
|
-
})),
|
|
17457
|
+
})), PT = U("span", {
|
|
17451
17458
|
name: "MuiTabs",
|
|
17452
17459
|
slot: "Indicator",
|
|
17453
17460
|
overridesResolver: (e, t) => t.indicator
|
|
@@ -17498,11 +17505,11 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17498
17505
|
orientation: b = "horizontal",
|
|
17499
17506
|
ScrollButtonComponent: O = qd,
|
|
17500
17507
|
scrollButtons: C = "auto",
|
|
17501
|
-
selectionFollowsFocus:
|
|
17508
|
+
selectionFollowsFocus: E,
|
|
17502
17509
|
slots: T = {},
|
|
17503
17510
|
slotProps: y = {},
|
|
17504
17511
|
TabIndicatorProps: F = {},
|
|
17505
|
-
TabScrollButtonProps:
|
|
17512
|
+
TabScrollButtonProps: P = {},
|
|
17506
17513
|
textColor: $ = "primary",
|
|
17507
17514
|
value: w,
|
|
17508
17515
|
variant: R = "standard",
|
|
@@ -17533,7 +17540,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17533
17540
|
ownerState: J
|
|
17534
17541
|
});
|
|
17535
17542
|
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.');
|
|
17536
|
-
const [oe, ee] = x.useState(!1), [ne, ce] = x.useState(uc), [ae, G] = x.useState(!1), [
|
|
17543
|
+
const [oe, ee] = x.useState(!1), [ne, ce] = x.useState(uc), [ae, G] = x.useState(!1), [Ee, Pe] = x.useState(!1), [B, Z] = x.useState(!1), [I, te] = x.useState({
|
|
17537
17544
|
overflow: "hidden",
|
|
17538
17545
|
scrollbarWidth: 0
|
|
17539
17546
|
}), Re = /* @__PURE__ */ new Map(), Ce = x.useRef(null), pe = x.useRef(null), tt = () => {
|
|
@@ -17628,7 +17635,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17628
17635
|
onChange: Ft,
|
|
17629
17636
|
className: q(Y.scrollableX, Y.hideScrollbar)
|
|
17630
17637
|
}) : null;
|
|
17631
|
-
const se = L && (C === "auto" && (ae ||
|
|
17638
|
+
const se = L && (C === "auto" && (ae || Ee) || C === !0);
|
|
17632
17639
|
return H.scrollButtonStart = se ? /* @__PURE__ */ p(O, S({
|
|
17633
17640
|
slots: {
|
|
17634
17641
|
StartScrollButtonIcon: T.StartScrollButtonIcon
|
|
@@ -17640,8 +17647,8 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17640
17647
|
direction: i ? "right" : "left",
|
|
17641
17648
|
onClick: Me,
|
|
17642
17649
|
disabled: !ae
|
|
17643
|
-
},
|
|
17644
|
-
className: q(Y.scrollButtons,
|
|
17650
|
+
}, P, {
|
|
17651
|
+
className: q(Y.scrollButtons, P.className)
|
|
17645
17652
|
})) : null, H.scrollButtonEnd = se ? /* @__PURE__ */ p(O, S({
|
|
17646
17653
|
slots: {
|
|
17647
17654
|
EndScrollButtonIcon: T.EndScrollButtonIcon
|
|
@@ -17652,9 +17659,9 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17652
17659
|
orientation: b,
|
|
17653
17660
|
direction: i ? "left" : "right",
|
|
17654
17661
|
onClick: ot,
|
|
17655
|
-
disabled: !
|
|
17656
|
-
},
|
|
17657
|
-
className: q(Y.scrollButtons,
|
|
17662
|
+
disabled: !Ee
|
|
17663
|
+
}, P, {
|
|
17664
|
+
className: q(Y.scrollButtons, P.className)
|
|
17658
17665
|
})) : null, H;
|
|
17659
17666
|
}, Jt = yt((H) => {
|
|
17660
17667
|
const {
|
|
@@ -17714,7 +17721,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17714
17721
|
}, mt = new IntersectionObserver(Ke, Ae);
|
|
17715
17722
|
mt.observe(se);
|
|
17716
17723
|
const ar = (Mr) => {
|
|
17717
|
-
|
|
17724
|
+
Pe(!Mr[0].isIntersecting);
|
|
17718
17725
|
}, wt = new IntersectionObserver(ar, Ae);
|
|
17719
17726
|
return wt.observe(ue), () => {
|
|
17720
17727
|
mt.disconnect(), wt.disconnect();
|
|
@@ -17730,7 +17737,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17730
17737
|
updateIndicator: le,
|
|
17731
17738
|
updateScrollButtons: Q
|
|
17732
17739
|
}), [le, Q]);
|
|
17733
|
-
const et = /* @__PURE__ */ p(
|
|
17740
|
+
const et = /* @__PURE__ */ p(PT, S({}, F, {
|
|
17734
17741
|
className: q(Y.indicator, F.className),
|
|
17735
17742
|
ownerState: J,
|
|
17736
17743
|
style: S({}, ne, F.style)
|
|
@@ -17748,7 +17755,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17748
17755
|
fullWidth: R === "fullWidth",
|
|
17749
17756
|
indicator: se && !oe && et,
|
|
17750
17757
|
selected: se,
|
|
17751
|
-
selectionFollowsFocus:
|
|
17758
|
+
selectionFollowsFocus: E,
|
|
17752
17759
|
onChange: g,
|
|
17753
17760
|
textColor: $,
|
|
17754
17761
|
value: K
|
|
@@ -17789,7 +17796,7 @@ const Kd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17789
17796
|
[N ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: M ? void 0 : -I.scrollbarWidth
|
|
17790
17797
|
},
|
|
17791
17798
|
ref: Ce,
|
|
17792
|
-
children: [/* @__PURE__ */ p(
|
|
17799
|
+
children: [/* @__PURE__ */ p(ET, {
|
|
17793
17800
|
"aria-label": l,
|
|
17794
17801
|
"aria-labelledby": s,
|
|
17795
17802
|
"aria-orientation": b === "vertical" ? "vertical" : null,
|
|
@@ -18292,27 +18299,27 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18292
18299
|
narrow: /^[1234]/i,
|
|
18293
18300
|
abbreviated: /^q[1234]/i,
|
|
18294
18301
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
18295
|
-
},
|
|
18302
|
+
}, eE = {
|
|
18296
18303
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
18297
|
-
},
|
|
18304
|
+
}, tE = {
|
|
18298
18305
|
narrow: /^[jfmasond]/i,
|
|
18299
18306
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
18300
18307
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
18301
|
-
},
|
|
18308
|
+
}, rE = {
|
|
18302
18309
|
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],
|
|
18303
18310
|
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]
|
|
18304
|
-
},
|
|
18311
|
+
}, oE = {
|
|
18305
18312
|
narrow: /^[smtwf]/i,
|
|
18306
18313
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
18307
18314
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
18308
18315
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
18309
|
-
},
|
|
18316
|
+
}, nE = {
|
|
18310
18317
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
18311
18318
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
18312
|
-
},
|
|
18319
|
+
}, aE = {
|
|
18313
18320
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
18314
18321
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
18315
|
-
},
|
|
18322
|
+
}, iE = {
|
|
18316
18323
|
any: {
|
|
18317
18324
|
am: /^a/i,
|
|
18318
18325
|
pm: /^p/i,
|
|
@@ -18323,7 +18330,7 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18323
18330
|
evening: /evening/i,
|
|
18324
18331
|
night: /night/i
|
|
18325
18332
|
}
|
|
18326
|
-
},
|
|
18333
|
+
}, lE = {
|
|
18327
18334
|
ordinalNumber: Qd({
|
|
18328
18335
|
matchPattern: YT,
|
|
18329
18336
|
parsePattern: QT,
|
|
@@ -18340,42 +18347,42 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18340
18347
|
quarter: jt({
|
|
18341
18348
|
matchPatterns: JT,
|
|
18342
18349
|
defaultMatchWidth: "wide",
|
|
18343
|
-
parsePatterns:
|
|
18350
|
+
parsePatterns: eE,
|
|
18344
18351
|
defaultParseWidth: "any",
|
|
18345
18352
|
valueCallback: function(t) {
|
|
18346
18353
|
return t + 1;
|
|
18347
18354
|
}
|
|
18348
18355
|
}),
|
|
18349
18356
|
month: jt({
|
|
18350
|
-
matchPatterns:
|
|
18357
|
+
matchPatterns: tE,
|
|
18351
18358
|
defaultMatchWidth: "wide",
|
|
18352
|
-
parsePatterns:
|
|
18359
|
+
parsePatterns: rE,
|
|
18353
18360
|
defaultParseWidth: "any"
|
|
18354
18361
|
}),
|
|
18355
18362
|
day: jt({
|
|
18356
|
-
matchPatterns:
|
|
18363
|
+
matchPatterns: oE,
|
|
18357
18364
|
defaultMatchWidth: "wide",
|
|
18358
|
-
parsePatterns:
|
|
18365
|
+
parsePatterns: nE,
|
|
18359
18366
|
defaultParseWidth: "any"
|
|
18360
18367
|
}),
|
|
18361
18368
|
dayPeriod: jt({
|
|
18362
|
-
matchPatterns:
|
|
18369
|
+
matchPatterns: aE,
|
|
18363
18370
|
defaultMatchWidth: "any",
|
|
18364
|
-
parsePatterns:
|
|
18371
|
+
parsePatterns: iE,
|
|
18365
18372
|
defaultParseWidth: "any"
|
|
18366
18373
|
})
|
|
18367
|
-
},
|
|
18374
|
+
}, sE = {
|
|
18368
18375
|
code: "en-US",
|
|
18369
18376
|
formatDistance: $T,
|
|
18370
18377
|
formatLong: DT,
|
|
18371
18378
|
formatRelative: _T,
|
|
18372
18379
|
localize: GT,
|
|
18373
|
-
match:
|
|
18380
|
+
match: lE,
|
|
18374
18381
|
options: {
|
|
18375
18382
|
weekStartsOn: 0,
|
|
18376
18383
|
firstWeekContainsDate: 1
|
|
18377
18384
|
}
|
|
18378
|
-
},
|
|
18385
|
+
}, cE = {
|
|
18379
18386
|
lessThanXSeconds: {
|
|
18380
18387
|
one: "menos de un segundo",
|
|
18381
18388
|
other: "menos de {{count}} segundos"
|
|
@@ -18437,71 +18444,71 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18437
18444
|
one: "casi 1 año",
|
|
18438
18445
|
other: "casi {{count}} años"
|
|
18439
18446
|
}
|
|
18440
|
-
},
|
|
18441
|
-
var a, i =
|
|
18447
|
+
}, uE = function(t, r, o) {
|
|
18448
|
+
var a, i = cE[t];
|
|
18442
18449
|
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;
|
|
18443
|
-
},
|
|
18450
|
+
}, dE = {
|
|
18444
18451
|
full: "EEEE, d 'de' MMMM 'de' y",
|
|
18445
18452
|
long: "d 'de' MMMM 'de' y",
|
|
18446
18453
|
medium: "d MMM y",
|
|
18447
18454
|
short: "dd/MM/y"
|
|
18448
|
-
},
|
|
18455
|
+
}, pE = {
|
|
18449
18456
|
full: "HH:mm:ss zzzz",
|
|
18450
18457
|
long: "HH:mm:ss z",
|
|
18451
18458
|
medium: "HH:mm:ss",
|
|
18452
18459
|
short: "HH:mm"
|
|
18453
|
-
},
|
|
18460
|
+
}, fE = {
|
|
18454
18461
|
full: "{{date}} 'a las' {{time}}",
|
|
18455
18462
|
long: "{{date}} 'a las' {{time}}",
|
|
18456
18463
|
medium: "{{date}}, {{time}}",
|
|
18457
18464
|
short: "{{date}}, {{time}}"
|
|
18458
|
-
},
|
|
18465
|
+
}, mE = {
|
|
18459
18466
|
date: Wr({
|
|
18460
|
-
formats:
|
|
18467
|
+
formats: dE,
|
|
18461
18468
|
defaultWidth: "full"
|
|
18462
18469
|
}),
|
|
18463
18470
|
time: Wr({
|
|
18464
|
-
formats:
|
|
18471
|
+
formats: pE,
|
|
18465
18472
|
defaultWidth: "full"
|
|
18466
18473
|
}),
|
|
18467
18474
|
dateTime: Wr({
|
|
18468
|
-
formats:
|
|
18475
|
+
formats: fE,
|
|
18469
18476
|
defaultWidth: "full"
|
|
18470
18477
|
})
|
|
18471
|
-
},
|
|
18478
|
+
}, hE = {
|
|
18472
18479
|
lastWeek: "'el' eeee 'pasado a la' p",
|
|
18473
18480
|
yesterday: "'ayer a la' p",
|
|
18474
18481
|
today: "'hoy a la' p",
|
|
18475
18482
|
tomorrow: "'mañana a la' p",
|
|
18476
18483
|
nextWeek: "eeee 'a la' p",
|
|
18477
18484
|
other: "P"
|
|
18478
|
-
},
|
|
18485
|
+
}, gE = {
|
|
18479
18486
|
lastWeek: "'el' eeee 'pasado a las' p",
|
|
18480
18487
|
yesterday: "'ayer a las' p",
|
|
18481
18488
|
today: "'hoy a las' p",
|
|
18482
18489
|
tomorrow: "'mañana a las' p",
|
|
18483
18490
|
nextWeek: "eeee 'a las' p",
|
|
18484
18491
|
other: "P"
|
|
18485
|
-
},
|
|
18486
|
-
return r.getUTCHours() !== 1 ?
|
|
18487
|
-
},
|
|
18492
|
+
}, bE = function(t, r, o, a) {
|
|
18493
|
+
return r.getUTCHours() !== 1 ? gE[t] : hE[t];
|
|
18494
|
+
}, vE = {
|
|
18488
18495
|
narrow: ["AC", "DC"],
|
|
18489
18496
|
abbreviated: ["AC", "DC"],
|
|
18490
18497
|
wide: ["antes de cristo", "después de cristo"]
|
|
18491
|
-
},
|
|
18498
|
+
}, yE = {
|
|
18492
18499
|
narrow: ["1", "2", "3", "4"],
|
|
18493
18500
|
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
18494
18501
|
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
|
|
18495
|
-
},
|
|
18502
|
+
}, OE = {
|
|
18496
18503
|
narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
18497
18504
|
abbreviated: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
|
|
18498
18505
|
wide: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"]
|
|
18499
|
-
},
|
|
18506
|
+
}, xE = {
|
|
18500
18507
|
narrow: ["d", "l", "m", "m", "j", "v", "s"],
|
|
18501
18508
|
short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
|
|
18502
18509
|
abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
|
18503
18510
|
wide: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"]
|
|
18504
|
-
},
|
|
18511
|
+
}, SE = {
|
|
18505
18512
|
narrow: {
|
|
18506
18513
|
am: "a",
|
|
18507
18514
|
pm: "p",
|
|
@@ -18532,7 +18539,7 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18532
18539
|
evening: "tarde",
|
|
18533
18540
|
night: "noche"
|
|
18534
18541
|
}
|
|
18535
|
-
},
|
|
18542
|
+
}, TE = {
|
|
18536
18543
|
narrow: {
|
|
18537
18544
|
am: "a",
|
|
18538
18545
|
pm: "p",
|
|
@@ -18563,68 +18570,68 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18563
18570
|
evening: "de la tarde",
|
|
18564
18571
|
night: "de la noche"
|
|
18565
18572
|
}
|
|
18566
|
-
},
|
|
18573
|
+
}, EE = function(t, r) {
|
|
18567
18574
|
var o = Number(t);
|
|
18568
18575
|
return o + "º";
|
|
18569
|
-
},
|
|
18570
|
-
ordinalNumber:
|
|
18576
|
+
}, PE = {
|
|
18577
|
+
ordinalNumber: EE,
|
|
18571
18578
|
era: _t({
|
|
18572
|
-
values:
|
|
18579
|
+
values: vE,
|
|
18573
18580
|
defaultWidth: "wide"
|
|
18574
18581
|
}),
|
|
18575
18582
|
quarter: _t({
|
|
18576
|
-
values:
|
|
18583
|
+
values: yE,
|
|
18577
18584
|
defaultWidth: "wide",
|
|
18578
18585
|
argumentCallback: function(t) {
|
|
18579
18586
|
return Number(t) - 1;
|
|
18580
18587
|
}
|
|
18581
18588
|
}),
|
|
18582
18589
|
month: _t({
|
|
18583
|
-
values:
|
|
18590
|
+
values: OE,
|
|
18584
18591
|
defaultWidth: "wide"
|
|
18585
18592
|
}),
|
|
18586
18593
|
day: _t({
|
|
18587
|
-
values:
|
|
18594
|
+
values: xE,
|
|
18588
18595
|
defaultWidth: "wide"
|
|
18589
18596
|
}),
|
|
18590
18597
|
dayPeriod: _t({
|
|
18591
|
-
values:
|
|
18598
|
+
values: SE,
|
|
18592
18599
|
defaultWidth: "wide",
|
|
18593
|
-
formattingValues:
|
|
18600
|
+
formattingValues: TE,
|
|
18594
18601
|
defaultFormattingWidth: "wide"
|
|
18595
18602
|
})
|
|
18596
|
-
},
|
|
18603
|
+
}, CE = /^(\d+)(º)?/i, FE = /\d+/i, wE = {
|
|
18597
18604
|
narrow: /^(ac|dc|a|d)/i,
|
|
18598
18605
|
abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
|
|
18599
18606
|
wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
|
|
18600
|
-
},
|
|
18607
|
+
}, RE = {
|
|
18601
18608
|
any: [/^ac/i, /^dc/i],
|
|
18602
18609
|
wide: [/^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i]
|
|
18603
|
-
},
|
|
18610
|
+
}, ME = {
|
|
18604
18611
|
narrow: /^[1234]/i,
|
|
18605
18612
|
abbreviated: /^T[1234]/i,
|
|
18606
18613
|
wide: /^[1234](º)? trimestre/i
|
|
18607
|
-
},
|
|
18614
|
+
}, kE = {
|
|
18608
18615
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
18609
|
-
}, $
|
|
18616
|
+
}, $E = {
|
|
18610
18617
|
narrow: /^[efmajsond]/i,
|
|
18611
18618
|
abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,
|
|
18612
18619
|
wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i
|
|
18613
|
-
},
|
|
18620
|
+
}, LE = {
|
|
18614
18621
|
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],
|
|
18615
18622
|
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]
|
|
18616
|
-
},
|
|
18623
|
+
}, AE = {
|
|
18617
18624
|
narrow: /^[dlmjvs]/i,
|
|
18618
18625
|
short: /^(do|lu|ma|mi|ju|vi|s[áa])/i,
|
|
18619
18626
|
abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,
|
|
18620
18627
|
wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
|
|
18621
|
-
},
|
|
18628
|
+
}, IE = {
|
|
18622
18629
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
18623
18630
|
any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
|
|
18624
|
-
},
|
|
18631
|
+
}, DE = {
|
|
18625
18632
|
narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,
|
|
18626
18633
|
any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i
|
|
18627
|
-
},
|
|
18634
|
+
}, NE = {
|
|
18628
18635
|
any: {
|
|
18629
18636
|
am: /^a/i,
|
|
18630
18637
|
pm: /^p/i,
|
|
@@ -18635,54 +18642,54 @@ var YT = /^(\d+)(th|st|nd|rd)?/i, QT = /\d+/i, XT = {
|
|
|
18635
18642
|
evening: /tarde/i,
|
|
18636
18643
|
night: /noche/i
|
|
18637
18644
|
}
|
|
18638
|
-
},
|
|
18645
|
+
}, _E = {
|
|
18639
18646
|
ordinalNumber: Qd({
|
|
18640
|
-
matchPattern:
|
|
18641
|
-
parsePattern:
|
|
18647
|
+
matchPattern: CE,
|
|
18648
|
+
parsePattern: FE,
|
|
18642
18649
|
valueCallback: function(t) {
|
|
18643
18650
|
return parseInt(t, 10);
|
|
18644
18651
|
}
|
|
18645
18652
|
}),
|
|
18646
18653
|
era: jt({
|
|
18647
|
-
matchPatterns:
|
|
18654
|
+
matchPatterns: wE,
|
|
18648
18655
|
defaultMatchWidth: "wide",
|
|
18649
|
-
parsePatterns:
|
|
18656
|
+
parsePatterns: RE,
|
|
18650
18657
|
defaultParseWidth: "any"
|
|
18651
18658
|
}),
|
|
18652
18659
|
quarter: jt({
|
|
18653
|
-
matchPatterns:
|
|
18660
|
+
matchPatterns: ME,
|
|
18654
18661
|
defaultMatchWidth: "wide",
|
|
18655
|
-
parsePatterns:
|
|
18662
|
+
parsePatterns: kE,
|
|
18656
18663
|
defaultParseWidth: "any",
|
|
18657
18664
|
valueCallback: function(t) {
|
|
18658
18665
|
return t + 1;
|
|
18659
18666
|
}
|
|
18660
18667
|
}),
|
|
18661
18668
|
month: jt({
|
|
18662
|
-
matchPatterns: $
|
|
18669
|
+
matchPatterns: $E,
|
|
18663
18670
|
defaultMatchWidth: "wide",
|
|
18664
|
-
parsePatterns:
|
|
18671
|
+
parsePatterns: LE,
|
|
18665
18672
|
defaultParseWidth: "any"
|
|
18666
18673
|
}),
|
|
18667
18674
|
day: jt({
|
|
18668
|
-
matchPatterns:
|
|
18675
|
+
matchPatterns: AE,
|
|
18669
18676
|
defaultMatchWidth: "wide",
|
|
18670
|
-
parsePatterns:
|
|
18677
|
+
parsePatterns: IE,
|
|
18671
18678
|
defaultParseWidth: "any"
|
|
18672
18679
|
}),
|
|
18673
18680
|
dayPeriod: jt({
|
|
18674
|
-
matchPatterns:
|
|
18681
|
+
matchPatterns: DE,
|
|
18675
18682
|
defaultMatchWidth: "any",
|
|
18676
|
-
parsePatterns:
|
|
18683
|
+
parsePatterns: NE,
|
|
18677
18684
|
defaultParseWidth: "any"
|
|
18678
18685
|
})
|
|
18679
|
-
},
|
|
18686
|
+
}, jE = {
|
|
18680
18687
|
code: "es",
|
|
18681
|
-
formatDistance:
|
|
18682
|
-
formatLong:
|
|
18683
|
-
formatRelative:
|
|
18684
|
-
localize:
|
|
18685
|
-
match:
|
|
18688
|
+
formatDistance: uE,
|
|
18689
|
+
formatLong: mE,
|
|
18690
|
+
formatRelative: bE,
|
|
18691
|
+
localize: PE,
|
|
18692
|
+
match: _E,
|
|
18686
18693
|
options: {
|
|
18687
18694
|
weekStartsOn: 1,
|
|
18688
18695
|
firstWeekContainsDate: 1
|
|
@@ -18701,11 +18708,11 @@ const lt = (e) => {
|
|
|
18701
18708
|
} = s || {}, h = d === !0 ? Xd : void 0, v = typeof m == "function" ? m : () => m, { [t]: g = {}, etrs: b } = a, {
|
|
18702
18709
|
onFocus: O,
|
|
18703
18710
|
onChange: C,
|
|
18704
|
-
onBlur:
|
|
18711
|
+
onBlur: E,
|
|
18705
18712
|
hidden: T = !1,
|
|
18706
18713
|
disabled: y = !1,
|
|
18707
18714
|
validate: F,
|
|
18708
|
-
...
|
|
18715
|
+
...P
|
|
18709
18716
|
} = e, { field: $ } = Wc(e), {
|
|
18710
18717
|
onFocus: w,
|
|
18711
18718
|
onBlur: R,
|
|
@@ -18715,8 +18722,8 @@ const lt = (e) => {
|
|
|
18715
18722
|
useContenido: N = pr,
|
|
18716
18723
|
validate: _,
|
|
18717
18724
|
...A
|
|
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 ?
|
|
18719
|
-
...
|
|
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 ? E : R, Y = l || M === void 0 ? C : M, re = Zt({ ...e, etrs: b, asisEtr: i }), Te = N({
|
|
18726
|
+
...P,
|
|
18720
18727
|
estado: r,
|
|
18721
18728
|
hidden: j,
|
|
18722
18729
|
isLoading: o,
|
|
@@ -18736,9 +18743,9 @@ const lt = (e) => {
|
|
|
18736
18743
|
onFocus: ce,
|
|
18737
18744
|
onChange: ae,
|
|
18738
18745
|
onBlur: G,
|
|
18739
|
-
validate:
|
|
18740
|
-
...
|
|
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(
|
|
18746
|
+
validate: Ee,
|
|
18747
|
+
...Pe
|
|
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(Ee) ? Ee : [Ee], tt = [
|
|
18742
18749
|
...Re,
|
|
18743
18750
|
...Ce,
|
|
18744
18751
|
...pe,
|
|
@@ -18755,15 +18762,15 @@ const lt = (e) => {
|
|
|
18755
18762
|
onChange: (le) => I && I(te, r, le),
|
|
18756
18763
|
helperText: !1,
|
|
18757
18764
|
validate: tt,
|
|
18758
|
-
...
|
|
18765
|
+
...P,
|
|
18759
18766
|
...A,
|
|
18760
|
-
...
|
|
18767
|
+
...Pe,
|
|
18761
18768
|
disabled: c !== void 0 ? c : ne !== void 0 ? ne : k,
|
|
18762
18769
|
...f ? { label: f } : {}
|
|
18763
18770
|
},
|
|
18764
18771
|
hidden: u !== void 0 ? u : ee !== void 0 ? ee : j
|
|
18765
18772
|
};
|
|
18766
|
-
},
|
|
18773
|
+
}, VE = (e) => e.split("_")[1], BE = /^\d{2}\/\d{2}\/\d{4}$/, Nn = (e) => {
|
|
18767
18774
|
if (!(e instanceof Date) || isNaN(e.getDate()))
|
|
18768
18775
|
return "";
|
|
18769
18776
|
const t = "00", r = e.getFullYear().toString(), o = (e.getMonth() + 1).toString(), a = e.getDate().toString();
|
|
@@ -18773,7 +18780,7 @@ const lt = (e) => {
|
|
|
18773
18780
|
return "";
|
|
18774
18781
|
if (e instanceof Date)
|
|
18775
18782
|
return Nn(e);
|
|
18776
|
-
if (
|
|
18783
|
+
if (BE.test(e)) {
|
|
18777
18784
|
const t = e.split("/");
|
|
18778
18785
|
return t[2] + "-" + t[1] + "-" + t[0];
|
|
18779
18786
|
}
|
|
@@ -18783,12 +18790,12 @@ const lt = (e) => {
|
|
|
18783
18790
|
return "";
|
|
18784
18791
|
const t = e.split("-");
|
|
18785
18792
|
return t[2] + "/" + t[1] + "/" + t[0];
|
|
18786
|
-
},
|
|
18793
|
+
}, zE = /^\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}$/, Kw = (e) => {
|
|
18787
18794
|
if (e == null || e === "")
|
|
18788
18795
|
return "";
|
|
18789
18796
|
if (e instanceof Date)
|
|
18790
18797
|
return Nn(e);
|
|
18791
|
-
if (
|
|
18798
|
+
if (zE.test(e)) {
|
|
18792
18799
|
const t = e.split(" "), r = t[0].split("/");
|
|
18793
18800
|
return r[2] + "-" + r[1] + "-" + r[0] + " " + t[1];
|
|
18794
18801
|
}
|
|
@@ -18814,7 +18821,7 @@ const lt = (e) => {
|
|
|
18814
18821
|
let r = /* @__PURE__ */ new Date();
|
|
18815
18822
|
return r.setHours(t[0]), r.setMinutes(t[1]), r.toString();
|
|
18816
18823
|
}
|
|
18817
|
-
}, Xw = (e, t) => e ? e.split(" ")[4].substring(0, 5) : "",
|
|
18824
|
+
}, Xw = (e, t) => e ? e.split(" ")[4].substring(0, 5) : "", HE = ({
|
|
18818
18825
|
className: e,
|
|
18819
18826
|
record: t,
|
|
18820
18827
|
hasEdit: r,
|
|
@@ -18834,11 +18841,11 @@ const lt = (e) => {
|
|
|
18834
18841
|
onToggleItem: b,
|
|
18835
18842
|
isLoading: O,
|
|
18836
18843
|
exporter: C,
|
|
18837
|
-
hideFilter:
|
|
18844
|
+
hideFilter: E,
|
|
18838
18845
|
hasCreate: T,
|
|
18839
18846
|
filterValues: y,
|
|
18840
18847
|
displayedFilters: F,
|
|
18841
|
-
sort:
|
|
18848
|
+
sort: P,
|
|
18842
18849
|
...$
|
|
18843
18850
|
}) => $, Zw = (e) => {
|
|
18844
18851
|
const { hidden: t } = lt(e);
|
|
@@ -18850,10 +18857,10 @@ const lt = (e) => {
|
|
|
18850
18857
|
hasShow: o,
|
|
18851
18858
|
hasList: a = !0,
|
|
18852
18859
|
...i
|
|
18853
|
-
}) => /* @__PURE__ */ V(Kc, { className: t, ...
|
|
18860
|
+
}) => /* @__PURE__ */ V(Kc, { className: t, ...HE(i), children: [
|
|
18854
18861
|
e,
|
|
18855
|
-
a && /* @__PURE__ */ p(
|
|
18856
|
-
o && /* @__PURE__ */ p(
|
|
18862
|
+
a && /* @__PURE__ */ p(Ef, { label: "ra.action.back", icon: /* @__PURE__ */ p(Yd, {}) }),
|
|
18863
|
+
o && /* @__PURE__ */ p(Pf, { record: r })
|
|
18857
18864
|
] }), Xd = Sf(), eR = [Xd, Tf(1)], tR = { inputFormat: "dd/MM/yyyy" }, rR = (e) => (t, r) => {
|
|
18858
18865
|
const o = r[e];
|
|
18859
18866
|
if (t && o) {
|
|
@@ -18865,7 +18872,7 @@ const lt = (e) => {
|
|
|
18865
18872
|
};
|
|
18866
18873
|
}
|
|
18867
18874
|
}, oR = (e = "es") => ({
|
|
18868
|
-
locale: e === "en" ?
|
|
18875
|
+
locale: e === "en" ? sE : jE
|
|
18869
18876
|
}), nR = [
|
|
18870
18877
|
{ id: "1", name: "Aprobado" },
|
|
18871
18878
|
{ id: "2", name: "Rechazado" },
|
|
@@ -18900,22 +18907,22 @@ const lt = (e) => {
|
|
|
18900
18907
|
return e.toLocaleString("es", t).replace(",", "");
|
|
18901
18908
|
}, uR = (e, t) => {
|
|
18902
18909
|
const r = qe(), { data: o, isLoading: a, error: i } = qc(
|
|
18903
|
-
"cb_" +
|
|
18910
|
+
"cb_" + VE(r) + "_" + e,
|
|
18904
18911
|
{ id: t }
|
|
18905
18912
|
);
|
|
18906
18913
|
return a || i ? "" : (o == null ? void 0 : o.etiqueta) || "";
|
|
18907
18914
|
};
|
|
18908
|
-
var yl = {},
|
|
18915
|
+
var yl = {}, WE = $e;
|
|
18909
18916
|
Object.defineProperty(yl, "__esModule", {
|
|
18910
18917
|
value: !0
|
|
18911
18918
|
});
|
|
18912
|
-
var Zd = yl.default = void 0,
|
|
18913
|
-
Zd = yl.default = (0,
|
|
18919
|
+
var Zd = yl.default = void 0, UE = WE(De()), GE = Ie;
|
|
18920
|
+
Zd = yl.default = (0, UE.default)(/* @__PURE__ */ (0, GE.jsx)("path", {
|
|
18914
18921
|
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"
|
|
18915
18922
|
}), "Close");
|
|
18916
18923
|
const Jd = (e) => {
|
|
18917
18924
|
const t = Je(), { defaultTitle: r, onClose: o, record: a, title: i } = e;
|
|
18918
|
-
return /* @__PURE__ */ V(
|
|
18925
|
+
return /* @__PURE__ */ V(qE, { id: "edit-dialog-title", children: [
|
|
18919
18926
|
yr(i) ? tr(i, { record: a }) : i ? t(i, { _: i }) : r,
|
|
18920
18927
|
/* @__PURE__ */ p(
|
|
18921
18928
|
Cn,
|
|
@@ -18929,7 +18936,7 @@ const Jd = (e) => {
|
|
|
18929
18936
|
] });
|
|
18930
18937
|
}, ep = "RaFormDialogTitle", tp = {
|
|
18931
18938
|
closeButton: `${ep}-closeButton`
|
|
18932
|
-
},
|
|
18939
|
+
}, qE = U(Bc, {
|
|
18933
18940
|
name: ep,
|
|
18934
18941
|
overridesResolver: (e, t) => t.root
|
|
18935
18942
|
})(({ theme: e }) => ({
|
|
@@ -18946,7 +18953,7 @@ const Jd = (e) => {
|
|
|
18946
18953
|
close: (e == null ? void 0 : e.close) ?? (t == null ? void 0 : t.close)
|
|
18947
18954
|
};
|
|
18948
18955
|
return r.isOpen == null && r.open == null && r.close == null ? null : r;
|
|
18949
|
-
},
|
|
18956
|
+
}, KE = (e) => {
|
|
18950
18957
|
const t = qe(e), r = op(e);
|
|
18951
18958
|
return r ? /* @__PURE__ */ p(pc, { resource: t, ...r, ...e }) : /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(
|
|
18952
18959
|
gi,
|
|
@@ -18987,7 +18994,7 @@ const Jd = (e) => {
|
|
|
18987
18994
|
"aria-labelledby": "create-dialog-title",
|
|
18988
18995
|
onClose: h,
|
|
18989
18996
|
"data-testid": "create-dialog",
|
|
18990
|
-
...
|
|
18997
|
+
...YE(a),
|
|
18991
18998
|
children: [
|
|
18992
18999
|
/* @__PURE__ */ p(
|
|
18993
19000
|
Jd,
|
|
@@ -19003,7 +19010,7 @@ const Jd = (e) => {
|
|
|
19003
19010
|
]
|
|
19004
19011
|
}
|
|
19005
19012
|
);
|
|
19006
|
-
},
|
|
19013
|
+
}, YE = ({
|
|
19007
19014
|
basePath: e = null,
|
|
19008
19015
|
hasCreate: t = null,
|
|
19009
19016
|
hasEdit: r = null,
|
|
@@ -19023,12 +19030,12 @@ const Jd = (e) => {
|
|
|
19023
19030
|
close: b = null,
|
|
19024
19031
|
...O
|
|
19025
19032
|
}) => O;
|
|
19026
|
-
var Ol = {},
|
|
19033
|
+
var Ol = {}, QE = $e;
|
|
19027
19034
|
Object.defineProperty(Ol, "__esModule", {
|
|
19028
19035
|
value: !0
|
|
19029
19036
|
});
|
|
19030
|
-
var np = Ol.default = void 0,
|
|
19031
|
-
np = Ol.default = (0,
|
|
19037
|
+
var np = Ol.default = void 0, XE = QE(De()), ZE = Ie;
|
|
19038
|
+
np = Ol.default = (0, XE.default)(/* @__PURE__ */ (0, ZE.jsx)("path", {
|
|
19032
19039
|
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"
|
|
19033
19040
|
}), "OpenInNew");
|
|
19034
19041
|
const ap = (e) => {
|
|
@@ -19044,7 +19051,7 @@ const ap = (e) => {
|
|
|
19044
19051
|
}),
|
|
19045
19052
|
[i, r, a]
|
|
19046
19053
|
), {
|
|
19047
|
-
icon: s =
|
|
19054
|
+
icon: s = JE,
|
|
19048
19055
|
label: c = "",
|
|
19049
19056
|
inline: u,
|
|
19050
19057
|
dialog: d,
|
|
@@ -19069,14 +19076,14 @@ const ap = (e) => {
|
|
|
19069
19076
|
v,
|
|
19070
19077
|
d
|
|
19071
19078
|
] });
|
|
19072
|
-
},
|
|
19079
|
+
}, JE = /* @__PURE__ */ p(np, {}), eP = (e) => {
|
|
19073
19080
|
const {
|
|
19074
19081
|
inline: t,
|
|
19075
|
-
icon: r =
|
|
19082
|
+
icon: r = tP,
|
|
19076
19083
|
label: o = "ra.action.create",
|
|
19077
19084
|
ButtonProps: a,
|
|
19078
19085
|
...i
|
|
19079
|
-
} = e, l = /* @__PURE__ */ p(
|
|
19086
|
+
} = e, l = /* @__PURE__ */ p(KE, { ...i });
|
|
19080
19087
|
return /* @__PURE__ */ p(
|
|
19081
19088
|
ap,
|
|
19082
19089
|
{
|
|
@@ -19087,7 +19094,7 @@ const ap = (e) => {
|
|
|
19087
19094
|
ButtonProps: a
|
|
19088
19095
|
}
|
|
19089
19096
|
);
|
|
19090
|
-
},
|
|
19097
|
+
}, tP = /* @__PURE__ */ p(Xo, {}), Ur = "FormEtriek", Da = {
|
|
19091
19098
|
form: `${Ur}-form`,
|
|
19092
19099
|
tab: `${Ur}-tab`,
|
|
19093
19100
|
contenido: `${Ur}-contenido`
|
|
@@ -19134,13 +19141,13 @@ const ap = (e) => {
|
|
|
19134
19141
|
[t, i, Na, l]
|
|
19135
19142
|
);
|
|
19136
19143
|
return typeof t == "function" ? s : void 0;
|
|
19137
|
-
},
|
|
19144
|
+
}, rP = (e) => {
|
|
19138
19145
|
const {
|
|
19139
19146
|
useFormulario: t = pr,
|
|
19140
19147
|
enableLoad: r = !0,
|
|
19141
19148
|
tipo: o,
|
|
19142
19149
|
...a
|
|
19143
|
-
} = e, i = qe(e), l = o === "ventana" ?
|
|
19150
|
+
} = e, i = qe(e), l = o === "ventana" ? eP : Rf, { data: s, isLoading: c } = FT(i, {
|
|
19144
19151
|
enabled: r
|
|
19145
19152
|
}), { fichaProps: u } = bl(e), d = Kt(
|
|
19146
19153
|
() => ({ estado: "N", initialValues: s, isLoading: c, fichaProps: u }),
|
|
@@ -19154,10 +19161,10 @@ const ap = (e) => {
|
|
|
19154
19161
|
...u == null ? void 0 : u.panel
|
|
19155
19162
|
}
|
|
19156
19163
|
) }) }) });
|
|
19157
|
-
}, dR = U(
|
|
19164
|
+
}, dR = U(rP, {
|
|
19158
19165
|
name: Ur,
|
|
19159
19166
|
overridesResolver: (e, t) => t.root
|
|
19160
|
-
})(({ theme: e }) => xl(e)),
|
|
19167
|
+
})(({ theme: e }) => xl(e)), oP = (e) => {
|
|
19161
19168
|
const t = qe(e), r = op(e);
|
|
19162
19169
|
return r ? /* @__PURE__ */ p(fc, { resource: t, ...r, ...e }) : /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(
|
|
19163
19170
|
gi,
|
|
@@ -19198,7 +19205,7 @@ const ap = (e) => {
|
|
|
19198
19205
|
"aria-labelledby": "list-dialog-title",
|
|
19199
19206
|
onClose: h,
|
|
19200
19207
|
"data-testid": "list-dialog",
|
|
19201
|
-
...
|
|
19208
|
+
...nP(a),
|
|
19202
19209
|
children: [
|
|
19203
19210
|
/* @__PURE__ */ p(
|
|
19204
19211
|
Jd,
|
|
@@ -19214,7 +19221,7 @@ const ap = (e) => {
|
|
|
19214
19221
|
]
|
|
19215
19222
|
}
|
|
19216
19223
|
);
|
|
19217
|
-
},
|
|
19224
|
+
}, nP = ({
|
|
19218
19225
|
basePath: e = null,
|
|
19219
19226
|
hasCreate: t = null,
|
|
19220
19227
|
hasEdit: r = null,
|
|
@@ -19232,14 +19239,14 @@ const ap = (e) => {
|
|
|
19232
19239
|
open: v = null,
|
|
19233
19240
|
close: g = null,
|
|
19234
19241
|
...b
|
|
19235
|
-
}) => b,
|
|
19242
|
+
}) => b, aP = (e) => {
|
|
19236
19243
|
const {
|
|
19237
19244
|
inline: t,
|
|
19238
|
-
icon: r =
|
|
19245
|
+
icon: r = iP,
|
|
19239
19246
|
label: o = "ra.action.list",
|
|
19240
19247
|
ButtonProps: a,
|
|
19241
19248
|
...i
|
|
19242
|
-
} = e, l = /* @__PURE__ */ p(
|
|
19249
|
+
} = e, l = /* @__PURE__ */ p(oP, { ...i });
|
|
19243
19250
|
return /* @__PURE__ */ p(
|
|
19244
19251
|
ap,
|
|
19245
19252
|
{
|
|
@@ -19250,14 +19257,14 @@ const ap = (e) => {
|
|
|
19250
19257
|
ButtonProps: a
|
|
19251
19258
|
}
|
|
19252
19259
|
);
|
|
19253
|
-
},
|
|
19260
|
+
}, iP = /* @__PURE__ */ p(Xo, {}), pR = (e) => {
|
|
19254
19261
|
const { tipo: t, ...r } = e;
|
|
19255
|
-
return /* @__PURE__ */ p(kS, { children: /* @__PURE__ */ p(ll, { children: /* @__PURE__ */ p(t === "ventana" ?
|
|
19262
|
+
return /* @__PURE__ */ p(kS, { children: /* @__PURE__ */ p(ll, { children: /* @__PURE__ */ p(t === "ventana" ? aP : Yc, { ...r }) }) });
|
|
19256
19263
|
};
|
|
19257
|
-
function
|
|
19264
|
+
function lP(e) {
|
|
19258
19265
|
return me("MuiIconButton", e);
|
|
19259
19266
|
}
|
|
19260
|
-
const
|
|
19267
|
+
const sP = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), cP = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], uP = (e) => {
|
|
19261
19268
|
const {
|
|
19262
19269
|
classes: t,
|
|
19263
19270
|
disabled: r,
|
|
@@ -19267,8 +19274,8 @@ const sE = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19267
19274
|
} = e, l = {
|
|
19268
19275
|
root: ["root", r && "disabled", o !== "default" && `color${X(o)}`, a && `edge${X(a)}`, `size${X(i)}`]
|
|
19269
19276
|
};
|
|
19270
|
-
return ve(l,
|
|
19271
|
-
},
|
|
19277
|
+
return ve(l, lP, t);
|
|
19278
|
+
}, dP = U(po, {
|
|
19272
19279
|
name: "MuiIconButton",
|
|
19273
19280
|
slot: "Root",
|
|
19274
19281
|
overridesResolver: (e, t) => {
|
|
@@ -19330,7 +19337,7 @@ const sE = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19330
19337
|
padding: 12,
|
|
19331
19338
|
fontSize: e.typography.pxToRem(28)
|
|
19332
19339
|
}, {
|
|
19333
|
-
[`&.${
|
|
19340
|
+
[`&.${sP.disabled}`]: {
|
|
19334
19341
|
backgroundColor: "transparent",
|
|
19335
19342
|
color: (e.vars || e).palette.action.disabled
|
|
19336
19343
|
}
|
|
@@ -19347,14 +19354,14 @@ const sE = fe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
19347
19354
|
disabled: c = !1,
|
|
19348
19355
|
disableFocusRipple: u = !1,
|
|
19349
19356
|
size: d = "medium"
|
|
19350
|
-
} = o, m = W(o,
|
|
19357
|
+
} = o, m = W(o, cP), f = S({}, o, {
|
|
19351
19358
|
edge: a,
|
|
19352
19359
|
color: s,
|
|
19353
19360
|
disabled: c,
|
|
19354
19361
|
disableFocusRipple: u,
|
|
19355
19362
|
size: d
|
|
19356
|
-
}), h =
|
|
19357
|
-
return /* @__PURE__ */ p(
|
|
19363
|
+
}), h = uP(f);
|
|
19364
|
+
return /* @__PURE__ */ p(dP, S({
|
|
19358
19365
|
className: q(h.root, l),
|
|
19359
19366
|
centerRipple: !0,
|
|
19360
19367
|
focusRipple: !u,
|
|
@@ -19427,11 +19434,11 @@ process.env.NODE_ENV !== "production" && (zt.propTypes = {
|
|
|
19427
19434
|
*/
|
|
19428
19435
|
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
|
|
19429
19436
|
});
|
|
19430
|
-
const
|
|
19437
|
+
const pP = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
19431
19438
|
function oi(e) {
|
|
19432
19439
|
return `scale(${e}, ${e ** 2})`;
|
|
19433
19440
|
}
|
|
19434
|
-
const
|
|
19441
|
+
const fP = {
|
|
19435
19442
|
entering: {
|
|
19436
19443
|
opacity: 1,
|
|
19437
19444
|
transform: oi(1)
|
|
@@ -19457,12 +19464,12 @@ const fE = {
|
|
|
19457
19464
|
timeout: g = "auto",
|
|
19458
19465
|
// eslint-disable-next-line react/prop-types
|
|
19459
19466
|
TransitionComponent: b = Lt
|
|
19460
|
-
} = t, O = W(t,
|
|
19467
|
+
} = t, O = W(t, pP), C = jr(), E = x.useRef(), T = wr(), y = x.useRef(null), F = Ge(y, i.ref, r), P = (_) => (A) => {
|
|
19461
19468
|
if (_) {
|
|
19462
19469
|
const j = y.current;
|
|
19463
19470
|
A === void 0 ? _(j) : _(j, A);
|
|
19464
19471
|
}
|
|
19465
|
-
}, $ =
|
|
19472
|
+
}, $ = P(d), w = P((_, A) => {
|
|
19466
19473
|
tl(_);
|
|
19467
19474
|
const {
|
|
19468
19475
|
duration: j,
|
|
@@ -19476,7 +19483,7 @@ const fE = {
|
|
|
19476
19483
|
mode: "enter"
|
|
19477
19484
|
});
|
|
19478
19485
|
let J;
|
|
19479
|
-
g === "auto" ? (J = T.transitions.getAutoHeightDuration(_.clientHeight),
|
|
19486
|
+
g === "auto" ? (J = T.transitions.getAutoHeightDuration(_.clientHeight), E.current = J) : J = j, _.style.transition = [T.transitions.create("opacity", {
|
|
19480
19487
|
duration: J,
|
|
19481
19488
|
delay: k
|
|
19482
19489
|
}), T.transitions.create("transform", {
|
|
@@ -19484,7 +19491,7 @@ const fE = {
|
|
|
19484
19491
|
delay: k,
|
|
19485
19492
|
easing: z
|
|
19486
19493
|
})].join(","), c && c(_, A);
|
|
19487
|
-
}), R =
|
|
19494
|
+
}), R = P(u), M = P(h), D = P((_) => {
|
|
19488
19495
|
const {
|
|
19489
19496
|
duration: A,
|
|
19490
19497
|
delay: j,
|
|
@@ -19497,7 +19504,7 @@ const fE = {
|
|
|
19497
19504
|
mode: "exit"
|
|
19498
19505
|
});
|
|
19499
19506
|
let z;
|
|
19500
|
-
g === "auto" ? (z = T.transitions.getAutoHeightDuration(_.clientHeight),
|
|
19507
|
+
g === "auto" ? (z = T.transitions.getAutoHeightDuration(_.clientHeight), E.current = z) : z = A, _.style.transition = [T.transitions.create("opacity", {
|
|
19501
19508
|
duration: z,
|
|
19502
19509
|
delay: j
|
|
19503
19510
|
}), T.transitions.create("transform", {
|
|
@@ -19505,7 +19512,7 @@ const fE = {
|
|
|
19505
19512
|
delay: _a ? j : j || z * 0.333,
|
|
19506
19513
|
easing: k
|
|
19507
19514
|
})].join(","), _.style.opacity = 0, _.style.transform = oi(0.75), m && m(_);
|
|
19508
|
-
}), L =
|
|
19515
|
+
}), L = P(f);
|
|
19509
19516
|
return /* @__PURE__ */ p(b, S({
|
|
19510
19517
|
appear: a,
|
|
19511
19518
|
in: s,
|
|
@@ -19517,7 +19524,7 @@ const fE = {
|
|
|
19517
19524
|
onExited: L,
|
|
19518
19525
|
onExiting: M,
|
|
19519
19526
|
addEndListener: (_) => {
|
|
19520
|
-
g === "auto" && C.start(
|
|
19527
|
+
g === "auto" && C.start(E.current || 0, _), o && o(y.current, _);
|
|
19521
19528
|
},
|
|
19522
19529
|
timeout: g === "auto" ? null : g
|
|
19523
19530
|
}, O, {
|
|
@@ -19526,7 +19533,7 @@ const fE = {
|
|
|
19526
19533
|
opacity: 0,
|
|
19527
19534
|
transform: oi(0.75),
|
|
19528
19535
|
visibility: _ === "exited" && !s ? "hidden" : void 0
|
|
19529
|
-
},
|
|
19536
|
+
}, fP[_], v, i.props.style),
|
|
19530
19537
|
ref: F
|
|
19531
19538
|
}, A))
|
|
19532
19539
|
}));
|
|
@@ -19606,11 +19613,11 @@ process.env.NODE_ENV !== "production" && (No.propTypes = {
|
|
|
19606
19613
|
})])
|
|
19607
19614
|
});
|
|
19608
19615
|
No.muiSupportAuto = !0;
|
|
19609
|
-
var nt = "top", Tt = "bottom",
|
|
19616
|
+
var nt = "top", Tt = "bottom", Et = "right", at = "left", Sl = "auto", on = [nt, Tt, Et, at], Jr = "start", _o = "end", mP = "clippingParents", lp = "viewport", vo = "popper", hP = "reference", mc = /* @__PURE__ */ on.reduce(function(e, t) {
|
|
19610
19617
|
return e.concat([t + "-" + Jr, t + "-" + _o]);
|
|
19611
19618
|
}, []), sp = /* @__PURE__ */ [].concat(on, [Sl]).reduce(function(e, t) {
|
|
19612
19619
|
return e.concat([t, t + "-" + Jr, t + "-" + _o]);
|
|
19613
|
-
}, []),
|
|
19620
|
+
}, []), gP = "beforeRead", bP = "read", vP = "afterRead", yP = "beforeMain", OP = "main", xP = "afterMain", SP = "beforeWrite", TP = "write", EP = "afterWrite", PP = [gP, bP, vP, yP, OP, xP, SP, TP, EP];
|
|
19614
19621
|
function qt(e) {
|
|
19615
19622
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
19616
19623
|
}
|
|
@@ -19623,7 +19630,7 @@ function ft(e) {
|
|
|
19623
19630
|
}
|
|
19624
19631
|
return e;
|
|
19625
19632
|
}
|
|
19626
|
-
function
|
|
19633
|
+
function Pr(e) {
|
|
19627
19634
|
var t = ft(e).Element;
|
|
19628
19635
|
return e instanceof t || e instanceof Element;
|
|
19629
19636
|
}
|
|
@@ -19637,7 +19644,7 @@ function Tl(e) {
|
|
|
19637
19644
|
var t = ft(e).ShadowRoot;
|
|
19638
19645
|
return e instanceof t || e instanceof ShadowRoot;
|
|
19639
19646
|
}
|
|
19640
|
-
function
|
|
19647
|
+
function CP(e) {
|
|
19641
19648
|
var t = e.state;
|
|
19642
19649
|
Object.keys(t.elements).forEach(function(r) {
|
|
19643
19650
|
var o = t.styles[r] || {}, a = t.attributes[r] || {}, i = t.elements[r];
|
|
@@ -19647,7 +19654,7 @@ function CE(e) {
|
|
|
19647
19654
|
}));
|
|
19648
19655
|
});
|
|
19649
19656
|
}
|
|
19650
|
-
function
|
|
19657
|
+
function FP(e) {
|
|
19651
19658
|
var t = e.state, r = {
|
|
19652
19659
|
popper: {
|
|
19653
19660
|
position: t.options.strategy,
|
|
@@ -19671,12 +19678,12 @@ function FE(e) {
|
|
|
19671
19678
|
});
|
|
19672
19679
|
};
|
|
19673
19680
|
}
|
|
19674
|
-
const
|
|
19681
|
+
const wP = {
|
|
19675
19682
|
name: "applyStyles",
|
|
19676
19683
|
enabled: !0,
|
|
19677
19684
|
phase: "write",
|
|
19678
|
-
fn:
|
|
19679
|
-
effect:
|
|
19685
|
+
fn: CP,
|
|
19686
|
+
effect: FP,
|
|
19680
19687
|
requires: ["computeStyles"]
|
|
19681
19688
|
};
|
|
19682
19689
|
function Ht(e) {
|
|
@@ -19696,7 +19703,7 @@ function to(e, t, r) {
|
|
|
19696
19703
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
19697
19704
|
var o = e.getBoundingClientRect(), a = 1, i = 1;
|
|
19698
19705
|
t && xt(e) && (a = e.offsetWidth > 0 && eo(o.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && eo(o.height) / e.offsetHeight || 1);
|
|
19699
|
-
var l =
|
|
19706
|
+
var l = Pr(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;
|
|
19700
19707
|
return {
|
|
19701
19708
|
width: m,
|
|
19702
19709
|
height: f,
|
|
@@ -19708,7 +19715,7 @@ function to(e, t, r) {
|
|
|
19708
19715
|
y: d
|
|
19709
19716
|
};
|
|
19710
19717
|
}
|
|
19711
|
-
function
|
|
19718
|
+
function El(e) {
|
|
19712
19719
|
var t = to(e), r = e.offsetWidth, o = e.offsetHeight;
|
|
19713
19720
|
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
|
|
19714
19721
|
x: e.offsetLeft,
|
|
@@ -19734,11 +19741,11 @@ function up(e, t) {
|
|
|
19734
19741
|
function or(e) {
|
|
19735
19742
|
return ft(e).getComputedStyle(e);
|
|
19736
19743
|
}
|
|
19737
|
-
function
|
|
19744
|
+
function RP(e) {
|
|
19738
19745
|
return ["table", "td", "th"].indexOf(qt(e)) >= 0;
|
|
19739
19746
|
}
|
|
19740
19747
|
function fr(e) {
|
|
19741
|
-
return ((
|
|
19748
|
+
return ((Pr(e) ? e.ownerDocument : (
|
|
19742
19749
|
// $FlowFixMe[prop-missing]
|
|
19743
19750
|
e.document
|
|
19744
19751
|
)) || window.document).documentElement;
|
|
@@ -19759,7 +19766,7 @@ function hc(e) {
|
|
|
19759
19766
|
return !xt(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
19760
19767
|
or(e).position === "fixed" ? null : e.offsetParent;
|
|
19761
19768
|
}
|
|
19762
|
-
function
|
|
19769
|
+
function MP(e) {
|
|
19763
19770
|
var t = /firefox/i.test(ni()), r = /Trident/i.test(ni());
|
|
19764
19771
|
if (r && xt(e)) {
|
|
19765
19772
|
var o = or(e);
|
|
@@ -19776,18 +19783,18 @@ function ME(e) {
|
|
|
19776
19783
|
return null;
|
|
19777
19784
|
}
|
|
19778
19785
|
function nn(e) {
|
|
19779
|
-
for (var t = ft(e), r = hc(e); r &&
|
|
19786
|
+
for (var t = ft(e), r = hc(e); r && RP(r) && or(r).position === "static"; )
|
|
19780
19787
|
r = hc(r);
|
|
19781
|
-
return r && (qt(r) === "html" || qt(r) === "body" && or(r).position === "static") ? t : r ||
|
|
19788
|
+
return r && (qt(r) === "html" || qt(r) === "body" && or(r).position === "static") ? t : r || MP(e) || t;
|
|
19782
19789
|
}
|
|
19783
|
-
function
|
|
19790
|
+
function Pl(e) {
|
|
19784
19791
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
19785
19792
|
}
|
|
19786
|
-
function
|
|
19793
|
+
function Po(e, t, r) {
|
|
19787
19794
|
return Or(e, _n(t, r));
|
|
19788
19795
|
}
|
|
19789
|
-
function
|
|
19790
|
-
var o =
|
|
19796
|
+
function kP(e, t, r) {
|
|
19797
|
+
var o = Po(e, t, r);
|
|
19791
19798
|
return o > r ? r : o;
|
|
19792
19799
|
}
|
|
19793
19800
|
function dp() {
|
|
@@ -19806,41 +19813,41 @@ function fp(e, t) {
|
|
|
19806
19813
|
return r[o] = e, r;
|
|
19807
19814
|
}, {});
|
|
19808
19815
|
}
|
|
19809
|
-
var $
|
|
19816
|
+
var $P = function(t, r) {
|
|
19810
19817
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
19811
19818
|
placement: r.placement
|
|
19812
19819
|
})) : t, pp(typeof t != "number" ? t : fp(t, on));
|
|
19813
19820
|
};
|
|
19814
|
-
function
|
|
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 =
|
|
19821
|
+
function LP(e) {
|
|
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 = Pl(s), u = [at, Et].indexOf(s) >= 0, d = u ? "height" : "width";
|
|
19816
19823
|
if (!(!i || !l)) {
|
|
19817
|
-
var m = $
|
|
19818
|
-
r.modifiersData[o] = (t = {}, t[$] =
|
|
19824
|
+
var m = $P(a.padding, r), f = El(i), h = c === "y" ? nt : at, v = c === "y" ? Tt : Et, 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, E = g / 2 - b / 2, T = m[h], y = C - f[d] - m[v], F = C / 2 - f[d] / 2 + E, P = Po(T, F, y), $ = c;
|
|
19825
|
+
r.modifiersData[o] = (t = {}, t[$] = P, t.centerOffset = P - F, t);
|
|
19819
19826
|
}
|
|
19820
19827
|
}
|
|
19821
|
-
function
|
|
19828
|
+
function AP(e) {
|
|
19822
19829
|
var t = e.state, r = e.options, o = r.element, a = o === void 0 ? "[data-popper-arrow]" : o;
|
|
19823
19830
|
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || up(t.elements.popper, a) && (t.elements.arrow = a));
|
|
19824
19831
|
}
|
|
19825
|
-
const
|
|
19832
|
+
const IP = {
|
|
19826
19833
|
name: "arrow",
|
|
19827
19834
|
enabled: !0,
|
|
19828
19835
|
phase: "main",
|
|
19829
|
-
fn:
|
|
19830
|
-
effect:
|
|
19836
|
+
fn: LP,
|
|
19837
|
+
effect: AP,
|
|
19831
19838
|
requires: ["popperOffsets"],
|
|
19832
19839
|
requiresIfExists: ["preventOverflow"]
|
|
19833
19840
|
};
|
|
19834
19841
|
function ro(e) {
|
|
19835
19842
|
return e.split("-")[1];
|
|
19836
19843
|
}
|
|
19837
|
-
var
|
|
19844
|
+
var DP = {
|
|
19838
19845
|
top: "auto",
|
|
19839
19846
|
right: "auto",
|
|
19840
19847
|
bottom: "auto",
|
|
19841
19848
|
left: "auto"
|
|
19842
19849
|
};
|
|
19843
|
-
function
|
|
19850
|
+
function NP(e, t) {
|
|
19844
19851
|
var r = e.x, o = e.y, a = t.devicePixelRatio || 1;
|
|
19845
19852
|
return {
|
|
19846
19853
|
x: eo(r * a) / a || 0,
|
|
@@ -19856,19 +19863,19 @@ function gc(e) {
|
|
|
19856
19863
|
y: g
|
|
19857
19864
|
};
|
|
19858
19865
|
h = b.x, g = b.y;
|
|
19859
|
-
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"),
|
|
19866
|
+
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"), E = at, T = nt, y = window;
|
|
19860
19867
|
if (u) {
|
|
19861
|
-
var F = nn(r),
|
|
19862
|
-
if (F === ft(r) && (F = fr(r), or(F).position !== "static" && s === "absolute" && (
|
|
19868
|
+
var F = nn(r), P = "clientHeight", $ = "clientWidth";
|
|
19869
|
+
if (F === ft(r) && (F = fr(r), or(F).position !== "static" && s === "absolute" && (P = "scrollHeight", $ = "scrollWidth")), F = F, a === nt || (a === at || a === Et) && i === _o) {
|
|
19863
19870
|
T = Tt;
|
|
19864
19871
|
var w = m && F === y && y.visualViewport ? y.visualViewport.height : (
|
|
19865
19872
|
// $FlowFixMe[prop-missing]
|
|
19866
|
-
F[
|
|
19873
|
+
F[P]
|
|
19867
19874
|
);
|
|
19868
19875
|
g -= w - o.height, g *= c ? 1 : -1;
|
|
19869
19876
|
}
|
|
19870
19877
|
if (a === at || (a === nt || a === Tt) && i === _o) {
|
|
19871
|
-
|
|
19878
|
+
E = Et;
|
|
19872
19879
|
var R = m && F === y && y.visualViewport ? y.visualViewport.width : (
|
|
19873
19880
|
// $FlowFixMe[prop-missing]
|
|
19874
19881
|
F[$]
|
|
@@ -19878,7 +19885,7 @@ function gc(e) {
|
|
|
19878
19885
|
}
|
|
19879
19886
|
var M = Object.assign({
|
|
19880
19887
|
position: s
|
|
19881
|
-
}, u &&
|
|
19888
|
+
}, u && DP), D = d === !0 ? NP({
|
|
19882
19889
|
x: h,
|
|
19883
19890
|
y: g
|
|
19884
19891
|
}, ft(r)) : {
|
|
@@ -19887,11 +19894,11 @@ function gc(e) {
|
|
|
19887
19894
|
};
|
|
19888
19895
|
if (h = D.x, g = D.y, c) {
|
|
19889
19896
|
var L;
|
|
19890
|
-
return Object.assign({}, M, (L = {}, L[T] = C ? "0" : "", L[
|
|
19897
|
+
return Object.assign({}, M, (L = {}, L[T] = C ? "0" : "", L[E] = O ? "0" : "", L.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", L));
|
|
19891
19898
|
}
|
|
19892
|
-
return Object.assign({}, M, (t = {}, t[T] = C ? g + "px" : "", t[
|
|
19899
|
+
return Object.assign({}, M, (t = {}, t[T] = C ? g + "px" : "", t[E] = O ? h + "px" : "", t.transform = "", t));
|
|
19893
19900
|
}
|
|
19894
|
-
function
|
|
19901
|
+
function _P(e) {
|
|
19895
19902
|
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 = {
|
|
19896
19903
|
placement: Ht(t.placement),
|
|
19897
19904
|
variation: ro(t.placement),
|
|
@@ -19914,17 +19921,17 @@ function _E(e) {
|
|
|
19914
19921
|
"data-popper-placement": t.placement
|
|
19915
19922
|
});
|
|
19916
19923
|
}
|
|
19917
|
-
const
|
|
19924
|
+
const jP = {
|
|
19918
19925
|
name: "computeStyles",
|
|
19919
19926
|
enabled: !0,
|
|
19920
19927
|
phase: "beforeWrite",
|
|
19921
|
-
fn:
|
|
19928
|
+
fn: _P,
|
|
19922
19929
|
data: {}
|
|
19923
19930
|
};
|
|
19924
19931
|
var fn = {
|
|
19925
19932
|
passive: !0
|
|
19926
19933
|
};
|
|
19927
|
-
function
|
|
19934
|
+
function VP(e) {
|
|
19928
19935
|
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);
|
|
19929
19936
|
return i && u.forEach(function(d) {
|
|
19930
19937
|
d.addEventListener("scroll", r.update, fn);
|
|
@@ -19934,33 +19941,33 @@ function VE(e) {
|
|
|
19934
19941
|
}), s && c.removeEventListener("resize", r.update, fn);
|
|
19935
19942
|
};
|
|
19936
19943
|
}
|
|
19937
|
-
const
|
|
19944
|
+
const BP = {
|
|
19938
19945
|
name: "eventListeners",
|
|
19939
19946
|
enabled: !0,
|
|
19940
19947
|
phase: "write",
|
|
19941
19948
|
fn: function() {
|
|
19942
19949
|
},
|
|
19943
|
-
effect:
|
|
19950
|
+
effect: VP,
|
|
19944
19951
|
data: {}
|
|
19945
19952
|
};
|
|
19946
|
-
var
|
|
19953
|
+
var zP = {
|
|
19947
19954
|
left: "right",
|
|
19948
19955
|
right: "left",
|
|
19949
19956
|
bottom: "top",
|
|
19950
19957
|
top: "bottom"
|
|
19951
19958
|
};
|
|
19952
|
-
function
|
|
19959
|
+
function En(e) {
|
|
19953
19960
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
19954
|
-
return
|
|
19961
|
+
return zP[t];
|
|
19955
19962
|
});
|
|
19956
19963
|
}
|
|
19957
|
-
var
|
|
19964
|
+
var HP = {
|
|
19958
19965
|
start: "end",
|
|
19959
19966
|
end: "start"
|
|
19960
19967
|
};
|
|
19961
19968
|
function bc(e) {
|
|
19962
19969
|
return e.replace(/start|end/g, function(t) {
|
|
19963
|
-
return
|
|
19970
|
+
return HP[t];
|
|
19964
19971
|
});
|
|
19965
19972
|
}
|
|
19966
19973
|
function Cl(e) {
|
|
@@ -19973,7 +19980,7 @@ function Cl(e) {
|
|
|
19973
19980
|
function Fl(e) {
|
|
19974
19981
|
return to(fr(e)).left + Cl(e).scrollLeft;
|
|
19975
19982
|
}
|
|
19976
|
-
function
|
|
19983
|
+
function WP(e, t) {
|
|
19977
19984
|
var r = ft(e), o = fr(e), a = r.visualViewport, i = o.clientWidth, l = o.clientHeight, s = 0, c = 0;
|
|
19978
19985
|
if (a) {
|
|
19979
19986
|
i = a.width, l = a.height;
|
|
@@ -19987,7 +19994,7 @@ function WE(e, t) {
|
|
|
19987
19994
|
y: c
|
|
19988
19995
|
};
|
|
19989
19996
|
}
|
|
19990
|
-
function
|
|
19997
|
+
function UP(e) {
|
|
19991
19998
|
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;
|
|
19992
19999
|
return or(a || r).direction === "rtl" && (s += Or(r.clientWidth, a ? a.clientWidth : 0) - i), {
|
|
19993
20000
|
width: i,
|
|
@@ -20020,21 +20027,21 @@ function ai(e) {
|
|
|
20020
20027
|
bottom: e.y + e.height
|
|
20021
20028
|
});
|
|
20022
20029
|
}
|
|
20023
|
-
function
|
|
20030
|
+
function GP(e, t) {
|
|
20024
20031
|
var r = to(e, !1, t === "fixed");
|
|
20025
20032
|
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;
|
|
20026
20033
|
}
|
|
20027
20034
|
function vc(e, t, r) {
|
|
20028
|
-
return t === lp ? ai(
|
|
20035
|
+
return t === lp ? ai(WP(e, r)) : Pr(t) ? GP(t, r) : ai(UP(fr(e)));
|
|
20029
20036
|
}
|
|
20030
|
-
function
|
|
20037
|
+
function qP(e) {
|
|
20031
20038
|
var t = Co(ba(e)), r = ["absolute", "fixed"].indexOf(or(e).position) >= 0, o = r && xt(e) ? nn(e) : e;
|
|
20032
|
-
return
|
|
20033
|
-
return
|
|
20039
|
+
return Pr(o) ? t.filter(function(a) {
|
|
20040
|
+
return Pr(a) && up(a, o) && qt(a) !== "body";
|
|
20034
20041
|
}) : [];
|
|
20035
20042
|
}
|
|
20036
|
-
function
|
|
20037
|
-
var a = t === "clippingParents" ?
|
|
20043
|
+
function KP(e, t, r, o) {
|
|
20044
|
+
var a = t === "clippingParents" ? qP(e) : [].concat(t), i = [].concat(a, [r]), l = i[0], s = i.reduce(function(c, u) {
|
|
20038
20045
|
var d = vc(e, u, o);
|
|
20039
20046
|
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;
|
|
20040
20047
|
}, vc(e, l, o));
|
|
@@ -20055,7 +20062,7 @@ function hp(e) {
|
|
|
20055
20062
|
y: t.y + t.height
|
|
20056
20063
|
};
|
|
20057
20064
|
break;
|
|
20058
|
-
case
|
|
20065
|
+
case Et:
|
|
20059
20066
|
c = {
|
|
20060
20067
|
x: t.x + t.width,
|
|
20061
20068
|
y: s
|
|
@@ -20073,7 +20080,7 @@ function hp(e) {
|
|
|
20073
20080
|
y: t.y
|
|
20074
20081
|
};
|
|
20075
20082
|
}
|
|
20076
|
-
var u = a ?
|
|
20083
|
+
var u = a ? Pl(a) : null;
|
|
20077
20084
|
if (u != null) {
|
|
20078
20085
|
var d = u === "y" ? "height" : "width";
|
|
20079
20086
|
switch (i) {
|
|
@@ -20089,12 +20096,12 @@ function hp(e) {
|
|
|
20089
20096
|
}
|
|
20090
20097
|
function jo(e, t) {
|
|
20091
20098
|
t === void 0 && (t = {});
|
|
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 ?
|
|
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 ? mP : 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 ? hP : vo, E = e.rects.popper, T = e.elements[v ? C : f], y = KP(Pr(T) ? T : T.contextElement || fr(e.elements.popper), c, d, l), F = to(e.elements.reference), P = hp({
|
|
20093
20100
|
reference: F,
|
|
20094
|
-
element:
|
|
20101
|
+
element: E,
|
|
20095
20102
|
strategy: "absolute",
|
|
20096
20103
|
placement: a
|
|
20097
|
-
}), $ = ai(Object.assign({},
|
|
20104
|
+
}), $ = ai(Object.assign({}, E, P)), w = f === vo ? $ : F, R = {
|
|
20098
20105
|
top: y.top - w.top + O.top,
|
|
20099
20106
|
bottom: w.bottom - y.bottom + O.bottom,
|
|
20100
20107
|
left: y.left - w.left + O.left,
|
|
@@ -20103,13 +20110,13 @@ function jo(e, t) {
|
|
|
20103
20110
|
if (f === vo && M) {
|
|
20104
20111
|
var D = M[a];
|
|
20105
20112
|
Object.keys(R).forEach(function(L) {
|
|
20106
|
-
var N = [
|
|
20113
|
+
var N = [Et, Tt].indexOf(L) >= 0 ? 1 : -1, _ = [nt, Tt].indexOf(L) >= 0 ? "y" : "x";
|
|
20107
20114
|
R[L] += D[_] * N;
|
|
20108
20115
|
});
|
|
20109
20116
|
}
|
|
20110
20117
|
return R;
|
|
20111
20118
|
}
|
|
20112
|
-
function
|
|
20119
|
+
function YP(e, t) {
|
|
20113
20120
|
t === void 0 && (t = {});
|
|
20114
20121
|
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) {
|
|
20115
20122
|
return ro(v) === d;
|
|
@@ -20129,17 +20136,17 @@ function YE(e, t) {
|
|
|
20129
20136
|
return h[v] - h[g];
|
|
20130
20137
|
});
|
|
20131
20138
|
}
|
|
20132
|
-
function
|
|
20139
|
+
function QP(e) {
|
|
20133
20140
|
if (Ht(e) === Sl)
|
|
20134
20141
|
return [];
|
|
20135
|
-
var t =
|
|
20142
|
+
var t = En(e);
|
|
20136
20143
|
return [bc(e), t, bc(t)];
|
|
20137
20144
|
}
|
|
20138
|
-
function
|
|
20145
|
+
function XP(e) {
|
|
20139
20146
|
var t = e.state, r = e.options, o = e.name;
|
|
20140
20147
|
if (!t.modifiersData[o]._skip) {
|
|
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,
|
|
20142
|
-
return oe.concat(Ht(ee) === Sl ?
|
|
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, E = c || (C || !v ? [En(b)] : QP(b)), T = [b].concat(E).reduce(function(oe, ee) {
|
|
20149
|
+
return oe.concat(Ht(ee) === Sl ? YP(t, {
|
|
20143
20150
|
placement: ee,
|
|
20144
20151
|
boundary: d,
|
|
20145
20152
|
rootBoundary: m,
|
|
@@ -20147,28 +20154,28 @@ function XE(e) {
|
|
|
20147
20154
|
flipVariations: v,
|
|
20148
20155
|
allowedAutoPlacements: g
|
|
20149
20156
|
}) : ee);
|
|
20150
|
-
}, []), y = t.rects.reference, F = t.rects.popper,
|
|
20157
|
+
}, []), y = t.rects.reference, F = t.rects.popper, P = /* @__PURE__ */ new Map(), $ = !0, w = T[0], R = 0; R < T.length; R++) {
|
|
20151
20158
|
var M = T[R], D = Ht(M), L = ro(M) === Jr, N = [nt, Tt].indexOf(D) >= 0, _ = N ? "width" : "height", A = jo(t, {
|
|
20152
20159
|
placement: M,
|
|
20153
20160
|
boundary: d,
|
|
20154
20161
|
rootBoundary: m,
|
|
20155
20162
|
altBoundary: f,
|
|
20156
20163
|
padding: u
|
|
20157
|
-
}), j = N ? L ?
|
|
20158
|
-
y[_] > F[_] && (j =
|
|
20159
|
-
var k =
|
|
20164
|
+
}), j = N ? L ? Et : at : L ? Tt : nt;
|
|
20165
|
+
y[_] > F[_] && (j = En(j));
|
|
20166
|
+
var k = En(j), z = [];
|
|
20160
20167
|
if (i && z.push(A[D] <= 0), s && z.push(A[j] <= 0, A[k] <= 0), z.every(function(oe) {
|
|
20161
20168
|
return oe;
|
|
20162
20169
|
})) {
|
|
20163
20170
|
w = M, $ = !1;
|
|
20164
20171
|
break;
|
|
20165
20172
|
}
|
|
20166
|
-
|
|
20173
|
+
P.set(M, z);
|
|
20167
20174
|
}
|
|
20168
20175
|
if ($)
|
|
20169
20176
|
for (var J = v ? 3 : 1, Y = function(ee) {
|
|
20170
20177
|
var ne = T.find(function(ce) {
|
|
20171
|
-
var ae =
|
|
20178
|
+
var ae = P.get(ce);
|
|
20172
20179
|
if (ae)
|
|
20173
20180
|
return ae.slice(0, ee).every(function(G) {
|
|
20174
20181
|
return G;
|
|
@@ -20184,11 +20191,11 @@ function XE(e) {
|
|
|
20184
20191
|
t.placement !== w && (t.modifiersData[o]._skip = !0, t.placement = w, t.reset = !0);
|
|
20185
20192
|
}
|
|
20186
20193
|
}
|
|
20187
|
-
const
|
|
20194
|
+
const ZP = {
|
|
20188
20195
|
name: "flip",
|
|
20189
20196
|
enabled: !0,
|
|
20190
20197
|
phase: "main",
|
|
20191
|
-
fn:
|
|
20198
|
+
fn: XP,
|
|
20192
20199
|
requiresIfExists: ["offset"],
|
|
20193
20200
|
data: {
|
|
20194
20201
|
_skip: !1
|
|
@@ -20206,11 +20213,11 @@ function yc(e, t, r) {
|
|
|
20206
20213
|
};
|
|
20207
20214
|
}
|
|
20208
20215
|
function Oc(e) {
|
|
20209
|
-
return [nt,
|
|
20216
|
+
return [nt, Et, Tt, at].some(function(t) {
|
|
20210
20217
|
return e[t] >= 0;
|
|
20211
20218
|
});
|
|
20212
20219
|
}
|
|
20213
|
-
function
|
|
20220
|
+
function JP(e) {
|
|
20214
20221
|
var t = e.state, r = e.name, o = t.rects.reference, a = t.rects.popper, i = t.modifiersData.preventOverflow, l = jo(t, {
|
|
20215
20222
|
elementContext: "reference"
|
|
20216
20223
|
}), s = jo(t, {
|
|
@@ -20231,13 +20238,13 @@ const eC = {
|
|
|
20231
20238
|
enabled: !0,
|
|
20232
20239
|
phase: "main",
|
|
20233
20240
|
requiresIfExists: ["preventOverflow"],
|
|
20234
|
-
fn:
|
|
20241
|
+
fn: JP
|
|
20235
20242
|
};
|
|
20236
20243
|
function tC(e, t, r) {
|
|
20237
20244
|
var o = Ht(e), a = [at, nt].indexOf(o) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
20238
20245
|
placement: e
|
|
20239
20246
|
})) : r, l = i[0], s = i[1];
|
|
20240
|
-
return l = l || 0, s = (s || 0) * a, [at,
|
|
20247
|
+
return l = l || 0, s = (s || 0) * a, [at, Et].indexOf(o) >= 0 ? {
|
|
20241
20248
|
x: s,
|
|
20242
20249
|
y: l
|
|
20243
20250
|
} : {
|
|
@@ -20283,7 +20290,7 @@ function lC(e) {
|
|
|
20283
20290
|
rootBoundary: u,
|
|
20284
20291
|
padding: m,
|
|
20285
20292
|
altBoundary: d
|
|
20286
|
-
}), O = Ht(t.placement), C = ro(t.placement),
|
|
20293
|
+
}), O = Ht(t.placement), C = ro(t.placement), E = !C, T = Pl(O), y = iC(T), F = t.modifiersData.popperOffsets, P = t.rects.reference, $ = t.rects.popper, w = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
20287
20294
|
placement: t.placement
|
|
20288
20295
|
})) : g, R = typeof w == "number" ? {
|
|
20289
20296
|
mainAxis: w,
|
|
@@ -20297,14 +20304,14 @@ function lC(e) {
|
|
|
20297
20304
|
};
|
|
20298
20305
|
if (F) {
|
|
20299
20306
|
if (i) {
|
|
20300
|
-
var L, N = T === "y" ? nt : at, _ = T === "y" ? Tt :
|
|
20307
|
+
var L, N = T === "y" ? nt : at, _ = T === "y" ? Tt : Et, A = T === "y" ? "height" : "width", j = F[T], k = j + b[N], z = j - b[_], J = h ? -$[A] / 2 : 0, Y = C === Jr ? P[A] : $[A], re = C === Jr ? -$[A] : -P[A], Te = t.elements.arrow, oe = h && Te ? El(Te) : {
|
|
20301
20308
|
width: 0,
|
|
20302
20309
|
height: 0
|
|
20303
|
-
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dp(), ne = ee[N], ce = ee[_], ae =
|
|
20310
|
+
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dp(), ne = ee[N], ce = ee[_], ae = Po(0, P[A], oe[A]), G = E ? P[A] / 2 - J - ae - ne - R.mainAxis : Y - ae - ne - R.mainAxis, Ee = E ? -P[A] / 2 + J + ae + ce + R.mainAxis : re + ae + ce + R.mainAxis, Pe = t.elements.arrow && nn(t.elements.arrow), B = Pe ? T === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, Z = (L = M == null ? void 0 : M[T]) != null ? L : 0, I = j + G - Z - B, te = j + Ee - Z, Re = Po(h ? _n(k, I) : k, j, h ? Or(z, te) : z);
|
|
20304
20311
|
F[T] = Re, D[T] = Re - j;
|
|
20305
20312
|
}
|
|
20306
20313
|
if (s) {
|
|
20307
|
-
var Ce, pe = T === "x" ? nt : at, tt = T === "x" ? Tt :
|
|
20314
|
+
var Ce, pe = T === "x" ? nt : at, tt = T === "x" ? Tt : Et, 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 - P[Be] - $[Be] - ot + R.altAxis, At = Me ? le + P[Be] + $[Be] - ot - R.altAxis : rt, Jt = h && Me ? kP(Ft, le, At) : Po(h ? Ft : ze, le, h ? At : rt);
|
|
20308
20315
|
F[y] = Jt, D[y] = Jt - le;
|
|
20309
20316
|
}
|
|
20310
20317
|
t.modifiersData[o] = D;
|
|
@@ -20368,7 +20375,7 @@ function fC(e) {
|
|
|
20368
20375
|
}
|
|
20369
20376
|
function mC(e) {
|
|
20370
20377
|
var t = fC(e);
|
|
20371
|
-
return
|
|
20378
|
+
return PP.reduce(function(r, o) {
|
|
20372
20379
|
return r.concat(t.filter(function(a) {
|
|
20373
20380
|
return a.phase === o;
|
|
20374
20381
|
}));
|
|
@@ -20429,11 +20436,11 @@ function bC(e) {
|
|
|
20429
20436
|
setOptions: function(O) {
|
|
20430
20437
|
var C = typeof O == "function" ? O(d.options) : O;
|
|
20431
20438
|
g(), d.options = Object.assign({}, i, d.options, C), d.scrollParents = {
|
|
20432
|
-
reference:
|
|
20439
|
+
reference: Pr(s) ? Co(s) : s.contextElement ? Co(s.contextElement) : [],
|
|
20433
20440
|
popper: Co(c)
|
|
20434
20441
|
};
|
|
20435
|
-
var
|
|
20436
|
-
return d.orderedModifiers =
|
|
20442
|
+
var E = mC(gC([].concat(o, d.options.modifiers)));
|
|
20443
|
+
return d.orderedModifiers = E.filter(function(T) {
|
|
20437
20444
|
return T.enabled;
|
|
20438
20445
|
}), v(), h.update();
|
|
20439
20446
|
},
|
|
@@ -20444,11 +20451,11 @@ function bC(e) {
|
|
|
20444
20451
|
// prefer the async Popper#update method
|
|
20445
20452
|
forceUpdate: function() {
|
|
20446
20453
|
if (!f) {
|
|
20447
|
-
var O = d.elements, C = O.reference,
|
|
20448
|
-
if (Sc(C,
|
|
20454
|
+
var O = d.elements, C = O.reference, E = O.popper;
|
|
20455
|
+
if (Sc(C, E)) {
|
|
20449
20456
|
d.rects = {
|
|
20450
|
-
reference: pC(C, nn(
|
|
20451
|
-
popper:
|
|
20457
|
+
reference: pC(C, nn(E), d.options.strategy === "fixed"),
|
|
20458
|
+
popper: El(E)
|
|
20452
20459
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(R) {
|
|
20453
20460
|
return d.modifiersData[R.name] = Object.assign({}, R.data);
|
|
20454
20461
|
});
|
|
@@ -20457,7 +20464,7 @@ function bC(e) {
|
|
|
20457
20464
|
d.reset = !1, T = -1;
|
|
20458
20465
|
continue;
|
|
20459
20466
|
}
|
|
20460
|
-
var y = d.orderedModifiers[T], F = y.fn,
|
|
20467
|
+
var y = d.orderedModifiers[T], F = y.fn, P = y.options, $ = P === void 0 ? {} : P, w = y.name;
|
|
20461
20468
|
typeof F == "function" && (d = F({
|
|
20462
20469
|
state: d,
|
|
20463
20470
|
options: $,
|
|
@@ -20486,13 +20493,13 @@ function bC(e) {
|
|
|
20486
20493
|
});
|
|
20487
20494
|
function v() {
|
|
20488
20495
|
d.orderedModifiers.forEach(function(b) {
|
|
20489
|
-
var O = b.name, C = b.options,
|
|
20496
|
+
var O = b.name, C = b.options, E = C === void 0 ? {} : C, T = b.effect;
|
|
20490
20497
|
if (typeof T == "function") {
|
|
20491
20498
|
var y = T({
|
|
20492
20499
|
state: d,
|
|
20493
20500
|
name: O,
|
|
20494
20501
|
instance: h,
|
|
20495
|
-
options:
|
|
20502
|
+
options: E
|
|
20496
20503
|
}), F = function() {
|
|
20497
20504
|
};
|
|
20498
20505
|
m.push(y || F);
|
|
@@ -20507,7 +20514,7 @@ function bC(e) {
|
|
|
20507
20514
|
return h;
|
|
20508
20515
|
};
|
|
20509
20516
|
}
|
|
20510
|
-
var vC = [
|
|
20517
|
+
var vC = [BP, aC, jP, wP, oC, ZP, sC, IP, eC], yC = /* @__PURE__ */ bC({
|
|
20511
20518
|
defaultModifiers: vC
|
|
20512
20519
|
});
|
|
20513
20520
|
const gp = "base";
|
|
@@ -20532,7 +20539,7 @@ function TC(e) {
|
|
|
20532
20539
|
return bp(vp, e);
|
|
20533
20540
|
}
|
|
20534
20541
|
SC(vp, ["root"]);
|
|
20535
|
-
const
|
|
20542
|
+
const EC = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], PC = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
20536
20543
|
function CC(e, t) {
|
|
20537
20544
|
if (t === "ltr")
|
|
20538
20545
|
return e;
|
|
@@ -20577,13 +20584,13 @@ const wC = () => ve({
|
|
|
20577
20584
|
TransitionProps: g
|
|
20578
20585
|
// @ts-ignore internal logic
|
|
20579
20586
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
20580
|
-
} = t, b = W(t,
|
|
20587
|
+
} = t, b = W(t, EC), O = x.useRef(null), C = Ge(O, r), E = x.useRef(null), T = Ge(E, f), y = x.useRef(T);
|
|
20581
20588
|
rr(() => {
|
|
20582
20589
|
y.current = T;
|
|
20583
|
-
}, [T]), x.useImperativeHandle(f, () =>
|
|
20584
|
-
const F = CC(d, l), [
|
|
20590
|
+
}, [T]), x.useImperativeHandle(f, () => E.current, []);
|
|
20591
|
+
const F = CC(d, l), [P, $] = x.useState(F), [w, R] = x.useState(jn(a));
|
|
20585
20592
|
x.useEffect(() => {
|
|
20586
|
-
|
|
20593
|
+
E.current && E.current.forceUpdate();
|
|
20587
20594
|
}), x.useEffect(() => {
|
|
20588
20595
|
a && R(jn(a));
|
|
20589
20596
|
}, [a]), rr(() => {
|
|
@@ -20628,7 +20635,7 @@ const wC = () => ve({
|
|
|
20628
20635
|
};
|
|
20629
20636
|
}, [w, s, c, u, m, F]);
|
|
20630
20637
|
const M = {
|
|
20631
|
-
placement:
|
|
20638
|
+
placement: P
|
|
20632
20639
|
};
|
|
20633
20640
|
g !== null && (M.TransitionProps = g);
|
|
20634
20641
|
const D = wC(), L = (o = v.root) != null ? o : "div", N = kt({
|
|
@@ -20662,35 +20669,35 @@ const wC = () => ve({
|
|
|
20662
20669
|
transition: g = !1,
|
|
20663
20670
|
slotProps: b = {},
|
|
20664
20671
|
slots: O = {}
|
|
20665
|
-
} = t, C = W(t,
|
|
20672
|
+
} = t, C = W(t, PC), [E, T] = x.useState(!0), y = () => {
|
|
20666
20673
|
T(!1);
|
|
20667
20674
|
}, F = () => {
|
|
20668
20675
|
T(!0);
|
|
20669
20676
|
};
|
|
20670
|
-
if (!c && !d && (!g ||
|
|
20677
|
+
if (!c && !d && (!g || E))
|
|
20671
20678
|
return null;
|
|
20672
|
-
let
|
|
20679
|
+
let P;
|
|
20673
20680
|
if (i)
|
|
20674
|
-
|
|
20681
|
+
P = i;
|
|
20675
20682
|
else if (o) {
|
|
20676
20683
|
const R = jn(o);
|
|
20677
|
-
|
|
20684
|
+
P = R && va(R) ? Ze(R).body : Ze(null).body;
|
|
20678
20685
|
}
|
|
20679
|
-
const $ = !d && c && (!g ||
|
|
20686
|
+
const $ = !d && c && (!g || E) ? "none" : void 0, w = g ? {
|
|
20680
20687
|
in: d,
|
|
20681
20688
|
onEnter: y,
|
|
20682
20689
|
onExited: F
|
|
20683
20690
|
} : void 0;
|
|
20684
20691
|
return /* @__PURE__ */ p(Ao, {
|
|
20685
20692
|
disablePortal: s,
|
|
20686
|
-
container:
|
|
20693
|
+
container: P,
|
|
20687
20694
|
children: /* @__PURE__ */ p(MC, S({
|
|
20688
20695
|
anchorEl: o,
|
|
20689
20696
|
direction: l,
|
|
20690
20697
|
disablePortal: s,
|
|
20691
20698
|
modifiers: u,
|
|
20692
20699
|
ref: r,
|
|
20693
|
-
open: g ? !
|
|
20700
|
+
open: g ? !E : d,
|
|
20694
20701
|
placement: m,
|
|
20695
20702
|
popperOptions: f,
|
|
20696
20703
|
popperRef: h,
|
|
@@ -20891,9 +20898,9 @@ const DC = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
20891
20898
|
popperOptions: b,
|
|
20892
20899
|
popperRef: O,
|
|
20893
20900
|
transition: C,
|
|
20894
|
-
slots:
|
|
20901
|
+
slots: E,
|
|
20895
20902
|
slotProps: T
|
|
20896
|
-
} = i, y = W(i, DC), F = (o =
|
|
20903
|
+
} = i, y = W(i, DC), F = (o = E == null ? void 0 : E.root) != null ? o : c == null ? void 0 : c.Root, P = S({
|
|
20897
20904
|
anchorEl: l,
|
|
20898
20905
|
container: d,
|
|
20899
20906
|
disablePortal: m,
|
|
@@ -20912,7 +20919,7 @@ const DC = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
20912
20919
|
root: F
|
|
20913
20920
|
},
|
|
20914
20921
|
slotProps: T ?? u
|
|
20915
|
-
},
|
|
20922
|
+
}, P, {
|
|
20916
20923
|
ref: r
|
|
20917
20924
|
}));
|
|
20918
20925
|
});
|
|
@@ -21225,12 +21232,12 @@ function hn(e, t) {
|
|
|
21225
21232
|
};
|
|
21226
21233
|
}
|
|
21227
21234
|
const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
21228
|
-
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C,
|
|
21235
|
+
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C, E, T, y;
|
|
21229
21236
|
const F = he({
|
|
21230
21237
|
props: t,
|
|
21231
21238
|
name: "MuiTooltip"
|
|
21232
21239
|
}), {
|
|
21233
|
-
arrow:
|
|
21240
|
+
arrow: P = !1,
|
|
21234
21241
|
children: $,
|
|
21235
21242
|
components: w = {},
|
|
21236
21243
|
componentsProps: R = {},
|
|
@@ -21253,8 +21260,8 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21253
21260
|
PopperComponent: ce,
|
|
21254
21261
|
PopperProps: ae = {},
|
|
21255
21262
|
slotProps: G = {},
|
|
21256
|
-
slots:
|
|
21257
|
-
title:
|
|
21263
|
+
slots: Ee = {},
|
|
21264
|
+
title: Pe,
|
|
21258
21265
|
TransitionComponent: B = No,
|
|
21259
21266
|
TransitionProps: Z
|
|
21260
21267
|
} = F, I = W(F, jC), te = /* @__PURE__ */ x.isValidElement($) ? $ : /* @__PURE__ */ p("span", {
|
|
@@ -21271,11 +21278,11 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21271
21278
|
current: ie
|
|
21272
21279
|
} = x.useRef(ee !== void 0);
|
|
21273
21280
|
x.useEffect(() => {
|
|
21274
|
-
pe && pe.disabled && !ie &&
|
|
21281
|
+
pe && pe.disabled && !ie && Pe !== "" && 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(`
|
|
21275
21282
|
`));
|
|
21276
|
-
}, [
|
|
21283
|
+
}, [Pe, pe, ie]);
|
|
21277
21284
|
}
|
|
21278
|
-
const It =
|
|
21285
|
+
const It = Ei(J), Dt = x.useRef(), mr = yt(() => {
|
|
21279
21286
|
Dt.current !== void 0 && (document.body.style.WebkitUserSelect = Dt.current, Dt.current = void 0), At.clear();
|
|
21280
21287
|
});
|
|
21281
21288
|
x.useEffect(() => mr, [mr]);
|
|
@@ -21333,15 +21340,15 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21333
21340
|
};
|
|
21334
21341
|
}, [H, et]);
|
|
21335
21342
|
const qp = Ge(te.ref, mt, tt, r);
|
|
21336
|
-
!
|
|
21343
|
+
!Pe && Pe !== 0 && (et = !1);
|
|
21337
21344
|
const Oa = x.useRef(), Kp = (ie) => {
|
|
21338
21345
|
const st = te.props;
|
|
21339
21346
|
st.onMouseMove && st.onMouseMove(ie), yo = {
|
|
21340
21347
|
x: ie.clientX,
|
|
21341
21348
|
y: ie.clientY
|
|
21342
21349
|
}, Oa.current && Oa.current.update();
|
|
21343
|
-
}, fo = {}, xa = typeof
|
|
21344
|
-
M ? (fo.title = !et && xa && !L ?
|
|
21350
|
+
}, fo = {}, xa = typeof Pe == "string";
|
|
21351
|
+
M ? (fo.title = !et && xa && !L ? Pe : null, fo["aria-describedby"] = et ? It : null) : (fo["aria-label"] = xa ? Pe : null, fo["aria-labelledby"] = et && !xa ? It : null);
|
|
21345
21352
|
const ht = S({}, fo, I, te.props, {
|
|
21346
21353
|
className: q(I.className, te.props.className),
|
|
21347
21354
|
onTouchStart: Yl,
|
|
@@ -21371,16 +21378,16 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21371
21378
|
});
|
|
21372
21379
|
}, [le, ae]), ho = S({}, F, {
|
|
21373
21380
|
isRtl: Ce,
|
|
21374
|
-
arrow:
|
|
21381
|
+
arrow: P,
|
|
21375
21382
|
disableInteractive: rt,
|
|
21376
21383
|
placement: ne,
|
|
21377
21384
|
PopperComponentProp: ce,
|
|
21378
21385
|
touch: ze.current
|
|
21379
|
-
}), Sa = BC(ho), Ql = (o = (a =
|
|
21386
|
+
}), Sa = BC(ho), Ql = (o = (a = Ee.popper) != null ? a : w.Popper) != null ? o : zC, Xl = (i = (l = (s = Ee.transition) != null ? s : w.Transition) != null ? l : B) != null ? i : No, Zl = (c = (u = Ee.tooltip) != null ? u : w.Tooltip) != null ? c : HC, Jl = (d = (m = Ee.arrow) != null ? m : w.Arrow) != null ? d : WC, Qp = Vr(Ql, S({}, ae, (f = G.popper) != null ? f : R.popper, {
|
|
21380
21387
|
className: q(Sa.popper, ae == null ? void 0 : ae.className, (h = (v = G.popper) != null ? v : R.popper) == null ? void 0 : h.className)
|
|
21381
21388
|
}), 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, {
|
|
21382
21389
|
className: q(Sa.tooltip, (O = (C = G.tooltip) != null ? C : R.tooltip) == null ? void 0 : O.className)
|
|
21383
|
-
}), ho), Jp = Vr(Jl, S({}, (
|
|
21390
|
+
}), ho), Jp = Vr(Jl, S({}, (E = G.arrow) != null ? E : R.arrow, {
|
|
21384
21391
|
className: q(Sa.arrow, (T = (y = G.arrow) != null ? y : R.arrow) == null ? void 0 : T.className)
|
|
21385
21392
|
}), ho);
|
|
21386
21393
|
return /* @__PURE__ */ V(x.Fragment, {
|
|
@@ -21409,7 +21416,7 @@ const kl = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21409
21416
|
timeout: Re.transitions.duration.shorter
|
|
21410
21417
|
}, ie, Xp, {
|
|
21411
21418
|
children: /* @__PURE__ */ V(Zl, S({}, Zp, {
|
|
21412
|
-
children: [
|
|
21419
|
+
children: [Pe, P ? /* @__PURE__ */ p(Jl, S({}, Jp, {
|
|
21413
21420
|
ref: Be
|
|
21414
21421
|
})) : null]
|
|
21415
21422
|
}))
|
|
@@ -21843,7 +21850,7 @@ const r1 = (e) => {
|
|
|
21843
21850
|
}
|
|
21844
21851
|
) })
|
|
21845
21852
|
] });
|
|
21846
|
-
},
|
|
21853
|
+
}, Ep = (e) => {
|
|
21847
21854
|
const { items: t, translate: r, ...o } = e, { state: a, handleToggle: i, dense: l } = o;
|
|
21848
21855
|
return t && /* @__PURE__ */ p("div", { children: t.map((s) => {
|
|
21849
21856
|
const { name: c, menu: u, label: d, icon: m = "settings" } = s;
|
|
@@ -21855,7 +21862,7 @@ const r1 = (e) => {
|
|
|
21855
21862
|
isOpen: a[c],
|
|
21856
21863
|
icon: /* @__PURE__ */ p(Io, {}),
|
|
21857
21864
|
dense: l,
|
|
21858
|
-
children:
|
|
21865
|
+
children: Ep({ items: u, translate: r, ...o })
|
|
21859
21866
|
},
|
|
21860
21867
|
c
|
|
21861
21868
|
) : /* @__PURE__ */ p(
|
|
@@ -21872,7 +21879,7 @@ const r1 = (e) => {
|
|
|
21872
21879
|
);
|
|
21873
21880
|
}) });
|
|
21874
21881
|
}, o1 = ({ dense: e = !1 }) => {
|
|
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 =
|
|
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 = Ep({
|
|
21876
21883
|
items: l,
|
|
21877
21884
|
handleToggle: (f) => {
|
|
21878
21885
|
o((h) => ({ ...h, [f]: !h[f] }));
|
|
@@ -21935,7 +21942,7 @@ const r1 = (e) => {
|
|
|
21935
21942
|
exporter: m,
|
|
21936
21943
|
showFilter: f,
|
|
21937
21944
|
total: h
|
|
21938
|
-
} = Gr(e), v = qe(e), { hasCreate: g } = Gc(e), b = we(jf) || r, O = Gr(e),
|
|
21945
|
+
} = Gr(e), v = qe(e), { hasCreate: g } = Gc(e), b = we(jf) || r, O = Gr(e), E = { ...ha(e), ...O };
|
|
21939
21946
|
return delete s.hasCreate, Kt(
|
|
21940
21947
|
() => /* @__PURE__ */ V(Kc, { className: t, ...Vf(s), children: [
|
|
21941
21948
|
i ? null : r ? tr(r, {
|
|
@@ -21959,12 +21966,12 @@ const r1 = (e) => {
|
|
|
21959
21966
|
a,
|
|
21960
21967
|
(T, y) => tr(T, {
|
|
21961
21968
|
onClick: T.props.options ? null : (F) => {
|
|
21962
|
-
T.props.onClick && T.props.onClick(F), l(
|
|
21969
|
+
T.props.onClick && T.props.onClick(F), l(E, T.key);
|
|
21963
21970
|
},
|
|
21964
21971
|
options: T.props.options ? T.props.options.map((F) => ({
|
|
21965
21972
|
...F,
|
|
21966
|
-
onClick: (
|
|
21967
|
-
T.props.onClick && T.props.onClick(
|
|
21973
|
+
onClick: (P) => {
|
|
21974
|
+
T.props.onClick && T.props.onClick(P), l(E, F.key);
|
|
21968
21975
|
}
|
|
21969
21976
|
})) : null
|
|
21970
21977
|
})
|
|
@@ -21983,7 +21990,7 @@ const r1 = (e) => {
|
|
|
21983
21990
|
i,
|
|
21984
21991
|
m,
|
|
21985
21992
|
g,
|
|
21986
|
-
|
|
21993
|
+
E.data
|
|
21987
21994
|
]
|
|
21988
21995
|
);
|
|
21989
21996
|
};
|
|
@@ -22026,13 +22033,13 @@ function p1(e, t) {
|
|
|
22026
22033
|
component: g
|
|
22027
22034
|
},
|
|
22028
22035
|
internalRef: b
|
|
22029
|
-
} = v, O = W(v.props, d1), C = Ge(b, h == null ? void 0 : h.ref, t.ref),
|
|
22036
|
+
} = v, O = W(v.props, d1), C = Ge(b, h == null ? void 0 : h.ref, t.ref), E = l ? l(O) : {}, T = S({}, a, E), y = g, F = Vr(f, S({}, e === "root", !d[e] && s, O, y && {
|
|
22030
22037
|
as: y
|
|
22031
22038
|
}, {
|
|
22032
22039
|
ref: C
|
|
22033
22040
|
}), T);
|
|
22034
|
-
return Object.keys(
|
|
22035
|
-
delete F[
|
|
22041
|
+
return Object.keys(E).forEach((P) => {
|
|
22042
|
+
delete F[P];
|
|
22036
22043
|
}), [f, F];
|
|
22037
22044
|
}
|
|
22038
22045
|
const f1 = ["alt", "children", "className", "component", "slots", "slotProps", "imgProps", "sizes", "src", "srcSet", "variant"], m1 = i1(), h1 = (e) => {
|
|
@@ -22164,11 +22171,11 @@ const Al = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22164
22171
|
const O = y1(S({}, d, {
|
|
22165
22172
|
src: f,
|
|
22166
22173
|
srcSet: h
|
|
22167
|
-
})), C = f || h,
|
|
22168
|
-
colorDefault: !
|
|
22174
|
+
})), C = f || h, E = C && O !== "error", T = S({}, o, {
|
|
22175
|
+
colorDefault: !E,
|
|
22169
22176
|
component: s,
|
|
22170
22177
|
variant: v
|
|
22171
|
-
}), y = h1(T), [F,
|
|
22178
|
+
}), y = h1(T), [F, P] = p1("img", {
|
|
22172
22179
|
className: y.img,
|
|
22173
22180
|
elementType: b1,
|
|
22174
22181
|
externalForwardedProps: {
|
|
@@ -22185,7 +22192,7 @@ const Al = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22185
22192
|
},
|
|
22186
22193
|
ownerState: T
|
|
22187
22194
|
});
|
|
22188
|
-
return
|
|
22195
|
+
return E ? b = /* @__PURE__ */ p(F, S({}, P)) : i || i === 0 ? b = i : C && a ? b = a[0] : b = /* @__PURE__ */ p(v1, {
|
|
22189
22196
|
ownerState: T,
|
|
22190
22197
|
className: y.fallback
|
|
22191
22198
|
}), /* @__PURE__ */ p(g1, S({
|
|
@@ -22271,8 +22278,8 @@ process.env.NODE_ENV !== "production" && (Al.propTypes = {
|
|
|
22271
22278
|
function O1(e) {
|
|
22272
22279
|
return me("MuiButton", e);
|
|
22273
22280
|
}
|
|
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"]),
|
|
22275
|
-
process.env.NODE_ENV !== "production" && (
|
|
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"]), Pp = /* @__PURE__ */ x.createContext({});
|
|
22282
|
+
process.env.NODE_ENV !== "production" && (Pp.displayName = "ButtonGroupContext");
|
|
22276
22283
|
const Cp = /* @__PURE__ */ x.createContext(void 0);
|
|
22277
22284
|
process.env.NODE_ENV !== "production" && (Cp.displayName = "ButtonGroupButtonContext");
|
|
22278
22285
|
const x1 = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"], S1 = (e) => {
|
|
@@ -22435,7 +22442,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22435
22442
|
[`&.${gn.disabled}`]: {
|
|
22436
22443
|
boxShadow: "none"
|
|
22437
22444
|
}
|
|
22438
|
-
}),
|
|
22445
|
+
}), E1 = U("span", {
|
|
22439
22446
|
name: "MuiButton",
|
|
22440
22447
|
slot: "StartIcon",
|
|
22441
22448
|
overridesResolver: (e, t) => {
|
|
@@ -22452,7 +22459,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22452
22459
|
marginLeft: -4
|
|
22453
22460
|
}, e.size === "small" && {
|
|
22454
22461
|
marginLeft: -2
|
|
22455
|
-
}, Fp(e))),
|
|
22462
|
+
}, Fp(e))), P1 = U("span", {
|
|
22456
22463
|
name: "MuiButton",
|
|
22457
22464
|
slot: "EndIcon",
|
|
22458
22465
|
overridesResolver: (e, t) => {
|
|
@@ -22470,7 +22477,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22470
22477
|
}, e.size === "small" && {
|
|
22471
22478
|
marginRight: -2
|
|
22472
22479
|
}, Fp(e))), oo = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
22473
|
-
const o = x.useContext(
|
|
22480
|
+
const o = x.useContext(Pp), a = x.useContext(Cp), i = Pi(o, t), l = he({
|
|
22474
22481
|
props: i,
|
|
22475
22482
|
name: "MuiButton"
|
|
22476
22483
|
}), {
|
|
@@ -22486,7 +22493,7 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22486
22493
|
fullWidth: b = !1,
|
|
22487
22494
|
size: O = "medium",
|
|
22488
22495
|
startIcon: C,
|
|
22489
|
-
type:
|
|
22496
|
+
type: E,
|
|
22490
22497
|
variant: T = "text"
|
|
22491
22498
|
} = l, y = W(l, x1), F = S({}, l, {
|
|
22492
22499
|
color: c,
|
|
@@ -22496,28 +22503,28 @@ const x1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22496
22503
|
disableFocusRipple: h,
|
|
22497
22504
|
fullWidth: b,
|
|
22498
22505
|
size: O,
|
|
22499
|
-
type:
|
|
22506
|
+
type: E,
|
|
22500
22507
|
variant: T
|
|
22501
|
-
}),
|
|
22502
|
-
className:
|
|
22508
|
+
}), P = S1(F), $ = C && /* @__PURE__ */ p(E1, {
|
|
22509
|
+
className: P.startIcon,
|
|
22503
22510
|
ownerState: F,
|
|
22504
22511
|
children: C
|
|
22505
|
-
}), w = v && /* @__PURE__ */ p(
|
|
22506
|
-
className:
|
|
22512
|
+
}), w = v && /* @__PURE__ */ p(P1, {
|
|
22513
|
+
className: P.endIcon,
|
|
22507
22514
|
ownerState: F,
|
|
22508
22515
|
children: v
|
|
22509
22516
|
}), R = a || "";
|
|
22510
22517
|
return /* @__PURE__ */ V(T1, S({
|
|
22511
22518
|
ownerState: F,
|
|
22512
|
-
className: q(o.className,
|
|
22519
|
+
className: q(o.className, P.root, d, R),
|
|
22513
22520
|
component: u,
|
|
22514
22521
|
disabled: m,
|
|
22515
22522
|
focusRipple: !h,
|
|
22516
|
-
focusVisibleClassName: q(
|
|
22523
|
+
focusVisibleClassName: q(P.focusVisible, g),
|
|
22517
22524
|
ref: r,
|
|
22518
|
-
type:
|
|
22525
|
+
type: E
|
|
22519
22526
|
}, y, {
|
|
22520
|
-
classes:
|
|
22527
|
+
classes: P,
|
|
22521
22528
|
children: [$, s, w]
|
|
22522
22529
|
}));
|
|
22523
22530
|
});
|
|
@@ -22755,8 +22762,8 @@ function A1(e) {
|
|
|
22755
22762
|
}
|
|
22756
22763
|
fe("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
22757
22764
|
const I1 = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
22758
|
-
let ya = (e) => e,
|
|
22759
|
-
const ir = 44, D1 = lo(
|
|
22765
|
+
let ya = (e) => e, Ec, Pc, Cc, Fc;
|
|
22766
|
+
const ir = 44, D1 = lo(Ec || (Ec = ya`
|
|
22760
22767
|
0% {
|
|
22761
22768
|
transform: rotate(0deg);
|
|
22762
22769
|
}
|
|
@@ -22764,7 +22771,7 @@ const ir = 44, D1 = lo(Pc || (Pc = ya`
|
|
|
22764
22771
|
100% {
|
|
22765
22772
|
transform: rotate(360deg);
|
|
22766
22773
|
}
|
|
22767
|
-
`)), N1 = lo(
|
|
22774
|
+
`)), N1 = lo(Pc || (Pc = ya`
|
|
22768
22775
|
0% {
|
|
22769
22776
|
stroke-dasharray: 1px, 200px;
|
|
22770
22777
|
stroke-dashoffset: 0;
|
|
@@ -23231,50 +23238,50 @@ const Lp = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
23231
23238
|
rr(() => {
|
|
23232
23239
|
a && h.current.focus();
|
|
23233
23240
|
}, [a]), x.useImperativeHandle(o, () => ({
|
|
23234
|
-
adjustStyleForScrollbar: (
|
|
23241
|
+
adjustStyleForScrollbar: (E, {
|
|
23235
23242
|
direction: T
|
|
23236
23243
|
}) => {
|
|
23237
23244
|
const y = !h.current.style.width;
|
|
23238
|
-
if (
|
|
23239
|
-
const F = `${gu(Ze(
|
|
23245
|
+
if (E.clientHeight < h.current.clientHeight && y) {
|
|
23246
|
+
const F = `${gu(Ze(E))}px`;
|
|
23240
23247
|
h.current.style[T === "rtl" ? "paddingLeft" : "paddingRight"] = F, h.current.style.width = `calc(100% + ${F})`;
|
|
23241
23248
|
}
|
|
23242
23249
|
return h.current;
|
|
23243
23250
|
}
|
|
23244
23251
|
}), []);
|
|
23245
|
-
const g = (
|
|
23246
|
-
const T = h.current, y =
|
|
23252
|
+
const g = (E) => {
|
|
23253
|
+
const T = h.current, y = E.key, F = Ze(T).activeElement;
|
|
23247
23254
|
if (y === "ArrowDown")
|
|
23248
|
-
|
|
23255
|
+
E.preventDefault(), Oo(T, F, u, c, ja);
|
|
23249
23256
|
else if (y === "ArrowUp")
|
|
23250
|
-
|
|
23257
|
+
E.preventDefault(), Oo(T, F, u, c, wc);
|
|
23251
23258
|
else if (y === "Home")
|
|
23252
|
-
|
|
23259
|
+
E.preventDefault(), Oo(T, null, u, c, ja);
|
|
23253
23260
|
else if (y === "End")
|
|
23254
|
-
|
|
23261
|
+
E.preventDefault(), Oo(T, null, u, c, wc);
|
|
23255
23262
|
else if (y.length === 1) {
|
|
23256
|
-
const
|
|
23257
|
-
|
|
23258
|
-
const R = F && !
|
|
23259
|
-
|
|
23263
|
+
const P = v.current, $ = y.toLowerCase(), w = performance.now();
|
|
23264
|
+
P.keys.length > 0 && (w - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && $ !== P.keys[0] && (P.repeating = !1)), P.lastTime = w, P.keys.push($);
|
|
23265
|
+
const R = F && !P.repeating && $p(F, P);
|
|
23266
|
+
P.previousKeyMatched && (R || Oo(T, F, !1, c, ja, P)) ? E.preventDefault() : P.previousKeyMatched = !1;
|
|
23260
23267
|
}
|
|
23261
|
-
d && d(
|
|
23268
|
+
d && d(E);
|
|
23262
23269
|
}, b = Ge(h, r);
|
|
23263
23270
|
let O = -1;
|
|
23264
|
-
x.Children.forEach(l, (
|
|
23265
|
-
if (!/* @__PURE__ */ x.isValidElement(
|
|
23271
|
+
x.Children.forEach(l, (E, T) => {
|
|
23272
|
+
if (!/* @__PURE__ */ x.isValidElement(E)) {
|
|
23266
23273
|
O === T && (O += 1, O >= l.length && (O = -1));
|
|
23267
23274
|
return;
|
|
23268
23275
|
}
|
|
23269
|
-
process.env.NODE_ENV !== "production" && wo.isFragment(
|
|
23270
|
-
`)),
|
|
23276
|
+
process.env.NODE_ENV !== "production" && wo.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
23277
|
+
`)), E.props.disabled || (m === "selectedMenu" && E.props.selected || O === -1) && (O = T), O === T && (E.props.disabled || E.props.muiSkipListHighlight || E.type.muiSkipListHighlight) && (O += 1, O >= l.length && (O = -1));
|
|
23271
23278
|
});
|
|
23272
|
-
const C = x.Children.map(l, (
|
|
23279
|
+
const C = x.Children.map(l, (E, T) => {
|
|
23273
23280
|
if (T === O) {
|
|
23274
23281
|
const y = {};
|
|
23275
|
-
return i && (y.autoFocus = !0),
|
|
23282
|
+
return i && (y.autoFocus = !0), E.props.tabIndex === void 0 && m === "selectedMenu" && (y.tabIndex = 0), /* @__PURE__ */ x.cloneElement(E, y);
|
|
23276
23283
|
}
|
|
23277
|
-
return
|
|
23284
|
+
return E;
|
|
23278
23285
|
});
|
|
23279
23286
|
return /* @__PURE__ */ p(kp, S({
|
|
23280
23287
|
role: "menu",
|
|
@@ -23347,7 +23354,7 @@ function Mc(e, t) {
|
|
|
23347
23354
|
function kc(e) {
|
|
23348
23355
|
return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
|
|
23349
23356
|
}
|
|
23350
|
-
function
|
|
23357
|
+
function Pn(e) {
|
|
23351
23358
|
return typeof e == "function" ? e() : e;
|
|
23352
23359
|
}
|
|
23353
23360
|
const X1 = (e) => {
|
|
@@ -23399,14 +23406,14 @@ const X1 = (e) => {
|
|
|
23399
23406
|
marginThreshold: b = 16,
|
|
23400
23407
|
open: O,
|
|
23401
23408
|
PaperProps: C = {},
|
|
23402
|
-
slots:
|
|
23409
|
+
slots: E,
|
|
23403
23410
|
slotProps: T,
|
|
23404
23411
|
transformOrigin: y = {
|
|
23405
23412
|
vertical: "top",
|
|
23406
23413
|
horizontal: "left"
|
|
23407
23414
|
},
|
|
23408
23415
|
TransitionComponent: F = No,
|
|
23409
|
-
transitionDuration:
|
|
23416
|
+
transitionDuration: P = "auto",
|
|
23410
23417
|
TransitionProps: {
|
|
23411
23418
|
onEntering: $
|
|
23412
23419
|
} = {},
|
|
@@ -23419,12 +23426,12 @@ const X1 = (e) => {
|
|
|
23419
23426
|
externalPaperSlotProps: D,
|
|
23420
23427
|
transformOrigin: y,
|
|
23421
23428
|
TransitionComponent: F,
|
|
23422
|
-
transitionDuration:
|
|
23429
|
+
transitionDuration: P,
|
|
23423
23430
|
TransitionProps: R
|
|
23424
23431
|
}), A = X1(_), j = x.useCallback(() => {
|
|
23425
23432
|
if (m === "anchorPosition")
|
|
23426
23433
|
return process.env.NODE_ENV !== "production" && (d || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), d;
|
|
23427
|
-
const Z =
|
|
23434
|
+
const Z = Pn(c), I = Z && Z.nodeType === 1 ? Z : Ze(L.current).body, te = I.getBoundingClientRect();
|
|
23428
23435
|
if (process.env.NODE_ENV !== "production") {
|
|
23429
23436
|
const Re = I.getBoundingClientRect();
|
|
23430
23437
|
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(`
|
|
@@ -23450,7 +23457,7 @@ const X1 = (e) => {
|
|
|
23450
23457
|
};
|
|
23451
23458
|
const Re = j();
|
|
23452
23459
|
let Ce = Re.top - te.vertical, pe = Re.left - te.horizontal;
|
|
23453
|
-
const tt = Ce + I.height, le = pe + I.width, Be = Gt(
|
|
23460
|
+
const tt = Ce + I.height, le = pe + I.width, Be = Gt(Pn(c)), ze = Be.innerHeight - b, rt = Be.innerWidth - b;
|
|
23454
23461
|
if (b !== null && Ce < b) {
|
|
23455
23462
|
const Me = Ce - b;
|
|
23456
23463
|
Ce -= Me, te.vertical += Me;
|
|
@@ -23500,9 +23507,9 @@ const X1 = (e) => {
|
|
|
23500
23507
|
Z.clear(), I.removeEventListener("resize", Z);
|
|
23501
23508
|
};
|
|
23502
23509
|
}, [c, O, re]);
|
|
23503
|
-
let ee =
|
|
23504
|
-
|
|
23505
|
-
const ne = v || (c ? Ze(
|
|
23510
|
+
let ee = P;
|
|
23511
|
+
P === "auto" && !F.muiSupportAuto && (ee = void 0);
|
|
23512
|
+
const ne = v || (c ? Ze(Pn(c)).body : void 0), ce = (a = E == null ? void 0 : E.root) != null ? a : Z1, ae = (i = E == null ? void 0 : E.paper) != null ? i : Ap, G = kt({
|
|
23506
23513
|
elementType: ae,
|
|
23507
23514
|
externalSlotProps: S({}, D, {
|
|
23508
23515
|
style: J ? D.style : S({}, D.style, {
|
|
@@ -23515,7 +23522,7 @@ const X1 = (e) => {
|
|
|
23515
23522
|
},
|
|
23516
23523
|
ownerState: _,
|
|
23517
23524
|
className: q(A.paper, D == null ? void 0 : D.className)
|
|
23518
|
-
}),
|
|
23525
|
+
}), Ee = kt({
|
|
23519
23526
|
elementType: ce,
|
|
23520
23527
|
externalSlotProps: (T == null ? void 0 : T.root) || {},
|
|
23521
23528
|
externalForwardedProps: M,
|
|
@@ -23532,10 +23539,10 @@ const X1 = (e) => {
|
|
|
23532
23539
|
ownerState: _,
|
|
23533
23540
|
className: q(A.root, h)
|
|
23534
23541
|
}), {
|
|
23535
|
-
slotProps:
|
|
23536
|
-
} =
|
|
23542
|
+
slotProps: Pe
|
|
23543
|
+
} = Ee, B = W(Ee, Q1);
|
|
23537
23544
|
return /* @__PURE__ */ p(ce, S({}, B, !fd(ce) && {
|
|
23538
|
-
slotProps:
|
|
23545
|
+
slotProps: Pe,
|
|
23539
23546
|
disableScrollLock: w
|
|
23540
23547
|
}, {
|
|
23541
23548
|
children: /* @__PURE__ */ p(F, S({
|
|
@@ -23568,7 +23575,7 @@ process.env.NODE_ENV !== "production" && (Ip.propTypes = {
|
|
|
23568
23575
|
*/
|
|
23569
23576
|
anchorEl: Xt(n.oneOfType([Ut, n.func]), (e) => {
|
|
23570
23577
|
if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
|
|
23571
|
-
const t =
|
|
23578
|
+
const t = Pn(e.anchorEl);
|
|
23572
23579
|
if (t && t.nodeType === 1) {
|
|
23573
23580
|
const r = t.getBoundingClientRect();
|
|
23574
23581
|
if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
|
@@ -23791,8 +23798,8 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23791
23798
|
} = {},
|
|
23792
23799
|
variant: O = "selectedMenu",
|
|
23793
23800
|
slots: C = {},
|
|
23794
|
-
slotProps:
|
|
23795
|
-
} = i, T = W(i.TransitionProps, eF), y = W(i, tF), F = da(),
|
|
23801
|
+
slotProps: E = {}
|
|
23802
|
+
} = i, T = W(i.TransitionProps, eF), y = W(i, tF), F = da(), P = S({}, i, {
|
|
23796
23803
|
autoFocus: l,
|
|
23797
23804
|
disableAutoFocusItem: u,
|
|
23798
23805
|
MenuListProps: d,
|
|
@@ -23801,7 +23808,7 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23801
23808
|
transitionDuration: g,
|
|
23802
23809
|
TransitionProps: T,
|
|
23803
23810
|
variant: O
|
|
23804
|
-
}), $ = nF(
|
|
23811
|
+
}), $ = nF(P), w = l && !u && f, R = x.useRef(null), M = (k, z) => {
|
|
23805
23812
|
R.current && R.current.adjustStyleForScrollbar(k, {
|
|
23806
23813
|
direction: F ? "rtl" : "ltr"
|
|
23807
23814
|
}), b && b(k, z);
|
|
@@ -23813,15 +23820,15 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23813
23820
|
/* @__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(`
|
|
23814
23821
|
`)), k.props.disabled || (O === "selectedMenu" && k.props.selected || L === -1) && (L = z));
|
|
23815
23822
|
});
|
|
23816
|
-
const N = (o = C.paper) != null ? o : iF, _ = (a =
|
|
23823
|
+
const N = (o = C.paper) != null ? o : iF, _ = (a = E.paper) != null ? a : h, A = kt({
|
|
23817
23824
|
elementType: C.root,
|
|
23818
|
-
externalSlotProps:
|
|
23819
|
-
ownerState:
|
|
23825
|
+
externalSlotProps: E.root,
|
|
23826
|
+
ownerState: P,
|
|
23820
23827
|
className: [$.root, c]
|
|
23821
23828
|
}), j = kt({
|
|
23822
23829
|
elementType: N,
|
|
23823
23830
|
externalSlotProps: _,
|
|
23824
|
-
ownerState:
|
|
23831
|
+
ownerState: P,
|
|
23825
23832
|
className: $.paper
|
|
23826
23833
|
});
|
|
23827
23834
|
return /* @__PURE__ */ p(aF, S({
|
|
@@ -23845,7 +23852,7 @@ const eF = ["onEntering"], tF = ["autoFocus", "children", "className", "disableA
|
|
|
23845
23852
|
TransitionProps: S({
|
|
23846
23853
|
onEntering: M
|
|
23847
23854
|
}, T),
|
|
23848
|
-
ownerState:
|
|
23855
|
+
ownerState: P
|
|
23849
23856
|
}, y, {
|
|
23850
23857
|
classes: v,
|
|
23851
23858
|
children: /* @__PURE__ */ p(lF, S({
|
|
@@ -24095,12 +24102,12 @@ const xo = fe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
24095
24102
|
dense: g.dense,
|
|
24096
24103
|
divider: s,
|
|
24097
24104
|
disableGutters: c
|
|
24098
|
-
}), C = dF(o),
|
|
24105
|
+
}), C = dF(o), E = Ge(b, r);
|
|
24099
24106
|
let T;
|
|
24100
24107
|
return o.disabled || (T = m !== void 0 ? m : -1), /* @__PURE__ */ p(Vn.Provider, {
|
|
24101
24108
|
value: g,
|
|
24102
24109
|
children: /* @__PURE__ */ p(pF, S({
|
|
24103
|
-
ref:
|
|
24110
|
+
ref: E,
|
|
24104
24111
|
role: d,
|
|
24105
24112
|
tabIndex: T,
|
|
24106
24113
|
component: i,
|
|
@@ -24224,8 +24231,8 @@ const fF = ({
|
|
|
24224
24231
|
{
|
|
24225
24232
|
disabled: O.disabled,
|
|
24226
24233
|
selected: C === d,
|
|
24227
|
-
onClick: (
|
|
24228
|
-
h(
|
|
24234
|
+
onClick: (E) => {
|
|
24235
|
+
h(E, C), O.onClick && O.onClick(E, C);
|
|
24229
24236
|
},
|
|
24230
24237
|
resource: f,
|
|
24231
24238
|
title: O.label,
|
|
@@ -24297,7 +24304,7 @@ const fF = ({
|
|
|
24297
24304
|
},
|
|
24298
24305
|
T
|
|
24299
24306
|
));
|
|
24300
|
-
},
|
|
24307
|
+
}, E = () => tr(
|
|
24301
24308
|
l,
|
|
24302
24309
|
{
|
|
24303
24310
|
onChange: C,
|
|
@@ -24313,19 +24320,19 @@ const fF = ({
|
|
|
24313
24320
|
className: q("tabbed-form", r),
|
|
24314
24321
|
...SF(u),
|
|
24315
24322
|
children: [
|
|
24316
|
-
i ? /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(gi, { path: "/*", element:
|
|
24323
|
+
i ? /* @__PURE__ */ p(hi, { children: /* @__PURE__ */ p(gi, { path: "/*", element: E() }) }) : E(),
|
|
24317
24324
|
/* @__PURE__ */ p(cf, {}),
|
|
24318
24325
|
/* @__PURE__ */ p(o, { children: Bn.map(t, (T, y) => {
|
|
24319
24326
|
if (!T)
|
|
24320
24327
|
return null;
|
|
24321
|
-
const F = Yf(T, y),
|
|
24328
|
+
const F = Yf(T, y), P = i ? !za(
|
|
24322
24329
|
`${m.pathname}/${F}`,
|
|
24323
24330
|
d.pathname
|
|
24324
24331
|
) : h !== y;
|
|
24325
24332
|
return yr(T) ? x.cloneElement(T, {
|
|
24326
24333
|
intent: "content",
|
|
24327
24334
|
resource: f,
|
|
24328
|
-
hidden:
|
|
24335
|
+
hidden: P,
|
|
24329
24336
|
value: i ? F : y
|
|
24330
24337
|
}) : null;
|
|
24331
24338
|
}) }),
|
|
@@ -24372,7 +24379,7 @@ const TF = ({
|
|
|
24372
24379
|
validate: g,
|
|
24373
24380
|
warnWhenUnsavedChanges: b,
|
|
24374
24381
|
...O
|
|
24375
|
-
}) => O,
|
|
24382
|
+
}) => O, EF = (e) => {
|
|
24376
24383
|
const {
|
|
24377
24384
|
initialValues: t,
|
|
24378
24385
|
fichaProps: { config: r = {} }
|
|
@@ -24389,10 +24396,10 @@ const TF = ({
|
|
|
24389
24396
|
}
|
|
24390
24397
|
) : null;
|
|
24391
24398
|
};
|
|
24392
|
-
|
|
24399
|
+
EF.defaultProps = {
|
|
24393
24400
|
syncWithLocation: !1
|
|
24394
24401
|
};
|
|
24395
|
-
const
|
|
24402
|
+
const PF = {
|
|
24396
24403
|
...Br,
|
|
24397
24404
|
palette: {
|
|
24398
24405
|
...Br.palette,
|
|
@@ -24474,7 +24481,7 @@ const EF = {
|
|
|
24474
24481
|
}
|
|
24475
24482
|
}, xR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24476
24483
|
__proto__: null,
|
|
24477
|
-
darkTheme:
|
|
24484
|
+
darkTheme: PF,
|
|
24478
24485
|
lightTheme: CF
|
|
24479
24486
|
}, Symbol.toStringTag, { value: "Module" })), SR = (e) => {
|
|
24480
24487
|
const {
|
|
@@ -24550,19 +24557,19 @@ const TR = {
|
|
|
24550
24557
|
}
|
|
24551
24558
|
//...resources
|
|
24552
24559
|
};
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
const
|
|
24565
|
-
...
|
|
24560
|
+
Pt.ra.notification.created = "Datos guardados correctamente";
|
|
24561
|
+
Pt.ra.action.bulk_actions = "1 seleccionado |||| %{smart_count} seleccionados";
|
|
24562
|
+
Pt.ra.page.dashboard = "Inicio";
|
|
24563
|
+
Pt.ra.page.empty = "Sin registros todavía";
|
|
24564
|
+
Pt.ra.page.invite = "¿Quiere agregar uno?";
|
|
24565
|
+
Pt.ra.page.list = "%{name}";
|
|
24566
|
+
Pt.ra.page.edit = "Editar %{name}";
|
|
24567
|
+
Pt.ra.action.back = "Volver";
|
|
24568
|
+
Pt.ra.message.delete_title = "Eliminar";
|
|
24569
|
+
Pt.ra.input.file.upload_single = "Seleccione o arrastre archivo";
|
|
24570
|
+
Pt.ra.input.image.upload_single = "Seleccione o arrastre imagen";
|
|
24571
|
+
const ER = {
|
|
24572
|
+
...Pt,
|
|
24566
24573
|
from_camera: "Desde camara",
|
|
24567
24574
|
take_foto: "Tomar foto",
|
|
24568
24575
|
login: {
|
|
@@ -24599,7 +24606,7 @@ const PR = {
|
|
|
24599
24606
|
greater_or_equal: "Debe ser mayor o igual a %{menor}"
|
|
24600
24607
|
}
|
|
24601
24608
|
//...resources
|
|
24602
|
-
},
|
|
24609
|
+
}, PR = (e) => {
|
|
24603
24610
|
const { propsContenido: t, hidden: r } = wd(e), o = Yt(), a = JSON.parse(JSON.stringify(o)), i = a[e.source];
|
|
24604
24611
|
return a[e.source] = i != "" && i != "0", !r && /* @__PURE__ */ p(Xf, { ...t, record: a });
|
|
24605
24612
|
}, ii = oy({
|
|
@@ -24774,17 +24781,17 @@ const AF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24774
24781
|
onBlur: g,
|
|
24775
24782
|
onFocus: b,
|
|
24776
24783
|
ref: O
|
|
24777
|
-
} = Kn(), [C,
|
|
24778
|
-
g(w), v.current === !1 &&
|
|
24784
|
+
} = Kn(), [C, E] = x.useState(!1), T = Ge(r, O), y = (w) => {
|
|
24785
|
+
g(w), v.current === !1 && E(!1), s && s(w);
|
|
24779
24786
|
}, F = (w) => {
|
|
24780
|
-
b(w), v.current === !0 &&
|
|
24781
|
-
},
|
|
24787
|
+
b(w), v.current === !0 && E(!0), c && c(w);
|
|
24788
|
+
}, P = S({}, o, {
|
|
24782
24789
|
color: i,
|
|
24783
24790
|
component: l,
|
|
24784
24791
|
focusVisible: C,
|
|
24785
24792
|
underline: d,
|
|
24786
24793
|
variant: m
|
|
24787
|
-
}), $ = _F(
|
|
24794
|
+
}), $ = _F(P);
|
|
24788
24795
|
return /* @__PURE__ */ p(jF, S({
|
|
24789
24796
|
color: i,
|
|
24790
24797
|
className: q($.root, a),
|
|
@@ -24793,7 +24800,7 @@ const AF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24793
24800
|
onBlur: y,
|
|
24794
24801
|
onFocus: F,
|
|
24795
24802
|
ref: T,
|
|
24796
|
-
ownerState:
|
|
24803
|
+
ownerState: P,
|
|
24797
24804
|
variant: m,
|
|
24798
24805
|
sx: [...Object.keys(zp).includes(i) ? [] : [{
|
|
24799
24806
|
color: i
|
|
@@ -24973,7 +24980,7 @@ const Ic = (e) => {
|
|
|
24973
24980
|
return typeof e == "string" ? { src: `${t}/${e}` } : e instanceof Array ? e.map((r) => ({ src: `${t}/${r}` })) : e;
|
|
24974
24981
|
}, CR = (e) => {
|
|
24975
24982
|
var C;
|
|
24976
|
-
const { propsContenido: t, hidden: r } = lt(e), o = Je(), a = Yt(e), i = Hn((
|
|
24983
|
+
const { propsContenido: t, hidden: r } = lt(e), o = Je(), a = Yt(e), i = Hn((E) => E.breakpoints.down("sm")), l = $t();
|
|
24977
24984
|
if (!l)
|
|
24978
24985
|
return null;
|
|
24979
24986
|
const {
|
|
@@ -25000,7 +25007,7 @@ const Ic = (e) => {
|
|
|
25000
25007
|
maxSize: 5e6,
|
|
25001
25008
|
...v,
|
|
25002
25009
|
options: { disabled: c, ...s },
|
|
25003
|
-
format: (
|
|
25010
|
+
format: (E) => Dc(E, m),
|
|
25004
25011
|
placeholder: o("ra.input.image.upload_single"),
|
|
25005
25012
|
accept: "image/*",
|
|
25006
25013
|
inputProps: {
|
|
@@ -25026,7 +25033,7 @@ const Ic = (e) => {
|
|
|
25026
25033
|
maxSize: 5e6,
|
|
25027
25034
|
...v,
|
|
25028
25035
|
options: { disabled: c, ...s },
|
|
25029
|
-
format: (
|
|
25036
|
+
format: (E) => Dc(E, m),
|
|
25030
25037
|
placeholder: o("ra.input.file.upload_single"),
|
|
25031
25038
|
accept: f,
|
|
25032
25039
|
children: /* @__PURE__ */ V($l, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
@@ -25516,7 +25523,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25516
25523
|
seleccion: [],
|
|
25517
25524
|
all: !0,
|
|
25518
25525
|
none: !1
|
|
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})`,
|
|
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})`, Ew = (e) => e, IR = (e) => {
|
|
25520
25527
|
const {
|
|
25521
25528
|
asistant: t,
|
|
25522
25529
|
asistantResource: r,
|
|
@@ -25529,7 +25536,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25529
25536
|
} = e, [u] = ru("form_224"), [d, m] = Ue(!1), f = $t(), { estado: h, fichaProps: v = {} } = we(We), g = we(uo), {
|
|
25530
25537
|
hidden: b,
|
|
25531
25538
|
propsContenido: { disabled: O, label: C = "Funcionarios" }
|
|
25532
|
-
} = lt(e), { [i]:
|
|
25539
|
+
} = lt(e), { [i]: E = {}, etrs: T } = v, y = Zt({ ...e, etrs: T, asisEtr: g }), F = E.onChange === void 0 ? s : E.onChange;
|
|
25533
25540
|
pt(() => {
|
|
25534
25541
|
f.setValue(i, {
|
|
25535
25542
|
seleccion: [],
|
|
@@ -25537,7 +25544,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25537
25544
|
none: !1
|
|
25538
25545
|
});
|
|
25539
25546
|
}, []);
|
|
25540
|
-
const
|
|
25547
|
+
const P = Fe(() => {
|
|
25541
25548
|
m(!1);
|
|
25542
25549
|
}, [m]), $ = (M, D) => {
|
|
25543
25550
|
m(!1), f.setValue(i, {
|
|
@@ -25573,7 +25580,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25573
25580
|
source: i,
|
|
25574
25581
|
label: C,
|
|
25575
25582
|
disabled: !0,
|
|
25576
|
-
parse:
|
|
25583
|
+
parse: Ew,
|
|
25577
25584
|
format: Tw,
|
|
25578
25585
|
helperText: !1,
|
|
25579
25586
|
InputProps: {
|
|
@@ -25623,7 +25630,7 @@ const cw = (e) => /* @__PURE__ */ p(
|
|
|
25623
25630
|
isOpen: d,
|
|
25624
25631
|
title: `Selección de ${C}`,
|
|
25625
25632
|
onConfirm: $,
|
|
25626
|
-
onClose:
|
|
25633
|
+
onClose: P
|
|
25627
25634
|
}
|
|
25628
25635
|
)
|
|
25629
25636
|
] });
|
|
@@ -25681,7 +25688,7 @@ export {
|
|
|
25681
25688
|
fl as Asistente,
|
|
25682
25689
|
Od as AsistenteContext,
|
|
25683
25690
|
ll as AsistenteProvider,
|
|
25684
|
-
|
|
25691
|
+
PR as BooleanField,
|
|
25685
25692
|
CR as Camino,
|
|
25686
25693
|
FR as CheckBox,
|
|
25687
25694
|
qF as ComboBox,
|
|
@@ -25720,7 +25727,7 @@ export {
|
|
|
25720
25727
|
tc as ShowGridButton,
|
|
25721
25728
|
r1 as SubMenu,
|
|
25722
25729
|
IR as TBSF,
|
|
25723
|
-
|
|
25730
|
+
EF as TabbedFormEtriek,
|
|
25724
25731
|
Uw as TabbedGrillaEtriek,
|
|
25725
25732
|
DR as TextArea,
|
|
25726
25733
|
NR as TextBox,
|
|
@@ -25738,11 +25745,11 @@ export {
|
|
|
25738
25745
|
LS as deleteRecargarComboBox,
|
|
25739
25746
|
aR as descargarLink,
|
|
25740
25747
|
TR as enMessages,
|
|
25741
|
-
|
|
25748
|
+
ER as esMessages,
|
|
25742
25749
|
rR as etrFechaMayorQue,
|
|
25743
25750
|
Xd as etrRequerido,
|
|
25744
25751
|
eR as etrRequeridoNumerico,
|
|
25745
|
-
|
|
25752
|
+
VE as getFormcodFromResource,
|
|
25746
25753
|
oR as localeOptions,
|
|
25747
25754
|
$S as recargarComboBox,
|
|
25748
25755
|
Bw as renderCellComboBox,
|