biblio-react 3.0.0-alpha113 → 3.0.0-alpha115

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 CHANGED
@@ -2,7 +2,7 @@ var kw = Object.defineProperty;
2
2
  var a = (e, t) => kw(e, "name", { value: t, configurable: !0 });
3
3
  import we, { jsx as y, jsxs as q, Fragment as dn } from "react/jsx-runtime";
4
4
  import * as x from "react";
5
- import ot, { forwardRef as hl, useContext as Ee, createElement as ev, Children as cd, isValidElement as Rn, cloneElement as Hr, createContext as At, useState as Ie, useMemo as mr, useRef as Ci, useCallback as Ue, useEffect as We, Fragment as pn, memo as Kx, useImperativeHandle as ww, useDebugValue as Yx, useId as Pw } from "react";
5
+ import ot, { forwardRef as hl, useContext as Ee, createElement as ev, Children as cd, isValidElement as Rn, cloneElement as Hr, createContext as At, useState as Ne, useMemo as mr, useRef as Ci, useCallback as Ue, useEffect as We, Fragment as pn, memo as Kx, useImperativeHandle as ww, useDebugValue as Yx, useId as Pw } from "react";
6
6
  import { unstable_ClassNameGenerator as Jx, exactProp as ud, unstable_getScrollbarSize as Mw, unstable_ownerDocument as An, unstable_ownerWindow as _s, unstable_useForkRef as sa, elementAcceptingRef as Rw, unstable_useEnhancedEffect as ai, unstable_setRef as tv, HTMLElementType as Cf, unstable_useEventCallback as rv, unstable_createChainedFunction as nv, unstable_debounce as Aw, usePreviousProps as Fw, unstable_getNormalizedScrollLeft as $w, unstable_detectScrollType as Iw, chainPropTypes as Nw, refType as Lw, deepmerge as Qx } from "@mui/utils";
7
7
  import { MenuItem as Go, ListItemIcon as Yi, ListItemText as Ji, useMediaQuery as Ti, Typography as js, Box as it, Grid as ov, Dialog as um, DialogTitle as Xx, DialogContent as Dw, Stack as dm, DialogActions as _w, Tooltip as dd, IconButton as zs, createTheme as jw, ThemeProvider as zw, alpha as Bw, StyledEngineProvider as Zx, Card as e1, CircularProgress as Vw, CardContent as t1, Collapse as Hw, List as r1, Menu as Tf, Switch as Ww, Divider as Uw, Button as iv, Paper as n1, ToggleButtonGroup as pd, ToggleButton as jt, ListItem as qw, useTheme as Gw, FormHelperText as Kw } from "@mui/material";
8
8
  import { useTranslate as Ct, useUserMenu as Yw, useResourceDefinitions as Jw, AppBar as Qw, UserMenu as Xw, Logout as Zw, useSaveContext as eP, required as tP, minValue as rP, TopToolbar as o1, RefreshButton as nP, ListButton as oP, ShowButton as iP, useNotify as aP, useDataProvider as Fa, useResourceContext as pt, useListContext as si, useRedirect as $a, useUnselectAll as sP, NumberField as lP, DateField as av, TextField as dc, ReferenceField as cP, useCreatePath as ml, Button as wr, SaveButton as fd, Confirm as hd, Form as gl, useRecordContext as Lr, useResourceDefinition as i1, BulkActionsToolbar as uP, useInput as md, useGetList as a1, Labeled as s1, useSafeSetState as pm, useGetOne as l1, useCreateController as dP, CreateContextProvider as pP, LoadingClasses as wc, Create as fP, useListController as hP, ListContextProvider as mP, List as c1, useDelete as u1, Edit as gP, useEditContext as bP, SimpleForm as yP, useSidebarState as d1, Menu as vP, DashboardMenuItem as OP, MenuItemLink as p1, Layout as xP, FilterContext as SP, sanitizeListRestProps as CP, FilterButton as TP, CreateButton as EP, useLogin as kP, TextInput as li, PasswordInput as f1, Show as wP, useShowContext as PP, FormTab as MP, getTabbedFormTabFullPath as RP, TabbedFormTabs as AP, Toolbar as h1, defaultTheme as m1, BooleanField as FP, ImageInput as $P, ImageField as IP, FileInput as NP, BooleanInput as LP, ReferenceInput as g1, useChoicesContext as b1, AutocompleteInput as DP, SelectInput as _P, ReferenceArrayInput as jP, AutocompleteArrayInput as zP, SearchInput as BP, RadioButtonGroupInput as y1, useRecordSelection as v1, ListActions as VP, Datagrid as HP, ValidationError as WP, FieldTitle as O1, NumberInput as UP } from "react-admin";
