@dipusevilla/componentes-iu 1.0.38 → 1.0.39

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
@@ -59,13 +59,13 @@ function On() {
59
59
  return "Fragment";
60
60
  case v:
61
61
  return "Profiler";
62
- case _:
62
+ case N:
63
63
  return "StrictMode";
64
64
  case F:
65
65
  return "Suspense";
66
- case P:
66
+ case B:
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 q:
84
+ case Z:
85
85
  return k = j.displayName || null, k !== null ? k : r(j.type) || "Memo";
86
- case N:
86
+ case _:
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 === N)
117
+ if (typeof j == "object" && j !== null && j.$$typeof === _)
118
118
  return "<...>";
119
119
  try {
120
120
  var k = r(j);
@@ -131,7 +131,7 @@ function On() {
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
  }
@@ -139,7 +139,7 @@ function On() {
139
139
  }
140
140
  function l(j, k) {
141
141
  function C() {
142
- W || (W = !0, console.error(
142
+ q || (q = !0, console.error(
143
143
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
144
144
  k
145
145
  ));
@@ -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}", Z[oe + D] || (xe = 0 < xe.length ? "{" + xe.join(": ..., ") + ": ...}" : "{}", console.error(
208
+ D = 0 < xe.length ? "{key: someKey, " + xe.join(": ..., ") + ": ...}" : "{key: someKey}", W[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
- ), Z[oe + D] = !0);
219
+ ), W[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"), _ = 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"), P = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), N = 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, Y = 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"), N = 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"), B = Symbol.for("react.suspense_list"), Z = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), U = 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,10 +248,10 @@ React keys must be passed directly to JSX without using spread:
248
248
  return j();
249
249
  }
250
250
  };
251
- var W, H = {}, A = m["react-stack-bottom-frame"].bind(
251
+ var q, H = {}, A = m["react-stack-bottom-frame"].bind(
252
252
  m,
253
253
  a
254
- )(), h = K(s(a)), Z = {};
254
+ )(), h = K(s(a)), W = {};
255
255
  ht.Fragment = w, ht.jsx = function(j, k, C, D, Q) {
256
256
  var re = 1e4 > U.recentlyCreatedOwnerStacks++;
257
257
  return d(
@@ -962,9 +962,9 @@ const jr = "-", ca = (r) => {
962
962
  c = d + (c.length > 0 ? " " + c : c);
963
963
  continue;
964
964
  }
965
- let _ = !!w, v = s(_ ? x.substring(0, w) : x);
965
+ let N = !!w, v = s(N ? x.substring(0, w) : x);
966
966
  if (!v) {
967
- if (!_) {
967
+ if (!N) {
968
968
  c = d + (c.length > 0 ? " " + c : c);
969
969
  continue;
970
970
  }
@@ -972,16 +972,16 @@ const jr = "-", ca = (r) => {
972
972
  c = d + (c.length > 0 ? " " + c : c);
973
973
  continue;
974
974
  }
975
- _ = !1;
975
+ N = !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, _);
982
- for (let P = 0; P < F.length; ++P) {
983
- const q = F[P];
984
- o.push(S + q);
980
+ o.push($);
981
+ const F = n(v, N);
982
+ for (let B = 0; B < F.length; ++B) {
983
+ const Z = F[B];
984
+ o.push(S + Z);
985
985
  }
986
986
  c = d + (c.length > 0 ? " " + c : c);
987
987
  }
@@ -1026,14 +1026,14 @@ const ge = (r) => {
1026
1026
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1027
1027
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1028
1028
  Na.test(r) && !_a.test(r)
1029
- ), Rs = () => !1, Ca = (r) => Fa.test(r), Oa = (r) => Sa.test(r), Ra = (r) => !z(r) && !B(r), Va = (r) => lt(r, Ms, Rs), z = (r) => Cs.test(r), Xe = (r) => lt(r, Ds, Aa), Qt = (r) => lt(r, La, ee), Br = (r) => lt(r, Vs, Rs), $a = (r) => lt(r, $s, Oa), Nt = (r) => lt(r, Is, Ca), B = (r) => Os.test(r), mt = (r) => ct(r, Ds), Ma = (r) => ct(r, Pa), Ur = (r) => ct(r, Vs), Da = (r) => ct(r, Ms), Ia = (r) => ct(r, $s), _t = (r) => ct(r, Is, !0), lt = (r, e, t) => {
1029
+ ), Rs = () => !1, Ca = (r) => Fa.test(r), Oa = (r) => Sa.test(r), Ra = (r) => !P(r) && !z(r), Va = (r) => lt(r, Ms, Rs), P = (r) => Cs.test(r), Xe = (r) => lt(r, Ds, Aa), Qt = (r) => lt(r, La, ee), Br = (r) => lt(r, Vs, Rs), $a = (r) => lt(r, $s, Oa), Nt = (r) => lt(r, Is, Ca), z = (r) => Os.test(r), mt = (r) => ct(r, Ds), Ma = (r) => ct(r, Pa), Ur = (r) => ct(r, Vs), Da = (r) => ct(r, Ms), Ia = (r) => ct(r, $s), _t = (r) => ct(r, Is, !0), lt = (r, e, t) => {
1030
1030
  const s = Cs.exec(r);
1031
1031
  return s ? s[1] ? e(s[1]) : t(s[2]) : !1;
1032
1032
  }, ct = (r, e, t = !1) => {
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"), u = ge("radius"), d = 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"], 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"), u = ge("radius"), d = 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"], $ = () => [
1037
1037
  "center",
1038
1038
  "top",
1039
1039
  "bottom",
@@ -1051,30 +1051,30 @@ 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(), B, z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], N = () => [B, z, c], M = () => [rt, "full", "auto", ...N()], J = () => [qe, "none", "subgrid", B, z], U = () => ["auto", {
1055
- span: ["full", qe, B, z]
1056
- }, qe, B, z], $ = () => [qe, "auto", B, z], Y = () => ["auto", "min", "max", "fr", B, z], 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, B, z], Z = () => [...O(), Ur, Br, {
1057
- position: [B, z]
1054
+ ], F = () => [...$(), z, P], B = () => ["auto", "hidden", "clip", "visible", "scroll"], Z = () => ["auto", "contain", "none"], _ = () => [z, P, c], O = () => [rt, "full", "auto", ..._()], J = () => [qe, "none", "subgrid", z, P], U = () => ["auto", {
1055
+ span: ["full", qe, z, P]
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"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ..._()], A = () => [rt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ..._()], h = () => [r, z, P], W = () => [...$(), Ur, Br, {
1057
+ position: [z, P]
1058
1058
  }], j = () => ["no-repeat", {
1059
1059
  repeat: ["", "x", "y", "space", "round"]
1060
1060
  }], k = () => ["auto", "cover", "contain", Da, Va, {
1061
- size: [B, z]
1061
+ size: [z, P]
1062
1062
  }], C = () => [Jt, mt, Xe], D = () => [
1063
1063
  // Deprecated since Tailwind CSS v4.0.0
1064
1064
  "",
1065
1065
  "none",
1066
1066
  "full",
1067
1067
  u,
1068
- B,
1069
- z
1068
+ z,
1069
+ P
1070
1070
  ], Q = () => ["", ee, mt, Xe], re = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => [ee, Jt, Ur, Br], oe = () => [
1071
1071
  // Deprecated since Tailwind CSS v4.0.0
1072
1072
  "",
1073
1073
  "none",
1074
1074
  x,
1075
- B,
1076
- z
1077
- ], xe = () => ["none", ee, B, z], ye = () => ["none", ee, B, z], te = () => [ee, B, z], fe = () => [rt, "full", ...N()];
1075
+ z,
1076
+ P
1077
+ ], xe = () => ["none", ee, z, P], ye = () => ["none", ee, z, P], te = () => [ee, z, P], fe = () => [rt, "full", ..._()];
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, z, B, _]
1110
+ aspect: ["auto", "square", rt, P, z, N]
1111
1111
  }],
1112
1112
  /**
1113
1113
  * Container
@@ -1120,7 +1120,7 @@ const ge = (r) => {
1120
1120
  * @see https://tailwindcss.com/docs/columns
1121
1121
  */
1122
1122
  columns: [{
1123
- columns: [ee, z, B, l]
1123
+ columns: [ee, P, z, l]
1124
1124
  }],
1125
1125
  /**
1126
1126
  * Break After
@@ -1205,42 +1205,42 @@ const ge = (r) => {
1205
1205
  * @see https://tailwindcss.com/docs/overflow
1206
1206
  */
1207
1207
  overflow: [{
1208
- overflow: P()
1208
+ overflow: B()
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": P()
1215
+ "overflow-x": B()
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": P()
1222
+ "overflow-y": B()
1223
1223
  }],
1224
1224
  /**
1225
1225
  * Overscroll Behavior
1226
1226
  * @see https://tailwindcss.com/docs/overscroll-behavior
1227
1227
  */
1228
1228
  overscroll: [{
1229
- overscroll: q()
1229
+ overscroll: Z()
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": q()
1236
+ "overscroll-x": Z()
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": q()
1243
+ "overscroll-y": Z()
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
@@ -1320,7 +1320,7 @@ const ge = (r) => {
1320
1320
  * @see https://tailwindcss.com/docs/z-index
1321
1321
  */
1322
1322
  z: [{
1323
- z: [qe, "auto", B, z]
1323
+ z: [qe, "auto", z, P]
1324
1324
  }],
1325
1325
  // ------------------------
1326
1326
  // --- Flexbox and Grid ---
@@ -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, ...N()]
1333
+ basis: [rt, "full", "auto", l, ..._()]
1334
1334
  }],
1335
1335
  /**
1336
1336
  * Flex Direction
@@ -1351,28 +1351,28 @@ const ge = (r) => {
1351
1351
  * @see https://tailwindcss.com/docs/flex
1352
1352
  */
1353
1353
  flex: [{
1354
- flex: [ee, rt, "auto", "initial", "none", z]
1354
+ flex: [ee, rt, "auto", "initial", "none", P]
1355
1355
  }],
1356
1356
  /**
1357
1357
  * Flex Grow
1358
1358
  * @see https://tailwindcss.com/docs/flex-grow
1359
1359
  */
1360
1360
  grow: [{
1361
- grow: ["", ee, B, z]
1361
+ grow: ["", ee, z, P]
1362
1362
  }],
1363
1363
  /**
1364
1364
  * Flex Shrink
1365
1365
  * @see https://tailwindcss.com/docs/flex-shrink
1366
1366
  */
1367
1367
  shrink: [{
1368
- shrink: ["", ee, B, z]
1368
+ shrink: ["", ee, z, P]
1369
1369
  }],
1370
1370
  /**
1371
1371
  * Order
1372
1372
  * @see https://tailwindcss.com/docs/order
1373
1373
  */
1374
1374
  order: [{
1375
- order: [qe, "first", "last", "none", B, z]
1375
+ order: [qe, "first", "last", "none", z, P]
1376
1376
  }],
1377
1377
  /**
1378
1378
  * Grid Template Columns
@@ -1393,14 +1393,14 @@ const ge = (r) => {
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
@@ -1421,14 +1421,14 @@ const ge = (r) => {
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
@@ -1456,21 +1456,21 @@ const ge = (r) => {
1456
1456
  * @see https://tailwindcss.com/docs/gap
1457
1457
  */
1458
1458
  gap: [{
1459
- gap: N()
1459
+ gap: _()
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": N()
1466
+ "gap-x": _()
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": N()
1473
+ "gap-y": _()
1474
1474
  }],
1475
1475
  /**
1476
1476
  * Justify Content
@@ -1484,14 +1484,14 @@ const ge = (r) => {
1484
1484
  * @see https://tailwindcss.com/docs/justify-items
1485
1485
  */
1486
1486
  "justify-items": [{
1487
- "justify-items": [...W(), "normal"]
1487
+ "justify-items": [...q(), "normal"]
1488
1488
  }],
1489
1489
  /**
1490
1490
  * Justify Self
1491
1491
  * @see https://tailwindcss.com/docs/justify-self
1492
1492
  */
1493
1493
  "justify-self": [{
1494
- "justify-self": ["auto", ...W()]
1494
+ "justify-self": ["auto", ...q()]
1495
1495
  }],
1496
1496
  /**
1497
1497
  * Align Content
@@ -1505,7 +1505,7 @@ const ge = (r) => {
1505
1505
  * @see https://tailwindcss.com/docs/align-items
1506
1506
  */
