biblio-react 3.0.0-alpha103 → 3.0.0-alpha104

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,8 +2,8 @@ var Ew = Object.defineProperty;
2
2
  var a = (e, t) => Ew(e, "name", { value: t, configurable: !0 });
3
3
  import Ee, { jsx as y, jsxs as G, Fragment as dn } from "react/jsx-runtime";
4
4
  import * as x from "react";
5
- import rt, { forwardRef as dl, useContext as Te, createElement as Zy, Children as ad, isValidElement as Mn, cloneElement as Hr, createContext as Rt, useState as De, useMemo as mr, useRef as Si, useCallback as He, useEffect as Ge, Fragment as pn, memo as Gx, useImperativeHandle as kw, useDebugValue as Kx, useId as ww } from "react";
6
- import { unstable_ClassNameGenerator as Yx, exactProp as sd, unstable_getScrollbarSize as Pw, unstable_ownerDocument as Rn, unstable_ownerWindow as Ns, unstable_useForkRef as aa, elementAcceptingRef as Mw, unstable_useEnhancedEffect as ii, unstable_setRef as ev, HTMLElementType as Of, unstable_useEventCallback as tv, unstable_createChainedFunction as rv, unstable_debounce as Rw, usePreviousProps as Aw, unstable_getNormalizedScrollLeft as Fw, unstable_detectScrollType as $w, chainPropTypes as Iw, refType as Nw, deepmerge as Jx } from "@mui/utils";
5
+ import rt, { forwardRef as dl, useContext as Te, createElement as Zy, Children as ad, isValidElement as Rn, cloneElement as Hr, createContext as Rt, useState as De, useMemo as mr, useRef as Si, useCallback as He, useEffect as Ge, Fragment as pn, memo as Gx, useImperativeHandle as kw, useDebugValue as Kx, useId as ww } from "react";
6
+ import { unstable_ClassNameGenerator as Yx, exactProp as sd, unstable_getScrollbarSize as Pw, unstable_ownerDocument as An, unstable_ownerWindow as Ns, unstable_useForkRef as aa, elementAcceptingRef as Mw, unstable_useEnhancedEffect as ii, unstable_setRef as ev, HTMLElementType as Of, unstable_useEventCallback as tv, unstable_createChainedFunction as rv, unstable_debounce as Rw, usePreviousProps as Aw, unstable_getNormalizedScrollLeft as Fw, unstable_detectScrollType as $w, chainPropTypes as Iw, refType as Nw, deepmerge as Jx } from "@mui/utils";
7
7
  import { MenuItem as qo, ListItemIcon as Ki, ListItemText as Yi, useMediaQuery as Ci, Typography as Ls, Box as nt, Grid as nv, Dialog as am, DialogTitle as Qx, DialogContent as Lw, Stack as sm, DialogActions as Dw, Tooltip as ld, IconButton as Ds, createTheme as _w, ThemeProvider as jw, alpha as zw, StyledEngineProvider as Xx, Card as Zx, CircularProgress as Bw, CardContent as e1, Collapse as Vw, List as t1, Menu as xf, Switch as Hw, Divider as Ww, Button as ov, Paper as r1, ToggleButtonGroup as cd, ToggleButton as jt, ListItem as Uw, useTheme as qw, FormHelperText as Gw } from "@mui/material";
8
8
  import { useTranslate as xt, useUserMenu as Kw, useResourceDefinitions as Yw, AppBar as Jw, UserMenu as Qw, Logout as Xw, useSaveContext as Zw, required as eP, minValue as tP, TopToolbar as n1, RefreshButton as rP, ListButton as nP, ShowButton as oP, useNotify as iP, useDataProvider as lm, useResourceContext as ht, useListContext as ai, useRedirect as Aa, useUnselectAll as aP, NumberField as sP, DateField as iv, TextField as lc, ReferenceField as lP, useCreatePath as pl, Button as wr, SaveButton as ud, Confirm as dd, Form as fl, useRecordContext as Lr, useListController as cP, ListContextProvider as uP, LoadingClasses as Tc, List as o1, useResourceDefinition as i1, BulkActionsToolbar as dP, useInput as pd, useGetList as a1, Labeled as s1, useSafeSetState as cm, useGetOne as l1, useCreateController as pP, CreateContextProvider as fP, Create as hP, useDelete as c1, useEditController as mP, Edit as gP, SimpleForm as bP, useSidebarState as u1, Menu as yP, DashboardMenuItem as vP, MenuItemLink as d1, Layout as OP, FilterContext as xP, sanitizeListRestProps as SP, FilterButton as CP, CreateButton as TP, useLogin as EP, TextInput as si, PasswordInput as p1, useShowController as kP, Show as wP, FormTab as PP, getTabbedFormTabFullPath as MP, TabbedFormTabs as RP, Toolbar as f1, defaultTheme as h1, BooleanField as AP, ImageInput as FP, ImageField as $P, FileInput as IP, BooleanInput as NP, ReferenceInput as m1, useChoicesContext as g1, AutocompleteInput as LP, SelectInput as DP, ReferenceArrayInput as _P, AutocompleteArrayInput as jP, SearchInput as zP, RadioButtonGroupInput as b1, useRecordSelection as y1, ListActions as BP, Datagrid as VP, ValidationError as HP, FieldTitle as v1, NumberInput as WP } from "react-admin";
9
9
  import { Link as _s, useNavigate as Fa, Routes as um, Route as dm, useLocation as Ti, matchPath as Sf, useResolvedPath as UP } from "react-router-dom";
@@ -54,20 +54,20 @@ var bm = {}, E1 = { exports: {} };
54
54
  a(t, "_interopRequireDefault"), e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
55
55
  })(E1);
56
56
  var Se = E1.exports, hp = {};
57
- function $n(e) {
57
+ function In(e) {
58
58
  let t = "https://mui.com/production-error/?code=" + e;
59
59
  for (let r = 1; r < arguments.length; r += 1)
60
60
  t += "&args[]=" + encodeURIComponent(arguments[r]);
61
61
  return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
62
62
  }
63
- a($n, "formatMuiErrorMessage$1");
63
+ a(In, "formatMuiErrorMessage$1");
64
64
  const cM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
65
  __proto__: null,
66
- default: $n
66
+ default: In
67
67
  }, Symbol.toStringTag, { value: "Module" }));
68
68
  function ce(e) {
69
69
  if (typeof e != "string")
70
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : $n(7));
70
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : In(7));
71
71
  return e.charAt(0).toUpperCase() + e.slice(1);
72
72
  }
73
73
  a(ce, "capitalize$2");
@@ -2653,15 +2653,15 @@ const Y1 = /* @__PURE__ */ a((e, t) => {
2653
2653
  internal_processStyles: Y1,
2654
2654
  keyframes: Ia
2655
2655
  }, Symbol.toStringTag, { value: "Module" })), J1 = /* @__PURE__ */ gn(_R);