@@ -2791,16 +2791,16 @@ function WR() {
2791
2791
  var me = Y.$$typeof;
2792
2792
  switch (me) {
2793
2793
  case e:
2794
- var Be = Y.type;
2795
- switch (Be) {
2794
+ var Ve = Y.type;
2795
+ switch (Ve) {
2796
2796
  case r:
2797
2797
  case o:
2798
2798
  case n:
2799
2799
  case d:
2800
2800
  case p:
2801
- return Be;
2801
+ return Ve;
2802
2802
  default:
2803
- var be = Be && Be.$$typeof;
2803
+ var be = Ve && Ve.$$typeof;
2804
2804
  switch (be) {
2805
2805
  case l:
2806
2806
  case s:
@@ -8668,7 +8668,7 @@ process.env.NODE_ENV !== "production" && (Al.propTypes = {
8668
8668
  sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
8669
8669
  });
8670
8670
  const _S = At(), Fl = /* @__PURE__ */ a(({ children: e }) => {
8671
- const [t, r] = Ie(!1), [n, o] = Ie(""), i = mr(
8671
+ const [t, r] = Ne(!1), [n, o] = Ne(""), i = mr(
8672
8672
  () => ({
8673
8673
  open: t,
8674
8674
  mensaje: n,
@@ -8681,7 +8681,7 @@ const _S = At(), Fl = /* @__PURE__ */ a(({ children: e }) => {
8681
8681
  );
8682
8682
  return /* @__PURE__ */ y(_S.Provider, { value: i, children: e });
8683
8683
  }, "ProgressProvider"), Ba = /* @__PURE__ */ a(() => Ee(_S), "useFormProgress"), jS = At(), ng = /* @__PURE__ */ a(({ children: e }) => {
8684
- const [t, r] = Ie(!1), [n, o] = Ie({}), i = mr(
8684
+ const [t, r] = Ne(!1), [n, o] = Ne({}), i = mr(
8685
8685
  () => ({
8686
8686
  open: t,
8687
8687
  props: n,
@@ -8700,7 +8700,7 @@ const _S = At(), Fl = /* @__PURE__ */ a(({ children: e }) => {
8700
8700
  handleSeleccionMultiple: n,
8701
8701
  children: o
8702
8702
  }) => {
8703
- const i = Ci(null), [s, l] = Ie({
8703
+ const i = Ci(null), [s, l] = Ne({
8704
8704
  hasCreate: e,
8705
8705
  hasSeleccionMultiple: t,
8706
8706
  handleSeleccionMultiple: n
@@ -9580,7 +9580,7 @@ const cL = /^(\d+)(th|st|nd|rd)?/i, uL = /\d+/i, dL = {
9580
9580
  firstWeekContainsDate: 1
9581
9581
  }
9582
9582
  }, St = At({}), Va = At(void 0), HS = At(), ig = /* @__PURE__ */ a(({ value: e, children: t }) => {
9583
- const [r, n] = Ie({}), o = mr(
9583
+ const [r, n] = Ne({}), o = mr(
9584
9584
  () => ({
9585
9585
  estado: e.estado,
9586
9586
  initialValues: e.initialValues,
@@ -9605,8 +9605,8 @@ const cL = /^(\d+)(th|st|nd|rd)?/i, uL = /\d+/i, dL = {
9605
9605
  const t = Ee(HS);
9606
9606
  return (e == null ? void 0 : e.id) || t;
9607
9607
  }, "useIdContext"), ar = /* @__PURE__ */ a((e) => {
9608
- const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = Ee(St), i = Ee(Va), s = i !== void 0, l = bm((He) => {
9609
- const ht = He.configInputs ? He.configInputs.filter((Ot) => Ot.id === t) : [];
9608
+ const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = Ee(St), i = Ee(Va), s = i !== void 0, l = bm((ze) => {
9609
+ const ht = ze.configInputs ? ze.configInputs.filter((Ot) => Ot.id === t) : [];
9610
9610
  return ht[0] ? ht[0] : null;
9611
9611
  }), {
9612
9612
  conts: u = []
@@ -9615,7 +9615,7 @@ const cL = /^(\d+)(th|st|nd|rd)?/i, uL = /\d+/i, dL = {
9615
9615
  hidden: d,
9616
9616
  required: p,
9617
9617
  disabled: f
9618
- } = u[t] || { hidden: 0, required: 0, disabled: 0 }, {
9618
+ } = u.length === 0 ? { hidden: 0, required: 0, disabled: 0 } : u[t] ? u[t] : { hidden: 1, required: 0, disabled: 0 }, {
9619
9619
  disabled: h,
9620
9620
  hidden: g,
9621
9621
  required: m,
@@ -9655,15 +9655,16 @@ const cL = /^(\d+)(th|st|nd|rd)?/i, uL = /\d+/i, dL = {
9655
9655
  onBlur: pe,
9656
9656
  validate: Y,
9657
9657
  required: me,
9658
- ...Be
9659
- } = Z, be = ie || W, Me = pe || J, st = _ || G, Ve = m !== void 0 ? m : me !== void 0 ? me : s || D === void 0 ? R : D, Ne = Array.isArray($) ? $ : [$], nt = Array.isArray(K) ? K : [K], rt = Array.isArray(Y) ? Y : [Y], Le = [
9660
- ...Ne,
9658
+ ...Ve
9659
+ } = Z, be = ie || W, Me = pe || J, st = _ || G, He = m !== void 0 ? m : me !== void 0 ? me : s || D === void 0 ? R : D, Le = Array.isArray($) ? $ : [$], nt = Array.isArray(K) ? K : [K], rt = Array.isArray(Y) ? Y : [Y];
9660
+ let Fe = [
9661
+ ...Le,
9661
9662
  ...nt,
9662
9663
  ...rt,
9663
9664
  O,
9664
9665
  k
9665
- ].filter((He) => He !== void 0);
9666
- return Le.length === 0 && p && Le.push(Bf), {
9666
+ ].filter((ze) => ze !== void 0);
9667
+ return p ? Fe.push(Bf) : Fe = Fe.filter((ze) => !ze.isRequired), {
9667
9668
  propsContenido: {
9668
9669
  sx: {
9669
9670
  mr: { xs: 0, md: 1 },
@@ -9673,19 +9674,19 @@ const cL = /^(\d+)(th|st|nd|rd)?/i, uL = /\d+/i, dL = {
9673
9674
  bottom: { xs: "-1.5em", md: "-1.6em" }
9674
9675
  }
9675
9676
  },
9676
- onFocus: /* @__PURE__ */ a((He) => {
9677
- be && W(te, r, He);
9677
+ onFocus: /* @__PURE__ */ a((ze) => {
9678
+ be && W(te, r, ze);
9678
9679
  }, "onFocus"),
9679
- onBlur: /* @__PURE__ */ a((He) => Me && Me(te, r, He), "onBlur"),
9680
- onChange: /* @__PURE__ */ a((He) => st && st(te, r, He), "onChange"),
9680
+ onBlur: /* @__PURE__ */ a((ze) => Me && Me(te, r, ze), "onBlur"),
9681
+ onChange: /* @__PURE__ */ a((ze) => st && st(te, r, ze), "onChange"),
9681
9682
  helperText: !1,
9682
- validate: Le,
9683
+ validate: Fe,
9683
9684
  ...A,
9684
9685
  ...j,
9685
- ...Be,
9686
+ ...Ve,
9686
9687
  readOnly: h !== void 0 ? h : se !== void 0 ? se : f ? !0 : H,
9687
9688
  ...v ? { label: v } : {},
9688
- required: Ve
9689
+ required: He
9689
9690
  },
9690
9691
  hidden: g !== void 0 ? g : oe !== void 0 ? oe : d ? !0 : ee
9691
9692
  };
@@ -10000,7 +10001,7 @@ const qS = /* @__PURE__ */ a(() => {
10000
10001
  []
10001
10002
  ), n];
10002
10003
  }, "useAjax"), tC = At(), rC = /* @__PURE__ */ a(({ children: e }) => {
10003
- const [t, r] = Ie({}), n = /* @__PURE__ */ a((i, s) => {
10004
+ const [t, r] = Ne({}), n = /* @__PURE__ */ a((i, s) => {
10004
10005
  r((l) => ({
10005
10006
  ...l,
10006
10007
  [i]: s
@@ -11234,8 +11235,8 @@ const ba = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11234
11235
  value: ee
11235
11236
  } = o, H = ne(o, DD), W = k.value != null ? k.value : ee, {
11236
11237
  current: J
11237
- } = x.useRef(W != null), G = x.useRef(), te = x.useCallback((Fe) => {
11238
- process.env.NODE_ENV !== "production" && Fe && Fe.nodeName !== "INPUT" && !Fe.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
11238
+ } = x.useRef(W != null), G = x.useRef(), te = x.useCallback(($e) => {
11239
+ process.env.NODE_ENV !== "production" && $e && $e.nodeName !== "INPUT" && !$e.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
11239
11240
  `));
11240
11241
  }, []), Z = Tt(G, T, k.ref, te), [oe, se] = x.useState(!1), ie = Pi();
11241
11242
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
@@ -11250,51 +11251,51 @@ const ba = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11250
11251
  _.focused = ie ? ie.focused : oe, x.useEffect(() => {
11251
11252
  !ie && h && oe && (se(!1), F && F());
11252
11253
  }, [ie, h, oe, F]);
11253
- const pe = ie && ie.onFilled, Y = ie && ie.onEmpty, me = x.useCallback((Fe) => {
11254
- _c(Fe) ? pe && pe() : Y && Y();
11254
+ const pe = ie && ie.onFilled, Y = ie && ie.onEmpty, me = x.useCallback(($e) => {
11255
+ _c($e) ? pe && pe() : Y && Y();
11255
11256
  }, [pe, Y]);
11256
11257
  bn(() => {
11257
11258
  J && me({
11258
11259
  value: W
11259
11260
  });
11260
11261
  }, [W, me, J]);
11261
- const Be = /* @__PURE__ */ a((Fe) => {
11262
+ const Ve = /* @__PURE__ */ a(($e) => {
11262
11263
  if (_.disabled) {
11263
- Fe.stopPropagation();
11264
+ $e.stopPropagation();
11264
11265
  return;
11265
11266
  }
11266
- R && R(Fe), k.onFocus && k.onFocus(Fe), ie && ie.onFocus ? ie.onFocus(Fe) : se(!0);
11267
- }, "handleFocus"), be = /* @__PURE__ */ a((Fe) => {
11268
- F && F(Fe), k.onBlur && k.onBlur(Fe), ie && ie.onBlur ? ie.onBlur(Fe) : se(!1);
11269
- }, "handleBlur"), Me = /* @__PURE__ */ a((Fe, ...ye) => {
11267
+ R && R($e), k.onFocus && k.onFocus($e), ie && ie.onFocus ? ie.onFocus($e) : se(!0);
11268
+ }, "handleFocus"), be = /* @__PURE__ */ a(($e) => {
11269
+ F && F($e), k.onBlur && k.onBlur($e), ie && ie.onBlur ? ie.onBlur($e) : se(!1);
11270
+ }, "handleBlur"), Me = /* @__PURE__ */ a(($e, ...ye) => {
11270
11271
  if (!J) {
11271
- const de = Fe.target || G.current;
11272
+ const de = $e.target || G.current;
11272
11273
  if (de == null)
11273
11274
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : In(1));
11274
11275
  me({
11275
11276
  value: de.value
11276
11277
  });
11277
11278
  }
11278
- k.onChange && k.onChange(Fe, ...ye), M && M(Fe, ...ye);
11279
+ k.onChange && k.onChange($e, ...ye), M && M($e, ...ye);
11279
11280
  }, "handleChange");
11280
11281
  x.useEffect(() => {
11281
11282
  me(G.current);
11282
11283
  }, []);
11283
- const st = /* @__PURE__ */ a((Fe) => {
11284
- G.current && Fe.currentTarget === Fe.target && G.current.focus(), $ && $(Fe);
11284
+ const st = /* @__PURE__ */ a(($e) => {
11285
+ G.current && $e.currentTarget === $e.target && G.current.focus(), $ && $($e);
11285
11286
  }, "handleClick");
11286
- let Ve = O, Ne = k;
11287
- w && Ve === "input" && (B ? (process.env.NODE_ENV !== "production" && (S || C) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Ne = E({
11287
+ let He = O, Le = k;
11288
+ w && He === "input" && (B ? (process.env.NODE_ENV !== "production" && (S || C) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Le = E({
11288
11289
  type: void 0,
11289
11290
  minRows: B,
11290
11291
  maxRows: B
11291
- }, Ne)) : Ne = E({
11292
+ }, Le)) : Le = E({
11292
11293
  type: void 0,
11293
11294
  maxRows: C,
11294
11295
  minRows: S
11295
- }, Ne), Ve = dC);
11296
- const nt = /* @__PURE__ */ a((Fe) => {
11297
- me(Fe.animationName === "mui-auto-fill-cancel" ? G.current : {
11296
+ }, Le), He = dC);
11297
+ const nt = /* @__PURE__ */ a(($e) => {
11298
+ me($e.animationName === "mui-auto-fill-cancel" ? G.current : {
11298
11299
  value: "x"
11299
11300
  });
11300
11301
  }, "handleAutoFill");
@@ -11314,15 +11315,15 @@ const ba = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11314
11315
  size: _.size,
11315
11316
  startAdornment: D,
11316
11317
  type: j
11317
- }), Le = _D(rt), He = K.root || d.Root || Vd, ht = L.root || p.root || {}, Ot = K.input || d.Input || Hd;
11318
- return Ne = E({}, Ne, (n = L.input) != null ? n : p.input), /* @__PURE__ */ q(x.Fragment, {
11319
- children: [!g && jD, /* @__PURE__ */ q(He, E({}, ht, !ha(He) && {
11318
+ }), Fe = _D(rt), ze = K.root || d.Root || Vd, ht = L.root || p.root || {}, Ot = K.input || d.Input || Hd;
11319
+ return Le = E({}, Le, (n = L.input) != null ? n : p.input), /* @__PURE__ */ q(x.Fragment, {
11320
+ children: [!g && jD, /* @__PURE__ */ q(ze, E({}, ht, !ha(ze) && {
11320
11321
  ownerState: E({}, rt, ht.ownerState)
11321
11322
  }, {
11322
11323
  ref: r,
11323
11324
  onClick: st
11324
11325
  }, H, {
11325
- className: re(Le.root, ht.className, u, V && "MuiInputBase-readOnly"),
11326
+ className: re(Fe.root, ht.className, u, V && "MuiInputBase-readOnly"),
11326
11327
  children: [D, /* @__PURE__ */ y(jd.Provider, {
11327
11328
  value: null,
11328
11329
  children: /* @__PURE__ */ y(Ot, E({
@@ -11344,15 +11345,15 @@ const ba = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11344
11345
  onKeyDown: A,
11345
11346
  onKeyUp: I,
11346
11347
  type: j
11347
- }, Ne, !ha(Ot) && {
11348
- as: Ve,
11349
- ownerState: E({}, rt, Ne.ownerState)
11348
+ }, Le, !ha(Ot) && {
11349
+ as: He,
11350
+ ownerState: E({}, rt, Le.ownerState)
11350
11351
  }, {
11351
11352
  ref: Z,
11352
- className: re(Le.input, Ne.className, V && "MuiInputBase-readOnly"),
11353
+ className: re(Fe.input, Le.className, V && "MuiInputBase-readOnly"),
11353
11354
  onBlur: be,
11354
11355
  onChange: Me,
11355
- onFocus: Be
11356
+ onFocus: Ve
11356
11357
  }))
11357
11358
  }), m, z ? z(E({}, _, {
11358
11359
  startAdornment: D
@@ -12324,26 +12325,26 @@ const e2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), t2 = ["act
12324
12325
  a(oe, "useRippleHandler");
12325
12326
  const se = oe("start", w), ie = oe("stop", v), _ = oe("stop", O), pe = oe("stop", F), Y = oe("stop", (ye) => {
12326
12327
  W && ye.preventDefault(), P && P(ye);
12327
- }), me = oe("start", R), Be = oe("stop", M), be = oe("stop", $), Me = oe("stop", (ye) => {
12328
+ }), me = oe("start", R), Ve = oe("stop", M), be = oe("stop", $), Me = oe("stop", (ye) => {
12328
12329
  ee(ye), D.current === !1 && J(!1), m && m(ye);
12329
12330
  }, !1), st = cr((ye) => {
12330
12331
  B.current || (B.current = ye.currentTarget), j(ye), D.current === !0 && (J(!0), T && T(ye)), k && k(ye);
12331
- }), Ve = /* @__PURE__ */ a(() => {
12332
+ }), He = /* @__PURE__ */ a(() => {
12332
12333
  const ye = B.current;
12333
12334
  return u && u !== "button" && !(ye.tagName === "A" && ye.href);
12334
- }, "isNonNativeButton"), Ne = x.useRef(!1), nt = cr((ye) => {
12335
- h && !Ne.current && W && L.current && ye.key === " " && (Ne.current = !0, L.current.stop(ye, () => {
12335
+ }, "isNonNativeButton"), Le = x.useRef(!1), nt = cr((ye) => {
12336
+ h && !Le.current && W && L.current && ye.key === " " && (Le.current = !0, L.current.stop(ye, () => {
12336
12337
  L.current.start(ye);
12337
- })), ye.target === ye.currentTarget && Ve() && ye.key === " " && ye.preventDefault(), C && C(ye), ye.target === ye.currentTarget && Ve() && ye.key === "Enter" && !d && (ye.preventDefault(), b && b(ye));
12338
+ })), ye.target === ye.currentTarget && He() && ye.key === " " && ye.preventDefault(), C && C(ye), ye.target === ye.currentTarget && He() && ye.key === "Enter" && !d && (ye.preventDefault(), b && b(ye));
12338
12339
  }), rt = cr((ye) => {
12339
- h && ye.key === " " && L.current && W && !ye.defaultPrevented && (Ne.current = !1, L.current.stop(ye, () => {
12340
+ h && ye.key === " " && L.current && W && !ye.defaultPrevented && (Le.current = !1, L.current.stop(ye, () => {
12340
12341
  L.current.pulsate(ye);
12341
- })), S && S(ye), b && ye.target === ye.currentTarget && Ve() && ye.key === " " && !ye.defaultPrevented && b(ye);
12342
+ })), S && S(ye), b && ye.target === ye.currentTarget && He() && ye.key === " " && !ye.defaultPrevented && b(ye);
12342
12343
  });
12343
- let Le = u;
12344
- Le === "button" && (z.href || z.to) && (Le = g);
12345
- const He = {};
12346
- Le === "button" ? (He.type = V === void 0 ? "button" : V, He.disabled = d) : (!z.href && !z.to && (He.role = "button"), d && (He["aria-disabled"] = d));
12344
+ let Fe = u;
12345
+ Fe === "button" && (z.href || z.to) && (Fe = g);
12346
+ const ze = {};
12347
+ Fe === "button" ? (ze.type = V === void 0 ? "button" : V, ze.disabled = d) : (!z.href && !z.to && (ze.role = "button"), d && (ze["aria-disabled"] = d));
12347
12348
  const ht = Tt(r, H, B);
12348
12349
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
12349
12350
  Z && !L.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
@@ -12358,10 +12359,10 @@ const e2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), t2 = ["act
12358
12359
  focusRipple: h,
12359
12360
  tabIndex: A,
12360
12361
  focusVisible: W
12361
- }), Fe = r2(Ot);
12362
+ }), $e = r2(Ot);
12362
12363
  return /* @__PURE__ */ q(n2, E({
12363
- as: Le,
12364
- className: re(Fe.root, l),
12364
+ as: Fe,
12365
+ className: re($e.root, l),
12365
12366
  ownerState: Ot,
12366
12367
  onBlur: Me,
12367
12368
  onClick: b,
@@ -12373,13 +12374,13 @@ const e2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), t2 = ["act
12373
12374
  onMouseLeave: Y,
12374
12375
  onMouseUp: pe,
12375
12376
  onDragLeave: _,
12376
- onTouchEnd: Be,
12377
+ onTouchEnd: Ve,
12377
12378
  onTouchMove: be,
12378
12379
  onTouchStart: me,
12379
12380
  ref: ht,
12380
12381
  tabIndex: d ? -1 : A,
12381
12382
  type: V
12382
- }, He, z, {
12383
+ }, ze, z, {
12383
12384
  children: [s, Z ? (
12384
12385
  /* TouchRipple is only needed client-side, x2 boost on the server. */
12385
12386
  /* @__PURE__ */ y(mC, E({
@@ -15279,7 +15280,7 @@ const g_ = {
15279
15280
  A400: "#ffea00",
15280
15281
  A700: "#ffd600"
15281
15282
  }, wC = /* @__PURE__ */ a(({ containerRef: e, ...t }) => {
15282
- const [r, n] = Ie(null);
15283
+ const [r, n] = Ne(null);
15283
15284
  return We(() => {
15284
15285
  e != null && e.current && n(e.current);
15285
15286
  }, [e]), r ? iM(
@@ -17078,7 +17079,7 @@ function Wf() {
17078
17079
  }, Wf.apply(null, arguments);
17079
17080
  }
17080
17081
  a(Wf, "_extends");
17081
- const ze = /* @__PURE__ */ a((e, t) => {
17082
+ const Be = /* @__PURE__ */ a((e, t) => {
17082
17083
  var r, n;
17083
17084
  return {
17084
17085
  components: {
@@ -17235,7 +17236,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
17235
17236
  aggregationFunctionLabelMin: "الحد الادنى",
17236
17237
  aggregationFunctionLabelMax: "الحد الاقصى",
17237
17238
  aggregationFunctionLabelSize: "الحجم"
17238
- }, sj = ze(aj, k_), lj = {
17239
+ }, sj = Be(aj, k_), lj = {
17239
17240
  components: {
17240
17241
  MuiTablePagination: {
17241
17242
  defaultProps: {
@@ -17423,7 +17424,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
17423
17424
  aggregationFunctionLabelMin: "мінімум",
17424
17425
  aggregationFunctionLabelMax: "максімум",
17425
17426
  aggregationFunctionLabelSize: "памер"
17426
- }, dj = ze(uj, lj), pj = {
17427
+ }, dj = Be(uj, lj), pj = {
17427
17428
  // Root
17428
17429
  noRowsLabel: "Няма редове",
17429
17430
  noResultsOverlayLabel: "Няма намерени резултати.",
@@ -17567,7 +17568,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
17567
17568
  aggregationFunctionLabelMin: "мин",
17568
17569
  aggregationFunctionLabelMax: "макс",
17569
17570
  aggregationFunctionLabelSize: "размер"
17570
- }, fj = ze(pj, w_), hj = {
17571
+ }, fj = Be(pj, w_), hj = {
17571
17572
  // Root
17572
17573
  noRowsLabel: "Žádné záznamy",
17573
17574
  noResultsOverlayLabel: "Nenašly se žadné výsledky.",
@@ -17723,7 +17724,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
17723
17724
  aggregationFunctionLabelMin: "min",
17724
17725
  aggregationFunctionLabelMax: "max",
17725
17726
  aggregationFunctionLabelSize: "počet"
17726
- }, mj = ze(hj, P_), gj = {
17727
+ }, mj = Be(hj, P_), gj = {
17727
17728
  // Root
17728
17729
  noRowsLabel: "Ingen rækker",
17729
17730
  noResultsOverlayLabel: "Ingen resultater",
@@ -17867,7 +17868,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
17867
17868
  aggregationFunctionLabelMin: "min",
17868
17869
  aggregationFunctionLabelMax: "max",
17869
17870
  aggregationFunctionLabelSize: "størrelse"
17870
- }, bj = ze(gj, M_), yj = {
17871
+ }, bj = Be(gj, M_), yj = {
17871
17872
  // Root
17872
17873
  noRowsLabel: "Keine Einträge",
17873
17874
  noResultsOverlayLabel: "Keine Ergebnisse gefunden.",
@@ -18011,7 +18012,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18011
18012
  aggregationFunctionLabelMin: "Minimum",
18012
18013
  aggregationFunctionLabelMax: "Maximum",
18013
18014
  aggregationFunctionLabelSize: "Anzahl"
18014
- }, vj = ze(yj, R_), Oj = {
18015
+ }, vj = Be(yj, R_), Oj = {
18015
18016
  // Root
18016
18017
  noRowsLabel: "Δεν υπάρχουν καταχωρήσεις",
18017
18018
  noResultsOverlayLabel: "Δεν βρέθηκαν αποτελέσματα.",
@@ -18155,7 +18156,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18155
18156
  aggregationFunctionLabelMin: "ελάχιστο",
18156
18157
  aggregationFunctionLabelMax: "μέγιστο",
18157
18158
  aggregationFunctionLabelSize: "μέγεθος"
18158
- }, xj = ze(Oj, A_), Sj = {
18159
+ }, xj = Be(Oj, A_), Sj = {
18159
18160
  // Root
18160
18161
  noRowsLabel: "No rows",
18161
18162
  noResultsOverlayLabel: "No results found.",
@@ -18301,7 +18302,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18301
18302
  aggregationFunctionLabelMin: "min",
18302
18303
  aggregationFunctionLabelMax: "max",
18303
18304
  aggregationFunctionLabelSize: "size"
18304
- }, Cj = ze(Sj, F_), Tj = {
18305
+ }, Cj = Be(Sj, F_), Tj = {
18305
18306
  // Root
18306
18307
  noRowsLabel: "Sin filas",
18307
18308
  noResultsOverlayLabel: "Resultados no encontrados",
@@ -18445,7 +18446,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18445
18446
  aggregationFunctionLabelMin: "mínimo",
18446
18447
  aggregationFunctionLabelMax: "máximo",
18447
18448
  aggregationFunctionLabelSize: "tamaño"
18448
- }, Ej = ze(Tj, $_), kj = {
18449
+ }, Ej = Be(Tj, $_), kj = {
18449
18450
  // Root
18450
18451
  noRowsLabel: "بدون سطر",
18451
18452
  noResultsOverlayLabel: "نتیجه‌ای پیدا نشد.",
@@ -18589,7 +18590,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18589
18590
  aggregationFunctionLabelMin: "حداقل",
18590
18591
  aggregationFunctionLabelMax: "حداکثر",
18591
18592
  aggregationFunctionLabelSize: "اندازه"
18592
- }, wj = ze(kj, I_), Pj = {
18593
+ }, wj = Be(kj, I_), Pj = {
18593
18594
  // Root
18594
18595
  noRowsLabel: "Ei rivejä",
18595
18596
  noResultsOverlayLabel: "Ei tuloksia.",
@@ -18733,7 +18734,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18733
18734
  aggregationFunctionLabelMin: "min.",
18734
18735
  aggregationFunctionLabelMax: "maks.",
18735
18736
  aggregationFunctionLabelSize: "koko"
18736
- }, Mj = ze(Pj, N_), Rj = {
18737
+ }, Mj = Be(Pj, N_), Rj = {
18737
18738
  // Root
18738
18739
  noRowsLabel: "Pas de résultats",
18739
18740
  noResultsOverlayLabel: "Aucun résultat.",
@@ -18877,7 +18878,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
18877
18878
  aggregationFunctionLabelMin: "Minimum",
18878
18879
  aggregationFunctionLabelMax: "Maximum",
18879
18880
  aggregationFunctionLabelSize: "Nombre d'éléments"
18880
- }, Aj = ze(Rj, L_), Fj = {
18881
+ }, Aj = Be(Rj, L_), Fj = {
18881
18882
  // Root
18882
18883
  noRowsLabel: "אין שורות",
18883
18884
  noResultsOverlayLabel: "לא נמצאו תוצאות.",
@@ -19021,7 +19022,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19021
19022
  aggregationFunctionLabelMin: "מינימום",
19022
19023
  aggregationFunctionLabelMax: "מקסימום",
19023
19024
  aggregationFunctionLabelSize: "גודל"
19024
- }, $j = ze(Fj, D_), Ij = {
19025
+ }, $j = Be(Fj, D_), Ij = {
19025
19026
  // Root
19026
19027
  noRowsLabel: "Nincsenek sorok",
19027
19028
  noResultsOverlayLabel: "Nincs találat.",
@@ -19165,7 +19166,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19165
19166
  aggregationFunctionLabelMin: "Minimum",
19166
19167
  aggregationFunctionLabelMax: "Maximum",
19167
19168
  aggregationFunctionLabelSize: "Darabszám"
19168
- }, Nj = ze(Ij, j_), Lj = {
19169
+ }, Nj = Be(Ij, j_), Lj = {
19169
19170
  // Root
19170
19171
  noRowsLabel: "Nessun record",
19171
19172
  noResultsOverlayLabel: "Nessun record trovato.",
@@ -19309,7 +19310,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19309
19310
  aggregationFunctionLabelMin: "minimo",
19310
19311
  aggregationFunctionLabelMax: "massimo",
19311
19312
  aggregationFunctionLabelSize: "numero di elementi"
19312
- }, Dj = ze(Lj, B_), _j = {
19313
+ }, Dj = Be(Lj, B_), _j = {
19313
19314
  // Root
19314
19315
  noRowsLabel: "行がありません。",
19315
19316
  noResultsOverlayLabel: "結果がありません。",
@@ -19453,7 +19454,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19453
19454
  aggregationFunctionLabelMin: "最小値",
19454
19455
  aggregationFunctionLabelMax: "最大値",
19455
19456
  aggregationFunctionLabelSize: "サイズ"
19456
- }, jj = ze(_j, V_), zj = {
19457
+ }, jj = Be(_j, V_), zj = {
19457
19458
  // Root
19458
19459
  noRowsLabel: "행이 없습니다.",
19459
19460
  noResultsOverlayLabel: "결과값이 없습니다.",
@@ -19597,7 +19598,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19597
19598
  aggregationFunctionLabelMin: "최소값",
19598
19599
  aggregationFunctionLabelMax: "최대값",
19599
19600
  aggregationFunctionLabelSize: "크기"
19600
- }, Bj = ze(zj, H_), Vj = {
19601
+ }, Bj = Be(zj, H_), Vj = {
19601
19602
  // Root
19602
19603
  noRowsLabel: "Ingen rader",
19603
19604
  noResultsOverlayLabel: "Fant ingen resultat.",
@@ -19741,7 +19742,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19741
19742
  aggregationFunctionLabelMin: "min",
19742
19743
  aggregationFunctionLabelMax: "maks",
19743
19744
  aggregationFunctionLabelSize: "størrelse"
19744
- }, Hj = ze(Vj, W_), Wj = {
19745
+ }, Hj = Be(Vj, W_), Wj = {
19745
19746
  // Root
19746
19747
  noRowsLabel: "Geen resultaten.",
19747
19748
  noResultsOverlayLabel: "Geen resultaten gevonden.",
@@ -19885,7 +19886,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
19885
19886
  aggregationFunctionLabelMin: "min",
19886
19887
  aggregationFunctionLabelMax: "max",
19887
19888
  aggregationFunctionLabelSize: "grootte"
19888
- }, Uj = ze(Wj, q_), qj = {
19889
+ }, Uj = Be(Wj, q_), qj = {
19889
19890
  // Root
19890
19891
  noRowsLabel: "Ingen rader",
19891
19892
  noResultsOverlayLabel: "Fann ingen resultat.",
@@ -20029,7 +20030,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
20029
20030
  aggregationFunctionLabelMin: "min",
20030
20031
  aggregationFunctionLabelMax: "maks",
20031
20032
  aggregationFunctionLabelSize: "størrelse"
20032
- }, Gj = ze(qj, U_), Kj = {
20033
+ }, Gj = Be(qj, U_), Kj = {
20033
20034
  // Root
20034
20035
  noRowsLabel: "Brak danych",
20035
20036
  noResultsOverlayLabel: "Nie znaleziono wyników.",
@@ -20173,7 +20174,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
20173
20174
  // aggregationFunctionLabelMin: 'min',
20174
20175
  // aggregationFunctionLabelMax: 'max',
20175
20176
  // aggregationFunctionLabelSize: 'size',
20176
- }, Yj = ze(Kj, G_), Jj = {
20177
+ }, Yj = Be(Kj, G_), Jj = {
20177
20178
  // Root
20178
20179
  noRowsLabel: "Nenhuma linha",
20179
20180
  noResultsOverlayLabel: "Nenhum resultado encontrado.",
@@ -20317,7 +20318,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
20317
20318
  aggregationFunctionLabelMin: "mín",
20318
20319
  aggregationFunctionLabelMax: "máx",
20319
20320
  aggregationFunctionLabelSize: "tamanho"
20320
- }, Qj = ze(Jj, K_), Xj = {
20321
+ }, Qj = Be(Jj, K_), Xj = {
20321
20322
  // Root
20322
20323
  noRowsLabel: "Lipsă date",
20323
20324
  noResultsOverlayLabel: "Nu au fost găsite rezultate.",
@@ -20461,7 +20462,7 @@ const ze = /* @__PURE__ */ a((e, t) => {
20461
20462
  aggregationFunctionLabelMin: "Minim",
20462
20463
  aggregationFunctionLabelMax: "Maxim",
20463
20464
  aggregationFunctionLabelSize: "Numărul elementelor"
20464
- }, Zj = ze(Xj, J_);
20465
+ }, Zj = Be(Xj, J_);
20465
20466
  function zp(e, t) {
20466
20467
  const r = Math.floor(e / 10) % 10, n = e % 10;
20467
20468
  let o = t.many;
@@ -20624,7 +20625,7 @@ const ez = {
20624
20625
  aggregationFunctionLabelMin: "мин",
20625
20626
  aggregationFunctionLabelMax: "макс",
20626
20627
  aggregationFunctionLabelSize: "счет"
20627
- }, tz = ze(ez, Q_), rz = {
20628
+ }, tz = Be(ez, Q_), rz = {
20628
20629
  // Root
20629
20630
  noRowsLabel: "Žiadne záznamy",
20630
20631
  noResultsOverlayLabel: "Nenašli sa žadne výsledky.",
@@ -20780,7 +20781,7 @@ const ez = {
20780
20781
  aggregationFunctionLabelMin: "min",
20781
20782
  aggregationFunctionLabelMax: "max",
20782
20783
  aggregationFunctionLabelSize: "počet"
20783
- }, nz = ze(rz, X_), oz = {
20784
+ }, nz = Be(rz, X_), oz = {
20784
20785
  // Root
20785
20786
  noRowsLabel: "Inga rader",
20786
20787
  noResultsOverlayLabel: "Inga resultat funna.",
@@ -20924,7 +20925,7 @@ const ez = {
20924
20925
  aggregationFunctionLabelMin: "min",
20925
20926
  aggregationFunctionLabelMax: "max",
20926
20927
  aggregationFunctionLabelSize: "antal"
20927
- }, iz = ze(oz, Z_), az = {
20928
+ }, iz = Be(oz, Z_), az = {
20928
20929
  // Root
20929
20930
  noRowsLabel: "Satır yok",
20930
20931
  noResultsOverlayLabel: "Sonuç bulunamadı.",
@@ -21068,7 +21069,7 @@ const ez = {
21068
21069
  aggregationFunctionLabelMin: "min",
21069
21070
  aggregationFunctionLabelMax: "maks",
21070
21071
  aggregationFunctionLabelSize: "boyut"
21071
- }, sz = ze(az, ej);
21072
+ }, sz = Be(az, ej);
21072
21073
  function Bp(e, t) {
21073
21074
  const r = Math.floor(e / 10) % 10, n = e % 10;
21074
21075
  let o = t.many;
@@ -21231,7 +21232,7 @@ const lz = {
21231
21232
  aggregationFunctionLabelMin: "мін",
21232
21233
  aggregationFunctionLabelMax: "макс",
21233
21234
  aggregationFunctionLabelSize: "кількість"
21234
- }, cz = ze(lz, tj), uz = {
21235
+ }, cz = Be(lz, tj), uz = {
21235
21236
  // Root
21236
21237
  noRowsLabel: "کوئی قطاریں نہیں",
21237
21238
  noResultsOverlayLabel: "کوئی نتائج نہیں",
@@ -21375,7 +21376,7 @@ const lz = {
21375
21376
  aggregationFunctionLabelMin: "کم از کم",
21376
21377
  aggregationFunctionLabelMax: "زیادہ سے زیادہ",
21377
21378
  aggregationFunctionLabelSize: "سائز"
21378
- }, dz = ze(uz, cj), pz = {
21379
+ }, dz = Be(uz, cj), pz = {
21379
21380
  // Root
21380
21381
  noRowsLabel: "Không có dữ liệu",
21381
21382
  noResultsOverlayLabel: "Không tìm thấy kết quả.",
@@ -21519,7 +21520,7 @@ const lz = {
21519
21520
  aggregationFunctionLabelMin: "Tối thiểu",
21520
21521
  aggregationFunctionLabelMax: "Tối đa",
21521
21522
  aggregationFunctionLabelSize: "Kích cỡ"
21522
- }, fz = ze(pz, rj), hz = {
21523
+ }, fz = Be(pz, rj), hz = {
21523
21524
  // Root
21524
21525
  noRowsLabel: "没有数据。",
21525
21526
  noResultsOverlayLabel: "未找到数据。",
@@ -21663,7 +21664,7 @@ const lz = {
21663
21664
  aggregationFunctionLabelMin: "最小",
21664
21665
  aggregationFunctionLabelMax: "最大",
21665
21666
  aggregationFunctionLabelSize: "大小"
21666
- }, mz = ze(hz, nj), gz = {
21667
+ }, mz = Be(hz, nj), gz = {
21667
21668
  // Root
21668
21669
  noRowsLabel: "沒有資料",
21669
21670
  noResultsOverlayLabel: "沒有結果",
@@ -21807,7 +21808,7 @@ const lz = {
21807
21808
  aggregationFunctionLabelMin: "最小",
21808
21809
  aggregationFunctionLabelMax: "最大",
21809
21810
  aggregationFunctionLabelSize: "尺寸"
21810
- }, bz = ze(gz, ij), yz = {
21811
+ }, bz = Be(gz, ij), yz = {
21811
21812
  // Root
21812
21813
  noRowsLabel: "Nema redova",
21813
21814
  noResultsOverlayLabel: "Nema rezultata.",
@@ -21951,7 +21952,7 @@ const lz = {
21951
21952
  aggregationFunctionLabelMin: "min",
21952
21953
  aggregationFunctionLabelMax: "max",
21953
21954
  aggregationFunctionLabelSize: "veličina"
21954
- }, vz = ze(yz, __), Oz = {
21955
+ }, vz = Be(yz, __), Oz = {
21955
21956
  // Root
21956
21957
  noRowsLabel: "Nenhuma linha",
21957
21958
  noResultsOverlayLabel: "Nenhum resultado encontrado.",
@@ -22095,7 +22096,7 @@ const lz = {
22095
22096
  aggregationFunctionLabelMin: "min",
22096
22097
  aggregationFunctionLabelMax: "máx.",
22097
22098
  aggregationFunctionLabelSize: "tamanho"
22098
- }, xz = ze(Oz, Y_), Sz = {
22099
+ }, xz = Be(Oz, Y_), Sz = {
22099
22100
  // Root
22100
22101
  noRowsLabel: "沒有行",
22101
22102
  noResultsOverlayLabel: "未找到結果。",
@@ -22239,7 +22240,7 @@ const lz = {
22239
22240
  aggregationFunctionLabelMin: "分分鐘",
22240
22241
  aggregationFunctionLabelMax: "最大限度",
22241
22242
  aggregationFunctionLabelSize: "尺寸"
22242
- }, Cz = ze(Sz, oj), Tz = {
22243
+ }, Cz = Be(Sz, oj), Tz = {
22243
22244
  // Root
22244
22245
  noRowsLabel: "Engar raðir",
22245
22246
  noResultsOverlayLabel: "Engar niðurstöður",
@@ -22383,7 +22384,7 @@ const lz = {
22383
22384
  aggregationFunctionLabelMin: "min",
22384
22385
  aggregationFunctionLabelMax: "max",
22385
22386
  aggregationFunctionLabelSize: "stærð"
22386
- }, Ez = ze(Tz, z_), kz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22387
+ }, Ez = Be(Tz, z_), kz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22387
22388
  __proto__: null,
22388
22389
  arSD: sj,
22389
22390
  beBY: dj,
@@ -23043,7 +23044,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23043
23044
  We(() => {
23044
23045
  ie && (ie.current.activePanel.params.apiRef = Z);
23045
23046
  }, [ie]);
23046
- const pe = {}, Y = [], me = [], Be = i.map((de) => {
23047
+ const pe = {}, Y = [], me = [], Ve = i.map((de) => {
23047
23048
  const tt = se[de.field.replace("_lis", "")];
23048
23049
  return tt ? { ...de, ...tt } : de;
23049
23050
  }).sort(
@@ -23055,7 +23056,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23055
23056
  columns: { columnVisibilityModel: be = {} },
23056
23057
  ...Me
23057
23058
  } = g;
23058
- Be.forEach((de) => {
23059
+ Ve.forEach((de) => {
23059
23060
  pe[de.field] = de.oculto !== void 0 ? !de.oculto : be[de.field] ?? !0, Y.push(de.field), me.push({
23060
23061
  ...de,
23061
23062
  width: de.ancho ? parseInt(de.ancho) : de.width
@@ -23068,7 +23069,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23068
23069
  columnOrder: Y.filter(Boolean)
23069
23070
  },
23070
23071
  ...Me
23071
- }, Ve = C1({
23072
+ }, He = C1({
23072
23073
  apiRef: Z,
23073
23074
  initialState: {
23074
23075
  ...st,
@@ -23082,12 +23083,12 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23082
23083
  }
23083
23084
  });
23084
23085
  Pz({ apiRef: Z, ...e });
23085
- const Ne = me.map((de) => ({
23086
+ const Le = me.map((de) => ({
23086
23087
  ...de,
23087
23088
  headerName: de.headerName !== "" ? M(`resources.${$}.fields.${de.field}`, {
23088
23089
  _: de.headerName
23089
23090
  }) : de.headerName
23090
- })), nt = t.length > 0 || h ? Ne.concat([
23091
+ })), nt = t.length > 0 || h ? Le.concat([
23091
23092
  {
23092
23093
  field: "actions",
23093
23094
  type: "actions",
@@ -23223,7 +23224,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23223
23224
  ] : [];
23224
23225
  }, "getActions")
23225
23226
  }
23226
- ]) : Ne, rt = mr(() => nt, []), Le = I && Rn(R), He = /* @__PURE__ */ a((de) => {
23227
+ ]) : Le, rt = mr(() => nt, []), Fe = I && Rn(R), ze = /* @__PURE__ */ a((de) => {
23227
23228
  L || (I || !O ? D(de) : Z.current.isRowSelected(de[0]) ? D([]) : D(de));
23228
23229
  }, "handleSelectionChange"), ht = /* @__PURE__ */ a((de) => {
23229
23230
  var he;
@@ -23239,7 +23240,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23239
23240
  H.field === tt ? lt = H.order === "ASC" ? "DESC" : H.order === "DESC" ? "" : "ASC" : lt = "ASC", W({ field: tt, order: lt });
23240
23241
  } else
23241
23242
  W({ field: "", order: "" });
23242
- }, "handleSortModelChange"), Fe = /* @__PURE__ */ a((de) => {
23243
+ }, "handleSortModelChange"), $e = /* @__PURE__ */ a((de) => {
23243
23244
  var tt;
23244
23245
  !((tt = de == null ? void 0 : de.id) != null && tt.startsWith("auto-generated-row")) && h && qf(de.row, s) && te(`/${$}/${de.id}`);
23245
23246
  }, "handleRowDoubleClick"), ye = !e.unstable_listView && !N ? H.field ? {
@@ -23252,7 +23253,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23252
23253
  } : {} : {};
23253
23254
  return /* @__PURE__ */ q(pn, { children: [
23254
23255
  /* @__PURE__ */ y(AC, { isLoading: L }),
23255
- Le && N ? /* @__PURE__ */ y(uP, { selectedIds: K, children: R }) : null,
23256
+ Fe && N ? /* @__PURE__ */ y(uP, { selectedIds: K, children: R }) : null,
23256
23257
  /* @__PURE__ */ y(zw, { theme: _, children: /* @__PURE__ */ y(
23257
23258
  it,
23258
23259
  {
@@ -23312,10 +23313,10 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23312
23313
  filterMode: "server",
23313
23314
  onFilterModelChange: ht,
23314
23315
  rowSelectionModel: K,
23315
- onRowSelectionModelChange: He,
23316
+ onRowSelectionModelChange: ze,
23316
23317
  isRowSelectable: /* @__PURE__ */ a((de) => de.row.id, "isRowSelectable"),
23317
- onRowDoubleClick: Fe,
23318
- initialState: Ve,
23318
+ onRowDoubleClick: $e,
23319
+ initialState: He,
23319
23320
  ...ye,
23320
23321
  onSortModelChange: Ot,
23321
23322
  sortingMode: "server",
@@ -23733,7 +23734,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23733
23734
  sxContainer: g = {},
23734
23735
  filter: m,
23735
23736
  ...b
23736
- } = e, [v, O] = Ie([]), k = Lr(e), T = ir(), { field: C } = md({ defaultValue: "", ...e }), S = Eg(), {
23737
+ } = e, [v, O] = Ne([]), k = Lr(e), T = ir(), { field: C } = md({ defaultValue: "", ...e }), S = Eg(), {
23737
23738
  isLoading: w,
23738
23739
  fichaProps: { [h]: P }
23739
23740
  } = Ee(St), F = bm((be) => {
@@ -23756,7 +23757,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23756
23757
  allowRemove: D,
23757
23758
  slots: j,
23758
23759
  validateAllowAdd: ee
23759
- } = P || {}, [H, W] = Ie(n), [{ field: J, sort: G }] = n, te = R || d || N, Z = A !== void 0 ? A : $ ? !0 : V !== void 0 ? V : p, oe = K ?? s, se = D ?? l;
23760
+ } = P || {}, [H, W] = Ne(n), [{ field: J, sort: G }] = n, te = R || d || N, Z = A !== void 0 ? A : $ ? !0 : V !== void 0 ? V : p, oe = K ?? s, se = D ?? l;
23760
23761
  let ie = { ...m };
23761
23762
  k && t.split(",").forEach((be) => {
23762
23763
  be && (ie[be] = [
@@ -23858,7 +23859,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23858
23859
  );
23859
23860
  }, "renderCell")
23860
23861
  }));
23861
- const Be = mr(() => me, [JSON.stringify(me)]);
23862
+ const Ve = mr(() => me, [JSON.stringify(me)]);
23862
23863
  return Z ? null : /* @__PURE__ */ y(
23863
23864
  Kr,
23864
23865
  {
@@ -23901,7 +23902,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23901
23902
  paginationModel: { page: 1, pageSize: 50 },
23902
23903
  hideFooter: !0,
23903
23904
  rows: v,
23904
- columns: Be,
23905
+ columns: Ve,
23905
23906
  sortModel: H,
23906
23907
  onSortModelChange: /* @__PURE__ */ a((be) => W(be), "onSortModelChange"),
23907
23908
  sortable: !1,
@@ -23933,7 +23934,7 @@ const zz = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23933
23934
  enableLoad: i = !0,
23934
23935
  initialState: s,
23935
23936
  ...l
23936
- } = e, { isLoading: u } = Ee(St), d = Lr(), [p, f] = Ie(r), [{ field: h, sort: g }] = r, m = mr(
23937
+ } = e, { isLoading: u } = Ee(St), d = Lr(), [p, f] = Ne(r), [{ field: h, sort: g }] = r, m = mr(
23937
23938
  () => [...n],
23938
23939
  [JSON.stringify(n)]
23939
23940
  );
@@ -24886,7 +24887,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24886
24887
  const [W, J] = x.useState(!1), [G, te] = x.useState(I0), [Z, oe] = x.useState(!1), [se, ie] = x.useState(!1), [_, pe] = x.useState(!1), [Y, me] = x.useState({
24887
24888
  overflow: "hidden",
24888
24889
  scrollbarWidth: 0
24889
- }), Be = /* @__PURE__ */ new Map(), be = x.useRef(null), Me = x.useRef(null), st = /* @__PURE__ */ a(() => {
24890
+ }), Ve = /* @__PURE__ */ new Map(), be = x.useRef(null), Me = x.useRef(null), st = /* @__PURE__ */ a(() => {
24890
24891
  const Q = be.current;
24891
24892
  let le;
24892
24893
  if (Q) {
@@ -24907,8 +24908,8 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24907
24908
  if (Q && M !== !1) {
24908
24909
  const De = Me.current.children;
24909
24910
  if (De.length > 0) {
24910
- const ct = De[Be.get(M)];
24911
- process.env.NODE_ENV !== "production" && (ct || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${M}".`, Be.keys ? `You can provide one of the following values: ${Array.from(Be.keys()).join(", ")}.` : null].join(`
24911
+ const ct = De[Ve.get(M)];
24912
+ process.env.NODE_ENV !== "production" && (ct || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${M}".`, Ve.keys ? `You can provide one of the following values: ${Array.from(Ve.keys()).join(", ")}.` : null].join(`
24912
24913
  `))), ke = ct ? ct.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !N0 && ke && ke.width === 0 && ke.height === 0 && // if the whole Tabs component is hidden, don't warn
24913
24914
  le.clientWidth !== 0 && (le = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${M}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
24914
24915
  `)), N0 = !0);
@@ -24918,7 +24919,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24918
24919
  tabsMeta: le,
24919
24920
  tabMeta: ke
24920
24921
  };
24921
- }, "getTabsMeta"), Ve = cr(() => {
24922
+ }, "getTabsMeta"), He = cr(() => {
24922
24923
  const {
24923
24924
  tabsMeta: Q,
24924
24925
  tabMeta: le
@@ -24941,7 +24942,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24941
24942
  const kt = Math.abs(G[De] - ct[De]), br = Math.abs(G[K] - ct[K]);
24942
24943
  (kt >= 1 || br >= 1) && te(ct);
24943
24944
  }
24944
- }), Ne = /* @__PURE__ */ a((Q, {
24945
+ }), Le = /* @__PURE__ */ a((Q, {
24945
24946
  animation: le = !0
24946
24947
  } = {}) => {
24947
24948
  le ? SB(V, be.current, Q, {
@@ -24949,7 +24950,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24949
24950
  }) : be.current[V] = Q;
24950
24951
  }, "scroll"), nt = /* @__PURE__ */ a((Q) => {
24951
24952
  let le = be.current[V];
24952
- N ? le += Q : (le += Q * (i ? -1 : 1), le *= i && Iw() === "reverse" ? -1 : 1), Ne(le);
24953
+ N ? le += Q : (le += Q * (i ? -1 : 1), le *= i && Iw() === "reverse" ? -1 : 1), Le(le);
24953
24954
  }, "moveTabsScroll"), rt = /* @__PURE__ */ a(() => {
24954
24955
  const Q = be.current[L];
24955
24956
  let le = 0;
@@ -24963,9 +24964,9 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24963
24964
  le += ct[L];
24964
24965
  }
24965
24966
  return le;
24966
- }, "getScrollSize"), Le = /* @__PURE__ */ a(() => {
24967
+ }, "getScrollSize"), Fe = /* @__PURE__ */ a(() => {
24967
24968
  nt(-1 * rt());
24968
- }, "handleStartScrollClick"), He = /* @__PURE__ */ a(() => {
24969
+ }, "handleStartScrollClick"), ze = /* @__PURE__ */ a(() => {
24969
24970
  nt(rt());
24970
24971
  }, "handleEndScrollClick"), ht = x.useCallback((Q) => {
24971
24972
  me({
@@ -24988,7 +24989,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24988
24989
  },
24989
24990
  orientation: v,
24990
24991
  direction: i ? "right" : "left",
24991
- onClick: Le,
24992
+ onClick: Fe,
24992
24993
  disabled: !Z
24993
24994
  }, P, {
24994
24995
  className: re(j.scrollButtons, P.className)
@@ -25001,12 +25002,12 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25001
25002
  },
25002
25003
  orientation: v,
25003
25004
  direction: i ? "left" : "right",
25004
- onClick: He,
25005
+ onClick: ze,
25005
25006
  disabled: !se
25006
25007
  }, P, {
25007
25008
  className: re(j.scrollButtons, P.className)
25008
25009
  })) : null, Q;
25009
- }, "getConditionalElements"), Fe = cr((Q) => {
25010
+ }, "getConditionalElements"), $e = cr((Q) => {
25010
25011
  const {
25011
25012
  tabsMeta: le,
25012
25013
  tabMeta: ke
@@ -25014,12 +25015,12 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25014
25015
  if (!(!ke || !le)) {
25015
25016
  if (ke[z] < le[z]) {
25016
25017
  const De = le[V] + (ke[z] - le[z]);
25017
- Ne(De, {
25018
+ Le(De, {
25018
25019
  animation: Q
25019
25020
  });
25020
25021
  } else if (ke[B] > le[B]) {
25021
25022
  const De = le[V] + (ke[B] - le[B]);
25022
- Ne(De, {
25023
+ Le(De, {
25023
25024
  animation: Q
25024
25025
  });
25025
25026
  }
@@ -25029,7 +25030,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25029
25030
  });
25030
25031
  x.useEffect(() => {
25031
25032
  const Q = Cl(() => {
25032
- be.current && Ve();
25033
+ be.current && He();
25033
25034
  });
25034
25035
  let le;
25035
25036
  const ke = /* @__PURE__ */ a((kt) => {
@@ -25053,7 +25054,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25053
25054
  var kt, br;
25054
25055
  Q.clear(), De.removeEventListener("resize", Q), (kt = ct) == null || kt.disconnect(), (br = le) == null || br.disconnect();
25055
25056
  };
25056
- }, [Ve, ye]), x.useEffect(() => {
25057
+ }, [He, ye]), x.useEffect(() => {
25057
25058
  const Q = Array.from(Me.current.children), le = Q.length;
25058
25059
  if (typeof IntersectionObserver < "u" && le > 0 && I && k !== !1) {
25059
25060
  const ke = Q[0], De = Q[le - 1], ct = {
@@ -25073,13 +25074,13 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25073
25074
  }, [I, k, _, p == null ? void 0 : p.length]), x.useEffect(() => {
25074
25075
  J(!0);
25075
25076
  }, []), x.useEffect(() => {
25076
- Ve();
25077
+ He();
25077
25078
  }), x.useEffect(() => {
25078
- Fe(I0 !== G);
25079
- }, [Fe, G]), x.useImperativeHandle(u, () => ({
25080
- updateIndicator: Ve,
25079
+ $e(I0 !== G);
25080
+ }, [$e, G]), x.useImperativeHandle(u, () => ({
25081
+ updateIndicator: He,
25081
25082
  updateScrollButtons: ye
25082
- }), [Ve, ye]);
25083
+ }), [He, ye]);
25083
25084
  const de = /* @__PURE__ */ y(_B, E({}, w, {
25084
25085
  className: re(j.indicator, w.className),
25085
25086
  ownerState: D,
@@ -25092,7 +25093,7 @@ const _C = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
25092
25093
  process.env.NODE_ENV !== "production" && da.isFragment(Q) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
25093
25094
  `));
25094
25095
  const le = Q.props.value === void 0 ? tt : Q.props.value;
25095
- Be.set(le, tt);
25096
+ Ve.set(le, tt);
25096
25097
  const ke = le === M;
25097
25098
  return tt += 1, /* @__PURE__ */ x.cloneElement(Q, E({
25098
25099
  fullWidth: $ === "fullWidth",
@@ -25476,7 +25477,7 @@ UC = Pg.default = (0, KB.default)(/* @__PURE__ */ (0, YB.jsx)("path", {
25476
25477
  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"
25477
25478
  }), "OpenInNew");
25478
25479
  const qC = /* @__PURE__ */ a((e) => {
25479
- const t = Ct(), [r, n] = Ie(!1), o = Ue(() => {
25480
+ const t = Ct(), [r, n] = Ne(!1), o = Ue(() => {
25480
25481
  n(!0);
25481
25482
  }, []), i = Ue(() => {
25482
25483
  n(!1);
@@ -25565,7 +25566,7 @@ const qC = /* @__PURE__ */ a((e) => {
25565
25566
  }
25566
25567
  })), tV = /* @__PURE__ */ a((e) => {
25567
25568
  var b, v;
25568
- const { children: t, enableLoad: r, queryOptions: n, fichaProps: o } = e, [i, s] = Ie(null), l = uo(), u = Fa(), d = pt(e), p = ((b = l == null ? void 0 : l.state) == null ? void 0 : b.estado) || "N", f = ((v = l == null ? void 0 : l.state) == null ? void 0 : v.id) || "-1", { data: h, isFetching: g } = zB(
25569
+ const { children: t, enableLoad: r, queryOptions: n, fichaProps: o } = e, [i, s] = Ne(null), l = uo(), u = Fa(), d = pt(e), p = ((b = l == null ? void 0 : l.state) == null ? void 0 : b.estado) || "N", f = ((v = l == null ? void 0 : l.state) == null ? void 0 : v.id) || "-1", { data: h, isFetching: g } = zB(
25569
25570
  d,
25570
25571
  {
25571
25572
  enabled: r
@@ -25721,7 +25722,7 @@ const qC = /* @__PURE__ */ a((e) => {
25721
25722
  chkSeleccion: i = !1,
25722
25723
  storeKey: s,
25723
25724
  ...l
25724
- } = e, u = Ee(HS), d = r === "ventana" ? iV : c1, { pathname: p, state: f } = uo(), h = Fa(), [g, m] = Ie(null), [b, v] = Ie(i), O = /* @__PURE__ */ a((C) => {
25725
+ } = e, u = Ee(HS), d = r === "ventana" ? iV : c1, { pathname: p, state: f } = uo(), h = Fa(), [g, m] = Ne(null), [b, v] = Ne(i), O = /* @__PURE__ */ a((C) => {
25725
25726
  v(C.target.checked);
25726
25727
  }, "handleChange");
25727
25728
  if (We(() => {
@@ -26728,12 +26729,12 @@ function s5(e) {
26728
26729
  var I, N = C === "y" ? Zt : er, V = C === "y" ? Ir : Nr, z = C === "y" ? "height" : "width", B = w[C], L = B + v[N], K = B - v[V], D = g ? -F[z] / 2 : 0, j = k === va ? P[z] : F[z], ee = k === va ? -F[z] : -P[z], H = t.elements.arrow, W = g && H ? Fg(H) : {
26729
26730
  width: 0,
26730
26731
  height: 0
26731
- }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ZC(), G = J[N], te = J[V], Z = bs(0, P[z], W[z]), oe = T ? P[z] / 2 - D - Z - G - $.mainAxis : j - Z - G - $.mainAxis, se = T ? -P[z] / 2 + D + Z + te + $.mainAxis : ee + Z + te + $.mainAxis, ie = t.elements.arrow && Nl(t.elements.arrow), _ = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, pe = (I = R == null ? void 0 : R[C]) != null ? I : 0, Y = B + oe - pe - _, me = B + se - pe, Be = bs(g ? Vc(L, Y) : L, B, g ? Yo(K, me) : K);
26732
- w[C] = Be, A[C] = Be - B;
26732
+ }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ZC(), G = J[N], te = J[V], Z = bs(0, P[z], W[z]), oe = T ? P[z] / 2 - D - Z - G - $.mainAxis : j - Z - G - $.mainAxis, se = T ? -P[z] / 2 + D + Z + te + $.mainAxis : ee + Z + te + $.mainAxis, ie = t.elements.arrow && Nl(t.elements.arrow), _ = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, pe = (I = R == null ? void 0 : R[C]) != null ? I : 0, Y = B + oe - pe - _, me = B + se - pe, Ve = bs(g ? Vc(L, Y) : L, B, g ? Yo(K, me) : K);
26733
+ w[C] = Ve, A[C] = Ve - B;
26733
26734
  }
26734
26735
  if (l) {
26735
- var be, Me = C === "x" ? Zt : er, st = C === "x" ? Ir : Nr, Ve = w[S], Ne = S === "y" ? "height" : "width", nt = Ve + v[Me], rt = Ve - v[st], Le = [Zt, er].indexOf(O) !== -1, He = (be = R == null ? void 0 : R[S]) != null ? be : 0, ht = Le ? nt : Ve - P[Ne] - F[Ne] - He + $.altAxis, Ot = Le ? Ve + P[Ne] + F[Ne] - He - $.altAxis : rt, Fe = g && Le ? AV(ht, Ve, Ot) : bs(g ? ht : nt, Ve, g ? Ot : rt);
26736
- w[S] = Fe, A[S] = Fe - Ve;
26736
+ var be, Me = C === "x" ? Zt : er, st = C === "x" ? Ir : Nr, He = w[S], Le = S === "y" ? "height" : "width", nt = He + v[Me], rt = He - v[st], Fe = [Zt, er].indexOf(O) !== -1, ze = (be = R == null ? void 0 : R[S]) != null ? be : 0, ht = Fe ? nt : He - P[Le] - F[Le] - ze + $.altAxis, Ot = Fe ? He + P[Le] + F[Le] - ze - $.altAxis : rt, $e = g && Fe ? AV(ht, He, Ot) : bs(g ? ht : nt, He, g ? Ot : rt);
26737
+ w[S] = $e, A[S] = $e - He;
26737
26738
  }
26738
26739
  t.modifiersData[n] = A;
26739
26740
  }
@@ -27657,13 +27658,13 @@ const Yd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27657
27658
  TransitionProps: pe
27658
27659
  } = w, Y = ne(w, A5), me = /* @__PURE__ */ x.isValidElement(F) ? F : /* @__PURE__ */ y("span", {
27659
27660
  children: F
27660
- }), Be = yn(), be = El(), [Me, st] = x.useState(), [Ve, Ne] = x.useState(null), nt = x.useRef(!1), rt = N || K, Le = Vi(), He = Vi(), ht = Vi(), Ot = Vi(), [Fe, ye] = Gs({
27661
+ }), Ve = yn(), be = El(), [Me, st] = x.useState(), [He, Le] = x.useState(null), nt = x.useRef(!1), rt = N || K, Fe = Vi(), ze = Vi(), ht = Vi(), Ot = Vi(), [$e, ye] = Gs({
27661
27662
  controlled: J,
27662
27663
  default: !1,
27663
27664
  name: "Tooltip",
27664
27665
  state: "open"
27665
27666
  });
27666
- let de = Fe;
27667
+ let de = $e;
27667
27668
  if (process.env.NODE_ENV !== "production") {
27668
27669
  const {
27669
27670
  current: _e
@@ -27686,16 +27687,16 @@ const Yd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27686
27687
  (_e) => {
27687
27688
  G0.start(800 + j, () => {
27688
27689
  Yl = !1;
27689
- }), ye(!1), H && de && H(_e), Le.start(Be.transitions.duration.shortest, () => {
27690
+ }), ye(!1), H && de && H(_e), Fe.start(Ve.transitions.duration.shortest, () => {
27690
27691
  nt.current = !1;
27691
27692
  });
27692
27693
  }
27693
27694
  ), le = /* @__PURE__ */ a((_e) => {
27694
- nt.current && _e.type !== "touchstart" || (Me && Me.removeAttribute("title"), He.clear(), ht.clear(), z || Yl && B ? He.start(Yl ? B : z, () => {
27695
+ nt.current && _e.type !== "touchstart" || (Me && Me.removeAttribute("title"), ze.clear(), ht.clear(), z || Yl && B ? ze.start(Yl ? B : z, () => {
27695
27696
  he(_e);
27696
27697
  }) : he(_e));
27697
27698
  }, "handleMouseOver"), ke = /* @__PURE__ */ a((_e) => {
27698
- He.clear(), ht.start(j, () => {
27699
+ ze.clear(), ht.start(j, () => {
27699
27700
  Q(_e);
27700
27701
  });
27701
27702
  }, "handleMouseLeave"), {
@@ -27712,7 +27713,7 @@ const Yd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27712
27713
  const sr = me.props;
27713
27714
  sr.onTouchStart && sr.onTouchStart(_e);
27714
27715
  }, "detectTouchStart"), bw = /* @__PURE__ */ a((_e) => {
27715
- Yy(_e), ht.clear(), Le.clear(), $t(), lt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ot.start(L, () => {
27716
+ Yy(_e), ht.clear(), Fe.clear(), $t(), lt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ot.start(L, () => {
27716
27717
  document.body.style.WebkitUserSelect = lt.current, le(_e);
27717
27718
  });
27718
27719
  }, "handleTouchStart"), yw = /* @__PURE__ */ a((_e) => {
@@ -27758,16 +27759,16 @@ const Yd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27758
27759
  var _e;
27759
27760
  let sr = [{
27760
27761
  name: "arrow",
27761
- enabled: !!Ve,
27762
+ enabled: !!He,
27762
27763
  options: {
27763
- element: Ve,
27764
+ element: He,
27764
27765
  padding: 4
27765
27766
  }
27766
27767
  }];
27767
27768
  return (_e = Z.popperOptions) != null && _e.modifiers && (sr = sr.concat(Z.popperOptions.modifiers)), E({}, Z.popperOptions, {
27768
27769
  modifiers: sr
27769
27770
  });
27770
- }, [Ve, Z]), Qa = E({}, w, {
27771
+ }, [He, Z]), Qa = E({}, w, {
27771
27772
  isRtl: be,
27772
27773
  arrow: P,
27773
27774
  disableInteractive: rt,
@@ -27804,11 +27805,11 @@ const Yd = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27804
27805
  children: /* @__PURE__ */ a(({
27805
27806
  TransitionProps: _e
27806
27807
  }) => /* @__PURE__ */ y(Qy, E({
27807
- timeout: Be.transitions.duration.shorter
27808
+ timeout: Ve.transitions.duration.shorter
27808
27809
  }, _e, Cw, {
27809
27810
  children: /* @__PURE__ */ q(Xy, E({}, Tw, {
27810
27811
  children: [ie, P ? /* @__PURE__ */ y(Zy, E({}, Ew, {
27811
- ref: Ne
27812
+ ref: Le
27812
27813
  })) : null]
27813
27814
  }))
27814
27815
  })), "children")
@@ -28050,7 +28051,7 @@ const D5 = /* @__PURE__ */ a(({
28050
28051
  return t;
28051
28052
  }, "defaultTransform"), j5 = /* @__PURE__ */ a((e) => {
28052
28053
  var g;
28053
- const { children: t, fichaProps: r } = e, n = bP(), [o, i] = Ie(null), s = uo(), l = Fa(), u = pt(e), { record: d, isFetching: p } = n, f = ((g = s == null ? void 0 : s.state) == null ? void 0 : g.estado) || "M", h = mr(
28054
+ const { children: t, fichaProps: r } = e, n = bP(), [o, i] = Ne(null), s = uo(), l = Fa(), u = pt(e), { record: d, isFetching: p } = n, f = ((g = s == null ? void 0 : s.state) == null ? void 0 : g.estado) || "M", h = mr(
28054
28055
  () => ({
28055
28056
  estado: f,
28056
28057
  initialValues: d,
@@ -28328,7 +28329,7 @@ const Y5 = /* @__PURE__ */ a((e) => {
28328
28329
  );
28329
28330
  }) });
28330
28331
  }, "renderMenu"), J5 = /* @__PURE__ */ a(({ dense: e = !1 }) => {
28331
- const t = Ct(), [r, n] = Ie({ mnuPrueba: !1 }), o = Ti((h) => h.breakpoints.down("sm")), [i] = d1(), s = JSON.parse(localStorage.getItem("menus")), f = lT({
28332
+ const t = Ct(), [r, n] = Ne({ mnuPrueba: !1 }), o = Ti((h) => h.breakpoints.down("sm")), [i] = d1(), s = JSON.parse(localStorage.getItem("menus")), f = lT({
28332
28333
  items: s,
28333
28334
  handleToggle: /* @__PURE__ */ a((h) => {
28334
28335
  n((g) => ({ ...g, [h]: !g[h] }));
@@ -29390,7 +29391,7 @@ const gee = /* @__PURE__ */ a((e) => {
29390
29391
  loginBackgroundImage: t,
29391
29392
  nameSource: r = "username",
29392
29393
  passwordSource: n = "password"
29393
- } = e, [o, i] = Ie(!1), s = Ct(), l = s("ra.auth.sign_in"), u = On(), d = kP(), p = uo();
29394
+ } = e, [o, i] = Ne(!1), s = Ct(), l = s("ra.auth.sign_in"), u = On(), d = kP(), p = uo();
29394
29395
  return /* @__PURE__ */ y(gl, { onSubmit: /* @__PURE__ */ a((g) => {
29395
29396
  i(!0), d(g, p.state ? p.state.nextPathname : "/").catch(
29396
29397
  (m) => {
@@ -29760,8 +29761,8 @@ const L3 = /* @__PURE__ */ a((e) => {
29760
29761
  return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
29761
29762
  const pe = vc(u), Y = pe && pe.nodeType === 1 ? pe : Pr(I.current).body, me = Y.getBoundingClientRect();
29762
29763
  if (process.env.NODE_ENV !== "production") {
29763
- const Be = Y.getBoundingClientRect();
29764
- process.env.NODE_ENV !== "test" && Be.top === 0 && Be.left === 0 && Be.right === 0 && Be.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(`
29764
+ const Ve = Y.getBoundingClientRect();
29765
+ process.env.NODE_ENV !== "test" && Ve.top === 0 && Ve.left === 0 && Ve.right === 0 && Ve.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(`
29765
29766
  `));
29766
29767
  }
29767
29768
  return {
@@ -29782,23 +29783,23 @@ const L3 = /* @__PURE__ */ a((e) => {
29782
29783
  left: null,
29783
29784
  transformOrigin: Q0(me)
29784
29785
  };
29785
- const Be = B();
29786
- let be = Be.top - me.vertical, Me = Be.left - me.horizontal;
29787
- const st = be + Y.height, Ve = Me + Y.width, Ne = Wr(vc(u)), nt = Ne.innerHeight - v, rt = Ne.innerWidth - v;
29786
+ const Ve = B();
29787
+ let be = Ve.top - me.vertical, Me = Ve.left - me.horizontal;
29788
+ const st = be + Y.height, He = Me + Y.width, Le = Wr(vc(u)), nt = Le.innerHeight - v, rt = Le.innerWidth - v;
29788
29789
  if (v !== null && be < v) {
29789
- const Le = be - v;
29790
- be -= Le, me.vertical += Le;
29790
+ const Fe = be - v;
29791
+ be -= Fe, me.vertical += Fe;
29791
29792
  } else if (v !== null && st > nt) {
29792
- const Le = st - nt;
29793
- be -= Le, me.vertical += Le;
29793
+ const Fe = st - nt;
29794
+ be -= Fe, me.vertical += Fe;
29794
29795
  }
29795
29796
  if (process.env.NODE_ENV !== "production" && Y.height > nt && Y.height && nt && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${Y.height - nt}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
29796
29797
  `)), v !== null && Me < v) {
29797
- const Le = Me - v;
29798
- Me -= Le, me.horizontal += Le;
29799
- } else if (Ve > rt) {
29800
- const Le = Ve - rt;
29801
- Me -= Le, me.horizontal += Le;
29798
+ const Fe = Me - v;
29799
+ Me -= Fe, me.horizontal += Fe;
29800
+ } else if (He > rt) {
29801
+ const Fe = He - rt;
29802
+ Me -= Fe, me.horizontal += Fe;
29802
29803
  }
29803
29804
  return {
29804
29805
  top: `${Math.round(be)}px`,
@@ -30531,7 +30532,7 @@ const bee = /* @__PURE__ */ a((e) => {
30531
30532
  //showItemLabel = false,
30532
30533
  showItemLabel: i,
30533
30534
  initialSelectedIndex: s = 0
30534
- } = e, [l, u] = Ie(!1), d = Ci(), [p, f] = Ie(s), h = pt(e), g = /* @__PURE__ */ a((k, T) => (f(T), u(!1), !0), "handleMenuItemClick"), m = /* @__PURE__ */ a((k) => {
30535
+ } = e, [l, u] = Ne(!1), d = Ci(), [p, f] = Ne(s), h = pt(e), g = /* @__PURE__ */ a((k, T) => (f(T), u(!1), !0), "handleMenuItemClick"), m = /* @__PURE__ */ a((k) => {
30535
30536
  k.preventDefault(), u(!0), d.current = k.currentTarget;
30536
30537
  }, "handleToggle"), b = /* @__PURE__ */ a((k) => {
30537
30538
  d.current && d.current.contains(k.target) || u(!1);
@@ -30589,7 +30590,7 @@ const bee = /* @__PURE__ */ a((e) => {
30589
30590
  ] });
30590
30591
  }, "MultiTextField"), X3 = /* @__PURE__ */ a((e) => {
30591
30592
  var g;
30592
- const { children: t, fichaProps: r } = e, n = PP(), [o, i] = Ie(null), s = uo(), l = Fa(), u = pt(e), { record: d, isFetching: p } = n, f = ((g = s == null ? void 0 : s.state) == null ? void 0 : g.estado) || "M", h = mr(
30593
+ const { children: t, fichaProps: r } = e, n = PP(), [o, i] = Ne(null), s = uo(), l = Fa(), u = pt(e), { record: d, isFetching: p } = n, f = ((g = s == null ? void 0 : s.state) == null ? void 0 : g.estado) || "M", h = mr(
30593
30594
  () => ({
30594
30595
  estado: f,
30595
30596
  initialValues: d,
@@ -30630,7 +30631,7 @@ const bee = /* @__PURE__ */ a((e) => {
30630
30631
  toolbar: l = i4,
30631
30632
  onChange: u,
30632
30633
  ...d
30633
- } = e, p = uo(), f = qP(""), h = pt(e), [g, m] = Ie(0), {
30634
+ } = e, p = uo(), f = qP(""), h = pt(e), [g, m] = Ne(0), {
30634
30635
  fichaProps: { etrs: b }
30635
30636
  } = Ee(St), v = xn({ ...e, etrs: b }), { estado: O } = Ee(St), k = /* @__PURE__ */ a((C, S) => {
30636
30637
  i || (m(S), u && u(
@@ -30837,7 +30838,7 @@ const c4 = /* @__PURE__ */ a(({
30837
30838
  incluyeAcciones: o = !1,
30838
30839
  saveButtonProps: i,
30839
30840
  ...s
30840
- } = e, [l, u] = Ie(!1), d = xn(s), p = On(), { trigger: f } = ir(), { hidden: h } = nC(), g = Ue(
30841
+ } = e, [l, u] = Ne(!1), d = xn(s), p = On(), { trigger: f } = ir(), { hidden: h } = nC(), g = Ue(
30841
30842
  async (m, b, v) => {
30842
30843
  typeof t == "function" ? await f() ? (u(!0), t(d, b, v, m).finally(() => {
30843
30844
  u(!1);
@@ -31175,7 +31176,7 @@ kT = qg.default = (0, P4.default)(/* @__PURE__ */ (0, M4.jsx)("path", {
31175
31176
  d: "M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"
31176
31177
  }), "AddAPhoto");
31177
31178
  const Z0 = /* @__PURE__ */ a((e) => {
31178
- const [t, r] = Ie(!1), [n, o] = Ie(!1), i = On(), s = Ct(), { field: l, sx: u } = e;
31179
+ const [t, r] = Ne(!1), [n, o] = Ne(!1), i = On(), s = Ct(), { field: l, sx: u } = e;
31179
31180
  return We(() => {
31180
31181
  t && (/* @__PURE__ */ a(async () => {
31181
31182
  let p = null;
@@ -31283,7 +31284,7 @@ const Z0 = /* @__PURE__ */ a((e) => {
31283
31284
  accept: d,
31284
31285
  download: p = !0,
31285
31286
  ...f
31286
- } = t, h = Ct(), g = Lr(e), m = Ti((C) => C.breakpoints.down("sm")), b = ir(), [v, O] = Ie(
31287
+ } = t, h = Ct(), g = Lr(e), m = Ti((C) => C.breakpoints.down("sm")), b = ir(), [v, O] = Ne(
31287
31288
  g && l ? `${l}/${g[f.source]}` : void 0
31288
31289
  );
31289
31290
  if (!b)
@@ -32835,7 +32836,7 @@ const TH = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
32835
32836
  all: !0,
32836
32837
  none: !1
32837
32838
  }, MH = /* @__PURE__ */ a((e) => !e || e != null && e.all ? "Todos" : e != null && e.none || e.seleccion.length === 0 ? "Ninguno" : `Selección (${e.seleccion.split(",").length})`, "format$1"), RH = /* @__PURE__ */ a((e) => e, "parse$1"), Iee = /* @__PURE__ */ a((e) => {
32838
- const { asistant: t, asistantResource: r, source: n, sx: o, ...i } = e, [s, l] = Ie(!1), u = Ci(!1), {
32839
+ const { asistant: t, asistantResource: r, source: n, sx: o, ...i } = e, [s, l] = Ne(!1), u = Ci(!1), {
32839
32840
  hidden: d,
32840
32841
  propsContenido: { readOnly: p, label: f, sx: h, onChange: g }
32841
32842
  } = ar(e), m = ir();
@@ -32992,7 +32993,7 @@ const TH = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
32992
32993
  )
32993
32994
  }
32994
32995
  ), "AsistenteList"), FH = { fillista: "empcod=-1", mapId: ["funnro"] }, $H = /* @__PURE__ */ a((e) => {
32995
- const [t, r] = Ie(FH), [n, o] = Ie([]), i = Fa();
32996
+ const [t, r] = Ne(FH), [n, o] = Ne([]), i = Fa();
32996
32997
  We(() => {
32997
32998
  (/* @__PURE__ */ a(async () => {
32998
32999
  const f = await l("");
@@ -33160,7 +33161,7 @@ const TH = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
33160
33161
  sx: o,
33161
33162
  onChange: i,
33162
33163
  ...s
33163
- } = e, [l] = v1({ resource: "form_224" }), [u, d] = Ie(!1), p = ir(), { estado: f, fichaProps: h = {} } = Ee(St), g = Ee(Va), m = Ci(!1), {
33164
+ } = e, [l] = v1({ resource: "form_224" }), [u, d] = Ne(!1), p = ir(), { estado: f, fichaProps: h = {} } = Ee(St), g = Ee(Va), m = Ci(!1), {
33164
33165
  hidden: b,
33165
33166
  propsContenido: { readOnly: v, sx: O, label: k = "Funcionarios" }
33166
33167
  } = ar(e), { [n]: T = {}, etrs: C } = h, S = xn({ ...e, etrs: C, asisEtr: g }), w = T.onChange === void 0 ? i : T.onChange;
@@ -46075,7 +46076,7 @@ Xt.prototype = {
46075
46076
  return o.j[e] = s, s;
46076
46077
  }
46077
46078
  };
46078
- const $e = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), sx = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), En = "WORD", Vh = "UWORD", pl = "LOCALHOST", Hh = "TLD", Wh = "UTLD", Tc = "SCHEME", Bi = "SLASH_SCHEME", Sb = "NUM", rk = "WS", Cb = "NL", Ts = "OPENBRACE", Es = "CLOSEBRACE", bu = "OPENBRACKET", yu = "CLOSEBRACKET", vu = "OPENPAREN", Ou = "CLOSEPAREN", xu = "OPENANGLEBRACKET", Su = "CLOSEANGLEBRACKET", Cu = "FULLWIDTHLEFTPAREN", Tu = "FULLWIDTHRIGHTPAREN", Eu = "LEFTCORNERBRACKET", ku = "RIGHTCORNERBRACKET", wu = "LEFTWHITECORNERBRACKET", Pu = "RIGHTWHITECORNERBRACKET", Mu = "FULLWIDTHLESSTHAN", Ru = "FULLWIDTHGREATERTHAN", Au = "AMPERSAND", Fu = "APOSTROPHE", $u = "ASTERISK", qn = "AT", Iu = "BACKSLASH", Nu = "BACKTICK", Lu = "CARET", Xn = "COLON", Tb = "COMMA", Du = "DOLLAR", Jr = "DOT", _u = "EQUALS", Eb = "EXCLAMATION", Qr = "HYPHEN", ju = "PERCENT", zu = "PIPE", Bu = "PLUS", Vu = "POUND", Hu = "QUERY", kb = "QUOTE", wb = "SEMI", Xr = "SLASH", ks = "TILDE", Wu = "UNDERSCORE", nk = "EMOJI", Uu = "SYM";
46079
+ const Ie = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), sx = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), En = "WORD", Vh = "UWORD", pl = "LOCALHOST", Hh = "TLD", Wh = "UTLD", Tc = "SCHEME", Bi = "SLASH_SCHEME", Sb = "NUM", rk = "WS", Cb = "NL", Ts = "OPENBRACE", Es = "CLOSEBRACE", bu = "OPENBRACKET", yu = "CLOSEBRACKET", vu = "OPENPAREN", Ou = "CLOSEPAREN", xu = "OPENANGLEBRACKET", Su = "CLOSEANGLEBRACKET", Cu = "FULLWIDTHLEFTPAREN", Tu = "FULLWIDTHRIGHTPAREN", Eu = "LEFTCORNERBRACKET", ku = "RIGHTCORNERBRACKET", wu = "LEFTWHITECORNERBRACKET", Pu = "RIGHTWHITECORNERBRACKET", Mu = "FULLWIDTHLESSTHAN", Ru = "FULLWIDTHGREATERTHAN", Au = "AMPERSAND", Fu = "APOSTROPHE", $u = "ASTERISK", qn = "AT", Iu = "BACKSLASH", Nu = "BACKTICK", Lu = "CARET", Xn = "COLON", Tb = "COMMA", Du = "DOLLAR", Jr = "DOT", _u = "EQUALS", Eb = "EXCLAMATION", Qr = "HYPHEN", ju = "PERCENT", zu = "PIPE", Bu = "PLUS", Vu = "POUND", Hu = "QUERY", kb = "QUOTE", wb = "SEMI", Xr = "SLASH", ks = "TILDE", Wu = "UNDERSCORE", nk = "EMOJI", Uu = "SYM";
46079
46080
  var ok = /* @__PURE__ */ Object.freeze({
46080
46081
  __proto__: null,
46081
46082
  WORD: En,
@@ -46503,33 +46504,33 @@ function Hq(e) {
46503
46504
  groups: t
46504
46505
  } = e;
46505
46506
  const r = t.domain.concat([Au, $u, qn, Iu, Nu, Lu, Du, _u, Qr, Sb, ju, zu, Bu, Vu, Xr, Uu, ks, Wu]), n = [Fu, Xn, Tb, Jr, Eb, Hu, kb, wb, xu, Su, Ts, Es, yu, bu, vu, Ou, Cu, Tu, Eu, ku, wu, Pu, Mu, Ru], o = [Au, Fu, $u, Iu, Nu, Lu, Du, _u, Qr, Ts, Es, ju, zu, Bu, Vu, Hu, Xr, Uu, ks, Wu], i = Or(), s = ue(i, ks);
46506
- $e(s, o, s), $e(s, t.domain, s);
46507
+ Ie(s, o, s), Ie(s, t.domain, s);
46507
46508
  const l = Or(), u = Or(), d = Or();
46508
- $e(i, t.domain, l), $e(i, t.scheme, u), $e(i, t.slashscheme, d), $e(l, o, s), $e(l, t.domain, l);
46509
+ Ie(i, t.domain, l), Ie(i, t.scheme, u), Ie(i, t.slashscheme, d), Ie(l, o, s), Ie(l, t.domain, l);
46509
46510
  const p = ue(l, qn);
46510
46511
  ue(s, qn, p), ue(u, qn, p), ue(d, qn, p);
46511
46512
  const f = ue(s, Jr);
46512
- $e(f, o, s), $e(f, t.domain, s);
46513
+ Ie(f, o, s), Ie(f, t.domain, s);
46513
46514
  const h = Or();
46514
- $e(p, t.domain, h), $e(h, t.domain, h);
46515
+ Ie(p, t.domain, h), Ie(h, t.domain, h);
46515
46516
  const g = ue(h, Jr);
46516
- $e(g, t.domain, h);
46517
+ Ie(g, t.domain, h);
46517
46518
  const m = Or(px);
46518
- $e(g, t.tld, m), $e(g, t.utld, m), ue(p, pl, m);
46519
+ Ie(g, t.tld, m), Ie(g, t.utld, m), ue(p, pl, m);
46519
46520
  const b = ue(h, Qr);
46520
- $e(b, t.domain, h), $e(m, t.domain, h), ue(m, Jr, g), ue(m, Qr, b);
46521
+ Ie(b, t.domain, h), Ie(m, t.domain, h), ue(m, Jr, g), ue(m, Qr, b);
46521
46522
  const v = ue(m, Xn);
46522
- $e(v, t.numeric, px);
46523
+ Ie(v, t.numeric, px);
46523
46524
  const O = ue(l, Qr), k = ue(l, Jr);
46524
- $e(O, t.domain, l), $e(k, o, s), $e(k, t.domain, l);
46525
+ Ie(O, t.domain, l), Ie(k, o, s), Ie(k, t.domain, l);
46525
46526
  const T = Or(ac);
46526
- $e(k, t.tld, T), $e(k, t.utld, T), $e(T, t.domain, l), $e(T, o, s), ue(T, Jr, k), ue(T, Qr, O), ue(T, qn, p);
46527
+ Ie(k, t.tld, T), Ie(k, t.utld, T), Ie(T, t.domain, l), Ie(T, o, s), ue(T, Jr, k), ue(T, Qr, O), ue(T, qn, p);
46527
46528
  const C = ue(T, Xn), S = Or(ac);
46528
- $e(C, t.numeric, S);
46529
+ Ie(C, t.numeric, S);
46529
46530
  const w = Or(ac), P = Or();
46530
- $e(w, r, w), $e(w, n, P), $e(P, r, w), $e(P, n, P), ue(T, Xr, w), ue(S, Xr, w);
46531
+ Ie(w, r, w), Ie(w, n, P), Ie(P, r, w), Ie(P, n, P), ue(T, Xr, w), ue(S, Xr, w);
46531
46532
  const F = ue(u, Xn), M = ue(d, Xn), $ = ue(M, Xr), R = ue($, Xr);
46532
- $e(u, t.domain, l), ue(u, Jr, k), ue(u, Qr, O), $e(d, t.domain, l), ue(d, Jr, k), ue(d, Qr, O), $e(F, t.domain, w), ue(F, Xr, w), $e(R, t.domain, w), $e(R, r, w), ue(R, Xr, w);
46533
+ Ie(u, t.domain, l), ue(u, Jr, k), ue(u, Qr, O), Ie(d, t.domain, l), ue(d, Jr, k), ue(d, Qr, O), Ie(F, t.domain, w), ue(F, Xr, w), Ie(R, t.domain, w), Ie(R, r, w), ue(R, Xr, w);
46533
46534
  const A = [
46534
46535
  [Ts, Es],
46535
46536
  // {}
@@ -46552,9 +46553,9 @@ function Hq(e) {
46552
46553
  const [N, V] = A[I], z = ue(w, N);
46553
46554
  ue(P, N, z), ue(z, V, w);
46554
46555
  const B = Or(ac);
46555
- $e(z, r, B);
46556
+ Ie(z, r, B);
46556
46557
  const L = Or();
46557
- $e(z, n), $e(B, r, B), $e(B, n, L), $e(L, r, B), $e(L, n, L), ue(B, V, w), ue(L, V, w);
46558
+ Ie(z, n), Ie(B, r, B), Ie(B, n, L), Ie(L, r, B), Ie(L, n, L), ue(B, V, w), ue(L, V, w);
46558
46559
  }
46559
46560
  return ue(i, pl, T), ue(i, Cb, Vq), {
46560
46561
  start: i,
@@ -47372,7 +47373,7 @@ a(Uy, "EditorStateManager");
47372
47373
  let Kh = Uy;
47373
47374
  function g7(e) {
47374
47375
  var t;
47375
- const [r] = Ie(() => new Kh(e.editor)), n = m7.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, e.selector, (t = e.equalityFn) !== null && t !== void 0 ? t : p7);
47376
+ const [r] = Ne(() => new Kh(e.editor)), n = m7.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, e.selector, (t = e.equalityFn) !== null && t !== void 0 ? t : p7);
47376
47377
  return We(() => r.watch(e.editor), [e.editor, r]), Yx(n), n;
47377
47378
  }
47378
47379
  a(g7, "useEditorState");
@@ -47512,7 +47513,7 @@ let Jh = qy;
47512
47513
  function y7(e = {}, t = []) {
47513
47514
  const r = Ci(e);
47514
47515
  r.current = e;
47515
- const [n] = Ie(() => new Jh(r)), o = ip.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
47516
+ const [n] = Ne(() => new Jh(r)), o = ip.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
47516
47517
  return Yx(o), We(n.onRender(t)), g7({
47517
47518
  editor: o,
47518
47519
  selector: /* @__PURE__ */ a(({ transactionNumber: i }) => e.shouldRerenderOnTransaction === !1 ? null : e.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
@@ -52206,7 +52207,7 @@ const PQ = /* @__PURE__ */ a((e) => {
52206
52207
  he.button === 0 && (he.preventDefault(), H.current.focus(), _(!0, he));
52207
52208
  }, "handleMouseDown"), Y = /* @__PURE__ */ a((he) => {
52208
52209
  _(!1, he);
52209
- }, "handleClose"), me = x.Children.toArray(u), Be = /* @__PURE__ */ a((he) => {
52210
+ }, "handleClose"), me = x.Children.toArray(u), Ve = /* @__PURE__ */ a((he) => {
52210
52211
  const Q = me.find((le) => le.props.value === he.target.value);
52211
52212
  Q !== void 0 && (K(Q.props.value), w && w(he, Q));
52212
52213
  }, "handleChange"), be = /* @__PURE__ */ a((he) => (Q) => {
@@ -52239,7 +52240,7 @@ const PQ = /* @__PURE__ */ a((e) => {
52239
52240
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
52240
52241
  "Enter"
52241
52242
  ].indexOf(he.key) !== -1 && (he.preventDefault(), _(!0, he));
52242
- }, "handleKeyDown"), st = W !== null && D, Ve = /* @__PURE__ */ a((he) => {
52243
+ }, "handleKeyDown"), st = W !== null && D, He = /* @__PURE__ */ a((he) => {
52243
52244
  !st && S && (Object.defineProperty(he, "target", {
52244
52245
  writable: !0,
52245
52246
  value: {
@@ -52249,12 +52250,12 @@ const PQ = /* @__PURE__ */ a((e) => {
52249
52250
  }), S(he));
52250
52251
  }, "handleBlur");
52251
52252
  delete B["aria-invalid"];
52252
- let Ne, nt;
52253
+ let Le, nt;
52253
52254
  const rt = [];
52254
- let Le = !1, He = !1;
52255
+ let Fe = !1, ze = !1;
52255
52256
  (_c({
52256
52257
  value: L
52257
- }) || g) && (A ? Ne = A(L) : Le = !0);
52258
+ }) || g) && (A ? Le = A(L) : Fe = !0);
52258
52259
  const ht = me.map((he) => {
52259
52260
  if (!/* @__PURE__ */ x.isValidElement(he))
52260
52261
  return null;
@@ -52264,10 +52265,10 @@ const PQ = /* @__PURE__ */ a((e) => {
52264
52265
  if (T) {
52265
52266
  if (!Array.isArray(L))
52266
52267
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : In(2));
52267
- Q = L.some((le) => Vx(le, he.props.value)), Q && Le && rt.push(he.props.children);
52268
+ Q = L.some((le) => Vx(le, he.props.value)), Q && Fe && rt.push(he.props.children);
52268
52269
  } else
52269
- Q = Vx(L, he.props.value), Q && Le && (nt = he.props.children);
52270
- return Q && (He = !0), /* @__PURE__ */ x.cloneElement(he, {
52270
+ Q = Vx(L, he.props.value), Q && Fe && (nt = he.props.children);
52271
+ return Q && (ze = !0), /* @__PURE__ */ x.cloneElement(he, {
52271
52272
  "aria-selected": Q ? "true" : "false",
52272
52273
  onClick: be(he),
52273
52274
  onKeyUp: /* @__PURE__ */ a((le) => {
@@ -52282,16 +52283,16 @@ const PQ = /* @__PURE__ */ a((e) => {
52282
52283
  });
52283
52284
  });
52284
52285
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
52285
- if (!He && !T && L !== "") {
52286
+ if (!ze && !T && L !== "") {
52286
52287
  const he = me.map((Q) => Q.props.value);
52287
52288
  console.warn([`MUI: You have provided an out-of-range value \`${L}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${he.filter((Q) => Q != null).map((Q) => `\`${Q}\``).join(", ") || '""'}.`].join(`
52288
52289
  `));
52289
52290
  }
52290
- }, [He, me, T, C, L]), Le && (T ? rt.length === 0 ? Ne = null : Ne = rt.reduce((he, Q, le) => (he.push(Q), le < rt.length - 1 && he.push(", "), he), []) : Ne = nt);
52291
+ }, [ze, me, T, C, L]), Fe && (T ? rt.length === 0 ? Le = null : Le = rt.reduce((he, Q, le) => (he.push(Q), le < rt.length - 1 && he.push(", "), he), []) : Le = nt);
52291
52292
  let Ot = te;
52292
52293
  !l && G && W && (Ot = ie.clientWidth);
52293
- let Fe;
52294
- typeof N < "u" ? Fe = N : Fe = h ? null : 0;
52294
+ let $e;
52295
+ typeof N < "u" ? $e = N : $e = h ? null : 0;
52295
52296
  const ye = I.id || (C ? `mui-component-select-${C}` : void 0), de = E({}, t, {
52296
52297
  variant: z,
52297
52298
  value: L,
@@ -52301,7 +52302,7 @@ const PQ = /* @__PURE__ */ a((e) => {
52301
52302
  return /* @__PURE__ */ q(x.Fragment, {
52302
52303
  children: [/* @__PURE__ */ y(TQ, E({
52303
52304
  ref: se,
52304
- tabIndex: Fe,
52305
+ tabIndex: $e,
52305
52306
  role: "combobox",
52306
52307
  "aria-controls": $t,
52307
52308
  "aria-disabled": h ? "true" : void 0,
@@ -52312,26 +52313,26 @@ const PQ = /* @__PURE__ */ a((e) => {
52312
52313
  "aria-describedby": o,
52313
52314
  onKeyDown: Me,
52314
52315
  onMouseDown: h || R ? null : pe,
52315
- onBlur: Ve,
52316
+ onBlur: He,
52316
52317
  onFocus: F
52317
52318
  }, I, {
52318
52319
  ownerState: de,
52319
52320
  className: re(I.className, tt.select, d),
52320
52321
  id: ye,
52321
- children: wQ(Ne) ? (
52322
+ children: wQ(Le) ? (
52322
52323
  // notranslate needed while Google Translate will not fix zero-width space issue
52323
52324
  Bx || (Bx = /* @__PURE__ */ y("span", {
52324
52325
  className: "notranslate",
52325
52326
  children: "​"
52326
52327
  }))
52327
- ) : Ne
52328
+ ) : Le
52328
52329
  })), /* @__PURE__ */ y(kQ, E({
52329
52330
  "aria-invalid": m,
52330
52331
  value: Array.isArray(L) ? L.join(",") : L,
52331
52332
  name: C,
52332
52333
  ref: ee,
52333
52334
  "aria-hidden": !0,
52334
- onChange: Be,
52335
+ onChange: Ve,
52335
52336
  tabIndex: -1,
52336
52337
  disabled: h,
52337
52338
  className: tt.nativeInput,
@@ -53100,7 +53101,7 @@ Qk = Kb.default = (0, eX.default)(/* @__PURE__ */ (0, tX.jsx)("path", {
53100
53101
  d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
53101
53102
  }), "Code");
53102
53103
  var Xk = At(void 0), Sn = /* @__PURE__ */ a(function() {
53103
- var e = Ie(!1), t = e[0], r = e[1], n = Ee(Xk);
53104
+ var e = Ne(!1), t = e[0], r = e[1], n = Ee(Xk);
53104
53105
  return We(function() {
53105
53106
  var o = /* @__PURE__ */ a(function() {
53106
53107
  r(!0);
@@ -53118,7 +53119,7 @@ var Xk = At(void 0), Sn = /* @__PURE__ */ a(function() {
53118
53119
  return e;
53119
53120
  }, rm.apply(this, arguments);
53120
53121
  }, rX = /* @__PURE__ */ a(function(e) {
53121
- var t = Sn(), r = jr(), n = Ie([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53122
+ var t = Sn(), r = jr(), n = Ne([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53122
53123
  _: "Bold"
53123
53124
  }), l = r("ra.tiptap.italic", {
53124
53125
  _: "Italic"
@@ -53221,7 +53222,7 @@ var nm = function() {
53221
53222
  _: "Bulleted list"
53222
53223
  }), o = r("ra.tiptap.list_numbered", {
53223
53224
  _: "Numbered list"
53224
- }), i = Ie(), s = i[0], l = i[1], u = /* @__PURE__ */ a(function(d, p) {
53225
+ }), i = Ne(), s = i[0], l = i[1], u = /* @__PURE__ */ a(function(d, p) {
53225
53226
  Wx.forEach(function(f) {
53226
53227
  var h = t && t.isActive(f) && p !== f, g = t && !t.isActive(f) && p === f;
53227
53228
  (h || g) && dX[f](t);
@@ -53300,7 +53301,7 @@ var om = function() {
53300
53301
  return e;
53301
53302
  }, om.apply(this, arguments);
53302
53303
  }, TX = /* @__PURE__ */ a(function(e) {
53303
- var t = Sn(), r = jr(), n = Ie("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
53304
+ var t = Sn(), r = jr(), n = Ne("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
53304
53305
  We(function() {
53305
53306
  var f = /* @__PURE__ */ a(function() {
53306
53307
  i(function(h) {
@@ -53362,7 +53363,7 @@ iw = ty.default = (0, wX.default)(/* @__PURE__ */ (0, PX.jsx)("path", {
53362
53363
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
53363
53364
  }), "InsertLink");
53364
53365
  var MX = /* @__PURE__ */ a(function() {
53365
- var e = Sn(), t = Ie(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53366
+ var e = Sn(), t = Ne(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53366
53367
  return We(function() {
53367
53368
  var o = /* @__PURE__ */ a(function() {
53368
53369
  n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
@@ -53410,7 +53411,7 @@ var am = function() {
53410
53411
  return e;
53411
53412
  }, am.apply(this, arguments);
53412
53413
  }, IX = /* @__PURE__ */ a(function(e) {
53413
- var t = Sn(), r = jr(), n = Ie(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53414
+ var t = Sn(), r = jr(), n = Ne(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53414
53415
  _: "Blockquote"
53415
53416
  });
53416
53417
  return We(function() {
@@ -53455,7 +53456,7 @@ var sm = function() {
53455
53456
  x.createElement(sw, { fontSize: "inherit" })
53456
53457
  );
53457
53458
  }, "ClearButtons"), jX = /* @__PURE__ */ a(function(e) {
53458
- var t, r = jr(), n = Sn(), o = Ie(null), i = o[0], s = o[1], l = e.size, u = Ie(cc[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(m, b) {
53459
+ var t, r = jr(), n = Sn(), o = Ne(null), i = o[0], s = o[1], l = e.size, u = Ne(cc[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(m, b) {
53459
53460
  s(null);
53460
53461
  var v = cc[b];
53461
53462
  v.value === "paragraph" ? n.chain().focus().setParagraph().run() : v.value === "heading" && n.chain().focus().setHeading({ level: v.level }).run();