levannta-ui 1.0.42-react18 → 1.0.43-react18

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.esm.js CHANGED
@@ -13,13 +13,13 @@ var Ve;
13
13
  function kr() {
14
14
  if (Ve) return ee;
15
15
  Ve = 1;
16
- var t = te, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function f(u, c, x) {
18
- var d, j = {}, g = null, v = null;
19
- x !== void 0 && (g = "" + x), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (v = c.ref);
20
- for (d in c) l.call(c, d) && !h.hasOwnProperty(d) && (j[d] = c[d]);
21
- if (u && u.defaultProps) for (d in c = u.defaultProps, c) j[d] === void 0 && (j[d] = c[d]);
22
- return { $$typeof: a, type: u, key: g, ref: v, props: j, _owner: i.current };
16
+ var t = te, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function f(d, c, x) {
18
+ var h, b = {}, u = null, m = null;
19
+ x !== void 0 && (u = "" + x), c.key !== void 0 && (u = "" + c.key), c.ref !== void 0 && (m = c.ref);
20
+ for (h in c) i.call(c, h) && !v.hasOwnProperty(h) && (b[h] = c[h]);
21
+ if (d && d.defaultProps) for (h in c = d.defaultProps, c) b[h] === void 0 && (b[h] = c[h]);
22
+ return { $$typeof: a, type: d, key: u, ref: m, props: b, _owner: l.current };
23
23
  }
24
24
  return ee.Fragment = n, ee.jsx = f, ee.jsxs = f, ee;
25
25
  }
@@ -36,88 +36,88 @@ var re = {};
36
36
  var Be;
37
37
  function Er() {
38
38
  return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
39
- var t = te, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w = Symbol.iterator, p = "@@iterator";
40
- function m(e) {
39
+ var t = te, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), u = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), w = Symbol.iterator, R = "@@iterator";
40
+ function p(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var s = w && e[w] || e[p];
43
+ var s = w && e[w] || e[R];
44
44
  return typeof s == "function" ? s : null;
45
45
  }
46
46
  var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
- function E(e) {
47
+ function k(e) {
48
48
  {
49
- for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), b = 1; b < s; b++)
50
- o[b - 1] = arguments[b];
49
+ for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), g = 1; g < s; g++)
50
+ o[g - 1] = arguments[g];
51
51
  D("error", e, o);
52
52
  }
53
53
  }
54
54
  function D(e, s, o) {
55
55
  {
56
- var b = T.ReactDebugCurrentFrame, _ = b.getStackAddendum();
57
- _ !== "" && (s += "%s", o = o.concat([_]));
58
- var R = o.map(function(N) {
59
- return String(N);
56
+ var g = T.ReactDebugCurrentFrame, C = g.getStackAddendum();
57
+ C !== "" && (s += "%s", o = o.concat([C]));
58
+ var E = o.map(function(y) {
59
+ return String(y);
60
60
  });
61
- R.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, R);
61
+ E.unshift("Warning: " + s), Function.prototype.apply.call(console[e], console, E);
62
62
  }
63
63
  }
64
64
  var I = !1, ne = !1, U = !1, Z = !1, q = !1, G;
65
65
  G = Symbol.for("react.module.reference");
66
66
  function B(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === h || q || e === i || e === x || e === d || Z || e === v || I || ne || U || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === j || e.$$typeof === f || e.$$typeof === u || e.$$typeof === c || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === v || q || e === l || e === x || e === h || Z || e === m || I || ne || U || typeof e == "object" && e !== null && (e.$$typeof === u || e.$$typeof === b || e.$$typeof === f || e.$$typeof === d || e.$$typeof === c || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
71
  e.$$typeof === G || e.getModuleId !== void 0));
72
72
  }
