@tmf_ciclica/ciclicastorybook 1.2.125 → 1.2.126

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
@@ -49,7 +49,7 @@ var lo;
49
49
  function pa() {
50
50
  if (lo) return fe;
51
51
  lo = 1;
52
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
52
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
53
53
  function $(C) {
54
54
  if (typeof C == "object" && C !== null) {
55
55
  var x = C.$$typeof;
@@ -68,7 +68,7 @@ function pa() {
68
68
  case l:
69
69
  case h:
70
70
  case v:
71
- case m:
71
+ case p:
72
72
  case a:
73
73
  return C;
74
74
  default:
@@ -80,12 +80,12 @@ function pa() {
80
80
  }
81
81
  }
82
82
  }
83
- function b(C) {
83
+ function y(C) {
84
84
  return $(C) === d;
85
85
  }
86
- return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy = v, fe.Memo = m, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(C) {
87
- return b(C) || $(C) === c;
88
- }, fe.isConcurrentMode = b, fe.isContextConsumer = function(C) {
86
+ return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy = v, fe.Memo = p, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(C) {
87
+ return y(C) || $(C) === c;
88
+ }, fe.isConcurrentMode = y, fe.isContextConsumer = function(C) {
89
89
  return $(C) === l;
90
90
  }, fe.isContextProvider = function(C) {
91
91
  return $(C) === a;
@@ -98,7 +98,7 @@ function pa() {
98
98
  }, fe.isLazy = function(C) {
99
99
  return $(C) === v;
100
100
  }, fe.isMemo = function(C) {
101
- return $(C) === m;
101
+ return $(C) === p;
102
102
  }, fe.isPortal = function(C) {
103
103
  return $(C) === n;
104
104
  }, fe.isProfiler = function(C) {
@@ -108,7 +108,7 @@ function pa() {
108
108
  }, fe.isSuspense = function(C) {
109
109
  return $(C) === g;
110
110
  }, fe.isValidElementType = function(C) {
111
- return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === y || typeof C == "object" && C !== null && (C.$$typeof === v || C.$$typeof === m || C.$$typeof === a || C.$$typeof === l || C.$$typeof === h || C.$$typeof === _ || C.$$typeof === w || C.$$typeof === S || C.$$typeof === f);
111
+ return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === b || typeof C == "object" && C !== null && (C.$$typeof === v || C.$$typeof === p || C.$$typeof === a || C.$$typeof === l || C.$$typeof === h || C.$$typeof === _ || C.$$typeof === w || C.$$typeof === k || C.$$typeof === f);
112
112
  }, fe.typeOf = $, fe;
113
113
  }
114
114
  var pe = {};
@@ -123,12 +123,12 @@ var pe = {};
123
123
  var co;
124
124
  function ma() {
125
125
  return co || (co = 1, process.env.NODE_ENV !== "production" && function() {
126
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
126
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
127
127
  function $(I) {
128
128
  return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
129
- I === r || I === d || I === s || I === o || I === g || I === y || typeof I == "object" && I !== null && (I.$$typeof === v || I.$$typeof === m || I.$$typeof === a || I.$$typeof === l || I.$$typeof === h || I.$$typeof === _ || I.$$typeof === w || I.$$typeof === S || I.$$typeof === f);
129
+ I === r || I === d || I === s || I === o || I === g || I === b || typeof I == "object" && I !== null && (I.$$typeof === v || I.$$typeof === p || I.$$typeof === a || I.$$typeof === l || I.$$typeof === h || I.$$typeof === _ || I.$$typeof === w || I.$$typeof === k || I.$$typeof === f);
130
130
  }
131
- function b(I) {
131
+ function y(I) {
132
132
  if (typeof I == "object" && I !== null) {
133
133
  var se = I.$$typeof;
134
134
  switch (se) {
@@ -148,7 +148,7 @@ function ma() {
148
148
  case l:
149
149
  case h:
150
150
  case v:
151
- case m:
151
+ case p:
152
152
  case a:
153
153
  return et;
154
154
  default:
@@ -160,47 +160,47 @@ function ma() {
160
160
  }
161
161
  }
162
162
  }
163
- var C = c, x = d, M = l, D = a, O = t, q = h, z = r, p = v, E = m, k = n, B = s, F = o, Y = g, W = !1;
163
+ var C = c, x = d, A = l, R = a, O = t, q = h, z = r, m = v, E = p, S = n, B = s, F = o, Y = g, W = !1;
164
164
  function ce(I) {
165
- return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), R(I) || b(I) === c;
165
+ return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(I) || y(I) === c;
166
166
  }
167
- function R(I) {
168
- return b(I) === d;
167
+ function D(I) {
168
+ return y(I) === d;
169
169
  }
170
- function A(I) {
171
- return b(I) === l;
170
+ function L(I) {
171
+ return y(I) === l;
172
172
  }
173
173
  function J(I) {
174
- return b(I) === a;
174
+ return y(I) === a;
175
175
  }
176
176
  function K(I) {
177
177
  return typeof I == "object" && I !== null && I.$$typeof === t;
178
178
  }
179
179
  function P(I) {
180
- return b(I) === h;
180
+ return y(I) === h;
181
181
  }
182
182
  function Z(I) {
183
- return b(I) === r;
183
+ return y(I) === r;
184
184
  }
185
185
  function ne(I) {
186
- return b(I) === v;
186
+ return y(I) === v;
187
187
  }
188
188
  function G(I) {
189
- return b(I) === m;
189
+ return y(I) === p;
190
190
  }
191
191
  function U(I) {
192
- return b(I) === n;
192
+ return y(I) === n;
193
193
  }
194
194
  function oe(I) {
195
- return b(I) === s;
195
+ return y(I) === s;
196
196
  }
197
197
  function ee(I) {
198
- return b(I) === o;
198
+ return y(I) === o;
199
199
  }
200
200
  function ue(I) {
201
- return b(I) === g;
201
+ return y(I) === g;
202
202
  }
203
- pe.AsyncMode = C, pe.ConcurrentMode = x, pe.ContextConsumer = M, pe.ContextProvider = D, pe.Element = O, pe.ForwardRef = q, pe.Fragment = z, pe.Lazy = p, pe.Memo = E, pe.Portal = k, pe.Profiler = B, pe.StrictMode = F, pe.Suspense = Y, pe.isAsyncMode = ce, pe.isConcurrentMode = R, pe.isContextConsumer = A, pe.isContextProvider = J, pe.isElement = K, pe.isForwardRef = P, pe.isFragment = Z, pe.isLazy = ne, pe.isMemo = G, pe.isPortal = U, pe.isProfiler = oe, pe.isStrictMode = ee, pe.isSuspense = ue, pe.isValidElementType = $, pe.typeOf = b;
203
+ pe.AsyncMode = C, pe.ConcurrentMode = x, pe.ContextConsumer = A, pe.ContextProvider = R, pe.Element = O, pe.ForwardRef = q, pe.Fragment = z, pe.Lazy = m, pe.Memo = E, pe.Portal = S, pe.Profiler = B, pe.StrictMode = F, pe.Suspense = Y, pe.isAsyncMode = ce, pe.isConcurrentMode = D, pe.isContextConsumer = L, pe.isContextProvider = J, pe.isElement = K, pe.isForwardRef = P, pe.isFragment = Z, pe.isLazy = ne, pe.isMemo = G, pe.isPortal = U, pe.isProfiler = oe, pe.isStrictMode = ee, pe.isSuspense = ue, pe.isValidElementType = $, pe.typeOf = y;
204
204
  }()), pe;
205
205
  }
206
206
  var uo;
@@ -251,8 +251,8 @@ function ha() {
251
251
  t.call(l, g) && (c[g] = l[g]);
252
252
  if (e) {
253
253
  d = e(l);
254
- for (var y = 0; y < d.length; y++)
255
- n.call(l, d[y]) && (c[d[y]] = l[d[y]]);
254
+ for (var b = 0; b < d.length; b++)
255
+ n.call(l, d[b]) && (c[d[b]] = l[d[b]]);
256
256
  }
257
257
  }
258
258
  return c;
@@ -293,10 +293,10 @@ function ga() {
293
293
  var g;
294
294
  try {
295
295
  if (typeof s[h] != "function") {
296
- var y = Error(
296
+ var b = Error(
297
297
  (c || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
298
298
  );
299
- throw y.name = "Invariant Violation", y;
299
+ throw b.name = "Invariant Violation", b;
300
300
  }
301
301
  g = s[h](a, h, c, l, null, t);
302
302
  } catch (v) {
@@ -306,9 +306,9 @@ function ga() {
306
306
  (c || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
307
307
  ), g instanceof Error && !(g.message in n)) {
308
308
  n[g.message] = !0;
309
- var m = d ? d() : "";
309
+ var p = d ? d() : "";
310
310
  e(
311
- "Failed " + l + " type: " + g.message + (m ?? "")
311
+ "Failed " + l + " type: " + g.message + (p ?? "")
312
312
  );
313
313
  }
314
314
  }
@@ -337,12 +337,12 @@ function ya() {
337
337
  }
338
338
  return Cr = function(l, c) {
339
339
  var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
340
- function g(R) {
341
- var A = R && (d && R[d] || R[h]);
342
- if (typeof A == "function")
343
- return A;
340
+ function g(D) {
341
+ var L = D && (d && D[d] || D[h]);
342
+ if (typeof L == "function")
343
+ return L;
344
344
  }
345
- var y = "<<anonymous>>", m = {
345
+ var b = "<<anonymous>>", p = {
346
346
  array: w("array"),
347
347
  bigint: w("bigint"),
348
348
  bool: w("boolean"),
@@ -351,30 +351,30 @@ function ya() {
351
351
  object: w("object"),
352
352
  string: w("string"),
353
353
  symbol: w("symbol"),
354
- any: S(),
354
+ any: k(),
355
355
  arrayOf: $,
356
- element: b(),
356
+ element: y(),
357
357
  elementType: C(),
358
358
  instanceOf: x,
359
359
  node: q(),
360
- objectOf: D,
361
- oneOf: M,
360
+ objectOf: R,
361
+ oneOf: A,
362
362
  oneOfType: O,
363
- shape: p,
363
+ shape: m,
364
364
  exact: E
365
365
  };
366
- function v(R, A) {
367
- return R === A ? R !== 0 || 1 / R === 1 / A : R !== R && A !== A;
366
+ function v(D, L) {
367
+ return D === L ? D !== 0 || 1 / D === 1 / L : D !== D && L !== L;
368
368
  }
369
- function f(R, A) {
370
- this.message = R, this.data = A && typeof A == "object" ? A : {}, this.stack = "";
369
+ function f(D, L) {
370
+ this.message = D, this.data = L && typeof L == "object" ? L : {}, this.stack = "";
371
371
  }
372
372
  f.prototype = Error.prototype;
373
- function _(R) {
373
+ function _(D) {
374
374
  if (process.env.NODE_ENV !== "production")
375
- var A = {}, J = 0;
375
+ var L = {}, J = 0;
376
376
  function K(Z, ne, G, U, oe, ee, ue) {
377
- if (U = U || y, ee = ee || G, ue !== n) {
377
+ if (U = U || b, ee = ee || G, ue !== n) {
378
378
  if (c) {
379
379
  var I = new Error(
380
380
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -382,37 +382,37 @@ function ya() {
382
382
  throw I.name = "Invariant Violation", I;
383
383
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
384
384
  var se = U + ":" + G;
385
- !A[se] && // Avoid spamming the console because they are often not actionable except for lib authors
385
+ !L[se] && // Avoid spamming the console because they are often not actionable except for lib authors
386
386
  J < 3 && (s(
387
387
  "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
388
- ), A[se] = !0, J++);
388
+ ), L[se] = !0, J++);
389
389
  }
390
390
  }
391
- return ne[G] == null ? Z ? ne[G] === null ? new f("The " + oe + " `" + ee + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new f("The " + oe + " `" + ee + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : R(ne, G, U, oe, ee);
391
+ return ne[G] == null ? Z ? ne[G] === null ? new f("The " + oe + " `" + ee + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new f("The " + oe + " `" + ee + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : D(ne, G, U, oe, ee);
392
392
  }
393
393
  var P = K.bind(null, !1);
394
394
  return P.isRequired = K.bind(null, !0), P;
395
395
  }
396
- function w(R) {
397
- function A(J, K, P, Z, ne, G) {
396
+ function w(D) {
397
+ function L(J, K, P, Z, ne, G) {
398
398
  var U = J[K], oe = F(U);
399
- if (oe !== R) {
399
+ if (oe !== D) {
400
400
  var ee = Y(U);
401
401
  return new f(
402
- "Invalid " + Z + " `" + ne + "` of type " + ("`" + ee + "` supplied to `" + P + "`, expected ") + ("`" + R + "`."),
403
- { expectedType: R }
402
+ "Invalid " + Z + " `" + ne + "` of type " + ("`" + ee + "` supplied to `" + P + "`, expected ") + ("`" + D + "`."),
403
+ { expectedType: D }
404
404
  );
405
405
  }
406
406
  return null;
407
407
  }
408
- return _(A);
408
+ return _(L);
409
409
  }
410
- function S() {
410
+ function k() {
411
411
  return _(a);
412
412
  }
413
- function $(R) {
414
- function A(J, K, P, Z, ne) {
415
- if (typeof R != "function")
413
+ function $(D) {
414
+ function L(J, K, P, Z, ne) {
415
+ if (typeof D != "function")
416
416
  return new f("Property `" + ne + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
417
417
  var G = J[K];
418
418
  if (!Array.isArray(G)) {
@@ -420,93 +420,93 @@ function ya() {
420
420
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected an array."));
421
421
  }
422
422
  for (var oe = 0; oe < G.length; oe++) {
423
- var ee = R(G, oe, P, Z, ne + "[" + oe + "]", n);
423
+ var ee = D(G, oe, P, Z, ne + "[" + oe + "]", n);
424
424
  if (ee instanceof Error)
425
425
  return ee;
426
426
  }
427
427
  return null;
428
428
  }
429
- return _(A);
429
+ return _(L);
430
430
  }
431
- function b() {
432
- function R(A, J, K, P, Z) {
433
- var ne = A[J];
431
+ function y() {
432
+ function D(L, J, K, P, Z) {
433
+ var ne = L[J];
434
434
  if (!l(ne)) {
435
435
  var G = F(ne);
436
436
  return new f("Invalid " + P + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement."));
437
437
  }
438
438
  return null;
439
439
  }
440
- return _(R);
440
+ return _(D);
441
441
  }
442
442
  function C() {
443
- function R(A, J, K, P, Z) {
444
- var ne = A[J];
443
+ function D(L, J, K, P, Z) {
444
+ var ne = L[J];
445
445
  if (!e.isValidElementType(ne)) {
446
446
  var G = F(ne);
447
447
  return new f("Invalid " + P + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement type."));
448
448
  }
449
449
  return null;
450
450
  }
451
- return _(R);
451
+ return _(D);
452
452
  }
453
- function x(R) {
454
- function A(J, K, P, Z, ne) {
455
- if (!(J[K] instanceof R)) {
456
- var G = R.name || y, U = ce(J[K]);
453
+ function x(D) {
454
+ function L(J, K, P, Z, ne) {
455
+ if (!(J[K] instanceof D)) {
456
+ var G = D.name || b, U = ce(J[K]);
457
457
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected ") + ("instance of `" + G + "`."));
458
458
  }
459
459
  return null;
460
460
  }
461
- return _(A);
461
+ return _(L);
462
462
  }
463
- function M(R) {
464
- if (!Array.isArray(R))
463
+ function A(D) {
464
+ if (!Array.isArray(D))
465
465
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
466
466
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
467
467
  ) : s("Invalid argument supplied to oneOf, expected an array.")), a;
468
- function A(J, K, P, Z, ne) {
469
- for (var G = J[K], U = 0; U < R.length; U++)
470
- if (v(G, R[U]))
468
+ function L(J, K, P, Z, ne) {
469
+ for (var G = J[K], U = 0; U < D.length; U++)
470
+ if (v(G, D[U]))
471
471
  return null;
472
- var oe = JSON.stringify(R, function(ue, I) {
472
+ var oe = JSON.stringify(D, function(ue, I) {
473
473
  var se = Y(I);
474
474
  return se === "symbol" ? String(I) : I;
475
475
  });
476
476
  return new f("Invalid " + Z + " `" + ne + "` of value `" + String(G) + "` " + ("supplied to `" + P + "`, expected one of " + oe + "."));
477
477
  }
478
- return _(A);
478
+ return _(L);
479
479
  }
480
- function D(R) {
481
- function A(J, K, P, Z, ne) {
482
- if (typeof R != "function")
480
+ function R(D) {
481
+ function L(J, K, P, Z, ne) {
482
+ if (typeof D != "function")
483
483
  return new f("Property `" + ne + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
484
484
  var G = J[K], U = F(G);
485
485
  if (U !== "object")
486
486
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected an object."));
487
487
  for (var oe in G)
488
488
  if (r(G, oe)) {
489
- var ee = R(G, oe, P, Z, ne + "." + oe, n);
489
+ var ee = D(G, oe, P, Z, ne + "." + oe, n);
490
490
  if (ee instanceof Error)
491
491
  return ee;
492
492
  }
493
493
  return null;
494
494
  }
495
- return _(A);
495
+ return _(L);
496
496
  }
497
- function O(R) {
498
- if (!Array.isArray(R))
497
+ function O(D) {
498
+ if (!Array.isArray(D))
499
499
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
500
- for (var A = 0; A < R.length; A++) {
501
- var J = R[A];
500
+ for (var L = 0; L < D.length; L++) {
501
+ var J = D[L];
502
502
  if (typeof J != "function")
503
503
  return s(
504
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(J) + " at index " + A + "."
504
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(J) + " at index " + L + "."
505
505
  ), a;
506
506
  }
507
507
  function K(P, Z, ne, G, U) {
508
- for (var oe = [], ee = 0; ee < R.length; ee++) {
509
- var ue = R[ee], I = ue(P, Z, ne, G, U, n);
508
+ for (var oe = [], ee = 0; ee < D.length; ee++) {
509
+ var ue = D[ee], I = ue(P, Z, ne, G, U, n);
510
510
  if (I == null)
511
511
  return null;
512
512
  I.data && r(I.data, "expectedType") && oe.push(I.data.expectedType);
@@ -517,23 +517,23 @@ function ya() {
517
517
  return _(K);
518
518
  }
519
519
  function q() {
520
- function R(A, J, K, P, Z) {
521
- return k(A[J]) ? null : new f("Invalid " + P + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
520
+ function D(L, J, K, P, Z) {
521
+ return S(L[J]) ? null : new f("Invalid " + P + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
522
522
  }
523
- return _(R);
523
+ return _(D);
524
524
  }
525
- function z(R, A, J, K, P) {
525
+ function z(D, L, J, K, P) {
526
526
  return new f(
527
- (R || "React class") + ": " + A + " type `" + J + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
527
+ (D || "React class") + ": " + L + " type `" + J + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
528
528
  );
529
529
  }
530
- function p(R) {
531
- function A(J, K, P, Z, ne) {
530
+ function m(D) {
531
+ function L(J, K, P, Z, ne) {
532
532
  var G = J[K], U = F(G);
533
533
  if (U !== "object")
534
534
  return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + P + "`, expected `object`."));
535
- for (var oe in R) {
536
- var ee = R[oe];
535
+ for (var oe in D) {
536
+ var ee = D[oe];
537
537
  if (typeof ee != "function")
538
538
  return z(P, Z, ne, oe, Y(ee));
539
539
  var ue = ee(G, oe, P, Z, ne + "." + oe, n);
@@ -542,22 +542,22 @@ function ya() {
542
542
  }
543
543
  return null;
544
544
  }
545
- return _(A);
545
+ return _(L);
546
546
  }
547
- function E(R) {
548
- function A(J, K, P, Z, ne) {
547
+ function E(D) {
548
+ function L(J, K, P, Z, ne) {
549
549
  var G = J[K], U = F(G);
550
550
  if (U !== "object")
551
551
  return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + P + "`, expected `object`."));
552
- var oe = t({}, J[K], R);
552
+ var oe = t({}, J[K], D);
553
553
  for (var ee in oe) {
554
- var ue = R[ee];
555
- if (r(R, ee) && typeof ue != "function")
554
+ var ue = D[ee];
555
+ if (r(D, ee) && typeof ue != "function")
556
556
  return z(P, Z, ne, ee, Y(ue));
557
557
  if (!ue)
558
558
  return new f(
559
559
  "Invalid " + Z + " `" + ne + "` key `" + ee + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(J[K], null, " ") + `
560
- Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
560
+ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
561
561
  );
562
562
  var I = ue(G, ee, P, Z, ne + "." + ee, n);
563
563
  if (I)
@@ -565,32 +565,32 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
565
565
  }
566
566
  return null;
567
567
  }
568
- return _(A);
568
+ return _(L);
569
569
  }
570
- function k(R) {
571
- switch (typeof R) {
570
+ function S(D) {
571
+ switch (typeof D) {
572
572
  case "number":
573
573
  case "string":
574
574
  case "undefined":
575
575
  return !0;
576
576
  case "boolean":
577
- return !R;
577
+ return !D;
578
578
  case "object":
579
- if (Array.isArray(R))
580
- return R.every(k);
581
- if (R === null || l(R))
579
+ if (Array.isArray(D))
580
+ return D.every(S);
581
+ if (D === null || l(D))
582
582
  return !0;
583
- var A = g(R);
584
- if (A) {
585
- var J = A.call(R), K;
586
- if (A !== R.entries) {
583
+ var L = g(D);
584
+ if (L) {
585
+ var J = L.call(D), K;
586
+ if (L !== D.entries) {
587
587
  for (; !(K = J.next()).done; )
588
- if (!k(K.value))
588
+ if (!S(K.value))
589
589
  return !1;
590
590
  } else
591
591
  for (; !(K = J.next()).done; ) {
592
592
  var P = K.value;
593
- if (P && !k(P[1]))
593
+ if (P && !S(P[1]))
594
594
  return !1;
595
595
  }
596
596
  } else
@@ -600,43 +600,43 @@ Valid keys: ` + JSON.stringify(Object.keys(R), null, " ")
600
600
  return !1;
601
601
  }
602
602
  }
603
- function B(R, A) {
604
- return R === "symbol" ? !0 : A ? A["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && A instanceof Symbol : !1;
603
+ function B(D, L) {
604
+ return D === "symbol" ? !0 : L ? L["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && L instanceof Symbol : !1;
605
605
  }
606
- function F(R) {
607
- var A = typeof R;
608
- return Array.isArray(R) ? "array" : R instanceof RegExp ? "object" : B(A, R) ? "symbol" : A;
606
+ function F(D) {
607
+ var L = typeof D;
608
+ return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : B(L, D) ? "symbol" : L;
609
609
  }
610
- function Y(R) {
611
- if (typeof R > "u" || R === null)
612
- return "" + R;
613
- var A = F(R);
614
- if (A === "object") {
615
- if (R instanceof Date)
610
+ function Y(D) {
611
+ if (typeof D > "u" || D === null)
612
+ return "" + D;
613
+ var L = F(D);
614
+ if (L === "object") {
615
+ if (D instanceof Date)
616
616
  return "date";
617
- if (R instanceof RegExp)
617
+ if (D instanceof RegExp)
618
618
  return "regexp";
619
619
  }
620
- return A;
620
+ return L;
621
621
  }
622
- function W(R) {
623
- var A = Y(R);
624
- switch (A) {
622
+ function W(D) {
623
+ var L = Y(D);
624
+ switch (L) {
625
625
  case "array":
626
626
  case "object":
627
- return "an " + A;
627
+ return "an " + L;
628
628
  case "boolean":
629
629
  case "date":
630
630
  case "regexp":
631
- return "a " + A;
631
+ return "a " + L;
632
632
  default:
633
- return A;
633
+ return L;
634
634
  }
635
635
  }
636
- function ce(R) {
637
- return !R.constructor || !R.constructor.name ? y : R.constructor.name;
636
+ function ce(D) {
637
+ return !D.constructor || !D.constructor.name ? b : D.constructor.name;
638
638
  }
639
- return m.checkPropTypes = o, m.resetWarningCache = o.resetWarningCache, m.PropTypes = m, m;
639
+ return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
640
640
  }, Cr;
641
641
  }
642
642
  var _r, yo;
@@ -651,10 +651,10 @@ function ba() {
651
651
  return n.resetWarningCache = t, _r = function() {
652
652
  function r(a, l, c, d, h, g) {
653
653
  if (g !== e) {
654
- var y = new Error(
654
+ var b = new Error(
655
655
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
656
656
  );
657
- throw y.name = "Invariant Violation", y;
657
+ throw b.name = "Invariant Violation", b;
658
658
  }
659
659
  }
660
660
  r.isRequired = r;
@@ -709,7 +709,7 @@ const i = /* @__PURE__ */ fa(Ca), Ii = ({
709
709
  fontColor: l,
710
710
  moreInfo: c
711
711
  }) => {
712
- const { name: d, created_at: h, id: g, isBeingProcessed: y } = e;
712
+ const { name: d, created_at: h, id: g, isBeingProcessed: b } = e;
713
713
  return /* @__PURE__ */ T(
714
714
  "div",
715
715
  {
@@ -730,7 +730,7 @@ const i = /* @__PURE__ */ fa(Ca), Ii = ({
730
730
  /* @__PURE__ */ u("div", { className: Jt.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
731
731
  ] }),
732
732
  /* @__PURE__ */ T("div", { className: Jt.ambitButtons, children: [
733
- y && /* @__PURE__ */ u("img", { src: ca }),
733
+ b && /* @__PURE__ */ u("img", { src: ca }),
734
734
  /* @__PURE__ */ u("button", { onClick: () => r(g), disabled: e.is_default, children: /* @__PURE__ */ u("img", { src: la }) }),
735
735
  /* @__PURE__ */ u("button", { onClick: () => t(g), children: /* @__PURE__ */ u("img", { src: aa }) }),
736
736
  /* @__PURE__ */ u("button", { onClick: () => n(g), disabled: e.is_default, children: /* @__PURE__ */ u("img", { src: sa }) })
@@ -796,17 +796,17 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
796
796
  onCLickNewAmbit: d = () => console.log("New ambit clicked"),
797
797
  onClickCopy: h = (v) => console.log(`Copy ambit: ${v}`),
798
798
  onCLickDelete: g = (v) => console.log(`Delete ambit: ${v}`),
799
- onClickFilters: y = (v) => console.log(`Filters clicked: ${v}`),
800
- onClickAmbit: m = (v) => console.log(`OnCLickAmbit: ${v}`)
799
+ onClickFilters: b = (v) => console.log(`Filters clicked: ${v}`),
800
+ onClickAmbit: p = (v) => console.log(`OnCLickAmbit: ${v}`)
801
801
  }) => {
802
802
  const { t: v } = le(), [f, _] = de(e);
803
803
  te(() => {
804
804
  e && _(e);
805
805
  }, [e]);
806
- const w = (S) => {
806
+ const w = (k) => {
807
807
  if (f && f.length > 0) {
808
808
  let $ = [...f];
809
- $.sort((b, C) => b[S].localeCompare(C[S])), _($);
809
+ $.sort((y, C) => y[k].localeCompare(C[k])), _($);
810
810
  }
811
811
  };
812
812
  return /* @__PURE__ */ T(
@@ -835,19 +835,19 @@ const vo = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
835
835
  ]
836
836
  }
837
837
  ),
838
- /* @__PURE__ */ u("div", { className: dt.ambitListContainer, children: f && f.length > 0 && f.map((S) => /* @__PURE__ */ u(
838
+ /* @__PURE__ */ u("div", { className: dt.ambitListContainer, children: f && f.length > 0 && f.map((k) => /* @__PURE__ */ u(
839
839
  Ii,
840
840
  {
841
- isActive: t == S.id,
842
- ambit: S,
841
+ isActive: t == k.id,
842
+ ambit: k,
843
843
  fontColor: n,
844
844
  activeColor: r,
845
845
  onClickCopy: h,
846
846
  onClickDelete: g,
847
- onClickFilters: y,
848
- onClickAmbit: m
847
+ onClickFilters: b,
848
+ onClickAmbit: p
849
849
  },
850
- `ambitKey${S.id}`
850
+ `ambitKey${k.id}`
851
851
  )) }),
852
852
  /* @__PURE__ */ u("div", { className: dt.newAmbitButtonContainer, children: /* @__PURE__ */ u(
853
853
  Yn,
@@ -924,26 +924,26 @@ const Da = ({
924
924
  icon: d,
925
925
  activeIcon: h,
926
926
  isActive: g,
927
- name: y,
928
- onClick: m,
927
+ name: b,
928
+ onClick: p,
929
929
  disabled: v
930
930
  } = l, f = /* @__PURE__ */ T(fn, { children: [
931
- n && r === "left" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(y) }),
932
- /* @__PURE__ */ u("img", { src: g ? h : d, alt: a(y) }),
933
- n && r === "right" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(y) })
931
+ n && r === "left" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(b) }),
932
+ /* @__PURE__ */ u("img", { src: g ? h : d, alt: a(b) }),
933
+ n && r === "right" && /* @__PURE__ */ u("span", { className: Ct.buttonName, children: a(b) })
934
934
  ] });
935
935
  return /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
936
936
  /* @__PURE__ */ u(
937
937
  "button",
938
938
  {
939
- onClick: m,
939
+ onClick: p,
940
940
  className: `${Ct.button}
941
941
  ${g && Ct.active}`,
942
942
  disabled: v,
943
943
  children: f
944
944
  }
945
945
  ),
946
- o && /* @__PURE__ */ u(at, { text: y, position: s })
946
+ o && /* @__PURE__ */ u(at, { text: b, position: s })
947
947
  ] }, c);
948
948
  })
949
949
  }
@@ -1043,10 +1043,10 @@ const Np = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Ba = "data
1043
1043
  inputsColor: "#605B56",
1044
1044
  activeFiltersType: null
1045
1045
  })), Pi = ({ title: e, onClick: t, isOpen: n = !0, textColor: r = "#ffffff", backgroundColor: o = "#605B5680", activeColor: s, fontColor: a = "#605B56" }) => {
1046
- const { t: l } = le(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((y) => y), h = (y) => {
1047
- ve.setState((m) => ({
1048
- tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
1049
- (v) => v.code !== y
1046
+ const { t: l } = le(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((b) => b), h = (b) => {
1047
+ ve.setState((p) => ({
1048
+ tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
1049
+ (v) => v.code !== b
1050
1050
  )
1051
1051
  }));
1052
1052
  };
@@ -1061,10 +1061,10 @@ const Np = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Ba = "data
1061
1061
  activeColor: s,
1062
1062
  mainTitle: !0,
1063
1063
  color: a,
1064
- children: /* @__PURE__ */ u("div", { className: Co.AppliedFiltersContainer, children: c == null ? void 0 : c.map((y, m) => /* @__PURE__ */ T("div", { className: Co.AppliedFilterContent, style: { color: r, background: o }, children: [
1065
- l(y.name),
1066
- /* @__PURE__ */ u("img", { src: Ba, alt: "CloseIcon", onClick: () => h(y.code), style: { cursor: "pointer" } })
1067
- ] }, m)) })
1064
+ children: /* @__PURE__ */ u("div", { className: Co.AppliedFiltersContainer, children: c == null ? void 0 : c.map((b, p) => /* @__PURE__ */ T("div", { className: Co.AppliedFilterContent, style: { color: r, background: o }, children: [
1065
+ l(b.name),
1066
+ /* @__PURE__ */ u("img", { src: Ba, alt: "CloseIcon", onClick: () => h(b.code), style: { cursor: "pointer" } })
1067
+ ] }, p)) })
1068
1068
  }
1069
1069
  );
1070
1070
  };
@@ -1097,11 +1097,11 @@ const ja = "_layersList_cn837_25", qa = "_layerName_cn837_34", _o = {
1097
1097
  const { t: l } = le(), { activeFiltersType: c } = ve((g) => g), d = () => {
1098
1098
  c === "geographical" ? ve.setState({ activeFiltersType: null }) : ve.setState({ activeFiltersType: "geographical" });
1099
1099
  }, h = (g) => {
1100
- const y = s.map((m) => ({
1101
- ...m,
1102
- active: m.name === g.name
1100
+ const b = s.map((p) => ({
1101
+ ...p,
1102
+ active: p.name === g.name
1103
1103
  }));
1104
- a == null || a(y);
1104
+ a == null || a(b);
1105
1105
  };
1106
1106
  return /* @__PURE__ */ u(
1107
1107
  At,
@@ -1236,8 +1236,8 @@ let Vr = function(e) {
1236
1236
  o.setState({ pending: !0 });
1237
1237
  const c = o.getTouchPosition(l);
1238
1238
  if (o.isScrolling === void 0) {
1239
- const g = c[0] - o.startPosition[0], y = c[1] - o.startPosition[1];
1240
- o.isScrolling = Math.abs(y) > Math.abs(g);
1239
+ const g = c[0] - o.startPosition[0], b = c[1] - o.startPosition[1];
1240
+ o.isScrolling = Math.abs(b) > Math.abs(g);
1241
1241
  }
1242
1242
  if (o.isScrolling) return void o.setState({ index: -1 });
1243
1243
  const d = o.getDiffPosition(c[0]), h = o.getValueFromPosition(d);
@@ -1303,8 +1303,8 @@ let Vr = function(e) {
1303
1303
  }, 0);
1304
1304
  o.pendingResizeTimeouts.push(l);
1305
1305
  }, o.renderThumb = (l, c) => {
1306
- const d = o.props.thumbClassName + " " + o.props.thumbClassName + "-" + c + " " + (o.state.index === c ? o.props.thumbActiveClassName : ""), h = { ref: (y) => {
1307
- o["thumb" + c] = y;
1306
+ const d = o.props.thumbClassName + " " + o.props.thumbClassName + "-" + c + " " + (o.state.index === c ? o.props.thumbActiveClassName : ""), h = { ref: (b) => {
1307
+ o["thumb" + c] = b;
1308
1308
  }, key: o.props.thumbClassName + "-" + c, className: d, style: l, onMouseDown: o.createOnMouseDown(c), onTouchStart: o.createOnTouchStart(c), onFocus: o.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": o.props.orientation, "aria-valuenow": o.state.value[c], "aria-valuemin": o.props.min, "aria-valuemax": o.props.max, "aria-label": Array.isArray(o.props.ariaLabel) ? o.props.ariaLabel[c] : o.props.ariaLabel, "aria-labelledby": Array.isArray(o.props.ariaLabelledby) ? o.props.ariaLabelledby[c] : o.props.ariaLabelledby, "aria-disabled": o.props.disabled }, g = { index: c, value: Sn(o.state.value), valueNow: o.state.value[c] };
1309
1309
  return o.props.ariaValuetext && (h["aria-valuetext"] = typeof o.props.ariaValuetext == "string" ? o.props.ariaValuetext : o.props.ariaValuetext(g)), o.props.renderThumb(h, g);
1310
1310
  }, o.renderTrack = (l, c, d) => {
@@ -1364,8 +1364,8 @@ let Vr = function(e) {
1364
1364
  }, n.resize = function() {
1365
1365
  const { slider: r, thumb0: o } = this;
1366
1366
  if (!r || !o) return;
1367
- const s = this.sizeKey(), a = r.getBoundingClientRect(), l = r[s], c = a[this.posMaxKey()], d = a[this.posMinKey()], h = o.getBoundingClientRect()[s.replace("client", "").toLowerCase()], g = l - h, y = Math.abs(c - d);
1368
- this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: y, thumbSize: h });
1367
+ const s = this.sizeKey(), a = r.getBoundingClientRect(), l = r[s], c = a[this.posMaxKey()], d = a[this.posMinKey()], h = o.getBoundingClientRect()[s.replace("client", "").toLowerCase()], g = l - h, b = Math.abs(c - d);
1368
+ this.state.upperBound === g && this.state.sliderLength === b && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: b, thumbSize: h });
1369
1369
  }, n.calcOffset = function(r) {
1370
1370
  const o = this.props.max - this.props.min;
1371
1371
  return o === 0 ? 0 : (r - this.props.min) / o * this.state.upperBound;
@@ -1407,23 +1407,23 @@ let Vr = function(e) {
1407
1407
  const { pearling: c, max: d, min: h, minDistance: g } = this.props;
1408
1408
  if (!c) {
1409
1409
  if (s > 0) {
1410
- const y = o[s - 1];
1411
- r < y + g && (r = y + g);
1410
+ const b = o[s - 1];
1411
+ r < b + g && (r = b + g);
1412
1412
  }
1413
1413
  if (s < a - 1) {
1414
- const y = o[s + 1];
1415
- r > y - g && (r = y - g);
1414
+ const b = o[s + 1];
1415
+ r > b - g && (r = b - g);
1416
1416
  }
1417
1417
  }
1418
- o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(y, m, v, f) {
1419
- for (let _ = 0; _ < y; _ += 1) {
1418
+ o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(b, p, v, f) {
1419
+ for (let _ = 0; _ < b; _ += 1) {
1420
1420
  const w = f - _ * v;
1421
- m[y - 1 - _] > w && (m[y - 1 - _] = w);
1421
+ p[b - 1 - _] > w && (p[b - 1 - _] = w);
1422
1422
  }
1423
- }(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(y, m, v, f) {
1424
- for (let _ = 0; _ < y; _ += 1) {
1423
+ }(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(b, p, v, f) {
1424
+ for (let _ = 0; _ < b; _ += 1) {
1425
1425
  const w = f + _ * v;
1426
- m[_] < w && (m[_] = w);
1426
+ p[_] < w && (p[_] = w);
1427
1427
  }
1428
1428
  }(a, o, g, h))), this.setState({ value: o }, this.fireChangeEvent.bind(this, "onChange"));
1429
1429
  }, n.pushSucceeding = function(r, o, s) {
@@ -1499,11 +1499,11 @@ const Ha = "_container_4u41i_2", Ka = "_unitLabel_4u41i_8", Ga = "_slider_4u41i_
1499
1499
  defaultValue: l,
1500
1500
  isDate: c
1501
1501
  }) => {
1502
- const { t: d } = le(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [y, m] = de(c ? [h, g] : [e, t]), v = (f) => {
1503
- m(f), r == null || r({ min: f[0], max: f[1] });
1502
+ const { t: d } = le(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [b, p] = de(c ? [h, g] : [e, t]), v = (f) => {
1503
+ p(f), r == null || r({ min: f[0], max: f[1] });
1504
1504
  };
1505
1505
  return te(() => {
1506
- l || m(c ? [h, g] : [e, t]);
1506
+ l || p(c ? [h, g] : [e, t]);
1507
1507
  }, [l, c]), /* @__PURE__ */ T(
1508
1508
  "div",
1509
1509
  {
@@ -1520,7 +1520,7 @@ const Ha = "_container_4u41i_2", Ka = "_unitLabel_4u41i_8", Ga = "_slider_4u41i_
1520
1520
  min: c ? h : e,
1521
1521
  max: c ? g : t,
1522
1522
  step: c ? (g - h) / 30 : n,
1523
- value: y,
1523
+ value: b,
1524
1524
  onAfterChange: v,
1525
1525
  withTracks: !0,
1526
1526
  pearling: !c,
@@ -1528,16 +1528,16 @@ const Ha = "_container_4u41i_2", Ka = "_unitLabel_4u41i_8", Ga = "_slider_4u41i_
1528
1528
  }
1529
1529
  ),
1530
1530
  /* @__PURE__ */ T("div", { className: Rt.labels, children: [
1531
- /* @__PURE__ */ u("span", { children: c ? new Date(y[0]).toLocaleDateString("en-EN", {
1531
+ /* @__PURE__ */ u("span", { children: c ? new Date(b[0]).toLocaleDateString("en-EN", {
1532
1532
  day: "2-digit",
1533
1533
  month: "short",
1534
1534
  year: "numeric"
1535
- }) : y[0] }),
1536
- /* @__PURE__ */ u("span", { children: c ? new Date(y[1]).toLocaleDateString("en-EN", {
1535
+ }) : b[0] }),
1536
+ /* @__PURE__ */ u("span", { children: c ? new Date(b[1]).toLocaleDateString("en-EN", {
1537
1537
  day: "2-digit",
1538
1538
  month: "short",
1539
1539
  year: "numeric"
1540
- }) : y[1] })
1540
+ }) : b[1] })
1541
1541
  ] })
1542
1542
  ]
1543
1543
  }
@@ -1574,8 +1574,8 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1574
1574
  unit: d,
1575
1575
  step: h,
1576
1576
  disabled: g,
1577
- isDate: y
1578
- } = e || {}, m = ze(
1577
+ isDate: b
1578
+ } = e || {}, p = ze(
1579
1579
  () => o == "cat" || n == "cat",
1580
1580
  [n, o]
1581
1581
  ), v = ze(
@@ -1585,26 +1585,26 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1585
1585
  tematicalFiltersSelected: f,
1586
1586
  selectedIndicator: _,
1587
1587
  fontColor: w,
1588
- inputsColor: S
1588
+ inputsColor: k
1589
1589
  } = ve((C) => C), $ = (C) => {
1590
1590
  if (C) {
1591
- const { min: x, max: M, valueClicked: D, allValues: O } = C || {}, { code: q, type: z, source: p } = e || {}, E = v ? "abs" : m ? "cat" : "both";
1592
- let k = q[0];
1593
- z == "both" && (k = E == "cat" ? q[1] : q[0]), E == "cat" ? ve.setState((B) => {
1591
+ const { min: x, max: A, valueClicked: R, allValues: O } = C || {}, { code: q, type: z, source: m } = e || {}, E = v ? "abs" : p ? "cat" : "both";
1592
+ let S = q[0];
1593
+ z == "both" && (S = E == "cat" ? q[1] : q[0]), E == "cat" ? ve.setState((B) => {
1594
1594
  let F = B.tematicalFiltersSelected.find(
1595
- (Y) => Y.code === k
1595
+ (Y) => Y.code === S
1596
1596
  );
1597
1597
  if (F) {
1598
1598
  let Y = [F.values];
1599
- return F.values.includes(D) ? Y = F.values.filter(
1600
- (W) => W !== D
1601
- ) : Y = [...F.values, D], Y.length == O.length ? {
1599
+ return F.values.includes(R) ? Y = F.values.filter(
1600
+ (W) => W !== R
1601
+ ) : Y = [...F.values, R], Y.length == O.length ? {
1602
1602
  tematicalFiltersSelected: B.tematicalFiltersSelected.filter(
1603
- (W) => W.code !== k
1603
+ (W) => W.code !== S
1604
1604
  )
1605
1605
  } : {
1606
1606
  tematicalFiltersSelected: B.tematicalFiltersSelected.map(
1607
- (W) => W.code === k ? { ...W, values: Y } : W
1607
+ (W) => W.code === S ? { ...W, values: Y } : W
1608
1608
  )
1609
1609
  };
1610
1610
  } else {
@@ -1614,30 +1614,30 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1614
1614
  ...f,
1615
1615
  {
1616
1616
  type: "cat",
1617
- code: k,
1618
- values: Y.filter((W) => W !== D),
1617
+ code: S,
1618
+ values: Y.filter((W) => W !== R),
1619
1619
  name: e.name,
1620
- source: p,
1621
- isDate: y
1620
+ source: m,
1621
+ isDate: b
1622
1622
  }
1623
1623
  ]
1624
1624
  };
1625
1625
  }
1626
1626
  }) : E == "abs" && ve.setState((B) => {
1627
1627
  let F = B.tematicalFiltersSelected.find(
1628
- (Y) => Y.code === k
1628
+ (Y) => Y.code === S
1629
1629
  );
1630
- if (x == e.minValue && M == e.maxValue)
1630
+ if (x == e.minValue && A == e.maxValue)
1631
1631
  return {
1632
1632
  tematicalFiltersSelected: B.tematicalFiltersSelected.filter(
1633
- (Y) => Y.code !== k
1633
+ (Y) => Y.code !== S
1634
1634
  )
1635
1635
  };
1636
1636
  if (F) {
1637
- let Y = { ...F, min: x, max: M, type: E, isDate: y };
1637
+ let Y = { ...F, min: x, max: A, type: E, isDate: b };
1638
1638
  return {
1639
1639
  tematicalFiltersSelected: B.tematicalFiltersSelected.map(
1640
- (W) => W.code === k ? Y : W
1640
+ (W) => W.code === S ? Y : W
1641
1641
  )
1642
1642
  };
1643
1643
  } else
@@ -1646,9 +1646,9 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1646
1646
  ...f,
1647
1647
  {
1648
1648
  type: E,
1649
- code: k,
1649
+ code: S,
1650
1650
  min: x,
1651
- max: M,
1651
+ max: A,
1652
1652
  name: e.name,
1653
1653
  source: e.source
1654
1654
  }
@@ -1656,7 +1656,7 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1656
1656
  };
1657
1657
  });
1658
1658
  }
1659
- }, b = ze(() => {
1659
+ }, y = ze(() => {
1660
1660
  const C = {};
1661
1661
  if ((f == null ? void 0 : f.length) > 0)
1662
1662
  for (const x of f)
@@ -1703,8 +1703,8 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1703
1703
  },
1704
1704
  style: {
1705
1705
  marginRight: 4,
1706
- backgroundColor: n == "abs" ? S : "white",
1707
- border: `1.5px solid ${n == "abs" ? S : w}`
1706
+ backgroundColor: n == "abs" ? k : "white",
1707
+ border: `1.5px solid ${n == "abs" ? k : w}`
1708
1708
  }
1709
1709
  }
1710
1710
  ),
@@ -1722,8 +1722,8 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1722
1722
  },
1723
1723
  style: {
1724
1724
  marginRight: 4,
1725
- backgroundColor: n == "cat" ? S : "white",
1726
- border: `1.5px solid ${n == "cat" ? S : w}`
1725
+ backgroundColor: n == "cat" ? k : "white",
1726
+ border: `1.5px solid ${n == "cat" ? k : w}`
1727
1727
  }
1728
1728
  }
1729
1729
  ),
@@ -1732,14 +1732,14 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1732
1732
  ]
1733
1733
  }
1734
1734
  ),
1735
- m && /* @__PURE__ */ u("div", { className: Tn.checkboxContainer, children: (a || []).map((C, x) => {
1736
- var M;
1735
+ p && /* @__PURE__ */ u("div", { className: Tn.checkboxContainer, children: (a || []).map((C, x) => {
1736
+ var A;
1737
1737
  return /* @__PURE__ */ u(
1738
1738
  Bi,
1739
1739
  {
1740
1740
  onClick: () => $({ valueClicked: x, allValues: a }),
1741
1741
  indicator: C,
1742
- value: ((M = b[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : M.has(x)) || !b[e.code[o == "both" ? 1 : 0]]
1742
+ value: ((A = y[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : A.has(x)) || !y[e.code[o == "both" ? 1 : 0]]
1743
1743
  },
1744
1744
  `checkbox-${x}`
1745
1745
  );
@@ -1751,8 +1751,8 @@ const Ja = "_tematicalFiltersInputContainer_1vm1r_2", el = "_inputTypeContainer_
1751
1751
  min: l,
1752
1752
  max: c,
1753
1753
  unit: d,
1754
- defaultValue: b[e.code[0]] ? b[e.code[0]] : "",
1755
- isDate: y,
1754
+ defaultValue: y[e.code[0]] ? y[e.code[0]] : "",
1755
+ isDate: b,
1756
1756
  step: h
1757
1757
  }
1758
1758
  ) })
@@ -1902,14 +1902,14 @@ const Fr = ({
1902
1902
  activeColor: s,
1903
1903
  onClick: h,
1904
1904
  mainTitle: !0,
1905
- children: e == null ? void 0 : e.map((g, y) => /* @__PURE__ */ u(
1905
+ children: e == null ? void 0 : e.map((g, b) => /* @__PURE__ */ u(
1906
1906
  ji,
1907
1907
  {
1908
1908
  category: g,
1909
1909
  fontColor: r,
1910
1910
  activeColor: s
1911
1911
  },
1912
- `category-${y}`
1912
+ `category-${b}`
1913
1913
  ))
1914
1914
  }
1915
1915
  );
@@ -1945,8 +1945,8 @@ const rl = "_FiltersAmbitContainer_1hv16_2", ol = "_FiltersContainer_1hv16_15",
1945
1945
  namePlaceholder: d,
1946
1946
  descPlaceholder: h,
1947
1947
  filtersTypes: g = ["geographical", "tematical"],
1948
- nameRequiredText: y,
1949
- geoLayers: m = [],
1948
+ nameRequiredText: b,
1949
+ geoLayers: p = [],
1950
1950
  onGeoLayersChange: v,
1951
1951
  onlyFilters: f = !1,
1952
1952
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
@@ -1954,9 +1954,9 @@ const rl = "_FiltersAmbitContainer_1hv16_2", ol = "_FiltersContainer_1hv16_15",
1954
1954
  //campo descripción required
1955
1955
  extraLists: w = !1
1956
1956
  }) => {
1957
- const { t: S } = le(), { tematicalFiltersSelected: $, activeFiltersType: b } = ve(
1958
- (p) => p
1959
- ), [C, x] = de(e || null), [M, D] = de(t || null), [O, q] = de(!1);
1957
+ const { t: k } = le(), { tematicalFiltersSelected: $, activeFiltersType: y } = ve(
1958
+ (m) => m
1959
+ ), [C, x] = de(e || null), [A, R] = de(t || null), [O, q] = de(!1);
1960
1960
  te(() => {
1961
1961
  ve.setState({
1962
1962
  tematicalFiltersSelected: n || []
@@ -1965,46 +1965,46 @@ const rl = "_FiltersAmbitContainer_1hv16_2", ol = "_FiltersContainer_1hv16_15",
1965
1965
  l($);
1966
1966
  }, [$]);
1967
1967
  const z = () => {
1968
- _ ? C && M ? c({ name: C, description: M }) : q(!0) : C ? c({ name: C, description: M }) : q(!0);
1968
+ _ ? C && A ? c({ name: C, description: A }) : q(!0) : C ? c({ name: C, description: A }) : q(!0);
1969
1969
  };
1970
1970
  return te(() => {
1971
- if (g.includes("geographical") && b != "geographical" && m.length > 0) {
1972
- const p = m.map((E) => ({
1971
+ if (g.includes("geographical") && y != "geographical" && p.length > 0) {
1972
+ const m = p.map((E) => ({
1973
1973
  ...E,
1974
1974
  active: !1
1975
1975
  }));
1976
- v == null || v(p);
1976
+ v == null || v(m);
1977
1977
  }
1978
- }, [b]), /* @__PURE__ */ T("div", { className: ft.FiltersAmbitContainer, children: [
1978
+ }, [y]), /* @__PURE__ */ T("div", { className: ft.FiltersAmbitContainer, children: [
1979
1979
  /* @__PURE__ */ T("div", { className: ft.FiltersContainer, children: [
1980
1980
  !f && /* @__PURE__ */ T("div", { className: ft.FiltersAmbitHeader, children: [
1981
1981
  /* @__PURE__ */ u("div", { className: ft.FiltersAmbitTitle, children: /* @__PURE__ */ u(
1982
1982
  "input",
1983
1983
  {
1984
1984
  type: "text",
1985
- onChange: (p) => {
1986
- q(!1), x(p.target.value);
1985
+ onChange: (m) => {
1986
+ q(!1), x(m.target.value);
1987
1987
  },
1988
1988
  value: C,
1989
- placeholder: S(d)
1989
+ placeholder: k(d)
1990
1990
  }
1991
1991
  ) }),
1992
1992
  /* @__PURE__ */ u("div", { className: ft.FiltersAmbitDescription, children: /* @__PURE__ */ u("div", { className: ft.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ u(
1993
1993
  "textarea",
1994
1994
  {
1995
- value: M,
1996
- onChange: (p) => {
1997
- _ && q(!1), D(p.target.value);
1995
+ value: A,
1996
+ onChange: (m) => {
1997
+ _ && q(!1), R(m.target.value);
1998
1998
  },
1999
- placeholder: S(h)
1999
+ placeholder: k(h)
2000
2000
  }
2001
2001
  ) }) })
2002
2002
  ] }),
2003
2003
  /* @__PURE__ */ u(
2004
2004
  Pi,
2005
2005
  {
2006
- title: S("applied_filters"),
2007
- isOpen: b == "applied",
2006
+ title: k("applied_filters"),
2007
+ isOpen: y == "applied",
2008
2008
  textColor: s || "#fff",
2009
2009
  backgroundColor: a || "#605B5680",
2010
2010
  activeColor: o
@@ -2015,19 +2015,19 @@ const rl = "_FiltersAmbitContainer_1hv16_2", ol = "_FiltersContainer_1hv16_15",
2015
2015
  {
2016
2016
  title: "geo_filters",
2017
2017
  activeColor: o,
2018
- geoLayers: m,
2018
+ geoLayers: p,
2019
2019
  onGeoLayersChange: v
2020
2020
  }
2021
2021
  ),
2022
- g.includes("extra") && w.map((p) => /* @__PURE__ */ u(
2022
+ g.includes("extra") && w.map((m) => /* @__PURE__ */ u(
2023
2023
  Fr,
2024
2024
  {
2025
- indicators: p.indicators,
2025
+ indicators: m.indicators,
2026
2026
  inputsColor: o,
2027
2027
  textColor: s,
2028
- title: p.title,
2028
+ title: m.title,
2029
2029
  activeColor: o,
2030
- isExtra: p.title
2030
+ isExtra: m.title
2031
2031
  }
2032
2032
  )),
2033
2033
  g.includes("tematical") && /* @__PURE__ */ u(
@@ -2043,8 +2043,8 @@ const rl = "_FiltersAmbitContainer_1hv16_2", ol = "_FiltersContainer_1hv16_15",
2043
2043
  )
2044
2044
  ] }),
2045
2045
  !f && /* @__PURE__ */ T("div", { className: ft.buttonContainer, children: [
2046
- O && /* @__PURE__ */ u("div", { className: ft.warning, children: S(y) }),
2047
- /* @__PURE__ */ u(Yn, { onClick: () => z(), children: S("save_ambit") })
2046
+ O && /* @__PURE__ */ u("div", { className: ft.warning, children: k(b) }),
2047
+ /* @__PURE__ */ u(Yn, { onClick: () => z(), children: k("save_ambit") })
2048
2048
  ] })
2049
2049
  ] });
2050
2050
  };
@@ -2085,45 +2085,45 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2085
2085
  verticalPadding: d = 10,
2086
2086
  xLabelPadding: h = l == "vertical" ? 50 : 40,
2087
2087
  containerWidth: g = 700,
2088
- containerHeight: y = 500,
2089
- mainColor: m = "#000"
2088
+ containerHeight: b = 500,
2089
+ mainColor: p = "#000"
2090
2090
  }) => {
2091
2091
  const {
2092
2092
  xScale: v,
2093
2093
  yScale: f,
2094
2094
  ticks: _,
2095
2095
  height: w,
2096
- chartWidth: S,
2096
+ chartWidth: k,
2097
2097
  svgWidth: $,
2098
- svgHeight: b,
2098
+ svgHeight: y,
2099
2099
  contentWidth: C
2100
2100
  } = ze(() => {
2101
2101
  if (e && e.length > 0) {
2102
- const x = mr.max(e, (D) => D.value) || 1, M = a || x;
2102
+ const x = mr.max(e, (R) => R.value) || 1, A = a || x;
2103
2103
  if (l === "vertical") {
2104
- const D = e.length * (t + n) + c * 2, O = Math.max(D, g || 0), q = y, p = mr.scaleLinear().domain([0, M]).range([q - 100, d]), E = Array.from(
2104
+ const R = e.length * (t + n) + c * 2, O = Math.max(R, g || 0), q = b, m = mr.scaleLinear().domain([0, A]).range([q - 100, d]), E = Array.from(
2105
2105
  { length: s + 1 },
2106
- (k, B) => M / s * B
2106
+ (S, B) => A / s * B
2107
2107
  );
2108
2108
  return {
2109
- yScale: p,
2109
+ yScale: m,
2110
2110
  ticks: E,
2111
2111
  height: q,
2112
2112
  chartWidth: O,
2113
2113
  svgWidth: O,
2114
2114
  svgHeight: q,
2115
- contentWidth: D
2115
+ contentWidth: R
2116
2116
  };
2117
2117
  } else {
2118
- const D = e.length * (t + n);
2119
- console.log("barsHeight: ", D);
2120
- const O = D + d * 2 + h + 30, q = g + o + c * 2, z = mr.scaleLinear().domain([0, M]).range([0, g - c * 2]), p = Array.from(
2118
+ const R = e.length * (t + n);
2119
+ console.log("barsHeight: ", R);
2120
+ const O = R + d * 2 + h + 30, q = g + o + c * 2, z = mr.scaleLinear().domain([0, A]).range([0, g - c * 2]), m = Array.from(
2121
2121
  { length: s + 1 },
2122
- (E, k) => M / s * k
2122
+ (E, S) => A / s * S
2123
2123
  );
2124
2124
  return {
2125
2125
  xScale: z,
2126
- ticks: p,
2126
+ ticks: m,
2127
2127
  height: O,
2128
2128
  chartWidth: g,
2129
2129
  svgWidth: q,
@@ -2150,7 +2150,7 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2150
2150
  l,
2151
2151
  o,
2152
2152
  g,
2153
- y
2153
+ b
2154
2154
  ]);
2155
2155
  return l === "vertical" ? /* @__PURE__ */ u(
2156
2156
  "div",
@@ -2158,33 +2158,33 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2158
2158
  style: {
2159
2159
  //width: containerWidth ? `${containerWidth}px` : "100%",
2160
2160
  width: "100%",
2161
- height: y ? `${y}px` : "100%",
2162
- "--main-color": m
2161
+ height: b ? `${b}px` : "100%",
2162
+ "--main-color": p
2163
2163
  },
2164
2164
  className: xo.barChartContainer,
2165
2165
  children: /* @__PURE__ */ u(
2166
2166
  "svg",
2167
2167
  {
2168
2168
  width: $,
2169
- height: b,
2169
+ height: y,
2170
2170
  style: {
2171
2171
  display: "block",
2172
2172
  width: $,
2173
- height: b,
2173
+ height: y,
2174
2174
  maxWidth: "none",
2175
- "--main-color": m
2175
+ "--main-color": p
2176
2176
  },
2177
2177
  children: /* @__PURE__ */ T("g", { transform: `translate(${c}, 0)`, children: [
2178
- /* @__PURE__ */ u("g", { children: _.map((x, M) => {
2179
- const D = f(x);
2178
+ /* @__PURE__ */ u("g", { children: _.map((x, A) => {
2179
+ const R = f(x);
2180
2180
  return /* @__PURE__ */ T("g", { children: [
2181
2181
  /* @__PURE__ */ u(
2182
2182
  "line",
2183
2183
  {
2184
2184
  x1: 0,
2185
- x2: S - c * 2,
2186
- y1: D,
2187
- y2: D,
2185
+ x2: k - c * 2,
2186
+ y1: R,
2187
+ y2: R,
2188
2188
  stroke: "#ccc"
2189
2189
  }
2190
2190
  ),
@@ -2192,17 +2192,17 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2192
2192
  "text",
2193
2193
  {
2194
2194
  x: -10,
2195
- y: D + 4,
2195
+ y: R + 4,
2196
2196
  textAnchor: "end",
2197
2197
  fontSize: 10,
2198
2198
  fill: r,
2199
2199
  children: parseInt(x)
2200
2200
  }
2201
2201
  )
2202
- ] }, M);
2202
+ ] }, A);
2203
2203
  }) }),
2204
- e && e.length > 0 && e.map((x, M) => {
2205
- const D = f(0) - f(x.value), O = M * (t + n), q = f(x.value);
2204
+ e && e.length > 0 && e.map((x, A) => {
2205
+ const R = f(0) - f(x.value), O = A * (t + n), q = f(x.value);
2206
2206
  return /* @__PURE__ */ T("g", { children: [
2207
2207
  /* @__PURE__ */ u(
2208
2208
  "rect",
@@ -2210,7 +2210,7 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2210
2210
  x: O,
2211
2211
  y: q,
2212
2212
  width: t,
2213
- height: D,
2213
+ height: R,
2214
2214
  fill: x.color,
2215
2215
  rx: 0
2216
2216
  }
@@ -2227,37 +2227,37 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2227
2227
  children: x.title
2228
2228
  }
2229
2229
  )
2230
- ] }, M);
2230
+ ] }, A);
2231
2231
  })
2232
2232
  ] })
2233
2233
  }
2234
2234
  )
2235
2235
  }
2236
- ) : (console.log("svgHeight: ", b), /* @__PURE__ */ u(
2236
+ ) : (console.log("svgHeight: ", y), /* @__PURE__ */ u(
2237
2237
  "div",
2238
2238
  {
2239
2239
  style: {
2240
2240
  width: "100%",
2241
2241
  //width: containerWidth ? `${containerWidth}px` : "100%",
2242
- height: y ? `${y}px` : "100%",
2243
- "--main-color": m
2242
+ height: b ? `${b}px` : "100%",
2243
+ "--main-color": p
2244
2244
  },
2245
2245
  className: xo.barChartContainer,
2246
2246
  children: /* @__PURE__ */ u(
2247
2247
  "svg",
2248
2248
  {
2249
2249
  width: $,
2250
- height: b,
2250
+ height: y,
2251
2251
  style: {
2252
2252
  minWidth: "100%",
2253
- height: b,
2253
+ height: y,
2254
2254
  width: C,
2255
2255
  maxWidth: "none"
2256
2256
  },
2257
2257
  children: /* @__PURE__ */ T("g", { transform: `translate(0,${d})`, children: [
2258
- /* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: _.map((x, M) => {
2259
- const D = v(x);
2260
- return /* @__PURE__ */ T("g", { transform: `translate(${D}, 0)`, children: [
2258
+ /* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: _.map((x, A) => {
2259
+ const R = v(x);
2260
+ return /* @__PURE__ */ T("g", { transform: `translate(${R}, 0)`, children: [
2261
2261
  /* @__PURE__ */ u(
2262
2262
  "line",
2263
2263
  {
@@ -2276,10 +2276,10 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2276
2276
  children: parseInt(x)
2277
2277
  }
2278
2278
  )
2279
- ] }, M);
2279
+ ] }, A);
2280
2280
  }) }),
2281
- e && e.length > 0 && e.map((x, M) => {
2282
- const D = v(x.value), O = M * (t + n);
2281
+ e && e.length > 0 && e.map((x, A) => {
2282
+ const R = v(x.value), O = A * (t + n);
2283
2283
  return console.log("y: ", O), /* @__PURE__ */ T(
2284
2284
  "g",
2285
2285
  {
@@ -2299,7 +2299,7 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2299
2299
  /* @__PURE__ */ u(
2300
2300
  "rect",
2301
2301
  {
2302
- width: D,
2302
+ width: R,
2303
2303
  height: t,
2304
2304
  fill: x.color,
2305
2305
  rx: 0
@@ -2307,7 +2307,7 @@ const fl = "_barChartContainer_1ly7h_2", xo = {
2307
2307
  )
2308
2308
  ]
2309
2309
  },
2310
- M
2310
+ A
2311
2311
  );
2312
2312
  })
2313
2313
  ] })
@@ -2356,7 +2356,7 @@ const pl = "_graphicContainer_1ozwp_2", ml = "_titleContainer_1ozwp_13", wo = {
2356
2356
  xLabelPadding: h = 0,
2357
2357
  mainColor: g
2358
2358
  }) => {
2359
- const { t: y } = le();
2359
+ const { t: b } = le();
2360
2360
  return /* @__PURE__ */ T(
2361
2361
  "div",
2362
2362
  {
@@ -2366,7 +2366,7 @@ const pl = "_graphicContainer_1ozwp_2", ml = "_titleContainer_1ozwp_13", wo = {
2366
2366
  paddingBottom: 40
2367
2367
  },
2368
2368
  children: [
2369
- /* @__PURE__ */ u("div", { className: wo.titleContainer, children: /* @__PURE__ */ u("h2", { children: y(o) }) }),
2369
+ /* @__PURE__ */ u("div", { className: wo.titleContainer, children: /* @__PURE__ */ u("h2", { children: b(o) }) }),
2370
2370
  /* @__PURE__ */ u(
2371
2371
  qi,
2372
2372
  {
@@ -2430,7 +2430,7 @@ const gl = "_indicatorsCategory_arwy3_2", yl = "_title_arwy3_5", bl = "_list_arw
2430
2430
  multiple: l = !1,
2431
2431
  onChangeType: c
2432
2432
  }) => {
2433
- const { t: d } = le(), { name: h, type: g, disabled: y } = e, [m, v] = de(!1);
2433
+ const { t: d } = le(), { name: h, type: g, disabled: b } = e, [p, v] = de(!1);
2434
2434
  te(() => {
2435
2435
  o && v(
2436
2436
  l ? o.some(
@@ -2497,7 +2497,7 @@ const gl = "_indicatorsCategory_arwy3_2", yl = "_title_arwy3_5", bl = "_list_arw
2497
2497
  ]
2498
2498
  }
2499
2499
  )
2500
- ] }) }) }), _ = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ u("div", { className: Re.switchTypeOptions, children: t.map((w, S) => /* @__PURE__ */ T(
2500
+ ] }) }) }), _ = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ u("div", { className: Re.switchTypeOptions, children: t.map((w, k) => /* @__PURE__ */ T(
2501
2501
  "div",
2502
2502
  {
2503
2503
  className: Re.optionContainer,
@@ -2511,25 +2511,25 @@ const gl = "_indicatorsCategory_arwy3_2", yl = "_title_arwy3_5", bl = "_list_arw
2511
2511
  /* @__PURE__ */ u("h4", { children: d(w.unit) })
2512
2512
  ]
2513
2513
  },
2514
- S
2514
+ k
2515
2515
  )) }) }) });
2516
2516
  return /* @__PURE__ */ T("div", { className: Re.indicatorContainer, children: [
2517
2517
  /* @__PURE__ */ T(
2518
2518
  "div",
2519
2519
  {
2520
2520
  className: Re.indicatorNameContainer,
2521
- onClick: () => !y && a({ indicator: e }),
2521
+ onClick: () => !b && a({ indicator: e }),
2522
2522
  children: [
2523
2523
  /* @__PURE__ */ u(
2524
2524
  "div",
2525
2525
  {
2526
2526
  style: {
2527
- border: m ? `1px solid ${n}` : `1px solid ${r}`,
2528
- opacity: y ? 0.5 : 1,
2529
- backgroundColor: m ? n : "transparent"
2527
+ border: p ? `1px solid ${n}` : `1px solid ${r}`,
2528
+ opacity: b ? 0.5 : 1,
2529
+ backgroundColor: p ? n : "transparent"
2530
2530
  },
2531
2531
  className: Re.dot,
2532
- children: l && /* @__PURE__ */ u("img", { src: m ? Cl : vl, alt: "" })
2532
+ children: l && /* @__PURE__ */ u("img", { src: p ? Cl : vl, alt: "" })
2533
2533
  }
2534
2534
  ),
2535
2535
  /* @__PURE__ */ u(
@@ -2537,8 +2537,8 @@ const gl = "_indicatorsCategory_arwy3_2", yl = "_title_arwy3_5", bl = "_list_arw
2537
2537
  {
2538
2538
  className: Re.indicatorName,
2539
2539
  style: {
2540
- color: m ? n : r,
2541
- opacity: y ? 0.5 : 1
2540
+ color: p ? n : r,
2541
+ opacity: b ? 0.5 : 1
2542
2542
  },
2543
2543
  children: /* @__PURE__ */ u(
2544
2544
  Kr,
@@ -2586,7 +2586,7 @@ const Al = "_indicatorsSubCategory_1nuug_2", Ll = "_list_1nuug_11", So = {
2586
2586
  activeIndicatorType: h,
2587
2587
  onChangeType: g
2588
2588
  }) => {
2589
- const { t: y } = le(), [m, v] = de(!1);
2589
+ const { t: b } = le(), [p, v] = de(!1);
2590
2590
  return te(() => {
2591
2591
  v(o == a);
2592
2592
  }, [o, a]), /* @__PURE__ */ T(
@@ -2594,16 +2594,16 @@ const Al = "_indicatorsSubCategory_1nuug_2", Ll = "_list_1nuug_11", So = {
2594
2594
  {
2595
2595
  className: So.indicatorsSubCategory,
2596
2596
  initial: { height: "43px" },
2597
- animate: { height: m ? "auto" : "43px" },
2597
+ animate: { height: p ? "auto" : "43px" },
2598
2598
  transition: { duration: 0.4 },
2599
2599
  children: [
2600
- /* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */ T("h3", { style: { color: m ? r : n }, children: [
2601
- /* @__PURE__ */ u("span", { style: { color: m ? r : n }, children: m ? "-" : "+" }),
2600
+ /* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */ T("h3", { style: { color: p ? r : n }, children: [
2601
+ /* @__PURE__ */ u("span", { style: { color: p ? r : n }, children: p ? "-" : "+" }),
2602
2602
  /* @__PURE__ */ u(
2603
2603
  "span",
2604
2604
  {
2605
- style: { color: m ? r : n },
2606
- children: y(e)
2605
+ style: { color: p ? r : n },
2606
+ children: b(e)
2607
2607
  }
2608
2608
  )
2609
2609
  ] }) }),
@@ -2650,10 +2650,10 @@ const Ui = ({
2650
2650
  onClickIndicator: d,
2651
2651
  multiple: h,
2652
2652
  activeIndicatorType: g,
2653
- onChangeType: y
2653
+ onChangeType: b
2654
2654
  }) => {
2655
2655
  var _;
2656
- const { t: m } = le(), [v, f] = de(!1);
2656
+ const { t: p } = le(), [v, f] = de(!1);
2657
2657
  return te(() => {
2658
2658
  f(s === t);
2659
2659
  }, [s, t]), /* @__PURE__ */ T(
@@ -2675,15 +2675,15 @@ const Ui = ({
2675
2675
  "span",
2676
2676
  {
2677
2677
  style: { color: v ? n : r },
2678
- children: m(e.name)
2678
+ children: p(e.name)
2679
2679
  }
2680
2680
  )
2681
2681
  ] }),
2682
2682
  e.subcategories ? e.subcategories.map(
2683
- ({ name: w, subcategory: S, indicators: $ }, b) => /* @__PURE__ */ u(
2683
+ ({ name: w, subcategory: k, indicators: $ }, y) => /* @__PURE__ */ u(
2684
2684
  Wi,
2685
2685
  {
2686
- id: S,
2686
+ id: k,
2687
2687
  activeSubCategory: a,
2688
2688
  subcName: w,
2689
2689
  onClickSubCategory: l,
@@ -2694,11 +2694,11 @@ const Ui = ({
2694
2694
  defaultColor: r,
2695
2695
  indicators: $,
2696
2696
  activeIndicatorType: g,
2697
- onChangeType: y
2697
+ onChangeType: b
2698
2698
  },
2699
- `subcKey ${b}`
2699
+ `subcKey ${y}`
2700
2700
  )
2701
- ) : /* @__PURE__ */ u("div", { className: $n.list, children: (_ = e.indicators) == null ? void 0 : _.map((w, S) => /* @__PURE__ */ u(
2701
+ ) : /* @__PURE__ */ u("div", { className: $n.list, children: (_ = e.indicators) == null ? void 0 : _.map((w, k) => /* @__PURE__ */ u(
2702
2702
  Qr,
2703
2703
  {
2704
2704
  indicator: w,
@@ -2709,9 +2709,9 @@ const Ui = ({
2709
2709
  onClickIndicator: d,
2710
2710
  multiple: h,
2711
2711
  activeIndicatorType: g,
2712
- onChangeType: y
2712
+ onChangeType: b
2713
2713
  },
2714
- `indicator${S}`
2714
+ `indicator${k}`
2715
2715
  )) })
2716
2716
  ]
2717
2717
  }
@@ -2748,71 +2748,71 @@ const Ml = "_indicatorsList_13b3m_2", Rl = "_title_13b3m_6", ko = {
2748
2748
  changeIndType: a,
2749
2749
  activeIndicatorType: l
2750
2750
  }) => {
2751
- const { t: c } = le(), [d, h] = de(), [g, y] = de(), [m, v] = de(), f = (b) => {
2752
- h(d == b ? null : b);
2753
- }, _ = (b) => {
2754
- y(g == b ? null : b);
2755
- }, w = ({ indicator: b }) => {
2756
- S(b);
2757
- }, S = (b) => {
2751
+ const { t: c } = le(), [d, h] = de(), [g, b] = de(), [p, v] = de(), f = (y) => {
2752
+ h(d == y ? null : y);
2753
+ }, _ = (y) => {
2754
+ b(g == y ? null : y);
2755
+ }, w = ({ indicator: y }) => {
2756
+ k(y);
2757
+ }, k = (y) => {
2758
2758
  if (!o)
2759
2759
  v(
2760
- (m == null ? void 0 : m.name) == b.name ? null : b
2760
+ (p == null ? void 0 : p.name) == y.name ? null : y
2761
2761
  );
2762
2762
  else {
2763
- let C = m && m.length > 0 ? [...m] : [];
2763
+ let C = p && p.length > 0 ? [...p] : [];
2764
2764
  v(
2765
2765
  C != null && C.some(
2766
- (x) => x.name == b.name
2766
+ (x) => x.name == y.name
2767
2767
  ) ? C.filter(
2768
- (x) => x.name != String(b.name)
2769
- ) : [...C, b]
2770
- ), b.type == "both" && a("cat");
2768
+ (x) => x.name != String(y.name)
2769
+ ) : [...C, y]
2770
+ ), y.type == "both" && a("cat");
2771
2771
  }
2772
2772
  };
2773
2773
  te(() => {
2774
- r && typeof r == "function" && m && r({ activeIndicator: m });
2775
- }, [m]), $i(() => {
2776
- if (s && !m)
2774
+ r && typeof r == "function" && p && r({ activeIndicator: p });
2775
+ }, [p]), $i(() => {
2776
+ if (s && !p)
2777
2777
  if (o && s && Array.isArray(s)) {
2778
- let b = m && m.length > 0 ? [...m] : [];
2779
- v([...b, ...s]), $(s[0].name);
2778
+ let y = p && p.length > 0 ? [...p] : [];
2779
+ v([...y, ...s]), $(s[0].name);
2780
2780
  } else
2781
- S(s), $(s.name);
2781
+ k(s), $(s.name);
2782
2782
  }, []), te(() => {
2783
- if (s != m)
2783
+ if (s != p)
2784
2784
  if (o && s && Array.isArray(s)) {
2785
- let b = m && m.length > 0 ? [...m] : [];
2786
- v([...b, ...s]), $(s[0].name);
2785
+ let y = p && p.length > 0 ? [...p] : [];
2786
+ v([...y, ...s]), $(s[0].name);
2787
2787
  } else
2788
- S(s), $(s.name);
2788
+ k(s), $(s.name);
2789
2789
  }, [s]);
2790
- const $ = (b) => {
2790
+ const $ = (y) => {
2791
2791
  const C = e.find((x) => {
2792
2792
  if (x.subcategories) {
2793
- let M = x.subcategories.find(
2794
- (D) => D.indicators.find((O) => O.name == b)
2793
+ let A = x.subcategories.find(
2794
+ (R) => R.indicators.find((O) => O.name == y)
2795
2795
  );
2796
- if (M)
2797
- return y(M.subcategory), M;
2796
+ if (A)
2797
+ return b(A.subcategory), A;
2798
2798
  } else
2799
- return x.indicators.some((M) => M.name == b);
2799
+ return x.indicators.some((A) => A.name == y);
2800
2800
  });
2801
2801
  C && h(C.category);
2802
2802
  };
2803
2803
  return /* @__PURE__ */ T("div", { className: ko.indicatorsList, children: [
2804
2804
  /* @__PURE__ */ u("h2", { className: ko.title, style: { color: n }, children: c("indicators.indicators") }),
2805
- e.map((b, C) => /* @__PURE__ */ u(
2805
+ e.map((y, C) => /* @__PURE__ */ u(
2806
2806
  Ui,
2807
2807
  {
2808
- id: b.category,
2809
- cat: b,
2808
+ id: y.category,
2809
+ cat: y,
2810
2810
  onClickCategory: f,
2811
2811
  activeCategory: d,
2812
2812
  onClickSubCategory: _,
2813
2813
  activeSubCategory: g,
2814
2814
  onClickIndicator: w,
2815
- activeIndicator: m,
2815
+ activeIndicator: p,
2816
2816
  activeColor: t,
2817
2817
  defaultColor: n,
2818
2818
  multiple: o,
@@ -2993,7 +2993,7 @@ const jl = "_legendContainer_1l2pz_3", ql = "_closeButton_1l2pz_43", Wl = "_titl
2993
2993
  ] })
2994
2994
  ] })
2995
2995
  ] }) : c.categories && c.categories.length > 0 && /* @__PURE__ */ u("div", { className: Ae.gridContainer, children: c.categories.map(
2996
- ({ title: h, color: g }, y) => /* @__PURE__ */ T(
2996
+ ({ title: h, color: g }, b) => /* @__PURE__ */ T(
2997
2997
  "div",
2998
2998
  {
2999
2999
  className: Ae.elementLegendContainer,
@@ -3011,7 +3011,7 @@ const jl = "_legendContainer_1l2pz_3", ql = "_closeButton_1l2pz_43", Wl = "_titl
3011
3011
  ] })
3012
3012
  ]
3013
3013
  },
3014
- y
3014
+ b
3015
3015
  )
3016
3016
  ) }),
3017
3017
  c.absolute && c.absolute.noDataColor && /* @__PURE__ */ T("div", { className: Ae.noDataContainer, children: [
@@ -3584,29 +3584,29 @@ function vc(e, t, n) {
3584
3584
  const r = Gt(sc), [o, s] = de(null), a = Te(), { current: l } = Te({ mapLib: null, map: null });
3585
3585
  te(() => {
3586
3586
  const h = e.mapLib;
3587
- let g = !0, y;
3588
- return Promise.resolve(h || n).then((m) => {
3587
+ let g = !0, b;
3588
+ return Promise.resolve(h || n).then((p) => {
3589
3589
  if (!g)
3590
3590
  return;
3591
- if (!m)
3591
+ if (!p)
3592
3592
  throw new Error("Invalid mapLib");
3593
- const v = "Map" in m ? m : m.default;
3593
+ const v = "Map" in p ? p : p.default;
3594
3594
  if (!v.Map)
3595
3595
  throw new Error("Invalid mapLib");
3596
3596
  if (bc(v, e), !v.supported || v.supported(e))
3597
- e.reuseMaps && (y = Ht.reuse(e, a.current)), y || (y = new Ht(v.Map, e, a.current)), l.map = mc(y), l.mapLib = v, s(y), r == null || r.onMapMount(l.map, e.id);
3597
+ e.reuseMaps && (b = Ht.reuse(e, a.current)), b || (b = new Ht(v.Map, e, a.current)), l.map = mc(b), l.mapLib = v, s(b), r == null || r.onMapMount(l.map, e.id);
3598
3598
  else
3599
3599
  throw new Error("Map is not supported by this browser");
3600
- }).catch((m) => {
3600
+ }).catch((p) => {
3601
3601
  const { onError: v } = e;
3602
3602
  v ? v({
3603
3603
  type: "error",
3604
3604
  target: null,
3605
3605
  originalEvent: null,
3606
- error: m
3607
- }) : console.error(m);
3606
+ error: p
3607
+ }) : console.error(p);
3608
3608
  }), () => {
3609
- g = !1, y && (r == null || r.onMapUnmount(e.id), e.reuseMaps ? y.recycle() : y.destroy());
3609
+ g = !1, b && (r == null || r.onMapUnmount(e.id), e.reuseMaps ? b.recycle() : b.destroy());
3610
3610
  };
3611
3611
  }, []), gc(() => {
3612
3612
  o && o.setProps(e);
@@ -3640,41 +3640,41 @@ function _c(e, t) {
3640
3640
  o.current.props = e;
3641
3641
  const s = ze(() => {
3642
3642
  let f = !1;
3643
- Q.Children.forEach(e.children, (S) => {
3644
- S && (f = !0);
3643
+ Q.Children.forEach(e.children, (k) => {
3644
+ k && (f = !0);
3645
3645
  });
3646
3646
  const _ = {
3647
3647
  ...e,
3648
3648
  element: f ? document.createElement("div") : null
3649
3649
  }, w = new r.Marker(_);
3650
- return w.setLngLat([e.longitude, e.latitude]), w.getElement().addEventListener("click", (S) => {
3651
- var $, b;
3652
- (b = ($ = o.current.props).onClick) === null || b === void 0 || b.call($, {
3650
+ return w.setLngLat([e.longitude, e.latitude]), w.getElement().addEventListener("click", (k) => {
3651
+ var $, y;
3652
+ (y = ($ = o.current.props).onClick) === null || y === void 0 || y.call($, {
3653
3653
  type: "click",
3654
3654
  target: w,
3655
- originalEvent: S
3655
+ originalEvent: k
3656
3656
  });
3657
- }), w.on("dragstart", (S) => {
3658
- var $, b;
3659
- const C = S;
3660
- C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDragStart) === null || b === void 0 || b.call($, C);
3661
- }), w.on("drag", (S) => {
3662
- var $, b;
3663
- const C = S;
3664
- C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDrag) === null || b === void 0 || b.call($, C);
3665
- }), w.on("dragend", (S) => {
3666
- var $, b;
3667
- const C = S;
3668
- C.lngLat = s.getLngLat(), (b = ($ = o.current.props).onDragEnd) === null || b === void 0 || b.call($, C);
3657
+ }), w.on("dragstart", (k) => {
3658
+ var $, y;
3659
+ const C = k;
3660
+ C.lngLat = s.getLngLat(), (y = ($ = o.current.props).onDragStart) === null || y === void 0 || y.call($, C);
3661
+ }), w.on("drag", (k) => {
3662
+ var $, y;
3663
+ const C = k;
3664
+ C.lngLat = s.getLngLat(), (y = ($ = o.current.props).onDrag) === null || y === void 0 || y.call($, C);
3665
+ }), w.on("dragend", (k) => {
3666
+ var $, y;
3667
+ const C = k;
3668
+ C.lngLat = s.getLngLat(), (y = ($ = o.current.props).onDragEnd) === null || y === void 0 || y.call($, C);
3669
3669
  }), w;
3670
3670
  }, []);
3671
3671
  te(() => (s.addTo(n.getMap()), () => {
3672
3672
  s.remove();
3673
3673
  }), []);
3674
- const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation: y = 0, rotationAlignment: m = "auto", pitchAlignment: v = "auto" } = e;
3674
+ const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation: b = 0, rotationAlignment: p = "auto", pitchAlignment: v = "auto" } = e;
3675
3675
  return te(() => {
3676
3676
  Lt(s.getElement(), d);
3677
- }, [d]), Gn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !ac(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !== y && s.setRotation(y), s.getRotationAlignment() !== m && s.setRotationAlignment(m), s.getPitchAlignment() !== v && s.setPitchAlignment(v), s.getPopup() !== g && s.setPopup(g), Li(e.children, s.getElement());
3677
+ }, [d]), Gn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !ac(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !== b && s.setRotation(b), s.getRotationAlignment() !== p && s.setRotationAlignment(p), s.getPitchAlignment() !== v && s.setPitchAlignment(v), s.getPopup() !== g && s.setPopup(g), Li(e.children, s.getElement());
3678
3678
  }
3679
3679
  Ot(Hr(_c));
3680
3680
  function Ro(e) {
@@ -3897,7 +3897,7 @@ const zc = ({
3897
3897
  sources: d = [],
3898
3898
  layers: h = []
3899
3899
  }) => {
3900
- const g = Te(), [y, m] = de(null), v = Fs((f) => f.mapState.showTexts);
3900
+ const g = Te(), [b, p] = de(null), v = Fs((f) => f.mapState.showTexts);
3901
3901
  return te(() => {
3902
3902
  if (g.current) {
3903
3903
  const f = g.current.getMap();
@@ -3917,7 +3917,7 @@ const zc = ({
3917
3917
  onClick: a,
3918
3918
  interactiveLayerIds: l,
3919
3919
  children: [
3920
- d.length && d.map((f, _) => /* @__PURE__ */ u(Yi, { ...f, children: h.length && h.map((w, S) => {
3920
+ d.length && d.map((f, _) => /* @__PURE__ */ u(Yi, { ...f, children: h.length && h.map((w, k) => {
3921
3921
  if (w.sourceId == f.id)
3922
3922
  return /* @__PURE__ */ u(
3923
3923
  Gi,
@@ -3925,17 +3925,17 @@ const zc = ({
3925
3925
  ...w.layer,
3926
3926
  beforeId: o
3927
3927
  },
3928
- S
3928
+ k
3929
3929
  );
3930
3930
  }) }, _)),
3931
3931
  /* @__PURE__ */ u(Ki, { position: "bottom-right", visualizePitch: !0 }),
3932
- c && y && /* @__PURE__ */ u(
3932
+ c && b && /* @__PURE__ */ u(
3933
3933
  Hi,
3934
3934
  {
3935
3935
  longitude: c.longitude,
3936
3936
  latitude: c.latitude,
3937
3937
  anchor: c.anchor,
3938
- onClose: () => m(null),
3938
+ onClose: () => p(null),
3939
3939
  children: c.content
3940
3940
  }
3941
3941
  )
@@ -4019,18 +4019,18 @@ const jc = "_mapContainer_b0pyr_3", qc = {
4019
4019
  layers: d = [],
4020
4020
  popUpParams: h,
4021
4021
  onClosePopUp: g,
4022
- showTexts: y,
4023
- hash: m = !1
4022
+ showTexts: b,
4023
+ hash: p = !1
4024
4024
  }) => {
4025
4025
  const v = Te();
4026
4026
  return te(() => {
4027
4027
  if (v.current) {
4028
4028
  const f = v.current.getMap();
4029
4029
  f.getStyle().layers.map((w) => {
4030
- w.type == "symbol" && w.id != "professionals" && (y ? f.setLayoutProperty(w.id, "visibility", "visible") : f.setLayoutProperty(w.id, "visibility", "none"));
4030
+ w.type == "symbol" && w.id != "professionals" && (b ? f.setLayoutProperty(w.id, "visibility", "visible") : f.setLayoutProperty(w.id, "visibility", "none"));
4031
4031
  });
4032
4032
  }
4033
- }, [y]), te(() => {
4033
+ }, [b]), te(() => {
4034
4034
  let f = new zs();
4035
4035
  return hr.addProtocol("pmtiles", f.tile), () => {
4036
4036
  hr.removeProtocol("pmtiles");
@@ -4041,14 +4041,14 @@ const jc = "_mapContainer_b0pyr_3", qc = {
4041
4041
  mapLib: hr,
4042
4042
  initialViewState: e,
4043
4043
  ref: v,
4044
- hash: m,
4044
+ hash: p,
4045
4045
  maxZoom: t,
4046
4046
  minZoom: n,
4047
4047
  mapStyle: r,
4048
4048
  onClick: a,
4049
4049
  interactiveLayerIds: l,
4050
4050
  children: [
4051
- c.length && c.map((f, _) => /* @__PURE__ */ u(Yi, { ...f, children: d.length && d.map((w, S) => {
4051
+ c.length && c.map((f, _) => /* @__PURE__ */ u(Yi, { ...f, children: d.length && d.map((w, k) => {
4052
4052
  if (w.sourceId == f.id)
4053
4053
  return /* @__PURE__ */ u(
4054
4054
  Gi,
@@ -4060,7 +4060,7 @@ const jc = "_mapContainer_b0pyr_3", qc = {
4060
4060
  visibility: w.layer.visibility || "visible"
4061
4061
  }
4062
4062
  },
4063
- S
4063
+ k
4064
4064
  );
4065
4065
  }) }, _)),
4066
4066
  /* @__PURE__ */ u(Ki, { position: "bottom-right", visualizePitch: !0 }),
@@ -4297,7 +4297,7 @@ function l0(e) {
4297
4297
  className: s
4298
4298
  } = e;
4299
4299
  if (!t) {
4300
- const m = yt(n == null ? void 0 : n.className, s, o == null ? void 0 : o.className, r == null ? void 0 : r.className), v = {
4300
+ const p = yt(n == null ? void 0 : n.className, s, o == null ? void 0 : o.className, r == null ? void 0 : r.className), v = {
4301
4301
  ...n == null ? void 0 : n.style,
4302
4302
  ...o == null ? void 0 : o.style,
4303
4303
  ...r == null ? void 0 : r.style
@@ -4306,7 +4306,7 @@ function l0(e) {
4306
4306
  ...o,
4307
4307
  ...r
4308
4308
  };
4309
- return m.length > 0 && (f.className = m), Object.keys(v).length > 0 && (f.style = v), {
4309
+ return p.length > 0 && (f.className = p), Object.keys(v).length > 0 && (f.style = v), {
4310
4310
  props: f,
4311
4311
  internalRef: void 0
4312
4312
  };
@@ -4319,14 +4319,14 @@ function l0(e) {
4319
4319
  ...n == null ? void 0 : n.style,
4320
4320
  ...o == null ? void 0 : o.style,
4321
4321
  ...r == null ? void 0 : r.style
4322
- }, y = {
4322
+ }, b = {
4323
4323
  ...d,
4324
4324
  ...n,
4325
4325
  ...c,
4326
4326
  ...l
4327
4327
  };
4328
- return h.length > 0 && (y.className = h), Object.keys(g).length > 0 && (y.style = g), {
4329
- props: y,
4328
+ return h.length > 0 && (b.className = h), Object.keys(g).length > 0 && (b.style = g), {
4329
+ props: b,
4330
4330
  internalRef: d.ref
4331
4331
  };
4332
4332
  }
@@ -4537,19 +4537,19 @@ function v0(e) {
4537
4537
  name: d,
4538
4538
  onChange: h,
4539
4539
  onChangeCommitted: g,
4540
- orientation: y = "horizontal",
4541
- rootRef: m,
4540
+ orientation: b = "horizontal",
4541
+ rootRef: p,
4542
4542
  scale: v = b0,
4543
4543
  step: f = 1,
4544
4544
  shiftStep: _ = 10,
4545
4545
  tabIndex: w,
4546
- value: S
4547
- } = e, $ = Q.useRef(void 0), [b, C] = Q.useState(-1), [x, M] = Q.useState(-1), [D, O] = Q.useState(!1), q = Q.useRef(0), z = Q.useRef(null), [p, E] = u0({
4548
- controlled: S,
4546
+ value: k
4547
+ } = e, $ = Q.useRef(void 0), [y, C] = Q.useState(-1), [x, A] = Q.useState(-1), [R, O] = Q.useState(!1), q = Q.useRef(0), z = Q.useRef(null), [m, E] = u0({
4548
+ controlled: k,
4549
4549
  default: n ?? c,
4550
4550
  name: "Slider"
4551
- }), k = h && ((L, V, H) => {
4552
- const ae = L.nativeEvent || L, be = new ae.constructor(ae.type, ae);
4551
+ }), S = h && ((M, V, H) => {
4552
+ const ae = M.nativeEvent || M, be = new ae.constructor(ae.type, ae);
4553
4553
  Object.defineProperty(be, "target", {
4554
4554
  writable: !0,
4555
4555
  value: {
@@ -4557,20 +4557,20 @@ function v0(e) {
4557
4557
  name: d
4558
4558
  }
4559
4559
  }), z.current = V, h(be, V, H);
4560
- }), B = Array.isArray(p);
4561
- let F = B ? p.slice().sort(es) : [p];
4562
- F = F.map((L) => L == null ? c : Ut(L, c, l));
4563
- const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((L, V) => ({
4560
+ }), B = Array.isArray(m);
4561
+ let F = B ? m.slice().sort(es) : [m];
4562
+ F = F.map((M) => M == null ? c : Ut(M, c, l));
4563
+ const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((M, V) => ({
4564
4564
  value: c + f * V
4565
- })) : a || [], W = Y.map((L) => L.value), [ce, R] = Q.useState(-1), A = Q.useRef(null), J = Qi(m, A), K = (L) => (V) => {
4565
+ })) : a || [], W = Y.map((M) => M.value), [ce, D] = Q.useState(-1), L = Q.useRef(null), J = Qi(p, L), K = (M) => (V) => {
4566
4566
  var ae;
4567
4567
  const H = Number(V.currentTarget.getAttribute("data-index"));
4568
- Vo(V.target) && R(H), M(H), (ae = L == null ? void 0 : L.onFocus) == null || ae.call(L, V);
4569
- }, P = (L) => (V) => {
4568
+ Vo(V.target) && D(H), A(H), (ae = M == null ? void 0 : M.onFocus) == null || ae.call(M, V);
4569
+ }, P = (M) => (V) => {
4570
4570
  var H;
4571
- Vo(V.target) || R(-1), M(-1), (H = L == null ? void 0 : L.onBlur) == null || H.call(L, V);
4572
- }, Z = (L, V) => {
4573
- const H = Number(L.currentTarget.getAttribute("data-index")), ae = F[H], be = W.indexOf(ae);
4571
+ Vo(V.target) || D(-1), A(-1), (H = M == null ? void 0 : M.onBlur) == null || H.call(M, V);
4572
+ }, Z = (M, V) => {
4573
+ const H = Number(M.currentTarget.getAttribute("data-index")), ae = F[H], be = W.indexOf(ae);
4574
4574
  let X = V;
4575
4575
  if (Y && f == null) {
4576
4576
  const Me = W[W.length - 1];
@@ -4586,12 +4586,12 @@ function v0(e) {
4586
4586
  });
4587
4587
  let Pe = H;
4588
4588
  o || (Pe = X.indexOf(Me)), En({
4589
- sliderRef: A,
4589
+ sliderRef: L,
4590
4590
  activeIndex: Pe
4591
4591
  });
4592
4592
  }
4593
- E(X), R(H), k && !On(X, p) && k(L, X, H), g && g(L, z.current ?? X);
4594
- }, ne = (L) => (V) => {
4593
+ E(X), D(H), S && !On(X, m) && S(M, X, H), g && g(M, z.current ?? X);
4594
+ }, ne = (M) => (V) => {
4595
4595
  var H;
4596
4596
  if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(V.key)) {
4597
4597
  V.preventDefault();
@@ -4631,32 +4631,32 @@ function v0(e) {
4631
4631
  }
4632
4632
  X != null && Z(V, X);
4633
4633
  }
4634
- (H = L == null ? void 0 : L.onKeyDown) == null || H.call(L, V);
4634
+ (H = M == null ? void 0 : M.onKeyDown) == null || H.call(M, V);
4635
4635
  };
4636
4636
  Ji(() => {
4637
- var L;
4638
- r && A.current.contains(document.activeElement) && ((L = document.activeElement) == null || L.blur());
4639
- }, [r]), r && b !== -1 && C(-1), r && ce !== -1 && R(-1);
4640
- const G = (L) => (V) => {
4637
+ var M;
4638
+ r && L.current.contains(document.activeElement) && ((M = document.activeElement) == null || M.blur());
4639
+ }, [r]), r && y !== -1 && C(-1), r && ce !== -1 && D(-1);
4640
+ const G = (M) => (V) => {
4641
4641
  var H;
4642
- (H = L.onChange) == null || H.call(L, V), Z(V, V.target.valueAsNumber);
4642
+ (H = M.onChange) == null || H.call(M, V), Z(V, V.target.valueAsNumber);
4643
4643
  }, U = Q.useRef(void 0);
4644
- let oe = y;
4645
- s && y === "horizontal" && (oe += "-reverse");
4644
+ let oe = b;
4645
+ s && b === "horizontal" && (oe += "-reverse");
4646
4646
  const ee = ({
4647
- finger: L,
4647
+ finger: M,
4648
4648
  move: V = !1
4649
4649
  }) => {
4650
4650
  const {
4651
4651
  current: H
4652
- } = A, {
4652
+ } = L, {
4653
4653
  width: ae,
4654
4654
  height: be,
4655
4655
  bottom: X,
4656
4656
  left: Me
4657
4657
  } = H.getBoundingClientRect();
4658
4658
  let Pe;
4659
- oe.startsWith("vertical") ? Pe = (X - L.y) / be : Pe = (L.x - Me) / ae, oe.includes("-reverse") && (Pe = 1 - Pe);
4659
+ oe.startsWith("vertical") ? Pe = (X - M.y) / be : Pe = (M.x - Me) / ae, oe.includes("-reverse") && (Pe = 1 - Pe);
4660
4660
  let Oe;
4661
4661
  if (Oe = m0(Pe, c, l), f)
4662
4662
  Oe = g0(Oe, f, c);
@@ -4679,12 +4679,12 @@ function v0(e) {
4679
4679
  newValue: Oe,
4680
4680
  activeIndex: He
4681
4681
  };
4682
- }, ue = kr((L) => {
4683
- const V = Nn(L, $);
4682
+ }, ue = kr((M) => {
4683
+ const V = Nn(M, $);
4684
4684
  if (!V)
4685
4685
  return;
4686
- if (q.current += 1, L.type === "mousemove" && L.buttons === 0) {
4687
- I(L);
4686
+ if (q.current += 1, M.type === "mousemove" && M.buttons === 0) {
4687
+ I(M);
4688
4688
  return;
4689
4689
  }
4690
4690
  const {
@@ -4695,12 +4695,12 @@ function v0(e) {
4695
4695
  move: !0
4696
4696
  });
4697
4697
  En({
4698
- sliderRef: A,
4698
+ sliderRef: L,
4699
4699
  activeIndex: ae,
4700
4700
  setActive: C
4701
- }), E(H), !D && q.current > p0 && O(!0), k && !On(H, p) && k(L, H, ae);
4702
- }), I = kr((L) => {
4703
- const V = Nn(L, $);
4701
+ }), E(H), !R && q.current > p0 && O(!0), S && !On(H, m) && S(M, H, ae);
4702
+ }), I = kr((M) => {
4703
+ const V = Nn(M, $);
4704
4704
  if (O(!1), !V)
4705
4705
  return;
4706
4706
  const {
@@ -4709,14 +4709,14 @@ function v0(e) {
4709
4709
  finger: V,
4710
4710
  move: !0
4711
4711
  });
4712
- C(-1), L.type === "touchend" && M(-1), g && g(L, z.current ?? H), $.current = void 0, Ie();
4713
- }), se = kr((L) => {
4712
+ C(-1), M.type === "touchend" && A(-1), g && g(M, z.current ?? H), $.current = void 0, Ie();
4713
+ }), se = kr((M) => {
4714
4714
  if (r)
4715
4715
  return;
4716
- zo() || L.preventDefault();
4717
- const V = L.changedTouches[0];
4716
+ zo() || M.preventDefault();
4717
+ const V = M.changedTouches[0];
4718
4718
  V != null && ($.current = V.identifier);
4719
- const H = Nn(L, $);
4719
+ const H = Nn(M, $);
4720
4720
  if (H !== !1) {
4721
4721
  const {
4722
4722
  newValue: be,
@@ -4725,37 +4725,37 @@ function v0(e) {
4725
4725
  finger: H
4726
4726
  });
4727
4727
  En({
4728
- sliderRef: A,
4728
+ sliderRef: L,
4729
4729
  activeIndex: X,
4730
4730
  setActive: C
4731
- }), E(be), k && !On(be, p) && k(L, be, X);
4731
+ }), E(be), S && !On(be, m) && S(M, be, X);
4732
4732
  }
4733
4733
  q.current = 0;
4734
- const ae = Bn(A.current);
4734
+ const ae = Bn(L.current);
4735
4735
  ae.addEventListener("touchmove", ue, {
4736
4736
  passive: !0
4737
4737
  }), ae.addEventListener("touchend", I, {
4738
4738
  passive: !0
4739
4739
  });
4740
4740
  }), Ie = Q.useCallback(() => {
4741
- const L = Bn(A.current);
4742
- L.removeEventListener("mousemove", ue), L.removeEventListener("mouseup", I), L.removeEventListener("touchmove", ue), L.removeEventListener("touchend", I);
4741
+ const M = Bn(L.current);
4742
+ M.removeEventListener("mousemove", ue), M.removeEventListener("mouseup", I), M.removeEventListener("touchmove", ue), M.removeEventListener("touchend", I);
4743
4743
  }, [I, ue]);
4744
4744
  Q.useEffect(() => {
4745
4745
  const {
4746
- current: L
4747
- } = A;
4748
- return L.addEventListener("touchstart", se, {
4746
+ current: M
4747
+ } = L;
4748
+ return M.addEventListener("touchstart", se, {
4749
4749
  passive: zo()
4750
4750
  }), () => {
4751
- L.removeEventListener("touchstart", se), Ie();
4751
+ M.removeEventListener("touchstart", se), Ie();
4752
4752
  };
4753
4753
  }, [Ie, se]), Q.useEffect(() => {
4754
4754
  r && Ie();
4755
4755
  }, [r, Ie]);
4756
- const et = (L) => (V) => {
4756
+ const et = (M) => (V) => {
4757
4757
  var be;
4758
- if ((be = L.onMouseDown) == null || be.call(L, V), r || V.defaultPrevented || V.button !== 0)
4758
+ if ((be = M.onMouseDown) == null || be.call(M, V), r || V.defaultPrevented || V.button !== 0)
4759
4759
  return;
4760
4760
  V.preventDefault();
4761
4761
  const H = Nn(V, $);
@@ -4767,59 +4767,59 @@ function v0(e) {
4767
4767
  finger: H
4768
4768
  });
4769
4769
  En({
4770
- sliderRef: A,
4770
+ sliderRef: L,
4771
4771
  activeIndex: Me,
4772
4772
  setActive: C
4773
- }), E(X), k && !On(X, p) && k(V, X, Me);
4773
+ }), E(X), S && !On(X, m) && S(V, X, Me);
4774
4774
  }
4775
4775
  q.current = 0;
4776
- const ae = Bn(A.current);
4776
+ const ae = Bn(L.current);
4777
4777
  ae.addEventListener("mousemove", ue, {
4778
4778
  passive: !0
4779
4779
  }), ae.addEventListener("mouseup", I);
4780
- }, j = Un(B ? F[0] : c, c, l), re = Un(F[F.length - 1], c, l) - j, we = (L = {}) => {
4781
- const V = Vn(L), H = {
4780
+ }, j = Un(B ? F[0] : c, c, l), re = Un(F[F.length - 1], c, l) - j, we = (M = {}) => {
4781
+ const V = Vn(M), H = {
4782
4782
  onMouseDown: et(V || {})
4783
4783
  }, ae = {
4784
4784
  ...V,
4785
4785
  ...H
4786
4786
  };
4787
4787
  return {
4788
- ...L,
4788
+ ...M,
4789
4789
  ref: J,
4790
4790
  ...ae
4791
4791
  };
4792
- }, Ce = (L) => (V) => {
4792
+ }, Ce = (M) => (V) => {
4793
4793
  var ae;
4794
- (ae = L.onMouseOver) == null || ae.call(L, V);
4794
+ (ae = M.onMouseOver) == null || ae.call(M, V);
4795
4795
  const H = Number(V.currentTarget.getAttribute("data-index"));
4796
- M(H);
4797
- }, Le = (L) => (V) => {
4796
+ A(H);
4797
+ }, Le = (M) => (V) => {
4798
4798
  var H;
4799
- (H = L.onMouseLeave) == null || H.call(L, V), M(-1);
4800
- }, je = (L = {}) => {
4801
- const V = Vn(L), H = {
4799
+ (H = M.onMouseLeave) == null || H.call(M, V), A(-1);
4800
+ }, je = (M = {}) => {
4801
+ const V = Vn(M), H = {
4802
4802
  onMouseOver: Ce(V || {}),
4803
4803
  onMouseLeave: Le(V || {})
4804
4804
  };
4805
4805
  return {
4806
- ...L,
4806
+ ...M,
4807
4807
  ...V,
4808
4808
  ...H
4809
4809
  };
4810
- }, Qe = (L) => ({
4810
+ }, Qe = (M) => ({
4811
4811
  // So the non active thumb doesn't show its label on hover.
4812
- pointerEvents: b !== -1 && b !== L ? "none" : void 0
4812
+ pointerEvents: y !== -1 && y !== M ? "none" : void 0
4813
4813
  });
4814
4814
  let _e;
4815
- return y === "vertical" && (_e = s ? "vertical-rl" : "vertical-lr"), {
4816
- active: b,
4815
+ return b === "vertical" && (_e = s ? "vertical-rl" : "vertical-lr"), {
4816
+ active: y,
4817
4817
  axis: oe,
4818
4818
  axisProps: y0,
4819
- dragging: D,
4819
+ dragging: R,
4820
4820
  focusedThumbIndex: ce,
4821
- getHiddenInputProps: (L = {}) => {
4822
- const V = Vn(L), H = {
4821
+ getHiddenInputProps: (M = {}) => {
4822
+ const V = Vn(M), H = {
4823
4823
  onChange: G(V || {}),
4824
4824
  onFocus: K(V || {}),
4825
4825
  onBlur: P(V || {}),
@@ -4831,7 +4831,7 @@ function v0(e) {
4831
4831
  return {
4832
4832
  tabIndex: w,
4833
4833
  "aria-labelledby": t,
4834
- "aria-orientation": y,
4834
+ "aria-orientation": b,
4835
4835
  "aria-valuemax": v(l),
4836
4836
  "aria-valuemin": v(c),
4837
4837
  name: d,
@@ -4840,7 +4840,7 @@ function v0(e) {
4840
4840
  max: e.max,
4841
4841
  step: e.step === null && e.marks ? "any" : e.step ?? void 0,
4842
4842
  disabled: r,
4843
- ...L,
4843
+ ...M,
4844
4844
  ...ae,
4845
4845
  style: {
4846
4846
  ...d0,
@@ -4887,7 +4887,7 @@ var jo;
4887
4887
  function C0() {
4888
4888
  if (jo) return ge;
4889
4889
  jo = 1;
4890
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
4890
+ var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), p = Symbol.for("react.client.reference");
4891
4891
  function v(f) {
4892
4892
  if (typeof f == "object" && f !== null) {
4893
4893
  var _ = f.$$typeof;
@@ -4899,7 +4899,7 @@ function C0() {
4899
4899
  case r:
4900
4900
  case c:
4901
4901
  case d:
4902
- case y:
4902
+ case b:
4903
4903
  return f;
4904
4904
  default:
4905
4905
  switch (f = f && f.$$typeof, f) {
@@ -4944,7 +4944,7 @@ function C0() {
4944
4944
  }, ge.isSuspenseList = function(f) {
4945
4945
  return v(f) === d;
4946
4946
  }, ge.isValidElementType = function(f) {
4947
- return typeof f == "string" || typeof f == "function" || f === n || f === o || f === r || f === c || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === h || f.$$typeof === a || f.$$typeof === s || f.$$typeof === l || f.$$typeof === m || f.getModuleId !== void 0);
4947
+ return typeof f == "string" || typeof f == "function" || f === n || f === o || f === r || f === c || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === h || f.$$typeof === a || f.$$typeof === s || f.$$typeof === l || f.$$typeof === p || f.getModuleId !== void 0);
4948
4948
  }, ge.typeOf = v, ge;
4949
4949
  }
4950
4950
  var ye = {};
@@ -4971,13 +4971,13 @@ function _0() {
4971
4971
  case o:
4972
4972
  case d:
4973
4973
  case h:
4974
- case m:
4974
+ case p:
4975
4975
  return f;
4976
4976
  default:
4977
4977
  switch (f = f && f.$$typeof, f) {
4978
4978
  case l:
4979
4979
  case c:
4980
- case y:
4980
+ case b:
4981
4981
  case g:
4982
4982
  return f;
4983
4983
  case a:
@@ -4991,8 +4991,8 @@ function _0() {
4991
4991
  }
4992
4992
  }
4993
4993
  }
4994
- var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
4995
- ye.ContextConsumer = a, ye.ContextProvider = l, ye.Element = t, ye.ForwardRef = c, ye.Fragment = r, ye.Lazy = y, ye.Memo = g, ye.Portal = n, ye.Profiler = s, ye.StrictMode = o, ye.Suspense = d, ye.SuspenseList = h, ye.isContextConsumer = function(f) {
4994
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
4995
+ ye.ContextConsumer = a, ye.ContextProvider = l, ye.Element = t, ye.ForwardRef = c, ye.Fragment = r, ye.Lazy = b, ye.Memo = g, ye.Portal = n, ye.Profiler = s, ye.StrictMode = o, ye.Suspense = d, ye.SuspenseList = h, ye.isContextConsumer = function(f) {
4996
4996
  return e(f) === a;
4997
4997
  }, ye.isContextProvider = function(f) {
4998
4998
  return e(f) === l;
@@ -5003,7 +5003,7 @@ function _0() {
5003
5003
  }, ye.isFragment = function(f) {
5004
5004
  return e(f) === r;
5005
5005
  }, ye.isLazy = function(f) {
5006
- return e(f) === y;
5006
+ return e(f) === b;
5007
5007
  }, ye.isMemo = function(f) {
5008
5008
  return e(f) === g;
5009
5009
  }, ye.isPortal = function(f) {
@@ -5017,7 +5017,7 @@ function _0() {
5017
5017
  }, ye.isSuspenseList = function(f) {
5018
5018
  return e(f) === h;
5019
5019
  }, ye.isValidElementType = function(f) {
5020
- return typeof f == "string" || typeof f == "function" || f === r || f === s || f === o || f === d || f === h || typeof f == "object" && f !== null && (f.$$typeof === y || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === v || f.getModuleId !== void 0);
5020
+ return typeof f == "string" || typeof f == "function" || f === r || f === s || f === o || f === d || f === h || typeof f == "object" && f !== null && (f.$$typeof === b || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === v || f.getModuleId !== void 0);
5021
5021
  }, ye.typeOf = e;
5022
5022
  }()), ye;
5023
5023
  }
@@ -5190,9 +5190,9 @@ function $e(e) {
5190
5190
  return null;
5191
5191
  const l = a[t], c = a.theme, d = Qn(c, r) || {};
5192
5192
  return ut(a, l, (g) => {
5193
- let y = Hn(d, o, g);
5194
- return g === y && typeof g == "string" && (y = Hn(d, o, `${t}${g === "default" ? "" : Je(g)}`, g)), n === !1 ? y : {
5195
- [n]: y
5193
+ let b = Hn(d, o, g);
5194
+ return g === b && typeof g == "string" && (b = Hn(d, o, `${t}${g === "default" ? "" : Je(g)}`, g)), n === !1 ? b : {
5195
+ [n]: b
5196
5196
  };
5197
5197
  });
5198
5198
  };
@@ -5748,10 +5748,10 @@ function p2() {
5748
5748
  return {
5749
5749
  [n]: r
5750
5750
  };
5751
- const y = Qn(o, d) || {};
5751
+ const b = Qn(o, d) || {};
5752
5752
  return g ? g(a) : ut(a, r, (v) => {
5753
- let f = Hn(y, h, v);
5754
- return v === f && typeof v == "string" && (f = Hn(y, h, `${n}${v === "default" ? "" : Je(v)}`, v)), c === !1 ? f : {
5753
+ let f = Hn(b, h, v);
5754
+ return v === f && typeof v == "string" && (f = Hn(b, h, `${n}${v === "default" ? "" : Je(v)}`, v)), c === !1 ? f : {
5755
5755
  [c]: f
5756
5756
  };
5757
5757
  });
@@ -5774,30 +5774,30 @@ function p2() {
5774
5774
  if (!d)
5775
5775
  return null;
5776
5776
  const h = $0(o.breakpoints), g = Object.keys(h);
5777
- let y = h;
5778
- return Object.keys(d).forEach((m) => {
5779
- const v = f2(d[m], o);
5777
+ let b = h;
5778
+ return Object.keys(d).forEach((p) => {
5779
+ const v = f2(d[p], o);
5780
5780
  if (v != null)
5781
5781
  if (typeof v == "object")
5782
- if (a[m])
5783
- y = dn(y, e(m, v, o, a));
5782
+ if (a[p])
5783
+ b = dn(b, e(p, v, o, a));
5784
5784
  else {
5785
5785
  const f = ut({
5786
5786
  theme: o
5787
5787
  }, v, (_) => ({
5788
- [m]: _
5788
+ [p]: _
5789
5789
  }));
5790
- d2(f, v) ? y[m] = t({
5790
+ d2(f, v) ? b[p] = t({
5791
5791
  sx: v,
5792
5792
  theme: o,
5793
5793
  nested: !0
5794
- }) : y = dn(y, f);
5794
+ }) : b = dn(b, f);
5795
5795
  }
5796
5796
  else
5797
- y = dn(y, e(m, v, o, a));
5797
+ b = dn(b, e(p, v, o, a));
5798
5798
  }), !s && o.modularCssLayers ? {
5799
- "@layer sx": Uo(o, Ho(g, y))
5800
- } : Uo(o, Ho(g, y));
5799
+ "@layer sx": Uo(o, Ho(g, b))
5800
+ } : Uo(o, Ho(g, b));
5801
5801
  }
5802
5802
  return Array.isArray(r) ? r.map(l) : l(r);
5803
5803
  }
@@ -6046,22 +6046,22 @@ function S2(e) {
6046
6046
  step: r = 5,
6047
6047
  ...o
6048
6048
  } = e, s = w2(t), a = Object.keys(s);
6049
- function l(y) {
6050
- return `@media (min-width:${typeof t[y] == "number" ? t[y] : y}${n})`;
6049
+ function l(b) {
6050
+ return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n})`;
6051
6051
  }
6052
- function c(y) {
6053
- return `@media (max-width:${(typeof t[y] == "number" ? t[y] : y) - r / 100}${n})`;
6052
+ function c(b) {
6053
+ return `@media (max-width:${(typeof t[b] == "number" ? t[b] : b) - r / 100}${n})`;
6054
6054
  }
6055
- function d(y, m) {
6056
- const v = a.indexOf(m);
6057
- return `@media (min-width:${typeof t[y] == "number" ? t[y] : y}${n}) and (max-width:${(v !== -1 && typeof t[a[v]] == "number" ? t[a[v]] : m) - r / 100}${n})`;
6055
+ function d(b, p) {
6056
+ const v = a.indexOf(p);
6057
+ return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n}) and (max-width:${(v !== -1 && typeof t[a[v]] == "number" ? t[a[v]] : p) - r / 100}${n})`;
6058
6058
  }
6059
- function h(y) {
6060
- return a.indexOf(y) + 1 < a.length ? d(y, a[a.indexOf(y) + 1]) : l(y);
6059
+ function h(b) {
6060
+ return a.indexOf(b) + 1 < a.length ? d(b, a[a.indexOf(b) + 1]) : l(b);
6061
6061
  }
6062
- function g(y) {
6063
- const m = a.indexOf(y);
6064
- return m === 0 ? l(a[1]) : m === a.length - 1 ? c(a[m]) : d(y, a[a.indexOf(y) + 1]).replace("@media", "@media not all and");
6062
+ function g(b) {
6063
+ const p = a.indexOf(b);
6064
+ return p === 0 ? l(a[1]) : p === a.length - 1 ? c(a[p]) : d(b, a[a.indexOf(b) + 1]).replace("@media", "@media not all and");
6065
6065
  }
6066
6066
  return {
6067
6067
  keys: a,
@@ -6276,44 +6276,44 @@ function D2(e = {}) {
6276
6276
  R2(l, t, n);
6277
6277
  }
6278
6278
  return (l, c = {}) => {
6279
- x2(l, (x) => x.filter((M) => M !== Kt));
6279
+ x2(l, (x) => x.filter((A) => A !== Kt));
6280
6280
  const {
6281
6281
  name: d,
6282
6282
  slot: h,
6283
6283
  skipVariantsResolver: g,
6284
- skipSx: y,
6284
+ skipSx: b,
6285
6285
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
6286
6286
  // For more details: https://github.com/mui/material-ui/pull/37908
6287
- overridesResolver: m = M2(cs(h)),
6287
+ overridesResolver: p = M2(cs(h)),
6288
6288
  ...v
6289
6289
  } = c, f = d && d.startsWith("Mui") || h ? "components" : "custom", _ = g !== void 0 ? g : (
6290
6290
  // TODO v6: remove `Root` in the next major release
6291
6291
  // For more details: https://github.com/mui/material-ui/pull/37908
6292
6292
  h && h !== "Root" && h !== "root" || !1
6293
- ), w = y || !1;
6294
- let S = $r;
6295
- h === "Root" || h === "root" ? S = r : h ? S = o : B2(l) && (S = void 0);
6293
+ ), w = b || !1;
6294
+ let k = $r;
6295
+ h === "Root" || h === "root" ? k = r : h ? k = o : B2(l) && (k = void 0);
6296
6296
  const $ = _2(l, {
6297
- shouldForwardProp: S,
6297
+ shouldForwardProp: k,
6298
6298
  label: P2(d, h),
6299
6299
  ...v
6300
- }), b = (x) => {
6300
+ }), y = (x) => {
6301
6301
  if (x.__emotion_real === x)
6302
6302
  return x;
6303
6303
  if (typeof x == "function")
6304
- return function(D) {
6305
- return Fn(D, x, D.theme.modularCssLayers ? f : void 0);
6304
+ return function(R) {
6305
+ return Fn(R, x, R.theme.modularCssLayers ? f : void 0);
6306
6306
  };
6307
6307
  if (lt(x)) {
6308
- const M = as(x);
6308
+ const A = as(x);
6309
6309
  return function(O) {
6310
- return M.variants ? Fn(O, M, O.theme.modularCssLayers ? f : void 0) : O.theme.modularCssLayers ? Tt(M.style, f) : M.style;
6310
+ return A.variants ? Fn(O, A, O.theme.modularCssLayers ? f : void 0) : O.theme.modularCssLayers ? Tt(A.style, f) : A.style;
6311
6311
  };
6312
6312
  }
6313
6313
  return x;
6314
6314
  }, C = (...x) => {
6315
- const M = [], D = x.map(b), O = [];
6316
- if (M.push(s), d && m && O.push(function(E) {
6315
+ const A = [], R = x.map(y), O = [];
6316
+ if (A.push(s), d && p && O.push(function(E) {
6317
6317
  var Y, W;
6318
6318
  const B = (W = (Y = E.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : W.styleOverrides;
6319
6319
  if (!B)
@@ -6321,17 +6321,17 @@ function D2(e = {}) {
6321
6321
  const F = {};
6322
6322
  for (const ce in B)
6323
6323
  F[ce] = Fn(E, B[ce], E.theme.modularCssLayers ? "theme" : void 0);
6324
- return m(E, F);
6324
+ return p(E, F);
6325
6325
  }), d && !_ && O.push(function(E) {
6326
6326
  var F, Y;
6327
- const k = E.theme, B = (Y = (F = k == null ? void 0 : k.components) == null ? void 0 : F[d]) == null ? void 0 : Y.variants;
6327
+ const S = E.theme, B = (Y = (F = S == null ? void 0 : S.components) == null ? void 0 : F[d]) == null ? void 0 : Y.variants;
6328
6328
  return B ? ls(E, B, [], E.theme.modularCssLayers ? "theme" : void 0) : null;
6329
- }), w || O.push(Kt), Array.isArray(D[0])) {
6330
- const p = D.shift(), E = new Array(M.length).fill(""), k = new Array(O.length).fill("");
6329
+ }), w || O.push(Kt), Array.isArray(R[0])) {
6330
+ const m = R.shift(), E = new Array(A.length).fill(""), S = new Array(O.length).fill("");
6331
6331
  let B;
6332
- B = [...E, ...p, ...k], B.raw = [...E, ...p.raw, ...k], M.unshift(B);
6332
+ B = [...E, ...m, ...S], B.raw = [...E, ...m.raw, ...S], A.unshift(B);
6333
6333
  }
6334
- const q = [...M, ...D, ...O], z = $(...q);
6334
+ const q = [...A, ...R, ...O], z = $(...q);
6335
6335
  return l.muiName && (z.muiName = l.muiName), process.env.NODE_ENV !== "production" && (z.displayName = I2(d, h, l)), z;
6336
6336
  };
6337
6337
  return $.withConfig && (C.withConfig = $.withConfig), C;
@@ -6613,68 +6613,68 @@ function Y2(e, t = {}) {
6613
6613
  } = e, {
6614
6614
  vars: h,
6615
6615
  css: g,
6616
- varsWithDefaults: y
6616
+ varsWithDefaults: b
6617
6617
  } = Nr(d, t);
6618
- let m = y;
6618
+ let p = b;
6619
6619
  const v = {}, {
6620
6620
  [c]: f,
6621
6621
  ..._
6622
6622
  } = a;
6623
- if (Object.entries(_ || {}).forEach(([b, C]) => {
6623
+ if (Object.entries(_ || {}).forEach(([y, C]) => {
6624
6624
  const {
6625
6625
  vars: x,
6626
- css: M,
6627
- varsWithDefaults: D
6626
+ css: A,
6627
+ varsWithDefaults: R
6628
6628
  } = Nr(C, t);
6629
- m = Ze(m, D), v[b] = {
6630
- css: M,
6629
+ p = Ze(p, R), v[y] = {
6630
+ css: A,
6631
6631
  vars: x
6632
6632
  };
6633
6633
  }), f) {
6634
6634
  const {
6635
- css: b,
6635
+ css: y,
6636
6636
  vars: C,
6637
6637
  varsWithDefaults: x
6638
6638
  } = Nr(f, t);
6639
- m = Ze(m, x), v[c] = {
6640
- css: b,
6639
+ p = Ze(p, x), v[c] = {
6640
+ css: y,
6641
6641
  vars: C
6642
6642
  };
6643
6643
  }
6644
- function w(b, C) {
6645
- var M, D;
6644
+ function w(y, C) {
6645
+ var A, R;
6646
6646
  let x = o;
6647
- if (o === "class" && (x = ".%s"), o === "data" && (x = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (x = `[${o}="%s"]`), b) {
6647
+ if (o === "class" && (x = ".%s"), o === "data" && (x = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (x = `[${o}="%s"]`), y) {
6648
6648
  if (x === "media")
6649
- return e.defaultColorScheme === b ? ":root" : {
6650
- [`@media (prefers-color-scheme: ${((D = (M = a[b]) == null ? void 0 : M.palette) == null ? void 0 : D.mode) || b})`]: {
6649
+ return e.defaultColorScheme === y ? ":root" : {
6650
+ [`@media (prefers-color-scheme: ${((R = (A = a[y]) == null ? void 0 : A.palette) == null ? void 0 : R.mode) || y})`]: {
6651
6651
  ":root": C
6652
6652
  }
6653
6653
  };
6654
6654
  if (x)
6655
- return e.defaultColorScheme === b ? `:root, ${x.replace("%s", String(b))}` : x.replace("%s", String(b));
6655
+ return e.defaultColorScheme === y ? `:root, ${x.replace("%s", String(y))}` : x.replace("%s", String(y));
6656
6656
  }
6657
6657
  return ":root";
6658
6658
  }
6659
6659
  return {
6660
- vars: m,
6660
+ vars: p,
6661
6661
  generateThemeVars: () => {
6662
- let b = {
6662
+ let y = {
6663
6663
  ...h
6664
6664
  };
6665
6665
  return Object.entries(v).forEach(([, {
6666
6666
  vars: C
6667
6667
  }]) => {
6668
- b = Ze(b, C);
6669
- }), b;
6668
+ y = Ze(y, C);
6669
+ }), y;
6670
6670
  },
6671
6671
  generateStyleSheets: () => {
6672
6672
  var O, q;
6673
- const b = [], C = e.defaultColorScheme || "light";
6674
- function x(z, p) {
6675
- Object.keys(p).length && b.push(typeof z == "string" ? {
6673
+ const y = [], C = e.defaultColorScheme || "light";
6674
+ function x(z, m) {
6675
+ Object.keys(m).length && y.push(typeof z == "string" ? {
6676
6676
  [z]: {
6677
- ...p
6677
+ ...m
6678
6678
  }
6679
6679
  } : z);
6680
6680
  }
@@ -6682,14 +6682,14 @@ function Y2(e, t = {}) {
6682
6682
  ...g
6683
6683
  }), g);
6684
6684
  const {
6685
- [C]: M,
6686
- ...D
6685
+ [C]: A,
6686
+ ...R
6687
6687
  } = v;
6688
- if (M) {
6688
+ if (A) {
6689
6689
  const {
6690
6690
  css: z
6691
- } = M, p = (q = (O = a[C]) == null ? void 0 : O.palette) == null ? void 0 : q.mode, E = !r && p ? {
6692
- colorScheme: p,
6691
+ } = A, m = (q = (O = a[C]) == null ? void 0 : O.palette) == null ? void 0 : q.mode, E = !r && m ? {
6692
+ colorScheme: m,
6693
6693
  ...z
6694
6694
  } : {
6695
6695
  ...z
@@ -6698,20 +6698,20 @@ function Y2(e, t = {}) {
6698
6698
  ...E
6699
6699
  }), E);
6700
6700
  }
6701
- return Object.entries(D).forEach(([z, {
6702
- css: p
6701
+ return Object.entries(R).forEach(([z, {
6702
+ css: m
6703
6703
  }]) => {
6704
6704
  var B, F;
6705
- const E = (F = (B = a[z]) == null ? void 0 : B.palette) == null ? void 0 : F.mode, k = !r && E ? {
6705
+ const E = (F = (B = a[z]) == null ? void 0 : B.palette) == null ? void 0 : F.mode, S = !r && E ? {
6706
6706
  colorScheme: E,
6707
- ...p
6707
+ ...m
6708
6708
  } : {
6709
- ...p
6709
+ ...m
6710
6710
  };
6711
6711
  x(n(z, {
6712
- ...k
6713
- }), k);
6714
- }), s && b.push({
6712
+ ...S
6713
+ }), S);
6714
+ }), s && y.push({
6715
6715
  ":root": {
6716
6716
  // use double underscore to indicate that these are private variables
6717
6717
  "--__l-threshold": "0.7",
@@ -6719,7 +6719,7 @@ function Y2(e, t = {}) {
6719
6719
  "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
6720
6720
  // 0.87 is the default alpha value for black text.
6721
6721
  }
6722
- }), b;
6722
+ }), y;
6723
6723
  }
6724
6724
  };
6725
6725
  }
@@ -6941,29 +6941,29 @@ function ro(e) {
6941
6941
  colorSpace: o,
6942
6942
  ...s
6943
6943
  } = e, a = e.primary || J2(t), l = e.secondary || e1(t), c = e.error || t1(t), d = e.info || n1(t), h = e.success || r1(t), g = e.warning || o1(t);
6944
- function y(_) {
6944
+ function b(_) {
6945
6945
  if (o)
6946
6946
  return i1(_);
6947
6947
  const w = ti(_, qr.text.primary) >= n ? qr.text.primary : ps.text.primary;
6948
6948
  if (process.env.NODE_ENV !== "production") {
6949
- const S = ti(_, w);
6950
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${w} on ${_}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
6949
+ const k = ti(_, w);
6950
+ k < 3 && console.error([`MUI: The contrast ratio of ${k}:1 for ${w} on ${_}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
6951
6951
  `));
6952
6952
  }
6953
6953
  return w;
6954
6954
  }
6955
- const m = ({
6955
+ const p = ({
6956
6956
  color: _,
6957
6957
  name: w,
6958
- mainShade: S = 500,
6958
+ mainShade: k = 500,
6959
6959
  lightShade: $ = 300,
6960
- darkShade: b = 700
6960
+ darkShade: y = 700
6961
6961
  }) => {
6962
6962
  if (_ = {
6963
6963
  ..._
6964
- }, !_.main && _[S] && (_.main = _[S]), !_.hasOwnProperty("main"))
6964
+ }, !_.main && _[k] && (_.main = _[k]), !_.hasOwnProperty("main"))
6965
6965
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
6966
- The color object needs to have a \`main\` property or a \`${S}\` property.` : Nt(11, w ? ` (${w})` : "", S));
6966
+ The color object needs to have a \`main\` property or a \`${k}\` property.` : Nt(11, w ? ` (${w})` : "", k));
6967
6967
  if (typeof _.main != "string")
6968
6968
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
6969
6969
  \`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
@@ -6979,7 +6979,7 @@ const theme1 = createTheme({ palette: {
6979
6979
  const theme2 = createTheme({ palette: {
6980
6980
  primary: { main: green[500] },
6981
6981
  } });` : Nt(12, w ? ` (${w})` : "", JSON.stringify(_.main)));
6982
- return o ? (ii(o, _, "light", $, r), ii(o, _, "dark", b, r)) : (oi(_, "light", $, r), oi(_, "dark", b, r)), _.contrastText || (_.contrastText = y(_.main)), _;
6982
+ return o ? (ii(o, _, "light", $, r), ii(o, _, "dark", y, r)) : (oi(_, "light", $, r), oi(_, "dark", y, r)), _.contrastText || (_.contrastText = b(_.main)), _;
6983
6983
  };
6984
6984
  let v;
6985
6985
  return t === "light" ? v = fs() : t === "dark" && (v = ms()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Ze({
@@ -6991,12 +6991,12 @@ const theme2 = createTheme({ palette: {
6991
6991
  // The palette mode, can be light or dark.
6992
6992
  mode: t,
6993
6993
  // The colors used to represent primary interface elements for a user.
6994
- primary: m({
6994
+ primary: p({
6995
6995
  color: a,
6996
6996
  name: "primary"
6997
6997
  }),
6998
6998
  // The colors used to represent secondary interface elements for a user.
6999
- secondary: m({
6999
+ secondary: p({
7000
7000
  color: l,
7001
7001
  name: "secondary",
7002
7002
  mainShade: "A400",
@@ -7004,22 +7004,22 @@ const theme2 = createTheme({ palette: {
7004
7004
  darkShade: "A700"
7005
7005
  }),
7006
7006
  // The colors used to represent interface elements that the user should be made aware of.
7007
- error: m({
7007
+ error: p({
7008
7008
  color: c,
7009
7009
  name: "error"
7010
7010
  }),
7011
7011
  // The colors used to represent potentially dangerous actions or important messages.
7012
- warning: m({
7012
+ warning: p({
7013
7013
  color: g,
7014
7014
  name: "warning"
7015
7015
  }),
7016
7016
  // The colors used to present information to the user that is neutral and not necessarily important.
7017
- info: m({
7017
+ info: p({
7018
7018
  color: d,
7019
7019
  name: "info"
7020
7020
  }),
7021
7021
  // The colors used to indicate the successful completion of an action that user triggered.
7022
- success: m({
7022
+ success: p({
7023
7023
  color: h,
7024
7024
  name: "success"
7025
7025
  }),
@@ -7029,9 +7029,9 @@ const theme2 = createTheme({ palette: {
7029
7029
  // the background and the text.
7030
7030
  contrastThreshold: n,
7031
7031
  // Takes a background color and returns the text color that maximizes the contrast.
7032
- getContrastText: y,
7032
+ getContrastText: b,
7033
7033
  // Generate a rich color object.
7034
- augmentColor: m,
7034
+ augmentColor: p,
7035
7035
  // Used by the functions below to shift a color's luminance by approximately
7036
7036
  // two indexes within its tonal palette.
7037
7037
  // E.g., shift from Red 500 to Red 300 or Red 700.
@@ -7088,18 +7088,18 @@ function c1(e, t) {
7088
7088
  ...g
7089
7089
  } = typeof t == "function" ? t(e) : t;
7090
7090
  process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
7091
- const y = r / 14, m = h || ((_) => `${_ / c * y}rem`), v = (_, w, S, $, b) => ({
7091
+ const b = r / 14, p = h || ((_) => `${_ / c * b}rem`), v = (_, w, k, $, y) => ({
7092
7092
  fontFamily: n,
7093
7093
  fontWeight: _,
7094
- fontSize: m(w),
7094
+ fontSize: p(w),
7095
7095
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
7096
- lineHeight: S,
7096
+ lineHeight: k,
7097
7097
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
7098
7098
  // across font-families can cause issues with the kerning.
7099
7099
  ...n === ai ? {
7100
7100
  letterSpacing: `${l1($ / w)}em`
7101
7101
  } : {},
7102
- ...b,
7102
+ ...y,
7103
7103
  ...d
7104
7104
  }), f = {
7105
7105
  h1: v(o, 96, 1.167, -1.5),
@@ -7126,7 +7126,7 @@ function c1(e, t) {
7126
7126
  };
7127
7127
  return Ze({
7128
7128
  htmlFontSize: c,
7129
- pxToRem: m,
7129
+ pxToRem: p,
7130
7130
  fontFamily: n,
7131
7131
  fontSize: r,
7132
7132
  fontWeightLight: o,
@@ -7193,7 +7193,7 @@ function y1(e) {
7193
7193
  ...d
7194
7194
  } = s;
7195
7195
  if (process.env.NODE_ENV !== "production") {
7196
- const h = (y) => typeof y == "string", g = (y) => !Number.isNaN(parseFloat(y));
7196
+ const h = (b) => typeof b == "string", g = (b) => !Number.isNaN(parseFloat(b));
7197
7197
  !h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(a) && !h(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), h(l) || console.error('MUI: Argument "easing" must be a string.'), !g(c) && !h(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
7198
7198
  `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
7199
7199
  }
@@ -7288,9 +7288,9 @@ function Wr(e = {}, ...t) {
7288
7288
  const g = ro({
7289
7289
  ...s,
7290
7290
  colorSpace: d
7291
- }), y = is(e);
7292
- let m = Ze(y, {
7293
- mixins: a1(y.breakpoints, r),
7291
+ }), b = is(e);
7292
+ let p = Ze(b, {
7293
+ mixins: a1(b.breakpoints, r),
7294
7294
  palette: g,
7295
7295
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
7296
7296
  shadows: p1.slice(),
@@ -7300,39 +7300,39 @@ function Wr(e = {}, ...t) {
7300
7300
  ...b1
7301
7301
  }
7302
7302
  });
7303
- if (m = Ze(m, h), m = t.reduce((v, f) => Ze(v, f), m), process.env.NODE_ENV !== "production") {
7303
+ if (p = Ze(p, h), p = t.reduce((v, f) => Ze(v, f), p), process.env.NODE_ENV !== "production") {
7304
7304
  const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (_, w) => {
7305
- let S;
7306
- for (S in _) {
7307
- const $ = _[S];
7308
- if (v.includes(S) && Object.keys($).length > 0) {
7305
+ let k;
7306
+ for (k in _) {
7307
+ const $ = _[k];
7308
+ if (v.includes(k) && Object.keys($).length > 0) {
7309
7309
  if (process.env.NODE_ENV !== "production") {
7310
- const b = to("", S);
7311
- console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${b}' syntax:`, JSON.stringify({
7310
+ const y = to("", k);
7311
+ console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${k}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${y}' syntax:`, JSON.stringify({
7312
7312
  root: {
7313
- [`&.${b}`]: $
7313
+ [`&.${y}`]: $
7314
7314
  }
7315
7315
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
7316
7316
  `));
7317
7317
  }
7318
- _[S] = {};
7318
+ _[k] = {};
7319
7319
  }
7320
7320
  }
7321
7321
  };
7322
- Object.keys(m.components).forEach((_) => {
7323
- const w = m.components[_].styleOverrides;
7322
+ Object.keys(p.components).forEach((_) => {
7323
+ const w = p.components[_].styleOverrides;
7324
7324
  w && _.startsWith("Mui") && f(w, _);
7325
7325
  });
7326
7326
  }
7327
- return m.unstable_sxConfig = {
7327
+ return p.unstable_sxConfig = {
7328
7328
  ...sr,
7329
7329
  ...h == null ? void 0 : h.unstable_sxConfig
7330
- }, m.unstable_sx = function(f) {
7330
+ }, p.unstable_sx = function(f) {
7331
7331
  return Kt({
7332
7332
  sx: f,
7333
7333
  theme: this
7334
7334
  });
7335
- }, m.toRuntimeSource = hs, _1(m), m;
7335
+ }, p.toRuntimeSource = hs, _1(p), p;
7336
7336
  }
7337
7337
  function x1(e) {
7338
7338
  let t;
@@ -7495,29 +7495,29 @@ function A1(e = {}, ...t) {
7495
7495
  colorSchemeSelector: c = n.light && n.dark ? "media" : void 0,
7496
7496
  rootSelector: d = ":root",
7497
7497
  ...h
7498
- } = e, g = Object.keys(n)[0], y = r || (n.light && g !== "light" ? "light" : g), m = O1(s), {
7499
- [y]: v,
7498
+ } = e, g = Object.keys(n)[0], b = r || (n.light && g !== "light" ? "light" : g), p = O1(s), {
7499
+ [b]: v,
7500
7500
  light: f,
7501
7501
  dark: _,
7502
7502
  ...w
7503
- } = n, S = {
7503
+ } = n, k = {
7504
7504
  ...w
7505
7505
  };
7506
7506
  let $ = v;
7507
- if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && ($ = !0), !$)
7508
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : Nt(21, y));
7509
- let b;
7510
- a && (b = "oklch");
7511
- const C = Er(b, S, $, h, y);
7512
- f && !S.light && Er(b, S, f, void 0, "light"), _ && !S.dark && Er(b, S, _, void 0, "dark");
7507
+ if ((b === "dark" && !("dark" in n) || b === "light" && !("light" in n)) && ($ = !0), !$)
7508
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${b}\` option is either missing or invalid.` : Nt(21, b));
7509
+ let y;
7510
+ a && (y = "oklch");
7511
+ const C = Er(y, k, $, h, b);
7512
+ f && !k.light && Er(y, k, f, void 0, "light"), _ && !k.dark && Er(y, k, _, void 0, "dark");
7513
7513
  let x = {
7514
- defaultColorScheme: y,
7514
+ defaultColorScheme: b,
7515
7515
  ...C,
7516
7516
  cssVarPrefix: s,
7517
7517
  colorSchemeSelector: c,
7518
7518
  rootSelector: d,
7519
- getCssVar: m,
7520
- colorSchemes: S,
7519
+ getCssVar: p,
7520
+ colorSchemes: k,
7521
7521
  font: {
7522
7522
  ...s1(C.typography),
7523
7523
  ...C.font
@@ -7525,54 +7525,54 @@ function A1(e = {}, ...t) {
7525
7525
  spacing: E1(h.spacing)
7526
7526
  };
7527
7527
  Object.keys(x.colorSchemes).forEach((z) => {
7528
- const p = x.colorSchemes[z].palette, E = (B) => {
7528
+ const m = x.colorSchemes[z].palette, E = (B) => {
7529
7529
  const F = B.split("-"), Y = F[1], W = F[2];
7530
- return m(B, p[Y][W]);
7530
+ return p(B, m[Y][W]);
7531
7531
  };
7532
- p.mode === "light" && (N(p.common, "background", "#fff"), N(p.common, "onBackground", "#000")), p.mode === "dark" && (N(p.common, "background", "#000"), N(p.common, "onBackground", "#fff"));
7533
- function k(B, F, Y) {
7534
- if (b) {
7532
+ m.mode === "light" && (N(m.common, "background", "#fff"), N(m.common, "onBackground", "#000")), m.mode === "dark" && (N(m.common, "background", "#000"), N(m.common, "onBackground", "#fff"));
7533
+ function S(B, F, Y) {
7534
+ if (y) {
7535
7535
  let W;
7536
- return B === wt && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), B === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), B === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${b}, ${F}, ${W})`;
7536
+ return B === wt && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), B === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), B === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${y}, ${F}, ${W})`;
7537
7537
  }
7538
7538
  return B(F, Y);
7539
7539
  }
7540
- if (N1(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") {
7541
- N(p.Alert, "errorColor", k(me, a ? m("palette-error-light") : p.error.light, 0.6)), N(p.Alert, "infoColor", k(me, a ? m("palette-info-light") : p.info.light, 0.6)), N(p.Alert, "successColor", k(me, a ? m("palette-success-light") : p.success.light, 0.6)), N(p.Alert, "warningColor", k(me, a ? m("palette-warning-light") : p.warning.light, 0.6)), N(p.Alert, "errorFilledBg", E("palette-error-main")), N(p.Alert, "infoFilledBg", E("palette-info-main")), N(p.Alert, "successFilledBg", E("palette-success-main")), N(p.Alert, "warningFilledBg", E("palette-warning-main")), N(p.Alert, "errorFilledColor", tt(() => p.getContrastText(p.error.main))), N(p.Alert, "infoFilledColor", tt(() => p.getContrastText(p.info.main))), N(p.Alert, "successFilledColor", tt(() => p.getContrastText(p.success.main))), N(p.Alert, "warningFilledColor", tt(() => p.getContrastText(p.warning.main))), N(p.Alert, "errorStandardBg", k(he, a ? m("palette-error-light") : p.error.light, 0.9)), N(p.Alert, "infoStandardBg", k(he, a ? m("palette-info-light") : p.info.light, 0.9)), N(p.Alert, "successStandardBg", k(he, a ? m("palette-success-light") : p.success.light, 0.9)), N(p.Alert, "warningStandardBg", k(he, a ? m("palette-warning-light") : p.warning.light, 0.9)), N(p.Alert, "errorIconColor", E("palette-error-main")), N(p.Alert, "infoIconColor", E("palette-info-main")), N(p.Alert, "successIconColor", E("palette-success-main")), N(p.Alert, "warningIconColor", E("palette-warning-main")), N(p.AppBar, "defaultBg", E("palette-grey-100")), N(p.Avatar, "defaultBg", E("palette-grey-400")), N(p.Button, "inheritContainedBg", E("palette-grey-300")), N(p.Button, "inheritContainedHoverBg", E("palette-grey-A100")), N(p.Chip, "defaultBorder", E("palette-grey-400")), N(p.Chip, "defaultAvatarColor", E("palette-grey-700")), N(p.Chip, "defaultIconColor", E("palette-grey-700")), N(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), N(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), N(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), N(p.LinearProgress, "primaryBg", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), N(p.LinearProgress, "secondaryBg", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), N(p.LinearProgress, "errorBg", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), N(p.LinearProgress, "infoBg", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), N(p.LinearProgress, "successBg", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), N(p.LinearProgress, "warningBg", k(he, a ? m("palette-warning-light") : p.warning.main, 0.62)), N(p.Skeleton, "bg", b ? k(wt, a ? m("palette-text-primary") : p.text.primary, 0.11) : `rgba(${E("palette-text-primaryChannel")} / 0.11)`), N(p.Slider, "primaryTrack", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), N(p.Slider, "secondaryTrack", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), N(p.Slider, "errorTrack", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), N(p.Slider, "infoTrack", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), N(p.Slider, "successTrack", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), N(p.Slider, "warningTrack", k(he, a ? m("palette-warning-main") : p.warning.main, 0.62));
7542
- const B = b ? k(me, a ? m("palette-background-default") : p.background.default, 0.6825) : Mn(p.background.default, 0.8);
7543
- N(p.SnackbarContent, "bg", B), N(p.SnackbarContent, "color", tt(() => b ? qr.text.primary : p.getContrastText(B))), N(p.SpeedDialAction, "fabHoverBg", Mn(p.background.paper, 0.15)), N(p.StepConnector, "border", E("palette-grey-400")), N(p.StepContent, "border", E("palette-grey-400")), N(p.Switch, "defaultColor", E("palette-common-white")), N(p.Switch, "defaultDisabledColor", E("palette-grey-100")), N(p.Switch, "primaryDisabledColor", k(he, a ? m("palette-primary-main") : p.primary.main, 0.62)), N(p.Switch, "secondaryDisabledColor", k(he, a ? m("palette-secondary-main") : p.secondary.main, 0.62)), N(p.Switch, "errorDisabledColor", k(he, a ? m("palette-error-main") : p.error.main, 0.62)), N(p.Switch, "infoDisabledColor", k(he, a ? m("palette-info-main") : p.info.main, 0.62)), N(p.Switch, "successDisabledColor", k(he, a ? m("palette-success-main") : p.success.main, 0.62)), N(p.Switch, "warningDisabledColor", k(he, a ? m("palette-warning-main") : p.warning.main, 0.62)), N(p.TableCell, "border", k(he, wt(a ? m("palette-divider") : p.divider, 1), 0.88)), N(p.Tooltip, "bg", k(wt, a ? m("palette-grey-700") : p.grey[700], 0.92));
7540
+ if (N1(m, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), m.mode === "light") {
7541
+ N(m.Alert, "errorColor", S(me, a ? p("palette-error-light") : m.error.light, 0.6)), N(m.Alert, "infoColor", S(me, a ? p("palette-info-light") : m.info.light, 0.6)), N(m.Alert, "successColor", S(me, a ? p("palette-success-light") : m.success.light, 0.6)), N(m.Alert, "warningColor", S(me, a ? p("palette-warning-light") : m.warning.light, 0.6)), N(m.Alert, "errorFilledBg", E("palette-error-main")), N(m.Alert, "infoFilledBg", E("palette-info-main")), N(m.Alert, "successFilledBg", E("palette-success-main")), N(m.Alert, "warningFilledBg", E("palette-warning-main")), N(m.Alert, "errorFilledColor", tt(() => m.getContrastText(m.error.main))), N(m.Alert, "infoFilledColor", tt(() => m.getContrastText(m.info.main))), N(m.Alert, "successFilledColor", tt(() => m.getContrastText(m.success.main))), N(m.Alert, "warningFilledColor", tt(() => m.getContrastText(m.warning.main))), N(m.Alert, "errorStandardBg", S(he, a ? p("palette-error-light") : m.error.light, 0.9)), N(m.Alert, "infoStandardBg", S(he, a ? p("palette-info-light") : m.info.light, 0.9)), N(m.Alert, "successStandardBg", S(he, a ? p("palette-success-light") : m.success.light, 0.9)), N(m.Alert, "warningStandardBg", S(he, a ? p("palette-warning-light") : m.warning.light, 0.9)), N(m.Alert, "errorIconColor", E("palette-error-main")), N(m.Alert, "infoIconColor", E("palette-info-main")), N(m.Alert, "successIconColor", E("palette-success-main")), N(m.Alert, "warningIconColor", E("palette-warning-main")), N(m.AppBar, "defaultBg", E("palette-grey-100")), N(m.Avatar, "defaultBg", E("palette-grey-400")), N(m.Button, "inheritContainedBg", E("palette-grey-300")), N(m.Button, "inheritContainedHoverBg", E("palette-grey-A100")), N(m.Chip, "defaultBorder", E("palette-grey-400")), N(m.Chip, "defaultAvatarColor", E("palette-grey-700")), N(m.Chip, "defaultIconColor", E("palette-grey-700")), N(m.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), N(m.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), N(m.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), N(m.LinearProgress, "primaryBg", S(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), N(m.LinearProgress, "secondaryBg", S(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), N(m.LinearProgress, "errorBg", S(he, a ? p("palette-error-main") : m.error.main, 0.62)), N(m.LinearProgress, "infoBg", S(he, a ? p("palette-info-main") : m.info.main, 0.62)), N(m.LinearProgress, "successBg", S(he, a ? p("palette-success-main") : m.success.main, 0.62)), N(m.LinearProgress, "warningBg", S(he, a ? p("palette-warning-light") : m.warning.main, 0.62)), N(m.Skeleton, "bg", y ? S(wt, a ? p("palette-text-primary") : m.text.primary, 0.11) : `rgba(${E("palette-text-primaryChannel")} / 0.11)`), N(m.Slider, "primaryTrack", S(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), N(m.Slider, "secondaryTrack", S(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), N(m.Slider, "errorTrack", S(he, a ? p("palette-error-main") : m.error.main, 0.62)), N(m.Slider, "infoTrack", S(he, a ? p("palette-info-main") : m.info.main, 0.62)), N(m.Slider, "successTrack", S(he, a ? p("palette-success-main") : m.success.main, 0.62)), N(m.Slider, "warningTrack", S(he, a ? p("palette-warning-main") : m.warning.main, 0.62));
7542
+ const B = y ? S(me, a ? p("palette-background-default") : m.background.default, 0.6825) : Mn(m.background.default, 0.8);
7543
+ N(m.SnackbarContent, "bg", B), N(m.SnackbarContent, "color", tt(() => y ? qr.text.primary : m.getContrastText(B))), N(m.SpeedDialAction, "fabHoverBg", Mn(m.background.paper, 0.15)), N(m.StepConnector, "border", E("palette-grey-400")), N(m.StepContent, "border", E("palette-grey-400")), N(m.Switch, "defaultColor", E("palette-common-white")), N(m.Switch, "defaultDisabledColor", E("palette-grey-100")), N(m.Switch, "primaryDisabledColor", S(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), N(m.Switch, "secondaryDisabledColor", S(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), N(m.Switch, "errorDisabledColor", S(he, a ? p("palette-error-main") : m.error.main, 0.62)), N(m.Switch, "infoDisabledColor", S(he, a ? p("palette-info-main") : m.info.main, 0.62)), N(m.Switch, "successDisabledColor", S(he, a ? p("palette-success-main") : m.success.main, 0.62)), N(m.Switch, "warningDisabledColor", S(he, a ? p("palette-warning-main") : m.warning.main, 0.62)), N(m.TableCell, "border", S(he, wt(a ? p("palette-divider") : m.divider, 1), 0.88)), N(m.Tooltip, "bg", S(wt, a ? p("palette-grey-700") : m.grey[700], 0.92));
7544
7544
  }
7545
- if (p.mode === "dark") {
7546
- N(p.Alert, "errorColor", k(he, a ? m("palette-error-light") : p.error.light, 0.6)), N(p.Alert, "infoColor", k(he, a ? m("palette-info-light") : p.info.light, 0.6)), N(p.Alert, "successColor", k(he, a ? m("palette-success-light") : p.success.light, 0.6)), N(p.Alert, "warningColor", k(he, a ? m("palette-warning-light") : p.warning.light, 0.6)), N(p.Alert, "errorFilledBg", E("palette-error-dark")), N(p.Alert, "infoFilledBg", E("palette-info-dark")), N(p.Alert, "successFilledBg", E("palette-success-dark")), N(p.Alert, "warningFilledBg", E("palette-warning-dark")), N(p.Alert, "errorFilledColor", tt(() => p.getContrastText(p.error.dark))), N(p.Alert, "infoFilledColor", tt(() => p.getContrastText(p.info.dark))), N(p.Alert, "successFilledColor", tt(() => p.getContrastText(p.success.dark))), N(p.Alert, "warningFilledColor", tt(() => p.getContrastText(p.warning.dark))), N(p.Alert, "errorStandardBg", k(me, a ? m("palette-error-light") : p.error.light, 0.9)), N(p.Alert, "infoStandardBg", k(me, a ? m("palette-info-light") : p.info.light, 0.9)), N(p.Alert, "successStandardBg", k(me, a ? m("palette-success-light") : p.success.light, 0.9)), N(p.Alert, "warningStandardBg", k(me, a ? m("palette-warning-light") : p.warning.light, 0.9)), N(p.Alert, "errorIconColor", E("palette-error-main")), N(p.Alert, "infoIconColor", E("palette-info-main")), N(p.Alert, "successIconColor", E("palette-success-main")), N(p.Alert, "warningIconColor", E("palette-warning-main")), N(p.AppBar, "defaultBg", E("palette-grey-900")), N(p.AppBar, "darkBg", E("palette-background-paper")), N(p.AppBar, "darkColor", E("palette-text-primary")), N(p.Avatar, "defaultBg", E("palette-grey-600")), N(p.Button, "inheritContainedBg", E("palette-grey-800")), N(p.Button, "inheritContainedHoverBg", E("palette-grey-700")), N(p.Chip, "defaultBorder", E("palette-grey-700")), N(p.Chip, "defaultAvatarColor", E("palette-grey-300")), N(p.Chip, "defaultIconColor", E("palette-grey-300")), N(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), N(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), N(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), N(p.LinearProgress, "primaryBg", k(me, a ? m("palette-primary-main") : p.primary.main, 0.5)), N(p.LinearProgress, "secondaryBg", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), N(p.LinearProgress, "errorBg", k(me, a ? m("palette-error-main") : p.error.main, 0.5)), N(p.LinearProgress, "infoBg", k(me, a ? m("palette-info-main") : p.info.main, 0.5)), N(p.LinearProgress, "successBg", k(me, a ? m("palette-success-main") : p.success.main, 0.5)), N(p.LinearProgress, "warningBg", k(me, a ? m("palette-warning-main") : p.warning.main, 0.5)), N(p.Skeleton, "bg", b ? k(wt, a ? m("palette-text-primary") : p.text.primary, 0.13) : `rgba(${E("palette-text-primaryChannel")} / 0.13)`), N(p.Slider, "primaryTrack", k(me, a ? m("palette-primary-main") : p.primary.main, 0.5)), N(p.Slider, "secondaryTrack", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.5)), N(p.Slider, "errorTrack", k(me, a ? m("palette-error-main") : p.error.main, 0.5)), N(p.Slider, "infoTrack", k(me, a ? m("palette-info-main") : p.info.main, 0.5)), N(p.Slider, "successTrack", k(me, a ? m("palette-success-main") : p.success.main, 0.5)), N(p.Slider, "warningTrack", k(me, a ? m("palette-warning-light") : p.warning.main, 0.5));
7547
- const B = b ? k(he, a ? m("palette-background-default") : p.background.default, 0.985) : Mn(p.background.default, 0.98);
7548
- N(p.SnackbarContent, "bg", B), N(p.SnackbarContent, "color", tt(() => b ? ps.text.primary : p.getContrastText(B))), N(p.SpeedDialAction, "fabHoverBg", Mn(p.background.paper, 0.15)), N(p.StepConnector, "border", E("palette-grey-600")), N(p.StepContent, "border", E("palette-grey-600")), N(p.Switch, "defaultColor", E("palette-grey-300")), N(p.Switch, "defaultDisabledColor", E("palette-grey-600")), N(p.Switch, "primaryDisabledColor", k(me, a ? m("palette-primary-main") : p.primary.main, 0.55)), N(p.Switch, "secondaryDisabledColor", k(me, a ? m("palette-secondary-main") : p.secondary.main, 0.55)), N(p.Switch, "errorDisabledColor", k(me, a ? m("palette-error-main") : p.error.main, 0.55)), N(p.Switch, "infoDisabledColor", k(me, a ? m("palette-info-main") : p.info.main, 0.55)), N(p.Switch, "successDisabledColor", k(me, a ? m("palette-success-main") : p.success.main, 0.55)), N(p.Switch, "warningDisabledColor", k(me, a ? m("palette-warning-light") : p.warning.main, 0.55)), N(p.TableCell, "border", k(me, wt(a ? m("palette-divider") : p.divider, 1), 0.68)), N(p.Tooltip, "bg", k(wt, a ? m("palette-grey-700") : p.grey[700], 0.92));
7545
+ if (m.mode === "dark") {
7546
+ N(m.Alert, "errorColor", S(he, a ? p("palette-error-light") : m.error.light, 0.6)), N(m.Alert, "infoColor", S(he, a ? p("palette-info-light") : m.info.light, 0.6)), N(m.Alert, "successColor", S(he, a ? p("palette-success-light") : m.success.light, 0.6)), N(m.Alert, "warningColor", S(he, a ? p("palette-warning-light") : m.warning.light, 0.6)), N(m.Alert, "errorFilledBg", E("palette-error-dark")), N(m.Alert, "infoFilledBg", E("palette-info-dark")), N(m.Alert, "successFilledBg", E("palette-success-dark")), N(m.Alert, "warningFilledBg", E("palette-warning-dark")), N(m.Alert, "errorFilledColor", tt(() => m.getContrastText(m.error.dark))), N(m.Alert, "infoFilledColor", tt(() => m.getContrastText(m.info.dark))), N(m.Alert, "successFilledColor", tt(() => m.getContrastText(m.success.dark))), N(m.Alert, "warningFilledColor", tt(() => m.getContrastText(m.warning.dark))), N(m.Alert, "errorStandardBg", S(me, a ? p("palette-error-light") : m.error.light, 0.9)), N(m.Alert, "infoStandardBg", S(me, a ? p("palette-info-light") : m.info.light, 0.9)), N(m.Alert, "successStandardBg", S(me, a ? p("palette-success-light") : m.success.light, 0.9)), N(m.Alert, "warningStandardBg", S(me, a ? p("palette-warning-light") : m.warning.light, 0.9)), N(m.Alert, "errorIconColor", E("palette-error-main")), N(m.Alert, "infoIconColor", E("palette-info-main")), N(m.Alert, "successIconColor", E("palette-success-main")), N(m.Alert, "warningIconColor", E("palette-warning-main")), N(m.AppBar, "defaultBg", E("palette-grey-900")), N(m.AppBar, "darkBg", E("palette-background-paper")), N(m.AppBar, "darkColor", E("palette-text-primary")), N(m.Avatar, "defaultBg", E("palette-grey-600")), N(m.Button, "inheritContainedBg", E("palette-grey-800")), N(m.Button, "inheritContainedHoverBg", E("palette-grey-700")), N(m.Chip, "defaultBorder", E("palette-grey-700")), N(m.Chip, "defaultAvatarColor", E("palette-grey-300")), N(m.Chip, "defaultIconColor", E("palette-grey-300")), N(m.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), N(m.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), N(m.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), N(m.LinearProgress, "primaryBg", S(me, a ? p("palette-primary-main") : m.primary.main, 0.5)), N(m.LinearProgress, "secondaryBg", S(me, a ? p("palette-secondary-main") : m.secondary.main, 0.5)), N(m.LinearProgress, "errorBg", S(me, a ? p("palette-error-main") : m.error.main, 0.5)), N(m.LinearProgress, "infoBg", S(me, a ? p("palette-info-main") : m.info.main, 0.5)), N(m.LinearProgress, "successBg", S(me, a ? p("palette-success-main") : m.success.main, 0.5)), N(m.LinearProgress, "warningBg", S(me, a ? p("palette-warning-main") : m.warning.main, 0.5)), N(m.Skeleton, "bg", y ? S(wt, a ? p("palette-text-primary") : m.text.primary, 0.13) : `rgba(${E("palette-text-primaryChannel")} / 0.13)`), N(m.Slider, "primaryTrack", S(me, a ? p("palette-primary-main") : m.primary.main, 0.5)), N(m.Slider, "secondaryTrack", S(me, a ? p("palette-secondary-main") : m.secondary.main, 0.5)), N(m.Slider, "errorTrack", S(me, a ? p("palette-error-main") : m.error.main, 0.5)), N(m.Slider, "infoTrack", S(me, a ? p("palette-info-main") : m.info.main, 0.5)), N(m.Slider, "successTrack", S(me, a ? p("palette-success-main") : m.success.main, 0.5)), N(m.Slider, "warningTrack", S(me, a ? p("palette-warning-light") : m.warning.main, 0.5));
7547
+ const B = y ? S(he, a ? p("palette-background-default") : m.background.default, 0.985) : Mn(m.background.default, 0.98);
7548
+ N(m.SnackbarContent, "bg", B), N(m.SnackbarContent, "color", tt(() => y ? ps.text.primary : m.getContrastText(B))), N(m.SpeedDialAction, "fabHoverBg", Mn(m.background.paper, 0.15)), N(m.StepConnector, "border", E("palette-grey-600")), N(m.StepContent, "border", E("palette-grey-600")), N(m.Switch, "defaultColor", E("palette-grey-300")), N(m.Switch, "defaultDisabledColor", E("palette-grey-600")), N(m.Switch, "primaryDisabledColor", S(me, a ? p("palette-primary-main") : m.primary.main, 0.55)), N(m.Switch, "secondaryDisabledColor", S(me, a ? p("palette-secondary-main") : m.secondary.main, 0.55)), N(m.Switch, "errorDisabledColor", S(me, a ? p("palette-error-main") : m.error.main, 0.55)), N(m.Switch, "infoDisabledColor", S(me, a ? p("palette-info-main") : m.info.main, 0.55)), N(m.Switch, "successDisabledColor", S(me, a ? p("palette-success-main") : m.success.main, 0.55)), N(m.Switch, "warningDisabledColor", S(me, a ? p("palette-warning-light") : m.warning.main, 0.55)), N(m.TableCell, "border", S(me, wt(a ? p("palette-divider") : m.divider, 1), 0.68)), N(m.Tooltip, "bg", S(wt, a ? p("palette-grey-700") : m.grey[700], 0.92));
7549
7549
  }
7550
- a || (ot(p.background, "default"), ot(p.background, "paper"), ot(p.common, "background"), ot(p.common, "onBackground"), ot(p, "divider")), Object.keys(p).forEach((B) => {
7551
- const F = p[B];
7552
- B !== "tonalOffset" && !a && F && typeof F == "object" && (F.main && N(p[B], "mainChannel", an(ln(F.main))), F.light && N(p[B], "lightChannel", an(ln(F.light))), F.dark && N(p[B], "darkChannel", an(ln(F.dark))), F.contrastText && N(p[B], "contrastTextChannel", an(ln(F.contrastText))), B === "text" && (ot(p[B], "primary"), ot(p[B], "secondary")), B === "action" && (F.active && ot(p[B], "active"), F.selected && ot(p[B], "selected")));
7550
+ a || (ot(m.background, "default"), ot(m.background, "paper"), ot(m.common, "background"), ot(m.common, "onBackground"), ot(m, "divider")), Object.keys(m).forEach((B) => {
7551
+ const F = m[B];
7552
+ B !== "tonalOffset" && !a && F && typeof F == "object" && (F.main && N(m[B], "mainChannel", an(ln(F.main))), F.light && N(m[B], "lightChannel", an(ln(F.light))), F.dark && N(m[B], "darkChannel", an(ln(F.dark))), F.contrastText && N(m[B], "contrastTextChannel", an(ln(F.contrastText))), B === "text" && (ot(m[B], "primary"), ot(m[B], "secondary")), B === "action" && (F.active && ot(m[B], "active"), F.selected && ot(m[B], "selected")));
7553
7553
  });
7554
- }), x = t.reduce((z, p) => Ze(z, p), x);
7555
- const M = {
7554
+ }), x = t.reduce((z, m) => Ze(z, m), x);
7555
+ const A = {
7556
7556
  prefix: s,
7557
7557
  disableCssColorScheme: o,
7558
7558
  shouldSkipGeneratingVar: l,
7559
7559
  getSelector: $1(x),
7560
7560
  enableContrastVars: a
7561
7561
  }, {
7562
- vars: D,
7562
+ vars: R,
7563
7563
  generateThemeVars: O,
7564
7564
  generateStyleSheets: q
7565
- } = Y2(x, M);
7566
- return x.vars = D, Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([z, p]) => {
7567
- x[z] = p;
7565
+ } = Y2(x, A);
7566
+ return x.vars = R, Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([z, m]) => {
7567
+ x[z] = m;
7568
7568
  }), x.generateThemeVars = O, x.generateStyleSheets = q, x.generateSpacing = function() {
7569
7569
  return os(h.spacing, Jr(this));
7570
7570
  }, x.getColorSchemeSelector = X2(c), x.spacing = x.generateSpacing(), x.shouldSkipGeneratingVar = l, x.unstable_sxConfig = {
7571
7571
  ...sr,
7572
7572
  ...h == null ? void 0 : h.unstable_sxConfig
7573
- }, x.unstable_sx = function(p) {
7573
+ }, x.unstable_sx = function(m) {
7574
7574
  return Kt({
7575
- sx: p,
7575
+ sx: m,
7576
7576
  theme: this
7577
7577
  });
7578
7578
  }, x.toRuntimeSource = hs, x;
@@ -8228,46 +8228,46 @@ const Z1 = Mt("span", {
8228
8228
  components: d = {},
8229
8229
  componentsProps: h = {},
8230
8230
  color: g = "primary",
8231
- classes: y,
8232
- className: m,
8231
+ classes: b,
8232
+ className: p,
8233
8233
  disableSwap: v = !1,
8234
8234
  disabled: f = !1,
8235
8235
  getAriaLabel: _,
8236
8236
  getAriaValueText: w,
8237
- marks: S = !1,
8237
+ marks: k = !1,
8238
8238
  max: $ = 100,
8239
- min: b = 0,
8239
+ min: y = 0,
8240
8240
  name: C,
8241
8241
  onChange: x,
8242
- onChangeCommitted: M,
8243
- orientation: D = "horizontal",
8242
+ onChangeCommitted: A,
8243
+ orientation: R = "horizontal",
8244
8244
  shiftStep: O = 10,
8245
8245
  size: q = "medium",
8246
8246
  step: z = 1,
8247
- scale: p = di,
8247
+ scale: m = di,
8248
8248
  slotProps: E,
8249
- slots: k,
8249
+ slots: S,
8250
8250
  tabIndex: B,
8251
8251
  track: F = "normal",
8252
8252
  value: Y,
8253
8253
  valueLabelDisplay: W = "off",
8254
8254
  valueLabelFormat: ce = di,
8255
- ...R
8256
- } = r, A = {
8255
+ ...D
8256
+ } = r, L = {
8257
8257
  ...r,
8258
8258
  isRtl: o,
8259
8259
  max: $,
8260
- min: b,
8261
- classes: y,
8260
+ min: y,
8261
+ classes: b,
8262
8262
  disabled: f,
8263
8263
  disableSwap: v,
8264
- orientation: D,
8265
- marks: S,
8264
+ orientation: R,
8265
+ marks: k,
8266
8266
  color: g,
8267
8267
  size: q,
8268
8268
  step: z,
8269
8269
  shiftStep: O,
8270
- scale: p,
8270
+ scale: m,
8271
8271
  track: F,
8272
8272
  valueLabelDisplay: W,
8273
8273
  valueLabelFormat: ce
@@ -8288,29 +8288,29 @@ const Z1 = Mt("span", {
8288
8288
  trackLeap: et,
8289
8289
  getThumbStyle: j
8290
8290
  } = v0({
8291
- ...A,
8291
+ ...L,
8292
8292
  rootRef: n
8293
8293
  });
8294
- A.marked = I.length > 0 && I.some((Ne) => Ne.label), A.dragging = ue, A.focusedThumbIndex = oe;
8295
- const re = K1(A), we = (k == null ? void 0 : k.root) ?? d.Root ?? j1, Ce = (k == null ? void 0 : k.rail) ?? d.Rail ?? q1, Le = (k == null ? void 0 : k.track) ?? d.Track ?? W1, je = (k == null ? void 0 : k.thumb) ?? d.Thumb ?? U1, Qe = (k == null ? void 0 : k.valueLabel) ?? d.ValueLabel ?? vs, _e = (k == null ? void 0 : k.mark) ?? d.Mark ?? Z1, qe = (k == null ? void 0 : k.markLabel) ?? d.MarkLabel ?? H1, L = (k == null ? void 0 : k.input) ?? d.Input ?? "input", V = (E == null ? void 0 : E.root) ?? h.root, H = (E == null ? void 0 : E.rail) ?? h.rail, ae = (E == null ? void 0 : E.track) ?? h.track, be = (E == null ? void 0 : E.thumb) ?? h.thumb, X = (E == null ? void 0 : E.valueLabel) ?? h.valueLabel, Me = (E == null ? void 0 : E.mark) ?? h.mark, Pe = (E == null ? void 0 : E.markLabel) ?? h.markLabel, Oe = (E == null ? void 0 : E.input) ?? h.input, He = pt({
8294
+ L.marked = I.length > 0 && I.some((Ne) => Ne.label), L.dragging = ue, L.focusedThumbIndex = oe;
8295
+ const re = K1(L), we = (S == null ? void 0 : S.root) ?? d.Root ?? j1, Ce = (S == null ? void 0 : S.rail) ?? d.Rail ?? q1, Le = (S == null ? void 0 : S.track) ?? d.Track ?? W1, je = (S == null ? void 0 : S.thumb) ?? d.Thumb ?? U1, Qe = (S == null ? void 0 : S.valueLabel) ?? d.ValueLabel ?? vs, _e = (S == null ? void 0 : S.mark) ?? d.Mark ?? Z1, qe = (S == null ? void 0 : S.markLabel) ?? d.MarkLabel ?? H1, M = (S == null ? void 0 : S.input) ?? d.Input ?? "input", V = (E == null ? void 0 : E.root) ?? h.root, H = (E == null ? void 0 : E.rail) ?? h.rail, ae = (E == null ? void 0 : E.track) ?? h.track, be = (E == null ? void 0 : E.thumb) ?? h.thumb, X = (E == null ? void 0 : E.valueLabel) ?? h.valueLabel, Me = (E == null ? void 0 : E.mark) ?? h.mark, Pe = (E == null ? void 0 : E.markLabel) ?? h.markLabel, Oe = (E == null ? void 0 : E.input) ?? h.input, He = pt({
8296
8296
  elementType: we,
8297
8297
  getSlotProps: K,
8298
8298
  externalSlotProps: V,
8299
- externalForwardedProps: R,
8299
+ externalForwardedProps: D,
8300
8300
  additionalProps: {
8301
8301
  ...P1(we) && {
8302
8302
  as: c
8303
8303
  }
8304
8304
  },
8305
8305
  ownerState: {
8306
- ...A,
8306
+ ...L,
8307
8307
  ...V == null ? void 0 : V.ownerState
8308
8308
  },
8309
- className: [re.root, m]
8309
+ className: [re.root, p]
8310
8310
  }), Qt = pt({
8311
8311
  elementType: Ce,
8312
8312
  externalSlotProps: H,
8313
- ownerState: A,
8313
+ ownerState: L,
8314
8314
  className: re.rail
8315
8315
  }), Ms = pt({
8316
8316
  elementType: Le,
@@ -8322,7 +8322,7 @@ const Z1 = Mt("span", {
8322
8322
  }
8323
8323
  },
8324
8324
  ownerState: {
8325
- ...A,
8325
+ ...L,
8326
8326
  ...ae == null ? void 0 : ae.ownerState
8327
8327
  },
8328
8328
  className: re.track
@@ -8331,7 +8331,7 @@ const Z1 = Mt("span", {
8331
8331
  getSlotProps: Z,
8332
8332
  externalSlotProps: be,
8333
8333
  ownerState: {
8334
- ...A,
8334
+ ...L,
8335
8335
  ...be == null ? void 0 : be.ownerState
8336
8336
  },
8337
8337
  className: re.thumb
@@ -8339,25 +8339,25 @@ const Z1 = Mt("span", {
8339
8339
  elementType: Qe,
8340
8340
  externalSlotProps: X,
8341
8341
  ownerState: {
8342
- ...A,
8342
+ ...L,
8343
8343
  ...X == null ? void 0 : X.ownerState
8344
8344
  },
8345
8345
  className: re.valueLabel
8346
8346
  }), dr = pt({
8347
8347
  elementType: _e,
8348
8348
  externalSlotProps: Me,
8349
- ownerState: A,
8349
+ ownerState: L,
8350
8350
  className: re.mark
8351
8351
  }), fr = pt({
8352
8352
  elementType: qe,
8353
8353
  externalSlotProps: Pe,
8354
- ownerState: A,
8354
+ ownerState: L,
8355
8355
  className: re.markLabel
8356
8356
  }), Ds = pt({
8357
- elementType: L,
8357
+ elementType: M,
8358
8358
  getSlotProps: P,
8359
8359
  externalSlotProps: Oe,
8360
- ownerState: A
8360
+ ownerState: L
8361
8361
  });
8362
8362
  return /* @__PURE__ */ T(we, {
8363
8363
  ...He,
@@ -8365,8 +8365,8 @@ const Z1 = Mt("span", {
8365
8365
  ...Qt
8366
8366
  }), /* @__PURE__ */ u(Le, {
8367
8367
  ...Ms
8368
- }), I.filter((Ne) => Ne.value >= b && Ne.value <= $).map((Ne, De) => {
8369
- const pr = Un(Ne.value, b, $), Cn = J[U].offset(pr);
8368
+ }), I.filter((Ne) => Ne.value >= y && Ne.value <= $).map((Ne, De) => {
8369
+ const pr = Un(Ne.value, y, $), Cn = J[U].offset(pr);
8370
8370
  let rt;
8371
8371
  return F === !1 ? rt = se.includes(Ne.value) : rt = F === "normal" && (ee ? Ne.value >= se[0] && Ne.value <= se[se.length - 1] : Ne.value <= se[0]) || F === "inverted" && (ee ? Ne.value <= se[0] || Ne.value >= se[se.length - 1] : Ne.value >= se[0]), /* @__PURE__ */ T(Q.Fragment, {
8372
8372
  children: [/* @__PURE__ */ u(_e, {
@@ -8396,14 +8396,14 @@ const Z1 = Mt("span", {
8396
8396
  }) : null]
8397
8397
  }, De);
8398
8398
  }), se.map((Ne, De) => {
8399
- const pr = Un(Ne, b, $), Cn = J[U].offset(pr), rt = W === "off" ? G1 : Qe;
8399
+ const pr = Un(Ne, y, $), Cn = J[U].offset(pr), rt = W === "off" ? G1 : Qe;
8400
8400
  return (
8401
8401
  /* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
8402
8402
  /* @__PURE__ */ u(rt, {
8403
8403
  ...!un(rt) && {
8404
8404
  valueLabelFormat: ce,
8405
8405
  valueLabelDisplay: W,
8406
- value: typeof ce == "function" ? ce(p(Ne), De) : ce,
8406
+ value: typeof ce == "function" ? ce(m(Ne), De) : ce,
8407
8407
  index: De,
8408
8408
  open: ne === De || G === De || W === "on",
8409
8409
  disabled: f
@@ -8418,12 +8418,12 @@ const Z1 = Mt("span", {
8418
8418
  ...j(De),
8419
8419
  ...ur.style
8420
8420
  },
8421
- children: /* @__PURE__ */ u(L, {
8421
+ children: /* @__PURE__ */ u(M, {
8422
8422
  "data-index": De,
8423
8423
  "aria-label": _ ? _(De) : s,
8424
- "aria-valuenow": p(Ne),
8424
+ "aria-valuenow": m(Ne),
8425
8425
  "aria-labelledby": l,
8426
- "aria-valuetext": w ? w(p(Ne), De) : a,
8426
+ "aria-valuetext": w ? w(m(Ne), De) : a,
8427
8427
  value: se[De],
8428
8428
  ...Ds
8429
8429
  })
@@ -8717,22 +8717,22 @@ const Y1 = "_slider_1prh1_2", X1 = "_playButton_1prh1_14", Q1 = "_sliderOpen_1pr
8717
8717
  console.log("year changed to ", d);
8718
8718
  }
8719
8719
  }) => {
8720
- const h = o || ((b, C) => {
8720
+ const h = o || ((y, C) => {
8721
8721
  const x = [];
8722
- x.push({ label: "", value: b });
8723
- const M = Math.ceil(b / 10) * 10;
8724
- for (let D = M; D < C; D += 10)
8725
- x.push({ label: "", value: D });
8722
+ x.push({ label: "", value: y });
8723
+ const A = Math.ceil(y / 10) * 10;
8724
+ for (let R = A; R < C; R += 10)
8725
+ x.push({ label: "", value: R });
8726
8726
  return x[x.length - 1].value !== C && x.push({ label: "", value: C }), x;
8727
- })(n, r), [g, y] = de(t);
8727
+ })(n, r), [g, b] = de(t);
8728
8728
  te(() => {
8729
- y(t);
8729
+ b(t);
8730
8730
  }, [t]);
8731
- const m = (b, C) => {
8732
- y(C), c(C);
8731
+ const p = (y, C) => {
8732
+ b(C), c(C);
8733
8733
  }, [v, f] = de(!1);
8734
8734
  te(() => {
8735
- t && console.log("defaultYear changed:", t), t && y(t);
8735
+ t && console.log("defaultYear changed:", t), t && b(t);
8736
8736
  }, [t]), te(() => {
8737
8737
  l === !1 && f(!1);
8738
8738
  }, [l]);
@@ -8741,23 +8741,23 @@ const Y1 = "_slider_1prh1_2", X1 = "_playButton_1prh1_14", Q1 = "_sliderOpen_1pr
8741
8741
  }, w = () => {
8742
8742
  f(!1);
8743
8743
  };
8744
- ((b, C, x = []) => {
8745
- const M = Te();
8744
+ ((y, C, x = []) => {
8745
+ const A = Te();
8746
8746
  te(() => {
8747
- M.current = b;
8748
- }, [b]), te(() => {
8749
- function D() {
8750
- M.current();
8747
+ A.current = y;
8748
+ }, [y]), te(() => {
8749
+ function R() {
8750
+ A.current();
8751
8751
  }
8752
8752
  {
8753
- let O = setInterval(D, C);
8753
+ let O = setInterval(R, C);
8754
8754
  return () => clearInterval(O);
8755
8755
  }
8756
8756
  }, [C, ...x]);
8757
8757
  })(
8758
8758
  () => {
8759
- v && y((b) => {
8760
- const C = b + 1;
8759
+ v && b((y) => {
8760
+ const C = y + 1;
8761
8761
  return C > r ? (c(n), n) : (c(C), C);
8762
8762
  });
8763
8763
  },
@@ -8805,7 +8805,7 @@ const Y1 = "_slider_1prh1_2", X1 = "_playButton_1prh1_14", Q1 = "_sliderOpen_1pr
8805
8805
  marks: h,
8806
8806
  min: n,
8807
8807
  max: r,
8808
- onChange: m,
8808
+ onChange: p,
8809
8809
  color: "primary",
8810
8810
  size: "small"
8811
8811
  }
@@ -8964,18 +8964,18 @@ const Mu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
8964
8964
  defaultTooltip: d,
8965
8965
  showEye: h = !0
8966
8966
  }) => {
8967
- const { name: g, created_at: y, id: m, isBeingProcessed: v } = e, [f, _] = de(!1), { t: w } = le();
8967
+ const { name: g, created_at: b, id: p, isBeingProcessed: v } = e, [f, _] = de(!1), { t: w } = le();
8968
8968
  te(() => {
8969
8969
  console.log("elementButtons: ", l);
8970
8970
  }, [l]);
8971
- const S = l && l.edit && !e.is_default && !e.is_baseline, $ = l && l.trash && !e.is_default && !e.is_baseline;
8971
+ const k = l && l.edit && !e.is_default && !e.is_baseline, $ = l && l.trash && !e.is_default && !e.is_baseline;
8972
8972
  return /* @__PURE__ */ T(
8973
8973
  "div",
8974
8974
  {
8975
8975
  className: Ke.listElement,
8976
8976
  style: { borderBottom: `1px solid ${o}` },
8977
8977
  children: [
8978
- /* @__PURE__ */ u("div", { className: Ke.elementNameDate, onClick: () => t(m), children: Object.keys(a).map((b, C) => b === "name" ? /* @__PURE__ */ u("div", { className: Ke.elementNameContainer, children: /* @__PURE__ */ T(
8978
+ /* @__PURE__ */ u("div", { className: Ke.elementNameDate, onClick: () => t(p), children: Object.keys(a).map((y, C) => y === "name" ? /* @__PURE__ */ u("div", { className: Ke.elementNameContainer, children: /* @__PURE__ */ T(
8979
8979
  "div",
8980
8980
  {
8981
8981
  className: `${Ke.elementName} ${h && Ke.nameAndEye}`,
@@ -8996,7 +8996,7 @@ const Mu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
8996
8996
  /* @__PURE__ */ u("span", { style: { color: n ? r : o }, children: g })
8997
8997
  ]
8998
8998
  }
8999
- ) }, `col${C}`) : b == "data" ? /* @__PURE__ */ u("div", { className: Ke.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }, `col${C}data`) : /* @__PURE__ */ u("div", { className: Ke.elementDate, children: e[b] }, `col${C}other`)) }),
8999
+ ) }, `col${C}`) : y == "data" ? /* @__PURE__ */ u("div", { className: Ke.elementDate, children: b ? new Date(b).toLocaleDateString() : "" }, `col${C}data`) : /* @__PURE__ */ u("div", { className: Ke.elementDate, children: e[y] }, `col${C}other`)) }),
9000
9000
  /* @__PURE__ */ T("div", { className: Ke.elementButtons, children: [
9001
9001
  e.processing && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
9002
9002
  /* @__PURE__ */ u("img", { src: Nu }),
@@ -9030,7 +9030,7 @@ const Mu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
9030
9030
  ),
9031
9031
  /* @__PURE__ */ u(at, { text: l.copy.tooltiptext, position: "left" })
9032
9032
  ] }),
9033
- S && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
9033
+ k && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
9034
9034
  /* @__PURE__ */ u(
9035
9035
  "button",
9036
9036
  {
@@ -9147,38 +9147,38 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9147
9147
  //{label: 'x'}
9148
9148
  processTooltip: g,
9149
9149
  //texto para el tooltip del simbolo "En proceso"
9150
- defaultTooltip: y,
9150
+ defaultTooltip: b,
9151
9151
  //texto para el tooltip del símbolo de candado para los elementos default
9152
- showEye: m = !0
9152
+ showEye: p = !0
9153
9153
  }) => {
9154
9154
  const { t: v } = le(), [f, _] = de(e);
9155
9155
  te(() => {
9156
9156
  e && _(e);
9157
9157
  }, [e]);
9158
- const w = (b) => {
9159
- if (typeof b != "string") return null;
9160
- if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(b))
9161
- return new Date(b);
9162
- const C = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(b);
9158
+ const w = (y) => {
9159
+ if (typeof y != "string") return null;
9160
+ if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(y))
9161
+ return new Date(y);
9162
+ const C = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(y);
9163
9163
  if (C)
9164
9164
  return /* @__PURE__ */ new Date(`${C[3]}-${C[2]}-${C[1]}`);
9165
- const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(b);
9165
+ const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(y);
9166
9166
  return x ? parseInt(x[1]) > 12 ? /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`) : /* @__PURE__ */ new Date(`${x[3]}-${x[1]}-${x[2]}`) : null;
9167
- }, S = (b) => w(b) !== null, $ = (b) => {
9167
+ }, k = (y) => w(y) !== null, $ = (y) => {
9168
9168
  if (!f || f.length === 0) return;
9169
9169
  let C = [...f];
9170
- const x = C.find((D) => D[b] !== null && D[b] !== void 0), M = x ? S(x[b]) : !1;
9171
- C.sort((D, O) => {
9172
- const q = D[b], z = O[b];
9170
+ const x = C.find((R) => R[y] !== null && R[y] !== void 0), A = x ? k(x[y]) : !1;
9171
+ C.sort((R, O) => {
9172
+ const q = R[y], z = O[y];
9173
9173
  if (q == null && z == null) return 0;
9174
9174
  if (q == null) return 1;
9175
9175
  if (z == null) return -1;
9176
- if (M) {
9177
- const k = w(q), B = w(z);
9178
- return !k && !B ? 0 : k ? B ? k - B : -1 : 1;
9176
+ if (A) {
9177
+ const S = w(q), B = w(z);
9178
+ return !S && !B ? 0 : S ? B ? S - B : -1 : 1;
9179
9179
  }
9180
- const p = String(q || "").trim(), E = String(z || "").trim();
9181
- return p.localeCompare(E);
9180
+ const m = String(q || "").trim(), E = String(z || "").trim();
9181
+ return m.localeCompare(E);
9182
9182
  }), _(C);
9183
9183
  };
9184
9184
  return /* @__PURE__ */ T(
@@ -9193,22 +9193,22 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9193
9193
  className: it.header,
9194
9194
  style: { borderBottom: `1px solid ${n}` },
9195
9195
  children: [
9196
- /* @__PURE__ */ u("div", { className: it.nameDateContainer, children: Object.keys(c).map((b) => b === "name" ? /* @__PURE__ */ u("div", { className: it.elementName, children: /* @__PURE__ */ T("button", { onClick: () => $("name"), children: [
9196
+ /* @__PURE__ */ u("div", { className: it.nameDateContainer, children: Object.keys(c).map((y) => y === "name" ? /* @__PURE__ */ u("div", { className: it.elementName, children: /* @__PURE__ */ T("button", { onClick: () => $("name"), children: [
9197
9197
  /* @__PURE__ */ u("span", { children: v(c.name) }),
9198
9198
  /* @__PURE__ */ u("img", { src: pi, alt: "order arrow" })
9199
- ] }) }, b) : b === "data" ? /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ T("button", { onClick: () => $("created_at"), children: [
9199
+ ] }) }, y) : y === "data" ? /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ T("button", { onClick: () => $("created_at"), children: [
9200
9200
  /* @__PURE__ */ u("span", { children: v(c.data) }),
9201
9201
  /* @__PURE__ */ u("img", { src: pi, alt: "order arrow" })
9202
- ] }) }, b) : /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ u("span", { children: v(c[b]) }) }, b)) }),
9202
+ ] }) }, y) : /* @__PURE__ */ u("div", { className: it.elementDate, children: /* @__PURE__ */ u("span", { children: v(c[y]) }) }, y)) }),
9203
9203
  /* @__PURE__ */ u("div", { className: it.buttonsContainer })
9204
9204
  ]
9205
9205
  }
9206
9206
  ),
9207
- /* @__PURE__ */ u("div", { className: it.elementListContainer, children: f && f.length > 0 && f.map((b) => /* @__PURE__ */ u(
9207
+ /* @__PURE__ */ u("div", { className: it.elementListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ u(
9208
9208
  _s,
9209
9209
  {
9210
- isActive: t == b.id,
9211
- listelement: b,
9210
+ isActive: t == y.id,
9211
+ listelement: y,
9212
9212
  fontColor: n,
9213
9213
  activeColor: r,
9214
9214
  onClickElement: l,
@@ -9216,10 +9216,10 @@ const pi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9216
9216
  elementButtons: d,
9217
9217
  moreInfo: h,
9218
9218
  processTooltip: g,
9219
- defaultTooltip: y,
9220
- showEye: m
9219
+ defaultTooltip: b,
9220
+ showEye: p
9221
9221
  },
9222
- `elementKey${b.id}`
9222
+ `elementKey${y.id}`
9223
9223
  )) }),
9224
9224
  a && /* @__PURE__ */ u("div", { className: it.newElementButtonContainer, children: /* @__PURE__ */ u(
9225
9225
  Yn,
@@ -9407,17 +9407,17 @@ function zn(e, t, n = /* @__PURE__ */ new WeakSet()) {
9407
9407
  return !0;
9408
9408
  }
9409
9409
  function Ku(e) {
9410
- const t = ao(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), h = ie.useRef(void 0), g = ie.useRef(n), y = ie.useRef(r);
9410
+ const t = ao(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), h = ie.useRef(void 0), g = ie.useRef(n), b = ie.useRef(r);
9411
9411
  d.current = l;
9412
- const [m, v] = ie.useState(() => {
9413
- const b = n._getWatch(r, c.current);
9414
- return d.current ? d.current(b) : b;
9415
- }), f = ie.useCallback((b) => {
9416
- const C = yi(r, n._names, b || n._formValues, !1, c.current);
9412
+ const [p, v] = ie.useState(() => {
9413
+ const y = n._getWatch(r, c.current);
9414
+ return d.current ? d.current(y) : y;
9415
+ }), f = ie.useCallback((y) => {
9416
+ const C = yi(r, n._names, y || n._formValues, !1, c.current);
9417
9417
  return d.current ? d.current(C) : C;
9418
- }, [n._formValues, n._names, r]), _ = ie.useCallback((b) => {
9418
+ }, [n._formValues, n._names, r]), _ = ie.useCallback((y) => {
9419
9419
  if (!s) {
9420
- const C = yi(r, n._names, b || n._formValues, !1, c.current);
9420
+ const C = yi(r, n._names, y || n._formValues, !1, c.current);
9421
9421
  if (d.current) {
9422
9422
  const x = d.current(C);
9423
9423
  zn(x, h.current) || (v(x), h.current = x);
@@ -9425,23 +9425,23 @@ function Ku(e) {
9425
9425
  v(C);
9426
9426
  }
9427
9427
  }, [n._formValues, n._names, s, r]);
9428
- $s(() => ((g.current !== n || !zn(y.current, r)) && (g.current = n, y.current = r, _()), n._subscribe({
9428
+ $s(() => ((g.current !== n || !zn(b.current, r)) && (g.current = n, b.current = r, _()), n._subscribe({
9429
9429
  name: r,
9430
9430
  formState: {
9431
9431
  values: !0
9432
9432
  },
9433
9433
  exact: a,
9434
- callback: (b) => {
9435
- _(b.values);
9434
+ callback: (y) => {
9435
+ _(y.values);
9436
9436
  }
9437
9437
  })), [n, a, r, _]), ie.useEffect(() => n._removeUnmounted());
9438
- const w = g.current !== n, S = y.current, $ = ie.useMemo(() => {
9438
+ const w = g.current !== n, k = b.current, $ = ie.useMemo(() => {
9439
9439
  if (s)
9440
9440
  return null;
9441
- const b = !w && !zn(S, r);
9442
- return w || b ? f() : null;
9443
- }, [s, w, r, S, f]);
9444
- return $ !== null ? $ : m;
9441
+ const y = !w && !zn(k, r);
9442
+ return w || y ? f() : null;
9443
+ }, [s, w, r, k, f]);
9444
+ return $ !== null ? $ : p;
9445
9445
  }
9446
9446
  function Gu(e) {
9447
9447
  const t = ao(), { name: n, disabled: r, control: o = t, shouldUnregister: s, defaultValue: a, exact: l = !0 } = e, c = zu(o._names.array, n), d = ie.useMemo(() => Fe(o._formValues, n, Fe(o._defaultValues, n, a)), [o, n, a]), h = Ku({
@@ -9453,12 +9453,12 @@ function Gu(e) {
9453
9453
  control: o,
9454
9454
  name: n,
9455
9455
  exact: l
9456
- }), y = ie.useRef(e), m = ie.useRef(void 0), v = ie.useRef(o.register(n, {
9456
+ }), b = ie.useRef(e), p = ie.useRef(void 0), v = ie.useRef(o.register(n, {
9457
9457
  ...e.rules,
9458
9458
  value: h,
9459
9459
  ...Ar(e.disabled) ? { disabled: e.disabled } : {}
9460
9460
  }));
9461
- y.current = e;
9461
+ b.current = e;
9462
9462
  const f = ie.useMemo(() => Object.defineProperties({}, {
9463
9463
  invalid: {
9464
9464
  enumerable: !0,
@@ -9480,9 +9480,9 @@ function Gu(e) {
9480
9480
  enumerable: !0,
9481
9481
  get: () => Fe(g.errors, n)
9482
9482
  }
9483
- }), [g, n]), _ = ie.useCallback((b) => v.current.onChange({
9483
+ }), [g, n]), _ = ie.useCallback((y) => v.current.onChange({
9484
9484
  target: {
9485
- value: Fu(b),
9485
+ value: Fu(y),
9486
9486
  name: n
9487
9487
  },
9488
9488
  type: hi.CHANGE
@@ -9492,13 +9492,13 @@ function Gu(e) {
9492
9492
  name: n
9493
9493
  },
9494
9494
  type: hi.BLUR
9495
- }), [n, o._formValues]), S = ie.useCallback((b) => {
9495
+ }), [n, o._formValues]), k = ie.useCallback((y) => {
9496
9496
  const C = Fe(o._fields, n);
9497
- C && C._f && b && (C._f.ref = {
9498
- focus: () => Rn(b.focus) && b.focus(),
9499
- select: () => Rn(b.select) && b.select(),
9500
- setCustomValidity: (x) => Rn(b.setCustomValidity) && b.setCustomValidity(x),
9501
- reportValidity: () => Rn(b.reportValidity) && b.reportValidity()
9497
+ C && C._f && y && (C._f.ref = {
9498
+ focus: () => Rn(y.focus) && y.focus(),
9499
+ select: () => Rn(y.select) && y.select(),
9500
+ setCustomValidity: (x) => Rn(y.setCustomValidity) && y.setCustomValidity(x),
9501
+ reportValidity: () => Rn(y.reportValidity) && y.reportValidity()
9502
9502
  });
9503
9503
  }, [o._fields, n]), $ = ie.useMemo(() => ({
9504
9504
  name: n,
@@ -9506,24 +9506,24 @@ function Gu(e) {
9506
9506
  ...Ar(r) || g.disabled ? { disabled: g.disabled || r } : {},
9507
9507
  onChange: _,
9508
9508
  onBlur: w,
9509
- ref: S
9510
- }), [n, r, g.disabled, _, w, S, h]);
9509
+ ref: k
9510
+ }), [n, r, g.disabled, _, w, k, h]);
9511
9511
  return ie.useEffect(() => {
9512
- const b = o._options.shouldUnregister || s, C = m.current;
9512
+ const y = o._options.shouldUnregister || s, C = p.current;
9513
9513
  C && C !== n && !c && o.unregister(C), o.register(n, {
9514
- ...y.current.rules,
9515
- ...Ar(y.current.disabled) ? { disabled: y.current.disabled } : {}
9514
+ ...b.current.rules,
9515
+ ...Ar(b.current.disabled) ? { disabled: b.current.disabled } : {}
9516
9516
  });
9517
- const x = (M, D) => {
9518
- const O = Fe(o._fields, M);
9519
- O && O._f && (O._f.mount = D);
9517
+ const x = (A, R) => {
9518
+ const O = Fe(o._fields, A);
9519
+ O && O._f && (O._f.mount = R);
9520
9520
  };
9521
- if (x(n, !0), b) {
9522
- const M = ws(Fe(o._options.defaultValues, n, y.current.defaultValue));
9523
- mi(o._defaultValues, n, M), Zr(Fe(o._formValues, n)) && mi(o._formValues, n, M);
9521
+ if (x(n, !0), y) {
9522
+ const A = ws(Fe(o._options.defaultValues, n, b.current.defaultValue));
9523
+ mi(o._defaultValues, n, A), Zr(Fe(o._formValues, n)) && mi(o._formValues, n, A);
9524
9524
  }
9525
- return !c && o.register(n), m.current = n, () => {
9526
- (c ? b && !o._state.action : b) ? o.unregister(n) : x(n, !1);
9525
+ return !c && o.register(n), p.current = n, () => {
9526
+ (c ? y && !o._state.action : y) ? o.unregister(n) : x(n, !1);
9527
9527
  };
9528
9528
  }, [n, o, c, s]), ie.useEffect(() => {
9529
9529
  o._setDisabledField({
@@ -9576,11 +9576,11 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9576
9576
  onClickForgotPass: g = () => {
9577
9577
  console.log("Click on forgot password");
9578
9578
  },
9579
- forgotPassLabel: y = "forgot-password",
9579
+ forgotPassLabel: b = "forgot-password",
9580
9580
  //Lógica extra al onChange además de actualizar el valor en RHF
9581
- onChangeExtraFunction: m = () => {
9581
+ onChangeExtraFunction: p = () => {
9582
9582
  }
9583
- } = e, { t: v } = le(), { control: f, trigger: _, clearErrors: w } = t, { errorColor: S } = vn((x) => x), [$, b] = de(!1);
9583
+ } = e, { t: v } = le(), { control: f, trigger: _, clearErrors: w } = t, { errorColor: k } = vn((x) => x), [$, y] = de(!1);
9584
9584
  Te(a);
9585
9585
  const C = () => r ? r === "password" && $ ? "text" : r : "text";
9586
9586
  return /* @__PURE__ */ u(
@@ -9593,16 +9593,16 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9593
9593
  maxLength: s || void 0,
9594
9594
  validate: l || void 0
9595
9595
  },
9596
- render: ({ field: x, fieldState: M }) => {
9596
+ render: ({ field: x, fieldState: A }) => {
9597
9597
  var z;
9598
- const { onChange: D, ...O } = x, q = (p) => {
9599
- D(p), m && m(p);
9598
+ const { onChange: R, ...O } = x, q = (m) => {
9599
+ R(m), p && p(m);
9600
9600
  };
9601
9601
  return /* @__PURE__ */ T("div", { className: rn.textInputContainer, children: [
9602
9602
  /* @__PURE__ */ T("h3", { className: rn.labelContainer, children: [
9603
9603
  v(o),
9604
9604
  " ",
9605
- a && /* @__PURE__ */ u("label", { style: { color: M.error ? d : "" }, children: "*" })
9605
+ a && /* @__PURE__ */ u("label", { style: { color: A.error ? d : "" }, children: "*" })
9606
9606
  ] }),
9607
9607
  /* @__PURE__ */ T(
9608
9608
  "div",
@@ -9623,7 +9623,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9623
9623
  r == "password" && /* @__PURE__ */ u(
9624
9624
  "button",
9625
9625
  {
9626
- onClick: () => b(!$),
9626
+ onClick: () => y(!$),
9627
9627
  type: "button",
9628
9628
  className: rn.showPasswordButton,
9629
9629
  children: /* @__PURE__ */ u(
@@ -9638,12 +9638,12 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9638
9638
  ]
9639
9639
  }
9640
9640
  ),
9641
- r == "password" && /* @__PURE__ */ u("div", { className: rn.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children: v(y) }) }),
9641
+ r == "password" && /* @__PURE__ */ u("div", { className: rn.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children: v(b) }) }),
9642
9642
  /* @__PURE__ */ u(
9643
9643
  bn,
9644
9644
  {
9645
- errorMessage: (z = M.error) == null ? void 0 : z.message,
9646
- errorColor: S || d
9645
+ errorMessage: (z = A.error) == null ? void 0 : z.message,
9646
+ errorColor: k || d
9647
9647
  }
9648
9648
  )
9649
9649
  ] });
@@ -9671,33 +9671,33 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9671
9671
  placeholder: d,
9672
9672
  errorColor: h = "red",
9673
9673
  width: g = 325,
9674
- options: y = []
9674
+ options: b = []
9675
9675
  //Used if we dont use react hook form
9676
- } = e, { t: m } = le(), { control: v, trigger: f, clearErrors: _ } = t || {}, { errorColor: w } = vn((b) => b);
9676
+ } = e, { t: p } = le(), { control: v, trigger: f, clearErrors: _ } = t || {}, { errorColor: w } = vn((y) => y);
9677
9677
  Te(l);
9678
- const [S, $] = de(null);
9678
+ const [k, $] = de(null);
9679
9679
  return te(() => {
9680
- S && n && n(S);
9681
- }, [S, n]), t ? /* @__PURE__ */ u(
9680
+ k && n && n(k);
9681
+ }, [k, n]), t ? /* @__PURE__ */ u(
9682
9682
  yn,
9683
9683
  {
9684
9684
  name: r,
9685
9685
  control: v,
9686
9686
  rules: {
9687
- required: l ? `${m(s)} ${m("errorMessages.required")}` : !1,
9688
- validate: c ? (b) => {
9687
+ required: l ? `${p(s)} ${p("errorMessages.required")}` : !1,
9688
+ validate: c ? (y) => {
9689
9689
  let C = t.getValues();
9690
- return c(b, C);
9690
+ return c(y, C);
9691
9691
  } : void 0
9692
9692
  },
9693
- render: ({ field: b, fieldState: C }) => {
9694
- var M;
9695
- const x = y.find(
9696
- (D) => D.value === b.value
9693
+ render: ({ field: y, fieldState: C }) => {
9694
+ var A;
9695
+ const x = b.find(
9696
+ (R) => R.value === y.value
9697
9697
  );
9698
9698
  return /* @__PURE__ */ T("div", { className: Ve.selectInputContainer, children: [
9699
9699
  s && /* @__PURE__ */ T("h3", { className: Ve.labelContainer, children: [
9700
- m(s),
9700
+ p(s),
9701
9701
  " ",
9702
9702
  l && /* @__PURE__ */ u("label", { style: { color: C.error ? h : "" }, children: "*" })
9703
9703
  ] }),
@@ -9706,21 +9706,21 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9706
9706
  /* @__PURE__ */ T(
9707
9707
  "select",
9708
9708
  {
9709
- ...b,
9710
- value: b.value ?? "",
9711
- onChange: (D) => {
9712
- const O = D.target.value, q = y.every((z) => typeof z.value == "number") ? Number(O) : O;
9713
- b.onChange(q);
9709
+ ...y,
9710
+ value: y.value ?? "",
9711
+ onChange: (R) => {
9712
+ const O = R.target.value, q = b.every((z) => typeof z.value == "number") ? Number(O) : O;
9713
+ y.onChange(q);
9714
9714
  },
9715
9715
  className: Ve.selectInput,
9716
9716
  children: [
9717
- /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: m(d || "selectOption") }),
9718
- y.map((D, O) => /* @__PURE__ */ u(
9717
+ /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: p(d || "selectOption") }),
9718
+ b.map((R, O) => /* @__PURE__ */ u(
9719
9719
  "option",
9720
9720
  {
9721
- value: D.value,
9721
+ value: R.value,
9722
9722
  className: Ve.option,
9723
- children: m(D.label)
9723
+ children: p(R.label)
9724
9724
  },
9725
9725
  O
9726
9726
  ))
@@ -9736,12 +9736,12 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9736
9736
  }
9737
9737
  )
9738
9738
  ] }),
9739
- x && x.description && /* @__PURE__ */ u("div", { className: Ve.optionDescription, children: m(x.description) })
9739
+ x && x.description && /* @__PURE__ */ u("div", { className: Ve.optionDescription, children: p(x.description) })
9740
9740
  ] }),
9741
9741
  /* @__PURE__ */ u(
9742
9742
  bn,
9743
9743
  {
9744
- errorMessage: (M = C.error) == null ? void 0 : M.message,
9744
+ errorMessage: (A = C.error) == null ? void 0 : A.message,
9745
9745
  errorColor: w || h
9746
9746
  }
9747
9747
  )
@@ -9750,7 +9750,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9750
9750
  }
9751
9751
  ) : /* @__PURE__ */ T("div", { className: Ve.selectInputContainer, children: [
9752
9752
  s && /* @__PURE__ */ T("h3", { className: Ve.labelContainer, children: [
9753
- m(s),
9753
+ p(s),
9754
9754
  " ",
9755
9755
  l && /* @__PURE__ */ u("label", { children: "*" })
9756
9756
  ] }),
@@ -9758,20 +9758,20 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9758
9758
  /* @__PURE__ */ T(
9759
9759
  "select",
9760
9760
  {
9761
- value: S ?? "",
9762
- onChange: (b) => {
9763
- const C = b.target.value, x = y.every((M) => typeof M.value == "number") ? Number(C) : C;
9761
+ value: k ?? "",
9762
+ onChange: (y) => {
9763
+ const C = y.target.value, x = b.every((A) => typeof A.value == "number") ? Number(C) : C;
9764
9764
  $(x);
9765
9765
  },
9766
9766
  className: Ve.selectInput,
9767
9767
  children: [
9768
- /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: m(d || "selectOption") }),
9769
- y.map((b, C) => /* @__PURE__ */ u(
9768
+ /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: p(d || "selectOption") }),
9769
+ b.map((y, C) => /* @__PURE__ */ u(
9770
9770
  "option",
9771
9771
  {
9772
- value: b.value,
9772
+ value: y.value,
9773
9773
  className: Ve.option,
9774
- children: m(b.label)
9774
+ children: p(y.label)
9775
9775
  },
9776
9776
  C
9777
9777
  ))
@@ -9781,10 +9781,10 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9781
9781
  /* @__PURE__ */ u("img", { src: Ci, alt: "Open", className: Ve.dropdownArrow })
9782
9782
  ] }),
9783
9783
  (() => {
9784
- const b = y.find(
9785
- (C) => C.value === S
9784
+ const y = b.find(
9785
+ (C) => C.value === k
9786
9786
  );
9787
- return b && b.description ? /* @__PURE__ */ u("div", { className: Ve.optionDescription, children: m(b.description) }) : null;
9787
+ return y && y.description ? /* @__PURE__ */ u("div", { className: Ve.optionDescription, children: p(y.description) }) : null;
9788
9788
  })()
9789
9789
  ] });
9790
9790
  }, hd = "_radioButtonContainer_1e994_2", gd = "_wholeInputContainer_1e994_5", yd = "_questionContainer_1e994_27", bd = "_radioQuestion_1e994_59", vd = "_inputContainer_1e994_63", Cd = "_radioInput_1e994_93", St = {
@@ -9803,13 +9803,13 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9803
9803
  errorColor: a = "red",
9804
9804
  options: l = [],
9805
9805
  multi: c = !1
9806
- } = e, { t: d } = le(), { control: h, trigger: g, clearErrors: y } = t, { errorColor: m } = vn((_) => _), v = ({ options: _, onChange: w, actualValue: S }) => {
9807
- if (c && S && S.length > 0) {
9808
- let $ = S.filter((b) => b !== _);
9806
+ } = e, { t: d } = le(), { control: h, trigger: g, clearErrors: b } = t, { errorColor: p } = vn((_) => _), v = ({ options: _, onChange: w, actualValue: k }) => {
9807
+ if (c && k && k.length > 0) {
9808
+ let $ = k.filter((y) => y !== _);
9809
9809
  w($);
9810
9810
  }
9811
- }, f = ({ options: _, onChange: w, actualValue: S }) => {
9812
- c ? S && S.length > 0 ? w([...S, _]) : w([_]) : w(_);
9811
+ }, f = ({ options: _, onChange: w, actualValue: k }) => {
9812
+ c ? k && k.length > 0 ? w([...k, _]) : w([_]) : w(_);
9813
9813
  };
9814
9814
  return Te(o), /* @__PURE__ */ u(
9815
9815
  yn,
@@ -9821,7 +9821,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9821
9821
  },
9822
9822
  render: ({
9823
9823
  formState: { errors: _ },
9824
- field: { onChange: w, onBlur: S, value: $, ref: b },
9824
+ field: { onChange: w, onBlur: k, value: $, ref: y },
9825
9825
  fieldState: C
9826
9826
  }) => {
9827
9827
  var x;
@@ -9847,20 +9847,20 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9847
9847
  /* @__PURE__ */ T("div", { className: St.inputContainer, children: [
9848
9848
  l.map(
9849
9849
  ({
9850
- label: M,
9851
- value: D,
9850
+ label: A,
9851
+ value: R,
9852
9852
  disabled: O = !1,
9853
9853
  italicLabel: q
9854
9854
  }, z) => {
9855
- const p = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((E) => E === D) : $ === D;
9855
+ const m = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((E) => E === R) : $ === R;
9856
9856
  return /* @__PURE__ */ T("label", { children: [
9857
9857
  /* @__PURE__ */ u(
9858
9858
  "input",
9859
9859
  {
9860
9860
  type: "radio",
9861
- checked: p,
9861
+ checked: m,
9862
9862
  onChange: () => {
9863
- c ? p ? v({
9863
+ c ? m ? v({
9864
9864
  actualValue: $,
9865
9865
  options: l,
9866
9866
  onChange: w
@@ -9868,13 +9868,13 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9868
9868
  actualValue: $,
9869
9869
  options: l,
9870
9870
  onChange: w
9871
- }) : w(D);
9871
+ }) : w(R);
9872
9872
  },
9873
9873
  className: St.radioInput
9874
9874
  }
9875
9875
  ),
9876
9876
  /* @__PURE__ */ u("span", { className: "radio-custom" }),
9877
- d(M)
9877
+ d(A)
9878
9878
  ] }, `inputRadio ${z}`);
9879
9879
  }
9880
9880
  ),
@@ -9882,7 +9882,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9882
9882
  bn,
9883
9883
  {
9884
9884
  errorMessage: (x = C.error) == null ? void 0 : x.message,
9885
- errorColor: m || a
9885
+ errorColor: p || a
9886
9886
  }
9887
9887
  )
9888
9888
  ] })
@@ -9911,8 +9911,8 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9911
9911
  required: d,
9912
9912
  errorColor: h = "red",
9913
9913
  labelWidth: g = "300px",
9914
- sliderWidth: y = "300px",
9915
- minText: m,
9914
+ sliderWidth: b = "300px",
9915
+ minText: p,
9916
9916
  maxText: v,
9917
9917
  disabled: f = !1,
9918
9918
  marks: _ = Array.from(
@@ -9920,9 +9920,9 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9920
9920
  (O, q) => s + q
9921
9921
  ),
9922
9922
  showMarksNumber: w = !0
9923
- } = e, { t: S } = le(), { control: $, trigger: b, clearErrors: C } = t || {};
9923
+ } = e, { t: k } = le(), { control: $, trigger: y, clearErrors: C } = t || {};
9924
9924
  Te(d);
9925
- const { errorColorForm: x } = vn((O) => O), [M, D] = de(l);
9925
+ const { errorColorForm: x } = vn((O) => O), [A, R] = de(l);
9926
9926
  return t ? /* @__PURE__ */ u(
9927
9927
  yn,
9928
9928
  {
@@ -9930,7 +9930,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9930
9930
  control: $,
9931
9931
  defaultValue: l,
9932
9932
  rules: {
9933
- required: d ? `${S(o)} ${S("errorMessages.required")}` : !1
9933
+ required: d ? `${k(o)} ${k("errorMessages.required")}` : !1
9934
9934
  },
9935
9935
  render: ({ field: O, fieldState: q }) => {
9936
9936
  var z;
@@ -9939,7 +9939,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9939
9939
  {
9940
9940
  className: Ee.rankingSliderContainer,
9941
9941
  style: {
9942
- gridTemplateColumns: `${o && g} ${y}`
9942
+ gridTemplateColumns: `${o && g} ${b}`
9943
9943
  },
9944
9944
  children: [
9945
9945
  o && /* @__PURE__ */ u(
@@ -9947,11 +9947,11 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9947
9947
  {
9948
9948
  className: Ee.labelContainer,
9949
9949
  style: { color: f ? "#CCCCCC" : "#605B56" },
9950
- children: S(o)
9950
+ children: k(o)
9951
9951
  }
9952
9952
  ),
9953
9953
  /* @__PURE__ */ T("div", { className: Ee.inputContainer, children: [
9954
- m && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: S(m) }),
9954
+ p && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: k(p) }),
9955
9955
  /* @__PURE__ */ T("div", { children: [
9956
9956
  /* @__PURE__ */ u(
9957
9957
  Br,
@@ -9960,18 +9960,18 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9960
9960
  max: a,
9961
9961
  step: 1,
9962
9962
  value: O.value ?? l,
9963
- onChange: (p) => {
9964
- O.onChange(p);
9963
+ onChange: (m) => {
9964
+ O.onChange(m);
9965
9965
  },
9966
9966
  marks: !0,
9967
9967
  className: Ee.slider,
9968
9968
  thumbClassName: Ee.thumb,
9969
- renderThumb: (p) => /* @__PURE__ */ u(
9969
+ renderThumb: (m) => /* @__PURE__ */ u(
9970
9970
  "div",
9971
9971
  {
9972
- ...p,
9972
+ ...m,
9973
9973
  style: {
9974
- ...p.style,
9974
+ ...m.style,
9975
9975
  backgroundColor: f ? "#CCCCCC" : c,
9976
9976
  cursor: f ? "not-allowed" : "grab"
9977
9977
  }
@@ -9982,9 +9982,9 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
9982
9982
  disabled: f
9983
9983
  }
9984
9984
  ),
9985
- _ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((p) => /* @__PURE__ */ u("span", { children: w && p }, p)) })
9985
+ _ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((m) => /* @__PURE__ */ u("span", { children: w && m }, m)) })
9986
9986
  ] }),
9987
- v && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: S(v) })
9987
+ v && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: k(v) })
9988
9988
  ] }),
9989
9989
  /* @__PURE__ */ u(
9990
9990
  bn,
@@ -10002,18 +10002,18 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
10002
10002
  "div",
10003
10003
  {
10004
10004
  className: Ee.rankingSliderContainer,
10005
- style: { gridTemplateColumns: `${o && g} ${y}` },
10005
+ style: { gridTemplateColumns: `${o && g} ${b}` },
10006
10006
  children: [
10007
10007
  o && /* @__PURE__ */ u(
10008
10008
  "p",
10009
10009
  {
10010
10010
  className: Ee.labelContainer,
10011
10011
  style: { color: f ? "#CCCCCC" : "#605B56" },
10012
- children: S(o)
10012
+ children: k(o)
10013
10013
  }
10014
10014
  ),
10015
10015
  /* @__PURE__ */ T("div", { className: Ee.inputContainer, children: [
10016
- m && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: S(m) }),
10016
+ p && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: k(p) }),
10017
10017
  /* @__PURE__ */ T("div", { children: [
10018
10018
  /* @__PURE__ */ u(
10019
10019
  Br,
@@ -10021,9 +10021,9 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
10021
10021
  min: s,
10022
10022
  max: a,
10023
10023
  step: 1,
10024
- value: M,
10024
+ value: A,
10025
10025
  onChange: (O) => {
10026
- D(O), n && n(O);
10026
+ R(O), n && n(O);
10027
10027
  },
10028
10028
  marks: !0,
10029
10029
  className: Ee.slider,
@@ -10046,7 +10046,7 @@ const Xu = "_textInputContainer_1o3iy_2", Qu = "_labelContainer_1o3iy_5", Ju = "
10046
10046
  ),
10047
10047
  _ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((O) => /* @__PURE__ */ u("span", { children: w && O }, O)) })
10048
10048
  ] }),
10049
- v && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: S(v) })
10049
+ v && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: k(v) })
10050
10050
  ] })
10051
10051
  ]
10052
10052
  }
@@ -10210,18 +10210,18 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10210
10210
  className: sn.categorySelector,
10211
10211
  style: o ? { ...o } : {},
10212
10212
  children: e.map((c, d) => {
10213
- const { id: h, label: g } = c, y = n == h, m = s.includes(h);
10213
+ const { id: h, label: g } = c, b = n == h, p = s.includes(h);
10214
10214
  return /* @__PURE__ */ u(
10215
10215
  "button",
10216
10216
  {
10217
- className: `${sn.sectionItem} ${y ? sn.sectionItemActive : ""} ${m ? sn.sectionItemError : ""}`,
10217
+ className: `${sn.sectionItem} ${b ? sn.sectionItemActive : ""} ${p ? sn.sectionItemError : ""}`,
10218
10218
  type: "button",
10219
- style: { backgroundColor: y ? r : "inherit" },
10219
+ style: { backgroundColor: b ? r : "inherit" },
10220
10220
  onClick: () => l(h),
10221
10221
  children: /* @__PURE__ */ u(
10222
10222
  "span",
10223
10223
  {
10224
- style: { color: y ? "white" : "inherit" },
10224
+ style: { color: b ? "white" : "inherit" },
10225
10225
  className: sn.sectionLabel,
10226
10226
  children: a(g)
10227
10227
  }
@@ -10245,15 +10245,15 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10245
10245
  defaultCategory: d = null,
10246
10246
  categoryLabel: h = "Select Category",
10247
10247
  activeCategory: g = null,
10248
- activeCategoryColor: y = "#b32f5d",
10249
- categoriesWithErrors: m = [],
10248
+ activeCategoryColor: b = "#b32f5d",
10249
+ categoriesWithErrors: p = [],
10250
10250
  onSubmit: v = (f) => console.log("Form submitted with: ", f)
10251
10251
  }) => {
10252
10252
  const { t: f } = le(), { handleSubmit: _, control: w } = e;
10253
10253
  te(() => {
10254
10254
  s && vn.setState(() => ({ errorColor: s }));
10255
10255
  }, [s]);
10256
- const S = ze(() => t ? t.filter((O) => O.category).map((O) => {
10256
+ const k = ze(() => t ? t.filter((O) => O.category).map((O) => {
10257
10257
  var q;
10258
10258
  return {
10259
10259
  id: O.categoryId,
@@ -10263,19 +10263,19 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10263
10263
  }) : [], [t]), $ = (O) => {
10264
10264
  const q = t == null ? void 0 : t.find((z) => z.categoryId === O);
10265
10265
  return (q == null ? void 0 : q.subcategories) || [];
10266
- }, [b, C] = de(
10266
+ }, [y, C] = de(
10267
10267
  g || d || null
10268
- ), [x, M] = de(null);
10268
+ ), [x, A] = de(null);
10269
10269
  te(() => {
10270
- !b && S.length > 0 && C(S[0].id);
10271
- }, [S, b]), te(() => {
10272
- const O = $(b);
10273
- !x && (O == null ? void 0 : O.length) > 0 && M(O[0].id);
10274
- }, [b, x, t]);
10275
- const D = (O, q) => {
10270
+ !y && k.length > 0 && C(k[0].id);
10271
+ }, [k, y]), te(() => {
10272
+ const O = $(y);
10273
+ !x && (O == null ? void 0 : O.length) > 0 && A(O[0].id);
10274
+ }, [y, x, t]);
10275
+ const R = (O, q) => {
10276
10276
  var z;
10277
10277
  if (((z = O.subcategories) == null ? void 0 : z.length) > 0) {
10278
- const p = O.subcategories;
10278
+ const m = O.subcategories;
10279
10279
  return /* @__PURE__ */ T("div", { children: [
10280
10280
  /* @__PURE__ */ u(
10281
10281
  "div",
@@ -10285,16 +10285,16 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10285
10285
  xi,
10286
10286
  {
10287
10287
  activeCategory: x,
10288
- categories: p,
10289
- categoriesWithErrors: m,
10290
- onChange: (E) => M(E),
10291
- activeColor: y
10288
+ categories: m,
10289
+ categoriesWithErrors: p,
10290
+ onChange: (E) => A(E),
10291
+ activeColor: b
10292
10292
  }
10293
10293
  )
10294
10294
  },
10295
10295
  O.categoryId
10296
10296
  ),
10297
- p.map((E, k) => {
10297
+ m.map((E, S) => {
10298
10298
  const B = !x || E.id === x;
10299
10299
  return n ? /* @__PURE__ */ u(
10300
10300
  "div",
@@ -10314,7 +10314,7 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10314
10314
  }
10315
10315
  ) }, E.id)
10316
10316
  },
10317
- `${E.id}${k}`
10317
+ `${E.id}${S}`
10318
10318
  ) : /* @__PURE__ */ T(
10319
10319
  "div",
10320
10320
  {
@@ -10336,7 +10336,7 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10336
10336
  )
10337
10337
  ]
10338
10338
  },
10339
- `${E.id}${k}`
10339
+ `${E.id}${S}`
10340
10340
  );
10341
10341
  })
10342
10342
  ] });
@@ -10365,20 +10365,20 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10365
10365
  ] }, O.categoryId);
10366
10366
  };
10367
10367
  return /* @__PURE__ */ T("form", { className: nn.formContainer, onSubmit: _(v), children: [
10368
- c && S.length > 0 && /* @__PURE__ */ u("div", { className: nn.categorySelectorContainer, children: /* @__PURE__ */ u(
10368
+ c && k.length > 0 && /* @__PURE__ */ u("div", { className: nn.categorySelectorContainer, children: /* @__PURE__ */ u(
10369
10369
  xi,
10370
10370
  {
10371
- activeCategory: b,
10372
- categories: S,
10373
- categoriesWithErrors: m,
10371
+ activeCategory: y,
10372
+ categories: k,
10373
+ categoriesWithErrors: p,
10374
10374
  onChange: (O) => {
10375
- C(O), M(null);
10375
+ C(O), A(null);
10376
10376
  },
10377
- activeColor: y
10377
+ activeColor: b
10378
10378
  }
10379
10379
  ) }),
10380
10380
  /* @__PURE__ */ u("div", { className: nn.formObjectContainer, children: t == null ? void 0 : t.map((O, q) => {
10381
- const z = O.categoryId === b;
10381
+ const z = O.categoryId === y;
10382
10382
  return O.category ? /* @__PURE__ */ u(
10383
10383
  "div",
10384
10384
  {
@@ -10386,7 +10386,7 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
10386
10386
  width: "100%",
10387
10387
  display: z ? "block" : "none"
10388
10388
  },
10389
- children: D(O)
10389
+ children: R(O)
10390
10390
  },
10391
10391
  O.categoryId
10392
10392
  ) : /* @__PURE__ */ u(
@@ -10565,9 +10565,9 @@ const lf = "_switchContainer_194wl_2", cf = "_labelRight_194wl_9", uf = "_labelL
10565
10565
  colorOn: c = "#5A514D",
10566
10566
  disabled: d = !1,
10567
10567
  width: h = 240
10568
- } = e, { t: g } = le(), { control: y } = t || {}, [m, v] = de(l), f = (w) => {
10568
+ } = e, { t: g } = le(), { control: b } = t || {}, [p, v] = de(l), f = (w) => {
10569
10569
  v(w), n && n(w);
10570
- }, _ = (w, S) => /* @__PURE__ */ T("div", { className: Wt.switchContainer, style: { width: `${h}px` }, children: [
10570
+ }, _ = (w, k) => /* @__PURE__ */ T("div", { className: Wt.switchContainer, style: { width: `${h}px` }, children: [
10571
10571
  s && /* @__PURE__ */ u(
10572
10572
  "span",
10573
10573
  {
@@ -10582,7 +10582,7 @@ const lf = "_switchContainer_194wl_2", cf = "_labelRight_194wl_9", uf = "_labelL
10582
10582
  {
10583
10583
  type: "checkbox",
10584
10584
  checked: !!w,
10585
- onChange: () => S(!w),
10585
+ onChange: () => k(!w),
10586
10586
  disabled: d
10587
10587
  }
10588
10588
  ),
@@ -10602,11 +10602,11 @@ const lf = "_switchContainer_194wl_2", cf = "_labelRight_194wl_9", uf = "_labelL
10602
10602
  yn,
10603
10603
  {
10604
10604
  name: o,
10605
- control: y,
10605
+ control: b,
10606
10606
  defaultValue: l,
10607
10607
  render: ({ field: w }) => _(w.value, w.onChange)
10608
10608
  }
10609
- ) : _(m, f);
10609
+ ) : _(p, f);
10610
10610
  };
10611
10611
  pf.propTypes = {
10612
10612
  input: i.shape({
@@ -10655,7 +10655,7 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10655
10655
  textColor: n,
10656
10656
  iconColor: r
10657
10657
  }) => {
10658
- const [o, s] = de(!1), a = () => s((v) => !v), l = () => s(!1), c = 7, d = o ? 11 : 0, h = o ? 13 : 0, g = o ? -11.51666 : 0, y = o ? -13 : 0, m = "0.35s";
10658
+ const [o, s] = de(!1), a = () => s((v) => !v), l = () => s(!1), c = 7, d = o ? 11 : 0, h = o ? 13 : 0, g = o ? -11.51666 : 0, b = o ? -13 : 0, p = "0.35s";
10659
10659
  return /* @__PURE__ */ T("div", { className: nt.container, children: [
10660
10660
  /* @__PURE__ */ u("button", { onClick: a, className: nt.burger, children: /* @__PURE__ */ T(
10661
10661
  "svg",
@@ -10671,7 +10671,7 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10671
10671
  {
10672
10672
  style: {
10673
10673
  transform: `translateY(${d}px)`,
10674
- transition: `transform ${m} cubic-bezier(0.42, 0, 0.58, 1)`
10674
+ transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
10675
10675
  },
10676
10676
  children: /* @__PURE__ */ u("circle", { cx: "20", cy: "9", r: c, fill: r })
10677
10677
  }
@@ -10681,7 +10681,7 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10681
10681
  {
10682
10682
  style: {
10683
10683
  transform: `translate(${h}px, ${g}px)`,
10684
- transition: `transform ${m} cubic-bezier(0.42, 0, 0.58, 1)`
10684
+ transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
10685
10685
  },
10686
10686
  children: /* @__PURE__ */ u("circle", { cx: "7", cy: "31.51666", r: c, fill: r })
10687
10687
  }
@@ -10690,8 +10690,8 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10690
10690
  "g",
10691
10691
  {
10692
10692
  style: {
10693
- transform: `translate(${y}px, ${g}px)`,
10694
- transition: `transform ${m} cubic-bezier(0.42, 0, 0.58, 1)`
10693
+ transform: `translate(${b}px, ${g}px)`,
10694
+ transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
10695
10695
  },
10696
10696
  children: /* @__PURE__ */ u("circle", { cx: "33", cy: "31.51666", r: c, fill: r })
10697
10697
  }
@@ -10701,7 +10701,7 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10701
10701
  {
10702
10702
  style: {
10703
10703
  opacity: o ? 1 : 0,
10704
- transition: `opacity ${m} cubic-bezier(0.42, 0, 0.58, 1)`
10704
+ transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
10705
10705
  },
10706
10706
  children: /* @__PURE__ */ u("circle", { cx: "20", cy: "20", r: "10", fill: r })
10707
10707
  }
@@ -10714,7 +10714,7 @@ const vf = "_container_1pl8d_3", Cf = "_burger_1pl8d_10", _f = "_menu_1pl8d_21",
10714
10714
  strokeLinecap: "round",
10715
10715
  style: {
10716
10716
  opacity: o ? 1 : 0,
10717
- transition: `opacity ${m} cubic-bezier(0.42, 0, 0.58, 1)`
10717
+ transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
10718
10718
  },
10719
10719
  children: [
10720
10720
  /* @__PURE__ */ u("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
@@ -10783,46 +10783,46 @@ const $f = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
10783
10783
  showYAxisLabels: c = !0,
10784
10784
  showGrid: d = !0,
10785
10785
  xAxisTickRotation: h = -90,
10786
- yAxisTickFormat: g = (b) => b.toLocaleString("es-ES"),
10787
- barPadding: y = 0.1,
10788
- groupPadding: m = 0.05,
10786
+ yAxisTickFormat: g = (y) => y.toLocaleString("es-ES"),
10787
+ barPadding: b = 0.1,
10788
+ groupPadding: p = 0.05,
10789
10789
  animationDuration: v = 750,
10790
10790
  onBarHover: f,
10791
10791
  onBarClick: _,
10792
10792
  title: w,
10793
- xAxisLabel: S,
10793
+ xAxisLabel: k,
10794
10794
  yAxisLabel: $
10795
10795
  }) => {
10796
- const b = Te(), C = Te(), [x, M] = de({ width: 0, height: 0 });
10796
+ const y = Te(), C = Te(), [x, A] = de({ width: 0, height: 0 });
10797
10797
  return te(() => {
10798
- const D = () => {
10798
+ const R = () => {
10799
10799
  if (C.current) {
10800
10800
  const O = C.current.getBoundingClientRect().width;
10801
- M({
10801
+ A({
10802
10802
  width: typeof r == "number" ? r : O,
10803
10803
  height: o
10804
10804
  });
10805
10805
  }
10806
10806
  };
10807
- return D(), window.addEventListener("resize", D), () => window.removeEventListener("resize", D);
10807
+ return R(), window.addEventListener("resize", R), () => window.removeEventListener("resize", R);
10808
10808
  }, [r, o]), te(() => {
10809
10809
  if (!e || e.length === 0 || x.width === 0) return;
10810
- const D = ht(b.current), O = x.width, q = x.height, z = O - s.left - s.right, p = q - s.top - s.bottom;
10811
- if (z <= 0 || p <= 0) return;
10812
- const E = e.map((P) => P.anyo || P.year || P.x), k = t, B = jn(e, (P) => jn(k, (Z) => P[Z])) || 0, F = qn(e, (P) => qn(k, (Z) => P[Z])) || 0, Y = Rr().domain(E).rangeRound([0, z]).paddingInner(y), W = Rr().domain(k).rangeRound([0, Y.bandwidth()]).padding(m), ce = Ei().domain([Math.min(0, B), F]).nice().rangeRound([p, 0]), R = Oi().domain(k).range(Array.isArray(n) ? n : Object.values(n || {}));
10813
- D.selectAll("*").remove();
10814
- const A = D.append("g").attr("transform", `translate(${s.left},${s.top})`);
10815
- w && D.append("text").attr("x", O / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), d && A.append("g").attr("class", "grid").selectAll("line").data(ce.ticks()).enter().append("line").attr("x1", 0).attr("x2", z).attr("y1", (P) => ce(P)).attr("y2", (P) => ce(P)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (A.append("g").attr("transform", `translate(0,${p})`).call(Ai(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${h})`).style("text-anchor", h < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), S && A.append("text").attr(
10810
+ const R = ht(y.current), O = x.width, q = x.height, z = O - s.left - s.right, m = q - s.top - s.bottom;
10811
+ if (z <= 0 || m <= 0) return;
10812
+ const E = e.map((P) => P.anyo || P.year || P.x), S = t, B = jn(e, (P) => jn(S, (Z) => P[Z])) || 0, F = qn(e, (P) => qn(S, (Z) => P[Z])) || 0, Y = Rr().domain(E).rangeRound([0, z]).paddingInner(b), W = Rr().domain(S).rangeRound([0, Y.bandwidth()]).padding(p), ce = Ei().domain([Math.min(0, B), F]).nice().rangeRound([m, 0]), D = Oi().domain(S).range(Array.isArray(n) ? n : Object.values(n || {}));
10813
+ R.selectAll("*").remove();
10814
+ const L = R.append("g").attr("transform", `translate(${s.left},${s.top})`);
10815
+ w && R.append("text").attr("x", O / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), d && L.append("g").attr("class", "grid").selectAll("line").data(ce.ticks()).enter().append("line").attr("x1", 0).attr("x2", z).attr("y1", (P) => ce(P)).attr("y2", (P) => ce(P)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (L.append("g").attr("transform", `translate(0,${m})`).call(Ai(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${h})`).style("text-anchor", h < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), k && L.append("text").attr(
10816
10816
  "transform",
10817
- `translate(${z / 2}, ${p + s.bottom - 5})`
10818
- ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), c && (A.append("g").call(Dr(ce).ticks(6).tickFormat(g)).attr("class", "y-axis").call((P) => P.select(".domain").remove()), $ && A.append("text").attr("transform", "rotate(-90)").attr("y", 0 - s.left).attr("x", 0 - p / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
10819
- const K = A.append("g").selectAll(".bar-group").data(e).enter().append("g").attr("class", "bar-group").attr("transform", (P) => `translate(${Y(P.anyo || P.year || P.x)},0)`).selectAll(".bar").data(
10820
- (P) => k.map((Z) => ({
10817
+ `translate(${z / 2}, ${m + s.bottom - 5})`
10818
+ ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), c && (L.append("g").call(Dr(ce).ticks(6).tickFormat(g)).attr("class", "y-axis").call((P) => P.select(".domain").remove()), $ && L.append("text").attr("transform", "rotate(-90)").attr("y", 0 - s.left).attr("x", 0 - m / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
10819
+ const K = L.append("g").selectAll(".bar-group").data(e).enter().append("g").attr("class", "bar-group").attr("transform", (P) => `translate(${Y(P.anyo || P.year || P.x)},0)`).selectAll(".bar").data(
10820
+ (P) => S.map((Z) => ({
10821
10821
  key: Z,
10822
10822
  value: P[Z],
10823
10823
  data: P
10824
10824
  }))
10825
- ).enter().append("rect").attr("class", "bar").attr("x", (P) => W(P.key)).attr("y", p).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (P) => R(P.key)).style("cursor", f || _ ? "pointer" : "default");
10825
+ ).enter().append("rect").attr("class", "bar").attr("x", (P) => W(P.key)).attr("y", m).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (P) => D(P.key)).style("cursor", f || _ ? "pointer" : "default");
10826
10826
  K.transition().duration(v).attr("y", (P) => ce(Math.max(0, P.value))).attr("height", (P) => Math.abs(ce(P.value) - ce(0))), f && K.on("mouseover", function(P, Z) {
10827
10827
  ht(this).style("opacity", 0.8), f(P, Z);
10828
10828
  }).on("mouseout", function(P, Z) {
@@ -10834,8 +10834,8 @@ const $f = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
10834
10834
  n,
10835
10835
  x,
10836
10836
  s,
10837
- y,
10838
- m,
10837
+ b,
10838
+ p,
10839
10839
  l,
10840
10840
  c,
10841
10841
  d,
@@ -10845,7 +10845,7 @@ const $f = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
10845
10845
  f,
10846
10846
  _,
10847
10847
  w,
10848
- S,
10848
+ k,
10849
10849
  $
10850
10850
  ]), /* @__PURE__ */ u(
10851
10851
  "div",
@@ -10856,7 +10856,7 @@ const $f = "_svgContainer_1rxoe_2", Nf = "_svg_1rxoe_2", wi = {
10856
10856
  children: /* @__PURE__ */ u(
10857
10857
  "svg",
10858
10858
  {
10859
- ref: b,
10859
+ ref: y,
10860
10860
  className: wi.svg,
10861
10861
  width: x.width,
10862
10862
  height: x.height
@@ -10912,43 +10912,43 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
10912
10912
  showYAxisLabels: d = !0,
10913
10913
  showGrid: h = !0,
10914
10914
  xAxisTickRotation: g = -90,
10915
- yAxisTickFormat: y = (O) => O.toLocaleString("es-ES"),
10916
- barPadding: m = 0.4,
10915
+ yAxisTickFormat: b = (O) => O.toLocaleString("es-ES"),
10916
+ barPadding: p = 0.4,
10917
10917
  animationDuration: v = 750,
10918
10918
  onBarHover: f,
10919
10919
  onBarClick: _,
10920
10920
  title: w,
10921
- xAxisLabel: S,
10921
+ xAxisLabel: k,
10922
10922
  yAxisLabel: $,
10923
- stackOrder: b = "reverse",
10923
+ stackOrder: y = "reverse",
10924
10924
  // "reverse", "ascending", "descending", "insideOut", "none"
10925
10925
  showTooltip: C = !0,
10926
10926
  reverseKeys: x = !0,
10927
- minBarSlotWidth: M = 60,
10928
- wrapXAxisLabels: D = !0
10927
+ minBarSlotWidth: A = 60,
10928
+ wrapXAxisLabels: R = !0
10929
10929
  }) => {
10930
10930
  const O = Te(), q = Te();
10931
10931
  Te();
10932
- const [z, p] = de({
10932
+ const [z, m] = de({
10933
10933
  containerWidth: 0,
10934
10934
  height: 0
10935
10935
  }), { t: E } = le();
10936
10936
  return te(() => {
10937
- const k = () => {
10937
+ const S = () => {
10938
10938
  if (q.current) {
10939
10939
  const B = q.current.getBoundingClientRect().width;
10940
- p({
10940
+ m({
10941
10941
  containerWidth: typeof o == "number" ? o : B,
10942
10942
  height: s
10943
10943
  });
10944
10944
  }
10945
10945
  };
10946
- return k(), window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
10946
+ return S(), window.addEventListener("resize", S), () => window.removeEventListener("resize", S);
10947
10947
  }, [o, s]), te(() => {
10948
10948
  if (!e || e.length === 0 || z.containerWidth === 0) return;
10949
- const k = ht(O.current), { containerWidth: B, height: F } = z, Y = B - a.left - a.right, W = e.length * M, ce = Math.max(Y, W), R = ce + a.left + a.right, A = F - a.top - a.bottom;
10950
- if (ce <= 0 || A <= 0) return;
10951
- k.attr("width", R).attr("height", F);
10949
+ const S = ht(O.current), { containerWidth: B, height: F } = z, Y = B - a.left - a.right, W = e.length * A, ce = Math.max(Y, W), D = ce + a.left + a.right, L = F - a.top - a.bottom;
10950
+ if (ce <= 0 || L <= 0) return;
10951
+ S.attr("width", D).attr("height", F);
10952
10952
  const J = x ? [...t].reverse() : t, K = [];
10953
10953
  e.forEach((j) => {
10954
10954
  const re = j.any || j.year || j.x, we = J.map((_e) => ({
@@ -10958,31 +10958,31 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
10958
10958
  })), Ce = we.filter((_e) => _e.value < 0), Le = we.filter((_e) => _e.value >= 0);
10959
10959
  let je = 0;
10960
10960
  Ce.forEach((_e) => {
10961
- const qe = je, L = je + _e.value, V = Math.abs(L - qe);
10961
+ const qe = je, M = je + _e.value, V = Math.abs(M - qe);
10962
10962
  K.push({
10963
10963
  key: _e.key,
10964
10964
  value: _e.value,
10965
- y0: Math.max(qe, L),
10965
+ y0: Math.max(qe, M),
10966
10966
  // El punto más alto
10967
- y1: Math.min(qe, L),
10967
+ y1: Math.min(qe, M),
10968
10968
  // El punto más bajo
10969
10969
  height: V,
10970
10970
  data: _e.data,
10971
10971
  xKey: re
10972
- }), je = L;
10972
+ }), je = M;
10973
10973
  });
10974
10974
  let Qe = 0;
10975
10975
  Le.forEach((_e) => {
10976
- const qe = Qe, L = Qe + _e.value, V = L - qe;
10976
+ const qe = Qe, M = Qe + _e.value, V = M - qe;
10977
10977
  K.push({
10978
10978
  key: _e.key,
10979
10979
  value: _e.value,
10980
- y0: Math.min(qe, L),
10981
- y1: Math.max(qe, L),
10980
+ y0: Math.min(qe, M),
10981
+ y1: Math.max(qe, M),
10982
10982
  height: V,
10983
10983
  data: _e.data,
10984
10984
  xKey: re
10985
- }), Qe = L;
10985
+ }), Qe = M;
10986
10986
  });
10987
10987
  });
10988
10988
  const P = [
@@ -10994,15 +10994,15 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
10994
10994
  const ne = [
10995
10995
  Math.min(P[0], Z[0]),
10996
10996
  Math.max(P[1], Z[1])
10997
- ], G = Rr().domain(e.map((j) => j.any || j.year || j.x)).range([0, ce]).padding(m), U = Ei().domain([ne[0], ne[1]]).nice(6).range([A, 0]), oe = Oi().domain(t).range(Array.isArray(n) ? n : Object.values(n || {})), ee = r && r.length > 0 ? e.map((j, re) => {
10997
+ ], G = Rr().domain(e.map((j) => j.any || j.year || j.x)).range([0, ce]).padding(p), U = Ei().domain([ne[0], ne[1]]).nice(6).range([L, 0]), oe = Oi().domain(t).range(Array.isArray(n) ? n : Object.values(n || {})), ee = r && r.length > 0 ? e.map((j, re) => {
10998
10998
  const we = G(j.any || j.year || j.x) + G.bandwidth() / 2, Ce = U(r[re] || 0);
10999
10999
  return { x: we, y: Ce };
11000
11000
  }) : [];
11001
- k.selectAll("*").remove();
11002
- const ue = k.append("g").attr("transform", `translate(${a.left},${a.top})`);
11003
- w && k.append("text").attr("x", svgWidth / 2).attr("y", a.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), h && ue.append("g").attr("class", "grid").selectAll("line").data(U.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", ce).attr("y1", (j) => U(j)).attr("y2", (j) => U(j)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
11001
+ S.selectAll("*").remove();
11002
+ const ue = S.append("g").attr("transform", `translate(${a.left},${a.top})`);
11003
+ w && S.append("text").attr("x", svgWidth / 2).attr("y", a.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), h && ue.append("g").attr("class", "grid").selectAll("line").data(U.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", ce).attr("y1", (j) => U(j)).attr("y2", (j) => U(j)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
11004
11004
  const I = (j, re = 12) => {
11005
- if (!D || j.length <= re) return [j];
11005
+ if (!R || j.length <= re) return [j];
11006
11006
  const we = Math.floor(j.length / 2);
11007
11007
  let Ce = we;
11008
11008
  for (let Le = we; Le >= 0; Le--)
@@ -11019,7 +11019,7 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
11019
11019
  }
11020
11020
  return Ce === we && (Ce = we), [j.substring(0, Ce), j.substring(Ce + 1)];
11021
11021
  };
11022
- c && (ue.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${A})`).call(Ai(G).tickSizeOuter(0)).selectAll("text").remove(), ue.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${A})`).selectAll(".x-label-group").data(e).enter().append("g").attr("class", "x-label-group").attr(
11022
+ c && (ue.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${L})`).call(Ai(G).tickSizeOuter(0)).selectAll("text").remove(), ue.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${L})`).selectAll(".x-label-group").data(e).enter().append("g").attr("class", "x-label-group").attr(
11023
11023
  "transform",
11024
11024
  (Ce) => `translate(${G(Ce.any || Ce.year || Ce.x) + G.bandwidth() / 2}, 0)`
11025
11025
  ).each(function(Ce) {
@@ -11033,18 +11033,18 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
11033
11033
  g !== 0 ? `rotate(${g} 0 15)` : null
11034
11034
  ).text(je[0]);
11035
11035
  else {
11036
- const L = -(je.length * 14 / 2) + 14 / 2;
11036
+ const M = -(je.length * 14 / 2) + 14 / 2;
11037
11037
  je.forEach((V, H) => {
11038
- Qe.append("text").attr("x", L + H * 14).attr("y", 19).style("text-anchor", "end").style("font-size", "11px").style("fill", "#605B56").attr(
11038
+ Qe.append("text").attr("x", M + H * 14).attr("y", 19).style("text-anchor", "end").style("font-size", "11px").style("fill", "#605B56").attr(
11039
11039
  "transform",
11040
- `rotate(${g} ${L + H * 14} 15)`
11040
+ `rotate(${g} ${M + H * 14} 15)`
11041
11041
  ).text(V);
11042
11042
  });
11043
11043
  }
11044
- }), S && ue.append("text").attr(
11044
+ }), k && ue.append("text").attr(
11045
11045
  "transform",
11046
- `translate(${ce / 2}, ${A + a.bottom - 5})`
11047
- ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), d && (ue.append("g").attr("class", "y-axis").call(Dr(U).ticks(6).tickFormat(y)).call((j) => j.select(".domain").remove()), ue.append("g").attr("class", "y-ticks").attr("transform", `translate(${ce}, 0)`).call(Dr(U).ticks(6).tickSizeInner(ce)).call((j) => j.select(".domain").remove()).call((j) => j.selectAll(".tick text").remove()), $ && ue.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - A / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
11046
+ `translate(${ce / 2}, ${L + a.bottom - 5})`
11047
+ ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), d && (ue.append("g").attr("class", "y-axis").call(Dr(U).ticks(6).tickFormat(b)).call((j) => j.select(".domain").remove()), ue.append("g").attr("class", "y-ticks").attr("transform", `translate(${ce}, 0)`).call(Dr(U).ticks(6).tickSizeInner(ce)).call((j) => j.select(".domain").remove()).call((j) => j.selectAll(".tick text").remove()), $ && ue.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - L / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
11048
11048
  let se;
11049
11049
  C && (se = ht("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
11050
11050
  const Ie = ue.selectAll(".segment").data(K, (j) => `${j.xKey}-${j.key}`);
@@ -11058,7 +11058,7 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
11058
11058
  C && se && se.style("visibility", "visible").html(`
11059
11059
  <strong>${E(re.key)}</strong><br/>
11060
11060
  ${re.xKey}<br/>
11061
- ${y(we)}
11061
+ ${b(we)}
11062
11062
  `), ht(this).style("opacity", 0.8), f && f(j, {
11063
11063
  key: re.key,
11064
11064
  value: we,
@@ -11089,22 +11089,22 @@ const Of = "_svgContainer_7fkic_2", Af = "_svg_7fkic_2", Si = {
11089
11089
  r,
11090
11090
  z,
11091
11091
  a,
11092
- m,
11092
+ p,
11093
11093
  c,
11094
11094
  d,
11095
11095
  h,
11096
11096
  g,
11097
- y,
11097
+ b,
11098
11098
  v,
11099
11099
  f,
11100
11100
  _,
11101
11101
  w,
11102
- S,
11102
+ k,
11103
11103
  $,
11104
- b,
11104
+ y,
11105
11105
  C,
11106
11106
  x,
11107
- D
11107
+ R
11108
11108
  ]), /* @__PURE__ */ u(
11109
11109
  "div",
11110
11110
  {
@@ -11203,7 +11203,7 @@ const Mf = "_externalContainer_1er0i_2", Rf = "_externalSintetic_1er0i_9", Df =
11203
11203
  getTotal: d = Hf,
11204
11204
  columnWidth: h = 50
11205
11205
  }) => {
11206
- const g = c || ((m) => m), y = (m) => m === "demanda_red" || m === "reduccio_demanda_red" ? (l.demanda || "").replace("(", "").replace(")", "") : l[m] || "";
11206
+ const g = c || ((p) => p), b = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (l.demanda || "").replace("(", "").replace(")", "") : l[p] || "";
11207
11207
  return /* @__PURE__ */ T(
11208
11208
  "div",
11209
11209
  {
@@ -11211,41 +11211,41 @@ const Mf = "_externalContainer_1er0i_2", Rf = "_externalSintetic_1er0i_9", Df =
11211
11211
  children: [
11212
11212
  s === !0 && /* @__PURE__ */ T(fn, { children: [
11213
11213
  /* @__PURE__ */ u("div", {}),
11214
- /* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((m, v) => /* @__PURE__ */ u("div", { className: Be.yearTitle, style: { width: h }, children: m.anyo }, v)) })
11214
+ /* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((p, v) => /* @__PURE__ */ u("div", { className: Be.yearTitle, style: { width: h }, children: p.anyo }, v)) })
11215
11215
  ] }),
11216
- /* @__PURE__ */ u("div", { className: Be.titles, children: t.map((m, v) => /* @__PURE__ */ T("div", { className: Be.titleContainer, children: [
11217
- g(r[m]),
11216
+ /* @__PURE__ */ u("div", { className: Be.titles, children: t.map((p, v) => /* @__PURE__ */ T("div", { className: Be.titleContainer, children: [
11217
+ g(r[p]),
11218
11218
  a !== "sin" && /* @__PURE__ */ u(
11219
11219
  "span",
11220
11220
  {
11221
11221
  className: Be.circle,
11222
- style: { background: n[m] }
11222
+ style: { background: n[p] }
11223
11223
  }
11224
11224
  )
11225
11225
  ] }, v)) }),
11226
- o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((m, v) => {
11226
+ o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((p, v) => {
11227
11227
  var f;
11228
11228
  return /* @__PURE__ */ T(
11229
11229
  "div",
11230
11230
  {
11231
- className: `${Be.total} ${d(m, e) > 9999 || d(m, e) < -9999 ? Be.bigNumber : ""}`,
11231
+ className: `${Be.total} ${d(p, e) > 9999 || d(p, e) < -9999 ? Be.bigNumber : ""}`,
11232
11232
  children: [
11233
- (f = d(m, e)) == null ? void 0 : f.toLocaleString("es-ES"),
11233
+ (f = d(p, e)) == null ? void 0 : f.toLocaleString("es-ES"),
11234
11234
  " ",
11235
- y(m)
11235
+ b(p)
11236
11236
  ]
11237
11237
  },
11238
11238
  v
11239
11239
  );
11240
11240
  }) }),
11241
- /* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((m, v) => /* @__PURE__ */ u("div", { className: Be.yearDataContainer, style: { width: h }, children: t.map(
11241
+ /* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((p, v) => /* @__PURE__ */ u("div", { className: Be.yearDataContainer, style: { width: h }, children: t.map(
11242
11242
  (f, _) => {
11243
- var w, S;
11244
- return isNaN(m[f]) ? null : /* @__PURE__ */ u(
11243
+ var w, k;
11244
+ return isNaN(p[f]) ? null : /* @__PURE__ */ u(
11245
11245
  "div",
11246
11246
  {
11247
- className: `${Be.yearDataContent} ${m[f] > 9999 || m[f] < -9999 ? Be.bigNumber : ""}`,
11248
- children: m[f] < 1e4 || m[f] > -1e4 ? (w = Zf(m[f])) == null ? void 0 : w.toLocaleString("es-ES") : (S = m[f]) == null ? void 0 : S.toLocaleString("es-ES")
11247
+ className: `${Be.yearDataContent} ${p[f] > 9999 || p[f] < -9999 ? Be.bigNumber : ""}`,
11248
+ children: p[f] < 1e4 || p[f] > -1e4 ? (w = Zf(p[f])) == null ? void 0 : w.toLocaleString("es-ES") : (k = p[f]) == null ? void 0 : k.toLocaleString("es-ES")
11249
11249
  },
11250
11250
  _
11251
11251
  );
@@ -11462,9 +11462,11 @@ const Ls = ({
11462
11462
  gapWidth: s = 3,
11463
11463
  backgroundColor: a = "transparent",
11464
11464
  fontColor: l = "black",
11465
- fontColorInside: c = "white"
11465
+ fontColorInside: c = "white",
11466
+ containerStyles: d = {},
11467
+ alignLeft: h = !1
11466
11468
  }) => {
11467
- const [d, h] = de(null), g = r / 2, y = r / 2, m = r / 2 - 14, v = e === "donut" ? m - o : 0, f = e === "donut" ? m - o / 2 : m * 0.62, _ = ze(() => Qf(t), [t]), w = d !== null ? _[d] : null;
11469
+ const [g, b] = de(null), p = r / 2, v = r / 2, f = r / 2 - 14, _ = e === "donut" ? f - o : 0, w = e === "donut" ? f - o / 2 : f * 0.62, k = ze(() => Qf(t), [t]), $ = g !== null ? k[g] : null;
11468
11470
  return /* @__PURE__ */ T(
11469
11471
  "div",
11470
11472
  {
@@ -11475,7 +11477,8 @@ const Ls = ({
11475
11477
  padding: "28px 32px",
11476
11478
  background: a,
11477
11479
  borderRadius: "16px",
11478
- fontFamily: "'Segoe UI', sans-serif"
11480
+ fontFamily: "'Segoe UI', sans-serif",
11481
+ ...d
11479
11482
  },
11480
11483
  children: [
11481
11484
  /* @__PURE__ */ T(
@@ -11510,9 +11513,9 @@ const Ls = ({
11510
11513
  alignItems: "center",
11511
11514
  gap: "8px",
11512
11515
  transition: "opacity 0.15s",
11513
- opacity: w ? 1 : 0
11516
+ opacity: $ ? 1 : 0
11514
11517
  },
11515
- children: w && /* @__PURE__ */ T(fn, { children: [
11518
+ children: $ && /* @__PURE__ */ T(fn, { children: [
11516
11519
  /* @__PURE__ */ u(
11517
11520
  "span",
11518
11521
  {
@@ -11521,7 +11524,7 @@ const Ls = ({
11521
11524
  width: "10px",
11522
11525
  height: "10px",
11523
11526
  borderRadius: "50%",
11524
- background: w.color || Mr,
11527
+ background: $.color || Mr,
11525
11528
  flexShrink: 0
11526
11529
  }
11527
11530
  }
@@ -11535,9 +11538,9 @@ const Ls = ({
11535
11538
  fontWeight: "600"
11536
11539
  },
11537
11540
  children: [
11538
- w.title,
11541
+ $.title,
11539
11542
  " — ",
11540
- w.value,
11543
+ $.value,
11541
11544
  "%"
11542
11545
  ]
11543
11546
  }
@@ -11554,7 +11557,7 @@ const Ls = ({
11554
11557
  style: {
11555
11558
  display: "flex",
11556
11559
  flexDirection: "column",
11557
- alignItems: "center",
11560
+ alignItems: h ? "flex-start" : "center",
11558
11561
  gap: "16px"
11559
11562
  },
11560
11563
  children: [
@@ -11566,58 +11569,58 @@ const Ls = ({
11566
11569
  viewBox: `0 0 ${r} ${r}`,
11567
11570
  style: { overflow: "visible" },
11568
11571
  children: [
11569
- _.map((S, $) => {
11570
- const b = d === $, { tx: C, ty: x } = b ? ki(g, y, S.sa, S.ea, 10) : { tx: 0, ty: 0 };
11572
+ k.map((y, C) => {
11573
+ const x = g === C, { tx: A, ty: R } = x ? ki(p, v, y.sa, y.ea, 10) : { tx: 0, ty: 0 };
11571
11574
  return /* @__PURE__ */ u(
11572
11575
  "g",
11573
11576
  {
11574
- transform: `translate(${C}, ${x})`,
11577
+ transform: `translate(${A}, ${R})`,
11575
11578
  style: {
11576
11579
  cursor: "pointer",
11577
11580
  transition: "transform 0.18s ease"
11578
11581
  },
11579
- onMouseEnter: () => h($),
11580
- onMouseLeave: () => h(null),
11582
+ onMouseEnter: () => b(C),
11583
+ onMouseLeave: () => b(null),
11581
11584
  children: /* @__PURE__ */ u(
11582
11585
  "path",
11583
11586
  {
11584
- d: Xf(g, y, v, m, S.sa, S.ea),
11585
- fill: S.color || Mr,
11587
+ d: Xf(p, v, _, f, y.sa, y.ea),
11588
+ fill: y.color || Mr,
11586
11589
  style: {
11587
- filter: b ? "brightness(1.25)" : "brightness(1)",
11590
+ filter: x ? "brightness(1.25)" : "brightness(1)",
11588
11591
  transition: "filter 0.18s ease"
11589
11592
  }
11590
11593
  }
11591
11594
  )
11592
11595
  },
11593
- $
11596
+ C
11594
11597
  );
11595
11598
  }),
11596
- _.map((S, $) => {
11597
- const b = ct(g, y, m, S.sa), C = e === "cheese" ? g : ct(g, y, v, S.sa).x, x = e === "cheese" ? y : ct(g, y, v, S.sa).y;
11599
+ k.map((y, C) => {
11600
+ const x = ct(p, v, f, y.sa), A = e === "cheese" ? p : ct(p, v, _, y.sa).x, R = e === "cheese" ? v : ct(p, v, _, y.sa).y;
11598
11601
  return /* @__PURE__ */ u(
11599
11602
  "line",
11600
11603
  {
11601
- x1: C,
11602
- y1: x,
11603
- x2: b.x,
11604
- y2: b.y,
11604
+ x1: A,
11605
+ y1: R,
11606
+ x2: x.x,
11607
+ y2: x.y,
11605
11608
  stroke: a,
11606
11609
  strokeWidth: s,
11607
11610
  strokeLinecap: "butt",
11608
11611
  style: { pointerEvents: "none" }
11609
11612
  },
11610
- `gap-${$}`
11613
+ `gap-${C}`
11611
11614
  );
11612
11615
  }),
11613
- _.map((S, $) => {
11614
- if (S.ea - S.sa < 20) return null;
11615
- const b = d === $, { tx: C, ty: x } = b ? ki(g, y, S.sa, S.ea, 10) : { tx: 0, ty: 0 }, M = S.sa + (S.ea - S.sa) / 2, D = ct(g, y, f, M);
11616
+ k.map((y, C) => {
11617
+ if (y.ea - y.sa < 20) return null;
11618
+ const x = g === C, { tx: A, ty: R } = x ? ki(p, v, y.sa, y.ea, 10) : { tx: 0, ty: 0 }, O = y.sa + (y.ea - y.sa) / 2, q = ct(p, v, w, O);
11616
11619
  return /* @__PURE__ */ T(
11617
11620
  "text",
11618
11621
  {
11619
- x: D.x + C,
11620
- y: D.y + x,
11622
+ x: q.x + A,
11623
+ y: q.y + R,
11621
11624
  textAnchor: "middle",
11622
11625
  dominantBaseline: "middle",
11623
11626
  fill: c,
@@ -11627,11 +11630,11 @@ const Ls = ({
11627
11630
  pointerEvents: "none",
11628
11631
  style: { transition: "transform 0.18s ease" },
11629
11632
  children: [
11630
- S.value,
11633
+ y.value,
11631
11634
  "%"
11632
11635
  ]
11633
11636
  },
11634
- `lbl-${$}`
11637
+ `lbl-${C}`
11635
11638
  );
11636
11639
  })
11637
11640
  ]
@@ -11644,9 +11647,9 @@ const Ls = ({
11644
11647
  display: "flex",
11645
11648
  flexWrap: "wrap",
11646
11649
  gap: "12px 24px",
11647
- justifyContent: "center"
11650
+ justifyContent: h ? "flex-start" : "center"
11648
11651
  },
11649
- children: t.map((S, $) => /* @__PURE__ */ T(
11652
+ children: t.map((y, C) => /* @__PURE__ */ T(
11650
11653
  "div",
11651
11654
  {
11652
11655
  style: {
@@ -11654,11 +11657,11 @@ const Ls = ({
11654
11657
  alignItems: "center",
11655
11658
  gap: "8px",
11656
11659
  cursor: "pointer",
11657
- opacity: d === null || d === $ ? 1 : 0.4,
11660
+ opacity: g === null || g === C ? 1 : 0.4,
11658
11661
  transition: "opacity 0.15s"
11659
11662
  },
11660
- onMouseEnter: () => h($),
11661
- onMouseLeave: () => h(null),
11663
+ onMouseEnter: () => b(C),
11664
+ onMouseLeave: () => b(null),
11662
11665
  children: [
11663
11666
  /* @__PURE__ */ u(
11664
11667
  "span",
@@ -11667,7 +11670,7 @@ const Ls = ({
11667
11670
  width: "32px",
11668
11671
  height: "14px",
11669
11672
  borderRadius: "3px",
11670
- background: S.color || Mr,
11673
+ background: y.color || Mr,
11671
11674
  flexShrink: 0
11672
11675
  }
11673
11676
  }
@@ -11680,12 +11683,12 @@ const Ls = ({
11680
11683
  fontSize: "13px",
11681
11684
  fontWeight: "400"
11682
11685
  },
11683
- children: S.title
11686
+ children: y.title
11684
11687
  }
11685
11688
  )
11686
11689
  ]
11687
11690
  },
11688
- $
11691
+ C
11689
11692
  ))
11690
11693
  }
11691
11694
  )
@@ -11711,7 +11714,9 @@ Ls.propTypes = {
11711
11714
  gapWidth: i.number,
11712
11715
  backgroundColor: i.string,
11713
11716
  fontColor: i.string,
11714
- fontColorInside: i.string
11717
+ fontColorInside: i.string,
11718
+ containerStyles: i.object,
11719
+ alignLeft: i.bool
11715
11720
  };
11716
11721
  Ls.defaultProps = {
11717
11722
  type: "cheese",
@@ -11721,7 +11726,9 @@ Ls.defaultProps = {
11721
11726
  gapWidth: 3,
11722
11727
  backgroundColor: "transparent",
11723
11728
  fontColor: "black",
11724
- fontColorInside: "white"
11729
+ fontColorInside: "white",
11730
+ containerStyles: {},
11731
+ alignLeft: !1
11725
11732
  };
11726
11733
  const Ti = [
11727
11734
  "#a8d8cf",
@@ -11773,8 +11780,8 @@ const Ti = [
11773
11780
  children: t
11774
11781
  }
11775
11782
  ),
11776
- /* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((g, y) => {
11777
- const m = g.color || Ti[y % Ti.length], v = g.value / h * 100 * c;
11783
+ /* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((g, b) => {
11784
+ const p = g.color || Ti[b % Ti.length], v = g.value / h * 100 * c;
11778
11785
  return /* @__PURE__ */ T(
11779
11786
  "div",
11780
11787
  {
@@ -11812,7 +11819,7 @@ const Ti = [
11812
11819
  top: 0,
11813
11820
  height: "100%",
11814
11821
  width: `${v}%`,
11815
- background: m,
11822
+ background: p,
11816
11823
  borderRadius: a ?? "6px",
11817
11824
  transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
11818
11825
  }
@@ -11840,7 +11847,7 @@ const Ti = [
11840
11847
  )
11841
11848
  ]
11842
11849
  },
11843
- y
11850
+ b
11844
11851
  );
11845
11852
  }) })
11846
11853
  ]