biblio-react 3.0.0-alpha242-popup → 3.0.0-alpha243-popup

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
@@ -3,13 +3,13 @@ var a = (t, e) => PP(t, "name", { value: e, configurable: !0 });
3
3
  import Se, { jsx as v, jsxs as q, Fragment as ar } from "react/jsx-runtime";
4
4
  import * as C from "react";
5
5
  import xt, { forwardRef as xc, useContext as et, createElement as o1, Children as Hl, isValidElement as vr, cloneElement as Tn, createContext as Bt, useState as He, useMemo as Lt, useRef as lr, useCallback as st, useEffect as We, memo as ow, Fragment as ho, useImperativeHandle as $P, useDebugValue as iw, useId as NP } from "react";
6
- import { unstable_ClassNameGenerator as sw, exactProp as _f, unstable_getScrollbarSize as AP, unstable_ownerDocument as uo, unstable_ownerWindow as ql, unstable_useForkRef as ia, elementAcceptingRef as IP, unstable_useEnhancedEffect as ns, unstable_setRef as i1, HTMLElementType as Jh, unstable_useEventCallback as s1, unstable_createChainedFunction as a1, chainPropTypes as _P, refType as DP, unstable_debounce as LP, usePreviousProps as FP, unstable_getNormalizedScrollLeft as BP, unstable_detectScrollType as zP, deepmerge as aw } from "@mui/utils";
7
- import { MenuItem as ji, ListItemIcon as Ks, ListItemText as Ys, useMediaQuery as cr, Typography as jo, Box as Ve, useTheme as Df, Card as Vg, CardContent as lw, Stack as Vi, Tooltip as sa, IconButton as Qo, createTheme as jP, ThemeProvider as VP, Chip as l1, alpha as WP, StyledEngineProvider as cw, CircularProgress as HP, DialogTitle as uw, Dialog as Wg, DialogContent as dw, Collapse as qP, List as fw, Menu as Xh, Switch as UP, DialogActions as GP, Button as c1, Paper as pw, ToggleButtonGroup as Lf, ToggleButton as on, ListItem as KP, FormHelperText as YP } from "@mui/material";
8
- import { useTranslate as Gt, useUserMenu as JP, useResourceDefinitions as XP, AppBar as QP, UserMenu as ZP, Logout as e$, required as t$, minValue as n$, TopToolbar as hw, ShowButton as r$, useNotify as mw, useDataProvider as xs, useResourceContext as mt, useListContext as rs, useRedirect as xo, useUnselectAll as o$, useStoreContext as i$, NumberField as s$, DateField as u1, TextField as Iu, ReferenceField as a$, useGetResourceLabel as Ff, ResourceContextProvider as Js, useRecordContext as pr, useCreatePath as l$, useResourceDefinition as Hg, BulkActionsToolbar as c$, Button as Fn, useInput as Bf, useGetList as gw, Labeled as bw, useSafeSetState as qg, Confirm as Cc, Form as Ma, SaveButton as Sc, useGetOne as yw, useCreateController as u$, CreateContextProvider as d$, useDeleteWithConfirmController as f$, Toolbar as vw, ToolbarClasses as p$, useDelete as xw, useSaveContext as h$, Loading as Cs, Create as m$, useListController as g$, ListContextProvider as b$, Pagination as y$, List as Cw, Edit as v$, useEditContext as x$, useSidebarState as Sw, Menu as C$, DashboardMenuItem as S$, MenuItemLink as ww, Layout as w$, FilterContext as E$, sanitizeListRestProps as T$, FilterButton as O$, useLogin as k$, TextInput as zr, PasswordInput as Ew, Show as M$, useShowContext as R$, useSplatPathBase as P$, getTabbedFormTabFullPath as Qc, TabbedFormTabs as Tw, defaultTheme as Ow, FormTab as $$, BooleanField as N$, ImageInput as A$, ImageField as I$, FileInput as _$, BooleanInput as D$, ReferenceInput as kw, useChoicesContext as Mw, AutocompleteInput as L$, SelectInput as F$, ReferenceArrayInput as B$, AutocompleteArrayInput as z$, SearchInput as j$, RadioButtonGroupInput as Rw, useRecordSelection as Pw, ListActions as V$, Datagrid as W$, ValidationError as H$, FieldTitle as $w } from "react-admin";
6
+ import { unstable_ClassNameGenerator as sw, exactProp as _f, unstable_getScrollbarSize as AP, unstable_ownerDocument as uo, unstable_ownerWindow as ql, unstable_useForkRef as sa, elementAcceptingRef as IP, unstable_useEnhancedEffect as ns, unstable_setRef as i1, HTMLElementType as Jh, unstable_useEventCallback as s1, unstable_createChainedFunction as a1, chainPropTypes as _P, refType as DP, unstable_debounce as LP, usePreviousProps as FP, unstable_getNormalizedScrollLeft as BP, unstable_detectScrollType as zP, deepmerge as aw } from "@mui/utils";
7
+ import { MenuItem as ji, ListItemIcon as Ys, ListItemText as Js, useMediaQuery as cr, Typography as jo, Box as Ve, useTheme as Df, Card as Vg, CardContent as lw, Stack as Vi, Tooltip as rs, IconButton as Qo, createTheme as jP, ThemeProvider as VP, Chip as l1, alpha as WP, StyledEngineProvider as cw, CircularProgress as HP, DialogTitle as uw, Dialog as Wg, DialogContent as dw, Collapse as qP, List as fw, Menu as Xh, Switch as UP, DialogActions as GP, Button as c1, Paper as pw, ToggleButtonGroup as Lf, ToggleButton as on, ListItem as KP, FormHelperText as YP } from "@mui/material";
8
+ import { useTranslate as Gt, useUserMenu as JP, useResourceDefinitions as XP, AppBar as QP, UserMenu as ZP, Logout as e$, required as t$, minValue as n$, TopToolbar as hw, ShowButton as r$, useNotify as mw, useDataProvider as Cs, useResourceContext as mt, useListContext as is, useRedirect as xo, useUnselectAll as o$, useStoreContext as i$, NumberField as s$, DateField as u1, TextField as Iu, ReferenceField as a$, useGetResourceLabel as Ff, ResourceContextProvider as Xs, useRecordContext as pr, useCreatePath as l$, useResourceDefinition as Hg, BulkActionsToolbar as c$, Button as Fn, useInput as Bf, useGetList as gw, Labeled as bw, useSafeSetState as qg, Confirm as Cc, Form as Ma, SaveButton as Sc, useGetOne as yw, useCreateController as u$, CreateContextProvider as d$, useDeleteWithConfirmController as f$, Toolbar as vw, ToolbarClasses as p$, useDelete as xw, useSaveContext as h$, Loading as Ss, Create as m$, useListController as g$, ListContextProvider as b$, Pagination as y$, List as Cw, Edit as v$, useEditContext as x$, useSidebarState as Sw, Menu as C$, DashboardMenuItem as S$, MenuItemLink as ww, Layout as w$, FilterContext as E$, sanitizeListRestProps as T$, FilterButton as O$, useLogin as k$, TextInput as zr, PasswordInput as Ew, Show as M$, useShowContext as R$, useSplatPathBase as P$, getTabbedFormTabFullPath as Qc, TabbedFormTabs as Tw, defaultTheme as Ow, FormTab as $$, BooleanField as N$, ImageInput as A$, ImageField as I$, FileInput as _$, BooleanInput as D$, ReferenceInput as kw, useChoicesContext as Mw, AutocompleteInput as L$, SelectInput as F$, ReferenceArrayInput as B$, AutocompleteArrayInput as z$, SearchInput as j$, RadioButtonGroupInput as Rw, useRecordSelection as Pw, ListActions as V$, Datagrid as W$, ValidationError as H$, FieldTitle as $w } from "react-admin";
9
9
  import { Link as Qh, useNavigate as zf, useLocation as Ur, Routes as Nw, Route as Aw, useParams as Iw, matchPath as Ul } from "react-router-dom";
10
- import { useGridApiContext as Ss, useGridSelector as aa, gridColumnVisibilityModelSelector as _w, gridColumnDefinitionsSelector as Dw, GridColumnIcon as q$, gridSortModelSelector as U$, GridArrowUpwardIcon as G$, GridArrowDownwardIcon as K$, GridToolbarExport as Y$, GridToolbarContainer as J$, GridClearIcon as X$, GridToolbarQuickFilter as Q$, GridPivotIcon as Z$, useGridApiRef as Ug, useKeepGroupedColumnsHidden as Lw, GridActionsCellItem as nl, isAutogeneratedRow as Zc, DataGridPremium as Gg, gridClasses as d1 } from "@mui/x-data-grid-premium";
10
+ import { useGridApiContext as ws, useGridSelector as aa, gridColumnVisibilityModelSelector as _w, gridColumnDefinitionsSelector as Dw, GridColumnIcon as q$, gridSortModelSelector as U$, GridArrowUpwardIcon as G$, GridArrowDownwardIcon as K$, GridToolbarExport as Y$, GridToolbarContainer as J$, GridClearIcon as X$, GridToolbarQuickFilter as Q$, GridPivotIcon as Z$, useGridApiRef as Ug, useKeepGroupedColumnsHidden as Lw, GridActionsCellItem as nl, isAutogeneratedRow as Zc, DataGridPremium as Gg, gridClasses as d1 } from "@mui/x-data-grid-premium";
11
11
  import { useFormContext as pn, useFormState as e2, useWatch as t2, useController as n2 } from "react-hook-form";
12
- import { useSelector as Kg, useDispatch as ws } from "react-redux";
12
+ import { useSelector as Kg, useDispatch as Es } from "react-redux";
13
13
  import { isAfter as r2 } from "date-fns";
14
14
  import { useMutation as o2, useQueryClient as Fw } from "@tanstack/react-query";
15
15
  import * as Zh from "react-dom";
@@ -1069,7 +1069,7 @@ function Pa(t, e) {
1069
1069
  return Yl(Ra, t, e);
1070
1070
  }
1071
1071
  a(Pa, "slice");