1507
1507
  "align-items": [{
1508
- items: [...W(), {
1508
+ items: [...q(), {
1509
1509
  baseline: ["", "last"]
1510
1510
  }]
1511
1511
  }],
@@ -1514,7 +1514,7 @@ const ge = (r) => {
1514
1514
  * @see https://tailwindcss.com/docs/align-self
1515
1515
  */
1516
1516
  "align-self": [{
1517
- self: ["auto", ...W(), {
1517
+ self: ["auto", ...q(), {
1518
1518
  baseline: ["", "last"]
1519
1519
  }]
1520
1520
  }],
@@ -1530,14 +1530,14 @@ const ge = (r) => {
1530
1530
  * @see https://tailwindcss.com/docs/place-items
1531
1531
  */
1532
1532
  "place-items": [{
1533
- "place-items": [...W(), "baseline"]
1533
+ "place-items": [...q(), "baseline"]
1534
1534
  }],
1535
1535
  /**
1536
1536
  * Place Self
1537
1537
  * @see https://tailwindcss.com/docs/place-self
1538
1538
  */
1539
1539
  "place-self": [{
1540
- "place-self": ["auto", ...W()]
1540
+ "place-self": ["auto", ...q()]
1541
1541
  }],
1542
1542
  // Spacing
1543
1543
  /**
@@ -1545,63 +1545,63 @@ const ge = (r) => {
1545
1545
  * @see https://tailwindcss.com/docs/padding
1546
1546
  */
1547
1547
  p: [{
1548
- p: N()
1548
+ p: _()
1549
1549
  }],
1550
1550
  /**
1551
1551
  * Padding X
1552
1552
  * @see https://tailwindcss.com/docs/padding
1553
1553
  */
1554
1554
  px: [{
1555
- px: N()
1555
+ px: _()
1556
1556
  }],
1557
1557
  /**
1558
1558
  * Padding Y
1559
1559
  * @see https://tailwindcss.com/docs/padding
1560
1560
  */
1561
1561
  py: [{
1562
- py: N()
1562
+ py: _()
1563
1563
  }],
1564
1564
  /**
1565
1565
  * Padding Start
1566
1566
  * @see https://tailwindcss.com/docs/padding
1567
1567
  */
1568
1568
  ps: [{
1569
- ps: N()
1569
+ ps: _()
1570
1570
  }],
1571
1571
  /**
1572
1572
  * Padding End
1573
1573
  * @see https://tailwindcss.com/docs/padding
1574
1574
  */
1575
1575
  pe: [{
1576
- pe: N()
1576
+ pe: _()
1577
1577
  }],
1578
1578
  /**
1579
1579
  * Padding Top
1580
1580
  * @see https://tailwindcss.com/docs/padding
1581
1581
  */
1582
1582
  pt: [{
1583
- pt: N()
1583
+ pt: _()
1584
1584
  }],
1585
1585
  /**
1586
1586
  * Padding Right
1587
1587
  * @see https://tailwindcss.com/docs/padding
1588
1588
  */
1589
1589
  pr: [{
1590
- pr: N()
1590
+ pr: _()
1591
1591
  }],
1592
1592
  /**
1593
1593
  * Padding Bottom
1594
1594
  * @see https://tailwindcss.com/docs/padding
1595
1595
  */
1596
1596
  pb: [{
1597
- pb: N()
1597
+ pb: _()
1598
1598
  }],
1599
1599
  /**
1600
1600
  * Padding Left
1601
1601
  * @see https://tailwindcss.com/docs/padding
1602
1602
  */
1603
1603
  pl: [{
1604
- pl: N()
1604
+ pl: _()
1605
1605
  }],
1606
1606
  /**
1607
1607
  * Margin
@@ -1671,7 +1671,7 @@ const ge = (r) => {
1671
1671
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1672
1672
  */
1673
1673
  "space-x": [{
1674
- "space-x": N()
1674
+ "space-x": _()
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": N()
1686
+ "space-y": _()
1687
1687
  }],
1688
1688
  /**
1689
1689
  * Space Between Y Reverse
@@ -1784,21 +1784,21 @@ const ge = (r) => {
1784
1784
  * @see https://tailwindcss.com/docs/font-weight
1785
1785
  */
1786
1786
  "font-weight": [{
1787
- font: [s, B, Qt]
1787
+ font: [s, z, Qt]
1788
1788
  }],
1789
1789
  /**
1790
1790
  * Font Stretch
1791
1791
  * @see https://tailwindcss.com/docs/font-stretch
1792
1792
  */
1793
1793
  "font-stretch": [{
1794
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Jt, z]
1794
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Jt, P]
1795
1795
  }],
1796
1796
  /**
1797
1797
  * Font Family
1798
1798
  * @see https://tailwindcss.com/docs/font-family
1799
1799
  */
1800
1800
  "font-family": [{
1801
- font: [Ma, z, e]
1801
+ font: [Ma, P, e]
1802
1802
  }],
1803
1803
  /**
1804
1804
  * Font Variant Numeric
@@ -1835,14 +1835,14 @@ const ge = (r) => {
1835
1835
  * @see https://tailwindcss.com/docs/letter-spacing
1836
1836
  */
1837
1837
  tracking: [{
1838
- tracking: [n, B, z]
1838
+ tracking: [n, z, P]
1839
1839
  }],
1840
1840
  /**
1841
1841
  * Line Clamp
1842
1842
  * @see https://tailwindcss.com/docs/line-clamp
1843
1843
  */
1844
1844
  "line-clamp": [{
1845
- "line-clamp": [ee, "none", B, Qt]
1845
+ "line-clamp": [ee, "none", z, Qt]
1846
1846
  }],
1847
1847
  /**
1848
1848
  * Line Height
@@ -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
- ...N()
1855
+ ..._()
1856
1856
  ]
1857
1857
  }],
1858
1858
  /**
@@ -1860,7 +1860,7 @@ const ge = (r) => {
1860
1860
  * @see https://tailwindcss.com/docs/list-style-image
1861
1861
  */
1862
1862
  "list-image": [{
1863
- "list-image": ["none", B, z]
1863
+ "list-image": ["none", z, P]
1864
1864
  }],
1865
1865
  /**
1866
1866
  * List Style Position
@@ -1874,7 +1874,7 @@ const ge = (r) => {
1874
1874
  * @see https://tailwindcss.com/docs/list-style-type
1875
1875
  */
1876
1876
  "list-style-type": [{
1877
- list: ["disc", "decimal", "none", B, z]
1877
+ list: ["disc", "decimal", "none", z, P]
1878
1878
  }],
1879
1879
  /**
1880
1880
  * Text Alignment
@@ -1915,7 +1915,7 @@ const ge = (r) => {
1915
1915
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1916
1916
  */
1917
1917
  "text-decoration-thickness": [{
1918
- decoration: [ee, "from-font", "auto", B, Xe]
1918
+ decoration: [ee, "from-font", "auto", z, Xe]
1919
1919
  }],
1920
1920
  /**
1921
1921
  * Text Decoration Color
@@ -1929,7 +1929,7 @@ const ge = (r) => {
1929
1929
  * @see https://tailwindcss.com/docs/text-underline-offset
1930
1930
  */
1931
1931
  "underline-offset": [{
1932
- "underline-offset": [ee, "auto", B, z]
1932
+ "underline-offset": [ee, "auto", z, P]
1933
1933
  }],
1934
1934
  /**
1935
1935
  * Text Transform
@@ -1953,14 +1953,14 @@ const ge = (r) => {
1953
1953
  * @see https://tailwindcss.com/docs/text-indent
1954
1954
  */
1955
1955
  indent: [{
1956
- indent: N()
1956
+ indent: _()
1957
1957
  }],
1958
1958
  /**
1959
1959
  * Vertical Alignment
1960
1960
  * @see https://tailwindcss.com/docs/vertical-align
1961
1961
  */
1962
1962
  "vertical-align": [{
1963
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", B, z]
1963
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", z, P]
1964
1964
  }],
1965
1965
  /**
1966
1966
  * Whitespace
@@ -1995,7 +1995,7 @@ const ge = (r) => {
1995
1995
  * @see https://tailwindcss.com/docs/content
1996
1996
  */
1997
1997
  content: [{
1998
- content: ["none", B, z]
1998
+ content: ["none", z, P]
1999
1999
  }],
2000
2000
  // -------------------
2001
2001
  // --- Backgrounds ---
@@ -2026,7 +2026,7 @@ const ge = (r) => {
2026
2026
  * @see https://tailwindcss.com/docs/background-position
2027
2027
  */
2028
2028
  "bg-position": [{
2029
- bg: Z()
2029
+ bg: W()
2030
2030
  }],
2031
2031
  /**
2032
2032
  * Background Repeat
@@ -2050,9 +2050,9 @@ const ge = (r) => {
2050
2050
  bg: ["none", {
2051
2051
  linear: [{
2052
2052
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
2053
- }, qe, B, z],
2054
- radial: ["", B, z],
2055
- conic: [qe, B, z]
2053
+ }, qe, z, P],
2054
+ radial: ["", z, P],
2055
+ conic: [qe, z, P]
2056
2056
  }, Ia, $a]
2057
2057
  }],
2058
2058
  /**
@@ -2395,7 +2395,7 @@ const ge = (r) => {
2395
2395
  * @see https://tailwindcss.com/docs/outline-offset
2396
2396
  */
2397
2397
  "outline-offset": [{
2398
- "outline-offset": [ee, B, z]
2398
+ "outline-offset": [ee, z, P]
2399
2399
  }],
2400
2400
  /**
2401
2401
  * Outline Width
@@ -2521,7 +2521,7 @@ const ge = (r) => {
2521
2521
  * @see https://tailwindcss.com/docs/opacity
2522
2522
  */
2523
2523
  opacity: [{
2524
- opacity: [ee, B, z]
2524
+ opacity: [ee, z, P]
2525
2525
  }],
2526
2526
  /**
2527
2527
  * Mix Blend Mode
@@ -2643,7 +2643,7 @@ const ge = (r) => {
2643
2643
  "mask-y-to": h()
2644
2644
  }],
2645
2645
  "mask-image-radial": [{
2646
- "mask-radial": [B, z]
2646
+ "mask-radial": [z, P]
2647
2647
  }],
2648
2648
  "mask-image-radial-from-pos": [{
2649
2649
  "mask-radial-from": se()
@@ -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: Z()
2706
+ mask: W()
2707
2707
  }],
2708
2708
  /**
2709
2709
  * Mask Repeat
@@ -2731,7 +2731,7 @@ const ge = (r) => {
2731
2731
  * @see https://tailwindcss.com/docs/mask-image
2732
2732
  */
2733
2733
  "mask-image": [{
2734
- mask: ["none", B, z]
2734
+ mask: ["none", z, P]
2735
2735
  }],
2736
2736
  // ---------------
2737
2737
  // --- Filters ---
@@ -2745,8 +2745,8 @@ const ge = (r) => {
2745
2745
  // Deprecated since Tailwind CSS v3.0.0
2746
2746
  "",
2747
2747
  "none",
2748
- B,
2749
- z
2748
+ z,
2749
+ P
2750
2750
  ]
2751
2751
  }],
2752
2752
  /**
@@ -2761,14 +2761,14 @@ const ge = (r) => {
2761
2761
  * @see https://tailwindcss.com/docs/brightness
2762
2762
  */
2763
2763
  brightness: [{
2764
- brightness: [ee, B, z]
2764
+ brightness: [ee, z, P]
2765
2765
  }],
2766
2766
  /**
2767
2767
  * Contrast
2768
2768
  * @see https://tailwindcss.com/docs/contrast
2769
2769
  */
2770
2770
  contrast: [{
2771
- contrast: [ee, B, z]
2771
+ contrast: [ee, z, P]
2772
2772
  }],
2773
2773
  /**
2774
2774
  * Drop Shadow
@@ -2796,35 +2796,35 @@ const ge = (r) => {
2796
2796
  * @see https://tailwindcss.com/docs/grayscale
2797
2797
  */
2798
2798
  grayscale: [{
2799
- grayscale: ["", ee, B, z]
2799
+ grayscale: ["", ee, z, P]
2800
2800
  }],
2801
2801
  /**
2802
2802
  * Hue Rotate
2803
2803
  * @see https://tailwindcss.com/docs/hue-rotate
2804
2804
  */
2805
2805
  "hue-rotate": [{
2806
- "hue-rotate": [ee, B, z]
2806
+ "hue-rotate": [ee, z, P]
2807
2807
  }],
2808
2808
  /**
2809
2809
  * Invert
2810
2810
  * @see https://tailwindcss.com/docs/invert
2811
2811
  */
2812
2812
  invert: [{
2813
- invert: ["", ee, B, z]
2813
+ invert: ["", ee, z, P]
2814
2814
  }],
2815
2815
  /**
2816
2816
  * Saturate
2817
2817
  * @see https://tailwindcss.com/docs/saturate
2818
2818
  */
2819
2819
  saturate: [{
2820
- saturate: [ee, B, z]
2820
+ saturate: [ee, z, P]
2821
2821
  }],
2822
2822
  /**
2823
2823
  * Sepia
2824
2824
  * @see https://tailwindcss.com/docs/sepia
2825
2825
  */
2826
2826
  sepia: [{
2827
- sepia: ["", ee, B, z]
2827
+ sepia: ["", ee, z, P]
2828
2828
  }],
2829
2829
  /**
2830
2830
  * Backdrop Filter
@@ -2835,8 +2835,8 @@ const ge = (r) => {
2835
2835
  // Deprecated since Tailwind CSS v3.0.0
2836
2836
  "",
2837
2837
  "none",
2838
- B,
2839
- z
2838
+ z,
2839
+ P
2840
2840
  ]
2841
2841
  }],
2842
2842
  /**
@@ -2851,56 +2851,56 @@ const ge = (r) => {
2851
2851
  * @see https://tailwindcss.com/docs/backdrop-brightness
2852
2852
  */
2853
2853
  "backdrop-brightness": [{
2854
- "backdrop-brightness": [ee, B, z]
2854
+ "backdrop-brightness": [ee, z, P]
2855
2855
  }],
2856
2856
  /**
2857
2857
  * Backdrop Contrast
2858
2858
  * @see https://tailwindcss.com/docs/backdrop-contrast
2859
2859
  */
2860
2860
  "backdrop-contrast": [{
2861
- "backdrop-contrast": [ee, B, z]
2861
+ "backdrop-contrast": [ee, z, P]
2862
2862
  }],
2863
2863
  /**
2864
2864
  * Backdrop Grayscale
2865
2865
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2866
2866
  */
2867
2867
  "backdrop-grayscale": [{
2868
- "backdrop-grayscale": ["", ee, B, z]
2868
+ "backdrop-grayscale": ["", ee, z, P]
2869
2869
  }],
2870
2870
  /**
2871
2871
  * Backdrop Hue Rotate
2872
2872
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2873
2873
  */
2874
2874
  "backdrop-hue-rotate": [{
2875
- "backdrop-hue-rotate": [ee, B, z]
2875
+ "backdrop-hue-rotate": [ee, z, P]
2876
2876
  }],
2877
2877
  /**
2878
2878
  * Backdrop Invert
2879
2879
  * @see https://tailwindcss.com/docs/backdrop-invert
2880
2880
  */
2881
2881
  "backdrop-invert": [{
2882
- "backdrop-invert": ["", ee, B, z]
2882
+ "backdrop-invert": ["", ee, z, P]
2883
2883
  }],
2884
2884
  /**
2885
2885
  * Backdrop Opacity
2886
2886
  * @see https://tailwindcss.com/docs/backdrop-opacity
2887
2887
  */
2888
2888
  "backdrop-opacity": [{
2889
- "backdrop-opacity": [ee, B, z]
2889
+ "backdrop-opacity": [ee, z, P]
2890
2890
  }],
2891
2891
  /**
2892
2892
  * Backdrop Saturate
2893
2893
  * @see https://tailwindcss.com/docs/backdrop-saturate
2894
2894
  */
2895
2895
  "backdrop-saturate": [{
2896
- "backdrop-saturate": [ee, B, z]
2896
+ "backdrop-saturate": [ee, z, P]
2897
2897
  }],
2898
2898
  /**
2899
2899
  * Backdrop Sepia
2900
2900
  * @see https://tailwindcss.com/docs/backdrop-sepia
2901
2901
  */
2902
2902
  "backdrop-sepia": [{
2903
- "backdrop-sepia": ["", ee, B, z]
2903
+ "backdrop-sepia": ["", ee, z, P]
2904
2904
  }],
2905
2905
  // --------------
2906
2906
  // --- Tables ---
@@ -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": N()
2920
+ "border-spacing": _()
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": N()
2927
+ "border-spacing-x": _()
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": N()
2934
+ "border-spacing-y": _()
2935
2935
  }],
2936
2936
  /**
2937
2937
  * Table Layout
@@ -2955,7 +2955,7 @@ const ge = (r) => {
2955
2955
  * @see https://tailwindcss.com/docs/transition-property
2956
2956
  */
2957
2957
  transition: [{
2958
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", B, z]
2958
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", z, P]
2959
2959
  }],
2960
2960
  /**
2961
2961
  * Transition Behavior
@@ -2969,28 +2969,28 @@ const ge = (r) => {
2969
2969
  * @see https://tailwindcss.com/docs/transition-duration
2970
2970
  */
2971
2971
  duration: [{
2972
- duration: [ee, "initial", B, z]
2972
+ duration: [ee, "initial", z, P]
2973
2973
  }],
2974
2974
  /**
2975
2975
  * Transition Timing Function
2976
2976
  * @see https://tailwindcss.com/docs/transition-timing-function
2977
2977
  */
2978
2978
  ease: [{
2979
- ease: ["linear", "initial", v, B, z]
2979
+ ease: ["linear", "initial", v, z, P]
2980
2980
  }],
2981
2981
  /**
2982
2982
  * Transition Delay
2983
2983
  * @see https://tailwindcss.com/docs/transition-delay
2984
2984
  */
2985
2985
  delay: [{
2986
- delay: [ee, B, z]
2986
+ delay: [ee, z, P]
2987
2987
  }],
2988
2988
  /**
2989
2989
  * Animation
2990
2990
  * @see https://tailwindcss.com/docs/animation
2991
2991
  */
2992
2992
  animate: [{
2993
- animate: ["none", g, B, z]
2993
+ animate: ["none", g, z, P]
2994
2994
  }],
2995
2995
  // ------------------
2996
2996
  // --- Transforms ---
@@ -3007,7 +3007,7 @@ const ge = (r) => {
3007
3007
  * @see https://tailwindcss.com/docs/perspective
3008
3008
  */
3009
3009
  perspective: [{
3010
- perspective: [w, B, z]
3010
+ perspective: [w, z, P]
3011
3011
  }],
3012
3012
  /**
3013
3013
  * Perspective Origin
@@ -3103,7 +3103,7 @@ const ge = (r) => {
3103
3103
  * @see https://tailwindcss.com/docs/transform
3104
3104
  */
3105
3105
  transform: [{
3106
- transform: [B, z, "", "none", "gpu", "cpu"]
3106
+ transform: [z, P, "", "none", "gpu", "cpu"]
3107
3107
  }],
3108
3108
  /**
3109
3109
  * Transform Origin
@@ -3188,7 +3188,7 @@ const ge = (r) => {
3188
3188
  * @see https://tailwindcss.com/docs/cursor
3189
3189
  */
3190
3190
  cursor: [{
3191
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", B, z]
3191
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", z, P]
3192
3192
  }],
3193
3193
  /**
3194
3194
  * Field Sizing
@@ -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": N()
3226
+ "scroll-m": _()
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": N()
3233
+ "scroll-mx": _()
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": N()
3240
+ "scroll-my": _()
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": N()
3247
+ "scroll-ms": _()
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": N()
3254
+ "scroll-me": _()
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": N()
3261
+ "scroll-mt": _()
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": N()
3268
+ "scroll-mr": _()
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": N()
3275
+ "scroll-mb": _()
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": N()
3282
+ "scroll-ml": _()
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": N()
3289
+ "scroll-p": _()
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": N()
3296
+ "scroll-px": _()
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": N()
3303
+ "scroll-py": _()
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": N()
3310
+ "scroll-ps": _()
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": N()
3317
+ "scroll-pe": _()
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": N()
3324
+ "scroll-pt": _()
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": N()
3331
+ "scroll-pr": _()
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": N()
3338
+ "scroll-pb": _()
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": N()
3345
+ "scroll-pl": _()
3346
3346
  }],
3347
3347
  /**
3348
3348
  * Scroll Snap Align
@@ -3410,7 +3410,7 @@ const ge = (r) => {
3410
3410
  * @see https://tailwindcss.com/docs/will-change
3411
3411
  */
3412
3412
  "will-change": [{
3413
- "will-change": ["auto", "scroll", "contents", "transform", B, z]
3413
+ "will-change": ["auto", "scroll", "contents", "transform", z, P]
3414
3414
  }],
3415
3415
  // -----------
3416
3416
  // --- SVG ---
@@ -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((_) => d.current.onChange({
3657
+ }), [c, t]), m = ne.useCallback((N) => d.current.onChange({
3658
3658
  target: {
3659
- value: Ps(_),
3659
+ value: Ps(N),
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((_) => {
3669
+ }), [t, n._formValues]), x = ne.useCallback((N) => {
3670
3670
  const v = V(n._fields, t);
3671
- v && _ && (v._f.ref = {
3672
- focus: () => _.focus(),
3673
- select: () => _.select(),
3674
- setCustomValidity: (g) => _.setCustomValidity(g),
3675
- reportValidity: () => _.reportValidity()
3671
+ v && N && (v._f.ref = {
3672
+ focus: () => N.focus(),
3673
+ select: () => N.select(),
3674
+ setCustomValidity: (g) => N.setCustomValidity(g),
3675
+ reportValidity: () => N.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._options.shouldUnregister || a;
3686
+ const N = n._options.shouldUnregister || a;
3687
3687
  n.register(t, {
3688
3688
  ...u.current.rules,
3689
3689
  ...Te(u.current.disabled) ? { disabled: u.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), _) {
3695
+ if (v(t, !0), N) {
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._state.action : _) ? n.unregister(t) : v(t, !1);
3700
+ (o ? N && !n._state.action : N) ? n.unregister(t) : v(t, !1);
3701
3701
  };
3702
3702
  }, [t, n, o, a]), ne.useEffect(() => {
3703
3703
  n._setDisabledField({
@@ -3911,85 +3911,85 @@ 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: u, minLength: d, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: _, mount: v } = r._f, g = V(t, w);
3914
+ const { ref: o, refs: l, required: c, maxLength: u, minLength: d, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: N, 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 = {}, P = Tr(o), q = vt(o), N = P || q, M = (_ || 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 = ($, Y, K, W = Pe.maxLength, H = Pe.minLength) => {
3920
- const A = $ ? Y : K;
3917
+ const S = l ? l[0] : o, $ = (M) => {
3918
+ n && S.reportValidity && (S.setCustomValidity(Te(M) ? "" : M || ""), S.reportValidity());
3919
+ }, F = {}, B = Tr(o), Z = vt(o), _ = B || Z, O = (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 = (M, Y, K, q = Pe.maxLength, H = Pe.minLength) => {
3920
+ const A = M ? Y : K;
3921
3921
  F[w] = {
3922
- type: $ ? W : H,
3922
+ type: M ? q : H,
3923
3923
  message: A,
3924
3924
  ref: o,
3925
- ...J($ ? W : H, A)
3925
+ ...J(M ? q : H, A)
3926
3926
  };
3927
3927
  };
3928
- if (a ? !Array.isArray(g) || !g.length : c && (!N && (M || Ee(g)) || Te(g) && !g || q && !Ks(l).isValid || P && !Qs(l).isValid)) {
3929
- const { value: $, message: Y } = Vt(c) ? { value: !!c, message: c } : st(c);
3930
- if ($ && (F[w] = {
3928
+ if (a ? !Array.isArray(g) || !g.length : c && (!_ && (O || Ee(g)) || Te(g) && !g || Z && !Ks(l).isValid || B && !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
3932
  message: Y,
3933
3933
  ref: S,
3934
3934
  ...J(Pe.required, Y)
3935
3935
  }, !s))
3936
- return O(Y), F;
3936
+ return $(Y), F;
3937
3937
  }
3938
- if (!M && (!Ee(p) || !Ee(m))) {
3939
- let $, Y;
3940
- const K = st(m), W = st(p);
3938
+ if (!O && (!Ee(p) || !Ee(m))) {
3939
+ let M, Y;
3940
+ const K = st(m), q = st(p);
3941
3941
  if (!Ee(g) && !isNaN(g)) {
3942
3942
  const H = o.valueAsNumber || g && +g;
3943
- Ee(K.value) || ($ = H > K.value), Ee(W.value) || (Y = H < W.value);
3943
+ Ee(K.value) || (M = H > K.value), Ee(q.value) || (Y = H < q.value);
3944
3944
  } else {
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 && ($ = 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));
3945
+ const H = o.valueAsDate || new Date(g), A = (j) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + j), h = o.type == "time", W = o.type == "week";
3946
+ Ie(K.value) && g && (M = h ? A(g) > A(K.value) : W ? g > K.value : H > new Date(K.value)), Ie(q.value) && g && (Y = h ? A(g) < A(q.value) : W ? g < q.value : H < new Date(q.value));
3947
3947
  }
3948
- if (($ || Y) && (U(!!$, K.message, W.message, Pe.max, Pe.min), !s))
3949
- return O(F[w].message), F;
3948
+ if ((M || Y) && (U(!!M, K.message, q.message, Pe.max, Pe.min), !s))
3949
+ return $(F[w].message), F;
3950
3950
  }
3951
- if ((u || d) && !M && (Ie(g) || a && Array.isArray(g))) {
3952
- const $ = st(u), Y = st(d), K = !Ee($.value) && g.length > +$.value, W = !Ee(Y.value) && g.length < +Y.value;
3953
- if ((K || W) && (U(K, $.message, Y.message), !s))
3954
- return O(F[w].message), F;
3951
+ if ((u || d) && !O && (Ie(g) || a && Array.isArray(g))) {
3952
+ const M = st(u), Y = st(d), K = !Ee(M.value) && g.length > +M.value, q = !Ee(Y.value) && g.length < +Y.value;
3953
+ if ((K || q) && (U(K, M.message, Y.message), !s))
3954
+ return $(F[w].message), F;
3955
3955
  }
3956
- if (y && !M && Ie(g)) {
3957
- const { value: $, message: Y } = 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
3960
  message: Y,
3961
3961
  ref: o,
3962
3962
  ...J(Pe.pattern, Y)
3963
3963
  }, !s))
3964
- return O(Y), F;
3964
+ return $(Y), F;
3965
3965
  }
3966
3966
  if (x) {
3967
3967
  if (Re(x)) {
3968
- const $ = await x(g, t), Y = Qr($, S);
3968
+ const M = await x(g, t), Y = Qr(M, S);
3969
3969
  if (Y && (F[w] = {
3970
3970
  ...Y,
3971
3971
  ...J(Pe.validate, Y.message)
3972
3972
  }, !s))
3973
- return O(Y.message), F;
3973
+ return $(Y.message), F;
3974
3974
  } else if (pe(x)) {
3975
- let $ = {};
3975
+ let M = {};
3976
3976
  for (const Y in x) {
3977
- if (!je($) && !s)
3977
+ if (!je(M) && !s)
3978
3978
  break;
3979
3979
  const K = Qr(await x[Y](g, t), S, Y);
3980
- K && ($ = {
3980
+ K && (M = {
3981
3981
  ...K,
3982
3982
  ...J(Y, K.message)
3983
- }, O(K.message), s && (F[w] = $));
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
3995
  mode: Oe.onSubmit,
@@ -4047,12 +4047,12 @@ function ao(r = {}) {
4047
4047
  clearTimeout(u), u = setTimeout(f, b);
4048
4048
  }, w = async (f) => {
4049
4049
  if (!e.disabled && (d.isValid || p.isValid || f)) {
4050
- const b = e.resolver ? je((await q()).errors) : await M(s, !0);
4050
+ const b = e.resolver ? je((await Z()).errors) : await O(s, !0);
4051
4051
  b !== t.isValid && m.state.next({
4052
4052
  isValid: b
4053
4053
  });
4054
4054
  }
4055
- }, _ = (f, b) => {
4055
+ }, N = (f, b) => {
4056
4056
  !e.disabled && (d.isValidating || d.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({
@@ -4091,7 +4091,7 @@ 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);
@@ -4115,7 +4115,7 @@ function ao(r = {}) {
4115
4115
  T && R && m.state.next(le);
4116
4116
  }
4117
4117
  return T ? le : {};
4118
- }, P = (f, b, E, L) => {
4118
+ }, B = (f, b, E, L) => {
4119
4119
  const R = V(t.errors, f), T = (d.isValid || p.isValid) && Te(b) && t.isValid !== b;
4120
4120
  if (e.delayError && E ? (c = x(() => g(f, E)), c(e.delayError)) : (clearTimeout(u), c = null, E ? ie(t.errors, f, E) : be(t.errors, f)), (E ? !Ye(R, E) : R) || !je(L) || T) {
4121
4121
  const X = {
@@ -4129,12 +4129,12 @@ function ao(r = {}) {
4129
4129
  ...X
4130
4130
  }, m.state.next(X);
4131
4131
  }
4132
- }, q = async (f) => {
4133
- _(f, !0);
4132
+ }, Z = async (f) => {
4133
+ N(f, !0);
4134
4134
  const b = await e.resolver(a, e.context, Xa(f || l.mount, s, e.criteriaMode, e.shouldUseNativeValidation));
4135
- return _(f), b;
4136
- }, N = async (f) => {
4137
- const { errors: b } = await q(f);
4135
+ return N(f), b;
4136
+ }, _ = async (f) => {
4137
+ const { errors: b } = await Z(f);
4138
4138
  if (f)
4139
4139
  for (const E of f) {
4140
4140
  const L = V(b, E);
@@ -4143,7 +4143,7 @@ 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) {
@@ -4152,13 +4152,13 @@ function ao(r = {}) {
4152
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 && d.validatingFields && _([L], !0);
4155
+ ce && d.validatingFields && N([L], !0);
4156
4156
  const Ae = await es(R, l.disabled, a, y, e.shouldUseNativeValidation && !b, le);
4157
- if (ce && d.validatingFields && _([L]), Ae[T.name] && (E.valid = !1, b))
4157
+ if (ce && d.validatingFields && N([L]), Ae[T.name] && (E.valid = !1, b))
4158
4158
  break;
4159
4159
  !b && (V(Ae, T.name) ? le ? so(t.errors, Ae, T.name) : ie(t.errors, T.name, Ae[T.name]) : be(t.errors, T.name));
4160
4160
  }
4161
- !je(X) && await M(X, b, E);
4161
+ !je(X) && await O(X, b, E);
4162
4162
  }
4163
4163
  }
4164
4164
  return E.valid;
@@ -4168,7 +4168,7 @@ 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
+ }, U = (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
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);
@@ -4182,13 +4182,13 @@ function ao(r = {}) {
4182
4182
  values: we(a)
4183
4183
  })));
4184
4184
  }
4185
- (E.shouldDirty || E.shouldTouch) && F(f, R, E.shouldTouch, E.shouldDirty, !0), E.shouldValidate && Z(f);
4186
- }, W = (f, b, E) => {
4185
+ (E.shouldDirty || E.shouldTouch) && F(f, R, E.shouldTouch, E.shouldDirty, !0), E.shouldValidate && W(f);
4186
+ }, q = (f, b, E) => {
4187
4187
  for (const L in b) {
4188
4188
  if (!b.hasOwnProperty(L))
4189
4189
  return;
4190
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);
4191
+ (l.array.has(f) || pe(R) || X && !X._f) && !Ke(R) ? q(T, R, E) : K(T, R, E);
4192
4192
  }
4193
4193
  }, H = (f, b, E = {}) => {
4194
4194
  const L = V(s, f), R = l.array.has(f), T = we(b);
@@ -4199,7 +4199,7 @@ function ao(r = {}) {
4199
4199
  name: f,
4200
4200
  dirtyFields: pt(n, a),
4201
4201
  isDirty: U(f, T)
4202
- })) : L && !L._f && !Ee(T) ? W(f, T, E) : K(f, T, E), Kr(f, l) && m.state.next({ ...t }), m.state.next({
4202
+ })) : L && !L._f && !Ee(T) ? q(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)
4205
4205
  });
@@ -4222,28 +4222,28 @@ function ao(r = {}) {
4222
4222
  }), Fn)
4223
4223
  return (d.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 q([E]);
4225
+ const { errors: Rr } = await Z([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, Ae = je(Rr);
4229
4229
  }
4230
4230
  } else
4231
- _([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], _([E]), T(jt), L && (ce ? Ae = !1 : (d.isValid || p.isValid) && (Ae = await M(s, !0)));
4232
- L && (R._f.deps && Z(R._f.deps), P(E, Ae, ce, Kt));
4231
+ N([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], N([E]), T(jt), L && (ce ? Ae = !1 : (d.isValid || p.isValid) && (Ae = await O(s, !0)));
4232
+ L && (R._f.deps && W(R._f.deps), B(E, Ae, 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
- }, Z = async (f, b = {}) => {
4237
+ }, W = async (f, b = {}) => {
4238
4238
  let E, L;
4239
4239
  const R = bt(f);
4240
4240
  if (e.resolver) {
4241
- const T = await N(me(f) ? f : R);
4241
+ const T = await _(me(f) ? f : R);
4242
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
4244
  const X = V(s, T);
4245
- return await M(X && X._f ? { [T]: X } : X);
4246
- }))).every(Boolean), !(!L && !t.isValid) && w()) : L = E = await M(s);
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) || (d.isValid || p.isValid) && E !== t.isValid ? {} : { name: f },
4249
4249
  ...e.resolver || !f ? { isValid: E } : {},
@@ -4276,8 +4276,8 @@ function ao(r = {}) {
4276
4276
  isValid: !1
4277
4277
  }), E && E.shouldFocus && L && L.focus && L.focus();
4278
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({
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 || d, Yt, f.reRenderRoot) && f.callback({
4283
4283
  values: { ...a },
@@ -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,
@@ -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: X } = await q();
4369
+ const { errors: T, values: X } = await Z();
4370
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);
@@ -4465,8 +4465,8 @@ function ao(r = {}) {
4465
4465
  handleSubmit: fe,
4466
4466
  setError: D,
4467
4467
  _subscribe: re,
4468
- _runSchema: q,
4469
- _getWatch: $,
4468
+ _runSchema: Z,
4469
+ _getWatch: M,
4470
4470
  _getDirty: U,
4471
4471
  _setValid: w,
4472
4472
  _setFieldArray: v,
@@ -4518,7 +4518,7 @@ function ao(r = {}) {
4518
4518
  }
4519
4519
  },
4520
4520
  subscribe: ue,
4521
- trigger: Z,
4521
+ trigger: W,
4522
4522
  register: xe,
4523
4523
  handleSubmit: fe,
4524
4524
  watch: Q,
@@ -4642,7 +4642,7 @@ function co(r) {
4642
4642
  disabled: m = !1,
4643
4643
  className: y,
4644
4644
  onChange: x
4645
- } = r, w = et(), _ = t || w;
4645
+ } = r, w = et(), N = 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: _,
4655
+ htmlFor: N,
4656
4656
  className: I(
4657
4657
  "pb-2 text-[var(--color-ds-text-primary)]",
4658
4658
  en[o],
@@ -4673,7 +4673,7 @@ function co(r) {
4673
4673
  rules: s,
4674
4674
  defaultValue: n,
4675
4675
  render: ({ field: v, fieldState: g }) => ts(
4676
- _,
4676
+ N,
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
- _,
4695
+ N,
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, P, q;
4884
+ var $, F, B, Z;
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 N = (J, U) => Je(U) ? U : ho(U) && Je(U.defaultValue) ? U.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, M = [N, {}, !1];
4894
- return M.t = N, M.i18n = {}, M.ready = !1, M;
4893
+ const _ = (J, U) => Je(U) ? U : ho(U) && Je(U.defaultValue) ? U.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, O = [_, {}, !1];
4894
+ return O.t = _, 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 u = n || ((F = a.options) == null ? void 0 : F.defaultNS);
4906
- u = Je(u) ? [u] : u || ["translation"], (q = (P = a.reportNamespaces).addUsedNamespaces) == null || q.call(P, u);
4907
- const d = (a.isInitialized || a.initializedStoreOnce) && u.every((N) => fo(N, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), [x, w] = ae(m);
4908
- let _ = u.join();
4909
- e.lng && (_ = `${e.lng}${_}`);
4910
- const v = Eo(_), g = ke(!0);
4906
+ u = Je(u) ? [u] : u || ["translation"], (Z = (B = a.reportNamespaces).addUsedNamespaces) == null || Z.call(B, u);
4907
+ const d = (a.isInitialized || a.initializedStoreOnce) && u.every((_) => fo(_, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), [x, w] = ae(m);
4908
+ let N = u.join();
4909
+ e.lng && (N = `${e.lng}${N}`);
4910
+ const v = Eo(N), g = ke(!0);
4911
4911
  de(() => {
4912
4912
  const {
4913
- bindI18n: N,
4914
- bindI18nStore: M
4913
+ bindI18n: _,
4914
+ bindI18nStore: O
4915
4915
  } = o;
4916
4916
  g.current = !0, !d && !l && (e.lng ? ss(a, e.lng, u, () => {
4917
4917
  g.current && w(y);
4918
4918
  }) : fr(a, u, () => {
4919
4919
  g.current && w(y);
4920
- })), d && v && v !== _ && g.current && w(y);
4920
+ })), d && v && v !== N && g.current && w(y);
4921
4921
  const J = () => {
4922
4922
  g.current && w(y);
4923
4923
  };
4924
- return N && (a == null || a.on(N, J)), M && (a == null || a.store.on(M, J)), () => {
4925
- g.current = !1, a && (N == null || N.split(" ").forEach((U) => a.off(U, J))), M && a && M.split(" ").forEach((U) => a.store.off(U, J));
4924
+ return _ && (a == null || a.on(_, J)), O && (a == null || a.store.on(O, J)), () => {
4925
+ g.current = !1, a && (_ == null || _.split(" ").forEach((U) => a.off(U, J))), O && a && O.split(" ").forEach((U) => a.store.off(U, J));
4926
4926
  };
4927
- }, [a, _]), de(() => {
4927
+ }, [a, N]), de(() => {
4928
4928
  g.current && d && w(m);
4929
4929
  }, [a, c, d]);
4930
4930
  const S = [x, a, d];
4931
4931
  if (S.t = x, S.i18n = a, S.ready = d, d || !d && !l) return S;
4932
- throw new Promise((N) => {
4933
- e.lng ? ss(a, e.lng, u, () => N()) : fr(a, u, () => N());
4932
+ throw new Promise((_) => {
4933
+ e.lng ? ss(a, e.lng, u, () => _()) : fr(a, u, () => _());
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
- }, _ = (g) => {
4957
+ }, N = (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: u("ds.fileUploader.view", "View"),
5034
- onClick: () => _(g)
5034
+ onClick: () => N(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(), _ = t || w;
5071
+ } = r, w = et(), N = 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
  u && /* @__PURE__ */ i.jsx(
5075
5075
  "label",
5076
5076
  {
5077
- htmlFor: _,
5077
+ htmlFor: N,
5078
5078
  className: I(
5079
5079
  "pb-[10px] text-[var(--color-ds-text-primary)]",
5080
5080
  hr[l],
@@ -5090,15 +5090,15 @@ function _o(r) {
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
- _,
5093
+ render: ({ field: S, fieldState: $ }) => ns(
5094
+ N,
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
  u && /* @__PURE__ */ i.jsx(
5112
5112
  "label",
5113
5113
  {
5114
- htmlFor: _,
5114
+ htmlFor: N,
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
- _,
5124
+ N,
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: _,
5199
+ defaultValue: N,
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 P = et(), [q, N] = ae(!1), M = r || P, J = e === "password", $ = c ?? (e === "number" ? ea : void 0), Y = J ? q ? Kn : Ss : u, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, W = I(
5207
+ const B = et(), [Z, _] = ae(!1), O = r || B, J = e === "password", M = c ?? (e === "number" ? ea : void 0), Y = J ? Z ? Kn : Ss : u, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, q = 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,7 +5217,7 @@ 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(
@@ -5226,22 +5226,22 @@ function Cr({
5226
5226
  name: x,
5227
5227
  control: y,
5228
5228
  rules: w,
5229
- defaultValue: _,
5229
+ defaultValue: N,
5230
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: M, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
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(Ue, { 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(Ue, { component: M, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5234
5234
  /* @__PURE__ */ i.jsx(
5235
5235
  "input",
5236
5236
  {
5237
5237
  ...H,
5238
- id: M,
5239
- type: J ? q ? "text" : "password" : e,
5238
+ id: O,
5239
+ type: J ? Z ? "text" : "password" : e,
5240
5240
  disabled: m,
5241
5241
  "aria-invalid": !!A.error,
5242
- className: I(W, $ && "pl-9", Y && "pr-9", O),
5242
+ className: I(q, M && "pl-9", Y && "pr-9", $),
5243
5243
  onInvalid: (h) => h.preventDefault(),
5244
- style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5244
+ style: J && !Z ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5245
5245
  }
5246
5246
  ),
5247
5247
  d && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: d }),
@@ -5250,7 +5250,7 @@ function Cr({
5250
5250
  "button",
5251
5251
  {
5252
5252
  type: "button",
5253
- onClick: () => N((h) => !h),
5253
+ onClick: () => _((h) => !h),
5254
5254
  className: "absolute right-0 flex items-center h-full pr-2",
5255
5255
  tabIndex: -1,
5256
5256
  children: /* @__PURE__ */ i.jsx(Ue, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
@@ -5261,20 +5261,20 @@ 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(Ue, { 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(Ue, { 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 ? q ? "text" : "password" : e,
5271
+ id: O,
5272
+ type: J ? Z ? "text" : "password" : e,
5273
5273
  disabled: m,
5274
5274
  "aria-invalid": o,
5275
- className: I(W, $ && "pl-9", Y && "pr-9", O),
5275
+ className: I(q, M && "pl-9", Y && "pr-9", $),
5276
5276
  onInvalid: (H) => H.preventDefault(),
5277
- style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5277
+ style: J && !Z ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5278
5278
  }
5279
5279
  ),
5280
5280
  d && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: d }),
@@ -5283,7 +5283,7 @@ function Cr({
5283
5283
  "button",
5284
5284
  {
5285
5285
  type: "button",
5286
- onClick: () => N((H) => !H),
5286
+ onClick: () => _((H) => !H),
5287
5287
  className: "absolute right-0 flex items-center h-full pr-2",
5288
5288
  tabIndex: -1,
5289
5289
  children: /* @__PURE__ */ i.jsx(Ue, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
@@ -5377,11 +5377,11 @@ function Oo({
5377
5377
  disabled: c,
5378
5378
  info: u
5379
5379
  }) {
5380
- var _;
5380
+ var N;
5381
5381
  const {
5382
5382
  control: d,
5383
5383
  formState: { errors: p }
5384
- } = wt(), m = !!p[r], y = ((_ = p[r]) == null ? void 0 : _.message) || "", x = "relative", w = n ?? "w-full";
5384
+ } = wt(), m = !!p[r], y = ((N = p[r]) == null ? void 0 : N.message) || "", x = "relative", w = n ?? "w-full";
5385
5385
  return /* @__PURE__ */ i.jsxs("div", { className: x, children: [
5386
5386
  /* @__PURE__ */ i.jsx(
5387
5387
  Ce,
@@ -5521,21 +5521,21 @@ function Mo() {
5521
5521
  normalizePath: d,
5522
5522
  setter: function(v) {
5523
5523
  var g = d(v);
5524
- return c.get(v) || c.set(v, function(O, F) {
5525
- for (var P = 0, q = g.length, N = O; P < q - 1; ) {
5526
- var M = g[P];
5527
- if (M === "__proto__" || M === "constructor" || M === "prototype")
5528
- return O;
5529
- N = N[g[P++]];
5524
+ return c.get(v) || c.set(v, function($, F) {
5525
+ for (var B = 0, Z = g.length, _ = $; B < Z - 1; ) {
5526
+ var O = g[B];
5527
+ if (O === "__proto__" || O === "constructor" || O === "prototype")
5528
+ return $;
5529
+ _ = _[g[B++]];
5530
5530
  }
5531
- N[g[P]] = F;
5531
+ _[g[B]] = F;
5532
5532
  });
5533
5533
  },
5534
5534
  getter: function(v, g) {
5535
5535
  var S = d(v);
5536
5536
  return u.get(v) || u.set(v, function(F) {
5537
- for (var P = 0, q = S.length; P < q; )
5538
- if (F != null || !g) F = F[S[P++]];
5537
+ for (var B = 0, Z = S.length; B < Z; )
5538
+ if (F != null || !g) F = F[S[B++]];
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, P, q, N;
5565
- for (P = 0; P < O; P++)
5566
- F = v[P], F && (_(F) && (F = '"' + F + '"'), N = y(F), q = !N && /^\d+$/.test(F), g.call(S, F, N, q, P, v));
5564
+ var $ = v.length, F, B, Z, _;
5565
+ for (B = 0; B < $; B++)
5566
+ F = v[B], F && (N(F) && (F = '"' + F + '"'), _ = y(F), Z = !_ && /^\d+$/.test(F), g.call(S, F, _, Z, B, 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 _(v) {
5577
+ function N(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 _;
5617
+ var N;
5618
5618
  try {
5619
- _ = ", node was:" + JSON.stringify(y);
5619
+ N = ", node was:" + JSON.stringify(y);
5620
5620
  } catch {
5621
- _ = "";
5621
+ N = "";
5622
5622
  }
5623
- throw new Error("Cyclic dependency" + _);
5623
+ throw new Error("Cyclic dependency" + N);
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));
@@ -5888,14 +5888,14 @@ function nt(r) {
5888
5888
  let {
5889
5889
  parent: x,
5890
5890
  context: w,
5891
- abortEarly: _ = o.spec.abortEarly,
5891
+ abortEarly: N = o.spec.abortEarly,
5892
5892
  disableStackTrace: v = o.spec.disableStackTrace
5893
5893
  } = n;
5894
5894
  function g(U) {
5895
5895
  return tt.isRef(U) ? U.getValue(t, x, w) : U;
5896
5896
  }
5897
5897
  function S(U = {}) {
5898
- const $ = Object.assign({
5898
+ const M = Object.assign({
5899
5899
  value: t,
5900
5900
  originalValue: a,
5901
5901
  label: o.spec.label,
@@ -5903,11 +5903,11 @@ function nt(r) {
5903
5903
  spec: o.spec,
5904
5904
  disableStackTrace: U.disableStackTrace || v
5905
5905
  }, p, U.params);
5906
- for (const K of Object.keys($)) $[K] = g($[K]);
5907
- const Y = new _e(_e.formatError(U.message || m, $), t, $.path, U.type || u, $.disableStackTrace);
5908
- return Y.params = $, Y;
5906
+ for (const K of Object.keys(M)) M[K] = g(M[K]);
5907
+ const Y = new _e(_e.formatError(U.message || m, M), t, M.path, U.type || u, M.disableStackTrace);
5908
+ return Y.params = M, Y;
5909
5909
  }
5910
- const O = _ ? l : c;
5910
+ const $ = N ? 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 P = (U) => {
5923
- _e.isError(U) ? O(U) : U ? c(null) : O(S());
5924
- }, q = (U) => {
5925
- _e.isError(U) ? O(U) : l(U);
5922
+ const B = (U) => {
5923
+ _e.isError(U) ? $(U) : U ? c(null) : $(S());
5924
+ }, Z = (U) => {
5925
+ _e.isError(U) ? $(U) : l(U);
5926
5926
  };
5927
5927
  if (y && Ve(t))
5928
- return P(!0);
5929
- let M;
5928
+ return B(!0);
5929
+ let O;
5930
5930
  try {
5931
5931
  var J;
5932
- if (M = d.call(F, t, F), typeof ((J = M) == null ? void 0 : J.then) == "function") {
5932
+ if (O = d.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(P, q);
5935
+ return Promise.resolve(O).then(B, Z);
5936
5936
  }
5937
5937
  } catch (U) {
5938
- q(U);
5938
+ Z(U);
5939
5939
  return;
5940
5940
  }
5941
- P(M);
5941
+ B(O);
5942
5942
  }
5943
5943
  return e.OPTIONS = r, e;
5944
5944
  }
@@ -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 _ = a[w];
6173
- _(x, d, function(g) {
6172
+ const N = a[w];
6173
+ N(x, d, function(g) {
6174
6174
  g && (Array.isArray(g) ? y.push(...g) : y.push(g)), --m <= 0 && p(y);
6175
6175
  });
6176
6176
  }
@@ -7002,8 +7002,8 @@ class vn extends Se {
7002
7002
  context: t.context,
7003
7003
  parent: c
7004
7004
  });
7005
- let _ = m instanceof Se ? m.spec : void 0, v = _ == null ? void 0 : _.strict;
7006
- if (_ != null && _.strip) {
7005
+ let N = m instanceof Se ? m.spec : void 0, v = N == null ? void 0 : N.strict;
7006
+ if (N != null && N.strip) {
7007
7007
  d = d || 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 u = r.findIndex((_) => _.value === e);
7443
+ const u = r.findIndex((N) => N.value === e);
7444
7444
  if (u < 0) return;
7445
7445
  const d = l.children[u], p = d.querySelector("span"), m = (p == null ? void 0 : p.offsetWidth) ?? d.offsetWidth, y = d.offsetWidth, w = d.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: _,
7546
+ reserveErrorSpace: N,
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: P = !0
7555
- } = r, q = et(), N = t || q, [M, J] = ae(a), [U, $] = ae(!!o);
7554
+ coerceFirstValid: B = !0
7555
+ } = r, Z = et(), _ = t || Z, [O, J] = ae(a), [U, M] = ae(!!o);
7556
7556
  de(() => {
7557
- o && ($(!0), o().then((W) => J(W)).finally(() => $(!1)));
7557
+ o && (M(!0), o().then((q) => J(q)).finally(() => M(!1)));
7558
7558
  }, [o, ...l]);
7559
- const Y = (W) => W.find((H) => H.value !== "" && H.value !== void 0) ?? W[0], K = typeof _ == "boolean" ? _ : !!e;
7559
+ const Y = (q) => q.find((H) => H.value !== "" && H.value !== void 0) ?? q[0], K = typeof N == "boolean" ? N : !!e;
7560
7560
  if (e && t) {
7561
- const { field: W, fieldState: H } = qs({
7561
+ const { field: q, 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 && P) {
7569
- const A = W.value, h = M.some((Z) => String(Z.value) === String(A));
7570
- (A === void 0 || !h) && W.onChange(Y(M).value);
7568
+ if (!U && O.length > 0 && B) {
7569
+ const A = q.value, h = O.some((W) => String(W.value) === String(A));
7570
+ (A === void 0 || !h) && q.onChange(Y(O).value);
7571
7571
  }
7572
- }, [M, U, W, P]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7572
+ }, [O, U, q, B]), /* @__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: N,
7576
+ htmlFor: _,
7577
7577
  className: I(
7578
7578
  "pb-2 text-[var(--color-ds-text-primary)]",
7579
7579
  Ot[d],
@@ -7593,7 +7593,7 @@ function Zt(r) {
7593
7593
  ) : /* @__PURE__ */ i.jsx(
7594
7594
  ys,
7595
7595
  {
7596
- id: N,
7596
+ id: _,
7597
7597
  size: d,
7598
7598
  disabled: g,
7599
7599
  error: H.error,
@@ -7602,13 +7602,13 @@ function Zt(r) {
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: N,
7610
- value: W.value,
7611
- onChange: (A) => W.onChange(A.target.value),
7609
+ id: _,
7610
+ value: q.value,
7611
+ onChange: (A) => q.onChange(A.target.value),
7612
7612
  disabled: g,
7613
7613
  className: I(
7614
7614
  "box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",
@@ -7618,7 +7618,7 @@ function Zt(r) {
7618
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 && P) {
7638
- const W = M.some((A) => String(A.value) === String(c));
7639
- (c === void 0 || c === "" || !W) && u && u(Y(M).value);
7637
+ if (!e && O.length > 0 && B) {
7638
+ const q = O.some((A) => String(A.value) === String(c));
7639
+ (c === void 0 || c === "" || !q) && u && u(Y(O).value);
7640
7640
  }
7641
- }, [M, c, u, e, P]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7641
+ }, [O, c, u, e, B]), /* @__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: N,
7645
+ htmlFor: _,
7646
7646
  className: I(
7647
7647
  "pb-2 text-[var(--color-ds-text-primary)]",
7648
7648
  Ot[d],
@@ -7662,22 +7662,22 @@ function Zt(r) {
7662
7662
  ) : /* @__PURE__ */ i.jsx(
7663
7663
  ys,
7664
7664
  {
7665
- id: N,
7665
+ id: _,
7666
7666
  size: d,
7667
7667
  disabled: g,
7668
7668
  error: x ? { message: w } : void 0,
7669
7669
  reserveErrorSpace: (
7670
7670
  // legacy -> invertimos
7671
- typeof v == "boolean" ? !v : !!(_ ?? !1)
7671
+ typeof v == "boolean" ? !v : !!(N ?? !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: N,
7678
+ id: _,
7679
7679
  value: c,
7680
- onChange: (W) => u == null ? void 0 : u(W.target.value),
7680
+ onChange: (q) => u == null ? void 0 : u(q.target.value),
7681
7681
  disabled: g,
7682
7682
  className: I(
7683
7683
  "box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",
@@ -7687,14 +7687,14 @@ 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((q) => /* @__PURE__ */ i.jsx(
7691
7691
  "option",
7692
7692
  {
7693
- value: W.value,
7693
+ value: q.value,
7694
7694
  className: "bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]",
7695
- children: W.label
7695
+ children: q.label
7696
7696
  },
7697
- W.value
7697
+ q.value
7698
7698
  ))
7699
7699
  }
7700
7700
  )
@@ -7725,44 +7725,44 @@ function yi({
7725
7725
  /* @__PURE__ */ i.jsx("label", { className: I("sr-only pb-2", vs[o]), children: r }),
7726
7726
  a && /* @__PURE__ */ i.jsx("label", { className: I("pb-2", vs[o]), children: r }),
7727
7727
  /* @__PURE__ */ i.jsx("div", { className: "flex items-center flex-nowrap", children: e.map((u, d) => {
7728
- const { width: p, className: m, control: y, name: x, ...w } = u, _ = bi(u);
7728
+ const { width: p, className: m, control: y, name: x, ...w } = u, N = bi(u);
7729
7729
  let v = "rounded-lg";
7730
7730
  !s && c > 1 && (d === 0 ? v = "rounded-l-lg rounded-r-none" : d === c - 1 ? v = "rounded-r-lg rounded-l-none" : v = "rounded-none");
7731
- const g = I(
7732
- "inline-flex items-center flex-shrink-0 overflow-hidden",
7733
- typeof p == "string" && p.startsWith("w-") ? p : void 0
7734
- ), S = typeof p == "string" && !p.startsWith("w-") ? { width: p } : void 0, O = I(m, v), F = (P) => y && x ? /* @__PURE__ */ i.jsx(
7731
+ const g = typeof p == "string" && p.split(/\s+/).some((Z) => Z.startsWith("w-") || Z.includes(":w-")), S = I(
7732
+ "inline-flex items-center flex-shrink-0",
7733
+ typeof p == "string" ? p : "w-40"
7734
+ ), $ = typeof p == "string" && !g ? { width: p } : void 0, F = I(m, v, p ? void 0 : "w-full"), B = (Z) => y && x ? /* @__PURE__ */ i.jsx(
7735
7735
  Ce,
7736
7736
  {
7737
7737
  name: x,
7738
7738
  control: y,
7739
- render: ({ field: q }) => {
7740
- const N = q.value;
7741
- return P({
7739
+ render: ({ field: _ }) => {
7740
+ const O = _.value;
7741
+ return Z({
7742
7742
  ...w,
7743
7743
  name: x,
7744
- value: _ ? N === null ? void 0 : N ?? void 0 : N ?? "",
7745
- onChange: q.onChange,
7746
- className: O,
7744
+ value: N ? O === null ? void 0 : O ?? void 0 : O ?? "",
7745
+ onChange: _.onChange,
7746
+ className: F,
7747
7747
  size: o
7748
7748
  });
7749
7749
  }
7750
7750
  }
7751
- ) : P({
7751
+ ) : Z({
7752
7752
  ...w,
7753
7753
  name: x,
7754
- className: O,
7754
+ className: F,
7755
7755
  size: o
7756
7756
  });
7757
- return /* @__PURE__ */ i.jsxs("div", { className: g, style: S, children: [
7758
- F(_ ? (P) => /* @__PURE__ */ i.jsx(
7757
+ return /* @__PURE__ */ i.jsxs("div", { className: S, style: $, children: [
7758
+ B(N ? (Z) => /* @__PURE__ */ i.jsx(
7759
7759
  Zt,
7760
7760
  {
7761
- ...P,
7761
+ ...Z,
7762
7762
  options: u.options,
7763
7763
  loadOptions: u.loadOptions
7764
7764
  }
7765
- ) : (P) => /* @__PURE__ */ i.jsx(Cr, { ...P })),
7765
+ ) : (Z) => /* @__PURE__ */ i.jsx(Cr, { ...Z })),
7766
7766
  s && d < c - 1 && t
7767
7767
  ] }, d);
7768
7768
  }) })
@@ -7800,7 +7800,7 @@ function wi({
7800
7800
  render: ({ field: p, fieldState: m }) => {
7801
7801
  const { value: y, onChange: x } = p;
7802
7802
  m.error;
7803
- const w = (v) => o ? Array.isArray(y) && y.includes(v) : y === v, _ = (v) => {
7803
+ const w = (v) => o ? Array.isArray(y) && y.includes(v) : y === v, N = (v) => {
7804
7804
  if (o) {
7805
7805
  const g = Array.isArray(y) ? [...y] : [], S = g.indexOf(v);
7806
7806
  S >= 0 ? g.splice(S, 1) : g.push(v), x(g);
@@ -7846,7 +7846,7 @@ function wi({
7846
7846
  name: s,
7847
7847
  value: v.value,
7848
7848
  checked: w(v.value),
7849
- onChange: () => _(v.value),
7849
+ onChange: () => N(v.value),
7850
7850
  className: I(
7851
7851
  vi[l],
7852
7852
  "text-[var(--color-ds-button-primary-bg)]",
@@ -8072,7 +8072,7 @@ function jn({
8072
8072
  suffixButton: y,
8073
8073
  ...x
8074
8074
  }) {
8075
- const w = et(), _ = e || w, [v, g] = ae(s || "");
8075
+ const w = et(), N = e || w, [v, g] = ae(s || "");
8076
8076
  if (r && e)
8077
8077
  return /* @__PURE__ */ i.jsx(
8078
8078
  Ce,
@@ -8081,8 +8081,8 @@ function jn({
8081
8081
  control: r,
8082
8082
  rules: t,
8083
8083
  defaultValue: s || "",
8084
- render: ({ field: O, fieldState: F }) => {
8085
- var P;
8084
+ render: ({ field: $, fieldState: F }) => {
8085
+ var B;
8086
8086
  return /* @__PURE__ */ i.jsx(
8087
8087
  jn,
8088
8088
  {
@@ -8092,13 +8092,13 @@ function jn({
8092
8092
  label: o,
8093
8093
  labelHidden: l,
8094
8094
  hasError: !!F.error,
8095
- errorMessage: ((P = F.error) == null ? void 0 : P.message) || "",
8095
+ errorMessage: ((B = F.error) == null ? void 0 : B.message) || "",
8096
8096
  maxLength: d,
8097
8097
  showCounter: p,
8098
8098
  className: m,
8099
8099
  suffixButton: y,
8100
- value: O.value,
8101
- onChange: O.onChange
8100
+ value: $.value,
8101
+ onChange: $.onChange
8102
8102
  }
8103
8103
  );
8104
8104
  }
@@ -8107,15 +8107,15 @@ function jn({
8107
8107
  de(() => {
8108
8108
  g(s || "");
8109
8109
  }, [s]);
8110
- const S = (O) => {
8110
+ const S = ($) => {
8111
8111
  var F;
8112
- d !== void 0 && O.target.value.length > d || (g(O.target.value), (F = x.onChange) == null || F.call(x, O));
8112
+ d !== void 0 && $.target.value.length > d || (g($.target.value), (F = x.onChange) == null || F.call(x, $));
8113
8113
  };
8114
8114
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", m), style: { width: a }, children: [
8115
8115
  o && /* @__PURE__ */ i.jsx(
8116
8116
  "label",
8117
8117
  {
8118
- htmlFor: _,
8118
+ htmlFor: N,
8119
8119
  className: I(
8120
8120
  "pb-2 text-[var(--color-ds-text-primary)]",
8121
8121
  js[n],
@@ -8128,7 +8128,7 @@ function jn({
8128
8128
  /* @__PURE__ */ i.jsx(
8129
8129
  "textarea",
8130
8130
  {
8131
- id: _,
8131
+ id: N,
8132
8132
  className: I(
8133
8133
  "box-border bg-[var(--color-ds-background-page)] w-full resize vertical rounded-lg border outline-none transition font-[var(--font-primary)]",
8134
8134
  js[n],
@@ -8191,8 +8191,8 @@ function Wi({
8191
8191
  control: r,
8192
8192
  rules: t,
8193
8193
  defaultValue: s,
8194
- render: ({ field: w, fieldState: _ }) => {
8195
- const v = _.error;
8194
+ render: ({ field: w, fieldState: N }) => {
8195
+ const v = N.error;
8196
8196
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
8197
8197
  /* @__PURE__ */ i.jsxs("label", { className: "flex items-center space-x-2", children: [
8198
8198
  /* @__PURE__ */ i.jsx(
@@ -8243,85 +8243,85 @@ function qi({
8243
8243
  minChars: u = 3,
8244
8244
  debounceMs: d = 600
8245
8245
  }) {
8246
- const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [_, v] = ae([]), [g, S] = ae(!1), [O, F] = ae(!1), [P, q] = ae(""), N = ke(null), M = ke(null), J = ke(!1), U = ke(!1), $ = ke(!0), Y = Fe(() => {
8246
+ const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [N, v] = ae([]), [g, S] = ae(!1), [$, F] = ae(!1), [B, Z] = ae(""), _ = ke(null), O = ke(null), J = ke(!1), U = ke(!1), M = ke(!0), Y = Fe(() => {
8247
8247
  const h = /* @__PURE__ */ new Map();
8248
- for (const Z of _) h.set(String(Z.value).trim(), Z.label ?? "");
8248
+ for (const W of N) h.set(String(W.value).trim(), W.label ?? "");
8249
8249
  return h;
8250
- }, [_]), K = async (h) => {
8251
- const Z = (h ?? "").trim();
8252
- if (!Z) {
8250
+ }, [N]), K = async (h) => {
8251
+ const W = (h ?? "").trim();
8252
+ if (!W) {
8253
8253
  v([]), F(!1);
8254
8254
  return;
8255
8255
  }
8256
8256
  S(!0);
8257
8257
  try {
8258
- const j = await t(Z, { watch: m, getValues: y });
8258
+ const j = await t(W, { watch: m, getValues: y });
8259
8259
  v(j ?? []), F(!0);
8260
8260
  } finally {
8261
8261
  S(!1);
8262
8262
  }
8263
8263
  };
8264
8264
  de(() => {
8265
- function h(Z) {
8266
- N.current && !N.current.contains(Z.target) && F(!1);
8265
+ function h(W) {
8266
+ _.current && !_.current.contains(W.target) && F(!1);
8267
8267
  }
8268
- if (O)
8268
+ if ($)
8269
8269
  return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
8270
- }, [O]), de(() => {
8270
+ }, [$]), de(() => {
8271
8271
  if (J.current) return;
8272
- const Z = (w ? String(w) : "").trim();
8273
- if (!Z) {
8274
- q(""), F(!1);
8272
+ const W = (w ? String(w) : "").trim();
8273
+ if (!W) {
8274
+ Z(""), F(!1);
8275
8275
  return;
8276
8276
  }
8277
- const j = Y.get(Z);
8277
+ const j = Y.get(W);
8278
8278
  if (j) {
8279
- q(j), F(!1), $.current = !0;
8279
+ Z(j), F(!1), M.current = !0;
8280
8280
  return;
8281
8281
  }
8282
8282
  let k = !1;
8283
8283
  return (async () => {
8284
8284
  if (s)
8285
8285
  try {
8286
- const C = await s(Z, { watch: m, getValues: y });
8287
- k || (q((C == null ? void 0 : C.label) ?? Z), F(!1), $.current = !0);
8286
+ const C = await s(W, { watch: m, getValues: y });
8287
+ k || (Z((C == null ? void 0 : C.label) ?? W), F(!1), M.current = !0);
8288
8288
  } catch {
8289
- k || (q(Z), F(!1), $.current = !0);
8289
+ k || (Z(W), F(!1), M.current = !0);
8290
8290
  }
8291
8291
  else
8292
- q(Z), F(!1), $.current = !0;
8292
+ Z(W), F(!1), M.current = !0;
8293
8293
  })(), () => {
8294
8294
  k = !0;
8295
8295
  };
8296
8296
  }, [w, Y, s, m, y]), de(() => {
8297
8297
  if (c !== "debounced" || l) return;
8298
- if ($.current) {
8299
- $.current = !1;
8298
+ if (M.current) {
8299
+ M.current = !1;
8300
8300
  return;
8301
8301
  }
8302
8302
  if (!U.current) return;
8303
- M.current && (window.clearTimeout(M.current), M.current = null);
8304
- const h = (P || "").trim();
8305
- return h.length >= u ? M.current = window.setTimeout(() => {
8303
+ O.current && (window.clearTimeout(O.current), O.current = null);
8304
+ const h = (B || "").trim();
8305
+ return h.length >= u ? O.current = window.setTimeout(() => {
8306
8306
  K(h);
8307
8307
  }, d) : (v([]), F(!1)), () => {
8308
- M.current && (window.clearTimeout(M.current), M.current = null);
8308
+ O.current && (window.clearTimeout(O.current), O.current = null);
8309
8309
  };
8310
- }, [P, c, u, d, l]);
8311
- 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) => {
8310
+ }, [B, c, u, d, l]);
8311
+ const q = 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) => {
8312
8312
  if (l) return;
8313
- const Z = (P || "").trim();
8314
- h.key === "Enter" && (h.preventDefault(), c === "debounced" ? Z.length >= u && K(Z) : K(Z)), h.key === "Escape" && F(!1);
8313
+ const W = (B || "").trim();
8314
+ h.key === "Enter" && (h.preventDefault(), c === "debounced" ? W.length >= u && K(W) : K(W)), h.key === "Escape" && F(!1);
8315
8315
  };
8316
8316
  return /* @__PURE__ */ i.jsx(
8317
8317
  Ce,
8318
8318
  {
8319
8319
  name: r,
8320
8320
  control: e,
8321
- render: ({ field: h, fieldState: Z }) => {
8321
+ render: ({ field: h, fieldState: W }) => {
8322
8322
  var j;
8323
- return /* @__PURE__ */ i.jsxs("div", { ref: N, className: "relative flex flex-col", style: { width: o }, children: [
8324
- n && /* @__PURE__ */ i.jsx("label", { className: `pb-2 text-[var(--color-ds-text-primary)] ${W}`, children: n }),
8323
+ return /* @__PURE__ */ i.jsxs("div", { ref: _, className: "relative flex flex-col", style: { width: o }, children: [
8324
+ n && /* @__PURE__ */ i.jsx("label", { className: `pb-2 text-[var(--color-ds-text-primary)] ${q}`, children: n }),
8325
8325
  /* @__PURE__ */ i.jsx(
8326
8326
  Cr,
8327
8327
  {
@@ -8329,21 +8329,21 @@ function qi({
8329
8329
  type: "text",
8330
8330
  size: a,
8331
8331
  width: "100%",
8332
- value: P,
8332
+ value: B,
8333
8333
  onChange: (k) => {
8334
8334
  const C = k.target.value;
8335
- J.current = !0, U.current = !0, q(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8335
+ J.current = !0, U.current = !0, Z(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8336
8336
  },
8337
8337
  onKeyDown: A,
8338
8338
  onBlur: () => {
8339
8339
  J.current = !1;
8340
8340
  },
8341
8341
  disabled: l,
8342
- hasError: Z.invalid,
8343
- errorMessage: (j = Z.error) == null ? void 0 : j.message,
8342
+ hasError: W.invalid,
8343
+ errorMessage: (j = W.error) == null ? void 0 : j.message,
8344
8344
  onFocus: () => {
8345
8345
  if (J.current = !0, c === "button" && U.current) {
8346
- const k = (P || "").trim();
8346
+ const k = (B || "").trim();
8347
8347
  k && K(k);
8348
8348
  }
8349
8349
  },
@@ -8354,7 +8354,7 @@ function qi({
8354
8354
  className: "!rounded-l-none",
8355
8355
  size: a,
8356
8356
  variant: "primary",
8357
- onClick: () => K((P || "").trim()),
8357
+ onClick: () => K((B || "").trim()),
8358
8358
  disabled: l,
8359
8359
  children: "Buscar"
8360
8360
  }
@@ -8370,16 +8370,16 @@ function qi({
8370
8370
  className: "rounded-lg"
8371
8371
  }
8372
8372
  ) }),
8373
- O && !g && _.length > 0 && /* @__PURE__ */ i.jsx(
8373
+ $ && !g && N.length > 0 && /* @__PURE__ */ i.jsx(
8374
8374
  "ul",
8375
8375
  {
8376
8376
  className: `
8377
8377
  absolute top-14 left-0 right-0
8378
8378
  border-[var(--color-ds-border-default)]
8379
8379
  rounded-lg bg-[var(--color-ds-background-page)]
8380
- shadow-lg ${W} max-h-48 overflow-auto z-10
8380
+ shadow-lg ${q} max-h-48 overflow-auto z-10
8381
8381
  `,
8382
- children: _.map((k) => /* @__PURE__ */ i.jsx(
8382
+ children: N.map((k) => /* @__PURE__ */ i.jsx(
8383
8383
  "li",
8384
8384
  {
8385
8385
  className: `px-2 ${H} flex items-center cursor-pointer
@@ -8387,7 +8387,7 @@ function qi({
8387
8387
  hover:bg-[var(--color-ds-background-surface)]`,
8388
8388
  onClick: () => {
8389
8389
  const C = String(k.value).trim();
8390
- x(r, C, { shouldDirty: !0, shouldValidate: !0 }), q(k.label ?? C), J.current = !1, U.current = !1, F(!1);
8390
+ x(r, C, { shouldDirty: !0, shouldValidate: !0 }), Z(k.label ?? C), J.current = !1, U.current = !1, F(!1);
8391
8391
  },
8392
8392
  children: k.label
8393
8393
  },
@@ -8460,22 +8460,22 @@ function ll({
8460
8460
  defaultValues: c ?? {}
8461
8461
  }), {
8462
8462
  control: w,
8463
- reset: _,
8463
+ reset: N,
8464
8464
  handleSubmit: v,
8465
8465
  formState: { errors: g, isSubmitting: S }
8466
- } = x, [O, F] = ae(!1);
8466
+ } = x, [$, F] = ae(!1);
8467
8467
  de(() => {
8468
- u && (F(!0), u().then((A) => _(A)).finally(() => F(!1)));
8469
- }, [u, _]);
8470
- const P = Fe(
8468
+ u && (F(!0), u().then((A) => N(A)).finally(() => F(!1)));
8469
+ }, [u, N]);
8470
+ const B = Fe(
8471
8471
  () => (s ?? []).filter(Yi),
8472
8472
  [s]
8473
- ), { loadingCount: q, optionsMap: N } = Mi(P), M = Vi(s), J = Bi(s, w), U = Fe(() => {
8473
+ ), { loadingCount: Z, optionsMap: _ } = Mi(B), O = Vi(s), J = Bi(s, w), U = Fe(() => {
8474
8474
  const A = {};
8475
- return t.forEach((h, Z) => {
8476
- h.type === "tabs" && (A[Z] = h.tabs[0].key);
8475
+ return t.forEach((h, W) => {
8476
+ h.type === "tabs" && (A[W] = h.tabs[0].key);
8477
8477
  }), A;
8478
- }, [t]), [$, Y] = ae(U), K = or(
8478
+ }, [t]), [M, Y] = ae(U), K = or(
8479
8479
  (A, h) => {
8480
8480
  if (!(A != null && A.enabled) || !A.rule) return h;
8481
8481
  try {
@@ -8485,7 +8485,7 @@ function ll({
8485
8485
  }
8486
8486
  },
8487
8487
  [x]
8488
- ), W = Fe(
8488
+ ), q = Fe(
8489
8489
  () => s.map((A) => A).filter((A) => {
8490
8490
  var h;
8491
8491
  return ((h = A.clearWhen) == null ? void 0 : h.enabled) && A.clearWhen.rule;
@@ -8497,13 +8497,13 @@ function ll({
8497
8497
  [s]
8498
8498
  );
8499
8499
  de(() => {
8500
- if (!W.length) return;
8501
- const A = (Z) => {
8502
- W.forEach(({ name: j, rule: k, clearTo: C }) => {
8500
+ if (!q.length) return;
8501
+ const A = (W) => {
8502
+ q.forEach(({ name: j, rule: k, clearTo: C }) => {
8503
8503
  try {
8504
- if (!!Wt(k, Z)) {
8504
+ if (!!Wt(k, W)) {
8505
8505
  const Q = C ?? "";
8506
- Z[j] !== Q && x.setValue(j, Q, {
8506
+ W[j] !== Q && x.setValue(j, Q, {
8507
8507
  shouldDirty: !0,
8508
8508
  shouldValidate: !0
8509
8509
  });
@@ -8515,21 +8515,21 @@ function ll({
8515
8515
  A(x.getValues());
8516
8516
  const h = x.watch(() => A(x.getValues()));
8517
8517
  return () => {
8518
- var Z;
8519
- return (Z = h == null ? void 0 : h.unsubscribe) == null ? void 0 : Z.call(h);
8518
+ var W;
8519
+ return (W = h == null ? void 0 : h.unsubscribe) == null ? void 0 : W.call(h);
8520
8520
  };
8521
- }, [x, W]);
8521
+ }, [x, q]);
8522
8522
  const H = or(
8523
8523
  (A) => {
8524
8524
  var se, oe, xe, ye;
8525
8525
  let h;
8526
8526
  if (typeof A == "string") {
8527
- if (h = M[A], !h) return null;
8527
+ if (h = O[A], !h) return null;
8528
8528
  } else
8529
8529
  h = A;
8530
- const Z = h.visibleWhen;
8530
+ const W = h.visibleWhen;
8531
8531
  if (!K(
8532
- Z,
8532
+ W,
8533
8533
  /* default visible */
8534
8534
  !0
8535
8535
  )) return null;
@@ -8562,7 +8562,7 @@ function ll({
8562
8562
  if (h.type === "inputGroup") {
8563
8563
  const te = h, fe = te.inputs.map(($e) => {
8564
8564
  var dt;
8565
- const he = typeof $e == "string" ? M[$e] : $e;
8565
+ const he = typeof $e == "string" ? O[$e] : $e;
8566
8566
  if (!he) return null;
8567
8567
  const Me = he.disabledWhen;
8568
8568
  let ut = !!he.disabled;
@@ -8577,14 +8577,14 @@ function ll({
8577
8577
  placeholder: he.placeholder,
8578
8578
  hasError: !!g[he.name],
8579
8579
  errorMessage: ((dt = g[he.name]) == null ? void 0 : dt.message) || "",
8580
- loading: O,
8580
+ loading: $,
8581
8581
  disabled: ut,
8582
8582
  suffixButton: he.suffixButton,
8583
8583
  reserveErrorSpace: !0
8584
8584
  };
8585
8585
  return he.type === "select" ? {
8586
8586
  ...Ht,
8587
- options: he.options ?? N[he.name] ?? [],
8587
+ options: he.options ?? _[he.name] ?? [],
8588
8588
  loadOptions: he.options ? void 0 : he.loadOptions
8589
8589
  } : {
8590
8590
  ...Ht,
@@ -8649,7 +8649,7 @@ function ll({
8649
8649
  ...ue,
8650
8650
  value: te.value,
8651
8651
  onChange: te.onChange,
8652
- options: h.options ?? N[h.name] ?? [],
8652
+ options: h.options ?? _[h.name] ?? [],
8653
8653
  loadOptions: h.options ? void 0 : h.loadOptions,
8654
8654
  hasError: !!g[h.name],
8655
8655
  errorMessage: (fe = g[h.name]) == null ? void 0 : fe.message,
@@ -8742,7 +8742,7 @@ function ll({
8742
8742
  {
8743
8743
  ...ue,
8744
8744
  type: h.type,
8745
- loadingDefaults: O,
8745
+ loadingDefaults: $,
8746
8746
  hasError: !!g[h.name],
8747
8747
  errorMessage: (ye = g[h.name]) == null ? void 0 : ye.message,
8748
8748
  suffixButton: re,
@@ -8753,12 +8753,12 @@ function ll({
8753
8753
  }
8754
8754
  },
8755
8755
  [
8756
- M,
8756
+ O,
8757
8757
  w,
8758
8758
  g,
8759
8759
  S,
8760
- O,
8761
- N,
8760
+ $,
8761
+ _,
8762
8762
  K,
8763
8763
  J,
8764
8764
  x.getValues,
@@ -8780,12 +8780,12 @@ function ll({
8780
8780
  className: "space-y-6",
8781
8781
  children: [
8782
8782
  t.map(
8783
- (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(
8783
+ (A, h) => A.type === "rows" ? /* @__PURE__ */ i.jsx(ne.Fragment, { children: A.sections.map((W, j) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8784
8784
  Lr,
8785
8785
  {
8786
- title: Z.sectionTitle,
8787
- defaultOpen: Z.defaultOpen,
8788
- children: Z.rows.map((k, C) => /* @__PURE__ */ i.jsxs("div", { children: [
8786
+ title: W.sectionTitle,
8787
+ defaultOpen: W.defaultOpen,
8788
+ children: W.rows.map((k, C) => /* @__PURE__ */ i.jsxs("div", { children: [
8789
8789
  k.title && /* @__PURE__ */ i.jsx("h2", { className: "mb-2 text-lg text-[var(--color-ds-text-primary)]", children: k.title }),
8790
8790
  /* @__PURE__ */ i.jsx("div", { className: "flex flex-wrap -mx-2", children: k.columns.map((D, Q) => {
8791
8791
  var re;
@@ -8817,13 +8817,13 @@ function ll({
8817
8817
  ) }, j)) }, h) : /* @__PURE__ */ i.jsx(
8818
8818
  gi,
8819
8819
  {
8820
- options: A.tabs.map((Z) => ({ label: Z.label, value: Z.key })),
8821
- value: $[h],
8822
- onChange: (Z) => Y((j) => ({ ...j, [h]: Z })),
8820
+ options: A.tabs.map((W) => ({ label: W.label, value: W.key })),
8821
+ value: M[h],
8822
+ onChange: (W) => Y((j) => ({ ...j, [h]: W })),
8823
8823
  children: Object.fromEntries(
8824
- A.tabs.map((Z) => [
8825
- Z.key,
8826
- /* @__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(
8824
+ A.tabs.map((W) => [
8825
+ W.key,
8826
+ /* @__PURE__ */ i.jsx("div", { className: "space-y-6", children: W.sections.map((j, k) => /* @__PURE__ */ i.jsx("div", { className: "mb-6", children: /* @__PURE__ */ i.jsx(
8827
8827
  Lr,
8828
8828
  {
8829
8829
  title: j.sectionTitle,
@@ -8840,7 +8840,7 @@ function ll({
8840
8840
  );
8841
8841
  }) }) }, D))
8842
8842
  }
8843
- ) }, k)) }, Z.key)
8843
+ ) }, k)) }, W.key)
8844
8844
  ])
8845
8845
  )
8846
8846
  },
@@ -8854,7 +8854,7 @@ function ll({
8854
8854
  variant: "primary",
8855
8855
  icon: zn,
8856
8856
  size: "sm",
8857
- disabled: S || O || q > 0,
8857
+ disabled: S || $ || Z > 0,
8858
8858
  children: m(S ? "ds.form.sending" : "ds.form.submit")
8859
8859
  }
8860
8860
  ) })
@@ -9265,54 +9265,54 @@ function hl({
9265
9265
  className: d,
9266
9266
  onRowDoubleClick: p
9267
9267
  }) {
9268
- const m = e !== void 0, [y, x] = ae([]), [w, _] = ae(!1), v = ke(null);
9268
+ const m = e !== void 0, [y, x] = ae([]), [w, N] = ae(!1), v = ke(null);
9269
9269
  de(() => {
9270
9270
  var C;
9271
9271
  if (!t || m) return;
9272
9272
  (C = v.current) == null || C.abort();
9273
9273
  const k = new AbortController();
9274
- return v.current = k, _(!0), t().then((D) => {
9274
+ return v.current = k, N(!0), t().then((D) => {
9275
9275
  k.signal.aborted || x(D);
9276
9276
  }).finally(() => {
9277
- k.signal.aborted || _(!1);
9277
+ k.signal.aborted || N(!1);
9278
9278
  }), () => k.abort();
9279
9279
  }, [t, m]);
9280
- const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [O, F] = ae(/* @__PURE__ */ new Set()), [P, q] = ae(1), [N, 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], Y = ke(null);
9280
+ const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [$, F] = ae(/* @__PURE__ */ new Set()), [B, Z] = ae(1), [_, O] = ae(c == null ? void 0 : c.sortBy), [J, U] = ae((c == null ? void 0 : c.sortDir) ?? "asc"), M = (k) => typeof n == "function" ? n(k) : k[n], Y = ke(null);
9281
9281
  de(() => {
9282
- Y.current !== g && (F(/* @__PURE__ */ new Set()), q(1), Y.current = g);
9282
+ Y.current !== g && (F(/* @__PURE__ */ new Set()), Z(1), Y.current = g);
9283
9283
  }, [g]);
9284
9284
  const K = Fe(() => {
9285
- if (!N) return g;
9285
+ if (!_) return g;
9286
9286
  const k = J === "asc" ? 1 : -1;
9287
9287
  return [...g].sort((C, D) => {
9288
- const Q = C[N], re = D[N];
9288
+ const Q = C[_], re = D[_];
9289
9289
  return Q == null ? -k : re == null || Q > re ? k : Q < re ? -k : 0;
9290
9290
  });
9291
- }, [g, N, J]), W = Math.max(1, Math.ceil(K.length / l)), H = Fe(() => {
9292
- const k = (P - 1) * l;
9291
+ }, [g, _, J]), q = Math.max(1, Math.ceil(K.length / l)), H = Fe(() => {
9292
+ const k = (B - 1) * l;
9293
9293
  return K.slice(k, k + l);
9294
- }, [K, P, l]), A = (k) => {
9295
- const C = new Set(O);
9296
- C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has($(D))));
9294
+ }, [K, B, l]), A = (k) => {
9295
+ const C = new Set($);
9296
+ C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9297
9297
  }, h = () => {
9298
- const k = H.every((D) => O.has($(D))), C = new Set(O);
9298
+ const k = H.every((D) => $.has(M(D))), C = new Set($);
9299
9299
  H.forEach((D) => {
9300
- k ? C.delete($(D)) : C.add($(D));
9301
- }), F(C), o == null || o(g.filter((D) => C.has($(D))));
9302
- }, Z = (k) => {
9300
+ k ? C.delete(M(D)) : C.add(M(D));
9301
+ }), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9302
+ }, W = (k) => {
9303
9303
  if (!k.sortable) return;
9304
9304
  const C = typeof k.accessor == "string" ? k.accessor : k.sortKey;
9305
- if (N === C) {
9305
+ if (_ === C) {
9306
9306
  const D = J === "asc" ? "desc" : "asc";
9307
9307
  U(D), u == null || u(C, D);
9308
9308
  } else
9309
- M(C), U("asc"), u == null || u(C, "asc");
9310
- q(1);
9309
+ O(C), U("asc"), u == null || u(C, "asc");
9310
+ Z(1);
9311
9311
  }, j = () => S ? /* @__PURE__ */ i.jsx("tbody", { children: Array.from({ length: l }).map((k, C) => /* @__PURE__ */ i.jsxs("tr", { children: [
9312
9312
  a && /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "1rem", height: "1rem", variant: "circle" }) }),
9313
9313
  r.map((D, Q) => /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "100%", height: "1em", variant: "rect" }) }, Q))
9314
9314
  ] }, C)) }) : H.length ? /* @__PURE__ */ i.jsx("tbody", { children: H.map((k) => {
9315
- const C = $(k);
9315
+ const C = M(k);
9316
9316
  return /* @__PURE__ */ i.jsxs(
9317
9317
  "tr",
9318
9318
  {
@@ -9327,7 +9327,7 @@ function hl({
9327
9327
  "input",
9328
9328
  {
9329
9329
  type: "checkbox",
9330
- checked: O.has(C),
9330
+ checked: $.has(C),
9331
9331
  onChange: () => A(C),
9332
9332
  onDoubleClick: (D) => D.stopPropagation()
9333
9333
  }
@@ -9355,18 +9355,18 @@ function hl({
9355
9355
  "input",
9356
9356
  {
9357
9357
  type: "checkbox",
9358
- checked: H.length > 0 && H.every((k) => O.has($(k))),
9358
+ checked: H.length > 0 && H.every((k) => $.has(M(k))),
9359
9359
  onChange: h,
9360
9360
  onDoubleClick: (k) => k.stopPropagation()
9361
9361
  }
9362
9362
  ) }),
9363
9363
  r.map((k) => {
9364
- const C = typeof k.accessor == "string" ? k.accessor : k.header, D = N === (typeof k.accessor == "string" ? k.accessor : k.sortKey);
9364
+ const C = typeof k.accessor == "string" ? k.accessor : k.header, D = _ === (typeof k.accessor == "string" ? k.accessor : k.sortKey);
9365
9365
  return /* @__PURE__ */ i.jsx(
9366
9366
  "th",
9367
9367
  {
9368
9368
  className: I("px-4 py-2 text-left text-sm font-medium text-gray-700", k.width),
9369
- onClick: () => Z(k),
9369
+ onClick: () => W(k),
9370
9370
  children: /* @__PURE__ */ i.jsxs("div", { className: "inline-flex items-center space-x-1 cursor-pointer", children: [
9371
9371
  /* @__PURE__ */ i.jsx("span", { children: k.header }),
9372
9372
  k.sortable && /* @__PURE__ */ i.jsx("span", { className: "text-xs", children: D ? J === "asc" ? "▲" : "▼" : "⇵" })
@@ -9379,10 +9379,10 @@ function hl({
9379
9379
  j()
9380
9380
  ] }),
9381
9381
  /* @__PURE__ */ i.jsxs("div", { className: "flex items-center justify-between py-2 px-4", children: [
9382
- /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${P} de ${W}` }),
9382
+ /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${B} de ${q}` }),
9383
9383
  /* @__PURE__ */ i.jsxs("div", { className: "space-x-2", children: [
9384
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || P <= 1, onClick: () => q((k) => Math.max(1, k - 1)), children: "Prev" }),
9385
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || P >= W, onClick: () => q((k) => Math.min(W, k + 1)), children: "Next" })
9384
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || B <= 1, onClick: () => Z((k) => Math.max(1, k - 1)), children: "Prev" }),
9385
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || B >= q, onClick: () => Z((k) => Math.min(q, k + 1)), children: "Next" })
9386
9386
  ] })
9387
9387
  ] })
9388
9388
  ] });
@@ -9484,19 +9484,19 @@ function ml({
9484
9484
  ), [l, c] = ae(o), u = e ?? l, d = (x) => {
9485
9485
  t ? t(x) : c(x);
9486
9486
  }, p = (x, w) => {
9487
- w && d(s ? u.includes(x) ? u.filter((_) => _ !== x) : [...u, x] : u.includes(x) ? [] : [x]);
9488
- }, m = (x, w, _) => {
9489
- (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p(w, _));
9487
+ w && d(s ? u.includes(x) ? u.filter((N) => N !== x) : [...u, x] : u.includes(x) ? [] : [x]);
9488
+ }, m = (x, w, N) => {
9489
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p(w, N));
9490
9490
  }, y = n ? "py-1" : "py-2";
9491
9491
  return /* @__PURE__ */ i.jsx("div", { className: ["divide-y", "divide-[var(--color-ds-border-default-50)]", a].filter(Boolean).join(" "), children: r.map((x) => {
9492
- const w = u.includes(x.id), _ = !x.disabled;
9492
+ const w = u.includes(x.id), N = !x.disabled;
9493
9493
  return /* @__PURE__ */ i.jsxs("section", { "aria-disabled": x.disabled || void 0, children: [
9494
9494
  /* @__PURE__ */ i.jsxs(
9495
9495
  "button",
9496
9496
  {
9497
9497
  type: "button",
9498
- onClick: () => p(x.id, _),
9499
- onKeyDown: (v) => m(v, x.id, _),
9498
+ onClick: () => p(x.id, N),
9499
+ onKeyDown: (v) => m(v, x.id, N),
9500
9500
  "aria-expanded": w,
9501
9501
  className: [
9502
9502
  "w-full flex items-center justify-between gap-2 text-left select-none",