biblio-react 3.0.0-alpha65 → 3.0.0-alpha67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var rw = Object.defineProperty;
2
2
  var a = (e, t) => rw(e, "name", { value: t, configurable: !0 });
3
3
  import we, { jsx as v, jsxs as Y, Fragment as Pn } from "react/jsx-runtime";
4
4
  import * as x from "react";
5
- import nt, { forwardRef as Ku, useContext as ke, createElement as zy, Children as Yu, isValidElement as Cn, cloneElement as Tn, createContext as Rt, useState as De, useMemo as fr, useCallback as He, useEffect as et, Fragment as an, memo as Ix, useRef as Ju, useDebugValue as Lx, useId as nw } from "react";
5
+ import ot, { forwardRef as Ku, useContext as ke, createElement as zy, Children as Yu, isValidElement as Cn, cloneElement as Tn, createContext as Rt, useState as De, useMemo as fr, useCallback as He, useEffect as tt, Fragment as an, memo as Ix, useRef as Ju, useDebugValue as Lx, useId as nw } from "react";
6
6
  import { unstable_ClassNameGenerator as Nx, exactProp as Qu, unstable_getScrollbarSize as ow, unstable_ownerDocument as En, unstable_ownerWindow as Ss, unstable_useForkRef as Ui, elementAcceptingRef as iw, unstable_useEnhancedEffect as Jo, unstable_setRef as By, HTMLElementType as lf, unstable_useEventCallback as Vy, unstable_createChainedFunction as Hy, unstable_debounce as aw, usePreviousProps as sw, unstable_getNormalizedScrollLeft as lw, unstable_detectScrollType as cw, chainPropTypes as uw, refType as dw, deepmerge as Dx } from "@mui/utils";
7
7
  import { MenuItem as cc, ListItemIcon as cf, ListItemText as uf, useMediaQuery as va, Typography as Cs, Box as at, Grid as Wy, Dialog as Gh, DialogTitle as _x, DialogContent as pw, Stack as Kh, DialogActions as fw, Tooltip as Xu, IconButton as uc, createTheme as hw, ThemeProvider as mw, alpha as gw, StyledEngineProvider as jx, Card as zx, CircularProgress as bw, CardContent as Bx, Collapse as yw, List as Vx, Switch as vw, Divider as Ow, Button as Uy, Paper as Hx, ToggleButtonGroup as Zu, ToggleButton as Dt, ListItem as xw, Menu as Sw, useTheme as Cw, FormHelperText as Tw } from "@mui/material";
8
8
  import { useTranslate as Tt, useUserMenu as Ew, useResourceDefinitions as kw, AppBar as ww, UserMenu as Pw, Logout as Mw, useDataProvider as Yh, useResourceContext as gt, useListContext as qi, useNotify as $n, useRedirect as Ys, useUnselectAll as Rw, NumberField as Aw, DateField as qy, TextField as Gl, ReferenceField as Fw, useCreatePath as Js, Button as Tr, Form as Qs, SaveButton as ed, Confirm as Jh, useRecordContext as un, useListController as $w, ListContextProvider as Iw, LoadingClasses as dc, List as Wx, useResourceDefinition as Ux, BulkActionsToolbar as Lw, useInput as Qh, useGetList as qx, useSafeSetState as Xh, useGetOne as Gx, required as Nw, minValue as Dw, TopToolbar as Kx, ListButton as _w, ShowButton as jw, useCreateController as zw, CreateContextProvider as Bw, useSaveContext as Vw, Create as Hw, useDelete as Ww, useEditController as Uw, Edit as qw, SimpleForm as Gw, useSidebarState as Yx, Menu as Kw, DashboardMenuItem as Yw, MenuItemLink as Jx, Layout as Jw, FilterContext as Qw, sanitizeListRestProps as Xw, FilterButton as Zw, CreateButton as eP, ExportButton as tP, useLogin as rP, TextInput as Qo, PasswordInput as Qx, useShowController as nP, Show as oP, FormTab as iP, getTabbedFormTabFullPath as aP, TabbedFormTabs as sP, Toolbar as Xx, defaultTheme as Zx, BooleanField as lP, ImageInput as cP, ImageField as uP, FileInput as dP, BooleanInput as pP, ReferenceInput as e1, useChoicesContext as fP, AutocompleteInput as hP, SelectInput as mP, ReferenceArrayInput as gP, AutocompleteArrayInput as bP, RadioButtonGroupInput as t1, useRecordSelection as r1, ListActions as yP, Datagrid as vP, ValidationError as OP, FieldTitle as n1, NumberInput as xP } from "react-admin";
@@ -826,7 +826,7 @@ function re() {
826
826
  return n;
827
827
  }
828
828
  a(re, "clsx");