1072
- function is(t) {
1072
+ function ss(t) {
1073
1073
  switch (t) {
1074
1074
  case 0:
1075
1075
  case 9:
@@ -1101,7 +1101,7 @@ function is(t) {
1101
1101
  }
1102
1102
  return 0;
1103
1103
  }
1104
- a(is, "token");
1104
+ a(ss, "token");
1105
1105
  function tb(t) {
1106
1106
  return Wf = la = 1, Qw = er(Ra = t), cn = 0, [];
1107
1107
  }
@@ -1117,7 +1117,7 @@ a(xl, "delimit");
1117
1117
  function I2(t) {
1118
1118
  for (; (Ht = Bn()) && Ht < 33; )
1119
1119
  gn();
1120
- return is(t) > 2 || is(Ht) > 3 ? "" : " ";
1120
+ return ss(t) > 2 || ss(Ht) > 3 ? "" : " ";
1121
1121
  }
1122
1122
  a(I2, "whitespace$1");
1123
1123
  function _2(t, e) {
@@ -1153,7 +1153,7 @@ function D2(t, e) {
1153
1153
  }
1154
1154
  a(D2, "commenter");
1155
1155
  function L2(t) {
1156
- for (; !is(Bn()); )
1156
+ for (; !ss(Bn()); )
1157
1157
  gn();
1158
1158
  return Pa(t, cn);
1159
1159
  }
@@ -1313,13 +1313,13 @@ function rE(t) {
1313
1313
  }
1314
1314
  a(rE, "memoize$4");
1315
1315
  var B2 = /* @__PURE__ */ a(function(e, n, r) {
1316
- for (var o = 0, i = 0; o = i, i = Bn(), o === 38 && i === 12 && (n[r] = 1), !is(i); )
1316
+ for (var o = 0, i = 0; o = i, i = Bn(), o === 38 && i === 12 && (n[r] = 1), !ss(i); )
1317
1317
  gn();
1318
1318
  return Pa(e, cn);
1319
1319
  }, "identifierWithPointTracking"), z2 = /* @__PURE__ */ a(function(e, n) {
1320
1320
  var r = -1, o = 44;
1321
1321
  do
1322
- switch (is(o)) {
1322
+ switch (ss(o)) {
1323
1323
  case 0:
1324
1324
  o === 38 && Bn() === 12 && (n[r] = 1), e[r] += B2(cn - 1, n, r);
1325
1325
  break;
@@ -2339,13 +2339,13 @@ var EN = /* @__PURE__ */ function() {
2339
2339
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
2340
2340
  }, "flush"), t;
2341
2341
  }(), TN = /* @__PURE__ */ a(function(e, n, r) {
2342
- for (var o = 0, i = 0; o = i, i = Bn(), o === 38 && i === 12 && (n[r] = 1), !is(i); )
2342
+ for (var o = 0, i = 0; o = i, i = Bn(), o === 38 && i === 12 && (n[r] = 1), !ss(i); )
2343
2343
  gn();
2344
2344
  return Pa(e, cn);
2345
2345
  }, "identifierWithPointTracking"), ON = /* @__PURE__ */ a(function(e, n) {
2346
2346
  var r = -1, o = 44;
2347
2347
  do
2348
- switch (is(o)) {
2348
+ switch (ss(o)) {
2349
2349
  case 0:
2350
2350
  o === 38 && Bn() === 12 && (n[r] = 1), e[r] += TN(cn - 1, n, r);
2351
2351
  break;
@@ -3201,15 +3201,15 @@ function ub(t) {
3201
3201
  return Tc(t, "spacing", 8, "spacing");
3202
3202
  }
3203
3203
  a(ub, "createUnarySpacing");
3204
- function ss(t, e) {
3204
+ function as(t, e) {
3205
3205
  if (typeof e == "string" || e == null)
3206
3206
  return e;
3207
3207
  const n = Math.abs(e), r = t(n);
3208
3208
  return e >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
3209
3209
  }
3210
- a(ss, "getValue$2");
3210
+ a(as, "getValue$2");
3211
3211
  function oA(t, e) {
3212
- return (n) => t.reduce((r, o) => (r[o] = ss(e, n), r), {});
3212
+ return (n) => t.reduce((r, o) => (r[o] = as(e, n), r), {});
3213
3213
  }
3214
3214
  a(oA, "getStyleFromPropValue");
3215
3215
  function iA(t, e, n, r) {
@@ -3271,7 +3271,7 @@ a(mr, "createBorderStyle");
3271
3271
  const aA = mr("border", tr), lA = mr("borderTop", tr), cA = mr("borderRight", tr), uA = mr("borderBottom", tr), dA = mr("borderLeft", tr), fA = mr("borderColor"), pA = mr("borderTopColor"), hA = mr("borderRightColor"), mA = mr("borderBottomColor"), gA = mr("borderLeftColor"), bA = mr("outline", tr), yA = mr("outlineColor"), Jf = /* @__PURE__ */ a((t) => {
3272
3272
  if (t.borderRadius !== void 0 && t.borderRadius !== null) {
3273
3273
  const e = Tc(t.theme, "shape.borderRadius", 4, "borderRadius"), n = /* @__PURE__ */ a((r) => ({
3274
- borderRadius: ss(e, r)
3274
+ borderRadius: as(e, r)
3275
3275
  }), "styleFromPropValue");
3276
3276
  return $n(t, t.borderRadius, n);
3277
3277
  }
@@ -3285,7 +3285,7 @@ Yf(aA, lA, cA, uA, dA, fA, pA, hA, mA, gA, Jf, bA, yA);
3285
3285
  const Xf = /* @__PURE__ */ a((t) => {
3286
3286
  if (t.gap !== void 0 && t.gap !== null) {
3287
3287
  const e = Tc(t.theme, "spacing", 8, "gap"), n = /* @__PURE__ */ a((r) => ({
3288
- gap: ss(e, r)
3288
+ gap: as(e, r)
3289
3289
  }), "styleFromPropValue");
3290
3290
  return $n(t, t.gap, n);
3291
3291
  }
@@ -3298,7 +3298,7 @@ Xf.filterProps = ["gap"];
3298
3298
  const Qf = /* @__PURE__ */ a((t) => {
3299
3299
  if (t.columnGap !== void 0 && t.columnGap !== null) {
3300
3300
  const e = Tc(t.theme, "spacing", 8, "columnGap"), n = /* @__PURE__ */ a((r) => ({
3301
- columnGap: ss(e, r)
3301
+ columnGap: as(e, r)
3302
3302
  }), "styleFromPropValue");
3303
3303
  return $n(t, t.columnGap, n);
3304
3304
  }
@@ -3311,7 +3311,7 @@ Qf.filterProps = ["columnGap"];
3311
3311
  const Zf = /* @__PURE__ */ a((t) => {
3312
3312
  if (t.rowGap !== void 0 && t.rowGap !== null) {
3313
3313
  const e = Tc(t.theme, "spacing", 8, "rowGap"), n = /* @__PURE__ */ a((r) => ({
3314
- rowGap: ss(e, r)
3314
+ rowGap: as(e, r)
3315
3315
  }), "styleFromPropValue");
3316
3316
  return $n(t, t.rowGap, n);
3317
3317
  }
@@ -3341,23 +3341,23 @@ const vA = zt({
3341
3341
  prop: "gridArea"
3342
3342
  });
3343
3343
  Yf(Xf, Qf, Zf, vA, xA, CA, SA, wA, EA, TA, OA, kA);
3344
- function Xs(t, e) {
3344
+ function Qs(t, e) {
3345
3345
  return e === "grey" ? e : t;
3346
3346
  }
3347
- a(Xs, "paletteTransform");
3347
+ a(Qs, "paletteTransform");
3348
3348
  const MA = zt({
3349
3349
  prop: "color",
3350
3350
  themeKey: "palette",
3351
- transform: Xs
3351
+ transform: Qs
3352
3352
  }), RA = zt({
3353
3353
  prop: "bgcolor",
3354
3354
  cssProperty: "backgroundColor",
3355
3355
  themeKey: "palette",
3356
- transform: Xs
3356
+ transform: Qs
3357
3357
  }), PA = zt({
3358
3358
  prop: "backgroundColor",
3359
3359
  themeKey: "palette",
3360
- transform: Xs
3360
+ transform: Qs
3361
3361
  });
3362
3362
  Yf(MA, RA, PA);
3363
3363
  function Dn(t) {
@@ -3463,16 +3463,16 @@ const Oc = {
3463
3463
  // palette
3464
3464
  color: {
3465
3465
  themeKey: "palette",
3466
- transform: Xs
3466
+ transform: Qs
3467
3467
  },
3468
3468
  bgcolor: {
3469
3469
  themeKey: "palette",
3470
3470
  cssProperty: "backgroundColor",
3471
- transform: Xs
3471
+ transform: Qs
3472
3472
  },
3473
3473
  backgroundColor: {
3474
3474
  themeKey: "palette",
3475
- transform: Xs
3475
+ transform: Qs
3476
3476
  },
3477
3477
  // spacing
3478
3478
  p: {
@@ -4322,7 +4322,7 @@ const Xl = {
4322
4322
  A200: "#ff5252",
4323
4323
  A400: "#ff1744",
4324
4324
  A700: "#d50000"
4325
- }, Is = {
4325
+ }, _s = {
4326
4326
  50: "#fff3e0",
4327
4327
  100: "#ffe0b2",
4328
4328
  200: "#ffcc80",
@@ -4352,7 +4352,7 @@ const Xl = {
4352
4352
  A200: "#448aff",
4353
4353
  A400: "#2979ff",
4354
4354
  A700: "#2962ff"
4355
- }, Ms = {
4355
+ }, Rs = {
4356
4356
  50: "#e1f5fe",
4357
4357
  100: "#b3e5fc",
4358
4358
  200: "#81d4fa",
@@ -4488,13 +4488,13 @@ function RI(t = "light") {
4488
4488
  a(RI, "getDefaultError");
4489
4489
  function PI(t = "light") {
4490
4490
  return t === "dark" ? {
4491
- main: Ms[400],
4492
- light: Ms[300],
4493
- dark: Ms[700]
4491
+ main: Rs[400],
4492
+ light: Rs[300],
4493
+ dark: Rs[700]
4494
4494
  } : {
4495
- main: Ms[700],
4496
- light: Ms[500],
4497
- dark: Ms[900]
4495
+ main: Rs[700],
4496
+ light: Rs[500],
4497
+ dark: Rs[900]
4498
4498
  };
4499
4499
  }
4500
4500
  a(PI, "getDefaultInfo");
@@ -4512,14 +4512,14 @@ function $I(t = "light") {
4512
4512
  a($I, "getDefaultSuccess");
4513
4513
  function NI(t = "light") {
4514
4514
  return t === "dark" ? {
4515
- main: Is[400],
4516
- light: Is[300],
4517
- dark: Is[700]
4515
+ main: _s[400],
4516
+ light: _s[300],
4517
+ dark: _s[700]
4518
4518
  } : {
4519
4519
  main: "#ed6c02",
4520
4520
  // closest to orange[800] that pass 3:1.
4521
- light: Is[500],
4522
- dark: Is[900]
4521
+ light: _s[500],
4522
+ dark: _s[900]
4523
4523
  };
4524
4524
  }
4525
4525
  a(NI, "getDefaultWarning");
@@ -4819,13 +4819,13 @@ function _E(t = {}, ...e) {
4819
4819
  }, "sx"), d;
4820
4820
  }
4821
4821
  a(_E, "createTheme");
4822
- const ep = _E(), as = "$$material";
4822
+ const ep = _E(), ls = "$$material";
4823
4823
  function DE(t) {
4824
4824
  return t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as";
4825
4825
  }
4826
4826
  a(DE, "slotShouldForwardProp");
4827
4827
  const Qt = /* @__PURE__ */ a((t) => DE(t) && t !== "classes", "rootShouldForwardProp"), ee = UA({
4828
- themeId: as,
4828
+ themeId: ls,
4829
4829
  defaultTheme: ep,
4830
4830
  rootShouldForwardProp: Qt
4831
4831
  });
@@ -5173,11 +5173,11 @@ const wf = class wf {
5173
5173
  };
5174
5174
  a(wf, "Timeout");
5175
5175
  let Zl = wf;
5176
- function js() {
5176
+ function Vs() {
5177
5177
  const t = e_(Zl.create).current;
5178
5178
  return n_(t.disposeEffect), t;
5179
5179
  }
5180
- a(js, "useTimeout");
5180
+ a(Vs, "useTimeout");
5181
5181
  let tp = !0, lm = !1;
5182
5182
  const r_ = new Zl(), o_ = {
5183
5183
  text: !0,
@@ -5321,8 +5321,8 @@ const v_ = xc((t, e) => {
5321
5321
  to: "/form_275",
5322
5322
  onClick: r
5323
5323
  },
5324
- /* @__PURE__ */ v(Ks, { children: /* @__PURE__ */ v(gb, {}) }),
5325
- /* @__PURE__ */ v(Ys, { children: n("pos.change_pin") })
5324
+ /* @__PURE__ */ v(Ys, { children: /* @__PURE__ */ v(gb, {}) }),
5325
+ /* @__PURE__ */ v(Js, { children: n("pos.change_pin") })
5326
5326
  ) : null,
5327
5327
  s ? /* @__PURE__ */ o1(
5328
5328
  ji,
@@ -5334,8 +5334,8 @@ const v_ = xc((t, e) => {
5334
5334
  to: "/form_59",
5335
5335
  onClick: r
5336
5336
  },
5337
- /* @__PURE__ */ v(Ks, { children: /* @__PURE__ */ v(zE, {}) }),
5338
- /* @__PURE__ */ v(Ys, { children: n("pos.change_password") })
5337
+ /* @__PURE__ */ v(Ys, { children: /* @__PURE__ */ v(zE, {}) }),
5338
+ /* @__PURE__ */ v(Js, { children: n("pos.change_password") })
5339
5339
  ) : null
5340
5340
  ];
5341
5341
  }), x_ = /* @__PURE__ */ a(() => /* @__PURE__ */ q(ZP, { children: [
@@ -6186,7 +6186,7 @@ const pD = /* @__PURE__ */ a((t) => ({
6186
6186
  }), n = bn(n, $n({
6187
6187
  theme: e
6188
6188
  }, s, /* @__PURE__ */ a((u, d) => t.useFlexGap ? {
6189
- gap: ss(r, u)
6189
+ gap: as(r, u)
6190
6190
  } : {
6191
6191
  // The useFlexGap={false} implement relies on each child to give up control of the margin.
6192
6192
  // We need to reset the margin to avoid double spacing.
@@ -6194,7 +6194,7 @@ const pD = /* @__PURE__ */ a((t) => ({
6194
6194
  margin: 0
6195
6195
  },
6196
6196
  "& > :not(style) ~ :not(style)": {
6197
- [`margin${pD(d ? i[d] : t.direction)}`]: ss(r, u)
6197
+ [`margin${pD(d ? i[d] : t.direction)}`]: as(r, u)
6198
6198
  }
6199
6199
  }, "styleFromPropValue")));
6200
6200
  }
@@ -6242,7 +6242,7 @@ function mD(t = {}) {
6242
6242
  a(mD, "createStack");
6243
6243
  function Kr() {
6244
6244
  const t = Rc(ep);
6245
- return process.env.NODE_ENV !== "production" && C.useDebugValue(t), t[as] || t;
6245
+ return process.env.NODE_ENV !== "production" && C.useDebugValue(t), t[ls] || t;
6246
6246
  }
6247
6247
  a(Kr, "useTheme$1");
6248
6248
  function XE({
@@ -6253,7 +6253,7 @@ function XE({
6253
6253
  props: t,
6254
6254
  name: e,
6255
6255
  defaultTheme: ep,
6256
- themeId: as
6256
+ themeId: ls
6257
6257
  });
6258
6258
  }
6259
6259
  a(XE, "useThemeProps");
@@ -6262,9 +6262,9 @@ function wb(t) {
6262
6262
  let {
6263
6263
  theme: e
6264
6264
  } = t, n = ce(t, gD);
6265
- const r = e[as];
6265
+ const r = e[ls];
6266
6266
  return /* @__PURE__ */ v(td, k({}, n, {
6267
- themeId: r ? as : void 0,
6267
+ themeId: r ? ls : void 0,
6268
6268
  theme: r || e
6269
6269
  }));
6270
6270
  }
@@ -6446,13 +6446,13 @@ const r0 = class r0 {
6446
6446
  };
6447
6447
  a(r0, "ModalManager");
6448
6448
  let cm = r0;
6449
- function ls(t, e, n, r, o) {
6449
+ function cs(t, e, n, r, o) {
6450
6450
  if (process.env.NODE_ENV === "production")
6451
6451
  return null;
6452
6452
  const i = t[e], s = o || e;
6453
6453
  return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
6454
6454
  }
6455
- a(ls, "HTMLElementType");
6455
+ a(cs, "HTMLElementType");
6456
6456
  function Yr(t, e) {
6457
6457
  return process.env.NODE_ENV === "production" ? () => null : /* @__PURE__ */ a(function(...r) {
6458
6458
  return t(...r) || e(...r);
@@ -6485,12 +6485,12 @@ function da(t) {
6485
6485
  return typeof t == "string";
6486
6486
  }
6487
6487
  a(da, "isHostComponent");
6488
- function Vs(t, e, n) {
6488
+ function Ws(t, e, n) {
6489
6489
  return t === void 0 || da(t) ? e : k({}, e, {
6490
6490
  ownerState: k({}, e.ownerState, n)
6491
6491
  });
6492
6492
  }
6493
- a(Vs, "appendOwnerState");
6493
+ a(Ws, "appendOwnerState");
6494
6494
  function eT(t, e = []) {
6495
6495
  if (t === void 0)
6496
6496
  return {};
@@ -6549,7 +6549,7 @@ function jn(t) {
6549
6549
  } = tT(k({}, s, {
6550
6550
  externalSlotProps: l
6551
6551
  })), f = qt(d, l == null ? void 0 : l.ref, (e = t.additionalProps) == null ? void 0 : e.ref);
6552
- return Vs(n, k({}, u, {
6552
+ return Ws(n, k({}, u, {
6553
6553
  ref: f
6554
6554
  }), o);
6555
6555
  }
@@ -6597,7 +6597,7 @@ function nd(t) {
6597
6597
  getTabbable: i = BD,
6598
6598
  isEnabled: s = zD,
6599
6599
  open: l
6600
- } = t, u = C.useRef(!1), d = C.useRef(null), f = C.useRef(null), p = C.useRef(null), h = C.useRef(null), m = C.useRef(!1), g = C.useRef(null), b = ia(e.ref, g), y = C.useRef(null);
6600
+ } = t, u = C.useRef(!1), d = C.useRef(null), f = C.useRef(null), p = C.useRef(null), h = C.useRef(null), m = C.useRef(!1), g = C.useRef(null), b = sa(e.ref, g), y = C.useRef(null);
6601
6601
  C.useEffect(() => {
6602
6602
  !l || !g.current || (m.current = !n);
6603
6603
  }, [n, l]), C.useEffect(() => {
@@ -6734,7 +6734,7 @@ const tc = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
6734
6734
  children: r,
6735
6735
  container: o,
6736
6736
  disablePortal: i = !1
6737
- } = e, [s, l] = C.useState(null), u = ia(/* @__PURE__ */ C.isValidElement(r) ? r.ref : null, n);
6737
+ } = e, [s, l] = C.useState(null), u = sa(/* @__PURE__ */ C.isValidElement(r) ? r.ref : null, n);
6738
6738
  if (ns(() => {
6739
6739
  i || l(jD(o) || document.body);
6740
6740
  }, [o, i]), ns(() => {
@@ -6817,13 +6817,13 @@ process.env.NODE_ENV !== "production" && c.oneOfType([c.string, c.shape({
6817
6817
  const rd = xt.createContext(null);
6818
6818
  var WD = /* @__PURE__ */ a(function(e) {
6819
6819
  return e.scrollTop;
6820
- }, "forceReflow"), gl = "unmounted", Ci = "exited", Si = "entering", _s = "entered", dm = "exiting", wr = /* @__PURE__ */ function(t) {
6820
+ }, "forceReflow"), gl = "unmounted", Ci = "exited", Si = "entering", Ds = "entered", dm = "exiting", wr = /* @__PURE__ */ function(t) {
6821
6821
  rT(e, t);
6822
6822
  function e(r, o) {
6823
6823
  var i;
6824
6824
  i = t.call(this, r, o) || this;
6825
6825
  var s = o, l = s && !s.isMounting ? r.enter : r.appear, u;
6826
- return i.appearStatus = null, r.in ? l ? (u = Ci, i.appearStatus = Si) : u = _s : r.unmountOnExit || r.mountOnEnter ? u = gl : u = Ci, i.state = {
6826
+ return i.appearStatus = null, r.in ? l ? (u = Ci, i.appearStatus = Si) : u = Ds : r.unmountOnExit || r.mountOnEnter ? u = gl : u = Ci, i.state = {
6827
6827
  status: u
6828
6828
  }, i.nextCallback = null, i;
6829
6829
  }
@@ -6840,7 +6840,7 @@ var WD = /* @__PURE__ */ a(function(e) {
6840
6840
  var i = null;
6841
6841
  if (o !== this.props) {
6842
6842
  var s = this.state.status;
6843
- this.props.in ? s !== Si && s !== _s && (i = Si) : (s === Si || s === _s) && (i = dm);
6843
+ this.props.in ? s !== Si && s !== Ds && (i = Si) : (s === Si || s === Ds) && (i = dm);
6844
6844
  }
6845
6845
  this.updateStatus(!1, i);
6846
6846
  }, "componentDidUpdate"), n.componentWillUnmount = /* @__PURE__ */ a(function() {
@@ -6869,7 +6869,7 @@ var WD = /* @__PURE__ */ a(function(e) {
6869
6869
  var i = this, s = this.props.enter, l = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [l] : [ml.findDOMNode(this), l], d = u[0], f = u[1], p = this.getTimeouts(), h = l ? p.appear : p.enter;
6870
6870
  if (!o && !s || ux.disabled) {
6871
6871
  this.safeSetState({
6872
- status: _s
6872
+ status: Ds
6873
6873
  }, function() {
6874
6874
  i.props.onEntered(d);
6875
6875
  });
@@ -6880,7 +6880,7 @@ var WD = /* @__PURE__ */ a(function(e) {
6880
6880
  }, function() {
6881
6881
  i.props.onEntering(d, f), i.onTransitionEnd(h, function() {
6882
6882
  i.safeSetState({
6883
- status: _s
6883
+ status: Ds
6884
6884
  }, function() {
6885
6885
  i.props.onEntered(d, f);
6886
6886
  });
@@ -7115,9 +7115,9 @@ wr.propTypes = process.env.NODE_ENV !== "production" ? {
7115
7115
  */
7116
7116
  onExited: c.func
7117
7117
  } : {};
7118
- function Rs() {
7118
+ function Ps() {
7119
7119
  }
7120
- a(Rs, "noop$1");
7120
+ a(Ps, "noop$1");
7121
7121
  wr.defaultProps = {
7122
7122
  in: !1,
7123
7123
  mountOnEnter: !1,
@@ -7125,17 +7125,17 @@ wr.defaultProps = {
7125
7125
  appear: !1,
7126
7126
  enter: !0,
7127
7127
  exit: !0,
7128
- onEnter: Rs,
7129
- onEntering: Rs,
7130
- onEntered: Rs,
7131
- onExit: Rs,
7132
- onExiting: Rs,
7133
- onExited: Rs
7128
+ onEnter: Ps,
7129
+ onEntering: Ps,
7130
+ onEntered: Ps,
7131
+ onExit: Ps,
7132
+ onExiting: Ps,
7133
+ onExited: Ps
7134
7134
  };
7135
7135
  wr.UNMOUNTED = gl;
7136
7136
  wr.EXITED = Ci;
7137
7137
  wr.ENTERING = Si;
7138
- wr.ENTERED = _s;
7138
+ wr.ENTERED = Ds;
7139
7139
  wr.EXITING = dm;
7140
7140
  function HD(t) {
7141
7141
  if (t === void 0)
@@ -7327,7 +7327,7 @@ Rb.propTypes = process.env.NODE_ENV !== "production" ? {
7327
7327
  } : {};
7328
7328
  Rb.defaultProps = YD;
7329
7329
  const Pb = /* @__PURE__ */ a((t) => t.scrollTop, "reflow");
7330
- function cs(t, e) {
7330
+ function us(t, e) {
7331
7331
  var n, r;
7332
7332
  const {
7333
7333
  timeout: o,
@@ -7340,7 +7340,7 @@ function cs(t, e) {
7340
7340
  delay: s.transitionDelay
7341
7341
  };
7342
7342
  }
7343
- a(cs, "getTransitionProps");
7343
+ a(us, "getTransitionProps");
7344
7344
  const JD = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], XD = {
7345
7345
  entering: {
7346
7346
  opacity: 1
@@ -7375,7 +7375,7 @@ const JD = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7375
7375
  }
7376
7376
  }, "normalizedTransitionCallback"), M = O(h), A = O((B, V) => {
7377
7377
  Pb(B);
7378
- const z = cs({
7378
+ const z = us({
7379
7379
  style: y,
7380
7380
  timeout: x,
7381
7381
  easing: u
@@ -7384,7 +7384,7 @@ const JD = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7384
7384
  });
7385
7385
  B.style.webkitTransition = r.transitions.create("opacity", z), B.style.transition = r.transitions.create("opacity", z), f && f(B, V);
7386
7386
  }), $ = O(p), P = O(b), R = O((B) => {
7387
- const V = cs({
7387
+ const V = us({
7388
7388
  style: y,
7389
7389
  timeout: x,
7390
7390
  easing: u
@@ -7685,7 +7685,7 @@ function i5(t) {
7685
7685
  onClose: d,
7686
7686
  open: f,
7687
7687
  rootRef: p
7688
- } = t, h = C.useRef({}), m = C.useRef(null), g = C.useRef(null), b = ia(g, p), [y, x] = C.useState(!f), E = r5(u);
7688
+ } = t, h = C.useRef({}), m = C.useRef(null), g = C.useRef(null), b = sa(g, p), [y, x] = C.useState(!f), E = r5(u);
7689
7689
  let T = !0;
7690
7690
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (T = !1);
7691
7691
  const w = /* @__PURE__ */ a(() => uo(m.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = g.current, h.current.mount = m.current, h.current), "getModal"), O = /* @__PURE__ */ a(() => {
@@ -7974,7 +7974,7 @@ process.env.NODE_ENV !== "production" && (rp.propTypes = {
7974
7974
  * By default, it uses the body of the top-level document object,
7975
7975
  * so it's simply `document.body` most of the time.
7976
7976
  */
7977
- container: c.oneOfType([ls, c.func]),
7977
+ container: c.oneOfType([cs, c.func]),
7978
7978
  /**
7979
7979
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
7980
7980
  * replace it to the last focused element when it closes.
@@ -9227,13 +9227,13 @@ const sT = Bt(), Dc = /* @__PURE__ */ a(({ children: t }) => {
9227
9227
  const o = sL[t];
9228
9228
  return typeof o == "string" ? r = o : e === 1 ? r = o.one : r = o.other.replace("{{count}}", e.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
9229
9229
  }, "formatDistance$1");
9230
- function Qs(t) {
9230
+ function Zs(t) {
9231
9231
  return (e = {}) => {
9232
9232
  const n = e.width ? String(e.width) : t.defaultWidth;
9233
9233
  return t.formats[n] || t.formats[t.defaultWidth];
9234
9234
  };
9235
9235
  }
9236
- a(Qs, "buildFormatLongFn");
9236
+ a(Zs, "buildFormatLongFn");
9237
9237
  const lL = {
9238
9238
  full: "EEEE, MMMM do, y",
9239
9239
  long: "MMMM do, y",
@@ -9250,15 +9250,15 @@ const lL = {
9250
9250
  medium: "{{date}}, {{time}}",
9251
9251
  short: "{{date}}, {{time}}"
9252
9252
  }, dL = {
9253
- date: Qs({
9253
+ date: Zs({
9254
9254
  formats: lL,
9255
9255
  defaultWidth: "full"
9256
9256
  }),
9257
- time: Qs({
9257
+ time: Zs({
9258
9258
  formats: cL,
9259
9259
  defaultWidth: "full"
9260
9260
  }),
9261
- dateTime: Qs({
9261
+ dateTime: Zs({
9262
9262
  formats: uL,
9263
9263
  defaultWidth: "full"
9264
9264
  })
@@ -9678,15 +9678,15 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
9678
9678
  medium: "{{date}}, {{time}}",
9679
9679
  short: "{{date}}, {{time}}"
9680
9680
  }, WL = {
9681
- date: Qs({
9681
+ date: Zs({
9682
9682
  formats: zL,
9683
9683
  defaultWidth: "full"
9684
9684
  }),
9685
- time: Qs({
9685
+ time: Zs({
9686
9686
  formats: jL,
9687
9687
  defaultWidth: "full"
9688
9688
  }),
9689
- dateTime: Qs({
9689
+ dateTime: Zs({
9690
9690
  formats: VL,
9691
9691
  defaultWidth: "full"
9692
9692
  })
@@ -10270,7 +10270,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10270
10270
  });
10271
10271
  }, "abrirVentanaSistema");
10272
10272
  }, "useAbrirVentanaSistema"), hT = /* @__PURE__ */ a(() => {
10273
- const t = ws();
10273
+ const t = Es();
10274
10274
  return st(
10275
10275
  (e, n, r, o) => {
10276
10276
  t(Z5(e, n, r, o));
@@ -10278,7 +10278,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10278
10278
  [t]
10279
10279
  );
10280
10280
  }, "useRecargarComboBox"), mT = /* @__PURE__ */ a(() => {
10281
- const t = ws();
10281
+ const t = Es();
10282
10282
  return st(
10283
10283
  (e, n) => {
10284
10284
  t(tL(e, n));
@@ -10286,7 +10286,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10286
10286
  [t]
10287
10287
  );
10288
10288
  }, "useSetHidden"), gT = /* @__PURE__ */ a(() => {
10289
- const t = ws();
10289
+ const t = Es();
10290
10290
  return st(
10291
10291
  (e, n) => {
10292
10292
  t(nL(e, n));
@@ -10294,7 +10294,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10294
10294
  [t]
10295
10295
  );
10296
10296
  }, "useSetDisable"), bT = /* @__PURE__ */ a(() => {
10297
- const t = ws();
10297
+ const t = Es();
10298
10298
  return st(
10299
10299
  (e, n) => {
10300
10300
  t(rL(e, n));
@@ -10302,7 +10302,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10302
10302
  [t]
10303
10303
  );
10304
10304
  }, "useSetRequire"), yT = /* @__PURE__ */ a(() => {
10305
- const t = ws();
10305
+ const t = Es();
10306
10306
  return st(
10307
10307
  (e, n) => {
10308
10308
  t(oL(e, n));
@@ -10310,7 +10310,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10310
10310
  [t]
10311
10311
  );
10312
10312
  }, "useSetError"), vT = /* @__PURE__ */ a(() => {
10313
- const t = ws();
10313
+ const t = Es();
10314
10314
  return st(
10315
10315
  (e, n) => {
10316
10316
  t(iL(e, n));
@@ -10328,7 +10328,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10328
10328
  );
10329
10329
  };
10330
10330
  }, "useNotifyEtriek"), xF = /* @__PURE__ */ a((t, e, n = !1) => {
10331
- const r = xs(), { mutateAsync: o, isFetching: i } = o2({
10331
+ const r = Cs(), { mutateAsync: o, isFetching: i } = o2({
10332
10332
  mutationFn: /* @__PURE__ */ a((s) => {
10333
10333
  const { method: l, params: u } = s;
10334
10334
  return r.getJson(t, {
@@ -10369,7 +10369,7 @@ const EL = /^(\d+)(th|st|nd|rd)?/i, TL = /\d+/i, OL = {
10369
10369
  n.refetchQueries({ queryKey: [e], type: "active" });
10370
10370
  }, [n, e]);
10371
10371
  }, "useResourceRefresh"), Lc = /* @__PURE__ */ a(() => ({}), "useDefaultHook"), sp = /* @__PURE__ */ a((t) => {
10372
- const e = rs(), n = gr(), r = xo(), o = zf(), i = Va(), s = mt(t), l = wT(t), u = o$(s), d = So(), f = oi(), p = Gt(), h = pT(), [m] = Lb(s), g = `lista_${s.split("_")[1]}`, { getItem: b } = i$(), y = b(`${g}.selectedIds`), x = b(`${g}.selectedDetails`);
10372
+ const e = is(), n = gr(), r = xo(), o = zf(), i = Va(), s = mt(t), l = wT(t), u = o$(s), d = So(), f = oi(), p = Gt(), h = pT(), [m] = Lb(s), g = `lista_${s.split("_")[1]}`, { getItem: b } = i$(), y = b(`${g}.selectedIds`), x = b(`${g}.selectedDetails`);
10373
10373
  return {
10374
10374
  ajax: m,
10375
10375
  data: e,
@@ -11017,7 +11017,7 @@ FT = ny.default = (0, y4.default)(/* @__PURE__ */ (0, v4.jsx)("path", {
11017
11017
  d: "m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"
11018
11018
  }), "StarOutline");
11019
11019
  const x4 = /* @__PURE__ */ a((t) => {
11020
- const e = Ss(), n = Df(), r = aa(
11020
+ const e = ws(), n = Df(), r = aa(
11021
11021
  e,
11022
11022
  _w
11023
11023
  ), o = C.useMemo(
@@ -11381,11 +11381,11 @@ function Vn(t) {
11381
11381
  return t;
11382
11382
  }
11383
11383
  a(Vn, "getWindow");
11384
- function us(t) {
11384
+ function ds(t) {
11385
11385
  var e = Vn(t).Element;
11386
11386
  return t instanceof e || t instanceof Element;
11387
11387
  }
11388
- a(us, "isElement");
11388
+ a(ds, "isElement");
11389
11389
  function or(t) {
11390
11390
  var e = Vn(t).HTMLElement;
11391
11391
  return t instanceof e || t instanceof HTMLElement;
@@ -11462,7 +11462,7 @@ function ha(t, e, n) {
11462
11462
  e === void 0 && (e = !1), n === void 0 && (n = !1);
11463
11463
  var r = t.getBoundingClientRect(), o = 1, i = 1;
11464
11464
  e && or(t) && (o = t.offsetWidth > 0 && pa(r.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && pa(r.height) / t.offsetHeight || 1);
11465
- var s = us(t) ? Vn(t) : window, l = s.visualViewport, u = !WT() && n, d = (r.left + (u && l ? l.offsetLeft : 0)) / o, f = (r.top + (u && l ? l.offsetTop : 0)) / i, p = r.width / o, h = r.height / i;
11465
+ var s = ds(t) ? Vn(t) : window, l = s.visualViewport, u = !WT() && n, d = (r.left + (u && l ? l.offsetLeft : 0)) / o, f = (r.top + (u && l ? l.offsetTop : 0)) / i, p = r.width / o, h = r.height / i;
11466
11466
  return {
11467
11467
  width: p,
11468
11468
  height: h,
@@ -11509,7 +11509,7 @@ function j4(t) {
11509
11509
  }
11510
11510
  a(j4, "isTableElement");
11511
11511
  function ii(t) {
11512
- return ((us(t) ? t.ownerDocument : (
11512
+ return ((ds(t) ? t.ownerDocument : (
11513
11513
  // $FlowFixMe[prop-missing]
11514
11514
  t.document
11515
11515
  )) || window.document).documentElement;
@@ -11825,13 +11825,13 @@ function oB(t, e) {
11825
11825
  }
11826
11826
  a(oB, "getInnerBoundingClientRect");
11827
11827
  function Sx(t, e, n) {
11828
- return e === jT ? gm(nB(t, n)) : us(e) ? oB(e, n) : gm(rB(ii(t)));
11828
+ return e === jT ? gm(nB(t, n)) : ds(e) ? oB(e, n) : gm(rB(ii(t)));
11829
11829
  }
11830
11830
  a(Sx, "getClientRectFromMixedType");
11831
11831
  function iB(t) {
11832
11832
  var e = El(cp(t)), n = ["absolute", "fixed"].indexOf(bo(t).position) >= 0, r = n && or(t) ? Bc(t) : t;
11833
- return us(r) ? e.filter(function(o) {
11834
- return us(o) && HT(o, r) && Wr(o) !== "body";
11833
+ return ds(r) ? e.filter(function(o) {
11834
+ return ds(o) && HT(o, r) && Wr(o) !== "body";
11835
11835
  }) : [];
11836
11836
  }
11837
11837
  a(iB, "getClippingParents");
@@ -11893,7 +11893,7 @@ function YT(t) {
11893
11893
  a(YT, "computeOffsets");
11894
11894
  function oc(t, e) {
11895
11895
  e === void 0 && (e = {});
11896
- var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, l = n.boundary, u = l === void 0 ? O4 : l, d = n.rootBoundary, f = d === void 0 ? jT : d, p = n.elementContext, h = p === void 0 ? ol : p, m = n.altBoundary, g = m === void 0 ? !1 : m, b = n.padding, y = b === void 0 ? 0 : b, x = UT(typeof y != "number" ? y : GT(y, Fc)), E = h === ol ? k4 : ol, T = t.rects.popper, w = t.elements[g ? E : h], S = sB(us(w) ? w : w.contextElement || ii(t.elements.popper), u, f, s), O = ha(t.elements.reference), M = YT({
11896
+ var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, l = n.boundary, u = l === void 0 ? O4 : l, d = n.rootBoundary, f = d === void 0 ? jT : d, p = n.elementContext, h = p === void 0 ? ol : p, m = n.altBoundary, g = m === void 0 ? !1 : m, b = n.padding, y = b === void 0 ? 0 : b, x = UT(typeof y != "number" ? y : GT(y, Fc)), E = h === ol ? k4 : ol, T = t.rects.popper, w = t.elements[g ? E : h], S = sB(ds(w) ? w : w.contextElement || ii(t.elements.popper), u, f, s), O = ha(t.elements.reference), M = YT({
11897
11897
  reference: O,
11898
11898
  element: T,
11899
11899
  strategy: "absolute",
@@ -12253,7 +12253,7 @@ function RB(t) {
12253
12253
  setOptions: /* @__PURE__ */ a(function(x) {
12254
12254
  var E = typeof x == "function" ? x(f.options) : x;
12255
12255
  b(), f.options = Object.assign({}, i, f.options, E), f.scrollParents = {
12256
- reference: us(l) ? El(l) : l.contextElement ? El(l.contextElement) : [],
12256
+ reference: ds(l) ? El(l) : l.contextElement ? El(l.contextElement) : [],
12257
12257
  popper: El(u)
12258
12258
  };
12259
12259
  var T = OB(MB([].concat(r, f.options.modifiers)));
@@ -12395,7 +12395,7 @@ const LB = /* @__PURE__ */ a((t) => {
12395
12395
  TransitionProps: b
12396
12396
  // @ts-ignore internal logic
12397
12397
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
12398
- } = e, y = ce(e, AB), x = C.useRef(null), E = ia(x, n), T = C.useRef(null), w = ia(T, h), S = C.useRef(w);
12398
+ } = e, y = ce(e, AB), x = C.useRef(null), E = sa(x, n), T = C.useRef(null), w = sa(T, h), S = C.useRef(w);
12399
12399
  ns(() => {
12400
12400
  S.current = w;
12401
12401
  }, [w]), C.useImperativeHandle(h, () => T.current, []);
@@ -12708,7 +12708,7 @@ process.env.NODE_ENV !== "production" && (dy.propTypes = {
12708
12708
  * It's used to set the position of the popper.
12709
12709
  * The return value will passed as the reference object of the Popper instance.
12710
12710
  */
12711
- anchorEl: c.oneOfType([ls, c.object, c.func]),
12711
+ anchorEl: c.oneOfType([cs, c.object, c.func]),
12712
12712
  /**
12713
12713
  * Popper render function or node.
12714
12714
  */
@@ -12743,7 +12743,7 @@ process.env.NODE_ENV !== "production" && (dy.propTypes = {
12743
12743
  * By default, it uses the body of the top-level document object,
12744
12744
  * so it's simply `document.body` most of the time.
12745
12745
  */
12746
- container: c.oneOfType([ls, c.func]),
12746
+ container: c.oneOfType([cs, c.func]),
12747
12747
  /**
12748
12748
  * The `children` will be under the DOM hierarchy of the parent component.
12749
12749
  * @default false
@@ -12843,7 +12843,7 @@ function WB(t, e, n, r, o) {
12843
12843
  return typeof i == "function" && !VB(i) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
12844
12844
  }
12845
12845
  a(WB, "elementTypeAcceptingRef");
12846
- const ds = Yr(c.elementType, WB);
12846
+ const fs = Yr(c.elementType, WB);
12847
12847
  function XT(t) {
12848
12848
  const {
12849
12849
  className: e,
@@ -13023,7 +13023,7 @@ const bm = 550, qB = 80, UB = Na(kx || (kx = dp`
13023
13023
  C.useEffect(() => {
13024
13024
  p.current && (p.current(), p.current = null);
13025
13025
  }, [u]);
13026
- const h = C.useRef(!1), m = js(), g = C.useRef(null), b = C.useRef(null), y = C.useCallback((w) => {
13026
+ const h = C.useRef(!1), m = Vs(), g = C.useRef(null), b = C.useRef(null), y = C.useCallback((w) => {
13027
13027
  const {
13028
13028
  pulsate: S,
13029
13029
  rippleX: O,
@@ -13353,7 +13353,7 @@ process.env.NODE_ENV !== "production" && (wo.propTypes = {
13353
13353
  * The component used for the root node.
13354
13354
  * Either a string to use a HTML element or a component.
13355
13355
  */
13356
- component: ds,
13356
+ component: fs,
13357
13357
  /**
13358
13358
  * If `true`, the component is disabled.
13359
13359
  * @default false
@@ -13686,7 +13686,7 @@ const eO = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
13686
13686
  value: l
13687
13687
  } = e, u = ce(e, s3), {
13688
13688
  current: d
13689
- } = C.useRef(l != null), f = C.useRef(null), p = ia(n, f), h = C.useRef(null), m = C.useRef(null), g = C.useCallback(() => {
13689
+ } = C.useRef(l != null), f = C.useRef(null), p = sa(n, f), h = C.useRef(null), m = C.useRef(null), g = C.useCallback(() => {
13690
13690
  const x = f.current, T = ql(x).getComputedStyle(x);
13691
13691
  if (T.width === "0px")
13692
13692
  return {
@@ -13799,14 +13799,14 @@ function Wa({
13799
13799
  a(Wa, "formControlState");
13800
13800
  const fp = /* @__PURE__ */ C.createContext(void 0);
13801
13801
  process.env.NODE_ENV !== "production" && (fp.displayName = "FormControlContext");
13802
- function Es() {
13802
+ function Ts() {
13803
13803
  return C.useContext(fp);
13804
13804
  }
13805
- a(Es, "useFormControl");
13805
+ a(Ts, "useFormControl");
13806
13806
  function tO(t) {
13807
13807
  return /* @__PURE__ */ v(jE, k({}, t, {
13808
13808
  defaultTheme: ep,
13809
- themeId: as
13809
+ themeId: ls
13810
13810
  }));
13811
13811
  }
13812
13812
  a(tO, "GlobalStyles");
@@ -14053,7 +14053,7 @@ const ga = $e("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
14053
14053
  } = C.useRef(Y != null), Q = C.useRef(), ie = C.useCallback((Ae) => {
14054
14054
  process.env.NODE_ENV !== "production" && Ae && Ae.nodeName !== "INPUT" && !Ae.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(`
14055
14055
  `));
14056
- }, []), F = qt(Q, T, E.ref, ie), [te, J] = C.useState(!1), ne = Es();
14056
+ }, []), F = qt(Q, T, E.ref, ie), [te, J] = C.useState(!1), ne = Ts();
14057
14057
  process.env.NODE_ENV !== "production" && C.useEffect(() => {
14058
14058
  if (ne)
14059
14059
  return ne.registerEffect();
@@ -14273,7 +14273,7 @@ process.env.NODE_ENV !== "production" && (nO.propTypes = {
14273
14273
  * Either a string to use a HTML element or a component.
14274
14274
  * @default 'input'
14275
14275
  */
14276
- inputComponent: ds,
14276
+ inputComponent: fs,
14277
14277
  /**
14278
14278
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
14279
14279
  * @default {}
@@ -14939,7 +14939,7 @@ const O3 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
14939
14939
  default: !!l,
14940
14940
  name: "SwitchBase",
14941
14941
  state: "checked"
14942
- }), R = Es(), N = /* @__PURE__ */ a((W) => {
14942
+ }), R = Ts(), N = /* @__PURE__ */ a((W) => {
14943
14943
  E && E(W), R && R.onFocus && R.onFocus(W);
14944
14944
  }, "handleFocus"), _ = /* @__PURE__ */ a((W) => {
14945
14945
  y && y(W), R && R.onBlur && R.onBlur(W);
@@ -15762,7 +15762,7 @@ const ez = ["children", "className", "component", "dense", "disablePadding", "su
15762
15762
  paddingBottom: 8
15763
15763
  }, t.subheader && {
15764
15764
  paddingTop: 0
15765
- })), fs = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
15765
+ })), ps = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
15766
15766
  const r = Pe({
15767
15767
  props: e,
15768
15768
  name: "MuiList"
@@ -15792,7 +15792,7 @@ const ez = ["children", "className", "component", "dense", "disablePadding", "su
15792
15792
  }))
15793
15793
  });
15794
15794
  }, "List"));
15795
- process.env.NODE_ENV !== "production" && (fs.propTypes = {
15795
+ process.env.NODE_ENV !== "production" && (ps.propTypes = {
15796
15796
  // ┌────────────────────────────── Warning ──────────────────────────────┐
15797
15797
  // │ These PropTypes are generated from the TypeScript type definitions. │
15798
15798
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -15940,7 +15940,7 @@ const sO = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
15940
15940
  }
15941
15941
  return T;
15942
15942
  });
15943
- return /* @__PURE__ */ v(fs, k({
15943
+ return /* @__PURE__ */ v(ps, k({
15944
15944
  role: "menu",
15945
15945
  ref: y,
15946
15946
  className: l,
@@ -17154,7 +17154,7 @@ const Cz = ["components", "fullWidth", "inputComponent", "label", "multiline", "
17154
17154
  notched: g,
17155
17155
  slots: b = {},
17156
17156
  type: y = "text"
17157
- } = u, x = ce(u, Cz), E = Sz(u), T = Es(), w = Wa({
17157
+ } = u, x = ce(u, Cz), E = Sz(u), T = Ts(), w = Wa({
17158
17158
  props: u,
17159
17159
  muiFormControl: T,
17160
17160
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -17421,7 +17421,7 @@ const Tl = $e("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
17421
17421
  children: o,
17422
17422
  className: i,
17423
17423
  component: s = "label"
17424
- } = r, l = ce(r, kz), u = Es(), d = Wa({
17424
+ } = r, l = ce(r, kz), u = Ts(), d = Wa({
17425
17425
  props: r,
17426
17426
  muiFormControl: u,
17427
17427
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -17601,7 +17601,7 @@ const Nz = ["disableAnimation", "margin", "shrink", "variant", "className"], Az
17601
17601
  disableAnimation: o = !1,
17602
17602
  shrink: i,
17603
17603
  className: s
17604
- } = r, l = ce(r, Nz), u = Es();
17604
+ } = r, l = ce(r, Nz), u = Ts();
17605
17605
  let d = i;
17606
17606
  typeof d > "u" && u && (d = u.filled || u.focused || u.adornedStart);
17607
17607
  const f = Wa({
@@ -17964,7 +17964,7 @@ const zz = ["children", "className", "component", "disabled", "error", "filled",
17964
17964
  children: o,
17965
17965
  className: i,
17966
17966
  component: s = "p"
17967
- } = r, l = ce(r, zz), u = Es(), d = Wa({
17967
+ } = r, l = ce(r, zz), u = Ts(), d = Wa({
17968
17968
  props: r,
17969
17969
  muiFormControl: u,
17970
17970
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -18083,7 +18083,7 @@ const Hz = {
18083
18083
  timeout: b = "auto",
18084
18084
  // eslint-disable-next-line react/prop-types
18085
18085
  TransitionComponent: y = wr
18086
- } = e, x = ce(e, Wz), E = js(), T = C.useRef(), w = Kr(), S = C.useRef(null), O = qt(S, i.ref, n), M = /* @__PURE__ */ a((V) => (z) => {
18086
+ } = e, x = ce(e, Wz), E = Vs(), T = C.useRef(), w = Kr(), S = C.useRef(null), O = qt(S, i.ref, n), M = /* @__PURE__ */ a((V) => (z) => {
18087
18087
  if (V) {
18088
18088
  const j = S.current;
18089
18089
  z === void 0 ? V(j) : V(j, z);
@@ -18094,7 +18094,7 @@ const Hz = {
18094
18094
  duration: j,
18095
18095
  delay: I,
18096
18096
  easing: W
18097
- } = cs({
18097
+ } = us({
18098
18098
  style: g,
18099
18099
  timeout: b,
18100
18100
  easing: s
@@ -18115,7 +18115,7 @@ const Hz = {
18115
18115
  duration: z,
18116
18116
  delay: j,
18117
18117
  easing: I
18118
- } = cs({
18118
+ } = us({
18119
18119
  style: g,
18120
18120
  timeout: b,
18121
18121
  easing: s
@@ -18472,7 +18472,7 @@ process.env.NODE_ENV !== "production" && (pO.propTypes = {
18472
18472
  * or a function that returns either.
18473
18473
  * It's used to set the position of the popover.
18474
18474
  */
18475
- anchorEl: Yr(c.oneOfType([ls, c.func]), (t) => {
18475
+ anchorEl: Yr(c.oneOfType([cs, c.func]), (t) => {
18476
18476
  if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
18477
18477
  const e = ju(t.anchorEl);
18478
18478
  if (e && e.nodeType === 1) {
@@ -18536,7 +18536,7 @@ process.env.NODE_ENV !== "production" && (pO.propTypes = {
18536
18536
  * By default, it uses the body of the anchorEl's top-level document object,
18537
18537
  * so it's simply `document.body` most of the time.
18538
18538
  */
18539
- container: c.oneOfType([ls, c.func]),
18539
+ container: c.oneOfType([cs, c.func]),
18540
18540
  /**
18541
18541
  * Disable the scroll lock behavior.
18542
18542
  * @default false
@@ -18571,7 +18571,7 @@ process.env.NODE_ENV !== "production" && (pO.propTypes = {
18571
18571
  * @default {}
18572
18572
  */
18573
18573
  PaperProps: c.shape({
18574
- component: ds
18574
+ component: fs
18575
18575
  }),
18576
18576
  /**
18577
18577
  * The extra props for the slot components.
@@ -18776,7 +18776,7 @@ process.env.NODE_ENV !== "production" && (py.propTypes = {
18776
18776
  * An HTML element, or a function that returns one.
18777
18777
  * It's used to set the position of the menu.
18778
18778
  */
18779
- anchorEl: c.oneOfType([ls, c.func]),
18779
+ anchorEl: c.oneOfType([cs, c.func]),
18780
18780
  /**
18781
18781
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
18782
18782
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -19574,7 +19574,7 @@ const yj = ["autoWidth", "children", "classes", "className", "defaultOpen", "dis
19574
19574
  renderValue: O,
19575
19575
  SelectDisplayProps: M,
19576
19576
  variant: A = "outlined"
19577
- } = r, $ = ce(r, yj), P = E ? gO : bO, R = Es(), N = Wa({
19577
+ } = r, $ = ce(r, yj), P = E ? gO : bO, R = Ts(), N = Wa({
19578
19578
  props: r,
19579
19579
  muiFormControl: R,
19580
19580
  states: ["variant", "error"]
@@ -20700,7 +20700,7 @@ const xp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
20700
20700
  TransitionProps: ae
20701
20701
  } = O, X = ce(O, Dj), pe = /* @__PURE__ */ C.isValidElement(A) ? A : /* @__PURE__ */ v("span", {
20702
20702
  children: A
20703
- }), Fe = Kr(), Ye = Pc(), [Le, at] = C.useState(), [Ue, Be] = C.useState(null), bt = C.useRef(!1), lt = B || W, Ne = js(), rt = js(), Ze = js(), xe = js(), [Ae, Ee] = Ql({
20703
+ }), Fe = Kr(), Ye = Pc(), [Le, at] = C.useState(), [Ue, Be] = C.useState(null), bt = C.useRef(!1), lt = B || W, Ne = Vs(), rt = Vs(), Ze = Vs(), xe = Vs(), [Ae, Ee] = Ql({
20704
20704
  controlled: Z,
20705
20705
  default: !1,
20706
20706
  name: "Tooltip",
@@ -20781,8 +20781,8 @@ const xp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
20781
20781
  x: ze.clientX,
20782
20782
  y: ze.clientY
20783
20783
  }, qn.current && qn.current.update();
20784
- }, "handleMouseMove"), ko = {}, Ts = typeof ne == "string";
20785
- R ? (ko.title = !tt && Ts && !_ ? ne : null, ko["aria-describedby"] = tt ? Rt : null) : (ko["aria-label"] = Ts ? ne : null, ko["aria-labelledby"] = tt && !Ts ? Rt : null);
20784
+ }, "handleMouseMove"), ko = {}, Os = typeof ne == "string";
20785
+ R ? (ko.title = !tt && Os && !_ ? ne : null, ko["aria-describedby"] = tt ? Rt : null) : (ko["aria-label"] = Os ? ne : null, ko["aria-labelledby"] = tt && !Os ? Rt : null);
20786
20786
  const yt = k({}, ko, X, pe.props, {
20787
20787
  className: le(X.className, pe.props.className),
20788
20788
  onTouchStart: To,
@@ -20817,12 +20817,12 @@ const xp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
20817
20817
  placement: Q,
20818
20818
  PopperComponentProp: ie,
20819
20819
  touch: bt.current
20820
- }), Os = Fj(Mo), Uc = (r = (o = J.popper) != null ? o : $.Popper) != null ? r : Bj, Gc = (i = (s = (l = J.transition) != null ? l : $.Transition) != null ? s : D) != null ? i : ic, Ka = (u = (d = J.tooltip) != null ? d : $.Tooltip) != null ? u : zj, fi = (f = (p = J.arrow) != null ? p : $.Arrow) != null ? f : jj, In = Vs(Uc, k({}, F, (h = te.popper) != null ? h : P.popper, {
20821
- className: le(Os.popper, F == null ? void 0 : F.className, (m = (g = te.popper) != null ? g : P.popper) == null ? void 0 : m.className)
20822
- }), Mo), Kc = Vs(Gc, k({}, ae, (b = te.transition) != null ? b : P.transition), Mo), Ya = Vs(Ka, k({}, (y = te.tooltip) != null ? y : P.tooltip, {
20823
- className: le(Os.tooltip, (x = (E = te.tooltip) != null ? E : P.tooltip) == null ? void 0 : x.className)
20824
- }), Mo), Yc = Vs(fi, k({}, (T = te.arrow) != null ? T : P.arrow, {
20825
- className: le(Os.arrow, (w = (S = te.arrow) != null ? S : P.arrow) == null ? void 0 : w.className)
20820
+ }), ks = Fj(Mo), Uc = (r = (o = J.popper) != null ? o : $.Popper) != null ? r : Bj, Gc = (i = (s = (l = J.transition) != null ? l : $.Transition) != null ? s : D) != null ? i : ic, Ka = (u = (d = J.tooltip) != null ? d : $.Tooltip) != null ? u : zj, fi = (f = (p = J.arrow) != null ? p : $.Arrow) != null ? f : jj, In = Ws(Uc, k({}, F, (h = te.popper) != null ? h : P.popper, {
20821
+ className: le(ks.popper, F == null ? void 0 : F.className, (m = (g = te.popper) != null ? g : P.popper) == null ? void 0 : m.className)
20822
+ }), Mo), Kc = Ws(Gc, k({}, ae, (b = te.transition) != null ? b : P.transition), Mo), Ya = Ws(Ka, k({}, (y = te.tooltip) != null ? y : P.tooltip, {
20823
+ className: le(ks.tooltip, (x = (E = te.tooltip) != null ? E : P.tooltip) == null ? void 0 : x.className)
20824
+ }), Mo), Yc = Ws(fi, k({}, (T = te.arrow) != null ? T : P.arrow, {
20825
+ className: le(ks.arrow, (w = (S = te.arrow) != null ? S : P.arrow) == null ? void 0 : w.className)
20826
20826
  }), Mo);
20827
20827
  return /* @__PURE__ */ q(C.Fragment, {
20828
20828
  children: [/* @__PURE__ */ C.cloneElement(pe, yt), /* @__PURE__ */ v(Uc, k({
@@ -22391,14 +22391,14 @@ function kV(t, e) {
22391
22391
  }, d;
22392
22392
  }
22393
22393
  a(kV, "lruMemoize");
22394
- var ra, MV = (ra = class {
22394
+ var oa, MV = (oa = class {
22395
22395
  constructor(e) {
22396
22396
  this.value = e;
22397
22397
  }
22398
22398
  deref() {
22399
22399
  return this.value;
22400
22400
  }
22401
- }, a(ra, "StrongRef"), ra), RV = typeof WeakRef < "u" ? WeakRef : MV, PV = 0, Jx = 1;
22401
+ }, a(oa, "StrongRef"), oa), RV = typeof WeakRef < "u" ? WeakRef : MV, PV = 0, Jx = 1;
22402
22402
  function du() {
22403
22403
  return {
22404
22404
  s: PV,
@@ -22848,7 +22848,7 @@ Et(xy, Cp, MO, (t, e, n) => {
22848
22848
  return r;
22849
22849
  });
22850
22850
  const e6 = $e("MuiBox", ["root"]), t6 = _E(), On = T_({
22851
- themeId: as,
22851
+ themeId: ls,
22852
22852
  defaultTheme: t6,
22853
22853
  defaultClassName: e6.root,
22854
22854
  generateClassName: sw.generate
@@ -22892,12 +22892,12 @@ function l6(t) {
22892
22892
  return Me("MuiListItem", t);
22893
22893
  }
22894
22894
  a(l6, "getListItemUtilityClass");
22895
- const Ds = $e("MuiListItem", ["root", "container", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "padding", "button", "secondaryAction", "selected"]);
22895
+ const Ls = $e("MuiListItem", ["root", "container", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "padding", "button", "secondaryAction", "selected"]);
22896
22896
  function c6(t) {
22897
22897
  return Me("MuiListItemButton", t);
22898
22898
  }
22899
22899
  a(c6, "getListItemButtonUtilityClass");
22900
- const Ls = $e("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]), u6 = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected", "className"], d6 = /* @__PURE__ */ a((t, e) => {
22900
+ const Fs = $e("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]), u6 = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected", "className"], d6 = /* @__PURE__ */ a((t, e) => {
22901
22901
  const {
22902
22902
  ownerState: n
22903
22903
  } = t;
@@ -22946,23 +22946,23 @@ const Ls = $e("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
22946
22946
  backgroundColor: "transparent"
22947
22947
  }
22948
22948
  },
22949
- [`&.${Ls.selected}`]: {
22949
+ [`&.${Fs.selected}`]: {
22950
22950
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity),
22951
- [`&.${Ls.focusVisible}`]: {
22951
+ [`&.${Fs.focusVisible}`]: {
22952
22952
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
22953
22953
  }
22954
22954
  },
22955
- [`&.${Ls.selected}:hover`]: {
22955
+ [`&.${Fs.selected}:hover`]: {
22956
22956
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
22957
22957
  // Reset on touch devices, it doesn't add specificity
22958
22958
  "@media (hover: none)": {
22959
22959
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity)
22960
22960
  }
22961
22961
  },
22962
- [`&.${Ls.focusVisible}`]: {
22962
+ [`&.${Fs.focusVisible}`]: {
22963
22963
  backgroundColor: (t.vars || t).palette.action.focus
22964
22964
  },
22965
- [`&.${Ls.disabled}`]: {
22965
+ [`&.${Fs.disabled}`]: {
22966
22966
  opacity: (t.vars || t).palette.action.disabledOpacity
22967
22967
  }
22968
22968
  }, e.divider && {
@@ -23220,20 +23220,20 @@ const y6 = ["className"], v6 = ["alignItems", "autoFocus", "button", "children",
23220
23220
  // is absolutely positioned.
23221
23221
  paddingRight: 48
23222
23222
  }), !!e.secondaryAction && {
23223
- [`& > .${Ls.root}`]: {
23223
+ [`& > .${Fs.root}`]: {
23224
23224
  paddingRight: 48
23225
23225
  }
23226
23226
  }, {
23227
- [`&.${Ds.focusVisible}`]: {
23227
+ [`&.${Ls.focusVisible}`]: {
23228
23228
  backgroundColor: (t.vars || t).palette.action.focus
23229
23229
  },
23230
- [`&.${Ds.selected}`]: {
23230
+ [`&.${Ls.selected}`]: {
23231
23231
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity),
23232
- [`&.${Ds.focusVisible}`]: {
23232
+ [`&.${Ls.focusVisible}`]: {
23233
23233
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
23234
23234
  }
23235
23235
  },
23236
- [`&.${Ds.disabled}`]: {
23236
+ [`&.${Ls.disabled}`]: {
23237
23237
  opacity: (t.vars || t).palette.action.disabledOpacity
23238
23238
  }
23239
23239
  }, e.alignItems === "flex-start" && {
@@ -23253,7 +23253,7 @@ const y6 = ["className"], v6 = ["alignItems", "autoFocus", "button", "children",
23253
23253
  backgroundColor: "transparent"
23254
23254
  }
23255
23255
  },
23256
- [`&.${Ds.selected}:hover`]: {
23256
+ [`&.${Ls.selected}:hover`]: {
23257
23257
  backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : Tt(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
23258
23258
  // Reset on touch devices, it doesn't add specificity
23259
23259
  "@media (hover: none)": {
@@ -23321,7 +23321,7 @@ const y6 = ["className"], v6 = ["alignItems", "autoFocus", "button", "children",
23321
23321
  disabled: b
23322
23322
  }, $);
23323
23323
  let G = d || "li";
23324
- return s && (L.component = d || "div", L.focusVisibleClassName = le(Ds.focusVisible, T), G = wo), B ? (G = !L.component && !d ? "div" : G, h === "li" && (G === "li" ? G = "div" : L.component === "li" && (L.component = "div")), /* @__PURE__ */ v(ir.Provider, {
23324
+ return s && (L.component = d || "div", L.focusVisibleClassName = le(Ls.focusVisible, T), G = wo), B ? (G = !L.component && !d ? "div" : G, h === "li" && (G === "li" ? G = "div" : L.component === "li" && (L.component = "div")), /* @__PURE__ */ v(ir.Provider, {
23325
23325
  value: R,
23326
23326
  children: /* @__PURE__ */ q(w6, k({
23327
23327
  as: h,
@@ -23431,7 +23431,7 @@ process.env.NODE_ENV !== "production" && (Ey.propTypes = {
23431
23431
  * @default 'li'
23432
23432
  * @deprecated
23433
23433
  */
23434
- ContainerComponent: ds,
23434
+ ContainerComponent: fs,
23435
23435
  /**
23436
23436
  * Props applied to the container component if used.
23437
23437
  * @default {}
@@ -23604,7 +23604,7 @@ const Ty = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
23604
23604
  }, "normalizedTransitionCallback"), P = $((I, W) => {
23605
23605
  fu(f, I, d), Pb(I), m && m(I, W);
23606
23606
  }), R = $((I, W) => {
23607
- const L = cs({
23607
+ const L = us({
23608
23608
  timeout: w,
23609
23609
  style: T,
23610
23610
  easing: p
@@ -23613,7 +23613,7 @@ const Ty = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
23613
23613
  });
23614
23614
  I.style.webkitTransition = r.transitions.create("-webkit-transform", k({}, L)), I.style.transition = r.transitions.create("transform", k({}, L)), I.style.webkitTransform = "none", I.style.transform = "none", b && b(I, W);
23615
23615
  }), N = $(g), _ = $(E), B = $((I) => {
23616
- const W = cs({
23616
+ const W = us({
23617
23617
  timeout: w,
23618
23618
  style: T,
23619
23619
  easing: p
@@ -23685,7 +23685,7 @@ process.env.NODE_ENV !== "production" && (Ty.propTypes = {
23685
23685
  * An HTML element, or a function that returns one.
23686
23686
  * It's used to set the container the Slide is transitioning from.
23687
23687
  */
23688
- container: Yr(c.oneOfType([ls, c.func]), (t) => {
23688
+ container: Yr(c.oneOfType([cs, c.func]), (t) => {
23689
23689
  if (t.open) {
23690
23690
  const e = UO(t.container);
23691
23691
  if (e && e.nodeType === 1) {
@@ -24196,7 +24196,7 @@ const F6 = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
24196
24196
  } = Y, ie = bl(o, s), F = ["right", "bottom"].indexOf(ie) !== -1 ? 1 : -1, te = wi(s), J = te ? `translate(${F * H}px, 0)` : `translate(0, ${F * H}px)`, ne = B.current.style;
24197
24197
  ne.webkitTransform = J, ne.transform = J;
24198
24198
  let D = "";
24199
- if (Z && (D = o.transitions.create("all", cs({
24199
+ if (Z && (D = o.transitions.create("all", us({
24200
24200
  easing: void 0,
24201
24201
  style: void 0,
24202
24202
  timeout: S
@@ -24411,7 +24411,7 @@ process.env.NODE_ENV !== "production" && (XO.propTypes = {
24411
24411
  */
24412
24412
  ModalProps: c.shape({
24413
24413
  BackdropProps: c.shape({
24414
- component: ds
24414
+ component: fs
24415
24415
  })
24416
24416
  }),
24417
24417
  /**
@@ -24435,7 +24435,7 @@ process.env.NODE_ENV !== "production" && (XO.propTypes = {
24435
24435
  * @ignore
24436
24436
  */
24437
24437
  PaperProps: c.shape({
24438
- component: ds,
24438
+ component: fs,
24439
24439
  style: c.object
24440
24440
  }),
24441
24441
  /**
@@ -24551,7 +24551,7 @@ function Oy(t) {
24551
24551
  }
24552
24552
  a(Oy, "Drawer");
24553
24553
  function z6(t) {
24554
- const { listView: e, container: n } = t, [r, o] = C.useState(!1), i = Ss(), s = aa(i, Dw), l = aa(
24554
+ const { listView: e, container: n } = t, [r, o] = C.useState(!1), i = ws(), s = aa(i, Dw), l = aa(
24555
24555
  i,
24556
24556
  _w
24557
24557
  ), u = /* @__PURE__ */ a((d) => {
@@ -24571,7 +24571,7 @@ function z6(t) {
24571
24571
  onClose: /* @__PURE__ */ a(() => o(!1), "onClose"),
24572
24572
  children: [
24573
24573
  /* @__PURE__ */ v(QO, { children: /* @__PURE__ */ v(Kt, { fontWeight: 500, children: "Columnas" }) }),
24574
- /* @__PURE__ */ v(fs, { children: s.map((d) => {
24574
+ /* @__PURE__ */ v(ps, { children: s.map((d) => {
24575
24575
  const f = l[d.field] !== !1;
24576
24576
  return /* @__PURE__ */ v(Ey, { disablePadding: !0, children: /* @__PURE__ */ q(
24577
24577
  Uo,
@@ -24600,7 +24600,7 @@ ZO = ky.default = (0, V6.default)(/* @__PURE__ */ (0, W6.jsx)("path", {
24600
24600
  d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"
24601
24601
  }), "SwapVert");
24602
24602
  function H6(t) {
24603
- const { listView: e, container: n } = t, [r, o] = C.useState(!1), i = Ss(), s = aa(i, Dw), l = aa(i, U$), u = s.filter((p) => p.sortable), d = l.length, f = /* @__PURE__ */ a((p, h) => {
24603
+ const { listView: e, container: n } = t, [r, o] = C.useState(!1), i = ws(), s = aa(i, Dw), l = aa(i, U$), u = s.filter((p) => p.sortable), d = l.length, f = /* @__PURE__ */ a((p, h) => {
24604
24604
  i.current.sortColumn(p, h, !0);
24605
24605
  }, "handleSortChange");
24606
24606
  return /* @__PURE__ */ q(C.Fragment, { children: [
@@ -24614,7 +24614,7 @@ function H6(t) {
24614
24614
  onClose: /* @__PURE__ */ a(() => o(!1), "onClose"),
24615
24615
  children: [
24616
24616
  /* @__PURE__ */ v(QO, { children: /* @__PURE__ */ v(Kt, { fontWeight: 500, children: "Ordenar por" }) }),
24617
- /* @__PURE__ */ v(fs, { children: u.map((p) => {
24617
+ /* @__PURE__ */ v(ps, { children: u.map((p) => {
24618
24618
  const h = l.findIndex(
24619
24619
  (b) => b.field === p.field
24620
24620
  ), m = l[h];
@@ -24679,7 +24679,7 @@ function U6(t) {
24679
24679
  showQuickFilter: r,
24680
24680
  showSelection: o = !1,
24681
24681
  pivotActive: i = !1
24682
- } = t, s = Ss(), { exporter: l } = rs(), {
24682
+ } = t, s = ws(), { exporter: l } = is(), {
24683
24683
  props: { actionsContainerRef: u }
24684
24684
  } = oi(), d = aa(
24685
24685
  s,
@@ -24833,7 +24833,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
24833
24833
  }
24834
24834
  }
24835
24835
  }
24836
- }, hu = { width: 0.9, height: 0.85 }, Ps = { width: 520, height: 360 }, Zx = 32, X6 = ".dv-react-part", Q6 = ".dv-groupview.dv-active-group .dv-content-container > .dv-react-part", Z6 = ".dv-groupview", eW = ".dv-groupview.dv-active-group", eC = /* @__PURE__ */ a((t, e, n) => {
24836
+ }, hu = { width: 0.9, height: 0.85 }, $s = { width: 520, height: 360 }, Zx = 32, X6 = ".dv-react-part", Q6 = ".dv-groupview.dv-active-group .dv-content-container > .dv-react-part", Z6 = ".dv-groupview", eW = ".dv-groupview.dv-active-group", eC = /* @__PURE__ */ a((t, e, n) => {
24837
24837
  const r = Number.isFinite(e) ? e : 0, o = Number.isFinite(n) ? n : t;
24838
24838
  return Math.min(o, Math.max(r, t));
24839
24839
  }, "clamp"), bh = /* @__PURE__ */ a((t, e) => {
@@ -24888,17 +24888,17 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
24888
24888
  }, "getDockviewTabContainer"), oW = /* @__PURE__ */ a(() => typeof window > "u" ? { width: 0, height: 0 } : { width: window.innerWidth, height: window.innerHeight }, "getViewportSize"), iW = /* @__PURE__ */ a(({ rect: t, ratio: e }) => {
24889
24889
  const n = oW(), r = (t == null ? void 0 : t.width) || n.width, o = (t == null ? void 0 : t.height) || n.height, i = Math.min(
24890
24890
  r,
24891
- Math.max(Ps.width, n.width - Zx)
24891
+ Math.max($s.width, n.width - Zx)
24892
24892
  ), s = Math.min(
24893
24893
  o,
24894
- Math.max(Ps.height, n.height - Zx)
24894
+ Math.max($s.height, n.height - Zx)
24895
24895
  ), l = eC(
24896
24896
  Math.round(r * e.width),
24897
- Ps.width,
24897
+ $s.width,
24898
24898
  i
24899
24899
  ), u = eC(
24900
24900
  Math.round(o * e.height),
24901
- Ps.height,
24901
+ $s.height,
24902
24902
  s
24903
24903
  );
24904
24904
  return {
@@ -24906,8 +24906,8 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
24906
24906
  height: u,
24907
24907
  maxWidth: i,
24908
24908
  maxHeight: s,
24909
- minWidth: Ps.width,
24910
- minHeight: Ps.height
24909
+ minWidth: $s.width,
24910
+ minHeight: $s.height
24911
24911
  };
24912
24912
  }, "computePopupSize"), sW = /* @__PURE__ */ a((t) => {
24913
24913
  if (typeof window > "u")
@@ -25110,7 +25110,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25110
25110
  cancelar: /* @__PURE__ */ a(() => Vu(i, y), "cancelar"),
25111
25111
  dialogProps: d,
25112
25112
  _popupKey: y,
25113
- controles: /* @__PURE__ */ v(Js, { value: n, children: /* @__PURE__ */ v(g, { ...T }) })
25113
+ controles: /* @__PURE__ */ v(Xs, { value: n, children: /* @__PURE__ */ v(g, { ...T }) })
25114
25114
  });
25115
25115
  },
25116
25116
  [
@@ -25150,7 +25150,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25150
25150
  cancelar: /* @__PURE__ */ a(() => Vu(i, x), "cancelar"),
25151
25151
  dialogProps: d,
25152
25152
  _popupKey: x,
25153
- controles: /* @__PURE__ */ v(Js, { value: n, children: /* @__PURE__ */ v(ip.Provider, { value: b, children: /* @__PURE__ */ v(g, { ...w }) }) })
25153
+ controles: /* @__PURE__ */ v(Xs, { value: n, children: /* @__PURE__ */ v(ip.Provider, { value: b, children: /* @__PURE__ */ v(g, { ...w }) }) })
25154
25154
  });
25155
25155
  },
25156
25156
  [
@@ -25173,7 +25173,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25173
25173
  cancelar: /* @__PURE__ */ a(() => Vu(i, x), "cancelar"),
25174
25174
  dialogProps: u,
25175
25175
  _popupKey: x,
25176
- controles: /* @__PURE__ */ v(Js, { value: n, children: /* @__PURE__ */ v(g, { ...m }) })
25176
+ controles: /* @__PURE__ */ v(Xs, { value: n, children: /* @__PURE__ */ v(g, { ...m }) })
25177
25177
  });
25178
25178
  },
25179
25179
  [
@@ -25229,7 +25229,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25229
25229
  borderColor: "divider",
25230
25230
  paddingBottom: 1
25231
25231
  },
25232
- children: /* @__PURE__ */ q(fs, { sx: { p: 2 }, children: [
25232
+ children: /* @__PURE__ */ q(ps, { sx: { p: 2 }, children: [
25233
25233
  /* @__PURE__ */ q(
25234
25234
  Uo,
25235
25235
  {
@@ -25303,7 +25303,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25303
25303
  ] })
25304
25304
  }
25305
25305
  ),
25306
- /* @__PURE__ */ v(Ve, { sx: { width: "100%" }, children: /* @__PURE__ */ v(fs, { sx: { p: 2 }, children: n.map((w) => /* @__PURE__ */ q(
25306
+ /* @__PURE__ */ v(Ve, { sx: { width: "100%" }, children: /* @__PURE__ */ v(ps, { sx: { p: 2 }, children: n.map((w) => /* @__PURE__ */ q(
25307
25307
  Uo,
25308
25308
  {
25309
25309
  onClick: /* @__PURE__ */ a(() => typeof w.handler == "function" ? (f && f(), w.handler(
@@ -25607,7 +25607,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25607
25607
  promptChangePivotValuesDescription: /* @__PURE__ */ a((t, e) => `${t} (${e})`, "promptChangePivotValuesDescription"),
25608
25608
  promptChangeChartsLabel: /* @__PURE__ */ a((t, e) => `Dimensiones (${t}), Valores (${e})`, "promptChangeChartsLabel")
25609
25609
  }, ok = dW(fW), pW = /* @__PURE__ */ a((t) => {
25610
- const { onRenderGrilla: e, onLoadGrilla: n, apiRef: r = {} } = t, { isLoading: o } = rs(), i = sp(t);
25610
+ const { onRenderGrilla: e, onLoadGrilla: n, apiRef: r = {} } = t, { isLoading: o } = is(), i = sp(t);
25611
25611
  We(() => {
25612
25612
  e && e({ ...i, api: r == null ? void 0 : r.current });
25613
25613
  }, []), We(() => {
@@ -25623,7 +25623,7 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25623
25623
  to: s,
25624
25624
  ...l
25625
25625
  } = t, u = Gt(), d = o ? u(o, { _: o }) : void 0, f = mW(s);
25626
- return o && !r ? /* @__PURE__ */ v(sa, { title: d, children: /* @__PURE__ */ v(
25626
+ return o && !r ? /* @__PURE__ */ v(rs, { title: d, children: /* @__PURE__ */ v(
25627
25627
  Qo,
25628
25628
  {
25629
25629
  "aria-label": d,
@@ -25814,16 +25814,8 @@ const tk = Bt({ resolve: null }), dre = /* @__PURE__ */ a(({ resolve: t, childre
25814
25814
  children: ik(t, e)
25815
25815
  }
25816
25816
  ), "renderActionIcon"), sk = C.forwardRef((t, e) => {
25817
- const { material: n, title: r, ...o } = t, i = typeof o["aria-label"] == "string" ? o["aria-label"] : "", s = typeof r == "string" && r.trim().length > 0 ? r : i;
25818
- return /* @__PURE__ */ v(
25819
- Qo,
25820
- {
25821
- ref: e,
25822
- title: s || void 0,
25823
- ...o,
25824
- ...n
25825
- }
25826
- );
25817
+ const { material: n, ...r } = t, o = typeof r["aria-label"] == "string" ? r["aria-label"] : "", i = /* @__PURE__ */ v(Qo, { ref: e, ...r, ...n });
25818
+ return o ? /* @__PURE__ */ v(rs, { title: o, children: /* @__PURE__ */ v("span", { children: i }) }) : i;
25827
25819
  });
25828
25820
  process.env.NODE_ENV !== "production" && (sk.displayName = "BaseIconButtonWithTitle");
25829
25821
  const ak = /* @__PURE__ */ a((t) => {
@@ -25894,7 +25886,7 @@ const ak = /* @__PURE__ */ a((t) => {
25894
25886
  ...(F == null ? void 0 : F.aggregationFunctions) || {}
25895
25887
  };
25896
25888
  return U.count || (U.count = rC.count), U;
25897
- }, [P == null ? void 0 : P.aggregationFunctions, F == null ? void 0 : F.aggregationFunctions]), Ye = xs(), {
25889
+ }, [P == null ? void 0 : P.aggregationFunctions, F == null ? void 0 : F.aggregationFunctions]), Ye = Cs(), {
25898
25890
  data: Le = [],
25899
25891
  isFetching: at,
25900
25892
  selectedIds: Ue,
@@ -25904,7 +25896,7 @@ const ak = /* @__PURE__ */ a((t) => {
25904
25896
  sort: Ne,
25905
25897
  setSort: rt,
25906
25898
  exporter: Ze
25907
- } = rs(), xe = Ug(), Ae = C.useRef({ key: null, promise: null }), Ee = C.useRef({ rows: [] }), [, tt] = C.useState({
25899
+ } = is(), xe = Ug(), Ae = C.useRef({ key: null, promise: null }), Ee = C.useRef({ rows: [] }), [, tt] = C.useState({
25908
25900
  rows: [],
25909
25901
  columns: [],
25910
25902
  values: []
@@ -26006,14 +25998,14 @@ const ak = /* @__PURE__ */ a((t) => {
26006
25998
  const Un = Jc.slice(
26007
25999
  0,
26008
26000
  Za.length
26009
- ), ks = Wp.filter(
26001
+ ), Ms = Wp.filter(
26010
26002
  (Gn) => Un.every(
26011
26003
  (mi, no) => String((Gn == null ? void 0 : Gn[mi]) ?? "") === String(Za[no] ?? "")
26012
26004
  )
26013
26005
  ), Xc = Za.length;
26014
26006
  if (Xc < Jc.length) {
26015
26007
  const Gn = Jc[Xc], mi = /* @__PURE__ */ new Map();
26016
- ks.forEach((no) => {
26008
+ Ms.forEach((no) => {
26017
26009
  const tl = no == null ? void 0 : no[Gn], Up = tl == null ? "" : String(tl), r1 = mi.get(Up);
26018
26010
  if (r1) {
26019
26011
  r1.childrenCount += 1;
@@ -26032,7 +26024,7 @@ const ak = /* @__PURE__ */ a((t) => {
26032
26024
  childrenCount: no.childrenCount
26033
26025
  })), qp = el.length;
26034
26026
  } else
26035
- el = ks.map(
26027
+ el = Ms.map(
26036
26028
  (Gn, mi) => ({
26037
26029
  ...Gn,
26038
26030
  id: (Gn == null ? void 0 : Gn.id) ?? `pivot-leaf-${Za.join("|")}-${mi}`,
@@ -26041,12 +26033,12 @@ const ak = /* @__PURE__ */ a((t) => {
26041
26033
  ), qp = el.length;
26042
26034
  }
26043
26035
  const RP = t1.length === 0 && n1.length === 0 && Hp.length > 0 ? Hp.map(bu).filter(Boolean).map((Un) => {
26044
- const ks = i.find(
26036
+ const Ms = i.find(
26045
26037
  (Xc) => Xc.field === Un
26046
26038
  );
26047
26039
  return {
26048
26040
  field: Un,
26049
- headerName: (ks == null ? void 0 : ks.headerName) ?? Un,
26041
+ headerName: (Ms == null ? void 0 : Ms.headerName) ?? Un,
26050
26042
  minWidth: 140
26051
26043
  };
26052
26044
  }) : t1;
@@ -26150,7 +26142,7 @@ const ak = /* @__PURE__ */ a((t) => {
26150
26142
  ), {
26151
26143
  columns: { columnVisibilityModel: Hc = {} },
26152
26144
  ...qn
26153
- } = b, { columnVisibilityModel: qc, columnOrder: ko, columnasConfiguradas: Ts } = C.useMemo(() => {
26145
+ } = b, { columnVisibilityModel: qc, columnOrder: ko, columnasConfiguradas: Os } = C.useMemo(() => {
26154
26146
  const U = {}, se = [], ke = [];
26155
26147
  return Wc.forEach((Te) => {
26156
26148
  U[Te.field] = Te.oculto !== void 0 ? !Te.oculto : Hc[Te.field] ?? !0, se.push(Te.field), ke.push({
@@ -26203,7 +26195,7 @@ const ak = /* @__PURE__ */ a((t) => {
26203
26195
  }, [D]), C.useEffect(() => {
26204
26196
  !xe.current || !D || xe.current.setRowGroupingModel([]);
26205
26197
  }, [xe, D]);
26206
- const Mo = D ? [] : Oo.length ? Oo : ((X0 = qn == null ? void 0 : qn.rowGrouping) == null ? void 0 : X0.model) ?? [], Os = C.useMemo(
26198
+ const Mo = D ? [] : Oo.length ? Oo : ((X0 = qn == null ? void 0 : qn.rowGrouping) == null ? void 0 : X0.model) ?? [], ks = C.useMemo(
26207
26199
  () => ({
26208
26200
  ...yt,
26209
26201
  ...eo ? { sorting: eo } : {},
@@ -26219,19 +26211,19 @@ const ak = /* @__PURE__ */ a((t) => {
26219
26211
  [Mo, eo, z, yt]
26220
26212
  ), Uc = Lw({
26221
26213
  apiRef: xe,
26222
- initialState: Os
26223
- }), Gc = D ? Os : Uc;
26214
+ initialState: ks
26215
+ }), Gc = D ? ks : Uc;
26224
26216
  pW({ apiRef: xe, ...t });
26225
26217
  const Ka = C.useRef(j);
26226
26218
  C.useEffect(() => {
26227
26219
  Ka.current = j;
26228
26220
  }, [j]);
26229
26221
  const fi = C.useMemo(
26230
- () => Ts.map((U) => ({
26222
+ () => Os.map((U) => ({
26231
26223
  ...U,
26232
26224
  headerName: St[U.field.replace("_lis", "")] ?? U.headerName
26233
26225
  })),
26234
- [Ts, St]
26226
+ [Os, St]
26235
26227
  ), In = C.useMemo(() => D || !(e.length > 0 || h) ? fi : fi.concat([
26236
26228
  {
26237
26229
  field: "actions",
@@ -26826,7 +26818,7 @@ const ak = /* @__PURE__ */ a((t) => {
26826
26818
  pivotActive: m = !1,
26827
26819
  forceListView: g,
26828
26820
  ...b
26829
- } = t, y = C.useRef(null), { sort: x } = rs(), E = /* @__PURE__ */ a(() => y.current, "container"), T = cr((z) => z.breakpoints.down("md")), w = g ?? T, S = g && !T, O = Ug(), {
26821
+ } = t, y = C.useRef(null), { sort: x } = is(), E = /* @__PURE__ */ a(() => y.current, "container"), T = cr((z) => z.breakpoints.down("md")), w = g ?? T, S = g && !T, O = Ug(), {
26830
26822
  props: { gridContainerRef: M }
26831
26823
  } = oi(), [A, $] = C.useState({
26832
26824
  overlay: null,
@@ -27126,7 +27118,7 @@ const ak = /* @__PURE__ */ a((t) => {
27126
27118
  onBeforeSubmitAsistente: l = ya,
27127
27119
  onAfterSubmitAsistente: u = ya,
27128
27120
  validateAllowAdd: d
27129
- } = t, [f, p] = qg(!1), h = mt(t), m = pn(), g = Ss(), b = kT({ apiRef: g, source: i, enviarTodo: s }), y = "N", { estado: x } = It(), E = Xr(), w = Gt()("ra.action.create");
27121
+ } = t, [f, p] = qg(!1), h = mt(t), m = pn(), g = ws(), b = kT({ apiRef: g, source: i, enviarTodo: s }), y = "N", { estado: x } = It(), E = Xr(), w = Gt()("ra.action.create");
27130
27122
  return /* @__PURE__ */ q(ar, { children: [
27131
27123
  /* @__PURE__ */ v(
27132
27124
  Fn,
@@ -27187,7 +27179,7 @@ const ak = /* @__PURE__ */ a((t) => {
27187
27179
  enviarTodo: l,
27188
27180
  onBeforeSubmitAsistente: u = ya,
27189
27181
  onAfterSubmitAsistente: d = ya
27190
- } = t, f = Gt(), [p, h] = qg(!1), m = Ss(), g = pn(), b = MT({ apiRef: m, source: i, enviarTodo: l }), y = "M", { estado: x } = It(), E = Xr(), T = f("ra.action.edit");
27182
+ } = t, f = Gt(), [p, h] = qg(!1), m = ws(), g = pn(), b = MT({ apiRef: m, source: i, enviarTodo: l }), y = "M", { estado: x } = It(), E = Xr(), T = f("ra.action.edit");
27191
27183
  return /* @__PURE__ */ q(ar, { children: [
27192
27184
  /* @__PURE__ */ v(
27193
27185
  Fn,
@@ -27246,7 +27238,7 @@ const ak = /* @__PURE__ */ a((t) => {
27246
27238
  enviarTodo: i,
27247
27239
  onBeforeSubmitAsistente: s = ya,
27248
27240
  onAfterSubmitAsistente: l = ya
27249
- } = t, [u, d] = qg(!1), f = Ss(), p = pn(), h = RT({ apiRef: f, source: o, enviarTodo: i }), { estado: m } = It(), g = Xr();
27241
+ } = t, [u, d] = qg(!1), f = ws(), p = pn(), h = RT({ apiRef: f, source: o, enviarTodo: i }), { estado: m } = It(), g = Xr();
27250
27242
  return /* @__PURE__ */ q(ho, { children: [
27251
27243
  /* @__PURE__ */ v(
27252
27244
  OW,
@@ -27788,7 +27780,7 @@ const dk = /* @__PURE__ */ a((t) => {
27788
27780
  }
27789
27781
  }),
27790
27782
  [p, g]
27791
- ), y = u$(b), x = n ?? (p ? `Alta ${h(p, 1)}` : "Nuevo registro"), E = /* @__PURE__ */ v(Js, { value: p, children: /* @__PURE__ */ v(d$, { value: y, children: e }) });
27783
+ ), y = u$(b), x = n ?? (p ? `Alta ${h(p, 1)}` : "Nuevo registro"), E = /* @__PURE__ */ v(Xs, { value: p, children: /* @__PURE__ */ v(d$, { value: y, children: e }) });
27792
27784
  return /* @__PURE__ */ v(ar, { children: o && /* @__PURE__ */ q(
27793
27785
  Wg,
27794
27786
  {
@@ -27864,7 +27856,7 @@ const bk = /* @__PURE__ */ a((t) => {
27864
27856
  o(), b.stopPropagation();
27865
27857
  },
27866
27858
  [o]
27867
- ), m = e(u, { _: u }), g = d ? /* @__PURE__ */ v(sa, { title: m, children: /* @__PURE__ */ v(
27859
+ ), m = e(u, { _: u }), g = d ? /* @__PURE__ */ v(rs, { title: m, children: /* @__PURE__ */ v(
27868
27860
  Qo,
27869
27861
  {
27870
27862
  "aria-label": m,
@@ -28053,7 +28045,7 @@ const yk = /* @__PURE__ */ a(() => {
28053
28045
  Tm = t;
28054
28046
  }, "registerFormReset"), gre = /* @__PURE__ */ a(() => Tm ? (Tm(), !0) : !1, "resetForm"), yu = /* @__PURE__ */ new Set(), JW = /* @__PURE__ */ a((t) => {
28055
28047
  var y, x;
28056
- const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [s, l] = He(null), u = Ur(), d = xs(), f = mt(t), p = t.estado ?? (((y = u == null ? void 0 : u.state) == null ? void 0 : y.estado) || "N"), h = t.id ?? (((x = u == null ? void 0 : u.state) == null ? void 0 : x.id) || "-1"), { data: m, isFetching: g } = IW(
28048
+ const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [s, l] = He(null), u = Ur(), d = Cs(), f = mt(t), p = t.estado ?? (((y = u == null ? void 0 : u.state) == null ? void 0 : y.estado) || "N"), h = t.id ?? (((x = u == null ? void 0 : u.state) == null ? void 0 : x.id) || "-1"), { data: m, isFetching: g } = IW(
28057
28049
  f,
28058
28050
  {
28059
28051
  enabled: n
@@ -28076,7 +28068,7 @@ const yk = /* @__PURE__ */ a(() => {
28076
28068
  }).catch((E) => {
28077
28069
  s === null && l({});
28078
28070
  }) : l({});
28079
- }, [g, n]), n && s === null ? /* @__PURE__ */ v(Cs, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: b, children: /* @__PURE__ */ v(Jr.Provider, { value: s, children: e }) });
28071
+ }, [g, n]), n && s === null ? /* @__PURE__ */ v(Ss, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: b, children: /* @__PURE__ */ v(Jr.Provider, { value: s, children: e }) });
28080
28072
  }, "CreateChildren"), aC = /* @__PURE__ */ a((t) => {
28081
28073
  const {
28082
28074
  useFormulario: e,
@@ -28127,7 +28119,7 @@ const yk = /* @__PURE__ */ a(() => {
28127
28119
  cancelar: h,
28128
28120
  dialogProps: s,
28129
28121
  _popupKey: f,
28130
- controles: /* @__PURE__ */ v(Js, { value: i, children: /* @__PURE__ */ v(
28122
+ controles: /* @__PURE__ */ v(Xs, { value: i, children: /* @__PURE__ */ v(
28131
28123
  aC,
28132
28124
  {
28133
28125
  ...t,
@@ -28267,7 +28259,7 @@ const yk = /* @__PURE__ */ a(() => {
28267
28259
  chkSeleccion: i = !1,
28268
28260
  storeKey: s,
28269
28261
  ...l
28270
- } = t, u = et(ip), d = n === "ventana" ? eH : Cw, { pathname: f, state: p } = Ur(), h = xs(), [m, g] = He(null), [b, y] = He(i), x = /* @__PURE__ */ a((w) => {
28262
+ } = t, u = et(ip), d = n === "ventana" ? eH : Cw, { pathname: f, state: p } = Ur(), h = Cs(), [m, g] = He(null), [b, y] = He(i), x = /* @__PURE__ */ a((w) => {
28271
28263
  y(w.target.checked);
28272
28264
  }, "handleChange");
28273
28265
  if (We(() => {
@@ -28277,7 +28269,7 @@ const yk = /* @__PURE__ */ a(() => {
28277
28269
  m === null && g({});
28278
28270
  });
28279
28271
  }, []), m === null)
28280
- return /* @__PURE__ */ v(Cs, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
28272
+ return /* @__PURE__ */ v(Ss, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
28281
28273
  let E = l.filter, T = l.queryOptions;
28282
28274
  return p && f.substring(1) === e && (E = p.filter ?? l.filter, T = p != null && p.meta ? { meta: { ...p.meta } } : l.queryOptions), /* @__PURE__ */ v(
28283
28275
  Q5,
@@ -28354,7 +28346,7 @@ const yk = /* @__PURE__ */ a(() => {
28354
28346
  return e;
28355
28347
  }, "defaultTransform"), iH = /* @__PURE__ */ a((t) => {
28356
28348
  var g;
28357
- const { children: e, fichaProps: n, mutationOptions: r } = t, o = x$(), [i, s] = He(null), l = Ur(), u = xs(), d = mt(t), { record: f, isFetching: p } = o, h = t.estado ?? (((g = l == null ? void 0 : l.state) == null ? void 0 : g.estado) || "M"), m = Lt(
28349
+ const { children: e, fichaProps: n, mutationOptions: r } = t, o = x$(), [i, s] = He(null), l = Ur(), u = Cs(), d = mt(t), { record: f, isFetching: p } = o, h = t.estado ?? (((g = l == null ? void 0 : l.state) == null ? void 0 : g.estado) || "M"), m = Lt(
28358
28350
  () => ({
28359
28351
  estado: h,
28360
28352
  initialValues: f,
@@ -28370,7 +28362,7 @@ const yk = /* @__PURE__ */ a(() => {
28370
28362
  }).catch((b) => {
28371
28363
  i === null && s({});
28372
28364
  });
28373
- }, [p]), i === null ? /* @__PURE__ */ v(Cs, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: m, children: /* @__PURE__ */ v(Jr.Provider, { value: i, children: e }) });
28365
+ }, [p]), i === null ? /* @__PURE__ */ v(Ss, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: m, children: /* @__PURE__ */ v(Jr.Provider, { value: i, children: e }) });
28374
28366
  }, "EditChildren"), cC = /* @__PURE__ */ a((t) => {
28375
28367
  const {
28376
28368
  useFormulario: e,
@@ -28429,7 +28421,7 @@ const yk = /* @__PURE__ */ a(() => {
28429
28421
  cancelar: S,
28430
28422
  dialogProps: s,
28431
28423
  _popupKey: g,
28432
- controles: /* @__PURE__ */ v(Js, { value: i, children: /* @__PURE__ */ v(ip.Provider, { value: h, children: /* @__PURE__ */ v(
28424
+ controles: /* @__PURE__ */ v(Xs, { value: i, children: /* @__PURE__ */ v(ip.Provider, { value: h, children: /* @__PURE__ */ v(
28433
28425
  cC,
28434
28426
  {
28435
28427
  ...t,
@@ -28513,7 +28505,7 @@ const yk = /* @__PURE__ */ a(() => {
28513
28505
  r || i.onLoadFicha && i.onLoadFicha(s, n, o);
28514
28506
  }, [r]), r)
28515
28507
  return /* @__PURE__ */ v(
28516
- Cs,
28508
+ Ss,
28517
28509
  {
28518
28510
  loadingPrimary: "",
28519
28511
  loadingSecondary: "",
@@ -28545,7 +28537,7 @@ const yk = /* @__PURE__ */ a(() => {
28545
28537
  const e = Va(), n = Ur(), r = mt(), o = xo(), i = pr(), s = So(), { estado: l, mutationOptions: u = {} } = It(), d = u == null ? void 0 : u._popupKey, f = l === "B" || ((g = n.state) == null ? void 0 : g.estado) === "B", p = Op({ borrar: f, ...t }), h = e.open || f, m = e.open ? lH : aH;
28546
28538
  return /* @__PURE__ */ q(ar, { children: [
28547
28539
  e.open && /* @__PURE__ */ v(
28548
- Cs,
28540
+ Ss,
28549
28541
  {
28550
28542
  loadingPrimary: e.mensaje,
28551
28543
  loadingSecondary: "",
@@ -28728,11 +28720,11 @@ md = _y.default = (0, mH.default)(/* @__PURE__ */ (0, gH.jsx)("path", {
28728
28720
  }), "Settings");
28729
28721
  const bH = /* @__PURE__ */ a((t) => {
28730
28722
  const { handleToggle: e, isOpen: n, name: r, icon: o, children: i, dense: s } = t, l = Gt(), [u] = Sw(), d = /* @__PURE__ */ q(ji, { dense: s, onClick: e, children: [
28731
- /* @__PURE__ */ v(Ks, { sx: { minWidth: 5 }, children: n ? /* @__PURE__ */ v(Vb, {}) : o }),
28723
+ /* @__PURE__ */ v(Ys, { sx: { minWidth: 5 }, children: n ? /* @__PURE__ */ v(Vb, {}) : o }),
28732
28724
  /* @__PURE__ */ v(jo, { variant: "inherit", color: "textSecondary", children: l(r) })
28733
28725
  ] });
28734
28726
  return /* @__PURE__ */ q("div", { children: [
28735
- u || n ? d : /* @__PURE__ */ v(sa, { title: l(r), placement: "right", children: d }),
28727
+ u || n ? d : /* @__PURE__ */ v(rs, { title: l(r), placement: "right", children: d }),
28736
28728
  /* @__PURE__ */ v(qP, { in: n, timeout: "auto", unmountOnExit: !0, children: /* @__PURE__ */ v(
28737
28729
  fw,
28738
28730
  {
@@ -28879,7 +28871,7 @@ const MH = /* @__PURE__ */ a((t) => {
28879
28871
  jsBotonGrilla: l = PH,
28880
28872
  refresh: u = !0,
28881
28873
  ...d
28882
- } = t, [f, p] = C.useState(null), [h, m] = C.useState(null), [g, b] = C.useState({}), { displayedFilters: y, filterValues: x, exporter: E, showFilter: T, total: w } = rs(), S = mt(t), { hasCreate: O } = Hg(t), M = et(E$) || r, A = rs(), $ = sp(t), P = cr((F) => F.breakpoints.down("md")), {
28874
+ } = t, [f, p] = C.useState(null), [h, m] = C.useState(null), [g, b] = C.useState({}), { displayedFilters: y, filterValues: x, exporter: E, showFilter: T, total: w } = is(), S = mt(t), { hasCreate: O } = Hg(t), M = et(E$) || r, A = is(), $ = sp(t), P = cr((F) => F.breakpoints.down("md")), {
28883
28875
  props: {
28884
28876
  hasCreate: R,
28885
28877
  hasSeleccionMultiple: N,
@@ -29039,10 +29031,10 @@ const MH = /* @__PURE__ */ a((t) => {
29039
29031
  }, "onClick"),
29040
29032
  title: F.title,
29041
29033
  children: [
29042
- /* @__PURE__ */ v(Ks, { children: Tn(F.icon, {
29034
+ /* @__PURE__ */ v(Ys, { children: Tn(F.icon, {
29043
29035
  fontSize: "medium"
29044
29036
  }) }),
29045
- /* @__PURE__ */ v(Ys, { primary: F.title })
29037
+ /* @__PURE__ */ v(Js, { primary: F.title })
29046
29038
  ]
29047
29039
  },
29048
29040
  F.key
@@ -29055,10 +29047,10 @@ const MH = /* @__PURE__ */ a((t) => {
29055
29047
  {
29056
29048
  onClick: /* @__PURE__ */ a(() => H(F.index), "onClick"),
29057
29049
  children: [
29058
- /* @__PURE__ */ v(Ks, { children: Tn(D, {
29050
+ /* @__PURE__ */ v(Ys, { children: Tn(D, {
29059
29051
  fontSize: "medium"
29060
29052
  }) }),
29061
- /* @__PURE__ */ v(Ys, { primary: ne })
29053
+ /* @__PURE__ */ v(Js, { primary: ne })
29062
29054
  ]
29063
29055
  },
29064
29056
  `menu-${F.index}`
@@ -29111,14 +29103,14 @@ const MH = /* @__PURE__ */ a((t) => {
29111
29103
  );
29112
29104
  }, "onClick"),
29113
29105
  children: [
29114
- /* @__PURE__ */ v(Ks, { children: Tn(
29106
+ /* @__PURE__ */ v(Ys, { children: Tn(
29115
29107
  Fe.icon,
29116
29108
  {
29117
29109
  fontSize: "medium"
29118
29110
  }
29119
29111
  ) }),
29120
29112
  /* @__PURE__ */ v(
29121
- Ys,
29113
+ Js,
29122
29114
  {
29123
29115
  primary: Fe.label
29124
29116
  }
@@ -29207,7 +29199,7 @@ function LH(t, e) {
29207
29199
  component: b
29208
29200
  },
29209
29201
  internalRef: y
29210
- } = g, x = ce(g.props, DH), E = qt(y, m == null ? void 0 : m.ref, e.ref), T = s ? s(x) : {}, w = k({}, o, T), S = b, O = Vs(h, k({}, t === "root", !f[t] && l, x, S && {
29202
+ } = g, x = ce(g.props, DH), E = qt(y, m == null ? void 0 : m.ref, e.ref), T = s ? s(x) : {}, w = k({}, o, T), S = b, O = Ws(h, k({}, t === "root", !f[t] && l, x, S && {
29211
29203
  as: S
29212
29204
  }, {
29213
29205
  ref: E
@@ -29843,7 +29835,7 @@ const Ere = /* @__PURE__ */ a((t) => {
29843
29835
  ] });
29844
29836
  }, "MultiTextField"), QH = /* @__PURE__ */ a((t) => {
29845
29837
  var m;
29846
- const { children: e, fichaProps: n } = t, r = R$(), [o, i] = He(null), s = Ur(), l = xs(), u = mt(t), { record: d, isFetching: f } = r, p = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h = Lt(
29838
+ const { children: e, fichaProps: n } = t, r = R$(), [o, i] = He(null), s = Ur(), l = Cs(), u = mt(t), { record: d, isFetching: f } = r, p = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h = Lt(
29847
29839
  () => ({
29848
29840
  estado: p,
29849
29841
  initialValues: d,
@@ -29858,7 +29850,7 @@ const Ere = /* @__PURE__ */ a((t) => {
29858
29850
  }).catch((g) => {
29859
29851
  o === null && i({});
29860
29852
  });
29861
- }, [f]), o === null ? /* @__PURE__ */ v(Cs, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: h, children: /* @__PURE__ */ v(Jr.Provider, { value: o, children: e }) });
29853
+ }, [f]), o === null ? /* @__PURE__ */ v(Ss, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ v(Db, { value: h, children: /* @__PURE__ */ v(Jr.Provider, { value: o, children: e }) });
29862
29854
  }, "ShowChildren"), ZH = /* @__PURE__ */ a((t) => {
29863
29855
  const { useFormulario: e, children: n, ...r } = t, o = uT(t), { fichaProps: i } = $y(t);
29864
29856
  return /* @__PURE__ */ v(Dc, { children: /* @__PURE__ */ v(M$, { id: o, emptyWhileLoading: !0, ...r, ...i == null ? void 0 : i.panel, children: /* @__PURE__ */ v(QH, { fichaProps: i, children: n }) }) });
@@ -30691,7 +30683,7 @@ const x9 = C.forwardRef(/* @__PURE__ */ a(function(e, n) {
30691
30683
  g.name
30692
30684
  ))
30693
30685
  ] });
30694
- }, "FormToolbar"), Nre = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(Cs, { timeout: 0, ...t }), "Loading"), Rk = aD({
30686
+ }, "FormToolbar"), Nre = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(Ss, { timeout: 0, ...t }), "Loading"), Rk = aD({
30695
30687
  createStyledComponent: ee("div", {
30696
30688
  name: "MuiGrid2",
30697
30689
  slot: "Root",
@@ -30805,7 +30797,7 @@ const E9 = {
30805
30797
  textOverflow: "ellipsis"
30806
30798
  }, Ire = /* @__PURE__ */ a((t) => {
30807
30799
  const { label: e, icon: n, ...r } = t, o = cr((f) => f.breakpoints.down("md")), i = n ?? Pk, s = e ?? "", l = !!r.hidden;
30808
- return /* @__PURE__ */ v(CF, { value: { hidden: l, isActive: !l }, children: /* @__PURE__ */ v($$, { icon: /* @__PURE__ */ v(sa, { title: s, children: /* @__PURE__ */ v(i, { fontSize: "medium" }) }), label: o ? "" : /* @__PURE__ */ v(sa, { title: s, children: /* @__PURE__ */ v("span", { style: E9, children: e }) }), ...r }) });
30800
+ return /* @__PURE__ */ v(CF, { value: { hidden: l, isActive: !l }, children: /* @__PURE__ */ v($$, { icon: /* @__PURE__ */ v(rs, { title: s, children: /* @__PURE__ */ v(i, { fontSize: "medium" }) }), label: o ? "" : /* @__PURE__ */ v(rs, { title: s, children: /* @__PURE__ */ v("span", { style: E9, children: e }) }), ...r }) });
30809
30801
  }, "FormTab");
30810
30802
  Bw.ra.page.empty = "No records yet";
30811
30803
  const _re = {
@@ -31070,7 +31062,7 @@ process.env.NODE_ENV !== "production" && (km.propTypes = {
31070
31062
  * The component used for the root node.
31071
31063
  * Either a string to use a HTML element or a component.
31072
31064
  */
31073
- component: ds,
31065
+ component: fs,
31074
31066
  /**
31075
31067
  * @ignore
31076
31068
  */
@@ -31415,7 +31407,7 @@ const pC = /* @__PURE__ */ a((t) => {
31415
31407
  children: /* @__PURE__ */ v(D$, { ...e })
31416
31408
  }
31417
31409
  );
31418
- }, "CheckBox"), U9 = xc((t, e) => /* @__PURE__ */ v(sa, { ref: e, ...t })), G9 = /* @__PURE__ */ a((t) => {
31410
+ }, "CheckBox"), U9 = xc((t, e) => /* @__PURE__ */ v(rs, { ref: e, ...t })), G9 = /* @__PURE__ */ a((t) => {
31419
31411
  var f;
31420
31412
  const { callback: e, sx: n, isTC: r, onChange: o, ...i } = t, {
31421
31413
  isFetching: s,
@@ -31457,7 +31449,7 @@ const pC = /* @__PURE__ */ a((t) => {
31457
31449
  }
31458
31450
  ) });
31459
31451
  }, "SelectInputEtriek"), K9 = /* @__PURE__ */ a((t) => {
31460
- const { propsContenido: e, hidden: n } = Sn(t), r = ws(), { isLoading: o } = It(), { isActive: i } = ap(), {
31452
+ const { propsContenido: e, hidden: n } = Sn(t), r = Es(), { isLoading: o } = It(), { isActive: i } = ap(), {
31461
31453
  queryOptions: s,
31462
31454
  asistant: l,
31463
31455
  asistantResource: u,
@@ -31575,11 +31567,11 @@ const J9 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], X9 = ["column-reverse", "column",
31575
31567
  ...fl.map((t) => `grid-lg-${t}`),
31576
31568
  ...fl.map((t) => `grid-xl-${t}`)
31577
31569
  ]), Z9 = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
31578
- function Zs(t) {
31570
+ function ea(t) {
31579
31571
  const e = parseFloat(t);
31580
31572
  return `${e}${String(t).replace(String(e), "") || "px"}`;
31581
31573
  }
31582
- a(Zs, "getOffset");
31574
+ a(ea, "getOffset");
31583
31575
  function e8({
31584
31576
  theme: t,
31585
31577
  ownerState: e
@@ -31615,7 +31607,7 @@ function e8({
31615
31607
  if (e.container && e.item && e.columnSpacing !== 0) {
31616
31608
  const f = t.spacing(e.columnSpacing);
31617
31609
  if (f !== "0px") {
31618
- const p = `calc(${u} + ${Zs(f)})`;
31610
+ const p = `calc(${u} + ${ea(f)})`;
31619
31611
  d = {
31620
31612
  flexBasis: p,
31621
31613
  maxWidth: p
@@ -31688,9 +31680,9 @@ function n8({
31688
31680
  var d;
31689
31681
  const f = t.spacing(l);
31690
31682
  return f !== "0px" ? {
31691
- marginTop: `-${Zs(f)}`,
31683
+ marginTop: `-${ea(f)}`,
31692
31684
  [`& > .${ac.item}`]: {
31693
- paddingTop: Zs(f)
31685
+ paddingTop: ea(f)
31694
31686
  }
31695
31687
  } : (d = s) != null && d.includes(u) ? {} : {
31696
31688
  marginTop: 0,
@@ -31727,10 +31719,10 @@ function r8({
31727
31719
  var d;
31728
31720
  const f = t.spacing(l);
31729
31721
  return f !== "0px" ? {
31730
- width: `calc(100% + ${Zs(f)})`,
31731
- marginLeft: `-${Zs(f)}`,
31722
+ width: `calc(100% + ${ea(f)})`,
31723
+ marginLeft: `-${ea(f)}`,
31732
31724
  [`& > .${ac.item}`]: {
31733
- paddingLeft: Zs(f)
31725
+ paddingLeft: ea(f)
31734
31726
  }
31735
31727
  } : (d = s) != null && d.includes(u) ? {} : {
31736
31728
  width: "100%",
@@ -32142,7 +32134,7 @@ const mC = /* @__PURE__ */ a((t, e) => t.filter((n) => !e.includes(n)), "not"),
32142
32134
  )
32143
32135
  }
32144
32136
  ),
32145
- /* @__PURE__ */ v(fs, { dense: !0, component: "div", role: "list", children: z.map((j, I) => {
32137
+ /* @__PURE__ */ v(ps, { dense: !0, component: "div", role: "list", children: z.map((j, I) => {
32146
32138
  const W = `transfer-list-item-${j.id}-label`;
32147
32139
  return /* @__PURE__ */ q(
32148
32140
  Uo,
@@ -32695,7 +32687,7 @@ const E8 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
32695
32687
  )
32696
32688
  }
32697
32689
  ), "AsistenteList"), N8 = { fillista: "empcod=-1", mapId: ["funnro"] }, A8 = /* @__PURE__ */ a((t) => {
32698
- const { filgrilla: e = {}, meta: n } = t, [r, o] = He(N8), [i, s] = He([]), l = xs();
32690
+ const { filgrilla: e = {}, meta: n } = t, [r, o] = He(N8), [i, s] = He([]), l = Cs();
32699
32691
  We(() => {
32700
32692
  (/* @__PURE__ */ a(async () => {
32701
32693
  const m = await d("");
@@ -34582,8 +34574,8 @@ const Ef = class Ef {
34582
34574
  }
34583
34575
  };
34584
34576
  a(Ef, "ContentMatch");
34585
- let ps = Ef;
34586
- ps.empty = new ps(!0);
34577
+ let hs = Ef;
34578
+ hs.empty = new hs(!0);
34587
34579
  const c0 = class c0 {
34588
34580
  constructor(e, n) {
34589
34581
  this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
@@ -34763,7 +34755,7 @@ function J8(t) {
34763
34755
  });
34764
34756
  });
34765
34757
  });
34766
- let i = e[r.join(",")] = new ps(r.indexOf(t.length - 1) > -1);
34758
+ let i = e[r.join(",")] = new hs(r.indexOf(t.length - 1) > -1);
34767
34759
  for (let s = 0; s < o.length; s++) {
34768
34760
  let l = o[s][1].sort(Uk);
34769
34761
  i.next.push({ type: o[s][0], next: e[l.join(",")] || n(l) });
@@ -34853,7 +34845,7 @@ let vC = (ts = class {
34853
34845
  True for node types that allow no content.
34854
34846
  */
34855
34847
  get isLeaf() {
34856
- return this.contentMatch == ps.empty;
34848
+ return this.contentMatch == hs.empty;
34857
34849
  }
34858
34850
  /**
34859
34851
  True when this node is an atom, i.e. when it does not have
@@ -35099,7 +35091,7 @@ const d0 = class d0 {
35099
35091
  if (o in this.marks)
35100
35092
  throw new RangeError(o + " can not be both a node and a mark");
35101
35093
  let i = this.nodes[o], s = i.spec.content || "", l = i.spec.marks;
35102
- if (i.contentMatch = r[s] || (r[s] = ps.parse(s, this.nodes)), i.inlineContent = i.contentMatch.inlineContent, i.spec.linebreakReplacement) {
35094
+ if (i.contentMatch = r[s] || (r[s] = hs.parse(s, this.nodes)), i.inlineContent = i.contentMatch.inlineContent, i.spec.linebreakReplacement) {
35103
35095
  if (this.linebreakReplacement)
35104
35096
  throw new RangeError("Multiple linebreak nodes defined");
35105
35097
  if (!i.isInline || !i.isLeaf)
@@ -35391,12 +35383,12 @@ const f0 = class f0 {
35391
35383
  }
35392
35384
  };
35393
35385
  a(f0, "NodeContext");
35394
- let Ws = f0;
35386
+ let Hs = f0;
35395
35387
  const p0 = class p0 {
35396
35388
  constructor(e, n, r) {
35397
35389
  this.parser = e, this.options = n, this.isOpen = r, this.open = 0;
35398
35390
  let o = n.topNode, i, s = CC(null, n.preserveWhitespace, 0) | (r ? kl : 0);
35399
- o ? i = new Ws(o.type, o.attrs, Ct.none, !0, n.topMatch || o.type.contentMatch, s) : r ? i = new Ws(null, null, Ct.none, !0, null, s) : i = new Ws(e.schema.topNodeType, null, Ct.none, !0, null, s), this.nodes = [i], this.find = n.findPositions, this.needsBlock = !1;
35391
+ o ? i = new Hs(o.type, o.attrs, Ct.none, !0, n.topMatch || o.type.contentMatch, s) : r ? i = new Hs(null, null, Ct.none, !0, null, s) : i = new Hs(e.schema.topNodeType, null, Ct.none, !0, null, s), this.nodes = [i], this.find = n.findPositions, this.needsBlock = !1;
35400
35392
  }
35401
35393
  get top() {
35402
35394
  return this.nodes[this.open];
@@ -35564,7 +35556,7 @@ const p0 = class p0 {
35564
35556
  let l = CC(e, i, s.options);
35565
35557
  s.options & kl && s.content.length == 0 && (l |= kl);
35566
35558
  let u = Ct.none;
35567
- return r = r.filter((d) => (s.type ? s.type.allowsMarkType(d.type) : wC(d.type, e)) ? (u = d.addToSet(u), !1) : !0), this.nodes.push(new Ws(e, n, u, o, null, l)), this.open++, r;
35559
+ return r = r.filter((d) => (s.type ? s.type.allowsMarkType(d.type) : wC(d.type, e)) ? (u = d.addToSet(u), !1) : !0), this.nodes.push(new Hs(e, n, u, o, null, l)), this.open++, r;
35568
35560
  }
35569
35561
  // Make sure all nodes above this.open are finished and added to
35570
35562
  // their parents
@@ -35800,7 +35792,7 @@ const Of = class Of {
35800
35792
  }
35801
35793
  };
35802
35794
  a(Of, "DOMSerializer");
35803
- let hs = Of;
35795
+ let ms = Of;
35804
35796
  function EC(t) {
35805
35797
  let e = {};
35806
35798
  for (let n in t) {
@@ -36028,7 +36020,7 @@ const Lo = class Lo {
36028
36020
  a(Lo, "StepMap");
36029
36021
  let yo = Lo;
36030
36022
  yo.empty = new yo([]);
36031
- const Hs = class Hs {
36023
+ const qs = class qs {
36032
36024
  /**
36033
36025
  Create a new mapping with the given position maps.
36034
36026
  */
@@ -36039,13 +36031,13 @@ const Hs = class Hs {
36039
36031
  Create a mapping that maps only through a part of this one.
36040
36032
  */
36041
36033
  slice(e = 0, n = this.maps.length) {
36042
- return new Hs(this.maps, this.mirror, e, n);
36034
+ return new qs(this.maps, this.mirror, e, n);
36043
36035
  }
36044
36036
  /**
36045
36037
  @internal
36046
36038
  */
36047
36039
  copy() {
36048
- return new Hs(this.maps.slice(), this.mirror && this.mirror.slice(), this.from, this.to);
36040
+ return new qs(this.maps.slice(), this.mirror && this.mirror.slice(), this.from, this.to);
36049
36041
  }
36050
36042
  /**
36051
36043
  Add a step map to the end of this mapping. If `mirrors` is
@@ -36096,7 +36088,7 @@ const Hs = class Hs {
36096
36088
  Create an inverted version of this mapping.
36097
36089
  */
36098
36090
  invert() {
36099
- let e = new Hs();
36091
+ let e = new qs();
36100
36092
  return e.appendMappingInverted(this), e;
36101
36093
  }
36102
36094
  /**
@@ -36135,8 +36127,8 @@ const Hs = class Hs {
36135
36127
  return r ? e : new lc(e, o, null);
36136
36128
  }
36137
36129
  };
36138
- a(Hs, "Mapping");
36139
- let Ed = Hs;
36130
+ a(qs, "Mapping");
36131
+ let Ed = qs;
36140
36132
  const wh = /* @__PURE__ */ Object.create(null), m0 = class m0 {
36141
36133
  /**
36142
36134
  Get the step map that represents the changes made by this step,
@@ -36237,7 +36229,7 @@ const ki = class ki extends Jt {
36237
36229
  return sn.fromReplace(e, this.from, this.to, i);
36238
36230
  }
36239
36231
  invert() {
36240
- return new ms(this.from, this.to, this.mark);
36232
+ return new gs(this.from, this.to, this.mark);
36241
36233
  }
36242
36234
  map(e) {
36243
36235
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
@@ -36305,8 +36297,8 @@ const Mi = class Mi extends Jt {
36305
36297
  }
36306
36298
  };
36307
36299
  a(Mi, "RemoveMarkStep");
36308
- let ms = Mi;
36309
- Jt.jsonID("removeMark", ms);
36300
+ let gs = Mi;
36301
+ Jt.jsonID("removeMark", gs);
36310
36302
  const Ri = class Ri extends Jt {
36311
36303
  /**
36312
36304
  Create a node mark step.
@@ -36444,7 +36436,7 @@ const ao = class ao extends Jt {
36444
36436
  a(ao, "ReplaceStep");
36445
36437
  let Wn = ao;
36446
36438
  Jt.jsonID("replace", Wn);
36447
- const qs = class qs extends Jt {
36439
+ const Us = class Us extends Jt {
36448
36440
  /**
36449
36441
  Create a replace-around step with the given range and gap.
36450
36442
  `insert` should be the point in the slice into which the content
@@ -36475,11 +36467,11 @@ const qs = class qs extends Jt {
36475
36467
  }
36476
36468
  invert(e) {
36477
36469
  let n = this.gapTo - this.gapFrom;
36478
- return new qs(this.from, this.from + this.slice.size + n, this.from + this.insert, this.from + this.insert + n, e.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);
36470
+ return new Us(this.from, this.from + this.slice.size + n, this.from + this.insert, this.from + this.insert + n, e.slice(this.from, this.to).removeBetween(this.gapFrom - this.from, this.gapTo - this.from), this.gapFrom - this.from, this.structure);
36479
36471
  }
36480
36472
  map(e) {
36481
36473
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1), o = this.from == this.gapFrom ? n.pos : e.map(this.gapFrom, -1), i = this.to == this.gapTo ? r.pos : e.map(this.gapTo, 1);
36482
- return n.deletedAcross && r.deletedAcross || o < n.pos || i > r.pos ? null : new qs(n.pos, r.pos, o, i, this.slice, this.insert, this.structure);
36474
+ return n.deletedAcross && r.deletedAcross || o < n.pos || i > r.pos ? null : new Us(n.pos, r.pos, o, i, this.slice, this.insert, this.structure);
36483
36475
  }
36484
36476
  toJSON() {
36485
36477
  let e = {
@@ -36498,11 +36490,11 @@ const qs = class qs extends Jt {
36498
36490
  static fromJSON(e, n) {
36499
36491
  if (typeof n.from != "number" || typeof n.to != "number" || typeof n.gapFrom != "number" || typeof n.gapTo != "number" || typeof n.insert != "number")
36500
36492
  throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");
36501
- return new qs(n.from, n.to, n.gapFrom, n.gapTo, ge.fromJSON(e, n.slice), n.insert, !!n.structure);
36493
+ return new Us(n.from, n.to, n.gapFrom, n.gapTo, ge.fromJSON(e, n.slice), n.insert, !!n.structure);
36502
36494
  }
36503
36495
  };
36504
- a(qs, "ReplaceAroundStep");
36505
- let un = qs;
36496
+ a(Us, "ReplaceAroundStep");
36497
+ let un = Us;
36506
36498
  Jt.jsonID("replaceAround", un);
36507
36499
  function _m(t, e, n) {
36508
36500
  let r = t.resolve(e), o = n - e, i = r.depth;
@@ -36528,7 +36520,7 @@ function l7(t, e, n, r) {
36528
36520
  if (!r.isInSet(p) && f.type.allowsMarkType(r.type)) {
36529
36521
  let h = Math.max(d, e), m = Math.min(d + u.nodeSize, n), g = r.addToSet(p);
36530
36522
  for (let b = 0; b < p.length; b++)
36531
- p[b].isInSet(g) || (s && s.to == h && s.mark.eq(p[b]) ? s.to = m : o.push(s = new ms(h, m, p[b])));
36523
+ p[b].isInSet(g) || (s && s.to == h && s.mark.eq(p[b]) ? s.to = m : o.push(s = new gs(h, m, p[b])));
36532
36524
  l && l.to == h ? l.to = m : i.push(l = new cc(h, m, r));
36533
36525
  }
36534
36526
  }), o.forEach((u) => t.step(u)), i.forEach((u) => t.step(u));
@@ -36557,7 +36549,7 @@ function c7(t, e, n, r) {
36557
36549
  h ? (h.to = d, h.step = i) : o.push({ style: p, from: Math.max(l, e), to: d, step: i });
36558
36550
  }
36559
36551
  }
36560
- }), o.forEach((s) => t.step(new ms(s.from, s.to, s.style)));
36552
+ }), o.forEach((s) => t.step(new gs(s.from, s.to, s.style)));
36561
36553
  }
36562
36554
  a(c7, "removeMark");
36563
36555
  function ov(t, e, n, r = n.contentMatch, o = !0) {
@@ -36569,7 +36561,7 @@ function ov(t, e, n, r = n.contentMatch, o = !0) {
36569
36561
  else {
36570
36562
  r = p;
36571
36563
  for (let h = 0; h < d.marks.length; h++)
36572
- n.allowsMarkType(d.marks[h].type) || t.step(new ms(l, f, d.marks[h]));
36564
+ n.allowsMarkType(d.marks[h].type) || t.step(new gs(l, f, d.marks[h]));
36573
36565
  if (o && d.isText && n.whitespace != "pre") {
36574
36566
  let h, m = /\r?\n|\r/g, g;
36575
36567
  for (; h = m.exec(d.text); )
@@ -36712,7 +36704,7 @@ function b7(t, e, n, r, o) {
36712
36704
  t.step(new un(e, e + i.nodeSize, e + 1, e + i.nodeSize - 1, new ge(ue.from(s), 0, 0), 1, !0));
36713
36705
  }
36714
36706
  a(b7, "setNodeMarkup");
36715
- function ea(t, e, n = 1, r) {
36707
+ function ta(t, e, n = 1, r) {
36716
36708
  let o = t.resolve(e), i = o.depth - n, s = r && r[r.length - 1] || o.parent;
36717
36709
  if (i < 0 || o.parent.type.spec.isolating || !o.parent.canReplace(o.index(), o.parent.childCount) || !s.type.validContent(o.parent.content.cutByIndex(o.index(), o.parent.childCount)))
36718
36710
  return !1;
@@ -36729,7 +36721,7 @@ function ea(t, e, n = 1, r) {
36729
36721
  let l = o.indexAfter(i), u = r && r[0];
36730
36722
  return o.node(i).canReplaceWith(l, l, u ? u.type : o.node(i + 1).type);
36731
36723
  }
36732
- a(ea, "canSplit");
36724
+ a(ta, "canSplit");
36733
36725
  function y7(t, e, n = 1, r) {
36734
36726
  let o = t.doc.resolve(e), i = ue.empty, s = ue.empty;
36735
36727
  for (let l = o.depth, u = o.depth - n, d = n - 1; l > u; l--, d--) {
@@ -37131,7 +37123,7 @@ function dM(t, e) {
37131
37123
  return n;
37132
37124
  }
37133
37125
  a(dM, "coveredDepths");
37134
- const Us = class Us extends Jt {
37126
+ const Gs = class Gs extends Jt {
37135
37127
  /**
37136
37128
  Construct an attribute step.
37137
37129
  */
@@ -37153,11 +37145,11 @@ const Us = class Us extends Jt {
37153
37145
  return yo.empty;
37154
37146
  }
37155
37147
  invert(e) {
37156
- return new Us(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
37148
+ return new Gs(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
37157
37149
  }
37158
37150
  map(e) {
37159
37151
  let n = e.mapResult(this.pos, 1);
37160
- return n.deletedAfter ? null : new Us(n.pos, this.attr, this.value);
37152
+ return n.deletedAfter ? null : new Gs(n.pos, this.attr, this.value);
37161
37153
  }
37162
37154
  toJSON() {
37163
37155
  return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
@@ -37165,11 +37157,11 @@ const Us = class Us extends Jt {
37165
37157
  static fromJSON(e, n) {
37166
37158
  if (typeof n.pos != "number" || typeof n.attr != "string")
37167
37159
  throw new RangeError("Invalid input for AttrStep.fromJSON");
37168
- return new Us(n.pos, n.attr, n.value);
37160
+ return new Gs(n.pos, n.attr, n.value);
37169
37161
  }
37170
37162
  };
37171
- a(Us, "AttrStep");
37172
- let Td = Us;
37163
+ a(Gs, "AttrStep");
37164
+ let Td = Gs;
37173
37165
  Jt.jsonID("attr", Td);
37174
37166
  const Fl = class Fl extends Jt {
37175
37167
  /**
@@ -37207,9 +37199,9 @@ const Fl = class Fl extends Jt {
37207
37199
  a(Fl, "DocAttrStep");
37208
37200
  let Od = Fl;
37209
37201
  Jt.jsonID("docAttr", Od);
37210
- var oa;
37211
- let Ca = (oa = class extends Error {
37212
- }, a(oa, "TransformError"), oa);
37202
+ var ia;
37203
+ let Ca = (ia = class extends Error {
37204
+ }, a(ia, "TransformError"), ia);
37213
37205
  Ca = /* @__PURE__ */ a(function t(e) {
37214
37206
  let n = Error.call(this, e);
37215
37207
  return n.__proto__ = t.prototype, n;
@@ -37533,11 +37525,11 @@ const Oh = /* @__PURE__ */ Object.create(null), y0 = class y0 {
37533
37525
  found.
37534
37526
  */
37535
37527
  static findFrom(e, n, r = !1) {
37536
- let o = e.parent.inlineContent ? new Ge(e) : Fs(e.node(0), e.parent, e.pos, e.index(), n, r);
37528
+ let o = e.parent.inlineContent ? new Ge(e) : Bs(e.node(0), e.parent, e.pos, e.index(), n, r);
37537
37529
  if (o)
37538
37530
  return o;
37539
37531
  for (let i = e.depth - 1; i >= 0; i--) {
37540
- let s = n < 0 ? Fs(e.node(0), e.node(i), e.before(i + 1), e.index(i), n, r) : Fs(e.node(0), e.node(i), e.after(i + 1), e.index(i) + 1, n, r);
37532
+ let s = n < 0 ? Bs(e.node(0), e.node(i), e.before(i + 1), e.index(i), n, r) : Bs(e.node(0), e.node(i), e.after(i + 1), e.index(i) + 1, n, r);
37541
37533
  if (s)
37542
37534
  return s;
37543
37535
  }
@@ -37558,14 +37550,14 @@ const Oh = /* @__PURE__ */ Object.create(null), y0 = class y0 {
37558
37550
  exists.
37559
37551
  */
37560
37552
  static atStart(e) {
37561
- return Fs(e, e, 0, 0, 1) || new fo(e);
37553
+ return Bs(e, e, 0, 0, 1) || new fo(e);
37562
37554
  }
37563
37555
  /**
37564
37556
  Find the cursor or leaf node selection closest to the end of the
37565
37557
  given document.
37566
37558
  */
37567
37559
  static atEnd(e) {
37568
- return Fs(e, e, e.content.size, e.childCount, -1) || new fo(e);
37560
+ return Bs(e, e, e.content.size, e.childCount, -1) || new fo(e);
37569
37561
  }
37570
37562
  /**
37571
37563
  Deserialize the JSON representation of a selection. Must be
@@ -37773,7 +37765,7 @@ const Mf = class Mf {
37773
37765
  };
37774
37766
  a(Mf, "NodeBookmark");
37775
37767
  let Fm = Mf;
37776
- const Gs = class Gs extends je {
37768
+ const Ks = class Ks extends je {
37777
37769
  /**
37778
37770
  Create an all-selection over the given document.
37779
37771
  */
@@ -37795,20 +37787,20 @@ const Gs = class Gs extends je {
37795
37787
  @internal
37796
37788
  */
37797
37789
  static fromJSON(e) {
37798
- return new Gs(e);
37790
+ return new Ks(e);
37799
37791
  }
37800
37792
  map(e) {
37801
- return new Gs(e);
37793
+ return new Ks(e);
37802
37794
  }
37803
37795
  eq(e) {
37804
- return e instanceof Gs;
37796
+ return e instanceof Ks;
37805
37797
  }
37806
37798
  getBookmark() {
37807
37799
  return k7;
37808
37800
  }
37809
37801
  };
37810
- a(Gs, "AllSelection");
37811
- let fo = Gs;
37802
+ a(Ks, "AllSelection");
37803
+ let fo = Ks;
37812
37804
  je.jsonID("all", fo);
37813
37805
  const k7 = {
37814
37806
  map() {
@@ -37818,7 +37810,7 @@ const k7 = {
37818
37810
  return new fo(t);
37819
37811
  }
37820
37812
  };
37821
- function Fs(t, e, n, r, o, i = !1) {
37813
+ function Bs(t, e, n, r, o, i = !1) {
37822
37814
  if (e.inlineContent)
37823
37815
  return Ge.create(t, n);
37824
37816
  for (let s = r - (o > 0 ? 0 : 1); o > 0 ? s < e.childCount : s >= 0; s += o) {
@@ -37827,7 +37819,7 @@ function Fs(t, e, n, r, o, i = !1) {
37827
37819
  if (!i && _e.isSelectable(l))
37828
37820
  return _e.create(t, n - (o < 0 ? l.nodeSize : 0));
37829
37821
  } else {
37830
- let u = Fs(t, l, n + o, o < 0 ? l.childCount : 0, o, i);
37822
+ let u = Bs(t, l, n + o, o < 0 ? l.childCount : 0, o, i);
37831
37823
  if (u)
37832
37824
  return u;
37833
37825
  }
@@ -37835,7 +37827,7 @@ function Fs(t, e, n, r, o, i = !1) {
37835
37827
  }
37836
37828
  return null;
37837
37829
  }
37838
- a(Fs, "findSelectionIn");
37830
+ a(Bs, "findSelectionIn");
37839
37831
  function PC(t, e, n) {
37840
37832
  let r = t.steps.length - 1;
37841
37833
  if (r < e)
@@ -38290,7 +38282,7 @@ const so = /* @__PURE__ */ a(function(t, e, n) {
38290
38282
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
38291
38283
  }, "textRange"), R7 = /* @__PURE__ */ a(function() {
38292
38284
  jm = null;
38293
- }, "clearReusedRange"), gs = /* @__PURE__ */ a(function(t, e, n, r) {
38285
+ }, "clearReusedRange"), bs = /* @__PURE__ */ a(function(t, e, n, r) {
38294
38286
  return n && (IC(t, e, n, r, -1) || IC(t, e, n, r, 1));
38295
38287
  }, "isEquivalentPosition"), P7 = /^(img|br|input|textarea|hr)$/i;
38296
38288
  function IC(t, e, n, r, o) {
@@ -38364,7 +38356,7 @@ function jc(t) {
38364
38356
  }
38365
38357
  a(jc, "hasBlockDesc");
38366
38358
  const Rp = /* @__PURE__ */ a(function(t) {
38367
- return t.focusNode && gs(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
38359
+ return t.focusNode && bs(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
38368
38360
  }, "selectionCollapsed");
38369
38361
  function Ei(t, e) {
38370
38362
  let n = document.createEvent("Event");
@@ -38479,18 +38471,18 @@ function bM(t, e) {
38479
38471
  }
38480
38472
  }
38481
38473
  a(bM, "restoreScrollStack");
38482
- let $s = null;
38474
+ let Ns = null;
38483
38475
  function V7(t) {
38484
38476
  if (t.setActive)
38485
38477
  return t.setActive();
38486
- if ($s)
38487
- return t.focus($s);
38478
+ if (Ns)
38479
+ return t.focus(Ns);
38488
38480
  let e = gM(t);
38489
- t.focus($s == null ? {
38481
+ t.focus(Ns == null ? {
38490
38482
  get preventScroll() {
38491
- return $s = { preventScroll: !0 }, !0;
38483
+ return Ns = { preventScroll: !0 }, !0;
38492
38484
  }
38493
- } : void 0), $s || ($s = !1, bM(e, 0));
38485
+ } : void 0), Ns || (Ns = !1, bM(e, 0));
38494
38486
  }
38495
38487
  a(V7, "focusPreventScroll");
38496
38488
  function yM(t, e) {
@@ -39029,7 +39021,7 @@ const sr = 0, jC = 1, Li = 2, qr = 3, T0 = class T0 {
39029
39021
  let h = d.focusNode.childNodes[d.focusOffset];
39030
39022
  h && h.contentEditable == "false" && (o = !0);
39031
39023
  }
39032
- if (!(o || f && vn) && gs(l.node, l.offset, d.anchorNode, d.anchorOffset) && gs(u.node, u.offset, d.focusNode, d.focusOffset))
39024
+ if (!(o || f && vn) && bs(l.node, l.offset, d.anchorNode, d.anchorOffset) && bs(u.node, u.offset, d.focusNode, d.focusOffset))
39033
39025
  return;
39034
39026
  let p = !1;
39035
39027
  if ((d.extend || e == n) && !f) {
@@ -39089,8 +39081,8 @@ const sr = 0, jC = 1, Li = 2, qr = 3, T0 = class T0 {
39089
39081
  }
39090
39082
  };
39091
39083
  a(T0, "ViewDesc");
39092
- let bs = T0;
39093
- const O0 = class O0 extends bs {
39084
+ let ys = T0;
39085
+ const O0 = class O0 extends ys {
39094
39086
  constructor(e, n, r, o) {
39095
39087
  let i, s = n.type.toDOM;
39096
39088
  if (typeof s == "function" && (s = s(r, () => {
@@ -39132,7 +39124,7 @@ const O0 = class O0 extends bs {
39132
39124
  };
39133
39125
  a(O0, "WidgetViewDesc");
39134
39126
  let Rd = O0;
39135
- const k0 = class k0 extends bs {
39127
+ const k0 = class k0 extends ys {
39136
39128
  constructor(e, n, r, o) {
39137
39129
  super(e, [], n, null), this.textDOM = r, this.text = o;
39138
39130
  }
@@ -39151,13 +39143,13 @@ const k0 = class k0 extends bs {
39151
39143
  };
39152
39144
  a(k0, "CompositionViewDesc");
39153
39145
  let qm = k0;
39154
- const Bl = class Bl extends bs {
39146
+ const Bl = class Bl extends ys {
39155
39147
  constructor(e, n, r, o) {
39156
39148
  super(e, [], r, o), this.mark = n;
39157
39149
  }
39158
39150
  static create(e, n, r, o) {
39159
39151
  let i = o.nodeViews[n.type.name], s = i && i(n, o, r);
39160
- return (!s || !s.dom) && (s = hs.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Bl(e, n, s.dom, s.contentDOM || s.dom);
39152
+ return (!s || !s.dom) && (s = ms.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Bl(e, n, s.dom, s.contentDOM || s.dom);
39161
39153
  }
39162
39154
  parseRule() {
39163
39155
  return this.dirty & qr || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
@@ -39183,7 +39175,7 @@ const Bl = class Bl extends bs {
39183
39175
  };
39184
39176
  a(Bl, "MarkViewDesc");
39185
39177
  let wa = Bl;
39186
- const Rf = class Rf extends bs {
39178
+ const Rf = class Rf extends ys {
39187
39179
  constructor(e, n, r, o, i, s, l, u, d) {
39188
39180
  super(e, [], i, s), this.node = n, this.outerDeco = r, this.innerDeco = o, this.nodeDOM = l;
39189
39181
  }
@@ -39208,7 +39200,7 @@ const Rf = class Rf extends bs {
39208
39200
  f = document.createTextNode(n.text);
39209
39201
  else if (f.nodeType != 3)
39210
39202
  throw new RangeError("Text must be rendered as a DOM text node");
39211
- } else f || ({ dom: f, contentDOM: p } = hs.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
39203
+ } else f || ({ dom: f, contentDOM: p } = ms.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
39212
39204
  !p && !n.isText && f.nodeName != "BR" && (f.hasAttribute("contenteditable") || (f.contentEditable = "false"), n.type.spec.draggable && (f.draggable = !0));
39213
39205
  let h = f;
39214
39206
  return f = EM(f, r, n), d ? u = new Um(e, n, r, o, f, p || null, h, d, i, s + 1) : n.isText ? new Pd(e, n, r, o, f, h, i) : new Rf(e, n, r, o, f, p || null, h, i, s + 1);
@@ -39362,7 +39354,7 @@ const Pf = class Pf extends Yo {
39362
39354
  };
39363
39355
  a(Pf, "TextViewDesc");
39364
39356
  let Pd = Pf;
39365
- const M0 = class M0 extends bs {
39357
+ const M0 = class M0 extends ys {
39366
39358
  parseRule() {
39367
39359
  return { ignore: !0 };
39368
39360
  }
@@ -39834,7 +39826,7 @@ function po(t, e = !1) {
39834
39826
  if (OM(t, n), !!TM(t)) {
39835
39827
  if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && ln) {
39836
39828
  let r = t.domSelectionRange(), o = t.domObserver.currentSelection;
39837
- if (r.anchorNode && o.anchorNode && gs(r.anchorNode, r.anchorOffset, o.anchorNode, o.anchorOffset)) {
39829
+ if (r.anchorNode && o.anchorNode && bs(r.anchorNode, r.anchorOffset, o.anchorNode, o.anchorOffset)) {
39838
39830
  t.input.mouseDown.delayedSelectionSync = !0, t.domObserver.setCurSelection();
39839
39831
  return;
39840
39832
  }
@@ -39922,7 +39914,7 @@ function kM(t) {
39922
39914
  a(kM, "hasSelection");
39923
39915
  function aq(t) {
39924
39916
  let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
39925
- return gs(e.node, e.offset, n.anchorNode, n.anchorOffset);
39917
+ return bs(e.node, e.offset, n.anchorNode, n.anchorOffset);
39926
39918
  }
39927
39919
  a(aq, "anchorInRightPlace");
39928
39920
  function Jm(t, e) {
@@ -39974,10 +39966,10 @@ function Pl(t, e) {
39974
39966
  return n && n.size == 0 && (e < 0 || t.nextSibling || t.nodeName != "BR");
39975
39967
  }
39976
39968
  a(Pl, "isIgnorable");
39977
- function Ns(t, e) {
39969
+ function As(t, e) {
39978
39970
  return e < 0 ? lq(t) : cq(t);
39979
39971
  }
39980
- a(Ns, "skipIgnoredNodes");
39972
+ a(As, "skipIgnoredNodes");
39981
39973
  function lq(t) {
39982
39974
  let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset;
39983
39975
  if (!n)
@@ -40174,22 +40166,22 @@ a(pq, "getMods");
40174
40166
  function hq(t, e) {
40175
40167
  let n = e.keyCode, r = pq(e);
40176
40168
  if (n == 8 || Zn && n == 72 && r == "c")
40177
- return QC(t, -1) || Ns(t, -1);
40169
+ return QC(t, -1) || As(t, -1);
40178
40170
  if (n == 46 && !e.shiftKey || Zn && n == 68 && r == "c")
40179
- return QC(t, 1) || Ns(t, 1);
40171
+ return QC(t, 1) || As(t, 1);
40180
40172
  if (n == 13 || n == 27)
40181
40173
  return !0;
40182
40174
  if (n == 37 || Zn && n == 66 && r == "c") {
40183
40175
  let o = n == 37 ? JC(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1;
40184
- return YC(t, o, r) || Ns(t, o);
40176
+ return YC(t, o, r) || As(t, o);
40185
40177
  } else if (n == 39 || Zn && n == 70 && r == "c") {
40186
40178
  let o = n == 39 ? JC(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1;
40187
- return YC(t, o, r) || Ns(t, o);
40179
+ return YC(t, o, r) || As(t, o);
40188
40180
  } else {
40189
40181
  if (n == 38 || Zn && n == 80 && r == "c")
40190
- return XC(t, -1, r) || Ns(t, -1);
40182
+ return XC(t, -1, r) || As(t, -1);
40191
40183
  if (n == 40 || Zn && n == 78 && r == "c")
40192
- return fq(t) || XC(t, 1, r) || Ns(t, 1);
40184
+ return fq(t) || XC(t, 1, r) || As(t, 1);
40193
40185
  if (r == (Zn ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
40194
40186
  return !0;
40195
40187
  }
@@ -40206,7 +40198,7 @@ function RM(t, e) {
40206
40198
  let m = r.firstChild;
40207
40199
  n.push(m.type.name, m.attrs != m.type.defaultAttrs ? m.attrs : null), r = m.content;
40208
40200
  }
40209
- let s = t.someProp("clipboardSerializer") || hs.fromSchema(t.state.schema), l = _M(), u = l.createElement("div");
40201
+ let s = t.someProp("clipboardSerializer") || ms.fromSchema(t.state.schema), l = _M(), u = l.createElement("div");
40210
40202
  u.appendChild(s.serializeFragment(r, { document: l }));
40211
40203
  let d = u.firstChild, f, p = 0;
40212
40204
  for (; d && d.nodeType == 1 && (f = IM[d.nodeName.toLowerCase()]); ) {
@@ -40240,7 +40232,7 @@ function PM(t, e, n, r, o) {
40240
40232
  if (p)
40241
40233
  l = p;
40242
40234
  else {
40243
- let h = o.marks(), { schema: m } = t.state, g = hs.fromSchema(m);
40235
+ let h = o.marks(), { schema: m } = t.state, g = ms.fromSchema(m);
40244
40236
  s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((b) => {
40245
40237
  let y = s.appendChild(document.createElement("p"));
40246
40238
  b && y.appendChild(g.serializeNode(m.text(b, h)));
@@ -40499,18 +40491,18 @@ function uv(t, e, n, r, o) {
40499
40491
  return !1;
40500
40492
  }
40501
40493
  a(uv, "runHandlerOnContext");
40502
- function ta(t, e, n) {
40494
+ function na(t, e, n) {
40503
40495
  if (t.focused || t.focus(), t.state.selection.eq(e))
40504
40496
  return;
40505
40497
  let r = t.state.tr.setSelection(e);
40506
40498
  r.setMeta("pointer", !0), t.dispatch(r);
40507
40499
  }
40508
- a(ta, "updateSelection");
40500
+ a(na, "updateSelection");
40509
40501
  function kq(t, e) {
40510
40502
  if (e == -1)
40511
40503
  return !1;
40512
40504
  let n = t.state.doc.resolve(e), r = n.nodeAfter;
40513
- return r && r.isAtom && _e.isSelectable(r) ? (ta(t, new _e(n)), !0) : !1;
40505
+ return r && r.isAtom && _e.isSelectable(r) ? (na(t, new _e(n)), !0) : !1;
40514
40506
  }
40515
40507
  a(kq, "selectClickedLeaf");
40516
40508
  function Mq(t, e) {
@@ -40526,7 +40518,7 @@ function Mq(t, e) {
40526
40518
  break;
40527
40519
  }
40528
40520
  }
40529
- return o != null ? (ta(t, _e.create(t.state.doc, o)), !0) : !1;
40521
+ return o != null ? (na(t, _e.create(t.state.doc, o)), !0) : !1;
40530
40522
  }
40531
40523
  a(Mq, "selectClickedNode");
40532
40524
  function Rq(t, e, n, r, o) {
@@ -40546,14 +40538,14 @@ function Nq(t, e, n) {
40546
40538
  return !1;
40547
40539
  let r = t.state.doc;
40548
40540
  if (e == -1)
40549
- return r.inlineContent ? (ta(t, Ge.create(r, 0, r.content.size)), !0) : !1;
40541
+ return r.inlineContent ? (na(t, Ge.create(r, 0, r.content.size)), !0) : !1;
40550
40542
  let o = r.resolve(e);
40551
40543
  for (let i = o.depth + 1; i > 0; i--) {
40552
40544
  let s = i > o.depth ? o.nodeAfter : o.node(i), l = o.before(i);
40553
40545
  if (s.inlineContent)
40554
- ta(t, Ge.create(r, l + 1, l + 1 + s.content.size));
40546
+ na(t, Ge.create(r, l + 1, l + 1 + s.content.size));
40555
40547
  else if (_e.isSelectable(s))
40556
- ta(t, _e.create(r, l));
40548
+ na(t, _e.create(r, l));
40557
40549
  else
40558
40550
  continue;
40559
40551
  return !0;
@@ -40610,7 +40602,7 @@ const N0 = class N0 {
40610
40602
  // (hidden) cursor is doesn't change the selection, and
40611
40603
  // thus doesn't get a reaction from ProseMirror. This
40612
40604
  // works around that.
40613
- ln && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (ta(this.view, je.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Go(this.view, "pointer");
40605
+ ln && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (na(this.view, je.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Go(this.view, "pointer");
40614
40606
  }
40615
40607
  move(e) {
40616
40608
  this.updateAllowDefault(e), Go(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -41005,12 +40997,12 @@ const Ai = class Ai {
41005
40997
  };
41006
40998
  a(Ai, "Decoration");
41007
40999
  let vo = Ai;
41008
- const Bs = [], Xi = {}, Nr = class Nr {
41000
+ const zs = [], Xi = {}, Nr = class Nr {
41009
41001
  /**
41010
41002
  @internal
41011
41003
  */
41012
41004
  constructor(e, n) {
41013
- this.local = e.length ? e : Bs, this.children = n.length ? n : Bs;
41005
+ this.local = e.length ? e : zs, this.children = n.length ? n : zs;
41014
41006
  }
41015
41007
  /**
41016
41008
  Create a set of decorations, using the structure of the given
@@ -41059,7 +41051,7 @@ const Bs = [], Xi = {}, Nr = class Nr {
41059
41051
  let u = this.local[l].map(e, r, o);
41060
41052
  u && u.type.valid(n, u) ? (s || (s = [])).push(u) : i.onRemove && i.onRemove(this.local[l].spec);
41061
41053
  }
41062
- return this.children.length ? Bq(this.children, s || [], e, n, r, o, i) : s ? new Nr(s.sort(Qi), Bs) : an;
41054
+ return this.children.length ? Bq(this.children, s || [], e, n, r, o, i) : s ? new Nr(s.sort(Qi), zs) : an;
41063
41055
  }
41064
41056
  /**
41065
41057
  Add the given array of decorations to the ones in the set,
@@ -41132,7 +41124,7 @@ const Bs = [], Xi = {}, Nr = class Nr {
41132
41124
  }
41133
41125
  }
41134
41126
  if (o) {
41135
- let l = new Nr(o.sort(Qi), Bs);
41127
+ let l = new Nr(o.sort(Qi), zs);
41136
41128
  return r ? new Ld([l, r]) : l;
41137
41129
  }
41138
41130
  return r || an;
@@ -41164,7 +41156,7 @@ const Bs = [], Xi = {}, Nr = class Nr {
41164
41156
  */
41165
41157
  localsInner(e) {
41166
41158
  if (this == an)
41167
- return Bs;
41159
+ return zs;
41168
41160
  if (e.inlineContent || !this.local.some(Ji.is))
41169
41161
  return this.local;
41170
41162
  let n = [];
@@ -41219,7 +41211,7 @@ const an = zn.empty, Fo = class Fo {
41219
41211
  n.push(i[s]);
41220
41212
  }
41221
41213
  }
41222
- return n ? fv(r ? n : n.sort(Qi)) : Bs;
41214
+ return n ? fv(r ? n : n.sort(Qi)) : zs;
41223
41215
  }
41224
41216
  // Create a group for the given array of decoration sets, or return
41225
41217
  // a single set when possible.
@@ -41456,7 +41448,7 @@ const _0 = class _0 {
41456
41448
  return po(this.view);
41457
41449
  if (Pn && Ko <= 11 && !this.view.state.selection.empty) {
41458
41450
  let e = this.view.domSelectionRange();
41459
- if (e.focusNode && gs(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
41451
+ if (e.focusNode && bs(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
41460
41452
  return this.flushSoon();
41461
41453
  }
41462
41454
  this.flush();
@@ -41562,7 +41554,7 @@ function Wq(t) {
41562
41554
  a(Wq, "checkCSS");
41563
41555
  function iS(t, e) {
41564
41556
  let n = e.startContainer, r = e.startOffset, o = e.endContainer, i = e.endOffset, s = t.domAtPos(t.state.selection.anchor);
41565
- return gs(s.node, s.offset, o, i) && ([n, r, o, i] = [o, i, n, r]), { anchorNode: n, anchorOffset: r, focusNode: o, focusOffset: i };
41557
+ return bs(s.node, s.offset, o, i) && ([n, r, o, i] = [o, i, n, r]), { anchorNode: n, anchorOffset: r, focusNode: o, focusOffset: i };
41566
41558
  }
41567
41559
  a(iS, "rangeToSelectionRange");
41568
41560
  function Hq(t, e) {
@@ -42545,7 +42537,7 @@ const vU = /* @__PURE__ */ a((t, e) => {
42545
42537
  return !1;
42546
42538
  if (n.depth > 1 && n.after() != n.end(-1)) {
42547
42539
  let i = n.before();
42548
- if (ea(t.doc, i))
42540
+ if (ta(t.doc, i))
42549
42541
  return e && e(t.tr.split(i).scrollIntoView()), !0;
42550
42542
  }
42551
42543
  let r = n.blockRange(), o = r && Ha(r);
@@ -42677,7 +42669,7 @@ function MU(t, e, n, r, o) {
42677
42669
  n[f].type == o && (s = f + 1);
42678
42670
  let l = n.length - s, u = e.start + n.length - (r ? 2 : 0), d = e.parent;
42679
42671
  for (let f = e.startIndex, p = e.endIndex, h = !0; f < p; f++, h = !1)
42680
- !h && ea(t.doc, u, l) && (t.split(u, l), u += 2 * l), u += d.child(f).nodeSize;
42672
+ !h && ta(t.doc, u, l) && (t.split(u, l), u += 2 * l), u += d.child(f).nodeSize;
42681
42673
  return t;
42682
42674
  }
42683
42675
  a(MU, "doWrapInList");
@@ -44132,7 +44124,7 @@ function vv(t) {
44132
44124
  }
44133
44125
  a(vv, "findParentNode");
44134
44126
  function jG(t, e) {
44135
- const n = hs.fromSchema(e).serializeFragment(t), o = document.implementation.createHTMLDocument().createElement("div");
44127
+ const n = ms.fromSchema(e).serializeFragment(t), o = document.implementation.createHTMLDocument().createElement("div");
44136
44128
  return o.appendChild(n), o.innerHTML;
44137
44129
  }
44138
44130
  a(jG, "getHTMLFromFragment");
@@ -44371,7 +44363,7 @@ a(vS, "ensureMarks");
44371
44363
  const nK = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: o }) => {
44372
44364
  const { selection: i, doc: s } = e, { $from: l, $to: u } = i, d = o.extensionManager.attributes, f = Uu(d, l.node().type.name, l.node().attrs);
44373
44365
  if (i instanceof _e && i.node.isBlock)
44374
- return !l.parentOffset || !ea(s, l.pos) ? !1 : (r && (t && vS(n, o.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
44366
+ return !l.parentOffset || !ta(s, l.pos) ? !1 : (r && (t && vS(n, o.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
44375
44367
  if (!l.parent.isBlock)
44376
44368
  return !1;
44377
44369
  const p = u.parentOffset === u.parent.content.size, h = l.depth === 0 ? void 0 : FG(l.node(-1).contentMatchAt(l.indexAfter(-1)));
@@ -44380,8 +44372,8 @@ const nK = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n,
44380
44372
  type: h,
44381
44373
  attrs: f
44382
44374
  }
44383
- ] : void 0, g = ea(e.doc, e.mapping.map(l.pos), 1, m);
44384
- if (!m && !g && ea(e.doc, e.mapping.map(l.pos), 1, h ? [{ type: h }] : void 0) && (g = !0, m = h ? [
44375
+ ] : void 0, g = ta(e.doc, e.mapping.map(l.pos), 1, m);
44376
+ if (!m && !g && ta(e.doc, e.mapping.map(l.pos), 1, h ? [{ type: h }] : void 0) && (g = !0, m = h ? [
44385
44377
  {
44386
44378
  type: h,
44387
44379
  attrs: f
@@ -44439,7 +44431,7 @@ const nK = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n,
44439
44431
  { type: l, attrs: g },
44440
44432
  { type: m, attrs: b }
44441
44433
  ] : [{ type: l, attrs: g }];
44442
- if (!ea(n.doc, u.pos, 2))
44434
+ if (!ta(n.doc, u.pos, 2))
44443
44435
  return !1;
44444
44436
  if (o) {
44445
44437
  const { selection: x, storedMarks: E } = r, { splittableMarks: T } = i.extensionManager, w = E || x.$to.parentOffset && x.$from.marks();
@@ -45337,7 +45329,7 @@ const j0 = class j0 extends sg {
45337
45329
  };
45338
45330
  a(j0, "Editor");
45339
45331
  let hg = j0;
45340
- function ys(t) {
45332
+ function vs(t) {
45341
45333
  return new Oa({
45342
45334
  find: t.find,
45343
45335
  handler: /* @__PURE__ */ a(({ state: e, range: n, match: r }) => {
@@ -45356,7 +45348,7 @@ function ys(t) {
45356
45348
  }, "handler")
45357
45349
  });
45358
45350
  }
45359
- a(ys, "markInputRule");
45351
+ a(vs, "markInputRule");
45360
45352
  function aR(t) {
45361
45353
  return new Oa({
45362
45354
  find: t.find,
@@ -45574,7 +45566,7 @@ const EK = Sr.create({
45574
45566
  },
45575
45567
  addInputRules() {
45576
45568
  return [
45577
- ys({
45569
+ vs({
45578
45570
  find: OK,
45579
45571
  type: this.type
45580
45572
  })
@@ -45796,7 +45788,7 @@ En.prototype = {
45796
45788
  return o.j[t] = s, s;
45797
45789
  }
45798
45790
  };
45799
- const Ke = /* @__PURE__ */ a((t, e, n, r, o) => t.ta(e, n, r, o), "ta"), Kn = /* @__PURE__ */ a((t, e, n, r, o) => t.tr(e, n, r, o), "tr"), CS = /* @__PURE__ */ a((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), fe = /* @__PURE__ */ a((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), io = "WORD", xg = "UWORD", yc = "LOCALHOST", Cg = "TLD", Sg = "UTLD", Ku = "SCHEME", zs = "SLASH_SCHEME", Sv = "NUM", cR = "WS", wv = "NL", $l = "OPENBRACE", Nl = "CLOSEBRACE", Vd = "OPENBRACKET", Wd = "CLOSEBRACKET", Hd = "OPENPAREN", qd = "CLOSEPAREN", Ud = "OPENANGLEBRACKET", Gd = "CLOSEANGLEBRACKET", Kd = "FULLWIDTHLEFTPAREN", Yd = "FULLWIDTHRIGHTPAREN", Jd = "LEFTCORNERBRACKET", Xd = "RIGHTCORNERBRACKET", Qd = "LEFTWHITECORNERBRACKET", Zd = "RIGHTWHITECORNERBRACKET", ef = "FULLWIDTHLESSTHAN", tf = "FULLWIDTHGREATERTHAN", nf = "AMPERSAND", rf = "APOSTROPHE", of = "ASTERISK", _o = "AT", sf = "BACKSLASH", af = "BACKTICK", lf = "CARET", Vo = "COLON", Ev = "COMMA", cf = "DOLLAR", kr = "DOT", uf = "EQUALS", Tv = "EXCLAMATION", Mr = "HYPHEN", df = "PERCENT", ff = "PIPE", pf = "PLUS", hf = "POUND", mf = "QUERY", Ov = "QUOTE", kv = "SEMI", Rr = "SLASH", Al = "TILDE", gf = "UNDERSCORE", uR = "EMOJI", bf = "SYM";
45791
+ const Ke = /* @__PURE__ */ a((t, e, n, r, o) => t.ta(e, n, r, o), "ta"), Kn = /* @__PURE__ */ a((t, e, n, r, o) => t.tr(e, n, r, o), "tr"), CS = /* @__PURE__ */ a((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), fe = /* @__PURE__ */ a((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), io = "WORD", xg = "UWORD", yc = "LOCALHOST", Cg = "TLD", Sg = "UTLD", Ku = "SCHEME", js = "SLASH_SCHEME", Sv = "NUM", cR = "WS", wv = "NL", $l = "OPENBRACE", Nl = "CLOSEBRACE", Vd = "OPENBRACKET", Wd = "CLOSEBRACKET", Hd = "OPENPAREN", qd = "CLOSEPAREN", Ud = "OPENANGLEBRACKET", Gd = "CLOSEANGLEBRACKET", Kd = "FULLWIDTHLEFTPAREN", Yd = "FULLWIDTHRIGHTPAREN", Jd = "LEFTCORNERBRACKET", Xd = "RIGHTCORNERBRACKET", Qd = "LEFTWHITECORNERBRACKET", Zd = "RIGHTWHITECORNERBRACKET", ef = "FULLWIDTHLESSTHAN", tf = "FULLWIDTHGREATERTHAN", nf = "AMPERSAND", rf = "APOSTROPHE", of = "ASTERISK", _o = "AT", sf = "BACKSLASH", af = "BACKTICK", lf = "CARET", Vo = "COLON", Ev = "COMMA", cf = "DOLLAR", kr = "DOT", uf = "EQUALS", Tv = "EXCLAMATION", Mr = "HYPHEN", df = "PERCENT", ff = "PIPE", pf = "PLUS", hf = "POUND", mf = "QUERY", Ov = "QUOTE", kv = "SEMI", Rr = "SLASH", Al = "TILDE", gf = "UNDERSCORE", uR = "EMOJI", bf = "SYM";
45800
45792
  var dR = /* @__PURE__ */ Object.freeze({
45801
45793
  __proto__: null,
45802
45794
  WORD: io,
@@ -45805,7 +45797,7 @@ var dR = /* @__PURE__ */ Object.freeze({
45805
45797
  TLD: Cg,
45806
45798
  UTLD: Sg,
45807
45799
  SCHEME: Ku,
45808
- SLASH_SCHEME: zs,
45800
+ SLASH_SCHEME: js,
45809
45801
  NUM: Sv,
45810
45802
  WS: cR,
45811
45803
  NL: wv,
@@ -45852,7 +45844,7 @@ var dR = /* @__PURE__ */ Object.freeze({
45852
45844
  EMOJI: uR,
45853
45845
  SYM: bf
45854
45846
  });
45855
- const As = /[a-z]/, Lh = new RegExp("\\p{L}", "u"), Fh = new RegExp("\\p{Emoji}", "u"), Bh = /\d/, SS = /\s/, wS = `
45847
+ const Is = /[a-z]/, Lh = new RegExp("\\p{L}", "u"), Fh = new RegExp("\\p{Emoji}", "u"), Bh = /\d/, SS = /\s/, wS = `
45856
45848
  `, LK = "️", FK = "‍";
45857
45849
  let ku = null, Mu = null;
45858
45850
  function BK(t) {
@@ -45865,14 +45857,14 @@ function BK(t) {
45865
45857
  [gg]: !0
45866
45858
  });
45867
45859
  Kn(r, Bh, r);
45868
- const o = Kn(n, As, io, {
45860
+ const o = Kn(n, Is, io, {
45869
45861
  [bg]: !0
45870
45862
  });
45871
- Kn(o, As, o);
45863
+ Kn(o, Is, o);
45872
45864
  const i = Kn(n, Lh, xg, {
45873
45865
  [yg]: !0
45874
45866
  });
45875
- Kn(i, As), Kn(i, Lh, i);
45867
+ Kn(i, Is), Kn(i, Lh, i);
45876
45868
  const s = Kn(n, SS, cR, {
45877
45869
  [xS]: !0
45878
45870
  });
@@ -45885,7 +45877,7 @@ function BK(t) {
45885
45877
  Kn(l, Fh, l), fe(l, LK, l);
45886
45878
  const u = fe(l, FK);
45887
45879
  Kn(u, Fh, l);
45888
- const d = [[As, o]], f = [[As, null], [Lh, i]];
45880
+ const d = [[Is, o]], f = [[Is, null], [Lh, i]];
45889
45881
  for (let p = 0; p < ku.length; p++)
45890
45882
  No(n, ku[p], Cg, io, d);
45891
45883
  for (let p = 0; p < Mu.length; p++)
@@ -45896,10 +45888,10 @@ function BK(t) {
45896
45888
  }, e), zi(Sg, {
45897
45889
  utld: !0,
45898
45890
  alpha: !0
45899
- }, e), No(n, "file", Ku, io, d), No(n, "mailto", Ku, io, d), No(n, "http", zs, io, d), No(n, "https", zs, io, d), No(n, "ftp", zs, io, d), No(n, "ftps", zs, io, d), zi(Ku, {
45891
+ }, e), No(n, "file", Ku, io, d), No(n, "mailto", Ku, io, d), No(n, "http", js, io, d), No(n, "https", js, io, d), No(n, "ftp", js, io, d), No(n, "ftps", js, io, d), zi(Ku, {
45900
45892
  scheme: !0,
45901
45893
  ascii: !0
45902
- }, e), zi(zs, {
45894
+ }, e), zi(js, {
45903
45895
  slashscheme: !0,
45904
45896
  ascii: !0
45905
45897
  }, e), t = t.sort((p, h) => p[0] > h[0] ? 1 : -1);
@@ -45909,7 +45901,7 @@ function BK(t) {
45909
45901
  } : {
45910
45902
  [IK]: !0
45911
45903
  };
45912
- h.indexOf("-") >= 0 ? g[vg] = !0 : As.test(h) ? Bh.test(h) ? g[Gu] = !0 : g[bg] = !0 : g[gg] = !0, CS(n, h, h, g);
45904
+ h.indexOf("-") >= 0 ? g[vg] = !0 : Is.test(h) ? Bh.test(h) ? g[Gu] = !0 : g[bg] = !0 : g[gg] = !0, CS(n, h, h, g);
45913
45905
  }
45914
45906
  return CS(n, "localhost", yc, {
45915
45907
  ascii: !0
@@ -47339,11 +47331,11 @@ const SY = /^\s*>\s$/, wY = Nn.create({
47339
47331
  },
47340
47332
  addInputRules() {
47341
47333
  return [
47342
- ys({
47334
+ vs({
47343
47335
  find: EY,
47344
47336
  type: this.type
47345
47337
  }),
47346
- ys({
47338
+ vs({
47347
47339
  find: OY,
47348
47340
  type: this.type
47349
47341
  })
@@ -47441,7 +47433,7 @@ const SY = /^\s*>\s$/, wY = Nn.create({
47441
47433
  },
47442
47434
  addInputRules() {
47443
47435
  return [
47444
- ys({
47436
+ vs({
47445
47437
  find: $Y,
47446
47438
  type: this.type
47447
47439
  })
@@ -48214,8 +48206,8 @@ const XY = 500, zo = class zo {
48214
48206
  }
48215
48207
  };
48216
48208
  a(zo, "Branch");
48217
- let vs = zo;
48218
- vs.empty = new vs(Yt.empty, 0);
48209
+ let xs = zo;
48210
+ xs.empty = new xs(Yt.empty, 0);
48219
48211
  function QY(t, e) {
48220
48212
  let n;
48221
48213
  return t.forEach((r, o) => {
@@ -48258,7 +48250,7 @@ function eJ(t, e, n, r) {
48258
48250
  return s.getMeta(Zi).redo ? new _r(t.done.addTransform(n, void 0, r, Yu(e)), t.undone, LS(n.mapping.maps), t.prevTime, t.prevComposition) : new _r(t.done, t.undone.addTransform(n, void 0, r, Yu(e)), null, t.prevTime, t.prevComposition);
48259
48251
  if (n.getMeta("addToHistory") !== !1 && !(s && s.getMeta("addToHistory") === !1)) {
48260
48252
  let l = n.getMeta("composition"), u = t.prevTime == 0 || !s && t.prevComposition != l && (t.prevTime < (n.time || 0) - r.newGroupDelay || !tJ(n, t.prevRanges)), d = s ? qh(t.prevRanges, n.mapping) : LS(n.mapping.maps);
48261
- return new _r(t.done.addTransform(n, u ? e.selection.getBookmark() : void 0, r, Yu(e)), vs.empty, d, n.time, l ?? t.prevComposition);
48253
+ return new _r(t.done.addTransform(n, u ? e.selection.getBookmark() : void 0, r, Yu(e)), xs.empty, d, n.time, l ?? t.prevComposition);
48262
48254
  } else return (i = n.getMeta("rebased")) ? new _r(t.done.rebased(n, i), t.undone.rebased(n, i), qh(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new _r(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), qh(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
48263
48255
  }
48264
48256
  a(eJ, "applyTransaction");
@@ -48323,7 +48315,7 @@ function oJ(t = {}) {
48323
48315
  key: Zi,
48324
48316
  state: {
48325
48317
  init() {
48326
- return new _r(vs.empty, vs.empty, null, 0, -1);
48318
+ return new _r(xs.empty, xs.empty, null, 0, -1);
48327
48319
  },
48328
48320
  apply(e, n, r) {
48329
48321
  return eJ(n, r, e, t);
@@ -48476,11 +48468,11 @@ const bR = gR(!1, !0), yR = gR(!0, !0), iJ = dn.create({
48476
48468
  },
48477
48469
  addInputRules() {
48478
48470
  return [
48479
- ys({
48471
+ vs({
48480
48472
  find: aJ,
48481
48473
  type: this.type
48482
48474
  }),
48483
- ys({
48475
+ vs({
48484
48476
  find: cJ,
48485
48477
  type: this.type
48486
48478
  })
@@ -48662,7 +48654,7 @@ const bR = gR(!1, !0), yR = gR(!0, !0), iJ = dn.create({
48662
48654
  },
48663
48655
  addInputRules() {
48664
48656
  return [
48665
- ys({
48657
+ vs({
48666
48658
  find: gJ,
48667
48659
  type: this.type
48668
48660
  })
@@ -50594,13 +50586,13 @@ var Bg = function() {
50594
50586
  fw,
50595
50587
  { component: "nav", "aria-label": n("ra.tiptap.select_level", {
50596
50588
  _: "Select the level"
50597
- }), dense: !0, disablePadding: !0, className: na.list },
50589
+ }), dense: !0, disablePadding: !0, className: ra.list },
50598
50590
  C.createElement(
50599
50591
  KP,
50600
50592
  { button: !0, "aria-haspopup": "true", "aria-controls": "level-menu", "aria-label": n("ra.tiptap.current_level", {
50601
50593
  _: "Current level"
50602
- }), disabled: !(r != null && r.isEditable), onClick: h, className: le((e = {}, e[na.sizeSmall] = l === "small", e[na.sizeLarge] = l === "large", e)) },
50603
- C.createElement(Ys, { primary: n(d.label, {
50594
+ }), disabled: !(r != null && r.isEditable), onClick: h, className: le((e = {}, e[ra.sizeSmall] = l === "small", e[ra.sizeLarge] = l === "large", e)) },
50595
+ C.createElement(Js, { primary: n(d.label, {
50604
50596
  _: d.defaultLabel
50605
50597
  }) }),
50606
50598
  C.createElement(HR, null)
@@ -50654,22 +50646,22 @@ var Bg = function() {
50654
50646
  value: "heading",
50655
50647
  level: 6
50656
50648
  }
50657
- ], Yh = "RaRichTextInputLevelSelect", na = {
50649
+ ], Yh = "RaRichTextInputLevelSelect", ra = {
50658
50650
  list: "".concat(Yh, "-list"),
50659
50651
  sizeSmall: "".concat(Yh, "-sizeSmall"),
50660
50652
  sizeLarge: "".concat(Yh, "-sizeLarge")
50661
50653
  }, Wte = ee("div")(function(t) {
50662
50654
  var e, n = t.theme;
50663
- return e = {}, e["&.".concat(na.list)] = {
50655
+ return e = {}, e["&.".concat(ra.list)] = {
50664
50656
  borderRadius: n.shape.borderRadius,
50665
50657
  border: "1px solid ".concat(UE(n.palette.action.active, 0.12))
50666
- }, e["& .".concat(na.sizeSmall)] = {
50658
+ }, e["& .".concat(ra.sizeSmall)] = {
50667
50659
  paddingTop: 1,
50668
50660
  paddingBottom: 1,
50669
50661
  "& .MuiTypography-root": {
50670
50662
  fontSize: n.typography.pxToRem(13)
50671
50663
  }
50672
- }, e["& .".concat(na.sizeLarge)] = {
50664
+ }, e["& .".concat(ra.sizeLarge)] = {
50673
50665
  paddingTop: 8,
50674
50666
  paddingBottom: 8,
50675
50667
  "& .MuiTypography-root": {
@@ -50766,7 +50758,7 @@ var ene = /* @__PURE__ */ a(function(t) {
50766
50758
  )
50767
50759
  );
50768
50760
  }, "ColorButtons"), tne = /* @__PURE__ */ a(function(t) {
50769
- var e, n, r = t.editor, o = t.close, i = t.colorType, s = Df(), l = [mb, yi, Is, q6, xi, vi, bi], u = [900, 700, 500, 300, 100], d = /* @__PURE__ */ a(function(f) {
50761
+ var e, n, r = t.editor, o = t.close, i = t.colorType, s = Df(), l = [mb, yi, _s, q6, xi, vi, bi], u = [900, 700, 500, 300, 100], d = /* @__PURE__ */ a(function(f) {
50770
50762
  i === es.FONT ? r.chain().focus().setColor(f).run() : r.chain().focus().toggleHighlight({ color: f }).run(), o();
50771
50763
  }, "selectColor");
50772
50764
  return C.createElement(Vg, { sx: {