@sme.up/ketchup2 2.0.0-SNAPSHOT-20250811082647 → 2.0.0-SNAPSHOT-20250812075701

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.
@@ -1,6 +1,6 @@
1
1
  import * as rt from "react";
2
- import gt, { useState as H, useEffect as re, useRef as ue, useCallback as oe, useLayoutEffect as wn, useId as De, useMemo as Je, createElement as Sn } from "react";
3
- import { createPortal as En } from "react-dom";
2
+ import gt, { useState as z, useEffect as re, useRef as ue, useCallback as oe, useLayoutEffect as Sn, useId as De, useMemo as Je, createElement as En } from "react";
3
+ import { createPortal as Cn } from "react-dom";
4
4
  var nt = { exports: {} }, qe = {};
5
5
  /**
6
6
  * @license React
@@ -11,10 +11,10 @@ var nt = { exports: {} }, qe = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var ar;
15
- function Cn() {
16
- if (ar) return qe;
17
- ar = 1;
14
+ var ir;
15
+ function Tn() {
16
+ if (ir) return qe;
17
+ ir = 1;
18
18
  var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
19
19
  function r(n, s, a) {
20
20
  var o = null;
@@ -33,7 +33,7 @@ function Cn() {
33
33
  }
34
34
  return qe.Fragment = e, qe.jsx = r, qe.jsxs = r, qe;
35
35
  }
36
- var He = {};
36
+ var ze = {};
37
37
  /**
38
38
  * @license React
39
39
  * react-jsx-runtime.development.js
@@ -43,9 +43,9 @@ var He = {};
43
43
  * This source code is licensed under the MIT license found in the
44
44
  * LICENSE file in the root directory of this source tree.
45
45
  */
