@dipusevilla/componentes-iu 1.0.34 → 1.0.36

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.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import * as q from "react";
1
+ import * as G from "react";
2
2
  import ne, { useState as ae, useRef as ke, useLayoutEffect as Ns, useEffect as de, useId as et, createContext as yr, useContext as vr, useCallback as or, useMemo as Fe } from "react";
3
3
  import _s from "react-dom";
4
4
  function An(r) {
@@ -59,13 +59,13 @@ function On() {
59
59
  return "Fragment";
60
60
  case v:
61
61
  return "Profiler";
62
- case N:
62
+ case _:
63
63
  return "StrictMode";
64
64
  case F:
65
65
  return "Suspense";
66
- case Z:
66
+ case U:
67
67
  return "SuspenseList";
68
- case M:
68
+ case O:
69
69
  return "Activity";
70
70
  }
71
71
  if (typeof j == "object")
@@ -78,12 +78,12 @@ function On() {
78
78
  return (j.displayName || "Context") + ".Provider";
79
79
  case g:
80
80
  return (j._context.displayName || "Context") + ".Consumer";
81
- case O:
81
+ case $:
82
82
  var k = j.render;
83
83
  return j = j.displayName, j || (j = k.displayName || k.name || "", j = j !== "" ? "ForwardRef(" + j + ")" : "ForwardRef"), j;
84
- case X:
84
+ case q:
85
85
  return k = j.displayName || null, k !== null ? k : r(j.type) || "Memo";
86
- case _:
86
+ case N:
87
87
  k = j._payload, j = j._init;
88
88
  try {
89
89
  return r(j(k));
@@ -114,7 +114,7 @@ function On() {
114
114
  }
115
115
  function s(j) {
116
116
  if (j === w) return "<>";
117
- if (typeof j == "object" && j !== null && j.$$typeof === _)
117
+ if (typeof j == "object" && j !== null && j.$$typeof === N)
118
118
  return "<...>";
119
119
  try {
120
120
  var k = r(j);
@@ -124,14 +124,14 @@ function On() {
124
124
  }
125
125
  }
126
126
  function n() {
127
- var j = U.A;
127
+ var j = B.A;
128
128
  return j === null ? null : j.getOwner();
129
129
  }
130
130
  function a() {
131
131
  return Error("react-stack-top-frame");
132
132
  }
133
133
  function o(j) {
134
- if ($.call(j, "key")) {
134
+ if (M.call(j, "key")) {
135
135
  var k = Object.getOwnPropertyDescriptor(j, "key").get;
136
136
  if (k && k.isReactWarning) return !1;
137
137
  }
@@ -151,7 +151,7 @@ function On() {
151
151
  }
152
152
  function c() {
153
153
  var j = r(this.type);
154
- return Y[j] || (Y[j] = !0, console.error(
154
+ return H[j] || (H[j] = !0, console.error(
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
156
  )), j = this.props.ref, j !== void 0 ? j : null;
157
157
  }
@@ -191,7 +191,7 @@ function On() {
191
191
  var oe = k.children;
192
192
  if (oe !== void 0)
193
193
  if (D)
194
- if (G(oe)) {
194
+ if (Y(oe)) {
195
195
  for (D = 0; D < oe.length; D++)
196
196
  p(oe[D]);
197
197
  Object.freeze && Object.freeze(oe);
@@ -200,12 +200,12 @@ function On() {
200
200
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
201
  );
202
202
  else p(oe);
203
- if ($.call(k, "key")) {
203
+ if (M.call(k, "key")) {
204
204
  oe = r(j);
205
205
  var xe = Object.keys(k).filter(function(te) {
206
206
  return te !== "key";
207
207
  });
208
- D = 0 < xe.length ? "{key: someKey, " + xe.join(": ..., ") + ": ...}" : "{key: someKey}", B[oe + D] || (xe = 0 < xe.length ? "{" + xe.join(": ..., ") + ": ...}" : "{}", console.error(
208
+ D = 0 < xe.length ? "{key: someKey, " + xe.join(": ..., ") + ": ...}" : "{key: someKey}", Z[oe + D] || (xe = 0 < xe.length ? "{" + xe.join(": ..., ") + ": ...}" : "{}", console.error(
209
209
  `A props object containing a "key" prop is being spread into JSX:
210
210
  let props = %s;
211
211
  <%s {...props} />
@@ -216,7 +216,7 @@ React keys must be passed directly to JSX without using spread:
216
216
  oe,
217
217
  xe,
218
218
  oe
219
- ), B[oe + D] = !0);
219
+ ), Z[oe + D] = !0);
220
220
  }
221
221
  if (oe = null, C !== void 0 && (t(C), oe = "" + C), o(k) && (t(k.key), oe = "" + k.key), "key" in k) {
222
222
  C = {};
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function p(j) {
241
241
  typeof j == "object" && j !== null && j.$$typeof === y && j._store && (j._store.validated = 1);
242
242
  }
243
- var m = ne, y = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), S = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), U = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, G = Array.isArray, K = console.createTask ? console.createTask : function() {
243
+ var m = ne, y = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), S = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), B = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, Y = Array.isArray, K = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  m = {
@@ -248,12 +248,12 @@ React keys must be passed directly to JSX without using spread:
248
248
  return j();
249
249
  }
250
250
  };
251
- var W, Y = {}, A = m["react-stack-bottom-frame"].bind(
251
+ var W, H = {}, A = m["react-stack-bottom-frame"].bind(
252
252
  m,
253
253
  a
254
- )(), h = K(s(a)), B = {};
254
+ )(), h = K(s(a)), Z = {};
255
255
  ht.Fragment = w, ht.jsx = function(j, k, C, D, Q) {
256
- var re = 1e4 > U.recentlyCreatedOwnerStacks++;
256
+ var re = 1e4 > B.recentlyCreatedOwnerStacks++;
257
257
  return u(
258
258
  j,
259
259
  k,
@@ -265,7 +265,7 @@ React keys must be passed directly to JSX without using spread:
265
265
  re ? K(s(j)) : h
266
266
  );
267
267
  }, ht.jsxs = function(j, k, C, D, Q) {
268
- var re = 1e4 > U.recentlyCreatedOwnerStacks++;
268
+ var re = 1e4 > B.recentlyCreatedOwnerStacks++;
269
269
  return u(
270
270
  j,
271
271
  k,
@@ -381,7 +381,7 @@ function Pn({
381
381
  titleId: e,
382
382
  ...t
383
383
  }, s) {
384
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
384
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
385
385
  xmlns: "http://www.w3.org/2000/svg",
386
386
  fill: "none",
387
387
  viewBox: "0 0 24 24",
@@ -391,21 +391,21 @@ function Pn({
391
391
  "data-slot": "icon",
392
392
  ref: s,
393
393
  "aria-labelledby": e
394
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
394
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
395
395
  id: e
396
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
396
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
397
397
  strokeLinecap: "round",
398
398
  strokeLinejoin: "round",
399
399
  d: "m4.5 12.75 6 6 9-13.5"
400
400
  }));
401
401
  }
402
- const zn = /* @__PURE__ */ q.forwardRef(Pn);
402
+ const zn = /* @__PURE__ */ G.forwardRef(Pn);
403
403
  function Un({
404
404
  title: r,
405
405
  titleId: e,
406
406
  ...t
407
407
  }, s) {
408
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
408
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
409
409
  xmlns: "http://www.w3.org/2000/svg",
410
410
  fill: "none",
411
411
  viewBox: "0 0 24 24",
@@ -415,21 +415,21 @@ function Un({
415
415
  "data-slot": "icon",
416
416
  ref: s,
417
417
  "aria-labelledby": e
418
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
418
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
419
419
  id: e
420
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
420
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
421
421
  strokeLinecap: "round",
422
422
  strokeLinejoin: "round",
423
423
  d: "m19.5 8.25-7.5 7.5-7.5-7.5"
424
424
  }));
425
425
  }
426
- const wr = /* @__PURE__ */ q.forwardRef(Un);
426
+ const wr = /* @__PURE__ */ G.forwardRef(Un);
427
427
  function Bn({
428
428
  title: r,
429
429
  titleId: e,
430
430
  ...t
431
431
  }, s) {
432
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
432
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
433
433
  xmlns: "http://www.w3.org/2000/svg",
434
434
  fill: "none",
435
435
  viewBox: "0 0 24 24",
@@ -439,21 +439,21 @@ function Bn({
439
439
  "data-slot": "icon",
440
440
  ref: s,
441
441
  "aria-labelledby": e
442
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
442
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
443
443
  id: e
444
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
444
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
445
445
  strokeLinecap: "round",
446
446
  strokeLinejoin: "round",
447
447
  d: "m8.25 4.5 7.5 7.5-7.5 7.5"
448
448
  }));
449
449
  }
450
- const Zn = /* @__PURE__ */ q.forwardRef(Bn);
450
+ const Zn = /* @__PURE__ */ G.forwardRef(Bn);
451
451
  function Wn({
452
452
  title: r,
453
453
  titleId: e,
454
454
  ...t
455
455
  }, s) {
456
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
456
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
457
457
  xmlns: "http://www.w3.org/2000/svg",
458
458
  fill: "none",
459
459
  viewBox: "0 0 24 24",
@@ -463,21 +463,21 @@ function Wn({
463
463
  "data-slot": "icon",
464
464
  ref: s,
465
465
  "aria-labelledby": e
466
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
466
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
467
467
  id: e
468
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
468
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
469
469
  strokeLinecap: "round",
470
470
  strokeLinejoin: "round",
471
471
  d: "m4.5 15.75 7.5-7.5 7.5 7.5"
472
472
  }));
473
473
  }
474
- const qn = /* @__PURE__ */ q.forwardRef(Wn);
474
+ const qn = /* @__PURE__ */ G.forwardRef(Wn);
475
475
  function Gn({
476
476
  title: r,
477
477
  titleId: e,
478
478
  ...t
479
479
  }, s) {
480
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
480
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
481
481
  xmlns: "http://www.w3.org/2000/svg",
482
482
  fill: "none",
483
483
  viewBox: "0 0 24 24",
@@ -487,21 +487,21 @@ function Gn({
487
487
  "data-slot": "icon",
488
488
  ref: s,
489
489
  "aria-labelledby": e
490
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
490
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
491
491
  id: e
492
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
492
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
493
493
  strokeLinecap: "round",
494
494
  strokeLinejoin: "round",
495
495
  d: "M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"
496
496
  }));
497
497
  }
498
- const Yn = /* @__PURE__ */ q.forwardRef(Gn);
498
+ const Yn = /* @__PURE__ */ G.forwardRef(Gn);
499
499
  function Hn({
500
500
  title: r,
501
501
  titleId: e,
502
502
  ...t
503
503
  }, s) {
504
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
504
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
505
505
  xmlns: "http://www.w3.org/2000/svg",
506
506
  fill: "none",
507
507
  viewBox: "0 0 24 24",
@@ -511,21 +511,21 @@ function Hn({
511
511
  "data-slot": "icon",
512
512
  ref: s,
513
513
  "aria-labelledby": e
514
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
514
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
515
515
  id: e
516
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
516
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
517
517
  strokeLinecap: "round",
518
518
  strokeLinejoin: "round",
519
519
  d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
520
520
  }));
521
521
  }
522
- const Ir = /* @__PURE__ */ q.forwardRef(Hn);
522
+ const Ir = /* @__PURE__ */ G.forwardRef(Hn);
523
523
  function Xn({
524
524
  title: r,
525
525
  titleId: e,
526
526
  ...t
527
527
  }, s) {
528
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
528
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
529
529
  xmlns: "http://www.w3.org/2000/svg",
530
530
  fill: "none",
531
531
  viewBox: "0 0 24 24",
@@ -535,21 +535,21 @@ function Xn({
535
535
  "data-slot": "icon",
536
536
  ref: s,
537
537
  "aria-labelledby": e
538
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
538
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
539
539
  id: e
540
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
540
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
541
541
  strokeLinecap: "round",
542
542
  strokeLinejoin: "round",
543
543
  d: "M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
544
544
  }));
545
545
  }
546
- const Kn = /* @__PURE__ */ q.forwardRef(Xn);
546
+ const Kn = /* @__PURE__ */ G.forwardRef(Xn);
547
547
  function Jn({
548
548
  title: r,
549
549
  titleId: e,
550
550
  ...t
551
551
  }, s) {
552
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
552
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
553
553
  xmlns: "http://www.w3.org/2000/svg",
554
554
  fill: "none",
555
555
  viewBox: "0 0 24 24",
@@ -559,25 +559,25 @@ function Jn({
559
559
  "data-slot": "icon",
560
560
  ref: s,
561
561
  "aria-labelledby": e
562
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
562
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
563
563
  id: e
564
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
564
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
565
565
  strokeLinecap: "round",
566
566
  strokeLinejoin: "round",
567
567
  d: "M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"
568
- }), /* @__PURE__ */ q.createElement("path", {
568
+ }), /* @__PURE__ */ G.createElement("path", {
569
569
  strokeLinecap: "round",
570
570
  strokeLinejoin: "round",
571
571
  d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
572
572
  }));
573
573
  }
574
- const Ss = /* @__PURE__ */ q.forwardRef(Jn);
574
+ const Ss = /* @__PURE__ */ G.forwardRef(Jn);
575
575
  function Qn({
576
576
  title: r,
577
577
  titleId: e,
578
578
  ...t
579
579
  }, s) {
580
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
580
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
581
581
  xmlns: "http://www.w3.org/2000/svg",
582
582
  fill: "none",
583
583
  viewBox: "0 0 24 24",
@@ -587,21 +587,21 @@ function Qn({
587
587
  "data-slot": "icon",
588
588
  ref: s,
589
589
  "aria-labelledby": e
590
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
590
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
591
591
  id: e
592
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
592
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
593
593
  strokeLinecap: "round",
594
594
  strokeLinejoin: "round",
595
595
  d: "M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"
596
596
  }));
597
597
  }
598
- const ea = /* @__PURE__ */ q.forwardRef(Qn);
598
+ const ea = /* @__PURE__ */ G.forwardRef(Qn);
599
599
  function ta({
600
600
  title: r,
601
601
  titleId: e,
602
602
  ...t
603
603
  }, s) {
604
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
604
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
605
605
  xmlns: "http://www.w3.org/2000/svg",
606
606
  fill: "none",
607
607
  viewBox: "0 0 24 24",
@@ -611,21 +611,21 @@ function ta({
611
611
  "data-slot": "icon",
612
612
  ref: s,
613
613
  "aria-labelledby": e
614
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
614
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
615
615
  id: e
616
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
616
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
617
617
  strokeLinecap: "round",
618
618
  strokeLinejoin: "round",
619
619
  d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"
620
620
  }));
621
621
  }
622
- const ra = /* @__PURE__ */ q.forwardRef(ta);
622
+ const ra = /* @__PURE__ */ G.forwardRef(ta);
623
623
  function sa({
624
624
  title: r,
625
625
  titleId: e,
626
626
  ...t
627
627
  }, s) {
628
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
628
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
629
629
  xmlns: "http://www.w3.org/2000/svg",
630
630
  fill: "none",
631
631
  viewBox: "0 0 24 24",
@@ -635,21 +635,21 @@ function sa({
635
635
  "data-slot": "icon",
636
636
  ref: s,
637
637
  "aria-labelledby": e
638
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
638
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
639
639
  id: e
640
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
640
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
641
641
  strokeLinecap: "round",
642
642
  strokeLinejoin: "round",
643
643
  d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
644
644
  }));
645
645
  }
646
- const na = /* @__PURE__ */ q.forwardRef(sa);
646
+ const na = /* @__PURE__ */ G.forwardRef(sa);
647
647
  function aa({
648
648
  title: r,
649
649
  titleId: e,
650
650
  ...t
651
651
  }, s) {
652
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
652
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
653
653
  xmlns: "http://www.w3.org/2000/svg",
654
654
  fill: "none",
655
655
  viewBox: "0 0 24 24",
@@ -659,21 +659,21 @@ function aa({
659
659
  "data-slot": "icon",
660
660
  ref: s,
661
661
  "aria-labelledby": e
662
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
662
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
663
663
  id: e
664
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
664
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
665
665
  strokeLinecap: "round",
666
666
  strokeLinejoin: "round",
667
667
  d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
668
668
  }));
669
669
  }
670
- const oa = /* @__PURE__ */ q.forwardRef(aa);
670
+ const oa = /* @__PURE__ */ G.forwardRef(aa);
671
671
  function ia({
672
672
  title: r,
673
673
  titleId: e,
674
674
  ...t
675
675
  }, s) {
676
- return /* @__PURE__ */ q.createElement("svg", Object.assign({
676
+ return /* @__PURE__ */ G.createElement("svg", Object.assign({
677
677
  xmlns: "http://www.w3.org/2000/svg",
678
678
  fill: "none",
679
679
  viewBox: "0 0 24 24",
@@ -683,15 +683,15 @@ function ia({
683
683
  "data-slot": "icon",
684
684
  ref: s,
685
685
  "aria-labelledby": e
686
- }, t), r ? /* @__PURE__ */ q.createElement("title", {
686
+ }, t), r ? /* @__PURE__ */ G.createElement("title", {
687
687
  id: e
688
- }, r) : null, /* @__PURE__ */ q.createElement("path", {
688
+ }, r) : null, /* @__PURE__ */ G.createElement("path", {
689
689
  strokeLinecap: "round",
690
690
  strokeLinejoin: "round",
691
691
  d: "M6 18 18 6M6 6l12 12"
692
692
  }));
693
693
  }
694
- const kr = /* @__PURE__ */ q.forwardRef(ia), la = {
694
+ const kr = /* @__PURE__ */ G.forwardRef(ia), la = {
695
695
  default: {
696
696
  wrapper: "box-border w-full rounded-lg bg-[var(--color-ds-background-surface)] overflow-hidden",
697
697
  padX: "px-6",
@@ -962,9 +962,9 @@ const jr = "-", ca = (r) => {
962
962
  c = u + (c.length > 0 ? " " + c : c);
963
963
  continue;
964
964
  }
965
- let N = !!w, v = s(N ? x.substring(0, w) : x);
965
+ let _ = !!w, v = s(_ ? x.substring(0, w) : x);
966
966
  if (!v) {
967
- if (!N) {
967
+ if (!_) {
968
968
  c = u + (c.length > 0 ? " " + c : c);
969
969
  continue;
970
970
  }
@@ -972,16 +972,16 @@ const jr = "-", ca = (r) => {
972
972
  c = u + (c.length > 0 ? " " + c : c);
973
973
  continue;
974
974
  }
975
- N = !1;
975
+ _ = !1;
976
976
  }
977
- const g = a(m).join(":"), S = y ? g + lr : g, O = S + v;
978
- if (o.includes(O))
977
+ const g = a(m).join(":"), S = y ? g + lr : g, $ = S + v;
978
+ if (o.includes($))
979
979
  continue;
980
- o.push(O);
981
- const F = n(v, N);
982
- for (let Z = 0; Z < F.length; ++Z) {
983
- const X = F[Z];
984
- o.push(S + X);
980
+ o.push($);
981
+ const F = n(v, _);
982
+ for (let U = 0; U < F.length; ++U) {
983
+ const q = F[U];
984
+ o.push(S + q);
985
985
  }
986
986
  c = u + (c.length > 0 ? " " + c : c);
987
987
  }
@@ -1033,7 +1033,7 @@ const ge = (r) => {
1033
1033
  const s = Os.exec(r);
1034
1034
  return s ? s[1] ? e(s[1]) : t : !1;
1035
1035
  }, Vs = (r) => r === "position" || r === "percentage", $s = (r) => r === "image" || r === "url", Ms = (r) => r === "length" || r === "size" || r === "bg-size", Ds = (r) => r === "length", La = (r) => r === "number", Pa = (r) => r === "family-name", Is = (r) => r === "shadow", za = () => {
1036
- const r = ge("color"), e = ge("font"), t = ge("text"), s = ge("font-weight"), n = ge("tracking"), a = ge("leading"), o = ge("breakpoint"), l = ge("container"), c = ge("spacing"), d = ge("radius"), u = ge("shadow"), p = ge("inset-shadow"), m = ge("text-shadow"), y = ge("drop-shadow"), x = ge("blur"), w = ge("perspective"), N = ge("aspect"), v = ge("ease"), g = ge("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
1036
+ const r = ge("color"), e = ge("font"), t = ge("text"), s = ge("font-weight"), n = ge("tracking"), a = ge("leading"), o = ge("breakpoint"), l = ge("container"), c = ge("spacing"), d = ge("radius"), u = ge("shadow"), p = ge("inset-shadow"), m = ge("text-shadow"), y = ge("drop-shadow"), x = ge("blur"), w = ge("perspective"), _ = ge("aspect"), v = ge("ease"), g = ge("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
1037
1037
  "center",
1038
1038
  "top",
1039
1039
  "bottom",
@@ -1051,9 +1051,9 @@ const ge = (r) => {
1051
1051
  "bottom-left",
1052
1052
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1053
1053
  "left-bottom"
1054
- ], F = () => [...O(), z, P], Z = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", "contain", "none"], _ = () => [z, P, c], M = () => [rt, "full", "auto", ..._()], J = () => [qe, "none", "subgrid", z, P], U = () => ["auto", {
1054
+ ], F = () => [...$(), z, P], U = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], N = () => [z, P, c], O = () => [rt, "full", "auto", ...N()], J = () => [qe, "none", "subgrid", z, P], B = () => ["auto", {
1055
1055
  span: ["full", qe, z, P]
1056
- }, qe, z, P], $ = () => [qe, "auto", z, P], G = () => ["auto", "min", "max", "fr", z, P], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ..._()], A = () => [rt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ..._()], h = () => [r, z, P], B = () => [...O(), Br, Ur, {
1056
+ }, qe, z, P], M = () => [qe, "auto", z, P], Y = () => ["auto", "min", "max", "fr", z, P], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...N()], A = () => [rt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...N()], h = () => [r, z, P], Z = () => [...$(), Br, Ur, {
1057
1057
  position: [z, P]
1058
1058
  }], j = () => ["no-repeat", {
1059
1059
  repeat: ["", "x", "y", "space", "round"]
@@ -1074,7 +1074,7 @@ const ge = (r) => {
1074
1074
  x,
1075
1075
  z,
1076
1076
  P
1077
- ], xe = () => ["none", ee, z, P], ye = () => ["none", ee, z, P], te = () => [ee, z, P], fe = () => [rt, "full", ..._()];
1077
+ ], xe = () => ["none", ee, z, P], ye = () => ["none", ee, z, P], te = () => [ee, z, P], fe = () => [rt, "full", ...N()];
1078
1078
  return {
1079
1079
  cacheSize: 500,
1080
1080
  theme: {
@@ -1107,7 +1107,7 @@ const ge = (r) => {
1107
1107
  * @see https://tailwindcss.com/docs/aspect-ratio
1108
1108
  */
1109
1109
  aspect: [{
1110
- aspect: ["auto", "square", rt, P, z, N]
1110
+ aspect: ["auto", "square", rt, P, z, _]
1111
1111
  }],
1112
1112
  /**
1113
1113
  * Container
@@ -1205,42 +1205,42 @@ const ge = (r) => {
1205
1205
  * @see https://tailwindcss.com/docs/overflow
1206
1206
  */
1207
1207
  overflow: [{
1208
- overflow: Z()
1208
+ overflow: U()
1209
1209
  }],
1210
1210
  /**
1211
1211
  * Overflow X
1212
1212
  * @see https://tailwindcss.com/docs/overflow
1213
1213
  */
1214
1214
  "overflow-x": [{
1215
- "overflow-x": Z()
1215
+ "overflow-x": U()
1216
1216
  }],
1217
1217
  /**
1218
1218
  * Overflow Y
1219
1219
  * @see https://tailwindcss.com/docs/overflow
1220
1220
  */
1221
1221
  "overflow-y": [{
1222
- "overflow-y": Z()
1222
+ "overflow-y": U()
1223
1223
  }],
1224
1224
  /**
1225
1225
  * Overscroll Behavior
1226
1226
  * @see https://tailwindcss.com/docs/overscroll-behavior
1227
1227
  */
1228
1228
  overscroll: [{
1229
- overscroll: X()
1229
+ overscroll: q()
1230
1230
  }],
1231
1231
  /**
1232
1232
  * Overscroll Behavior X
1233
1233
  * @see https://tailwindcss.com/docs/overscroll-behavior
1234
1234
  */
1235
1235
  "overscroll-x": [{
1236
- "overscroll-x": X()
1236
+ "overscroll-x": q()
1237
1237
  }],
1238
1238
  /**
1239
1239
  * Overscroll Behavior Y
1240
1240
  * @see https://tailwindcss.com/docs/overscroll-behavior
1241
1241
  */
1242
1242
  "overscroll-y": [{
1243
- "overscroll-y": X()
1243
+ "overscroll-y": q()
1244
1244
  }],
1245
1245
  /**
1246
1246
  * Position
@@ -1252,63 +1252,63 @@ const ge = (r) => {
1252
1252
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1253
1253
  */
1254
1254
  inset: [{
1255
- inset: M()
1255
+ inset: O()
1256
1256
  }],
1257
1257
  /**
1258
1258
  * Right / Left
1259
1259
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1260
1260
  */
1261
1261
  "inset-x": [{
1262
- "inset-x": M()
1262
+ "inset-x": O()
1263
1263
  }],
1264
1264
  /**
1265
1265
  * Top / Bottom
1266
1266
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1267
1267
  */
1268
1268
  "inset-y": [{
1269
- "inset-y": M()
1269
+ "inset-y": O()
1270
1270
  }],
1271
1271
  /**
1272
1272
  * Start
1273
1273
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1274
1274
  */
1275
1275
  start: [{
1276
- start: M()
1276
+ start: O()
1277
1277
  }],
1278
1278
  /**
1279
1279
  * End
1280
1280
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1281
1281
  */
1282
1282
  end: [{
1283
- end: M()
1283
+ end: O()
1284
1284
  }],
1285
1285
  /**
1286
1286
  * Top
1287
1287
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1288
1288
  */
1289
1289
  top: [{
1290
- top: M()
1290
+ top: O()
1291
1291
  }],
1292
1292
  /**
1293
1293
  * Right
1294
1294
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1295
1295
  */
1296
1296
  right: [{
1297
- right: M()
1297
+ right: O()
1298
1298
  }],
1299
1299
  /**
1300
1300
  * Bottom
1301
1301
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1302
1302
  */
1303
1303
  bottom: [{
1304
- bottom: M()
1304
+ bottom: O()
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Left
1308
1308
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1309
1309
  */
1310
1310
  left: [{
1311
- left: M()
1311
+ left: O()
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Visibility
@@ -1330,7 +1330,7 @@ const ge = (r) => {
1330
1330
  * @see https://tailwindcss.com/docs/flex-basis
1331
1331
  */
1332
1332
  basis: [{
1333
- basis: [rt, "full", "auto", l, ..._()]
1333
+ basis: [rt, "full", "auto", l, ...N()]
1334
1334
  }],
1335
1335
  /**
1336
1336
  * Flex Direction
@@ -1386,21 +1386,21 @@ const ge = (r) => {
1386
1386
  * @see https://tailwindcss.com/docs/grid-column
1387
1387
  */
1388
1388
  "col-start-end": [{
1389
- col: U()
1389
+ col: B()
1390
1390
  }],
1391
1391
  /**
1392
1392
  * Grid Column Start
1393
1393
  * @see https://tailwindcss.com/docs/grid-column
1394
1394
  */
1395
1395
  "col-start": [{
1396
- "col-start": $()
1396
+ "col-start": M()
1397
1397
  }],
1398
1398
  /**
1399
1399
  * Grid Column End
1400
1400
  * @see https://tailwindcss.com/docs/grid-column
1401
1401
  */
1402
1402
  "col-end": [{
1403
- "col-end": $()
1403
+ "col-end": M()
1404
1404
  }],
1405
1405
  /**
1406
1406
  * Grid Template Rows
@@ -1414,21 +1414,21 @@ const ge = (r) => {
1414
1414
  * @see https://tailwindcss.com/docs/grid-row
1415
1415
  */
1416
1416
  "row-start-end": [{
1417
- row: U()
1417
+ row: B()
1418
1418
  }],
1419
1419
  /**
1420
1420
  * Grid Row Start
1421
1421
  * @see https://tailwindcss.com/docs/grid-row
1422
1422
  */
1423
1423
  "row-start": [{
1424
- "row-start": $()
1424
+ "row-start": M()
1425
1425
  }],
1426
1426
  /**
1427
1427
  * Grid Row End
1428
1428
  * @see https://tailwindcss.com/docs/grid-row
1429
1429
  */
1430
1430
  "row-end": [{
1431
- "row-end": $()
1431
+ "row-end": M()
1432
1432
  }],
1433
1433
  /**
1434
1434
  * Grid Auto Flow
@@ -1442,35 +1442,35 @@ const ge = (r) => {
1442
1442
  * @see https://tailwindcss.com/docs/grid-auto-columns
1443
1443
  */
1444
1444
  "auto-cols": [{
1445
- "auto-cols": G()
1445
+ "auto-cols": Y()
1446
1446
  }],
1447
1447
  /**
1448
1448
  * Grid Auto Rows
1449
1449
  * @see https://tailwindcss.com/docs/grid-auto-rows
1450
1450
  */
1451
1451
  "auto-rows": [{
1452
- "auto-rows": G()
1452
+ "auto-rows": Y()
1453
1453
  }],
1454
1454
  /**
1455
1455
  * Gap
1456
1456
  * @see https://tailwindcss.com/docs/gap
1457
1457
  */
1458
1458
  gap: [{
1459
- gap: _()
1459
+ gap: N()
1460
1460
  }],
1461
1461
  /**
1462
1462
  * Gap X
1463
1463
  * @see https://tailwindcss.com/docs/gap
1464
1464
  */
1465
1465
  "gap-x": [{
1466
- "gap-x": _()
1466
+ "gap-x": N()
1467
1467
  }],
1468
1468
  /**
1469
1469
  * Gap Y
1470
1470
  * @see https://tailwindcss.com/docs/gap
1471
1471
  */
1472
1472
  "gap-y": [{
1473
- "gap-y": _()
1473
+ "gap-y": N()
1474
1474
  }],
1475
1475
  /**
1476
1476
  * Justify Content
@@ -1545,133 +1545,133 @@ const ge = (r) => {
1545
1545
  * @see https://tailwindcss.com/docs/padding
1546
1546
  */
1547
1547
  p: [{
1548
- p: _()
1548
+ p: N()
1549
1549
  }],
1550
1550
  /**
1551
1551
  * Padding X
1552
1552
  * @see https://tailwindcss.com/docs/padding
1553
1553
  */
1554
1554
  px: [{
1555
- px: _()
1555
+ px: N()
1556
1556
  }],
1557
1557
  /**
1558
1558
  * Padding Y
1559
1559
  * @see https://tailwindcss.com/docs/padding
1560
1560
  */
1561
1561
  py: [{
1562
- py: _()
1562
+ py: N()
1563
1563
  }],
1564
1564
  /**
1565
1565
  * Padding Start
1566
1566
  * @see https://tailwindcss.com/docs/padding
1567
1567
  */
1568
1568
  ps: [{
1569
- ps: _()
1569
+ ps: N()
1570
1570
  }],
1571
1571
  /**
1572
1572
  * Padding End
1573
1573
  * @see https://tailwindcss.com/docs/padding
1574
1574
  */
1575
1575
  pe: [{
1576
- pe: _()
1576
+ pe: N()
1577
1577
  }],
1578
1578
  /**
1579
1579
  * Padding Top
1580
1580
  * @see https://tailwindcss.com/docs/padding
1581
1581
  */
1582
1582
  pt: [{
1583
- pt: _()
1583
+ pt: N()
1584
1584
  }],
1585
1585
  /**
1586
1586
  * Padding Right
1587
1587
  * @see https://tailwindcss.com/docs/padding
1588
1588
  */
1589
1589
  pr: [{
1590
- pr: _()
1590
+ pr: N()
1591
1591
  }],
1592
1592
  /**
1593
1593
  * Padding Bottom
1594
1594
  * @see https://tailwindcss.com/docs/padding
1595
1595
  */
1596
1596
  pb: [{
1597
- pb: _()
1597
+ pb: N()
1598
1598
  }],
1599
1599
  /**
1600
1600
  * Padding Left
1601
1601
  * @see https://tailwindcss.com/docs/padding
1602
1602
  */
1603
1603
  pl: [{
1604
- pl: _()
1604
+ pl: N()
1605
1605
  }],
1606
1606
  /**
1607
1607
  * Margin
1608
1608
  * @see https://tailwindcss.com/docs/margin
1609
1609
  */
1610
1610
  m: [{
1611
- m: Y()
1611
+ m: H()
1612
1612
  }],
1613
1613
  /**
1614
1614
  * Margin X
1615
1615
  * @see https://tailwindcss.com/docs/margin
1616
1616
  */
1617
1617
  mx: [{
1618
- mx: Y()
1618
+ mx: H()
1619
1619
  }],
1620
1620
  /**
1621
1621
  * Margin Y
1622
1622
  * @see https://tailwindcss.com/docs/margin
1623
1623
  */
1624
1624
  my: [{
1625
- my: Y()
1625
+ my: H()
1626
1626
  }],
1627
1627
  /**
1628
1628
  * Margin Start
1629
1629
  * @see https://tailwindcss.com/docs/margin
1630
1630
  */
1631
1631
  ms: [{
1632
- ms: Y()
1632
+ ms: H()
1633
1633
  }],
1634
1634
  /**
1635
1635
  * Margin End
1636
1636
  * @see https://tailwindcss.com/docs/margin
1637
1637
  */
1638
1638
  me: [{
1639
- me: Y()
1639
+ me: H()
1640
1640
  }],
1641
1641
  /**
1642
1642
  * Margin Top
1643
1643
  * @see https://tailwindcss.com/docs/margin
1644
1644
  */
1645
1645
  mt: [{
1646
- mt: Y()
1646
+ mt: H()
1647
1647
  }],
1648
1648
  /**
1649
1649
  * Margin Right
1650
1650
  * @see https://tailwindcss.com/docs/margin
1651
1651
  */
1652
1652
  mr: [{
1653
- mr: Y()
1653
+ mr: H()
1654
1654
  }],
1655
1655
  /**
1656
1656
  * Margin Bottom
1657
1657
  * @see https://tailwindcss.com/docs/margin
1658
1658
  */
1659
1659
  mb: [{
1660
- mb: Y()
1660
+ mb: H()
1661
1661
  }],
1662
1662
  /**
1663
1663
  * Margin Left
1664
1664
  * @see https://tailwindcss.com/docs/margin
1665
1665
  */
1666
1666
  ml: [{
1667
- ml: Y()
1667
+ ml: H()
1668
1668
  }],
1669
1669
  /**
1670
1670
  * Space Between X
1671
1671
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1672
1672
  */
1673
1673
  "space-x": [{
1674
- "space-x": _()
1674
+ "space-x": N()
1675
1675
  }],
1676
1676
  /**
1677
1677
  * Space Between X Reverse
@@ -1683,7 +1683,7 @@ const ge = (r) => {
1683
1683
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1684
1684
  */
1685
1685
  "space-y": [{
1686
- "space-y": _()
1686
+ "space-y": N()
1687
1687
  }],
1688
1688
  /**
1689
1689
  * Space Between Y Reverse
@@ -1852,7 +1852,7 @@ const ge = (r) => {
1852
1852
  leading: [
1853
1853
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1854
1854
  a,
1855
- ..._()
1855
+ ...N()
1856
1856
  ]
1857
1857
  }],
1858
1858
  /**
@@ -1953,7 +1953,7 @@ const ge = (r) => {
1953
1953
  * @see https://tailwindcss.com/docs/text-indent
1954
1954
  */
1955
1955
  indent: [{
1956
- indent: _()
1956
+ indent: N()
1957
1957
  }],
1958
1958
  /**
1959
1959
  * Vertical Alignment
@@ -2026,7 +2026,7 @@ const ge = (r) => {
2026
2026
  * @see https://tailwindcss.com/docs/background-position
2027
2027
  */
2028
2028
  "bg-position": [{
2029
- bg: B()
2029
+ bg: Z()
2030
2030
  }],
2031
2031
  /**
2032
2032
  * Background Repeat
@@ -2667,7 +2667,7 @@ const ge = (r) => {
2667
2667
  }]
2668
2668
  }],
2669
2669
  "mask-image-radial-pos": [{
2670
- "mask-radial-at": O()
2670
+ "mask-radial-at": $()
2671
2671
  }],
2672
2672
  "mask-image-conic-pos": [{
2673
2673
  "mask-conic": [ee]
@@ -2703,7 +2703,7 @@ const ge = (r) => {
2703
2703
  * @see https://tailwindcss.com/docs/mask-position
2704
2704
  */
2705
2705
  "mask-position": [{
2706
- mask: B()
2706
+ mask: Z()
2707
2707
  }],
2708
2708
  /**
2709
2709
  * Mask Repeat
@@ -2917,21 +2917,21 @@ const ge = (r) => {
2917
2917
  * @see https://tailwindcss.com/docs/border-spacing
2918
2918
  */
2919
2919
  "border-spacing": [{
2920
- "border-spacing": _()
2920
+ "border-spacing": N()
2921
2921
  }],
2922
2922
  /**
2923
2923
  * Border Spacing X
2924
2924
  * @see https://tailwindcss.com/docs/border-spacing
2925
2925
  */
2926
2926
  "border-spacing-x": [{
2927
- "border-spacing-x": _()
2927
+ "border-spacing-x": N()
2928
2928
  }],
2929
2929
  /**
2930
2930
  * Border Spacing Y
2931
2931
  * @see https://tailwindcss.com/docs/border-spacing
2932
2932
  */
2933
2933
  "border-spacing-y": [{
2934
- "border-spacing-y": _()
2934
+ "border-spacing-y": N()
2935
2935
  }],
2936
2936
  /**
2937
2937
  * Table Layout
@@ -3223,126 +3223,126 @@ const ge = (r) => {
3223
3223
  * @see https://tailwindcss.com/docs/scroll-margin
3224
3224
  */
3225
3225
  "scroll-m": [{
3226
- "scroll-m": _()
3226
+ "scroll-m": N()
3227
3227
  }],
3228
3228
  /**
3229
3229
  * Scroll Margin X
3230
3230
  * @see https://tailwindcss.com/docs/scroll-margin
3231
3231
  */
3232
3232
  "scroll-mx": [{
3233
- "scroll-mx": _()
3233
+ "scroll-mx": N()
3234
3234
  }],
3235
3235
  /**
3236
3236
  * Scroll Margin Y
3237
3237
  * @see https://tailwindcss.com/docs/scroll-margin
3238
3238
  */
3239
3239
  "scroll-my": [{
3240
- "scroll-my": _()
3240
+ "scroll-my": N()
3241
3241
  }],
3242
3242
  /**
3243
3243
  * Scroll Margin Start
3244
3244
  * @see https://tailwindcss.com/docs/scroll-margin
3245
3245
  */
3246
3246
  "scroll-ms": [{
3247
- "scroll-ms": _()
3247
+ "scroll-ms": N()
3248
3248
  }],
3249
3249
  /**
3250
3250
  * Scroll Margin End
3251
3251
  * @see https://tailwindcss.com/docs/scroll-margin
3252
3252
  */
3253
3253
  "scroll-me": [{
3254
- "scroll-me": _()
3254
+ "scroll-me": N()
3255
3255
  }],
3256
3256
  /**
3257
3257
  * Scroll Margin Top
3258
3258
  * @see https://tailwindcss.com/docs/scroll-margin
3259
3259
  */
3260
3260
  "scroll-mt": [{
3261
- "scroll-mt": _()
3261
+ "scroll-mt": N()
3262
3262
  }],
3263
3263
  /**
3264
3264
  * Scroll Margin Right
3265
3265
  * @see https://tailwindcss.com/docs/scroll-margin
3266
3266
  */
3267
3267
  "scroll-mr": [{
3268
- "scroll-mr": _()
3268
+ "scroll-mr": N()
3269
3269
  }],
3270
3270
  /**
3271
3271
  * Scroll Margin Bottom
3272
3272
  * @see https://tailwindcss.com/docs/scroll-margin
3273
3273
  */
3274
3274
  "scroll-mb": [{
3275
- "scroll-mb": _()
3275
+ "scroll-mb": N()
3276
3276
  }],
3277
3277
  /**
3278
3278
  * Scroll Margin Left
3279
3279
  * @see https://tailwindcss.com/docs/scroll-margin
3280
3280
  */
3281
3281
  "scroll-ml": [{
3282
- "scroll-ml": _()
3282
+ "scroll-ml": N()
3283
3283
  }],
3284
3284
  /**
3285
3285
  * Scroll Padding
3286
3286
  * @see https://tailwindcss.com/docs/scroll-padding
3287
3287
  */
3288
3288
  "scroll-p": [{
3289
- "scroll-p": _()
3289
+ "scroll-p": N()
3290
3290
  }],
3291
3291
  /**
3292
3292
  * Scroll Padding X
3293
3293
  * @see https://tailwindcss.com/docs/scroll-padding
3294
3294
  */
3295
3295
  "scroll-px": [{
3296
- "scroll-px": _()
3296
+ "scroll-px": N()
3297
3297
  }],
3298
3298
  /**
3299
3299
  * Scroll Padding Y
3300
3300
  * @see https://tailwindcss.com/docs/scroll-padding
3301
3301
  */
3302
3302
  "scroll-py": [{
3303
- "scroll-py": _()
3303
+ "scroll-py": N()
3304
3304
  }],
3305
3305
  /**
3306
3306
  * Scroll Padding Start
3307
3307
  * @see https://tailwindcss.com/docs/scroll-padding
3308
3308
  */
3309
3309
  "scroll-ps": [{
3310
- "scroll-ps": _()
3310
+ "scroll-ps": N()
3311
3311
  }],
3312
3312
  /**
3313
3313
  * Scroll Padding End
3314
3314
  * @see https://tailwindcss.com/docs/scroll-padding
3315
3315
  */
3316
3316
  "scroll-pe": [{
3317
- "scroll-pe": _()
3317
+ "scroll-pe": N()
3318
3318
  }],
3319
3319
  /**
3320
3320
  * Scroll Padding Top
3321
3321
  * @see https://tailwindcss.com/docs/scroll-padding
3322
3322
  */
3323
3323
  "scroll-pt": [{
3324
- "scroll-pt": _()
3324
+ "scroll-pt": N()
3325
3325
  }],
3326
3326
  /**
3327
3327
  * Scroll Padding Right
3328
3328
  * @see https://tailwindcss.com/docs/scroll-padding
3329
3329
  */
3330
3330
  "scroll-pr": [{
3331
- "scroll-pr": _()
3331
+ "scroll-pr": N()
3332
3332
  }],
3333
3333
  /**
3334
3334
  * Scroll Padding Bottom
3335
3335
  * @see https://tailwindcss.com/docs/scroll-padding
3336
3336
  */
3337
3337
  "scroll-pb": [{
3338
- "scroll-pb": _()
3338
+ "scroll-pb": N()
3339
3339
  }],
3340
3340
  /**
3341
3341
  * Scroll Padding Left
3342
3342
  * @see https://tailwindcss.com/docs/scroll-padding
3343
3343
  */
3344
3344
  "scroll-pl": [{
3345
- "scroll-pl": _()
3345
+ "scroll-pl": N()
3346
3346
  }],
3347
3347
  /**
3348
3348
  * Scroll Snap Align
@@ -3550,7 +3550,7 @@ const It = {
3550
3550
  BLUR: "blur",
3551
3551
  FOCUS_OUT: "focusout",
3552
3552
  CHANGE: "change"
3553
- }, Oe = {
3553
+ }, Re = {
3554
3554
  onBlur: "onBlur",
3555
3555
  onChange: "onChange",
3556
3556
  onSubmit: "onSubmit",
@@ -3576,12 +3576,12 @@ var Zs = (r, e, t, s = !0) => {
3576
3576
  Object.defineProperty(n, a, {
3577
3577
  get: () => {
3578
3578
  const o = a;
3579
- return e._proxyFormState[o] !== Oe.all && (e._proxyFormState[o] = !s || Oe.all), t && (t[o] = !0), r[o];
3579
+ return e._proxyFormState[o] !== Re.all && (e._proxyFormState[o] = !s || Re.all), t && (t[o] = !0), r[o];
3580
3580
  }
3581
3581
  });
3582
3582
  return n;
3583
3583
  };
3584
- const _r = typeof window < "u" ? q.useLayoutEffect : q.useEffect;
3584
+ const _r = typeof window < "u" ? G.useLayoutEffect : G.useEffect;
3585
3585
  function qa(r) {
3586
3586
  const e = wt(), { control: t = e.control, disabled: s, name: n, exact: a } = r || {}, [o, l] = ne.useState(t._formState), c = ne.useRef({
3587
3587
  isDirty: !1,
@@ -3654,9 +3654,9 @@ function qs(r) {
3654
3654
  enumerable: !0,
3655
3655
  get: () => V(c.errors, t)
3656
3656
  }
3657
- }), [c, t]), m = ne.useCallback((N) => u.current.onChange({
3657
+ }), [c, t]), m = ne.useCallback((_) => u.current.onChange({
3658
3658
  target: {
3659
- value: Ps(N),
3659
+ value: Ps(_),
3660
3660
  name: t
3661
3661
  },
3662
3662
  type: It.CHANGE
@@ -3666,13 +3666,13 @@ function qs(r) {
3666
3666
  name: t
3667
3667
  },
3668
3668
  type: It.BLUR
3669
- }), [t, n._formValues]), x = ne.useCallback((N) => {
3669
+ }), [t, n._formValues]), x = ne.useCallback((_) => {
3670
3670
  const v = V(n._fields, t);
3671
- v && N && (v._f.ref = {
3672
- focus: () => N.focus(),
3673
- select: () => N.select(),
3674
- setCustomValidity: (g) => N.setCustomValidity(g),
3675
- reportValidity: () => N.reportValidity()
3671
+ v && _ && (v._f.ref = {
3672
+ focus: () => _.focus(),
3673
+ select: () => _.select(),
3674
+ setCustomValidity: (g) => _.setCustomValidity(g),
3675
+ reportValidity: () => _.reportValidity()
3676
3676
  });
3677
3677
  }, [n._fields, t]), w = ne.useMemo(() => ({
3678
3678
  name: t,
@@ -3683,21 +3683,21 @@ function qs(r) {
3683
3683
  ref: x
3684
3684
  }), [t, s, c.disabled, m, y, x, l]);
3685
3685
  return ne.useEffect(() => {
3686
- const N = n._options.shouldUnregister || a;
3686
+ const _ = n._options.shouldUnregister || a;
3687
3687
  n.register(t, {
3688
3688
  ...d.current.rules,
3689
3689
  ...Te(d.current.disabled) ? { disabled: d.current.disabled } : {}
3690
3690
  });
3691
3691
  const v = (g, S) => {
3692
- const O = V(n._fields, g);
3693
- O && O._f && (O._f.mount = S);
3692
+ const $ = V(n._fields, g);
3693
+ $ && $._f && ($._f.mount = S);
3694
3694
  };
3695
- if (v(t, !0), N) {
3695
+ if (v(t, !0), _) {
3696
3696
  const g = we(V(n._options.defaultValues, t));
3697
3697
  ie(n._defaultValues, t, g), me(V(n._formValues, t)) && ie(n._formValues, t, g);
3698
3698
  }
3699
3699
  return !o && n.register(t), () => {
3700
- (o ? N && !n._state.action : N) ? n.unregister(t) : v(t, !1);
3700
+ (o ? _ && !n._state.action : _) ? n.unregister(t) : v(t, !1);
3701
3701
  };
3702
3702
  }, [t, n, o, a]), ne.useEffect(() => {
3703
3703
  n._setDisabledField({
@@ -3710,7 +3710,7 @@ function qs(r) {
3710
3710
  fieldState: p
3711
3711
  }), [w, c, p]);
3712
3712
  }
3713
- const $e = (r) => r.render(qs(r));
3713
+ const Oe = (r) => r.render(qs(r));
3714
3714
  var Gs = (r, e, t, s, n) => e ? {
3715
3715
  ...t[r],
3716
3716
  types: {
@@ -3757,7 +3757,7 @@ function Ye(r, e) {
3757
3757
  }
3758
3758
  return !0;
3759
3759
  }
3760
- var je = (r) => pe(r) && !Object.keys(r).length, Sr = (r) => r.type === "file", Re = (r) => typeof r == "function", Lt = (r) => {
3760
+ var je = (r) => pe(r) && !Object.keys(r).length, Sr = (r) => r.type === "file", Ve = (r) => typeof r == "function", Lt = (r) => {
3761
3761
  if (!Er)
3762
3762
  return !1;
3763
3763
  const e = r ? r.ownerDocument : 0;
@@ -3782,7 +3782,7 @@ function be(r, e) {
3782
3782
  }
3783
3783
  var Hs = (r) => {
3784
3784
  for (const e in r)
3785
- if (Re(r[e]))
3785
+ if (Ve(r[e]))
3786
3786
  return !0;
3787
3787
  return !1;
3788
3788
  };
@@ -3843,14 +3843,14 @@ var Xa = (r, e, t, s) => {
3843
3843
  shouldUseNativeValidation: s
3844
3844
  };
3845
3845
  }, zt = (r) => r instanceof RegExp, xt = (r) => me(r) ? r : zt(r) ? r.source : pe(r) ? zt(r.value) ? r.value.source : r.value : r, Hr = (r) => ({
3846
- isOnSubmit: !r || r === Oe.onSubmit,
3847
- isOnBlur: r === Oe.onBlur,
3848
- isOnChange: r === Oe.onChange,
3849
- isOnAll: r === Oe.all,
3850
- isOnTouch: r === Oe.onTouched
3846
+ isOnSubmit: !r || r === Re.onSubmit,
3847
+ isOnBlur: r === Re.onBlur,
3848
+ isOnChange: r === Re.onChange,
3849
+ isOnAll: r === Re.all,
3850
+ isOnTouch: r === Re.onTouched
3851
3851
  });
3852
3852
  const Xr = "AsyncFunction";
3853
- var Ka = (r) => !!r && !!r.validate && !!(Re(r.validate) && r.validate.constructor.name === Xr || pe(r.validate) && Object.values(r.validate).find((e) => e.constructor.name === Xr)), Ja = (r) => r.mount && (r.required || r.min || r.max || r.maxLength || r.minLength || r.pattern || r.validate), Kr = (r, e, t) => !t && (e.watchAll || e.watch.has(r) || [...e.watch].some((s) => r.startsWith(s) && /^\.\w+/.test(r.slice(s.length))));
3853
+ var Ka = (r) => !!r && !!r.validate && !!(Ve(r.validate) && r.validate.constructor.name === Xr || pe(r.validate) && Object.values(r.validate).find((e) => e.constructor.name === Xr)), Ja = (r) => r.mount && (r.required || r.min || r.max || r.maxLength || r.minLength || r.pattern || r.validate), Kr = (r, e, t) => !t && (e.watchAll || e.watch.has(r) || [...e.watch].some((s) => r.startsWith(s) && /^\.\w+/.test(r.slice(s.length))));
3854
3854
  const yt = (r, e, t, s) => {
3855
3855
  for (const n of t || Object.keys(r)) {
3856
3856
  const a = V(r, n);
@@ -3894,7 +3894,7 @@ function Jr(r, e, t) {
3894
3894
  var Qa = (r, e, t, s) => {
3895
3895
  t(r);
3896
3896
  const { name: n, ...a } = r;
3897
- return je(a) || Object.keys(a).length >= Object.keys(e).length || Object.keys(a).find((o) => e[o] === (!s || Oe.all));
3897
+ return je(a) || Object.keys(a).length >= Object.keys(e).length || Object.keys(a).find((o) => e[o] === (!s || Re.all));
3898
3898
  }, eo = (r, e, t) => !r || !e || r === e || bt(r).some((s) => s && (t ? s === e : s.startsWith(e) || e.startsWith(s))), to = (r, e, t, s, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(e || r) : (t ? s.isOnBlur : n.isOnBlur) ? !r : (t ? s.isOnChange : n.isOnChange) ? r : !0, ro = (r, e) => !qt(V(r, e)).length && be(r, e), so = (r, e, t) => {
3899
3899
  const s = bt(V(r, t));
3900
3900
  return ie(s, "root", e[t]), ie(r, t, s), r;
@@ -3911,89 +3911,89 @@ var st = (r) => pe(r) && !zt(r) ? r : {
3911
3911
  value: r,
3912
3912
  message: ""
3913
3913
  }, es = async (r, e, t, s, n, a) => {
3914
- const { ref: o, refs: l, required: c, maxLength: d, minLength: u, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: N, mount: v } = r._f, g = V(t, w);
3914
+ const { ref: o, refs: l, required: c, maxLength: d, minLength: u, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: _, mount: v } = r._f, g = V(t, w);
3915
3915
  if (!v || e.has(w))
3916
3916
  return {};
3917
- const S = l ? l[0] : o, O = ($) => {
3918
- n && S.reportValidity && (S.setCustomValidity(Te($) ? "" : $ || ""), S.reportValidity());
3919
- }, F = {}, Z = Tr(o), X = vt(o), _ = Z || X, M = (N || Sr(o)) && me(o.value) && me(g) || Lt(o) && o.value === "" || g === "" || Array.isArray(g) && !g.length, J = Gs.bind(null, w, s, F), U = ($, G, K, W = Pe.maxLength, Y = Pe.minLength) => {
3920
- const A = $ ? G : K;
3917
+ const S = l ? l[0] : o, $ = (M) => {
3918
+ n && S.reportValidity && (S.setCustomValidity(Te(M) ? "" : M || ""), S.reportValidity());
3919
+ }, F = {}, U = Tr(o), q = vt(o), N = U || q, O = (_ || Sr(o)) && me(o.value) && me(g) || Lt(o) && o.value === "" || g === "" || Array.isArray(g) && !g.length, J = Gs.bind(null, w, s, F), B = (M, Y, K, W = Pe.maxLength, H = Pe.minLength) => {
3920
+ const A = M ? Y : K;
3921
3921
  F[w] = {
3922
- type: $ ? W : Y,
3922
+ type: M ? W : H,
3923
3923
  message: A,
3924
3924
  ref: o,
3925
- ...J($ ? W : Y, A)
3925
+ ...J(M ? W : H, A)
3926
3926
  };
3927
3927
  };
3928
- if (a ? !Array.isArray(g) || !g.length : c && (!_ && (M || Ee(g)) || Te(g) && !g || X && !Ks(l).isValid || Z && !Qs(l).isValid)) {
3929
- const { value: $, message: G } = Vt(c) ? { value: !!c, message: c } : st(c);
3930
- if ($ && (F[w] = {
3928
+ if (a ? !Array.isArray(g) || !g.length : c && (!N && (O || Ee(g)) || Te(g) && !g || q && !Ks(l).isValid || U && !Qs(l).isValid)) {
3929
+ const { value: M, message: Y } = Vt(c) ? { value: !!c, message: c } : st(c);
3930
+ if (M && (F[w] = {
3931
3931
  type: Pe.required,
3932
- message: G,
3932
+ message: Y,
3933
3933
  ref: S,
3934
- ...J(Pe.required, G)
3934
+ ...J(Pe.required, Y)
3935
3935
  }, !s))
3936
- return O(G), F;
3936
+ return $(Y), F;
3937
3937
  }
3938
- if (!M && (!Ee(p) || !Ee(m))) {
3939
- let $, G;
3938
+ if (!O && (!Ee(p) || !Ee(m))) {
3939
+ let M, Y;
3940
3940
  const K = st(m), W = st(p);
3941
3941
  if (!Ee(g) && !isNaN(g)) {
3942
- const Y = o.valueAsNumber || g && +g;
3943
- Ee(K.value) || ($ = Y > K.value), Ee(W.value) || (G = Y < W.value);
3942
+ const H = o.valueAsNumber || g && +g;
3943
+ Ee(K.value) || (M = H > K.value), Ee(W.value) || (Y = H < W.value);
3944
3944
  } else {
3945
- const Y = o.valueAsDate || new Date(g), A = (j) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + j), h = o.type == "time", B = o.type == "week";
3946
- Ie(K.value) && g && ($ = h ? A(g) > A(K.value) : B ? g > K.value : Y > new Date(K.value)), Ie(W.value) && g && (G = h ? A(g) < A(W.value) : B ? g < W.value : Y < new Date(W.value));
3945
+ const H = o.valueAsDate || new Date(g), A = (j) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + j), h = o.type == "time", Z = o.type == "week";
3946
+ Ie(K.value) && g && (M = h ? A(g) > A(K.value) : Z ? g > K.value : H > new Date(K.value)), Ie(W.value) && g && (Y = h ? A(g) < A(W.value) : Z ? g < W.value : H < new Date(W.value));
3947
3947
  }
3948
- if (($ || G) && (U(!!$, K.message, W.message, Pe.max, Pe.min), !s))
3949
- return O(F[w].message), F;
3948
+ if ((M || Y) && (B(!!M, K.message, W.message, Pe.max, Pe.min), !s))
3949
+ return $(F[w].message), F;
3950
3950
  }
3951
- if ((d || u) && !M && (Ie(g) || a && Array.isArray(g))) {
3952
- const $ = st(d), G = st(u), K = !Ee($.value) && g.length > +$.value, W = !Ee(G.value) && g.length < +G.value;
3953
- if ((K || W) && (U(K, $.message, G.message), !s))
3954
- return O(F[w].message), F;
3951
+ if ((d || u) && !O && (Ie(g) || a && Array.isArray(g))) {
3952
+ const M = st(d), Y = st(u), K = !Ee(M.value) && g.length > +M.value, W = !Ee(Y.value) && g.length < +Y.value;
3953
+ if ((K || W) && (B(K, M.message, Y.message), !s))
3954
+ return $(F[w].message), F;
3955
3955
  }
3956
- if (y && !M && Ie(g)) {
3957
- const { value: $, message: G } = st(y);
3958
- if (zt($) && !g.match($) && (F[w] = {
3956
+ if (y && !O && Ie(g)) {
3957
+ const { value: M, message: Y } = st(y);
3958
+ if (zt(M) && !g.match(M) && (F[w] = {
3959
3959
  type: Pe.pattern,
3960
- message: G,
3960
+ message: Y,
3961
3961
  ref: o,
3962
- ...J(Pe.pattern, G)
3962
+ ...J(Pe.pattern, Y)
3963
3963
  }, !s))
3964
- return O(G), F;
3964
+ return $(Y), F;
3965
3965
  }
3966
3966
  if (x) {
3967
- if (Re(x)) {
3968
- const $ = await x(g, t), G = Qr($, S);
3969
- if (G && (F[w] = {
3970
- ...G,
3971
- ...J(Pe.validate, G.message)
3967
+ if (Ve(x)) {
3968
+ const M = await x(g, t), Y = Qr(M, S);
3969
+ if (Y && (F[w] = {
3970
+ ...Y,
3971
+ ...J(Pe.validate, Y.message)
3972
3972
  }, !s))
3973
- return O(G.message), F;
3973
+ return $(Y.message), F;
3974
3974
  } else if (pe(x)) {
3975
- let $ = {};
3976
- for (const G in x) {
3977
- if (!je($) && !s)
3975
+ let M = {};
3976
+ for (const Y in x) {
3977
+ if (!je(M) && !s)
3978
3978
  break;
3979
- const K = Qr(await x[G](g, t), S, G);
3980
- K && ($ = {
3979
+ const K = Qr(await x[Y](g, t), S, Y);
3980
+ K && (M = {
3981
3981
  ...K,
3982
- ...J(G, K.message)
3983
- }, O(K.message), s && (F[w] = $));
3982
+ ...J(Y, K.message)
3983
+ }, $(K.message), s && (F[w] = M));
3984
3984
  }
3985
- if (!je($) && (F[w] = {
3985
+ if (!je(M) && (F[w] = {
3986
3986
  ref: S,
3987
- ...$
3987
+ ...M
3988
3988
  }, !s))
3989
3989
  return F;
3990
3990
  }
3991
3991
  }
3992
- return O(!0), F;
3992
+ return $(!0), F;
3993
3993
  };
3994
3994
  const no = {
3995
- mode: Oe.onSubmit,
3996
- reValidateMode: Oe.onChange,
3995
+ mode: Re.onSubmit,
3996
+ reValidateMode: Re.onChange,
3997
3997
  shouldFocusError: !0
3998
3998
  };
3999
3999
  function ao(r = {}) {
@@ -4004,7 +4004,7 @@ function ao(r = {}) {
4004
4004
  submitCount: 0,
4005
4005
  isDirty: !1,
4006
4006
  isReady: !1,
4007
- isLoading: Re(e.defaultValues),
4007
+ isLoading: Ve(e.defaultValues),
4008
4008
  isValidating: !1,
4009
4009
  isSubmitted: !1,
4010
4010
  isSubmitting: !1,
@@ -4043,16 +4043,16 @@ function ao(r = {}) {
4043
4043
  const m = {
4044
4044
  array: Zr(),
4045
4045
  state: Zr()
4046
- }, y = e.criteriaMode === Oe.all, x = (f) => (b) => {
4046
+ }, y = e.criteriaMode === Re.all, x = (f) => (b) => {
4047
4047
  clearTimeout(d), d = setTimeout(f, b);
4048
4048
  }, w = async (f) => {
4049
4049
  if (!e.disabled && (u.isValid || p.isValid || f)) {
4050
- const b = e.resolver ? je((await X()).errors) : await M(s, !0);
4050
+ const b = e.resolver ? je((await q()).errors) : await O(s, !0);
4051
4051
  b !== t.isValid && m.state.next({
4052
4052
  isValid: b
4053
4053
  });
4054
4054
  }
4055
- }, N = (f, b) => {
4055
+ }, _ = (f, b) => {
4056
4056
  !e.disabled && (u.isValidating || u.validatingFields || p.isValidating || p.validatingFields) && ((f || Array.from(l.mount)).forEach((E) => {
4057
4057
  E && (b ? ie(t.validatingFields, E, b) : be(t.validatingFields, E));
4058
4058
  }), m.state.next({
@@ -4062,20 +4062,20 @@ function ao(r = {}) {
4062
4062
  }, v = (f, b = [], E, L, R = !0, T = !0) => {
4063
4063
  if (L && E && !e.disabled) {
4064
4064
  if (o.action = !0, T && Array.isArray(V(s, f))) {
4065
- const H = E(V(s, f), L.argA, L.argB);
4066
- R && ie(s, f, H);
4065
+ const X = E(V(s, f), L.argA, L.argB);
4066
+ R && ie(s, f, X);
4067
4067
  }
4068
4068
  if (T && Array.isArray(V(t.errors, f))) {
4069
- const H = E(V(t.errors, f), L.argA, L.argB);
4070
- R && ie(t.errors, f, H), ro(t.errors, f);
4069
+ const X = E(V(t.errors, f), L.argA, L.argB);
4070
+ R && ie(t.errors, f, X), ro(t.errors, f);
4071
4071
  }
4072
4072
  if ((u.touchedFields || p.touchedFields) && T && Array.isArray(V(t.touchedFields, f))) {
4073
- const H = E(V(t.touchedFields, f), L.argA, L.argB);
4074
- R && ie(t.touchedFields, f, H);
4073
+ const X = E(V(t.touchedFields, f), L.argA, L.argB);
4074
+ R && ie(t.touchedFields, f, X);
4075
4075
  }
4076
4076
  (u.dirtyFields || p.dirtyFields) && (t.dirtyFields = pt(n, a)), m.state.next({
4077
4077
  name: f,
4078
- isDirty: U(f, b),
4078
+ isDirty: B(f, b),
4079
4079
  dirtyFields: t.dirtyFields,
4080
4080
  errors: t.errors,
4081
4081
  isValid: t.isValid
@@ -4091,22 +4091,22 @@ function ao(r = {}) {
4091
4091
  errors: t.errors,
4092
4092
  isValid: !1
4093
4093
  });
4094
- }, O = (f, b, E, L) => {
4094
+ }, $ = (f, b, E, L) => {
4095
4095
  const R = V(s, f);
4096
4096
  if (R) {
4097
4097
  const T = V(a, f, me(E) ? V(n, f) : E);
4098
4098
  me(T) || L && L.defaultChecked || b ? ie(a, f, b ? T : Yr(R._f)) : K(f, T), o.mount && w();
4099
4099
  }
4100
4100
  }, F = (f, b, E, L, R) => {
4101
- let T = !1, H = !1;
4101
+ let T = !1, X = !1;
4102
4102
  const le = {
4103
4103
  name: f
4104
4104
  };
4105
4105
  if (!e.disabled) {
4106
4106
  if (!E || L) {
4107
- (u.isDirty || p.isDirty) && (H = t.isDirty, t.isDirty = le.isDirty = U(), T = H !== le.isDirty);
4107
+ (u.isDirty || p.isDirty) && (X = t.isDirty, t.isDirty = le.isDirty = B(), T = X !== le.isDirty);
4108
4108
  const ce = Ye(V(n, f), b);
4109
- H = !!V(t.dirtyFields, f), ce ? be(t.dirtyFields, f) : ie(t.dirtyFields, f, !0), le.dirtyFields = t.dirtyFields, T = T || (u.dirtyFields || p.dirtyFields) && H !== !ce;
4109
+ X = !!V(t.dirtyFields, f), ce ? be(t.dirtyFields, f) : ie(t.dirtyFields, f, !0), le.dirtyFields = t.dirtyFields, T = T || (u.dirtyFields || p.dirtyFields) && X !== !ce;
4110
4110
  }
4111
4111
  if (E) {
4112
4112
  const ce = V(t.touchedFields, f);
@@ -4115,10 +4115,10 @@ function ao(r = {}) {
4115
4115
  T && R && m.state.next(le);
4116
4116
  }
4117
4117
  return T ? le : {};
4118
- }, Z = (f, b, E, L) => {
4118
+ }, U = (f, b, E, L) => {
4119
4119
  const R = V(t.errors, f), T = (u.isValid || p.isValid) && Te(b) && t.isValid !== b;
4120
4120
  if (e.delayError && E ? (c = x(() => g(f, E)), c(e.delayError)) : (clearTimeout(d), c = null, E ? ie(t.errors, f, E) : be(t.errors, f)), (E ? !Ye(R, E) : R) || !je(L) || T) {
4121
- const H = {
4121
+ const X = {
4122
4122
  ...L,
4123
4123
  ...T && Te(b) ? { isValid: b } : {},
4124
4124
  errors: t.errors,
@@ -4126,15 +4126,15 @@ function ao(r = {}) {
4126
4126
  };
4127
4127
  t = {
4128
4128
  ...t,
4129
- ...H
4130
- }, m.state.next(H);
4129
+ ...X
4130
+ }, m.state.next(X);
4131
4131
  }
4132
- }, X = async (f) => {
4133
- N(f, !0);
4132
+ }, q = async (f) => {
4133
+ _(f, !0);
4134
4134
  const b = await e.resolver(a, e.context, Xa(f || l.mount, s, e.criteriaMode, e.shouldUseNativeValidation));
4135
- return N(f), b;
4136
- }, _ = async (f) => {
4137
- const { errors: b } = await X(f);
4135
+ return _(f), b;
4136
+ }, N = async (f) => {
4137
+ const { errors: b } = await q(f);
4138
4138
  if (f)
4139
4139
  for (const E of f) {
4140
4140
  const L = V(b, E);
@@ -4143,22 +4143,22 @@ function ao(r = {}) {
4143
4143
  else
4144
4144
  t.errors = b;
4145
4145
  return b;
4146
- }, M = async (f, b, E = {
4146
+ }, O = async (f, b, E = {
4147
4147
  valid: !0
4148
4148
  }) => {
4149
4149
  for (const L in f) {
4150
4150
  const R = f[L];
4151
4151
  if (R) {
4152
- const { _f: T, ...H } = R;
4152
+ const { _f: T, ...X } = R;
4153
4153
  if (T) {
4154
4154
  const le = l.array.has(T.name), ce = R._f && Ka(R._f);
4155
- ce && u.validatingFields && N([L], !0);
4155
+ ce && u.validatingFields && _([L], !0);
4156
4156
  const Ce = await es(R, l.disabled, a, y, e.shouldUseNativeValidation && !b, le);
4157
- if (ce && u.validatingFields && N([L]), Ce[T.name] && (E.valid = !1, b))
4157
+ if (ce && u.validatingFields && _([L]), Ce[T.name] && (E.valid = !1, b))
4158
4158
  break;
4159
4159
  !b && (V(Ce, T.name) ? le ? so(t.errors, Ce, T.name) : ie(t.errors, T.name, Ce[T.name]) : be(t.errors, T.name));
4160
4160
  }
4161
- !je(H) && await M(H, b, E);
4161
+ !je(X) && await O(X, b, E);
4162
4162
  }
4163
4163
  }
4164
4164
  return E.valid;
@@ -4168,29 +4168,29 @@ function ao(r = {}) {
4168
4168
  b && (b._f.refs ? b._f.refs.every((E) => !er(E)) : !er(b._f.ref)) && se(f);
4169
4169
  }
4170
4170
  l.unMount = /* @__PURE__ */ new Set();
4171
- }, U = (f, b) => !e.disabled && (f && b && ie(a, f, b), !Ye(j(), n)), $ = (f, b, E) => Ws(f, l, {
4171
+ }, B = (f, b) => !e.disabled && (f && b && ie(a, f, b), !Ye(j(), n)), M = (f, b, E) => Ws(f, l, {
4172
4172
  ...o.mount ? a : me(b) ? n : Ie(f) ? { [f]: b } : b
4173
- }, E, b), G = (f) => qt(V(o.mount ? a : n, f, e.shouldUnregister ? V(n, f, []) : [])), K = (f, b, E = {}) => {
4173
+ }, E, b), Y = (f) => qt(V(o.mount ? a : n, f, e.shouldUnregister ? V(n, f, []) : [])), K = (f, b, E = {}) => {
4174
4174
  const L = V(s, f);
4175
4175
  let R = b;
4176
4176
  if (L) {
4177
4177
  const T = L._f;
4178
- T && (!T.disabled && ie(a, f, Js(b, T)), R = Lt(T.ref) && Ee(b) ? "" : b, Ys(T.ref) ? [...T.ref.options].forEach((H) => H.selected = R.includes(H.value)) : T.refs ? vt(T.ref) ? T.refs.forEach((H) => {
4179
- (!H.defaultChecked || !H.disabled) && (Array.isArray(R) ? H.checked = !!R.find((le) => le === H.value) : H.checked = R === H.value || !!R);
4180
- }) : T.refs.forEach((H) => H.checked = H.value === R) : Sr(T.ref) ? T.ref.value = "" : (T.ref.value = R, T.ref.type || m.state.next({
4178
+ T && (!T.disabled && ie(a, f, Js(b, T)), R = Lt(T.ref) && Ee(b) ? "" : b, Ys(T.ref) ? [...T.ref.options].forEach((X) => X.selected = R.includes(X.value)) : T.refs ? vt(T.ref) ? T.refs.forEach((X) => {
4179
+ (!X.defaultChecked || !X.disabled) && (Array.isArray(R) ? X.checked = !!R.find((le) => le === X.value) : X.checked = R === X.value || !!R);
4180
+ }) : T.refs.forEach((X) => X.checked = X.value === R) : Sr(T.ref) ? T.ref.value = "" : (T.ref.value = R, T.ref.type || m.state.next({
4181
4181
  name: f,
4182
4182
  values: we(a)
4183
4183
  })));
4184
4184
  }
4185
- (E.shouldDirty || E.shouldTouch) && F(f, R, E.shouldTouch, E.shouldDirty, !0), E.shouldValidate && B(f);
4185
+ (E.shouldDirty || E.shouldTouch) && F(f, R, E.shouldTouch, E.shouldDirty, !0), E.shouldValidate && Z(f);
4186
4186
  }, W = (f, b, E) => {
4187
4187
  for (const L in b) {
4188
4188
  if (!b.hasOwnProperty(L))
4189
4189
  return;
4190
- const R = b[L], T = `${f}.${L}`, H = V(s, T);
4191
- (l.array.has(f) || pe(R) || H && !H._f) && !Ke(R) ? W(T, R, E) : K(T, R, E);
4190
+ const R = b[L], T = `${f}.${L}`, X = V(s, T);
4191
+ (l.array.has(f) || pe(R) || X && !X._f) && !Ke(R) ? W(T, R, E) : K(T, R, E);
4192
4192
  }
4193
- }, Y = (f, b, E = {}) => {
4193
+ }, H = (f, b, E = {}) => {
4194
4194
  const L = V(s, f), R = l.array.has(f), T = we(b);
4195
4195
  ie(a, f, T), R ? (m.array.next({
4196
4196
  name: f,
@@ -4198,7 +4198,7 @@ function ao(r = {}) {
4198
4198
  }), (u.isDirty || u.dirtyFields || p.isDirty || p.dirtyFields) && E.shouldDirty && m.state.next({
4199
4199
  name: f,
4200
4200
  dirtyFields: pt(n, a),
4201
- isDirty: U(f, T)
4201
+ isDirty: B(f, T)
4202
4202
  })) : L && !L._f && !Ee(T) ? W(f, T, E) : K(f, T, E), Kr(f, l) && m.state.next({ ...t }), m.state.next({
4203
4203
  name: o.mount ? f : void 0,
4204
4204
  values: we(a)
@@ -4209,10 +4209,10 @@ function ao(r = {}) {
4209
4209
  let E = b.name, L = !0;
4210
4210
  const R = V(s, E), T = (ce) => {
4211
4211
  L = Number.isNaN(ce) || Ke(ce) && isNaN(ce.getTime()) || Ye(ce, V(a, E, ce));
4212
- }, H = Hr(e.mode), le = Hr(e.reValidateMode);
4212
+ }, X = Hr(e.mode), le = Hr(e.reValidateMode);
4213
4213
  if (R) {
4214
4214
  let ce, Ce;
4215
- const jt = b.type ? Yr(R._f) : Ps(f), We = f.type === It.BLUR || f.type === It.FOCUS_OUT, Fn = !Ja(R._f) && !e.resolver && !V(t.errors, E) && !R._f.deps || to(We, V(t.touchedFields, E), t.isSubmitted, le, H), Xt = Kr(E, l, We);
4215
+ const jt = b.type ? Yr(R._f) : Ps(f), We = f.type === It.BLUR || f.type === It.FOCUS_OUT, Fn = !Ja(R._f) && !e.resolver && !V(t.errors, E) && !R._f.deps || to(We, V(t.touchedFields, E), t.isSubmitted, le, X), Xt = Kr(E, l, We);
4216
4216
  ie(a, E, jt), We ? (R._f.onBlur && R._f.onBlur(f), c && c(0)) : R._f.onChange && R._f.onChange(f);
4217
4217
  const Kt = F(E, jt, We), Sn = !je(Kt) || Xt;
4218
4218
  if (!We && m.state.next({
@@ -4222,28 +4222,28 @@ function ao(r = {}) {
4222
4222
  }), Fn)
4223
4223
  return (u.isValid || p.isValid) && (e.mode === "onBlur" ? We && w() : We || w()), Sn && m.state.next({ name: E, ...Xt ? {} : Kt });
4224
4224
  if (!We && Xt && m.state.next({ ...t }), e.resolver) {
4225
- const { errors: Rr } = await X([E]);
4225
+ const { errors: Rr } = await q([E]);
4226
4226
  if (T(jt), L) {
4227
4227
  const Tn = Jr(t.errors, s, E), Vr = Jr(Rr, s, Tn.name || E);
4228
4228
  ce = Vr.error, E = Vr.name, Ce = je(Rr);
4229
4229
  }
4230
4230
  } else
4231
- N([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], N([E]), T(jt), L && (ce ? Ce = !1 : (u.isValid || p.isValid) && (Ce = await M(s, !0)));
4232
- L && (R._f.deps && B(R._f.deps), Z(E, Ce, ce, Kt));
4231
+ _([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], _([E]), T(jt), L && (ce ? Ce = !1 : (u.isValid || p.isValid) && (Ce = await O(s, !0)));
4232
+ L && (R._f.deps && Z(R._f.deps), U(E, Ce, ce, Kt));
4233
4233
  }
4234
4234
  }, h = (f, b) => {
4235
4235
  if (V(t.errors, b) && f.focus)
4236
4236
  return f.focus(), 1;
4237
- }, B = async (f, b = {}) => {
4237
+ }, Z = async (f, b = {}) => {
4238
4238
  let E, L;
4239
4239
  const R = bt(f);
4240
4240
  if (e.resolver) {
4241
- const T = await _(me(f) ? f : R);
4242
- E = je(T), L = f ? !R.some((H) => V(T, H)) : E;
4241
+ const T = await N(me(f) ? f : R);
4242
+ E = je(T), L = f ? !R.some((X) => V(T, X)) : E;
4243
4243
  } else f ? (L = (await Promise.all(R.map(async (T) => {
4244
- const H = V(s, T);
4245
- return await M(H && H._f ? { [T]: H } : H);
4246
- }))).every(Boolean), !(!L && !t.isValid) && w()) : L = E = await M(s);
4244
+ const X = V(s, T);
4245
+ return await O(X && X._f ? { [T]: X } : X);
4246
+ }))).every(Boolean), !(!L && !t.isValid) && w()) : L = E = await O(s);
4247
4247
  return m.state.next({
4248
4248
  ...!Ie(f) || (u.isValid || p.isValid) && E !== t.isValid ? {} : { name: f },
4249
4249
  ...e.resolver || !f ? { isValid: E } : {},
@@ -4265,7 +4265,7 @@ function ao(r = {}) {
4265
4265
  errors: f ? t.errors : {}
4266
4266
  });
4267
4267
  }, D = (f, b, E) => {
4268
- const L = (V(s, f, { _f: {} })._f || {}).ref, R = V(t.errors, f) || {}, { ref: T, message: H, type: le, ...ce } = R;
4268
+ const L = (V(s, f, { _f: {} })._f || {}).ref, R = V(t.errors, f) || {}, { ref: T, message: X, type: le, ...ce } = R;
4269
4269
  ie(t.errors, f, {
4270
4270
  ...ce,
4271
4271
  ...b,
@@ -4275,9 +4275,9 @@ function ao(r = {}) {
4275
4275
  errors: t.errors,
4276
4276
  isValid: !1
4277
4277
  }), E && E.shouldFocus && L && L.focus && L.focus();
4278
- }, Q = (f, b) => Re(f) ? m.state.subscribe({
4279
- next: (E) => f($(void 0, b), E)
4280
- }) : $(f, b, !0), re = (f) => m.state.subscribe({
4278
+ }, Q = (f, b) => Ve(f) ? m.state.subscribe({
4279
+ next: (E) => f(M(void 0, b), E)
4280
+ }) : M(f, b, !0), re = (f) => m.state.subscribe({
4281
4281
  next: (b) => {
4282
4282
  eo(f.name, b.name, f.exact) && Qa(b, f.formState || u, Yt, f.reRenderRoot) && f.callback({
4283
4283
  values: { ...a },
@@ -4298,7 +4298,7 @@ function ao(r = {}) {
4298
4298
  values: we(a)
4299
4299
  }), m.state.next({
4300
4300
  ...t,
4301
- ...b.keepDirty ? { isDirty: U() } : {}
4301
+ ...b.keepDirty ? { isDirty: B() } : {}
4302
4302
  }), !b.keepIsValid && w();
4303
4303
  }, oe = ({ disabled: f, name: b }) => {
4304
4304
  (Te(f) && o.mount || f || l.disabled.has(b)) && (f ? l.disabled.add(b) : l.disabled.delete(b));
@@ -4316,7 +4316,7 @@ function ao(r = {}) {
4316
4316
  }), l.mount.add(f), E ? oe({
4317
4317
  disabled: Te(b.disabled) ? b.disabled : e.disabled,
4318
4318
  name: f
4319
- }) : O(f, !0, b.value), {
4319
+ }) : $(f, !0, b.value), {
4320
4320
  ...L ? { disabled: b.disabled || e.disabled } : {},
4321
4321
  ...e.progressive ? {
4322
4322
  required: !!b.required,
@@ -4332,13 +4332,13 @@ function ao(r = {}) {
4332
4332
  ref: (R) => {
4333
4333
  if (R) {
4334
4334
  xe(f, b), E = V(s, f);
4335
- const T = me(R.value) && R.querySelectorAll && R.querySelectorAll("input,select,textarea")[0] || R, H = Ga(T), le = E._f.refs || [];
4336
- if (H ? le.find((ce) => ce === T) : T === E._f.ref)
4335
+ const T = me(R.value) && R.querySelectorAll && R.querySelectorAll("input,select,textarea")[0] || R, X = Ga(T), le = E._f.refs || [];
4336
+ if (X ? le.find((ce) => ce === T) : T === E._f.ref)
4337
4337
  return;
4338
4338
  ie(s, f, {
4339
4339
  _f: {
4340
4340
  ...E._f,
4341
- ...H ? {
4341
+ ...X ? {
4342
4342
  refs: [
4343
4343
  ...le.filter(er),
4344
4344
  T,
@@ -4347,7 +4347,7 @@ function ao(r = {}) {
4347
4347
  ref: { type: T.type, name: f }
4348
4348
  } : { ref: T }
4349
4349
  }
4350
- }), O(f, !1, void 0, T);
4350
+ }), $(f, !1, void 0, T);
4351
4351
  } else
4352
4352
  E = V(s, f, {}), E._f && (E._f.mount = !1), (e.shouldUnregister || b.shouldUnregister) && !(zs(l.array, f) && o.action) && l.unMount.add(f);
4353
4353
  }
@@ -4366,10 +4366,10 @@ function ao(r = {}) {
4366
4366
  if (m.state.next({
4367
4367
  isSubmitting: !0
4368
4368
  }), e.resolver) {
4369
- const { errors: T, values: H } = await X();
4370
- t.errors = T, R = H;
4369
+ const { errors: T, values: X } = await q();
4370
+ t.errors = T, R = X;
4371
4371
  } else
4372
- await M(s);
4372
+ await O(s);
4373
4373
  if (l.disabled.size)
4374
4374
  for (const T of l.disabled)
4375
4375
  ie(R, T, void 0);
@@ -4393,21 +4393,21 @@ function ao(r = {}) {
4393
4393
  }), L)
4394
4394
  throw L;
4395
4395
  }, Ae = (f, b = {}) => {
4396
- V(s, f) && (me(b.defaultValue) ? Y(f, we(V(n, f))) : (Y(f, b.defaultValue), ie(n, f, we(b.defaultValue))), b.keepTouched || be(t.touchedFields, f), b.keepDirty || (be(t.dirtyFields, f), t.isDirty = b.defaultValue ? U(f, we(V(n, f))) : U()), b.keepError || (be(t.errors, f), u.isValid && w()), m.state.next({ ...t }));
4396
+ V(s, f) && (me(b.defaultValue) ? H(f, we(V(n, f))) : (H(f, b.defaultValue), ie(n, f, we(b.defaultValue))), b.keepTouched || be(t.touchedFields, f), b.keepDirty || (be(t.dirtyFields, f), t.isDirty = b.defaultValue ? B(f, we(V(n, f))) : B()), b.keepError || (be(t.errors, f), u.isValid && w()), m.state.next({ ...t }));
4397
4397
  }, he = (f, b = {}) => {
4398
4398
  const E = f ? we(f) : n, L = we(E), R = je(f), T = R ? n : L;
4399
4399
  if (b.keepDefaultValues || (n = E), !b.keepValues) {
4400
4400
  if (b.keepDirtyValues) {
4401
- const H = /* @__PURE__ */ new Set([
4401
+ const X = /* @__PURE__ */ new Set([
4402
4402
  ...l.mount,
4403
4403
  ...Object.keys(pt(n, a))
4404
4404
  ]);
4405
- for (const le of Array.from(H))
4406
- V(t.dirtyFields, le) ? ie(T, le, V(a, le)) : Y(le, V(T, le));
4405
+ for (const le of Array.from(X))
4406
+ V(t.dirtyFields, le) ? ie(T, le, V(a, le)) : H(le, V(T, le));
4407
4407
  } else {
4408
4408
  if (Er && me(f))
4409
- for (const H of l.mount) {
4410
- const le = V(s, H);
4409
+ for (const X of l.mount) {
4410
+ const le = V(s, X);
4411
4411
  if (le && le._f) {
4412
4412
  const ce = Array.isArray(le._f.refs) ? le._f.refs[0] : le._f.ref;
4413
4413
  if (Lt(ce)) {
@@ -4419,8 +4419,8 @@ function ao(r = {}) {
4419
4419
  }
4420
4420
  }
4421
4421
  }
4422
- for (const H of l.mount)
4423
- Y(H, V(T, H));
4422
+ for (const X of l.mount)
4423
+ H(X, V(T, X));
4424
4424
  }
4425
4425
  a = we(T), m.array.next({
4426
4426
  values: { ...T }
@@ -4446,11 +4446,11 @@ function ao(r = {}) {
4446
4446
  isSubmitSuccessful: b.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
4447
4447
  isSubmitting: !1
4448
4448
  });
4449
- }, Me = (f, b) => he(Re(f) ? f(a) : f, b), ut = (f, b = {}) => {
4449
+ }, Me = (f, b) => he(Ve(f) ? f(a) : f, b), ut = (f, b = {}) => {
4450
4450
  const E = V(s, f), L = E && E._f;
4451
4451
  if (L) {
4452
4452
  const R = L.refs ? L.refs[0] : L.ref;
4453
- R.focus && (R.focus(), b.shouldSelect && Re(R.select) && R.select());
4453
+ R.focus && (R.focus(), b.shouldSelect && Ve(R.select) && R.select());
4454
4454
  }
4455
4455
  }, Yt = (f) => {
4456
4456
  t = {
@@ -4465,16 +4465,16 @@ function ao(r = {}) {
4465
4465
  handleSubmit: fe,
4466
4466
  setError: D,
4467
4467
  _subscribe: re,
4468
- _runSchema: X,
4469
- _getWatch: $,
4470
- _getDirty: U,
4468
+ _runSchema: q,
4469
+ _getWatch: M,
4470
+ _getDirty: B,
4471
4471
  _setValid: w,
4472
4472
  _setFieldArray: v,
4473
4473
  _setDisabledField: oe,
4474
4474
  _setErrors: S,
4475
- _getFieldArray: G,
4475
+ _getFieldArray: Y,
4476
4476
  _reset: he,
4477
- _resetDefaultValues: () => Re(e.defaultValues) && e.defaultValues().then((f) => {
4477
+ _resetDefaultValues: () => Ve(e.defaultValues) && e.defaultValues().then((f) => {
4478
4478
  Me(f, e.resetOptions), m.state.next({
4479
4479
  isLoading: !1
4480
4480
  });
@@ -4518,11 +4518,11 @@ function ao(r = {}) {
4518
4518
  }
4519
4519
  },
4520
4520
  subscribe: ue,
4521
- trigger: B,
4521
+ trigger: Z,
4522
4522
  register: xe,
4523
4523
  handleSubmit: fe,
4524
4524
  watch: Q,
4525
- setValue: Y,
4525
+ setValue: H,
4526
4526
  getValues: j,
4527
4527
  reset: Me,
4528
4528
  resetField: Ae,
@@ -4541,7 +4541,7 @@ function oo(r = {}) {
4541
4541
  const e = ne.useRef(void 0), t = ne.useRef(void 0), [s, n] = ne.useState({
4542
4542
  isDirty: !1,
4543
4543
  isValidating: !1,
4544
- isLoading: Re(r.defaultValues),
4544
+ isLoading: Ve(r.defaultValues),
4545
4545
  isSubmitted: !1,
4546
4546
  isSubmitting: !1,
4547
4547
  isSubmitSuccessful: !1,
@@ -4553,12 +4553,12 @@ function oo(r = {}) {
4553
4553
  errors: r.errors || {},
4554
4554
  disabled: r.disabled || !1,
4555
4555
  isReady: !1,
4556
- defaultValues: Re(r.defaultValues) ? void 0 : r.defaultValues
4556
+ defaultValues: Ve(r.defaultValues) ? void 0 : r.defaultValues
4557
4557
  });
4558
4558
  e.current || (e.current = {
4559
4559
  ...r.formControl ? r.formControl : ao(r),
4560
4560
  formState: s
4561
- }, r.formControl && r.defaultValues && !Re(r.defaultValues) && r.formControl.reset(r.defaultValues, r.resetOptions));
4561
+ }, r.formControl && r.defaultValues && !Ve(r.defaultValues) && r.formControl.reset(r.defaultValues, r.resetOptions));
4562
4562
  const a = e.current.control;
4563
4563
  return a._options = r, _r(() => {
4564
4564
  const o = a._subscribe({
@@ -4642,7 +4642,7 @@ function co(r) {
4642
4642
  disabled: m = !1,
4643
4643
  className: y,
4644
4644
  onChange: x
4645
- } = r, w = et(), N = t || w;
4645
+ } = r, w = et(), _ = t || w;
4646
4646
  return /* @__PURE__ */ i.jsxs(
4647
4647
  "div",
4648
4648
  {
@@ -4652,7 +4652,7 @@ function co(r) {
4652
4652
  c && /* @__PURE__ */ i.jsx(
4653
4653
  "label",
4654
4654
  {
4655
- htmlFor: N,
4655
+ htmlFor: _,
4656
4656
  className: I(
4657
4657
  "pb-2 text-[var(--color-ds-text-primary)]",
4658
4658
  en[o],
@@ -4666,14 +4666,14 @@ function co(r) {
4666
4666
  // Modo “controlado” con React Hook Form
4667
4667
  // ---------------------
4668
4668
  /* @__PURE__ */ i.jsx(
4669
- $e,
4669
+ Oe,
4670
4670
  {
4671
4671
  name: t,
4672
4672
  control: e,
4673
4673
  rules: s,
4674
4674
  defaultValue: n,
4675
4675
  render: ({ field: v, fieldState: g }) => ts(
4676
- N,
4676
+ _,
4677
4677
  a,
4678
4678
  o,
4679
4679
  {
@@ -4692,7 +4692,7 @@ function co(r) {
4692
4692
  // Modo “no controlado” (solo <input> nativo)
4693
4693
  // ---------------------
4694
4694
  ts(
4695
- N,
4695
+ _,
4696
4696
  a,
4697
4697
  o,
4698
4698
  {
@@ -4881,7 +4881,7 @@ const Eo = (r, e) => {
4881
4881
  t.current = r;
4882
4882
  }, [r, e]), t.current;
4883
4883
  }, rn = (r, e, t, s) => r.getFixedT(e, t, s), No = (r, e, t, s) => or(rn(r, e, t, s), [r, e, t, s]), Ar = (r, e = {}) => {
4884
- var O, F, Z, X;
4884
+ var $, F, U, q;
4885
4885
  const {
4886
4886
  i18n: t
4887
4887
  } = e, {
@@ -4890,10 +4890,10 @@ const Eo = (r, e) => {
4890
4890
  } = vr(ko) || {}, a = t || s || wo();
4891
4891
  if (a && !a.reportNamespaces && (a.reportNamespaces = new jo()), !a) {
4892
4892
  dr(a, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
4893
- const _ = (J, U) => Je(U) ? U : ho(U) && Je(U.defaultValue) ? U.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, M = [_, {}, !1];
4894
- return M.t = _, M.i18n = {}, M.ready = !1, M;
4893
+ const N = (J, B) => Je(B) ? B : ho(B) && Je(B.defaultValue) ? B.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, O = [N, {}, !1];
4894
+ return O.t = N, O.i18n = {}, O.ready = !1, O;
4895
4895
  }
4896
- (O = a.options.react) != null && O.wait && dr(a, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
4896
+ ($ = a.options.react) != null && $.wait && dr(a, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
4897
4897
  const o = {
4898
4898
  ...yo(),
4899
4899
  ...a.options.react,
@@ -4903,34 +4903,34 @@ const Eo = (r, e) => {
4903
4903
  keyPrefix: c
4904
4904
  } = o;
4905
4905
  let d = n || ((F = a.options) == null ? void 0 : F.defaultNS);
4906
- d = Je(d) ? [d] : d || ["translation"], (X = (Z = a.reportNamespaces).addUsedNamespaces) == null || X.call(Z, d);
4907
- const u = (a.isInitialized || a.initializedStoreOnce) && d.every((_) => fo(_, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), [x, w] = ae(m);
4908
- let N = d.join();
4909
- e.lng && (N = `${e.lng}${N}`);
4910
- const v = Eo(N), g = ke(!0);
4906
+ d = Je(d) ? [d] : d || ["translation"], (q = (U = a.reportNamespaces).addUsedNamespaces) == null || q.call(U, d);
4907
+ const u = (a.isInitialized || a.initializedStoreOnce) && d.every((N) => fo(N, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), [x, w] = ae(m);
4908
+ let _ = d.join();
4909
+ e.lng && (_ = `${e.lng}${_}`);
4910
+ const v = Eo(_), g = ke(!0);
4911
4911
  de(() => {
4912
4912
  const {
4913
- bindI18n: _,
4914
- bindI18nStore: M
4913
+ bindI18n: N,
4914
+ bindI18nStore: O
4915
4915
  } = o;
4916
4916
  g.current = !0, !u && !l && (e.lng ? ss(a, e.lng, d, () => {
4917
4917
  g.current && w(y);
4918
4918
  }) : fr(a, d, () => {
4919
4919
  g.current && w(y);
4920
- })), u && v && v !== N && g.current && w(y);
4920
+ })), u && v && v !== _ && g.current && w(y);
4921
4921
  const J = () => {
4922
4922
  g.current && w(y);
4923
4923
  };
4924
- return _ && (a == null || a.on(_, J)), M && (a == null || a.store.on(M, J)), () => {
4925
- g.current = !1, a && (_ == null || _.split(" ").forEach((U) => a.off(U, J))), M && a && M.split(" ").forEach((U) => a.store.off(U, J));
4924
+ return N && (a == null || a.on(N, J)), O && (a == null || a.store.on(O, J)), () => {
4925
+ g.current = !1, a && (N == null || N.split(" ").forEach((B) => a.off(B, J))), O && a && O.split(" ").forEach((B) => a.store.off(B, J));
4926
4926
  };
4927
- }, [a, N]), de(() => {
4927
+ }, [a, _]), de(() => {
4928
4928
  g.current && u && w(m);
4929
4929
  }, [a, c, u]);
4930
4930
  const S = [x, a, u];
4931
4931
  if (S.t = x, S.i18n = a, S.ready = u, u || !u && !l) return S;
4932
- throw new Promise((_) => {
4933
- e.lng ? ss(a, e.lng, d, () => _()) : fr(a, d, () => _());
4932
+ throw new Promise((N) => {
4933
+ e.lng ? ss(a, e.lng, d, () => N()) : fr(a, d, () => N());
4934
4934
  });
4935
4935
  }, hr = {
4936
4936
  sm: "text-sm",
@@ -4944,21 +4944,21 @@ function ns(r, e, t, s, n, a, o, l, c) {
4944
4944
  }, y = (g) => {
4945
4945
  const S = g.target.files;
4946
4946
  if (!S) return;
4947
- const O = Array.from(S);
4948
- let F = e.concat(O);
4947
+ const $ = Array.from(S);
4948
+ let F = e.concat($);
4949
4949
  s && (F = F.slice(0, s)), t(F), g.target.value = "";
4950
4950
  }, x = (g) => {
4951
4951
  if (g.preventDefault(), o || p) return;
4952
4952
  const S = Array.from(g.dataTransfer.files);
4953
- let O = e.concat(S);
4954
- s && (O = O.slice(0, s)), t(O);
4953
+ let $ = e.concat(S);
4954
+ s && ($ = $.slice(0, s)), t($);
4955
4955
  }, w = (g) => {
4956
4956
  g.preventDefault();
4957
- }, N = (g) => {
4957
+ }, _ = (g) => {
4958
4958
  const S = URL.createObjectURL(g);
4959
4959
  window.open(S);
4960
4960
  }, v = (g) => {
4961
- const S = e.filter((O, F) => F !== g);
4961
+ const S = e.filter(($, F) => F !== g);
4962
4962
  t(S);
4963
4963
  };
4964
4964
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -5031,7 +5031,7 @@ function ns(r, e, t, s, n, a, o, l, c) {
5031
5031
  size: "sm",
5032
5032
  icon: Ss,
5033
5033
  ariaLabel: d("ds.fileUploader.view", "View"),
5034
- onClick: () => N(g)
5034
+ onClick: () => _(g)
5035
5035
  }
5036
5036
  ),
5037
5037
  /* @__PURE__ */ i.jsx(
@@ -5068,13 +5068,13 @@ function _o(r) {
5068
5068
  hasError: m = !1,
5069
5069
  errorMessage: y = "",
5070
5070
  className: x
5071
- } = r, w = et(), N = t || w;
5071
+ } = r, w = et(), _ = t || w;
5072
5072
  if (e && t)
5073
5073
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", x), style: { width: c }, children: [
5074
5074
  d && /* @__PURE__ */ i.jsx(
5075
5075
  "label",
5076
5076
  {
5077
- htmlFor: N,
5077
+ htmlFor: _,
5078
5078
  className: I(
5079
5079
  "pb-[10px] text-[var(--color-ds-text-primary)]",
5080
5080
  hr[l],
@@ -5084,21 +5084,21 @@ function _o(r) {
5084
5084
  }
5085
5085
  ),
5086
5086
  /* @__PURE__ */ i.jsx(
5087
- $e,
5087
+ Oe,
5088
5088
  {
5089
5089
  name: t,
5090
5090
  control: e,
5091
5091
  rules: s,
5092
5092
  defaultValue: n instanceof FileList ? Array.from(n) : n || [],
5093
- render: ({ field: S, fieldState: O }) => ns(
5094
- N,
5093
+ render: ({ field: S, fieldState: $ }) => ns(
5094
+ _,
5095
5095
  S.value,
5096
5096
  (F) => S.onChange(F),
5097
5097
  a,
5098
5098
  o,
5099
5099
  l,
5100
5100
  p,
5101
- O.error,
5101
+ $.error,
5102
5102
  x
5103
5103
  )
5104
5104
  }
@@ -5111,7 +5111,7 @@ function _o(r) {
5111
5111
  d && /* @__PURE__ */ i.jsx(
5112
5112
  "label",
5113
5113
  {
5114
- htmlFor: N,
5114
+ htmlFor: _,
5115
5115
  className: I(
5116
5116
  "pb-[10px] text-[var(--color-ds-text-primary)]",
5117
5117
  hr[l],
@@ -5121,7 +5121,7 @@ function _o(r) {
5121
5121
  }
5122
5122
  ),
5123
5123
  ns(
5124
- N,
5124
+ _,
5125
5125
  v,
5126
5126
  g,
5127
5127
  a,
@@ -5196,15 +5196,15 @@ function Cr({
5196
5196
  control: y,
5197
5197
  name: x,
5198
5198
  rules: w,
5199
- defaultValue: N,
5199
+ defaultValue: _,
5200
5200
  reserveErrorSpace: v,
5201
5201
  disableErrorPlaceholder: g,
5202
5202
  // <- alias deprecado
5203
5203
  loading: S = !1,
5204
- className: O,
5204
+ className: $,
5205
5205
  ...F
5206
5206
  }) {
5207
- const Z = et(), [X, _] = ae(!1), M = r || Z, J = e === "password", $ = c ?? (e === "number" ? ea : void 0), G = J ? X ? Kn : Ss : d, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, W = I(
5207
+ const U = et(), [q, N] = ae(!1), O = r || U, J = e === "password", M = c ?? (e === "number" ? ea : void 0), Y = J ? q ? Kn : Ss : d, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, W = I(
5208
5208
  "box-border w-full rounded-lg border placeholder-[var(--color-ds-text-secondary)] outline-none transition font-[var(--font-primary)] appearance-none",
5209
5209
  Ft[t],
5210
5210
  Fo[t],
@@ -5217,43 +5217,43 @@ function Cr({
5217
5217
  "disabled:cursor-not-allowed"
5218
5218
  );
5219
5219
  return S ? /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s, maxWidth: "100%" }, children: [
5220
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2", Ft[t]), children: n }),
5220
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2", Ft[t]), children: n }),
5221
5221
  /* @__PURE__ */ i.jsx(it, { width: "100%", height: To[t], variant: "rect", className: "rounded-lg" }),
5222
5222
  /* @__PURE__ */ i.jsx("div", { className: "min-h-[18px] w-full", children: /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }) })
5223
5223
  ] }) : y && x ? /* @__PURE__ */ i.jsx(
5224
- $e,
5224
+ Oe,
5225
5225
  {
5226
5226
  name: x,
5227
5227
  control: y,
5228
5228
  rules: w,
5229
- defaultValue: N,
5230
- render: ({ field: Y, fieldState: A }) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s }, children: [
5231
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5229
+ defaultValue: _,
5230
+ render: ({ field: H, fieldState: A }) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s }, children: [
5231
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5232
5232
  /* @__PURE__ */ i.jsxs("div", { className: "relative flex items-center w-full", children: [
5233
- $ && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: $, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5233
+ M && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: M, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5234
5234
  /* @__PURE__ */ i.jsx(
5235
5235
  "input",
5236
5236
  {
5237
- ...Y,
5238
- id: M,
5239
- type: J ? X ? "text" : "password" : e,
5237
+ ...H,
5238
+ id: O,
5239
+ type: J ? q ? "text" : "password" : e,
5240
5240
  disabled: m,
5241
5241
  "aria-invalid": !!A.error,
5242
- className: I(W, $ && "pl-9", G && "pr-9", O),
5242
+ className: I(W, M && "pl-9", Y && "pr-9", $),
5243
5243
  onInvalid: (h) => h.preventDefault(),
5244
- style: J && !X ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5244
+ style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5245
5245
  }
5246
5246
  ),
5247
5247
  u && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: u }),
5248
5248
  p && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full pr-2", children: p }),
5249
- G && /* @__PURE__ */ i.jsx(
5249
+ Y && /* @__PURE__ */ i.jsx(
5250
5250
  "button",
5251
5251
  {
5252
5252
  type: "button",
5253
- onClick: () => _((h) => !h),
5253
+ onClick: () => N((h) => !h),
5254
5254
  className: "absolute right-0 flex items-center h-full pr-2",
5255
5255
  tabIndex: -1,
5256
- children: /* @__PURE__ */ i.jsx(Be, { component: G, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5256
+ children: /* @__PURE__ */ i.jsx(Be, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5257
5257
  }
5258
5258
  )
5259
5259
  ] }),
@@ -5261,32 +5261,32 @@ function Cr({
5261
5261
  ] })
5262
5262
  }
5263
5263
  ) : /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s }, children: [
5264
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5264
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5265
5265
  /* @__PURE__ */ i.jsxs("div", { className: "relative flex items-center w-full", children: [
5266
- $ && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: $, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5266
+ M && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: M, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5267
5267
  /* @__PURE__ */ i.jsx(
5268
5268
  "input",
5269
5269
  {
5270
5270
  ...F,
5271
- id: M,
5272
- type: J ? X ? "text" : "password" : e,
5271
+ id: O,
5272
+ type: J ? q ? "text" : "password" : e,
5273
5273
  disabled: m,
5274
5274
  "aria-invalid": o,
5275
- className: I(W, $ && "pl-9", G && "pr-9", O),
5276
- onInvalid: (Y) => Y.preventDefault(),
5277
- style: J && !X ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5275
+ className: I(W, M && "pl-9", Y && "pr-9", $),
5276
+ onInvalid: (H) => H.preventDefault(),
5277
+ style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5278
5278
  }
5279
5279
  ),
5280
5280
  u && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: u }),
5281
5281
  p && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: p }),
5282
- G && /* @__PURE__ */ i.jsx(
5282
+ Y && /* @__PURE__ */ i.jsx(
5283
5283
  "button",
5284
5284
  {
5285
5285
  type: "button",
5286
- onClick: () => _((Y) => !Y),
5286
+ onClick: () => N((H) => !H),
5287
5287
  className: "absolute right-0 flex items-center h-full pr-2",
5288
5288
  tabIndex: -1,
5289
- children: /* @__PURE__ */ i.jsx(Be, { component: G, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5289
+ children: /* @__PURE__ */ i.jsx(Be, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5290
5290
  }
5291
5291
  )
5292
5292
  ] }),
@@ -5377,14 +5377,14 @@ function Oo({
5377
5377
  disabled: c,
5378
5378
  info: d
5379
5379
  }) {
5380
- var N;
5380
+ var _;
5381
5381
  const {
5382
5382
  control: u,
5383
5383
  formState: { errors: p }
5384
- } = wt(), m = !!p[r], y = ((N = p[r]) == null ? void 0 : N.message) || "", x = "relative", w = n ?? "w-full";
5384
+ } = wt(), m = !!p[r], y = ((_ = p[r]) == null ? void 0 : _.message) || "", x = "relative", w = n ?? "w-full";
5385
5385
  return /* @__PURE__ */ i.jsxs("div", { className: x, children: [
5386
5386
  /* @__PURE__ */ i.jsx(
5387
- $e,
5387
+ Oe,
5388
5388
  {
5389
5389
  name: r,
5390
5390
  control: u,
@@ -5521,21 +5521,21 @@ function Mo() {
5521
5521
  normalizePath: u,
5522
5522
  setter: function(v) {
5523
5523
  var g = u(v);
5524
- return c.get(v) || c.set(v, function(O, F) {
5525
- for (var Z = 0, X = g.length, _ = O; Z < X - 1; ) {
5526
- var M = g[Z];
5527
- if (M === "__proto__" || M === "constructor" || M === "prototype")
5528
- return O;
5529
- _ = _[g[Z++]];
5524
+ return c.get(v) || c.set(v, function($, F) {
5525
+ for (var U = 0, q = g.length, N = $; U < q - 1; ) {
5526
+ var O = g[U];
5527
+ if (O === "__proto__" || O === "constructor" || O === "prototype")
5528
+ return $;
5529
+ N = N[g[U++]];
5530
5530
  }
5531
- _[g[Z]] = F;
5531
+ N[g[U]] = F;
5532
5532
  });
5533
5533
  },
5534
5534
  getter: function(v, g) {
5535
5535
  var S = u(v);
5536
5536
  return d.get(v) || d.set(v, function(F) {
5537
- for (var Z = 0, X = S.length; Z < X; )
5538
- if (F != null || !g) F = F[S[Z++]];
5537
+ for (var U = 0, q = S.length; U < q; )
5538
+ if (F != null || !g) F = F[S[U++]];
5539
5539
  else return;
5540
5540
  return F;
5541
5541
  });
@@ -5561,9 +5561,9 @@ function Mo() {
5561
5561
  return v.match(e) || [""];
5562
5562
  }
5563
5563
  function m(v, g, S) {
5564
- var O = v.length, F, Z, X, _;
5565
- for (Z = 0; Z < O; Z++)
5566
- F = v[Z], F && (N(F) && (F = '"' + F + '"'), _ = y(F), X = !_ && /^\d+$/.test(F), g.call(S, F, _, X, Z, v));
5564
+ var $ = v.length, F, U, q, N;
5565
+ for (U = 0; U < $; U++)
5566
+ F = v[U], F && (_(F) && (F = '"' + F + '"'), N = y(F), q = !N && /^\d+$/.test(F), g.call(S, F, N, q, U, v));
5567
5567
  }
5568
5568
  function y(v) {
5569
5569
  return typeof v == "string" && v && ["'", '"'].indexOf(v.charAt(0)) !== -1;
@@ -5574,7 +5574,7 @@ function Mo() {
5574
5574
  function w(v) {
5575
5575
  return n.test(v);
5576
5576
  }
5577
- function N(v) {
5577
+ function _(v) {
5578
5578
  return !y(v) && (x(v) || w(v));
5579
5579
  }
5580
5580
  return rr;
@@ -5614,13 +5614,13 @@ function Io() {
5614
5614
  return l;
5615
5615
  function m(y, x, w) {
5616
5616
  if (w.has(y)) {
5617
- var N;
5617
+ var _;
5618
5618
  try {
5619
- N = ", node was:" + JSON.stringify(y);
5619
+ _ = ", node was:" + JSON.stringify(y);
5620
5620
  } catch {
5621
- N = "";
5621
+ _ = "";
5622
5622
  }
5623
- throw new Error("Cyclic dependency" + N);
5623
+ throw new Error("Cyclic dependency" + _);
5624
5624
  }
5625
5625
  if (!p.has(y))
5626
5626
  throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(y));
@@ -5869,7 +5869,7 @@ class tt {
5869
5869
  }
5870
5870
  }
5871
5871
  tt.prototype.__isYupRef = !0;
5872
- const Ve = (r) => r == null;
5872
+ const $e = (r) => r == null;
5873
5873
  function nt(r) {
5874
5874
  function e({
5875
5875
  value: t,
@@ -5888,26 +5888,26 @@ function nt(r) {
5888
5888
  let {
5889
5889
  parent: x,
5890
5890
  context: w,
5891
- abortEarly: N = o.spec.abortEarly,
5891
+ abortEarly: _ = o.spec.abortEarly,
5892
5892
  disableStackTrace: v = o.spec.disableStackTrace
5893
5893
  } = n;
5894
- function g(U) {
5895
- return tt.isRef(U) ? U.getValue(t, x, w) : U;
5894
+ function g(B) {
5895
+ return tt.isRef(B) ? B.getValue(t, x, w) : B;
5896
5896
  }
5897
- function S(U = {}) {
5898
- const $ = Object.assign({
5897
+ function S(B = {}) {
5898
+ const M = Object.assign({
5899
5899
  value: t,
5900
5900
  originalValue: a,
5901
5901
  label: o.spec.label,
5902
- path: U.path || s,
5902
+ path: B.path || s,
5903
5903
  spec: o.spec,
5904
- disableStackTrace: U.disableStackTrace || v
5905
- }, p, U.params);
5906
- for (const K of Object.keys($)) $[K] = g($[K]);
5907
- const G = new _e(_e.formatError(U.message || m, $), t, $.path, U.type || d, $.disableStackTrace);
5908
- return G.params = $, G;
5904
+ disableStackTrace: B.disableStackTrace || v
5905
+ }, p, B.params);
5906
+ for (const K of Object.keys(M)) M[K] = g(M[K]);
5907
+ const Y = new _e(_e.formatError(B.message || m, M), t, M.path, B.type || d, M.disableStackTrace);
5908
+ return Y.params = M, Y;
5909
5909
  }
5910
- const O = N ? l : c;
5910
+ const $ = _ ? l : c;
5911
5911
  let F = {
5912
5912
  path: s,
5913
5913
  parent: x,
@@ -5919,26 +5919,26 @@ function nt(r) {
5919
5919
  originalValue: a,
5920
5920
  schema: o
5921
5921
  };
5922
- const Z = (U) => {
5923
- _e.isError(U) ? O(U) : U ? c(null) : O(S());
5924
- }, X = (U) => {
5925
- _e.isError(U) ? O(U) : l(U);
5922
+ const U = (B) => {
5923
+ _e.isError(B) ? $(B) : B ? c(null) : $(S());
5924
+ }, q = (B) => {
5925
+ _e.isError(B) ? $(B) : l(B);
5926
5926
  };
5927
- if (y && Ve(t))
5928
- return Z(!0);
5929
- let M;
5927
+ if (y && $e(t))
5928
+ return U(!0);
5929
+ let O;
5930
5930
  try {
5931
5931
  var J;
5932
- if (M = u.call(F, t, F), typeof ((J = M) == null ? void 0 : J.then) == "function") {
5932
+ if (O = u.call(F, t, F), typeof ((J = O) == null ? void 0 : J.then) == "function") {
5933
5933
  if (n.sync)
5934
5934
  throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
5935
- return Promise.resolve(M).then(Z, X);
5935
+ return Promise.resolve(O).then(U, q);
5936
5936
  }
5937
- } catch (U) {
5938
- X(U);
5937
+ } catch (B) {
5938
+ q(B);
5939
5939
  return;
5940
5940
  }
5941
- Z(M);
5941
+ U(O);
5942
5942
  }
5943
5943
  return e.OPTIONS = r, e;
5944
5944
  }
@@ -6100,7 +6100,7 @@ class Se {
6100
6100
  value: e
6101
6101
  }, t)), n = t.assert === "ignore-optionality", a = s._cast(e, t);
6102
6102
  if (t.assert !== !1 && !s.isType(a)) {
6103
- if (n && Ve(a))
6103
+ if (n && $e(a))
6104
6104
  return a;
6105
6105
  let o = Ze(e), l = Ze(a);
6106
6106
  throw new TypeError(`The value of ${t.path || "field"} could not be cast to a value that satisfies the schema type: "${s.type}".
@@ -6169,8 +6169,8 @@ attempted value: ${o}
6169
6169
  schema: this
6170
6170
  };
6171
6171
  for (let w = 0; w < a.length; w++) {
6172
- const N = a[w];
6173
- N(x, u, function(g) {
6172
+ const _ = a[w];
6173
+ _(x, u, function(g) {
6174
6174
  g && (Array.isArray(g) ? y.push(...g) : y.push(g)), --m <= 0 && p(y);
6175
6175
  });
6176
6176
  }
@@ -6487,7 +6487,7 @@ class fn extends Se {
6487
6487
  value: "true"
6488
6488
  },
6489
6489
  test(t) {
6490
- return Ve(t) || t === !0;
6490
+ return $e(t) || t === !0;
6491
6491
  }
6492
6492
  });
6493
6493
  }
@@ -6500,7 +6500,7 @@ class fn extends Se {
6500
6500
  value: "false"
6501
6501
  },
6502
6502
  test(t) {
6503
- return Ve(t) || t === !1;
6503
+ return $e(t) || t === !1;
6504
6504
  }
6505
6505
  });
6506
6506
  }
@@ -6569,7 +6569,7 @@ let Qo = (
6569
6569
  ), ei = (
6570
6570
  // eslint-disable-next-line
6571
6571
  /^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
6572
- ), ti = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, ri = "^\\d{4}-\\d{2}-\\d{2}", si = "\\d{2}:\\d{2}:\\d{2}", ni = "(([+-]\\d{2}(:?\\d{2})?)|Z)", ai = new RegExp(`${ri}T${si}(\\.\\d+)?${ni}$`), oi = (r) => Ve(r) || r === r.trim(), ii = {}.toString();
6572
+ ), ti = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, ri = "^\\d{4}-\\d{2}-\\d{2}", si = "\\d{2}:\\d{2}:\\d{2}", ni = "(([+-]\\d{2}(:?\\d{2})?)|Z)", ai = new RegExp(`${ri}T${si}(\\.\\d+)?${ni}$`), oi = (r) => $e(r) || r === r.trim(), ii = {}.toString();
6573
6573
  function at() {
6574
6574
  return new hn();
6575
6575
  }
@@ -6726,21 +6726,21 @@ class hn extends Se {
6726
6726
  });
6727
6727
  }
6728
6728
  lowercase(e = Ne.lowercase) {
6729
- return this.transform((t) => Ve(t) ? t : t.toLowerCase()).test({
6729
+ return this.transform((t) => $e(t) ? t : t.toLowerCase()).test({
6730
6730
  message: e,
6731
6731
  name: "string_case",
6732
6732
  exclusive: !0,
6733
6733
  skipAbsent: !0,
6734
- test: (t) => Ve(t) || t === t.toLowerCase()
6734
+ test: (t) => $e(t) || t === t.toLowerCase()
6735
6735
  });
6736
6736
  }
6737
6737
  uppercase(e = Ne.uppercase) {
6738
- return this.transform((t) => Ve(t) ? t : t.toUpperCase()).test({
6738
+ return this.transform((t) => $e(t) ? t : t.toUpperCase()).test({
6739
6739
  message: e,
6740
6740
  name: "string_case",
6741
6741
  exclusive: !0,
6742
6742
  skipAbsent: !0,
6743
- test: (t) => Ve(t) || t === t.toUpperCase()
6743
+ test: (t) => $e(t) || t === t.toUpperCase()
6744
6744
  });
6745
6745
  }
6746
6746
  }
@@ -6839,14 +6839,14 @@ class pn extends Se {
6839
6839
  });
6840
6840
  }
6841
6841
  truncate() {
6842
- return this.transform((e) => Ve(e) ? e : e | 0);
6842
+ return this.transform((e) => $e(e) ? e : e | 0);
6843
6843
  }
6844
6844
  round(e) {
6845
6845
  var t;
6846
6846
  let s = ["ceil", "floor", "round", "trunc"];
6847
6847
  if (e = ((t = e) == null ? void 0 : t.toLowerCase()) || "round", e === "trunc") return this.truncate();
6848
6848
  if (s.indexOf(e.toLowerCase()) === -1) throw new TypeError("Only valid options for round() are: " + s.join(", "));
6849
- return this.transform((n) => Ve(n) ? n : Math[e](n));
6849
+ return this.transform((n) => $e(n) ? n : Math[e](n));
6850
6850
  }
6851
6851
  }
6852
6852
  mn.prototype = pn.prototype;
@@ -7002,8 +7002,8 @@ class vn extends Se {
7002
7002
  context: t.context,
7003
7003
  parent: c
7004
7004
  });
7005
- let N = m instanceof Se ? m.spec : void 0, v = N == null ? void 0 : N.strict;
7006
- if (N != null && N.strip) {
7005
+ let _ = m instanceof Se ? m.spec : void 0, v = _ == null ? void 0 : _.strict;
7006
+ if (_ != null && _.strip) {
7007
7007
  u = u || p in n;
7008
7008
  continue;
7009
7009
  }
@@ -7440,7 +7440,7 @@ function gi({
7440
7440
  const l = n.current;
7441
7441
  if (!l) return;
7442
7442
  const c = () => {
7443
- const d = r.findIndex((N) => N.value === e);
7443
+ const d = r.findIndex((_) => _.value === e);
7444
7444
  if (d < 0) return;
7445
7445
  const u = l.children[d], p = u.querySelector("span"), m = (p == null ? void 0 : p.offsetWidth) ?? u.offsetWidth, y = u.offsetWidth, w = u.offsetLeft + (y - m) / 2;
7446
7446
  o({ left: w, width: m });
@@ -7543,37 +7543,37 @@ function Zt(r) {
7543
7543
  /* errores */
7544
7544
  hasError: x = !1,
7545
7545
  errorMessage: w = "",
7546
- reserveErrorSpace: N,
7546
+ reserveErrorSpace: _,
7547
7547
  disableErrorPlaceholder: v,
7548
7548
  // alias legacy
7549
7549
  disabled: g = !1,
7550
7550
  className: S,
7551
- suffixButton: O,
7551
+ suffixButton: $,
7552
7552
  loading: F = !1,
7553
7553
  /* coerción de primera opción */
7554
- coerceFirstValid: Z = !0
7555
- } = r, X = et(), _ = t || X, [M, J] = ae(a), [U, $] = ae(!!o);
7554
+ coerceFirstValid: U = !0
7555
+ } = r, q = et(), N = t || q, [O, J] = ae(a), [B, M] = ae(!!o);
7556
7556
  de(() => {
7557
- o && ($(!0), o().then((W) => J(W)).finally(() => $(!1)));
7557
+ o && (M(!0), o().then((W) => J(W)).finally(() => M(!1)));
7558
7558
  }, [o, ...l]);
7559
- const G = (W) => W.find((Y) => Y.value !== "" && Y.value !== void 0) ?? W[0], K = typeof N == "boolean" ? N : !!e;
7559
+ const Y = (W) => W.find((H) => H.value !== "" && H.value !== void 0) ?? W[0], K = typeof _ == "boolean" ? _ : !!e;
7560
7560
  if (e && t) {
7561
- const { field: W, fieldState: Y } = qs({
7561
+ const { field: W, fieldState: H } = qs({
7562
7562
  name: t,
7563
7563
  control: e,
7564
7564
  rules: s,
7565
7565
  defaultValue: n
7566
7566
  });
7567
7567
  return de(() => {
7568
- if (!U && M.length > 0 && Z) {
7569
- const A = W.value, h = M.some((B) => String(B.value) === String(A));
7570
- (A === void 0 || !h) && W.onChange(G(M).value);
7568
+ if (!B && O.length > 0 && U) {
7569
+ const A = W.value, h = O.some((Z) => String(Z.value) === String(A));
7570
+ (A === void 0 || !h) && W.onChange(Y(O).value);
7571
7571
  }
7572
- }, [M, U, W, Z]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7572
+ }, [O, B, W, U]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7573
7573
  m && /* @__PURE__ */ i.jsx(
7574
7574
  "label",
7575
7575
  {
7576
- htmlFor: _,
7576
+ htmlFor: N,
7577
7577
  className: I(
7578
7578
  "pb-2 text-[var(--color-ds-text-primary)]",
7579
7579
  Ot[u],
@@ -7582,7 +7582,7 @@ function Zt(r) {
7582
7582
  children: m
7583
7583
  }
7584
7584
  ),
7585
- F || U ? /* @__PURE__ */ i.jsx(
7585
+ F || B ? /* @__PURE__ */ i.jsx(
7586
7586
  it,
7587
7587
  {
7588
7588
  width: "100%",
@@ -7593,20 +7593,20 @@ function Zt(r) {
7593
7593
  ) : /* @__PURE__ */ i.jsx(
7594
7594
  ys,
7595
7595
  {
7596
- id: _,
7596
+ id: N,
7597
7597
  size: u,
7598
7598
  disabled: g,
7599
- error: Y.error,
7599
+ error: H.error,
7600
7600
  reserveErrorSpace: (
7601
7601
  // si te quedó el prop legacy, lo mapeamos para atrás (deshabilitar placeholder => no reservar)
7602
7602
  typeof v == "boolean" ? !v : K
7603
7603
  ),
7604
7604
  className: S,
7605
- suffixButton: O,
7605
+ suffixButton: $,
7606
7606
  children: /* @__PURE__ */ i.jsx(
7607
7607
  "select",
7608
7608
  {
7609
- id: _,
7609
+ id: N,
7610
7610
  value: W.value,
7611
7611
  onChange: (A) => W.onChange(A.target.value),
7612
7612
  disabled: g,
@@ -7615,10 +7615,10 @@ function Zt(r) {
7615
7615
  Ot[u],
7616
7616
  xs[u],
7617
7617
  gs[u],
7618
- Y.error ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]",
7618
+ H.error ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]",
7619
7619
  g ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed" : "text-[var(--color-ds-text-primary)]"
7620
7620
  ),
7621
- children: M.map((A) => /* @__PURE__ */ i.jsx(
7621
+ children: O.map((A) => /* @__PURE__ */ i.jsx(
7622
7622
  "option",
7623
7623
  {
7624
7624
  value: A.value,
@@ -7634,15 +7634,15 @@ function Zt(r) {
7634
7634
  ] });
7635
7635
  }
7636
7636
  return de(() => {
7637
- if (!e && M.length > 0 && Z) {
7638
- const W = M.some((A) => String(A.value) === String(c));
7639
- (c === void 0 || c === "" || !W) && d && d(G(M).value);
7637
+ if (!e && O.length > 0 && U) {
7638
+ const W = O.some((A) => String(A.value) === String(c));
7639
+ (c === void 0 || c === "" || !W) && d && d(Y(O).value);
7640
7640
  }
7641
- }, [M, c, d, e, Z]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7641
+ }, [O, c, d, e, U]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7642
7642
  m && /* @__PURE__ */ i.jsx(
7643
7643
  "label",
7644
7644
  {
7645
- htmlFor: _,
7645
+ htmlFor: N,
7646
7646
  className: I(
7647
7647
  "pb-2 text-[var(--color-ds-text-primary)]",
7648
7648
  Ot[u],
@@ -7651,7 +7651,7 @@ function Zt(r) {
7651
7651
  children: m
7652
7652
  }
7653
7653
  ),
7654
- F || U ? /* @__PURE__ */ i.jsx(
7654
+ F || B ? /* @__PURE__ */ i.jsx(
7655
7655
  it,
7656
7656
  {
7657
7657
  width: "100%",
@@ -7662,20 +7662,20 @@ function Zt(r) {
7662
7662
  ) : /* @__PURE__ */ i.jsx(
7663
7663
  ys,
7664
7664
  {
7665
- id: _,
7665
+ id: N,
7666
7666
  size: u,
7667
7667
  disabled: g,
7668
7668
  error: x ? { message: w } : void 0,
7669
7669
  reserveErrorSpace: (
7670
7670
  // legacy -> invertimos
7671
- typeof v == "boolean" ? !v : !!(N ?? !1)
7671
+ typeof v == "boolean" ? !v : !!(_ ?? !1)
7672
7672
  ),
7673
7673
  className: S,
7674
- suffixButton: O,
7674
+ suffixButton: $,
7675
7675
  children: /* @__PURE__ */ i.jsx(
7676
7676
  "select",
7677
7677
  {
7678
- id: _,
7678
+ id: N,
7679
7679
  value: c,
7680
7680
  onChange: (W) => d == null ? void 0 : d(W.target.value),
7681
7681
  disabled: g,
@@ -7687,7 +7687,7 @@ function Zt(r) {
7687
7687
  x ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]",
7688
7688
  g ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed" : "text-[var(--color-ds-text-primary)]"
7689
7689
  ),
7690
- children: M.map((W) => /* @__PURE__ */ i.jsx(
7690
+ children: O.map((W) => /* @__PURE__ */ i.jsx(
7691
7691
  "option",
7692
7692
  {
7693
7693
  value: W.value,
@@ -7718,52 +7718,51 @@ function bi({
7718
7718
  width: l
7719
7719
  }) {
7720
7720
  const c = e.length;
7721
- return /* @__PURE__ */ i.jsxs(
7722
- "div",
7723
- {
7724
- className: I("flex flex-col", n),
7725
- style: l ? { width: l } : void 0,
7726
- children: [
7727
- /* @__PURE__ */ i.jsx("label", { className: I("sr-only pb-2", vs[o]), children: r }),
7728
- a && /* @__PURE__ */ i.jsx("label", { className: I("pb-2", vs[o]), children: r }),
7729
- /* @__PURE__ */ i.jsx("div", { className: "flex items-center flex-nowrap", children: e.map((d, u) => {
7730
- const {
7731
- width: p,
7732
- className: m,
7721
+ return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", n), style: l ? { width: l } : void 0, children: [
7722
+ /* @__PURE__ */ i.jsx("label", { className: I("sr-only pb-2", vs[o]), children: r }),
7723
+ a && /* @__PURE__ */ i.jsx("label", { className: I("pb-2", vs[o]), children: r }),
7724
+ /* @__PURE__ */ i.jsx("div", { className: "flex items-center flex-nowrap", children: e.map((d, u) => {
7725
+ const {
7726
+ width: p,
7727
+ className: m,
7728
+ options: y,
7729
+ loadOptions: x,
7730
+ control: w,
7731
+ name: _,
7732
+ ...v
7733
+ } = d, g = Array.isArray(y) || typeof x == "function";
7734
+ let S = "rounded-lg";
7735
+ !s && c > 1 && (u === 0 ? S = "rounded-l-lg rounded-r-none" : u === c - 1 ? S = "rounded-r-lg rounded-l-none" : S = "rounded-none");
7736
+ const $ = I(
7737
+ "inline-flex items-center flex-shrink-0 overflow-hidden",
7738
+ typeof p == "string" && p.startsWith("w-") ? p : void 0
7739
+ ), F = typeof p == "string" && !p.startsWith("w-") ? { width: p } : void 0, U = I(m, S), q = (N) => w && _ ? /* @__PURE__ */ i.jsx(
7740
+ Oe,
7741
+ {
7742
+ name: _,
7743
+ control: w,
7744
+ render: ({ field: O }) => N({
7745
+ ...v,
7746
+ size: o,
7747
+ className: U,
7748
+ value: O.value,
7749
+ onChange: O.onChange
7750
+ })
7751
+ }
7752
+ ) : N({ ...v, size: o, className: U });
7753
+ return /* @__PURE__ */ i.jsxs("div", { className: $, style: F, children: [
7754
+ q(g ? (N) => /* @__PURE__ */ i.jsx(
7755
+ Zt,
7756
+ {
7757
+ ...N,
7733
7758
  options: y,
7734
- loadOptions: x,
7735
- ...w
7736
- } = d, N = Array.isArray(y) || typeof x == "function";
7737
- let v = "rounded-lg";
7738
- !s && c > 1 && (u === 0 ? v = "rounded-l-lg rounded-r-none" : u === c - 1 ? v = "rounded-r-lg rounded-l-none" : v = "rounded-none");
7739
- const g = I(
7740
- "inline-flex items-center flex-shrink-0 overflow-hidden",
7741
- typeof p == "string" && p.startsWith("w-") ? p : void 0
7742
- ), S = typeof p == "string" && !p.startsWith("w-") ? { width: p } : void 0, O = I(m, v);
7743
- return /* @__PURE__ */ i.jsxs("div", { className: g, style: S, children: [
7744
- N ? /* @__PURE__ */ i.jsx(
7745
- Zt,
7746
- {
7747
- ...w,
7748
- size: o,
7749
- className: O,
7750
- options: y,
7751
- loadOptions: x
7752
- }
7753
- ) : /* @__PURE__ */ i.jsx(
7754
- Cr,
7755
- {
7756
- ...w,
7757
- size: o,
7758
- className: O
7759
- }
7760
- ),
7761
- s && u < c - 1 && t
7762
- ] }, u);
7763
- }) })
7764
- ]
7765
- }
7766
- );
7759
+ loadOptions: x
7760
+ }
7761
+ ) : (N) => /* @__PURE__ */ i.jsx(Cr, { ...N })),
7762
+ s && u < c - 1 && t
7763
+ ] }, u);
7764
+ }) })
7765
+ ] });
7767
7766
  }
7768
7767
  const ws = {
7769
7768
  sm: "text-ds-sm",
@@ -7788,7 +7787,7 @@ function vi({
7788
7787
  showVisibleLabel: u = !0
7789
7788
  }) {
7790
7789
  return /* @__PURE__ */ i.jsx(
7791
- $e,
7790
+ Oe,
7792
7791
  {
7793
7792
  name: s,
7794
7793
  control: t,
@@ -7797,7 +7796,7 @@ function vi({
7797
7796
  render: ({ field: p, fieldState: m }) => {
7798
7797
  const { value: y, onChange: x } = p;
7799
7798
  m.error;
7800
- const w = (v) => o ? Array.isArray(y) && y.includes(v) : y === v, N = (v) => {
7799
+ const w = (v) => o ? Array.isArray(y) && y.includes(v) : y === v, _ = (v) => {
7801
7800
  if (o) {
7802
7801
  const g = Array.isArray(y) ? [...y] : [], S = g.indexOf(v);
7803
7802
  S >= 0 ? g.splice(S, 1) : g.push(v), x(g);
@@ -7843,7 +7842,7 @@ function vi({
7843
7842
  name: s,
7844
7843
  value: v.value,
7845
7844
  checked: w(v.value),
7846
- onChange: () => N(v.value),
7845
+ onChange: () => _(v.value),
7847
7846
  className: I(
7848
7847
  yi[l],
7849
7848
  "text-[var(--color-ds-button-primary-bg)]",
@@ -8069,17 +8068,17 @@ function jn({
8069
8068
  suffixButton: y,
8070
8069
  ...x
8071
8070
  }) {
8072
- const w = et(), N = e || w, [v, g] = ae(s || "");
8071
+ const w = et(), _ = e || w, [v, g] = ae(s || "");
8073
8072
  if (r && e)
8074
8073
  return /* @__PURE__ */ i.jsx(
8075
- $e,
8074
+ Oe,
8076
8075
  {
8077
8076
  name: e,
8078
8077
  control: r,
8079
8078
  rules: t,
8080
8079
  defaultValue: s || "",
8081
- render: ({ field: O, fieldState: F }) => {
8082
- var Z;
8080
+ render: ({ field: $, fieldState: F }) => {
8081
+ var U;
8083
8082
  return /* @__PURE__ */ i.jsx(
8084
8083
  jn,
8085
8084
  {
@@ -8089,13 +8088,13 @@ function jn({
8089
8088
  label: o,
8090
8089
  labelHidden: l,
8091
8090
  hasError: !!F.error,
8092
- errorMessage: ((Z = F.error) == null ? void 0 : Z.message) || "",
8091
+ errorMessage: ((U = F.error) == null ? void 0 : U.message) || "",
8093
8092
  maxLength: u,
8094
8093
  showCounter: p,
8095
8094
  className: m,
8096
8095
  suffixButton: y,
8097
- value: O.value,
8098
- onChange: O.onChange
8096
+ value: $.value,
8097
+ onChange: $.onChange
8099
8098
  }
8100
8099
  );
8101
8100
  }
@@ -8104,15 +8103,15 @@ function jn({
8104
8103
  de(() => {
8105
8104
  g(s || "");
8106
8105
  }, [s]);
8107
- const S = (O) => {
8106
+ const S = ($) => {
8108
8107
  var F;
8109
- u !== void 0 && O.target.value.length > u || (g(O.target.value), (F = x.onChange) == null || F.call(x, O));
8108
+ u !== void 0 && $.target.value.length > u || (g($.target.value), (F = x.onChange) == null || F.call(x, $));
8110
8109
  };
8111
8110
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", m), style: { width: a }, children: [
8112
8111
  o && /* @__PURE__ */ i.jsx(
8113
8112
  "label",
8114
8113
  {
8115
- htmlFor: N,
8114
+ htmlFor: _,
8116
8115
  className: I(
8117
8116
  "pb-2 text-[var(--color-ds-text-primary)]",
8118
8117
  js[n],
@@ -8125,7 +8124,7 @@ function jn({
8125
8124
  /* @__PURE__ */ i.jsx(
8126
8125
  "textarea",
8127
8126
  {
8128
- id: N,
8127
+ id: _,
8129
8128
  className: I(
8130
8129
  "box-border bg-[var(--color-ds-background-page)] w-full resize vertical rounded-lg border outline-none transition font-[var(--font-primary)]",
8131
8130
  js[n],
@@ -8182,14 +8181,14 @@ function Zi({
8182
8181
  a && "sr-only"
8183
8182
  );
8184
8183
  return r ? /* @__PURE__ */ i.jsx("div", { className: I("flex flex-col", c), children: /* @__PURE__ */ i.jsx(
8185
- $e,
8184
+ Oe,
8186
8185
  {
8187
8186
  name: e || "",
8188
8187
  control: r,
8189
8188
  rules: t,
8190
8189
  defaultValue: s,
8191
- render: ({ field: w, fieldState: N }) => {
8192
- const v = N.error;
8190
+ render: ({ field: w, fieldState: _ }) => {
8191
+ const v = _.error;
8193
8192
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
8194
8193
  /* @__PURE__ */ i.jsxs("label", { className: "flex items-center space-x-2", children: [
8195
8194
  /* @__PURE__ */ i.jsx(
@@ -8240,84 +8239,84 @@ function Wi({
8240
8239
  minChars: d = 3,
8241
8240
  debounceMs: u = 600
8242
8241
  }) {
8243
- const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [N, v] = ae([]), [g, S] = ae(!1), [O, F] = ae(!1), [Z, X] = ae(""), _ = ke(null), M = ke(null), J = ke(!1), U = ke(!1), $ = ke(!0), G = Fe(() => {
8242
+ const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [_, v] = ae([]), [g, S] = ae(!1), [$, F] = ae(!1), [U, q] = ae(""), N = ke(null), O = ke(null), J = ke(!1), B = ke(!1), M = ke(!0), Y = Fe(() => {
8244
8243
  const h = /* @__PURE__ */ new Map();
8245
- for (const B of N) h.set(String(B.value).trim(), B.label ?? "");
8244
+ for (const Z of _) h.set(String(Z.value).trim(), Z.label ?? "");
8246
8245
  return h;
8247
- }, [N]), K = async (h) => {
8248
- const B = (h ?? "").trim();
8249
- if (!B) {
8246
+ }, [_]), K = async (h) => {
8247
+ const Z = (h ?? "").trim();
8248
+ if (!Z) {
8250
8249
  v([]), F(!1);
8251
8250
  return;
8252
8251
  }
8253
8252
  S(!0);
8254
8253
  try {
8255
- const j = await t(B, { watch: m, getValues: y });
8254
+ const j = await t(Z, { watch: m, getValues: y });
8256
8255
  v(j ?? []), F(!0);
8257
8256
  } finally {
8258
8257
  S(!1);
8259
8258
  }
8260
8259
  };
8261
8260
  de(() => {
8262
- function h(B) {
8263
- _.current && !_.current.contains(B.target) && F(!1);
8261
+ function h(Z) {
8262
+ N.current && !N.current.contains(Z.target) && F(!1);
8264
8263
  }
8265
- if (O)
8264
+ if ($)
8266
8265
  return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
8267
- }, [O]), de(() => {
8266
+ }, [$]), de(() => {
8268
8267
  if (J.current) return;
8269
- const B = (w ? String(w) : "").trim();
8270
- if (!B) {
8271
- X(""), F(!1);
8268
+ const Z = (w ? String(w) : "").trim();
8269
+ if (!Z) {
8270
+ q(""), F(!1);
8272
8271
  return;
8273
8272
  }
8274
- const j = G.get(B);
8273
+ const j = Y.get(Z);
8275
8274
  if (j) {
8276
- X(j), F(!1), $.current = !0;
8275
+ q(j), F(!1), M.current = !0;
8277
8276
  return;
8278
8277
  }
8279
8278
  let k = !1;
8280
8279
  return (async () => {
8281
8280
  if (s)
8282
8281
  try {
8283
- const C = await s(B, { watch: m, getValues: y });
8284
- k || (X((C == null ? void 0 : C.label) ?? B), F(!1), $.current = !0);
8282
+ const C = await s(Z, { watch: m, getValues: y });
8283
+ k || (q((C == null ? void 0 : C.label) ?? Z), F(!1), M.current = !0);
8285
8284
  } catch {
8286
- k || (X(B), F(!1), $.current = !0);
8285
+ k || (q(Z), F(!1), M.current = !0);
8287
8286
  }
8288
8287
  else
8289
- X(B), F(!1), $.current = !0;
8288
+ q(Z), F(!1), M.current = !0;
8290
8289
  })(), () => {
8291
8290
  k = !0;
8292
8291
  };
8293
- }, [w, G, s, m, y]), de(() => {
8292
+ }, [w, Y, s, m, y]), de(() => {
8294
8293
  if (c !== "debounced" || l) return;
8295
- if ($.current) {
8296
- $.current = !1;
8294
+ if (M.current) {
8295
+ M.current = !1;
8297
8296
  return;
8298
8297
  }
8299
- if (!U.current) return;
8300
- M.current && (window.clearTimeout(M.current), M.current = null);
8301
- const h = (Z || "").trim();
8302
- return h.length >= d ? M.current = window.setTimeout(() => {
8298
+ if (!B.current) return;
8299
+ O.current && (window.clearTimeout(O.current), O.current = null);
8300
+ const h = (U || "").trim();
8301
+ return h.length >= d ? O.current = window.setTimeout(() => {
8303
8302
  K(h);
8304
8303
  }, u) : (v([]), F(!1)), () => {
8305
- M.current && (window.clearTimeout(M.current), M.current = null);
8304
+ O.current && (window.clearTimeout(O.current), O.current = null);
8306
8305
  };
8307
- }, [Z, c, d, u, l]);
8308
- const W = a === "sm" ? "text-ds-sm" : a === "md" ? "text-ds-md" : "text-ds-lg", Y = a === "sm" ? "h-6" : a === "md" ? "h-10" : "h-12", A = (h) => {
8306
+ }, [U, c, d, u, l]);
8307
+ const W = a === "sm" ? "text-ds-sm" : a === "md" ? "text-ds-md" : "text-ds-lg", H = a === "sm" ? "h-6" : a === "md" ? "h-10" : "h-12", A = (h) => {
8309
8308
  if (l) return;
8310
- const B = (Z || "").trim();
8311
- h.key === "Enter" && (h.preventDefault(), c === "debounced" ? B.length >= d && K(B) : K(B)), h.key === "Escape" && F(!1);
8309
+ const Z = (U || "").trim();
8310
+ h.key === "Enter" && (h.preventDefault(), c === "debounced" ? Z.length >= d && K(Z) : K(Z)), h.key === "Escape" && F(!1);
8312
8311
  };
8313
8312
  return /* @__PURE__ */ i.jsx(
8314
- $e,
8313
+ Oe,
8315
8314
  {
8316
8315
  name: r,
8317
8316
  control: e,
8318
- render: ({ field: h, fieldState: B }) => {
8317
+ render: ({ field: h, fieldState: Z }) => {
8319
8318
  var j;
8320
- return /* @__PURE__ */ i.jsxs("div", { ref: _, className: "relative flex flex-col", style: { width: o }, children: [
8319
+ return /* @__PURE__ */ i.jsxs("div", { ref: N, className: "relative flex flex-col", style: { width: o }, children: [
8321
8320
  n && /* @__PURE__ */ i.jsx("label", { className: `pb-2 text-[var(--color-ds-text-primary)] ${W}`, children: n }),
8322
8321
  /* @__PURE__ */ i.jsx(
8323
8322
  Cr,
@@ -8326,21 +8325,21 @@ function Wi({
8326
8325
  type: "text",
8327
8326
  size: a,
8328
8327
  width: "100%",
8329
- value: Z,
8328
+ value: U,
8330
8329
  onChange: (k) => {
8331
8330
  const C = k.target.value;
8332
- J.current = !0, U.current = !0, X(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8331
+ J.current = !0, B.current = !0, q(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8333
8332
  },
8334
8333
  onKeyDown: A,
8335
8334
  onBlur: () => {
8336
8335
  J.current = !1;
8337
8336
  },
8338
8337
  disabled: l,
8339
- hasError: B.invalid,
8340
- errorMessage: (j = B.error) == null ? void 0 : j.message,
8338
+ hasError: Z.invalid,
8339
+ errorMessage: (j = Z.error) == null ? void 0 : j.message,
8341
8340
  onFocus: () => {
8342
- if (J.current = !0, c === "button" && U.current) {
8343
- const k = (Z || "").trim();
8341
+ if (J.current = !0, c === "button" && B.current) {
8342
+ const k = (U || "").trim();
8344
8343
  k && K(k);
8345
8344
  }
8346
8345
  },
@@ -8351,7 +8350,7 @@ function Wi({
8351
8350
  className: "!rounded-l-none",
8352
8351
  size: a,
8353
8352
  variant: "primary",
8354
- onClick: () => K((Z || "").trim()),
8353
+ onClick: () => K((U || "").trim()),
8355
8354
  disabled: l,
8356
8355
  children: "Buscar"
8357
8356
  }
@@ -8367,7 +8366,7 @@ function Wi({
8367
8366
  className: "rounded-lg"
8368
8367
  }
8369
8368
  ) }),
8370
- O && !g && N.length > 0 && /* @__PURE__ */ i.jsx(
8369
+ $ && !g && _.length > 0 && /* @__PURE__ */ i.jsx(
8371
8370
  "ul",
8372
8371
  {
8373
8372
  className: `
@@ -8376,15 +8375,15 @@ function Wi({
8376
8375
  rounded-lg bg-[var(--color-ds-background-page)]
8377
8376
  shadow-lg ${W} max-h-48 overflow-auto z-10
8378
8377
  `,
8379
- children: N.map((k) => /* @__PURE__ */ i.jsx(
8378
+ children: _.map((k) => /* @__PURE__ */ i.jsx(
8380
8379
  "li",
8381
8380
  {
8382
- className: `px-2 ${Y} flex items-center cursor-pointer
8381
+ className: `px-2 ${H} flex items-center cursor-pointer
8383
8382
  text-[var(--color-ds-text-primary)]
8384
8383
  hover:bg-[var(--color-ds-background-surface)]`,
8385
8384
  onClick: () => {
8386
8385
  const C = String(k.value).trim();
8387
- x(r, C, { shouldDirty: !0, shouldValidate: !0 }), X(k.label ?? C), J.current = !1, U.current = !1, F(!1);
8386
+ x(r, C, { shouldDirty: !0, shouldValidate: !0 }), q(k.label ?? C), J.current = !1, B.current = !1, F(!1);
8388
8387
  },
8389
8388
  children: k.label
8390
8389
  },
@@ -8458,22 +8457,22 @@ function il({
8458
8457
  defaultValues: c ?? {}
8459
8458
  }), {
8460
8459
  control: w,
8461
- reset: N,
8460
+ reset: _,
8462
8461
  handleSubmit: v,
8463
8462
  formState: { errors: g, isSubmitting: S }
8464
- } = x, [O, F] = ae(!1);
8463
+ } = x, [$, F] = ae(!1);
8465
8464
  de(() => {
8466
- d && (F(!0), d().then((A) => N(A)).finally(() => F(!1)));
8467
- }, [d, N]);
8468
- const Z = Fe(
8465
+ d && (F(!0), d().then((A) => _(A)).finally(() => F(!1)));
8466
+ }, [d, _]);
8467
+ const U = Fe(
8469
8468
  () => (s ?? []).filter(Gi),
8470
8469
  [s]
8471
- ), { loadingCount: X, optionsMap: _ } = $i(Z), M = Ri(s), J = zi(s, w), U = Fe(() => {
8470
+ ), { loadingCount: q, optionsMap: N } = $i(U), O = Ri(s), J = zi(s, w), B = Fe(() => {
8472
8471
  const A = {};
8473
- return t.forEach((h, B) => {
8474
- h.type === "tabs" && (A[B] = h.tabs[0].key);
8472
+ return t.forEach((h, Z) => {
8473
+ h.type === "tabs" && (A[Z] = h.tabs[0].key);
8475
8474
  }), A;
8476
- }, [t]), [$, G] = ae(U), K = or(
8475
+ }, [t]), [M, Y] = ae(B), K = or(
8477
8476
  (A, h) => {
8478
8477
  if (!(A != null && A.enabled) || !A.rule) return h;
8479
8478
  try {
@@ -8496,12 +8495,12 @@ function il({
8496
8495
  );
8497
8496
  de(() => {
8498
8497
  if (!W.length) return;
8499
- const A = (B) => {
8498
+ const A = (Z) => {
8500
8499
  W.forEach(({ name: j, rule: k, clearTo: C }) => {
8501
8500
  try {
8502
- if (!!Wt(k, B)) {
8501
+ if (!!Wt(k, Z)) {
8503
8502
  const Q = C ?? "";
8504
- B[j] !== Q && x.setValue(j, Q, {
8503
+ Z[j] !== Q && x.setValue(j, Q, {
8505
8504
  shouldDirty: !0,
8506
8505
  shouldValidate: !0
8507
8506
  });
@@ -8513,21 +8512,21 @@ function il({
8513
8512
  A(x.getValues());
8514
8513
  const h = x.watch(() => A(x.getValues()));
8515
8514
  return () => {
8516
- var B;
8517
- return (B = h == null ? void 0 : h.unsubscribe) == null ? void 0 : B.call(h);
8515
+ var Z;
8516
+ return (Z = h == null ? void 0 : h.unsubscribe) == null ? void 0 : Z.call(h);
8518
8517
  };
8519
8518
  }, [x, W]);
8520
- const Y = or(
8519
+ const H = or(
8521
8520
  (A) => {
8522
8521
  var se, oe, xe, ye;
8523
8522
  let h;
8524
8523
  if (typeof A == "string") {
8525
- if (h = M[A], !h) return null;
8524
+ if (h = O[A], !h) return null;
8526
8525
  } else
8527
8526
  h = A;
8528
- const B = h.visibleWhen;
8527
+ const Z = h.visibleWhen;
8529
8528
  if (!K(
8530
- B,
8529
+ Z,
8531
8530
  /* default visible */
8532
8531
  !0
8533
8532
  )) return null;
@@ -8560,7 +8559,7 @@ function il({
8560
8559
  if (h.type === "inputGroup") {
8561
8560
  const te = h, fe = te.inputs.map((Ae) => {
8562
8561
  var dt;
8563
- const he = typeof Ae == "string" ? M[Ae] : Ae;
8562
+ const he = typeof Ae == "string" ? O[Ae] : Ae;
8564
8563
  if (!he) return null;
8565
8564
  const Me = he.disabledWhen;
8566
8565
  let ut = !!he.disabled;
@@ -8576,14 +8575,14 @@ function il({
8576
8575
  placeholder: he.placeholder,
8577
8576
  hasError: !!g[he.name],
8578
8577
  errorMessage: ((dt = g[he.name]) == null ? void 0 : dt.message) || "",
8579
- loading: O,
8578
+ loading: $,
8580
8579
  disabled: ut,
8581
8580
  suffixButton: he.suffixButton,
8582
8581
  reserveErrorSpace: !0
8583
8582
  };
8584
8583
  return he.type === "select" ? {
8585
8584
  ...Ht,
8586
- options: he.options ?? _[he.name] ?? [],
8585
+ options: he.options ?? N[he.name] ?? [],
8587
8586
  loadOptions: he.options ? void 0 : he.loadOptions
8588
8587
  } : Ht;
8589
8588
  }).filter((Ae) => Ae !== null);
@@ -8619,7 +8618,7 @@ function il({
8619
8618
  }
8620
8619
  ) }, te.name);
8621
8620
  }
8622
- const Q = h.suffixButton, re = typeof Q == "string" ? Y(Q) : Q, ue = {
8621
+ const Q = h.suffixButton, re = typeof Q == "string" ? H(Q) : Q, ue = {
8623
8622
  name: h.name,
8624
8623
  control: w,
8625
8624
  disabled: k || S,
@@ -8633,7 +8632,7 @@ function il({
8633
8632
  switch (h.type) {
8634
8633
  case "select":
8635
8634
  return /* @__PURE__ */ i.jsx(
8636
- $e,
8635
+ Oe,
8637
8636
  {
8638
8637
  name: h.name,
8639
8638
  control: w,
@@ -8645,7 +8644,7 @@ function il({
8645
8644
  ...ue,
8646
8645
  value: te.value,
8647
8646
  onChange: te.onChange,
8648
- options: h.options ?? _[h.name] ?? [],
8647
+ options: h.options ?? N[h.name] ?? [],
8649
8648
  loadOptions: h.options ? void 0 : h.loadOptions,
8650
8649
  hasError: !!g[h.name],
8651
8650
  errorMessage: (fe = g[h.name]) == null ? void 0 : fe.message,
@@ -8658,7 +8657,7 @@ function il({
8658
8657
  );
8659
8658
  case "textarea":
8660
8659
  return /* @__PURE__ */ i.jsx(
8661
- $e,
8660
+ Oe,
8662
8661
  {
8663
8662
  name: h.name,
8664
8663
  control: w,
@@ -8738,7 +8737,7 @@ function il({
8738
8737
  {
8739
8738
  ...ue,
8740
8739
  type: h.type,
8741
- loadingDefaults: O,
8740
+ loadingDefaults: $,
8742
8741
  hasError: !!g[h.name],
8743
8742
  errorMessage: (ye = g[h.name]) == null ? void 0 : ye.message,
8744
8743
  suffixButton: re,
@@ -8749,12 +8748,12 @@ function il({
8749
8748
  }
8750
8749
  },
8751
8750
  [
8752
- M,
8751
+ O,
8753
8752
  w,
8754
8753
  g,
8755
8754
  S,
8756
- O,
8757
- _,
8755
+ $,
8756
+ N,
8758
8757
  K,
8759
8758
  J,
8760
8759
  x.getValues,
@@ -8776,12 +8775,12 @@ function il({
8776
8775
  className: "space-y-6",
8777
8776
  children: [
8778
8777
  t.map(
8779
- (A, h) => A.type === "rows" ? /* @__PURE__ */ i.jsx(ne.Fragment, { children: A.sections.map((B, j) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8778
+ (A, h) => A.type === "rows" ? /* @__PURE__ */ i.jsx(ne.Fragment, { children: A.sections.map((Z, j) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8780
8779
  Lr,
8781
8780
  {
8782
- title: B.sectionTitle,
8783
- defaultOpen: B.defaultOpen,
8784
- children: B.rows.map((k, C) => /* @__PURE__ */ i.jsxs("div", { children: [
8781
+ title: Z.sectionTitle,
8782
+ defaultOpen: Z.defaultOpen,
8783
+ children: Z.rows.map((k, C) => /* @__PURE__ */ i.jsxs("div", { children: [
8785
8784
  k.title && /* @__PURE__ */ i.jsx("h2", { className: "mb-2 text-lg text-[var(--color-ds-text-primary)]", children: k.title }),
8786
8785
  /* @__PURE__ */ i.jsx("div", { className: "flex flex-wrap -mx-2", children: k.columns.map((D, Q) => {
8787
8786
  var re;
@@ -8789,7 +8788,7 @@ function il({
8789
8788
  "div",
8790
8789
  {
8791
8790
  className: `${D.width} px-2 flex flex-col`,
8792
- children: /* @__PURE__ */ i.jsx("div", { className: "space-y-4", children: D.fields ? D.fields.map((ue) => Y(ue)) : (re = D.rows) == null ? void 0 : re.map((ue, se) => /* @__PURE__ */ i.jsx("div", { className: "mb-1", children: /* @__PURE__ */ i.jsx("div", { className: "flex flex-wrap -mx-2", children: ue.columns.map(
8791
+ children: /* @__PURE__ */ i.jsx("div", { className: "space-y-4", children: D.fields ? D.fields.map((ue) => H(ue)) : (re = D.rows) == null ? void 0 : re.map((ue, se) => /* @__PURE__ */ i.jsx("div", { className: "mb-1", children: /* @__PURE__ */ i.jsx("div", { className: "flex flex-wrap -mx-2", children: ue.columns.map(
8793
8792
  (oe, xe) => {
8794
8793
  var ye;
8795
8794
  return /* @__PURE__ */ i.jsx(
@@ -8797,7 +8796,7 @@ function il({
8797
8796
  {
8798
8797
  className: `${oe.width} px-2`,
8799
8798
  children: (ye = oe.fields) == null ? void 0 : ye.map(
8800
- (te) => Y(te)
8799
+ (te) => H(te)
8801
8800
  )
8802
8801
  },
8803
8802
  xe
@@ -8813,13 +8812,13 @@ function il({
8813
8812
  ) }, j)) }, h) : /* @__PURE__ */ i.jsx(
8814
8813
  gi,
8815
8814
  {
8816
- options: A.tabs.map((B) => ({ label: B.label, value: B.key })),
8817
- value: $[h],
8818
- onChange: (B) => G((j) => ({ ...j, [h]: B })),
8815
+ options: A.tabs.map((Z) => ({ label: Z.label, value: Z.key })),
8816
+ value: M[h],
8817
+ onChange: (Z) => Y((j) => ({ ...j, [h]: Z })),
8819
8818
  children: Object.fromEntries(
8820
- A.tabs.map((B) => [
8821
- B.key,
8822
- /* @__PURE__ */ i.jsx("div", { className: "space-y-6", children: B.sections.map((j, k) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8819
+ A.tabs.map((Z) => [
8820
+ Z.key,
8821
+ /* @__PURE__ */ i.jsx("div", { className: "space-y-6", children: Z.sections.map((j, k) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8823
8822
  Lr,
8824
8823
  {
8825
8824
  title: j.sectionTitle,
@@ -8830,13 +8829,13 @@ function il({
8830
8829
  "div",
8831
8830
  {
8832
8831
  className: `${Q.width ?? "flex-1"} px-2 flex flex-col`,
8833
- children: /* @__PURE__ */ i.jsx("div", { className: "space-y-4", children: (ue = Q.fields) == null ? void 0 : ue.map((se, oe) => /* @__PURE__ */ i.jsx(ne.Fragment, { children: Y(se) }, oe)) })
8832
+ children: /* @__PURE__ */ i.jsx("div", { className: "space-y-4", children: (ue = Q.fields) == null ? void 0 : ue.map((se, oe) => /* @__PURE__ */ i.jsx(ne.Fragment, { children: H(se) }, oe)) })
8834
8833
  },
8835
8834
  re
8836
8835
  );
8837
8836
  }) }) }, D))
8838
8837
  }
8839
- ) }, k)) }, B.key)
8838
+ ) }, k)) }, Z.key)
8840
8839
  ])
8841
8840
  )
8842
8841
  },
@@ -8850,7 +8849,7 @@ function il({
8850
8849
  variant: "primary",
8851
8850
  icon: zn,
8852
8851
  size: "sm",
8853
- disabled: S || O || X > 0,
8852
+ disabled: S || $ || q > 0,
8854
8853
  children: m(S ? "ds.form.sending" : "ds.form.submit")
8855
8854
  }
8856
8855
  ) })
@@ -9261,54 +9260,54 @@ function fl({
9261
9260
  className: u,
9262
9261
  onRowDoubleClick: p
9263
9262
  }) {
9264
- const m = e !== void 0, [y, x] = ae([]), [w, N] = ae(!1), v = ke(null);
9263
+ const m = e !== void 0, [y, x] = ae([]), [w, _] = ae(!1), v = ke(null);
9265
9264
  de(() => {
9266
9265
  var C;
9267
9266
  if (!t || m) return;
9268
9267
  (C = v.current) == null || C.abort();
9269
9268
  const k = new AbortController();
9270
- return v.current = k, N(!0), t().then((D) => {
9269
+ return v.current = k, _(!0), t().then((D) => {
9271
9270
  k.signal.aborted || x(D);
9272
9271
  }).finally(() => {
9273
- k.signal.aborted || N(!1);
9272
+ k.signal.aborted || _(!1);
9274
9273
  }), () => k.abort();
9275
9274
  }, [t, m]);
9276
- const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [O, F] = ae(/* @__PURE__ */ new Set()), [Z, X] = ae(1), [_, M] = ae(c == null ? void 0 : c.sortBy), [J, U] = ae((c == null ? void 0 : c.sortDir) ?? "asc"), $ = (k) => typeof n == "function" ? n(k) : k[n], G = ke(null);
9275
+ const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [$, F] = ae(/* @__PURE__ */ new Set()), [U, q] = ae(1), [N, O] = ae(c == null ? void 0 : c.sortBy), [J, B] = ae((c == null ? void 0 : c.sortDir) ?? "asc"), M = (k) => typeof n == "function" ? n(k) : k[n], Y = ke(null);
9277
9276
  de(() => {
9278
- G.current !== g && (F(/* @__PURE__ */ new Set()), X(1), G.current = g);
9277
+ Y.current !== g && (F(/* @__PURE__ */ new Set()), q(1), Y.current = g);
9279
9278
  }, [g]);
9280
9279
  const K = Fe(() => {
9281
- if (!_) return g;
9280
+ if (!N) return g;
9282
9281
  const k = J === "asc" ? 1 : -1;
9283
9282
  return [...g].sort((C, D) => {
9284
- const Q = C[_], re = D[_];
9283
+ const Q = C[N], re = D[N];
9285
9284
  return Q == null ? -k : re == null || Q > re ? k : Q < re ? -k : 0;
9286
9285
  });
9287
- }, [g, _, J]), W = Math.max(1, Math.ceil(K.length / l)), Y = Fe(() => {
9288
- const k = (Z - 1) * l;
9286
+ }, [g, N, J]), W = Math.max(1, Math.ceil(K.length / l)), H = Fe(() => {
9287
+ const k = (U - 1) * l;
9289
9288
  return K.slice(k, k + l);
9290
- }, [K, Z, l]), A = (k) => {
9291
- const C = new Set(O);
9292
- C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has($(D))));
9289
+ }, [K, U, l]), A = (k) => {
9290
+ const C = new Set($);
9291
+ C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9293
9292
  }, h = () => {
9294
- const k = Y.every((D) => O.has($(D))), C = new Set(O);
9295
- Y.forEach((D) => {
9296
- k ? C.delete($(D)) : C.add($(D));
9297
- }), F(C), o == null || o(g.filter((D) => C.has($(D))));
9298
- }, B = (k) => {
9293
+ const k = H.every((D) => $.has(M(D))), C = new Set($);
9294
+ H.forEach((D) => {
9295
+ k ? C.delete(M(D)) : C.add(M(D));
9296
+ }), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9297
+ }, Z = (k) => {
9299
9298
  if (!k.sortable) return;
9300
9299
  const C = typeof k.accessor == "string" ? k.accessor : k.sortKey;
9301
- if (_ === C) {
9300
+ if (N === C) {
9302
9301
  const D = J === "asc" ? "desc" : "asc";
9303
- U(D), d == null || d(C, D);
9302
+ B(D), d == null || d(C, D);
9304
9303
  } else
9305
- M(C), U("asc"), d == null || d(C, "asc");
9306
- X(1);
9304
+ O(C), B("asc"), d == null || d(C, "asc");
9305
+ q(1);
9307
9306
  }, j = () => S ? /* @__PURE__ */ i.jsx("tbody", { children: Array.from({ length: l }).map((k, C) => /* @__PURE__ */ i.jsxs("tr", { children: [
9308
9307
  a && /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "1rem", height: "1rem", variant: "circle" }) }),
9309
9308
  r.map((D, Q) => /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "100%", height: "1em", variant: "rect" }) }, Q))
9310
- ] }, C)) }) : Y.length ? /* @__PURE__ */ i.jsx("tbody", { children: Y.map((k) => {
9311
- const C = $(k);
9309
+ ] }, C)) }) : H.length ? /* @__PURE__ */ i.jsx("tbody", { children: H.map((k) => {
9310
+ const C = M(k);
9312
9311
  return /* @__PURE__ */ i.jsxs(
9313
9312
  "tr",
9314
9313
  {
@@ -9323,7 +9322,7 @@ function fl({
9323
9322
  "input",
9324
9323
  {
9325
9324
  type: "checkbox",
9326
- checked: O.has(C),
9325
+ checked: $.has(C),
9327
9326
  onChange: () => A(C),
9328
9327
  onDoubleClick: (D) => D.stopPropagation()
9329
9328
  }
@@ -9351,18 +9350,18 @@ function fl({
9351
9350
  "input",
9352
9351
  {
9353
9352
  type: "checkbox",
9354
- checked: Y.length > 0 && Y.every((k) => O.has($(k))),
9353
+ checked: H.length > 0 && H.every((k) => $.has(M(k))),
9355
9354
  onChange: h,
9356
9355
  onDoubleClick: (k) => k.stopPropagation()
9357
9356
  }
9358
9357
  ) }),
9359
9358
  r.map((k) => {
9360
- const C = typeof k.accessor == "string" ? k.accessor : k.header, D = _ === (typeof k.accessor == "string" ? k.accessor : k.sortKey);
9359
+ const C = typeof k.accessor == "string" ? k.accessor : k.header, D = N === (typeof k.accessor == "string" ? k.accessor : k.sortKey);
9361
9360
  return /* @__PURE__ */ i.jsx(
9362
9361
  "th",
9363
9362
  {
9364
9363
  className: I("px-4 py-2 text-left text-sm font-medium text-gray-700", k.width),
9365
- onClick: () => B(k),
9364
+ onClick: () => Z(k),
9366
9365
  children: /* @__PURE__ */ i.jsxs("div", { className: "inline-flex items-center space-x-1 cursor-pointer", children: [
9367
9366
  /* @__PURE__ */ i.jsx("span", { children: k.header }),
9368
9367
  k.sortable && /* @__PURE__ */ i.jsx("span", { className: "text-xs", children: D ? J === "asc" ? "▲" : "▼" : "⇵" })
@@ -9375,10 +9374,10 @@ function fl({
9375
9374
  j()
9376
9375
  ] }),
9377
9376
  /* @__PURE__ */ i.jsxs("div", { className: "flex items-center justify-between py-2 px-4", children: [
9378
- /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${Z} de ${W}` }),
9377
+ /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${U} de ${W}` }),
9379
9378
  /* @__PURE__ */ i.jsxs("div", { className: "space-x-2", children: [
9380
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || Z <= 1, onClick: () => X((k) => Math.max(1, k - 1)), children: "Prev" }),
9381
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || Z >= W, onClick: () => X((k) => Math.min(W, k + 1)), children: "Next" })
9379
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || U <= 1, onClick: () => q((k) => Math.max(1, k - 1)), children: "Prev" }),
9380
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || U >= W, onClick: () => q((k) => Math.min(W, k + 1)), children: "Next" })
9382
9381
  ] })
9383
9382
  ] })
9384
9383
  ] });
@@ -9399,7 +9398,7 @@ function tl({
9399
9398
  const p = et();
9400
9399
  if (r && e)
9401
9400
  return /* @__PURE__ */ i.jsx(
9402
- $e,
9401
+ Oe,
9403
9402
  {
9404
9403
  name: e,
9405
9404
  control: r,
@@ -9480,19 +9479,19 @@ function hl({
9480
9479
  ), [l, c] = ae(o), d = e ?? l, u = (x) => {
9481
9480
  t ? t(x) : c(x);
9482
9481
  }, p = (x, w) => {
9483
- w && u(s ? d.includes(x) ? d.filter((N) => N !== x) : [...d, x] : d.includes(x) ? [] : [x]);
9484
- }, m = (x, w, N) => {
9485
- (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p(w, N));
9482
+ w && u(s ? d.includes(x) ? d.filter((_) => _ !== x) : [...d, x] : d.includes(x) ? [] : [x]);
9483
+ }, m = (x, w, _) => {
9484
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p(w, _));
9486
9485
  }, y = n ? "py-1" : "py-2";
9487
9486
  return /* @__PURE__ */ i.jsx("div", { className: ["divide-y", "divide-[var(--color-ds-border-default-50)]", a].filter(Boolean).join(" "), children: r.map((x) => {
9488
- const w = d.includes(x.id), N = !x.disabled;
9487
+ const w = d.includes(x.id), _ = !x.disabled;
9489
9488
  return /* @__PURE__ */ i.jsxs("section", { "aria-disabled": x.disabled || void 0, children: [
9490
9489
  /* @__PURE__ */ i.jsxs(
9491
9490
  "button",
9492
9491
  {
9493
9492
  type: "button",
9494
- onClick: () => p(x.id, N),
9495
- onKeyDown: (v) => m(v, x.id, N),
9493
+ onClick: () => p(x.id, _),
9494
+ onKeyDown: (v) => m(v, x.id, _),
9496
9495
  "aria-expanded": w,
9497
9496
  className: [
9498
9497
  "w-full flex items-center justify-between gap-2 text-left select-none",