biblio-react 3.0.23 → 3.0.24

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
@@ -131,17 +131,17 @@ var bx;
131
131
  function GD() {
132
132
  return bx || (bx = 1, process.env.NODE_ENV !== "production" && (function() {
133
133
  var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, p = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, f = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, h = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
134
- function C(H) {
135
- return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
136
- H === r || H === d || H === i || H === o || H === f || H === m || typeof H == "object" && H !== null && (H.$$typeof === y || H.$$typeof === h || H.$$typeof === a || H.$$typeof === l || H.$$typeof === p || H.$$typeof === v || H.$$typeof === x || H.$$typeof === E || H.$$typeof === g);
134
+ function C(q) {
135
+ return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
136
+ q === r || q === d || q === i || q === o || q === f || q === m || typeof q == "object" && q !== null && (q.$$typeof === y || q.$$typeof === h || q.$$typeof === a || q.$$typeof === l || q.$$typeof === p || q.$$typeof === v || q.$$typeof === x || q.$$typeof === E || q.$$typeof === g);
137
137
  }
138
138
  s(C, "isValidElementType");
139
- function w(H) {
140
- if (typeof H == "object" && H !== null) {
141
- var ve = H.$$typeof;
139
+ function w(q) {
140
+ if (typeof q == "object" && q !== null) {
141
+ var ve = q.$$typeof;
142
142
  switch (ve) {
143
143
  case e:
144
- var le = H.type;
144
+ var le = q.type;
145
145
  switch (le) {
146
146
  case u:
147
147
  case d:
@@ -170,58 +170,58 @@ function GD() {
170
170
  }
171
171
  s(w, "typeOf");
172
172
  var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f, z = !1;
173
- function V(H) {
174
- return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B(H) || w(H) === u;
173
+ function V(q) {
174
+ return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B(q) || w(q) === u;
175
175
  }
176
176
  s(V, "isAsyncMode");
177
- function B(H) {
178
- return w(H) === d;
177
+ function B(q) {
178
+ return w(q) === d;
179
179
  }
180
180
  s(B, "isConcurrentMode");
181
- function F(H) {
182
- return w(H) === l;
181
+ function F(q) {
182
+ return w(q) === l;
183
183
  }
184
184
  s(F, "isContextConsumer");
185
- function W(H) {
186
- return w(H) === a;
185
+ function H(q) {
186
+ return w(q) === a;
187
187
  }
188
- s(W, "isContextProvider");
189
- function Q(H) {
190
- return typeof H == "object" && H !== null && H.$$typeof === e;
188
+ s(H, "isContextProvider");
189
+ function Q(q) {
190
+ return typeof q == "object" && q !== null && q.$$typeof === e;
191
191
  }
192
192
  s(Q, "isElement");
193
- function q(H) {
194
- return w(H) === p;
193
+ function U(q) {
194
+ return w(q) === p;
195
195
  }
196
- s(q, "isForwardRef");
197
- function K(H) {
198
- return w(H) === r;
196
+ s(U, "isForwardRef");
197
+ function K(q) {
198
+ return w(q) === r;
199
199
  }
200
200
  s(K, "isFragment");
201
- function ee(H) {
202
- return w(H) === y;
201
+ function ee(q) {
202
+ return w(q) === y;
203
203
  }
204
204
  s(ee, "isLazy");
205
- function j(H) {
206
- return w(H) === h;
205
+ function j(q) {
206
+ return w(q) === h;
207
207
  }
208
208
  s(j, "isMemo");
209
- function G(H) {
210
- return w(H) === n;
209
+ function W(q) {
210
+ return w(q) === n;
211
211
  }
212
- s(G, "isPortal");
213
- function Z(H) {
214
- return w(H) === i;
212
+ s(W, "isPortal");
213
+ function Z(q) {
214
+ return w(q) === i;
215
215
  }
216
216
  s(Z, "isProfiler");
217
- function te(H) {
218
- return w(H) === o;
217
+ function te(q) {
218
+ return w(q) === o;
219
219
  }
220
220
  s(te, "isStrictMode");
221
- function ae(H) {
222
- return w(H) === f;
221
+ function ae(q) {
222
+ return w(q) === f;
223
223
  }
224
- s(ae, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = A, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = N, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode = V, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = W, yt.isElement = Q, yt.isForwardRef = q, yt.isFragment = K, yt.isLazy = ee, yt.isMemo = j, yt.isPortal = G, yt.isProfiler = Z, yt.isStrictMode = te, yt.isSuspense = ae, yt.isValidElementType = C, yt.typeOf = w;
224
+ s(ae, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = A, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = N, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode = V, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = H, yt.isElement = Q, yt.isForwardRef = U, yt.isFragment = K, yt.isLazy = ee, yt.isMemo = j, yt.isPortal = W, yt.isProfiler = Z, yt.isStrictMode = te, yt.isSuspense = ae, yt.isValidElementType = C, yt.typeOf = w;
225
225
  })()), yt;
226
226
  }
227
227
  s(GD, "requireReactIs_development$3");
@@ -397,36 +397,36 @@ function JD() {
397
397
  s(g, "PropTypeError"), g.prototype = Error.prototype;
398
398
  function v(B) {
399
399
  if (process.env.NODE_ENV !== "production")
400
- var F = {}, W = 0;
401
- function Q(K, ee, j, G, Z, te, ae) {
402
- if (G = G || m, te = te || j, ae !== n) {
400
+ var F = {}, H = 0;
401
+ function Q(K, ee, j, W, Z, te, ae) {
402
+ if (W = W || m, te = te || j, ae !== n) {
403
403
  if (u) {
404
- var H = new Error(
404
+ var q = new Error(
405
405
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
406
406
  );
407
- throw H.name = "Invariant Violation", H;
407
+ throw q.name = "Invariant Violation", q;
408
408
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
409
- var ve = G + ":" + j;
409
+ var ve = W + ":" + j;
410
410
  !F[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
411
- W < 3 && (i(
412
- "You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
413
- ), F[ve] = !0, W++);
411
+ H < 3 && (i(
412
+ "You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
413
+ ), F[ve] = !0, H++);
414
414
  }
415
415
  }
416
- return ee[j] == null ? K ? ee[j] === null ? new g("The " + Z + " `" + te + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new g("The " + Z + " `" + te + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : B(ee, j, G, Z, te);
416
+ return ee[j] == null ? K ? ee[j] === null ? new g("The " + Z + " `" + te + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new g("The " + Z + " `" + te + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : B(ee, j, W, Z, te);
417
417
  }
418
418
  s(Q, "checkType");
419
- var q = Q.bind(null, !1);
420
- return q.isRequired = Q.bind(null, !0), q;
419
+ var U = Q.bind(null, !1);
420
+ return U.isRequired = Q.bind(null, !0), U;
421
421
  }
422
422
  s(v, "createChainableTypeChecker");
423
423
  function x(B) {
424
- function F(W, Q, q, K, ee, j) {
425
- var G = W[Q], Z = I(G);
424
+ function F(H, Q, U, K, ee, j) {
425
+ var W = H[Q], Z = I(W);
426
426
  if (Z !== B) {
427
- var te = _(G);
427
+ var te = _(W);
428
428
  return new g(
429
- "Invalid " + K + " `" + ee + "` of type " + ("`" + te + "` supplied to `" + q + "`, expected ") + ("`" + B + "`."),
429
+ "Invalid " + K + " `" + ee + "` of type " + ("`" + te + "` supplied to `" + U + "`, expected ") + ("`" + B + "`."),
430
430
  { expectedType: B }
431
431
  );
432
432
  }
@@ -440,16 +440,16 @@ function JD() {
440
440
  }
441
441
  s(E, "createAnyTypeChecker");
442
442
  function C(B) {
443
- function F(W, Q, q, K, ee) {
443
+ function F(H, Q, U, K, ee) {
444
444
  if (typeof B != "function")
445
- return new g("Property `" + ee + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
446
- var j = W[Q];
445
+ return new g("Property `" + ee + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
446
+ var j = H[Q];
447
447
  if (!Array.isArray(j)) {
448
- var G = I(j);
449
- return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + G + "` supplied to `" + q + "`, expected an array."));
448
+ var W = I(j);
449
+ return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + W + "` supplied to `" + U + "`, expected an array."));
450
450
  }
451
451
  for (var Z = 0; Z < j.length; Z++) {
452
- var te = B(j, Z, q, K, ee + "[" + Z + "]", n);
452
+ var te = B(j, Z, U, K, ee + "[" + Z + "]", n);
453
453
  if (te instanceof Error)
454
454
  return te;
455
455
  }
@@ -459,11 +459,11 @@ function JD() {
459
459
  }
460
460
  s(C, "createArrayOfTypeChecker");
461
461
  function w() {
462
- function B(F, W, Q, q, K) {
463
- var ee = F[W];
462
+ function B(F, H, Q, U, K) {
463
+ var ee = F[H];
464
464
  if (!l(ee)) {
465
465
  var j = I(ee);
466
- return new g("Invalid " + q + " `" + K + "` of type " + ("`" + j + "` supplied to `" + Q + "`, expected a single ReactElement."));
466
+ return new g("Invalid " + U + " `" + K + "` of type " + ("`" + j + "` supplied to `" + Q + "`, expected a single ReactElement."));
467
467
  }
468
468
  return null;
469
469
  }
@@ -471,11 +471,11 @@ function JD() {
471
471
  }
472
472
  s(w, "createElementTypeChecker");
473
473
  function T() {
474
- function B(F, W, Q, q, K) {
475
- var ee = F[W];
474
+ function B(F, H, Q, U, K) {
475
+ var ee = F[H];
476
476
  if (!t.isValidElementType(ee)) {
477
477
  var j = I(ee);
478
- return new g("Invalid " + q + " `" + K + "` of type " + ("`" + j + "` supplied to `" + Q + "`, expected a single ReactElement type."));
478
+ return new g("Invalid " + U + " `" + K + "` of type " + ("`" + j + "` supplied to `" + Q + "`, expected a single ReactElement type."));
479
479
  }
480
480
  return null;
481
481
  }
@@ -483,10 +483,10 @@ function JD() {
483
483
  }
484
484
  s(T, "createElementTypeTypeChecker");
485
485
  function O(B) {
486
- function F(W, Q, q, K, ee) {
487
- if (!(W[Q] instanceof B)) {
488
- var j = B.name || m, G = V(W[Q]);
489
- return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + G + "` supplied to `" + q + "`, expected ") + ("instance of `" + j + "`."));
486
+ function F(H, Q, U, K, ee) {
487
+ if (!(H[Q] instanceof B)) {
488
+ var j = B.name || m, W = V(H[Q]);
489
+ return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + W + "` supplied to `" + U + "`, expected ") + ("instance of `" + j + "`."));
490
490
  }
491
491
  return null;
492
492
  }
@@ -498,29 +498,29 @@ function JD() {
498
498
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
499
499
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
500
500
  ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
501
- function F(W, Q, q, K, ee) {
502
- for (var j = W[Q], G = 0; G < B.length; G++)
503
- if (y(j, B[G]))
501
+ function F(H, Q, U, K, ee) {
502
+ for (var j = H[Q], W = 0; W < B.length; W++)
503
+ if (y(j, B[W]))
504
504
  return null;
505
- var Z = JSON.stringify(B, /* @__PURE__ */ s(function(ae, H) {
506
- var ve = _(H);
507
- return ve === "symbol" ? String(H) : H;
505
+ var Z = JSON.stringify(B, /* @__PURE__ */ s(function(ae, q) {
506
+ var ve = _(q);
507
+ return ve === "symbol" ? String(q) : q;
508
508
  }, "replacer"));
509
- return new g("Invalid " + K + " `" + ee + "` of value `" + String(j) + "` " + ("supplied to `" + q + "`, expected one of " + Z + "."));
509
+ return new g("Invalid " + K + " `" + ee + "` of value `" + String(j) + "` " + ("supplied to `" + U + "`, expected one of " + Z + "."));
510
510
  }
511
511
  return s(F, "validate"), v(F);
512
512
  }
513
513
  s(M, "createEnumTypeChecker");
514
514
  function A(B) {
515
- function F(W, Q, q, K, ee) {
515
+ function F(H, Q, U, K, ee) {
516
516
  if (typeof B != "function")
517
- return new g("Property `" + ee + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
518
- var j = W[Q], G = I(j);
519
- if (G !== "object")
520
- return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + G + "` supplied to `" + q + "`, expected an object."));
517
+ return new g("Property `" + ee + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
518
+ var j = H[Q], W = I(j);
519
+ if (W !== "object")
520
+ return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + W + "` supplied to `" + U + "`, expected an object."));
521
521
  for (var Z in j)
522
522
  if (r(j, Z)) {
523
- var te = B(j, Z, q, K, ee + "." + Z, n);
523
+ var te = B(j, Z, U, K, ee + "." + Z, n);
524
524
  if (te instanceof Error)
525
525
  return te;
526
526
  }
@@ -533,48 +533,48 @@ function JD() {
533
533
  if (!Array.isArray(B))
534
534
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
535
535
  for (var F = 0; F < B.length; F++) {
536
- var W = B[F];
537
- if (typeof W != "function")
536
+ var H = B[F];
537
+ if (typeof H != "function")
538
538
  return i(
539
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(W) + " at index " + F + "."
539
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(H) + " at index " + F + "."
540
540
  ), a;
541
541
  }
542
- function Q(q, K, ee, j, G) {
542
+ function Q(U, K, ee, j, W) {
543
543
  for (var Z = [], te = 0; te < B.length; te++) {
544
- var ae = B[te], H = ae(q, K, ee, j, G, n);
545
- if (H == null)
544
+ var ae = B[te], q = ae(U, K, ee, j, W, n);
545
+ if (q == null)
546
546
  return null;
547
- H.data && r(H.data, "expectedType") && Z.push(H.data.expectedType);
547
+ q.data && r(q.data, "expectedType") && Z.push(q.data.expectedType);
548
548
  }
549
549
  var ve = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
550
- return new g("Invalid " + j + " `" + G + "` supplied to " + ("`" + ee + "`" + ve + "."));
550
+ return new g("Invalid " + j + " `" + W + "` supplied to " + ("`" + ee + "`" + ve + "."));
551
551
  }
552
552
  return s(Q, "validate"), v(Q);
553
553
  }
554
554
  s(R, "createUnionTypeChecker");
555
555
  function D() {
556
- function B(F, W, Q, q, K) {
557
- return $(F[W]) ? null : new g("Invalid " + q + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
556
+ function B(F, H, Q, U, K) {
557
+ return $(F[H]) ? null : new g("Invalid " + U + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
558
558
  }
559
559
  return s(B, "validate"), v(B);
560
560
  }
561
561
  s(D, "createNodeChecker");
562
- function P(B, F, W, Q, q) {
562
+ function P(B, F, H, Q, U) {
563
563
  return new g(
564
- (B || "React class") + ": " + F + " type `" + W + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
564
+ (B || "React class") + ": " + F + " type `" + H + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
565
565
  );
566
566
  }
567
567
  s(P, "invalidValidatorError");
568
568
  function k(B) {
569
- function F(W, Q, q, K, ee) {
570
- var j = W[Q], G = I(j);
571
- if (G !== "object")
572
- return new g("Invalid " + K + " `" + ee + "` of type `" + G + "` " + ("supplied to `" + q + "`, expected `object`."));
569
+ function F(H, Q, U, K, ee) {
570
+ var j = H[Q], W = I(j);
571
+ if (W !== "object")
572
+ return new g("Invalid " + K + " `" + ee + "` of type `" + W + "` " + ("supplied to `" + U + "`, expected `object`."));
573
573
  for (var Z in B) {
574
574
  var te = B[Z];
575
575
  if (typeof te != "function")
576
- return P(q, K, ee, Z, _(te));
577
- var ae = te(j, Z, q, K, ee + "." + Z, n);
576
+ return P(U, K, ee, Z, _(te));
577
+ var ae = te(j, Z, U, K, ee + "." + Z, n);
578
578
  if (ae)
579
579
  return ae;
580
580
  }
@@ -584,23 +584,23 @@ function JD() {
584
584
  }
585
585
  s(k, "createShapeTypeChecker");
586
586
  function N(B) {
587
- function F(W, Q, q, K, ee) {
588
- var j = W[Q], G = I(j);
589
- if (G !== "object")
590
- return new g("Invalid " + K + " `" + ee + "` of type `" + G + "` " + ("supplied to `" + q + "`, expected `object`."));
591
- var Z = e({}, W[Q], B);
587
+ function F(H, Q, U, K, ee) {
588
+ var j = H[Q], W = I(j);
589
+ if (W !== "object")
590
+ return new g("Invalid " + K + " `" + ee + "` of type `" + W + "` " + ("supplied to `" + U + "`, expected `object`."));
591
+ var Z = e({}, H[Q], B);
592
592
  for (var te in Z) {
593
593
  var ae = B[te];
594
594
  if (r(B, te) && typeof ae != "function")
595
- return P(q, K, ee, te, _(ae));
595
+ return P(U, K, ee, te, _(ae));
596
596
  if (!ae)
597
597
  return new g(
598
- "Invalid " + K + " `" + ee + "` key `" + te + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(W[Q], null, " ") + `
598
+ "Invalid " + K + " `" + ee + "` key `" + te + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(H[Q], null, " ") + `
599
599
  Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
600
600
  );
601
- var H = ae(j, te, q, K, ee + "." + te, n);
602
- if (H)
603
- return H;
601
+ var q = ae(j, te, U, K, ee + "." + te, n);
602
+ if (q)
603
+ return q;
604
604
  }
605
605
  return null;
606
606
  }
@@ -622,15 +622,15 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
622
622
  return !0;
623
623
  var F = f(B);
624
624
  if (F) {
625
- var W = F.call(B), Q;
625
+ var H = F.call(B), Q;
626
626
  if (F !== B.entries) {
627
- for (; !(Q = W.next()).done; )
627
+ for (; !(Q = H.next()).done; )
628
628
  if (!$(Q.value))
629
629
  return !1;
630
630
  } else
631
- for (; !(Q = W.next()).done; ) {
632
- var q = Q.value;
633
- if (q && !$(q[1]))
631
+ for (; !(Q = H.next()).done; ) {
632
+ var U = Q.value;
633
+ if (U && !$(U[1]))
634
634
  return !1;
635
635
  }
636
636
  } else
@@ -2532,17 +2532,17 @@ var Fx;
2532
2532
  function OL() {
2533
2533
  return Fx || (Fx = 1, process.env.NODE_ENV !== "production" && (function() {
2534
2534
  var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, p = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, f = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, h = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, v = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
2535
- function C(H) {
2536
- return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2537
- H === r || H === d || H === i || H === o || H === f || H === m || typeof H == "object" && H !== null && (H.$$typeof === y || H.$$typeof === h || H.$$typeof === a || H.$$typeof === l || H.$$typeof === p || H.$$typeof === v || H.$$typeof === x || H.$$typeof === E || H.$$typeof === g);
2535
+ function C(q) {
2536
+ return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2537
+ q === r || q === d || q === i || q === o || q === f || q === m || typeof q == "object" && q !== null && (q.$$typeof === y || q.$$typeof === h || q.$$typeof === a || q.$$typeof === l || q.$$typeof === p || q.$$typeof === v || q.$$typeof === x || q.$$typeof === E || q.$$typeof === g);
2538
2538
  }
2539
2539
  s(C, "isValidElementType");
2540
- function w(H) {
2541
- if (typeof H == "object" && H !== null) {
2542
- var ve = H.$$typeof;
2540
+ function w(q) {
2541
+ if (typeof q == "object" && q !== null) {
2542
+ var ve = q.$$typeof;
2543
2543
  switch (ve) {
2544
2544
  case e:
2545
- var le = H.type;
2545
+ var le = q.type;
2546
2546
  switch (le) {
2547
2547
  case u:
2548
2548
  case d:
@@ -2571,58 +2571,58 @@ function OL() {
2571
2571
  }
2572
2572
  s(w, "typeOf");
2573
2573
  var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f, z = !1;
2574
- function V(H) {
2575
- return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B(H) || w(H) === u;
2574
+ function V(q) {
2575
+ return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B(q) || w(q) === u;
2576
2576
  }
2577
2577
  s(V, "isAsyncMode");
2578
- function B(H) {
2579
- return w(H) === d;
2578
+ function B(q) {
2579
+ return w(q) === d;
2580
2580
  }
2581
2581
  s(B, "isConcurrentMode");
2582
- function F(H) {
2583
- return w(H) === l;
2582
+ function F(q) {
2583
+ return w(q) === l;
2584
2584
  }
2585
2585
  s(F, "isContextConsumer");
2586
- function W(H) {
2587
- return w(H) === a;
2586
+ function H(q) {
2587
+ return w(q) === a;
2588
2588
  }
2589
- s(W, "isContextProvider");
2590
- function Q(H) {
2591
- return typeof H == "object" && H !== null && H.$$typeof === e;
2589
+ s(H, "isContextProvider");
2590
+ function Q(q) {
2591
+ return typeof q == "object" && q !== null && q.$$typeof === e;
2592
2592
  }
2593
2593
  s(Q, "isElement");
2594
- function q(H) {
2595
- return w(H) === p;
2594
+ function U(q) {
2595
+ return w(q) === p;
2596
2596
  }
2597
- s(q, "isForwardRef");
2598
- function K(H) {
2599
- return w(H) === r;
2597
+ s(U, "isForwardRef");
2598
+ function K(q) {
2599
+ return w(q) === r;
2600
2600
  }
2601
2601
  s(K, "isFragment");
2602
- function ee(H) {
2603
- return w(H) === y;
2602
+ function ee(q) {
2603
+ return w(q) === y;
2604
2604
  }
2605
2605
  s(ee, "isLazy");
2606
- function j(H) {
2607
- return w(H) === h;
2606
+ function j(q) {
2607
+ return w(q) === h;
2608
2608
  }
2609
2609
  s(j, "isMemo");
2610
- function G(H) {
2611
- return w(H) === n;
2610
+ function W(q) {
2611
+ return w(q) === n;
2612
2612
  }
2613
- s(G, "isPortal");
2614
- function Z(H) {
2615
- return w(H) === i;
2613
+ s(W, "isPortal");
2614
+ function Z(q) {
2615
+ return w(q) === i;
2616
2616
  }
2617
2617
  s(Z, "isProfiler");
2618
- function te(H) {
2619
- return w(H) === o;
2618
+ function te(q) {
2619
+ return w(q) === o;
2620
2620
  }
2621
2621
  s(te, "isStrictMode");
2622
- function ae(H) {
2623
- return w(H) === f;
2622
+ function ae(q) {
2623
+ return w(q) === f;
2624
2624
  }
2625
- s(ae, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = A, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = N, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode = V, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = W, vt.isElement = Q, vt.isForwardRef = q, vt.isFragment = K, vt.isLazy = ee, vt.isMemo = j, vt.isPortal = G, vt.isProfiler = Z, vt.isStrictMode = te, vt.isSuspense = ae, vt.isValidElementType = C, vt.typeOf = w;
2625
+ s(ae, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = A, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = N, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode = V, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = H, vt.isElement = Q, vt.isForwardRef = U, vt.isFragment = K, vt.isLazy = ee, vt.isMemo = j, vt.isPortal = W, vt.isProfiler = Z, vt.isStrictMode = te, vt.isSuspense = ae, vt.isValidElementType = C, vt.typeOf = w;
2626
2626
  })()), vt;
2627
2627
  }
2628
2628
  s(OL, "requireReactIs_development$1");
@@ -4488,13 +4488,13 @@ function _F(t) {
4488
4488
  defaultMode: N = "system",
4489
4489
  forceThemeRerender: $ = !1,
4490
4490
  noSsr: L
4491
- } = x, I = S.useRef(!1), _ = l0(), z = S.useContext(d), V = !!z && !P, B = S.useMemo(() => C || (typeof n == "function" ? n() : n), [C]), F = B[e], W = F || B, {
4491
+ } = x, I = S.useRef(!1), _ = l0(), z = S.useContext(d), V = !!z && !P, B = S.useMemo(() => C || (typeof n == "function" ? n() : n), [C]), F = B[e], H = F || B, {
4492
4492
  colorSchemes: Q = f,
4493
- components: q = m,
4493
+ components: U = m,
4494
4494
  cssVarPrefix: K
4495
- } = W, ee = Object.keys(Q).filter((Xe) => !!Q[Xe]).join(","), j = S.useMemo(() => ee.split(","), [ee]), G = typeof a == "string" ? a : a.light, Z = typeof a == "string" ? a : a.dark, te = Q[G] && Q[Z] ? N : Q[W.defaultColorScheme]?.palette?.mode || W.palette?.mode, {
4495
+ } = H, ee = Object.keys(Q).filter((Xe) => !!Q[Xe]).join(","), j = S.useMemo(() => ee.split(","), [ee]), W = typeof a == "string" ? a : a.light, Z = typeof a == "string" ? a : a.dark, te = Q[W] && Q[Z] ? N : Q[H.defaultColorScheme]?.palette?.mode || H.palette?.mode, {
4496
4496
  mode: ae,
4497
- setMode: H,
4497
+ setMode: q,
4498
4498
  systemMode: ve,
4499
4499
  lightColorScheme: le,
4500
4500
  darkColorScheme: X,
@@ -4502,7 +4502,7 @@ function _F(t) {
4502
4502
  setColorScheme: ie
4503
4503
  } = LF({
4504
4504
  supportedColorSchemes: j,
4505
- defaultLightColorScheme: G,
4505
+ defaultLightColorScheme: W,
4506
4506
  defaultDarkColorScheme: Z,
4507
4507
  modeStorageKey: w,
4508
4508
  colorSchemeStorageKey: T,
@@ -4512,14 +4512,14 @@ function _F(t) {
4512
4512
  noSsr: L
4513
4513
  });
4514
4514
  let ge = ae, Ie = de;
4515
- V && (ge = z.mode, Ie = z.colorScheme), process.env.NODE_ENV !== "production" && $ && !W.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
4515
+ V && (ge = z.mode, Ie = z.colorScheme), process.env.NODE_ENV !== "production" && $ && !H.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
4516
4516
  `));
4517
- let De = Ie || W.defaultColorScheme;
4518
- W.vars && !$ && (De = W.defaultColorScheme);
4517
+ let De = Ie || H.defaultColorScheme;
4518
+ H.vars && !$ && (De = H.defaultColorScheme);
4519
4519
  const Te = S.useMemo(() => {
4520
- const Xe = W.generateThemeVars?.() || W.vars, ce = {
4521
- ...W,
4522
- components: q,
4520
+ const Xe = H.generateThemeVars?.() || H.vars, ce = {
4521
+ ...H,
4522
+ components: U,
4523
4523
  colorSchemes: Q,
4524
4524
  cssVarPrefix: K,
4525
4525
  vars: Xe
@@ -4534,7 +4534,7 @@ function _F(t) {
4534
4534
  });
4535
4535
  }
4536
4536
  return l ? l(ce) : ce;
4537
- }, [W, De, q, Q, K]), ye = W.colorSchemeSelector;
4537
+ }, [H, De, U, Q, K]), ye = H.colorSchemeSelector;
4538
4538
  On(() => {
4539
4539
  if (Ie && D && ye && ye !== "media") {
4540
4540
  const Xe = ye;
@@ -4573,14 +4573,14 @@ function _F(t) {
4573
4573
  lightColorScheme: le,
4574
4574
  mode: ge,
4575
4575
  setColorScheme: ie,
4576
- setMode: process.env.NODE_ENV === "production" ? H : (Xe) => {
4576
+ setMode: process.env.NODE_ENV === "production" ? q : (Xe) => {
4577
4577
  Te.colorSchemeSelector === "media" && console.error(["MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).", "To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.", "To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually"].join(`
4578
- `)), H(Xe);
4578
+ `)), q(Xe);
4579
4579
  },
4580
4580
  systemMode: ve
4581
- }), [j, Ie, X, le, ge, ie, H, ve, Te.colorSchemeSelector]);
4581
+ }), [j, Ie, X, le, ge, ie, q, ve, Te.colorSchemeSelector]);
4582
4582
  let Ge = !0;
4583
- (k || W.cssVariables === !1 || V && _?.cssVarPrefix === K) && (Ge = !1);
4583
+ (k || H.cssVariables === !1 || V && _?.cssVarPrefix === K) && (Ge = !1);
4584
4584
  const Tt = /* @__PURE__ */ Y(S.Fragment, {
4585
4585
  children: [/* @__PURE__ */ b(Tc, {
4586
4586
  themeId: F ? e : void 0,
@@ -8484,16 +8484,16 @@ const DB = /* @__PURE__ */ s((t) => {
8484
8484
  } = AB({
8485
8485
  ...$,
8486
8486
  rootRef: n
8487
- }), W = {
8487
+ }), H = {
8488
8488
  ...$,
8489
8489
  exited: B
8490
- }, Q = DB(W), q = {};
8491
- if (d.props.tabIndex === void 0 && (q.tabIndex = "-1"), F) {
8490
+ }, Q = DB(H), U = {};
8491
+ if (d.props.tabIndex === void 0 && (U.tabIndex = "-1"), F) {
8492
8492
  const {
8493
8493
  onEnter: te,
8494
8494
  onExited: ae
8495
8495
  } = _();
8496
- q.onEnter = te, q.onExited = ae;
8496
+ U.onEnter = te, U.onExited = ae;
8497
8497
  }
8498
8498
  const K = {
8499
8499
  slots: {
@@ -8514,9 +8514,9 @@ const DB = /* @__PURE__ */ s((t) => {
8514
8514
  component: f
8515
8515
  },
8516
8516
  getSlotProps: L,
8517
- ownerState: W,
8518
- className: se(l, Q?.root, !W.open && W.exited && Q?.hidden)
8519
- }), [G, Z] = je("backdrop", {
8517
+ ownerState: H,
8518
+ className: se(l, Q?.root, !H.open && H.exited && Q?.hidden)
8519
+ }), [W, Z] = je("backdrop", {
8520
8520
  ref: i?.ref,
8521
8521
  elementType: o,
8522
8522
  externalForwardedProps: K,
@@ -8529,7 +8529,7 @@ const DB = /* @__PURE__ */ s((t) => {
8529
8529
  }, "onClick")
8530
8530
  }), "getSlotProps"),
8531
8531
  className: se(i?.className, Q?.backdrop),
8532
- ownerState: W
8532
+ ownerState: H
8533
8533
  });
8534
8534
  return !T && !R && (!F || B) ? null : /* @__PURE__ */ b(kc, {
8535
8535
  ref: z,
@@ -8537,7 +8537,7 @@ const DB = /* @__PURE__ */ s((t) => {
8537
8537
  disablePortal: x,
8538
8538
  children: /* @__PURE__ */ Y(ee, {
8539
8539
  ...j,
8540
- children: [!w && o ? /* @__PURE__ */ b(G, {
8540
+ children: [!w && o ? /* @__PURE__ */ b(W, {
8541
8541
  ...Z
8542
8542
  }) : null, /* @__PURE__ */ b(Jd, {
8543
8543
  disableEnforceFocus: g,
@@ -8545,7 +8545,7 @@ const DB = /* @__PURE__ */ s((t) => {
8545
8545
  disableRestoreFocus: E,
8546
8546
  isEnabled: V,
8547
8547
  open: R,
8548
- children: /* @__PURE__ */ S.cloneElement(d, q)
8548
+ children: /* @__PURE__ */ S.cloneElement(d, U)
8549
8549
  })]
8550
8550
  })
8551
8551
  });
@@ -9118,36 +9118,36 @@ const jB = ne(b0, {
9118
9118
  paper: T,
9119
9119
  backdrop: p,
9120
9120
  ...A
9121
- }, W = {
9121
+ }, H = {
9122
9122
  slots: B,
9123
9123
  slotProps: F
9124
- }, [Q, q] = je("root", {
9124
+ }, [Q, U] = je("root", {
9125
9125
  elementType: HB,
9126
9126
  shouldForwardComponentProp: !0,
9127
- externalForwardedProps: W,
9127
+ externalForwardedProps: H,
9128
9128
  ownerState: N,
9129
9129
  className: se($.root, m),
9130
9130
  ref: n
9131
9131
  }), [K, ee] = je("backdrop", {
9132
9132
  elementType: jB,
9133
9133
  shouldForwardComponentProp: !0,
9134
- externalForwardedProps: W,
9134
+ externalForwardedProps: H,
9135
9135
  ownerState: N,
9136
9136
  className: $.backdrop
9137
- }), [j, G] = je("paper", {
9137
+ }), [j, W] = je("paper", {
9138
9138
  elementType: UB,
9139
9139
  shouldForwardComponentProp: !0,
9140
- externalForwardedProps: W,
9140
+ externalForwardedProps: H,
9141
9141
  ownerState: N,
9142
9142
  className: se($.paper, T.className)
9143
9143
  }), [Z, te] = je("container", {
9144
9144
  elementType: qB,
9145
- externalForwardedProps: W,
9145
+ externalForwardedProps: H,
9146
9146
  ownerState: N,
9147
9147
  className: $.container
9148
- }), [ae, H] = je("transition", {
9148
+ }), [ae, q] = je("transition", {
9149
9149
  elementType: Qd,
9150
- externalForwardedProps: W,
9150
+ externalForwardedProps: H,
9151
9151
  ownerState: N,
9152
9152
  additionalProps: {
9153
9153
  appear: !0,
@@ -9172,10 +9172,10 @@ const jB = ne(b0, {
9172
9172
  onClose: E,
9173
9173
  open: C,
9174
9174
  onClick: _,
9175
- ...q,
9175
+ ...U,
9176
9176
  ...k,
9177
9177
  children: /* @__PURE__ */ b(ae, {
9178
- ...H,
9178
+ ...q,
9179
9179
  children: /* @__PURE__ */ b(Z, {
9180
9180
  onMouseDown: I,
9181
9181
  ...te,
@@ -9186,7 +9186,7 @@ const jB = ne(b0, {
9186
9186
  "aria-describedby": a,
9187
9187
  "aria-labelledby": z,
9188
9188
  "aria-modal": u,
9189
- ...G,
9189
+ ...W,
9190
9190
  children: /* @__PURE__ */ b(S0.Provider, {
9191
9191
  value: V,
9192
9192
  children: f
@@ -10974,25 +10974,25 @@ const Jy = /* @__PURE__ */ s((t = "scope") => (TC += 1, `${t}-${TC}`), "createRe
10974
10974
  disabled: V,
10975
10975
  useContenido: B = gu,
10976
10976
  validate: F,
10977
- required: W,
10977
+ required: H,
10978
10978
  ...Q
10979
- } = T, q = l || z === void 0 ? D : z, K = l || V === void 0 ? P : V, ee = l || L === void 0 ? M : L, j = l || I === void 0 ? R : I, G = l || _ === void 0 ? A : _, Z = Xr(t), te = B({
10979
+ } = T, U = l || z === void 0 ? D : z, K = l || V === void 0 ? P : V, ee = l || L === void 0 ? M : L, j = l || I === void 0 ? R : I, W = l || _ === void 0 ? A : _, Z = Xr(t), te = B({
10980
10980
  ...$,
10981
10981
  estado: n,
10982
- hidden: q,
10982
+ hidden: U,
10983
10983
  isLoading: r,
10984
10984
  utils: Z,
10985
10985
  ...Q
10986
10986
  }), {
10987
10987
  hidden: ae,
10988
- disabled: H,
10988
+ disabled: q,
10989
10989
  onFocus: ve,
10990
10990
  onChange: le,
10991
10991
  onBlur: X,
10992
10992
  validate: de,
10993
10993
  required: ie,
10994
10994
  ...ge
10995
- } = te, Ie = ve || ee, De = X || j, Te = le || G, ye = x !== void 0 ? x : ie !== void 0 ? ie : m ? !0 : l || W === void 0 ? N : W, rt = v !== void 0 ? v : ae !== void 0 ? ae : f ? !0 : q, Ge = g !== void 0 ? g : H !== void 0 ? H : h ? !0 : K, Tt = tt(() => {
10995
+ } = te, Ie = ve || ee, De = X || j, Te = le || W, ye = x !== void 0 ? x : ie !== void 0 ? ie : m ? !0 : l || H === void 0 ? N : H, rt = v !== void 0 ? v : ae !== void 0 ? ae : f ? !0 : U, Ge = g !== void 0 ? g : q !== void 0 ? q : h ? !0 : K, Tt = tt(() => {
10996
10996
  const ze = Array.isArray(k) ? k : [k], Ne = Array.isArray(F) ? F : [F], At = Array.isArray(de) ? de : [de];
10997
10997
  let ot = [
10998
10998
  ...ze,
@@ -13350,8 +13350,8 @@ s(y3, "getExpandedFallbackPlacements");
13350
13350
  function b3(t) {
13351
13351
  var e = t.state, n = t.options, r = t.name;
13352
13352
  if (!e.modifiersData[r]._skip) {
13353
- for (var o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !0 : a, u = n.fallbackPlacements, d = n.padding, p = n.boundary, f = n.rootBoundary, m = n.altBoundary, h = n.flipVariations, y = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, v = e.options.placement, x = So(v), E = x === v, C = u || (E || !y ? [Rd(v)] : y3(v)), w = [v].concat(C).reduce(function(q, K) {
13354
- return q.concat(So(K) === I0 ? g3(e, {
13353
+ for (var o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !0 : a, u = n.fallbackPlacements, d = n.padding, p = n.boundary, f = n.rootBoundary, m = n.altBoundary, h = n.flipVariations, y = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, v = e.options.placement, x = So(v), E = x === v, C = u || (E || !y ? [Rd(v)] : y3(v)), w = [v].concat(C).reduce(function(U, K) {
13354
+ return U.concat(So(K) === I0 ? g3(e, {
13355
13355
  placement: K,
13356
13356
  boundary: p,
13357
13357
  rootBoundary: f,
@@ -13369,8 +13369,8 @@ function b3(t) {
13369
13369
  }), _ = $ ? N ? Ar : Xn : N ? Pr : Jn;
13370
13370
  T[L] > O[L] && (_ = Rd(_));
13371
13371
  var z = Rd(_), V = [];
13372
- if (i && V.push(I[k] <= 0), l && V.push(I[_] <= 0, I[z] <= 0), V.every(function(q) {
13373
- return q;
13372
+ if (i && V.push(I[k] <= 0), l && V.push(I[_] <= 0, I[z] <= 0), V.every(function(U) {
13373
+ return U;
13374
13374
  })) {
13375
13375
  R = P, A = !1;
13376
13376
  break;
@@ -13380,16 +13380,16 @@ function b3(t) {
13380
13380
  if (A)
13381
13381
  for (var B = y ? 3 : 1, F = /* @__PURE__ */ s(function(K) {
13382
13382
  var ee = w.find(function(j) {
13383
- var G = M.get(j);
13384
- if (G)
13385
- return G.slice(0, K).every(function(Z) {
13383
+ var W = M.get(j);
13384
+ if (W)
13385
+ return W.slice(0, K).every(function(Z) {
13386
13386
  return Z;
13387
13387
  });
13388
13388
  });
13389
13389
  if (ee)
13390
13390
  return R = ee, "break";
13391
- }, "_loop"), W = B; W > 0; W--) {
13392
- var Q = F(W);
13391
+ }, "_loop"), H = B; H > 0; H--) {
13392
+ var Q = F(H);
13393
13393
  if (Q === "break") break;
13394
13394
  }
13395
13395
  e.placement !== R && (e.modifiersData[r]._skip = !0, e.placement = R, e.reset = !0);
@@ -13515,10 +13515,10 @@ function M3(t) {
13515
13515
  };
13516
13516
  if (O) {
13517
13517
  if (i) {
13518
- var N, $ = w === "y" ? Jn : Xn, L = w === "y" ? Pr : Ar, I = w === "y" ? "height" : "width", _ = O[w], z = _ + v[$], V = _ - v[L], B = h ? -A[I] / 2 : 0, F = E === Ba ? M[I] : A[I], W = E === Ba ? -A[I] : -M[I], Q = e.elements.arrow, q = h && Q ? P0(Q) : {
13518
+ var N, $ = w === "y" ? Jn : Xn, L = w === "y" ? Pr : Ar, I = w === "y" ? "height" : "width", _ = O[w], z = _ + v[$], V = _ - v[L], B = h ? -A[I] / 2 : 0, F = E === Ba ? M[I] : A[I], H = E === Ba ? -A[I] : -M[I], Q = e.elements.arrow, U = h && Q ? P0(Q) : {
13519
13519
  width: 0,
13520
13520
  height: 0
13521
- }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), ee = K[$], j = K[L], G = Kl(0, M[I], q[I]), Z = C ? M[I] / 2 - B - G - ee - D.mainAxis : F - G - ee - D.mainAxis, te = C ? -M[I] / 2 + B + G + j + D.mainAxis : W + G + j + D.mainAxis, ae = e.elements.arrow && bu(e.elements.arrow), H = ae ? w === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ve = (N = P?.[w]) != null ? N : 0, le = _ + Z - ve - H, X = _ + te - ve, de = Kl(h ? op(z, le) : z, _, h ? ws(V, X) : V);
13521
+ }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), ee = K[$], j = K[L], W = Kl(0, M[I], U[I]), Z = C ? M[I] / 2 - B - W - ee - D.mainAxis : F - W - ee - D.mainAxis, te = C ? -M[I] / 2 + B + W + j + D.mainAxis : H + W + j + D.mainAxis, ae = e.elements.arrow && bu(e.elements.arrow), q = ae ? w === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ve = (N = P?.[w]) != null ? N : 0, le = _ + Z - ve - q, X = _ + te - ve, de = Kl(h ? op(z, le) : z, _, h ? ws(V, X) : V);
13522
13522
  O[w] = de, k[w] = de - _;
13523
13523
  }
13524
13524
  if (l) {
@@ -14763,22 +14763,22 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
14763
14763
  touchRippleRef: L,
14764
14764
  type: I,
14765
14765
  ..._
14766
- } = r, z = S.useRef(null), V = J3(), B = jt(V.ref, L), [F, W] = S.useState(!1);
14767
- d && F && W(!1), S.useImperativeHandle(o, () => ({
14766
+ } = r, z = S.useRef(null), V = J3(), B = jt(V.ref, L), [F, H] = S.useState(!1);
14767
+ d && F && H(!1), S.useImperativeHandle(o, () => ({
14768
14768
  focusVisible: /* @__PURE__ */ s(() => {
14769
- W(!0), z.current.focus();
14769
+ H(!0), z.current.focus();
14770
14770
  }, "focusVisible")
14771
14771
  }), []);
14772
14772
  const Q = V.shouldMount && !p && !d;
14773
14773
  S.useEffect(() => {
14774
14774
  F && m && !p && V.pulsate();
14775
14775
  }, [p, m, F, V]);
14776
- const q = Po(V, "start", M, f), K = Po(V, "stop", x, f), ee = Po(V, "stop", E, f), j = Po(V, "stop", R, f), G = Po(V, "stop", (ye) => {
14776
+ const U = Po(V, "start", M, f), K = Po(V, "stop", x, f), ee = Po(V, "stop", E, f), j = Po(V, "stop", R, f), W = Po(V, "stop", (ye) => {
14777
14777
  F && ye.preventDefault(), A && A(ye);
14778
- }, f), Z = Po(V, "start", k, f), te = Po(V, "stop", D, f), ae = Po(V, "stop", P, f), H = Po(V, "stop", (ye) => {
14779
- Ha(ye.target) || W(!1), g && g(ye);
14778
+ }, f), Z = Po(V, "start", k, f), te = Po(V, "stop", D, f), ae = Po(V, "stop", P, f), q = Po(V, "stop", (ye) => {
14779
+ Ha(ye.target) || H(!1), g && g(ye);
14780
14780
  }, !1), ve = _n((ye) => {
14781
- z.current || (z.current = ye.currentTarget), Ha(ye.target) && (W(!0), w && w(ye)), C && C(ye);
14781
+ z.current || (z.current = ye.currentTarget), Ha(ye.target) && (H(!0), w && w(ye)), C && C(ye);
14782
14782
  }), le = /* @__PURE__ */ s(() => {
14783
14783
  const ye = z.current;
14784
14784
  return u && u !== "button" && !(ye.tagName === "A" && ye.href);
@@ -14814,14 +14814,14 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
14814
14814
  as: ie,
14815
14815
  className: se(Te.root, l),
14816
14816
  ownerState: De,
14817
- onBlur: H,
14817
+ onBlur: q,
14818
14818
  onClick: v,
14819
14819
  onContextMenu: K,
14820
14820
  onFocus: ve,
14821
14821
  onKeyDown: X,
14822
14822
  onKeyUp: de,
14823
- onMouseDown: q,
14824
- onMouseLeave: G,
14823
+ onMouseDown: U,
14824
+ onMouseLeave: W,
14825
14825
  onMouseUp: j,
14826
14826
  onDragLeave: ee,
14827
14827
  onTouchEnd: te,
@@ -15715,17 +15715,17 @@ const yh = /* @__PURE__ */ s((t, e) => {
15715
15715
  rows: V,
15716
15716
  size: B,
15717
15717
  slotProps: F = {},
15718
- slots: W = {},
15718
+ slots: H = {},
15719
15719
  startAdornment: Q,
15720
- type: q = "text",
15720
+ type: U = "text",
15721
15721
  value: K,
15722
15722
  ...ee
15723
15723
  } = r, j = C.value != null ? C.value : K, {
15724
- current: G
15724
+ current: W
15725
15725
  } = S.useRef(j != null), Z = S.useRef(), te = S.useCallback((Ne) => {
15726
15726
  process.env.NODE_ENV !== "production" && Ne && Ne.nodeName !== "INPUT" && !Ne.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(`
15727
15727
  `));
15728
- }, []), ae = jt(Z, w, C.ref, te), [H, ve] = S.useState(!1), le = Ks();
15728
+ }, []), ae = jt(Z, w, C.ref, te), [q, ve] = S.useState(!1), le = Ks();
15729
15729
  process.env.NODE_ENV !== "production" && S.useEffect(() => {
15730
15730
  if (le)
15731
15731
  return le.registerEffect();
@@ -15735,23 +15735,23 @@ const yh = /* @__PURE__ */ s((t, e) => {
15735
15735
  muiFormControl: le,
15736
15736
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
15737
15737
  });
15738
- X.focused = le ? le.focused : H, S.useEffect(() => {
15739
- !le && m && H && (ve(!1), D && D());
15740
- }, [le, m, H, D]);
15738
+ X.focused = le ? le.focused : q, S.useEffect(() => {
15739
+ !le && m && q && (ve(!1), D && D());
15740
+ }, [le, m, q, D]);
15741
15741
  const de = le && le.onFilled, ie = le && le.onEmpty, ge = S.useCallback((Ne) => {
15742
15742
  ap(Ne) ? de && de() : ie && ie();
15743
15743
  }, [de, ie]);
15744
15744
  On(() => {
15745
- G && ge({
15745
+ W && ge({
15746
15746
  value: j
15747
15747
  });
15748
- }, [j, ge, G]);
15748
+ }, [j, ge, W]);
15749
15749
  const Ie = /* @__PURE__ */ s((Ne) => {
15750
15750
  N && N(Ne), C.onFocus && C.onFocus(Ne), le && le.onFocus ? le.onFocus(Ne) : ve(!0);
15751
15751
  }, "handleFocus"), De = /* @__PURE__ */ s((Ne) => {
15752
15752
  D && D(Ne), C.onBlur && C.onBlur(Ne), le && le.onBlur ? le.onBlur(Ne) : ve(!1);
15753
15753
  }, "handleBlur"), Te = /* @__PURE__ */ s((Ne, ...At) => {
15754
- if (!G) {
15754
+ if (!W) {
15755
15755
  const ot = Ne.target || Z.current;
15756
15756
  if (ot == null)
15757
15757
  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." : jo(1));
@@ -15800,8 +15800,8 @@ const yh = /* @__PURE__ */ s((t, e) => {
15800
15800
  multiline: A,
15801
15801
  size: X.size,
15802
15802
  startAdornment: Q,
15803
- type: q
15804
- }, ce = bV(Xe), J = W.root || d.Root || vh, be = F.root || p.root || {}, ze = W.input || d.Input || Sh;
15803
+ type: U
15804
+ }, ce = bV(Xe), J = H.root || d.Root || vh, be = F.root || p.root || {}, ze = H.input || d.Input || Sh;
15805
15805
  return Ge = {
15806
15806
  ...Ge,
15807
15807
  ...F.input ?? p.input
@@ -15839,7 +15839,7 @@ const yh = /* @__PURE__ */ s((t, e) => {
15839
15839
  value: j,
15840
15840
  onKeyDown: $,
15841
15841
  onKeyUp: L,
15842
- type: q,
15842
+ type: U,
15843
15843
  ...Ge,
15844
15844
  ...!Fa(ze) && {
15845
15845
  as: rt,
@@ -16360,7 +16360,7 @@ const ib = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
16360
16360
  additionalProps: {
16361
16361
  as: l
16362
16362
  }
16363
- }), [W, Q] = je("badge", {
16363
+ }), [H, Q] = je("badge", {
16364
16364
  elementType: MV,
16365
16365
  externalForwardedProps: V,
16366
16366
  ownerState: _,
@@ -16368,7 +16368,7 @@ const ib = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
16368
16368
  });
16369
16369
  return /* @__PURE__ */ Y(B, {
16370
16370
  ...F,
16371
- children: [p, /* @__PURE__ */ b(W, {
16371
+ children: [p, /* @__PURE__ */ b(H, {
16372
16372
  ...Q,
16373
16373
  children: I
16374
16374
  })]
@@ -16609,7 +16609,7 @@ const RV = /* @__PURE__ */ s((t) => {
16609
16609
  input: m,
16610
16610
  ...A
16611
16611
  }
16612
- }, [F, W] = je("root", {
16612
+ }, [F, H] = je("root", {
16613
16613
  ref: n,
16614
16614
  elementType: PV,
16615
16615
  className: V.root,
@@ -16635,7 +16635,7 @@ const RV = /* @__PURE__ */ s((t) => {
16635
16635
  role: void 0,
16636
16636
  tabIndex: null
16637
16637
  }
16638
- }), [Q, q] = je("input", {
16638
+ }), [Q, U] = je("input", {
16639
16639
  ref: h,
16640
16640
  elementType: AV,
16641
16641
  className: V.input,
@@ -16664,9 +16664,9 @@ const RV = /* @__PURE__ */ s((t) => {
16664
16664
  }
16665
16665
  });
16666
16666
  return /* @__PURE__ */ Y(F, {
16667
- ...W,
16667
+ ...H,
16668
16668
  children: [/* @__PURE__ */ b(Q, {
16669
- ...q
16669
+ ...U
16670
16670
  }), D ? i : p]
16671
16671
  });
16672
16672
  }, "SwitchBase"));
@@ -20732,15 +20732,15 @@ const $j = /* @__PURE__ */ s((t) => {
20732
20732
  }, D = $j(R), P = S.useCallback(() => {
20733
20733
  if (u === "anchorPosition")
20734
20734
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
20735
- const te = Bl(i), ae = te && te.nodeType === 1 ? te : un(A.current).body, H = ae.getBoundingClientRect();
20735
+ const te = Bl(i), ae = te && te.nodeType === 1 ? te : un(A.current).body, q = ae.getBoundingClientRect();
20736
20736
  if (process.env.NODE_ENV !== "production") {
20737
20737
  const ve = ae.getBoundingClientRect();
20738
20738
  ll() && ve.top === 0 && ve.left === 0 && ve.right === 0 && ve.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
20739
20739
  `));
20740
20740
  }
20741
20741
  return {
20742
- top: H.top + XC(H, a.vertical),
20743
- left: H.left + QC(H, a.horizontal)
20742
+ top: q.top + XC(q, a.vertical),
20743
+ left: q.left + QC(q, a.horizontal)
20744
20744
  };
20745
20745
  }, [i, a.horizontal, a.vertical, l, u]), k = S.useCallback((te) => ({
20746
20746
  vertical: XC(te, E.vertical),
@@ -20749,35 +20749,35 @@ const $j = /* @__PURE__ */ s((t) => {
20749
20749
  const ae = {
20750
20750
  width: te.offsetWidth,
20751
20751
  height: te.offsetHeight
20752
- }, H = k(ae);
20752
+ }, q = k(ae);
20753
20753
  if (u === "none")
20754
20754
  return {
20755
20755
  top: null,
20756
20756
  left: null,
20757
- transformOrigin: ZC(H)
20757
+ transformOrigin: ZC(q)
20758
20758
  };
20759
20759
  const ve = P();
20760
- let le = ve.top - H.vertical, X = ve.left - H.horizontal;
20760
+ let le = ve.top - q.vertical, X = ve.left - q.horizontal;
20761
20761
  const de = le + ae.height, ie = X + ae.width, ge = En(Bl(i)), Ie = ge.innerHeight - h, De = ge.innerWidth - h;
20762
20762
  if (h !== null && le < h) {
20763
20763
  const Te = le - h;
20764
- le -= Te, H.vertical += Te;
20764
+ le -= Te, q.vertical += Te;
20765
20765
  } else if (h !== null && de > Ie) {
20766
20766
  const Te = de - Ie;
20767
- le -= Te, H.vertical += Te;
20767
+ le -= Te, q.vertical += Te;
20768
20768
  }
20769
20769
  if (process.env.NODE_ENV !== "production" && ae.height > Ie && ae.height && Ie && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${ae.height - Ie}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
20770
20770
  `)), h !== null && X < h) {
20771
20771
  const Te = X - h;
20772
- X -= Te, H.horizontal += Te;
20772
+ X -= Te, q.horizontal += Te;
20773
20773
  } else if (ie > De) {
20774
20774
  const Te = ie - De;
20775
- X -= Te, H.horizontal += Te;
20775
+ X -= Te, q.horizontal += Te;
20776
20776
  }
20777
20777
  return {
20778
20778
  top: `${Math.round(le)}px`,
20779
20779
  left: `${Math.round(X)}px`,
20780
- transformOrigin: ZC(H)
20780
+ transformOrigin: ZC(q)
20781
20781
  };
20782
20782
  }, [i, u, P, k, h]), [$, L] = S.useState(y), I = S.useCallback(() => {
20783
20783
  const te = A.current;
@@ -20819,14 +20819,14 @@ const $j = /* @__PURE__ */ s((t) => {
20819
20819
  paper: g,
20820
20820
  ...x
20821
20821
  }
20822
- }, [F, W] = je("transition", {
20822
+ }, [F, H] = je("transition", {
20823
20823
  elementType: Ac,
20824
20824
  externalForwardedProps: B,
20825
20825
  ownerState: R,
20826
20826
  getSlotProps: /* @__PURE__ */ s((te) => ({
20827
20827
  ...te,
20828
- onEntering: /* @__PURE__ */ s((ae, H) => {
20829
- te.onEntering?.(ae, H), _();
20828
+ onEntering: /* @__PURE__ */ s((ae, q) => {
20829
+ te.onEntering?.(ae, q), _();
20830
20830
  }, "onEntering"),
20831
20831
  onExited: /* @__PURE__ */ s((ae) => {
20832
20832
  te.onExited?.(ae), z();
@@ -20838,7 +20838,7 @@ const $j = /* @__PURE__ */ s((t) => {
20838
20838
  }
20839
20839
  });
20840
20840
  w === "auto" && !F.muiSupportAuto && (V = void 0);
20841
- const Q = f || (i ? un(Bl(i)).body : void 0), [q, {
20841
+ const Q = f || (i ? un(Bl(i)).body : void 0), [U, {
20842
20842
  slots: K,
20843
20843
  slotProps: ee,
20844
20844
  ...j
@@ -20864,7 +20864,7 @@ const $j = /* @__PURE__ */ s((t) => {
20864
20864
  },
20865
20865
  ownerState: R,
20866
20866
  className: se(D.root, p)
20867
- }), [G, Z] = je("paper", {
20867
+ }), [W, Z] = je("paper", {
20868
20868
  ref: A,
20869
20869
  className: D.paper,
20870
20870
  elementType: UI,
@@ -20878,17 +20878,17 @@ const $j = /* @__PURE__ */ s((t) => {
20878
20878
  },
20879
20879
  ownerState: R
20880
20880
  });
20881
- return /* @__PURE__ */ b(q, {
20881
+ return /* @__PURE__ */ b(U, {
20882
20882
  ...j,
20883
- ...!Fa(q) && {
20883
+ ...!Fa(U) && {
20884
20884
  slots: K,
20885
20885
  slotProps: ee,
20886
20886
  disableScrollLock: O
20887
20887
  },
20888
20888
  children: /* @__PURE__ */ b(F, {
20889
- ...W,
20889
+ ...H,
20890
20890
  timeout: V,
20891
- children: /* @__PURE__ */ b(G, {
20891
+ children: /* @__PURE__ */ b(W, {
20892
20892
  ...Z,
20893
20893
  children: d
20894
20894
  })
@@ -21713,20 +21713,20 @@ const Qj = /* @__PURE__ */ s((t) => {
21713
21713
  value: z,
21714
21714
  variant: V = "standard",
21715
21715
  ...B
21716
- } = e, [F, W] = Yd({
21716
+ } = e, [F, H] = Yd({
21717
21717
  controlled: z,
21718
21718
  default: p,
21719
21719
  name: "Select"
21720
- }), [Q, q] = Yd({
21720
+ }), [Q, U] = Yd({
21721
21721
  controlled: P,
21722
21722
  default: d,
21723
21723
  name: "Select"
21724
- }), K = S.useRef(null), ee = S.useRef(null), [j, G] = S.useState(null), {
21724
+ }), K = S.useRef(null), ee = S.useRef(null), [j, W] = S.useState(null), {
21725
21725
  current: Z
21726
- } = S.useRef(P != null), [te, ae] = S.useState(), H = jt(n, g), ve = S.useCallback((we) => {
21727
- ee.current = we, we && G(we);
21726
+ } = S.useRef(P != null), [te, ae] = S.useState(), q = jt(n, g), ve = S.useCallback((we) => {
21727
+ ee.current = we, we && W(we);
21728
21728
  }, []), le = j?.parentNode;
21729
- S.useImperativeHandle(H, () => ({
21729
+ S.useImperativeHandle(q, () => ({
21730
21730
  focus: /* @__PURE__ */ s(() => {
21731
21731
  ee.current.focus();
21732
21732
  }, "focus"),
@@ -21761,14 +21761,14 @@ const Qj = /* @__PURE__ */ s((t) => {
21761
21761
  }
21762
21762
  }, [v]);
21763
21763
  const de = /* @__PURE__ */ s((we, He) => {
21764
- we ? D && D(He) : O && O(He), Z || (ae(a ? null : le.clientWidth), q(we));
21764
+ we ? D && D(He) : O && O(He), Z || (ae(a ? null : le.clientWidth), U(we));
21765
21765
  }, "update"), ie = /* @__PURE__ */ s((we) => {
21766
21766
  R?.(we), we.button === 0 && (we.preventDefault(), ee.current.focus(), de(!0, we));
21767
21767
  }, "handleMouseDown"), ge = /* @__PURE__ */ s((we) => {
21768
21768
  de(!1, we);
21769
21769
  }, "handleClose"), Ie = S.Children.toArray(l), De = /* @__PURE__ */ s((we) => {
21770
21770
  const He = Ie.find((ct) => ct.props.value === we.target.value);
21771
- He !== void 0 && (W(He.props.value), T && T(we, He));
21771
+ He !== void 0 && (H(He.props.value), T && T(we, He));
21772
21772
  }, "handleChange"), Te = /* @__PURE__ */ s((we) => (He) => {
21773
21773
  let ct;
21774
21774
  if (He.currentTarget.hasAttribute("tabindex")) {
@@ -21778,7 +21778,7 @@ const Qj = /* @__PURE__ */ s((t) => {
21778
21778
  _t === -1 ? ct.push(we.props.value) : ct.splice(_t, 1);
21779
21779
  } else
21780
21780
  ct = we.props.value;
21781
- if (we.props.onClick && we.props.onClick(He), F !== ct && (W(ct), T)) {
21781
+ if (we.props.onClick && we.props.onClick(He), F !== ct && (H(ct), T)) {
21782
21782
  const _t = He.nativeEvent || He, yn = new _t.constructor(_t.type, _t);
21783
21783
  Object.defineProperty(yn, "target", {
21784
21784
  writable: !0,
@@ -22415,7 +22415,7 @@ const o6 = {
22415
22415
  type: V,
22416
22416
  value: B,
22417
22417
  variant: F = "outlined",
22418
- ...W
22418
+ ...H
22419
22419
  } = r, Q = {
22420
22420
  ...r,
22421
22421
  autoFocus: i,
@@ -22427,9 +22427,9 @@ const o6 = {
22427
22427
  required: N,
22428
22428
  select: L,
22429
22429
  variant: F
22430
- }, q = i6(Q);
22430
+ }, U = i6(Q);
22431
22431
  process.env.NODE_ENV !== "production" && L && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
22432
- const K = qs(g), ee = y && K ? `${K}-helper-text` : void 0, j = w && K ? `${K}-label` : void 0, G = o6[F], Z = {
22432
+ const K = qs(g), ee = y && K ? `${K}-helper-text` : void 0, j = w && K ? `${K}-label` : void 0, W = o6[F], Z = {
22433
22433
  slots: _,
22434
22434
  slotProps: {
22435
22435
  input: E,
@@ -22441,15 +22441,15 @@ const o6 = {
22441
22441
  }
22442
22442
  }, te = {}, ae = Z.slotProps.inputLabel;
22443
22443
  F === "outlined" && (ae && typeof ae.shrink < "u" && (te.notched = ae.shrink), te.label = w), L && ((!I || !I.native) && (te.id = void 0), te["aria-describedby"] = void 0);
22444
- const [H, ve] = je("root", {
22444
+ const [q, ve] = je("root", {
22445
22445
  elementType: s6,
22446
22446
  shouldForwardComponentProp: !0,
22447
22447
  externalForwardedProps: {
22448
22448
  ...Z,
22449
- ...W
22449
+ ...H
22450
22450
  },
22451
22451
  ownerState: Q,
22452
- className: se(q.root, l),
22452
+ className: se(U.root, l),
22453
22453
  ref: n,
22454
22454
  additionalProps: {
22455
22455
  disabled: p,
@@ -22460,7 +22460,7 @@ const o6 = {
22460
22460
  variant: F
22461
22461
  }
22462
22462
  }), [le, X] = je("input", {
22463
- elementType: G,
22463
+ elementType: W,
22464
22464
  externalForwardedProps: Z,
22465
22465
  additionalProps: te,
22466
22466
  ownerState: Q
@@ -22505,7 +22505,7 @@ const o6 = {
22505
22505
  },
22506
22506
  ...X
22507
22507
  });
22508
- return /* @__PURE__ */ Y(H, {
22508
+ return /* @__PURE__ */ Y(q, {
22509
22509
  ...ve,
22510
22510
  children: [w != null && w !== "" && /* @__PURE__ */ b(de, {
22511
22511
  htmlFor: K,
@@ -23694,13 +23694,13 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23694
23694
  ...I
23695
23695
  } = r, _ = /* @__PURE__ */ S.isValidElement(i) ? i : /* @__PURE__ */ b("span", {
23696
23696
  children: i
23697
- }), z = cr(), V = Hs(), [B, F] = S.useState(), [W, Q] = S.useState(null), q = S.useRef(!1), K = m || x, ee = ms(), j = ms(), G = ms(), Z = ms(), [te, ae] = Yd({
23697
+ }), z = cr(), V = Hs(), [B, F] = S.useState(), [H, Q] = S.useState(null), U = S.useRef(!1), K = m || x, ee = ms(), j = ms(), W = ms(), Z = ms(), [te, ae] = Yd({
23698
23698
  controlled: M,
23699
23699
  default: !1,
23700
23700
  name: "Tooltip",
23701
23701
  state: "open"
23702
23702
  });
23703
- let H = te;
23703
+ let q = te;
23704
23704
  if (process.env.NODE_ENV !== "production") {
23705
23705
  const {
23706
23706
  current: Ve
@@ -23715,7 +23715,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23715
23715
  });
23716
23716
  S.useEffect(() => X, [X]);
23717
23717
  const de = /* @__PURE__ */ s((Ve) => {
23718
- rw.clear(), Gu = !0, ae(!0), O && !H && O(Ve);
23718
+ rw.clear(), Gu = !0, ae(!0), O && !q && O(Ve);
23719
23719
  }, "handleOpen"), ie = _n(
23720
23720
  /**
23721
23721
  * @param {React.SyntheticEvent | Event} event
@@ -23723,16 +23723,16 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23723
23723
  (Ve) => {
23724
23724
  rw.start(800 + C, () => {
23725
23725
  Gu = !1;
23726
- }), ae(!1), T && H && T(Ve), ee.start(z.transitions.duration.shortest, () => {
23727
- q.current = !1;
23726
+ }), ae(!1), T && q && T(Ve), ee.start(z.transitions.duration.shortest, () => {
23727
+ U.current = !1;
23728
23728
  });
23729
23729
  }
23730
23730
  ), ge = /* @__PURE__ */ s((Ve) => {
23731
- q.current && Ve.type !== "touchstart" || (B && B.removeAttribute("title"), j.clear(), G.clear(), y || Gu && g ? j.start(Gu ? g : y, () => {
23731
+ U.current && Ve.type !== "touchstart" || (B && B.removeAttribute("title"), j.clear(), W.clear(), y || Gu && g ? j.start(Gu ? g : y, () => {
23732
23732
  de(Ve);
23733
23733
  }) : de(Ve));
23734
23734
  }, "handleMouseOver"), Ie = /* @__PURE__ */ s((Ve) => {
23735
- j.clear(), G.start(C, () => {
23735
+ j.clear(), W.start(C, () => {
23736
23736
  ie(Ve);
23737
23737
  });
23738
23738
  }, "handleMouseLeave"), [, De] = S.useState(!1), Te = /* @__PURE__ */ s((Ve) => {
@@ -23749,20 +23749,20 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23749
23749
  }, "handleBlur"), ye = /* @__PURE__ */ s((Ve) => {
23750
23750
  B || F(Ve.currentTarget), Ha(Ve.target) && (De(!0), ge(Ve));
23751
23751
  }, "handleFocus"), rt = /* @__PURE__ */ s((Ve) => {
23752
- q.current = !0;
23752
+ U.current = !0;
23753
23753
  const $t = _.props;
23754
23754
  $t.onTouchStart && $t.onTouchStart(Ve);
23755
23755
  }, "detectTouchStart"), Ge = /* @__PURE__ */ s((Ve) => {
23756
- rt(Ve), G.clear(), ee.clear(), X(), le.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
23756
+ rt(Ve), W.clear(), ee.clear(), X(), le.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
23757
23757
  document.body.style.WebkitUserSelect = le.current, ge(Ve);
23758
23758
  });
23759
23759
  }, "handleTouchStart"), Tt = /* @__PURE__ */ s((Ve) => {
23760
- _.props.onTouchEnd && _.props.onTouchEnd(Ve), X(), G.start(w, () => {
23760
+ _.props.onTouchEnd && _.props.onTouchEnd(Ve), X(), W.start(w, () => {
23761
23761
  ie(Ve);
23762
23762
  });
23763
23763
  }, "handleTouchEnd");
23764
23764
  S.useEffect(() => {
23765
- if (!H)
23765
+ if (!q)
23766
23766
  return;
23767
23767
  function Ve($t) {
23768
23768
  $t.key === "Escape" && ie($t);
@@ -23770,9 +23770,9 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23770
23770
  return s(Ve, "handleKeyDown"), document.addEventListener("keydown", Ve), () => {
23771
23771
  document.removeEventListener("keydown", Ve);
23772
23772
  };
23773
- }, [ie, H]);
23773
+ }, [ie, q]);
23774
23774
  const Xe = jt(Gs(_), F, n);
23775
- !N && N !== 0 && (H = !1);
23775
+ !N && N !== 0 && (q = !1);
23776
23776
  const ce = S.useRef(), J = /* @__PURE__ */ s((Ve) => {
23777
23777
  const $t = _.props;
23778
23778
  $t.onMouseMove && $t.onMouseMove(Ve), Ml = {
@@ -23780,7 +23780,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23780
23780
  y: Ve.clientY
23781
23781
  }, ce.current && ce.current.update();
23782
23782
  }, "handleMouseMove"), be = {}, ze = typeof N == "string";
23783
- d ? (be.title = !H && ze && !f ? N : null, be["aria-describedby"] = H ? ve : null) : (be["aria-label"] = ze ? N : null, be["aria-labelledby"] = H && !ze ? ve : null);
23783
+ d ? (be.title = !q && ze && !f ? N : null, be["aria-describedby"] = q ? ve : null) : (be["aria-label"] = ze ? N : null, be["aria-labelledby"] = q && !ze ? ve : null);
23784
23784
  const Ne = {
23785
23785
  ...be,
23786
23786
  ...I,
@@ -23806,13 +23806,13 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23806
23806
  disableInteractive: K,
23807
23807
  placement: A,
23808
23808
  PopperComponentProp: R,
23809
- touch: q.current
23809
+ touch: U.current
23810
23810
  }, Et = typeof P.popper == "function" ? P.popper(ot) : P.popper, tn = S.useMemo(() => {
23811
23811
  let Ve = [{
23812
23812
  name: "arrow",
23813
- enabled: !!W,
23813
+ enabled: !!H,
23814
23814
  options: {
23815
- element: W,
23815
+ element: H,
23816
23816
  padding: 4
23817
23817
  }
23818
23818
  }];
@@ -23821,7 +23821,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23821
23821
  ...Et?.popperOptions,
23822
23822
  modifiers: Ve
23823
23823
  };
23824
- }, [W, D.popperOptions, Et?.popperOptions]), Zt = m6(ot), Zr = typeof P.transition == "function" ? P.transition(ot) : P.transition, we = {
23824
+ }, [H, D.popperOptions, Et?.popperOptions]), Zt = m6(ot), Zr = typeof P.transition == "function" ? P.transition(ot) : P.transition, we = {
23825
23825
  slots: {
23826
23826
  popper: l.Popper,
23827
23827
  transition: l.Transition ?? $,
@@ -23878,7 +23878,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
23878
23878
  }), "getBoundingClientRect")
23879
23879
  } : B,
23880
23880
  popperRef: ce,
23881
- open: B ? H : !1,
23881
+ open: B ? q : !1,
23882
23882
  id: ve,
23883
23883
  transition: !0,
23884
23884
  ...At,
@@ -24677,7 +24677,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24677
24677
  scrollableY: N && $,
24678
24678
  centered: d && !N,
24679
24679
  scrollButtonsHideMobile: !h
24680
- }, F = A6(B), W = Wa({
24680
+ }, F = A6(B), H = Wa({
24681
24681
  elementType: w.StartScrollButtonIcon,
24682
24682
  externalSlotProps: T.startScrollButtonIcon,
24683
24683
  ownerState: B
@@ -24687,7 +24687,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24687
24687
  ownerState: B
24688
24688
  });
24689
24689
  process.env.NODE_ENV !== "production" && d && N && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
24690
- const [q, K] = S.useState(!1), [ee, j] = S.useState(sw), [G, Z] = S.useState(!1), [te, ae] = S.useState(!1), [H, ve] = S.useState(!1), [le, X] = S.useState({
24690
+ const [U, K] = S.useState(!1), [ee, j] = S.useState(sw), [W, Z] = S.useState(!1), [te, ae] = S.useState(!1), [q, ve] = S.useState(!1), [le, X] = S.useState({
24691
24691
  overflow: "hidden",
24692
24692
  scrollbarWidth: 0
24693
24693
  }), de = /* @__PURE__ */ new Map(), ie = S.useRef(null), ge = S.useRef(null), Ie = {
@@ -24798,7 +24798,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24798
24798
  EndScrollButtonIcon: w.endScrollButtonIcon || w.EndScrollButtonIcon
24799
24799
  },
24800
24800
  slotProps: {
24801
- startScrollButtonIcon: W,
24801
+ startScrollButtonIcon: H,
24802
24802
  endScrollButtonIcon: Q
24803
24803
  }
24804
24804
  }
@@ -24808,11 +24808,11 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24808
24808
  ...be,
24809
24809
  onChange: ze
24810
24810
  }) : null;
24811
- const qe = N && (E === "auto" && (G || te) || E === !0);
24811
+ const qe = N && (E === "auto" && (W || te) || E === !0);
24812
24812
  return Se.scrollButtonStart = qe ? /* @__PURE__ */ b(Ne, {
24813
24813
  direction: i ? "right" : "left",
24814
24814
  onClick: Tt,
24815
- disabled: !G,
24815
+ disabled: !W,
24816
24816
  ...At
24817
24817
  }) : null, Se.scrollButtonEnd = qe ? /* @__PURE__ */ b(Ne, {
24818
24818
  direction: i ? "left" : "right",
@@ -24839,7 +24839,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24839
24839
  }
24840
24840
  }
24841
24841
  }), tn = _n(() => {
24842
- N && E !== !1 && ve(!H);
24842
+ N && E !== !1 && ve(!q);
24843
24843
  });
24844
24844
  S.useEffect(() => {
24845
24845
  const Se = lu(() => {
@@ -24881,7 +24881,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24881
24881
  ko.disconnect(), fl.disconnect();
24882
24882
  };
24883
24883
  }
24884
- }, [N, E, H, p?.length]), S.useEffect(() => {
24884
+ }, [N, E, q, p?.length]), S.useEffect(() => {
24885
24885
  K(!0);
24886
24886
  }, []), S.useEffect(() => {
24887
24887
  Te();
@@ -24913,7 +24913,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24913
24913
  const qe = ue === R;
24914
24914
  return He += 1, /* @__PURE__ */ S.cloneElement(Se, {
24915
24915
  fullWidth: D === "fullWidth",
24916
- indicator: qe && !q && we,
24916
+ indicator: qe && !U && we,
24917
24917
  selected: qe,
24918
24918
  selectionFollowsFocus: C,
24919
24919
  onChange: g,
@@ -24990,7 +24990,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
24990
24990
  role: "tablist",
24991
24991
  ...$t,
24992
24992
  children: ct
24993
- }), q && we]
24993
+ }), U && we]
24994
24994
  }), yn.scrollButtonEnd]
24995
24995
  });
24996
24996
  }, "Tabs"));
@@ -27888,7 +27888,7 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
27888
27888
  externalForwardedProps: $,
27889
27889
  additionalProps: A
27890
27890
  // pass `other` here because `DockedSlot` is also a root slot for some variants
27891
- }), [F, W] = je("transition", {
27891
+ }), [F, H] = je("transition", {
27892
27892
  elementType: U0,
27893
27893
  ownerState: k,
27894
27894
  externalForwardedProps: $,
@@ -27907,16 +27907,16 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
27907
27907
  ...B,
27908
27908
  children: Q
27909
27909
  });
27910
- const q = /* @__PURE__ */ b(F, {
27911
- ...W,
27910
+ const U = /* @__PURE__ */ b(F, {
27911
+ ...H,
27912
27912
  children: Q
27913
27913
  });
27914
27914
  return T === "persistent" ? /* @__PURE__ */ b(V, {
27915
27915
  ...B,
27916
- children: q
27916
+ children: U
27917
27917
  }) : /* @__PURE__ */ b(L, {
27918
27918
  ...I,
27919
- children: q
27919
+ children: U
27920
27920
  });
27921
27921
  }, "Drawer"));
27922
27922
  process.env.NODE_ENV !== "production" && (kR.propTypes = {
@@ -28211,11 +28211,11 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28211
28211
  On(() => {
28212
28212
  V.current = null;
28213
28213
  }, [E]);
28214
- const B = S.useCallback((j, G = {}) => {
28214
+ const B = S.useCallback((j, W = {}) => {
28215
28215
  const {
28216
28216
  mode: Z = null,
28217
28217
  changeTransition: te = !0
28218
- } = G, ae = zl(o, a), H = ["right", "bottom"].includes(ae) ? 1 : -1, ve = es(a), le = ve ? `translate(${H * j}px, 0)` : `translate(0, ${H * j}px)`, X = I.current.style;
28218
+ } = W, ae = zl(o, a), q = ["right", "bottom"].includes(ae) ? 1 : -1, ve = es(a), le = ve ? `translate(${q * j}px, 0)` : `translate(0, ${q * j}px)`, X = I.current.style;
28219
28219
  X.webkitTransform = le, X.transform = le;
28220
28220
  let de = "";
28221
28221
  if (Z && (de = o.transitions.create("all", Wo({
@@ -28238,11 +28238,11 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28238
28238
  return;
28239
28239
  }
28240
28240
  N.current.isSwiping = null;
28241
- const G = zl(o, a), Z = es(a);
28241
+ const W = zl(o, a), Z = es(a);
28242
28242
  let te;
28243
- Z ? te = Fm(G, j.changedTouches, un(j.currentTarget)) : te = _m(G, j.changedTouches, En(j.currentTarget));
28244
- const ae = Z ? N.current.startX : N.current.startY, H = Il(Z, I.current), ve = bw(te, ae, E, H), le = ve / H;
28245
- if (Math.abs(N.current.velocity) > h && (V.current = Math.abs((H - ve) / N.current.velocity) * 1e3), E) {
28243
+ Z ? te = Fm(W, j.changedTouches, un(j.currentTarget)) : te = _m(W, j.changedTouches, En(j.currentTarget));
28244
+ const ae = Z ? N.current.startX : N.current.startY, q = Il(Z, I.current), ve = bw(te, ae, E, q), le = ve / q;
28245
+ if (Math.abs(N.current.velocity) > h && (V.current = Math.abs((q - ve) / N.current.velocity) * 1e3), E) {
28246
28246
  N.current.velocity > h || le > f ? v() : B(0, {
28247
28247
  mode: "exit"
28248
28248
  });
@@ -28251,21 +28251,21 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28251
28251
  N.current.velocity < -h || 1 - le > f ? x() : B(Il(Z, I.current), {
28252
28252
  mode: "enter"
28253
28253
  });
28254
- }), W = /* @__PURE__ */ s((j = !1) => {
28254
+ }), H = /* @__PURE__ */ s((j = !1) => {
28255
28255
  if (!P) {
28256
28256
  (j || !(u && m)) && Ay.flushSync(() => {
28257
28257
  k(!0);
28258
28258
  });
28259
- const G = es(a);
28260
- !E && I.current && B(Il(G, I.current) + (u ? 15 : -Lm), {
28259
+ const W = es(a);
28260
+ !E && I.current && B(Il(W, I.current) + (u ? 15 : -Lm), {
28261
28261
  changeTransition: !1
28262
28262
  }), N.current.velocity = 0, N.current.lastTime = null, N.current.lastTranslate = null, N.current.paperHit = !1, z.current = !0;
28263
28263
  }
28264
28264
  }, "startMaybeSwiping"), Q = _n((j) => {
28265
28265
  if (!I.current || !z.current || Ao !== null && Ao !== N.current)
28266
28266
  return;
28267
- W(!0);
28268
- const G = zl(o, a), Z = es(a), te = Fm(G, j.touches, un(j.currentTarget)), ae = _m(G, j.touches, En(j.currentTarget));
28267
+ H(!0);
28268
+ const W = zl(o, a), Z = es(a), te = Fm(W, j.touches, un(j.currentTarget)), ae = _m(W, j.touches, En(j.currentTarget));
28269
28269
  if (E && I.current.contains(j.target) && Ao === null) {
28270
28270
  const de = aH(j.target, I.current);
28271
28271
  if (lH({
@@ -28291,24 +28291,24 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28291
28291
  }
28292
28292
  if (!N.current.isSwiping)
28293
28293
  return;
28294
- const H = Il(Z, I.current);
28294
+ const q = Il(Z, I.current);
28295
28295
  let ve = Z ? N.current.startX : N.current.startY;
28296
- E && !N.current.paperHit && (ve = Math.min(ve, H));
28297
- const le = bw(Z ? te : ae, ve, E, H);
28296
+ E && !N.current.paperHit && (ve = Math.min(ve, q));
28297
+ const le = bw(Z ? te : ae, ve, E, q);
28298
28298
  if (E)
28299
28299
  if (N.current.paperHit)
28300
28300
  le === 0 && (N.current.startX = te, N.current.startY = ae);
28301
- else if (Z ? te < H : ae < H)
28301
+ else if (Z ? te < q : ae < q)
28302
28302
  N.current.paperHit = !0, N.current.startX = te, N.current.startY = ae;
28303
28303
  else
28304
28304
  return;
28305
28305
  N.current.lastTranslate === null && (N.current.lastTranslate = le, N.current.lastTime = performance.now() + 1);
28306
28306
  const X = (le - N.current.lastTranslate) / (performance.now() - N.current.lastTime) * 1e3;
28307
28307
  N.current.velocity = N.current.velocity * 0.4 + X * 0.6, N.current.lastTranslate = le, N.current.lastTime = performance.now(), j.cancelable && j.preventDefault(), B(le);
28308
- }), q = _n((j) => {
28308
+ }), U = _n((j) => {
28309
28309
  if (j.defaultPrevented || j.defaultMuiPrevented || E && (p || !L.current.contains(j.target)) && !I.current.contains(j.target))
28310
28310
  return;
28311
- const G = zl(o, a), Z = es(a), te = Fm(G, j.touches, un(j.currentTarget)), ae = _m(G, j.touches, En(j.currentTarget));
28311
+ const W = zl(o, a), Z = es(a), te = Fm(W, j.touches, un(j.currentTarget)), ae = _m(W, j.touches, En(j.currentTarget));
28312
28312
  if (!E) {
28313
28313
  if (d || !(j.target === $.current || I.current?.contains(j.target) && (typeof m == "function" ? m(j, $.current, I.current) : m)))
28314
28314
  return;
@@ -28318,20 +28318,20 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28318
28318
  } else if (ae > T)
28319
28319
  return;
28320
28320
  }
28321
- j.defaultMuiPrevented = !0, Ao = null, N.current.startX = te, N.current.startY = ae, W();
28321
+ j.defaultMuiPrevented = !0, Ao = null, N.current.startX = te, N.current.startY = ae, H();
28322
28322
  });
28323
28323
  S.useEffect(() => {
28324
28324
  if (M === "temporary") {
28325
28325
  const j = un(I.current);
28326
- return j.addEventListener("touchstart", q), j.addEventListener("touchmove", Q, {
28326
+ return j.addEventListener("touchstart", U), j.addEventListener("touchmove", Q, {
28327
28327
  passive: !E
28328
28328
  }), j.addEventListener("touchend", F), () => {
28329
- j.removeEventListener("touchstart", q), j.removeEventListener("touchmove", Q, {
28329
+ j.removeEventListener("touchstart", U), j.removeEventListener("touchmove", Q, {
28330
28330
  passive: !E
28331
28331
  }), j.removeEventListener("touchend", F);
28332
28332
  };
28333
28333
  }
28334
- }, [M, E, q, Q, F]), S.useEffect(() => () => {
28334
+ }, [M, E, U, Q, F]), S.useEffect(() => () => {
28335
28335
  Ao === N.current && (Ao = null);
28336
28336
  }, []), S.useEffect(() => {
28337
28337
  E || k(!1);
@@ -30502,12 +30502,12 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30502
30502
  slots: $,
30503
30503
  slotProps: L,
30504
30504
  ...I
30505
- } = t, [_, z] = S.useState(0), V = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), W = Ir((U) => U.breakpoints.down("md")), Q = dh(t), q = lt(), [K] = zv(), ee = (K === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, j = GH(), G = pt(t), {
30505
+ } = t, [_, z] = S.useState(0), V = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), H = Ir((G) => G.breakpoints.down("md")), Q = dh(t), U = lt(), [K] = zv(), ee = (K === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, j = GH(), W = pt(t), {
30506
30506
  props: {
30507
30507
  bulkActionButtons: Z = r,
30508
30508
  hasCreate: te,
30509
30509
  hasSeleccionMultiple: ae,
30510
- chkSeleccion: H,
30510
+ chkSeleccion: q,
30511
30511
  actionsContainerRef: ve,
30512
30512
  filterActionsContainerRef: le,
30513
30513
  gridContainerRef: X,
@@ -30520,13 +30520,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30520
30520
  },
30521
30521
  setProps: ye
30522
30522
  } = Xo(), rt = A ?? ge, Ge = R ?? Ie, Tt = S.useCallback(
30523
- (U) => {
30524
- if (V.current = U, !!X) {
30523
+ (G) => {
30524
+ if (V.current = G, !!X) {
30525
30525
  if (typeof X == "function") {
30526
- X(U);
30526
+ X(G);
30527
30527
  return;
30528
30528
  }
30529
- X.current = U;
30529
+ X.current = G;
30530
30530
  }
30531
30531
  },
30532
30532
  [X]
@@ -30535,18 +30535,18 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30535
30535
  ), Ne = S.useCallback(() => {
30536
30536
  ze(Pw());
30537
30537
  }, []), At = I?.dataSource ?? Te?.dataSource, ot = S.useMemo(() => {
30538
- const U = { ...I };
30539
- return delete U.dataSource, delete U.pivotingColDef, U;
30538
+ const G = { ...I };
30539
+ return delete G.dataSource, delete G.pivotingColDef, G;
30540
30540
  }, [I]), Et = S.useMemo(() => {
30541
- const U = { ...Te };
30542
- return delete U.dataSource, delete U.pivotingColDef, U;
30541
+ const G = { ...Te };
30542
+ return delete G.dataSource, delete G.pivotingColDef, G;
30543
30543
  }, [Te]), tn = S.useRef(null), Zt = S.useRef(null), Zr = S.useMemo(() => {
30544
- const U = {
30544
+ const G = {
30545
30545
  ...Aw,
30546
30546
  ...I?.aggregationFunctions || {},
30547
30547
  ...Te?.aggregationFunctions || {}
30548
30548
  };
30549
- return U.count || (U.count = Aw.count), U;
30549
+ return G.count || (G.count = Aw.count), G;
30550
30550
  }, [I?.aggregationFunctions, Te?.aggregationFunctions]), we = Go(), {
30551
30551
  data: He = [],
30552
30552
  isFetching: ct,
@@ -30559,27 +30559,27 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30559
30559
  setSort: Ve,
30560
30560
  getData: $t,
30561
30561
  exporter: Se
30562
- } = Ii(), ue = S.useRef(H);
30562
+ } = Ii(), ue = S.useRef(q);
30563
30563
  S.useEffect(() => {
30564
- ue.current && !H && _t.length && (yn([]), j?.([])), ue.current = H;
30565
- }, [H, yn, j, _t.length]);
30564
+ ue.current && !q && _t.length && (yn([]), j?.([])), ue.current = q;
30565
+ }, [q, yn, j, _t.length]);
30566
30566
  const qe = S.useCallback(
30567
- (U) => {
30567
+ (G) => {
30568
30568
  if (ct)
30569
30569
  return;
30570
- const oe = [U];
30570
+ const oe = [G];
30571
30571
  yn(oe), j?.(oe);
30572
30572
  },
30573
30573
  [ct, yn, j]
30574
30574
  ), Qe = Xe || !ie || Se !== !1 || ce, Bt = S.useCallback(async () => typeof $t != "function" ? He : $t(), [He, $t]), dr = ce ? void 0 : Bt, ko = S.useMemo(() => {
30575
- const U = {
30575
+ const G = {
30576
30576
  loadingOverlay: Q4,
30577
30577
  noRowsOverlay: O0,
30578
30578
  baseIconButton: qR,
30579
30579
  toolbar: u9,
30580
30580
  ...$
30581
30581
  };
30582
- return typeof U.toolbar == "boolean" && (U.toolbar = void 0), U;
30582
+ return typeof G.toolbar == "boolean" && (G.toolbar = void 0), G;
30583
30583
  }, [$]), Mo = S.useRef({ key: null, promise: null }), fl = S.useRef({ rows: [] }), [, Ys] = S.useState({
30584
30584
  rows: [],
30585
30585
  columns: [],
@@ -30587,7 +30587,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30587
30587
  }), [, WS] = S.useState({}), Qh = D && ce, Eu = S.useMemo(() => {
30588
30588
  if (!ce)
30589
30589
  return At;
30590
- const U = /* @__PURE__ */ s((oe) => {
30590
+ const G = /* @__PURE__ */ s((oe) => {
30591
30591
  if (!oe)
30592
30592
  return oe;
30593
30593
  const Ee = typeof oe.getRows == "function" ? (...xe) => oe.getRows(...xe) : oe.getRows, Ye = typeof oe.getGroupKey == "function" ? (...xe) => oe.getGroupKey(...xe) : null, at = /* @__PURE__ */ s((xe) => {
@@ -30635,7 +30635,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30635
30635
  }, "getAggregatedValue")
30636
30636
  };
30637
30637
  }, "ensureDataSourceGrouping");
30638
- return U(At || {
30638
+ return G(At || {
30639
30639
  getRows: /* @__PURE__ */ s(async (oe) => {
30640
30640
  const Ee = oe.pivotModel || {};
30641
30641
  fl.current = Ee;
@@ -30667,7 +30667,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30667
30667
  ),
30668
30668
  groupFields: JSON.stringify(oe.groupFields ?? []),
30669
30669
  groupKeys: JSON.stringify(oe.groupKeys ?? [])
30670
- }, nr = we.getList(G, {
30670
+ }, nr = we.getList(W, {
30671
30671
  pagination: { page: ft, perPage: Gt },
30672
30672
  sort: { field: Io, order: xe },
30673
30673
  filter: st,
@@ -30743,21 +30743,21 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30743
30743
  we,
30744
30744
  At,
30745
30745
  ce,
30746
- G,
30746
+ W,
30747
30747
  I?.meta,
30748
30748
  Te?.meta,
30749
30749
  sn.field,
30750
30750
  sn.order
30751
30751
  ]), G2 = S.useCallback(
30752
- (U, oe) => {
30752
+ (G, oe) => {
30753
30753
  const Ye = (Array.isArray(oe) ? oe : []).map((at) => Fw(at && typeof at == "object" ? at.key ?? at.group : at));
30754
30754
  return {
30755
- field: Ye.length ? `${U}__${Ye.join("__")}` : U,
30755
+ field: Ye.length ? `${G}__${Ye.join("__")}` : G,
30756
30756
  minWidth: 120
30757
30757
  };
30758
30758
  },
30759
30759
  []
30760
- ), K2 = P ?? (Eu ? G2 : void 0), { showCreate: HS, showEdit: Zh, showShow: Y2 } = Y0({ resource: G }), hl = nt(Nn) || {}, {
30760
+ ), K2 = P ?? (Eu ? G2 : void 0), { showCreate: HS, showEdit: Zh, showShow: Y2 } = Y0({ resource: W }), hl = nt(Nn) || {}, {
30761
30761
  user: Ou = [],
30762
30762
  lang: qS = []
30763
30763
  } = hl, J2 = Ic(hl, "borrar") || Ic(hl, "delete"), ku = O && !J2, em = nt(YM), ei = Q0(), Mu = (J.current?.state?.rowGrouping?.model?.length ?? 0) > 0, US = Mu && !ce ? `${B.h + 4}px` : 0;
@@ -30771,8 +30771,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30771
30771
  }, [J, Ge, ce]), Ae(() => {
30772
30772
  em && (em.current.activePanel.params.apiRef = J);
30773
30773
  }, [em]), Ae(() => {
30774
- const U = {};
30775
- De !== J && (U.apiRef = J), ge !== rt && (U.pivotEnabled = rt), Ie !== Ge && (U.pivotUi = Ge), Object.keys(U).length > 0 && ye?.(U);
30774
+ const G = {};
30775
+ De !== J && (G.apiRef = J), ge !== rt && (G.pivotEnabled = rt), Ie !== Ge && (G.pivotUi = Ge), Object.keys(G).length > 0 && ye?.(G);
30776
30776
  }, [
30777
30777
  J,
30778
30778
  De,
@@ -30792,16 +30792,16 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30792
30792
  disableColumnMenu: !0,
30793
30793
  flex: 0,
30794
30794
  colSpan: /* @__PURE__ */ s(() => 1, "colSpan"),
30795
- renderCell: /* @__PURE__ */ s((U) => {
30796
- if (!U?.rowNode || U.rowNode.type !== "group")
30795
+ renderCell: /* @__PURE__ */ s((G) => {
30796
+ if (!G?.rowNode || G.rowNode.type !== "group")
30797
30797
  return null;
30798
- const oe = !!U.rowNode.childrenExpanded;
30798
+ const oe = !!G.rowNode.childrenExpanded;
30799
30799
  return /* @__PURE__ */ b(
30800
30800
  Pn,
30801
30801
  {
30802
30802
  size: "small",
30803
30803
  onClick: /* @__PURE__ */ s((Ye) => {
30804
- Ye.stopPropagation(), J.current?.setRowChildrenExpansion(U.id, !oe);
30804
+ Ye.stopPropagation(), J.current?.setRowChildrenExpansion(G.id, !oe);
30805
30805
  }, "toggle"),
30806
30806
  tabIndex: -1,
30807
30807
  sx: { "& svg": { fontSize: 20 } },
@@ -30809,20 +30809,20 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30809
30809
  }
30810
30810
  );
30811
30811
  }, "renderCell")
30812
- }, ml = S.useMemo(() => `metiri_rowGrouping_${(G || "").toString().trim() || "default"}`, [G]), Js = S.useMemo(() => {
30812
+ }, ml = S.useMemo(() => `metiri_rowGrouping_${(W || "").toString().trim() || "default"}`, [W]), Js = S.useMemo(() => {
30813
30813
  try {
30814
- const U = localStorage.getItem(ml), oe = U ? JSON.parse(U) : [];
30814
+ const G = localStorage.getItem(ml), oe = G ? JSON.parse(G) : [];
30815
30815
  return Array.isArray(oe) ? oe : [];
30816
30816
  } catch {
30817
30817
  return [];
30818
30818
  }
30819
30819
  }, [ml]), GS = S.useMemo(
30820
- () => i.map((U) => {
30821
- const oe = Ou[U.field.replace("_lis", "")];
30822
- return oe ? { ...U, ...oe } : U;
30820
+ () => i.map((G) => {
30821
+ const oe = Ou[G.field.replace("_lis", "")];
30822
+ return oe ? { ...G, ...oe } : G;
30823
30823
  }).sort(
30824
- (U, oe) => parseInt(
30825
- Ou[U.field.replace("_lis", "")]?.orden
30824
+ (G, oe) => parseInt(
30825
+ Ou[G.field.replace("_lis", "")]?.orden
30826
30826
  ) - parseInt(Ou[oe.field.replace("_lis", "")]?.orden)
30827
30827
  ),
30828
30828
  [i, Ou]
@@ -30830,15 +30830,15 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30830
30830
  columns: { columnVisibilityModel: KS = {} },
30831
30831
  ...Iu
30832
30832
  } = v, { columnVisibilityModel: YS, columnOrder: JS, columnasConfiguradas: XS } = S.useMemo(() => {
30833
- const U = {}, oe = [], Ee = [];
30833
+ const G = {}, oe = [], Ee = [];
30834
30834
  return GS.forEach((Ye) => {
30835
- U[Ye.field] = Ye.oculto !== void 0 ? !Ye.oculto : KS[Ye.field] ?? !0, oe.push(Ye.field), Ee.push({
30835
+ G[Ye.field] = Ye.oculto !== void 0 ? !Ye.oculto : KS[Ye.field] ?? !0, oe.push(Ye.field), Ee.push({
30836
30836
  ...Ye,
30837
30837
  width: Ye.ancho ? parseInt(Ye.ancho) : Ye.width
30838
30838
  // Usar el ancho de las configuraciones si está disponible
30839
30839
  });
30840
30840
  }), {
30841
- columnVisibilityModel: U,
30841
+ columnVisibilityModel: G,
30842
30842
  columnOrder: oe,
30843
30843
  columnasConfiguradas: Ee
30844
30844
  };
@@ -30855,14 +30855,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30855
30855
  if (ti?.sorting?.sortModel?.length)
30856
30856
  return ti.sorting;
30857
30857
  if (sn.field) {
30858
- const U = sn.order?.toLowerCase?.();
30859
- return { sortModel: [{ field: sn.field, sort: U }] };
30858
+ const G = sn.order?.toLowerCase?.();
30859
+ return { sortModel: [{ field: sn.field, sort: G }] };
30860
30860
  }
30861
30861
  }, [ti?.sorting, sn.field, sn.order]), Q2 = S.useCallback(
30862
- (U = []) => {
30862
+ (G = []) => {
30863
30863
  if (!ce) {
30864
30864
  try {
30865
- localStorage.setItem(ml, JSON.stringify(U));
30865
+ localStorage.setItem(ml, JSON.stringify(G));
30866
30866
  } catch {
30867
30867
  }
30868
30868
  z((oe) => oe + 1);
@@ -30871,20 +30871,20 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30871
30871
  [ml, ce]
30872
30872
  );
30873
30873
  S.useEffect(() => {
30874
- if (!(!J.current || ce || W))
30874
+ if (!(!J.current || ce || H))
30875
30875
  try {
30876
- const U = J.current.state?.rowGrouping?.model ?? [];
30877
- Js.length && JSON.stringify(U) !== JSON.stringify(Js) && J.current.setRowGroupingModel(Js);
30876
+ const G = J.current.state?.rowGrouping?.model ?? [];
30877
+ Js.length && JSON.stringify(G) !== JSON.stringify(Js) && J.current.setRowGroupingModel(Js);
30878
30878
  } catch {
30879
30879
  }
30880
- }, [ce, W]), S.useEffect(() => {
30880
+ }, [ce, H]), S.useEffect(() => {
30881
30881
  !J.current || !ce || J.current.setRowGroupingModel([]);
30882
30882
  }, [J, ce]);
30883
- const QS = ce || W ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], ZS = S.useMemo(
30883
+ const QS = ce || H ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], ZS = S.useMemo(
30884
30884
  () => ({
30885
30885
  ...ti,
30886
30886
  ...tm ? { sorting: tm } : {},
30887
- pinnedColumns: !W && !ce ? { right: ["actions"] } : {},
30887
+ pinnedColumns: !H && !ce ? { right: ["actions"] } : {},
30888
30888
  rowGrouping: { model: QS }
30889
30889
  //filter: {
30890
30890
  // filterModel: {
@@ -30893,7 +30893,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30893
30893
  // },
30894
30894
  //},
30895
30895
  }),
30896
- [QS, tm, W, ti]
30896
+ [QS, tm, H, ti]
30897
30897
  ), Z2 = $k({
30898
30898
  apiRef: J,
30899
30899
  initialState: ZS
@@ -30904,9 +30904,9 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30904
30904
  ex.current = Q;
30905
30905
  }, [Q]);
30906
30906
  const Xs = S.useMemo(
30907
- () => XS.map((U) => ({
30908
- ...U,
30909
- headerName: qS[U.field.replace("_lis", "")] ?? U.headerName
30907
+ () => XS.map((G) => ({
30908
+ ...G,
30909
+ headerName: qS[G.field.replace("_lis", "")] ?? G.headerName
30910
30910
  })),
30911
30911
  [XS, qS]
30912
30912
  ), tx = S.useMemo(() => ce || !(e.length > 0 || h || w || M || ku) ? Xs : Xs.concat([
@@ -30916,17 +30916,17 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30916
30916
  width: 100,
30917
30917
  hideable: !1,
30918
30918
  renderHeader: /* @__PURE__ */ s(() => /* @__PURE__ */ b(Yn, { children: n }), "renderHeader"),
30919
- getActions: /* @__PURE__ */ s((U) => {
30920
- const oe = J.current.getRowNode(U.id), Ee = oe?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !mb(U.row, a), Gt = !BR(
30921
- U.row,
30919
+ getActions: /* @__PURE__ */ s((G) => {
30920
+ const oe = J.current.getRowNode(G.id), Ee = oe?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !mb(G.row, a), Gt = !BR(
30921
+ G.row,
30922
30922
  l
30923
- ), ft = w && at, an = ex.current, Io = (U.row?.id == null || U.row?.id === "") && Ye, xe = oe?.type === "group" || Io ? void 0 : U.row?.id ?? U.id, Ot = xe ? /* @__PURE__ */ b(
30923
+ ), ft = w && at, an = ex.current, Io = (G.row?.id == null || G.row?.id === "") && Ye, xe = oe?.type === "group" || Io ? void 0 : G.row?.id ?? G.id, Ot = xe ? /* @__PURE__ */ b(
30924
30924
  Zs,
30925
30925
  {
30926
- label: q("ra.action.show"),
30926
+ label: U("ra.action.show"),
30927
30927
  icon: /* @__PURE__ */ b(np, { color: "primary" }),
30928
30928
  onClick: /* @__PURE__ */ s((st) => {
30929
- st && (st.defaultMuiPrevented = !0, st.stopPropagation()), Y2({ id: xe, record: U.row });
30929
+ st && (st.defaultMuiPrevented = !0, st.stopPropagation()), Y2({ id: xe, record: G.row });
30930
30930
  }, "onClick")
30931
30931
  },
30932
30932
  `show-${xe}`
@@ -30945,7 +30945,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30945
30945
  onClick: /* @__PURE__ */ s((im) => typeof Kt == "function" ? Kt(
30946
30946
  {
30947
30947
  ...an,
30948
- record: U.row
30948
+ record: G.row
30949
30949
  },
30950
30950
  nr
30951
30951
  ) : !1, "onClick"),
@@ -30959,7 +30959,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30959
30959
  Zh({
30960
30960
  id: xe,
30961
30961
  estado: "B",
30962
- record: U.row
30962
+ record: G.row
30963
30963
  });
30964
30964
  }, "handleClick");
30965
30965
  cn.unshift(
@@ -30968,7 +30968,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30968
30968
  {
30969
30969
  sx: yb,
30970
30970
  onClick: st,
30971
- label: q("ra.action.delete"),
30971
+ label: U("ra.action.delete"),
30972
30972
  icon: HR(
30973
30973
  g,
30974
30974
  /* @__PURE__ */ b(uu, {})
@@ -30984,7 +30984,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30984
30984
  HS({
30985
30985
  id: xe,
30986
30986
  estado: "ND",
30987
- record: U.row
30987
+ record: G.row
30988
30988
  });
30989
30989
  }, "handleClick");
30990
30990
  cn.unshift(
@@ -30993,7 +30993,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30993
30993
  {
30994
30994
  sx: yb,
30995
30995
  onClick: st,
30996
- label: q("pos.create_from"),
30996
+ label: U("pos.create_from"),
30997
30997
  icon: /* @__PURE__ */ b(tp, {}),
30998
30998
  showInMenu: !0
30999
30999
  },
@@ -31006,7 +31006,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31006
31006
  ft ? Ot : /* @__PURE__ */ b(
31007
31007
  Zs,
31008
31008
  {
31009
- label: q("ra.action.edit"),
31009
+ label: U("ra.action.edit"),
31010
31010
  icon: a9(
31011
31011
  y,
31012
31012
  /* @__PURE__ */ b(
@@ -31021,7 +31021,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31021
31021
  onClick: /* @__PURE__ */ s((st) => {
31022
31022
  st && (st.defaultMuiPrevented = !0, st.stopPropagation()), Zh({
31023
31023
  id: xe,
31024
- record: U.row
31024
+ record: G.row
31025
31025
  });
31026
31026
  }, "onClick")
31027
31027
  },
@@ -31065,8 +31065,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31065
31065
  w,
31066
31066
  a,
31067
31067
  M,
31068
- G,
31069
- q,
31068
+ W,
31069
+ U,
31070
31070
  Xs,
31071
31071
  ce
31072
31072
  ]), qn = JH({
@@ -31074,18 +31074,18 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31074
31074
  columns: tx,
31075
31075
  enabled: !ce
31076
31076
  }), tN = S.useCallback(
31077
- (U, oe, Ee) => {
31078
- qn.onColumnWidthChange(U), ot?.onColumnWidthChange?.(U, oe, Ee), Et?.onColumnWidthChange?.(
31079
- U,
31077
+ (G, oe, Ee) => {
31078
+ qn.onColumnWidthChange(G), ot?.onColumnWidthChange?.(G, oe, Ee), Et?.onColumnWidthChange?.(
31079
+ G,
31080
31080
  oe,
31081
31081
  Ee
31082
31082
  );
31083
31083
  },
31084
31084
  [qn, Et, ot]
31085
31085
  ), nN = S.useCallback(
31086
- (U, oe, Ee) => {
31087
- qn.onColumnOrderChange(U), ot?.onColumnOrderChange?.(U, oe, Ee), Et?.onColumnOrderChange?.(
31088
- U,
31086
+ (G, oe, Ee) => {
31087
+ qn.onColumnOrderChange(G), ot?.onColumnOrderChange?.(G, oe, Ee), Et?.onColumnOrderChange?.(
31088
+ G,
31089
31089
  oe,
31090
31090
  Ee
31091
31091
  );
@@ -31093,23 +31093,23 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31093
31093
  [qn, Et, ot]
31094
31094
  ), nm = S.useMemo(
31095
31095
  () => qn.columns.find(
31096
- (U) => U?.field === "actions" && typeof U?.getActions == "function"
31096
+ (G) => G?.field === "actions" && typeof G?.getActions == "function"
31097
31097
  ) ?? null,
31098
31098
  [qn.columns]
31099
- ), nx = S.useCallback((U) => {
31100
- const Ee = (U.currentTarget instanceof HTMLDivElement ? U.currentTarget : null)?.getAttribute("data-id");
31101
- return Ee || (typeof document > "u" ? null : document.elementsFromPoint(U.clientX, U.clientY).find(
31099
+ ), nx = S.useCallback((G) => {
31100
+ const Ee = (G.currentTarget instanceof HTMLDivElement ? G.currentTarget : null)?.getAttribute("data-id");
31101
+ return Ee || (typeof document > "u" ? null : document.elementsFromPoint(G.clientX, G.clientY).find(
31102
31102
  (Gt) => Gt instanceof Element && Gt.matches(QH)
31103
31103
  )?.getAttribute("data-id") ?? null);
31104
31104
  }, []), rx = S.useCallback(
31105
- (U) => {
31106
- if ((U.target instanceof Element ? U.target : null)?.closest(Rw)) {
31107
- U.preventDefault(), U.stopPropagation();
31105
+ (G) => {
31106
+ if ((G.target instanceof Element ? G.target : null)?.closest(Rw)) {
31107
+ G.preventDefault(), G.stopPropagation();
31108
31108
  return;
31109
31109
  }
31110
- if (W || ce || !nm)
31110
+ if (H || ce || !nm)
31111
31111
  return;
31112
- const Ee = nx(U);
31112
+ const Ee = nx(G);
31113
31113
  if (!Ee)
31114
31114
  return;
31115
31115
  let Ye = Ee;
@@ -31137,9 +31137,9 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31137
31137
  inert: ft.props?.inert,
31138
31138
  onClick: ft.props?.onClick
31139
31139
  }));
31140
- Gt.length !== 0 && (U.preventDefault(), U.stopPropagation(), qe(Ye), ze({
31141
- mouseX: U.clientX,
31142
- mouseY: U.clientY,
31140
+ Gt.length !== 0 && (G.preventDefault(), G.stopPropagation(), qe(Ye), ze({
31141
+ mouseX: G.clientX,
31142
+ mouseY: G.clientY,
31143
31143
  actions: Gt
31144
31144
  }));
31145
31145
  },
@@ -31147,22 +31147,22 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31147
31147
  nm,
31148
31148
  J,
31149
31149
  ce,
31150
- W,
31150
+ H,
31151
31151
  nx,
31152
31152
  qe
31153
31153
  ]
31154
31154
  ), ox = be.mouseX !== null && be.mouseY !== null, ix = S.useCallback(
31155
- (U) => (ti?.columns?.columnVisibilityModel || {})[U] !== !1,
31155
+ (G) => (ti?.columns?.columnVisibilityModel || {})[G] !== !1,
31156
31156
  [ti]
31157
31157
  );
31158
31158
  S.useEffect(() => {
31159
31159
  if (!Js.length) {
31160
- const U = Iu?.rowGrouping?.model ?? ti?.rowGrouping?.model ?? [];
31161
- if (Array.isArray(U) && U.length)
31160
+ const G = Iu?.rowGrouping?.model ?? ti?.rowGrouping?.model ?? [];
31161
+ if (Array.isArray(G) && G.length)
31162
31162
  try {
31163
31163
  localStorage.setItem(
31164
31164
  ml,
31165
- JSON.stringify(U)
31165
+ JSON.stringify(G)
31166
31166
  );
31167
31167
  } catch {
31168
31168
  }
@@ -31186,13 +31186,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31186
31186
  _
31187
31187
  ]);
31188
31188
  const rm = S.useCallback(() => {
31189
- const U = J?.current?.getVisibleColumns?.() || [];
31190
- return U.length ? U.map((oe) => oe.field) : qn.columns.filter((oe) => ix(oe.field)).map((oe) => oe.field);
31189
+ const G = J?.current?.getVisibleColumns?.() || [];
31190
+ return G.length ? G.map((oe) => oe.field) : qn.columns.filter((oe) => ix(oe.field)).map((oe) => oe.field);
31191
31191
  }, [J, qn.columns, ix, _]), sx = S.useMemo(() => rm().find((Ee) => !Ad.has(Ee)) ?? qn.columns.find((Ee) => !Ad.has(Ee.field))?.field ?? qn.columns[0]?.field, [qn.columns, rm, _]), gl = S.useMemo(
31192
31192
  () => qn.columns,
31193
31193
  [qn.columns]
31194
31194
  ), om = S.useMemo(() => {
31195
- const U = sx;
31195
+ const G = sx;
31196
31196
  return gl.map((oe) => {
31197
31197
  const Ee = oe.type === "boolean" ? {
31198
31198
  ...oe,
@@ -31212,14 +31212,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31212
31212
  formattedValue: xe?.formattedValue,
31213
31213
  row: xe?.row,
31214
31214
  columns: gl,
31215
- primaryField: U,
31215
+ primaryField: G,
31216
31216
  children: Ot
31217
31217
  }
31218
31218
  ), "renderTypedCell"), an = Ee.renderCell, Io = M0(Ee, {
31219
31219
  columns: gl,
31220
- primaryField: U
31220
+ primaryField: G
31221
31221
  });
31222
- return Ee.field !== U ? {
31222
+ return Ee.field !== G ? {
31223
31223
  ...Ee,
31224
31224
  filterOperators: Ye,
31225
31225
  valueFormatter: Gt,
@@ -31245,7 +31245,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31245
31245
  right: []
31246
31246
  }, st = new Set(cn.left || []), Dt = new Set(cn.right || []), Kt = ln.filter(
31247
31247
  (pr) => !st.has(pr.field) && !Dt.has(pr.field)
31248
- ), nr = Kt.findIndex((pr) => pr.field === U);
31248
+ ), nr = Kt.findIndex((pr) => pr.field === G);
31249
31249
  return nr === -1 ? Kt.length : Kt.length - nr;
31250
31250
  }, "colSpan"),
31251
31251
  renderCell: /* @__PURE__ */ s((xe) => {
@@ -31284,8 +31284,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31284
31284
  S.useEffect(() => {
31285
31285
  if (ce || !J.current)
31286
31286
  return;
31287
- const U = Zt.current;
31288
- U && od(Qs, U) && (Zt.current = null);
31287
+ const G = Zt.current;
31288
+ G && od(Qs, G) && (Zt.current = null);
31289
31289
  const oe = J.current.state?.filter?.filterModel;
31290
31290
  Zt.current && !od(
31291
31291
  Qs,
@@ -31298,13 +31298,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31298
31298
  []
31299
31299
  );
31300
31300
  const rN = ae && wr(Z), oN = /* @__PURE__ */ s(() => {
31301
- const U = Array.from(
31301
+ const G = Array.from(
31302
31302
  /* @__PURE__ */ new Set([..._t, ...He.map((oe) => oe.id)])
31303
31303
  );
31304
- yn(U), j?.(U);
31305
- }, "selectAllVisibleRows"), iN = /* @__PURE__ */ s((U) => Array.from(U?.ids ?? []), "normalizeRowSelectionModel"), sN = /* @__PURE__ */ s((U) => {
31304
+ yn(G), j?.(G);
31305
+ }, "selectAllVisibleRows"), iN = /* @__PURE__ */ s((G) => Array.from(G?.ids ?? []), "normalizeRowSelectionModel"), sN = /* @__PURE__ */ s((G) => {
31306
31306
  if (!ct) {
31307
- const oe = iN(U);
31307
+ const oe = iN(G);
31308
31308
  yn(oe), j?.(oe);
31309
31309
  }
31310
31310
  }, "handleSelectionChange"), aN = S.useMemo(
@@ -31313,41 +31313,41 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31313
31313
  ids: new Set(_t)
31314
31314
  }),
31315
31315
  [_t]
31316
- ), lN = /* @__PURE__ */ s((U) => {
31317
- if (ce && Eu || (Zt.current = U, tn.current && clearTimeout(tn.current), $w(U)) || od(U, Qs))
31316
+ ), lN = /* @__PURE__ */ s((G) => {
31317
+ if (ce && Eu || (Zt.current = G, tn.current && clearTimeout(tn.current), $w(G)) || od(G, Qs))
31318
31318
  return;
31319
31319
  const Ye = (J.current.state.rowGrouping?.model || [])[0], at = x({
31320
31320
  groupingField: Ye,
31321
- ...U
31321
+ ...G
31322
31322
  });
31323
31323
  tn.current = setTimeout(() => {
31324
31324
  eo(at, zr), tn.current = null;
31325
31325
  }, ZH);
31326
- }, "handleFilterChange"), cN = /* @__PURE__ */ s((U) => {
31326
+ }, "handleFilterChange"), cN = /* @__PURE__ */ s((G) => {
31327
31327
  if (!(ce && Eu))
31328
- if (U.length > 0) {
31329
- const { field: oe } = U[0];
31328
+ if (G.length > 0) {
31329
+ const { field: oe } = G[0];
31330
31330
  let Ee;
31331
31331
  sn.field === oe ? Ee = sn.order === "ASC" ? "DESC" : sn.order === "DESC" ? "" : "ASC" : Ee = "ASC", Ve({ field: oe, order: Ee });
31332
31332
  } else
31333
31333
  Ve({ field: "", order: "" });
31334
- }, "handleSortModelChange"), uN = S.useCallback((U) => {
31334
+ }, "handleSortModelChange"), uN = S.useCallback((G) => {
31335
31335
  Ys(
31336
- U || {
31336
+ G || {
31337
31337
  rows: [],
31338
31338
  columns: [],
31339
31339
  values: []
31340
31340
  }
31341
31341
  ), k?.(
31342
- U || {
31342
+ G || {
31343
31343
  rows: [],
31344
31344
  columns: [],
31345
31345
  values: []
31346
31346
  }
31347
31347
  );
31348
31348
  }, [k]), dN = S.useCallback(
31349
- (U) => {
31350
- const oe = U || {};
31349
+ (G) => {
31350
+ const oe = G || {};
31351
31351
  WS(oe), N?.(oe);
31352
31352
  },
31353
31353
  [N]
@@ -31359,26 +31359,26 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31359
31359
  values: []
31360
31360
  }), WS({}));
31361
31361
  }, [ce]);
31362
- const pN = /* @__PURE__ */ s((U, oe) => {
31362
+ const pN = /* @__PURE__ */ s((G, oe) => {
31363
31363
  if (ce) {
31364
31364
  oe && (oe.defaultMuiPrevented = !0);
31365
31365
  return;
31366
31366
  }
31367
- !U?.id?.startsWith("auto-generated-row") && h && mb(U.row, a) && Zh({ id: U.id, record: U.row });
31367
+ !G?.id?.startsWith("auto-generated-row") && h && mb(G.row, a) && Zh({ id: G.id, record: G.row });
31368
31368
  }, "handleRowDoubleClick"), fN = S.useCallback(
31369
- (U, oe, Ee) => {
31370
- ot?.onCellDoubleClick?.(U, oe, Ee), Et?.onCellDoubleClick?.(U, oe, Ee), ce && (oe.defaultMuiPrevented = !0);
31369
+ (G, oe, Ee) => {
31370
+ ot?.onCellDoubleClick?.(G, oe, Ee), Et?.onCellDoubleClick?.(G, oe, Ee), ce && (oe.defaultMuiPrevented = !0);
31371
31371
  },
31372
31372
  [ce, Et, ot]
31373
31373
  ), hN = S.useCallback(
31374
- (U) => {
31374
+ (G) => {
31375
31375
  if (ce)
31376
31376
  return !1;
31377
31377
  const oe = Et?.isCellEditable;
31378
31378
  if (typeof oe == "function")
31379
- return oe(U);
31379
+ return oe(G);
31380
31380
  const Ee = ot?.isCellEditable;
31381
- return typeof Ee == "function" ? Ee(U) : !0;
31381
+ return typeof Ee == "function" ? Ee(G) : !0;
31382
31382
  },
31383
31383
  [ce, Et, ot]
31384
31384
  ), mN = {
@@ -31400,10 +31400,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31400
31400
  borderColor: ei.palette.divider
31401
31401
  }
31402
31402
  },
31403
- "& .metiri-group-row .MuiDataGrid-cell": /* @__PURE__ */ s((U) => ({
31404
- backgroundColor: U.palette.action.hover,
31405
- borderBottom: `1px solid ${U.palette.divider}`,
31406
- borderTop: `1px solid ${U.palette.divider}`
31403
+ "& .metiri-group-row .MuiDataGrid-cell": /* @__PURE__ */ s((G) => ({
31404
+ backgroundColor: G.palette.action.hover,
31405
+ borderBottom: `1px solid ${G.palette.divider}`,
31406
+ borderTop: `1px solid ${G.palette.divider}`
31407
31407
  }), "& .metiri-group-row .MuiDataGrid-cell"),
31408
31408
  '& .metiri-group-row .MuiDataGrid-cell[data-field="__check__"]': {
31409
31409
  display: "none"
@@ -31475,14 +31475,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31475
31475
  }
31476
31476
  };
31477
31477
  return /* @__PURE__ */ Y(Tr, { children: [
31478
- rN && H ? /* @__PURE__ */ b(
31478
+ rN && q ? /* @__PURE__ */ b(
31479
31479
  uk,
31480
31480
  {
31481
31481
  selectedIds: _t,
31482
- selectAllButton: W && He.some((U) => !_t.includes(U.id)) ? /* @__PURE__ */ b(Ur, { title: q("pos.select_all"), children: /* @__PURE__ */ b(
31482
+ selectAllButton: H && He.some((G) => !_t.includes(G.id)) ? /* @__PURE__ */ b(Ur, { title: U("pos.select_all"), children: /* @__PURE__ */ b(
31483
31483
  Pn,
31484
31484
  {
31485
- "aria-label": q("pos.select_all"),
31485
+ "aria-label": U("pos.select_all"),
31486
31486
  color: "primary",
31487
31487
  size: "small",
31488
31488
  onClick: oN,
@@ -31540,10 +31540,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31540
31540
  spacing: 0.5,
31541
31541
  sx: { flexWrap: "wrap" },
31542
31542
  children: [
31543
- (J.current?.state?.rowGrouping?.model || []).map((U) => {
31543
+ (J.current?.state?.rowGrouping?.model || []).map((G) => {
31544
31544
  const oe = tx.find(
31545
- (Ee) => Ee.field === U
31546
- )?.headerName ?? U;
31545
+ (Ee) => Ee.field === G
31546
+ )?.headerName ?? G;
31547
31547
  return /* @__PURE__ */ b(
31548
31548
  ky,
31549
31549
  {
@@ -31553,17 +31553,17 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31553
31553
  onDelete: /* @__PURE__ */ s((Ee) => {
31554
31554
  Ee.stopPropagation();
31555
31555
  const at = (J.current?.state?.rowGrouping?.model || []).filter(
31556
- (Gt) => Gt !== U
31556
+ (Gt) => Gt !== G
31557
31557
  );
31558
31558
  J.current?.setRowGroupingModel(
31559
31559
  at
31560
31560
  ), J.current?.setColumnVisibility?.(
31561
- U,
31561
+ G,
31562
31562
  !0
31563
31563
  );
31564
31564
  }, "onDelete")
31565
31565
  },
31566
- U
31566
+ G
31567
31567
  );
31568
31568
  }),
31569
31569
  /* @__PURE__ */ b(
@@ -31573,8 +31573,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31573
31573
  variant: "outlined",
31574
31574
  label: K === "en" ? "Ungroup" : "Desagrupar",
31575
31575
  sx: { pointerEvents: "auto" },
31576
- onClick: /* @__PURE__ */ s((U) => {
31577
- U.stopPropagation();
31576
+ onClick: /* @__PURE__ */ s((G) => {
31577
+ G.stopPropagation();
31578
31578
  const oe = J.current?.state?.rowGrouping?.model || [];
31579
31579
  J.current?.setRowGroupingModel([]), oe.forEach(
31580
31580
  (Ee) => J.current?.setColumnVisibility?.(
@@ -31594,7 +31594,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31594
31594
  Wv,
31595
31595
  {
31596
31596
  sx: mN,
31597
- getRowClassName: /* @__PURE__ */ s((U) => Du(U.row) ? "metiri-group-row" : "", "getRowClassName"),
31597
+ getRowClassName: /* @__PURE__ */ s((G) => Du(G.row) ? "metiri-group-row" : "", "getRowClassName"),
31598
31598
  localeText: {
31599
31599
  ...ee,
31600
31600
  toolbarExportCSV: "CSV",
@@ -31616,8 +31616,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31616
31616
  },
31617
31617
  row: {
31618
31618
  ...L?.row,
31619
- onContextMenu: /* @__PURE__ */ s((U) => {
31620
- L?.row?.onContextMenu?.(U), U.defaultPrevented || rx(U);
31619
+ onContextMenu: /* @__PURE__ */ s((G) => {
31620
+ L?.row?.onContextMenu?.(G), G.defaultPrevented || rx(G);
31621
31621
  }, "onContextMenu")
31622
31622
  }
31623
31623
  },
@@ -31630,15 +31630,15 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31630
31630
  hideFooterRowCount: !0,
31631
31631
  hideFooterSelectedRowCount: !0,
31632
31632
  disableMultipleRowSelection: !ae && T,
31633
- checkboxSelection: H,
31633
+ checkboxSelection: q,
31634
31634
  filterMode: "server",
31635
31635
  onFilterModelChange: lN,
31636
31636
  rowSelectionModel: aN,
31637
31637
  onRowGroupingModelChange: Q2,
31638
- disableRowGrouping: W || Te?.disableRowGrouping || I?.disableRowGrouping,
31638
+ disableRowGrouping: H || Te?.disableRowGrouping || I?.disableRowGrouping,
31639
31639
  onRowSelectionModelChange: sN,
31640
- isRowSelectable: /* @__PURE__ */ s((U) => {
31641
- const oe = U?.id;
31640
+ isRowSelectable: /* @__PURE__ */ s((G) => {
31641
+ const oe = G?.id;
31642
31642
  return typeof oe == "string" ? !oe.startsWith("auto-generated-row") : !0;
31643
31643
  }, "isRowSelectable"),
31644
31644
  onRowDoubleClick: pN,
@@ -31679,14 +31679,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31679
31679
  onClose: Ne,
31680
31680
  slotProps: {
31681
31681
  root: {
31682
- onContextMenu: /* @__PURE__ */ s((U) => {
31683
- if ((U.target instanceof Element ? U.target : null)?.closest(
31682
+ onContextMenu: /* @__PURE__ */ s((G) => {
31683
+ if ((G.target instanceof Element ? G.target : null)?.closest(
31684
31684
  Rw
31685
31685
  )) {
31686
- U.preventDefault(), U.stopPropagation();
31686
+ G.preventDefault(), G.stopPropagation();
31687
31687
  return;
31688
31688
  }
31689
- U.preventDefault(), U.stopPropagation(), rx(U);
31689
+ G.preventDefault(), G.stopPropagation(), rx(G);
31690
31690
  }, "onContextMenu")
31691
31691
  },
31692
31692
  paper: {
@@ -31708,7 +31708,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31708
31708
  autoFocusItem: !0,
31709
31709
  className: Py.menuList
31710
31710
  },
31711
- children: be.actions.map((U, oe) => {
31711
+ children: be.actions.map((G, oe) => {
31712
31712
  const {
31713
31713
  key: Ee,
31714
31714
  label: Ye,
@@ -31719,7 +31719,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31719
31719
  closeMenuOnClick: Io,
31720
31720
  inert: xe,
31721
31721
  onClick: Ot
31722
- } = U || {};
31722
+ } = G || {};
31723
31723
  return /* @__PURE__ */ Y(
31724
31724
  bo,
31725
31725
  {
@@ -31763,37 +31763,40 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31763
31763
  pivotActive: g = !1,
31764
31764
  forceListView: v,
31765
31765
  ...x
31766
- } = t, E = S.useRef(null), C = nt(Nn) || {}, w = Ic(C, "borrar") || Ic(C, "delete"), T = h && !w, O = g ? [] : (i || []).filter(
31767
- (ee) => yi(C, ee)
31768
- ), M = !!(!g && (l || p || y || T || O.length)), { sort: A } = Ii(), R = /* @__PURE__ */ s(() => E.current, "container"), D = Ir((ee) => ee.breakpoints.down("md")), P = v ?? D, k = v && !D, [N] = zv(), $ = (N === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, L = jv(), {
31769
- props: { gridContainerRef: I, chkSeleccion: _ }
31770
- } = Xo(), [z, V] = S.useState({
31766
+ } = t, E = S.useRef(null), C = nt(Nn) || {}, { lang: w = [] } = C, T = Ic(C, "borrar") || Ic(C, "delete"), O = h && !T, M = g ? [] : (i || []).filter(
31767
+ (W) => yi(C, W)
31768
+ ), A = !!(!g && (l || p || y || O || M.length)), { sort: R } = Ii(), D = /* @__PURE__ */ s(() => E.current, "container"), P = Ir((W) => W.breakpoints.down("md")), k = v ?? P, N = v && !P, [$] = zv(), L = ($ === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, I = jv(), {
31769
+ props: { gridContainerRef: _, chkSeleccion: z }
31770
+ } = Xo(), [V, B] = S.useState({
31771
31771
  overlay: null,
31772
31772
  params: null
31773
- }), B = a ? a.split(",").map((ee) => ee.trim()).filter(Boolean) : [], F = B.length ? B.map(
31774
- (ee) => e.find(
31775
- (j) => j.field === ee || j.field === ee + "_lis"
31773
+ }), F = a ? a.split(",").map((W) => W.trim()).filter(Boolean) : [], Q = (F.length ? F.map(
31774
+ (W) => e.find(
31775
+ (Z) => Z.field === W || Z.field === W + "_lis"
31776
31776
  )
31777
- ).filter(Boolean) : e, W = /* @__PURE__ */ s(() => {
31778
- V({ overlay: null, params: null });
31779
- }, "handleCloseOverlay"), Q = S.useMemo(
31777
+ ).filter(Boolean) : e).map((W) => ({
31778
+ ...W,
31779
+ headerName: w[W.field.replace("_lis", "")] ?? W.headerName
31780
+ })), U = /* @__PURE__ */ s(() => {
31781
+ B({ overlay: null, params: null });
31782
+ }, "handleCloseOverlay"), K = S.useMemo(
31780
31783
  () => ({
31781
31784
  field: "listCell",
31782
- renderCell: /* @__PURE__ */ s((ee) => /* @__PURE__ */ b(
31785
+ renderCell: /* @__PURE__ */ s((W) => /* @__PURE__ */ b(
31783
31786
  Dz,
31784
31787
  {
31785
- ...ee,
31786
- columns: F,
31787
- apiRef: L,
31788
- showAction: M,
31788
+ ...W,
31789
+ columns: Q,
31790
+ apiRef: I,
31791
+ showAction: A,
31789
31792
  primaryText: n,
31790
31793
  secondaryText: r
31791
31794
  }
31792
31795
  ), "renderCell")
31793
31796
  }),
31794
- [F, n, r, M]
31795
- ), q = /* @__PURE__ */ s(() => {
31796
- switch (L.current?.state?.density) {
31797
+ [Q, n, r, A]
31798
+ ), ee = /* @__PURE__ */ s(() => {
31799
+ switch (I.current?.state?.density) {
31797
31800
  case "compact":
31798
31801
  return 47;
31799
31802
  case "standard":
@@ -31803,30 +31806,30 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31803
31806
  default:
31804
31807
  return 67;
31805
31808
  }
31806
- }, "getEstimatedRowHeight"), K = S.useCallback(
31807
- () => P ? "auto" : void 0,
31808
- [P]
31809
+ }, "getEstimatedRowHeight"), j = S.useCallback(
31810
+ () => k ? "auto" : void 0,
31811
+ [k]
31809
31812
  );
31810
31813
  return /* @__PURE__ */ Y(
31811
31814
  "div",
31812
31815
  {
31813
- ref: I,
31816
+ ref: _,
31814
31817
  style: {
31815
31818
  width: "100%",
31816
31819
  margin: "0 auto",
31817
- height: P ? "calc(100vh - 200px)" : 600
31820
+ height: k ? "calc(100vh - 200px)" : 600
31818
31821
  },
31819
31822
  children: [
31820
31823
  /* @__PURE__ */ b(
31821
31824
  UR,
31822
31825
  {
31823
- columns: F,
31826
+ columns: Q,
31824
31827
  editIcon: u,
31825
31828
  deleteIcon: d,
31826
31829
  localeText: {
31827
- ...$,
31828
- toolbarFilters: k ? $.toolbarFilters : "",
31829
- toolbarExport: k ? $.toolbarExport : "",
31830
+ ...L,
31831
+ toolbarFilters: N ? L.toolbarFilters : "",
31832
+ toolbarExport: N ? L.toolbarExport : "",
31830
31833
  toolbarExportCSV: "CSV",
31831
31834
  toolbarExportExcel: "Excel",
31832
31835
  toolbarExportPrint: "PDF"
@@ -31835,7 +31838,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31835
31838
  slotProps: {
31836
31839
  toolbar: {
31837
31840
  showQuickFilter: !1,
31838
- listView: P,
31841
+ listView: k,
31839
31842
  container: null,
31840
31843
  pivotActive: g
31841
31844
  },
@@ -31843,13 +31846,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31843
31846
  variant: "linear-progress"
31844
31847
  }
31845
31848
  },
31846
- listView: P,
31847
- listViewColumn: Q,
31848
- columnHeaderHeight: P ? 0 : void 0,
31849
+ listView: k,
31850
+ listViewColumn: K,
31851
+ columnHeaderHeight: k ? 0 : void 0,
31849
31852
  initialState: {
31850
31853
  density: "comfortable",
31851
31854
  sorting: {
31852
- sortModel: [{ field: A.field, sort: A.order }]
31855
+ sortModel: [{ field: R.field, sort: R.order }]
31853
31856
  },
31854
31857
  ...o,
31855
31858
  rowGrouping: null
@@ -31871,7 +31874,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31871
31874
  outlineColor: "primary.main",
31872
31875
  outlineOffset: "-2px"
31873
31876
  },
31874
- ...k && {
31877
+ ...N && {
31875
31878
  "& .MuiDataGrid-main": {
31876
31879
  paddingRight: 16
31877
31880
  },
@@ -31915,12 +31918,12 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31915
31918
  }
31916
31919
  }
31917
31920
  },
31918
- getRowHeight: K,
31919
- getEstimatedRowHeight: q,
31920
- disableVirtualization: k,
31921
+ getRowHeight: j,
31922
+ getEstimatedRowHeight: ee,
31923
+ disableVirtualization: N,
31921
31924
  onRowClick: void 0,
31922
- onCellClick: /* @__PURE__ */ s((ee, j) => {
31923
- g || !M || j?.defaultMuiPrevented || _ || Ad.has(ee?.field) || V({ overlay: "actions", params: ee });
31925
+ onCellClick: /* @__PURE__ */ s((W, Z) => {
31926
+ g || !A || Z?.defaultMuiPrevented || z || Ad.has(W?.field) || B({ overlay: "actions", params: W });
31924
31927
  }, "onCellClick"),
31925
31928
  hideFooterSelectedRowCount: !0,
31926
31929
  ...x
@@ -31929,16 +31932,16 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31929
31932
  /* @__PURE__ */ b(
31930
31933
  BH,
31931
31934
  {
31932
- open: z.overlay === "actions",
31933
- container: R,
31934
- onClose: W,
31935
- params: z.params,
31936
- actions: O,
31935
+ open: V.overlay === "actions",
31936
+ container: D,
31937
+ onClose: U,
31938
+ params: V.params,
31939
+ actions: M,
31937
31940
  hasEdit: g ? !1 : l,
31938
31941
  hasVerFicha: g ? !1 : p,
31939
31942
  isRowEditable: g ? void 0 : f,
31940
31943
  isRowDeletable: g ? void 0 : m,
31941
- borra: g ? !1 : T,
31944
+ borra: g ? !1 : O,
31942
31945
  nuevoDesde: g ? !1 : y,
31943
31946
  editIcon: u,
31944
31947
  deleteIcon: d
@@ -32286,23 +32289,23 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32286
32289
  hidden: 0,
32287
32290
  disabled: 0,
32288
32291
  label: void 0
32289
- }, { hidden: W } = _ || {}, {
32292
+ }, { hidden: H } = _ || {}, {
32290
32293
  enviarTodo: Q = !1,
32291
- disabled: q,
32294
+ disabled: U,
32292
32295
  hidden: K,
32293
32296
  enableLoad: ee,
32294
32297
  useContenido: j = gu,
32295
- onBeforeSubmitAsistente: G,
32298
+ onBeforeSubmitAsistente: W,
32296
32299
  onAfterSubmitAsistente: Z,
32297
32300
  allowEdit: te,
32298
32301
  allowAdd: ae,
32299
- allowRemove: H,
32302
+ allowRemove: q,
32300
32303
  columns: ve,
32301
32304
  slots: le,
32302
32305
  slotProps: X,
32303
32306
  initialState: de,
32304
32307
  validateAllowAdd: ie
32305
- } = $ || {}, ge = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: ye }] = r, rt = B || p || q, Ge = W !== void 0 ? W : V ? !0 : K !== void 0 ? K : f, Tt = L.enableLoad ?? ee ?? d, Xe = te ?? a, ce = ae ?? l, J = H ?? u;
32308
+ } = $ || {}, ge = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: ye }] = r, rt = B || p || U, Ge = H !== void 0 ? H : V ? !0 : K !== void 0 ? K : f, Tt = L.enableLoad ?? ee ?? d, Xe = te ?? a, ce = ae ?? l, J = q ?? u;
32306
32309
  let be = { ...g };
32307
32310
  O && e.split(",").forEach((ue) => {
32308
32311
  ue && (be[ue] = [
@@ -32412,7 +32415,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32412
32415
  {
32413
32416
  ...C,
32414
32417
  source: h,
32415
- onBeforeSubmitAsistente: G,
32418
+ onBeforeSubmitAsistente: W,
32416
32419
  onAfterSubmitAsistente: Z,
32417
32420
  enviarTodo: Q,
32418
32421
  camposClaveFila: n,
@@ -32431,7 +32434,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32431
32434
  ...C,
32432
32435
  validateAllowAdd: ie,
32433
32436
  source: h,
32434
- onBeforeSubmitAsistente: G,
32437
+ onBeforeSubmitAsistente: W,
32435
32438
  onAfterSubmitAsistente: Z,
32436
32439
  enviarTodo: Q,
32437
32440
  camposClaveFila: n
@@ -32450,7 +32453,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32450
32453
  {
32451
32454
  ...C,
32452
32455
  source: h,
32453
- onBeforeSubmitAsistente: G,
32456
+ onBeforeSubmitAsistente: W,
32454
32457
  onAfterSubmitAsistente: Z,
32455
32458
  enviarTodo: Q,
32456
32459
  camposClaveFila: n,
@@ -33477,7 +33480,7 @@ const nP = /* @__PURE__ */ s(() => {
33477
33480
  w(F.target.checked);
33478
33481
  }, "handleChange"), L = Le((F) => {
33479
33482
  O(
33480
- (W) => W.includes(F) ? W.filter((Q) => Q !== F) : [...W, F]
33483
+ (H) => H.includes(F) ? H.filter((Q) => Q !== F) : [...H, F]
33481
33484
  );
33482
33485
  }, []), I = h?.rows || h?.data || [], _ = S.useMemo(
33483
33486
  () => ({
@@ -33532,27 +33535,27 @@ const nP = /* @__PURE__ */ s(() => {
33532
33535
  const F = N.current;
33533
33536
  if (!F)
33534
33537
  return;
33535
- let W = null;
33538
+ let H = null;
33536
33539
  const Q = typeof ResizeObserver < "u" ? new ResizeObserver(() => {
33537
33540
  K();
33538
- }) : null, q = typeof MutationObserver < "u" ? new MutationObserver(() => {
33541
+ }) : null, U = typeof MutationObserver < "u" ? new MutationObserver(() => {
33539
33542
  K();
33540
33543
  }) : null;
33541
33544
  function K() {
33542
33545
  const ee = F.querySelector(
33543
33546
  Hw
33544
33547
  );
33545
- W !== ee && (W && Q && Q.unobserve(W), W = ee, W && Q && Q.observe(W));
33546
- const j = W ? Math.ceil(W.getBoundingClientRect().height) : Ww;
33548
+ H !== ee && (H && Q && Q.unobserve(H), H = ee, H && Q && Q.observe(H));
33549
+ const j = H ? Math.ceil(H.getBoundingClientRect().height) : Ww;
33547
33550
  k(
33548
- (G) => G === j ? G : j
33551
+ (W) => W === j ? W : j
33549
33552
  );
33550
33553
  }
33551
- return s(K, "syncPaginationHeight"), q?.observe(F, {
33554
+ return s(K, "syncPaginationHeight"), U?.observe(F, {
33552
33555
  childList: !0,
33553
33556
  subtree: !0
33554
33557
  }), K(), () => {
33555
- q?.disconnect(), W && Q && Q.unobserve(W), Q?.disconnect();
33558
+ U?.disconnect(), H && Q && Q.unobserve(H), Q?.disconnect();
33556
33559
  };
33557
33560
  }, []), x === null)
33558
33561
  return /* @__PURE__ */ b(Ws, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
@@ -34317,12 +34320,12 @@ const nP = /* @__PURE__ */ s(() => {
34317
34320
  setViewMode: V,
34318
34321
  hideViewModeMenu: B = !1,
34319
34322
  pivotEnabled: F = !1,
34320
- pivotUi: W = "mui",
34323
+ pivotUi: H = "mui",
34321
34324
  apiRef: Q
34322
34325
  }
34323
- } = Xo(), q = !F && z === "pivot" ? "grilla" : z, { showCreate: K } = Y0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
34326
+ } = Xo(), U = !F && z === "pivot" ? "grilla" : z, { showCreate: K } = Y0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
34324
34327
  CN(e, () => I.current);
34325
- const j = { ...D, ...E }, G = /* @__PURE__ */ s((X) => {
34328
+ const j = { ...D, ...E }, W = /* @__PURE__ */ s((X) => {
34326
34329
  m(X.currentTarget);
34327
34330
  }, "handleOpenMenu"), Z = /* @__PURE__ */ s(() => {
34328
34331
  m(null), y(null);
@@ -34330,7 +34333,7 @@ const nP = /* @__PURE__ */ s(() => {
34330
34333
  y(X);
34331
34334
  }, "handleOpenSubMenu"), ae = /* @__PURE__ */ s((X) => {
34332
34335
  X?.stopPropagation?.(), Q?.current?.showSidebar?.("pivot");
34333
- }, "handleOpenPivotPanel"), H = /* @__PURE__ */ s((X, de, ie) => {
34336
+ }, "handleOpenPivotPanel"), q = /* @__PURE__ */ s((X, de, ie) => {
34334
34337
  ie?.selectOnClick && v((ge) => ({
34335
34338
  ...ge,
34336
34339
  [de]: { selectedOption: X }
@@ -34420,7 +34423,7 @@ const nP = /* @__PURE__ */ s(() => {
34420
34423
  onClick: /* @__PURE__ */ s(() => V("pivot"), "onClick")
34421
34424
  }), [{
34422
34425
  type: "MenuButton",
34423
- label: q === "pivot" ? "Pivot" : x(q === "grilla" ? "pos.view_grid" : "pos.view_card"),
34426
+ label: U === "pivot" ? "Pivot" : x(U === "grilla" ? "pos.view_grid" : "pos.view_card"),
34424
34427
  icon: /* @__PURE__ */ b(Gw, {}),
34425
34428
  options: de,
34426
34429
  selectOnClick: !0,
@@ -34431,7 +34434,7 @@ const nP = /* @__PURE__ */ s(() => {
34431
34434
  return X;
34432
34435
  }, [
34433
34436
  P,
34434
- q,
34437
+ U,
34435
34438
  B,
34436
34439
  ee,
34437
34440
  F,
@@ -34485,8 +34488,8 @@ const nP = /* @__PURE__ */ s(() => {
34485
34488
  }
34486
34489
  ),
34487
34490
  d !== !1 && /* @__PURE__ */ b(p8, { resource: M }),
34488
- F && W !== "custom" && q === "pivot" && /* @__PURE__ */ b(Pn, { onClick: ae, children: /* @__PURE__ */ b(tp, {}) }),
34489
- !l && le.length > 0 && /* @__PURE__ */ b(Pn, { onClick: G, children: /* @__PURE__ */ b(c8, {}) }),
34491
+ F && H !== "custom" && U === "pivot" && /* @__PURE__ */ b(Pn, { onClick: ae, children: /* @__PURE__ */ b(tp, {}) }),
34492
+ !l && le.length > 0 && /* @__PURE__ */ b(Pn, { onClick: W, children: /* @__PURE__ */ b(c8, {}) }),
34490
34493
  !l && le.length > 0 && /* @__PURE__ */ b(
34491
34494
  $a,
34492
34495
  {
@@ -34589,7 +34592,7 @@ const nP = /* @__PURE__ */ s(() => {
34589
34592
  {
34590
34593
  selected: Ge,
34591
34594
  onClick: /* @__PURE__ */ s((Tt) => {
34592
- H(
34595
+ q(
34593
34596
  rt,
34594
34597
  X.index,
34595
34598
  X
@@ -35546,22 +35549,22 @@ const lne = /* @__PURE__ */ s((t) => {
35546
35549
  toolbar: u = V8,
35547
35550
  onChange: d,
35548
35551
  ...p
35549
- } = e, f = lr(), m = pt(e), [h, y] = Pe(0), g = hD(), { estado: v } = Ft(), x = Xr(e), E = Ir((F) => F.breakpoints.down("sm")), C = Ir((F) => F.breakpoints.down("md")), w = E ? 3 : C ? 5 : 7, [T, O] = Pe(0), M = /* @__PURE__ */ s((F, W) => {
35550
- a || (y(W), d && d(
35552
+ } = e, f = lr(), m = pt(e), [h, y] = Pe(0), g = hD(), { estado: v } = Ft(), x = Xr(e), E = Ir((F) => F.breakpoints.down("sm")), C = Ir((F) => F.breakpoints.down("md")), w = E ? 3 : C ? 5 : 7, [T, O] = Pe(0), M = /* @__PURE__ */ s((F, H) => {
35553
+ a || (y(H), d && d(
35551
35554
  x,
35552
35555
  v,
35553
35556
  {
35554
- newTab: W,
35557
+ newTab: H,
35555
35558
  prevTab: h,
35556
35559
  setTab: y
35557
35560
  },
35558
35561
  F
35559
- )), l.props.onChange && l.props.onChange(F, W);
35562
+ )), l.props.onChange && l.props.onChange(F, H);
35560
35563
  }, "handleTabChange"), A = tt(() => bc.toArray(n), [n]), R = tt(
35561
- () => A.reduce((F, W) => Xw(W) ? [...F, { tab: W, tabIndex: F.length }] : F, []),
35564
+ () => A.reduce((F, H) => Xw(H) ? [...F, { tab: H, tabIndex: F.length }] : F, []),
35562
35565
  [A]
35563
- ), D = tt(() => a ? R.findIndex(({ tab: F, tabIndex: W }) => {
35564
- const Q = Nu(F, W);
35566
+ ), D = tt(() => a ? R.findIndex(({ tab: F, tabIndex: H }) => {
35567
+ const Q = Nu(F, H);
35565
35568
  return vc(
35566
35569
  `${g}/${Q}`,
35567
35570
  f.pathname
@@ -35585,11 +35588,11 @@ const lne = /* @__PURE__ */ s((t) => {
35585
35588
  Ae(() => {
35586
35589
  if (N.current === D)
35587
35590
  return;
35588
- const F = T + w, W = P < 0 ? 0 : P;
35589
- W < T ? O(W) : W >= F && O(W - w + 1), N.current = D;
35591
+ const F = T + w, H = P < 0 ? 0 : P;
35592
+ H < T ? O(H) : H >= F && O(H - w + 1), N.current = D;
35590
35593
  }, [P, w, T]);
35591
- const $ = tt(() => R.map(({ tab: F, tabIndex: W }) => {
35592
- const Q = a ? Nu(F, W) : W, q = E || W >= T && W < T + w, K = F.props?.style ?? {}, ee = q ? K : {
35594
+ const $ = tt(() => R.map(({ tab: F, tabIndex: H }) => {
35595
+ const Q = a ? Nu(F, H) : H, U = E || H >= T && H < T + w, K = F.props?.style ?? {}, ee = U ? K : {
35593
35596
  ...K,
35594
35597
  minWidth: 0,
35595
35598
  maxWidth: 0,
@@ -35605,7 +35608,7 @@ const lne = /* @__PURE__ */ s((t) => {
35605
35608
  O((F) => Math.max(0, F - 1));
35606
35609
  }, "handlePrev"), z = /* @__PURE__ */ s(() => {
35607
35610
  const F = Math.max(0, R.length - w);
35608
- O((W) => Math.min(F, W + 1));
35611
+ O((H) => Math.min(F, H + 1));
35609
35612
  }, "handleNext"), V = "fullWidth", B = /* @__PURE__ */ s(() => E ? Kn(
35610
35613
  l,
35611
35614
  {
@@ -35738,24 +35741,24 @@ const lne = /* @__PURE__ */ s((t) => {
35738
35741
  },
35739
35742
  children: /* @__PURE__ */ b(o, { children: (() => {
35740
35743
  let F = -1;
35741
- return bc.map(n, (W) => {
35742
- if (!W)
35744
+ return bc.map(n, (H) => {
35745
+ if (!H)
35743
35746
  return null;
35744
- if (!Xw(W))
35745
- return W;
35747
+ if (!Xw(H))
35748
+ return H;
35746
35749
  F += 1;
35747
35750
  const Q = Nu(
35748
- W,
35751
+ H,
35749
35752
  F
35750
35753
  );
35751
- return Kn(W, {
35754
+ return Kn(H, {
35752
35755
  intent: "content",
35753
35756
  resource: m,
35754
35757
  hidden: !(a ? P === F : h === F),
35755
35758
  value: a ? Q : F,
35756
35759
  className: [
35757
35760
  Nd.tab,
35758
- W.props.className || ""
35761
+ H.props.className || ""
35759
35762
  ].join(" ").trim()
35760
35763
  });
35761
35764
  });
@@ -36505,7 +36508,7 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
36505
36508
  } = I || {}, F = E ? {
36506
36509
  ...X8,
36507
36510
  ...B
36508
- } : B, W = {
36511
+ } : B, H = {
36509
36512
  display: "flex",
36510
36513
  flexDirection: "column",
36511
36514
  ...M === "form" && z === "contained" ? { overflow: "hidden" } : {},
@@ -36513,17 +36516,17 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
36513
36516
  }, Q = {
36514
36517
  ...V,
36515
36518
  sx: {
36516
- ...W,
36519
+ ...H,
36517
36520
  ...V.sx || {}
36518
36521
  }
36519
- }, q = /* @__PURE__ */ s((K, ee) => {
36522
+ }, U = /* @__PURE__ */ s((K, ee) => {
36520
36523
  x && ee !== "backdropClick" && O();
36521
36524
  }, "handleClose");
36522
36525
  return M === "confirm" ? /* @__PURE__ */ b(
36523
36526
  jd,
36524
36527
  {
36525
36528
  open: !0,
36526
- onClose: q,
36529
+ onClose: U,
36527
36530
  fullWidth: !0,
36528
36531
  maxWidth: "sm",
36529
36532
  TransitionComponent: eT,
@@ -36546,7 +36549,7 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
36546
36549
  jd,
36547
36550
  {
36548
36551
  open: !0,
36549
- onClose: q,
36552
+ onClose: U,
36550
36553
  fullWidth: !0,
36551
36554
  fullScreen: M === "vista",
36552
36555
  maxWidth: M === "vista" ? "lg" : "sm",
@@ -38032,9 +38035,9 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38032
38035
  ), M = S.useMemo(() => ((Array.isArray(E) && E.length ? E : (C || []).filter((_) => !O.has(_.id))) || []).filter((_) => _ && !O.has(_.id)), [E, C, O]), A = /* @__PURE__ */ s((I, _, z) => () => {
38033
38036
  const V = l.indexOf(I), B = [...l];
38034
38037
  if (z.shiftKey && d !== null) {
38035
- const F = Math.min(d, _), W = Math.max(d, _);
38036
- M.slice(F, W + 1).map((q) => q.id).forEach((q) => {
38037
- B.includes(q) || B.push(q);
38038
+ const F = Math.min(d, _), H = Math.max(d, _);
38039
+ M.slice(F, H + 1).map((U) => U.id).forEach((U) => {
38040
+ B.includes(U) || B.push(U);
38038
38041
  });
38039
38042
  } else
38040
38043
  V === -1 ? B.push(I) : B.splice(V, 1);
@@ -38089,23 +38092,23 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38089
38092
  }, "handleCheckedLeft"), $ = /* @__PURE__ */ s(() => {
38090
38093
  typeof f.resetField == "function" ? f.resetField(n, { defaultValue: y }) : f.setValue(n, y, { shouldDirty: !1 }), u([]), p(null);
38091
38094
  }, "handleResetChanges"), L = /* @__PURE__ */ s((I, _, z = {}) => {
38092
- const V = _ ? "Disponibles..." : "Seleccionados...", B = /* @__PURE__ */ s((W) => {
38093
- v(W === "" ? W : W.target.value);
38095
+ const V = _ ? "Disponibles..." : "Seleccionados...", B = /* @__PURE__ */ s((H) => {
38096
+ v(H === "" ? H : H.target.value);
38094
38097
  }, "handleSearchChange"), F = I.filter(
38095
- (W) => W.etiqueta.toLowerCase().includes(g.toLowerCase())
38098
+ (H) => H.etiqueta.toLowerCase().includes(g.toLowerCase())
38096
38099
  );
38097
38100
  return /* @__PURE__ */ Y(
38098
38101
  Fr,
38099
38102
  {
38100
- sx: /* @__PURE__ */ s((W) => {
38101
- const Q = typeof z == "function" ? z(W) : z;
38103
+ sx: /* @__PURE__ */ s((H) => {
38104
+ const Q = typeof z == "function" ? z(H) : z;
38102
38105
  return {
38103
38106
  width: "100%",
38104
38107
  minWidth: 0,
38105
- height: W.spacing(34),
38108
+ height: H.spacing(34),
38106
38109
  overflow: "hidden",
38107
- border: `1px solid ${W.palette.divider}`,
38108
- boxShadow: W.shadows[2],
38110
+ border: `1px solid ${H.palette.divider}`,
38111
+ boxShadow: H.shadows[2],
38109
38112
  display: "flex",
38110
38113
  flexDirection: "column",
38111
38114
  ...Q
@@ -38148,14 +38151,14 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38148
38151
  minHeight: 0,
38149
38152
  overflow: "auto"
38150
38153
  },
38151
- children: F.map((W, Q) => {
38152
- const q = `transfer-list-item-${W.id}-label`;
38154
+ children: F.map((H, Q) => {
38155
+ const U = `transfer-list-item-${H.id}-label`;
38153
38156
  return /* @__PURE__ */ Y(
38154
38157
  _o,
38155
38158
  {
38156
38159
  role: "listitem",
38157
- onClick: /* @__PURE__ */ s((K) => A(W.id, Q, K)(), "onClick"),
38158
- onDoubleClick: /* @__PURE__ */ s(() => R(W, _), "onDoubleClick"),
38160
+ onClick: /* @__PURE__ */ s((K) => A(H.id, Q, K)(), "onClick"),
38161
+ onDoubleClick: /* @__PURE__ */ s(() => R(H, _), "onDoubleClick"),
38159
38162
  sx: /* @__PURE__ */ s((K) => ({
38160
38163
  borderBottom: `1px solid ${K.palette.divider}`,
38161
38164
  "&:hover": {
@@ -38166,11 +38169,11 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38166
38169
  /* @__PURE__ */ b(Fo, { children: /* @__PURE__ */ b(
38167
38170
  Ch,
38168
38171
  {
38169
- checked: l.includes(W.id),
38172
+ checked: l.includes(H.id),
38170
38173
  tabIndex: -1,
38171
38174
  disableRipple: !0,
38172
38175
  inputProps: {
38173
- "aria-labelledby": q
38176
+ "aria-labelledby": U
38174
38177
  },
38175
38178
  sx: /* @__PURE__ */ s((K) => ({
38176
38179
  color: K.palette.primary.main,
@@ -38183,8 +38186,8 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38183
38186
  /* @__PURE__ */ b(
38184
38187
  yo,
38185
38188
  {
38186
- id: q,
38187
- primary: W.etiqueta || W.name || `Item ${W.id}`,
38189
+ id: U,
38190
+ primary: H.etiqueta || H.name || `Item ${H.id}`,
38188
38191
  primaryTypographyProps: {
38189
38192
  variant: "body2",
38190
38193
  lineHeight: 1.3
@@ -38193,7 +38196,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38193
38196
  )
38194
38197
  ]
38195
38198
  },
38196
- W.id
38199
+ H.id
38197
38200
  );
38198
38201
  })
38199
38202
  }
@@ -41081,7 +41084,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41081
41084
  }
41082
41085
  }, "normalizedTransitionCallback"), B = /* @__PURE__ */ s(() => k.current ? k.current[L ? "clientWidth" : "clientHeight"] : 0, "getWrapperSize"), F = V((X, de) => {
41083
41086
  k.current && L && (k.current.style.position = "absolute"), X.style[I] = $, f && f(X, de);
41084
- }), W = V((X, de) => {
41087
+ }), H = V((X, de) => {
41085
41088
  const ie = B();
41086
41089
  k.current && L && (k.current.style.position = "");
41087
41090
  const {
@@ -41102,7 +41105,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41102
41105
  X.style[I] = `${ie}px`, X.style.transitionTimingFunction = Ie, h && h(X, de);
41103
41106
  }), Q = V((X, de) => {
41104
41107
  X.style[I] = "auto", m && m(X, de);
41105
- }), q = V((X) => {
41108
+ }), U = V((X) => {
41106
41109
  X.style[I] = `${B()}px`, y && y(X);
41107
41110
  }), K = V(g), ee = V((X) => {
41108
41111
  const de = B(), {
@@ -41123,7 +41126,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41123
41126
  X.style[I] = $, X.style.transitionTimingFunction = ge, v && v(X);
41124
41127
  }), j = /* @__PURE__ */ s((X) => {
41125
41128
  T === "auto" && P.start(N.current || 0, X), o && o(_.current, X);
41126
- }, "handleAddEndListener"), G = {
41129
+ }, "handleAddEndListener"), W = {
41127
41130
  slots: E,
41128
41131
  slotProps: C,
41129
41132
  component: u
@@ -41131,7 +41134,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41131
41134
  ref: z,
41132
41135
  className: se(R.root, a),
41133
41136
  elementType: wq,
41134
- externalForwardedProps: G,
41137
+ externalForwardedProps: W,
41135
41138
  ownerState: A,
41136
41139
  additionalProps: {
41137
41140
  style: {
@@ -41139,24 +41142,24 @@ const Cq = /* @__PURE__ */ s((t) => {
41139
41142
  ...w
41140
41143
  }
41141
41144
  }
41142
- }), [ae, H] = je("wrapper", {
41145
+ }), [ae, q] = je("wrapper", {
41143
41146
  ref: k,
41144
41147
  className: R.wrapper,
41145
41148
  elementType: Tq,
41146
- externalForwardedProps: G,
41149
+ externalForwardedProps: W,
41147
41150
  ownerState: A
41148
41151
  }), [ve, le] = je("wrapperInner", {
41149
41152
  className: R.wrapperInner,
41150
41153
  elementType: Eq,
41151
- externalForwardedProps: G,
41154
+ externalForwardedProps: W,
41152
41155
  ownerState: A
41153
41156
  });
41154
41157
  return /* @__PURE__ */ b(O, {
41155
41158
  in: p,
41156
41159
  onEnter: F,
41157
41160
  onEntered: Q,
41158
- onEntering: W,
41159
- onExit: q,
41161
+ onEntering: H,
41162
+ onExit: U,
41160
41163
  onExited: K,
41161
41164
  onExiting: ee,
41162
41165
  addEndListener: j,
@@ -41180,7 +41183,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41180
41183
  ownerState: ge,
41181
41184
  ...ie,
41182
41185
  children: /* @__PURE__ */ b(ae, {
41183
- ...H,
41186
+ ...q,
41184
41187
  ownerState: ge,
41185
41188
  children: /* @__PURE__ */ b(ve, {
41186
41189
  ...le,
@@ -41331,25 +41334,25 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
41331
41334
  rootRefObject: v,
41332
41335
  contentRefObject: x,
41333
41336
  interactions: y
41334
- }, R = /* @__PURE__ */ s((j) => (G) => {
41335
- j.onFocus?.(G), !G.defaultMuiPrevented && !g.focused && Oe.canItemBeFocused(r.state, l) && G.currentTarget === G.target && r.focus.focusItem(G, l);
41336
- }, "createRootHandleFocus"), D = /* @__PURE__ */ s((j) => (G) => {
41337
- if (j.onBlur?.(G), G.defaultMuiPrevented)
41337
+ }, R = /* @__PURE__ */ s((j) => (W) => {
41338
+ j.onFocus?.(W), !W.defaultMuiPrevented && !g.focused && Oe.canItemBeFocused(r.state, l) && W.currentTarget === W.target && r.focus.focusItem(W, l);
41339
+ }, "createRootHandleFocus"), D = /* @__PURE__ */ s((j) => (W) => {
41340
+ if (j.onBlur?.(W), W.defaultMuiPrevented)
41338
41341
  return;
41339
41342
  const Z = r.items.getItemDOMElement(l);
41340
41343
  g.editing || // we can exit the editing state by clicking outside the input (within the Tree Item) or by pressing Enter or Escape -> we don't want to remove the focused item from the state in these cases
41341
41344
  // we can also exit the editing state by clicking on the root itself -> want to remove the focused item from the state in this case
41342
- G.relatedTarget && Ob(G.relatedTarget, Z) && (G.target && G.target?.dataset?.element === "labelInput" && Ob(G.target, Z) || G.relatedTarget?.dataset?.element === "labelInput") || r.focus.removeFocusedItem();
41343
- }, "createRootHandleBlur"), P = /* @__PURE__ */ s((j) => (G) => {
41344
- j.onKeyDown?.(G), !(G.defaultMuiPrevented || G.target?.dataset?.element === "labelInput") && r.keyboardNavigation.handleItemKeyDown(G, l);
41345
- }, "createRootHandleKeyDown"), k = /* @__PURE__ */ s((j) => (G) => {
41346
- j.onDoubleClick?.(G), !G.defaultMuiPrevented && y.toggleItemEditing();
41347
- }, "createLabelHandleDoubleClick"), N = /* @__PURE__ */ s((j) => (G) => {
41348
- j.onClick?.(G), r.items.handleItemClick(G, l), !(G.defaultMuiPrevented || w.current?.contains(G.target)) && (Yt.triggerSlot(r.state) === "content" && y.handleExpansion(G), T || y.handleSelection(G));
41349
- }, "createContentHandleClick"), $ = /* @__PURE__ */ s((j) => (G) => {
41350
- j.onMouseDown?.(G), !G.defaultMuiPrevented && (G.shiftKey || G.ctrlKey || G.metaKey || g.disabled) && G.preventDefault();
41351
- }, "createContentHandleMouseDown"), L = /* @__PURE__ */ s((j) => (G) => {
41352
- j.onClick?.(G), !G.defaultMuiPrevented && Yt.triggerSlot(r.state) === "iconContainer" && y.handleExpansion(G);
41345
+ W.relatedTarget && Ob(W.relatedTarget, Z) && (W.target && W.target?.dataset?.element === "labelInput" && Ob(W.target, Z) || W.relatedTarget?.dataset?.element === "labelInput") || r.focus.removeFocusedItem();
41346
+ }, "createRootHandleBlur"), P = /* @__PURE__ */ s((j) => (W) => {
41347
+ j.onKeyDown?.(W), !(W.defaultMuiPrevented || W.target?.dataset?.element === "labelInput") && r.keyboardNavigation.handleItemKeyDown(W, l);
41348
+ }, "createRootHandleKeyDown"), k = /* @__PURE__ */ s((j) => (W) => {
41349
+ j.onDoubleClick?.(W), !W.defaultMuiPrevented && y.toggleItemEditing();
41350
+ }, "createLabelHandleDoubleClick"), N = /* @__PURE__ */ s((j) => (W) => {
41351
+ j.onClick?.(W), r.items.handleItemClick(W, l), !(W.defaultMuiPrevented || w.current?.contains(W.target)) && (Yt.triggerSlot(r.state) === "content" && y.handleExpansion(W), T || y.handleSelection(W));
41352
+ }, "createContentHandleClick"), $ = /* @__PURE__ */ s((j) => (W) => {
41353
+ j.onMouseDown?.(W), !W.defaultMuiPrevented && (W.shiftKey || W.ctrlKey || W.metaKey || g.disabled) && W.preventDefault();
41354
+ }, "createContentHandleMouseDown"), L = /* @__PURE__ */ s((j) => (W) => {
41355
+ j.onClick?.(W), !W.defaultMuiPrevented && Yt.triggerSlot(r.state) === "iconContainer" && y.handleExpansion(W);
41353
41356
  }, "createIconContainerHandleClick");
41354
41357
  return {
41355
41358
  getContextProviderProps: /* @__PURE__ */ s(() => ({
@@ -41357,7 +41360,7 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
41357
41360
  id: a
41358
41361
  }), "getContextProviderProps"),
41359
41362
  getRootProps: /* @__PURE__ */ s((j = {}) => {
41360
- const G = Ce({}, gr(t), gr(j)), Z = Ce({}, G, {
41363
+ const W = Ce({}, gr(t), gr(j)), Z = Ce({}, W, {
41361
41364
  ref: E,
41362
41365
  role: "treeitem",
41363
41366
  tabIndex: M ? 0 : -1,
@@ -41368,32 +41371,32 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
41368
41371
  style: Ce({}, j.style ?? {}, {
41369
41372
  "--TreeView-itemDepth": i
41370
41373
  }),
41371
- onFocus: R(G),
41372
- onBlur: D(G),
41373
- onKeyDown: P(G)
41374
+ onFocus: R(W),
41375
+ onBlur: D(W),
41376
+ onKeyDown: P(W)
41374
41377
  }), te = h.root?.(Ce({}, A, {
41375
- externalEventHandlers: G
41378
+ externalEventHandlers: W
41376
41379
  })) ?? {};
41377
41380
  return Ce({}, Z, te);
41378
41381
  }, "getRootProps"),
41379
41382
  getContentProps: /* @__PURE__ */ s((j = {}) => {
41380
- const G = gr(j), Z = Ce({}, G, j, {
41383
+ const W = gr(j), Z = Ce({}, W, j, {
41381
41384
  ref: C,
41382
- onClick: N(G),
41383
- onMouseDown: $(G),
41385
+ onClick: N(W),
41386
+ onMouseDown: $(W),
41384
41387
  status: g
41385
41388
  });
41386
41389
  ["expanded", "selected", "focused", "disabled", "editing", "editable"].forEach((ae) => {
41387
41390
  g[ae] && (Z[`data-${ae}`] = "");
41388
41391
  });
41389
41392
  const te = h.content?.(Ce({}, A, {
41390
- externalEventHandlers: G
41393
+ externalEventHandlers: W
41391
41394
  })) ?? {};
41392
41395
  return Ce({}, Z, te);
41393
41396
  }, "getContentProps"),
41394
41397
  getGroupTransitionProps: /* @__PURE__ */ s((j = {}) => {
41395
- const G = gr(j);
41396
- return Ce({}, G, {
41398
+ const W = gr(j);
41399
+ return Ce({}, W, {
41397
41400
  unmountOnExit: !0,
41398
41401
  component: "ul",
41399
41402
  role: "group",
@@ -41402,52 +41405,52 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
41402
41405
  }, j);
41403
41406
  }, "getGroupTransitionProps"),
41404
41407
  getIconContainerProps: /* @__PURE__ */ s((j = {}) => {
41405
- const G = gr(j);
41406
- return Ce({}, G, j, {
41407
- onClick: L(G)
41408
+ const W = gr(j);
41409
+ return Ce({}, W, j, {
41410
+ onClick: L(W)
41408
41411
  });
41409
41412
  }, "getIconContainerProps"),
41410
41413
  getCheckboxProps: /* @__PURE__ */ s((j = {}) => {
41411
- const G = gr(j), Z = Ce({}, G, {
41414
+ const W = gr(j), Z = Ce({}, W, {
41412
41415
  ref: w,
41413
41416
  "aria-hidden": !0
41414
41417
  }, j), te = h.checkbox?.(Ce({}, A, {
41415
- externalEventHandlers: G
41418
+ externalEventHandlers: W
41416
41419
  })) ?? {};
41417
41420
  return Ce({}, Z, te);
41418
41421
  }, "getCheckboxProps"),
41419
41422
  getLabelProps: /* @__PURE__ */ s((j = {}) => {
41420
- const G = Ce({}, gr(j)), Z = Ce({}, G, {
41423
+ const W = Ce({}, gr(j)), Z = Ce({}, W, {
41421
41424
  children: u
41422
41425
  }, j, {
41423
- onDoubleClick: k(G)
41426
+ onDoubleClick: k(W)
41424
41427
  }), te = h.label?.(Ce({}, A, {
41425
- externalEventHandlers: G
41428
+ externalEventHandlers: W
41426
41429
  })) ?? {};
41427
41430
  return Ce({}, te, Z);
41428
41431
  }, "getLabelProps"),
41429
41432
  getLabelInputProps: /* @__PURE__ */ s((j = {}) => {
41430
- const G = gr(j), Z = h.labelInput?.(Ce({}, A, {
41431
- externalEventHandlers: G
41433
+ const W = gr(j), Z = h.labelInput?.(Ce({}, A, {
41434
+ externalEventHandlers: W
41432
41435
  })) ?? {};
41433
41436
  return Ce({}, j, Z);
41434
41437
  }, "getLabelInputProps"),
41435
41438
  getDragAndDropOverlayProps: /* @__PURE__ */ s((j = {}) => {
41436
- const G = gr(j), Z = h.dragAndDropOverlay?.(Ce({}, A, {
41437
- externalEventHandlers: G
41439
+ const W = gr(j), Z = h.dragAndDropOverlay?.(Ce({}, A, {
41440
+ externalEventHandlers: W
41438
41441
  })) ?? {};
41439
41442
  return Ce({}, j, Z);
41440
41443
  }, "getDragAndDropOverlayProps"),
41441
41444
  getErrorContainerProps: /* @__PURE__ */ s((j = {}) => {
41442
- const G = gr(j);
41443
- return Ce({}, G, j);
41445
+ const W = gr(j);
41446
+ return Ce({}, W, j);
41444
41447
  }, "getErrorContainerProps"),
41445
41448
  getLoadingContainerProps: /* @__PURE__ */ s((j = {}) => {
41446
- const G = gr(j);
41449
+ const W = gr(j);
41447
41450
  return Ce({
41448
41451
  size: "12px",
41449
41452
  thickness: 6
41450
- }, G, j);
41453
+ }, W, j);
41451
41454
  }, "getLoadingContainerProps"),
41452
41455
  rootRef: E,
41453
41456
  status: g,
@@ -41870,13 +41873,13 @@ const Hq = /* @__PURE__ */ s((t) => {
41870
41873
  externalSlotProps: f.checkbox,
41871
41874
  ownerState: {},
41872
41875
  className: D.checkbox
41873
- }), F = p.groupTransition ?? void 0, W = yr({
41876
+ }), F = p.groupTransition ?? void 0, H = yr({
41874
41877
  elementType: F,
41875
41878
  getSlotProps: w,
41876
41879
  externalSlotProps: f.groupTransition,
41877
41880
  ownerState: {},
41878
41881
  className: D.groupTransition
41879
- }), Q = p.labelInput ?? Nq, q = yr({
41882
+ }), Q = p.labelInput ?? Nq, U = yr({
41880
41883
  elementType: Q,
41881
41884
  getSlotProps: T,
41882
41885
  externalSlotProps: f.labelInput,
@@ -41888,7 +41891,7 @@ const Hq = /* @__PURE__ */ s((t) => {
41888
41891
  externalSlotProps: f.dragAndDropOverlay,
41889
41892
  ownerState: {},
41890
41893
  className: D.dragAndDropOverlay
41891
- }), j = p.errorIcon ?? jq, G = yr({
41894
+ }), j = p.errorIcon ?? jq, W = yr({
41892
41895
  elementType: j,
41893
41896
  getSlotProps: M,
41894
41897
  externalSlotProps: f.errorIcon,
@@ -41905,15 +41908,15 @@ const Hq = /* @__PURE__ */ s((t) => {
41905
41908
  children: /* @__PURE__ */ Y(P, Ce({}, k, {
41906
41909
  children: [/* @__PURE__ */ Y(N, Ce({}, $, {
41907
41910
  children: [/* @__PURE__ */ Y(L, Ce({}, I, {
41908
- children: [R.error && /* @__PURE__ */ b(j, Ce({}, G)), R.loading ? /* @__PURE__ */ b(Z, Ce({}, te)) : /* @__PURE__ */ b(PP, {
41911
+ children: [R.error && /* @__PURE__ */ b(j, Ce({}, W)), R.loading ? /* @__PURE__ */ b(Z, Ce({}, te)) : /* @__PURE__ */ b(PP, {
41909
41912
  status: R,
41910
41913
  slots: p,
41911
41914
  slotProps: f
41912
41915
  })]
41913
- })), /* @__PURE__ */ b(V, Ce({}, B)), R.editing ? /* @__PURE__ */ b(Q, Ce({}, q)) : /* @__PURE__ */ b(_, Ce({}, z)), /* @__PURE__ */ b(K, Ce({}, ee))]
41916
+ })), /* @__PURE__ */ b(V, Ce({}, B)), R.editing ? /* @__PURE__ */ b(Q, Ce({}, U)) : /* @__PURE__ */ b(_, Ce({}, z)), /* @__PURE__ */ b(K, Ce({}, ee))]
41914
41917
  })), d && /* @__PURE__ */ b(Vq, Ce({
41915
41918
  as: F
41916
- }, W))]
41919
+ }, H))]
41917
41920
  }))
41918
41921
  }));
41919
41922
  }, "TreeItem"));
@@ -42250,9 +42253,9 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42250
42253
  initialFilterKey: u = Al[0].key,
42251
42254
  filterOptionKeys: d
42252
42255
  } = t, p = tt(() => !Array.isArray(d) || d.length === 0 ? Al : Al.filter(
42253
- (q) => d.includes(q.key)
42256
+ (U) => d.includes(U.key)
42254
42257
  ), [d]), [f, m] = Pe(tU), [h, y] = Pe([]), [g, v] = Pe(null), [x, E] = Pe(!0), [C, w] = Pe(!1), [T, O] = Pe(
42255
- p.find((q) => q.key === u) || p[0] || Al[0]
42258
+ p.find((U) => U.key === u) || p[0] || Al[0]
42256
42259
  ), M = Go(), A = cr(), R = !!g, D = tt(
42257
42260
  () => Yq(n),
42258
42261
  [n]
@@ -42271,10 +42274,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42271
42274
  [f, T.key, P]
42272
42275
  );
42273
42276
  Ae(() => {
42274
- const q = p.find(
42277
+ const U = p.find(
42275
42278
  (K) => K.key === u
42276
42279
  ) || p[0] || Al[0];
42277
- O(q), E(!0);
42280
+ O(U), E(!0);
42278
42281
  }, [p, u]), Ae(() => {
42279
42282
  i && i({
42280
42283
  filter: f,
@@ -42287,7 +42290,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42287
42290
  }, "loadInitialData"))();
42288
42291
  }, []);
42289
42292
  const N = Le(
42290
- (q, K) => {
42293
+ (U, K) => {
42291
42294
  if (String(K).endsWith("-placeholder"))
42292
42295
  return;
42293
42296
  const ee = _P(h, K), j = K === fd.id ? {
@@ -42308,21 +42311,21 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42308
42311
  },
42309
42312
  [D, P, a, h]
42310
42313
  ), $ = Le(
42311
- (q) => {
42312
- E(!1), o && o(q);
42314
+ (U) => {
42315
+ E(!1), o && o(U);
42313
42316
  },
42314
42317
  [o]
42315
- ), L = /* @__PURE__ */ s(async (q) => {
42318
+ ), L = /* @__PURE__ */ s(async (U) => {
42316
42319
  try {
42317
42320
  return (await M.getChildNodes("form_224", {
42318
- parentId: q
42321
+ parentId: U
42319
42322
  })).data.map(FP);
42320
42323
  } catch {
42321
42324
  throw new Error("Data Loading Error");
42322
42325
  }
42323
- }, "fetchData"), I = /* @__PURE__ */ s(async (q, K) => {
42324
- const ee = /* @__PURE__ */ s(async (G) => Promise.all(
42325
- G.map(async (Z) => {
42326
+ }, "fetchData"), I = /* @__PURE__ */ s(async (U, K) => {
42327
+ const ee = /* @__PURE__ */ s(async (W) => Promise.all(
42328
+ W.map(async (Z) => {
42326
42329
  if (Z.id === K && Z.children.length === 0 && Z.hasItems) {
42327
42330
  const te = await L(K);
42328
42331
  return { ...Z, children: te };
@@ -42335,8 +42338,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42335
42338
  })
42336
42339
  ), "updateNodeChildren"), j = await ee(h);
42337
42340
  y(j);
42338
- }, "handleItemExpansionToggle"), _ = /* @__PURE__ */ s((q) => {
42339
- const K = q.Icon || (q.children.length > 0 || q.hasItems ? I7 : null);
42341
+ }, "handleItemExpansionToggle"), _ = /* @__PURE__ */ s((U) => {
42342
+ const K = U.Icon || (U.children.length > 0 || U.hasItems ? I7 : null);
42340
42343
  return K ? /* @__PURE__ */ Y(
42341
42344
  Me,
42342
42345
  {
@@ -42353,11 +42356,11 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42353
42356
  sx: { color: A.palette.primary.main }
42354
42357
  }
42355
42358
  ),
42356
- /* @__PURE__ */ b("span", { children: q.id === fd.id ? e(q.text) : q.text })
42359
+ /* @__PURE__ */ b("span", { children: U.id === fd.id ? e(U.text) : U.text })
42357
42360
  ]
42358
42361
  }
42359
- ) : q.id === fd.id ? e(q.text) : q.text;
42360
- }, "renderNodeLabel"), z = /* @__PURE__ */ s((q) => q.map((K) => /* @__PURE__ */ b(
42362
+ ) : U.id === fd.id ? e(U.text) : U.text;
42363
+ }, "renderNodeLabel"), z = /* @__PURE__ */ s((U) => U.map((K) => /* @__PURE__ */ b(
42361
42364
  bp,
42362
42365
  {
42363
42366
  itemId: K.id,
@@ -42385,14 +42388,14 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42385
42388
  ) : null
42386
42389
  },
42387
42390
  K.id
42388
- )), "renderTreeItems"), V = /* @__PURE__ */ s((q) => {
42389
- v(q.currentTarget);
42391
+ )), "renderTreeItems"), V = /* @__PURE__ */ s((U) => {
42392
+ v(U.currentTarget);
42390
42393
  }, "handleMenuOpen"), B = /* @__PURE__ */ s(() => {
42391
42394
  v(null);
42392
- }, "handleMenuClose"), F = /* @__PURE__ */ s((q) => {
42393
- E(!0), O(q), l?.(q), B();
42394
- }, "handleFiltroFuncionarios"), W = /* @__PURE__ */ s(() => {
42395
- w((q) => !q);
42395
+ }, "handleMenuClose"), F = /* @__PURE__ */ s((U) => {
42396
+ E(!0), O(U), l?.(U), B();
42397
+ }, "handleFiltroFuncionarios"), H = /* @__PURE__ */ s(() => {
42398
+ w((U) => !U);
42396
42399
  }, "toggleTreePanel"), Q = T.Icon;
42397
42400
  return /* @__PURE__ */ Y(
42398
42401
  Me,
@@ -42421,17 +42424,17 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42421
42424
  xs: "100%",
42422
42425
  md: C ? "36px" : "300px"
42423
42426
  },
42424
- transition: /* @__PURE__ */ s((q) => q.transitions.create(["width", "flex-basis"], {
42425
- duration: q.transitions.duration.shorter
42427
+ transition: /* @__PURE__ */ s((U) => U.transitions.create(["width", "flex-basis"], {
42428
+ duration: U.transitions.duration.shorter
42426
42429
  }), "transition"),
42427
- borderRight: /* @__PURE__ */ s((q) => `1px solid ${q.palette.divider}`, "borderRight")
42430
+ borderRight: /* @__PURE__ */ s((U) => `1px solid ${U.palette.divider}`, "borderRight")
42428
42431
  },
42429
42432
  children: [
42430
42433
  /* @__PURE__ */ b(
42431
42434
  Pn,
42432
42435
  {
42433
42436
  size: "small",
42434
- onClick: W,
42437
+ onClick: H,
42435
42438
  sx: {
42436
42439
  display: { xs: "none", md: "inline-flex" },
42437
42440
  position: "absolute",
@@ -42441,8 +42444,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42441
42444
  width: 28,
42442
42445
  height: 28,
42443
42446
  backgroundColor: "background.paper",
42444
- border: /* @__PURE__ */ s((q) => `1px solid ${q.palette.divider}`, "border"),
42445
- boxShadow: /* @__PURE__ */ s((q) => q.shadows[1], "boxShadow"),
42447
+ border: /* @__PURE__ */ s((U) => `1px solid ${U.palette.divider}`, "border"),
42448
+ boxShadow: /* @__PURE__ */ s((U) => U.shadows[1], "boxShadow"),
42446
42449
  "&:hover": {
42447
42450
  backgroundColor: "background.paper"
42448
42451
  }
@@ -42477,13 +42480,13 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42477
42480
  anchorEl: g,
42478
42481
  open: R,
42479
42482
  onClose: B,
42480
- children: p.map((q) => {
42481
- const K = q.Icon;
42483
+ children: p.map((U) => {
42484
+ const K = U.Icon;
42482
42485
  return /* @__PURE__ */ Y(
42483
42486
  bo,
42484
42487
  {
42485
- selected: q.key === T.key,
42486
- onClick: /* @__PURE__ */ s(() => F(q), "onClick"),
42488
+ selected: U.key === T.key,
42489
+ onClick: /* @__PURE__ */ s(() => F(U), "onClick"),
42487
42490
  children: [
42488
42491
  /* @__PURE__ */ b(
42489
42492
  K,
@@ -42492,10 +42495,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42492
42495
  style: { marginRight: 8 }
42493
42496
  }
42494
42497
  ),
42495
- e(q.label)
42498
+ e(U.label)
42496
42499
  ]
42497
42500
  },
42498
- q.key
42501
+ U.key
42499
42502
  );
42500
42503
  })
42501
42504
  }
@@ -42512,7 +42515,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42512
42515
  minHeight: 30
42513
42516
  },
42514
42517
  "& .MuiTreeItem-label": {
42515
- fontSize: /* @__PURE__ */ s((q) => q.typography.caption.fontSize, "fontSize")
42518
+ fontSize: /* @__PURE__ */ s((U) => U.typography.caption.fontSize, "fontSize")
42516
42519
  },
42517
42520
  "& .MuiSvgIcon-root": {
42518
42521
  fontSize: 18
@@ -42768,7 +42771,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42768
42771
  name: e,
42769
42772
  control: y.control,
42770
42773
  rules: z
42771
- }), { [e]: F = {} } = v, W = Xr(t), Q = F.onChange === void 0 ? n : F.onChange, q = A !== !1 && k !== !1, [K, ee] = Pe(
42774
+ }), { [e]: F = {} } = v, H = Xr(t), Q = F.onChange === void 0 ? n : F.onChange, U = A !== !1 && k !== !1, [K, ee] = Pe(
42772
42775
  Zi(k)
42773
42776
  ), j = tt(
42774
42777
  () => Zm.find((J) => J.value === K) || Zm[0],
@@ -42779,7 +42782,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42779
42782
  }, [k]), Ae(() => {
42780
42783
  x.current || (setTimeout(() => {
42781
42784
  const J = y.getValues(e);
42782
- if (q ? vT(J) : J == null || J === "") {
42785
+ if (U ? vT(J) : J == null || J === "") {
42783
42786
  const be = $P({
42784
42787
  soloActivos: Zi(k)
42785
42788
  });
@@ -42789,10 +42792,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42789
42792
  );
42790
42793
  }
42791
42794
  }, 0), x.current = !0);
42792
- }, [M, y, k, e, q]);
42793
- const G = Le(
42795
+ }, [M, y, k, e, U]);
42796
+ const W = Le(
42794
42797
  (J) => {
42795
- if (q && vT(J))
42798
+ if (U && vT(J))
42796
42799
  return h(j.label);
42797
42800
  const be = pd(J, {
42798
42801
  soloActivos: K
@@ -42806,11 +42809,11 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42806
42809
  j.label,
42807
42810
  M,
42808
42811
  h,
42809
- q
42812
+ U
42810
42813
  ]
42811
42814
  ), Z = V.value, te = tt(
42812
- () => G(Z),
42813
- [Z, G]
42815
+ () => W(Z),
42816
+ [Z, W]
42814
42817
  ), ae = tt(() => {
42815
42818
  const J = pd(Z, {
42816
42819
  soloActivos: K
@@ -42819,7 +42822,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42819
42822
  return te;
42820
42823
  const be = dd(J.seleccion);
42821
42824
  return be.length === 0 ? te : be.length === 1 ? `Funcionario ${be[0]}` : `${be.length} funcionarios seleccionados`;
42822
- }, [K, te, Z]), [H, ve] = Pe("");
42825
+ }, [K, te, Z]), [q, ve] = Pe("");
42823
42826
  Ae(() => {
42824
42827
  const J = pd(Z, {
42825
42828
  soloActivos: K
@@ -42845,9 +42848,9 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42845
42848
  }, [K, f, Z]);
42846
42849
  const le = Le(
42847
42850
  (J) => {
42848
- Q && Q(W, g, J);
42851
+ Q && Q(H, g, J);
42849
42852
  },
42850
- [g, Q, W]
42853
+ [g, Q, H]
42851
42854
  ), X = Le(
42852
42855
  (J) => {
42853
42856
  const be = pd(y.getValues(e), {
@@ -42941,7 +42944,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42941
42944
  if (!R || be === "")
42942
42945
  return;
42943
42946
  let ze = !1;
42944
- D && (D(W, g, J), ze = !0);
42947
+ D && (D(H, g, J), ze = !0);
42945
42948
  let Ne = null;
42946
42949
  try {
42947
42950
  Ne = await Gq(
@@ -42955,10 +42958,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42955
42958
  if (!Ne) {
42956
42959
  d(""), m(`El funcionario '${be}' no existe`, {
42957
42960
  type: "error"
42958
- }), ze && P?.(W, g, J);
42961
+ }), ze && P?.(H, g, J);
42959
42962
  return;
42960
42963
  }
42961
- ze && (P?.(W, g, J), ze = !1), ie(J, {
42964
+ ze && (P?.(H, g, J), ze = !1), ie(J, {
42962
42965
  seleccion: String(Ne.funcod || "").trim(),
42963
42966
  all: !1,
42964
42967
  none: !1
@@ -42974,9 +42977,9 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42974
42977
  P,
42975
42978
  D,
42976
42979
  ie,
42977
- W
42980
+ H
42978
42981
  ]
42979
- ), Xe = j.Icon, ce = (H || ae).split(`
42982
+ ), Xe = j.Icon, ce = (q || ae).split(`
42980
42983
  `).filter(Boolean);
42981
42984
  return E ? null : /* @__PURE__ */ Y(Yn, { children: [
42982
42985
  /* @__PURE__ */ b(
@@ -43118,7 +43121,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
43118
43121
  pl: 0.5
43119
43122
  },
43120
43123
  children: [
43121
- q ? /* @__PURE__ */ Y(Yn, { children: [
43124
+ U ? /* @__PURE__ */ Y(Yn, { children: [
43122
43125
  O && /* @__PURE__ */ b(
43123
43126
  Pn,
43124
43127
  {
@@ -61124,14 +61127,14 @@ const Cf = "RaLabeled", wf = {
61124
61127
  source: V,
61125
61128
  submitError: B,
61126
61129
  subscription: F,
61127
- textAlign: W,
61130
+ textAlign: H,
61128
61131
  translate: Q,
61129
- translateChoice: q,
61132
+ translateChoice: U,
61130
61133
  validate: K,
61131
61134
  validateFields: ee,
61132
61135
  value: j,
61133
- ...G
61134
- }) => G, "sanitizeInputRestProps"), Qee = /* @__PURE__ */ s(({
61136
+ ...W
61137
+ }) => W, "sanitizeInputRestProps"), Qee = /* @__PURE__ */ s(({
61135
61138
  className: t,
61136
61139
  defaultValue: e,
61137
61140
  format: n = tte,