46
- var or;
47
- function Tn() {
48
- return or || (or = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var lr;
47
+ function _n() {
48
+ return lr || (lr = 1, process.env.NODE_ENV !== "production" && function() {
49
49
  function t(g) {
50
50
  if (g == null) return null;
51
51
  if (typeof g == "function")
@@ -249,7 +249,7 @@ React keys must be passed directly to JSX without using spread:
249
249
  f,
250
250
  a
251
251
  )(), I = D(n(a)), k = {};
252
- He.Fragment = y, He.jsx = function(g, S, N, R, $) {
252
+ ze.Fragment = y, ze.jsx = function(g, S, N, R, $) {
253
253
  var M = 1e4 > O.recentlyCreatedOwnerStacks++;
254
254
  return d(
255
255
  g,
@@ -261,7 +261,7 @@ React keys must be passed directly to JSX without using spread:
261
261
  M ? Error("react-stack-top-frame") : A,
262
262
  M ? D(n(g)) : I
263
263
  );
264
- }, He.jsxs = function(g, S, N, R, $) {
264
+ }, ze.jsxs = function(g, S, N, R, $) {
265
265
  var M = 1e4 > O.recentlyCreatedOwnerStacks++;
266
266
  return d(
267
267
  g,
@@ -274,14 +274,14 @@ React keys must be passed directly to JSX without using spread:
274
274
  M ? D(n(g)) : I
275
275
  );
276
276
  };
277
- }()), He;
277
+ }()), ze;
278
278
  }
279
- var ir;
280
- function _n() {
281
- return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Cn() : nt.exports = Tn()), nt.exports;
279
+ var cr;
280
+ function On() {
281
+ return cr || (cr = 1, process.env.NODE_ENV === "production" ? nt.exports = Tn() : nt.exports = _n()), nt.exports;
282
282
  }
283
- var p = _n();
284
- function On(t, e) {
283
+ var p = On();
284
+ function jn(t, e) {
285
285
  if (t == null) return {};
286
286
  var r = {};
287
287
  for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
@@ -299,13 +299,13 @@ function bt() {
299
299
  return t;
300
300
  }, bt.apply(null, arguments);
301
301
  }
302
- function Ft(t, e) {
303
- return Ft = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
302
+ function Mt(t, e) {
303
+ return Mt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
304
304
  return r.__proto__ = n, r;
305
- }, Ft(t, e);
305
+ }, Mt(t, e);
306
306
  }
307
- function jn(t, e) {
308
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Ft(t, e);
307
+ function Rn(t, e) {
308
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Mt(t, e);
309
309
  }
310
310
  function Ot(t, e, r) {
311
311
  if (r || arguments.length === 2) for (var n = 0, s = e.length, a; n < s; n++)
@@ -318,10 +318,10 @@ var st = {};
318
318
  * Copyright(c) 2015 Douglas Christopher Wilson
319
319
  * MIT Licensed
320
320
  */
321
- var lr;
322
- function Rn() {
323
- if (lr) return st;
324
- lr = 1;
321
+ var ur;
322
+ function Dn() {
323
+ if (ur) return st;
324
+ ur = 1;
325
325
  var t = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, r = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, n = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, a = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
326
326
  st.format = o, st.parse = i;
327
327
  function o(u) {
@@ -380,11 +380,11 @@ function Rn() {
380
380
  }
381
381
  return st;
382
382
  }
383
- var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
383
+ var kn = Dn(), Be = /* @__PURE__ */ new Map(), en = function(e) {
384
384
  return e.cloneNode(!0);
385
- }, cr = function() {
385
+ }, dr = function() {
386
386
  return window.location.protocol === "file:";
387
- }, Zr = function(e, r, n) {
387
+ }, tn = function(e, r, n) {
388
388
  var s = new XMLHttpRequest();
389
389
  s.onreadystatechange = function() {
390
390
  try {
@@ -392,14 +392,14 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
392
392
  var a = s.getResponseHeader("Content-Type");
393
393
  if (!a)
394
394
  throw new Error("Content type not found");
395
- var o = Dn.parse(a).type;
395
+ var o = kn.parse(a).type;
396
396
  if (!(o === "image/svg+xml" || o === "text/plain"))
397
397
  throw new Error("Invalid content type: ".concat(o));
398
398
  }
399
399
  if (s.readyState === 4) {
400
400
  if (s.status === 404 || s.responseXML === null)
401
- throw new Error(cr() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
402
- if (s.status === 200 || cr() && s.status === 0)
401
+ throw new Error(dr() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
402
+ if (s.status === 200 || dr() && s.status === 0)
403
403
  n(null, s);
404
404
  else
405
405
  throw new Error("There was a problem injecting the SVG: " + s.status + " " + s.statusText);
@@ -411,42 +411,42 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
411
411
  throw i;
412
412
  }
413
413
  }, s.open("GET", e), s.withCredentials = r, s.overrideMimeType && s.overrideMimeType("text/xml"), s.send();
414
- }, je = {}, ur = function(e, r) {
414
+ }, je = {}, fr = function(e, r) {
415
415
  je[e] = je[e] || [], je[e].push(r);
416
- }, kn = function(e) {
416
+ }, Nn = function(e) {
417
417
  for (var r = function(o, i) {
418
418
  setTimeout(function() {
419
419
  if (Array.isArray(je[e])) {
420
420
  var l = Be.get(e), c = je[e][o];
421
- l instanceof SVGSVGElement && c(null, Qr(l)), l instanceof Error && c(l), o === je[e].length - 1 && delete je[e];
421
+ l instanceof SVGSVGElement && c(null, en(l)), l instanceof Error && c(l), o === je[e].length - 1 && delete je[e];
422
422
  }
423
423
  }, 0);
424
424
  }, n = 0, s = je[e].length; n < s; n++)
425
425
  r(n);
426
- }, Nn = function(e, r, n) {
426
+ }, $n = function(e, r, n) {
427
427
  if (Be.has(e)) {
428
428
  var s = Be.get(e);
429
429
  if (s === void 0) {
430
- ur(e, n);
430
+ fr(e, n);
431
431
  return;
432
432
  }
433
433
  if (s instanceof SVGSVGElement) {
434
- n(null, Qr(s));
434
+ n(null, en(s));
435
435
  return;
436
436
  }
437
437
  }
438
- Be.set(e, void 0), ur(e, n), Zr(e, r, function(a, o) {
438
+ Be.set(e, void 0), fr(e, n), tn(e, r, function(a, o) {
439
439
  var i;
440
- a ? Be.set(e, a) : ((i = o.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && Be.set(e, o.responseXML.documentElement), kn(e);
440
+ a ? Be.set(e, a) : ((i = o.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && Be.set(e, o.responseXML.documentElement), Nn(e);
441
441
  });
442
- }, $n = function(e, r, n) {
443
- Zr(e, r, function(s, a) {
442
+ }, Ln = function(e, r, n) {
443
+ tn(e, r, function(s, a) {
444
444
  var o;
445
445
  s ? n(s) : ((o = a.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && n(null, a.responseXML.documentElement);
446
446
  });
447
- }, Ln = 0, An = function() {
448
- return ++Ln;
449
- }, Se = [], dr = {}, In = "http://www.w3.org/2000/svg", jt = "http://www.w3.org/1999/xlink", fr = function(e, r, n, s, a, o, i) {
447
+ }, An = 0, In = function() {
448
+ return ++An;
449
+ }, Se = [], pr = {}, Pn = "http://www.w3.org/2000/svg", jt = "http://www.w3.org/1999/xlink", hr = function(e, r, n, s, a, o, i) {
450
450
  var l = e.getAttribute("data-src") || e.getAttribute("src");
451
451
  if (!l) {
452
452
  i(new Error("Invalid data-src or src attribute"));
@@ -457,7 +457,7 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
457
457
  return;
458
458
  }
459
459
  Se.push(e), e.setAttribute("src", "");
460
- var c = s ? Nn : $n;
460
+ var c = s ? $n : Ln;
461
461
  c(l, a, function(d, u) {
462
462
  if (!u) {
463
463
  Se.splice(Se.indexOf(e), 1), e = null, i(d);
@@ -496,13 +496,13 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
496
496
  Object.keys(w).forEach(function(I) {
497
497
  E = I, C = w[I], b = u.querySelectorAll(E + "[id]");
498
498
  for (var k = function(R, $) {
499
- P = b[R].id, V = P + "-" + An();
499
+ P = b[R].id, V = P + "-" + In();
500
500
  var M;
501
- Array.prototype.forEach.call(C, function(z) {
502
- M = u.querySelectorAll("[" + z + '*="' + P + '"]');
501
+ Array.prototype.forEach.call(C, function(H) {
502
+ M = u.querySelectorAll("[" + H + '*="' + P + '"]');
503
503
  for (var ee = 0, W = M.length; ee < W; ee++) {
504
- var X = M[ee].getAttribute(z);
505
- X && !X.match(new RegExp('url\\("?#' + P + '"?\\)')) || M[ee].setAttribute(z, "url(#" + V + ")");
504
+ var X = M[ee].getAttribute(H);
505
+ X && !X.match(new RegExp('url\\("?#' + P + '"?\\)')) || M[ee].setAttribute(H, "url(#" + V + ")");
506
506
  }
507
507
  });
508
508
  for (var Y = u.querySelectorAll("[*|href]"), q = [], B = 0, Z = Y.length; B < Z; B++) {
@@ -519,31 +519,31 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
519
519
  u.removeAttribute("xmlns:a");
520
520
  for (var F = u.querySelectorAll("script"), j = [], O, _, L = 0, D = F.length; L < D; L++)
521
521
  _ = F[L].getAttribute("type"), (!_ || _ === "application/ecmascript" || _ === "application/javascript" || _ === "text/javascript") && (O = F[L].innerText || F[L].textContent, O && j.push(O), u.removeChild(F[L]));
522
- if (j.length > 0 && (r === "always" || r === "once" && !dr[l])) {
522
+ if (j.length > 0 && (r === "always" || r === "once" && !pr[l])) {
523
523
  for (var K = 0, G = j.length; K < G; K++)
524
524
  new Function(j[K])(window);
525
- dr[l] = !0;
525
+ pr[l] = !0;
526
526
  }
527
527
  var A = u.querySelectorAll("style");
528
528
  if (Array.prototype.forEach.call(A, function(I) {
529
529
  I.textContent += "";
530
- }), u.setAttribute("xmlns", In), u.setAttribute("xmlns:xlink", jt), o(u), !e.parentNode) {
530
+ }), u.setAttribute("xmlns", Pn), u.setAttribute("xmlns:xlink", jt), o(u), !e.parentNode) {
531
531
  Se.splice(Se.indexOf(e), 1), e = null, i(new Error("Parent node is null"));
532
532
  return;
533
533
  }
534
534
  e.parentNode.replaceChild(u, e), Se.splice(Se.indexOf(e), 1), e = null, i(null, u);
535
535
  });
536
- }, Pn = function(e, r) {
536
+ }, Fn = function(e, r) {
537
537
  var n = r === void 0 ? {} : r, s = n.afterAll, a = s === void 0 ? function() {
538
538
  } : s, o = n.afterEach, i = o === void 0 ? function() {
539
539
  } : o, l = n.beforeEach, c = l === void 0 ? function() {
540
540
  } : l, d = n.cacheRequests, u = d === void 0 ? !0 : d, f = n.evalScripts, m = f === void 0 ? "never" : f, h = n.httpRequestWithCredentials, y = h === void 0 ? !1 : h, x = n.renumerateIRIElements, v = x === void 0 ? !0 : x;
541
541
  if (e && "length" in e)
542
542
  for (var T = 0, w = 0, E = e.length; w < E; w++)
543
- fr(e[w], m, v, u, y, c, function(b, C) {
543
+ hr(e[w], m, v, u, y, c, function(b, C) {
544
544
  i(b, C), e && "length" in e && e.length === ++T && a(T);
545
545
  });
546
- else e ? fr(e, m, v, u, y, c, function(b, C) {
546
+ else e ? hr(e, m, v, u, y, c, function(b, C) {
547
547
  i(b, C), a(1), e = null;
548
548
  }) : a(0);
549
549
  }, at = { exports: {} }, ot = { exports: {} }, ne = {};
@@ -555,10 +555,10 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Qr = function(e) {
555
555
  * This source code is licensed under the MIT license found in the
556
556
  * LICENSE file in the root directory of this source tree.
557
557
  */
558
- var pr;
559
- function Fn() {
560
- if (pr) return ne;
561
- pr = 1;
558
+ var mr;
559
+ function Mn() {
560
+ if (mr) return ne;
561
+ mr = 1;
562
562
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, i = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, y = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
563
563
  function w(b) {
564
564
  if (typeof b == "object" && b !== null) {
@@ -630,9 +630,9 @@ var se = {};
630
630
  * This source code is licensed under the MIT license found in the
631
631
  * LICENSE file in the root directory of this source tree.
632
632
  */
633
- var hr;
634
- function Mn() {
635
- return hr || (hr = 1, process.env.NODE_ENV !== "production" && function() {
633
+ var gr;
634
+ function Vn() {
635
+ return gr || (gr = 1, process.env.NODE_ENV !== "production" && function() {
636
636
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, i = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, y = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
637
637
  function w(U) {
638
638
  return typeof U == "string" || typeof U == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -640,8 +640,8 @@ function Mn() {
640
640
  }
641
641
  function E(U) {
642
642
  if (typeof U == "object" && U !== null) {
643
- var z = U.$$typeof;
644
- switch (z) {
643
+ var H = U.$$typeof;
644
+ switch (H) {
645
645
  case e:
646
646
  var ee = U.type;
647
647
  switch (ee) {
@@ -662,11 +662,11 @@ function Mn() {
662
662
  case o:
663
663
  return W;
664
664
  default:
665
- return z;
665
+ return H;
666
666
  }
667
667
  }
668
668
  case r:
669
- return z;
669
+ return H;
670
670
  }
671
671
  }
672
672
  }
@@ -713,19 +713,19 @@ function Mn() {
713
713
  se.AsyncMode = b, se.ConcurrentMode = C, se.ContextConsumer = P, se.ContextProvider = V, se.Element = F, se.ForwardRef = j, se.Fragment = O, se.Lazy = _, se.Memo = L, se.Portal = D, se.Profiler = K, se.StrictMode = G, se.Suspense = A, se.isAsyncMode = k, se.isConcurrentMode = g, se.isContextConsumer = S, se.isContextProvider = N, se.isElement = R, se.isForwardRef = $, se.isFragment = M, se.isLazy = Y, se.isMemo = q, se.isPortal = B, se.isProfiler = Z, se.isStrictMode = J, se.isSuspense = ae, se.isValidElementType = w, se.typeOf = E;
714
714
  }()), se;
715
715
  }
716
- var mr;
717
- function en() {
718
- return mr || (mr = 1, process.env.NODE_ENV === "production" ? ot.exports = Fn() : ot.exports = Mn()), ot.exports;
716
+ var br;
717
+ function rn() {
718
+ return br || (br = 1, process.env.NODE_ENV === "production" ? ot.exports = Mn() : ot.exports = Vn()), ot.exports;
719
719
  }
720
720
  /*
721
721
  object-assign
722
722
  (c) Sindre Sorhus
723
723
  @license MIT
724
724
  */
725
- var Rt, gr;
726
- function Vn() {
727
- if (gr) return Rt;
728
- gr = 1;
725
+ var Rt, yr;
726
+ function Un() {
727
+ if (yr) return Rt;
728
+ yr = 1;
729
729
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
730
730
  function n(a) {
731
731
  if (a == null)
@@ -768,25 +768,25 @@ function Vn() {
768
768
  return l;
769
769
  }, Rt;
770
770
  }
771
- var Dt, br;
772
- function Kt() {
773
- if (br) return Dt;
774
- br = 1;
771
+ var Dt, vr;
772
+ function Jt() {
773
+ if (vr) return Dt;
774
+ vr = 1;
775
775
  var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
776
776
  return Dt = t, Dt;
777
777
  }
778
- var kt, yr;
779
- function tn() {
780
- return yr || (yr = 1, kt = Function.call.bind(Object.prototype.hasOwnProperty)), kt;
778
+ var kt, xr;
779
+ function nn() {
780
+ return xr || (xr = 1, kt = Function.call.bind(Object.prototype.hasOwnProperty)), kt;
781
781
  }
782
- var Nt, vr;
783
- function Un() {
784
- if (vr) return Nt;
785
- vr = 1;
782
+ var Nt, wr;
783
+ function Bn() {
784
+ if (wr) return Nt;
785
+ wr = 1;
786
786
  var t = function() {
787
787
  };
788
788
  if (process.env.NODE_ENV !== "production") {
789
- var e = /* @__PURE__ */ Kt(), r = {}, n = /* @__PURE__ */ tn();
789
+ var e = /* @__PURE__ */ Jt(), r = {}, n = /* @__PURE__ */ nn();
790
790
  t = function(a) {
791
791
  var o = "Warning: " + a;
792
792
  typeof console < "u" && console.error(o);
@@ -828,11 +828,11 @@ function Un() {
828
828
  process.env.NODE_ENV !== "production" && (r = {});
829
829
  }, Nt = s, Nt;
830
830
  }
831
- var $t, xr;
832
- function Bn() {
833
- if (xr) return $t;
834
- xr = 1;
835
- var t = en(), e = Vn(), r = /* @__PURE__ */ Kt(), n = /* @__PURE__ */ tn(), s = /* @__PURE__ */ Un(), a = function() {
831
+ var $t, Sr;
832
+ function Wn() {
833
+ if (Sr) return $t;
834
+ Sr = 1;
835
+ var t = rn(), e = Un(), r = /* @__PURE__ */ Jt(), n = /* @__PURE__ */ nn(), s = /* @__PURE__ */ Bn(), a = function() {
836
836
  };
837
837
  process.env.NODE_ENV !== "production" && (a = function(i) {
838
838
  var l = "Warning: " + i;
@@ -891,11 +891,11 @@ function Bn() {
891
891
  );
892
892
  throw U.name = "Invariant Violation", U;
893
893
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
894
- var z = B + ":" + q;
895
- !S[z] && // Avoid spamming the console because they are often not actionable except for lib authors
894
+ var H = B + ":" + q;
895
+ !S[H] && // Avoid spamming the console because they are often not actionable except for lib authors
896
896
  N < 3 && (a(
897
897
  "You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + B + "`. 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."
898
- ), S[z] = !0, N++);
898
+ ), S[H] = !0, N++);
899
899
  }
900
900
  }
901
901
  return Y[q] == null ? M ? Y[q] === null ? new y("The " + Z + " `" + J + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new y("The " + Z + " `" + J + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : g(Y, q, B, Z, J);
@@ -980,8 +980,8 @@ function Bn() {
980
980
  if (h(q, g[B]))
981
981
  return null;
982
982
  var Z = JSON.stringify(g, function(ae, U) {
983
- var z = A(U);
984
- return z === "symbol" ? String(U) : U;
983
+ var H = A(U);
984
+ return H === "symbol" ? String(U) : U;
985
985
  });
986
986
  return new y("Invalid " + M + " `" + Y + "` of value `" + String(q) + "` " + ("supplied to `" + $ + "`, expected one of " + Z + "."));
987
987
  }
@@ -1021,8 +1021,8 @@ function Bn() {
1021
1021
  return null;
1022
1022
  U.data && n(U.data, "expectedType") && Z.push(U.data.expectedType);
1023
1023
  }
1024
- var z = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
1025
- return new y("Invalid " + q + " `" + B + "` supplied to " + ("`" + Y + "`" + z + "."));
1024
+ var H = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
1025
+ return new y("Invalid " + q + " `" + B + "` supplied to " + ("`" + Y + "`" + H + "."));
1026
1026
  }
1027
1027
  return x(R);
1028
1028
  }
@@ -1149,11 +1149,11 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
1149
1149
  return m.checkPropTypes = s, m.resetWarningCache = s.resetWarningCache, m.PropTypes = m, m;
1150
1150
  }, $t;
1151
1151
  }
1152
- var Lt, wr;
1153
- function Wn() {
1154
- if (wr) return Lt;
1155
- wr = 1;
1156
- var t = /* @__PURE__ */ Kt();
1152
+ var Lt, Er;
1153
+ function Yn() {
1154
+ if (Er) return Lt;
1155
+ Er = 1;
1156
+ var t = /* @__PURE__ */ Jt();
1157
1157
  function e() {
1158
1158
  }
1159
1159
  function r() {
@@ -1197,20 +1197,20 @@ function Wn() {
1197
1197
  return a.PropTypes = a, a;
1198
1198
  }, Lt;
1199
1199
  }
1200
- var Sr;
1201
- function Yn() {
1202
- if (Sr) return at.exports;
1203
- if (Sr = 1, process.env.NODE_ENV !== "production") {
1204
- var t = en(), e = !0;
1205
- at.exports = /* @__PURE__ */ Bn()(t.isElement, e);
1200
+ var Cr;
1201
+ function Gn() {
1202
+ if (Cr) return at.exports;
1203
+ if (Cr = 1, process.env.NODE_ENV !== "production") {
1204
+ var t = rn(), e = !0;
1205
+ at.exports = /* @__PURE__ */ Wn()(t.isElement, e);
1206
1206
  } else
1207
- at.exports = /* @__PURE__ */ Wn()();
1207
+ at.exports = /* @__PURE__ */ Yn()();
1208
1208
  return at.exports;
1209
1209
  }
1210
- var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1210
+ var pe = /* @__PURE__ */ Gn(), qn = function(e) {
1211
1211
  var r = e?.ownerDocument || document;
1212
1212
  return r.defaultView || window;
1213
- }, qn = function(e, r) {
1213
+ }, zn = function(e, r) {
1214
1214
  for (var n in e)
1215
1215
  if (!(n in r))
1216
1216
  return !0;
@@ -1218,7 +1218,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1218
1218
  if (e[s] !== r[s])
1219
1219
  return !0;
1220
1220
  return !1;
1221
- }, Hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], it = "http://www.w3.org/2000/svg", Er = "http://www.w3.org/1999/xlink", Jt = /* @__PURE__ */ function(t) {
1221
+ }, Hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], it = "http://www.w3.org/2000/svg", Tr = "http://www.w3.org/1999/xlink", Xt = /* @__PURE__ */ function(t) {
1222
1222
  function e() {
1223
1223
  for (var n, s = arguments.length, a = new Array(s), o = 0; o < s; o++)
1224
1224
  a[o] = arguments[o];
@@ -1229,13 +1229,13 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1229
1229
  n.reactWrapper = i;
1230
1230
  }, n;
1231
1231
  }
1232
- jn(e, t);
1232
+ Rn(e, t);
1233
1233
  var r = e.prototype;
1234
1234
  return r.renderSVG = function() {
1235
1235
  var s = this;
1236
- if (this.reactWrapper instanceof Gn(this.reactWrapper).Node) {
1236
+ if (this.reactWrapper instanceof qn(this.reactWrapper).Node) {
1237
1237
  var a = this.props, o = a.desc, i = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, d = a.src, u = a.title, f = a.useRequestCache, m = this.props.onError, h = this.props.beforeInjection, y = this.props.afterInjection, x = this.props.wrapper, v, T;
1238
- x === "svg" ? (v = document.createElementNS(it, x), v.setAttribute("xmlns", it), v.setAttribute("xmlns:xlink", Er), T = document.createElementNS(it, x)) : (v = document.createElement(x), T = document.createElement(x)), v.appendChild(T), T.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(v);
1238
+ x === "svg" ? (v = document.createElementNS(it, x), v.setAttribute("xmlns", it), v.setAttribute("xmlns:xlink", Tr), T = document.createElementNS(it, x)) : (v = document.createElement(x), T = document.createElement(x)), v.appendChild(T), T.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(v);
1239
1239
  var w = function(P) {
1240
1240
  if (s.removeSVG(), !s._isMounted) {
1241
1241
  m(P);
@@ -1284,7 +1284,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1284
1284
  w(_);
1285
1285
  }
1286
1286
  };
1287
- Pn(T, {
1287
+ Fn(T, {
1288
1288
  afterEach: E,
1289
1289
  beforeEach: b,
1290
1290
  cacheRequests: f,
@@ -1300,7 +1300,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1300
1300
  this._isMounted = !0, this.renderSVG();
1301
1301
  }, r.componentDidUpdate = function(s) {
1302
1302
  var a = this;
1303
- qn(bt({}, s), this.props) && this.setState(function() {
1303
+ zn(bt({}, s), this.props) && this.setState(function() {
1304
1304
  return a.initialState;
1305
1305
  }, function() {
1306
1306
  a.removeSVG(), a.renderSVG();
@@ -1314,16 +1314,16 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1314
1314
  s.httpRequestWithCredentials;
1315
1315
  var o = s.loading;
1316
1316
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1317
- var i = s.wrapper, l = On(s, Hn), c = i;
1317
+ var i = s.wrapper, l = jn(s, Hn), c = i;
1318
1318
  return /* @__PURE__ */ rt.createElement(c, bt({}, l, {
1319
1319
  ref: this.refCallback
1320
1320
  }, i === "svg" ? {
1321
1321
  xmlns: it,
1322
- xmlnsXlink: Er
1322
+ xmlnsXlink: Tr
1323
1323
  } : {}), this.state.isLoading && o && /* @__PURE__ */ rt.createElement(o, null), this.state.hasError && a && /* @__PURE__ */ rt.createElement(a, null));
1324
1324
  }, e;
1325
1325
  }(rt.Component);
1326
- Jt.defaultProps = {
1326
+ Xt.defaultProps = {
1327
1327
  afterInjection: function() {
1328
1328
  },
1329
1329
  beforeInjection: function() {
@@ -1340,7 +1340,7 @@ Jt.defaultProps = {
1340
1340
  useRequestCache: !0,
1341
1341
  wrapper: "div"
1342
1342
  };
1343
- Jt.propTypes = {
1343
+ Xt.propTypes = {
1344
1344
  afterInjection: pe.func,
1345
1345
  beforeInjection: pe.func,
1346
1346
  desc: pe.string,
@@ -1355,14 +1355,14 @@ Jt.propTypes = {
1355
1355
  useRequestCache: pe.bool,
1356
1356
  wrapper: pe.oneOf(["div", "span", "svg"])
1357
1357
  };
1358
- let Mt = {
1358
+ let Vt = {
1359
1359
  assets: "/"
1360
1360
  // Default for storybook isolation development
1361
1361
  };
1362
- const qa = (t) => {
1363
- Mt = { ...Mt, ...t };
1364
- }, zn = (t) => {
1365
- const e = `${Mt.assets}/${t}`.replace(/\/+/g, "/");
1362
+ const Ka = (t) => {
1363
+ Vt = { ...Vt, ...t };
1364
+ }, Kn = (t) => {
1365
+ const e = `${Vt.assets}/${t}`.replace(/\/+/g, "/");
1366
1366
  return e.endsWith(".svg") ? e : e + ".svg";
1367
1367
  }, le = gt.memo(
1368
1368
  ({
@@ -1381,15 +1381,15 @@ const qa = (t) => {
1381
1381
  tabIndex: f,
1382
1382
  link: m
1383
1383
  }) => {
1384
- const [h, y] = H(!1), x = (_) => _?.toLowerCase().endsWith(".svg") || !_?.includes("/"), v = (_) => _?.startsWith("http") || _?.startsWith("/"), T = {
1384
+ const [h, y] = z(!1), x = (_) => _?.toLowerCase().endsWith(".svg") || !_?.includes("/"), v = (_) => _?.startsWith("http") || _?.startsWith("/"), T = {
1385
1385
  img: `${c ? "smp-image-interactable" : ""}`,
1386
1386
  svg: `smp-icon ${o ? `smp-icon-${o}` : ""} ${i ? "smp-icon-rotated" : ""} ${c ? "smp-icon-interactable" : ""} ${d ? "smp-icon-spin" : ""}`
1387
1387
  }, w = (_) => {
1388
1388
  !a && c && l && l(_);
1389
1389
  }, E = (_) => {
1390
1390
  !a && c && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), w(_));
1391
- }, b = h ? n : t, C = x(b), V = v(b) ? b : zn(`assets/svg/${b}`), F = () => /* @__PURE__ */ p.jsx(
1392
- Jt,
1391
+ }, b = h ? n : t, C = x(b), V = v(b) ? b : Kn(`assets/svg/${b}`), F = () => /* @__PURE__ */ p.jsx(
1392
+ Xt,
1393
1393
  {
1394
1394
  src: V,
1395
1395
  onError: () => y(!0),
@@ -1433,16 +1433,16 @@ const qa = (t) => {
1433
1433
  function ke({
1434
1434
  children: t
1435
1435
  }) {
1436
- const [e, r] = H(!1);
1436
+ const [e, r] = z(!1);
1437
1437
  return re(() => {
1438
1438
  r(!0);
1439
- }, []), e ? En(t, document.body) : null;
1439
+ }, []), e ? Cn(t, document.body) : null;
1440
1440
  }
1441
1441
  function Ne({
1442
1442
  position: t = "bottom",
1443
1443
  enabled: e = !0
1444
1444
  }) {
1445
- const r = ue(null), n = ue(null), [s, a] = H(0), o = oe(() => {
1445
+ const r = ue(null), n = ue(null), [s, a] = z(0), o = oe(() => {
1446
1446
  const i = r.current, l = n.current;
1447
1447
  if (!i || !l) return;
1448
1448
  const { top: c, left: d, width: u, height: f } = i.getBoundingClientRect();
@@ -1498,7 +1498,7 @@ function Ne({
1498
1498
  l.style.transform = `translate(${E}px, ${w}px)`, l.style.opacity = "1";
1499
1499
  });
1500
1500
  }, [t]);
1501
- return wn(() => {
1501
+ return Sn(() => {
1502
1502
  if (!e) return;
1503
1503
  let i;
1504
1504
  const l = () => {
@@ -1514,22 +1514,48 @@ function Ne({
1514
1514
  };
1515
1515
  }, [o, e]), { anchorRef: r, targetRef: n, anchorWidth: s };
1516
1516
  }
1517
- const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1518
- const [s, a] = H(!1), { anchorRef: o, targetRef: i } = Ne({
1517
+ const At = {
1518
+ "smp-label": "_smp-label_zl3eb_1",
1519
+ "smp-label-disabled": "_smp-label-disabled_zl3eb_6",
1520
+ "smp-label-wrapper": "_smp-label-wrapper_zl3eb_10"
1521
+ }, Qt = ({
1522
+ helperText: t,
1523
+ disabled: e,
1524
+ state: r,
1525
+ id: n
1526
+ }) => {
1527
+ const s = {
1528
+ container: `smp-helper-text ${e ? "smp-helper-text-disabled" : ""} ${r ? `smp-helper-text-${r}` : ""}`
1529
+ };
1530
+ return /* @__PURE__ */ p.jsx("label", { className: s.container, id: n, children: t });
1531
+ }, Jn = {
1532
+ "smp-helper-tooltip": "_smp-helper-tooltip_2mlq3_1"
1533
+ }, Xn = ({
1534
+ helperTooltip: t,
1535
+ ref: e
1536
+ }) => {
1537
+ const r = {
1538
+ container: `${Jn["smp-helper-tooltip"]}`
1539
+ };
1540
+ return /* @__PURE__ */ p.jsx("div", { className: r.container, ref: e, children: /* @__PURE__ */ p.jsx(Qt, { helperText: t }) });
1541
+ }, Le = ({
1542
+ label: t,
1543
+ disabled: e,
1544
+ htmlFor: r,
1545
+ helper: n = ""
1546
+ }) => {
1547
+ const [s, a] = z(!1), { anchorRef: o, targetRef: i } = Ne({
1519
1548
  position: "right",
1520
1549
  enabled: s
1521
1550
  }), l = {
1522
- container: `smp-label ${e ? "smp-label-disabled" : ""}`,
1523
- labelWrapper: "smp-label-wrapper",
1524
- tooltip: "smp-label-helper-tooltip",
1525
- infoWrapper: "smp-label-helper-wrapper"
1551
+ container: `${At["smp-label"]} ${e ? At["smp-label-disabled"] : ""}`,
1552
+ labelWrapper: At["smp-label-wrapper"]
1526
1553
  };
1527
1554
  return /* @__PURE__ */ p.jsxs("div", { className: l.labelWrapper, children: [
1528
1555
  /* @__PURE__ */ p.jsx("label", { className: l.container, htmlFor: r, children: t }),
1529
- n.trim() && /* @__PURE__ */ p.jsx(
1556
+ n && /* @__PURE__ */ p.jsx(
1530
1557
  "div",
1531
1558
  {
1532
- className: l.infoWrapper,
1533
1559
  ref: o,
1534
1560
  onMouseEnter: () => a(!0),
1535
1561
  onMouseLeave: () => a(!1),
@@ -1538,12 +1564,16 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1538
1564
  {
1539
1565
  icon: "info_outline",
1540
1566
  tabIndex: 0,
1541
- width: 14
1567
+ width: 14,
1568
+ isInteractable: !0,
1569
+ onClick: () => {
1570
+ a((c) => !c);
1571
+ }
1542
1572
  }
1543
1573
  )
1544
1574
  }
1545
1575
  ),
1546
- /* @__PURE__ */ p.jsx(ke, { children: s && n.trim() && /* @__PURE__ */ p.jsx("div", { className: l.tooltip, ref: i, children: n }) })
1576
+ /* @__PURE__ */ p.jsx(ke, { children: s && n && /* @__PURE__ */ p.jsx(Xn, { helperTooltip: n, ref: i }) })
1547
1577
  ] });
1548
1578
  }, be = {
1549
1579
  "smp-layout": "_smp-layout_wqmhx_1",
@@ -1559,20 +1589,20 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1559
1589
  "smp-layout-section-with-title": "_smp-layout-section-with-title_wqmhx_63",
1560
1590
  "smp-layout-section-title": "_smp-layout-section-title_wqmhx_69",
1561
1591
  "smp-layout-inline": "_smp-layout-inline_wqmhx_75"
1562
- }, Kn = (t, e) => {
1592
+ }, Qn = (t, e) => {
1563
1593
  const r = [];
1564
1594
  for (let n = 0; n < t.length; n += e)
1565
1595
  r.push(t.slice(n, n + e));
1566
1596
  return r;
1567
- }, rn = (t, e) => t.map((r) => {
1597
+ }, sn = (t, e) => t.map((r) => {
1568
1598
  if (r.sections?.length)
1569
1599
  return {
1570
1600
  ...r,
1571
- sections: rn(r.sections, e),
1601
+ sections: sn(r.sections, e),
1572
1602
  content: r.content
1573
1603
  };
1574
1604
  let n = r.sections, s = r.content;
1575
- return r.content?.length && r.columns && +r.columns > 1 && (n = Kn(
1605
+ return r.content?.length && r.columns && +r.columns > 1 && (n = Qn(
1576
1606
  r.content.filter((o) => e.includes(o.id)),
1577
1607
  +r.columns
1578
1608
  ).map(
@@ -1588,20 +1618,20 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1588
1618
  sections: n,
1589
1619
  content: s
1590
1620
  };
1591
- }), Cr = (t, e) => {
1621
+ }), _r = (t, e) => {
1592
1622
  if (!e)
1593
1623
  return {};
1594
1624
  const r = t.some((n) => n.dim) ? t.map((n) => n.dim || "auto").join(" ") : `repeat(${t.length}, 1fr)`;
1595
1625
  return {
1596
1626
  [e]: r
1597
1627
  };
1598
- }, Tr = (t) => t.some((e) => e.dim && !e.dim.endsWith("%")), _r = (t) => ({
1628
+ }, Or = (t) => t.some((e) => e.dim && !e.dim.endsWith("%")), jr = (t) => ({
1599
1629
  extraSmall: 12,
1600
1630
  small: 14,
1601
1631
  base: 18,
1602
1632
  large: 20,
1603
1633
  extraLarge: 24
1604
- })[t], Or = (t) => ({
1634
+ })[t], Rr = (t) => ({
1605
1635
  primary: "onPrimary",
1606
1636
  danger: "onDanger",
1607
1637
  base: "base"
@@ -1641,23 +1671,23 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1641
1671
  disabled: a,
1642
1672
  "aria-busy": f,
1643
1673
  title: h || y,
1644
- children: f ? /* @__PURE__ */ p.jsx(le, { icon: "spinner", state: Or(i), spin: !0 }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
1674
+ children: f ? /* @__PURE__ */ p.jsx(le, { icon: "spinner", state: Rr(i), spin: !0 }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
1645
1675
  n && c && /* @__PURE__ */ p.jsx(
1646
1676
  le,
1647
1677
  {
1648
1678
  icon: n,
1649
1679
  placeholderIcon: s,
1650
1680
  disabled: a,
1651
- state: Or(i),
1652
- width: _r(o),
1653
- height: _r(o)
1681
+ state: Rr(i),
1682
+ width: jr(o),
1683
+ height: jr(o)
1654
1684
  }
1655
1685
  ),
1656
1686
  d && /* @__PURE__ */ p.jsx("span", { children: y || t })
1657
1687
  ] })
1658
1688
  }
1659
1689
  );
1660
- }, Jn = {
1690
+ }, Zn = {
1661
1691
  titleLarge: "h2",
1662
1692
  title: "h3",
1663
1693
  body: "h6",
@@ -1670,7 +1700,7 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1670
1700
  className: s,
1671
1701
  ...a
1672
1702
  }) => {
1673
- const o = Jn[t], i = {
1703
+ const o = Zn[t], i = {
1674
1704
  container: `smp-typography ${t ? `smp-typography-${t}` : ""} ${a.disabled ? "smp-typography-disabled" : ""} ${s ?? ""}`
1675
1705
  };
1676
1706
  return /* @__PURE__ */ p.jsx(
@@ -1707,7 +1737,7 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1707
1737
  "smp-toolbar-node": "_smp-toolbar-node_1utyq_3",
1708
1738
  "smp-toolbar-node-icon-text-container": "_smp-toolbar-node-icon-text-container_1utyq_123",
1709
1739
  "smp-toolbar-node-text": "_smp-toolbar-node-text_1utyq_137"
1710
- }, Xt = "smp-toolbar", Xn = [
1740
+ }, Zt = "smp-toolbar", es = [
1711
1741
  "ArrowDown",
1712
1742
  "ArrowUp",
1713
1743
  "ArrowRight",
@@ -1715,7 +1745,7 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1715
1745
  "Enter",
1716
1746
  "Escape",
1717
1747
  " "
1718
- ], Vt = (t) => t.replace(`${Xt}-`, "").split("-").map((e) => parseInt(e, 10)).filter((e) => !isNaN(e)), Qn = (t) => `${Xt}-${t.filter((e) => !isNaN(e)).join("-")}`, Ut = (t, e) => e ? `${e}-${t}` : `${Xt}-${t}`, Bt = (t) => !!t.fun && t.forcedLeaf === !1 && !(t.children && t.children.length > 0), Wt = (t, e, r, n) => {
1748
+ ], Ut = (t) => t.replace(`${Zt}-`, "").split("-").map((e) => parseInt(e, 10)).filter((e) => !isNaN(e)), ts = (t) => `${Zt}-${t.filter((e) => !isNaN(e)).join("-")}`, Bt = (t, e) => e ? `${e}-${t}` : `${Zt}-${t}`, Wt = (t) => !!t.fun && t.forcedLeaf === !1 && !(t.children && t.children.length > 0), Yt = (t, e, r, n) => {
1719
1749
  if (!t || e.length === 0) return t;
1720
1750
  const s = { ...t };
1721
1751
  s.children = [...t.children ?? []];
@@ -1749,12 +1779,12 @@ const Le = ({ label: t, disabled: e, htmlFor: r, helper: n = "" }) => {
1749
1779
  t.current.get(e)?.focus();
1750
1780
  });
1751
1781
  };
1752
- function Zn(t, e, r) {
1782
+ function rs(t, e, r) {
1753
1783
  return { handleKeyDown: oe(
1754
1784
  async (s, a, o) => {
1755
- if (!Xn.includes(s.key)) return;
1785
+ if (!es.includes(s.key)) return;
1756
1786
  s.preventDefault(), s.stopPropagation();
1757
- const i = e.current.get(o), l = Vt(o);
1787
+ const i = e.current.get(o), l = Ut(o);
1758
1788
  if (i)
1759
1789
  switch (s.key) {
1760
1790
  case "ArrowDown":
@@ -1769,14 +1799,14 @@ function Zn(t, e, r) {
1769
1799
  break;
1770
1800
  }
1771
1801
  case "ArrowRight": {
1772
- r(a, o), pt(e, Ut(0, o));
1802
+ r(a, o), pt(e, Bt(0, o));
1773
1803
  break;
1774
1804
  }
1775
1805
  case "ArrowLeft":
1776
1806
  case "Escape": {
1777
1807
  l.pop();
1778
- const c = Qn(l);
1779
- e.current.has(c) && (t((d) => d && Wt(d, l, (u) => ({
1808
+ const c = ts(l);
1809
+ e.current.has(c) && (t((d) => d && Yt(d, l, (u) => ({
1780
1810
  ...u,
1781
1811
  isExpanded: !1
1782
1812
  }))), pt(e, c));
@@ -1813,7 +1843,7 @@ const te = {
1813
1843
  }, lt = {
1814
1844
  DESC_ONLY: "DescOnly",
1815
1845
  BOTH: "Both"
1816
- }, es = {
1846
+ }, ns = {
1817
1847
  obj: { t: "", p: "", k: "" },
1818
1848
  fun: "",
1819
1849
  isEditable: !1,
@@ -1821,9 +1851,9 @@ const te = {
1821
1851
  icon: "error",
1822
1852
  value: "No data found"
1823
1853
  };
1824
- function ts(t, e, r) {
1854
+ function ss(t, e, r) {
1825
1855
  const n = async (i, l) => {
1826
- if (!Bt(i))
1856
+ if (!Wt(i))
1827
1857
  a(l, { isExpanded: !0 });
1828
1858
  else {
1829
1859
  a(l, { isLoading: !0 });
@@ -1832,7 +1862,7 @@ function ts(t, e, r) {
1832
1862
  l,
1833
1863
  {
1834
1864
  isLoading: !1,
1835
- children: c.children && c.children.length > 0 ? c.children : [es],
1865
+ children: c.children && c.children.length > 0 ? c.children : [ns],
1836
1866
  isExpanded: !0
1837
1867
  },
1838
1868
  { isExpanded: !1 }
@@ -1841,9 +1871,9 @@ function ts(t, e, r) {
1841
1871
  }, s = (i) => {
1842
1872
  a(i, { isExpanded: !1 });
1843
1873
  }, a = (i, l, c) => {
1844
- t((d) => d && Wt(
1874
+ t((d) => d && Yt(
1845
1875
  d,
1846
- Vt(i),
1876
+ Ut(i),
1847
1877
  (f) => ({
1848
1878
  ...f,
1849
1879
  ...l
@@ -1852,9 +1882,9 @@ function ts(t, e, r) {
1852
1882
  ));
1853
1883
  };
1854
1884
  return { handleNodeExpand: n, handleMouseLeave: s, onToolbarRadioLeafNodeClick: (i, l, c) => {
1855
- t((d) => d && Wt(
1885
+ t((d) => d && Yt(
1856
1886
  d,
1857
- Vt(l),
1887
+ Ut(l),
1858
1888
  (f) => {
1859
1889
  const m = {
1860
1890
  ...f,
@@ -1868,7 +1898,7 @@ function ts(t, e, r) {
1868
1898
  ));
1869
1899
  } };
1870
1900
  }
1871
- const nn = (t) => {
1901
+ const an = (t) => {
1872
1902
  const e = ue(null);
1873
1903
  return re(() => () => {
1874
1904
  e.current && clearTimeout(e.current);
@@ -1890,16 +1920,6 @@ const nn = (t) => {
1890
1920
  return `${t} - ${e}`;
1891
1921
  }
1892
1922
  return t;
1893
- }, sn = ({
1894
- helperText: t,
1895
- disabled: e,
1896
- state: r,
1897
- id: n
1898
- }) => {
1899
- const s = {
1900
- container: `smp-helper-text ${e ? "smp-helper-text-disabled" : ""} ${r ? `smp-helper-text-${r}` : ""}`
1901
- };
1902
- return /* @__PURE__ */ p.jsx("label", { className: s.container, id: n, children: t });
1903
1923
  }, ye = {
1904
1924
  "smp-textfield-wrapper": "_smp-textfield-wrapper_1w0g1_4",
1905
1925
  "smp-textfield": "_smp-textfield_1w0g1_4",
@@ -2035,7 +2055,7 @@ const nn = (t) => {
2035
2055
  )
2036
2056
  ] }),
2037
2057
  M && /* @__PURE__ */ p.jsx(
2038
- sn,
2058
+ Qt,
2039
2059
  {
2040
2060
  helperText: w,
2041
2061
  disabled: e,
@@ -2045,13 +2065,13 @@ const nn = (t) => {
2045
2065
  )
2046
2066
  ] });
2047
2067
  };
2048
- function an({
2068
+ function on({
2049
2069
  items: t,
2050
2070
  itemHeight: e,
2051
2071
  containerHeight: r,
2052
2072
  overscan: n = 5
2053
2073
  }) {
2054
- const [s, a] = H(0), o = ue(null), i = t.length * e, l = Math.max(0, Math.floor(s / e) - n), c = Math.min(
2074
+ const [s, a] = z(0), o = ue(null), i = t.length * e, l = Math.max(0, Math.floor(s / e) - n), c = Math.min(
2055
2075
  t.length - 1,
2056
2076
  Math.floor((s + r) / e) + n
2057
2077
  ), d = [];
@@ -2103,7 +2123,7 @@ const ct = {
2103
2123
  "smp-list-container": "_smp-list-container_nw7jc_12",
2104
2124
  "smp-list-listItem": "_smp-list-listItem_nw7jc_17"
2105
2125
  };
2106
- function rs(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2126
+ function as(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2107
2127
  const a = document.createElement("canvas").getContext("2d");
2108
2128
  if (!a) return 200;
2109
2129
  a.font = r;
@@ -2118,7 +2138,7 @@ function rs(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2118
2138
  }
2119
2139
  return Math.ceil(o + n);
2120
2140
  }
2121
- const ns = 10, Qt = ({
2141
+ const os = 10, er = ({
2122
2142
  id: t,
2123
2143
  options: e,
2124
2144
  displayMode: r = "Both",
@@ -2133,13 +2153,13 @@ const ns = 10, Qt = ({
2133
2153
  onKeyDown: c,
2134
2154
  isOpen: d
2135
2155
  }) => {
2136
- const [u, f] = H(""), m = 40, [h, y] = H(
2156
+ const [u, f] = z(""), m = 40, [h, y] = z(
2137
2157
  a !== null ? a : -1
2138
- ), [x, v] = H(i || 200), T = ue(null), w = s !== void 0 ? s : e.length > ns, E = u ? e.filter(
2158
+ ), [x, v] = z(i || 200), T = ue(null), w = s !== void 0 ? s : e.length > os, E = u ? e.filter(
2139
2159
  (D) => D.decode?.toLowerCase()?.includes(u.toLowerCase())
2140
2160
  ) : e, b = (D) => {
2141
2161
  f(D);
2142
- }, { virtualItems: C, containerProps: P, innerProps: V, scrollToIndex: F } = an({
2162
+ }, { virtualItems: C, containerProps: P, innerProps: V, scrollToIndex: F } = on({
2143
2163
  items: E,
2144
2164
  itemHeight: m,
2145
2165
  containerHeight: 200,
@@ -2152,7 +2172,7 @@ const ns = 10, Qt = ({
2152
2172
  }, [h, E]), re(() => {
2153
2173
  d && T?.current && T.current.focus();
2154
2174
  }, [d, T]), re(() => {
2155
- const D = rs(e, r);
2175
+ const D = as(e, r);
2156
2176
  v(D);
2157
2177
  }, [e, r]);
2158
2178
  const j = (D) => {
@@ -2241,22 +2261,22 @@ const ns = 10, Qt = ({
2241
2261
  ]
2242
2262
  }
2243
2263
  );
2244
- }, ss = ({
2264
+ }, is = ({
2245
2265
  data: t,
2246
2266
  ref: e,
2247
2267
  onToolbarLoadNodeData: r,
2248
2268
  onToolbarLeafNodeClick: n,
2249
2269
  onToolbarLoadInitialData: s
2250
2270
  }) => {
2251
- const a = ue(/* @__PURE__ */ new Map()), [o, i] = H(t), { handleNodeExpand: l, handleMouseLeave: c, onToolbarRadioLeafNodeClick: d } = ts(
2271
+ const a = ue(/* @__PURE__ */ new Map()), [o, i] = z(t), { handleNodeExpand: l, handleMouseLeave: c, onToolbarRadioLeafNodeClick: d } = ss(
2252
2272
  i,
2253
2273
  r,
2254
2274
  n
2255
- ), { handleKeyDown: u } = Zn(
2275
+ ), { handleKeyDown: u } = rs(
2256
2276
  i,
2257
2277
  a,
2258
2278
  l
2259
- ), f = nn(400), m = {
2279
+ ), f = an(400), m = {
2260
2280
  node: Ae["smp-toolbar-node"],
2261
2281
  nodeContent: Ae["smp-toolbar-node-content"],
2262
2282
  clickable: Ae["smp-clickable"],
@@ -2268,11 +2288,11 @@ const ns = 10, Qt = ({
2268
2288
  re(() => {
2269
2289
  !o && s && (s().then((y) => i(y)).catch((y) => {
2270
2290
  console.error("Errore nel caricamento dati iniziali - Toolbar", y);
2271
- }), pt(a, Ut(0)));
2291
+ }), pt(a, Bt(0)));
2272
2292
  }, [t, f, s, o]);
2273
2293
  const h = oe(
2274
2294
  (y, x = null) => y?.length ? /* @__PURE__ */ p.jsx(p.Fragment, { children: y.map((v, T) => {
2275
- const w = Ut(T, x ?? ""), E = (v.children?.length ?? 0) > 0, b = !E && !v?.isLoading && !Bt(v);
2295
+ const w = Bt(T, x ?? ""), E = (v.children?.length ?? 0) > 0, b = !E && !v?.isLoading && !Wt(v);
2276
2296
  return v?.shape !== "RAD" ? (
2277
2297
  // Normal nodes rendering
2278
2298
  /* @__PURE__ */ p.jsxs(
@@ -2304,7 +2324,7 @@ const ns = 10, Qt = ({
2304
2324
  /* @__PURE__ */ p.jsx(le, { icon: v.icon ?? "" }),
2305
2325
  /* @__PURE__ */ p.jsx("span", { className: m.nodeText, children: v.value })
2306
2326
  ] }),
2307
- v.isLoading ? /* @__PURE__ */ p.jsx(le, { icon: "spinner", spin: !0 }) : (E || Bt(v)) && /* @__PURE__ */ p.jsx(le, { icon: "chevron-right" })
2327
+ v.isLoading ? /* @__PURE__ */ p.jsx(le, { icon: "spinner", spin: !0 }) : (E || Wt(v)) && /* @__PURE__ */ p.jsx(le, { icon: "chevron-right" })
2308
2328
  ]
2309
2329
  }
2310
2330
  ),
@@ -2323,7 +2343,7 @@ const ns = 10, Qt = ({
2323
2343
  "data-node-id": w,
2324
2344
  tabIndex: 0,
2325
2345
  children: /* @__PURE__ */ p.jsx(
2326
- Qt,
2346
+ er,
2327
2347
  {
2328
2348
  options: v.options ? v.options : [],
2329
2349
  isOpen: !0,
@@ -2372,7 +2392,7 @@ const ns = 10, Qt = ({
2372
2392
  document.removeEventListener("mousedown", n);
2373
2393
  };
2374
2394
  }, [t, r, e]);
2375
- }, as = ({
2395
+ }, ls = ({
2376
2396
  data: t,
2377
2397
  sizing: e = "large",
2378
2398
  toolbar: r = !0,
@@ -2382,7 +2402,7 @@ const ns = 10, Qt = ({
2382
2402
  onToolbarLoadNodeData: o,
2383
2403
  onToolbarLeafNodeClick: i
2384
2404
  }) => {
2385
- const [l, c] = H(n ?? 0), [d, u] = H(!1), [f, m] = H(!1), [h, y] = H(!1), x = ue(null), { anchorRef: v, targetRef: T } = Ne({
2405
+ const [l, c] = z(n ?? 0), [d, u] = z(!1), [f, m] = z(!1), [h, y] = z(!1), x = ue(null), { anchorRef: v, targetRef: T } = Ne({
2386
2406
  position: "bottom",
2387
2407
  enabled: r
2388
2408
  });
@@ -2484,7 +2504,7 @@ const ns = 10, Qt = ({
2484
2504
  }
2485
2505
  ) }),
2486
2506
  d && i && o && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
2487
- ss,
2507
+ is,
2488
2508
  {
2489
2509
  ref: T,
2490
2510
  onToolbarLeafNodeClick: i,
@@ -2514,16 +2534,16 @@ const ns = 10, Qt = ({
2514
2534
  ]
2515
2535
  }
2516
2536
  }) => {
2517
- const [r, n] = H(0), s = {};
2537
+ const [r, n] = z(0), s = {};
2518
2538
  gt.Children.forEach(t, (h) => {
2519
2539
  gt.isValidElement(h) && (s[h.props.id] = h);
2520
2540
  });
2521
- const a = "--smp-grid-template-cols", o = "--smp-grid-template-rows", i = rn(
2541
+ const a = "--smp-grid-template-cols", o = "--smp-grid-template-rows", i = sn(
2522
2542
  e.sections ?? [],
2523
2543
  Object.keys(s)
2524
2544
  ), l = (h) => h.reduce((y, x) => {
2525
2545
  let v = "", T = {}, w = {}, E = "";
2526
- return x.sections?.length ? (v = be["smp-layout-section-grid"], T = l(x.sections), x.gridCols === void 0 && (E = be[x.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], x.horizontal || Tr(x.sections) ? w = Cr(
2546
+ return x.sections?.length ? (v = be["smp-layout-section-grid"], T = l(x.sections), x.gridCols === void 0 && (E = be[x.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], x.horizontal || Or(x.sections) ? w = _r(
2527
2547
  x.sections,
2528
2548
  x.horizontal ? a : o
2529
2549
  ) : w = {
@@ -2541,7 +2561,7 @@ const ns = 10, Qt = ({
2541
2561
  };
2542
2562
  }, {}), c = l(i), d = `${be["smp-layout"]} ${e.horizontal ? be["smp-layout-horizontal"] : be["smp-layout-vertical"]} ${e.inline ? be["smp-layout-inline"] : ""}`;
2543
2563
  let u = {};
2544
- (e.horizontal || Tr(e.sections || [])) && (u = Cr(
2564
+ (e.horizontal || Or(e.sections || [])) && (u = _r(
2545
2565
  i,
2546
2566
  e.horizontal ? a : o
2547
2567
  ));
@@ -2595,7 +2615,7 @@ const ns = 10, Qt = ({
2595
2615
  };
2596
2616
  return /* @__PURE__ */ p.jsxs("div", { className: d, style: u, "smp-id": "layout", children: [
2597
2617
  e.sectionsType === "tab" && e.sections && e?.sections.length > 1 && /* @__PURE__ */ p.jsx(
2598
- as,
2618
+ ls,
2599
2619
  {
2600
2620
  data: {
2601
2621
  type: "SmeupDataTree",
@@ -2615,7 +2635,7 @@ const ns = 10, Qt = ({
2615
2635
  ),
2616
2636
  e.sectionsType ? f(i[r], !0) : i.map((h) => f(h))
2617
2637
  ] });
2618
- }, jr = (t) => t.t == "D8", os = (t) => t.t == "NR", is = (t) => t.t == "I1", ls = (t) => {
2638
+ }, Dr = (t) => t.t == "D8", cs = (t) => t.t == "NR", us = (t) => t.t == "I1", ds = (t) => {
2619
2639
  if (t) {
2620
2640
  const e = t.split(";");
2621
2641
  if (e.length == 3)
@@ -2653,8 +2673,8 @@ class vt {
2653
2673
  return this.value ? "true" : "false";
2654
2674
  }
2655
2675
  }
2656
- function cs(t, e) {
2657
- if (Zt(t)) {
2676
+ function fs(t, e) {
2677
+ if (tr(t)) {
2658
2678
  const d = new Date(t);
2659
2679
  if (!isNaN(d.getTime()))
2660
2680
  return d;
@@ -2677,33 +2697,33 @@ function cs(t, e) {
2677
2697
  case 6: {
2678
2698
  i = parseInt(n.substring(0, 2)), l = parseInt(n.substring(2, 4)), Number(n.substring(4)) >= 50 ? c = "19" + n.substring(4) : c = "20" + n.substring(4);
2679
2699
  let d = 0, u = 0;
2680
- return o === 0 ? (d = l, u = i - 1, r.setFullYear(parseInt(c), u, d)) : a === 0 && (d = i, u = l - 1, r.setFullYear(parseInt(c), u, d)), Yt(i, u, parseInt(c)) && ut(r) ? r : t;
2700
+ return o === 0 ? (d = l, u = i - 1, r.setFullYear(parseInt(c), u, d)) : a === 0 && (d = i, u = l - 1, r.setFullYear(parseInt(c), u, d)), Gt(i, u, parseInt(c)) && ut(r) ? r : t;
2681
2701
  }
2682
2702
  case 7:
2683
2703
  case 8: {
2684
2704
  i = parseInt(n.substring(0, 2)), l = parseInt(n.substring(2, 4)), c = n.substring(4);
2685
2705
  let d = 0, u = 0;
2686
- return o === 0 ? (d = l, u = i - 1, r.setFullYear(parseInt(c), u, d)) : a === 0 && (d = i, u = l - 1, r.setFullYear(parseInt(c), u, d)), Yt(d, u, parseInt(c)) && ut(r) ? r : t;
2706
+ return o === 0 ? (d = l, u = i - 1, r.setFullYear(parseInt(c), u, d)) : a === 0 && (d = i, u = l - 1, r.setFullYear(parseInt(c), u, d)), Gt(d, u, parseInt(c)) && ut(r) ? r : t;
2687
2707
  }
2688
2708
  }
2689
2709
  return t;
2690
2710
  }
2691
- function Zt(t) {
2711
+ function tr(t) {
2692
2712
  return /^\d{4}-\d{2}-\d{2}$/.test(t) && t.length === 10;
2693
2713
  }
2694
2714
  function ut(t) {
2695
2715
  return t instanceof Date && !isNaN(t.getTime());
2696
2716
  }
2697
- function us(t) {
2717
+ function ps(t) {
2698
2718
  if (!/^\d{8}$/.test(t)) return !1;
2699
2719
  const e = parseInt(t.slice(0, 4), 10), r = parseInt(t.slice(4, 6), 10), n = parseInt(t.slice(6, 8), 10);
2700
- return Yt(n, r - 1, e);
2720
+ return Gt(n, r - 1, e);
2701
2721
  }
2702
- function Yt(t, e, r) {
2722
+ function Gt(t, e, r) {
2703
2723
  const n = [
2704
2724
  31,
2705
2725
  // January
2706
- ds(r) ? 29 : 28,
2726
+ hs(r) ? 29 : 28,
2707
2727
  // February
2708
2728
  31,
2709
2729
  // March
@@ -2728,10 +2748,10 @@ function Yt(t, e, r) {
2728
2748
  ];
2729
2749
  return !(e < 0 || e > 11 || t < 1 || t > n[e]);
2730
2750
  }
2731
- function ds(t) {
2751
+ function hs(t) {
2732
2752
  return t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0);
2733
2753
  }
2734
- function fs(t) {
2754
+ function ms(t) {
2735
2755
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), n = String(t.getDate()).padStart(2, "0");
2736
2756
  return isNaN(e) || isNaN(Number(r)) || isNaN(Number(n)) ? t.toString() : `${e}-${r}-${n}`;
2737
2757
  }
@@ -2742,13 +2762,13 @@ class xt {
2742
2762
  this.class = e, this.date = r;
2743
2763
  }
2744
2764
  static fromDataObj(e) {
2745
- const r = Rr.get(`${e.t}${e.p}`);
2765
+ const r = kr.get(`${e.t}${e.p}`);
2746
2766
  if (r)
2747
2767
  return new xt(e, r.legacyToIso(e.k));
2748
2768
  throw new Error(`Date creation from ${e.t}${e.p} not implemented yet`);
2749
2769
  }
2750
2770
  getLegacyValue() {
2751
- const e = Rr.get(`${this.class.t}${this.class.p}`);
2771
+ const e = kr.get(`${this.class.t}${this.class.p}`);
2752
2772
  if (e)
2753
2773
  return e.isoToLegacy(this.date);
2754
2774
  throw new Error(
@@ -2759,41 +2779,41 @@ class xt {
2759
2779
  return this.date;
2760
2780
  }
2761
2781
  }
2762
- const Rr = /* @__PURE__ */ new Map([
2782
+ const kr = /* @__PURE__ */ new Map([
2763
2783
  [
2764
2784
  "D8*YYMD",
2765
2785
  {
2766
2786
  legacyToIso(t) {
2767
- return us(t) && `${t.substring(0, 4)}-${t.substring(4, 6)}-${t.substring(6, 8)}` || t;
2787
+ return ps(t) && `${t.substring(0, 4)}-${t.substring(4, 6)}-${t.substring(6, 8)}` || t;
2768
2788
  },
2769
2789
  isoToLegacy(t) {
2770
- return Zt(t) && t.replaceAll("-", "") || t;
2790
+ return tr(t) && t.replaceAll("-", "") || t;
2771
2791
  }
2772
2792
  }
2773
2793
  ]
2774
- ]), Q = (t) => typeof t == "string", ze = () => {
2794
+ ]), Q = (t) => typeof t == "string", He = () => {
2775
2795
  let t, e;
2776
2796
  const r = new Promise((n, s) => {
2777
2797
  t = n, e = s;
2778
2798
  });
2779
2799
  return r.resolve = t, r.reject = e, r;
2780
- }, Dr = (t) => t == null ? "" : "" + t, ps = (t, e, r) => {
2800
+ }, Nr = (t) => t == null ? "" : "" + t, gs = (t, e, r) => {
2781
2801
  t.forEach((n) => {
2782
2802
  e[n] && (r[n] = e[n]);
2783
2803
  });
2784
- }, hs = /###/g, kr = (t) => t && t.indexOf("###") > -1 ? t.replace(hs, ".") : t, Nr = (t) => !t || Q(t), Ke = (t, e, r) => {
2804
+ }, bs = /###/g, $r = (t) => t && t.indexOf("###") > -1 ? t.replace(bs, ".") : t, Lr = (t) => !t || Q(t), Ke = (t, e, r) => {
2785
2805
  const n = Q(e) ? e.split(".") : e;
2786
2806
  let s = 0;
2787
2807
  for (; s < n.length - 1; ) {
2788
- if (Nr(t)) return {};
2789
- const a = kr(n[s]);
2808
+ if (Lr(t)) return {};
2809
+ const a = $r(n[s]);
2790
2810
  !t[a] && r && (t[a] = new r()), Object.prototype.hasOwnProperty.call(t, a) ? t = t[a] : t = {}, ++s;
2791
2811
  }
2792
- return Nr(t) ? {} : {
2812
+ return Lr(t) ? {} : {
2793
2813
  obj: t,
2794
- k: kr(n[s])
2814
+ k: $r(n[s])
2795
2815
  };
2796
- }, $r = (t, e, r) => {
2816
+ }, Ar = (t, e, r) => {
2797
2817
  const {
2798
2818
  obj: n,
2799
2819
  k: s
@@ -2806,7 +2826,7 @@ const Rr = /* @__PURE__ */ new Map([
2806
2826
  for (; i.obj === void 0 && o.length; )
2807
2827
  a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), i = Ke(t, o, Object), i?.obj && typeof i.obj[`${i.k}.${a}`] < "u" && (i.obj = void 0);
2808
2828
  i.obj[`${i.k}.${a}`] = r;
2809
- }, ms = (t, e, r, n) => {
2829
+ }, ys = (t, e, r, n) => {
2810
2830
  const {
2811
2831
  obj: s,
2812
2832
  k: a
@@ -2819,15 +2839,15 @@ const Rr = /* @__PURE__ */ new Map([
2819
2839
  } = Ke(t, e);
2820
2840
  if (r && Object.prototype.hasOwnProperty.call(r, n))
2821
2841
  return r[n];
2822
- }, gs = (t, e, r) => {
2842
+ }, vs = (t, e, r) => {
2823
2843
  const n = wt(t, r);
2824
2844
  return n !== void 0 ? n : wt(e, r);
2825
- }, on = (t, e, r) => {
2845
+ }, ln = (t, e, r) => {
2826
2846
  for (const n in e)
2827
- n !== "__proto__" && n !== "constructor" && (n in t ? Q(t[n]) || t[n] instanceof String || Q(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : on(t[n], e[n], r) : t[n] = e[n]);
2847
+ n !== "__proto__" && n !== "constructor" && (n in t ? Q(t[n]) || t[n] instanceof String || Q(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : ln(t[n], e[n], r) : t[n] = e[n]);
2828
2848
  return t;
2829
2849
  }, Ve = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2830
- var bs = {
2850
+ var xs = {
2831
2851
  "&": "&amp;",
2832
2852
  "<": "&lt;",
2833
2853
  ">": "&gt;",
@@ -2835,8 +2855,8 @@ var bs = {
2835
2855
  "'": "&#39;",
2836
2856
  "/": "&#x2F;"
2837
2857
  };
2838
- const ys = (t) => Q(t) ? t.replace(/[&<>"'\/]/g, (e) => bs[e]) : t;
2839
- class vs {
2858
+ const ws = (t) => Q(t) ? t.replace(/[&<>"'\/]/g, (e) => xs[e]) : t;
2859
+ class Ss {
2840
2860
  constructor(e) {
2841
2861
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
2842
2862
  }
@@ -2848,18 +2868,18 @@ class vs {
2848
2868
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
2849
2869
  }
2850
2870
  }
2851
- const xs = [" ", ",", "?", "!", ";"], ws = new vs(20), Ss = (t, e, r) => {
2871
+ const Es = [" ", ",", "?", "!", ";"], Cs = new Ss(20), Ts = (t, e, r) => {
2852
2872
  e = e || "", r = r || "";
2853
- const n = xs.filter((o) => e.indexOf(o) < 0 && r.indexOf(o) < 0);
2873
+ const n = Es.filter((o) => e.indexOf(o) < 0 && r.indexOf(o) < 0);
2854
2874
  if (n.length === 0) return !0;
2855
- const s = ws.getRegExp(`(${n.map((o) => o === "?" ? "\\?" : o).join("|")})`);
2875
+ const s = Cs.getRegExp(`(${n.map((o) => o === "?" ? "\\?" : o).join("|")})`);
2856
2876
  let a = !s.test(t);
2857
2877
  if (!a) {
2858
2878
  const o = t.indexOf(r);
2859
2879
  o > 0 && !s.test(t.substring(0, o)) && (a = !0);
2860
2880
  }
2861
2881
  return a;
2862
- }, Gt = (t, e, r = ".") => {
2882
+ }, qt = (t, e, r = ".") => {
2863
2883
  if (!t) return;
2864
2884
  if (t[e])
2865
2885
  return Object.prototype.hasOwnProperty.call(t, e) ? t[e] : void 0;
@@ -2879,7 +2899,7 @@ const xs = [" ", ",", "?", "!", ";"], ws = new vs(20), Ss = (t, e, r) => {
2879
2899
  s = o;
2880
2900
  }
2881
2901
  return s;
2882
- }, Xe = (t) => t?.replace("_", "-"), Es = {
2902
+ }, Xe = (t) => t?.replace("_", "-"), _s = {
2883
2903
  type: "logger",
2884
2904
  log(t) {
2885
2905
  this.output("log", t);
@@ -2899,7 +2919,7 @@ class St {
2899
2919
  this.init(e, r);
2900
2920
  }
2901
2921
  init(e, r = {}) {
2902
- this.prefix = r.prefix || "i18next:", this.logger = e || Es, this.options = r, this.debug = r.debug;
2922
+ this.prefix = r.prefix || "i18next:", this.logger = e || _s, this.options = r, this.debug = r.debug;
2903
2923
  }
2904
2924
  log(...e) {
2905
2925
  return this.forward(e, "log", "", !0);
@@ -2957,7 +2977,7 @@ class Tt {
2957
2977
  });
2958
2978
  }
2959
2979
  }
2960
- class Lr extends Tt {
2980
+ class Ir extends Tt {
2961
2981
  constructor(e, r = {
2962
2982
  ns: ["translation"],
2963
2983
  defaultNS: "translation"
@@ -2976,14 +2996,14 @@ class Lr extends Tt {
2976
2996
  let i;
2977
2997
  e.indexOf(".") > -1 ? i = e.split(".") : (i = [e, r], n && (Array.isArray(n) ? i.push(...n) : Q(n) && a ? i.push(...n.split(a)) : i.push(n)));
2978
2998
  const l = wt(this.data, i);
2979
- return !l && !r && !n && e.indexOf(".") > -1 && (e = i[0], r = i[1], n = i.slice(2).join(".")), l || !o || !Q(n) ? l : Gt(this.data?.[e]?.[r], n, a);
2999
+ return !l && !r && !n && e.indexOf(".") > -1 && (e = i[0], r = i[1], n = i.slice(2).join(".")), l || !o || !Q(n) ? l : qt(this.data?.[e]?.[r], n, a);
2980
3000
  }
2981
3001
  addResource(e, r, n, s, a = {
2982
3002
  silent: !1
2983
3003
  }) {
2984
3004
  const o = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
2985
3005
  let i = [e, r];
2986
- n && (i = i.concat(o ? n.split(o) : n)), e.indexOf(".") > -1 && (i = e.split("."), s = r, r = i[1]), this.addNamespaces(r), $r(this.data, i, s), a.silent || this.emit("added", e, r, n, s);
3006
+ n && (i = i.concat(o ? n.split(o) : n)), e.indexOf(".") > -1 && (i = e.split("."), s = r, r = i[1]), this.addNamespaces(r), Ar(this.data, i, s), a.silent || this.emit("added", e, r, n, s);
2987
3007
  }
2988
3008
  addResources(e, r, n, s = {
2989
3009
  silent: !1
@@ -3001,10 +3021,10 @@ class Lr extends Tt {
3001
3021
  let i = [e, r];
3002
3022
  e.indexOf(".") > -1 && (i = e.split("."), s = n, n = r, r = i[1]), this.addNamespaces(r);
3003
3023
  let l = wt(this.data, i) || {};
3004
- o.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? on(l, n, a) : l = {
3024
+ o.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? ln(l, n, a) : l = {
3005
3025
  ...l,
3006
3026
  ...n
3007
- }, $r(this.data, i, l), o.silent || this.emit("added", e, r, n);
3027
+ }, Ar(this.data, i, l), o.silent || this.emit("added", e, r, n);
3008
3028
  }
3009
3029
  removeResourceBundle(e, r) {
3010
3030
  this.hasResourceBundle(e, r) && delete this.data[e][r], this.removeNamespaces(r), this.emit("removed", e, r);
@@ -3026,7 +3046,7 @@ class Lr extends Tt {
3026
3046
  return this.data;
3027
3047
  }
3028
3048
  }
3029
- var ln = {
3049
+ var cn = {
3030
3050
  processors: {},
3031
3051
  addPostProcessor(t) {
3032
3052
  this.processors[t.name] = t;
@@ -3037,10 +3057,10 @@ var ln = {
3037
3057
  }), e;
3038
3058
  }
3039
3059
  };
3040
- const Ar = {}, Ir = (t) => !Q(t) && typeof t != "boolean" && typeof t != "number";
3060
+ const Pr = {}, Fr = (t) => !Q(t) && typeof t != "boolean" && typeof t != "number";
3041
3061
  class Et extends Tt {
3042
3062
  constructor(e, r = {}) {
3043
- super(), ps(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Te.create("translator");
3063
+ super(), gs(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Te.create("translator");
3044
3064
  }
3045
3065
  changeLanguage(e) {
3046
3066
  e && (this.language = e);
@@ -3058,7 +3078,7 @@ class Et extends Tt {
3058
3078
  n === void 0 && (n = ":");
3059
3079
  const s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
3060
3080
  let a = r.ns || this.options.defaultNS || [];
3061
- const o = n && e.indexOf(n) > -1, i = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !Ss(e, n, s);
3081
+ const o = n && e.indexOf(n) > -1, i = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !Ts(e, n, s);
3062
3082
  if (o && !i) {
3063
3083
  const l = e.match(this.interpolator.nestingRegexp);
3064
3084
  if (l && l.length > 0)
@@ -3112,7 +3132,7 @@ class Et extends Tt {
3112
3132
  }) : "", V = E && !s.ordinal && s.count === 0, F = V && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${C}`] || s[`defaultValue${P}`] || s.defaultValue;
3113
3133
  let j = h;
3114
3134
  w && !h && b && (j = F);
3115
- const O = Ir(j), _ = Object.prototype.toString.apply(j);
3135
+ const O = Fr(j), _ = Object.prototype.toString.apply(j);
3116
3136
  if (w && j && O && v.indexOf(_) < 0 && !(Q(T) && Array.isArray(j))) {
3117
3137
  if (!s.returnObjects && !this.options.returnObjects) {
3118
3138
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -3129,7 +3149,7 @@ class Et extends Tt {
3129
3149
  const A = `${K}${o}${G}`;
3130
3150
  b && !h ? D[G] = this.translate(A, {
3131
3151
  ...s,
3132
- defaultValue: Ir(F) ? F[G] : void 0,
3152
+ defaultValue: Fr(F) ? F[G] : void 0,
3133
3153
  joinArrays: !1,
3134
3154
  ns: l
3135
3155
  }) : D[G] = this.translate(A, {
@@ -3208,7 +3228,7 @@ class Et extends Tt {
3208
3228
  !n.lng && s && s.res && (n.lng = this.language || s.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...u) => a?.[0] === u[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${u[0]} in key: ${r[0]}`), null) : this.translate(...u, r), n)), n.interpolation && this.interpolator.reset();
3209
3229
  }
3210
3230
  const o = n.postProcess || this.options.postProcess, i = Q(o) ? [o] : o;
3211
- return e != null && i?.length && n.applyPostProcessor !== !1 && (e = ln.handle(i, e, r, this.options && this.options.postProcessPassResolved ? {
3231
+ return e != null && i?.length && n.applyPostProcessor !== !1 && (e = cn.handle(i, e, r, this.options && this.options.postProcessPassResolved ? {
3212
3232
  i18nResolved: {
3213
3233
  ...s,
3214
3234
  usedParams: this.getUsedParamsDetails(n)
@@ -3226,7 +3246,7 @@ class Et extends Tt {
3226
3246
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
3227
3247
  const f = r.count !== void 0 && !Q(r.count), m = f && !r.ordinal && r.count === 0, h = r.context !== void 0 && (Q(r.context) || typeof r.context == "number") && r.context !== "", y = r.lngs ? r.lngs : this.languageUtils.toResolveHierarchy(r.lng || this.language, r.fallbackLng);
3228
3248
  u.forEach((x) => {
3229
- this.isValidLookup(n) || (i = x, !Ar[`${y[0]}-${x}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(i) && (Ar[`${y[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((v) => {
3249
+ this.isValidLookup(n) || (i = x, !Pr[`${y[0]}-${x}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(i) && (Pr[`${y[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((v) => {
3230
3250
  if (this.isValidLookup(n)) return;
3231
3251
  o = v;
3232
3252
  const T = [d];
@@ -3283,7 +3303,7 @@ class Et extends Tt {
3283
3303
  return !1;
3284
3304
  }
3285
3305
  }
3286
- class Pr {
3306
+ class Mr {
3287
3307
  constructor(e) {
3288
3308
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Te.create("languageUtils");
3289
3309
  }
@@ -3347,20 +3367,20 @@ class Pr {
3347
3367
  }), s;
3348
3368
  }
3349
3369
  }
3350
- const Fr = {
3370
+ const Vr = {
3351
3371
  zero: 0,
3352
3372
  one: 1,
3353
3373
  two: 2,
3354
3374
  few: 3,
3355
3375
  many: 4,
3356
3376
  other: 5
3357
- }, Mr = {
3377
+ }, Ur = {
3358
3378
  select: (t) => t === 1 ? "one" : "other",
3359
3379
  resolvedOptions: () => ({
3360
3380
  pluralCategories: ["one", "other"]
3361
3381
  })
3362
3382
  };
3363
- class Cs {
3383
+ class Os {
3364
3384
  constructor(e, r = {}) {
3365
3385
  this.languageUtils = e, this.options = r, this.logger = Te.create("pluralResolver"), this.pluralRulesCache = {};
3366
3386
  }
@@ -3384,8 +3404,8 @@ class Cs {
3384
3404
  });
3385
3405
  } catch {
3386
3406
  if (!Intl)
3387
- return this.logger.error("No Intl support, please use an Intl polyfill!"), Mr;
3388
- if (!e.match(/-|_/)) return Mr;
3407
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), Ur;
3408
+ if (!e.match(/-|_/)) return Ur;
3389
3409
  const l = this.languageUtils.getLanguagePartFromCode(e);
3390
3410
  o = this.getRule(l, r);
3391
3411
  }
@@ -3400,18 +3420,18 @@ class Cs {
3400
3420
  }
3401
3421
  getSuffixes(e, r = {}) {
3402
3422
  let n = this.getRule(e, r);
3403
- return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((s, a) => Fr[s] - Fr[a]).map((s) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
3423
+ return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((s, a) => Vr[s] - Vr[a]).map((s) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
3404
3424
  }
3405
3425
  getSuffix(e, r, n = {}) {
3406
3426
  const s = this.getRule(e, n);
3407
3427
  return s ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(r)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", r, n));
3408
3428
  }
3409
3429
  }
3410
- const Vr = (t, e, r, n = ".", s = !0) => {
3411
- let a = gs(t, e, r);
3412
- return !a && s && Q(r) && (a = Gt(t, r, n), a === void 0 && (a = Gt(e, r, n))), a;
3413
- }, At = (t) => t.replace(/\$/g, "$$$$");
3414
- class Ts {
3430
+ const Br = (t, e, r, n = ".", s = !0) => {
3431
+ let a = vs(t, e, r);
3432
+ return !a && s && Q(r) && (a = qt(t, r, n), a === void 0 && (a = qt(e, r, n))), a;
3433
+ }, It = (t) => t.replace(/\$/g, "$$$$");
3434
+ class js {
3415
3435
  constructor(e = {}) {
3416
3436
  this.logger = Te.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((r) => r), this.init(e);
3417
3437
  }
@@ -3438,7 +3458,7 @@ class Ts {
3438
3458
  maxReplaces: v,
3439
3459
  alwaysFormat: T
3440
3460
  } = e.interpolation;
3441
- this.escape = r !== void 0 ? r : ys, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Ve(a) : o || "{{", this.suffix = i ? Ve(i) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Ve(f) : m || Ve("$t("), this.nestingSuffix = h ? Ve(h) : y || Ve(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = v || 1e3, this.alwaysFormat = T !== void 0 ? T : !1, this.resetRegExp();
3461
+ this.escape = r !== void 0 ? r : ws, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Ve(a) : o || "{{", this.suffix = i ? Ve(i) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = f ? Ve(f) : m || Ve("$t("), this.nestingSuffix = h ? Ve(h) : y || Ve(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = v || 1e3, this.alwaysFormat = T !== void 0 ? T : !1, this.resetRegExp();
3442
3462
  }
3443
3463
  reset() {
3444
3464
  this.options && this.init(this.options);
@@ -3451,7 +3471,7 @@ class Ts {
3451
3471
  let a, o, i;
3452
3472
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (m) => {
3453
3473
  if (m.indexOf(this.formatSeparator) < 0) {
3454
- const v = Vr(r, l, m, this.options.keySeparator, this.options.ignoreJSONStructure);
3474
+ const v = Br(r, l, m, this.options.keySeparator, this.options.ignoreJSONStructure);
3455
3475
  return this.alwaysFormat ? this.format(v, void 0, n, {
3456
3476
  ...s,
3457
3477
  ...r,
@@ -3459,7 +3479,7 @@ class Ts {
3459
3479
  }) : v;
3460
3480
  }
3461
3481
  const h = m.split(this.formatSeparator), y = h.shift().trim(), x = h.join(this.formatSeparator).trim();
3462
- return this.format(Vr(r, l, y, this.options.keySeparator, this.options.ignoreJSONStructure), x, n, {
3482
+ return this.format(Br(r, l, y, this.options.keySeparator, this.options.ignoreJSONStructure), x, n, {
3463
3483
  ...s,
3464
3484
  ...r,
3465
3485
  interpolationkey: y
@@ -3469,10 +3489,10 @@ class Ts {
3469
3489
  const d = s?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = s?.interpolation?.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
3470
3490
  return [{
3471
3491
  regex: this.regexpUnescape,
3472
- safeValue: (m) => At(m)
3492
+ safeValue: (m) => It(m)
3473
3493
  }, {
3474
3494
  regex: this.regexp,
3475
- safeValue: (m) => this.escapeValue ? At(this.escape(m)) : At(m)
3495
+ safeValue: (m) => this.escapeValue ? It(this.escape(m)) : It(m)
3476
3496
  }].forEach((m) => {
3477
3497
  for (i = 0; a = m.regex.exec(e); ) {
3478
3498
  const h = a[1].trim();
@@ -3487,7 +3507,7 @@ class Ts {
3487
3507
  continue;
3488
3508
  } else
3489
3509
  this.logger.warn(`missed to pass in variable ${h} for interpolating ${e}`), o = "";
3490
- else !Q(o) && !this.useRawValueToEscape && (o = Dr(o));
3510
+ else !Q(o) && !this.useRawValueToEscape && (o = Nr(o));
3491
3511
  const y = m.safeValue(o);
3492
3512
  if (e = e.replace(a[0], y), u ? (m.regex.lastIndex += o.length, m.regex.lastIndex -= a[0].length) : m.regex.lastIndex = 0, i++, i >= this.maxReplaces)
3493
3513
  break;
@@ -3521,7 +3541,7 @@ class Ts {
3521
3541
  }, o = o.replace && !Q(o.replace) ? o.replace : o, o.applyPostProcessor = !1, delete o.defaultValue;
3522
3542
  const c = /{.*}/.test(s[1]) ? s[1].lastIndexOf("}") + 1 : s[1].indexOf(this.formatSeparator);
3523
3543
  if (c !== -1 && (l = s[1].slice(c).split(this.formatSeparator).map((d) => d.trim()).filter(Boolean), s[1] = s[1].slice(0, c)), a = r(i.call(this, s[1].trim(), o), o), a && s[0] === e && !Q(a)) return a;
3524
- Q(a) || (a = Dr(a)), a || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), a = ""), l.length && (a = l.reduce((d, u) => this.format(d, u, n.lng, {
3544
+ Q(a) || (a = Nr(a)), a || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), a = ""), l.length && (a = l.reduce((d, u) => this.format(d, u, n.lng, {
3525
3545
  ...n,
3526
3546
  interpolationkey: s[1].trim()
3527
3547
  }), a.trim())), e = e.replace(s[0], a), this.regexp.lastIndex = 0;
@@ -3529,7 +3549,7 @@ class Ts {
3529
3549
  return e;
3530
3550
  }
3531
3551
  }
3532
- const _s = (t) => {
3552
+ const Rs = (t) => {
3533
3553
  let e = t.toLowerCase().trim();
3534
3554
  const r = {};
3535
3555
  if (t.indexOf("(") > -1) {
@@ -3547,7 +3567,7 @@ const _s = (t) => {
3547
3567
  formatName: e,
3548
3568
  formatOptions: r
3549
3569
  };
3550
- }, Ur = (t) => {
3570
+ }, Wr = (t) => {
3551
3571
  const e = {};
3552
3572
  return (r, n, s) => {
3553
3573
  let a = s;
@@ -3559,8 +3579,8 @@ const _s = (t) => {
3559
3579
  let i = e[o];
3560
3580
  return i || (i = t(Xe(n), s), e[o] = i), i(r);
3561
3581
  };
3562
- }, Os = (t) => (e, r, n) => t(Xe(r), n)(e);
3563
- class js {
3582
+ }, Ds = (t) => (e, r, n) => t(Xe(r), n)(e);
3583
+ class ks {
3564
3584
  constructor(e = {}) {
3565
3585
  this.logger = Te.create("formatter"), this.options = e, this.init(e);
3566
3586
  }
@@ -3568,7 +3588,7 @@ class js {
3568
3588
  interpolation: {}
3569
3589
  }) {
3570
3590
  this.formatSeparator = r.interpolation.formatSeparator || ",";
3571
- const n = r.cacheInBuiltFormats ? Ur : Os;
3591
+ const n = r.cacheInBuiltFormats ? Wr : Ds;
3572
3592
  this.formats = {
3573
3593
  number: n((s, a) => {
3574
3594
  const o = new Intl.NumberFormat(s, {
@@ -3607,7 +3627,7 @@ class js {
3607
3627
  this.formats[e.toLowerCase().trim()] = r;
3608
3628
  }
3609
3629
  addCached(e, r) {
3610
- this.formats[e.toLowerCase().trim()] = Ur(r);
3630
+ this.formats[e.toLowerCase().trim()] = Wr(r);
3611
3631
  }
3612
3632
  format(e, r, n, s = {}) {
3613
3633
  const a = r.split(this.formatSeparator);
@@ -3619,7 +3639,7 @@ class js {
3619
3639
  const {
3620
3640
  formatName: c,
3621
3641
  formatOptions: d
3622
- } = _s(l);
3642
+ } = Rs(l);
3623
3643
  if (this.formats[c]) {
3624
3644
  let u = i;
3625
3645
  try {
@@ -3639,10 +3659,10 @@ class js {
3639
3659
  }, e);
3640
3660
  }
3641
3661
  }
3642
- const Rs = (t, e) => {
3662
+ const Ns = (t, e) => {
3643
3663
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
3644
3664
  };
3645
- class Ds extends Tt {
3665
+ class $s extends Tt {
3646
3666
  constructor(e, r, n, s = {}) {
3647
3667
  super(), this.backend = e, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = Te.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, s.backend, s);
3648
3668
  }
@@ -3674,7 +3694,7 @@ class Ds extends Tt {
3674
3694
  }), this.state[e] = r ? -1 : 2, r && n && (this.state[e] = 0);
3675
3695
  const i = {};
3676
3696
  this.queue.forEach((l) => {
3677
- ms(l.loaded, [a], o), Rs(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3697
+ ys(l.loaded, [a], o), Ns(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3678
3698
  i[c] || (i[c] = {});
3679
3699
  const d = l.loaded[c];
3680
3700
  d.length && d.forEach((u) => {
@@ -3772,7 +3792,7 @@ class Ds extends Tt {
3772
3792
  }
3773
3793
  }
3774
3794
  }
3775
- const Br = () => ({
3795
+ const Yr = () => ({
3776
3796
  debug: !1,
3777
3797
  initAsync: !0,
3778
3798
  ns: ["translation"],
@@ -3829,17 +3849,17 @@ const Br = () => ({
3829
3849
  skipOnVariables: !0
3830
3850
  },
3831
3851
  cacheInBuiltFormats: !0
3832
- }), Wr = (t) => (Q(t.ns) && (t.ns = [t.ns]), Q(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), Q(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs?.indexOf?.("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), typeof t.initImmediate == "boolean" && (t.initAsync = t.initImmediate), t), dt = () => {
3833
- }, ks = (t) => {
3852
+ }), Gr = (t) => (Q(t.ns) && (t.ns = [t.ns]), Q(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), Q(t.fallbackNS) && (t.fallbackNS = [t.fallbackNS]), t.supportedLngs?.indexOf?.("cimode") < 0 && (t.supportedLngs = t.supportedLngs.concat(["cimode"])), typeof t.initImmediate == "boolean" && (t.initAsync = t.initImmediate), t), dt = () => {
3853
+ }, Ls = (t) => {
3834
3854
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((r) => {
3835
3855
  typeof t[r] == "function" && (t[r] = t[r].bind(t));
3836
3856
  });
3837
3857
  };
3838
3858
  class Qe extends Tt {
3839
3859
  constructor(e = {}, r) {
3840
- if (super(), this.options = Wr(e), this.services = {}, this.logger = Te, this.modules = {
3860
+ if (super(), this.options = Gr(e), this.services = {}, this.logger = Te, this.modules = {
3841
3861
  external: []
3842
- }, ks(this), r && !this.isInitialized && !e.isClone) {
3862
+ }, Ls(this), r && !this.isInitialized && !e.isClone) {
3843
3863
  if (!this.options.initAsync)
3844
3864
  return this.init(e, r), this;
3845
3865
  setTimeout(() => {
@@ -3849,11 +3869,11 @@ class Qe extends Tt {
3849
3869
  }
3850
3870
  init(e = {}, r) {
3851
3871
  this.isInitializing = !0, typeof e == "function" && (r = e, e = {}), e.defaultNS == null && e.ns && (Q(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
3852
- const n = Br();
3872
+ const n = Yr();
3853
3873
  this.options = {
3854
3874
  ...n,
3855
3875
  ...this.options,
3856
- ...Wr(e)
3876
+ ...Gr(e)
3857
3877
  }, this.options.interpolation = {
3858
3878
  ...n.interpolation,
3859
3879
  ...this.options.interpolation
@@ -3862,16 +3882,16 @@ class Qe extends Tt {
3862
3882
  if (!this.options.isClone) {
3863
3883
  this.modules.logger ? Te.init(s(this.modules.logger), this.options) : Te.init(null, this.options);
3864
3884
  let c;
3865
- this.modules.formatter ? c = this.modules.formatter : c = js;
3866
- const d = new Pr(this.options);
3867
- this.store = new Lr(this.options.resources, this.options);
3885
+ this.modules.formatter ? c = this.modules.formatter : c = ks;
3886
+ const d = new Mr(this.options);
3887
+ this.store = new Ir(this.options.resources, this.options);
3868
3888
  const u = this.services;
3869
- u.logger = Te, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new Cs(d, {
3889
+ u.logger = Te, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new Os(d, {
3870
3890
  prepend: this.options.pluralSeparator,
3871
3891
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3872
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = s(c), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Ts(this.options), u.utils = {
3892
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = s(c), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new js(this.options), u.utils = {
3873
3893
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3874
- }, u.backendConnector = new Ds(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (m, ...h) => {
3894
+ }, u.backendConnector = new $s(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (m, ...h) => {
3875
3895
  this.emit(m, ...h);
3876
3896
  }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new Et(this.services, this.options), this.translator.on("*", (m, ...h) => {
3877
3897
  this.emit(m, ...h);
@@ -3888,7 +3908,7 @@ class Qe extends Tt {
3888
3908
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
3889
3909
  this[c] = (...d) => (this.store[c](...d), this);
3890
3910
  });
3891
- const i = ze(), l = () => {
3911
+ const i = He(), l = () => {
3892
3912
  const c = (d, u) => {
3893
3913
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(u), r(d, u);
3894
3914
  };
@@ -3915,7 +3935,7 @@ class Qe extends Tt {
3915
3935
  n(null);
3916
3936
  }
3917
3937
  reloadResources(e, r, n) {
3918
- const s = ze();
3938
+ const s = He();
3919
3939
  return typeof e == "function" && (n = e, e = void 0), typeof r == "function" && (n = r, r = void 0), e || (e = this.languages), r || (r = this.options.ns), n || (n = dt), this.services.backendConnector.reload(e, r, (a) => {
3920
3940
  s.resolve(), n(a);
3921
3941
  }), s;
@@ -3923,7 +3943,7 @@ class Qe extends Tt {
3923
3943
  use(e) {
3924
3944
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3925
3945
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3926
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && ln.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3946
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && cn.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3927
3947
  }
3928
3948
  setResolvedLanguage(e) {
3929
3949
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -3939,7 +3959,7 @@ class Qe extends Tt {
3939
3959
  }
3940
3960
  changeLanguage(e, r) {
3941
3961
  this.isLanguageChangingTo = e;
3942
- const n = ze();
3962
+ const n = He();
3943
3963
  this.emit("languageChanging", e);
3944
3964
  const s = (i) => {
3945
3965
  this.language = i, this.languages = this.services.languageUtils.toResolveHierarchy(i), this.resolvedLanguage = void 0, this.setResolvedLanguage(i);
@@ -3993,7 +4013,7 @@ class Qe extends Tt {
3993
4013
  return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || o(n, e) && (!s || o(a, e)));
3994
4014
  }
3995
4015
  loadNamespaces(e, r) {
3996
- const n = ze();
4016
+ const n = He();
3997
4017
  return this.options.ns ? (Q(e) && (e = [e]), e.forEach((s) => {
3998
4018
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
3999
4019
  }), this.loadResources((s) => {
@@ -4001,7 +4021,7 @@ class Qe extends Tt {
4001
4021
  }), n) : (r && r(), Promise.resolve());
4002
4022
  }
4003
4023
  loadLanguages(e, r) {
4004
- const n = ze();
4024
+ const n = He();
4005
4025
  Q(e) && (e = [e]);
4006
4026
  const s = this.options.preload || [], a = e.filter((o) => s.indexOf(o) < 0 && this.services.languageUtils.isSupportedCode(o));
4007
4027
  return a.length ? (this.options.preload = s.concat(a), this.loadResources((o) => {
@@ -4018,7 +4038,7 @@ class Qe extends Tt {
4018
4038
  }
4019
4039
  } catch {
4020
4040
  }
4021
- const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services?.languageUtils || new Pr(Br());
4041
+ const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services?.languageUtils || new Mr(Yr());
4022
4042
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : r.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
4023
4043
  }
4024
4044
  static createInstance(e = {}, r) {
@@ -4044,7 +4064,7 @@ class Qe extends Tt {
4044
4064
  }, l[c] = Object.keys(l[c]).reduce((d, u) => (d[u] = {
4045
4065
  ...l[c][u]
4046
4066
  }, d), l[c]), l), {});
4047
- a.store = new Lr(i, s), a.services.resourceStore = a.store;
4067
+ a.store = new Ir(i, s), a.services.resourceStore = a.store;
4048
4068
  }
4049
4069
  return a.translator = new Et(a.services, s), a.translator.on("*", (i, ...l) => {
4050
4070
  a.emit(i, ...l);
@@ -4078,48 +4098,48 @@ fe.setDefaultNamespace;
4078
4098
  fe.hasLoadedNamespace;
4079
4099
  fe.loadNamespaces;
4080
4100
  fe.loadLanguages;
4081
- const Ns = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, $s = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, Ls = { AddSubGroup: "Aggiungi sottogruppo", AddFilter: "Aggiungi Filtro", Operator: { String: { Starts: "Inizia per", Contains: "Contiene", Equals: "È uguale a" }, Number: { Greater: "Maggiore di", GreaterOrEqual: "Maggiore o uguale a", Less: "Minore di", LessOrEqual: "Minore o uguale a", Equals: "Uguale a", NotEquals: "Diverso da" } } }, As = { CalendarFor: "Calendario per", Close: "Chiudi", SpotlightDefaultPlaceholder: "Esegui Comando", CheckObjectWrongValidation: "Oggetto non valido", ConfirmButton: "Conferma", AutocompleteDefaultPlaceholder: "Inserisci codice o descrizione" }, Is = {
4101
+ const As = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondayShort: "Lun", Saturday: "Sabato", SaturdayShort: "Sab", Sunday: "Domenica", SundayShort: "Dom", Tuesday: "Martedì", TuesdayShort: "Mar", Thursday: "Giovedì", ThursdayShort: "Gio", Wednesday: "Mercoledì", WednesdayShort: "Mer" }, Is = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, Ps = { AddSubGroup: "Aggiungi sottogruppo", AddFilter: "Aggiungi Filtro", Operator: { String: { Starts: "Inizia per", Contains: "Contiene", Equals: "È uguale a" }, Number: { Greater: "Maggiore di", GreaterOrEqual: "Maggiore o uguale a", Less: "Minore di", LessOrEqual: "Minore o uguale a", Equals: "Uguale a", NotEquals: "Diverso da" } } }, Fs = { CalendarFor: "Calendario per", Close: "Chiudi", SpotlightDefaultPlaceholder: "Esegui Comando", CheckObjectWrongValidation: "Oggetto non valido", ConfirmButton: "Conferma", AutocompleteDefaultPlaceholder: "Inserisci codice o descrizione" }, Ms = {
4082
4102
  Date: { NextDay: "Giorno Successivo", NextMonth: "Mese Successivo", NextWeek: "Settimana Successiva", NextYear: "Anno Successivo", PreviousDay: "Giorno Precedente", PreviousMonth: "Mese Precedente", PreviousWeek: "Settimana Precedente", PreviousYear: "Anno Precedente", Today: "Oggi", Tomorrow: "Domani", Yesterday: "Ieri" },
4083
- Day: Ns,
4084
- Month: $s,
4085
- FilterBuilder: Ls,
4086
- Generic: As
4087
- }, Ps = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, Fs = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, Ms = { AddSubGroup: "Add Sub Group", AddFilter: "Add Filter", Operator: { String: { Starts: "Starts with", Contains: "Contains", Equals: "Equal to" }, Number: { Greater: "Greater than", GreaterOrEqual: "Greater or equal than", Less: "Less than", LessOrEqual: "Less or equal than", Equals: "Equal to", NotEquals: "Other than" } } }, Vs = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command", CheckObjectWrongValidation: "Object not valid", ConfirmButton: "Confirm", AutocompleteDefaultPlaceholder: "Type code or description" }, Us = {
4103
+ Day: As,
4104
+ Month: Is,
4105
+ FilterBuilder: Ps,
4106
+ Generic: Fs
4107
+ }, Vs = { Friday: "Friday", FridayShort: "Fri", Monday: "Monday", MondayShort: "Mon", Saturday: "Saturday", SaturdayShort: "Sat", Sunday: "Sunday", SundayShort: "Sun", Tuesday: "Tuesday", TuesdayShort: "Tue", Thursday: "Thursday", ThursdayShort: "Thu", Wednesday: "Wednesday", WednesdayShort: "Wed" }, Us = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, Bs = { AddSubGroup: "Add Sub Group", AddFilter: "Add Filter", Operator: { String: { Starts: "Starts with", Contains: "Contains", Equals: "Equal to" }, Number: { Greater: "Greater than", GreaterOrEqual: "Greater or equal than", Less: "Less than", LessOrEqual: "Less or equal than", Equals: "Equal to", NotEquals: "Other than" } } }, Ws = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command", CheckObjectWrongValidation: "Object not valid", ConfirmButton: "Confirm", AutocompleteDefaultPlaceholder: "Type code or description" }, Ys = {
4088
4108
  Date: { NextDay: "Next Day", NextMonth: "Next Month", NextWeek: "Next Week", NextYear: "Next Year", PreviousDay: "Previous Day", PreviousMonth: "Previous Month", PreviousWeek: "Previous Week", PreviousYear: "Previous Year", Today: "Today", Tomorrow: "Tomorrow", Yesterday: "Yesterday" },
4089
- Day: Ps,
4090
- Month: Fs,
4091
- FilterBuilder: Ms,
4092
- Generic: Vs
4109
+ Day: Vs,
4110
+ Month: Us,
4111
+ FilterBuilder: Bs,
4112
+ Generic: Ws
4093
4113
  };
4094
- function Yr(t, e) {
4095
- return new RegExp(Bs(t), e);
4114
+ function qr(t, e) {
4115
+ return new RegExp(Gs(t), e);
4096
4116
  }
4097
- function Bs(t) {
4117
+ function Gs(t) {
4098
4118
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4099
4119
  }
4100
- const Ws = (t, e, r) => {
4120
+ const qs = (t, e, r) => {
4101
4121
  let n = t;
4102
4122
  return isNaN(n) || (e != null && (n = Math.max(n, e)), r != null && (n = Math.min(n, r))), n;
4103
- }, Ys = (t, e) => {
4123
+ }, zs = (t, e) => {
4104
4124
  const n = Intl.NumberFormat(t).formatToParts(1000.1), s = n.find((o) => o.type === "group")?.value ?? ",", a = e ?? n.find((o) => o.type === "decimal")?.value ?? ".";
4105
4125
  return { groupingChar: s, decimalChar: a };
4106
4126
  };
4107
- function Gs(t, e, r, n) {
4127
+ function Hs(t, e, r, n) {
4108
4128
  let s = e;
4109
- const a = zs(t, r);
4129
+ const a = Xs(t, r);
4110
4130
  if (!s) {
4111
4131
  const i = Math.abs(a);
4112
4132
  i - Math.floor(i) ? s = "0,0.00" : s = "0,0";
4113
4133
  }
4114
- const o = Ks(s);
4134
+ const o = Qs(s);
4115
4135
  return new Intl.NumberFormat(n, o).format(a);
4116
4136
  }
4117
- const qs = (t, e, r) => {
4137
+ const Ks = (t, e, r) => {
4118
4138
  const n = t.lastIndexOf(r);
4119
4139
  if (n !== -1) return t.length - n - 1;
4120
4140
  const s = r === "." ? "," : ".", a = t.lastIndexOf(s);
4121
4141
  return a !== -1 && !(s === e && t.length - a - 1 === 3) ? t.length - a - 1 : 0;
4122
- }, Hs = (t, e, r) => {
4142
+ }, Js = (t, e, r) => {
4123
4143
  if (!t) return NaN;
4124
4144
  let n = t.replace(/\s/g, ""), s = r;
4125
4145
  const a = (n.match(/\./g) || []).length, o = (n.match(/,/g) || []).length;
@@ -4132,18 +4152,18 @@ const qs = (t, e, r) => {
4132
4152
  const i = s === "." ? "," : ".";
4133
4153
  return n = n.replace(new RegExp(`\\${i}`, "g"), ""), s !== "." && (n = n.replace(new RegExp(`\\${s}`, "g"), ".")), parseFloat(n);
4134
4154
  };
4135
- function zs(t, e, r, n, s) {
4155
+ function Xs(t, e, r, n, s) {
4136
4156
  let a = t;
4137
4157
  if (typeof a != "number") {
4138
4158
  let i;
4139
4159
  e && n === void 0 ? i = "," : i = ".";
4140
4160
  const l = i == "." ? "," : ".";
4141
- a = a.replace(Yr(l, "g"), ""), a = a.replace(Yr(i, "g"), "."), a = Number(a);
4161
+ a = a.replace(qr(l, "g"), ""), a = a.replace(qr(i, "g"), "."), a = Number(a);
4142
4162
  }
4143
4163
  const o = Number(a);
4144
4164
  return isNaN(o) ? NaN : o;
4145
4165
  }
4146
- function Ks(t) {
4166
+ function Qs(t) {
4147
4167
  const e = {};
4148
4168
  t.includes(",") ? e.useGrouping = !0 : e.useGrouping = !1;
4149
4169
  const r = t.indexOf(".");
@@ -4173,7 +4193,7 @@ fe.init({
4173
4193
  default:
4174
4194
  case "number": {
4175
4195
  const a = n?.inputIsLocalized ?? !1;
4176
- return Gs(t, e, a, r);
4196
+ return Hs(t, e, a, r);
4177
4197
  }
4178
4198
  }
4179
4199
  } catch {
@@ -4183,31 +4203,31 @@ fe.init({
4183
4203
  },
4184
4204
  resources: {
4185
4205
  en: {
4186
- translation: Us
4206
+ translation: Ys
4187
4207
  },
4188
4208
  it: {
4189
- translation: Is
4209
+ translation: Ms
4190
4210
  }
4191
4211
  }
4192
4212
  });
4193
- const Js = (t, e, r, n) => fe.format(t, e, r || fe.language, n), Xs = (t, e) => fe.t(t, e);
4213
+ const Zs = (t, e, r, n) => fe.format(t, e, r || fe.language, n), ea = (t, e) => fe.t(t, e);
4194
4214
  function Oe() {
4195
4215
  const t = oe(
4196
- (n, s, a, o) => Js(n, s, a || void 0, o),
4216
+ (n, s, a, o) => Zs(n, s, a || void 0, o),
4197
4217
  []
4198
4218
  ), e = oe(() => fe.languages[0], []), r = oe(
4199
- (n, s) => Xs(n, s),
4219
+ (n, s) => ea(n, s),
4200
4220
  []
4201
4221
  );
4202
4222
  return { format: t, getCurrentLanguage: e, translate: r };
4203
4223
  }
4204
- var Re = /* @__PURE__ */ ((t) => (t.CALENDAR_FOR = "Date.CalendarFor", t.CLOSE = "Generic.Close", t.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", t.CHECK_OBJECT_WRONG_VALIDATION = "Generic.CheckObjectWrongValidation", t.CONFIRM_BUTTON = "Generic.ConfirmButton", t.AUTOCOMPLETE_DEFAULT_PLACEHOLDER = "Generic.AutocompleteDefaultPlaceholder", t))(Re || {}), we = /* @__PURE__ */ ((t) => (t.ADD_SUB_GROUP = "FilterBuilder.AddSubGroup", t.ADD_FILTER = "FilterBuilder.AddFilter", t.STRING_STARTS = "FilterBuilder.Operator.String.Starts", t.STRING_CONTAINS = "FilterBuilder.Operator.String.Contains", t.STRING_EQUALS = "FilterBuilder.Operator.String.Equals", t.NUMBER_EQUALS = "FilterBuilder.Operator.Number.Equals", t.NUMBER_NOTEQUALS = "FilterBuilder.Operator.Number.NotEquals", t.NUMBER_GREATER = "FilterBuilder.Operator.Number.Greater", t.NUMBER_GREATER_OR_EQUAL = "FilterBuilder.Operator.Number.GreaterOrEqual", t.NUMBER_LESS = "FilterBuilder.Operator.Number.Less", t.NUMBER_LESS_OR_EQUAL = "FilterBuilder.Operator.Number.LessOrEqual", t))(we || {}), ge = /* @__PURE__ */ ((t) => (t.MONDAY = "Day.Monday", t.MONDAY_SHORT = "Day.MondayShort", t.TUESDAY = "Day.Tuesday", t.TUESDAY_SHORT = "Day.TuesdayShort", t.WEDNESDAY = "Day.Wednesday", t.WEDNESDAY_SHORT = "Day.WednesdayShort", t.THURSDAY = "Day.Thursday", t.THURSDAY_SHORT = "Day.ThursdayShort", t.FRIDAY = "Day.Friday", t.FRIDAY_SHORT = "Day.FridayShort", t.SATURDAY = "Day.Saturday", t.SATURDAY_SHORT = "Day.SaturdayShort", t.SUNDAY = "Day.Sunday", t.SUNDAY_SHORT = "Day.SundayShort", t))(ge || {}), ve = /* @__PURE__ */ ((t) => (t.JANUARY = "Month.January", t.FEBRUARY = "Month.February", t.MARCH = "Month.March", t.APRIL = "Month.April", t.MAY = "Month.May", t.JUNE = "Month.June", t.JULY = "Month.July", t.AUGUST = "Month.August", t.SEPTEMBER = "Month.September", t.OCTOBER = "Month.October", t.NOVEMBER = "Month.November", t.DECEMBER = "Month.December", t))(ve || {}), qt = /* @__PURE__ */ ((t) => (t.PREVIOUS_DAY = "Date.PreviousDay", t.PREVIOUS_WEEK = "Date.PreviousWeek", t.PREVIOUS_MONTH = "Date.PreviousMonth", t.PREVIOUS_YEAR = "Date.PreviousYear", t.NEXT_DAY = "Date.NextDay", t.NEXT_WEEK = "Date.NextWeek", t.NEXT_MONTH = "Date.NextMonth", t.NEXT_YEAR = "Date.NextYear", t.YESTERDAY = "Date.Yesterday", t.TODAY = "Date.Today", t.TOMORROW = "Date.Tomorrow", t))(qt || {});
4205
- const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDataTable", ht = {
4224
+ var Re = /* @__PURE__ */ ((t) => (t.CALENDAR_FOR = "Date.CalendarFor", t.CLOSE = "Generic.Close", t.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", t.CHECK_OBJECT_WRONG_VALIDATION = "Generic.CheckObjectWrongValidation", t.CONFIRM_BUTTON = "Generic.ConfirmButton", t.AUTOCOMPLETE_DEFAULT_PLACEHOLDER = "Generic.AutocompleteDefaultPlaceholder", t))(Re || {}), we = /* @__PURE__ */ ((t) => (t.ADD_SUB_GROUP = "FilterBuilder.AddSubGroup", t.ADD_FILTER = "FilterBuilder.AddFilter", t.STRING_STARTS = "FilterBuilder.Operator.String.Starts", t.STRING_CONTAINS = "FilterBuilder.Operator.String.Contains", t.STRING_EQUALS = "FilterBuilder.Operator.String.Equals", t.NUMBER_EQUALS = "FilterBuilder.Operator.Number.Equals", t.NUMBER_NOTEQUALS = "FilterBuilder.Operator.Number.NotEquals", t.NUMBER_GREATER = "FilterBuilder.Operator.Number.Greater", t.NUMBER_GREATER_OR_EQUAL = "FilterBuilder.Operator.Number.GreaterOrEqual", t.NUMBER_LESS = "FilterBuilder.Operator.Number.Less", t.NUMBER_LESS_OR_EQUAL = "FilterBuilder.Operator.Number.LessOrEqual", t))(we || {}), ge = /* @__PURE__ */ ((t) => (t.MONDAY = "Day.Monday", t.MONDAY_SHORT = "Day.MondayShort", t.TUESDAY = "Day.Tuesday", t.TUESDAY_SHORT = "Day.TuesdayShort", t.WEDNESDAY = "Day.Wednesday", t.WEDNESDAY_SHORT = "Day.WednesdayShort", t.THURSDAY = "Day.Thursday", t.THURSDAY_SHORT = "Day.ThursdayShort", t.FRIDAY = "Day.Friday", t.FRIDAY_SHORT = "Day.FridayShort", t.SATURDAY = "Day.Saturday", t.SATURDAY_SHORT = "Day.SaturdayShort", t.SUNDAY = "Day.Sunday", t.SUNDAY_SHORT = "Day.SundayShort", t))(ge || {}), ve = /* @__PURE__ */ ((t) => (t.JANUARY = "Month.January", t.FEBRUARY = "Month.February", t.MARCH = "Month.March", t.APRIL = "Month.April", t.MAY = "Month.May", t.JUNE = "Month.June", t.JULY = "Month.July", t.AUGUST = "Month.August", t.SEPTEMBER = "Month.September", t.OCTOBER = "Month.October", t.NOVEMBER = "Month.November", t.DECEMBER = "Month.December", t))(ve || {}), zt = /* @__PURE__ */ ((t) => (t.PREVIOUS_DAY = "Date.PreviousDay", t.PREVIOUS_WEEK = "Date.PreviousWeek", t.PREVIOUS_MONTH = "Date.PreviousMonth", t.PREVIOUS_YEAR = "Date.PreviousYear", t.NEXT_DAY = "Date.NextDay", t.NEXT_WEEK = "Date.NextWeek", t.NEXT_MONTH = "Date.NextMonth", t.NEXT_YEAR = "Date.NextYear", t.YESTERDAY = "Date.Yesterday", t.TODAY = "Date.Today", t.TOMORROW = "Date.Tomorrow", t))(zt || {});
4225
+ const ta = (t) => t?.type === "SmeupDataTree", ra = (t) => t?.type === "SmeupDataTable", ht = {
4206
4226
  obj: { t: "", p: "", k: "" },
4207
4227
  decode: "",
4208
4228
  shape: void 0
4209
4229
  }, Ge = (t) => {
4210
- if (Zs(t)) {
4230
+ if (ra(t)) {
4211
4231
  const e = t, r = e.columns.filter((a) => a.visible !== !1), n = r[0]?.name ?? "", s = r[1]?.name ?? n;
4212
4232
  return e.rows.reduce((a, o) => {
4213
4233
  const i = {
@@ -4216,12 +4236,12 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4216
4236
  };
4217
4237
  return [...a, i];
4218
4238
  }, []);
4219
- } else if (Qs(t))
4220
- return cn(t.children ?? []);
4221
- }, cn = (t) => t?.map((e) => ({
4239
+ } else if (ta(t))
4240
+ return un(t.children ?? []);
4241
+ }, un = (t) => t?.map((e) => ({
4222
4242
  ...e,
4223
4243
  decode: e.decode || e.value || e.obj?.k || "",
4224
- children: cn(e.children ?? [])
4244
+ children: un(e.children ?? [])
4225
4245
  })), mt = (t) => t.map((e) => ({
4226
4246
  obj: {
4227
4247
  t: "",
@@ -4232,7 +4252,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4232
4252
  fun: e.fun,
4233
4253
  icon: e.icon,
4234
4254
  decode: e.label
4235
- })), un = ({
4255
+ })), dn = ({
4236
4256
  bindValue: t,
4237
4257
  optionalDisplayValue: e,
4238
4258
  options: r,
@@ -4248,16 +4268,16 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4248
4268
  _multiActiveIndex: f,
4249
4269
  ...m
4250
4270
  }) => {
4251
- const h = ue(null), [y, x] = H(t), [v, T] = H(e), { translate: w } = Oe(), [E, b] = H(!1), [C, P] = H(
4271
+ const h = ue(null), [y, x] = z(t), [v, T] = z(e), { translate: w } = Oe(), [E, b] = z(!1), [C, P] = z(
4252
4272
  r || []
4253
- ), [V, F] = H(0), [j, O] = H([t]), { anchorRef: _, targetRef: L, anchorWidth: D } = Ne({
4273
+ ), [V, F] = z(0), [j, O] = z([t]), { anchorRef: _, targetRef: L, anchorWidth: D } = Ne({
4254
4274
  position: "bottom",
4255
4275
  enabled: E
4256
4276
  }), K = oe(() => {
4257
4277
  b(!1), h?.current?.focus();
4258
4278
  }, []);
4259
4279
  tt([L], E, () => K());
4260
- const G = nn(400), A = (R) => {
4280
+ const G = an(400), A = (R) => {
4261
4281
  R.length >= a ? I(R) : K(), x(R), T(""), l || c?.(R, e);
4262
4282
  }, I = (R) => {
4263
4283
  G(async () => {
@@ -4313,7 +4333,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4313
4333
  }
4314
4334
  ),
4315
4335
  E && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
4316
- Qt,
4336
+ er,
4317
4337
  {
4318
4338
  options: C,
4319
4339
  displayMode: n,
@@ -4328,7 +4348,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4328
4348
  }
4329
4349
  ) })
4330
4350
  ] });
4331
- }, ea = ({
4351
+ }, na = ({
4332
4352
  options: t,
4333
4353
  fun: e,
4334
4354
  direction: r = "row",
@@ -4345,7 +4365,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4345
4365
  onClick: m,
4346
4366
  onOptionsRequest: h
4347
4367
  }) => {
4348
- const [y, x] = H(t);
4368
+ const [y, x] = z(t);
4349
4369
  re(() => {
4350
4370
  !y && h && e && h(e, void 0).then(
4351
4371
  (w) => x(Ge(w))
@@ -4380,9 +4400,9 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4380
4400
  return /* @__PURE__ */ p.jsx(me, { ...b }, `button-${E}`);
4381
4401
  });
4382
4402
  return /* @__PURE__ */ p.jsx("div", { role: "list", "data-component": "button-list", className: v.container, children: T });
4383
- }, ta = {
4403
+ }, sa = {
4384
4404
  "smp-checkbox-wrapper": "_smp-checkbox-wrapper_d8uan_2"
4385
- }, er = ({
4405
+ }, rr = ({
4386
4406
  bindValue: t,
4387
4407
  _dataComponent: e = "checkbox",
4388
4408
  disabled: r,
@@ -4396,7 +4416,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4396
4416
  const c = De(), d = (f) => {
4397
4417
  s && a && a(f.target.checked);
4398
4418
  }, u = {
4399
- wrapper: `${ta["smp-checkbox-wrapper"]}`
4419
+ wrapper: `${sa["smp-checkbox-wrapper"]}`
4400
4420
  };
4401
4421
  return /* @__PURE__ */ p.jsxs("div", { className: u.wrapper, "data-component": e, children: [
4402
4422
  n && /* @__PURE__ */ p.jsx(Le, { label: n, disabled: r, htmlFor: c, helper: l.helper }),
@@ -4413,7 +4433,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4413
4433
  }
4414
4434
  )
4415
4435
  ] });
4416
- }, tr = ({
4436
+ }, nr = ({
4417
4437
  elements: t,
4418
4438
  isEditable: e = !1,
4419
4439
  displayMode: r = "Both",
@@ -4422,7 +4442,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4422
4442
  backgroundColor: a,
4423
4443
  isDraggable: o = !1
4424
4444
  }) => {
4425
- const [i, l] = H(null), c = {
4445
+ const [i, l] = z(null), c = {
4426
4446
  container: `${["smp-chips-container"]}`,
4427
4447
  element: "smp-chips-element"
4428
4448
  }, d = (m) => {
@@ -4477,7 +4497,7 @@ const Qs = (t) => t?.type === "SmeupDataTree", Zs = (t) => t?.type === "SmeupDat
4477
4497
  return [x, v].filter(Boolean);
4478
4498
  }) });
4479
4499
  };
4480
- function rr(t, e) {
4500
+ function sr(t, e) {
4481
4501
  const r = ue(null);
4482
4502
  re(() => {
4483
4503
  if (!t) return;
@@ -4527,13 +4547,13 @@ const Ht = ({
4527
4547
  multiActiveIndex: l,
4528
4548
  ...c
4529
4549
  }) => {
4530
- const d = ue(null), [u, f] = H(!1), [m, h] = H(r), [y, x] = H(-1), [v, T] = H([t]), w = De(), { anchorRef: E, targetRef: b, anchorWidth: C } = Ne({
4550
+ const d = ue(null), [u, f] = z(!1), [m, h] = z(r), [y, x] = z(-1), [v, T] = z([t]), w = De(), { anchorRef: E, targetRef: b, anchorWidth: C } = Ne({
4531
4551
  position: "bottom",
4532
4552
  enabled: u
4533
4553
  }), P = oe(() => {
4534
4554
  f(!1), d?.current?.focus();
4535
4555
  }, []);
4536
- tt([b, E], u, () => P()), rr(u, b);
4556
+ tt([b, E], u, () => P()), sr(u, b);
4537
4557
  const V = (_) => {
4538
4558
  e?.(_.obj.k, _.decode);
4539
4559
  const L = m.findIndex((D) => D.obj.k === _.obj.k);
@@ -4576,7 +4596,7 @@ const Ht = ({
4576
4596
  }
4577
4597
  ),
4578
4598
  u && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
4579
- Qt,
4599
+ er,
4580
4600
  {
4581
4601
  id: w,
4582
4602
  options: m,
@@ -4593,10 +4613,10 @@ const Ht = ({
4593
4613
  ]
4594
4614
  }
4595
4615
  );
4596
- }, ra = {
4616
+ }, aa = {
4597
4617
  "smp-datepickercalendar-position": "_smp-datepickercalendar-position_1lf9g_1"
4598
4618
  };
4599
- function na({
4619
+ function oa({
4600
4620
  selectedDate: t,
4601
4621
  onDateChange: e,
4602
4622
  disabledDateRanges: r = [],
@@ -4607,13 +4627,13 @@ function na({
4607
4627
  if (!n) return;
4608
4628
  const k = new Date(n);
4609
4629
  return isNaN(k.getTime()) ? void 0 : k;
4610
- }, [i] = H(/* @__PURE__ */ new Date()), [l, c] = H(
4630
+ }, [i] = z(/* @__PURE__ */ new Date()), [l, c] = z(
4611
4631
  t || o() || /* @__PURE__ */ new Date()
4612
- ), [d, u] = H(
4632
+ ), [d, u] = z(
4613
4633
  l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
4614
- ), [f, m] = H(
4634
+ ), [f, m] = z(
4615
4635
  l ? l.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
4616
- ), [h, y] = H(
4636
+ ), [h, y] = z(
4617
4637
  l ? l.getDate() : null
4618
4638
  ), x = ue(null), v = ue([]), T = [
4619
4639
  a(ve.JANUARY),
@@ -4661,7 +4681,7 @@ function na({
4661
4681
  const S = g.start.getTime(), N = g.end.getTime(), R = k.getTime();
4662
4682
  return R >= S && R <= N;
4663
4683
  }), b = (k) => {
4664
- E(k) || (c(k), y(k.getDate()), e && e(fs(k)));
4684
+ E(k) || (c(k), y(k.getDate()), e && e(ms(k)));
4665
4685
  }, C = () => {
4666
4686
  d === 0 ? (u(11), m(f - 1)) : u(d - 1), y(1);
4667
4687
  }, P = () => {
@@ -4820,7 +4840,7 @@ function na({
4820
4840
  }, [d, f, h, D]);
4821
4841
  const A = {
4822
4842
  label: "smp-datepickercalendar-label",
4823
- wrapper: `smp-datepickercalendar ${ra["smp-datepickercalendar-position"]}`,
4843
+ wrapper: `smp-datepickercalendar ${aa["smp-datepickercalendar-position"]}`,
4824
4844
  calendar: "smp-datepickercalendar",
4825
4845
  table: "smp-datepickercalendar-table",
4826
4846
  th: "smp-datepickercalendar-th",
@@ -4854,7 +4874,7 @@ function na({
4854
4874
  me,
4855
4875
  {
4856
4876
  onClick: C,
4857
- ariaLabel: a(qt.PREVIOUS_MONTH),
4877
+ ariaLabel: a(zt.PREVIOUS_MONTH),
4858
4878
  optionalDisplayValue: "<",
4859
4879
  appearance: "ghost",
4860
4880
  variant: "base",
@@ -4873,7 +4893,7 @@ function na({
4873
4893
  me,
4874
4894
  {
4875
4895
  onClick: P,
4876
- ariaLabel: a(qt.NEXT_MONTH),
4896
+ ariaLabel: a(zt.NEXT_MONTH),
4877
4897
  bindValue: ">",
4878
4898
  optionalDisplayValue: ">",
4879
4899
  appearance: "ghost",
@@ -4949,7 +4969,7 @@ function na({
4949
4969
  }
4950
4970
  );
4951
4971
  }
4952
- const nr = ({
4972
+ const ar = ({
4953
4973
  bindValue: t,
4954
4974
  optionalDisplayValue: e,
4955
4975
  label: r,
@@ -4977,7 +4997,7 @@ const nr = ({
4977
4997
  className: n
4978
4998
  }
4979
4999
  );
4980
- }, dn = ({
5000
+ }, fn = ({
4981
5001
  bindValue: t,
4982
5002
  placeholder: e,
4983
5003
  onChange: r,
@@ -4986,7 +5006,7 @@ const nr = ({
4986
5006
  isOptimized: a,
4987
5007
  ...o
4988
5008
  }) => {
4989
- const i = ue(null), [l, c] = H(!1), [d, u] = H(t || ""), [f, m] = H(""), { anchorRef: h, targetRef: y } = Ne({
5009
+ const i = ue(null), [l, c] = z(!1), [d, u] = z(t || ""), [f, m] = z(""), { anchorRef: h, targetRef: y } = Ne({
4990
5010
  position: "bottom",
4991
5011
  enabled: l
4992
5012
  }), x = oe(() => {
@@ -4994,10 +5014,10 @@ const nr = ({
4994
5014
  }, []);
4995
5015
  tt([y, h], l, () => {
4996
5016
  x();
4997
- }), rr(l, y);
5017
+ }), sr(l, y);
4998
5018
  const { format: v, getCurrentLanguage: T } = Oe(), w = oe(
4999
5019
  (j) => {
5000
- const O = j.length > 5 && cs(j, T()) || j, _ = v(O, void 0, void 0, {
5020
+ const O = j.length > 5 && fs(j, T()) || j, _ = v(O, void 0, void 0, {
5001
5021
  type: "date"
5002
5022
  }), L = typeof O != "string", D = L && O.toISOString().substring(0, 10) || "";
5003
5023
  return {
@@ -5025,7 +5045,7 @@ const nr = ({
5025
5045
  }, F = (j) => {
5026
5046
  j.key === "Enter" && (j.preventDefault(), P(f));
5027
5047
  };
5028
- return /* @__PURE__ */ p.jsx("div", { "data-component": "date-picker", children: a ? /* @__PURE__ */ p.jsx(nr, { bindValue: f }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
5048
+ return /* @__PURE__ */ p.jsx("div", { "data-component": "date-picker", children: a ? /* @__PURE__ */ p.jsx(ar, { bindValue: f }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
5029
5049
  /* @__PURE__ */ p.jsx(
5030
5050
  _e,
5031
5051
  {
@@ -5045,16 +5065,16 @@ const nr = ({
5045
5065
  }
5046
5066
  ),
5047
5067
  l && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
5048
- na,
5068
+ oa,
5049
5069
  {
5050
5070
  disabledDateRanges: n,
5051
5071
  onDateChange: C,
5052
- initialValue: Zt(d) && d || "",
5072
+ initialValue: tr(d) && d || "",
5053
5073
  targetRef: y
5054
5074
  }
5055
5075
  ) })
5056
5076
  ] }) });
5057
- }, sa = ({
5077
+ }, ia = ({
5058
5078
  elements: t,
5059
5079
  displayMode: e,
5060
5080
  minimumChars: r,
@@ -5095,7 +5115,7 @@ const nr = ({
5095
5115
  children: [
5096
5116
  o && /* @__PURE__ */ p.jsx(Le, { label: o, disabled: i, helper: m.helper }),
5097
5117
  /* @__PURE__ */ p.jsx(
5098
- tr,
5118
+ nr,
5099
5119
  {
5100
5120
  elements: t,
5101
5121
  displayMode: e,
@@ -5106,7 +5126,7 @@ const nr = ({
5106
5126
  }
5107
5127
  ),
5108
5128
  /* @__PURE__ */ p.jsx(
5109
- un,
5129
+ dn,
5110
5130
  {
5111
5131
  ...m,
5112
5132
  bindValue: "",
@@ -5126,8 +5146,8 @@ const nr = ({
5126
5146
  ]
5127
5147
  }
5128
5148
  );
5129
- }, aa = ({ ...t }) => {
5130
- const [e, r] = H(!1), n = e ? "visibility-off" : "visibility";
5149
+ }, la = ({ ...t }) => {
5150
+ const [e, r] = z(!1), n = e ? "visibility-off" : "visibility";
5131
5151
  return /* @__PURE__ */ p.jsx(
5132
5152
  _e,
5133
5153
  {
@@ -5139,8 +5159,8 @@ const nr = ({
5139
5159
  "data-component": "password"
5140
5160
  }
5141
5161
  );
5142
- }, oa = ({ ...t }) => {
5143
- const [e, r] = H(t.bindValue), { translate: n } = Oe(), s = (o) => {
5162
+ }, ca = ({ ...t }) => {
5163
+ const [e, r] = z(t.bindValue), { translate: n } = Oe(), s = (o) => {
5144
5164
  o.key === "Enter" && (o.preventDefault(), t.onEnter?.(e));
5145
5165
  }, a = (o) => {
5146
5166
  r(o), t.onChange?.(o);
@@ -5195,13 +5215,13 @@ const Pe = (t, e, r) => ({
5195
5215
  shape: t.shape,
5196
5216
  fun: t.fun,
5197
5217
  data: t.data
5198
- }), Gr = (t) => {
5218
+ }), zr = (t) => {
5199
5219
  const e = Me.fromDataObj(t.obj), r = t.decode ? Me.fromString(t.decode).getValue() : [];
5200
5220
  return e.getValue().map((n, s) => ({
5201
5221
  bindValue: n,
5202
5222
  optionalDisplayValue: r.length >= s ? r[s] : ""
5203
5223
  }));
5204
- }, ia = (t, e) => {
5224
+ }, ua = (t, e) => {
5205
5225
  const r = new Me(
5206
5226
  t.obj,
5207
5227
  e.map((s) => s.bindValue)
@@ -5210,7 +5230,7 @@ const Pe = (t, e, r) => ({
5210
5230
  e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
5211
5231
  ).getLegacyValue();
5212
5232
  return Pe(t, r, n);
5213
- }, fn = ({
5233
+ }, pn = ({
5214
5234
  min: t,
5215
5235
  max: e,
5216
5236
  step: r = 1,
@@ -5223,7 +5243,7 @@ const Pe = (t, e, r) => ({
5223
5243
  ...c
5224
5244
  }) => {
5225
5245
  const { getCurrentLanguage: d } = Oe(), u = ue(null), f = d(), { groupingChar: m, decimalChar: h } = Je(
5226
- () => Ys(f, s),
5246
+ () => zs(f, s),
5227
5247
  [f, s]
5228
5248
  ), y = oe(
5229
5249
  (L, D) => new Intl.NumberFormat(f, {
@@ -5232,7 +5252,7 @@ const Pe = (t, e, r) => ({
5232
5252
  useGrouping: !0
5233
5253
  }).format(L),
5234
5254
  [f]
5235
- ), x = oe(Hs, [m, h]), v = oe(Ws, [t, e]), T = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, E] = H(T), [b, C] = H(
5255
+ ), x = oe(Js, [m, h]), v = oe(qs, [t, e]), T = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, E] = z(T), [b, C] = z(
5236
5256
  a != null ? y(a, w) : ""
5237
5257
  ), P = ue(a ?? null);
5238
5258
  re(() => {
@@ -5257,7 +5277,7 @@ const Pe = (t, e, r) => ({
5257
5277
  } else
5258
5278
  C("");
5259
5279
  else {
5260
- const G = v(K, t, e), A = qs(
5280
+ const G = v(K, t, e), A = Ks(
5261
5281
  L,
5262
5282
  m,
5263
5283
  h
@@ -5296,7 +5316,7 @@ const Pe = (t, e, r) => ({
5296
5316
  V(y(G, w));
5297
5317
  };
5298
5318
  return /* @__PURE__ */ p.jsx("div", { ref: u, "data-component": "input-number", onWheel: _, children: l ? /* @__PURE__ */ p.jsx(
5299
- nr,
5319
+ ar,
5300
5320
  {
5301
5321
  bindValue: b,
5302
5322
  className: `smp-text-number${P.current != null && P.current < 0 ? " smp-text-negative" : ""}`
@@ -5366,7 +5386,7 @@ class Ze {
5366
5386
  return this.value;
5367
5387
  }
5368
5388
  }
5369
- const la = ({
5389
+ const da = ({
5370
5390
  disabled: t,
5371
5391
  bindValue: e,
5372
5392
  onChange: r,
@@ -5412,7 +5432,7 @@ const la = ({
5412
5432
  }
5413
5433
  ),
5414
5434
  w && /* @__PURE__ */ p.jsx(
5415
- sn,
5435
+ Qt,
5416
5436
  {
5417
5437
  id: v,
5418
5438
  helperText: d,
@@ -5422,7 +5442,7 @@ const la = ({
5422
5442
  )
5423
5443
  ] });
5424
5444
  };
5425
- var zt = /* @__PURE__ */ ((t) => (t.PAGE_DIRECTION = "pageDirection", t.LINE_DIRECTION = "lineDirection", t))(zt || {});
5445
+ var Kt = /* @__PURE__ */ ((t) => (t.PAGE_DIRECTION = "pageDirection", t.LINE_DIRECTION = "lineDirection", t))(Kt || {});
5426
5446
  const Ue = {
5427
5447
  "smp-radio": "_smp-radio_1fqe8_1",
5428
5448
  "smp-radio-options-container": "_smp-radio-options-container_1fqe8_10",
@@ -5430,10 +5450,10 @@ const Ue = {
5430
5450
  "smp-radio-element": "_smp-radio-element_1fqe8_20",
5431
5451
  "smp-radio-disabled": "_smp-radio-disabled_1fqe8_26",
5432
5452
  "smp-radio-horizontal-grid": "_smp-radio-horizontal-grid_1fqe8_32"
5433
- }, ca = ({
5453
+ }, fa = ({
5434
5454
  disabled: t = !1,
5435
5455
  displayMode: e = "DescOnly",
5436
- RadLay: r = zt.PAGE_DIRECTION,
5456
+ RadLay: r = Kt.PAGE_DIRECTION,
5437
5457
  RadCol: n,
5438
5458
  options: s,
5439
5459
  onOptionsRequest: a,
@@ -5441,7 +5461,7 @@ const Ue = {
5441
5461
  label: i,
5442
5462
  ...l
5443
5463
  }) => {
5444
- const [c, d] = H(s), u = De();
5464
+ const [c, d] = z(s), u = De();
5445
5465
  re(() => {
5446
5466
  !c && a && o && a(o, void 0).then(
5447
5467
  (b) => d(Ge(b))
@@ -5449,7 +5469,7 @@ const Ue = {
5449
5469
  console.error("Error during loading options (radio)", b);
5450
5470
  });
5451
5471
  }, [c, a, o]);
5452
- const f = parseInt(n ?? "", 10), m = r === zt.LINE_DIRECTION, h = m && !isNaN(f), y = h ? Ue["smp-radio-horizontal-grid"] : m ? Ue["smp-radio-horizontal"] : "", x = h ? { gridTemplateColumns: `repeat(${f}, 1fr)` } : void 0, v = {
5472
+ const f = parseInt(n ?? "", 10), m = r === Kt.LINE_DIRECTION, h = m && !isNaN(f), y = h ? Ue["smp-radio-horizontal-grid"] : m ? Ue["smp-radio-horizontal"] : "", x = h ? { gridTemplateColumns: `repeat(${f}, 1fr)` } : void 0, v = {
5453
5473
  container: Ue["smp-radio"],
5454
5474
  optionsContainer: `${Ue["smp-radio-options-container"]} ${y}`,
5455
5475
  option: `${Ue["smp-radio-element"]} ${t ? Ue["smp-radio-disabled"] : ""}`
@@ -5486,7 +5506,7 @@ const Ue = {
5486
5506
  )
5487
5507
  ] }, C)) })
5488
5508
  ] });
5489
- }, ua = ({
5509
+ }, pa = ({
5490
5510
  value: t,
5491
5511
  onChange: e,
5492
5512
  targetRef: r,
@@ -5536,32 +5556,32 @@ const Ue = {
5536
5556
  ]
5537
5557
  }
5538
5558
  );
5539
- }, qr = (t) => {
5559
+ }, Hr = (t) => {
5540
5560
  const e = t.match(/^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/);
5541
5561
  if (!e) return !1;
5542
5562
  const [, r, n, s] = e, a = parseInt(r, 10), o = parseInt(n, 10), i = s ? parseInt(s, 10) : 0;
5543
5563
  return a >= 0 && a <= 23 && o >= 0 && o <= 59 && (s === void 0 || i >= 0 && i <= 59);
5544
- }, da = (t) => {
5564
+ }, ha = (t) => {
5545
5565
  const e = t.split(":").map((r) => parseInt(r, 10));
5546
5566
  return [e[0] || 0, e[1] || 0, e[2] || 0];
5547
- }, fa = (t, e, r) => {
5567
+ }, ma = (t, e, r) => {
5548
5568
  const n = t != null && !isNaN(t) ? t.toString().padStart(2, "0") : "", s = e != null && !isNaN(e) ? e.toString().padStart(2, "0") : "", a = r != null && !isNaN(r) ? r.toString().padStart(2, "0") : "";
5549
5569
  return n && s ? `${n}:${s}:${a}` : s ? `${s}:${a}` : a;
5550
- }, pa = ({
5570
+ }, ga = ({
5551
5571
  bindValue: t,
5552
5572
  placeholder: e = "HH:MM:SS",
5553
5573
  onChange: r,
5554
5574
  isEditable: n = !0,
5555
5575
  ...s
5556
5576
  }) => {
5557
- const a = ue(null), [o, i] = H(!1), [l, c] = H(t || ""), [d, u] = H(""), { anchorRef: f, targetRef: m } = Ne({
5577
+ const a = ue(null), [o, i] = z(!1), [l, c] = z(t || ""), [d, u] = z(""), { anchorRef: f, targetRef: m } = Ne({
5558
5578
  position: "bottom",
5559
5579
  enabled: o
5560
5580
  }), h = oe(() => {
5561
5581
  i(!1), a?.current?.focus();
5562
5582
  }, []);
5563
- tt([m, f], o, () => i(!1)), rr(o, m), re(() => {
5564
- const b = t || "", C = qr(b) ? b : t || "";
5583
+ tt([m, f], o, () => i(!1)), sr(o, m), re(() => {
5584
+ const b = t || "", C = Hr(b) ? b : t || "";
5565
5585
  c(b), u(C);
5566
5586
  }, [t]), re(() => {
5567
5587
  const b = (C) => {
@@ -5576,7 +5596,7 @@ const Ue = {
5576
5596
  }, x = (b) => {
5577
5597
  u(b);
5578
5598
  }, v = (b, C, P) => {
5579
- const V = fa(b, C, P);
5599
+ const V = ma(b, C, P);
5580
5600
  c(V), u(V), r?.(V), h();
5581
5601
  }, T = () => {
5582
5602
  E(d);
@@ -5587,7 +5607,7 @@ const Ue = {
5587
5607
  c(""), u(""), r?.("");
5588
5608
  return;
5589
5609
  }
5590
- qr(b) ? (c(b), u(b), r?.(b)) : u(b);
5610
+ Hr(b) ? (c(b), u(b), r?.(b)) : u(b);
5591
5611
  };
5592
5612
  return /* @__PURE__ */ p.jsxs("div", { "data-component": "time-picker", children: [
5593
5613
  /* @__PURE__ */ p.jsx(
@@ -5607,9 +5627,9 @@ const Ue = {
5607
5627
  }
5608
5628
  ),
5609
5629
  o && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
5610
- ua,
5630
+ pa,
5611
5631
  {
5612
- value: da(l),
5632
+ value: ha(l),
5613
5633
  onChange: v,
5614
5634
  targetRef: m,
5615
5635
  isOpen: o
@@ -5617,7 +5637,7 @@ const Ue = {
5617
5637
  ) })
5618
5638
  ] });
5619
5639
  };
5620
- function ha(t) {
5640
+ function ba(t) {
5621
5641
  return typeof t == "string" && /^\d{6}$/.test(t);
5622
5642
  }
5623
5643
  class Ct {
@@ -5627,13 +5647,13 @@ class Ct {
5627
5647
  this.class = e, this.time = r;
5628
5648
  }
5629
5649
  static fromDataObj(e) {
5630
- const r = Hr.get(`${e.t}${e.p}`);
5650
+ const r = Kr.get(`${e.t}${e.p}`);
5631
5651
  if (r)
5632
5652
  return new Ct(e, r.legacyToIso(e.k));
5633
5653
  throw new Error(`time creation from ${e.t}${e.p} not implemented yet`);
5634
5654
  }
5635
5655
  getLegacyValue() {
5636
- const e = Hr.get(`${this.class.t}${this.class.p}`);
5656
+ const e = Kr.get(`${this.class.t}${this.class.p}`);
5637
5657
  if (e)
5638
5658
  return e.isoToLegacy(this.time);
5639
5659
  throw new Error(
@@ -5644,21 +5664,21 @@ class Ct {
5644
5664
  return this.time;
5645
5665
  }
5646
5666
  }
5647
- const Hr = /* @__PURE__ */ new Map([
5667
+ const Kr = /* @__PURE__ */ new Map([
5648
5668
  [
5649
5669
  "I12",
5650
5670
  {
5651
5671
  legacyToIso(t) {
5652
- return ha(t) && `${t.substring(0, 2)}:${t.substring(2, 4)}:${t.substring(4, 6)}` || t;
5672
+ return ba(t) && `${t.substring(0, 2)}:${t.substring(2, 4)}:${t.substring(4, 6)}` || t;
5653
5673
  },
5654
5674
  isoToLegacy(t) {
5655
5675
  return t.replaceAll(":", "") || t;
5656
5676
  }
5657
5677
  }
5658
5678
  ]
5659
- ]), ma = {
5679
+ ]), ya = {
5660
5680
  "smp-cell-wrapper": "_smp-cell-wrapper_mdlkz_1"
5661
- }, de = (t) => t == null ? !1 : typeof t == "string" ? t.toLocaleLowerCase() == "yes" || t.toLocaleLowerCase() == "true" : t, pn = ({
5681
+ }, de = (t) => t == null ? !1 : typeof t == "string" ? t.toLocaleLowerCase() == "yes" || t.toLocaleLowerCase() == "true" : t, hn = ({
5662
5682
  bindValue: t,
5663
5683
  disabled: e = !1,
5664
5684
  label: r,
@@ -5670,7 +5690,7 @@ const Hr = /* @__PURE__ */ new Map([
5670
5690
  helper: l,
5671
5691
  ...c
5672
5692
  }) => {
5673
- const [d, u] = H(a), f = De(), m = (y) => {
5693
+ const [d, u] = z(a), f = De(), m = (y) => {
5674
5694
  e || c.onChange?.(y.obj.k, y.decode);
5675
5695
  };
5676
5696
  re(() => {
@@ -5733,7 +5753,7 @@ const Ce = {
5733
5753
  "smp-row-wrapperCell": "_smp-row-wrapperCell_qr95z_58",
5734
5754
  "smp-row-leftSection": "_smp-row-leftSection_qr95z_65",
5735
5755
  "smp-row-node-label": "_smp-row-node-label_qr95z_73"
5736
- }, sr = ({
5756
+ }, or = ({
5737
5757
  row: t,
5738
5758
  columns: e,
5739
5759
  columnWidths: r = {},
@@ -5747,7 +5767,7 @@ const Ce = {
5747
5767
  onNodeClick: d,
5748
5768
  onContextMenu: u
5749
5769
  }) => {
5750
- const [f, m] = H(We(t)), h = We(t) && !!t.children?.length, y = t.cells && Object.keys(t.cells).length > 0, x = h, v = n * 16, T = () => {
5770
+ const [f, m] = z(We(t)), h = We(t) && !!t.children?.length, y = t.cells && Object.keys(t.cells).length > 0, x = h, v = n * 16, T = () => {
5751
5771
  h && m(!f);
5752
5772
  }, w = {
5753
5773
  content: `${Ce["smp-row"]} ${ft(t) ? Ce["smp-row-data"] : ""} ${We(t) ? Ce["smp-row-clickable"] : ""} ${i ? Ce["smp-row-selected"] : ""}`,
@@ -5786,7 +5806,7 @@ const Ce = {
5786
5806
  ), V = () => {
5787
5807
  if (l)
5788
5808
  return /* @__PURE__ */ p.jsx(
5789
- er,
5809
+ rr,
5790
5810
  {
5791
5811
  bindValue: i,
5792
5812
  onChange: () => {
@@ -5881,7 +5901,7 @@ const Ce = {
5881
5901
  }
5882
5902
  );
5883
5903
  }, j = () => f || !h || ft(t) ? null : /* @__PURE__ */ p.jsx(p.Fragment, { children: t.children?.map((O, _) => /* @__PURE__ */ p.jsx(
5884
- sr,
5904
+ or,
5885
5905
  {
5886
5906
  row: O,
5887
5907
  level: n + 1,
@@ -5896,19 +5916,19 @@ const Ce = {
5896
5916
  F(),
5897
5917
  j()
5898
5918
  ] });
5899
- }, ga = {
5919
+ }, va = {
5900
5920
  "smp-tree": "_smp-tree_19u9h_1"
5901
- }, ba = ({ fun: t, onOptionsRequest: e, onClick: r }) => {
5902
- const [n, s] = H(void 0);
5921
+ }, xa = ({ fun: t, onOptionsRequest: e, onClick: r }) => {
5922
+ const [n, s] = z(void 0);
5903
5923
  re(() => {
5904
5924
  !n && e && t && e(t, void 0).then((o) => s(Ge(o))).catch((o) => {
5905
5925
  console.error("Errore nel caricamento delle opzioni per il Tree", o);
5906
5926
  });
5907
5927
  }, [n, t, e]);
5908
5928
  const a = {
5909
- table: ga["smp-tree"]
5929
+ table: va["smp-tree"]
5910
5930
  };
5911
- return n && n.length && /* @__PURE__ */ p.jsx("table", { className: a.table, children: /* @__PURE__ */ p.jsx("tbody", { children: n.map((o, i) => /* @__PURE__ */ p.jsx(sr, { row: o, onNodeClick: r }, i)) }) });
5931
+ return n && n.length && /* @__PURE__ */ p.jsx("table", { className: a.table, children: /* @__PURE__ */ p.jsx("tbody", { children: n.map((o, i) => /* @__PURE__ */ p.jsx(or, { row: o, onNodeClick: r }, i)) }) });
5912
5932
  }, Fe = ({
5913
5933
  id: t,
5914
5934
  decode: e,
@@ -5943,7 +5963,7 @@ const Ce = {
5943
5963
  icon: a,
5944
5964
  fun: o,
5945
5965
  data: s
5946
- }, P = () => os(C.obj) ? "INR" : jr(C.obj) ? "CAL" : r, V = C.data && C.data.size && C.data.size >= 256 && (P() === "ITX" || !P()) ? "MEM" : P(), F = e || b, j = {
5966
+ }, P = () => cs(C.obj) ? "INR" : Dr(C.obj) ? "CAL" : r, V = C.data && C.data.size && C.data.size >= 256 && (P() === "ITX" || !P()) ? "MEM" : P(), F = e || b, j = {
5947
5967
  id: t,
5948
5968
  onBlur: x,
5949
5969
  onOptionsRequest: v,
@@ -5957,14 +5977,14 @@ const Ce = {
5957
5977
  size: C.data && C.data.size ? C.data.size : 20,
5958
5978
  isOptimized: C.data?.isOptimized,
5959
5979
  ...s
5960
- }, O = (A, I, k) => jr(n) ? Pe(A, new xt(n, I).getLegacyValue()) : is(n) ? Pe(A, new Ct(n, I).getLegacyValue()) : f?.forceUppercase ? Pe(
5980
+ }, O = (A, I, k) => Dr(n) ? Pe(A, new xt(n, I).getLegacyValue()) : us(n) ? Pe(A, new Ct(n, I).getLegacyValue()) : f?.forceUppercase ? Pe(
5961
5981
  A,
5962
5982
  I.toLocaleUpperCase(),
5963
5983
  k
5964
5984
  ) : Pe(A, I, k), _ = (A, I) => Pe(
5965
5985
  A,
5966
5986
  new Ze(n, I, E).getLegacyValue()
5967
- ), L = (A) => Pe(C, new vt(n, A).getLegacyValue()), D = (A) => ia(C, A), K = () => {
5987
+ ), L = (A) => Pe(C, new vt(n, A).getLegacyValue()), D = (A) => ua(C, A), K = () => {
5968
5988
  switch (V) {
5969
5989
  case te.AUTOCOMPLETE: {
5970
5990
  const A = {
@@ -5975,7 +5995,7 @@ const Ce = {
5975
5995
  m?.(O(C, I, k));
5976
5996
  }
5977
5997
  };
5978
- return /* @__PURE__ */ p.jsx(un, { ...A });
5998
+ return /* @__PURE__ */ p.jsx(dn, { ...A });
5979
5999
  }
5980
6000
  case te.BUTTON: {
5981
6001
  const A = s?.label && typeof s.label == "string" ? s.label : void 0, I = {
@@ -5998,14 +6018,14 @@ const Ce = {
5998
6018
  h?.(O(g, I));
5999
6019
  }
6000
6020
  };
6001
- return /* @__PURE__ */ p.jsx(ea, { ...A });
6021
+ return /* @__PURE__ */ p.jsx(na, { ...A });
6002
6022
  }
6003
6023
  case te.CHIP: {
6004
6024
  const A = {
6005
6025
  ...j,
6006
- elements: Gr(C)
6026
+ elements: zr(C)
6007
6027
  };
6008
- return /* @__PURE__ */ p.jsx(tr, { ...A });
6028
+ return /* @__PURE__ */ p.jsx(nr, { ...A });
6009
6029
  }
6010
6030
  case te.CHECKBOX:
6011
6031
  case te.SWITCH: {
@@ -6018,7 +6038,7 @@ const Ce = {
6018
6038
  },
6019
6039
  ...A && { variant: "switch" }
6020
6040
  };
6021
- return /* @__PURE__ */ p.jsx(er, { ...I });
6041
+ return /* @__PURE__ */ p.jsx(rr, { ...I });
6022
6042
  }
6023
6043
  case te.COMBOBOX: {
6024
6044
  const A = {
@@ -6039,7 +6059,7 @@ const Ce = {
6039
6059
  m?.(O(C, I));
6040
6060
  }
6041
6061
  };
6042
- return /* @__PURE__ */ p.jsx(dn, { ...A });
6062
+ return /* @__PURE__ */ p.jsx(fn, { ...A });
6043
6063
  }
6044
6064
  case te.ICON:
6045
6065
  case te.IMAGE: {
@@ -6061,7 +6081,7 @@ const Ce = {
6061
6081
  m?.(_(C, I));
6062
6082
  }
6063
6083
  };
6064
- return /* @__PURE__ */ p.jsx(fn, { ...A });
6084
+ return /* @__PURE__ */ p.jsx(pn, { ...A });
6065
6085
  }
6066
6086
  case te.EDITOR:
6067
6087
  case te.MEMO: {
@@ -6073,17 +6093,17 @@ const Ce = {
6073
6093
  m?.(O(C, I));
6074
6094
  }
6075
6095
  };
6076
- return /* @__PURE__ */ p.jsx(la, { ...A });
6096
+ return /* @__PURE__ */ p.jsx(da, { ...A });
6077
6097
  }
6078
6098
  case te.MULTI_AUTOCOMPLETE: {
6079
6099
  const A = {
6080
6100
  ...j,
6081
- elements: Gr(C),
6101
+ elements: zr(C),
6082
6102
  onChange: (I) => {
6083
6103
  m?.(D(I));
6084
6104
  }
6085
6105
  };
6086
- return /* @__PURE__ */ p.jsx(sa, { ...A });
6106
+ return /* @__PURE__ */ p.jsx(ia, { ...A });
6087
6107
  }
6088
6108
  case te.MULTI_CONFIG: {
6089
6109
  const A = {
@@ -6106,7 +6126,7 @@ const Ce = {
6106
6126
  m?.(O(C, I));
6107
6127
  }
6108
6128
  };
6109
- return /* @__PURE__ */ p.jsx(aa, { ...A });
6129
+ return /* @__PURE__ */ p.jsx(la, { ...A });
6110
6130
  }
6111
6131
  case te.RADIO: {
6112
6132
  const A = {
@@ -6116,7 +6136,7 @@ const Ce = {
6116
6136
  m?.(O(C, I, k));
6117
6137
  }
6118
6138
  };
6119
- return /* @__PURE__ */ p.jsx(ca, { ...A });
6139
+ return /* @__PURE__ */ p.jsx(fa, { ...A });
6120
6140
  }
6121
6141
  case te.SPOTLIGHT: {
6122
6142
  const A = {
@@ -6129,7 +6149,7 @@ const Ce = {
6129
6149
  m?.(O(C, I, k));
6130
6150
  }
6131
6151
  };
6132
- return /* @__PURE__ */ p.jsx(oa, { ...A });
6152
+ return /* @__PURE__ */ p.jsx(ca, { ...A });
6133
6153
  }
6134
6154
  case te.TEXT_FIELD: {
6135
6155
  const A = {
@@ -6150,7 +6170,7 @@ const Ce = {
6150
6170
  m?.(O(C, I, k));
6151
6171
  }
6152
6172
  };
6153
- return /* @__PURE__ */ p.jsx(pn, { ...A });
6173
+ return /* @__PURE__ */ p.jsx(hn, { ...A });
6154
6174
  }
6155
6175
  case te.TIME: {
6156
6176
  const A = {
@@ -6160,7 +6180,7 @@ const Ce = {
6160
6180
  m?.(O(C, I));
6161
6181
  }
6162
6182
  };
6163
- return /* @__PURE__ */ p.jsx(pa, { ...A });
6183
+ return /* @__PURE__ */ p.jsx(ga, { ...A });
6164
6184
  }
6165
6185
  case te.TREE: {
6166
6186
  const A = {
@@ -6169,7 +6189,7 @@ const Ce = {
6169
6189
  h?.(I);
6170
6190
  }
6171
6191
  };
6172
- return /* @__PURE__ */ p.jsx(ba, { ...A });
6192
+ return /* @__PURE__ */ p.jsx(xa, { ...A });
6173
6193
  }
6174
6194
  default: {
6175
6195
  const A = {
@@ -6177,11 +6197,11 @@ const Ce = {
6177
6197
  bindValue: C.obj.k,
6178
6198
  optionalDisplayValue: F
6179
6199
  };
6180
- return /* @__PURE__ */ p.jsx(nr, { ...A });
6200
+ return /* @__PURE__ */ p.jsx(ar, { ...A });
6181
6201
  }
6182
6202
  }
6183
6203
  }, G = {
6184
- wrapper: `${ma["smp-cell-wrapper"]}`
6204
+ wrapper: `${ya["smp-cell-wrapper"]}`
6185
6205
  };
6186
6206
  return /* @__PURE__ */ p.jsx(
6187
6207
  "span",
@@ -6193,13 +6213,13 @@ const Ce = {
6193
6213
  children: K()
6194
6214
  }
6195
6215
  );
6196
- }, Ha = ({
6216
+ }, Ja = ({
6197
6217
  data: t,
6198
6218
  onClick: e,
6199
6219
  onEnter: r,
6200
6220
  onContextMenu: n
6201
6221
  }) => {
6202
- const [s, a] = H(), o = oe(
6222
+ const [s, a] = z(), o = oe(
6203
6223
  (i) => {
6204
6224
  if (!i.rows?.length || !i.columns?.length)
6205
6225
  return {};
@@ -6243,7 +6263,7 @@ const Ce = {
6243
6263
  return re(() => {
6244
6264
  t && a(o(t));
6245
6265
  }, [t, o]), !t?.rows?.length || !t.columns?.length ? null : s && /* @__PURE__ */ p.jsx("header", { className: "smp-appbar", "aria-label": "App Bar", children: /* @__PURE__ */ p.jsx(yt, { layout: t.rows[0].layout, children: Object.values(s).map((i) => /* @__PURE__ */ p.jsx(Fe, { ...i })) }) });
6246
- }, za = ({
6266
+ }, Xa = ({
6247
6267
  data: t,
6248
6268
  logo: e,
6249
6269
  open: r,
@@ -6255,7 +6275,7 @@ const Ce = {
6255
6275
  loadOptions: l,
6256
6276
  onContextMenu: c
6257
6277
  }) => {
6258
- const [d, u] = H(), [f, m] = H(r ?? !0), h = ue(null), y = s.trim() ? s : "100vh", x = oe(
6278
+ const [d, u] = z(), [f, m] = z(r ?? !0), h = ue(null), y = s.trim() ? s : "100vh", x = oe(
6259
6279
  (E) => {
6260
6280
  if (!E?.rows?.length || !E?.columns?.length)
6261
6281
  return {};
@@ -6377,7 +6397,7 @@ const Ce = {
6377
6397
  }
6378
6398
  )
6379
6399
  ] });
6380
- }, Ka = ({
6400
+ }, Qa = ({
6381
6401
  ColumnsNumber: t = 1,
6382
6402
  data: e = {},
6383
6403
  ForceText: r,
@@ -6400,8 +6420,8 @@ const Ce = {
6400
6420
  onClick: w
6401
6421
  }) => {
6402
6422
  const E = "N/A", b = e?.columns || [], C = e?.rows || [], P = C.length > 0, V = "--smp-dashList-color", F = "smp-layout", j = "descr", O = "icon", _ = "um", L = "value", D = o || "1em", K = "18px", G = "--smp-dashList-columns", A = "--smp-dashList-fontSize", I = {
6403
- dash: (z = "1") => {
6404
- const ee = g(z), W = ee, X = S(ee, j), ce = S(ee, O), he = S(ee, _), ie = S(ee, L);
6423
+ dash: (H = "1") => {
6424
+ const ee = g(H), W = ee, X = S(ee, j), ce = S(ee, O), he = S(ee, _), ie = S(ee, L);
6405
6425
  return {
6406
6426
  container: W,
6407
6427
  descr: X,
@@ -6412,29 +6432,29 @@ const Ce = {
6412
6432
  },
6413
6433
  dashList: `smp-dash-list ${de(a) ? "smp-dash-list-fill-space" : ""}
6414
6434
  ${de(i) ? "smp-dash-list-horizontal" : ""}`
6415
- }, { format: k } = Oe(), g = (z) => `${F}-${z}`, S = (z, ee) => `${z}__${ee}`, N = (z) => `${V}-${z}`, R = (z) => {
6435
+ }, { format: k } = Oe(), g = (H) => `${F}-${H}`, S = (H, ee) => `${H}__${ee}`, N = (H) => `${V}-${H}`, R = (H) => {
6416
6436
  const ee = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
6417
- if (ee.test(z)) {
6418
- const X = z.match(ee) || [];
6437
+ if (ee.test(H)) {
6438
+ const X = H.match(ee) || [];
6419
6439
  if (X?.length > 3)
6420
6440
  return "rgb(" + X[1] + "," + X[2] + "," + X[3] + ")";
6421
6441
  }
6422
- return z;
6423
- }, $ = (z) => {
6424
- if (!u) return z;
6442
+ return H;
6443
+ }, $ = (H) => {
6444
+ if (!u) return H;
6425
6445
  const [ee, W] = M(u).map(
6426
6446
  (xe) => parseInt(xe || "0")
6427
- ), X = "0,0" + (W ? "." + "0".repeat(W) : ""), ce = k(z, X, "it");
6447
+ ), X = "0,0" + (W ? "." + "0".repeat(W) : ""), ce = k(H, X, "it");
6428
6448
  if (!ee) return ce;
6429
6449
  const [he, ie] = ce.split(",");
6430
6450
  return he + (ie ? `,${ie}` : "");
6431
- }, M = (z) => z.includes(";") ? z.split(";") : [z], Y = (z) => {
6451
+ }, M = (H) => H.includes(";") ? H.split(";") : [H], Y = (H) => {
6432
6452
  const ee = (X) => {
6433
6453
  if (X)
6434
- return z?.cells[X]?.obj.k;
6454
+ return H?.cells[X]?.obj.k;
6435
6455
  }, W = (X) => {
6436
6456
  if (!(b.length <= X))
6437
- return z?.cells[b[X].name]?.obj?.k;
6457
+ return H?.cells[b[X].name]?.obj?.k;
6438
6458
  };
6439
6459
  return {
6440
6460
  descr: r || ee(n) || W(2) || "",
@@ -6442,15 +6462,15 @@ const Ce = {
6442
6462
  um: f || ee(m) || W(1) || "",
6443
6463
  value: y || ee(x) || W(0) || ""
6444
6464
  };
6445
- }, q = (z) => {
6446
- w?.(z);
6447
- }, B = (z, ee) => {
6448
- (z.key === "Enter" || z.key === " ") && (z.preventDefault(), z.stopPropagation(), q(ee));
6449
- }, J = ((z) => {
6450
- const ee = I.dash(z);
6465
+ }, q = (H) => {
6466
+ w?.(H);
6467
+ }, B = (H, ee) => {
6468
+ (H.key === "Enter" || H.key === " ") && (H.preventDefault(), H.stopPropagation(), q(ee));
6469
+ }, J = ((H) => {
6470
+ const ee = I.dash(H);
6451
6471
  return {
6452
6472
  className: ee,
6453
- descr: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.descr, children: W }, `${z}-${j}`),
6473
+ descr: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.descr, children: W }, `${H}-${j}`),
6454
6474
  icon: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.icon, children: /* @__PURE__ */ p.jsx(
6455
6475
  le,
6456
6476
  {
@@ -6459,12 +6479,12 @@ const Ce = {
6459
6479
  icon: W,
6460
6480
  width: K
6461
6481
  }
6462
- ) }, `${z}-${O}`),
6463
- um: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.um, children: W }, `${z}-${_}`),
6464
- value: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.value, children: W }, `${z}-${L}`)
6482
+ ) }, `${H}-${O}`),
6483
+ um: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.um, children: W }, `${H}-${_}`),
6484
+ value: (W) => /* @__PURE__ */ p.jsx("div", { className: ee.value, children: W }, `${H}-${L}`)
6465
6485
  };
6466
- })(T), ae = (z) => {
6467
- const { descr: ee, icon: W, um: X, value: ce } = Y(z), he = {
6486
+ })(T), ae = (H) => {
6487
+ const { descr: ee, icon: W, um: X, value: ce } = Y(H), he = {
6468
6488
  [N(j)]: R(s),
6469
6489
  [N(_)]: R(h),
6470
6490
  [N(L)]: R(v)
@@ -6488,25 +6508,25 @@ const Ce = {
6488
6508
  role: "button",
6489
6509
  style: he,
6490
6510
  tabIndex: 0,
6491
- onClick: () => q(z),
6492
- onKeyDown: (_t) => B(_t, z),
6511
+ onClick: () => q(H),
6512
+ onKeyDown: (_t) => B(_t, H),
6493
6513
  children: ie
6494
6514
  },
6495
- z.rowId
6515
+ H.rowId
6496
6516
  );
6497
6517
  }, U = {
6498
6518
  [G]: String(t),
6499
6519
  [A]: D
6500
6520
  };
6501
- return /* @__PURE__ */ p.jsx("div", { className: I.dashList, style: U, children: P ? C.map((z) => ae(z)) : E });
6502
- }, hn = {
6521
+ return /* @__PURE__ */ p.jsx("div", { className: I.dashList, style: U, children: P ? C.map((H) => ae(H)) : E });
6522
+ }, mn = {
6503
6523
  "smp-table": "_smp-table_v715o_1"
6504
6524
  };
6505
- function ya(t, e) {
6525
+ function wa(t, e) {
6506
6526
  const r = new Set(t);
6507
6527
  return r.has(e) ? r.delete(e) : r.add(e), r;
6508
6528
  }
6509
- function va(t, e) {
6529
+ function Sa(t, e) {
6510
6530
  return t.map((r) => {
6511
6531
  const n = e.find((s) => s.column === r.bindValue);
6512
6532
  return {
@@ -6515,7 +6535,7 @@ function va(t, e) {
6515
6535
  };
6516
6536
  });
6517
6537
  }
6518
- function xa(t, e, r, n) {
6538
+ function Ea(t, e, r, n) {
6519
6539
  const s = [];
6520
6540
  let a = 0;
6521
6541
  return o(t, 0, []), { flatRows: s, offset: a };
@@ -6556,13 +6576,13 @@ function xa(t, e, r, n) {
6556
6576
  s.push(f), a += r;
6557
6577
  }
6558
6578
  }
6559
- const wa = ({
6579
+ const Ca = ({
6560
6580
  columns: t,
6561
6581
  rows: e,
6562
6582
  containerRef: r,
6563
6583
  sizingMode: n
6564
6584
  }) => {
6565
- const [s, a] = H({}), o = 3, i = 7;
6585
+ const [s, a] = z({}), o = 3, i = 7;
6566
6586
  return re(() => {
6567
6587
  if (!(!t || t.length === 0)) {
6568
6588
  if (n === "fixed") {
@@ -6576,61 +6596,64 @@ const wa = ({
6576
6596
  );
6577
6597
  a(u);
6578
6598
  } else if (n === "fit-content") {
6579
- const l = {};
6580
- for (const c of t) {
6581
- if (!c.visible) continue;
6582
- const d = c.title?.length + o * 2 || 0, u = Math.max(
6583
- ...e.map((f) => `${f.cells?.[c.name]?.decode || f.cells?.[c.name]?.value || ""}`.length),
6584
- d
6599
+ const l = {}, c = [...e].sort(() => 0.5 - Math.random()).slice(0, 100), d = e.slice(0, 100).concat(c);
6600
+ for (const u of t) {
6601
+ if (!u.visible) continue;
6602
+ const f = u.title?.length + o * 2 || 0, m = Math.max(
6603
+ f,
6604
+ ...d.map((h) => {
6605
+ const y = h.cells?.[u.name];
6606
+ return `${y?.decode ?? y?.value ?? ""}`.length;
6607
+ })
6585
6608
  );
6586
- l[c.name] = u * i + 24;
6609
+ l[u.name] = m * i + 24;
6587
6610
  }
6588
6611
  a(l);
6589
6612
  }
6590
6613
  }
6591
6614
  }, [t, e, r, n]), [s, a];
6592
6615
  };
6593
- function Sa(t, e) {
6616
+ function Ta(t, e) {
6594
6617
  return t.map((r) => ({
6595
6618
  id: r.name,
6596
6619
  label: r.title,
6597
6620
  type: "string"
6598
6621
  }));
6599
6622
  }
6600
- function zr(t, e) {
6601
- return t ? typeof t == "object" && "logic" in t && "filters" in t ? t : typeof t == "string" ? Ea(t, e) : { logic: "and", filters: [] } : { logic: "and", filters: [] };
6623
+ function Jr(t, e) {
6624
+ return t ? typeof t == "object" && "logic" in t && "filters" in t ? t : typeof t == "string" ? _a(t, e) : { logic: "and", filters: [] } : { logic: "and", filters: [] };
6602
6625
  }
6603
- function Ea(t, e) {
6626
+ function _a(t, e) {
6604
6627
  const r = t.split("|").map((s) => s.trim()).filter(Boolean), n = [];
6605
6628
  for (const s of r) {
6606
- const a = Ca(s, e);
6629
+ const a = Oa(s, e);
6607
6630
  a && n.push(a);
6608
6631
  }
6609
6632
  return { logic: "and", filters: n };
6610
6633
  }
6611
- function Ca(t, e) {
6634
+ function Oa(t, e) {
6612
6635
  if (!t.trim()) return null;
6613
6636
  if (t.includes(";OR;")) {
6614
6637
  const n = t.split(";OR;").map((l) => l.trim()).filter(Boolean);
6615
6638
  if (n.length === 0) return null;
6616
- const s = It(n[0], e);
6639
+ const s = Pt(n[0], e);
6617
6640
  if (!s) return null;
6618
6641
  const a = s.field, o = s.columnsType, i = n.slice(1).map(
6619
- (l) => It(l, e, a.id, o)
6642
+ (l) => Pt(l, e, a.id, o)
6620
6643
  ).filter((l) => l !== null);
6621
6644
  return {
6622
6645
  logic: "or",
6623
6646
  filters: [s, ...i]
6624
6647
  };
6625
6648
  } else {
6626
- const n = It(t, e);
6649
+ const n = Pt(t, e);
6627
6650
  return n ? {
6628
6651
  logic: "and",
6629
6652
  filters: [n]
6630
6653
  } : null;
6631
6654
  }
6632
6655
  }
6633
- function It(t, e, r, n) {
6656
+ function Pt(t, e, r, n) {
6634
6657
  const s = t.split(";").map((u) => u.trim());
6635
6658
  let a, o, i;
6636
6659
  if (s.length === 3)
@@ -6645,7 +6668,7 @@ function It(t, e, r, n) {
6645
6668
  const c = {
6646
6669
  ...ht,
6647
6670
  obj: { t: "", p: "", k: o }
6648
- }, d = Ta(i, l.type);
6671
+ }, d = ja(i, l.type);
6649
6672
  return {
6650
6673
  field: l,
6651
6674
  columnsType: l.type,
@@ -6653,7 +6676,7 @@ function It(t, e, r, n) {
6653
6676
  value: d
6654
6677
  };
6655
6678
  }
6656
- function Ta(t, e) {
6679
+ function ja(t, e) {
6657
6680
  switch (e) {
6658
6681
  case "number":
6659
6682
  return Number(t);
@@ -6663,38 +6686,38 @@ function Ta(t, e) {
6663
6686
  return t;
6664
6687
  }
6665
6688
  }
6666
- function _a(t, e) {
6667
- return !e || "filters" in e && e.filters.length === 0 ? t : t.filter((r) => mn(e, r));
6689
+ function Ra(t, e) {
6690
+ return !e || "filters" in e && e.filters.length === 0 ? t : t.filter((r) => gn(e, r));
6668
6691
  }
6669
- function mn(t, e) {
6692
+ function gn(t, e) {
6670
6693
  if ("filters" in t) {
6671
6694
  const { logic: r, filters: n } = t;
6672
6695
  if (n.length === 0) return !0;
6673
- const s = n.map((a) => mn(a, e));
6696
+ const s = n.map((a) => gn(a, e));
6674
6697
  return r === "and" ? s.every(Boolean) : s.some(Boolean);
6675
6698
  }
6676
- return Oa(t, e);
6699
+ return Da(t, e);
6677
6700
  }
6678
- function Oa(t, e) {
6679
- const { field: r, operator: n, value: s, columnsType: a } = t, o = e.cells?.[r.id], i = ja(o);
6701
+ function Da(t, e) {
6702
+ const { field: r, operator: n, value: s, columnsType: a } = t, o = e.cells?.[r.id], i = ka(o);
6680
6703
  if (i == null) return !1;
6681
6704
  switch (a) {
6682
6705
  case "string":
6683
- return Ra(i, n.obj.k, s);
6706
+ return Na(i, n.obj.k, s);
6684
6707
  case "number":
6685
- return Da(i, n.obj.k, s);
6708
+ return $a(i, n.obj.k, s);
6686
6709
  case "date":
6687
- return ka(i, n.obj.k, s);
6710
+ return La(i, n.obj.k, s);
6688
6711
  default:
6689
6712
  return !1;
6690
6713
  }
6691
6714
  }
6692
- function ja(t) {
6715
+ function ka(t) {
6693
6716
  if (t == null || typeof t != "object") return t;
6694
6717
  if ("value" in t) return t.value;
6695
6718
  if ("decode" in t) return t.decode;
6696
6719
  }
6697
- function Ra(t, e, r) {
6720
+ function Na(t, e, r) {
6698
6721
  const n = String(t).toLowerCase(), s = String(r).toLowerCase();
6699
6722
  switch (e.toLowerCase()) {
6700
6723
  case "contains":
@@ -6709,7 +6732,7 @@ function Ra(t, e, r) {
6709
6732
  return !1;
6710
6733
  }
6711
6734
  }
6712
- function Da(t, e, r) {
6735
+ function $a(t, e, r) {
6713
6736
  const n = Number(t), s = Number(r);
6714
6737
  if (isNaN(n) || isNaN(s)) return !1;
6715
6738
  switch (e.toLowerCase()) {
@@ -6729,7 +6752,7 @@ function Da(t, e, r) {
6729
6752
  return !1;
6730
6753
  }
6731
6754
  }
6732
- function ka(t, e, r) {
6755
+ function La(t, e, r) {
6733
6756
  const n = new Date(t), s = new Date(r);
6734
6757
  if (isNaN(n.getTime()) || isNaN(s.getTime())) return !1;
6735
6758
  switch (e.toLowerCase()) {
@@ -6748,16 +6771,16 @@ function ka(t, e, r) {
6748
6771
  return !1;
6749
6772
  }
6750
6773
  }
6751
- const Na = (t, e) => {
6774
+ const Aa = (t, e) => {
6752
6775
  const r = (n) => n.filters.some(
6753
6776
  (s) => "filters" in s ? r(s) : s.field.id === t && s.operator && s.value !== ""
6754
6777
  );
6755
6778
  return r(e);
6756
- }, $a = (t) => {
6779
+ }, Ia = (t) => {
6757
6780
  const e = (r) => r.filters.reduce((n, s) => "filters" in s ? n + e(s) : n + 1, 0);
6758
6781
  return e(t);
6759
6782
  };
6760
- function La(t, e) {
6783
+ function Pa(t, e) {
6761
6784
  const r = ue(null), n = oe((o) => {
6762
6785
  r.current = o;
6763
6786
  }, []), s = oe((o) => {
@@ -6779,7 +6802,7 @@ function La(t, e) {
6779
6802
  handleDrop: a
6780
6803
  };
6781
6804
  }
6782
- function gn(t, e, r) {
6805
+ function bn(t, e, r) {
6783
6806
  const s = t.columns.find((o) => o.name === e)?.obj?.t, a = [...t.rows].sort((o, i) => {
6784
6807
  const l = o.cells[e]?.obj?.k, c = i.cells[e]?.obj?.k;
6785
6808
  if (l == null && c != null) return r === "asc" ? 1 : -1;
@@ -6803,10 +6826,10 @@ function gn(t, e, r) {
6803
6826
  rows: a
6804
6827
  };
6805
6828
  }
6806
- function Aa(t) {
6807
- const [e, r] = H(null), [n, s] = H("asc");
6829
+ function Fa(t) {
6830
+ const [e, r] = z(null), [n, s] = z("asc");
6808
6831
  return {
6809
- sortedRows: Je(() => e ? gn({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6832
+ sortedRows: Je(() => e ? bn({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6810
6833
  sortBy: e,
6811
6834
  sortOrder: n,
6812
6835
  handleSort: (i) => {
@@ -6814,11 +6837,11 @@ function Aa(t) {
6814
6837
  }
6815
6838
  };
6816
6839
  }
6817
- const Ia = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ p.jsx("tfoot", { children: /* @__PURE__ */ p.jsx("tr", { children: t.map(
6840
+ const Ma = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ p.jsx("tfoot", { children: /* @__PURE__ */ p.jsx("tr", { children: t.map(
6818
6841
  (r) => r.visible && /* @__PURE__ */ p.jsx(
6819
6842
  "td",
6820
6843
  {
6821
- className: hn["smp-headerCell"],
6844
+ className: mn["smp-headerCell"],
6822
6845
  style: {
6823
6846
  width: e[r.name],
6824
6847
  minWidth: e[r.name],
@@ -6827,7 +6850,7 @@ const Ia = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ p.jsx("tfoot", {
6827
6850
  },
6828
6851
  r.name
6829
6852
  )
6830
- ) }) }), Pa = ({
6853
+ ) }) }), Va = ({
6831
6854
  label: t,
6832
6855
  rowHeight: e = 28,
6833
6856
  offsetTop: r = 0,
@@ -6871,10 +6894,10 @@ const Ia = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ p.jsx("tfoot", {
6871
6894
  }
6872
6895
  );
6873
6896
  };
6874
- function Fa(t) {
6897
+ function Ua(t) {
6875
6898
  return t.split("|");
6876
6899
  }
6877
- function Ma(t, e) {
6900
+ function Ba(t, e) {
6878
6901
  return t.columns.map((r) => ({
6879
6902
  ...r,
6880
6903
  visible: e.includes(r.name)
@@ -6887,7 +6910,7 @@ const Ye = {
6887
6910
  "smp-filter-list": "_smp-filter-list_1dest_24",
6888
6911
  "smp-filter-toolbar": "_smp-filter-toolbar_1dest_31",
6889
6912
  "smp-filter-actionButtons": "_smp-filter-actionButtons_1dest_41"
6890
- }, Va = ({ filter: t, onChange: e, onDelete: r, fieldOptions: n, hasCurrentColumn: s }) => {
6913
+ }, Wa = ({ filter: t, onChange: e, onDelete: r, fieldOptions: n, hasCurrentColumn: s }) => {
6891
6914
  const { translate: a } = Oe(), o = {
6892
6915
  string: mt([
6893
6916
  { id: "st", label: a(we.STRING_STARTS) },
@@ -6951,7 +6974,7 @@ const Ye = {
6951
6974
  );
6952
6975
  case "number":
6953
6976
  return /* @__PURE__ */ p.jsx(
6954
- fn,
6977
+ pn,
6955
6978
  {
6956
6979
  bindValue: t.value,
6957
6980
  onChange: c
@@ -6959,7 +6982,7 @@ const Ye = {
6959
6982
  );
6960
6983
  case "date":
6961
6984
  return /* @__PURE__ */ p.jsx(
6962
- dn,
6985
+ fn,
6963
6986
  {
6964
6987
  bindValue: t.value,
6965
6988
  onChange: c
@@ -7012,7 +7035,7 @@ const Ye = {
7012
7035
  }
7013
7036
  )
7014
7037
  ] });
7015
- }, bn = ({
7038
+ }, yn = ({
7016
7039
  group: t,
7017
7040
  onChange: e,
7018
7041
  onDelete: r,
@@ -7079,7 +7102,7 @@ const Ye = {
7079
7102
  children: [
7080
7103
  /* @__PURE__ */ p.jsxs("div", { className: x.filterToolbar, children: [
7081
7104
  c && /* @__PURE__ */ p.jsx(
7082
- pn,
7105
+ hn,
7083
7106
  {
7084
7107
  options: mt([
7085
7108
  { id: "and", label: "AND" },
@@ -7138,7 +7161,7 @@ const Ye = {
7138
7161
  ] }),
7139
7162
  /* @__PURE__ */ p.jsx("div", { className: x.filterList, children: t.filters.map((v, T) => ({ filter: v, index: T })).filter(({ filter: v }) => l ? "logic" in v ? v.filters.some((T) => "logic" in T ? !1 : T.field.id === l) : v.field.id === l : !0).map(
7140
7163
  ({ filter: v, index: T }) => "logic" in v ? /* @__PURE__ */ p.jsx(
7141
- bn,
7164
+ yn,
7142
7165
  {
7143
7166
  group: v,
7144
7167
  onChange: (w) => u(T, w),
@@ -7152,7 +7175,7 @@ const Ye = {
7152
7175
  },
7153
7176
  T
7154
7177
  ) : /* @__PURE__ */ p.jsx(
7155
- Va,
7178
+ Wa,
7156
7179
  {
7157
7180
  filter: v,
7158
7181
  onChange: (w) => u(T, w),
@@ -7166,7 +7189,7 @@ const Ye = {
7166
7189
  ]
7167
7190
  }
7168
7191
  );
7169
- }, Kr = ({
7192
+ }, Xr = ({
7170
7193
  filters: t,
7171
7194
  onChange: e,
7172
7195
  fieldOptions: r,
@@ -7181,7 +7204,7 @@ const Ye = {
7181
7204
  filterWrapper: `${Ye["smp-filter-wrapper"]}`
7182
7205
  };
7183
7206
  return /* @__PURE__ */ p.jsx("div", { className: c.filterWrapper, ref: a, children: /* @__PURE__ */ p.jsx(
7184
- bn,
7207
+ yn,
7185
7208
  {
7186
7209
  group: t,
7187
7210
  onChange: e,
@@ -7193,7 +7216,7 @@ const Ye = {
7193
7216
  onClose: l
7194
7217
  }
7195
7218
  ) });
7196
- }, Ua = ({
7219
+ }, Ya = ({
7197
7220
  groups: t = [],
7198
7221
  isDraggable: e = !0,
7199
7222
  isEditable: r = !0,
@@ -7215,7 +7238,7 @@ const Ye = {
7215
7238
  children: [
7216
7239
  /* @__PURE__ */ p.jsx(le, { icon: "groups" }),
7217
7240
  /* @__PURE__ */ p.jsx(
7218
- tr,
7241
+ nr,
7219
7242
  {
7220
7243
  elements: o,
7221
7244
  isEditable: r,
@@ -7234,7 +7257,7 @@ const Ye = {
7234
7257
  "smp-resizer": "_smp-resizer_laepr_34",
7235
7258
  "smp-datatable-toolbar": "_smp-datatable-toolbar_laepr_52",
7236
7259
  "smp-datatable-filter": "_smp-datatable-filter_laepr_53"
7237
- }, Ba = ({
7260
+ }, Ga = ({
7238
7261
  columns: t,
7239
7262
  columnWidths: e,
7240
7263
  groups: r,
@@ -7270,10 +7293,10 @@ const Ye = {
7270
7293
  position: "bottom",
7271
7294
  enabled: o !== null
7272
7295
  }), G = oe(
7273
- (k) => Na(k, i),
7296
+ (k) => Aa(k, i),
7274
7297
  [i]
7275
7298
  ), A = Je(
7276
- () => $a(i),
7299
+ () => Ia(i),
7277
7300
  [i]
7278
7301
  ), I = {
7279
7302
  headerCell: `${Ie["smp-headerCell"]}`,
@@ -7308,7 +7331,7 @@ const Ye = {
7308
7331
  ) })
7309
7332
  ] }) }),
7310
7333
  (r || s) && /* @__PURE__ */ p.jsx(
7311
- Ua,
7334
+ Ya,
7312
7335
  {
7313
7336
  groups: n,
7314
7337
  onChange: T,
@@ -7318,7 +7341,7 @@ const Ye = {
7318
7341
  )
7319
7342
  ] }),
7320
7343
  a && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
7321
- Kr,
7344
+ Xr,
7322
7345
  {
7323
7346
  filters: i,
7324
7347
  fieldOptions: l,
@@ -7336,7 +7359,7 @@ const Ye = {
7336
7359
  className: I.headerCell,
7337
7360
  style: { minWidth: 40, justifyContent: "center" },
7338
7361
  children: /* @__PURE__ */ p.jsx(
7339
- er,
7362
+ rr,
7340
7363
  {
7341
7364
  bindValue: u,
7342
7365
  onChange: C
@@ -7403,7 +7426,7 @@ const Ye = {
7403
7426
  )
7404
7427
  ] }),
7405
7428
  o === k.name && /* @__PURE__ */ p.jsx(ke, { children: /* @__PURE__ */ p.jsx(
7406
- Kr,
7429
+ Xr,
7407
7430
  {
7408
7431
  filters: i,
7409
7432
  fieldOptions: l.filter(
@@ -7437,7 +7460,7 @@ const Ye = {
7437
7460
  )
7438
7461
  ] })
7439
7462
  ] });
7440
- }, Ja = ({
7463
+ }, Za = ({
7441
7464
  data: t,
7442
7465
  lineHeight: e = 28,
7443
7466
  TableHeight: r = 400,
@@ -7451,24 +7474,24 @@ const Ye = {
7451
7474
  onMultiSelectionChange: d,
7452
7475
  onContextMenu: u
7453
7476
  }) => {
7454
- const [f, m] = H(() => t ? {
7455
- columns: l ? Ma(t, Fa(l)) : t.columns,
7477
+ const [f, m] = z(() => t ? {
7478
+ columns: l ? Ba(t, Ua(l)) : t.columns,
7456
7479
  rows: t.rows ?? []
7457
- } : { columns: [], rows: [] }), [h, y] = H(n || []), [x, v] = H(/* @__PURE__ */ new Set()), [T, w] = H(!1), [E, b] = H(/* @__PURE__ */ new Set()), [C, P] = H(null), V = Je(() => Sa(t?.columns || []), [t?.columns]), [F, j] = H(() => zr(o, V)), O = ue(null), [_, L] = wa({
7480
+ } : { columns: [], rows: [] }), [h, y] = z(n || []), [x, v] = z(/* @__PURE__ */ new Set()), [T, w] = z(!1), [E, b] = z(/* @__PURE__ */ new Set()), [C, P] = z(null), V = Je(() => Ta(t?.columns || []), [t?.columns]), [F, j] = z(() => Jr(o, V)), O = ue(null), [_, L] = Ca({
7458
7481
  columns: f?.columns ?? [],
7459
7482
  rows: f?.rows ?? [],
7460
7483
  containerRef: O,
7461
7484
  sizingMode: s
7462
- }), { handleDragStart: D, handleDragOver: K, handleDrop: G } = La(
7485
+ }), { handleDragStart: D, handleDragOver: K, handleDrop: G } = Pa(
7463
7486
  f.columns,
7464
7487
  (W) => m((X) => ({ ...X, columns: W }))
7465
7488
  ), A = Je(() => {
7466
7489
  const W = f.rows.map((X, ce) => ce);
7467
7490
  return W.every((X) => E.has(X)) && W.length > 0;
7468
- }, [E, f.rows]), { sortBy: I, sortOrder: k, handleSort: g } = Aa({
7491
+ }, [E, f.rows]), { sortBy: I, sortOrder: k, handleSort: g } = Fa({
7469
7492
  ...f,
7470
7493
  rows: f.rows
7471
- }), { virtualItems: S, containerProps: N, innerProps: R } = an({
7494
+ }), { virtualItems: S, containerProps: N, innerProps: R } = on({
7472
7495
  items: f?.rows ?? [],
7473
7496
  itemHeight: e,
7474
7497
  containerHeight: r,
@@ -7481,16 +7504,16 @@ const Ye = {
7481
7504
  }
7482
7505
  }, [E, i, f.rows, d]), re(() => {
7483
7506
  let W = t?.rows ?? [];
7484
- F?.filters?.length > 0 && (W = _a(W, F));
7507
+ F?.filters?.length > 0 && (W = Ra(W, F));
7485
7508
  let X = W;
7486
- I && (X = gn(
7509
+ I && (X = bn(
7487
7510
  { ...t ?? { columns: [], rows: [] }, rows: W },
7488
7511
  I,
7489
7512
  k
7490
7513
  ).rows);
7491
7514
  let ce = X;
7492
7515
  if (h?.length && X.length > 0) {
7493
- const { flatRows: he } = xa(
7516
+ const { flatRows: he } = Ea(
7494
7517
  X,
7495
7518
  h,
7496
7519
  e,
@@ -7514,13 +7537,13 @@ const Ye = {
7514
7537
  const $ = oe((W) => {
7515
7538
  j(W);
7516
7539
  }, []), M = oe(() => {
7517
- j(zr(o, V));
7540
+ j(Jr(o, V));
7518
7541
  }, [o, V]), Y = oe(() => {
7519
7542
  w((W) => !W);
7520
7543
  }, []), q = oe((W) => {
7521
7544
  P((X) => X === W ? null : W);
7522
7545
  }, []), B = (W) => {
7523
- y(va(W, h));
7546
+ y(Sa(W, h));
7524
7547
  }, Z = (W) => {
7525
7548
  W.preventDefault();
7526
7549
  const X = W.dataTransfer.getData("text/plain");
@@ -7532,10 +7555,10 @@ const Ye = {
7532
7555
  W.preventDefault();
7533
7556
  }, ae = (W, X) => {
7534
7557
  const ce = W.clientX, he = _[X], ie = (_t) => {
7535
- const yn = _t.clientX - ce, vn = Math.max(50, he + yn);
7536
- L((xn) => ({
7537
- ...xn,
7538
- [X]: vn
7558
+ const vn = _t.clientX - ce, xn = Math.max(50, he + vn);
7559
+ L((wn) => ({
7560
+ ...wn,
7561
+ [X]: xn
7539
7562
  }));
7540
7563
  }, xe = () => {
7541
7564
  window.removeEventListener("mousemove", ie), window.removeEventListener("mouseup", xe);
@@ -7546,11 +7569,11 @@ const Ye = {
7546
7569
  const ce = new Set(X);
7547
7570
  return W.every((ie) => ce.has(ie)) ? W.forEach((ie) => ce.delete(ie)) : W.forEach((ie) => ce.add(ie)), ce;
7548
7571
  });
7549
- }, z = () => {
7572
+ }, H = () => {
7550
7573
  const W = f.rows.map((X, ce) => ce);
7551
7574
  U(W);
7552
7575
  }, ee = {
7553
- smpTable: `${hn["smp-table"]}`
7576
+ smpTable: `${mn["smp-table"]}`
7554
7577
  };
7555
7578
  return f && /* @__PURE__ */ p.jsx(
7556
7579
  "div",
@@ -7560,7 +7583,7 @@ const Ye = {
7560
7583
  ref: O,
7561
7584
  children: /* @__PURE__ */ p.jsxs("table", { children: [
7562
7585
  /* @__PURE__ */ p.jsx(
7563
- Ba,
7586
+ Ga,
7564
7587
  {
7565
7588
  columns: f.columns,
7566
7589
  columnWidths: _,
@@ -7584,7 +7607,7 @@ const Ye = {
7584
7607
  onGroupDrop: Z,
7585
7608
  onGroupDragOver: J,
7586
7609
  onMouseDown: ae,
7587
- onToggleAllRows: z,
7610
+ onToggleAllRows: H,
7588
7611
  onSort: g,
7589
7612
  onDragStart: D,
7590
7613
  onDragOver: K,
@@ -7594,7 +7617,7 @@ const Ye = {
7594
7617
  /* @__PURE__ */ p.jsx("tbody", { ...R, children: S.map(({ item: W, index: X, offsetTop: ce }) => {
7595
7618
  const he = W.id || W.value || `${W.isGroup ? "group" : "row"}-${X}`;
7596
7619
  return W.isGroup ? /* @__PURE__ */ p.jsx(
7597
- Pa,
7620
+ Va,
7598
7621
  {
7599
7622
  label: W.value || "",
7600
7623
  rowHeight: e,
@@ -7602,13 +7625,13 @@ const Ye = {
7602
7625
  level: W.level,
7603
7626
  onClick: () => {
7604
7627
  const ie = W.id;
7605
- ie && v((xe) => ya(xe, ie));
7628
+ ie && v((xe) => wa(xe, ie));
7606
7629
  },
7607
7630
  isExpanded: W.isExpanded
7608
7631
  },
7609
7632
  `group-${he}`
7610
7633
  ) : /* @__PURE__ */ p.jsx(
7611
- sr,
7634
+ or,
7612
7635
  {
7613
7636
  row: W,
7614
7637
  columns: f.columns,
@@ -7627,11 +7650,11 @@ const Ye = {
7627
7650
  `row-${he}`
7628
7651
  );
7629
7652
  }) }),
7630
- /* @__PURE__ */ p.jsx(Ia, { columns: f.columns, columnWidths: _ })
7653
+ /* @__PURE__ */ p.jsx(Ma, { columns: f.columns, columnWidths: _ })
7631
7654
  ] })
7632
7655
  }
7633
7656
  );
7634
- }, Xa = ({
7657
+ }, eo = ({
7635
7658
  data: t,
7636
7659
  Type: e,
7637
7660
  ShowSubmit: r = !1,
@@ -7644,13 +7667,13 @@ const Ye = {
7644
7667
  onClick: c,
7645
7668
  onOptionsRequest: d
7646
7669
  }) => {
7647
- const [u, f] = H();
7670
+ const [u, f] = z();
7648
7671
  re(() => {
7649
7672
  f(() => {
7650
7673
  if (!t)
7651
7674
  return;
7652
7675
  const x = { ...t };
7653
- return e && (x.shape = e), x.shape == null && (x.shape = te.TEXT_FIELD), s && (x.obj = ls(s)), x;
7676
+ return e && (x.shape = e), x.shape == null && (x.shape = te.TEXT_FIELD), s && (x.obj = ds(s)), x;
7654
7677
  });
7655
7678
  }, [t, s, e]);
7656
7679
  const h = {
@@ -7695,7 +7718,7 @@ const Ye = {
7695
7718
  }
7696
7719
  )
7697
7720
  ] });
7698
- }, Jr = "command-submit", Pt = (t, e) => ({
7721
+ }, Qr = "command-submit", Ft = (t, e) => ({
7699
7722
  before: t,
7700
7723
  after: {
7701
7724
  type: "SmeupDataTable",
@@ -7707,7 +7730,7 @@ const Ye = {
7707
7730
  }
7708
7731
  ]
7709
7732
  }
7710
- }), Xr = (t, e, r) => {
7733
+ }), Zr = (t, e, r) => {
7711
7734
  if (!t.rows?.length || !t.columns?.length)
7712
7735
  return {};
7713
7736
  const n = t.rows?.[0];
@@ -7728,9 +7751,9 @@ const Ye = {
7728
7751
  [a.name]: o
7729
7752
  };
7730
7753
  }, {});
7731
- }, Wa = {
7754
+ }, qa = {
7732
7755
  "smp-form": "_smp-form_9ox03_1"
7733
- }, Qa = ({
7756
+ }, to = ({
7734
7757
  data: t,
7735
7758
  id: e,
7736
7759
  readOnly: r = !1,
@@ -7746,8 +7769,8 @@ const Ye = {
7746
7769
  onContextMenu: f,
7747
7770
  onButtonClick: m
7748
7771
  }) => {
7749
- const h = ue(!1), y = ue([]), [x, v] = H(
7750
- () => Xr(t, a, r)
7772
+ const h = ue(!1), y = ue([]), [x, v] = z(
7773
+ () => Zr(t, a, r)
7751
7774
  ), { translate: T } = Oe(), w = De(), E = ue(null);
7752
7775
  re(() => {
7753
7776
  const O = E.current;
@@ -7756,16 +7779,16 @@ const Ye = {
7756
7779
  C(L.detail.id);
7757
7780
  };
7758
7781
  return O.addEventListener(
7759
- Jr,
7782
+ Qr,
7760
7783
  _
7761
7784
  ), () => {
7762
7785
  O.removeEventListener(
7763
- Jr,
7786
+ Qr,
7764
7787
  _
7765
7788
  );
7766
7789
  };
7767
7790
  }, []), re(() => {
7768
- h.current ? v(Xr(t, a, r)) : (h.current = !0, E.current && E.current.querySelectorAll('[type="text"]').forEach((_) => {
7791
+ h.current ? v(Zr(t, a, r)) : (h.current = !0, E.current && E.current.querySelectorAll('[type="text"]').forEach((_) => {
7769
7792
  _ instanceof HTMLInputElement && y.current.push(_);
7770
7793
  }));
7771
7794
  }, [t]), re(() => {
@@ -7791,7 +7814,7 @@ const Ye = {
7791
7814
  })), s && (_.shape == te.CHECKBOX || _.shape == te.SWITCH)) {
7792
7815
  const L = structuredClone(x);
7793
7816
  L[O].obj.k = _.obj.k, L[O].value = _.obj.k, c({
7794
- value: Pt(t, L),
7817
+ value: Ft(t, L),
7795
7818
  cell: O
7796
7819
  });
7797
7820
  }
@@ -7802,7 +7825,7 @@ const Ye = {
7802
7825
  L < y.current.length - 1 && y.current[L + 1].focus();
7803
7826
  }
7804
7827
  }, C = (O) => {
7805
- const _ = Pt(t, x);
7828
+ const _ = Ft(t, x);
7806
7829
  c({
7807
7830
  value: _,
7808
7831
  cell: O
@@ -7837,13 +7860,13 @@ const Ye = {
7837
7860
  }
7838
7861
  }
7839
7862
  }))), x[O].inputSettings?.checkValueOnExit)) {
7840
- const _ = Pt(t, x);
7863
+ const _ = Ft(t, x);
7841
7864
  d?.({
7842
7865
  value: _,
7843
7866
  cell: O
7844
7867
  });
7845
7868
  }
7846
- }, F = t.setup?.commands?.map((O, _) => /* @__PURE__ */ Sn(
7869
+ }, F = t.setup?.commands?.map((O, _) => /* @__PURE__ */ En(
7847
7870
  Fe,
7848
7871
  {
7849
7872
  ...O,
@@ -7878,7 +7901,7 @@ const Ye = {
7878
7901
  )
7879
7902
  );
7880
7903
  const j = {
7881
- smpForm: `${Wa["smp-form"]}`
7904
+ smpForm: `${qa["smp-form"]}`
7882
7905
  };
7883
7906
  return x && // eslint-disable-next-line jsx-a11y/no-redundant-roles
7884
7907
  /* @__PURE__ */ p.jsxs(
@@ -7933,22 +7956,22 @@ const Ye = {
7933
7956
  );
7934
7957
  };
7935
7958
  export {
7936
- Ha as AppBar,
7937
- un as Autocomplete,
7959
+ Ja as AppBar,
7960
+ dn as Autocomplete,
7938
7961
  me as Button,
7939
- ea as ButtonList,
7940
- er as Checkbox,
7962
+ na as ButtonList,
7963
+ rr as Checkbox,
7941
7964
  Ht as Combobox,
7942
- Ka as DashList,
7943
- Ja as DataTableComponent,
7944
- dn as DatePicker,
7945
- za as Drawer,
7946
- Xa as Field,
7947
- Jr as INPUT_PANEL_COMMAND_SUBMIT_EVENT_NAME,
7965
+ Qa as DashList,
7966
+ Za as DataTableComponent,
7967
+ fn as DatePicker,
7968
+ Xa as Drawer,
7969
+ eo as Field,
7970
+ Qr as INPUT_PANEL_COMMAND_SUBMIT_EVENT_NAME,
7948
7971
  le as Icon,
7949
- Qa as InputPanel,
7950
- aa as Password,
7951
- as as TabBar,
7972
+ to as InputPanel,
7973
+ la as Password,
7974
+ ls as TabBar,
7952
7975
  _e as Textfield,
7953
- qa as configurePaths
7976
+ Ka as configurePaths
7954
7977
  };