73
- function C(e, s, o) {
74
- var b = e.displayName;
75
- if (b)
76
- return b;
77
- var _ = s.displayName || s.name || "";
78
- return _ !== "" ? o + "(" + _ + ")" : o;
73
+ function N(e, s, o) {
74
+ var g = e.displayName;
75
+ if (g)
76
+ return g;
77
+ var C = s.displayName || s.name || "";
78
+ return C !== "" ? o + "(" + C + ")" : o;
79
79
  }
80
- function k(e) {
80
+ function _(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
83
  function S(e) {
84
84
  if (e == null)
85
85
  return null;
86
- if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
86
+ if (typeof e.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
87
  return e.displayName || e.name || null;
88
88
  if (typeof e == "string")
89
89
  return e;
90
90
  switch (e) {
91
- case l:
91
+ case i:
92
92
  return "Fragment";
93
93
  case n:
94
94
  return "Portal";
95
- case h:
95
+ case v:
96
96
  return "Profiler";
97
- case i:
97
+ case l:
98
98
  return "StrictMode";
99
99
  case x:
100
100
  return "Suspense";
101
- case d:
101
+ case h:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case u:
106
+ case d:
107
107
  var s = e;
108
- return k(s) + ".Consumer";
108
+ return _(s) + ".Consumer";
109
109
  case f:
110
110
  var o = e;
111
- return k(o._context) + ".Provider";
111
+ return _(o._context) + ".Provider";
112
112
  case c:
113
- return C(e, e.render, "ForwardRef");
114
- case j:
115
- var b = e.displayName || null;
116
- return b !== null ? b : S(e.type) || "Memo";
117
- case g: {
118
- var _ = e, R = _._payload, N = _._init;
113
+ return N(e, e.render, "ForwardRef");
114
+ case b:
115
+ var g = e.displayName || null;
116
+ return g !== null ? g : S(e.type) || "Memo";
117
+ case u: {
118
+ var C = e, E = C._payload, y = C._init;
119
119
  try {
120
- return S(N(R));
120
+ return S(y(E));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -184,7 +184,7 @@ function Er() {
184
184
  })
185
185
  });
186
186
  }
187
- M < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ M < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
190
  var ce = T.ReactCurrentDispatcher, ue;
@@ -193,9 +193,9 @@ function Er() {
193
193
  if (ue === void 0)
194
194
  try {
195
195
  throw Error();
196
- } catch (_) {
197
- var b = _.stack.trim().match(/\n( *(at )?)/);
198
- ue = b && b[1] || "";
196
+ } catch (C) {
197
+ var g = C.stack.trim().match(/\n( *(at )?)/);
198
+ ue = g && g[1] || "";
199
199
  }
200
200
  return `
201
201
  ` + ue + e;
@@ -214,57 +214,57 @@ function Er() {
214
214
  if (o !== void 0)
215
215
  return o;
216
216
  }
217
- var b;
217
+ var g;
218
218
  de = !0;
219
- var _ = Error.prepareStackTrace;
219
+ var C = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
- var R;
222
- R = ce.current, ce.current = null, Xe();
221
+ var E;
222
+ E = ce.current, ce.current = null, Xe();
223
223
  try {
224
224
  if (s) {
225
- var N = function() {
225
+ var y = function() {
226
226
  throw Error();
227
227
  };
228
- if (Object.defineProperty(N.prototype, "props", {
228
+ if (Object.defineProperty(y.prototype, "props", {
229
229
  set: function() {
230
230
  throw Error();
231
231
  }
232
232
  }), typeof Reflect == "object" && Reflect.construct) {
233
233
  try {
234
- Reflect.construct(N, []);
234
+ Reflect.construct(y, []);
235
235
  } catch (A) {
236
- b = A;
236
+ g = A;
237
237
  }
238
- Reflect.construct(e, [], N);
238
+ Reflect.construct(e, [], y);
239
239
  } else {
240
240
  try {
241
- N.call();
241
+ y.call();
242
242
  } catch (A) {
243
- b = A;
243
+ g = A;
244
244
  }
245
- e.call(N.prototype);
245
+ e.call(y.prototype);
246
246
  }
247
247
  } else {
248
248
  try {
249
249
  throw Error();
250
250
  } catch (A) {
251
- b = A;
251
+ g = A;
252
252
  }
253
253
  e();
254
254
  }
255
255
  } catch (A) {
256
- if (A && b && typeof A.stack == "string") {
257
- for (var y = A.stack.split(`
258
- `), z = b.stack.split(`
259
- `), L = y.length - 1, O = z.length - 1; L >= 1 && O >= 0 && y[L] !== z[O]; )
256
+ if (A && g && typeof A.stack == "string") {
257
+ for (var j = A.stack.split(`
258
+ `), z = g.stack.split(`
259
+ `), L = j.length - 1, O = z.length - 1; L >= 1 && O >= 0 && j[L] !== z[O]; )
260
260
  O--;
261
261
  for (; L >= 1 && O >= 0; L--, O--)
262
- if (y[L] !== z[O]) {
262
+ if (j[L] !== z[O]) {
263
263
  if (L !== 1 || O !== 1)
264
264
  do
265
- if (L--, O--, O < 0 || y[L] !== z[O]) {
265
+ if (L--, O--, O < 0 || j[L] !== z[O]) {
266
266
  var F = `
267
- ` + y[L].replace(" at new ", " at ");
267
+ ` + j[L].replace(" at new ", " at ");
268
268
  return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, F), F;
269
269
  }
270
270
  while (L >= 1 && O >= 0);
@@ -272,7 +272,7 @@ function Er() {
272
272
  }
273
273
  }
274
274
  } finally {
275
- de = !1, ce.current = R, Ze(), Error.prepareStackTrace = _;
275
+ de = !1, ce.current = E, Ze(), Error.prepareStackTrace = C;
276
276
  }
277
277
  var J = e ? e.displayName || e.name : "", Y = J ? ae(J) : "";
278
278
  return typeof e == "function" && ie.set(e, Y), Y;
@@ -294,19 +294,19 @@ function Er() {
294
294
  switch (e) {
295
295
  case x:
296
296
  return ae("Suspense");
297
- case d:
297
+ case h:
298
298
  return ae("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
302
  case c:
303
303
  return Qe(e.render);
304
- case j:
304
+ case b:
305
305
  return le(e.type, s, o);
306
- case g: {
307
- var b = e, _ = b._payload, R = b._init;
306
+ case u: {
307
+ var g = e, C = g._payload, E = g._init;
308
308
  try {
309
- return le(R(_), s, o);
309
+ return le(E(C), s, o);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -321,22 +321,22 @@ function Er() {
321
321
  } else
322
322
  Ee.setExtraStackFrame(null);
323
323
  }
324
- function rr(e, s, o, b, _) {
324
+ function rr(e, s, o, g, C) {
325
325
  {
326
- var R = Function.call.bind(Q);
327
- for (var N in e)
328
- if (R(e, N)) {
329
- var y = void 0;
326
+ var E = Function.call.bind(Q);
327
+ for (var y in e)
328
+ if (E(e, y)) {
329
+ var j = void 0;
330
330
  try {
331
- if (typeof e[N] != "function") {
332
- var z = Error((b || "React class") + ": " + o + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
331
+ if (typeof e[y] != "function") {
332
+ var z = Error((g || "React class") + ": " + o + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
333
  throw z.name = "Invariant Violation", z;
334
334
  }
335
- y = e[N](s, N, b, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
335
+ j = e[y](s, y, g, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
336
  } catch (L) {
337
- y = L;
337
+ j = L;
338
338
  }
339
- y && !(y instanceof Error) && (oe(_), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", o, N, typeof y), oe(null)), y instanceof Error && !(y.message in ke) && (ke[y.message] = !0, oe(_), E("Failed %s type: %s", o, y.message), oe(null));
339
+ j && !(j instanceof Error) && (oe(C), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", g || "React class", o, y, typeof j), oe(null)), j instanceof Error && !(j.message in ke) && (ke[j.message] = !0, oe(C), k("Failed %s type: %s", o, j.message), oe(null));
340
340
  }
341
341
  }
342
342
  }
@@ -362,7 +362,7 @@ function Er() {
362
362
  }
363
363
  function Se(e) {
364
364
  if (sr(e))
365
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Re(e);
365
+ return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Re(e);
366
366
  }
367
367
  var Te = T.ReactCurrentOwner, ar = {
368
368
  key: !0,
@@ -392,7 +392,7 @@ function Er() {
392
392
  function cr(e, s) {
393
393
  {
394
394
  var o = function() {
395
- Le || (Le = !0, E("%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://reactjs.org/link/special-props)", s));
395
+ Le || (Le = !0, k("%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://reactjs.org/link/special-props)", s));
396
396
  };
397
397
  o.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: o,
@@ -403,7 +403,7 @@ function Er() {
403
403
  function ur(e, s) {
404
404
  {
405
405
  var o = function() {
406
- Ie || (Ie = !0, E("%s: `ref` 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://reactjs.org/link/special-props)", s));
406
+ Ie || (Ie = !0, k("%s: `ref` 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://reactjs.org/link/special-props)", s));
407
407
  };
408
408
  o.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: o,
@@ -411,51 +411,51 @@ function Er() {
411
411
  });
412
412
  }
413
413
  }
414
- var dr = function(e, s, o, b, _, R, N) {
415
- var y = {
414
+ var dr = function(e, s, o, g, C, E, y) {
415
+ var j = {
416
416
  // This tag allows us to uniquely identify this as a React Element
417
417
  $$typeof: a,
418
418
  // Built-in properties that belong on the element
419
419
  type: e,
420
420
  key: s,
421
421
  ref: o,
422
- props: N,
422
+ props: y,
423
423
  // Record the component responsible for creating this element.
424
- _owner: R
424
+ _owner: E
425
425
  };
426
- return y._store = {}, Object.defineProperty(y._store, "validated", {
426
+ return j._store = {}, Object.defineProperty(j._store, "validated", {
427
427
  configurable: !1,
428
428
  enumerable: !1,
429
429
  writable: !0,
430
430
  value: !1
431
- }), Object.defineProperty(y, "_self", {
431
+ }), Object.defineProperty(j, "_self", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !1,
435
- value: b
436
- }), Object.defineProperty(y, "_source", {
435
+ value: g
436
+ }), Object.defineProperty(j, "_source", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: _
441
- }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
440
+ value: C
441
+ }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
442
442
  };
443
- function fr(e, s, o, b, _) {
443
+ function fr(e, s, o, g, C) {
444
444
  {
445
- var R, N = {}, y = null, z = null;
446
- o !== void 0 && (Se(o), y = "" + o), lr(s) && (Se(s.key), y = "" + s.key), ir(s) && (z = s.ref, or(s, _));
447
- for (R in s)
448
- Q.call(s, R) && !ar.hasOwnProperty(R) && (N[R] = s[R]);
445
+ var E, y = {}, j = null, z = null;
446
+ o !== void 0 && (Se(o), j = "" + o), lr(s) && (Se(s.key), j = "" + s.key), ir(s) && (z = s.ref, or(s, C));
447
+ for (E in s)
448
+ Q.call(s, E) && !ar.hasOwnProperty(E) && (y[E] = s[E]);
449
449
  if (e && e.defaultProps) {
450
450
  var L = e.defaultProps;
451
- for (R in L)
452
- N[R] === void 0 && (N[R] = L[R]);
451
+ for (E in L)
452
+ y[E] === void 0 && (y[E] = L[E]);
453
453
  }
454
- if (y || z) {
454
+ if (j || z) {
455
455
  var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- y && cr(N, O), z && ur(N, O);
456
+ j && cr(y, O), z && ur(y, O);
457
457
  }
458
- return dr(e, y, z, _, b, Te.current, N);
458
+ return dr(e, j, z, C, g, Te.current, y);
459
459
  }
460
460
  }
461
461
  var he = T.ReactCurrentOwner, Oe = T.ReactDebugCurrentFrame;
@@ -508,8 +508,8 @@ Check the top-level render call using <` + o + ">.");
508
508
  if (ze[o])
509
509
  return;
510
510
  ze[o] = !0;
511
- var b = "";
512
- e && e._owner && e._owner !== he.current && (b = " It was passed a child from " + S(e._owner.type) + "."), H(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, b), H(null);
511
+ var g = "";
512
+ e && e._owner && e._owner !== he.current && (g = " It was passed a child from " + S(e._owner.type) + "."), H(e), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, g), H(null);
513
513
  }
514
514
  }
515
515
  function Ae(e, s) {
@@ -518,16 +518,16 @@ Check the top-level render call using <` + o + ">.");
518
518
  return;
519
519
  if (fe(e))
520
520
  for (var o = 0; o < e.length; o++) {
521
- var b = e[o];
522
- me(b) && Me(b, s);
521
+ var g = e[o];
522
+ me(g) && Me(g, s);
523
523
  }
524
524
  else if (me(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var _ = m(e);
528
- if (typeof _ == "function" && _ !== e.entries)
529
- for (var R = _.call(e), N; !(N = R.next()).done; )
530
- me(N.value) && Me(N.value, s);
527
+ var C = p(e);
528
+ if (typeof C == "function" && C !== e.entries)
529
+ for (var E = C.call(e), y; !(y = E.next()).done; )
530
+ me(y.value) && Me(y.value, s);
531
531
  }
532
532
  }
533
533
  }
@@ -541,58 +541,58 @@ Check the top-level render call using <` + o + ">.");
541
541
  o = s.propTypes;
542
542
  else if (typeof s == "object" && (s.$$typeof === c || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
- s.$$typeof === j))
544
+ s.$$typeof === b))
545
545
  o = s.propTypes;
546
546
  else
547
547
  return;
548
548
  if (o) {
549
- var b = S(s);
550
- rr(o, e.props, "prop", b, e);
549
+ var g = S(s);
550
+ rr(o, e.props, "prop", g, e);
551
551
  } else if (s.PropTypes !== void 0 && !ve) {
552
552
  ve = !0;
553
- var _ = S(s);
554
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
553
+ var C = S(s);
554
+ k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
555
555
  }
556
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
556
+ typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
557
  }
558
558
  }
559
559
  function xr(e) {
560
560
  {
561
561
  for (var s = Object.keys(e.props), o = 0; o < s.length; o++) {
562
- var b = s[o];
563
- if (b !== "children" && b !== "key") {
564
- H(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), H(null);
562
+ var g = s[o];
563
+ if (g !== "children" && g !== "key") {
564
+ H(e), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), H(null);
565
565
  break;
566
566
  }
567
567
  }
568
- e.ref !== null && (H(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
568
+ e.ref !== null && (H(e), k("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
569
569
  }
570
570
  }
571
571
  var De = {};
572
- function Fe(e, s, o, b, _, R) {
572
+ function Fe(e, s, o, g, C, E) {
573
573
  {
574
- var N = B(e);
575
- if (!N) {
576
- var y = "";
577
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
574
+ var y = B(e);
575
+ if (!y) {
576
+ var j = "";
577
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
578
  var z = hr();
579
- z ? y += z : y += $e();
579
+ z ? j += z : j += $e();
580
580
  var L;
581
- e === null ? L = "null" : fe(e) ? L = "array" : e !== void 0 && e.$$typeof === a ? (L = "<" + (S(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : L = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, y);
581
+ e === null ? L = "null" : fe(e) ? L = "array" : e !== void 0 && e.$$typeof === a ? (L = "<" + (S(e.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : L = typeof e, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, j);
582
582
  }
583
- var O = fr(e, s, o, _, R);
583
+ var O = fr(e, s, o, C, E);
584
584
  if (O == null)
585
585
  return O;
586
- if (N) {
586
+ if (y) {
587
587
  var F = s.children;
588
588
  if (F !== void 0)
589
- if (b)
589
+ if (g)
590
590
  if (fe(F)) {
591
591
  for (var J = 0; J < F.length; J++)
592
592
  Ae(F[J], e);
593
593
  Object.freeze && Object.freeze(F);
594
594
  } else
595
- E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
595
+ k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
597
  Ae(F, e);
598
598
  }
@@ -602,7 +602,7 @@ Check the top-level render call using <` + o + ">.");
602
602
  }), xe = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!De[Y + xe]) {
604
604
  var wr = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
605
- E(`A props object containing a "key" prop is being spread into JSX:
605
+ k(`A props object containing a "key" prop is being spread into JSX:
606
606
  let props = %s;
607
607
  <%s {...props} />
608
608
  React keys must be passed directly to JSX without using spread:
@@ -610,7 +610,7 @@ React keys must be passed directly to JSX without using spread:
610
610
  <%s key={someKey} {...props} />`, xe, Y, wr, Y), De[Y + xe] = !0;
611
611
  }
612
612
  }
613
- return e === l ? xr(O) : mr(O), O;
613
+ return e === i ? xr(O) : mr(O), O;
614
614
  }
615
615
  }
616
616
  function gr(e, s, o) {
@@ -620,50 +620,50 @@ React keys must be passed directly to JSX without using spread:
620
620
  return Fe(e, s, o, !1);
621
621
  }
622
622
  var br = pr, jr = gr;
623
- re.Fragment = l, re.jsx = br, re.jsxs = jr;
623
+ re.Fragment = i, re.jsx = br, re.jsxs = jr;
624
624
  }()), re;
625
625
  }
626
626
  process.env.NODE_ENV === "production" ? ge.exports = kr() : ge.exports = Er();
627
627
  var r = ge.exports;
628
628
  function Ge(t) {
629
- var a, n, l = "";
630
- if (typeof t == "string" || typeof t == "number") l += t;
629
+ var a, n, i = "";
630
+ if (typeof t == "string" || typeof t == "number") i += t;
631
631
  else if (typeof t == "object") if (Array.isArray(t)) {
632
- var i = t.length;
633
- for (a = 0; a < i; a++) t[a] && (n = Ge(t[a])) && (l && (l += " "), l += n);
634
- } else for (n in t) t[n] && (l && (l += " "), l += n);
635
- return l;
632
+ var l = t.length;
633
+ for (a = 0; a < l; a++) t[a] && (n = Ge(t[a])) && (i && (i += " "), i += n);
634
+ } else for (n in t) t[n] && (i && (i += " "), i += n);
635
+ return i;
636
636
  }
637
637
  function Rr() {
638
- for (var t, a, n = 0, l = "", i = arguments.length; n < i; n++) (t = arguments[n]) && (a = Ge(t)) && (l && (l += " "), l += a);
639
- return l;
638
+ for (var t, a, n = 0, i = "", l = arguments.length; n < l; n++) (t = arguments[n]) && (a = Ge(t)) && (i && (i += " "), i += a);
639
+ return i;
640
640
  }
641
641
  const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, P = (t, a) => (n) => {
642
- var l;
642
+ var i;
643
643
  if ((a == null ? void 0 : a.variants) == null) return Pe(t, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
644
- const { variants: i, defaultVariants: h } = a, f = Object.keys(i).map((x) => {
645
- const d = n == null ? void 0 : n[x], j = h == null ? void 0 : h[x];
646
- if (d === null) return null;
647
- const g = We(d) || We(j);
648
- return i[x][g];
649
- }), u = n && Object.entries(n).reduce((x, d) => {
650
- let [j, g] = d;
651
- return g === void 0 || (x[j] = g), x;
652
- }, {}), c = a == null || (l = a.compoundVariants) === null || l === void 0 ? void 0 : l.reduce((x, d) => {
653
- let { class: j, className: g, ...v } = d;
654
- return Object.entries(v).every((w) => {
655
- let [p, m] = w;
656
- return Array.isArray(m) ? m.includes({
657
- ...h,
658
- ...u
659
- }[p]) : {
660
- ...h,
661
- ...u
662
- }[p] === m;
644
+ const { variants: l, defaultVariants: v } = a, f = Object.keys(l).map((x) => {
645
+ const h = n == null ? void 0 : n[x], b = v == null ? void 0 : v[x];
646
+ if (h === null) return null;
647
+ const u = We(h) || We(b);
648
+ return l[x][u];
649
+ }), d = n && Object.entries(n).reduce((x, h) => {
650
+ let [b, u] = h;
651
+ return u === void 0 || (x[b] = u), x;
652
+ }, {}), c = a == null || (i = a.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((x, h) => {
653
+ let { class: b, className: u, ...m } = h;
654
+ return Object.entries(m).every((w) => {
655
+ let [R, p] = w;
656
+ return Array.isArray(p) ? p.includes({
657
+ ...v,
658
+ ...d
659
+ }[R]) : {
660
+ ...v,
661
+ ...d
662
+ }[R] === p;
663
663
  }) ? [
664
664
  ...x,
665
- j,
666
- g
665
+ b,
666
+ u
667
667
  ] : x;
668
668
  }, []);
669
669
  return Pe(t, f, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
@@ -733,22 +733,22 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, P
733
733
  className: t,
734
734
  variant: a,
735
735
  color: n,
736
- size: l,
737
- pill: i,
738
- active: h,
736
+ size: i,
737
+ pill: l,
738
+ active: v,
739
739
  iconLeft: f,
740
- iconRight: u,
740
+ iconRight: d,
741
741
  iconLeftJustified: c,
742
742
  iconRightJustified: x,
743
- iconOnly: d,
744
- width: j,
745
- children: g,
746
- style: v,
743
+ iconOnly: h,
744
+ width: b,
745
+ children: u,
746
+ style: m,
747
747
  ...w
748
- }, p) => {
749
- const m = {
750
- ...v || {},
751
- ...j ? { width: j } : {}
748
+ }, R) => {
749
+ const p = {
750
+ ...m || {},
751
+ ...b ? { width: b } : {}
752
752
  };
753
753
  return /* @__PURE__ */ r.jsxs(
754
754
  "button",
@@ -756,24 +756,24 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, P
756
756
  className: Sr({
757
757
  variant: a,
758
758
  color: n,
759
- size: l,
760
- pill: i,
761
- active: h,
759
+ size: i,
760
+ pill: l,
761
+ active: v,
762
762
  iconLeft: !!f,
763
- iconRight: !!u,
763
+ iconRight: !!d,
764
764
  iconLeftJustified: !!c,
765
765
  iconRightJustified: !!x,
766
- iconOnly: !!d,
766
+ iconOnly: !!h,
767
767
  className: t
768
768
  }),
769
- style: m,
770
- ref: p,
769
+ style: p,
770
+ ref: R,
771
771
  ...w,
772
772
  children: [
773
773
  f && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: f }),
774
774
  c && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: c }),
775
- d ? /* @__PURE__ */ r.jsx("span", { children: d }) : g,
776
- u && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: u }),
775
+ h ? /* @__PURE__ */ r.jsx("span", { children: h }) : u,
776
+ d && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: d }),
777
777
  x && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: x })
778
778
  ]
779
779
  }
@@ -788,69 +788,69 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
788
788
  } catch {
789
789
  return null;
790
790
  }
791
- }, Ye = ({ to: t, href: a, className: n, onClick: l, children: i }) => {
792
- const h = Lr();
793
- return h ? te.createElement(
794
- h,
795
- { to: t, className: n, onClick: l },
796
- i
791
+ }, Ye = ({ to: t, href: a, className: n, onClick: i, children: l }) => {
792
+ const v = Lr();
793
+ return v ? te.createElement(
794
+ v,
795
+ { to: t, className: n, onClick: i },
796
+ l
797
797
  ) : te.createElement(
798
798
  "a",
799
- { href: a || t, className: n, onClick: l },
800
- i
799
+ { href: a || t, className: n, onClick: i },
800
+ l
801
801
  );
802
802
  }, Ir = ({
803
803
  icon: t,
804
804
  url: a,
805
805
  label: n,
806
- submenu: l,
807
- collapsed: i,
808
- active: h,
806
+ submenu: i,
807
+ collapsed: l,
808
+ active: v,
809
809
  activePath: f,
810
- isOpen: u,
810
+ isOpen: d,
811
811
  onToggle: c,
812
812
  onExpand: x,
813
- onSetActive: d,
814
- isMobile: j = !1
813
+ onSetActive: h,
814
+ isMobile: b = !1
815
815
  }) => {
816
- const g = l && l.length > 0, v = g && l.some((m) => m.url === f), w = h || u && g || v || a === f, p = (m) => {
817
- if (m.preventDefault(), j && g) {
816
+ const u = i && i.length > 0, m = u && i.some((p) => p.url === f), w = v || d && u || m || a === f, R = (p) => {
817
+ if (p.preventDefault(), b && u) {
818
818
  c();
819
819
  return;
820
820
  }
821
- if (d && d(a), i && x) {
821
+ if (h && h(a), l && x) {
822
822
  x();
823
823
  return;
824
824
  }
825
- g && !i && c();
825
+ u && !l && c();
826
826
  };
827
- return /* @__PURE__ */ r.jsx("div", { className: `sidebar-item ${u ? "open" : ""} `, children: /* @__PURE__ */ r.jsxs("div", { className: `sidebar-item-wrapper ${w && !i ? "active" : ""}`, children: [
827
+ return /* @__PURE__ */ r.jsx("div", { className: `sidebar-item ${d ? "open" : ""} `, children: /* @__PURE__ */ r.jsxs("div", { className: `sidebar-item-wrapper ${w && !l ? "active" : ""}`, children: [
828
828
  /* @__PURE__ */ r.jsxs(
829
829
  Ye,
830
830
  {
831
831
  to: a,
832
832
  href: a,
833
833
  className: `sidebar-link sidebar-collapsed ${w ? "active-text" : ""}`,
834
- onClick: p,
834
+ onClick: R,
835
835
  children: [
836
836
  /* @__PURE__ */ r.jsx("div", { className: `sidebar-icon ${w ? "active-text" : ""}`, children: t }),
837
- (!i || j) && /* @__PURE__ */ r.jsxs("div", { className: "sidebar-content", children: [
837
+ (!l || b) && /* @__PURE__ */ r.jsxs("div", { className: "sidebar-content", children: [
838
838
  /* @__PURE__ */ r.jsx("span", { className: "sidebar-label", children: n }),
839
- g && /* @__PURE__ */ r.jsx("span", { className: "submenu-arrow", children: /* @__PURE__ */ r.jsx(Tr, { className: `${w ? "active-text" : ""}` }) })
839
+ u && /* @__PURE__ */ r.jsx("span", { className: "submenu-arrow", children: /* @__PURE__ */ r.jsx(Tr, { className: `${w ? "active-text" : ""}` }) })
840
840
  ] })
841
841
  ]
842
842
  }
843
843
  ),
844
- g && (!i || j) && /* @__PURE__ */ r.jsx("div", { className: "submenu", children: l.map((m, T) => {
845
- const E = m.url === f;
844
+ u && (!l || b) && /* @__PURE__ */ r.jsx("div", { className: "submenu", children: i.map((p, T) => {
845
+ const k = p.url === f;
846
846
  return /* @__PURE__ */ r.jsx(
847
847
  Ye,
848
848
  {
849
- to: m.url,
850
- href: m.url,
851
- className: `submenu-item ${E ? "active-text" : ""}`,
852
- onClick: () => d && d(m.url),
853
- children: /* @__PURE__ */ r.jsx("span", { className: "submenu-label", children: m.label })
849
+ to: p.url,
850
+ href: p.url,
851
+ className: `submenu-item ${k ? "active-text" : ""}`,
852
+ onClick: () => h && h(p.url),
853
+ children: /* @__PURE__ */ r.jsx("span", { className: "submenu-label", children: p.label })
854
854
  },
855
855
  T
856
856
  );
@@ -914,75 +914,75 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
914
914
  logo: t,
915
915
  logoCollapsed: a,
916
916
  items: n,
917
- logoutIcon: l,
918
- onLogout: i,
919
- logoutLabel: h = "Cerrar sesión",
917
+ logoutIcon: i,
918
+ onLogout: l,
919
+ logoutLabel: v = "Cerrar sesión",
920
920
  collapsed: f = !1,
921
- onToggle: u,
921
+ onToggle: d,
922
922
  activePath: c,
923
923
  onActiveChange: x
924
924
  }) => {
925
- const [d, j] = V(f), [g, v] = V(null), [w, p] = V(c), [m, T] = V(!1), [E, D] = V(!1), [I, ne] = V(!1);
925
+ const [h, b] = V(f), [u, m] = V(null), [w, R] = V(c), [p, T] = V(!1), [k, D] = V(!1), [I, ne] = V(!1);
926
926
  X(() => {
927
- const C = () => {
927
+ const N = () => {
928
928
  ne(window.innerWidth <= 768);
929
929
  };
930
- return C(), window.addEventListener("resize", C), () => {
931
- window.removeEventListener("resize", C);
930
+ return N(), window.addEventListener("resize", N), () => {
931
+ window.removeEventListener("resize", N);
932
932
  };
933
933
  }, []), te.useEffect(() => {
934
- var C;
934
+ var N;
935
935
  if (c) {
936
- p(c);
937
- const k = n.findIndex(
936
+ R(c);
937
+ const _ = n.findIndex(
938
938
  (S) => {
939
939
  var $;
940
940
  return S.url === c || (($ = S.submenu) == null ? void 0 : $.some((M) => M.url === c));
941
941
  }
942
942
  );
943
- k !== -1 && ((C = n[k].submenu) != null && C.length ? v(k) : v(null));
943
+ _ !== -1 && ((N = n[_].submenu) != null && N.length ? m(_) : m(null));
944
944
  }
945
945
  }, [c, n]);
946
946
  const U = () => {
947
- j(!d), u && u();
947
+ b(!h), d && d();
948
948
  }, Z = () => {
949
- var C;
950
- if (d)
951
- if (j(!1), u && u(), w) {
952
- const k = n.findIndex(
949
+ var N;
950
+ if (h)
951
+ if (b(!1), d && d(), w) {
952
+ const _ = n.findIndex(
953
953
  (S) => {
954
954
  var $;
955
955
  return S.url === w || (($ = S.submenu) == null ? void 0 : $.some((M) => M.url === w));
956
956
  }
957
957
  );
958
- k !== -1 && ((C = n[k].submenu) != null && C.length) ? v(k) : v(null);
958
+ _ !== -1 && ((N = n[_].submenu) != null && N.length) ? m(_) : m(null);
959
959
  } else
960
- v(null);
961
- }, q = (C) => {
962
- v(g === C ? null : C), I && T(!0);
963
- }, G = (C) => {
964
- p(C);
965
- const k = n.findIndex(
960
+ m(null);
961
+ }, q = (N) => {
962
+ m(u === N ? null : N), I && T(!0);
963
+ }, G = (N) => {
964
+ R(N);
965
+ const _ = n.findIndex(
966
966
  (S) => {
967
967
  var $;
968
- return S.url === C || (($ = S.submenu) == null ? void 0 : $.some((M) => M.url === C));
968
+ return S.url === N || (($ = S.submenu) == null ? void 0 : $.some((M) => M.url === N));
969
969
  }
970
970
  );
971
- if (k !== -1) {
972
- const S = n[k];
973
- S.submenu && S.submenu.length > 0 ? v(k) : v(null);
971
+ if (_ !== -1) {
972
+ const S = n[_];
973
+ S.submenu && S.submenu.length > 0 ? m(_) : m(null);
974
974
  } else
975
- v(null);
976
- x && x(C), I && (n.some(
975
+ m(null);
976
+ x && x(N), I && (n.some(
977
977
  ($) => {
978
978
  var M;
979
- return (M = $.submenu) == null ? void 0 : M.some((se) => se.url === C);
979
+ return (M = $.submenu) == null ? void 0 : M.some((se) => se.url === N);
980
980
  }
981
981
  ) || (D(!0), setTimeout(() => {
982
982
  T(!1), D(!1);
983
983
  }, 500)));
984
984
  }, B = () => {
985
- m ? (D(!0), setTimeout(() => {
985
+ p ? (D(!0), setTimeout(() => {
986
986
  T(!1), D(!1);
987
987
  }, 500)) : T(!0);
988
988
  };
@@ -992,7 +992,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
992
992
  /* @__PURE__ */ r.jsx(
993
993
  "button",
994
994
  {
995
- className: `mobile-menu-button ${m ? "open" : ""}`,
995
+ className: `mobile-menu-button ${p ? "open" : ""}`,
996
996
  onClick: B,
997
997
  "aria-label": "Toggle mobile menu",
998
998
  children: /* @__PURE__ */ r.jsx(Ue, {})
@@ -1002,24 +1002,24 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1002
1002
  !I && /* @__PURE__ */ r.jsx(
1003
1003
  "button",
1004
1004
  {
1005
- className: `mobile-menu-button ${m ? "open" : ""}`,
1005
+ className: `mobile-menu-button ${p ? "open" : ""}`,
1006
1006
  onClick: B,
1007
1007
  "aria-label": "Toggle mobile menu",
1008
1008
  style: { display: "none" },
1009
1009
  children: /* @__PURE__ */ r.jsx(Ue, {})
1010
1010
  }
1011
1011
  ),
1012
- I && (m || E) && /* @__PURE__ */ r.jsx(
1012
+ I && (p || k) && /* @__PURE__ */ r.jsx(
1013
1013
  "div",
1014
1014
  {
1015
- className: `sidebar-overlay ${m ? "visible" : ""}`,
1015
+ className: `sidebar-overlay ${p ? "visible" : ""}`,
1016
1016
  onClick: B
1017
1017
  }
1018
1018
  ),
1019
- /* @__PURE__ */ r.jsxs("div", { className: `sidebar-wrapper ${m ? "mobile-open" : ""} ${E ? "mobile-closing" : ""}`, children: [
1020
- /* @__PURE__ */ r.jsxs("div", { className: `sidebar ${!I && d ? "sidebar-collapsed" : ""} ${I ? "sidebar-mobile" : ""}`, children: [
1021
- !I && /* @__PURE__ */ r.jsx("div", { className: "sidebar-header", children: /* @__PURE__ */ r.jsx("div", { className: "sidebar-logo", children: d ? /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: a }) : /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: t }) }) }),
1022
- I && (m || E) && /* @__PURE__ */ r.jsxs("div", { className: "mobile-header", children: [
1019
+ /* @__PURE__ */ r.jsxs("div", { className: `sidebar-wrapper ${p ? "mobile-open" : ""} ${k ? "mobile-closing" : ""}`, children: [
1020
+ /* @__PURE__ */ r.jsxs("div", { className: `sidebar ${!I && h ? "sidebar-collapsed" : ""} ${I ? "sidebar-mobile" : ""}`, children: [
1021
+ !I && /* @__PURE__ */ r.jsx("div", { className: "sidebar-header", children: /* @__PURE__ */ r.jsx("div", { className: "sidebar-logo", children: h ? /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: a }) : /* @__PURE__ */ r.jsx("span", { className: "logo-text", children: t }) }) }),
1022
+ I && (p || k) && /* @__PURE__ */ r.jsxs("div", { className: "mobile-header", children: [
1023
1023
  /* @__PURE__ */ r.jsx("div", { className: "mobile-logo-menu", children: t }),
1024
1024
  /* @__PURE__ */ r.jsx(
1025
1025
  "button",
@@ -1031,33 +1031,33 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1031
1031
  }
1032
1032
  )
1033
1033
  ] }),
1034
- /* @__PURE__ */ r.jsx("div", { className: "sidebar-menu", children: n.map((C, k) => /* @__PURE__ */ r.jsx(
1034
+ /* @__PURE__ */ r.jsx("div", { className: "sidebar-menu", children: n.map((N, _) => /* @__PURE__ */ r.jsx(
1035
1035
  Ir,
1036
1036
  {
1037
- icon: C.icon,
1038
- url: C.url,
1039
- label: C.label,
1040
- submenu: C.submenu,
1041
- collapsed: d,
1042
- active: C.active || C.url === w,
1037
+ icon: N.icon,
1038
+ url: N.url,
1039
+ label: N.label,
1040
+ submenu: N.submenu,
1041
+ collapsed: h,
1042
+ active: N.active || N.url === w,
1043
1043
  activePath: w,
1044
- isOpen: g === k,
1045
- onToggle: () => q(k),
1044
+ isOpen: u === _,
1045
+ onToggle: () => q(_),
1046
1046
  onExpand: Z,
1047
1047
  onSetActive: G,
1048
1048
  isMobile: I
1049
1049
  },
1050
- k
1050
+ _
1051
1051
  )) }),
1052
- i && /* @__PURE__ */ r.jsx("div", { className: "sidebar-footer", children: /* @__PURE__ */ r.jsxs("button", { className: "logout-button", onClick: i, children: [
1053
- l,
1054
- !d && /* @__PURE__ */ r.jsx("span", { children: h })
1052
+ l && /* @__PURE__ */ r.jsx("div", { className: "sidebar-footer", children: /* @__PURE__ */ r.jsxs("button", { className: "logout-button", onClick: l, children: [
1053
+ i,
1054
+ !h && /* @__PURE__ */ r.jsx("span", { children: v })
1055
1055
  ] }) })
1056
1056
  ] }),
1057
1057
  !I && /* @__PURE__ */ r.jsx(
1058
1058
  "button",
1059
1059
  {
1060
- className: `sidebar-toggle-icon${d ? " collapsed" : ""}`,
1060
+ className: `sidebar-toggle-icon${h ? " collapsed" : ""}`,
1061
1061
  onClick: U,
1062
1062
  "aria-label": "Toggle sidebar",
1063
1063
  children: /* @__PURE__ */ r.jsx(Or, {})
@@ -1069,41 +1069,41 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1069
1069
  isOpen: t,
1070
1070
  onClose: a,
1071
1071
  title: n = "",
1072
- children: l,
1073
- position: i = "right",
1074
- size: h = "medium",
1072
+ children: i,
1073
+ position: l = "right",
1074
+ size: v = "medium",
1075
1075
  enableSwipeToClose: f = !0
1076
1076
  }) => {
1077
- const [u, c] = V(!1), x = K(null), d = K(0), j = K(0), g = 50, v = () => {
1078
- !u && t && (c(!0), setTimeout(() => {
1077
+ const [d, c] = V(!1), x = K(null), h = K(0), b = K(0), u = 50, m = () => {
1078
+ !d && t && (c(!0), setTimeout(() => {
1079
1079
  c(!1), a();
1080
1080
  }, 500));
1081
- }, w = (m) => {
1082
- f && (d.current = m.touches[0].clientX, j.current = m.touches[0].clientY);
1083
- }, p = (m) => {
1084
- if (!f || !m.changedTouches[0]) return;
1085
- const T = m.changedTouches[0].clientX, E = m.changedTouches[0].clientY, D = T - d.current, I = E - j.current;
1086
- (i === "right" && D > g || i === "left" && D < -g || i === "top" && I < -g || i === "bottom" && I > g) && v();
1081
+ }, w = (p) => {
1082
+ f && (h.current = p.touches[0].clientX, b.current = p.touches[0].clientY);
1083
+ }, R = (p) => {
1084
+ if (!f || !p.changedTouches[0]) return;
1085
+ const T = p.changedTouches[0].clientX, k = p.changedTouches[0].clientY, D = T - h.current, I = k - b.current;
1086
+ (l === "right" && D > u || l === "left" && D < -u || l === "top" && I < -u || l === "bottom" && I > u) && m();
1087
1087
  };
1088
1088
  return X(() => {
1089
1089
  t && c(!1);
1090
- }, [t]), X(() => (t && !u ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1090
+ }, [t]), X(() => (t && !d ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1091
1091
  document.body.style.overflow = "";
1092
- }), [t, u]), !t && !u ? null : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1092
+ }), [t, d]), !t && !d ? null : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1093
1093
  /* @__PURE__ */ r.jsx(
1094
1094
  "div",
1095
1095
  {
1096
- className: `drawer-overlay ${u ? "fade-out" : "fade-in"}`,
1097
- onClick: v
1096
+ className: `drawer-overlay ${d ? "fade-out" : "fade-in"}`,
1097
+ onClick: m
1098
1098
  }
1099
1099
  ),
1100
1100
  /* @__PURE__ */ r.jsxs(
1101
1101
  "div",
1102
1102
  {
1103
1103
  ref: x,
1104
- className: `drawer drawer-${i} drawer-${h} ${u ? "drawer-closing" : "drawer-open"}`,
1104
+ className: `drawer drawer-${l} drawer-${v} ${d ? "drawer-closing" : "drawer-open"}`,
1105
1105
  onTouchStart: w,
1106
- onTouchEnd: p,
1106
+ onTouchEnd: R,
1107
1107
  children: [
1108
1108
  /* @__PURE__ */ r.jsxs("div", { className: `drawer-header ${n ? "has-title" : "no-title"}`, children: [
1109
1109
  n && /* @__PURE__ */ r.jsx("h2", { className: "drawer-title", children: n }),
@@ -1111,13 +1111,13 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1111
1111
  "button",
1112
1112
  {
1113
1113
  className: "drawer-close",
1114
- onClick: v,
1114
+ onClick: m,
1115
1115
  "aria-label": "Cerrar",
1116
1116
  children: "✕"
1117
1117
  }
1118
1118
  )
1119
1119
  ] }),
1120
- /* @__PURE__ */ r.jsx("div", { className: "drawer-content", children: l })
1120
+ /* @__PURE__ */ r.jsx("div", { className: "drawer-content", children: i })
1121
1121
  ]
1122
1122
  }
1123
1123
  )
@@ -1137,25 +1137,25 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1137
1137
  title: t,
1138
1138
  children: a,
1139
1139
  active: n,
1140
- onClose: l,
1141
- size: i
1140
+ onClose: i,
1141
+ size: l
1142
1142
  }) => {
1143
- const h = K(null);
1143
+ const v = K(null);
1144
1144
  X(() => {
1145
- const u = (c) => {
1146
- c.key === "Escape" && l();
1145
+ const d = (c) => {
1146
+ c.key === "Escape" && i();
1147
1147
  };
1148
- return n && document.addEventListener("keydown", u), () => {
1149
- document.removeEventListener("keydown", u);
1148
+ return n && document.addEventListener("keydown", d), () => {
1149
+ document.removeEventListener("keydown", d);
1150
1150
  };
1151
- }, [n, l]);
1152
- const f = (u) => {
1153
- h.current && u.target === h.current && l();
1151
+ }, [n, i]);
1152
+ const f = (d) => {
1153
+ v.current && d.target === v.current && i();
1154
1154
  };
1155
- return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: h, onClick: f, children: /* @__PURE__ */ r.jsxs("div", { className: $r({ size: i }), children: [
1155
+ return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: v, onClick: f, children: /* @__PURE__ */ r.jsxs("div", { className: $r({ size: l }), children: [
1156
1156
  /* @__PURE__ */ r.jsxs("div", { className: "modal-header", children: [
1157
1157
  /* @__PURE__ */ r.jsx("h2", { children: t }),
1158
- /* @__PURE__ */ r.jsx("button", { className: "modal-close", onClick: l, "aria-label": "Cerrar", children: "×" })
1158
+ /* @__PURE__ */ r.jsx("button", { className: "modal-close", onClick: i, "aria-label": "Cerrar", children: "×" })
1159
1159
  ] }),
1160
1160
  /* @__PURE__ */ r.jsx("hr", { className: "modal-divider" }),
1161
1161
  /* @__PURE__ */ r.jsx("div", { className: "modal-content", children: a })
@@ -1164,13 +1164,13 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1164
1164
  isOpen: t,
1165
1165
  onToggle: a,
1166
1166
  title: n,
1167
- subtitle: l,
1168
- children: i
1167
+ subtitle: i,
1168
+ children: l
1169
1169
  }) => /* @__PURE__ */ r.jsxs("div", { className: `collapsible ${t ? "open" : ""}`, children: [
1170
1170
  /* @__PURE__ */ r.jsxs("div", { className: "collapsible-header", onClick: a, children: [
1171
1171
  /* @__PURE__ */ r.jsxs("div", { className: "collapsible-header-content", children: [
1172
1172
  /* @__PURE__ */ r.jsx("h3", { className: "collapsible-title", children: n }),
1173
- l && /* @__PURE__ */ r.jsx("p", { className: "collapsible-subtitle", children: l })
1173
+ i && /* @__PURE__ */ r.jsx("p", { className: "collapsible-subtitle", children: i })
1174
1174
  ] }),
1175
1175
  /* @__PURE__ */ r.jsx("div", { className: `collapsible-arrow ${t ? "open" : ""}`, children: /* @__PURE__ */ r.jsx(
1176
1176
  "svg",
@@ -1193,7 +1193,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1193
1193
  }
1194
1194
  ) })
1195
1195
  ] }),
1196
- /* @__PURE__ */ r.jsx("div", { className: `collapsible-content ${t ? "open" : ""}`, children: i })
1196
+ /* @__PURE__ */ r.jsx("div", { className: `collapsible-content ${t ? "open" : ""}`, children: l })
1197
1197
  ] }), lt = ({ children: t }) => /* @__PURE__ */ r.jsx("div", { className: "card", children: t }), zr = P("tab-base", {
1198
1198
  variants: {
1199
1199
  size: {
@@ -1230,31 +1230,31 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1230
1230
  className: t,
1231
1231
  size: a,
1232
1232
  state: n,
1233
- outline: l,
1234
- iconAlignment: i,
1235
- children: h,
1233
+ outline: i,
1234
+ iconAlignment: l,
1235
+ children: v,
1236
1236
  icon: f,
1237
- active: u = !1,
1237
+ active: d = !1,
1238
1238
  disabled: c = !1,
1239
1239
  ...x
1240
- }, d) => {
1241
- const j = c ? "disabled" : u ? "active" : n || "default", g = f ? i || "left" : "none";
1240
+ }, h) => {
1241
+ const b = c ? "disabled" : d ? "active" : n || "default", u = f ? l || "left" : "none";
1242
1242
  return /* @__PURE__ */ r.jsxs(
1243
1243
  "button",
1244
1244
  {
1245
1245
  className: zr({
1246
1246
  size: a,
1247
- state: j,
1248
- outline: l,
1249
- iconAlignment: g,
1247
+ state: b,
1248
+ outline: i,
1249
+ iconAlignment: u,
1250
1250
  className: t
1251
1251
  }),
1252
- ref: d,
1252
+ ref: h,
1253
1253
  disabled: c,
1254
1254
  ...x,
1255
1255
  children: [
1256
- f && g === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: f }),
1257
- /* @__PURE__ */ r.jsx("span", { className: "tab-content", children: h })
1256
+ f && u === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: f }),
1257
+ /* @__PURE__ */ r.jsx("span", { className: "tab-content", children: v })
1258
1258
  ]
1259
1259
  }
1260
1260
  );
@@ -1265,46 +1265,46 @@ const Ar = ({
1265
1265
  children: t,
1266
1266
  defaultActiveIndex: a = 0,
1267
1267
  activeIndex: n,
1268
- onTabChange: l,
1269
- className: i = "",
1270
- variant: h = "default",
1268
+ onTabChange: i,
1269
+ className: l = "",
1270
+ variant: v = "default",
1271
1271
  size: f = "md",
1272
- outline: u = !1
1272
+ outline: d = !1
1273
1273
  }) => {
1274
- const [c, x] = V(a), d = n !== void 0 ? n : c, j = (v) => {
1275
- n === void 0 && x(v), l == null || l(v);
1276
- }, g = [
1274
+ const [c, x] = V(a), h = n !== void 0 ? n : c, b = (m) => {
1275
+ n === void 0 && x(m), i == null || i(m);
1276
+ }, u = [
1277
1277
  "tab-group",
1278
- `tab-group-${h}`,
1279
- i
1278
+ `tab-group-${v}`,
1279
+ l
1280
1280
  ].filter(Boolean).join(" ");
1281
- return /* @__PURE__ */ r.jsx("div", { className: g, role: "tablist", children: Nr.map(t, (v, w) => Cr(v) ? _r(v, {
1282
- ...v.props,
1283
- active: w === d,
1284
- size: v.props.size || f,
1285
- outline: v.props.outline !== void 0 ? v.props.outline : u,
1286
- onClick: (p) => {
1287
- var m, T;
1288
- v.props.disabled || (j(w), (T = (m = v.props).onClick) == null || T.call(m, p));
1281
+ return /* @__PURE__ */ r.jsx("div", { className: u, role: "tablist", children: Nr.map(t, (m, w) => Cr(m) ? _r(m, {
1282
+ ...m.props,
1283
+ active: w === h,
1284
+ size: m.props.size || f,
1285
+ outline: m.props.outline !== void 0 ? m.props.outline : d,
1286
+ onClick: (R) => {
1287
+ var p, T;
1288
+ m.props.disabled || (b(w), (T = (p = m.props).onClick) == null || T.call(p, R));
1289
1289
  },
1290
1290
  role: "tab",
1291
- "aria-selected": w === d,
1291
+ "aria-selected": w === h,
1292
1292
  "aria-controls": `tabpanel-${w}`,
1293
1293
  id: `tab-${w}`,
1294
- tabIndex: w === d ? 0 : -1
1295
- }) : v) });
1294
+ tabIndex: w === h ? 0 : -1
1295
+ }) : m) });
1296
1296
  };
1297
1297
  Ar.displayName = "TabGroup";
1298
1298
  const ot = ({ buttonsData: t, size: a = "sm" }) => {
1299
- const [n, l] = V(0), i = (h, f) => {
1300
- h.onClick(), l(f);
1299
+ const [n, i] = V(0), l = (v, f) => {
1300
+ v.onClick(), i(f);
1301
1301
  };
1302
- return /* @__PURE__ */ r.jsx("div", { className: "toggle-button-container", children: t.map((h, f) => /* @__PURE__ */ r.jsx(
1302
+ return /* @__PURE__ */ r.jsx("div", { className: "toggle-button-container", children: t.map((v, f) => /* @__PURE__ */ r.jsx(
1303
1303
  "div",
1304
1304
  {
1305
1305
  className: `toggle-button-inner ${n === f ? "active" : ""} ${a}`,
1306
- onClick: () => i(h, f),
1307
- children: /* @__PURE__ */ r.jsx("span", { children: h.label })
1306
+ onClick: () => l(v, f),
1307
+ children: /* @__PURE__ */ r.jsx("span", { children: v.label })
1308
1308
  },
1309
1309
  f
1310
1310
  )) });
@@ -1524,37 +1524,37 @@ const ot = ({ buttonsData: t, size: a = "sm" }) => {
1524
1524
  className: t,
1525
1525
  size: a,
1526
1526
  state: n,
1527
- leadingIcon: l,
1528
- trailingIcon: i,
1529
- hintText: h,
1527
+ leadingIcon: i,
1528
+ trailingIcon: l,
1529
+ hintText: v,
1530
1530
  onClear: f,
1531
- placeholder: u = "Placeholder",
1531
+ placeholder: d = "Placeholder",
1532
1532
  value: c,
1533
1533
  onChange: x,
1534
- ...d
1535
- }, j) => {
1536
- const g = !!l, v = !!i, w = c && c.toString().length > 0;
1537
- let p = n;
1538
- return n === "default" && w && (p = "filled"), /* @__PURE__ */ r.jsxs("div", { className: "input-container", children: [
1534
+ ...h
1535
+ }, b) => {
1536
+ const u = !!i, m = !!l, w = c && c.toString().length > 0;
1537
+ let R = n;
1538
+ return n === "default" && w && (R = "filled"), /* @__PURE__ */ r.jsxs("div", { className: "input-container", children: [
1539
1539
  /* @__PURE__ */ r.jsxs("div", { className: "input-wrapper", children: [
1540
- g && /* @__PURE__ */ r.jsx("span", { className: "input-leading-icon", children: l }),
1540
+ u && /* @__PURE__ */ r.jsx("span", { className: "input-leading-icon", children: i }),
1541
1541
  /* @__PURE__ */ r.jsx(
1542
1542
  "input",
1543
1543
  {
1544
1544
  className: Yr({
1545
1545
  size: a,
1546
- state: p,
1547
- hasLeadingIcon: g,
1548
- hasTrailingIcon: v,
1546
+ state: R,
1547
+ hasLeadingIcon: u,
1548
+ hasTrailingIcon: m,
1549
1549
  className: t
1550
1550
  }),
1551
- placeholder: u,
1551
+ placeholder: d,
1552
1552
  value: c,
1553
- ref: j,
1554
- ...d
1553
+ ref: b,
1554
+ ...h
1555
1555
  }
1556
1556
  ),
1557
- v && /* @__PURE__ */ r.jsx("span", { className: "input-trailing-icon", children: i }),
1557
+ m && /* @__PURE__ */ r.jsx("span", { className: "input-trailing-icon", children: l }),
1558
1558
  f && c && c.toString().length > 0 && /* @__PURE__ */ r.jsx(
1559
1559
  "button",
1560
1560
  {
@@ -1566,7 +1566,7 @@ const ot = ({ buttonsData: t, size: a = "sm" }) => {
1566
1566
  }
1567
1567
  )
1568
1568
  ] }),
1569
- h && /* @__PURE__ */ r.jsx("div", { className: `input-hint input-hint-${p}`, children: h })
1569
+ v && /* @__PURE__ */ r.jsx("div", { className: `input-hint input-hint-${R}`, children: v })
1570
1570
  ] });
1571
1571
  }
1572
1572
  );
@@ -1588,11 +1588,11 @@ const Gr = P("alert", {
1588
1588
  className: t,
1589
1589
  variant: a,
1590
1590
  title: n,
1591
- description: l,
1592
- children: i,
1593
- onDismiss: h,
1591
+ description: i,
1592
+ children: l,
1593
+ onDismiss: v,
1594
1594
  icon: f,
1595
- ...u
1595
+ ...d
1596
1596
  }, c) => {
1597
1597
  const x = {
1598
1598
  info: /* @__PURE__ */ r.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
@@ -1611,25 +1611,25 @@ const Gr = P("alert", {
1611
1611
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1612
1612
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1613
1613
  ] })
1614
- }, d = f || (a ? x[a] : x.info);
1614
+ }, h = f || (a ? x[a] : x.info);
1615
1615
  return /* @__PURE__ */ r.jsxs(
1616
1616
  "div",
1617
1617
  {
1618
1618
  className: Gr({ variant: a, className: t }),
1619
1619
  ref: c,
1620
- ...u,
1620
+ ...d,
1621
1621
  children: [
1622
- /* @__PURE__ */ r.jsx("div", { className: "alert-icon", children: d }),
1622
+ /* @__PURE__ */ r.jsx("div", { className: "alert-icon", children: h }),
1623
1623
  /* @__PURE__ */ r.jsxs("div", { className: "alert-content", children: [
1624
1624
  n && /* @__PURE__ */ r.jsx("div", { className: "alert-title", children: n }),
1625
- l && /* @__PURE__ */ r.jsx("div", { className: "alert-description", children: l }),
1626
- i && /* @__PURE__ */ r.jsx("div", { className: "alert-children", children: i })
1625
+ i && /* @__PURE__ */ r.jsx("div", { className: "alert-description", children: i }),
1626
+ l && /* @__PURE__ */ r.jsx("div", { className: "alert-children", children: l })
1627
1627
  ] }),
1628
1628
  /* @__PURE__ */ r.jsx(
1629
1629
  "button",
1630
1630
  {
1631
1631
  className: "alert-dismiss",
1632
- onClick: h,
1632
+ onClick: v,
1633
1633
  "aria-label": "Cerrar alerta",
1634
1634
  children: /* @__PURE__ */ r.jsx(Je, {})
1635
1635
  }
@@ -1690,16 +1690,16 @@ const Jr = P("social-login", {
1690
1690
  className: t,
1691
1691
  variant: a,
1692
1692
  size: n,
1693
- state: l,
1694
- pill: i,
1695
- iconAlignment: h,
1693
+ state: i,
1694
+ pill: l,
1695
+ iconAlignment: v,
1696
1696
  provider: f,
1697
- children: u,
1697
+ children: d,
1698
1698
  disabled: c,
1699
1699
  onClick: x,
1700
- ...d
1701
- }, j) => {
1702
- const g = Xr[f], v = u || Kr[f], w = c ? "disabled" : l, m = {
1700
+ ...h
1701
+ }, b) => {
1702
+ const u = Xr[f], m = d || Kr[f], w = c ? "disabled" : i, p = {
1703
1703
  xs: 16,
1704
1704
  sm: 18,
1705
1705
  md: 20,
@@ -1713,18 +1713,18 @@ const Jr = P("social-login", {
1713
1713
  variant: a,
1714
1714
  size: n,
1715
1715
  state: w,
1716
- pill: i,
1717
- iconAlignment: h,
1716
+ pill: l,
1717
+ iconAlignment: v,
1718
1718
  provider: f,
1719
1719
  className: t
1720
1720
  }),
1721
1721
  disabled: c,
1722
1722
  onClick: x,
1723
- ref: j,
1724
- ...d,
1723
+ ref: b,
1724
+ ...h,
1725
1725
  children: [
1726
- /* @__PURE__ */ r.jsx("span", { className: "social-login-icon", children: /* @__PURE__ */ r.jsx(g, { size: m }) }),
1727
- /* @__PURE__ */ r.jsx("span", { className: "social-login-text", children: v })
1726
+ /* @__PURE__ */ r.jsx("span", { className: "social-login-icon", children: /* @__PURE__ */ r.jsx(u, { size: p }) }),
1727
+ /* @__PURE__ */ r.jsx("span", { className: "social-login-text", children: m })
1728
1728
  ]
1729
1729
  }
1730
1730
  );
@@ -1764,21 +1764,21 @@ const qr = P("progress-bar", {
1764
1764
  className: t,
1765
1765
  variant: a,
1766
1766
  size: n,
1767
- color: l,
1768
- animated: i,
1769
- amount: h,
1767
+ color: i,
1768
+ animated: l,
1769
+ amount: v,
1770
1770
  total: f,
1771
- showPercentage: u = !1,
1771
+ showPercentage: d = !1,
1772
1772
  label: c,
1773
1773
  height: x,
1774
- style: d,
1775
- ...j
1776
- }, g) => {
1777
- const v = Math.min(Math.max(h / f * 100, 0), 100), w = {
1778
- ...d || {},
1774
+ style: h,
1775
+ ...b
1776
+ }, u) => {
1777
+ const m = Math.min(Math.max(v / f * 100, 0), 100), w = {
1778
+ ...h || {},
1779
1779
  ...x ? { height: x } : {}
1780
- }, p = {
1781
- width: `${v}%`
1780
+ }, R = {
1781
+ width: `${m}%`
1782
1782
  };
1783
1783
  return /* @__PURE__ */ r.jsxs(
1784
1784
  "div",
@@ -1786,42 +1786,42 @@ const qr = P("progress-bar", {
1786
1786
  className: qr({
1787
1787
  variant: a,
1788
1788
  size: n,
1789
- color: l,
1790
- animated: i,
1789
+ color: i,
1790
+ animated: l,
1791
1791
  className: t
1792
1792
  }),
1793
1793
  style: w,
1794
- ref: g,
1794
+ ref: u,
1795
1795
  role: "progressbar",
1796
- "aria-valuenow": h,
1796
+ "aria-valuenow": v,
1797
1797
  "aria-valuemin": 0,
1798
1798
  "aria-valuemax": f,
1799
- "aria-label": c || `Progreso: ${h} de ${f}`,
1800
- ...j,
1799
+ "aria-label": c || `Progreso: ${v} de ${f}`,
1800
+ ...b,
1801
1801
  children: [
1802
1802
  /* @__PURE__ */ r.jsx("div", { className: "progress-bar-track", children: /* @__PURE__ */ r.jsx(
1803
1803
  "div",
1804
1804
  {
1805
1805
  className: "progress-bar-fill",
1806
- style: p
1806
+ style: R
1807
1807
  }
1808
1808
  ) }),
1809
- (u || c) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: c || `${Math.round(v)}%` })
1809
+ (d || c) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: c || `${Math.round(m)}%` })
1810
1810
  ]
1811
1811
  }
1812
1812
  );
1813
1813
  }
1814
1814
  ), Qr = (t, a) => `/logos/${`${t}_${a}.png`}`, Ke = W(
1815
- ({ type: t = "logo", color: a = "color", alt: n, className: l, ...i }, h) => {
1816
- const f = Qr(t, a), u = n || (t === "logo" ? "Levannta logo" : "Levannta isologo");
1815
+ ({ type: t = "logo", color: a = "color", alt: n, className: i, ...l }, v) => {
1816
+ const f = Qr(t, a), d = n || (t === "logo" ? "Levannta logo" : "Levannta isologo");
1817
1817
  return /* @__PURE__ */ r.jsx(
1818
1818
  "img",
1819
1819
  {
1820
- ref: h,
1821
- className: ["logo", l].filter(Boolean).join(" "),
1820
+ ref: v,
1821
+ className: ["logo", i].filter(Boolean).join(" "),
1822
1822
  src: f,
1823
- alt: u,
1824
- ...i
1823
+ alt: d,
1824
+ ...l
1825
1825
  }
1826
1826
  );
1827
1827
  }
@@ -1831,22 +1831,22 @@ const ut = ({
1831
1831
  title: t,
1832
1832
  children: a,
1833
1833
  className: n,
1834
- showLogo: l = !0,
1835
- logoProps: i,
1836
- ...h
1834
+ showLogo: i = !0,
1835
+ logoProps: l,
1836
+ ...v
1837
1837
  }) => {
1838
1838
  const f = ["header", n].filter(Boolean).join(" ");
1839
- return /* @__PURE__ */ r.jsx("header", { className: f, ...h, children: /* @__PURE__ */ r.jsxs("div", { className: "header-content-wrapper", children: [
1839
+ return /* @__PURE__ */ r.jsx("header", { className: f, ...v, children: /* @__PURE__ */ r.jsxs("div", { className: "header-content-wrapper", children: [
1840
1840
  /* @__PURE__ */ r.jsx("h1", { className: "header-title", children: t }),
1841
- l && /* @__PURE__ */ r.jsx(
1841
+ i && /* @__PURE__ */ r.jsx(
1842
1842
  Ke,
1843
1843
  {
1844
1844
  className: "header-logo",
1845
- type: (i == null ? void 0 : i.type) ?? "logo",
1846
- color: (i == null ? void 0 : i.color) ?? "color",
1847
- width: (i == null ? void 0 : i.width) ?? 240,
1848
- height: i == null ? void 0 : i.height,
1849
- alt: i == null ? void 0 : i.alt
1845
+ type: (l == null ? void 0 : l.type) ?? "logo",
1846
+ color: (l == null ? void 0 : l.color) ?? "color",
1847
+ width: (l == null ? void 0 : l.width) ?? 240,
1848
+ height: l == null ? void 0 : l.height,
1849
+ alt: l == null ? void 0 : l.alt
1850
1850
  }
1851
1851
  ),
1852
1852
  a && /* @__PURE__ */ r.jsx("div", { className: "header-children", children: a })
@@ -1868,90 +1868,90 @@ const ut = ({
1868
1868
  className: t,
1869
1869
  size: a,
1870
1870
  currentPage: n,
1871
- totalPages: l,
1872
- itemsPerPage: i,
1873
- totalItems: h,
1871
+ totalPages: i,
1872
+ itemsPerPage: l,
1873
+ totalItems: v,
1874
1874
  itemsPerPageOptions: f = [10, 20, 50, 100],
1875
- onPageChange: u,
1875
+ onPageChange: d,
1876
1876
  onItemsPerPageChange: c,
1877
1877
  resultsLabel: x = "Resultados",
1878
- ofLabel: d = "de",
1879
- pageLabel: j = "Página",
1880
- prevDisabled: g,
1881
- nextDisabled: v,
1878
+ ofLabel: h = "de",
1879
+ pageLabel: b = "Página",
1880
+ prevDisabled: u,
1881
+ nextDisabled: m,
1882
1882
  ...w
1883
- }, p) => {
1884
- const [m, T] = V(!1), E = K(null), D = g ?? n <= 1, I = v ?? n >= l, U = {
1883
+ }, R) => {
1884
+ const [p, T] = V(!1), k = K(null), D = u ?? n <= 1, I = m ?? n >= i, U = {
1885
1885
  xs: 20,
1886
1886
  sm: 20,
1887
1887
  md: 22,
1888
1888
  lg: 24
1889
1889
  }[a || "md"], Z = a === "lg" || a === "md" ? 28 : 24, q = () => {
1890
- !D && u && u(n - 1);
1890
+ !D && d && d(n - 1);
1891
1891
  }, G = () => {
1892
- !I && u && u(n + 1);
1893
- }, B = (k) => {
1894
- c && c(k), T(!1);
1895
- }, C = () => {
1896
- T(!m);
1892
+ !I && d && d(n + 1);
1893
+ }, B = (_) => {
1894
+ c && c(_), T(!1);
1895
+ }, N = () => {
1896
+ T(!p);
1897
1897
  };
1898
1898
  return X(() => {
1899
- const k = (S) => {
1900
- E.current && !E.current.contains(S.target) && T(!1);
1899
+ const _ = (S) => {
1900
+ k.current && !k.current.contains(S.target) && T(!1);
1901
1901
  };
1902
- return m && document.addEventListener("mousedown", k), () => {
1903
- document.removeEventListener("mousedown", k);
1902
+ return p && document.addEventListener("mousedown", _), () => {
1903
+ document.removeEventListener("mousedown", _);
1904
1904
  };
1905
- }, [m]), /* @__PURE__ */ r.jsxs(
1905
+ }, [p]), /* @__PURE__ */ r.jsxs(
1906
1906
  "div",
1907
1907
  {
1908
1908
  className: et({
1909
1909
  size: a,
1910
1910
  className: t
1911
1911
  }),
1912
- ref: p,
1912
+ ref: R,
1913
1913
  ...w,
1914
1914
  children: [
1915
1915
  /* @__PURE__ */ r.jsxs("div", { className: "pagination-results-section", children: [
1916
1916
  /* @__PURE__ */ r.jsx("div", { className: "pagination-results", children: /* @__PURE__ */ r.jsx("span", { className: "pagination-results-text", children: x }) }),
1917
- /* @__PURE__ */ r.jsx("div", { className: "pagination-items-selector", ref: E, children: /* @__PURE__ */ r.jsxs("div", { className: "pagination-items-dropdown", children: [
1917
+ /* @__PURE__ */ r.jsx("div", { className: "pagination-items-selector", ref: k, children: /* @__PURE__ */ r.jsxs("div", { className: "pagination-items-dropdown", children: [
1918
1918
  /* @__PURE__ */ r.jsxs(
1919
1919
  "button",
1920
1920
  {
1921
1921
  className: "pagination-items-display",
1922
- onClick: C,
1922
+ onClick: N,
1923
1923
  type: "button",
1924
- "aria-expanded": m,
1924
+ "aria-expanded": p,
1925
1925
  "aria-haspopup": "listbox",
1926
1926
  children: [
1927
- /* @__PURE__ */ r.jsx("span", { className: "pagination-items-text", children: i }),
1927
+ /* @__PURE__ */ r.jsx("span", { className: "pagination-items-text", children: l }),
1928
1928
  /* @__PURE__ */ r.jsx(
1929
1929
  Wr,
1930
1930
  {
1931
1931
  size: Z,
1932
- className: `pagination-chevron-down ${m ? "open" : ""}`
1932
+ className: `pagination-chevron-down ${p ? "open" : ""}`
1933
1933
  }
1934
1934
  )
1935
1935
  ]
1936
1936
  }
1937
1937
  ),
1938
- m && /* @__PURE__ */ r.jsx("div", { className: "pagination-dropdown-menu", role: "listbox", children: f.map((k) => /* @__PURE__ */ r.jsx(
1938
+ p && /* @__PURE__ */ r.jsx("div", { className: "pagination-dropdown-menu", role: "listbox", children: f.map((_) => /* @__PURE__ */ r.jsx(
1939
1939
  "button",
1940
1940
  {
1941
- className: `pagination-dropdown-item ${k === i ? "selected" : ""}`,
1942
- onClick: () => B(k),
1941
+ className: `pagination-dropdown-item ${_ === l ? "selected" : ""}`,
1942
+ onClick: () => B(_),
1943
1943
  type: "button",
1944
1944
  role: "option",
1945
- "aria-selected": k === i,
1946
- children: k
1945
+ "aria-selected": _ === l,
1946
+ children: _
1947
1947
  },
1948
- k
1948
+ _
1949
1949
  )) })
1950
1950
  ] }) }),
1951
1951
  /* @__PURE__ */ r.jsx("div", { className: "pagination-total", children: /* @__PURE__ */ r.jsxs("span", { className: "pagination-total-text", children: [
1952
- d,
1952
+ h,
1953
1953
  " ",
1954
- h
1954
+ v
1955
1955
  ] }) })
1956
1956
  ] }),
1957
1957
  /* @__PURE__ */ r.jsxs("div", { className: "pagination-navigation", children: [
@@ -1967,13 +1967,13 @@ const ut = ({
1967
1967
  }
1968
1968
  ),
1969
1969
  /* @__PURE__ */ r.jsx("div", { className: "pagination-page-info", children: /* @__PURE__ */ r.jsxs("span", { className: "pagination-page-text", children: [
1970
- j,
1970
+ b,
1971
1971
  " ",
1972
1972
  n,
1973
1973
  " ",
1974
- d,
1974
+ h,
1975
1975
  " ",
1976
- l
1976
+ i
1977
1977
  ] }) }),
1978
1978
  /* @__PURE__ */ r.jsx(
1979
1979
  "button",
@@ -1997,34 +1997,31 @@ const dt = ({
1997
1997
  icon: t,
1998
1998
  title: a,
1999
1999
  options: n = [],
2000
- value: l,
2001
2000
  onChange: i,
2002
- className: h = ""
2001
+ className: l = ""
2003
2002
  }) => {
2004
- const [f, u] = V(!1), [c, x] = V(
2005
- n.find((p) => p.id === l) || null
2006
- ), d = K(null);
2003
+ const [v, f] = V(!1), d = K(null);
2007
2004
  X(() => {
2008
- const p = (m) => {
2009
- d.current && !d.current.contains(m.target) && u(!1);
2005
+ const u = (m) => {
2006
+ d.current && !d.current.contains(m.target) && f(!1);
2010
2007
  };
2011
- return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
2008
+ return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
2012
2009
  }, []);
2013
- const j = () => {
2014
- u(!f);
2015
- }, g = (p) => {
2010
+ const c = () => {
2011
+ f(!v);
2012
+ }, x = (u) => {
2016
2013
  var m;
2017
- p.disabled || (x(p), u(!1), i == null || i(p), (m = p.onSelect) == null || m.call(p));
2018
- }, v = a, w = t || /* @__PURE__ */ r.jsx(Pr, { size: 20, color: "#00D4AA" });
2019
- return /* @__PURE__ */ r.jsxs("div", { className: `selector-container ${h}`, ref: d, children: [
2014
+ u.disabled || (f(!1), i == null || i(u), (m = u.onSelect) == null || m.call(u));
2015
+ }, h = a, b = t || /* @__PURE__ */ r.jsx(Pr, { size: 20, color: "#00D4AA" });
2016
+ return /* @__PURE__ */ r.jsxs("div", { className: `selector-container ${l}`, ref: d, children: [
2020
2017
  /* @__PURE__ */ r.jsxs(
2021
2018
  "div",
2022
2019
  {
2023
- className: `selector ${f ? "selector--open" : ""}`,
2024
- onClick: j,
2020
+ className: `selector ${v ? "selector--open" : ""}`,
2021
+ onClick: c,
2025
2022
  children: [
2026
- /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: w }),
2027
- /* @__PURE__ */ r.jsx("div", { className: "selector__title", children: v }),
2023
+ /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: b }),
2024
+ /* @__PURE__ */ r.jsx("div", { className: "selector__title", children: h }),
2028
2025
  /* @__PURE__ */ r.jsx("div", { className: "selector__chevron", children: /* @__PURE__ */ r.jsx(
2029
2026
  "svg",
2030
2027
  {
@@ -2033,7 +2030,7 @@ const dt = ({
2033
2030
  viewBox: "0 0 12 7",
2034
2031
  fill: "none",
2035
2032
  xmlns: "http://www.w3.org/2000/svg",
2036
- className: `selector__chevron-icon ${f ? "selector__chevron-icon--open" : ""}`,
2033
+ className: `selector__chevron-icon ${v ? "selector__chevron-icon--open" : ""}`,
2037
2034
  children: /* @__PURE__ */ r.jsx(
2038
2035
  "path",
2039
2036
  {
@@ -2049,31 +2046,31 @@ const dt = ({
2049
2046
  ]
2050
2047
  }
2051
2048
  ),
2052
- f && n.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown", children: /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown-content", children: n.map((p) => /* @__PURE__ */ r.jsxs(
2049
+ v && n.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown", children: /* @__PURE__ */ r.jsx("div", { className: "selector__dropdown-content", children: n.map((u) => /* @__PURE__ */ r.jsxs(
2053
2050
  "div",
2054
2051
  {
2055
- className: `selector__option ${(c == null ? void 0 : c.id) === p.id ? "selector__option--selected" : ""} ${p.disabled ? "selector__option--disabled" : ""}`,
2056
- onClick: () => g(p),
2052
+ className: `selector__option ${u.active ? "selector__option--selected" : ""} ${u.disabled ? "selector__option--disabled" : ""}`,
2053
+ onClick: () => x(u),
2057
2054
  children: [
2058
- p.icon && /* @__PURE__ */ r.jsx("div", { className: "selector__option-icon", children: p.icon }),
2055
+ u.icon && /* @__PURE__ */ r.jsx("div", { className: "selector__option-icon", children: u.icon }),
2059
2056
  /* @__PURE__ */ r.jsxs("div", { className: "selector__option-content", children: [
2060
- /* @__PURE__ */ r.jsx("div", { className: "selector__option-title", children: p.title }),
2061
- p.subtitle && /* @__PURE__ */ r.jsx("div", { className: "selector__option-subtitle", children: p.subtitle })
2057
+ /* @__PURE__ */ r.jsx("div", { className: "selector__option-title", children: u.title }),
2058
+ u.subtitle && /* @__PURE__ */ r.jsx("div", { className: "selector__option-subtitle", children: u.subtitle })
2062
2059
  ] })
2063
2060
  ]
2064
2061
  },
2065
- p.id
2062
+ u.id
2066
2063
  )) }) })
2067
2064
  ] });
2068
2065
  }, ft = ({
2069
2066
  title: t,
2070
2067
  subtitle: a,
2071
2068
  buttonText: n,
2072
- buttonVariant: l = "filled",
2073
- onClick: i,
2074
- image: h = "src/assets/images/default_card_wallpaper.png",
2069
+ buttonVariant: i = "filled",
2070
+ onClick: l,
2071
+ image: v = "src/assets/images/default_card_wallpaper.png",
2075
2072
  icon: f,
2076
- disabled: u = !1,
2073
+ disabled: d = !1,
2077
2074
  className: c = "",
2078
2075
  size: x = "md"
2079
2076
  }) => /* @__PURE__ */ r.jsxs(
@@ -2081,7 +2078,7 @@ const dt = ({
2081
2078
  {
2082
2079
  className: `cardcta-container cardcta-size-${x} ${c}`,
2083
2080
  style: {
2084
- backgroundImage: `url('${h}')`,
2081
+ backgroundImage: `url('${v}')`,
2085
2082
  backgroundSize: "cover",
2086
2083
  backgroundPosition: "center",
2087
2084
  position: "relative",
@@ -2089,12 +2086,12 @@ const dt = ({
2089
2086
  },
2090
2087
  children: [
2091
2088
  /* @__PURE__ */ r.jsx("div", { className: "cardcta-gradient-overlay" }),
2092
- u && /* @__PURE__ */ r.jsx("div", { className: "cardcta-bg-disabled" }),
2089
+ d && /* @__PURE__ */ r.jsx("div", { className: "cardcta-bg-disabled" }),
2093
2090
  /* @__PURE__ */ r.jsxs("div", { className: "cardcta-overlay", children: [
2094
2091
  /* @__PURE__ */ r.jsx("div", { className: "cardcta-icon", children: f }),
2095
2092
  /* @__PURE__ */ r.jsx("h3", { className: "cardcta-title", children: t }),
2096
2093
  a && /* @__PURE__ */ r.jsx("p", { className: "cardcta-subtitle", children: a }),
2097
- /* @__PURE__ */ r.jsx(He, { onClick: i, variant: l, size: "sm", disabled: u, children: u ? /* @__PURE__ */ r.jsx("span", { children: "Próximamente" }) : n })
2094
+ /* @__PURE__ */ r.jsx(He, { onClick: l, variant: i, size: "sm", disabled: d, children: d ? /* @__PURE__ */ r.jsx("span", { children: "Próximamente" }) : n })
2098
2095
  ] })
2099
2096
  ]
2100
2097
  }