829
- function Se(e, t, r = void 0) {
829
+ function Ce(e, t, r = void 0) {
830
830
  const n = {};
831
831
  return Object.keys(e).forEach(
832
832
  // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
@@ -842,7 +842,7 @@ function Se(e, t, r = void 0) {
842
842
  }
843
843
  ), n;
844
844
  }
845
- a(Se, "composeClasses");
845
+ a(Ce, "composeClasses");
846
846
  function Es(e, t) {
847
847
  const r = E({}, t);
848
848
  return Object.keys(e).forEach((n) => {
@@ -1008,7 +1008,7 @@ var rM = /* @__PURE__ */ function() {
1008
1008
  return n.parentNode && n.parentNode.removeChild(n);
1009
1009
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
1010
1010
  }, "flush"), e;
1011
- }(), jt = "-ms-", pc = "-moz-", We = "-webkit-", lm = "comm", cm = "rule", um = "decl", nM = "@import", b1 = "@keyframes", oM = "@layer", iM = Math.abs, rd = String.fromCharCode, aM = Object.assign;
1011
+ }(), jt = "-ms-", pc = "-moz-", Ue = "-webkit-", lm = "comm", cm = "rule", um = "decl", nM = "@import", b1 = "@keyframes", oM = "@layer", iM = Math.abs, rd = String.fromCharCode, aM = Object.assign;
1012
1012
  function sM(e, t) {
1013
1013
  return It(e, 0) ^ 45 ? (((t << 2 ^ It(e, 0)) << 2 ^ It(e, 1)) << 2 ^ It(e, 2)) << 2 ^ It(e, 3) : 0;
1014
1014
  }
@@ -1021,10 +1021,10 @@ function lM(e, t) {
1021
1021
  return (e = t.exec(e)) ? e[0] : e;
1022
1022
  }
1023
1023
  a(lM, "match$2");
1024
- function Ue(e, t, r) {
1024
+ function qe(e, t, r) {
1025
1025
  return e.replace(t, r);
1026
1026
  }
1027
- a(Ue, "replace$1");
1027
+ a(qe, "replace$1");
1028
1028
  function hf(e, t) {
1029
1029
  return e.indexOf(t);
1030
1030
  }
@@ -1184,7 +1184,7 @@ function Jl(e, t, r, n, o, i, s, l, u) {
1184
1184
  switch (m = k, k = lr()) {
1185
1185
  case 40:
1186
1186
  if (m != 108 && It(P, f - 1) == 58) {
1187
- hf(P += Ue(Yl(k), "&", "&\f"), "&\f") != -1 && (O = -1);
1187
+ hf(P += qe(Yl(k), "&", "&\f"), "&\f") != -1 && (O = -1);
1188
1188
  break;
1189
1189
  }
1190
1190
  case 34:
@@ -1221,7 +1221,7 @@ function Jl(e, t, r, n, o, i, s, l, u) {
1221
1221
  case 125:
1222
1222
  y = 0;
1223
1223
  case 59 + p:
1224
- O == -1 && (P = Ue(P, /\f/g, "")), g > 0 && Zr(P) - f && Sl(g > 32 ? lv(P + ";", n, r, f - 1) : lv(Ue(P, " ", "") + ";", n, r, f - 2), u);
1224
+ O == -1 && (P = qe(P, /\f/g, "")), g > 0 && Zr(P) - f && Sl(g > 32 ? lv(P + ";", n, r, f - 1) : lv(qe(P, " ", "") + ";", n, r, f - 2), u);
1225
1225
  break;
1226
1226
  case 59:
1227
1227
  P += ";";
@@ -1272,7 +1272,7 @@ a(Jl, "parse$2");
1272
1272
  function sv(e, t, r, n, o, i, s, l, u, d, p) {
1273
1273
  for (var f = o - 1, h = o === 0 ? i : [""], g = dm(h), m = 0, b = 0, y = 0; m < n; ++m)
1274
1274
  for (var O = 0, k = ks(e, f + 1, f = iM(b = s[m])), T = e; O < g; ++O)
1275
- (T = y1(b > 0 ? h[O] + " " + k : Ue(k, /&\f/g, h[O]))) && (u[y++] = T);
1275
+ (T = y1(b > 0 ? h[O] + " " + k : qe(k, /&\f/g, h[O]))) && (u[y++] = T);
1276
1276
  return od(e, t, r, o === 0 ? cm : l, u, d, p);
1277
1277
  }
1278
1278
  a(sv, "ruleset");
@@ -1409,7 +1409,7 @@ var xM = /* @__PURE__ */ a(function(t, r, n) {
1409
1409
  function C1(e, t) {
1410
1410
  switch (sM(e, t)) {
1411
1411
  case 5103:
1412
- return We + "print-" + e + e;
1412
+ return Ue + "print-" + e + e;
1413
1413
  case 5737:
1414
1414
  case 4201:
1415
1415
  case 3177:
@@ -1435,44 +1435,44 @@ function C1(e, t) {
1435
1435
  case 5365:
1436
1436
  case 5621:
1437
1437
  case 3829:
1438
- return We + e + e;
1438
+ return Ue + e + e;
1439
1439
  case 5349:
1440
1440
  case 4246:
1441
1441
  case 4810:
1442
1442
  case 6968:
1443
1443
  case 2756:
1444
- return We + e + pc + e + jt + e + e;
1444
+ return Ue + e + pc + e + jt + e + e;
1445
1445
  case 6828:
1446
1446
  case 4268:
1447
- return We + e + jt + e + e;
1447
+ return Ue + e + jt + e + e;
1448
1448
  case 6165:
1449
- return We + e + jt + "flex-" + e + e;
1449
+ return Ue + e + jt + "flex-" + e + e;
1450
1450
  case 5187:
1451
- return We + e + Ue(e, /(\w+).+(:[^]+)/, We + "box-$1$2" + jt + "flex-$1$2") + e;
1451
+ return Ue + e + qe(e, /(\w+).+(:[^]+)/, Ue + "box-$1$2" + jt + "flex-$1$2") + e;
1452
1452
  case 5443:
1453
- return We + e + jt + "flex-item-" + Ue(e, /flex-|-self/, "") + e;
1453
+ return Ue + e + jt + "flex-item-" + qe(e, /flex-|-self/, "") + e;
1454
1454
  case 4675:
1455
- return We + e + jt + "flex-line-pack" + Ue(e, /align-content|flex-|-self/, "") + e;
1455
+ return Ue + e + jt + "flex-line-pack" + qe(e, /align-content|flex-|-self/, "") + e;
1456
1456
  case 5548:
1457
- return We + e + jt + Ue(e, "shrink", "negative") + e;
1457
+ return Ue + e + jt + qe(e, "shrink", "negative") + e;
1458
1458
  case 5292:
1459
- return We + e + jt + Ue(e, "basis", "preferred-size") + e;
1459
+ return Ue + e + jt + qe(e, "basis", "preferred-size") + e;
1460
1460
  case 6060:
1461
- return We + "box-" + Ue(e, "-grow", "") + We + e + jt + Ue(e, "grow", "positive") + e;
1461
+ return Ue + "box-" + qe(e, "-grow", "") + Ue + e + jt + qe(e, "grow", "positive") + e;
1462
1462
  case 4554:
1463
- return We + Ue(e, /([^-])(transform)/g, "$1" + We + "$2") + e;
1463
+ return Ue + qe(e, /([^-])(transform)/g, "$1" + Ue + "$2") + e;
1464
1464
  case 6187:
1465
- return Ue(Ue(Ue(e, /(zoom-|grab)/, We + "$1"), /(image-set)/, We + "$1"), e, "") + e;
1465
+ return qe(qe(qe(e, /(zoom-|grab)/, Ue + "$1"), /(image-set)/, Ue + "$1"), e, "") + e;
1466
1466
  case 5495:
1467
1467
  case 3959:
1468
- return Ue(e, /(image-set\([^]*)/, We + "$1$`$1");
1468
+ return qe(e, /(image-set\([^]*)/, Ue + "$1$`$1");
1469
1469
  case 4968:
1470
- return Ue(Ue(e, /(.+:)(flex-)?(.*)/, We + "box-pack:$3" + jt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + We + e + e;
1470
+ return qe(qe(e, /(.+:)(flex-)?(.*)/, Ue + "box-pack:$3" + jt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Ue + e + e;
1471
1471
  case 4095:
1472
1472
  case 3583:
1473
1473
  case 4068:
1474
1474
  case 2532:
1475
- return Ue(e, /(.+)-inline(.+)/, We + "$1$2") + e;
1475
+ return qe(e, /(.+)-inline(.+)/, Ue + "$1$2") + e;
1476
1476
  case 8116:
1477
1477
  case 7059:
1478
1478
  case 5753:
@@ -1489,9 +1489,9 @@ function C1(e, t) {
1489
1489
  case 109:
1490
1490
  if (It(e, t + 4) !== 45) break;
1491
1491
  case 102:
1492
- return Ue(e, /(.+:)(.+)-([^]+)/, "$1" + We + "$2-$3$1" + pc + (It(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1492
+ return qe(e, /(.+:)(.+)-([^]+)/, "$1" + Ue + "$2-$3$1" + pc + (It(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1493
1493
  case 115:
1494
- return ~hf(e, "stretch") ? C1(Ue(e, "stretch", "fill-available"), t) + e : e;
1494
+ return ~hf(e, "stretch") ? C1(qe(e, "stretch", "fill-available"), t) + e : e;
1495
1495
  }
1496
1496
  break;
1497
1497
  case 4949:
@@ -1499,21 +1499,21 @@ function C1(e, t) {
1499
1499
  case 6444:
1500
1500
  switch (It(e, Zr(e) - 3 - (~hf(e, "!important") && 10))) {
1501
1501
  case 107:
1502
- return Ue(e, ":", ":" + We) + e;
1502
+ return qe(e, ":", ":" + Ue) + e;
1503
1503
  case 101:
1504
- return Ue(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + We + (It(e, 14) === 45 ? "inline-" : "") + "box$3$1" + We + "$2$3$1" + jt + "$2box$3") + e;
1504
+ return qe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Ue + (It(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Ue + "$2$3$1" + jt + "$2box$3") + e;
1505
1505
  }
1506
1506
  break;
1507
1507
  case 5936:
1508
1508
  switch (It(e, t + 11)) {
1509
1509
  case 114:
1510
- return We + e + jt + Ue(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1510
+ return Ue + e + jt + qe(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1511
1511
  case 108:
1512
- return We + e + jt + Ue(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1512
+ return Ue + e + jt + qe(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1513
1513
  case 45:
1514
- return We + e + jt + Ue(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1514
+ return Ue + e + jt + qe(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1515
1515
  }
1516
- return We + e + jt + e + e;
1516
+ return Ue + e + jt + e + e;
1517
1517
  }
1518
1518
  return e;
1519
1519
  }
@@ -1525,7 +1525,7 @@ var AM = /* @__PURE__ */ a(function(t, r, n, o) {
1525
1525
  break;
1526
1526
  case b1:
1527
1527
  return $i([Da(t, {
1528
- value: Ue(t.value, "@", "@" + We)
1528
+ value: qe(t.value, "@", "@" + Ue)
1529
1529
  })], o);
1530
1530
  case cm:
1531
1531
  if (t.length) return cM(t.props, function(i) {
@@ -1533,15 +1533,15 @@ var AM = /* @__PURE__ */ a(function(t, r, n, o) {
1533
1533
  case ":read-only":
1534
1534
  case ":read-write":
1535
1535
  return $i([Da(t, {
1536
- props: [Ue(i, /:(read-\w+)/, ":" + pc + "$1")]
1536
+ props: [qe(i, /:(read-\w+)/, ":" + pc + "$1")]
1537
1537
  })], o);
1538
1538
  case "::placeholder":
1539
1539
  return $i([Da(t, {
1540
- props: [Ue(i, /:(plac\w+)/, ":" + We + "input-$1")]
1540
+ props: [qe(i, /:(plac\w+)/, ":" + Ue + "input-$1")]
1541
1541
  }), Da(t, {
1542
- props: [Ue(i, /:(plac\w+)/, ":" + pc + "$1")]
1542
+ props: [qe(i, /:(plac\w+)/, ":" + pc + "$1")]
1543
1543
  }), Da(t, {
1544
- props: [Ue(i, /:(plac\w+)/, jt + "input-$1")]
1544
+ props: [qe(i, /:(plac\w+)/, jt + "input-$1")]
1545
1545
  })], o);
1546
1546
  }
1547
1547
  return "";
@@ -4800,7 +4800,7 @@ const SF = ["children", "className", "color", "component", "fontSize", "htmlColo
4800
4800
  } = e, o = {
4801
4801
  root: ["root", t !== "inherit" && `color${ue(t)}`, `fontSize${ue(r)}`]
4802
4802
  };
4803
- return Se(o, xF, n);
4803
+ return Ce(o, xF, n);
4804
4804
  }, "useUtilityClasses$M"), TF = J("svg", {
4805
4805
  name: "MuiSvgIcon",
4806
4806
  slot: "Root",
@@ -5862,7 +5862,7 @@ function M$(e = {}) {
5862
5862
  createStyledComponent: t = T$,
5863
5863
  useThemeProps: r = E$,
5864
5864
  componentName: n = "MuiStack"
5865
- } = e, o = /* @__PURE__ */ a(() => Se({
5865
+ } = e, o = /* @__PURE__ */ a(() => Ce({
5866
5866
  root: ["root"]
5867
5867
  }, (u) => ye(n, u), {}), "useUtilityClasses"), i = t(P$), s = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(u, d) {
5868
5868
  const p = r(u), f = gd(p), {
@@ -6458,7 +6458,7 @@ process.env.NODE_ENV !== "production" && c.oneOfType([c.string, c.shape({
6458
6458
  exitDone: c.string,
6459
6459
  exitActive: c.string
6460
6460
  })]);
6461
- const xc = nt.createContext(null);
6461
+ const xc = ot.createContext(null);
6462
6462
  var nI = /* @__PURE__ */ a(function(t) {
6463
6463
  return t.scrollTop;
6464
6464
  }, "forceReflow"), Ka = "unmounted", vo = "exited", Oo = "entering", Oi = "entered", Tf = "exiting", Wr = /* @__PURE__ */ function(e) {
@@ -6583,12 +6583,12 @@ var nI = /* @__PURE__ */ a(function(t) {
6583
6583
  var l = ne(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
6584
6584
  return (
6585
6585
  // allows for nested Transitions
6586
- /* @__PURE__ */ nt.createElement(xc.Provider, {
6586
+ /* @__PURE__ */ ot.createElement(xc.Provider, {
6587
6587
  value: null
6588
- }, typeof s == "function" ? s(o, l) : nt.cloneElement(nt.Children.only(s), l))
6588
+ }, typeof s == "function" ? s(o, l) : ot.cloneElement(ot.Children.only(s), l))
6589
6589
  );
6590
6590
  }, "render"), t;
6591
- }(nt.Component);
6591
+ }(ot.Component);
6592
6592
  Wr.contextType = xc;
6593
6593
  Wr.propTypes = process.env.NODE_ENV !== "production" ? {
6594
6594
  /**
@@ -6909,13 +6909,13 @@ var lI = Object.values || function(e) {
6909
6909
  }));
6910
6910
  }, "handleExited"), r.render = /* @__PURE__ */ a(function() {
6911
6911
  var o = this.props, i = o.component, s = o.childFactory, l = ne(o, ["component", "childFactory"]), u = this.state.contextValue, d = lI(this.state.children).map(s);
6912
- return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ nt.createElement(xc.Provider, {
6912
+ return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ ot.createElement(xc.Provider, {
6913
6913
  value: u
6914
- }, d) : /* @__PURE__ */ nt.createElement(xc.Provider, {
6914
+ }, d) : /* @__PURE__ */ ot.createElement(xc.Provider, {
6915
6915
  value: u
6916
- }, /* @__PURE__ */ nt.createElement(i, l, d));
6916
+ }, /* @__PURE__ */ ot.createElement(i, l, d));
6917
6917
  }, "render"), t;
6918
- }(nt.Component);
6918
+ }(ot.Component);
6919
6919
  Nm.propTypes = process.env.NODE_ENV !== "production" ? {
6920
6920
  /**
6921
6921
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
@@ -7146,7 +7146,7 @@ const fI = ["children", "className", "component", "components", "componentsProps
7146
7146
  classes: t,
7147
7147
  invisible: r
7148
7148
  } = e;
7149
- return Se({
7149
+ return Ce({
7150
7150
  root: ["root", r && "invisible"]
7151
7151
  }, pI, t);
7152
7152
  }, "useUtilityClasses$L"), mI = J("div", {
@@ -7408,7 +7408,7 @@ const xI = ["BackdropComponent", "BackdropProps", "classes", "className", "close
7408
7408
  exited: r,
7409
7409
  classes: n
7410
7410
  } = e;
7411
- return Se({
7411
+ return Ce({
7412
7412
  root: ["root", !t && r && "hidden"],
7413
7413
  backdrop: ["backdrop"]
7414
7414
  }, OI, n);
@@ -7768,7 +7768,7 @@ const MI = ["className", "component", "elevation", "square", "variant"], RI = /*
7768
7768
  } = e, i = {
7769
7769
  root: ["root", n, !t && "rounded", n === "elevation" && `elevation${r}`]
7770
7770
  };
7771
- return Se(i, PI, o);
7771
+ return Ce(i, PI, o);
7772
7772
  }, "useUtilityClasses$J"), AI = J("div", {
7773
7773
  name: "MuiPaper",
7774
7774
  slot: "Root",
@@ -7896,7 +7896,7 @@ const $I = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7896
7896
  container: ["container", `scroll${ue(r)}`],
7897
7897
  paper: ["paper", `paperScroll${ue(r)}`, `paperWidth${ue(String(n))}`, o && "paperFullWidth", i && "paperFullScreen"]
7898
7898
  };
7899
- return Se(s, FI, t);
7899
+ return Ce(s, FI, t);
7900
7900
  }, "useUtilityClasses$I"), NI = J(Od, {
7901
7901
  name: "MuiDialog",
7902
7902
  slot: "Root",
@@ -8228,7 +8228,7 @@ const zI = ["className", "disableSpacing"], BI = /* @__PURE__ */ a((e) => {
8228
8228
  classes: t,
8229
8229
  disableSpacing: r
8230
8230
  } = e;
8231
- return Se({
8231
+ return Ce({
8232
8232
  root: ["root", !r && "spacing"]
8233
8233
  }, jI, t);
8234
8234
  }, "useUtilityClasses$H"), VI = J("div", {
@@ -8309,7 +8309,7 @@ const UI = Oe("MuiDialogTitle", ["root"]), qI = ["className", "dividers"], GI =
8309
8309
  classes: t,
8310
8310
  dividers: r
8311
8311
  } = e;
8312
- return Se({
8312
+ return Ce({
8313
8313
  root: ["root", r && "dividers"]
8314
8314
  }, HI, t);
8315
8315
  }, "useUtilityClasses$G"), KI = J("div", {
@@ -8397,7 +8397,7 @@ const JI = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
8397
8397
  } = e, l = {
8398
8398
  root: ["root", i, e.align !== "inherit" && `align${ue(t)}`, r && "gutterBottom", n && "noWrap", o && "paragraph"]
8399
8399
  };
8400
- return Se(l, YI, s);
8400
+ return Ce(l, YI, s);
8401
8401
  }, "useUtilityClasses$F"), XI = J("span", {
8402
8402
  name: "MuiTypography",
8403
8403
  slot: "Root",
@@ -8559,7 +8559,7 @@ Oe("MuiDialogContentText", ["root"]);
8559
8559
  const rL = ["children", "className"], nL = /* @__PURE__ */ a((e) => {
8560
8560
  const {
8561
8561
  classes: t
8562
- } = e, n = Se({
8562
+ } = e, n = Ce({
8563
8563
  root: ["root"]
8564
8564
  }, tL, t);
8565
8565
  return E({}, t, n);
@@ -8612,7 +8612,7 @@ const iL = ["className", "id"], aL = /* @__PURE__ */ a((e) => {
8612
8612
  const {
8613
8613
  classes: t
8614
8614
  } = e;
8615
- return Se({
8615
+ return Ce({
8616
8616
  root: ["root"]
8617
8617
  }, WI, t);
8618
8618
  }, "useUtilityClasses$D"), sL = J(kt, {
@@ -9129,7 +9129,7 @@ const Nn = 44, xL = xa(t0 || (t0 = Cd`
9129
9129
  svg: ["svg"],
9130
9130
  circle: ["circle", `circle${ue(r)}`, o && "circleDisableShrink"]
9131
9131
  };
9132
- return Se(i, vL, t);
9132
+ return Ce(i, vL, t);
9133
9133
  }, "useUtilityClasses$C"), TL = J("span", {
9134
9134
  name: "MuiCircularProgress",
9135
9135
  slot: "Root",
@@ -9887,7 +9887,7 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
9887
9887
  root: ["root", `color${ue(r)}`, n && "disabled", o && "error", u && "fullWidth", s && "focused", l && "formControl", h && h !== "medium" && `size${ue(h)}`, p && "multiline", g && "adornedStart", i && "adornedEnd", d && "hiddenLabel", f && "readOnly"],
9888
9888
  input: ["input", n && "disabled", m === "search" && "inputTypeSearch", p && "inputMultiline", h === "small" && "inputSizeSmall", d && "inputHiddenLabel", g && "inputAdornedStart", i && "inputAdornedEnd", f && "readOnly"]
9889
9889
  };
9890
- return Se(b, HL, t);
9890
+ return Ce(b, HL, t);
9891
9891
  }, "useUtilityClasses$B"), Pd = J("div", {
9892
9892
  name: "MuiInputBase",
9893
9893
  slot: "Root",
@@ -10071,8 +10071,8 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10071
10071
  value: oe
10072
10072
  } = o, B = ne(o, WL), U = k.value != null ? k.value : oe, {
10073
10073
  current: K
10074
- } = x.useRef(U != null), q = x.useRef(), te = x.useCallback((Ce) => {
10075
- process.env.NODE_ENV !== "production" && Ce && Ce.nodeName !== "INPUT" && !Ce.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(`
10074
+ } = x.useRef(U != null), q = x.useRef(), te = x.useCallback((xe) => {
10075
+ process.env.NODE_ENV !== "production" && xe && xe.nodeName !== "INPUT" && !xe.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(`
10076
10076
  `));
10077
10077
  }, []), Z = St(q, T, k.ref, te), [ie, se] = x.useState(!1), ae = Pa();
10078
10078
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
@@ -10087,38 +10087,38 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10087
10087
  $.focused = ae ? ae.focused : ie, x.useEffect(() => {
10088
10088
  !ae && h && ie && (se(!1), R && R());
10089
10089
  }, [ae, h, ie, R]);
10090
- const ee = ae && ae.onFilled, G = ae && ae.onEmpty, be = x.useCallback((Ce) => {
10091
- Sc(Ce) ? ee && ee() : G && G();
10090
+ const ee = ae && ae.onFilled, G = ae && ae.onEmpty, be = x.useCallback((xe) => {
10091
+ Sc(xe) ? ee && ee() : G && G();
10092
10092
  }, [ee, G]);
10093
10093
  pn(() => {
10094
10094
  K && be({
10095
10095
  value: U
10096
10096
  });
10097
10097
  }, [U, be, K]);
10098
- const Ve = /* @__PURE__ */ a((Ce) => {
10098
+ const Ve = /* @__PURE__ */ a((xe) => {
10099
10099
  if ($.disabled) {
10100
- Ce.stopPropagation();
10100
+ xe.stopPropagation();
10101
10101
  return;
10102
10102
  }
10103
- A && A(Ce), k.onFocus && k.onFocus(Ce), ae && ae.onFocus ? ae.onFocus(Ce) : se(!0);
10104
- }, "handleFocus"), je = /* @__PURE__ */ a((Ce) => {
10105
- R && R(Ce), k.onBlur && k.onBlur(Ce), ae && ae.onBlur ? ae.onBlur(Ce) : se(!1);
10106
- }, "handleBlur"), $e = /* @__PURE__ */ a((Ce, ...ge) => {
10103
+ A && A(xe), k.onFocus && k.onFocus(xe), ae && ae.onFocus ? ae.onFocus(xe) : se(!0);
10104
+ }, "handleFocus"), je = /* @__PURE__ */ a((xe) => {
10105
+ R && R(xe), k.onBlur && k.onBlur(xe), ae && ae.onBlur ? ae.onBlur(xe) : se(!1);
10106
+ }, "handleBlur"), $e = /* @__PURE__ */ a((xe, ...me) => {
10107
10107
  if (!K) {
10108
- const it = Ce.target || q.current;
10109
- if (it == null)
10108
+ const et = xe.target || q.current;
10109
+ if (et == null)
10110
10110
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Mn(1));
10111
10111
  be({
10112
- value: it.value
10112
+ value: et.value
10113
10113
  });
10114
10114
  }
10115
- k.onChange && k.onChange(Ce, ...ge), M && M(Ce, ...ge);
10115
+ k.onChange && k.onChange(xe, ...me), M && M(xe, ...me);
10116
10116
  }, "handleChange");
10117
10117
  x.useEffect(() => {
10118
10118
  be(q.current);
10119
10119
  }, []);
10120
- const ct = /* @__PURE__ */ a((Ce) => {
10121
- q.current && Ce.currentTarget === Ce.target && q.current.focus(), F && F(Ce);
10120
+ const ct = /* @__PURE__ */ a((xe) => {
10121
+ q.current && xe.currentTarget === xe.target && q.current.focus(), F && F(xe);
10122
10122
  }, "handleClick");
10123
10123
  let Be = O, Te = k;
10124
10124
  w && Be === "input" && (V ? (process.env.NODE_ENV !== "production" && (S || C) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Te = E({
@@ -10130,15 +10130,15 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10130
10130
  maxRows: C,
10131
10131
  minRows: S
10132
10132
  }, Te), Be = jS);
10133
- const tt = /* @__PURE__ */ a((Ce) => {
10134
- be(Ce.animationName === "mui-auto-fill-cancel" ? q.current : {
10133
+ const rt = /* @__PURE__ */ a((xe) => {
10134
+ be(xe.animationName === "mui-auto-fill-cancel" ? q.current : {
10135
10135
  value: "x"
10136
10136
  });
10137
10137
  }, "handleAutoFill");
10138
10138
  x.useEffect(() => {
10139
10139
  ae && ae.setAdornedStart(!!D);
10140
10140
  }, [ae, D]);
10141
- const rt = E({}, o, {
10141
+ const nt = E({}, o, {
10142
10142
  color: $.color || "primary",
10143
10143
  disabled: $.disabled,
10144
10144
  endAdornment: m,
@@ -10151,10 +10151,10 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10151
10151
  size: $.size,
10152
10152
  startAdornment: D,
10153
10153
  type: H
10154
- }), ze = UL(rt), ut = Q.root || d.Root || Pd, pe = I.root || p.root || {}, Ge = Q.input || d.Input || Md;
10154
+ }), ze = UL(nt), ut = Q.root || d.Root || Pd, pe = I.root || p.root || {}, We = Q.input || d.Input || Md;
10155
10155
  return Te = E({}, Te, (n = I.input) != null ? n : p.input), /* @__PURE__ */ Y(x.Fragment, {
10156
10156
  children: [!g && qL, /* @__PURE__ */ Y(ut, E({}, pe, !Zi(ut) && {
10157
- ownerState: E({}, rt, pe.ownerState)
10157
+ ownerState: E({}, nt, pe.ownerState)
10158
10158
  }, {
10159
10159
  ref: r,
10160
10160
  onClick: ct
@@ -10162,8 +10162,8 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10162
10162
  className: re(ze.root, pe.className, u, z && "MuiInputBase-readOnly"),
10163
10163
  children: [D, /* @__PURE__ */ v(Ed.Provider, {
10164
10164
  value: null,
10165
- children: /* @__PURE__ */ v(Ge, E({
10166
- ownerState: rt,
10165
+ children: /* @__PURE__ */ v(We, E({
10166
+ ownerState: nt,
10167
10167
  "aria-invalid": $.error,
10168
10168
  "aria-describedby": i,
10169
10169
  autoComplete: s,
@@ -10171,7 +10171,7 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10171
10171
  defaultValue: f,
10172
10172
  disabled: $.disabled,
10173
10173
  id: y,
10174
- onAnimationStart: tt,
10174
+ onAnimationStart: rt,
10175
10175
  name: P,
10176
10176
  placeholder: L,
10177
10177
  readOnly: z,
@@ -10181,9 +10181,9 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10181
10181
  onKeyDown: j,
10182
10182
  onKeyUp: N,
10183
10183
  type: H
10184
- }, Te, !Zi(Ge) && {
10184
+ }, Te, !Zi(We) && {
10185
10185
  as: Be,
10186
- ownerState: E({}, rt, Te.ownerState)
10186
+ ownerState: E({}, nt, Te.ownerState)
10187
10187
  }, {
10188
10188
  ref: Z,
10189
10189
  className: re(ze.input, Te.className, z && "MuiInputBase-readOnly"),
@@ -10435,7 +10435,7 @@ a(GL, "getOutlinedInputUtilityClass");
10435
10435
  const vr = E({}, ra, Oe("MuiOutlinedInput", ["root", "notchedOutline", "input"])), KL = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], YL = /* @__PURE__ */ a((e) => {
10436
10436
  const {
10437
10437
  classes: t
10438
- } = e, n = Se({
10438
+ } = e, n = Ce({
10439
10439
  root: ["root"],
10440
10440
  notchedOutline: ["notchedOutline"],
10441
10441
  input: ["input"]
@@ -11056,7 +11056,7 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11056
11056
  focusVisible: r,
11057
11057
  focusVisibleClassName: n,
11058
11058
  classes: o
11059
- } = e, s = Se({
11059
+ } = e, s = Ce({
11060
11060
  root: ["root", t && "disabled", r && "focusVisible"]
11061
11061
  }, aN, o);
11062
11062
  return r && n && (s.root += ` ${n}`), s;
@@ -11155,27 +11155,27 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11155
11155
  x.useEffect(() => {
11156
11156
  U && h && !p && q && I.current.pulsate();
11157
11157
  }, [p, h, U, q]);
11158
- function ie(ge, it, vt = f) {
11159
- return sr((Et) => (it && it(Et), !vt && I.current && I.current[ge](Et), !0));
11158
+ function ie(me, et, vt = f) {
11159
+ return sr((Et) => (et && et(Et), !vt && I.current && I.current[me](Et), !0));
11160
11160
  }
11161
11161
  a(ie, "useRippleHandler");
11162
- const se = ie("start", w), ae = ie("stop", y), $ = ie("stop", O), ee = ie("stop", R), G = ie("stop", (ge) => {
11163
- U && ge.preventDefault(), P && P(ge);
11164
- }), be = ie("start", A), Ve = ie("stop", M), je = ie("stop", F), $e = ie("stop", (ge) => {
11165
- oe(ge), D.current === !1 && K(!1), m && m(ge);
11166
- }, !1), ct = sr((ge) => {
11167
- V.current || (V.current = ge.currentTarget), H(ge), D.current === !0 && (K(!0), T && T(ge)), k && k(ge);
11162
+ const se = ie("start", w), ae = ie("stop", y), $ = ie("stop", O), ee = ie("stop", R), G = ie("stop", (me) => {
11163
+ U && me.preventDefault(), P && P(me);
11164
+ }), be = ie("start", A), Ve = ie("stop", M), je = ie("stop", F), $e = ie("stop", (me) => {
11165
+ oe(me), D.current === !1 && K(!1), m && m(me);
11166
+ }, !1), ct = sr((me) => {
11167
+ V.current || (V.current = me.currentTarget), H(me), D.current === !0 && (K(!0), T && T(me)), k && k(me);
11168
11168
  }), Be = /* @__PURE__ */ a(() => {
11169
- const ge = V.current;
11170
- return u && u !== "button" && !(ge.tagName === "A" && ge.href);
11171
- }, "isNonNativeButton"), Te = x.useRef(!1), tt = sr((ge) => {
11172
- h && !Te.current && U && I.current && ge.key === " " && (Te.current = !0, I.current.stop(ge, () => {
11173
- I.current.start(ge);
11174
- })), ge.target === ge.currentTarget && Be() && ge.key === " " && ge.preventDefault(), C && C(ge), ge.target === ge.currentTarget && Be() && ge.key === "Enter" && !d && (ge.preventDefault(), b && b(ge));
11175
- }), rt = sr((ge) => {
11176
- h && ge.key === " " && I.current && U && !ge.defaultPrevented && (Te.current = !1, I.current.stop(ge, () => {
11177
- I.current.pulsate(ge);
11178
- })), S && S(ge), b && ge.target === ge.currentTarget && Be() && ge.key === " " && !ge.defaultPrevented && b(ge);
11169
+ const me = V.current;
11170
+ return u && u !== "button" && !(me.tagName === "A" && me.href);
11171
+ }, "isNonNativeButton"), Te = x.useRef(!1), rt = sr((me) => {
11172
+ h && !Te.current && U && I.current && me.key === " " && (Te.current = !0, I.current.stop(me, () => {
11173
+ I.current.start(me);
11174
+ })), me.target === me.currentTarget && Be() && me.key === " " && me.preventDefault(), C && C(me), me.target === me.currentTarget && Be() && me.key === "Enter" && !d && (me.preventDefault(), b && b(me));
11175
+ }), nt = sr((me) => {
11176
+ h && me.key === " " && I.current && U && !me.defaultPrevented && (Te.current = !1, I.current.stop(me, () => {
11177
+ I.current.pulsate(me);
11178
+ })), S && S(me), b && me.target === me.currentTarget && Be() && me.key === " " && !me.defaultPrevented && b(me);
11179
11179
  });
11180
11180
  let ze = u;
11181
11181
  ze === "button" && (_.href || _.to) && (ze = g);
@@ -11186,7 +11186,7 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11186
11186
  Z && !I.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
11187
11187
  `));
11188
11188
  }, [Z]);
11189
- const Ge = E({}, n, {
11189
+ const We = E({}, n, {
11190
11190
  centerRipple: i,
11191
11191
  component: u,
11192
11192
  disabled: d,
@@ -11195,17 +11195,17 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11195
11195
  focusRipple: h,
11196
11196
  tabIndex: j,
11197
11197
  focusVisible: U
11198
- }), Ce = cN(Ge);
11198
+ }), xe = cN(We);
11199
11199
  return /* @__PURE__ */ Y(uN, E({
11200
11200
  as: ze,
11201
- className: re(Ce.root, l),
11202
- ownerState: Ge,
11201
+ className: re(xe.root, l),
11202
+ ownerState: We,
11203
11203
  onBlur: $e,
11204
11204
  onClick: b,
11205
11205
  onContextMenu: ae,
11206
11206
  onFocus: ct,
11207
- onKeyDown: tt,
11208
- onKeyUp: rt,
11207
+ onKeyDown: rt,
11208
+ onKeyUp: nt,
11209
11209
  onMouseDown: se,
11210
11210
  onMouseLeave: G,
11211
11211
  onMouseUp: ee,
@@ -11398,7 +11398,7 @@ const WS = Oe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
11398
11398
  } = e, s = {
11399
11399
  root: ["root", r && "disabled", n !== "default" && `color${ue(n)}`, o && `edge${ue(o)}`, `size${ue(i)}`]
11400
11400
  };
11401
- return Se(s, dN, t);
11401
+ return Ce(s, dN, t);
11402
11402
  }, "useUtilityClasses$y"), hN = J(io, {
11403
11403
  name: "MuiIconButton",
11404
11404
  slot: "Root",
@@ -11588,7 +11588,7 @@ const SN = ["children", "className", "component", "dense", "disablePadding", "su
11588
11588
  dense: n,
11589
11589
  subheader: o
11590
11590
  } = e;
11591
- return Se({
11591
+ return Ce({
11592
11592
  root: ["root", !r && "padding", n && "dense", o && "subheader"]
11593
11593
  }, xN, t);
11594
11594
  }, "useUtilityClasses$x"), TN = J("ul", {
@@ -11708,7 +11708,7 @@ const Si = Oe("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
11708
11708
  disableGutters: i,
11709
11709
  divider: s,
11710
11710
  selected: l
11711
- } = e, d = Se({
11711
+ } = e, d = Ce({
11712
11712
  root: ["root", n && "dense", !i && "gutters", s && "divider", o && "disabled", t === "flex-start" && "alignItemsFlexStart", l && "selected"]
11713
11713
  }, kN, r);
11714
11714
  return E({}, r, d);
@@ -11906,7 +11906,7 @@ const FN = ["className"], $N = /* @__PURE__ */ a((e) => {
11906
11906
  disableGutters: t,
11907
11907
  classes: r
11908
11908
  } = e;
11909
- return Se({
11909
+ return Ce({
11910
11910
  root: ["root", t && "disableGutters"]
11911
11911
  }, AN, r);
11912
11912
  }, "useUtilityClasses$v"), IN = J("div", {
@@ -11983,7 +11983,7 @@ const LN = ["className"], NN = ["alignItems", "autoFocus", "button", "children",
11983
11983
  hasSecondaryAction: d,
11984
11984
  selected: p
11985
11985
  } = e;
11986
- return Se({
11986
+ return Ce({
11987
11987
  root: ["root", o && "dense", !s && "gutters", !l && "padding", u && "divider", i && "disabled", r && "button", t === "flex-start" && "alignItemsFlexStart", d && "secondaryAction", p && "selected"],
11988
11988
  container: ["container"]
11989
11989
  }, EN, n);
@@ -12311,7 +12311,7 @@ const p0 = Oe("MuiListItemIcon", ["root", "alignItemsFlexStart"]), VN = ["classN
12311
12311
  alignItems: t,
12312
12312
  classes: r
12313
12313
  } = e;
12314
- return Se({
12314
+ return Ce({
12315
12315
  root: ["root", t === "flex-start" && "alignItemsFlexStart"]
12316
12316
  }, BN, r);
12317
12317
  }, "useUtilityClasses$t"), WN = J("div", {
@@ -12383,7 +12383,7 @@ const Cc = Oe("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
12383
12383
  secondary: o,
12384
12384
  dense: i
12385
12385
  } = e;
12386
- return Se({
12386
+ return Ce({
12387
12387
  root: ["root", r && "inset", i && "dense", n && o && "multiline"],
12388
12388
  primary: ["primary"],
12389
12389
  secondary: ["secondary"]
@@ -12791,7 +12791,7 @@ const XN = ["BackdropProps"], ZN = ["anchor", "BackdropProps", "children", "clas
12791
12791
  modal: ["modal"],
12792
12792
  paper: ["paper", `paperAnchor${ue(r)}`, n !== "temporary" && `paperAnchorDocked${ue(r)}`]
12793
12793
  };
12794
- return Se(o, QN, t);
12794
+ return Ce(o, QN, t);
12795
12795
  }, "useUtilityClasses$r"), tD = J(Od, {
12796
12796
  name: "MuiDrawer",
12797
12797
  slot: "Root",
@@ -13680,7 +13680,7 @@ const Dn = Oe("MuiBadge", [
13680
13680
  root: ["root"],
13681
13681
  badge: ["badge", i, n && "invisible", `anchorOrigin${ue(r.vertical)}${ue(r.horizontal)}`, `anchorOrigin${ue(r.vertical)}${ue(r.horizontal)}${ue(o)}`, `overlap${ue(o)}`, t !== "default" && `color${ue(t)}`]
13682
13682
  };
13683
- return Se(l, bD, s);
13683
+ return Ce(l, bD, s);
13684
13684
  }, "useUtilityClasses$q"), OD = J("span", {
13685
13685
  name: "MuiBadge",
13686
13686
  slot: "Root",
@@ -21221,9 +21221,9 @@ const m_ = {
21221
21221
  })(tC);
21222
21222
  const L_ = /* @__PURE__ */ a((e) => {
21223
21223
  const { onRenderGrilla: t, onLoadGrilla: r, apiRef: n = {} } = e, { isLoading: o } = qi(), i = Sd(e);
21224
- et(() => {
21224
+ tt(() => {
21225
21225
  t && t({ ...i, api: n == null ? void 0 : n.current });
21226
- }, []), et(() => {
21226
+ }, []), tt(() => {
21227
21227
  o || r && r({ ...i, api: n == null ? void 0 : n.current });
21228
21228
  }, [o]);
21229
21229
  }, "useInitGrilla");
@@ -21248,7 +21248,7 @@ const z_ = ["className", "color", "enableColorOnDark", "position"], B_ = /* @__P
21248
21248
  } = e, o = {
21249
21249
  root: ["root", `color${ue(t)}`, `position${ue(r)}`]
21250
21250
  };
21251
- return Se(o, j_, n);
21251
+ return Ce(o, j_, n);
21252
21252
  }, "useUtilityClasses$p"), Pl = /* @__PURE__ */ a((e, t) => e ? `${e == null ? void 0 : e.replace(")", "")}, ${t})` : t, "joinVars"), V_ = J(hn, {
21253
21253
  name: "MuiAppBar",
21254
21254
  slot: "Root",
@@ -21403,7 +21403,7 @@ const W_ = ["className", "component", "disableGutters", "variant"], U_ = /* @__P
21403
21403
  disableGutters: r,
21404
21404
  variant: n
21405
21405
  } = e;
21406
- return Se({
21406
+ return Ce({
21407
21407
  root: ["root", !r && "gutters", n]
21408
21408
  }, H_, t);
21409
21409
  }, "useUtilityClasses$o"), q_ = J("div", {
@@ -21963,7 +21963,7 @@ const pC = /* @__PURE__ */ a((e) => {
21963
21963
  } = e, u = ke(qm), d = r === "ventana" ? bj : Wx, p = Yh(), [f, h] = De(null), [g, m] = De(i), b = /* @__PURE__ */ a((y) => {
21964
21964
  m(y.target.checked);
21965
21965
  }, "handleChange");
21966
- return et(() => {
21966
+ return tt(() => {
21967
21967
  p.getGrillaConfig(t).then((y) => {
21968
21968
  h(y.data);
21969
21969
  }).catch((y) => {
@@ -22021,7 +22021,13 @@ const pC = /* @__PURE__ */ a((e) => {
22021
22021
  ["isAnyOf", "isAnyOf"]
22022
22022
  ]), b0 = new Map(
22023
22023
  Array.from(xj, (e) => [e[1], e[0]])
22024
- ), Sj = /* @__PURE__ */ a((e) => e.items.reduce((t, r) => (typeof r.field < "u" && r.operator && (b0.has(r.operator) ? t[`${r.field}_${b0.get(r.operator)}`] = r.value : t[r.field] = r.value), t), {}), "defaultConvertFilterModelToFilterValues"), mC = /* @__PURE__ */ a((e) => {
22024
+ ), Sj = /* @__PURE__ */ a((e) => e.items.reduce((t, r) => {
22025
+ if (typeof r.field < "u" && r.operator) {
22026
+ let n = r.field;
22027
+ n === "__row_group_by_columns_group__" && e.groupingField && (n = e.groupingField), b0.has(r.operator) ? t[`${n}_${b0.get(r.operator)}`] = r.value : t[n] = r.value;
22028
+ }
22029
+ return t;
22030
+ }, {}), "defaultConvertFilterModelToFilterValues"), mC = /* @__PURE__ */ a((e) => {
22025
22031
  const {
22026
22032
  actionButtons: t = [],
22027
22033
  actionButtonsHeader: r,
@@ -22062,16 +22068,16 @@ const pC = /* @__PURE__ */ a((e) => {
22062
22068
  sort: H,
22063
22069
  setSort: oe
22064
22070
  } = qi(), B = Js(), U = Xs(), K = tm(), q = ke(hC), te = ke(EB), Z = dg();
22065
- et(() => {
22071
+ tt(() => {
22066
22072
  te && (te.current.activePanel.params.apiRef = K);
22067
22073
  }, [te]);
22068
22074
  const ie = {}, se = [], ae = [], $ = i.map((pe) => {
22069
- const Ge = q[pe.field.replace("_lis", "")];
22070
- return Ge ? { ...pe, ...Ge } : pe;
22075
+ const We = q[pe.field.replace("_lis", "")];
22076
+ return We ? { ...pe, ...We } : pe;
22071
22077
  }).sort(
22072
- (pe, Ge) => {
22073
- var Ce, ge;
22074
- return parseInt((Ce = q[pe.field.replace("_lis", "")]) == null ? void 0 : Ce.orden) - parseInt((ge = q[Ge.field.replace("_lis", "")]) == null ? void 0 : ge.orden);
22078
+ (pe, We) => {
22079
+ var xe, me;
22080
+ return parseInt((xe = q[pe.field.replace("_lis", "")]) == null ? void 0 : xe.orden) - parseInt((me = q[We.field.replace("_lis", "")]) == null ? void 0 : me.orden);
22075
22081
  }
22076
22082
  ), {
22077
22083
  columns: { columnVisibilityModel: ee = {} },
@@ -22117,11 +22123,11 @@ const pC = /* @__PURE__ */ a((e) => {
22117
22123
  hideable: !1,
22118
22124
  renderHeader: /* @__PURE__ */ a(() => /* @__PURE__ */ v(Pn, { children: r }), "renderHeader"),
22119
22125
  getActions: /* @__PURE__ */ a((pe) => {
22120
- const Ge = K.current.getRowNode(pe.id), Ce = !Rf(
22126
+ const We = K.current.getRowNode(pe.id), xe = !Rf(
22121
22127
  pe.row,
22122
22128
  s
22123
- ), ge = y && Ce, it = t.filter((vt) => !!vt).map((vt, Et) => {
22124
- const { handler: or, key: me, ...X } = vt;
22129
+ ), me = y && xe, et = t.filter((vt) => !!vt).map((vt, Et) => {
22130
+ const { handler: or, key: ge, ...X } = vt;
22125
22131
  return /* @__PURE__ */ v(
22126
22132
  Gy,
22127
22133
  {
@@ -22134,7 +22140,7 @@ const pC = /* @__PURE__ */ a((e) => {
22134
22140
  ...P,
22135
22141
  record: pe.row
22136
22142
  },
22137
- me
22143
+ ge
22138
22144
  ) : !1, "onClick"),
22139
22145
  ...X
22140
22146
  },
@@ -22155,7 +22161,7 @@ const pC = /* @__PURE__ */ a((e) => {
22155
22161
  }
22156
22162
  });
22157
22163
  }, "handleClick");
22158
- it.unshift(
22164
+ et.unshift(
22159
22165
  /* @__PURE__ */ v(
22160
22166
  Gy,
22161
22167
  {
@@ -22173,7 +22179,7 @@ const pC = /* @__PURE__ */ a((e) => {
22173
22179
  }
22174
22180
  return pe.row.id ? [
22175
22181
  ...h ? [
22176
- ge ? /* @__PURE__ */ v(
22182
+ me ? /* @__PURE__ */ v(
22177
22183
  m0,
22178
22184
  {
22179
22185
  record: pe.row
@@ -22182,7 +22188,7 @@ const pC = /* @__PURE__ */ a((e) => {
22182
22188
  rj,
22183
22189
  {
22184
22190
  record: pe.row,
22185
- disabled: Ce
22191
+ disabled: xe
22186
22192
  }
22187
22193
  )
22188
22194
  ] : y ? [
@@ -22194,13 +22200,13 @@ const pC = /* @__PURE__ */ a((e) => {
22194
22200
  `show-${pe.row.id}`
22195
22201
  )
22196
22202
  ] : [],
22197
- ...it
22198
- ] : Ge.children[0].indexOf(`${b}=`) !== -1 ? [
22203
+ ...et
22204
+ ] : We.children[0].indexOf(`${b}=`) !== -1 ? [
22199
22205
  /* @__PURE__ */ v(
22200
22206
  X_,
22201
22207
  {
22202
22208
  record: b ? {
22203
- [b]: Ge.children[0].split(
22209
+ [b]: We.children[0].split(
22204
22210
  `${b}=`
22205
22211
  )[1].replaceAll(
22206
22212
  "[",
@@ -22215,18 +22221,23 @@ const pC = /* @__PURE__ */ a((e) => {
22215
22221
  }
22216
22222
  ]) : je, ct = fr(() => $e, []), Be = j && Cn(F), Te = /* @__PURE__ */ a((pe) => {
22217
22223
  _ || (j || !O ? I(pe) : K.current.isRowSelected(pe[0]) ? I([]) : I(pe));
22218
- }, "handleSelectionChange"), tt = /* @__PURE__ */ a((pe) => {
22219
- D(m(pe), Q);
22220
- }, "handleFilterChange"), rt = /* @__PURE__ */ a((pe) => {
22224
+ }, "handleSelectionChange"), rt = /* @__PURE__ */ a((pe) => {
22225
+ var et;
22226
+ const me = (((et = K.current.state.rowGrouping) == null ? void 0 : et.model) || [])[0];
22227
+ D(
22228
+ m({ groupingField: me, ...pe }),
22229
+ Q
22230
+ );
22231
+ }, "handleFilterChange"), nt = /* @__PURE__ */ a((pe) => {
22221
22232
  if (pe.length > 0) {
22222
- const { field: Ge } = pe[0];
22223
- let Ce;
22224
- H.field === Ge ? Ce = H.order === "ASC" ? "DESC" : H.order === "DESC" ? "" : "ASC" : Ce = "ASC", oe({ field: Ge, order: Ce });
22233
+ const { field: We } = pe[0];
22234
+ let xe;
22235
+ H.field === We ? xe = H.order === "ASC" ? "DESC" : H.order === "DESC" ? "" : "ASC" : xe = "ASC", oe({ field: We, order: xe });
22225
22236
  } else
22226
22237
  oe({ field: "", order: "" });
22227
22238
  }, "handleSortModelChange"), ze = /* @__PURE__ */ a((pe) => {
22228
- var Ge;
22229
- !((Ge = pe == null ? void 0 : pe.id) != null && Ge.startsWith("auto-generated-row")) && h && Rf(pe.row, s) && U(`/${M}/${pe.id}`);
22239
+ var We;
22240
+ !((We = pe == null ? void 0 : pe.id) != null && We.startsWith("auto-generated-row")) && h && Rf(pe.row, s) && U(`/${M}/${pe.id}`);
22230
22241
  }, "handleRowDoubleClick"), ut = !e.unstable_listView && !N ? H.field ? {
22231
22242
  sortModel: [
22232
22243
  {
@@ -22267,14 +22278,14 @@ const pC = /* @__PURE__ */ a((e) => {
22267
22278
  disableMultipleRowSelection: !j && O,
22268
22279
  checkboxSelection: N,
22269
22280
  filterMode: "server",
22270
- onFilterModelChange: tt,
22281
+ onFilterModelChange: rt,
22271
22282
  rowSelectionModel: V,
22272
22283
  onRowSelectionModelChange: Te,
22273
22284
  isRowSelectable: /* @__PURE__ */ a((pe) => pe.row.id, "isRowSelectable"),
22274
22285
  onRowDoubleClick: ze,
22275
22286
  initialState: Ve,
22276
22287
  ...ut,
22277
- onSortModelChange: rt,
22288
+ onSortModelChange: nt,
22278
22289
  sortingMode: "server",
22279
22290
  ...S,
22280
22291
  ...L
@@ -22458,7 +22469,7 @@ const pC = /* @__PURE__ */ a((e) => {
22458
22469
  } = e, { dirtyFields: d, isValid: p } = AP(), {
22459
22470
  fichaProps: { [e.source]: f = {}, etrs: h }
22460
22471
  } = ke(xt), g = ka(), m = ke(wa), { onAfterRenderAsistente: b, ...y } = f, O = mn({ resource: r, etrs: h, asisEtr: m });
22461
- return et(() => {
22472
+ return tt(() => {
22462
22473
  u && typeof b == "function" && b({ ...O, form: t }, n);
22463
22474
  }, [u]), /* @__PURE__ */ Y(Pn, { children: [
22464
22475
  /* @__PURE__ */ v(pl, { children: /* @__PURE__ */ v(Kh, { spacing: 4, children: Yu.map(
@@ -22703,7 +22714,7 @@ const pC = /* @__PURE__ */ a((e) => {
22703
22714
  field: ee
22704
22715
  }
22705
22716
  ]);
22706
- }), et(() => {
22717
+ }), tt(() => {
22707
22718
  u || setTimeout(() => {
22708
22719
  T.setValue(h, "");
22709
22720
  }, 1e3);
@@ -22951,7 +22962,7 @@ const y0 = Oe("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
22951
22962
  textAlign: l,
22952
22963
  variant: u
22953
22964
  } = e;
22954
- return Se({
22965
+ return Ce({
22955
22966
  root: ["root", t && "absolute", u, i && "light", s === "vertical" && "vertical", o && "flexItem", r && "withChildren", r && s === "vertical" && "withChildrenVertical", l === "right" && s !== "vertical" && "textAlignRight", l === "left" && s !== "vertical" && "textAlignLeft"],
22956
22967
  wrapper: ["wrapper", s === "vertical" && "wrapperVertical"]
22957
22968
  }, $j, n);
@@ -23185,7 +23196,7 @@ const _n = Oe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
23185
23196
  root: ["root", i && s && "labelIcon", `textColor${ue(r)}`, n && "fullWidth", o && "wrapped", l && "selected", u && "disabled"],
23186
23197
  iconWrapper: ["iconWrapper"]
23187
23198
  };
23188
- return Se(d, _j, t);
23199
+ return Ce(d, _j, t);
23189
23200
  }, "useUtilityClasses$m"), Bj = J(io, {
23190
23201
  name: "MuiTab",
23191
23202
  slot: "Root",
@@ -23479,7 +23490,7 @@ const Yj = Oe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
23479
23490
  orientation: r,
23480
23491
  disabled: n
23481
23492
  } = e;
23482
- return Se({
23493
+ return Ce({
23483
23494
  root: ["root", r, n && "disabled"]
23484
23495
  }, Kj, t);
23485
23496
  }, "useUtilityClasses$l"), Xj = J(io, {
@@ -23627,7 +23638,7 @@ const kp = Oe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
23627
23638
  scrollButtonsHideMobile: l,
23628
23639
  classes: u
23629
23640
  } = e;
23630
- return Se({
23641
+ return Ce({
23631
23642
  root: ["root", t && "vertical"],
23632
23643
  scroller: ["scroller", r && "fixed", n && "hideScrollbar", o && "scrollableX", i && "scrollableY"],
23633
23644
  flexContainer: ["flexContainer", t && "flexContainerVertical", s && "centered"],
@@ -23866,10 +23877,10 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23866
23877
  de ? Hj(z, je.current, X, {
23867
23878
  duration: o.transitions.duration.standard
23868
23879
  }) : je.current[z] = X;
23869
- }, "scroll"), tt = /* @__PURE__ */ a((X) => {
23880
+ }, "scroll"), rt = /* @__PURE__ */ a((X) => {
23870
23881
  let de = je.current[z];
23871
23882
  L ? de += X : (de += X * (i ? -1 : 1), de *= i && cw() === "reverse" ? -1 : 1), Te(de);
23872
- }, "moveTabsScroll"), rt = /* @__PURE__ */ a(() => {
23883
+ }, "moveTabsScroll"), nt = /* @__PURE__ */ a(() => {
23873
23884
  const X = je.current[I];
23874
23885
  let de = 0;
23875
23886
  const Me = Array.from($e.current.children);
@@ -23883,15 +23894,15 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23883
23894
  }
23884
23895
  return de;
23885
23896
  }, "getScrollSize"), ze = /* @__PURE__ */ a(() => {
23886
- tt(-1 * rt());
23897
+ rt(-1 * nt());
23887
23898
  }, "handleStartScrollClick"), ut = /* @__PURE__ */ a(() => {
23888
- tt(rt());
23899
+ rt(nt());
23889
23900
  }, "handleEndScrollClick"), pe = x.useCallback((X) => {
23890
23901
  be({
23891
23902
  overflow: null,
23892
23903
  scrollbarWidth: X
23893
23904
  });
23894
- }, []), Ge = /* @__PURE__ */ a(() => {
23905
+ }, []), We = /* @__PURE__ */ a(() => {
23895
23906
  const X = {};
23896
23907
  X.scrollbarSizeListener = N ? /* @__PURE__ */ v(az, {
23897
23908
  onChange: pe,
@@ -23925,7 +23936,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23925
23936
  }, P, {
23926
23937
  className: re(H.scrollButtons, P.className)
23927
23938
  })) : null, X;
23928
- }, "getConditionalElements"), Ce = sr((X) => {
23939
+ }, "getConditionalElements"), xe = sr((X) => {
23929
23940
  const {
23930
23941
  tabsMeta: de,
23931
23942
  tabMeta: Me
@@ -23943,7 +23954,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23943
23954
  });
23944
23955
  }
23945
23956
  }
23946
- }), ge = sr(() => {
23957
+ }), me = sr(() => {
23947
23958
  N && k !== !1 && ee(!$);
23948
23959
  });
23949
23960
  x.useEffect(() => {
@@ -23960,7 +23971,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23960
23971
  var Dr;
23961
23972
  (Dr = de) == null || Dr.observe(Ln);
23962
23973
  });
23963
- }), X(), ge();
23974
+ }), X(), me();
23964
23975
  }, "handleMutation"), Ne = zr(je.current);
23965
23976
  Ne.addEventListener("resize", X);
23966
23977
  let dt;
@@ -23972,7 +23983,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23972
23983
  var At, hr;
23973
23984
  X.clear(), Ne.removeEventListener("resize", X), (At = dt) == null || At.disconnect(), (hr = de) == null || hr.disconnect();
23974
23985
  };
23975
- }, [Be, ge]), x.useEffect(() => {
23986
+ }, [Be, me]), x.useEffect(() => {
23976
23987
  const X = Array.from($e.current.children), de = X.length;
23977
23988
  if (typeof IntersectionObserver < "u" && de > 0 && N && k !== !1) {
23978
23989
  const Me = X[0], Ne = X[de - 1], dt = {
@@ -23994,12 +24005,12 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23994
24005
  }, []), x.useEffect(() => {
23995
24006
  Be();
23996
24007
  }), x.useEffect(() => {
23997
- Ce(x0 !== q);
23998
- }, [Ce, q]), x.useImperativeHandle(u, () => ({
24008
+ xe(x0 !== q);
24009
+ }, [xe, q]), x.useImperativeHandle(u, () => ({
23999
24010
  updateIndicator: Be,
24000
- updateScrollButtons: ge
24001
- }), [Be, ge]);
24002
- const it = /* @__PURE__ */ v(iz, E({}, w, {
24011
+ updateScrollButtons: me
24012
+ }), [Be, me]);
24013
+ const et = /* @__PURE__ */ v(iz, E({}, w, {
24003
24014
  className: re(H.indicator, w.className),
24004
24015
  ownerState: D,
24005
24016
  style: E({}, q, w.style)
@@ -24015,7 +24026,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24015
24026
  const Me = de === M;
24016
24027
  return vt += 1, /* @__PURE__ */ x.cloneElement(X, E({
24017
24028
  fullWidth: F === "fullWidth",
24018
- indicator: Me && !U && it,
24029
+ indicator: Me && !U && et,
24019
24030
  selected: Me,
24020
24031
  selectionFollowsFocus: T,
24021
24032
  onChange: b,
@@ -24043,14 +24054,14 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24043
24054
  X.preventDefault(), Ml(de, null, O0);
24044
24055
  break;
24045
24056
  }
24046
- }, "handleKeyDown"), me = Ge();
24057
+ }, "handleKeyDown"), ge = We();
24047
24058
  return /* @__PURE__ */ Y(rz, E({
24048
24059
  className: re(H.root, f),
24049
24060
  ownerState: D,
24050
24061
  ref: r,
24051
24062
  as: h
24052
24063
  }, j, {
24053
- children: [me.scrollButtonStart, me.scrollbarSizeListener, /* @__PURE__ */ Y(nz, {
24064
+ children: [ge.scrollButtonStart, ge.scrollbarSizeListener, /* @__PURE__ */ Y(nz, {
24054
24065
  className: H.scroller,
24055
24066
  ownerState: D,
24056
24067
  style: {
@@ -24068,8 +24079,8 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24068
24079
  ref: $e,
24069
24080
  role: "tablist",
24070
24081
  children: Et
24071
- }), U && it]
24072
- }), me.scrollButtonEnd]
24082
+ }), U && et]
24083
+ }), ge.scrollButtonEnd]
24073
24084
  }));
24074
24085
  }, "Tabs"));
24075
24086
  process.env.NODE_ENV !== "production" && (xC.propTypes = {
@@ -25068,8 +25079,8 @@ const Mz = /^(\d+)(th|st|nd|rd)?/i, Rz = /\d+/i, Az = {
25068
25079
  }
25069
25080
  }, nr = /* @__PURE__ */ a((e) => {
25070
25081
  const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = ke(xt), i = ke(wa), s = i !== void 0, l = nm((Te) => {
25071
- const tt = Te.configInputs ? Te.configInputs.filter((rt) => rt.id === t) : [];
25072
- return tt[0] ? tt[0] : null;
25082
+ const rt = Te.configInputs ? Te.configInputs.filter((nt) => nt.id === t) : [];
25083
+ return rt[0] ? rt[0] : null;
25073
25084
  }), {
25074
25085
  disabled: u,
25075
25086
  hidden: d,
@@ -25653,7 +25664,7 @@ var mg = {};
25653
25664
  Object.defineProperty(mg, "__esModule", {
25654
25665
  value: !0
25655
25666
  });
25656
- var kC = mg.default = void 0, $B = LB(nt), IB = I1;
25667
+ var kC = mg.default = void 0, $B = LB(ot), IB = I1;
25657
25668
  function wC(e) {
25658
25669
  if (typeof WeakMap != "function") return null;
25659
25670
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
@@ -26441,8 +26452,8 @@ function AV(e) {
26441
26452
  w[C] = Ve, j[C] = Ve - V;
26442
26453
  }
26443
26454
  if (l) {
26444
- var je, $e = C === "x" ? Xt : Zt, ct = C === "x" ? Ar : Fr, Be = w[S], Te = S === "y" ? "height" : "width", tt = Be + y[$e], rt = Be - y[ct], ze = [Xt, Zt].indexOf(O) !== -1, ut = (je = A == null ? void 0 : A[S]) != null ? je : 0, pe = ze ? tt : Be - P[Te] - R[Te] - ut + F.altAxis, Ge = ze ? Be + P[Te] + R[Te] - ut - F.altAxis : rt, Ce = g && ze ? tV(pe, Be, Ge) : es(g ? pe : tt, Be, g ? Ge : rt);
26445
- w[S] = Ce, j[S] = Ce - Be;
26455
+ var je, $e = C === "x" ? Xt : Zt, ct = C === "x" ? Ar : Fr, Be = w[S], Te = S === "y" ? "height" : "width", rt = Be + y[$e], nt = Be - y[ct], ze = [Xt, Zt].indexOf(O) !== -1, ut = (je = A == null ? void 0 : A[S]) != null ? je : 0, pe = ze ? rt : Be - P[Te] - R[Te] - ut + F.altAxis, We = ze ? Be + P[Te] + R[Te] - ut - F.altAxis : nt, xe = g && ze ? tV(pe, Be, We) : es(g ? pe : rt, Be, g ? We : nt);
26456
+ w[S] = xe, j[S] = xe - Be;
26446
26457
  }
26447
26458
  t.modifiersData[n] = j;
26448
26459
  }
@@ -26698,7 +26709,7 @@ const YV = /* @__PURE__ */ a((e) => {
26698
26709
  const {
26699
26710
  classes: t
26700
26711
  } = e;
26701
- return Se({
26712
+ return Ce({
26702
26713
  root: ["root"]
26703
26714
  }, WV, t);
26704
26715
  }, "useUtilityClasses$j"), JV = {}, QV = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
@@ -27168,7 +27179,7 @@ const n5 = /* @__PURE__ */ a((e) => {
27168
27179
  tooltip: ["tooltip", n && "tooltipArrow", o && "touch", `tooltipPlacement${ue(i.split("-")[0])}`],
27169
27180
  arrow: ["arrow"]
27170
27181
  };
27171
- return Se(s, e5, t);
27182
+ return Ce(s, e5, t);
27172
27183
  }, "useUtilityClasses$i"), o5 = J(Cg, {
27173
27184
  name: "MuiTooltip",
27174
27185
  slot: "Popper",
@@ -27366,13 +27377,13 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27366
27377
  TransitionProps: ee
27367
27378
  } = w, G = ne(w, t5), be = /* @__PURE__ */ x.isValidElement(R) ? R : /* @__PURE__ */ v("span", {
27368
27379
  children: R
27369
- }), Ve = In(), je = sl(), [$e, ct] = x.useState(), [Be, Te] = x.useState(null), tt = x.useRef(!1), rt = L || Q, ze = ki(), ut = ki(), pe = ki(), Ge = ki(), [Ce, ge] = bc({
27380
+ }), Ve = In(), je = sl(), [$e, ct] = x.useState(), [Be, Te] = x.useState(null), rt = x.useRef(!1), nt = L || Q, ze = ki(), ut = ki(), pe = ki(), We = ki(), [xe, me] = bc({
27370
27381
  controlled: K,
27371
27382
  default: !1,
27372
27383
  name: "Tooltip",
27373
27384
  state: "open"
27374
27385
  });
27375
- let it = Ce;
27386
+ let et = xe;
27376
27387
  if (process.env.NODE_ENV !== "production") {
27377
27388
  const {
27378
27389
  current: Ie
@@ -27383,11 +27394,11 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27383
27394
  }, [ae, $e, Ie]);
27384
27395
  }
27385
27396
  const vt = al(D), Et = x.useRef(), or = sr(() => {
27386
- Et.current !== void 0 && (document.body.style.WebkitUserSelect = Et.current, Et.current = void 0), Ge.clear();
27397
+ Et.current !== void 0 && (document.body.style.WebkitUserSelect = Et.current, Et.current = void 0), We.clear();
27387
27398
  });
27388
27399
  x.useEffect(() => or, [or]);
27389
- const me = /* @__PURE__ */ a((Ie) => {
27390
- $0.clear(), Al = !0, ge(!0), U && !it && U(Ie);
27400
+ const ge = /* @__PURE__ */ a((Ie) => {
27401
+ $0.clear(), Al = !0, me(!0), U && !et && U(Ie);
27391
27402
  }, "handleOpen"), X = sr(
27392
27403
  /**
27393
27404
  * @param {React.SyntheticEvent | Event} event
@@ -27395,14 +27406,14 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27395
27406
  (Ie) => {
27396
27407
  $0.start(800 + H, () => {
27397
27408
  Al = !1;
27398
- }), ge(!1), B && it && B(Ie), ze.start(Ve.transitions.duration.shortest, () => {
27399
- tt.current = !1;
27409
+ }), me(!1), B && et && B(Ie), ze.start(Ve.transitions.duration.shortest, () => {
27410
+ rt.current = !1;
27400
27411
  });
27401
27412
  }
27402
27413
  ), de = /* @__PURE__ */ a((Ie) => {
27403
- tt.current && Ie.type !== "touchstart" || ($e && $e.removeAttribute("title"), ut.clear(), pe.clear(), _ || Al && V ? ut.start(Al ? V : _, () => {
27404
- me(Ie);
27405
- }) : me(Ie));
27414
+ rt.current && Ie.type !== "touchstart" || ($e && $e.removeAttribute("title"), ut.clear(), pe.clear(), _ || Al && V ? ut.start(Al ? V : _, () => {
27415
+ ge(Ie);
27416
+ }) : ge(Ie));
27406
27417
  }, "handleMouseOver"), Me = /* @__PURE__ */ a((Ie) => {
27407
27418
  ut.clear(), pe.start(H, () => {
27408
27419
  X(Ie);
@@ -27417,11 +27428,11 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27417
27428
  }, "handleBlur"), pi = /* @__PURE__ */ a((Ie) => {
27418
27429
  $e || ct(Ie.currentTarget), At(Ie), Ne.current === !0 && (Ln(!0), de(Ie));
27419
27430
  }, "handleFocus"), Ly = /* @__PURE__ */ a((Ie) => {
27420
- tt.current = !0;
27431
+ rt.current = !0;
27421
27432
  const ir = be.props;
27422
27433
  ir.onTouchStart && ir.onTouchStart(Ie);
27423
27434
  }, "detectTouchStart"), Gk = /* @__PURE__ */ a((Ie) => {
27424
- Ly(Ie), pe.clear(), ze.clear(), or(), Et.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ge.start(I, () => {
27435
+ Ly(Ie), pe.clear(), ze.clear(), or(), Et.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", We.start(I, () => {
27425
27436
  document.body.style.WebkitUserSelect = Et.current, de(Ie);
27426
27437
  });
27427
27438
  }, "handleTouchStart"), Kk = /* @__PURE__ */ a((Ie) => {
@@ -27430,7 +27441,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27430
27441
  });
27431
27442
  }, "handleTouchEnd");
27432
27443
  x.useEffect(() => {
27433
- if (!it)
27444
+ if (!et)
27434
27445
  return;
27435
27446
  function Ie(ir) {
27436
27447
  (ir.key === "Escape" || ir.key === "Esc") && X(ir);
@@ -27438,9 +27449,9 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27438
27449
  return a(Ie, "handleKeyDown"), document.addEventListener("keydown", Ie), () => {
27439
27450
  document.removeEventListener("keydown", Ie);
27440
27451
  };
27441
- }, [X, it]);
27452
+ }, [X, et]);
27442
27453
  const Yk = St(be.ref, hr, ct, r);
27443
- !ae && ae !== 0 && (it = !1);
27454
+ !ae && ae !== 0 && (et = !1);
27444
27455
  const Zd = x.useRef(), Jk = /* @__PURE__ */ a((Ie) => {
27445
27456
  const ir = be.props;
27446
27457
  ir.onMouseMove && ir.onMouseMove(Ie), za = {
@@ -27448,7 +27459,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27448
27459
  y: Ie.clientY
27449
27460
  }, Zd.current && Zd.current.update();
27450
27461
  }, "handleMouseMove"), Ia = {}, ep = typeof ae == "string";
27451
- A ? (Ia.title = !it && ep && !N ? ae : null, Ia["aria-describedby"] = it ? vt : null) : (Ia["aria-label"] = ep ? ae : null, Ia["aria-labelledby"] = it && !ep ? vt : null);
27462
+ A ? (Ia.title = !et && ep && !N ? ae : null, Ia["aria-describedby"] = et ? vt : null) : (Ia["aria-label"] = ep ? ae : null, Ia["aria-labelledby"] = et && !ep ? vt : null);
27452
27463
  const mr = E({}, Ia, G, be.props, {
27453
27464
  className: re(G.className, be.props.className),
27454
27465
  onTouchStart: Ly,
@@ -27461,7 +27472,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27461
27472
  `));
27462
27473
  }, [$e]));
27463
27474
  const La = {};
27464
- z || (mr.onTouchStart = Gk, mr.onTouchEnd = Kk), N || (mr.onMouseOver = Fl(de, mr.onMouseOver), mr.onMouseLeave = Fl(Me, mr.onMouseLeave), rt || (La.onMouseOver = de, La.onMouseLeave = Me)), j || (mr.onFocus = Fl(pi, mr.onFocus), mr.onBlur = Fl(Dr, mr.onBlur), rt || (La.onFocus = pi, La.onBlur = Dr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27475
+ z || (mr.onTouchStart = Gk, mr.onTouchEnd = Kk), N || (mr.onMouseOver = Fl(de, mr.onMouseOver), mr.onMouseLeave = Fl(Me, mr.onMouseLeave), nt || (La.onMouseOver = de, La.onMouseLeave = Me)), j || (mr.onFocus = Fl(pi, mr.onFocus), mr.onBlur = Fl(Dr, mr.onBlur), nt || (La.onFocus = pi, La.onBlur = Dr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27465
27476
  `));
27466
27477
  const Qk = x.useMemo(() => {
27467
27478
  var Ie;
@@ -27479,10 +27490,10 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27479
27490
  }, [Be, Z]), Na = E({}, w, {
27480
27491
  isRtl: je,
27481
27492
  arrow: P,
27482
- disableInteractive: rt,
27493
+ disableInteractive: nt,
27483
27494
  placement: q,
27484
27495
  PopperComponentProp: te,
27485
- touch: tt.current
27496
+ touch: rt.current
27486
27497
  }), tp = n5(Na), Ny = (n = (o = se.popper) != null ? o : M.Popper) != null ? n : o5, Dy = (i = (s = (l = se.transition) != null ? l : M.Transition) != null ? s : $) != null ? i : Is, _y = (u = (d = se.tooltip) != null ? d : M.Tooltip) != null ? u : i5, jy = (p = (f = se.arrow) != null ? f : M.Arrow) != null ? p : a5, Xk = wi(Ny, E({}, Z, (h = ie.popper) != null ? h : F.popper, {
27487
27498
  className: re(tp.popper, Z == null ? void 0 : Z.className, (g = (m = ie.popper) != null ? m : F.popper) == null ? void 0 : g.className)
27488
27499
  }), Na), Zk = wi(Dy, E({}, ee, (b = ie.transition) != null ? b : F.transition), Na), ew = wi(_y, E({}, (y = ie.tooltip) != null ? y : F.tooltip, {
@@ -27505,7 +27516,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27505
27516
  }), "getBoundingClientRect")
27506
27517
  } : $e,
27507
27518
  popperRef: Zd,
27508
- open: $e ? it : !1,
27519
+ open: $e ? et : !1,
27509
27520
  id: vt,
27510
27521
  transition: !0
27511
27522
  }, La, Xk, {
@@ -27834,9 +27845,9 @@ const s5 = /* @__PURE__ */ a(({
27834
27845
  );
27835
27846
  }), _C = /* @__PURE__ */ a((e) => {
27836
27847
  const t = gt(e), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = ke(xt), s = mn({ resource: t, etrs: i.etrs });
27837
- return et(() => {
27848
+ return tt(() => {
27838
27849
  i.onRenderFicha && i.onRenderFicha(s, r);
27839
- }, []), et(() => {
27850
+ }, []), tt(() => {
27840
27851
  n || i.onLoadFicha && i.onLoadFicha(s, r, o);
27841
27852
  }, [n]), /* @__PURE__ */ Y(Bx, { className: e.className, sx: e.sx, children: [
27842
27853
  /* @__PURE__ */ v(oC, { isLoading: n }),
@@ -28164,7 +28175,7 @@ const $5 = ["alt", "children", "className", "component", "slots", "slotProps", "
28164
28175
  variant: r,
28165
28176
  colorDefault: n
28166
28177
  } = e;
28167
- return Se({
28178
+ return Ce({
28168
28179
  root: ["root", r, n && "colorDefault"],
28169
28180
  img: ["img"],
28170
28181
  fallback: ["fallback"]
@@ -28413,7 +28424,7 @@ const z5 = ["children", "color", "component", "className", "disabled", "disableE
28413
28424
  label: ["label"],
28414
28425
  startIcon: ["icon", "startIcon", `iconSize${ue(o)}`],
28415
28426
  endIcon: ["icon", "endIcon", `iconSize${ue(o)}`]
28416
- }, u = Se(l, j5, s);
28427
+ }, u = Ce(l, j5, s);
28417
28428
  return E({}, s, u);
28418
28429
  }, "useUtilityClasses$g"), UC = /* @__PURE__ */ a((e) => E({}, e.size === "small" && {
28419
28430
  "& > *:nth-of-type(1)": {
@@ -28749,7 +28760,7 @@ const q5 = ["className", "raised"], G5 = /* @__PURE__ */ a((e) => {
28749
28760
  const {
28750
28761
  classes: t
28751
28762
  } = e;
28752
- return Se({
28763
+ return Ce({
28753
28764
  root: ["root"]
28754
28765
  }, U5, t);
28755
28766
  }, "useUtilityClasses$f"), K5 = J(hn, {
@@ -28812,7 +28823,7 @@ const J5 = ["disableSpacing", "className"], Q5 = /* @__PURE__ */ a((e) => {
28812
28823
  classes: t,
28813
28824
  disableSpacing: r
28814
28825
  } = e;
28815
- return Se({
28826
+ return Ce({
28816
28827
  root: ["root", !r && "spacing"]
28817
28828
  }, Y5, t);
28818
28829
  }, "useUtilityClasses$e"), X5 = J("div", {
@@ -29180,7 +29191,7 @@ const i3 = /* @__PURE__ */ a((e) => {
29180
29191
  const {
29181
29192
  classes: t
29182
29193
  } = e;
29183
- return Se({
29194
+ return Ce({
29184
29195
  root: ["root"],
29185
29196
  paper: ["paper"]
29186
29197
  }, t3, t);
@@ -29276,20 +29287,20 @@ const i3 = /* @__PURE__ */ a((e) => {
29276
29287
  };
29277
29288
  const Ve = V();
29278
29289
  let je = Ve.top - be.vertical, $e = Ve.left - be.horizontal;
29279
- const ct = je + G.height, Be = $e + G.width, Te = zr(tc(u)), tt = Te.innerHeight - y, rt = Te.innerWidth - y;
29290
+ const ct = je + G.height, Be = $e + G.width, Te = zr(tc(u)), rt = Te.innerHeight - y, nt = Te.innerWidth - y;
29280
29291
  if (y !== null && je < y) {
29281
29292
  const ze = je - y;
29282
29293
  je -= ze, be.vertical += ze;
29283
- } else if (y !== null && ct > tt) {
29284
- const ze = ct - tt;
29294
+ } else if (y !== null && ct > rt) {
29295
+ const ze = ct - rt;
29285
29296
  je -= ze, be.vertical += ze;
29286
29297
  }
29287
- if (process.env.NODE_ENV !== "production" && G.height > tt && G.height && tt && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${G.height - tt}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
29298
+ if (process.env.NODE_ENV !== "production" && G.height > rt && G.height && rt && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${G.height - rt}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
29288
29299
  `)), y !== null && $e < y) {
29289
29300
  const ze = $e - y;
29290
29301
  $e -= ze, be.horizontal += ze;
29291
- } else if (Be > rt) {
29292
- const ze = Be - rt;
29302
+ } else if (Be > nt) {
29303
+ const ze = Be - nt;
29293
29304
  $e -= ze, be.horizontal += ze;
29294
29305
  }
29295
29306
  return {
@@ -29569,7 +29580,7 @@ const l3 = ["onEntering"], c3 = ["autoFocus", "children", "className", "disableA
29569
29580
  const {
29570
29581
  classes: t
29571
29582
  } = e;
29572
- return Se({
29583
+ return Ce({
29573
29584
  root: ["root"],
29574
29585
  paper: ["paper"],
29575
29586
  list: ["list"]
@@ -29810,7 +29821,7 @@ const Va = Oe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
29810
29821
  disableGutters: o,
29811
29822
  selected: i,
29812
29823
  classes: s
29813
- } = e, u = Se({
29824
+ } = e, u = Ce({
29814
29825
  root: ["root", r && "dense", t && "disabled", !o && "gutters", n && "divider", i && "selected"]
29815
29826
  }, g3, s);
29816
29827
  return E({}, s, u);
@@ -30478,7 +30489,7 @@ const B3 = Oe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
30478
30489
  } = e, i = {
30479
30490
  root: ["root", `underline${ue(o)}`, r === "button" && "button", n && "focusVisible"]
30480
30491
  };
30481
- return Se(i, z3, t);
30492
+ return Ce(i, z3, t);
30482
30493
  }, "useUtilityClasses$a"), q3 = J(kt, {
30483
30494
  name: "MuiLink",
30484
30495
  slot: "Root",
@@ -30657,7 +30668,7 @@ iT = Fg.default = (0, J3.default)(/* @__PURE__ */ (0, Q3.jsx)("path", {
30657
30668
  }), "AddAPhoto");
30658
30669
  const j0 = /* @__PURE__ */ a((e) => {
30659
30670
  const [t, r] = De(!1), [n, o] = De(!1), i = $n(), s = Tt(), { field: l, sx: u } = e;
30660
- return et(() => {
30671
+ return tt(() => {
30661
30672
  t && (/* @__PURE__ */ a(async () => {
30662
30673
  let p = null;
30663
30674
  try {
@@ -30770,7 +30781,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30770
30781
  if (!b)
30771
30782
  return null;
30772
30783
  const k = b.getValues()[f.source], T = y ?? "#";
30773
- return et(() => {
30784
+ return tt(() => {
30774
30785
  u && k && (k != null && k.src ? O(k.src) : u(k).then((C) => {
30775
30786
  O(C);
30776
30787
  }));
@@ -30879,7 +30890,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30879
30890
  allChoices: l,
30880
30891
  availableChoices: u
30881
30892
  } = fP(), d = Ju(null);
30882
- return et(() => {
30893
+ return tt(() => {
30883
30894
  s || typeof t == "function" && t(Object.values([l]));
30884
30895
  }, [l, t, s]), /* @__PURE__ */ v(Z3, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
30885
30896
  at,
@@ -30928,7 +30939,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30928
30939
  const { callback: O, ...k } = m;
30929
30940
  b = O, y = k;
30930
30941
  }
30931
- return et(() => {
30942
+ return tt(() => {
30932
30943
  h !== null && (g.current = h, n(uL(p)));
30933
30944
  }, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ Y(an, { children: [
30934
30945
  /* @__PURE__ */ v(
@@ -31131,7 +31142,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31131
31142
  hidden: u,
31132
31143
  propsContenido: { readOnly: d, label: p, sx: f, onChange: h }
31133
31144
  } = nr(e), g = $r();
31134
- et(() => {
31145
+ tt(() => {
31135
31146
  O();
31136
31147
  }, []);
31137
31148
  const m = He(() => {
@@ -31286,7 +31297,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31286
31297
  }
31287
31298
  ), "AsistenteList"), E4 = { fillista: "empcod=-1" }, k4 = /* @__PURE__ */ a((e) => {
31288
31299
  const [t, r] = De(E4), [n, o] = De([]), i = Yh();
31289
- et(() => {
31300
+ tt(() => {
31290
31301
  (/* @__PURE__ */ a(async () => {
31291
31302
  const f = await l("");
31292
31303
  o(f);
@@ -31457,7 +31468,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31457
31468
  hidden: m,
31458
31469
  propsContenido: { readOnly: b, sx: y, label: O = "Funcionarios" }
31459
31470
  } = nr(e), { [n]: k = {}, etrs: T } = h, C = mn({ ...e, etrs: T, asisEtr: g }), S = k.onChange === void 0 ? i : k.onChange;
31460
- et(() => {
31471
+ tt(() => {
31461
31472
  p.setValue(n, B0);
31462
31473
  }, []);
31463
31474
  const w = He(() => {
@@ -31994,7 +32005,7 @@ function Rc(e, t) {
31994
32005
  }
31995
32006
  a(Rc, "compareDeep");
31996
32007
  var Zn;
31997
- let ot = (Zn = class {
32008
+ let it = (Zn = class {
31998
32009
  /**
31999
32010
  @internal
32000
32011
  */
@@ -32099,7 +32110,7 @@ let ot = (Zn = class {
32099
32110
  return r.sort((n, o) => n.type.rank - o.type.rank), r;
32100
32111
  }
32101
32112
  }, a(Zn, "Mark"), Zn);
32102
- ot.none = [];
32113
+ it.none = [];
32103
32114
  const Kb = class Kb extends Error {
32104
32115
  };
32105
32116
  a(Kb, "ReplaceError");
@@ -32413,7 +32424,7 @@ const ps = class ps {
32413
32424
  marks() {
32414
32425
  let t = this.parent, r = this.index();
32415
32426
  if (t.content.size == 0)
32416
- return ot.none;
32427
+ return it.none;
32417
32428
  if (this.textOffset)
32418
32429
  return t.child(r).marks;
32419
32430
  let n = t.maybeChild(r - 1), o = t.maybeChild(r);
@@ -32586,7 +32597,7 @@ let Vo = (eo = class {
32586
32597
  /**
32587
32598
  @internal
32588
32599
  */
32589
- constructor(t, r, n, o = ot.none) {
32600
+ constructor(t, r, n, o = it.none) {
32590
32601
  this.type = t, this.attrs = r, this.marks = o, this.content = n || le.empty;
32591
32602
  }
32592
32603
  /**
@@ -32694,7 +32705,7 @@ let Vo = (eo = class {
32694
32705
  attributes, and marks.
32695
32706
  */
32696
32707
  hasMarkup(t, r, n) {
32697
- return this.type == t && Rc(this.attrs, r || t.defaultAttrs || L4) && ot.sameSet(this.marks, n || ot.none);
32708
+ return this.type == t && Rc(this.attrs, r || t.defaultAttrs || L4) && it.sameSet(this.marks, n || it.none);
32698
32709
  }
32699
32710
  /**
32700
32711
  Create a new node with the same markup as this node, containing
@@ -32904,12 +32915,12 @@ let Vo = (eo = class {
32904
32915
  */
32905
32916
  check() {
32906
32917
  this.type.checkContent(this.content), this.type.checkAttrs(this.attrs);
32907
- let t = ot.none;
32918
+ let t = it.none;
32908
32919
  for (let r = 0; r < this.marks.length; r++) {
32909
32920
  let n = this.marks[r];
32910
32921
  n.type.checkAttrs(n.attrs), t = n.addToSet(t);
32911
32922
  }
32912
- if (!ot.sameSet(t, this.marks))
32923
+ if (!it.sameSet(t, this.marks))
32913
32924
  throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((r) => r.type.name)}`);
32914
32925
  this.content.forEach((r) => r.check());
32915
32926
  }
@@ -33481,7 +33492,7 @@ let U0 = (Yo = class {
33481
33492
  create(t = null, r, n) {
33482
33493
  if (this.isText)
33483
33494
  throw new Error("NodeType.create can't construct text nodes");
33484
- return new Vo(this, this.computeAttrs(t), le.from(r), ot.setFrom(n));
33495
+ return new Vo(this, this.computeAttrs(t), le.from(r), it.setFrom(n));
33485
33496
  }
33486
33497
  /**
33487
33498
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -33489,7 +33500,7 @@ let U0 = (Yo = class {
33489
33500
  if it doesn't match.
33490
33501
  */
33491
33502
  createChecked(t = null, r, n) {
33492
- return r = le.from(r), this.checkContent(r), new Vo(this, this.computeAttrs(t), r, ot.setFrom(n));
33503
+ return r = le.from(r), this.checkContent(r), new Vo(this, this.computeAttrs(t), r, it.setFrom(n));
33493
33504
  }
33494
33505
  /**
33495
33506
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -33507,7 +33518,7 @@ let U0 = (Yo = class {
33507
33518
  r = s.append(r);
33508
33519
  }
33509
33520
  let o = this.contentMatch.matchFragment(r), i = o && o.fillBefore(le.empty, !0);
33510
- return i ? new Vo(this, t, r.append(i), ot.setFrom(n)) : null;
33521
+ return i ? new Vo(this, t, r.append(i), it.setFrom(n)) : null;
33511
33522
  }
33512
33523
  /**
33513
33524
  Returns true if the given fragment is valid content for this node
@@ -33563,7 +33574,7 @@ let U0 = (Yo = class {
33563
33574
  let r;
33564
33575
  for (let n = 0; n < t.length; n++)
33565
33576
  this.allowsMarkType(t[n].type) ? r && r.push(t[n]) : r || (r = t.slice(0, n));
33566
- return r ? r.length ? r : ot.none : t;
33577
+ return r ? r.length ? r : it.none : t;
33567
33578
  }
33568
33579
  /**
33569
33580
  @internal
@@ -33607,7 +33618,7 @@ const _u = class _u {
33607
33618
  constructor(t, r, n, o) {
33608
33619
  this.name = t, this.rank = r, this.schema = n, this.spec = o, this.attrs = vT(t, o.attrs), this.excluded = null;
33609
33620
  let i = gT(this.attrs);
33610
- this.instance = i ? new ot(this, i) : null;
33621
+ this.instance = i ? new it(this, i) : null;
33611
33622
  }
33612
33623
  /**
33613
33624
  Create a mark of this type. `attrs` may be `null` or an object
@@ -33615,7 +33626,7 @@ const _u = class _u {
33615
33626
  they have defaults, will be added.
33616
33627
  */
33617
33628
  create(t = null) {
33618
- return !t && this.instance ? this.instance : new ot(this, bT(this.attrs, t));
33629
+ return !t && this.instance ? this.instance : new it(this, bT(this.attrs, t));
33619
33630
  }
33620
33631
  /**
33621
33632
  @internal
@@ -33708,7 +33719,7 @@ const Zb = class Zb {
33708
33719
  */
33709
33720
  text(t, r) {
33710
33721
  let n = this.nodes.text;
33711
- return new Df(n, n.defaultAttrs, t, ot.setFrom(r));
33722
+ return new Df(n, n.defaultAttrs, t, it.setFrom(r));
33712
33723
  }
33713
33724
  /**
33714
33725
  Create a mark with the given type and attributes.
@@ -33728,7 +33739,7 @@ const Zb = class Zb {
33728
33739
  bound.
33729
33740
  */
33730
33741
  markFromJSON(t) {
33731
- return ot.fromJSON(this, t);
33742
+ return it.fromJSON(this, t);
33732
33743
  }
33733
33744
  /**
33734
33745
  @internal
@@ -33794,7 +33805,7 @@ const hs = class hs {
33794
33805
  */
33795
33806
  parse(t, r = {}) {
33796
33807
  let n = new Dc(this, r, !1);
33797
- return n.addAll(t, ot.none, r.from, r.to), n.finish();
33808
+ return n.addAll(t, it.none, r.from, r.to), n.finish();
33798
33809
  }
33799
33810
  /**
33800
33811
  Parses the content of the given DOM node, like
@@ -33806,7 +33817,7 @@ const hs = class hs {
33806
33817
  */
33807
33818
  parseSlice(t, r = {}) {
33808
33819
  let n = new Dc(this, r, !0);
33809
- return n.addAll(t, ot.none, r.from, r.to), fe.maxOpen(n.finish());
33820
+ return n.addAll(t, it.none, r.from, r.to), fe.maxOpen(n.finish());
33810
33821
  }
33811
33822
  /**
33812
33823
  @internal
@@ -33932,7 +33943,7 @@ function G0(e, t, r) {
33932
33943
  a(G0, "wsOptionsFor");
33933
33944
  const ey = class ey {
33934
33945
  constructor(t, r, n, o, i, s) {
33935
- this.type = t, this.attrs = r, this.marks = n, this.solid = o, this.options = s, this.content = [], this.activeMarks = ot.none, this.match = i || (s & ns ? null : t.contentMatch);
33946
+ this.type = t, this.attrs = r, this.marks = n, this.solid = o, this.options = s, this.content = [], this.activeMarks = it.none, this.match = i || (s & ns ? null : t.contentMatch);
33936
33947
  }
33937
33948
  findWrapping(t) {
33938
33949
  if (!this.match) {
@@ -33969,7 +33980,7 @@ const ty = class ty {
33969
33980
  constructor(t, r, n) {
33970
33981
  this.parser = t, this.options = r, this.isOpen = n, this.open = 0;
33971
33982
  let o = r.topNode, i, s = G0(null, r.preserveWhitespace, 0) | (n ? ns : 0);
33972
- o ? i = new Pi(o.type, o.attrs, ot.none, !0, r.topMatch || o.type.contentMatch, s) : n ? i = new Pi(null, null, ot.none, !0, null, s) : i = new Pi(t.schema.topNodeType, null, ot.none, !0, null, s), this.nodes = [i], this.find = r.findPositions, this.needsBlock = !1;
33983
+ o ? i = new Pi(o.type, o.attrs, it.none, !0, r.topMatch || o.type.contentMatch, s) : n ? i = new Pi(null, null, it.none, !0, null, s) : i = new Pi(t.schema.topNodeType, null, it.none, !0, null, s), this.nodes = [i], this.find = r.findPositions, this.needsBlock = !1;
33973
33984
  }
33974
33985
  get top() {
33975
33986
  return this.nodes[this.open];
@@ -34116,7 +34127,7 @@ const ty = class ty {
34116
34127
  this.closeExtra();
34117
34128
  let o = this.top;
34118
34129
  o.match && (o.match = o.match.matchType(t.type));
34119
- let i = ot.none;
34130
+ let i = it.none;
34120
34131
  for (let s of n.concat(t.marks))
34121
34132
  (o.type ? o.type.allowsMarkType(s.type) : Y0(s.type, t.type)) && (i = s.addToSet(i));
34122
34133
  return o.content.push(t.mark(i)), !0;
@@ -34136,7 +34147,7 @@ const ty = class ty {
34136
34147
  s.match = s.match && s.match.matchType(t);
34137
34148
  let l = G0(t, i, s.options);
34138
34149
  s.options & ns && s.content.length == 0 && (l |= ns);
34139
- let u = ot.none;
34150
+ let u = it.none;
34140
34151
  return n = n.filter((d) => (s.type ? s.type.allowsMarkType(d.type) : Y0(d.type, t)) ? (u = d.addToSet(u), !1) : !0), this.nodes.push(new Pi(t, r, u, o, null, l)), this.open++, n;
34141
34152
  }
34142
34153
  // Make sure all nodes above this.open are finished and added to
@@ -35966,7 +35977,7 @@ const iy = class iy {
35966
35977
  position `pos`.
35967
35978
  */
35968
35979
  removeNodeMark(t, r) {
35969
- if (!(r instanceof ot)) {
35980
+ if (!(r instanceof it)) {
35970
35981
  let n = this.doc.nodeAt(t);
35971
35982
  if (!n)
35972
35983
  throw new RangeError("No node at position " + t);
@@ -36328,9 +36339,9 @@ const Mo = class Mo extends Re {
36328
36339
  }
36329
36340
  };
36330
36341
  a(Mo, "NodeSelection");
36331
- let xe = Mo;
36332
- xe.prototype.visible = !1;
36333
- Re.jsonID("node", xe);
36342
+ let Se = Mo;
36343
+ Se.prototype.visible = !1;
36344
+ Re.jsonID("node", Se);
36334
36345
  const Bu = class Bu {
36335
36346
  constructor(t) {
36336
36347
  this.anchor = t;
@@ -36341,7 +36352,7 @@ const Bu = class Bu {
36341
36352
  }
36342
36353
  resolve(t) {
36343
36354
  let r = t.resolve(this.anchor), n = r.nodeAfter;
36344
- return n && xe.isSelectable(n) ? new xe(r) : Re.near(r);
36355
+ return n && Se.isSelectable(n) ? new Se(r) : Re.near(r);
36345
36356
  }
36346
36357
  };
36347
36358
  a(Bu, "NodeBookmark");
@@ -36397,8 +36408,8 @@ function Ci(e, t, r, n, o, i = !1) {
36397
36408
  for (let s = n - (o > 0 ? 0 : 1); o > 0 ? s < t.childCount : s >= 0; s += o) {
36398
36409
  let l = t.child(s);
36399
36410
  if (l.isAtom) {
36400
- if (!i && xe.isSelectable(l))
36401
- return xe.create(e, r - (o < 0 ? l.nodeSize : 0));
36411
+ if (!i && Se.isSelectable(l))
36412
+ return Se.create(e, r - (o < 0 ? l.nodeSize : 0));
36402
36413
  } else {
36403
36414
  let u = Ci(e, l, r + o, o < 0 ? l.childCount : 0, o, i);
36404
36415
  if (u)
@@ -36465,7 +36476,7 @@ const nO = 1, Ll = 2, oO = 4, ly = class ly extends Bc {
36465
36476
  this is already the case.
36466
36477
  */
36467
36478
  ensureMarks(t) {
36468
- return ot.sameSet(this.storedMarks || this.selection.$from.marks(), t) || this.setStoredMarks(t), this;
36479
+ return it.sameSet(this.storedMarks || this.selection.$from.marks(), t) || this.setStoredMarks(t), this;
36469
36480
  }
36470
36481
  /**
36471
36482
  Add a mark to the set of stored marks.
@@ -36510,7 +36521,7 @@ const nO = 1, Ll = 2, oO = 4, ly = class ly extends Bc {
36510
36521
  */
36511
36522
  replaceSelectionWith(t, r = !0) {
36512
36523
  let n = this.selection;
36513
- return r && (t = t.mark(this.storedMarks || (n.empty ? n.$from.marks() : n.$from.marksAcross(n.$to) || ot.none))), n.replaceWith(this, t), this;
36524
+ return r && (t = t.mark(this.storedMarks || (n.empty ? n.$from.marks() : n.$from.marksAcross(n.$to) || it.none))), n.replaceWith(this, t), this;
36514
36525
  }
36515
36526
  /**
36516
36527
  Delete the selection.
@@ -37822,7 +37833,7 @@ const Vu = class Vu extends si {
37822
37833
  updateChildren(t, r) {
37823
37834
  let n = this.node.inlineContent, o = r, i = t.composing ? this.localCompositionInfo(t, r) : null, s = i && i.pos > -1 ? i : null, l = i && i.pos < 0, u = new Zf(this, s && s.node, t);
37824
37835
  KH(this.node, this.innerDeco, (d, p, f) => {
37825
- d.spec.marks ? u.syncToMarks(d.spec.marks, n, t) : d.type.side >= 0 && !f && u.syncToMarks(p == this.node.childCount ? ot.none : this.node.child(p).marks, n, t), u.placeWidget(d, t, o);
37836
+ d.spec.marks ? u.syncToMarks(d.spec.marks, n, t) : d.type.side >= 0 && !f && u.syncToMarks(p == this.node.childCount ? it.none : this.node.child(p).marks, n, t), u.placeWidget(d, t, o);
37826
37837
  }, (d, p, f, h) => {
37827
37838
  u.syncToMarks(d.marks, n, t);
37828
37839
  let g;
@@ -38371,9 +38382,9 @@ function Gg(e, t = null) {
38371
38382
  for (u = s; o && !o.node; )
38372
38383
  o = o.parent;
38373
38384
  let f = o.node;
38374
- if (o && f.isAtom && xe.isSelectable(f) && o.parent && !(f.isInline && EH(r.focusNode, r.focusOffset, o.dom))) {
38385
+ if (o && f.isAtom && Se.isSelectable(f) && o.parent && !(f.isInline && EH(r.focusNode, r.focusOffset, o.dom))) {
38375
38386
  let h = o.posBefore;
38376
- d = new xe(s == h ? l : n.resolve(h));
38387
+ d = new Se(s == h ? l : n.resolve(h));
38377
38388
  }
38378
38389
  } else {
38379
38390
  if (r instanceof e.dom.ownerDocument.defaultView.Selection && r.rangeCount > 1) {
@@ -38463,7 +38474,7 @@ function XH(e) {
38463
38474
  }
38464
38475
  a(XH, "selectCursorWrapper");
38465
38476
  function YT(e, t) {
38466
- if (t instanceof xe) {
38477
+ if (t instanceof Se) {
38467
38478
  let r = e.docView.descAt(t.from);
38468
38479
  r != e.lastSelectedViewDesc && (vO(e), r && r.selectNode(), e.lastSelectedViewDesc = r);
38469
38480
  } else
@@ -38519,17 +38530,17 @@ function xO(e, t, r) {
38519
38530
  } else if (n.empty) {
38520
38531
  if (e.endOfTextblock(t > 0 ? "forward" : "backward")) {
38521
38532
  let o = th(e.state, t);
38522
- return o && o instanceof xe ? Bn(e, o) : !1;
38533
+ return o && o instanceof Se ? Bn(e, o) : !1;
38523
38534
  } else if (!(xr && r.indexOf("m") > -1)) {
38524
38535
  let o = n.$head, i = o.textOffset ? null : t < 0 ? o.nodeBefore : o.nodeAfter, s;
38525
38536
  if (!i || i.isText)
38526
38537
  return !1;
38527
38538
  let l = t < 0 ? o.pos - i.nodeSize : o.pos;
38528
- return i.isAtom || (s = e.docView.descAt(l)) && !s.contentDOM ? xe.isSelectable(i) ? Bn(e, new xe(t < 0 ? e.state.doc.resolve(o.pos - i.nodeSize) : o)) : vl ? Bn(e, new Ae(e.state.doc.resolve(t < 0 ? l : l + i.nodeSize))) : !1 : !1;
38539
+ return i.isAtom || (s = e.docView.descAt(l)) && !s.contentDOM ? Se.isSelectable(i) ? Bn(e, new Se(t < 0 ? e.state.doc.resolve(o.pos - i.nodeSize) : o)) : vl ? Bn(e, new Ae(e.state.doc.resolve(t < 0 ? l : l + i.nodeSize))) : !1 : !1;
38529
38540
  }
38530
38541
  } else return !1;
38531
38542
  else {
38532
- if (n instanceof xe && n.node.isInline)
38543
+ if (n instanceof Se && n.node.isInline)
38533
38544
  return Bn(e, new Ae(t > 0 ? n.$to : n.$from));
38534
38545
  {
38535
38546
  let o = th(e.state, t);
@@ -38696,7 +38707,7 @@ function CO(e, t, r) {
38696
38707
  let { $from: o, $to: i } = n;
38697
38708
  if (!o.parent.inlineContent || e.endOfTextblock(t < 0 ? "up" : "down")) {
38698
38709
  let s = th(e.state, t);
38699
- if (s && s instanceof xe)
38710
+ if (s && s instanceof Se)
38700
38711
  return Bn(e, s);
38701
38712
  }
38702
38713
  if (!o.parent.inlineContent) {
@@ -39083,23 +39094,23 @@ function vW(e, t) {
39083
39094
  if (t == -1)
39084
39095
  return !1;
39085
39096
  let r = e.state.doc.resolve(t), n = r.nodeAfter;
39086
- return n && n.isAtom && xe.isSelectable(n) ? (Vi(e, new xe(r)), !0) : !1;
39097
+ return n && n.isAtom && Se.isSelectable(n) ? (Vi(e, new Se(r)), !0) : !1;
39087
39098
  }
39088
39099
  a(vW, "selectClickedLeaf");
39089
39100
  function OW(e, t) {
39090
39101
  if (t == -1)
39091
39102
  return !1;
39092
39103
  let r = e.state.selection, n, o;
39093
- r instanceof xe && (n = r.node);
39104
+ r instanceof Se && (n = r.node);
39094
39105
  let i = e.state.doc.resolve(t);
39095
39106
  for (let s = i.depth + 1; s > 0; s--) {
39096
39107
  let l = s > i.depth ? i.nodeAfter : i.node(s);
39097
- if (xe.isSelectable(l)) {
39108
+ if (Se.isSelectable(l)) {
39098
39109
  n && r.$from.depth > 0 && s >= r.$from.depth && i.before(r.$from.depth + 1) == r.$from.pos ? o = i.before(r.$from.depth) : o = i.before(s);
39099
39110
  break;
39100
39111
  }
39101
39112
  }
39102
- return o != null ? (Vi(e, xe.create(e.state.doc, o)), !0) : !1;
39113
+ return o != null ? (Vi(e, Se.create(e.state.doc, o)), !0) : !1;
39103
39114
  }
39104
39115
  a(OW, "selectClickedNode");
39105
39116
  function xW(e, t, r, n, o) {
@@ -39125,8 +39136,8 @@ function TW(e, t, r) {
39125
39136
  let s = i > o.depth ? o.nodeAfter : o.node(i), l = o.before(i);
39126
39137
  if (s.inlineContent)
39127
39138
  Vi(e, Ae.create(n, l + 1, l + 1 + s.content.size));
39128
- else if (xe.isSelectable(s))
39129
- Vi(e, xe.create(n, l));
39139
+ else if (Se.isSelectable(s))
39140
+ Vi(e, Se.create(n, l));
39130
39141
  else
39131
39142
  continue;
39132
39143
  return !0;
@@ -39159,7 +39170,7 @@ const Oy = class Oy {
39159
39170
  const l = o ? null : n.target, u = l ? t.docView.nearestDesc(l, !0) : null;
39160
39171
  this.target = u && u.dom.nodeType == 1 ? u.dom : null;
39161
39172
  let { selection: d } = t.state;
39162
- (n.button == 0 && i.type.spec.draggable && i.type.spec.selectable !== !1 || d instanceof xe && d.from <= s && d.to > s) && (this.mightDrag = {
39173
+ (n.button == 0 && i.type.spec.draggable && i.type.spec.selectable !== !1 || d instanceof Se && d.from <= s && d.to > s) && (this.mightDrag = {
39163
39174
  node: i,
39164
39175
  pos: s,
39165
39176
  addAttr: !!(this.target && !this.target.draggable),
@@ -39349,12 +39360,12 @@ Yt.dragstart = (e, t) => {
39349
39360
  if (n && n.done(), !r.dataTransfer)
39350
39361
  return;
39351
39362
  let o = e.state.selection, i = o.empty ? null : e.posAtCoords(jd(r)), s;
39352
- if (!(i && i.pos >= o.from && i.pos <= (o instanceof xe ? o.to - 1 : o.to))) {
39363
+ if (!(i && i.pos >= o.from && i.pos <= (o instanceof Se ? o.to - 1 : o.to))) {
39353
39364
  if (n && n.mightDrag)
39354
- s = xe.create(e.state.doc, n.mightDrag.pos);
39365
+ s = Se.create(e.state.doc, n.mightDrag.pos);
39355
39366
  else if (r.target && r.target.nodeType == 1) {
39356
39367
  let f = e.docView.nearestDesc(r.target, !0);
39357
- f && f.node.type.spec.draggable && f != e.docView && (s = xe.create(e.state.doc, f.posBefore));
39368
+ f && f.node.type.spec.draggable && f != e.docView && (s = Se.create(e.state.doc, f.posBefore));
39358
39369
  }
39359
39370
  }
39360
39371
  let l = (s || e.state.selection).content(), { dom: u, text: d, slice: p } = XT(e, l);
@@ -39397,8 +39408,8 @@ Jt.drop = (e, t) => {
39397
39408
  if (f ? d.replaceRangeWith(p, p, s.content.firstChild) : d.replaceRange(p, p, s), d.doc.eq(h))
39398
39409
  return;
39399
39410
  let g = d.doc.resolve(p);
39400
- if (f && xe.isSelectable(s.content.firstChild) && g.nodeAfter && g.nodeAfter.sameMarkup(s.content.firstChild))
39401
- d.setSelection(new xe(g));
39411
+ if (f && Se.isSelectable(s.content.firstChild) && g.nodeAfter && g.nodeAfter.sameMarkup(s.content.firstChild))
39412
+ d.setSelection(new Se(g));
39402
39413
  else {
39403
39414
  let m = d.mapping.map(u);
39404
39415
  d.mapping.maps[d.mapping.maps.length - 1].forEach((b, y, O, k) => m = k), d.setSelection(Kg(e, g, d.doc.resolve(m)));
@@ -40448,7 +40459,7 @@ const Ty = class Ty {
40448
40459
  */
40449
40460
  scrollToSelection() {
40450
40461
  let t = this.domSelectionRange().focusNode;
40451
- if (!this.someProp("handleScrollToSelection", (r) => r(this))) if (this.state.selection instanceof xe) {
40462
+ if (!this.someProp("handleScrollToSelection", (r) => r(this))) if (this.state.selection instanceof Se) {
40452
40463
  let r = this.docView.domAfterPos(this.state.selection.from);
40453
40464
  r.nodeType == 1 && lO(this, r.getBoundingClientRect(), t);
40454
40465
  } else
@@ -40484,7 +40495,7 @@ const Ty = class Ty {
40484
40495
  let i = n.from + (this.state.doc.content.size - r.doc.content.size);
40485
40496
  (i > 0 && this.state.doc.nodeAt(i)) == n.node && (o = i);
40486
40497
  }
40487
- this.dragging = new Yc(t.slice, t.move, o < 0 ? void 0 : xe.create(this.state.doc, o));
40498
+ this.dragging = new Yc(t.slice, t.move, o < 0 ? void 0 : Se.create(this.state.doc, o));
40488
40499
  }
40489
40500
  someProp(t, r) {
40490
40501
  let n = this._props && this._props[t], o;
@@ -40910,13 +40921,13 @@ const t6 = /* @__PURE__ */ a((e, t, r) => {
40910
40921
  let i = o.nodeBefore;
40911
40922
  if (vE(e, o, t, -1))
40912
40923
  return !0;
40913
- if (n.parent.content.size == 0 && (ma(i, "end") || xe.isSelectable(i)))
40924
+ if (n.parent.content.size == 0 && (ma(i, "end") || Se.isSelectable(i)))
40914
40925
  for (let s = n.depth; ; s--) {
40915
40926
  let l = Dd(e.doc, n.before(s), n.after(s), fe.empty);
40916
40927
  if (l && l.slice.size < l.to - l.from) {
40917
40928
  if (t) {
40918
40929
  let u = e.tr.step(l);
40919
- u.setSelection(ma(i, "end") ? Re.findFrom(u.doc.resolve(u.mapping.map(o.pos, -1)), -1) : xe.create(u.doc, o.pos - i.nodeSize)), t(u.scrollIntoView());
40930
+ u.setSelection(ma(i, "end") ? Re.findFrom(u.doc.resolve(u.mapping.map(o.pos, -1)), -1) : Se.create(u.doc, o.pos - i.nodeSize)), t(u.scrollIntoView());
40920
40931
  }
40921
40932
  return !0;
40922
40933
  }
@@ -40986,7 +40997,7 @@ const o6 = /* @__PURE__ */ a((e, t, r) => {
40986
40997
  i = Zg(n);
40987
40998
  }
40988
40999
  let s = i && i.nodeBefore;
40989
- return !s || !xe.isSelectable(s) ? !1 : (t && t(e.tr.setSelection(xe.create(e.doc, i.pos - s.nodeSize)).scrollIntoView()), !0);
41000
+ return !s || !Se.isSelectable(s) ? !1 : (t && t(e.tr.setSelection(Se.create(e.doc, i.pos - s.nodeSize)).scrollIntoView()), !0);
40990
41001
  }, "selectNodeBackward$1");
40991
41002
  function Zg(e) {
40992
41003
  if (!e.parent.type.spec.isolating)
@@ -41014,12 +41025,12 @@ const i6 = /* @__PURE__ */ a((e, t, r) => {
41014
41025
  let i = o.nodeAfter;
41015
41026
  if (vE(e, o, t, 1))
41016
41027
  return !0;
41017
- if (n.parent.content.size == 0 && (ma(i, "start") || xe.isSelectable(i))) {
41028
+ if (n.parent.content.size == 0 && (ma(i, "start") || Se.isSelectable(i))) {
41018
41029
  let s = Dd(e.doc, n.before(), n.after(), fe.empty);
41019
41030
  if (s && s.slice.size < s.to - s.from) {
41020
41031
  if (t) {
41021
41032
  let l = e.tr.step(s);
41022
- l.setSelection(ma(i, "start") ? Re.findFrom(l.doc.resolve(l.mapping.map(o.pos)), 1) : xe.create(l.doc, l.mapping.map(o.pos))), t(l.scrollIntoView());
41033
+ l.setSelection(ma(i, "start") ? Re.findFrom(l.doc.resolve(l.mapping.map(o.pos)), 1) : Se.create(l.doc, l.mapping.map(o.pos))), t(l.scrollIntoView());
41023
41034
  }
41024
41035
  return !0;
41025
41036
  }
@@ -41035,7 +41046,7 @@ const i6 = /* @__PURE__ */ a((e, t, r) => {
41035
41046
  i = eb(n);
41036
41047
  }
41037
41048
  let s = i && i.nodeAfter;
41038
- return !s || !xe.isSelectable(s) ? !1 : (t && t(e.tr.setSelection(xe.create(e.doc, i.pos)).scrollIntoView()), !0);
41049
+ return !s || !Se.isSelectable(s) ? !1 : (t && t(e.tr.setSelection(Se.create(e.doc, i.pos)).scrollIntoView()), !0);
41039
41050
  }, "selectNodeForward$1");
41040
41051
  function eb(e) {
41041
41052
  if (!e.parent.type.spec.isolating)
@@ -41050,7 +41061,7 @@ function eb(e) {
41050
41061
  }
41051
41062
  a(eb, "findCutAfter");
41052
41063
  const s6 = /* @__PURE__ */ a((e, t) => {
41053
- let r = e.selection, n = r instanceof xe, o;
41064
+ let r = e.selection, n = r instanceof Se, o;
41054
41065
  if (n) {
41055
41066
  if (r.node.isTextblock || !so(e.doc, r.from))
41056
41067
  return !1;
@@ -41059,12 +41070,12 @@ const s6 = /* @__PURE__ */ a((e, t) => {
41059
41070
  return !1;
41060
41071
  if (t) {
41061
41072
  let i = e.tr.join(o);
41062
- n && i.setSelection(xe.create(i.doc, o - e.doc.resolve(o).nodeBefore.nodeSize)), t(i.scrollIntoView());
41073
+ n && i.setSelection(Se.create(i.doc, o - e.doc.resolve(o).nodeBefore.nodeSize)), t(i.scrollIntoView());
41063
41074
  }
41064
41075
  return !0;
41065
41076
  }, "joinUp$1"), l6 = /* @__PURE__ */ a((e, t) => {
41066
41077
  let r = e.selection, n;
41067
- if (r instanceof xe) {
41078
+ if (r instanceof Se) {
41068
41079
  if (r.node.isTextblock || !so(e.doc, r.to))
41069
41080
  return !1;
41070
41081
  n = r.to;
@@ -41125,7 +41136,7 @@ const d6 = /* @__PURE__ */ a((e, t) => {
41125
41136
  return o == null ? !1 : (t && t(e.tr.lift(n, o).scrollIntoView()), !0);
41126
41137
  }, "liftEmptyBlock$1"), h6 = /* @__PURE__ */ a((e, t) => {
41127
41138
  let { $from: r, to: n } = e.selection, o, i = r.sharedDepth(n);
41128
- return i == 0 ? !1 : (o = r.before(i), t && t(e.tr.setSelection(xe.create(e.doc, o))), !0);
41139
+ return i == 0 ? !1 : (o = r.before(i), t && t(e.tr.setSelection(Se.create(e.doc, o))), !0);
41129
41140
  }, "selectParentNode$1");
41130
41141
  function m6(e, t, r) {
41131
41142
  let n = t.nodeBefore, o = t.nodeAfter, i = t.index();
@@ -42865,7 +42876,7 @@ function sb(e, { checkChildren: t = !0, ignoreWhitespace: r = !1 } = {}) {
42865
42876
  }
42866
42877
  a(sb, "isNodeEmpty");
42867
42878
  function zU(e) {
42868
- return e instanceof xe;
42879
+ return e instanceof Se;
42869
42880
  }
42870
42881
  a(zU, "isNodeSelection");
42871
42882
  function BU(e, t, r) {
@@ -42919,7 +42930,7 @@ const VU = /* @__PURE__ */ a((e, t = {}) => ({ tr: r, state: n, dispatch: o }) =
42919
42930
  return i.isTextblock ? o().command(({ commands: s }) => jO(i, t)(r) ? !0 : s.clearNodes()).command(({ state: s }) => jO(i, t)(s, n)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
42920
42931
  }, "setNode"), UU = /* @__PURE__ */ a((e) => ({ tr: t, dispatch: r }) => {
42921
42932
  if (r) {
42922
- const { doc: n } = t, o = Do(e, 0, n.content.size), i = xe.create(n, o);
42933
+ const { doc: n } = t, o = Do(e, 0, n.content.size), i = Se.create(n, o);
42923
42934
  t.setSelection(i);
42924
42935
  }
42925
42936
  return !0;
@@ -42943,7 +42954,7 @@ function UO(e, t) {
42943
42954
  a(UO, "ensureMarks");
42944
42955
  const KU = /* @__PURE__ */ a(({ keepMarks: e = !0 } = {}) => ({ tr: t, state: r, dispatch: n, editor: o }) => {
42945
42956
  const { selection: i, doc: s } = t, { $from: l, $to: u } = i, d = o.extensionManager.attributes, p = oc(d, l.node().type.name, l.node().attrs);
42946
- if (i instanceof xe && i.node.isBlock)
42957
+ if (i instanceof Se && i.node.isBlock)
42947
42958
  return !l.parentOffset || !Bi(s, l.pos) ? !1 : (n && (e && UO(r, o.extensionManager.splittableMarks), t.split(l.pos).scrollIntoView()), !0);
42948
42959
  if (!l.parent.isBlock)
42949
42960
  return !1;
@@ -45235,7 +45246,7 @@ var rx;
45235
45246
  function Jq() {
45236
45247
  if (rx) return Xp;
45237
45248
  rx = 1;
45238
- var e = nt;
45249
+ var e = ot;
45239
45250
  function t(f, h) {
45240
45251
  return f === h && (f !== 0 || 1 / f === 1 / h) || f !== f && h !== h;
45241
45252
  }
@@ -45285,7 +45296,7 @@ var nx;
45285
45296
  function Qq() {
45286
45297
  return nx || (nx = 1, process.env.NODE_ENV !== "production" && function() {
45287
45298
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
45288
- var e = nt, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
45299
+ var e = ot, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
45289
45300
  function r(T) {
45290
45301
  {
45291
45302
  for (var C = arguments.length, S = new Array(C > 1 ? C - 1 : 0), w = 1; w < C; w++)
@@ -45367,7 +45378,7 @@ const Xq = /* @__PURE__ */ a((...e) => (t) => {
45367
45378
  });
45368
45379
  }, "mergeRefs"), Zq = /* @__PURE__ */ a(({ contentComponent: e }) => {
45369
45380
  const t = Ud.useSyncExternalStore(e.subscribe, e.getSnapshot, e.getServerSnapshot);
45370
- return nt.createElement(nt.Fragment, null, Object.values(t));
45381
+ return ot.createElement(ot.Fragment, null, Object.values(t));
45371
45382
  }, "Portals");
45372
45383
  function e9() {
45373
45384
  const e = /* @__PURE__ */ new Set();
@@ -45406,10 +45417,10 @@ function e9() {
45406
45417
  };
45407
45418
  }
45408
45419
  a(e9, "getInstance");
45409
- const Ry = class Ry extends nt.Component {
45420
+ const Ry = class Ry extends ot.Component {
45410
45421
  constructor(t) {
45411
45422
  var r;
45412
- super(t), this.editorContentRef = nt.createRef(), this.initialized = !1, this.state = {
45423
+ super(t), this.editorContentRef = ot.createRef(), this.initialized = !1, this.state = {
45413
45424
  hasContentComponentInitialized: !!(!((r = t.editor) === null || r === void 0) && r.contentComponent)
45414
45425
  };
45415
45426
  }
@@ -45447,24 +45458,24 @@ const Ry = class Ry extends nt.Component {
45447
45458
  }
45448
45459
  render() {
45449
45460
  const { editor: t, innerRef: r, ...n } = this.props;
45450
- return nt.createElement(
45451
- nt.Fragment,
45461
+ return ot.createElement(
45462
+ ot.Fragment,
45452
45463
  null,
45453
- nt.createElement("div", { ref: Xq(r, this.editorContentRef), ...n }),
45454
- (t == null ? void 0 : t.contentComponent) && nt.createElement(Zq, { contentComponent: t.contentComponent })
45464
+ ot.createElement("div", { ref: Xq(r, this.editorContentRef), ...n }),
45465
+ (t == null ? void 0 : t.contentComponent) && ot.createElement(Zq, { contentComponent: t.contentComponent })
45455
45466
  );
45456
45467
  }
45457
45468
  };
45458
45469
  a(Ry, "PureEditorContent");
45459
45470
  let Mh = Ry;
45460
45471
  const t9 = Ku((e, t) => {
45461
- const r = nt.useMemo(() => Math.floor(Math.random() * 4294967295).toString(), [e.editor]);
45462
- return nt.createElement(Mh, {
45472
+ const r = ot.useMemo(() => Math.floor(Math.random() * 4294967295).toString(), [e.editor]);
45473
+ return ot.createElement(Mh, {
45463
45474
  key: r,
45464
45475
  innerRef: t,
45465
45476
  ...e
45466
45477
  });
45467
- }), r9 = nt.memo(t9);
45478
+ }), r9 = ot.memo(t9);
45468
45479
  var n9 = /* @__PURE__ */ a(function e(t, r) {
45469
45480
  if (t === r) return !0;
45470
45481
  if (t && r && typeof t == "object" && typeof r == "object") {
@@ -45524,7 +45535,7 @@ var ox;
45524
45535
  function i9() {
45525
45536
  if (ox) return ef;
45526
45537
  ox = 1;
45527
- var e = nt, t = Ud;
45538
+ var e = ot, t = Ud;
45528
45539
  function r(d, p) {
45529
45540
  return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p;
45530
45541
  }
@@ -45578,7 +45589,7 @@ var ix;
45578
45589
  function a9() {
45579
45590
  return ix || (ix = 1, process.env.NODE_ENV !== "production" && function() {
45580
45591
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
45581
- var e = nt, t = Ud;
45592
+ var e = ot, t = Ud;
45582
45593
  function r(p, f) {
45583
45594
  return p === f && (p !== 0 || 1 / p === 1 / f) || p !== p && f !== f;
45584
45595
  }
@@ -45667,7 +45678,7 @@ let Ah = Ay;
45667
45678
  function l9(e) {
45668
45679
  var t;
45669
45680
  const [r] = De(() => new Ah(e.editor)), n = s9.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, e.selector, (t = e.equalityFn) !== null && t !== void 0 ? t : o9);
45670
- return et(() => r.watch(e.editor), [e.editor, r]), Lx(n), n;
45681
+ return tt(() => r.watch(e.editor), [e.editor, r]), Lx(n), n;
45671
45682
  }
45672
45683
  a(l9, "useEditorState");
45673
45684
  const ax = process.env.NODE_ENV !== "production", Fh = typeof window > "u", c9 = Fh || !!(typeof window < "u" && window.next), Fy = class Fy {
@@ -45807,7 +45818,7 @@ function u9(e = {}, t = []) {
45807
45818
  const r = Ju(e);
45808
45819
  r.current = e;
45809
45820
  const [n] = De(() => new $h(r)), o = Ud.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
45810
- return Lx(o), et(n.onRender(t)), l9({
45821
+ return Lx(o), tt(n.onRender(t)), l9({
45811
45822
  editor: o,
45812
45823
  selector: /* @__PURE__ */ a(({ transactionNumber: i }) => e.shouldRerenderOnTransaction === !1 ? null : e.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
45813
45824
  }), o;
@@ -45820,11 +45831,11 @@ d9.Consumer;
45820
45831
  const p9 = Rt({
45821
45832
  onDragStart: void 0
45822
45833
  }), f9 = /* @__PURE__ */ a(() => ke(p9), "useReactNodeView");
45823
- nt.forwardRef((e, t) => {
45834
+ ot.forwardRef((e, t) => {
45824
45835
  const { onDragStart: r } = f9(), n = e.as || "div";
45825
45836
  return (
45826
45837
  // @ts-ignore
45827
- nt.createElement(n, { ...e, ref: t, "data-node-view-wrapper": "", onDragStart: r, style: {
45838
+ ot.createElement(n, { ...e, ref: t, "data-node-view-wrapper": "", onDragStart: r, style: {
45828
45839
  whiteSpace: "normal",
45829
45840
  ...e.style
45830
45841
  } })
@@ -46326,7 +46337,7 @@ const A9 = Ht.create({
46326
46337
  for (; ; ) {
46327
46338
  let s = r > 0 ? i.firstChild : i.lastChild;
46328
46339
  if (!s) {
46329
- if (i.isAtom && !i.isText && !xe.isSelectable(i)) {
46340
+ if (i.isAtom && !i.isText && !Se.isSelectable(i)) {
46330
46341
  t = t.doc.resolve(o + i.nodeSize * r), n = !1;
46331
46342
  continue e;
46332
46343
  }
@@ -46437,7 +46448,7 @@ function N9(e, t, r) {
46437
46448
  if (!Wt.valid(n))
46438
46449
  return !1;
46439
46450
  let o = e.posAtCoords({ left: r.clientX, top: r.clientY });
46440
- return o && o.inside > -1 && xe.isSelectable(e.state.doc.nodeAt(o.inside)) ? !1 : (e.dispatch(e.state.tr.setSelection(new Wt(n))), !0);
46451
+ return o && o.inside > -1 && Se.isSelectable(e.state.doc.nodeAt(o.inside)) ? !1 : (e.dispatch(e.state.tr.setSelection(new Wt(n))), !0);
46441
46452
  }
46442
46453
  a(N9, "handleClick");
46443
46454
  function D9(e, t) {
@@ -46986,7 +46997,7 @@ const zE = jE(!1, !0), BE = jE(!0, !0), Q9 = Ht.create({
46986
46997
  if (l) {
46987
46998
  const { $to: d } = s.selection, p = d.end();
46988
46999
  if (d.nodeAfter)
46989
- d.nodeAfter.isTextblock ? s.setSelection(Ae.create(s.doc, d.pos + 1)) : d.nodeAfter.isBlock ? s.setSelection(xe.create(s.doc, d.pos)) : s.setSelection(Ae.create(s.doc, d.pos));
47000
+ d.nodeAfter.isTextblock ? s.setSelection(Ae.create(s.doc, d.pos + 1)) : d.nodeAfter.isBlock ? s.setSelection(Se.create(s.doc, d.pos)) : s.setSelection(Ae.create(s.doc, d.pos));
46990
47001
  else {
46991
47002
  const f = (u = d.parent.type.contentMatch.defaultType) === null || u === void 0 ? void 0 : u.create();
46992
47003
  f && (s.insert(p, f), s.setSelection(Ae.create(s.doc, p + 1)));
@@ -47749,7 +47760,7 @@ var ZK = Rt(null), eY = /* @__PURE__ */ a(function() {
47749
47760
  return e;
47750
47761
  }, "useFormGroups"), tY = /* @__PURE__ */ a(function(e) {
47751
47762
  var t = e.inputProps, r = e.isArrayInput, n = e.fieldArrayInputControl, o = t.defaultValue, i = t.source, s = dk(i), l = XE(t), u = $r(), d = u.getValues, p = u.resetField, f = u.formState, h = u.reset, g = lc(l, s), m = lc(d(), s), b = f.dirtyFields, y = Object.keys(b).includes(s);
47752
- et(function() {
47763
+ tt(function() {
47753
47764
  if (!(o == null || m != null || g != null || y)) {
47754
47765
  var O = s.split(".").some(function(C) {
47755
47766
  return rY.test(C);
@@ -47883,7 +47894,7 @@ var ZK = Rt(null), eY = /* @__PURE__ */ a(function() {
47883
47894
  return e === "" ? null : e;
47884
47895
  }, "defaultParse"), uY = /* @__PURE__ */ a(function(e) {
47885
47896
  var t = e.defaultValue, r = e.format, n = r === void 0 ? lY : r, o = e.id, i = e.isRequired, s = e.name, l = e.onBlur, u = e.onChange, d = e.parse, p = d === void 0 ? cY : d, f = e.source, h = e.validate, g = sY(e, ["defaultValue", "format", "id", "isRequired", "name", "onBlur", "onChange", "parse", "source", "validate"]), m = dk(f), b = s || m, y = nY(), O = eY(), k = XE(), T = af(p), C = nw();
47886
- !b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), et(function() {
47897
+ !b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), tt(function() {
47887
47898
  if (!(!O || y == null))
47888
47899
  return O.registerField(m, y), function() {
47889
47900
  O.unregisterField(m, y);
@@ -47936,7 +47947,7 @@ var fY = /* @__PURE__ */ a(function() {
47936
47947
  return e || pY;
47937
47948
  }, "useSourceContext"), hY = /* @__PURE__ */ a(function() {
47938
47949
  return ke(Ob);
47939
- }, "useOptionalSourceContext"), qe = {};
47950
+ }, "useOptionalSourceContext"), Ge = {};
47940
47951
  /*!
47941
47952
  * inflection
47942
47953
  * Copyright(c) 2011 Ben Lin <ben@dreamerslab.com>
@@ -47945,8 +47956,8 @@ var fY = /* @__PURE__ */ a(function() {
47945
47956
  * @fileoverview
47946
47957
  * A port of inflection-js to node.js module.
47947
47958
  */
47948
- Object.defineProperty(qe, "__esModule", { value: !0 });
47949
- var ZE = qe.transform = qe.ordinalize = qe.foreignKey = qe.classify = qe.tableize = qe.demodulize = qe.titleize = qe.dasherize = qe.capitalize = qe.humanize = qe.underscore = qe.camelize = qe.inflect = qe.singularize = qe.pluralize = void 0;
47959
+ Object.defineProperty(Ge, "__esModule", { value: !0 });
47960
+ var ZE = Ge.transform = Ge.ordinalize = Ge.foreignKey = Ge.classify = Ge.tableize = Ge.demodulize = Ge.titleize = Ge.dasherize = Ge.capitalize = Ge.humanize = Ge.underscore = Ge.camelize = Ge.inflect = Ge.singularize = Ge.pluralize = void 0;
47950
47961
  const Fu = [
47951
47962
  // 'access',
47952
47963
  "accommodation",
@@ -48477,17 +48488,17 @@ function xb(e, t) {
48477
48488
  return $u(e, ek, Fu, t);
48478
48489
  }
48479
48490
  a(xb, "pluralize");
48480
- qe.pluralize = xb;
48491
+ Ge.pluralize = xb;
48481
48492
  function Sb(e, t) {
48482
48493
  return $u(e, tk, Fu, t);
48483
48494
  }
48484
48495
  a(Sb, "singularize");
48485
- qe.singularize = Sb;
48496
+ Ge.singularize = Sb;
48486
48497
  function OY(e, t, r, n) {
48487
48498
  return isNaN(t) ? e : t === 1 ? $u(e, tk, Fu, r) : $u(e, ek, Fu, n);
48488
48499
  }
48489
48500
  a(OY, "inflect");
48490
- qe.inflect = OY;
48501
+ Ge.inflect = OY;
48491
48502
  function Cb(e, t) {
48492
48503
  const r = e.split("/"), n = r.length;
48493
48504
  let o, i, s, l;
@@ -48499,7 +48510,7 @@ function Cb(e, t) {
48499
48510
  return r.join("::");
48500
48511
  }
48501
48512
  a(Cb, "camelize");
48502
- qe.camelize = Cb;
48513
+ Ge.camelize = Cb;
48503
48514
  function Yd(e, t) {
48504
48515
  if (t && e === e.toUpperCase())
48505
48516
  return e;
@@ -48509,22 +48520,22 @@ function Yd(e, t) {
48509
48520
  return r.join("/").toLowerCase();
48510
48521
  }
48511
48522
  a(Yd, "underscore");
48512
- qe.underscore = Yd;
48523
+ Ge.underscore = Yd;
48513
48524
  function nk(e, t) {
48514
48525
  return e = e.toLowerCase(), e = e.replace(gY, ""), e = e.replace(rk, " "), t || (e = Jd(e)), e;
48515
48526
  }
48516
48527
  a(nk, "humanize");
48517
- qe.humanize = nk;
48528
+ Ge.humanize = nk;
48518
48529
  function Jd(e) {
48519
48530
  return e = e.toLowerCase(), e.substring(0, 1).toUpperCase() + e.substring(1);
48520
48531
  }
48521
48532
  a(Jd, "capitalize");
48522
- qe.capitalize = Jd;
48533
+ Ge.capitalize = Jd;
48523
48534
  function ok(e) {
48524
48535
  return e.replace(bY, "-");
48525
48536
  }
48526
48537
  a(ok, "dasherize");
48527
- qe.dasherize = ok;
48538
+ Ge.dasherize = ok;
48528
48539
  function ik(e) {
48529
48540
  e = e.toLowerCase().replace(rk, " ");
48530
48541
  const t = e.split(" "), r = t.length;
@@ -48538,28 +48549,28 @@ function ik(e) {
48538
48549
  return e = t.join(" "), e = e.substring(0, 1).toUpperCase() + e.substring(1), e;
48539
48550
  }
48540
48551
  a(ik, "titleize");
48541
- qe.titleize = ik;
48552
+ Ge.titleize = ik;
48542
48553
  function Tb(e) {
48543
48554
  const t = e.split("::");
48544
48555
  return t[t.length - 1];
48545
48556
  }
48546
48557
  a(Tb, "demodulize");
48547
- qe.demodulize = Tb;
48558
+ Ge.demodulize = Tb;
48548
48559
  function ak(e) {
48549
48560
  return e = Yd(e), e = xb(e), e;
48550
48561
  }
48551
48562
  a(ak, "tableize");
48552
- qe.tableize = ak;
48563
+ Ge.tableize = ak;
48553
48564
  function sk(e) {
48554
48565
  return e = Cb(e), e = Sb(e), e;
48555
48566
  }
48556
48567
  a(sk, "classify");
48557
- qe.classify = sk;
48568
+ Ge.classify = sk;
48558
48569
  function lk(e, t) {
48559
48570
  return e = Tb(e), e = Yd(e) + (t ? "" : "_") + "id", e;
48560
48571
  }
48561
48572
  a(lk, "foreignKey");
48562
- qe.foreignKey = lk;
48573
+ Ge.foreignKey = lk;
48563
48574
  function ck(e) {
48564
48575
  const t = e.split(" "), r = t.length;
48565
48576
  for (let n = 0; n < r; n++) {
@@ -48573,7 +48584,7 @@ function ck(e) {
48573
48584
  return t.join(" ");
48574
48585
  }
48575
48586
  a(ck, "ordinalize");
48576
- qe.ordinalize = ck;
48587
+ Ge.ordinalize = ck;
48577
48588
  const xY = {
48578
48589
  pluralize: xb,
48579
48590
  singularize: Sb,
@@ -48598,7 +48609,7 @@ function SY(e, t) {
48598
48609
  return e;
48599
48610
  }
48600
48611
  a(SY, "transform");
48601
- ZE = qe.transform = SY;
48612
+ ZE = Ge.transform = SY;
48602
48613
  var uk = /* @__PURE__ */ a(function(e) {
48603
48614
  var t = ke(dY);
48604
48615
  return e && e.resource || t;
@@ -48753,7 +48764,7 @@ const DY = ["children", "className", "color", "component", "disabled", "error",
48753
48764
  } = e, o = {
48754
48765
  root: ["root", r !== "none" && `margin${ue(r)}`, n && "fullWidth"]
48755
48766
  };
48756
- return Se(o, NY, t);
48767
+ return Ce(o, NY, t);
48757
48768
  }, "useUtilityClasses$9"), jY = J("div", {
48758
48769
  name: "MuiFormControl",
48759
48770
  slot: "Root",
@@ -48971,7 +48982,7 @@ const BY = ["children", "className", "component", "disabled", "error", "filled",
48971
48982
  } = e, d = {
48972
48983
  root: ["root", o && "disabled", i && "error", n && `size${ue(n)}`, r && "contained", l && "focused", s && "filled", u && "required"]
48973
48984
  };
48974
- return Se(d, zY, t);
48985
+ return Ce(d, zY, t);
48975
48986
  }, "useUtilityClasses$8"), HY = J("p", {
48976
48987
  name: "MuiFormHelperText",
48977
48988
  slot: "Root",
@@ -49116,7 +49127,7 @@ const ds = Oe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
49116
49127
  root: ["root", `color${ue(r)}`, o && "disabled", i && "error", s && "filled", n && "focused", l && "required"],
49117
49128
  asterisk: ["asterisk", i && "error"]
49118
49129
  };
49119
- return Se(u, WY, t);
49130
+ return Ce(u, WY, t);
49120
49131
  }, "useUtilityClasses$7"), GY = J("label", {
49121
49132
  name: "MuiFormLabel",
49122
49133
  slot: "Root",
@@ -49247,7 +49258,7 @@ const Ua = E({}, ra, Oe("MuiInput", ["root", "underline", "input"])), JY = ["dis
49247
49258
  const {
49248
49259
  classes: t,
49249
49260
  disableUnderline: r
49250
- } = e, o = Se({
49261
+ } = e, o = Ce({
49251
49262
  root: ["root", !r && "underline"],
49252
49263
  input: ["input"]
49253
49264
  }, YY, t);
@@ -49561,7 +49572,7 @@ const ho = E({}, ra, Oe("MuiFilledInput", ["root", "underline", "input"])), tJ =
49561
49572
  const {
49562
49573
  classes: t,
49563
49574
  disableUnderline: r
49564
- } = e, o = Se({
49575
+ } = e, o = Ce({
49565
49576
  root: ["root", !r && "underline"],
49566
49577
  input: ["input"]
49567
49578
  }, eJ, t);
@@ -49971,7 +49982,7 @@ const aJ = ["disableAnimation", "margin", "shrink", "variant", "className"], sJ
49971
49982
  } = e, u = {
49972
49983
  root: ["root", r && "formControl", !i && "animated", o && "shrink", n && n !== "normal" && `size${ue(n)}`, s],
49973
49984
  asterisk: [l && "asterisk"]
49974
- }, d = Se(u, iJ, t);
49985
+ }, d = Ce(u, iJ, t);
49975
49986
  return E({}, t, d);
49976
49987
  }, "useUtilityClasses$4"), lJ = J(bk, {
49977
49988
  shouldForwardProp: /* @__PURE__ */ a((e) => Ut(e) || e === "classes", "shouldForwardProp"),
@@ -50162,7 +50173,7 @@ const kb = Oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
50162
50173
  select: ["select", r, n && "disabled", o && "multiple", s && "error"],
50163
50174
  icon: ["icon", `icon${ue(r)}`, i && "iconOpen", n && "disabled"]
50164
50175
  };
50165
- return Se(l, cJ, t);
50176
+ return Ce(l, cJ, t);
50166
50177
  }, "useUtilityClasses$3"), vk = /* @__PURE__ */ a(({
50167
50178
  ownerState: e,
50168
50179
  theme: t
@@ -50425,7 +50436,7 @@ const OJ = /* @__PURE__ */ a((e) => {
50425
50436
  icon: ["icon", `icon${ue(r)}`, i && "iconOpen", n && "disabled"],
50426
50437
  nativeInput: ["nativeInput"]
50427
50438
  };
50428
- return Se(l, hJ, t);
50439
+ return Ce(l, hJ, t);
50429
50440
  }, "useUtilityClasses$2"), Sk = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
50430
50441
  var n;
50431
50442
  const {
@@ -50468,8 +50479,8 @@ const OJ = /* @__PURE__ */ a((e) => {
50468
50479
  name: "Select"
50469
50480
  }), oe = x.useRef(null), B = x.useRef(null), [U, K] = x.useState(null), {
50470
50481
  current: q
50471
- } = x.useRef(F != null), [te, Z] = x.useState(), ie = St(r, y), se = x.useCallback((me) => {
50472
- B.current = me, me && K(me);
50482
+ } = x.useRef(F != null), [te, Z] = x.useState(), ie = St(r, y), se = x.useCallback((ge) => {
50483
+ B.current = ge, ge && K(ge);
50473
50484
  }, []), ae = U == null ? void 0 : U.parentNode;
50474
50485
  x.useImperativeHandle(ie, () => ({
50475
50486
  focus: /* @__PURE__ */ a(() => {
@@ -50484,35 +50495,35 @@ const OJ = /* @__PURE__ */ a((e) => {
50484
50495
  }, [s]), x.useEffect(() => {
50485
50496
  if (!O)
50486
50497
  return;
50487
- const me = Er(B.current).getElementById(O);
50488
- if (me) {
50498
+ const ge = Er(B.current).getElementById(O);
50499
+ if (ge) {
50489
50500
  const X = /* @__PURE__ */ a(() => {
50490
50501
  getSelection().isCollapsed && B.current.focus();
50491
50502
  }, "handler");
50492
- return me.addEventListener("click", X), () => {
50493
- me.removeEventListener("click", X);
50503
+ return ge.addEventListener("click", X), () => {
50504
+ ge.removeEventListener("click", X);
50494
50505
  };
50495
50506
  }
50496
50507
  }, [O]);
50497
- const $ = /* @__PURE__ */ a((me, X) => {
50498
- me ? M && M(X) : P && P(X), q || (Z(l ? null : ae.clientWidth), H(me));
50499
- }, "update"), ee = /* @__PURE__ */ a((me) => {
50500
- me.button === 0 && (me.preventDefault(), B.current.focus(), $(!0, me));
50501
- }, "handleMouseDown"), G = /* @__PURE__ */ a((me) => {
50502
- $(!1, me);
50503
- }, "handleClose"), be = x.Children.toArray(u), Ve = /* @__PURE__ */ a((me) => {
50504
- const X = be.find((de) => de.props.value === me.target.value);
50505
- X !== void 0 && (Q(X.props.value), w && w(me, X));
50506
- }, "handleChange"), je = /* @__PURE__ */ a((me) => (X) => {
50508
+ const $ = /* @__PURE__ */ a((ge, X) => {
50509
+ ge ? M && M(X) : P && P(X), q || (Z(l ? null : ae.clientWidth), H(ge));
50510
+ }, "update"), ee = /* @__PURE__ */ a((ge) => {
50511
+ ge.button === 0 && (ge.preventDefault(), B.current.focus(), $(!0, ge));
50512
+ }, "handleMouseDown"), G = /* @__PURE__ */ a((ge) => {
50513
+ $(!1, ge);
50514
+ }, "handleClose"), be = x.Children.toArray(u), Ve = /* @__PURE__ */ a((ge) => {
50515
+ const X = be.find((de) => de.props.value === ge.target.value);
50516
+ X !== void 0 && (Q(X.props.value), w && w(ge, X));
50517
+ }, "handleChange"), je = /* @__PURE__ */ a((ge) => (X) => {
50507
50518
  let de;
50508
50519
  if (X.currentTarget.hasAttribute("tabindex")) {
50509
50520
  if (T) {
50510
50521
  de = Array.isArray(I) ? I.slice() : [];
50511
- const Me = I.indexOf(me.props.value);
50512
- Me === -1 ? de.push(me.props.value) : de.splice(Me, 1);
50522
+ const Me = I.indexOf(ge.props.value);
50523
+ Me === -1 ? de.push(ge.props.value) : de.splice(Me, 1);
50513
50524
  } else
50514
- de = me.props.value;
50515
- if (me.props.onClick && me.props.onClick(X), I !== de && (Q(de), w)) {
50525
+ de = ge.props.value;
50526
+ if (ge.props.onClick && ge.props.onClick(X), I !== de && (Q(de), w)) {
50516
50527
  const Me = X.nativeEvent || X, Ne = new Me.constructor(Me.type, Me);
50517
50528
  Object.defineProperty(Ne, "target", {
50518
50529
  writable: !0,
@@ -50520,11 +50531,11 @@ const OJ = /* @__PURE__ */ a((e) => {
50520
50531
  value: de,
50521
50532
  name: C
50522
50533
  }
50523
- }), w(Ne, me);
50534
+ }), w(Ne, ge);
50524
50535
  }
50525
50536
  T || $(!1, X);
50526
50537
  }
50527
- }, "handleItemClick"), $e = /* @__PURE__ */ a((me) => {
50538
+ }, "handleItemClick"), $e = /* @__PURE__ */ a((ge) => {
50528
50539
  A || [
50529
50540
  " ",
50530
50541
  "ArrowUp",
@@ -50532,86 +50543,86 @@ const OJ = /* @__PURE__ */ a((e) => {
50532
50543
  // The native select doesn't respond to enter on macOS, but it's recommended by
50533
50544
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
50534
50545
  "Enter"
50535
- ].indexOf(me.key) !== -1 && (me.preventDefault(), $(!0, me));
50536
- }, "handleKeyDown"), ct = U !== null && D, Be = /* @__PURE__ */ a((me) => {
50537
- !ct && S && (Object.defineProperty(me, "target", {
50546
+ ].indexOf(ge.key) !== -1 && (ge.preventDefault(), $(!0, ge));
50547
+ }, "handleKeyDown"), ct = U !== null && D, Be = /* @__PURE__ */ a((ge) => {
50548
+ !ct && S && (Object.defineProperty(ge, "target", {
50538
50549
  writable: !0,
50539
50550
  value: {
50540
50551
  value: I,
50541
50552
  name: C
50542
50553
  }
50543
- }), S(me));
50554
+ }), S(ge));
50544
50555
  }, "handleBlur");
50545
50556
  delete V["aria-invalid"];
50546
- let Te, tt;
50547
- const rt = [];
50557
+ let Te, rt;
50558
+ const nt = [];
50548
50559
  let ze = !1, ut = !1;
50549
50560
  (Sc({
50550
50561
  value: I
50551
50562
  }) || g) && (j ? Te = j(I) : ze = !0);
50552
- const pe = be.map((me) => {
50553
- if (!/* @__PURE__ */ x.isValidElement(me))
50563
+ const pe = be.map((ge) => {
50564
+ if (!/* @__PURE__ */ x.isValidElement(ge))
50554
50565
  return null;
50555
- process.env.NODE_ENV !== "production" && Ji.isFragment(me) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
50566
+ process.env.NODE_ENV !== "production" && Ji.isFragment(ge) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
50556
50567
  `));
50557
50568
  let X;
50558
50569
  if (T) {
50559
50570
  if (!Array.isArray(I))
50560
50571
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Mn(2));
50561
- X = I.some((de) => Px(de, me.props.value)), X && ze && rt.push(me.props.children);
50572
+ X = I.some((de) => Px(de, ge.props.value)), X && ze && nt.push(ge.props.children);
50562
50573
  } else
50563
- X = Px(I, me.props.value), X && ze && (tt = me.props.children);
50564
- return X && (ut = !0), /* @__PURE__ */ x.cloneElement(me, {
50574
+ X = Px(I, ge.props.value), X && ze && (rt = ge.props.children);
50575
+ return X && (ut = !0), /* @__PURE__ */ x.cloneElement(ge, {
50565
50576
  "aria-selected": X ? "true" : "false",
50566
- onClick: je(me),
50577
+ onClick: je(ge),
50567
50578
  onKeyUp: /* @__PURE__ */ a((de) => {
50568
- de.key === " " && de.preventDefault(), me.props.onKeyUp && me.props.onKeyUp(de);
50579
+ de.key === " " && de.preventDefault(), ge.props.onKeyUp && ge.props.onKeyUp(de);
50569
50580
  }, "onKeyUp"),
50570
50581
  role: "option",
50571
50582
  selected: X,
50572
50583
  value: void 0,
50573
50584
  // The value is most likely not a valid HTML attribute.
50574
- "data-value": me.props.value
50585
+ "data-value": ge.props.value
50575
50586
  // Instead, we provide it as a data attribute.
50576
50587
  });
50577
50588
  });
50578
50589
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
50579
50590
  if (!ut && !T && I !== "") {
50580
- const me = be.map((X) => X.props.value);
50581
- console.warn([`MUI: You have provided an out-of-range value \`${I}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${me.filter((X) => X != null).map((X) => `\`${X}\``).join(", ") || '""'}.`].join(`
50591
+ const ge = be.map((X) => X.props.value);
50592
+ console.warn([`MUI: You have provided an out-of-range value \`${I}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${ge.filter((X) => X != null).map((X) => `\`${X}\``).join(", ") || '""'}.`].join(`
50582
50593
  `));
50583
50594
  }
50584
- }, [ut, be, T, C, I]), ze && (T ? rt.length === 0 ? Te = null : Te = rt.reduce((me, X, de) => (me.push(X), de < rt.length - 1 && me.push(", "), me), []) : Te = tt);
50585
- let Ge = te;
50586
- !l && q && U && (Ge = ae.clientWidth);
50587
- let Ce;
50588
- typeof L < "u" ? Ce = L : Ce = h ? null : 0;
50589
- const ge = N.id || (C ? `mui-component-select-${C}` : void 0), it = E({}, t, {
50595
+ }, [ut, be, T, C, I]), ze && (T ? nt.length === 0 ? Te = null : Te = nt.reduce((ge, X, de) => (ge.push(X), de < nt.length - 1 && ge.push(", "), ge), []) : Te = rt);
50596
+ let We = te;
50597
+ !l && q && U && (We = ae.clientWidth);
50598
+ let xe;
50599
+ typeof L < "u" ? xe = L : xe = h ? null : 0;
50600
+ const me = N.id || (C ? `mui-component-select-${C}` : void 0), et = E({}, t, {
50590
50601
  variant: _,
50591
50602
  value: I,
50592
50603
  open: ct,
50593
50604
  error: m
50594
- }), vt = OJ(it), Et = E({}, k.PaperProps, (n = k.slotProps) == null ? void 0 : n.paper), or = al();
50605
+ }), vt = OJ(et), Et = E({}, k.PaperProps, (n = k.slotProps) == null ? void 0 : n.paper), or = al();
50595
50606
  return /* @__PURE__ */ Y(x.Fragment, {
50596
50607
  children: [/* @__PURE__ */ v(gJ, E({
50597
50608
  ref: se,
50598
- tabIndex: Ce,
50609
+ tabIndex: xe,
50599
50610
  role: "combobox",
50600
50611
  "aria-controls": or,
50601
50612
  "aria-disabled": h ? "true" : void 0,
50602
50613
  "aria-expanded": ct ? "true" : "false",
50603
50614
  "aria-haspopup": "listbox",
50604
50615
  "aria-label": i,
50605
- "aria-labelledby": [O, ge].filter(Boolean).join(" ") || void 0,
50616
+ "aria-labelledby": [O, me].filter(Boolean).join(" ") || void 0,
50606
50617
  "aria-describedby": o,
50607
50618
  onKeyDown: $e,
50608
50619
  onMouseDown: h || A ? null : ee,
50609
50620
  onBlur: Be,
50610
50621
  onFocus: R
50611
50622
  }, N, {
50612
- ownerState: it,
50623
+ ownerState: et,
50613
50624
  className: re(N.className, vt.select, d),
50614
- id: ge,
50625
+ id: me,
50615
50626
  children: vJ(Te) ? (
50616
50627
  // notranslate needed while Google Translate will not fix zero-width space issue
50617
50628
  wx || (wx = /* @__PURE__ */ v("span", {
@@ -50630,11 +50641,11 @@ const OJ = /* @__PURE__ */ a((e) => {
50630
50641
  disabled: h,
50631
50642
  className: vt.nativeInput,
50632
50643
  autoFocus: s,
50633
- ownerState: it
50644
+ ownerState: et
50634
50645
  }, V)), /* @__PURE__ */ v(bJ, {
50635
50646
  as: b,
50636
50647
  className: vt.icon,
50637
- ownerState: it
50648
+ ownerState: et
50638
50649
  }), /* @__PURE__ */ v(Pg, E({
50639
50650
  id: `menu-${C || ""}`,
50640
50651
  anchorEl: ae,
@@ -50659,7 +50670,7 @@ const OJ = /* @__PURE__ */ a((e) => {
50659
50670
  slotProps: E({}, k.slotProps, {
50660
50671
  paper: E({}, Et, {
50661
50672
  style: E({
50662
- minWidth: Ge
50673
+ minWidth: We
50663
50674
  }, Et != null ? Et.style : null)
50664
50675
  })
50665
50676
  }),
@@ -51070,7 +51081,7 @@ const MJ = ["autoComplete", "autoFocus", "children", "className", "color", "defa
51070
51081
  const {
51071
51082
  classes: t
51072
51083
  } = e;
51073
- return Se({
51084
+ return Ce({
51074
51085
  root: ["root"]
51075
51086
  }, PJ, t);
51076
51087
  }, "useUtilityClasses"), FJ = J(mk, {
@@ -51395,7 +51406,7 @@ wk = Ib.default = (0, qJ.default)(/* @__PURE__ */ (0, GJ.jsx)("path", {
51395
51406
  }), "Code");
51396
51407
  var Pk = Rt(void 0), gn = /* @__PURE__ */ a(function() {
51397
51408
  var e = De(!1), t = e[0], r = e[1], n = ke(Pk);
51398
- return et(function() {
51409
+ return tt(function() {
51399
51410
  var o = /* @__PURE__ */ a(function() {
51400
51411
  r(!0);
51401
51412
  }, "onReady");
@@ -51423,7 +51434,7 @@ var Pk = Rt(void 0), gn = /* @__PURE__ */ a(function() {
51423
51434
  }), p = r("ra.tiptap.code", {
51424
51435
  _: "Code"
51425
51436
  });
51426
- et(function() {
51437
+ tt(function() {
51427
51438
  var h = /* @__PURE__ */ a(function() {
51428
51439
  i(function() {
51429
51440
  return Mx.reduce(function(g, m) {
@@ -51521,7 +51532,7 @@ var zh = function() {
51521
51532
  (h || g) && nQ[f](t);
51522
51533
  });
51523
51534
  }, "handleChange");
51524
- return et(function() {
51535
+ return tt(function() {
51525
51536
  var d = /* @__PURE__ */ a(function() {
51526
51537
  l(function() {
51527
51538
  return Rx.reduce(function(p, f) {
@@ -51595,7 +51606,7 @@ var Bh = function() {
51595
51606
  }, Bh.apply(this, arguments);
51596
51607
  }, gQ = /* @__PURE__ */ a(function(e) {
51597
51608
  var t = gn(), r = Nr(), n = De("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
51598
- et(function() {
51609
+ tt(function() {
51599
51610
  var f = /* @__PURE__ */ a(function() {
51600
51611
  i(function(h) {
51601
51612
  return bQ.reduce(function(g, m) {
@@ -51657,7 +51668,7 @@ Lk = Bb.default = (0, vQ.default)(/* @__PURE__ */ (0, OQ.jsx)("path", {
51657
51668
  }), "InsertLink");
51658
51669
  var xQ = /* @__PURE__ */ a(function() {
51659
51670
  var e = gn(), t = De(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
51660
- return et(function() {
51671
+ return tt(function() {
51661
51672
  var o = /* @__PURE__ */ a(function() {
51662
51673
  n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
51663
51674
  }, "handleSelectionChange");
@@ -51707,7 +51718,7 @@ var Hh = function() {
51707
51718
  var t = gn(), r = Nr(), n = De(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
51708
51719
  _: "Blockquote"
51709
51720
  });
51710
- return et(function() {
51721
+ return tt(function() {
51711
51722
  var l = /* @__PURE__ */ a(function() {
51712
51723
  i(t && t.isActive("blockquote"));
51713
51724
  }, "handleUpdate");
@@ -51758,7 +51769,7 @@ var Wh = function() {
51758
51769
  }, "handleClickListItem"), g = /* @__PURE__ */ a(function(m) {
51759
51770
  s(null);
51760
51771
  }, "handleClose");
51761
- return et(function() {
51772
+ return tt(function() {
51762
51773
  var m = /* @__PURE__ */ a(function() {
51763
51774
  p(function(b) {
51764
51775
  return Ul.reduce(function(y, O) {
@@ -52064,14 +52075,14 @@ var HQ = /* @__PURE__ */ a(function(e) {
52064
52075
  }, Jr.apply(this, arguments);
52065
52076
  }, XQ = /* @__PURE__ */ a(function(e) {
52066
52077
  var t, r = e.className, n = e.defaultValue, o = n === void 0 ? "" : n, i = e.disabled, s = i === void 0 ? !1 : i, l = e.editorOptions, u = l === void 0 ? ZQ : l, d = e.fullWidth, p = e.helperText, f = e.label, h = e.readOnly, g = h === void 0 ? !1 : h, m = e.source, b = e.sx, y = e.toolbar, O = uk(e), k = uY(Jr(Jr({}, e), { source: m, defaultValue: o })), T = k.id, C = k.field, S = k.isRequired, w = k.fieldState, P = k.formState.isSubmitted, R = u9(Jr(Jr({}, u), { editable: !s && !g, content: C.value, editorProps: Jr(Jr({}, u == null ? void 0 : u.editorProps), { attributes: Jr(Jr({}, (t = u == null ? void 0 : u.editorProps) === null || t === void 0 ? void 0 : t.attributes), { id: T }) }) }), [s, u, g, T]), M = w.error, F = w.invalid, A = w.isTouched;
52067
- return et(function() {
52078
+ return tt(function() {
52068
52079
  if (R) {
52069
52080
  var j = R.state.selection, N = j.from, L = j.to;
52070
52081
  R.commands.setContent(C.value, !1, {
52071
52082
  preserveWhitespace: !0
52072
52083
  }), R.commands.setTextSelection({ from: N, to: L });
52073
52084
  }
52074
- }, [R, C.value]), et(function() {
52085
+ }, [R, C.value]), tt(function() {
52075
52086
  if (R) {
52076
52087
  var j = /* @__PURE__ */ a(function() {
52077
52088
  if (R.isEmpty) {
@@ -52365,7 +52376,7 @@ const PZ = /* @__PURE__ */ a((e) => {
52365
52376
  return `${t}-${r}-${n}T${o}:${i}`;
52366
52377
  }, "convertDateToString"), uX = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/, dX = { shrink: !0 }, pX = /* @__PURE__ */ a((e) => e == null || e === "" ? "" : e instanceof Date ? $x(e) : uX.test(e) ? e : $x(new Date(e)), "formatDateTime"), MZ = /* @__PURE__ */ a((e) => {
52367
52378
  const { tipo: t, ...r } = e, { propsContenido: n, hidden: o } = nr(r), i = $r();
52368
- et(() => {
52379
+ tt(() => {
52369
52380
  n.value && i.setValue(e.source, n.value);
52370
52381
  }, [n.value]);
52371
52382
  const s = {