2656
- function wn(e) {
2656
+ function Pn(e) {
2657
2657
  if (typeof e != "object" || e === null)
2658
2658
  return !1;
2659
2659
  const t = Object.getPrototypeOf(e);
2660
2660
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2661
2661
  }
2662
- a(wn, "isPlainObject$1");
2662
+ a(Pn, "isPlainObject$1");
2663
2663
  function Q1(e) {
2664
- if (!wn(e))
2664
+ if (!Pn(e))
2665
2665
  return e;
2666
2666
  const t = {};
2667
2667
  return Object.keys(e).forEach((r) => {
@@ -2673,16 +2673,16 @@ function Gt(e, t, r = {
2673
2673
  clone: !0
2674
2674
  }) {
2675
2675
  const n = r.clone ? E({}, e) : e;
2676
- return wn(e) && wn(t) && Object.keys(t).forEach((o) => {
2677
- wn(t[o]) && // Avoid prototype pollution
2678
- Object.prototype.hasOwnProperty.call(e, o) && wn(e[o]) ? n[o] = Gt(e[o], t[o], r) : r.clone ? n[o] = wn(t[o]) ? Q1(t[o]) : t[o] : n[o] = t[o];
2676
+ return Pn(e) && Pn(t) && Object.keys(t).forEach((o) => {
2677
+ Pn(t[o]) && // Avoid prototype pollution
2678
+ Object.prototype.hasOwnProperty.call(e, o) && Pn(e[o]) ? n[o] = Gt(e[o], t[o], r) : r.clone ? n[o] = Pn(t[o]) ? Q1(t[o]) : t[o] : n[o] = t[o];
2679
2679
  }), n;
2680
2680
  }
2681
2681
  a(Gt, "deepmerge$1");
2682
2682
  const jR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2683
2683
  __proto__: null,
2684
2684
  default: Gt,
2685
- isPlainObject: wn
2685
+ isPlainObject: Pn
2686
2686
  }, Symbol.toStringTag, { value: "Module" })), zR = /* @__PURE__ */ gn(jR), BR = /* @__PURE__ */ gn(uM);
2687
2687
  var Rf = { exports: {} }, Xe = {};
2688
2688
  /**
@@ -3794,7 +3794,7 @@ function vl(e) {
3794
3794
  let i;
3795
3795
  return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = /* @__PURE__ */ a((...s) => {
3796
3796
  const l = t(...s);
3797
- return wn(l) ? E({}, n, l) : n;
3797
+ return Pn(l) ? E({}, n, l) : n;
3798
3798
  }, "finalSx") : i = E({}, n, t), E({}, o, {
3799
3799
  sx: i
3800
3800
  });
@@ -4499,7 +4499,7 @@ function FF(e) {
4499
4499
  }) => {
4500
4500
  if (b = E({}, b), !b.main && b[O] && (b.main = b[O]), !b.hasOwnProperty("main"))
4501
4501
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
4502
- The color object needs to have a \`main\` property or a \`${O}\` property.` : $n(11, v ? ` (${v})` : "", O));
4502
+ The color object needs to have a \`main\` property or a \`${O}\` property.` : In(11, v ? ` (${v})` : "", O));
4503
4503
  if (typeof b.main != "string")
4504
4504
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${v ? ` (${v})` : ""} provided to augmentColor(color) is invalid.
4505
4505
  \`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
@@ -4514,7 +4514,7 @@ const theme1 = createTheme({ palette: {
4514
4514
 
4515
4515
  const theme2 = createTheme({ palette: {
4516
4516
  primary: { main: green[500] },
4517
- } });` : $n(12, v ? ` (${v})` : "", JSON.stringify(b.main)));
4517
+ } });` : In(12, v ? ` (${v})` : "", JSON.stringify(b.main)));
4518
4518
  return Jv(b, "light", k, n), Jv(b, "dark", T, n), b.contrastText || (b.contrastText = f(b.main)), b;
4519
4519
  }, "augmentColor"), m = {
4520
4520
  dark: Tp,
@@ -4727,7 +4727,7 @@ function mS(e = {}, ...t) {
4727
4727
  typography: i = {}
4728
4728
  } = e, s = oe(e, qF);
4729
4729
  if (e.vars)
4730
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : $n(18));
4730
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : In(18));
4731
4731
  const l = FF(n), u = yl(e);
4732
4732
  let d = Gt(u, {
4733
4733
  mixins: cF(u.breakpoints, r),
@@ -5472,7 +5472,7 @@ function F$(e = {}) {
5472
5472
  const k = Pm(s, E({
5473
5473
  shouldForwardProp: O,
5474
5474
  label: v
5475
- }, m)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S || wn(S) ? (w) => hc(S, E({}, w, {
5475
+ }, m)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S || Pn(S) ? (w) => hc(S, E({}, w, {
5476
5476
  theme: jl({
5477
5477
  theme: w.theme,
5478
5478
  defaultTheme: r,
@@ -5625,12 +5625,12 @@ function TS(e) {
5625
5625
  const t = e.indexOf("("), r = e.substring(0, t);
5626
5626
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
5627
5627
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
5628
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : $n(9, e));
5628
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : In(9, e));
5629
5629
  let n = e.substring(t + 1, e.length - 1), o;
5630
5630
  if (r === "color") {
5631
5631
  if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
5632
5632
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
5633
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : $n(10, o));
5633
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : In(10, o));
5634
5634
  } else
5635
5635
  n = n.split(",");
5636
5636
  return n = n.map((i) => parseFloat(i)), {
@@ -5960,7 +5960,7 @@ MS = Um.default = (0, pI.default)(/* @__PURE__ */ (0, fI.jsx)("path", {
5960
5960
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
5961
5961
  }), "Edit");
5962
5962
  function hI(e) {
5963
- const t = Rn(e);
5963
+ const t = An(e);
5964
5964
  return t.body === e ? Ns(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
5965
5965
  }
5966
5966
  a(hI, "isOverflowing");
@@ -5994,13 +5994,13 @@ function gI(e, t) {
5994
5994
  const r = [], n = e.container;
5995
5995
  if (!t.disableScrollLock) {
5996
5996
  if (hI(n)) {
5997
- const s = Pw(Rn(n));
5997
+ const s = Pw(An(n));
5998
5998
  r.push({
5999
5999
  value: n.style.paddingRight,
6000
6000
  property: "padding-right",
6001
6001
  el: n
6002
6002
  }), n.style.paddingRight = `${l0(n) + s}px`;
6003
- const l = Rn(n).querySelectorAll(".mui-fixed");
6003
+ const l = An(n).querySelectorAll(".mui-fixed");
6004
6004
  [].forEach.call(l, (u) => {
6005
6005
  r.push({
6006
6006
  value: u.style.paddingRight,
@@ -6011,7 +6011,7 @@ function gI(e, t) {
6011
6011
  }
6012
6012
  let i;
6013
6013
  if (n.parentNode instanceof DocumentFragment)
6014
- i = Rn(n).body;
6014
+ i = An(n).body;
6015
6015
  else {
6016
6016
  const s = n.parentElement, l = Ns(n);
6017
6017
  i = (s == null ? void 0 : s.nodeName) === "HTML" && l.getComputedStyle(s).overflowY === "scroll" ? s : n;
@@ -6247,7 +6247,7 @@ function Fc(e) {
6247
6247
  }, [r, l]), x.useEffect(() => {
6248
6248
  if (!l || !g.current)
6249
6249
  return;
6250
- const T = Rn(g.current);
6250
+ const T = An(g.current);
6251
6251
  return g.current.contains(T.activeElement) || (g.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
6252
6252
  `)), g.current.setAttribute("tabIndex", "-1")), m.current && g.current.focus()), () => {
6253
6253
  o || (f.current && f.current.focus && (u.current = !0, f.current.focus()), f.current = null);
@@ -6255,7 +6255,7 @@ function Fc(e) {
6255
6255
  }, [l]), x.useEffect(() => {
6256
6256
  if (!l || !g.current)
6257
6257
  return;
6258
- const T = Rn(g.current), C = /* @__PURE__ */ a((P) => {
6258
+ const T = An(g.current), C = /* @__PURE__ */ a((P) => {
6259
6259
  v.current = P, !(n || !s() || P.key !== "Tab") && T.activeElement === g.current && P.shiftKey && (u.current = !0, p.current && p.current.focus());
6260
6260
  }, "loopFocus"), S = /* @__PURE__ */ a(() => {
6261
6261
  const P = g.current;
@@ -6789,7 +6789,7 @@ function MI(e) {
6789
6789
  a(MI, "_assertThisInitialized");
6790
6790
  function qm(e, t) {
6791
6791
  var r = /* @__PURE__ */ a(function(i) {
6792
- return t && Mn(i) ? t(i) : i;
6792
+ return t && Rn(i) ? t(i) : i;
6793
6793
  }, "mapper"), n = /* @__PURE__ */ Object.create(null);
6794
6794
  return e && ad.map(e, function(o) {
6795
6795
  return o;
@@ -6841,8 +6841,8 @@ function FI(e, t, r) {
6841
6841
  var n = qm(e.children), o = RI(t, n);
6842
6842
  return Object.keys(o).forEach(function(i) {
6843
6843
  var s = o[i];
6844
- if (Mn(s)) {
6845
- var l = i in t, u = i in n, d = t[i], p = Mn(d) && !d.props.in;
6844
+ if (Rn(s)) {
6845
+ var l = i in t, u = i in n, d = t[i], p = Rn(d) && !d.props.in;
6846
6846
  u && (!l || p) ? o[i] = Hr(s, {
6847
6847
  onExited: r.bind(null, s),
6848
6848
  in: !0,
@@ -6850,7 +6850,7 @@ function FI(e, t, r) {
6850
6850
  enter: zo(s, "enter", e)
6851
6851
  }) : !u && l && !p ? o[i] = Hr(s, {
6852
6852
  in: !1
6853
- }) : u && l && Mn(d) && (o[i] = Hr(s, {
6853
+ }) : u && l && Rn(d) && (o[i] = Hr(s, {
6854
6854
  onExited: r.bind(null, s),
6855
6855
  in: d.props.in,
6856
6856
  exit: zo(s, "exit", e),
@@ -7332,7 +7332,7 @@ function WI(e) {
7332
7332
  } = e, h = x.useRef({}), m = x.useRef(null), g = x.useRef(null), b = aa(g, f), [v, O] = x.useState(!p), k = VI(u);
7333
7333
  let T = !0;
7334
7334
  (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (T = !1);
7335
- const C = /* @__PURE__ */ a(() => Rn(m.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = g.current, h.current.mount = m.current, h.current), "getModal"), w = /* @__PURE__ */ a(() => {
7335
+ const C = /* @__PURE__ */ a(() => An(m.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = g.current, h.current.mount = m.current, h.current), "getModal"), w = /* @__PURE__ */ a(() => {
7336
7336
  o.mount(S(), {
7337
7337
  disableScrollLock: n
7338
7338
  }), g.current && (g.current.scrollTop = 0);
@@ -9633,7 +9633,7 @@ const lL = /^(\d+)(th|st|nd|rd)?/i, cL = /\d+/i, uL = {
9633
9633
  validate: z,
9634
9634
  required: B,
9635
9635
  ...V
9636
- } = b, L = s || F === void 0 ? C : F, Y = s || I === void 0 ? S : I, D = s || M === void 0 ? O : M, j = s || $ === void 0 ? T : $, te = s || R === void 0 ? k : R, H = On({ ...e, etrs: v, asisEtr: i }), K = N({
9636
+ } = b, L = s || F === void 0 ? C : F, Y = s || I === void 0 ? S : I, D = s || M === void 0 ? O : M, j = s || $ === void 0 ? T : $, te = s || R === void 0 ? k : R, H = xn({ ...e, etrs: v, asisEtr: i }), K = N({
9637
9637
  ...A,
9638
9638
  estado: r,
9639
9639
  hidden: L,
@@ -9713,7 +9713,7 @@ const lL = /^(\d+)(th|st|nd|rd)?/i, cL = /\d+/i, uL = {
9713
9713
  const {
9714
9714
  fichaProps: { onBeforeSubmitFicha: t, etrs: r },
9715
9715
  estado: n
9716
- } = Te(Ot), o = lD({ ...e, etrs: r }), i = Dn(), { save: s } = Zw(), l = He(
9716
+ } = Te(Ot), o = lD({ ...e, etrs: r }), i = On(), { save: s } = Zw(), l = He(
9717
9717
  async (u) => {
9718
9718
  const d = t && await t(
9719
9719
  {
@@ -9960,7 +9960,7 @@ const HS = /* @__PURE__ */ a(() => {
9960
9960
  },
9961
9961
  [e]
9962
9962
  );
9963
- }, "useSetLabel"), Dn = /* @__PURE__ */ a(() => {
9963
+ }, "useSetLabel"), On = /* @__PURE__ */ a(() => {
9964
9964
  const e = iP();
9965
9965
  return (t, r) => {
9966
9966
  e(
@@ -9970,7 +9970,7 @@ const HS = /* @__PURE__ */ a(() => {
9970
9970
  { multiLine: !0, ...r }
9971
9971
  );
9972
9972
  };
9973
- }, "useNotifyEtriek$1"), sD = /* @__PURE__ */ a((e, t, r = !1) => {
9973
+ }, "useNotifyEtriek"), sD = /* @__PURE__ */ a((e, t, r = !1) => {
9974
9974
  const n = lm(), { mutateAsync: o, isFetching: i } = iM({
9975
9975
  mutationFn: /* @__PURE__ */ a((s) => {
9976
9976
  const { method: l, params: u } = s;
@@ -10012,7 +10012,7 @@ const HS = /* @__PURE__ */ a(() => {
10012
10012
  r.refetchQueries({ queryKey: [t], type: "active" });
10013
10013
  }, [r, t]);
10014
10014
  }, "useResourceRefresh"), Rl = /* @__PURE__ */ a((e) => ({}), "useDefaultHook"), $d = /* @__PURE__ */ a((e) => {
10015
- const t = ai(e), r = Dn(), n = Aa(), o = Fa(), i = ja(), s = ht(e), l = rC(e), u = aP(s), d = Ad(), p = Fd(), f = xt(), h = qS(), [m] = ag(s);
10015
+ const t = ai(e), r = On(), n = Aa(), o = Fa(), i = ja(), s = ht(e), l = rC(e), u = aP(s), d = Ad(), p = Fd(), f = xt(), h = qS(), [m] = ag(s);
10016
10016
  return {
10017
10017
  ajax: m,
10018
10018
  data: t,
@@ -10029,7 +10029,7 @@ const HS = /* @__PURE__ */ a(() => {
10029
10029
  abrirVentanaSistema: h
10030
10030
  };
10031
10031
  }, "useUtilsGrilla"), lD = /* @__PURE__ */ a((e) => {
10032
- const t = GS(), r = KS(), n = YS(), o = JS(), i = QS(), s = XS(), l = ja(), u = Dn(), d = Aa(), p = Fa(), f = ht(e), h = Ad(), { propsContenidos: m, setPropsContenidos: g } = og(), [b] = ag(f), v = e.etrs || {};
10032
+ const t = GS(), r = KS(), n = YS(), o = JS(), i = QS(), s = XS(), l = ja(), u = On(), d = Aa(), p = Fa(), f = ht(e), h = Ad(), { propsContenidos: m, setPropsContenidos: g } = og(), [b] = ag(f), v = e.etrs || {};
10033
10033
  return {
10034
10034
  ajax: b,
10035
10035
  notify: u,
@@ -10046,8 +10046,8 @@ const HS = /* @__PURE__ */ a(() => {
10046
10046
  setLabel: s,
10047
10047
  etrs: v
10048
10048
  };
10049
- }, "useUtilsSubmit"), On = /* @__PURE__ */ a((e) => {
10050
- const t = GS(), r = KS(), n = YS(), o = JS(), i = QS(), s = XS(), l = ja(), u = Dn(), d = Aa(), p = Fa(), f = ir(), h = ht(e), m = Ad(), g = tC(), b = qS(), { propsContenidos: v, setPropsContenidos: O } = og(), [k] = ag(h), T = e.etrs || {}, C = e.asisEtr || {}, S = f == null ? void 0 : f.trigger;
10049
+ }, "useUtilsSubmit"), xn = /* @__PURE__ */ a((e) => {
10050
+ const t = GS(), r = KS(), n = YS(), o = JS(), i = QS(), s = XS(), l = ja(), u = On(), d = Aa(), p = Fa(), f = ir(), h = ht(e), m = Ad(), g = tC(), b = qS(), { propsContenidos: v, setPropsContenidos: O } = og(), [k] = ag(h), T = e.etrs || {}, C = e.asisEtr || {}, S = f == null ? void 0 : f.trigger;
10051
10051
  return {
10052
10052
  form: f,
10053
10053
  ajax: k,
@@ -11263,7 +11263,7 @@ const ga = ye("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11263
11263
  if (!J) {
11264
11264
  const Ne = Re.target || U.current;
11265
11265
  if (Ne == null)
11266
- 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." : $n(1));
11266
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : In(1));
11267
11267
  ge({
11268
11268
  value: Ne.value
11269
11269
  });
@@ -14263,7 +14263,7 @@ process.env.NODE_ENV !== "production" && (xC.propTypes = {
14263
14263
  width: c.number.isRequired
14264
14264
  });
14265
14265
  const X2 = ["BackdropProps"], Z2 = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "allowSwipeInChildren", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"], Vl = 3, Ap = 20;
14266
- let Sn = null;
14266
+ let Cn = null;
14267
14267
  function Fp(e, t, r) {
14268
14268
  return e === "right" ? r.body.offsetWidth - t[0].pageX : t[0].pageX;
14269
14269
  }
@@ -14373,7 +14373,7 @@ const r_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14373
14373
  }, [s, l, p, o, S]), Y = cr((H) => {
14374
14374
  if (!B.current)
14375
14375
  return;
14376
- if (Sn = null, B.current = !1, Cf.flushSync(() => {
14376
+ if (Cn = null, B.current = !1, Cf.flushSync(() => {
14377
14377
  $(!1);
14378
14378
  }), !R.current.isSwiping) {
14379
14379
  R.current.isSwiping = null;
@@ -14404,11 +14404,11 @@ const r_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14404
14404
  }), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1, B.current = !0;
14405
14405
  }
14406
14406
  }, "startMaybeSwiping"), j = cr((H) => {
14407
- if (!N.current || !B.current || Sn !== null && Sn !== R.current)
14407
+ if (!N.current || !B.current || Cn !== null && Cn !== R.current)
14408
14408
  return;
14409
14409
  D(!0);
14410
14410
  const K = cs(o, s), J = Po(s), U = Fp(K, H.touches, Pr(H.currentTarget)), re = $p(K, H.touches, Wr(H.currentTarget));
14411
- if (O && N.current.contains(H.target) && Sn === null) {
14411
+ if (O && N.current.contains(H.target) && Cn === null) {
14412
14412
  const _ = e_(H.target, N.current);
14413
14413
  if (t_({
14414
14414
  domTreeShapes: _,
@@ -14416,10 +14416,10 @@ const r_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14416
14416
  current: J ? U : re,
14417
14417
  anchor: s
14418
14418
  })) {
14419
- Sn = !0;
14419
+ Cn = !0;
14420
14420
  return;
14421
14421
  }
14422
- Sn = R.current;
14422
+ Cn = R.current;
14423
14423
  }
14424
14424
  if (R.current.isSwiping == null) {
14425
14425
  const _ = Math.abs(U - R.current.startX), de = Math.abs(re - R.current.startY), W = J ? _ > de && _ > Vl : de > _ && de > Vl;
@@ -14461,7 +14461,7 @@ const r_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14461
14461
  } else if (re > C)
14462
14462
  return;
14463
14463
  }
14464
- H.defaultMuiPrevented = !0, Sn = null, R.current.startX = U, R.current.startY = re, D();
14464
+ H.defaultMuiPrevented = !0, Cn = null, R.current.startX = U, R.current.startY = re, D();
14465
14465
  });
14466
14466
  return x.useEffect(() => {
14467
14467
  if (w === "temporary") {
@@ -14475,7 +14475,7 @@ const r_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14475
14475
  };
14476
14476
  }
14477
14477
  }, [w, O, te, j, Y]), x.useEffect(() => () => {
14478
- Sn === R.current && (Sn = null);
14478
+ Cn === R.current && (Cn = null);
14479
14479
  }, []), x.useEffect(() => {
14480
14480
  O || $(!1);
14481
14481
  }, [O]), /* @__PURE__ */ G(x.Fragment, {
@@ -22964,7 +22964,7 @@ RC = Cg.default = (0, tB.default)(/* @__PURE__ */ (0, rB.jsx)("path", {
22964
22964
  const AC = /* @__PURE__ */ a((e) => {
22965
22965
  const t = xt(), { defaultTitle: r, onClose: n, record: o, title: i } = e;
22966
22966
  return /* @__PURE__ */ G(nB, { id: "edit-dialog-title", children: [
22967
- Mn(i) ? Hr(i, { record: o }) : i ? t(i, { _: i }) : r,
22967
+ Rn(i) ? Hr(i, { record: o }) : i ? t(i, { _: i }) : r,
22968
22968
  /* @__PURE__ */ y(
22969
22969
  Ds,
22970
22970
  {
@@ -23010,7 +23010,7 @@ const AC = /* @__PURE__ */ a((e) => {
23010
23010
  redirect: n = "list",
23011
23011
  ...o
23012
23012
  }) => {
23013
- const i = Aa(), s = Dn(), l = mm(), u = {
23013
+ const i = Aa(), s = On(), l = mm(), u = {
23014
23014
  onSuccess: /* @__PURE__ */ a((g) => {
23015
23015
  s("ra.notification.created", {
23016
23016
  type: "info",
@@ -23475,7 +23475,7 @@ const DC = /* @__PURE__ */ a((e) => {
23475
23475
  ] : [];
23476
23476
  }, "getActions")
23477
23477
  }
23478
- ]) : ze, et = mr(() => Ce, []), tt = I && Mn(R), Be = /* @__PURE__ */ a((Q) => {
23478
+ ]) : ze, et = mr(() => Ce, []), tt = I && Rn(R), Be = /* @__PURE__ */ a((Q) => {
23479
23479
  L || (I || !O ? D(Q) : X.current.isRowSelected(Q[0]) ? D([]) : D(Q));
23480
23480
  }, "handleSelectionChange"), ut = /* @__PURE__ */ a((Q) => {
23481
23481
  var Ft;
@@ -23764,7 +23764,7 @@ const DC = /* @__PURE__ */ a((e) => {
23764
23764
  open: u
23765
23765
  } = e, { dirtyFields: d, isValid: p } = tM(), {
23766
23766
  fichaProps: { [e.source]: f = {}, etrs: h }
23767
- } = Te(Ot), m = ja(), g = Te(za), { onAfterRenderAsistente: b, ...v } = f, O = On({ resource: r, etrs: h, asisEtr: g });
23767
+ } = Te(Ot), m = ja(), g = Te(za), { onAfterRenderAsistente: b, ...v } = f, O = xn({ resource: r, etrs: h, asisEtr: g });
23768
23768
  return Ge(() => {
23769
23769
  u && typeof b == "function" && b({ ...O, form: t }, n);
23770
23770
  }, [u]), /* @__PURE__ */ G(dn, { children: [
@@ -23815,7 +23815,7 @@ const DC = /* @__PURE__ */ a((e) => {
23815
23815
  } = e, [p, f] = cm(!1), h = ht(e), m = ir(), g = Ei(), b = iC({ apiRef: g, source: i, enviarTodo: s }), v = "N", {
23816
23816
  estado: O,
23817
23817
  fichaProps: { etrs: k }
23818
- } = Te(Ot), T = Te(za), C = On({ etrs: k, asisEtr: T }), w = xt()("ra.action.create");
23818
+ } = Te(Ot), T = Te(za), C = xn({ etrs: k, asisEtr: T }), w = xt()("ra.action.create");
23819
23819
  return /* @__PURE__ */ G(dn, { children: [
23820
23820
  /* @__PURE__ */ y(
23821
23821
  wr,
@@ -23879,7 +23879,7 @@ const DC = /* @__PURE__ */ a((e) => {
23879
23879
  } = e, p = xt(), [f, h] = cm(!1), m = Ei(), g = ir(), b = aC({ apiRef: m, source: i, enviarTodo: l }), v = "M", {
23880
23880
  estado: O,
23881
23881
  fichaProps: { etrs: k }
23882
- } = Te(Ot), T = Te(za), C = On({ etrs: k, asisEtr: T }), S = p("ra.action.edit");
23882
+ } = Te(Ot), T = Te(za), C = xn({ etrs: k, asisEtr: T }), S = p("ra.action.edit");
23883
23883
  return /* @__PURE__ */ G(dn, { children: [
23884
23884
  /* @__PURE__ */ y(
23885
23885
  wr,
@@ -23941,7 +23941,7 @@ const DC = /* @__PURE__ */ a((e) => {
23941
23941
  } = e, [u, d] = cm(!1), p = Ei(), f = ir(), h = sC({ apiRef: p, source: o, enviarTodo: i }), {
23942
23942
  estado: m,
23943
23943
  fichaProps: { etrs: g }
23944
- } = Te(Ot), b = On({ etrs: g });
23944
+ } = Te(Ot), b = xn({ etrs: g });
23945
23945
  return /* @__PURE__ */ G(pn, { children: [
23946
23946
  /* @__PURE__ */ y(
23947
23947
  yB,
@@ -24198,7 +24198,7 @@ const DC = /* @__PURE__ */ a((e) => {
24198
24198
  estado: v,
24199
24199
  isLoading: O,
24200
24200
  fichaProps: k = {}
24201
- } = Te(Ot), T = kg(), C = On(e), { [e.source]: S = {} } = k, { useContenido: w = Rl, ...P } = S, {
24201
+ } = Te(Ot), T = kg(), C = xn(e), { [e.source]: S = {} } = k, { useContenido: w = Rl, ...P } = S, {
24202
24202
  data: A = [],
24203
24203
  isFetching: M,
24204
24204
  refetch: $
@@ -25606,7 +25606,7 @@ const iee = /* @__PURE__ */ a((e) => {
25606
25606
  redirect: n = "list",
25607
25607
  ...o
25608
25608
  }) => {
25609
- const i = Aa(), s = Dn(), l = mm(), u = {
25609
+ const i = Aa(), s = On(), l = mm(), u = {
25610
25610
  onSuccess: /* @__PURE__ */ a((g) => {
25611
25611
  s("ra.notification.created", {
25612
25612
  type: "info",
@@ -26076,10 +26076,10 @@ function QC(e, t) {
26076
26076
  return !1;
26077
26077
  }
26078
26078
  a(QC, "contains");
26079
- function In(e) {
26079
+ function Nn(e) {
26080
26080
  return fr(e).getComputedStyle(e);
26081
26081
  }
26082
- a(In, "getComputedStyle$1");
26082
+ a(Nn, "getComputedStyle$1");
26083
26083
  function PV(e) {
26084
26084
  return ["table", "td", "th"].indexOf(fn(e)) >= 0;
26085
26085
  }
@@ -26106,19 +26106,19 @@ function Wd(e) {
26106
26106
  a(Wd, "getParentNode");
26107
26107
  function _0(e) {
26108
26108
  return !Ar(e) || // https://github.com/popperjs/popper-core/issues/837
26109
- In(e).position === "fixed" ? null : e.offsetParent;
26109
+ Nn(e).position === "fixed" ? null : e.offsetParent;
26110
26110
  }
26111
26111
  a(_0, "getTrueOffsetParent");
26112
26112
  function MV(e) {
26113
26113
  var t = /firefox/i.test(Wf()), r = /Trident/i.test(Wf());
26114
26114
  if (r && Ar(e)) {
26115
- var n = In(e);
26115
+ var n = Nn(e);
26116
26116
  if (n.position === "fixed")
26117
26117
  return null;
26118
26118
  }
26119
26119
  var o = Wd(e);
26120
26120
  for (Rg(o) && (o = o.host); Ar(o) && ["html", "body"].indexOf(fn(o)) < 0; ) {
26121
- var i = In(o);
26121
+ var i = Nn(o);
26122
26122
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
26123
26123
  return o;
26124
26124
  o = o.parentNode;
@@ -26127,9 +26127,9 @@ function MV(e) {
26127
26127
  }
26128
26128
  a(MV, "getContainingBlock");
26129
26129
  function Fl(e) {
26130
- for (var t = fr(e), r = _0(e); r && PV(r) && In(r).position === "static"; )
26130
+ for (var t = fr(e), r = _0(e); r && PV(r) && Nn(r).position === "static"; )
26131
26131
  r = _0(r);
26132
- return r && (fn(r) === "html" || fn(r) === "body" && In(r).position === "static") ? t : r || MV(e) || t;
26132
+ return r && (fn(r) === "html" || fn(r) === "body" && Nn(r).position === "static") ? t : r || MV(e) || t;
26133
26133
  }
26134
26134
  a(Fl, "getOffsetParent");
26135
26135
  function Fg(e) {
@@ -26221,7 +26221,7 @@ function j0(e) {
26221
26221
  var O = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), T = er, C = Zt, S = window;
26222
26222
  if (d) {
26223
26223
  var w = Fl(r), P = "clientHeight", A = "clientWidth";
26224
- if (w === fr(r) && (w = ho(r), In(w).position !== "static" && l === "absolute" && (P = "scrollHeight", A = "scrollWidth")), w = w, o === Zt || (o === er || o === Nr) && i === Js) {
26224
+ if (w === fr(r) && (w = ho(r), Nn(w).position !== "static" && l === "absolute" && (P = "scrollHeight", A = "scrollWidth")), w = w, o === Zt || (o === er || o === Nr) && i === Js) {
26225
26225
  C = Ir;
26226
26226
  var M = f && w === S && S.visualViewport ? S.visualViewport.height : (
26227
26227
  // $FlowFixMe[prop-missing]
@@ -26359,7 +26359,7 @@ function HV(e, t) {
26359
26359
  a(HV, "getViewportRect");
26360
26360
  function WV(e) {
26361
26361
  var t, r = ho(e), n = $g(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Ko(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = Ko(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -n.scrollLeft + Ig(e), u = -n.scrollTop;
26362
- return In(o || r).direction === "rtl" && (l += Ko(r.clientWidth, o ? o.clientWidth : 0) - i), {
26362
+ return Nn(o || r).direction === "rtl" && (l += Ko(r.clientWidth, o ? o.clientWidth : 0) - i), {
26363
26363
  width: i,
26364
26364
  height: s,
26365
26365
  x: l,
@@ -26368,7 +26368,7 @@ function WV(e) {
26368
26368
  }
26369
26369
  a(WV, "getDocumentRect");
26370
26370
  function Ng(e) {
26371
- var t = In(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
26371
+ var t = Nn(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
26372
26372
  return /auto|scroll|overlay|hidden/.test(r + o + n);
26373
26373
  }
26374
26374
  a(Ng, "isScrollParent");
@@ -26405,7 +26405,7 @@ function B0(e, t, r) {
26405
26405
  }
26406
26406
  a(B0, "getClientRectFromMixedType");
26407
26407
  function qV(e) {
26408
- var t = ms(Wd(e)), r = ["absolute", "fixed"].indexOf(In(e).position) >= 0, n = r && Ar(e) ? Fl(e) : e;
26408
+ var t = ms(Wd(e)), r = ["absolute", "fixed"].indexOf(Nn(e).position) >= 0, n = r && Ar(e) ? Fl(e) : e;
26409
26409
  return fi(n) ? t.filter(function(o) {
26410
26410
  return fi(o) && QC(o, n) && fn(o) !== "body";
26411
26411
  }) : [];
@@ -27068,7 +27068,7 @@ const T5 = /* @__PURE__ */ a((e) => {
27068
27068
  P = i;
27069
27069
  else if (n) {
27070
27070
  const $ = zc(n);
27071
- P = $ && Ud($) ? Rn($).body : Rn(null).body;
27071
+ P = $ && Ud($) ? An($).body : An(null).body;
27072
27072
  }
27073
27073
  const A = !p && u && (!b || T) ? "none" : void 0, M = b ? {
27074
27074
  in: p,
@@ -28087,7 +28087,7 @@ const L5 = /* @__PURE__ */ a(({
28087
28087
  }
28088
28088
  );
28089
28089
  }), oT = /* @__PURE__ */ a((e) => {
28090
- const t = ht(e), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = Te(Ot), s = On({ resource: t, etrs: i.etrs });
28090
+ const t = ht(e), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = Te(Ot), s = xn({ resource: t, etrs: i.etrs });
28091
28091
  return Ge(() => {
28092
28092
  i.onRenderFicha && i.onRenderFicha(s, r);
28093
28093
  }, []), Ge(() => {
@@ -28111,7 +28111,7 @@ const L5 = /* @__PURE__ */ a(({
28111
28111
  e.preventDefault();
28112
28112
  }, "disableKeyboardEvents"), iT = /* @__PURE__ */ a((e) => {
28113
28113
  var h;
28114
- const t = ja(), r = Ti(), n = ht(), o = Aa(), i = xt(), s = Dn(), l = Lr(), [u] = c1(
28114
+ const t = ja(), r = Ti(), n = ht(), o = Aa(), i = xt(), s = On(), l = Lr(), [u] = c1(
28115
28115
  n,
28116
28116
  {
28117
28117
  id: l == null ? void 0 : l.id
@@ -29336,7 +29336,7 @@ const fee = /* @__PURE__ */ a((e) => {
29336
29336
  loginBackgroundImage: t,
29337
29337
  nameSource: r = "username",
29338
29338
  passwordSource: n = "password"
29339
- } = e, [o, i] = De(!1), s = xt(), l = s("ra.auth.sign_in"), u = Dn(), d = EP(), p = Ti();
29339
+ } = e, [o, i] = De(!1), s = xt(), l = s("ra.auth.sign_in"), u = On(), d = EP(), p = Ti();
29340
29340
  return /* @__PURE__ */ y(fl, { onSubmit: /* @__PURE__ */ a((m) => {
29341
29341
  i(!0), d(m, p.state ? p.state.nextPathname : "/").catch(
29342
29342
  (g) => {
@@ -30571,7 +30571,7 @@ const hee = /* @__PURE__ */ a((e) => {
30571
30571
  ...d
30572
30572
  } = e, p = Ti(), f = UP(""), h = ht(e), [m, g] = De(0), {
30573
30573
  fichaProps: { etrs: b }
30574
- } = Te(Ot), v = On({ ...e, etrs: b }), { estado: O } = Te(Ot), k = /* @__PURE__ */ a((C, S) => {
30574
+ } = Te(Ot), v = xn({ ...e, etrs: b }), { estado: O } = Te(Ot), k = /* @__PURE__ */ a((C, S) => {
30575
30575
  i || (g(S), u && u(
30576
30576
  v,
30577
30577
  O,
@@ -30609,7 +30609,7 @@ const hee = /* @__PURE__ */ a((e) => {
30609
30609
  // and the match would fail.
30610
30610
  Z3(p.pathname)
30611
30611
  ) : m !== S;
30612
- return Mn(C) ? x.cloneElement(C, {
30612
+ return Rn(C) ? x.cloneElement(C, {
30613
30613
  intent: "content",
30614
30614
  resource: h,
30615
30615
  hidden: P,
@@ -30776,7 +30776,7 @@ const a4 = /* @__PURE__ */ a(({
30776
30776
  incluyeAcciones: o = !1,
30777
30777
  saveButtonProps: i,
30778
30778
  ...s
30779
- } = e, [l, u] = De(!1), d = On(s), p = useNotifyEtriek(), { trigger: f } = ir(), { hidden: h } = tC(), m = He(
30779
+ } = e, [l, u] = De(!1), d = xn(s), p = On(), { trigger: f } = ir(), { hidden: h } = tC(), m = He(
30780
30780
  async (g, b, v) => {
30781
30781
  typeof t == "function" ? await f() ? (u(!0), t(d, b, v, g).finally(() => {
30782
30782
  u(!1);
@@ -31114,7 +31114,7 @@ ET = Ug.default = (0, E4.default)(/* @__PURE__ */ (0, k4.jsx)("path", {
31114
31114
  d: "M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"
31115
31115
  }), "AddAPhoto");
31116
31116
  const X0 = /* @__PURE__ */ a((e) => {
31117
- const [t, r] = De(!1), [n, o] = De(!1), i = Dn(), s = xt(), { field: l, sx: u } = e;
31117
+ const [t, r] = De(!1), [n, o] = De(!1), i = On(), s = xt(), { field: l, sx: u } = e;
31118
31118
  return Ge(() => {
31119
31119
  t && (/* @__PURE__ */ a(async () => {
31120
31120
  let p = null;
@@ -31706,7 +31706,7 @@ const H4 = /* @__PURE__ */ a((e) => {
31706
31706
  root: ["root", r && "container", o && "item", l && "zeroMinWidth", ...d, n !== "row" && `direction-xs-${String(n)}`, s !== "wrap" && `wrap-xs-${String(s)}`, ...p]
31707
31707
  };
31708
31708
  return ve(f, A4, t);
31709
- }, "useUtilityClasses$c"), Pn = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
31709
+ }, "useUtilityClasses$c"), Mn = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
31710
31710
  const n = Oe({
31711
31711
  props: t,
31712
31712
  name: "MuiGrid"
@@ -31751,7 +31751,7 @@ const H4 = /* @__PURE__ */ a((e) => {
31751
31751
  }, P))
31752
31752
  });
31753
31753
  }, "Grid"));
31754
- process.env.NODE_ENV !== "production" && (Pn.propTypes = {
31754
+ process.env.NODE_ENV !== "production" && (Mn.propTypes = {
31755
31755
  // ┌────────────────────────────── Warning ──────────────────────────────┐
31756
31756
  // │ These PropTypes are generated from the TypeScript type definitions. │
31757
31757
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -31880,8 +31880,8 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
31880
31880
  zeroMinWidth: c.bool
31881
31881
  });
31882
31882
  if (process.env.NODE_ENV !== "production") {
31883
- const e = bS("Grid", Pn);
31884
- Pn.propTypes = E({}, Pn.propTypes, {
31883
+ const e = bS("Grid", Mn);
31884
+ Mn.propTypes = E({}, Mn.propTypes, {
31885
31885
  direction: e("container"),
31886
31886
  lg: e("item"),
31887
31887
  md: e("item"),
@@ -32456,7 +32456,7 @@ const eO = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
32456
32456
  );
32457
32457
  }, "customList");
32458
32458
  return /* @__PURE__ */ G(
32459
- Pn,
32459
+ Mn,
32460
32460
  {
32461
32461
  container: !0,
32462
32462
  spacing: 4,
@@ -32467,7 +32467,7 @@ const eO = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
32467
32467
  marginLeft: F.spacing(-4)
32468
32468
  }), "sx"),
32469
32469
  children: [
32470
- /* @__PURE__ */ y(Pn, { item: !0, children: /* @__PURE__ */ y(
32470
+ /* @__PURE__ */ y(Mn, { item: !0, children: /* @__PURE__ */ y(
32471
32471
  s1,
32472
32472
  {
32473
32473
  label: e.label,
@@ -32477,8 +32477,8 @@ const eO = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
32477
32477
  children: R(d, !0)
32478
32478
  }
32479
32479
  ) }),
32480
- /* @__PURE__ */ y(Pn, { item: !0, children: /* @__PURE__ */ G(
32481
- Pn,
32480
+ /* @__PURE__ */ y(Mn, { item: !0, children: /* @__PURE__ */ G(
32481
+ Mn,
32482
32482
  {
32483
32483
  container: !0,
32484
32484
  direction: "column",
@@ -32592,7 +32592,7 @@ const eO = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
32592
32592
  ]
32593
32593
  }
32594
32594
  ) }),
32595
- /* @__PURE__ */ y(Pn, { item: !0, children: R(f, !1, { mt: 2.5 }) })
32595
+ /* @__PURE__ */ y(Mn, { item: !0, children: R(f, !1, { mt: 2.5 }) })
32596
32596
  ]
32597
32597
  }
32598
32598
  );
@@ -33101,7 +33101,7 @@ const xH = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
33101
33101
  } = e, [l] = y1({ resource: "form_224" }), [u, d] = De(!1), p = ir(), { estado: f, fichaProps: h = {} } = Te(Ot), m = Te(za), g = Si(!1), {
33102
33102
  hidden: b,
33103
33103
  propsContenido: { readOnly: v, sx: O, label: k = "Funcionarios" }
33104
- } = ar(e), { [n]: T = {}, etrs: C } = h, S = On({ ...e, etrs: C, asisEtr: m }), w = T.onChange === void 0 ? i : T.onChange;
33104
+ } = ar(e), { [n]: T = {}, etrs: C } = h, S = xn({ ...e, etrs: C, asisEtr: m }), w = T.onChange === void 0 ? i : T.onChange;
33105
33105
  Ge(() => {
33106
33106
  g.current || (p.setValue(n, IH), g.current = !0);
33107
33107
  }, [p, n]);
@@ -36243,8 +36243,8 @@ const Kn = class Kn {
36243
36243
  }
36244
36244
  };
36245
36245
  a(Kn, "StepMap");
36246
- let Nn = Kn;
36247
- Nn.empty = new Nn([]);
36246
+ let Ln = Kn;
36247
+ Ln.empty = new Ln([]);
36248
36248
  const Wi = class Wi {
36249
36249
  /**
36250
36250
  Create a new mapping with the given position maps.
@@ -36361,7 +36361,7 @@ const qp = /* @__PURE__ */ Object.create(null), gy = class gy {
36361
36361
  and the new document.
36362
36362
  */
36363
36363
  getMap() {
36364
- return Nn.empty;
36364
+ return Ln.empty;
36365
36365
  }
36366
36366
  /**
36367
36367
  Try to merge this step with another one, to be applied directly
@@ -36607,7 +36607,7 @@ const Ps = class Ps extends Pt {
36607
36607
  a(Ps, "RemoveNodeMarkStep");
36608
36608
  let rl = Ps;
36609
36609
  Pt.jsonID("removeNodeMark", rl);
36610
- const kn = class kn extends Pt {
36610
+ const wn = class wn extends Pt {
36611
36611
  /**
36612
36612
  The given `slice` should fit the 'gap' between `from` and
36613
36613
  `to`—the depths must line up, and the surrounding nodes must be
@@ -36624,24 +36624,24 @@ const kn = class kn extends Pt {
36624
36624
  return this.structure && Zf(t, this.from, this.to) ? zt.fail("Structure replace would overwrite content") : zt.fromReplace(t, this.from, this.to, this.slice);
36625
36625
  }
36626
36626
  getMap() {
36627
- return new Nn([this.from, this.to - this.from, this.slice.size]);
36627
+ return new Ln([this.from, this.to - this.from, this.slice.size]);
36628
36628
  }
36629
36629
  invert(t) {
36630
- return new kn(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
36630
+ return new wn(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
36631
36631
  }
36632
36632
  map(t) {
36633
36633
  let r = t.mapResult(this.from, 1), n = t.mapResult(this.to, -1);
36634
- return r.deletedAcross && n.deletedAcross ? null : new kn(r.pos, Math.max(r.pos, n.pos), this.slice);
36634
+ return r.deletedAcross && n.deletedAcross ? null : new wn(r.pos, Math.max(r.pos, n.pos), this.slice);
36635
36635
  }
36636
36636
  merge(t) {
36637
- if (!(t instanceof kn) || t.structure || this.structure)
36637
+ if (!(t instanceof wn) || t.structure || this.structure)
36638
36638
  return null;
36639
36639
  if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
36640
36640
  let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
36641
- return new kn(this.from, this.to + (t.to - t.from), r, this.structure);
36641
+ return new wn(this.from, this.to + (t.to - t.from), r, this.structure);
36642
36642
  } else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
36643
36643
  let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
36644
- return new kn(t.from, this.to, r, this.structure);
36644
+ return new wn(t.from, this.to, r, this.structure);
36645
36645
  } else
36646
36646
  return null;
36647
36647
  }
@@ -36655,11 +36655,11 @@ const kn = class kn extends Pt {
36655
36655
  static fromJSON(t, r) {
36656
36656
  if (typeof r.from != "number" || typeof r.to != "number")
36657
36657
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
36658
- return new kn(r.from, r.to, fe.fromJSON(t, r.slice), !!r.structure);
36658
+ return new wn(r.from, r.to, fe.fromJSON(t, r.slice), !!r.structure);
36659
36659
  }
36660
36660
  };
36661
- a(kn, "ReplaceStep");
36662
- let hr = kn;
36661
+ a(wn, "ReplaceStep");
36662
+ let hr = wn;
36663
36663
  Pt.jsonID("replace", hr);
36664
36664
  const Ui = class Ui extends Pt {
36665
36665
  /**
@@ -36681,7 +36681,7 @@ const Ui = class Ui extends Pt {
36681
36681
  return n ? zt.fromReplace(t, this.from, this.to, n) : zt.fail("Content does not fit in gap");
36682
36682
  }
36683
36683
  getMap() {
36684
- return new Nn([
36684
+ return new Ln([
36685
36685
  this.from,
36686
36686
  this.gapFrom - this.from,
36687
36687
  this.insert,
@@ -37367,7 +37367,7 @@ const qi = class qi extends Pt {
37367
37367
  return zt.fromReplace(t, this.pos, this.pos + 1, new fe(se.from(o), 0, r.isLeaf ? 0 : 1));
37368
37368
  }
37369
37369
  getMap() {
37370
- return Nn.empty;
37370
+ return Ln.empty;
37371
37371
  }
37372
37372
  invert(t) {
37373
37373
  return new qi(this.pos, this.attr, t.nodeAt(this.pos).attrs[this.attr]);
@@ -37404,7 +37404,7 @@ const Ms = class Ms extends Pt {
37404
37404
  return zt.ok(n);
37405
37405
  }
37406
37406
  getMap() {
37407
- return Nn.empty;
37407
+ return Ln.empty;
37408
37408
  }
37409
37409
  invert(t) {
37410
37410
  return new Ms(this.attr, t.attrs[this.attr]);
@@ -37766,7 +37766,7 @@ const Yp = /* @__PURE__ */ Object.create(null), vy = class vy {
37766
37766
  negative, it will search backwards first.
37767
37767
  */
37768
37768
  static near(t, r = 1) {
37769
- return this.findFrom(t, r) || this.findFrom(t, -r) || new An(t.node(0));
37769
+ return this.findFrom(t, r) || this.findFrom(t, -r) || new Fn(t.node(0));
37770
37770
  }
37771
37771
  /**
37772
37772
  Find the cursor or leaf node selection closest to the start of
@@ -37775,14 +37775,14 @@ const Yp = /* @__PURE__ */ Object.create(null), vy = class vy {
37775
37775
  exists.
37776
37776
  */
37777
37777
  static atStart(t) {
37778
- return _i(t, t, 0, 0, 1) || new An(t);
37778
+ return _i(t, t, 0, 0, 1) || new Fn(t);
37779
37779
  }
37780
37780
  /**
37781
37781
  Find the cursor or leaf node selection closest to the end of the
37782
37782
  given document.
37783
37783
  */
37784
37784
  static atEnd(t) {
37785
- return _i(t, t, t.content.size, t.childCount, -1) || new An(t);
37785
+ return _i(t, t, t.content.size, t.childCount, -1) || new Fn(t);
37786
37786
  }
37787
37787
  /**
37788
37788
  Deserialize the JSON representation of a selection. Must be
@@ -38025,14 +38025,14 @@ const Gi = class Gi extends Pe {
38025
38025
  }
38026
38026
  };
38027
38027
  a(Gi, "AllSelection");
38028
- let An = Gi;
38029
- Pe.jsonID("all", An);
38028
+ let Fn = Gi;
38029
+ Pe.jsonID("all", Fn);
38030
38030
  const TW = {
38031
38031
  map() {
38032
38032
  return this;
38033
38033
  },
38034
38034
  resolve(e) {
38035
- return new An(e);
38035
+ return new Fn(e);
38036
38036
  }
38037
38037
  };
38038
38038
  function _i(e, t, r, n, o, i = !1) {
@@ -38502,7 +38502,7 @@ const Dt = /* @__PURE__ */ a(function(e) {
38502
38502
  return t && t.nodeType == 11 ? t.host : t;
38503
38503
  }, "parentNode");
38504
38504
  let ih = null;
38505
- const En = /* @__PURE__ */ a(function(e, t, r) {
38505
+ const kn = /* @__PURE__ */ a(function(e, t, r) {
38506
38506
  let n = ih || (ih = document.createRange());
38507
38507
  return n.setEnd(e, r ?? e.nodeValue.length), n.setStart(e, t || 0), n;
38508
38508
  }, "textRange"), kW = /* @__PURE__ */ a(function() {
@@ -38628,10 +38628,10 @@ function NW(e) {
38628
38628
  };
38629
38629
  }
38630
38630
  a(NW, "windowRect");
38631
- function Cn(e, t) {
38631
+ function Tn(e, t) {
38632
38632
  return typeof e == "number" ? e : e[t];
38633
38633
  }
38634
- a(Cn, "getSide");
38634
+ a(Tn, "getSide");
38635
38635
  function LW(e) {
38636
38636
  let t = e.getBoundingClientRect(), r = t.width / e.offsetWidth || 1, n = t.height / e.offsetHeight || 1;
38637
38637
  return {
@@ -38648,7 +38648,7 @@ function xO(e, t, r) {
38648
38648
  if (s.nodeType != 1)
38649
38649
  continue;
38650
38650
  let l = s, u = l == i.body, d = u ? NW(i) : LW(l), p = 0, f = 0;
38651
- if (t.top < d.top + Cn(n, "top") ? f = -(d.top - t.top + Cn(o, "top")) : t.bottom > d.bottom - Cn(n, "bottom") && (f = t.bottom - t.top > d.bottom - d.top ? t.top + Cn(o, "top") - d.top : t.bottom - d.bottom + Cn(o, "bottom")), t.left < d.left + Cn(n, "left") ? p = -(d.left - t.left + Cn(o, "left")) : t.right > d.right - Cn(n, "right") && (p = t.right - d.right + Cn(o, "right")), p || f)
38651
+ if (t.top < d.top + Tn(n, "top") ? f = -(d.top - t.top + Tn(o, "top")) : t.bottom > d.bottom - Tn(n, "bottom") && (f = t.bottom - t.top > d.bottom - d.top ? t.top + Tn(o, "top") - d.top : t.bottom - d.bottom + Tn(o, "bottom")), t.left < d.left + Tn(n, "left") ? p = -(d.left - t.left + Tn(o, "left")) : t.right > d.right - Tn(n, "right") && (p = t.right - d.right + Tn(o, "right")), p || f)
38652
38652
  if (u)
38653
38653
  i.defaultView.scrollBy(p, f);
38654
38654
  else {
@@ -38717,7 +38717,7 @@ function uE(e, t) {
38717
38717
  if (p.nodeType == 1)
38718
38718
  h = p.getClientRects();
38719
38719
  else if (p.nodeType == 3)
38720
- h = En(p).getClientRects();
38720
+ h = kn(p).getClientRects();
38721
38721
  else
38722
38722
  continue;
38723
38723
  for (let m = 0; m < h.length; m++) {
@@ -38847,11 +38847,11 @@ function pE(e, t, r) {
38847
38847
  let { node: n, offset: o, atom: i } = e.docView.domFromPos(t, r < 0 ? -1 : 1), s = Il || Ur;
38848
38848
  if (n.nodeType == 3)
38849
38849
  if (s && (UW.test(n.nodeValue) || (r < 0 ? !o : o == n.nodeValue.length))) {
38850
- let u = Wn(En(n, o, o), r);
38850
+ let u = Wn(kn(n, o, o), r);
38851
38851
  if (Ur && o && /\s/.test(n.nodeValue[o - 1]) && o < n.nodeValue.length) {
38852
- let d = Wn(En(n, o - 1, o - 1), -1);
38852
+ let d = Wn(kn(n, o - 1, o - 1), -1);
38853
38853
  if (d.top == u.top) {
38854
- let p = Wn(En(n, o, o + 1), -1);
38854
+ let p = Wn(kn(n, o, o + 1), -1);
38855
38855
  if (p.top != u.top)
38856
38856
  return rs(p, p.left < d.left);
38857
38857
  }
@@ -38859,7 +38859,7 @@ function pE(e, t, r) {
38859
38859
  return u;
38860
38860
  } else {
38861
38861
  let u = o, d = o, p = r < 0 ? 1 : -1;
38862
- return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, rs(Wn(En(n, u, d), p), p < 0);
38862
+ return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, rs(Wn(kn(n, u, d), p), p < 0);
38863
38863
  }
38864
38864
  if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
38865
38865
  if (i == null && o && (r < 0 || o == kr(n))) {
@@ -38875,7 +38875,7 @@ function pE(e, t, r) {
38875
38875
  return Qp(n.getBoundingClientRect(), r >= 0);
38876
38876
  }
38877
38877
  if (i == null && o && (r < 0 || o == kr(n))) {
38878
- let u = n.childNodes[o - 1], d = u.nodeType == 3 ? En(u, kr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
38878
+ let u = n.childNodes[o - 1], d = u.nodeType == 3 ? kn(u, kr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
38879
38879
  if (d)
38880
38880
  return rs(Wn(d, 1), !1);
38881
38881
  }
@@ -38883,11 +38883,11 @@ function pE(e, t, r) {
38883
38883
  let u = n.childNodes[o];
38884
38884
  for (; u.pmViewDesc && u.pmViewDesc.ignoreForCoords; )
38885
38885
  u = u.nextSibling;
38886
- let d = u ? u.nodeType == 3 ? En(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
38886
+ let d = u ? u.nodeType == 3 ? kn(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
38887
38887
  if (d)
38888
38888
  return rs(Wn(d, -1), !0);
38889
38889
  }
38890
- return rs(Wn(n.nodeType == 3 ? En(n) : n, -r), r >= 0);
38890
+ return rs(Wn(n.nodeType == 3 ? kn(n) : n, -r), r >= 0);
38891
38891
  }
38892
38892
  a(pE, "coordsAtPos");
38893
38893
  function rs(e, t) {
@@ -38934,7 +38934,7 @@ function qW(e, t, r) {
38934
38934
  if (l.nodeType == 1)
38935
38935
  u = l.getClientRects();
38936
38936
  else if (l.nodeType == 3)
38937
- u = En(l, 0, l.nodeValue.length).getClientRects();
38937
+ u = kn(l, 0, l.nodeValue.length).getClientRects();
38938
38938
  else
38939
38939
  continue;
38940
38940
  for (let d = 0; d < u.length; d++) {
@@ -40046,7 +40046,7 @@ function bE(e) {
40046
40046
  return e.editable ? e.hasFocus() : vE(e) && document.activeElement && document.activeElement.contains(e.dom);
40047
40047
  }
40048
40048
  a(bE, "editorOwnsSelection");
40049
- function Fn(e, t = !1) {
40049
+ function $n(e, t = !1) {
40050
40050
  let r = e.state.selection;
40051
40051
  if (yE(e, r), !!bE(e)) {
40052
40052
  if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && Ht) {
@@ -40065,7 +40065,7 @@ function Fn(e, t = !1) {
40065
40065
  e.domObserver.setCurSelection(), e.domObserver.connectSelection();
40066
40066
  }
40067
40067
  }
40068
- a(Fn, "selectionToDOM");
40068
+ a($n, "selectionToDOM");
40069
40069
  const MO = Yt || Ht && sE < 63;
40070
40070
  function RO(e, t) {
40071
40071
  let { node: r, offset: n } = e.docView.domFromPos(t, 0), o = n < r.childNodes.length ? r.childNodes[n] : null, i = n ? r.childNodes[n - 1] : null;
@@ -40311,7 +40311,7 @@ function mh(e, t, r) {
40311
40311
  e.domObserver.setCurSelection();
40312
40312
  let { state: o } = e;
40313
40313
  setTimeout(() => {
40314
- e.state == o && Fn(e);
40314
+ e.state == o && $n(e);
40315
40315
  }, 50);
40316
40316
  }
40317
40317
  a(mh, "setSelFocus");
@@ -40344,7 +40344,7 @@ function LO(e, t, r) {
40344
40344
  return Un(e, s);
40345
40345
  }
40346
40346
  if (!o.parent.inlineContent) {
40347
- let s = t < 0 ? o : i, l = n instanceof An ? Pe.near(s, t) : Pe.findFrom(s, t);
40347
+ let s = t < 0 ? o : i, l = n instanceof Fn ? Pe.near(s, t) : Pe.findFrom(s, t);
40348
40348
  return l ? Un(e, l) : !1;
40349
40349
  }
40350
40350
  return !1;
@@ -40813,7 +40813,7 @@ const $y = class $y {
40813
40813
  }, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), no(t, "pointer");
40814
40814
  }
40815
40815
  done() {
40816
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Fn(this.view)), this.view.input.mouseDown = null;
40816
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => $n(this.view)), this.view.input.mouseDown = null;
40817
40817
  }
40818
40818
  up(t) {
40819
40819
  if (this.done(), !this.view.dom.contains(t.target))
@@ -41051,7 +41051,7 @@ Qt.drop = (e, t) => {
41051
41051
  };
41052
41052
  Jt.focus = (e) => {
41053
41053
  e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
41054
- e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && Fn(e);
41054
+ e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && $n(e);
41055
41055
  }, 20));
41056
41056
  };
41057
41057
  Jt.blur = (e, t) => {
@@ -41090,7 +41090,7 @@ const rd = class rd {
41090
41090
  }
41091
41091
  map(t, r, n, o) {
41092
41092
  let { pos: i, deleted: s } = t.mapResult(r.from + o, this.side < 0 ? -1 : 1);
41093
- return s ? null : new Ln(i - n, i - n, this);
41093
+ return s ? null : new Dn(i - n, i - n, this);
41094
41094
  }
41095
41095
  valid() {
41096
41096
  return !0;
@@ -41110,7 +41110,7 @@ const As = class As {
41110
41110
  }
41111
41111
  map(t, r, n, o) {
41112
41112
  let i = t.map(r.from + o, this.spec.inclusiveStart ? -1 : 1) - n, s = t.map(r.to + o, this.spec.inclusiveEnd ? 1 : -1) - n;
41113
- return i >= s ? null : new Ln(i, s, this);
41113
+ return i >= s ? null : new Dn(i, s, this);
41114
41114
  }
41115
41115
  valid(t, r) {
41116
41116
  return r.from < r.to;
@@ -41135,7 +41135,7 @@ const nd = class nd {
41135
41135
  if (i.deleted)
41136
41136
  return null;
41137
41137
  let s = t.mapResult(r.to + o, -1);
41138
- return s.deleted || s.pos <= i.pos ? null : new Ln(i.pos - n, s.pos - n, this);
41138
+ return s.deleted || s.pos <= i.pos ? null : new Dn(i.pos - n, s.pos - n, this);
41139
41139
  }
41140
41140
  valid(t, r) {
41141
41141
  let { index: n, offset: o } = t.content.findIndex(r.from), i;
@@ -41221,7 +41221,7 @@ const _o = class _o {
41221
41221
  }
41222
41222
  };
41223
41223
  a(_o, "Decoration");
41224
- let Ln = _o;
41224
+ let Dn = _o;
41225
41225
  const ji = [], ei = {}, tn = class tn {
41226
41226
  /**
41227
41227
  @internal
@@ -41513,7 +41513,7 @@ function IE(e, t) {
41513
41513
  let r = [];
41514
41514
  for (let n = 0; n < e.length; n++) {
41515
41515
  let o = e[n];
41516
- r.push(new Ln(o.from + t, o.to + t, o.type));
41516
+ r.push(new Dn(o.from + t, o.to + t, o.type));
41517
41517
  }
41518
41518
  return r;
41519
41519
  }
@@ -41670,7 +41670,7 @@ const Ly = class Ly {
41670
41670
  onSelectionChange() {
41671
41671
  if ($O(this.view)) {
41672
41672
  if (this.suppressingSelectionUpdates)
41673
- return Fn(this.view);
41673
+ return $n(this.view);
41674
41674
  if (tr && oo <= 11 && !this.view.state.selection.empty) {
41675
41675
  let t = this.view.domSelectionRange();
41676
41676
  if (t.focusNode && bi(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
@@ -41732,7 +41732,7 @@ const Ly = class Ly {
41732
41732
  }
41733
41733
  }
41734
41734
  let d = null;
41735
- i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && Yd(n) && (d = ab(t)) && d.eq(Pe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, Fn(t), this.currentSelection.set(n), t.scrollToSelection()) : (i > -1 || o) && (i > -1 && (t.docView.markDirty(i, s), z6(t)), this.handleDOMChange(i, s, l, u), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(n) || Fn(t), this.currentSelection.set(n));
41735
+ i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && Yd(n) && (d = ab(t)) && d.eq(Pe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, $n(t), this.currentSelection.set(n), t.scrollToSelection()) : (i > -1 || o) && (i > -1 && (t.docView.markDirty(i, s), z6(t)), this.handleDOMChange(i, s, l, u), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(n) || $n(t), this.currentSelection.set(n));
41736
41736
  }
41737
41737
  registerMutation(t, r) {
41738
41738
  if (r.indexOf(t.target) > -1)
@@ -41902,7 +41902,7 @@ function q6(e, t, r, n, o) {
41902
41902
  let C = g.start, S = g.endA, w, P, A;
41903
41903
  if (k) {
41904
41904
  if (b.pos == v.pos)
41905
- tr && oo <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => Fn(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(g.start).marksAcross(p.resolve(g.endA));
41905
+ tr && oo <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => $n(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(g.start).marksAcross(p.resolve(g.endA));
41906
41906
  else if (
41907
41907
  // Adding or removing a mark
41908
41908
  g.endA == g.endB && (A = G6(b.parent.content.cut(b.parentOffset, v.parentOffset), O.parent.content.cut(O.parentOffset, g.endA - O.start())))
@@ -42083,7 +42083,7 @@ const Dy = class Dy {
42083
42083
  let g = Ht ? this.trackWrites = this.domSelectionRange().focusNode : null;
42084
42084
  this.composing && (this.input.compositionNode = A6(this)), (i || !this.docView.update(t.doc, d, u, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = wO(t.doc, d, u, this.dom, this)), g && !this.trackWrites && (m = !0);
42085
42085
  }
42086
- m || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && o6(this)) ? Fn(this, m) : (yE(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
42086
+ m || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && o6(this)) ? $n(this, m) : (yE(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
42087
42087
  }
42088
42088
  this.updatePluginViews(o), !((n = this.dragging) === null || n === void 0) && n.node && !o.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, o), p == "reset" ? this.dom.scrollTop = 0 : p == "to selection" ? this.scrollToSelection() : h && _W(h);
42089
42089
  }
@@ -42170,7 +42170,7 @@ const Dy = class Dy {
42170
42170
  Focus the editor.
42171
42171
  */
42172
42172
  focus() {
42173
- this.domObserver.stop(), this.editable && jW(this.dom), Fn(this), this.domObserver.start();
42173
+ this.domObserver.stop(), this.editable && jW(this.dom), $n(this), this.domObserver.start();
42174
42174
  }
42175
42175
  /**
42176
42176
  Get the document root in which the editor exists. This will
@@ -42341,13 +42341,13 @@ function GO(e) {
42341
42341
  if (typeof r == "function" && (r = r(e.state)), r)
42342
42342
  for (let n in r)
42343
42343
  n == "class" ? t.class += " " + r[n] : n == "style" ? t.style = (t.style ? t.style + ";" : "") + r[n] : !t[n] && n != "contenteditable" && n != "nodeName" && (t[n] = String(r[n]));
42344
- }), t.translate || (t.translate = "no"), [Ln.node(0, e.state.doc.content.size, t)];
42344
+ }), t.translate || (t.translate = "no"), [Dn.node(0, e.state.doc.content.size, t)];
42345
42345
  }
42346
42346
  a(GO, "computeDocDeco");
42347
42347
  function KO(e) {
42348
42348
  if (e.markCursor) {
42349
42349
  let t = document.createElement("img");
42350
- t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = { dom: t, deco: Ln.widget(e.state.selection.from, t, { raw: !0, marks: e.markCursor }) };
42350
+ t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = { dom: t, deco: Dn.widget(e.state.selection.from, t, { raw: !0, marks: e.markCursor }) };
42351
42351
  } else
42352
42352
  e.cursorWrapper = null;
42353
42353
  }
@@ -42746,7 +42746,7 @@ const gU = /* @__PURE__ */ a((e, t) => {
42746
42746
  return !0;
42747
42747
  }, "exitCode$1"), bU = /* @__PURE__ */ a((e, t) => {
42748
42748
  let r = e.selection, { $from: n, $to: o } = r;
42749
- if (r instanceof An || n.parent.inlineContent || o.parent.inlineContent)
42749
+ if (r instanceof Fn || n.parent.inlineContent || o.parent.inlineContent)
42750
42750
  return !1;
42751
42751
  let i = BE(o.parent.contentMatchAt(o.indexAfter()));
42752
42752
  if (!i || !i.isTextblock)
@@ -46013,10 +46013,10 @@ Xt.prototype = {
46013
46013
  return o.j[e] = s, s;
46014
46014
  }
46015
46015
  };
46016
- const Ae = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), ax = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), Tn = "WORD", _h = "UWORD", cl = "LOCALHOST", jh = "TLD", zh = "UTLD", xc = "SCHEME", zi = "SLASH_SCHEME", xb = "NUM", tk = "WS", Sb = "NL", xs = "OPENBRACE", Ss = "CLOSEBRACE", hu = "OPENBRACKET", mu = "CLOSEBRACKET", gu = "OPENPAREN", bu = "CLOSEPAREN", yu = "OPENANGLEBRACKET", vu = "CLOSEANGLEBRACKET", Ou = "FULLWIDTHLEFTPAREN", xu = "FULLWIDTHRIGHTPAREN", Su = "LEFTCORNERBRACKET", Cu = "RIGHTCORNERBRACKET", Tu = "LEFTWHITECORNERBRACKET", Eu = "RIGHTWHITECORNERBRACKET", ku = "FULLWIDTHLESSTHAN", wu = "FULLWIDTHGREATERTHAN", Pu = "AMPERSAND", Mu = "APOSTROPHE", Ru = "ASTERISK", qn = "AT", Au = "BACKSLASH", Fu = "BACKTICK", $u = "CARET", Xn = "COLON", Cb = "COMMA", Iu = "DOLLAR", Jr = "DOT", Nu = "EQUALS", Tb = "EXCLAMATION", Qr = "HYPHEN", Lu = "PERCENT", Du = "PIPE", _u = "PLUS", ju = "POUND", zu = "QUERY", Eb = "QUOTE", kb = "SEMI", Xr = "SLASH", Cs = "TILDE", Bu = "UNDERSCORE", rk = "EMOJI", Vu = "SYM";
46016
+ const Ae = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), vr = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), ax = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), En = "WORD", _h = "UWORD", cl = "LOCALHOST", jh = "TLD", zh = "UTLD", xc = "SCHEME", zi = "SLASH_SCHEME", xb = "NUM", tk = "WS", Sb = "NL", xs = "OPENBRACE", Ss = "CLOSEBRACE", hu = "OPENBRACKET", mu = "CLOSEBRACKET", gu = "OPENPAREN", bu = "CLOSEPAREN", yu = "OPENANGLEBRACKET", vu = "CLOSEANGLEBRACKET", Ou = "FULLWIDTHLEFTPAREN", xu = "FULLWIDTHRIGHTPAREN", Su = "LEFTCORNERBRACKET", Cu = "RIGHTCORNERBRACKET", Tu = "LEFTWHITECORNERBRACKET", Eu = "RIGHTWHITECORNERBRACKET", ku = "FULLWIDTHLESSTHAN", wu = "FULLWIDTHGREATERTHAN", Pu = "AMPERSAND", Mu = "APOSTROPHE", Ru = "ASTERISK", qn = "AT", Au = "BACKSLASH", Fu = "BACKTICK", $u = "CARET", Xn = "COLON", Cb = "COMMA", Iu = "DOLLAR", Jr = "DOT", Nu = "EQUALS", Tb = "EXCLAMATION", Qr = "HYPHEN", Lu = "PERCENT", Du = "PIPE", _u = "PLUS", ju = "POUND", zu = "QUERY", Eb = "QUOTE", kb = "SEMI", Xr = "SLASH", Cs = "TILDE", Bu = "UNDERSCORE", rk = "EMOJI", Vu = "SYM";
46017
46017
  var nk = /* @__PURE__ */ Object.freeze({
46018
46018
  __proto__: null,
46019
- WORD: Tn,
46019
+ WORD: En,
46020
46020
  UWORD: _h,
46021
46021
  LOCALHOST: cl,
46022
46022
  TLD: jh,
@@ -46082,7 +46082,7 @@ function Lq(e) {
46082
46082
  [Ih]: !0
46083
46083
  });
46084
46084
  vr(n, cf, n);
46085
- const o = vr(r, $i, Tn, {
46085
+ const o = vr(r, $i, En, {
46086
46086
  [Nh]: !0
46087
46087
  });
46088
46088
  vr(o, $i, o);
@@ -46104,7 +46104,7 @@ function Lq(e) {
46104
46104
  vr(u, lf, l);
46105
46105
  const d = [[$i, o]], p = [[$i, null], [sf, i]];
46106
46106
  for (let f = 0; f < tc.length; f++)
46107
- Hn(r, tc[f], jh, Tn, d);
46107
+ Hn(r, tc[f], jh, En, d);
46108
46108
  for (let f = 0; f < rc.length; f++)
46109
46109
  Hn(r, rc[f], zh, _h, p);
46110
46110
  Uo(jh, {
@@ -46113,7 +46113,7 @@ function Lq(e) {
46113
46113
  }, t), Uo(zh, {
46114
46114
  utld: !0,
46115
46115
  alpha: !0
46116
- }, t), Hn(r, "file", xc, Tn, d), Hn(r, "mailto", xc, Tn, d), Hn(r, "http", zi, Tn, d), Hn(r, "https", zi, Tn, d), Hn(r, "ftp", zi, Tn, d), Hn(r, "ftps", zi, Tn, d), Uo(xc, {
46116
+ }, t), Hn(r, "file", xc, En, d), Hn(r, "mailto", xc, En, d), Hn(r, "http", zi, En, d), Hn(r, "https", zi, En, d), Hn(r, "ftp", zi, En, d), Hn(r, "ftps", zi, En, d), Uo(xc, {
46117
46117
  scheme: !0,
46118
46118
  ascii: !0
46119
46119
  }, t), Uo(zi, {
@@ -48101,7 +48101,7 @@ function H7(e) {
48101
48101
  if (!(e.selection instanceof qt))
48102
48102
  return null;
48103
48103
  let t = document.createElement("div");
48104
- return t.className = "ProseMirror-gapcursor", dr.create(e.doc, [Ln.widget(e.selection.head, t, { key: "gapcursor" })]);
48104
+ return t.className = "ProseMirror-gapcursor", dr.create(e.doc, [Dn.widget(e.selection.head, t, { key: "gapcursor" })]);
48105
48105
  }
48106
48106
  a(H7, "drawGapCursor");
48107
48107
  const W7 = Ut.create({
@@ -50331,7 +50331,7 @@ Lk = _b.default = (0, NJ.default)(/* @__PURE__ */ (0, LJ.jsx)("path", {
50331
50331
  }), "ArrowDropDown");
50332
50332
  var DJ = /* @__PURE__ */ a(function(e) {
50333
50333
  var t = e.helperText, r = e.error, n = jr();
50334
- return r ? x.createElement(JY, { error: r }) : t === !1 ? null : Mn(t) ? t : typeof t == "string" ? x.createElement(x.Fragment, null, n(t, { _: t })) : x.createElement("span", { dangerouslySetInnerHTML: _J });
50334
+ return r ? x.createElement(JY, { error: r }) : t === !1 ? null : Rn(t) ? t : typeof t == "string" ? x.createElement(x.Fragment, null, n(t, { _: t })) : x.createElement("span", { dangerouslySetInnerHTML: _J });
50335
50335
  }, "InputHelperText$1"), _J = { __html: "&#8203;" }, Jh = function() {
50336
50336
  return Jh = Object.assign || function(e) {
50337
50337
  for (var t, r = 1, n = arguments.length; r < n; r++) {
@@ -52201,7 +52201,7 @@ const EQ = /* @__PURE__ */ a((e) => {
52201
52201
  let ee;
52202
52202
  if (T) {
52203
52203
  if (!Array.isArray(L))
52204
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : $n(2));
52204
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : In(2));
52205
52205
  ee = L.some((pe) => Bx(pe, he.props.value)), ee && Be && tt.push(he.props.children);
52206
52206
  } else
52207
52207
  ee = Bx(L, he.props.value), ee && Be && (et = he.props.children);
@@ -53037,7 +53037,7 @@ var Jk = Gb.default = void 0, QQ = JQ(ke()), XQ = Ee;
53037
53037
  Jk = Gb.default = (0, QQ.default)(/* @__PURE__ */ (0, XQ.jsx)("path", {
53038
53038
  d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
53039
53039
  }), "Code");
53040
- var Qk = Rt(void 0), xn = /* @__PURE__ */ a(function() {
53040
+ var Qk = Rt(void 0), Sn = /* @__PURE__ */ a(function() {
53041
53041
  var e = De(!1), t = e[0], r = e[1], n = Te(Qk);
53042
53042
  return Ge(function() {
53043
53043
  var o = /* @__PURE__ */ a(function() {
@@ -53056,7 +53056,7 @@ var Qk = Rt(void 0), xn = /* @__PURE__ */ a(function() {
53056
53056
  return e;
53057
53057
  }, Xh.apply(this, arguments);
53058
53058
  }, ZQ = /* @__PURE__ */ a(function(e) {
53059
- var t = xn(), r = jr(), n = De([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53059
+ var t = Sn(), r = jr(), n = De([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53060
53060
  _: "Bold"
53061
53061
  }), l = r("ra.tiptap.italic", {
53062
53062
  _: "Italic"
@@ -53155,7 +53155,7 @@ var Zh = function() {
53155
53155
  return e;
53156
53156
  }, Zh.apply(this, arguments);
53157
53157
  }, sX = /* @__PURE__ */ a(function(e) {
53158
- var t = xn(), r = jr(), n = r("ra.tiptap.list_bulleted", {
53158
+ var t = Sn(), r = jr(), n = r("ra.tiptap.list_bulleted", {
53159
53159
  _: "Bulleted list"
53160
53160
  }), o = r("ra.tiptap.list_numbered", {
53161
53161
  _: "Numbered list"
@@ -53238,7 +53238,7 @@ var em = function() {
53238
53238
  return e;
53239
53239
  }, em.apply(this, arguments);
53240
53240
  }, xX = /* @__PURE__ */ a(function(e) {
53241
- var t = xn(), r = jr(), 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" });
53241
+ var t = Sn(), r = jr(), 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" });
53242
53242
  Ge(function() {
53243
53243
  var f = /* @__PURE__ */ a(function() {
53244
53244
  i(function(h) {
@@ -53300,7 +53300,7 @@ ow = ey.default = (0, TX.default)(/* @__PURE__ */ (0, EX.jsx)("path", {
53300
53300
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
53301
53301
  }), "InsertLink");
53302
53302
  var kX = /* @__PURE__ */ a(function() {
53303
- var e = xn(), t = De(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53303
+ var e = Sn(), t = De(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53304
53304
  return Ge(function() {
53305
53305
  var o = /* @__PURE__ */ a(function() {
53306
53306
  n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
@@ -53318,7 +53318,7 @@ var kX = /* @__PURE__ */ a(function() {
53318
53318
  return e;
53319
53319
  }, tm.apply(this, arguments);
53320
53320
  }, wX = /* @__PURE__ */ a(function(e) {
53321
- var t = xn(), r = jr(), n = kX(), o = r("ra.tiptap.link", {
53321
+ var t = Sn(), r = jr(), n = kX(), o = r("ra.tiptap.link", {
53322
53322
  _: "Add a link"
53323
53323
  }), i = /* @__PURE__ */ a(function() {
53324
53324
  if (t.can().setLink({ href: "" })) {
@@ -53348,7 +53348,7 @@ var rm = function() {
53348
53348
  return e;
53349
53349
  }, rm.apply(this, arguments);
53350
53350
  }, AX = /* @__PURE__ */ a(function(e) {
53351
- var t = xn(), r = jr(), n = De(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53351
+ var t = Sn(), r = jr(), n = De(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53352
53352
  _: "Blockquote"
53353
53353
  });
53354
53354
  return Ge(function() {
@@ -53382,7 +53382,7 @@ var nm = function() {
53382
53382
  return e;
53383
53383
  }, nm.apply(this, arguments);
53384
53384
  }, NX = /* @__PURE__ */ a(function(e) {
53385
- var t = xn(), r = jr(), n = r("ra.tiptap.clear_format", {
53385
+ var t = Sn(), r = jr(), n = r("ra.tiptap.clear_format", {
53386
53386
  _: "Clear format"
53387
53387
  });
53388
53388
  return x.createElement(
@@ -53393,7 +53393,7 @@ var nm = function() {
53393
53393
  x.createElement(aw, { fontSize: "inherit" })
53394
53394
  );
53395
53395
  }, "ClearButtons"), LX = /* @__PURE__ */ a(function(e) {
53396
- var t, r = jr(), n = xn(), o = De(null), i = o[0], s = o[1], l = e.size, u = De(ac[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(g, b) {
53396
+ var t, r = jr(), n = Sn(), o = De(null), i = o[0], s = o[1], l = e.size, u = De(ac[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(g, b) {
53397
53397
  s(null);
53398
53398
  var v = ac[b];
53399
53399
  v.value === "paragraph" ? n.chain().focus().setParagraph().run() : v.value === "heading" && n.chain().focus().setHeading({ level: v.level }).run();
@@ -53521,7 +53521,7 @@ var om = function() {
53521
53521
  return e;
53522
53522
  }, om.apply(this, arguments);
53523
53523
  }, BX = /* @__PURE__ */ a(function(e) {
53524
- var t = jr(), r = xn(), n = t("ra.tiptap.image", { _: "Image" }), o = x.useCallback(function() {
53524
+ var t = jr(), r = Sn(), n = t("ra.tiptap.image", { _: "Image" }), o = x.useCallback(function() {
53525
53525
  var i = window.prompt(t("ra.tiptap.image_dialog", { _: "Image URL" }));
53526
53526
  i && r.chain().focus().setImage({ src: i }).run();
53527
53527
  }, [r, t]);
@@ -53559,7 +53559,7 @@ var Gu = function() {
53559
53559
  e.FONT = "font", e.BACKGROUND = "background";
53560
53560
  })(ni || (ni = {}));
53561
53561
  var KX = /* @__PURE__ */ a(function(e) {
53562
- var t = jr(), r = xn(), n = x.useState(!1), o = n[0], i = n[1], s = x.useState(ni.FONT), l = s[0], u = s[1], d = t("ra.tiptap.color", { _: "Color" }), p = t("ra.tiptap.highlight", { _: "Highlight" }), f = /* @__PURE__ */ a(function(h) {
53562
+ var t = jr(), r = Sn(), n = x.useState(!1), o = n[0], i = n[1], s = x.useState(ni.FONT), l = s[0], u = s[1], d = t("ra.tiptap.color", { _: "Color" }), p = t("ra.tiptap.highlight", { _: "Highlight" }), f = /* @__PURE__ */ a(function(h) {
53563
53563
  i(!0), u(h);
53564
53564
  }, "displayColorChoiceDialog");
53565
53565
  return x.createElement(
@@ -53818,7 +53818,7 @@ const $ee = /* @__PURE__ */ a((e) => {
53818
53818
  return n ? null : t ? /* @__PURE__ */ y(nZ, { ...r, className: "" }) : /* @__PURE__ */ y(si, { multiline: !0, ...r });
53819
53819
  }, "TextArea"), fw = /* @__PURE__ */ a((e) => {
53820
53820
  const { helperText: t, error: r } = e, n = xt();
53821
- return r ? /* @__PURE__ */ y(HP, { error: r }) : t === !1 ? null : Mn(t) ? t : typeof t == "string" ? /* @__PURE__ */ y(dn, { children: n(t, { _: t }) }) : /* @__PURE__ */ y("span", { dangerouslySetInnerHTML: sZ });
53821
+ return r ? /* @__PURE__ */ y(HP, { error: r }) : t === !1 ? null : Rn(t) ? t : typeof t == "string" ? /* @__PURE__ */ y(dn, { children: n(t, { _: t }) }) : /* @__PURE__ */ y("span", { dangerouslySetInnerHTML: sZ });
53822
53822
  }, "InputHelperText"), sZ = { __html: "&#8203;" }, hw = /* @__PURE__ */ a(({
53823
53823
  afterSubmit: e,
53824
53824
  allowNull: t,
@@ -54162,7 +54162,7 @@ export {
54162
54162
  eV as useNuevo,
54163
54163
  aee as useReferenceLabel,
54164
54164
  rC as useResourceRefresh,
54165
- On as useUtils,
54165
+ xn as useUtils,
54166
54166
  $d as useUtilsGrilla,
54167
54167
  lD as useUtilsSubmit
54168
54168
  };