@sme.up/ketchup2 2.0.0-SNAPSHOT-20250722074515 → 2.0.0-SNAPSHOT-20250722083636

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 Qe from "react";
2
- import ct, { useState as q, useRef as ie, useEffect as se, useCallback as oe, useLayoutEffect as rn, useId as je, useMemo as ze, createElement as nn } from "react";
3
- import { createPortal as sn } from "react-dom";
2
+ import ct, { useState as q, useRef as ie, useEffect as re, useCallback as oe, useLayoutEffect as nn, useId as je, useMemo as ze, createElement as sn } from "react";
3
+ import { createPortal as an } from "react-dom";
4
4
  var Ze = { exports: {} }, Ye = {};
5
5
  /**
6
6
  * @license React
@@ -12,7 +12,7 @@ var Ze = { exports: {} }, Ye = {};
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  var Gt;
15
- function an() {
15
+ function on() {
16
16
  if (Gt) return Ye;
17
17
  Gt = 1;
18
18
  var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
@@ -44,7 +44,7 @@ var Ge = {};
44
44
  * LICENSE file in the root directory of this source tree.
45
45
  */
46
46
  var qt;
47
- function on() {
47
+ function ln() {
48
48
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
49
49
  function t(m) {
50
50
  if (m == null) return null;
@@ -78,7 +78,7 @@ function on() {
78
78
  case y:
79
79
  var w = m.render;
80
80
  return m = m.displayName, m || (m = w.displayName || w.name || "", m = m !== "" ? "ForwardRef(" + m + ")" : "ForwardRef"), m;
81
- case N:
81
+ case L:
82
82
  return w = m.displayName || null, w !== null ? w : t(m.type) || "Memo";
83
83
  case V:
84
84
  w = m._payload, m = m._init;
@@ -121,7 +121,7 @@ function on() {
121
121
  }
122
122
  }
123
123
  function s() {
124
- var m = $.A;
124
+ var m = N.A;
125
125
  return m === null ? null : m.getOwner();
126
126
  }
127
127
  function a() {
@@ -237,7 +237,7 @@ React keys must be passed directly to JSX without using spread:
237
237
  function u(m) {
238
238
  typeof m == "object" && m !== null && m.$$typeof === g && m._store && (m._store.validated = 1);
239
239
  }
240
- var p = ct, g = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), $ = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, T = Array.isArray, _ = console.createTask ? console.createTask : function() {
240
+ var p = ct, g = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), C = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), N = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, T = Array.isArray, _ = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
243
  p = {
@@ -250,7 +250,7 @@ React keys must be passed directly to JSX without using spread:
250
250
  a
251
251
  )(), Q = _(n(a)), A = {};
252
252
  Ge.Fragment = x, Ge.jsx = function(m, w, D, k, R) {
253
- var F = 1e4 > $.recentlyCreatedOwnerStacks++;
253
+ var F = 1e4 > N.recentlyCreatedOwnerStacks++;
254
254
  return d(
255
255
  m,
256
256
  w,
@@ -262,7 +262,7 @@ React keys must be passed directly to JSX without using spread:
262
262
  F ? _(n(m)) : Q
263
263
  );
264
264
  }, Ge.jsxs = function(m, w, D, k, R) {
265
- var F = 1e4 > $.recentlyCreatedOwnerStacks++;
265
+ var F = 1e4 > N.recentlyCreatedOwnerStacks++;
266
266
  return d(
267
267
  m,
268
268
  w,
@@ -277,10 +277,10 @@ React keys must be passed directly to JSX without using spread:
277
277
  }()), Ge;
278
278
  }
279
279
  var Ht;
280
- function ln() {
281
- return Ht || (Ht = 1, process.env.NODE_ENV === "production" ? Ze.exports = an() : Ze.exports = on()), Ze.exports;
280
+ function cn() {
281
+ return Ht || (Ht = 1, process.env.NODE_ENV === "production" ? Ze.exports = on() : Ze.exports = ln()), Ze.exports;
282
282
  }
283
- var h = ln();
283
+ var h = cn();
284
284
  const De = ({ label: t, disabled: e, htmlFor: r }) => {
285
285
  const n = {
286
286
  container: `smp-label ${e ? "smp-label-disabled" : ""}`
@@ -300,20 +300,20 @@ const De = ({ label: t, disabled: e, htmlFor: r }) => {
300
300
  "smp-layout-section-with-title": "_smp-layout-section-with-title_wqmhx_63",
301
301
  "smp-layout-section-title": "_smp-layout-section-title_wqmhx_69",
302
302
  "smp-layout-inline": "_smp-layout-inline_wqmhx_75"
303
- }, cn = (t, e) => {
303
+ }, un = (t, e) => {
304
304
  const r = [];
305
305
  for (let n = 0; n < t.length; n += e)
306
306
  r.push(t.slice(n, n + e));
307
307
  return r;
308
- }, Pr = (t, e) => t.map((r) => {
308
+ }, Fr = (t, e) => t.map((r) => {
309
309
  if (r.sections?.length)
310
310
  return {
311
311
  ...r,
312
- sections: Pr(r.sections, e),
312
+ sections: Fr(r.sections, e),
313
313
  content: r.content
314
314
  };
315
315
  let n = r.sections, s = r.content;
316
- return r.content?.length && r.columns && +r.columns > 1 && (n = cn(
316
+ return r.content?.length && r.columns && +r.columns > 1 && (n = un(
317
317
  r.content.filter((o) => e.includes(o.id)),
318
318
  +r.columns
319
319
  ).map(
@@ -337,7 +337,7 @@ const De = ({ label: t, disabled: e, htmlFor: r }) => {
337
337
  [e]: r
338
338
  };
339
339
  }, Kt = (t) => t.some((e) => e.dim && !e.dim.endsWith("%"));
340
- function un(t, e) {
340
+ function dn(t, e) {
341
341
  if (t == null) return {};
342
342
  var r = {};
343
343
  for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
@@ -355,13 +355,13 @@ function ut() {
355
355
  return t;
356
356
  }, ut.apply(null, arguments);
357
357
  }
358
- function $t(t, e) {
359
- return $t = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
358
+ function Nt(t, e) {
359
+ return Nt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
360
360
  return r.__proto__ = n, r;
361
- }, $t(t, e);
361
+ }, Nt(t, e);
362
362
  }
363
- function dn(t, e) {
364
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, $t(t, e);
363
+ function fn(t, e) {
364
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Nt(t, e);
365
365
  }
366
366
  function xt(t, e, r) {
367
367
  if (r || arguments.length === 2) for (var n = 0, s = e.length, a; n < s; n++)
@@ -375,7 +375,7 @@ var et = {};
375
375
  * MIT Licensed
376
376
  */
377
377
  var Jt;
378
- function fn() {
378
+ function pn() {
379
379
  if (Jt) return et;
380
380
  Jt = 1;
381
381
  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-]+$/;
@@ -436,11 +436,11 @@ function fn() {
436
436
  }
437
437
  return et;
438
438
  }
439
- var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
439
+ var hn = pn(), Ve = /* @__PURE__ */ new Map(), Mr = function(e) {
440
440
  return e.cloneNode(!0);
441
441
  }, Xt = function() {
442
442
  return window.location.protocol === "file:";
443
- }, Mr = function(e, r, n) {
443
+ }, Vr = function(e, r, n) {
444
444
  var s = new XMLHttpRequest();
445
445
  s.onreadystatechange = function() {
446
446
  try {
@@ -448,7 +448,7 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
448
448
  var a = s.getResponseHeader("Content-Type");
449
449
  if (!a)
450
450
  throw new Error("Content type not found");
451
- var o = pn.parse(a).type;
451
+ var o = hn.parse(a).type;
452
452
  if (!(o === "image/svg+xml" || o === "text/plain"))
453
453
  throw new Error("Invalid content type: ".concat(o));
454
454
  }
@@ -469,17 +469,17 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
469
469
  }, s.open("GET", e), s.withCredentials = r, s.overrideMimeType && s.overrideMimeType("text/xml"), s.send();
470
470
  }, _e = {}, Qt = function(e, r) {
471
471
  _e[e] = _e[e] || [], _e[e].push(r);
472
- }, hn = function(e) {
472
+ }, mn = function(e) {
473
473
  for (var r = function(o, i) {
474
474
  setTimeout(function() {
475
475
  if (Array.isArray(_e[e])) {
476
476
  var l = Ve.get(e), c = _e[e][o];
477
- l instanceof SVGSVGElement && c(null, Fr(l)), l instanceof Error && c(l), o === _e[e].length - 1 && delete _e[e];
477
+ l instanceof SVGSVGElement && c(null, Mr(l)), l instanceof Error && c(l), o === _e[e].length - 1 && delete _e[e];
478
478
  }
479
479
  }, 0);
480
480
  }, n = 0, s = _e[e].length; n < s; n++)
481
481
  r(n);
482
- }, mn = function(e, r, n) {
482
+ }, gn = function(e, r, n) {
483
483
  if (Ve.has(e)) {
484
484
  var s = Ve.get(e);
485
485
  if (s === void 0) {
@@ -487,22 +487,22 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
487
487
  return;
488
488
  }
489
489
  if (s instanceof SVGSVGElement) {
490
- n(null, Fr(s));
490
+ n(null, Mr(s));
491
491
  return;
492
492
  }
493
493
  }
494
- Ve.set(e, void 0), Qt(e, n), Mr(e, r, function(a, o) {
494
+ Ve.set(e, void 0), Qt(e, n), Vr(e, r, function(a, o) {
495
495
  var i;
496
- a ? Ve.set(e, a) : ((i = o.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && Ve.set(e, o.responseXML.documentElement), hn(e);
496
+ a ? Ve.set(e, a) : ((i = o.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && Ve.set(e, o.responseXML.documentElement), mn(e);
497
497
  });
498
- }, gn = function(e, r, n) {
499
- Mr(e, r, function(s, a) {
498
+ }, bn = function(e, r, n) {
499
+ Vr(e, r, function(s, a) {
500
500
  var o;
501
501
  s ? n(s) : ((o = a.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && n(null, a.responseXML.documentElement);
502
502
  });
503
- }, bn = 0, yn = function() {
504
- return ++bn;
505
- }, ve = [], Zt = {}, vn = "http://www.w3.org/2000/svg", wt = "http://www.w3.org/1999/xlink", er = function(e, r, n, s, a, o, i) {
503
+ }, yn = 0, vn = function() {
504
+ return ++yn;
505
+ }, ve = [], Zt = {}, xn = "http://www.w3.org/2000/svg", wt = "http://www.w3.org/1999/xlink", er = function(e, r, n, s, a, o, i) {
506
506
  var l = e.getAttribute("data-src") || e.getAttribute("src");
507
507
  if (!l) {
508
508
  i(new Error("Invalid data-src or src attribute"));
@@ -513,7 +513,7 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
513
513
  return;
514
514
  }
515
515
  ve.push(e), e.setAttribute("src", "");
516
- var c = s ? mn : gn;
516
+ var c = s ? gn : bn;
517
517
  c(l, a, function(d, u) {
518
518
  if (!u) {
519
519
  ve.splice(ve.indexOf(e), 1), e = null, i(d);
@@ -548,24 +548,24 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
548
548
  path: [],
549
549
  pattern: ["fill", "stroke"],
550
550
  radialGradient: ["fill", "stroke"]
551
- }, y, b, j, N, V;
551
+ }, y, b, j, L, V;
552
552
  Object.keys(C).forEach(function(Q) {
553
553
  y = Q, j = C[Q], b = u.querySelectorAll(y + "[id]");
554
554
  for (var A = function(k, R) {
555
- N = b[k].id, V = N + "-" + yn();
555
+ L = b[k].id, V = L + "-" + vn();
556
556
  var F;
557
557
  Array.prototype.forEach.call(j, function(M) {
558
- F = u.querySelectorAll("[" + M + '*="' + N + '"]');
558
+ F = u.querySelectorAll("[" + M + '*="' + L + '"]');
559
559
  for (var z = 0, ee = F.length; z < ee; z++) {
560
560
  var ae = F[z].getAttribute(M);
561
- ae && !ae.match(new RegExp('url\\("?#' + N + '"?\\)')) || F[z].setAttribute(M, "url(#" + V + ")");
561
+ ae && !ae.match(new RegExp('url\\("?#' + L + '"?\\)')) || F[z].setAttribute(M, "url(#" + V + ")");
562
562
  }
563
563
  });
564
564
  for (var U = u.querySelectorAll("[*|href]"), G = [], B = 0, Z = U.length; B < Z; B++) {
565
565
  var K = U[B].getAttributeNS(wt, "href");
566
566
  K && K.toString() === "#" + b[k].id && G.push(U[B]);
567
567
  }
568
- for (var Y = 0, L = G.length; Y < L; Y++)
568
+ for (var Y = 0, $ = G.length; Y < $; Y++)
569
569
  G[Y].setAttributeNS(wt, "href", "#" + V);
570
570
  b[k].id = V;
571
571
  }, m = 0, w = b.length; m < w; m++)
@@ -573,8 +573,8 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
573
573
  });
574
574
  }
575
575
  u.removeAttribute("xmlns:a");
576
- for (var I = u.querySelectorAll("script"), P = [], $, O, T = 0, _ = I.length; T < _; T++)
577
- O = I[T].getAttribute("type"), (!O || O === "application/ecmascript" || O === "application/javascript" || O === "text/javascript") && ($ = I[T].innerText || I[T].textContent, $ && P.push($), u.removeChild(I[T]));
576
+ for (var I = u.querySelectorAll("script"), P = [], N, O, T = 0, _ = I.length; T < _; T++)
577
+ O = I[T].getAttribute("type"), (!O || O === "application/ecmascript" || O === "application/javascript" || O === "text/javascript") && (N = I[T].innerText || I[T].textContent, N && P.push(N), u.removeChild(I[T]));
578
578
  if (P.length > 0 && (r === "always" || r === "once" && !Zt[l])) {
579
579
  for (var W = 0, H = P.length; W < H; W++)
580
580
  new Function(P[W])(window);
@@ -583,13 +583,13 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
583
583
  var X = u.querySelectorAll("style");
584
584
  if (Array.prototype.forEach.call(X, function(Q) {
585
585
  Q.textContent += "";
586
- }), u.setAttribute("xmlns", vn), u.setAttribute("xmlns:xlink", wt), o(u), !e.parentNode) {
586
+ }), u.setAttribute("xmlns", xn), u.setAttribute("xmlns:xlink", wt), o(u), !e.parentNode) {
587
587
  ve.splice(ve.indexOf(e), 1), e = null, i(new Error("Parent node is null"));
588
588
  return;
589
589
  }
590
590
  e.parentNode.replaceChild(u, e), ve.splice(ve.indexOf(e), 1), e = null, i(null, u);
591
591
  });
592
- }, xn = function(e, r) {
592
+ }, wn = function(e, r) {
593
593
  var n = r === void 0 ? {} : r, s = n.afterAll, a = s === void 0 ? function() {
594
594
  } : s, o = n.afterEach, i = o === void 0 ? function() {
595
595
  } : o, l = n.beforeEach, c = l === void 0 ? function() {
@@ -602,7 +602,7 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
602
602
  else e ? er(e, g, S, u, x, c, function(b, j) {
603
603
  i(b, j), a(1), e = null;
604
604
  }) : a(0);
605
- }, tt = { exports: {} }, rt = { exports: {} }, re = {};
605
+ }, tt = { exports: {} }, rt = { exports: {} }, ne = {};
606
606
  /** @license React v16.13.1
607
607
  * react-is.production.min.js
608
608
  *
@@ -612,8 +612,8 @@ var pn = fn(), Ve = /* @__PURE__ */ new Map(), Fr = function(e) {
612
612
  * LICENSE file in the root directory of this source tree.
613
613
  */
614
614
  var tr;
615
- function wn() {
616
- if (tr) return re;
615
+ function Sn() {
616
+ if (tr) return ne;
617
617
  tr = 1;
618
618
  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, p = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, x = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, E = t ? Symbol.for("react.scope") : 60119;
619
619
  function C(b) {
@@ -649,35 +649,35 @@ function wn() {
649
649
  function y(b) {
650
650
  return C(b) === c;
651
651
  }
652
- return re.AsyncMode = l, re.ConcurrentMode = c, re.ContextConsumer = i, re.ContextProvider = o, re.Element = e, re.ForwardRef = d, re.Fragment = n, re.Lazy = f, re.Memo = g, re.Portal = r, re.Profiler = a, re.StrictMode = s, re.Suspense = u, re.isAsyncMode = function(b) {
652
+ return ne.AsyncMode = l, ne.ConcurrentMode = c, ne.ContextConsumer = i, ne.ContextProvider = o, ne.Element = e, ne.ForwardRef = d, ne.Fragment = n, ne.Lazy = f, ne.Memo = g, ne.Portal = r, ne.Profiler = a, ne.StrictMode = s, ne.Suspense = u, ne.isAsyncMode = function(b) {
653
653
  return y(b) || C(b) === l;
654
- }, re.isConcurrentMode = y, re.isContextConsumer = function(b) {
654
+ }, ne.isConcurrentMode = y, ne.isContextConsumer = function(b) {
655
655
  return C(b) === i;
656
- }, re.isContextProvider = function(b) {
656
+ }, ne.isContextProvider = function(b) {
657
657
  return C(b) === o;
658
- }, re.isElement = function(b) {
658
+ }, ne.isElement = function(b) {
659
659
  return typeof b == "object" && b !== null && b.$$typeof === e;
660
- }, re.isForwardRef = function(b) {
660
+ }, ne.isForwardRef = function(b) {
661
661
  return C(b) === d;
662
- }, re.isFragment = function(b) {
662
+ }, ne.isFragment = function(b) {
663
663
  return C(b) === n;
664
- }, re.isLazy = function(b) {
664
+ }, ne.isLazy = function(b) {
665
665
  return C(b) === f;
666
- }, re.isMemo = function(b) {
666
+ }, ne.isMemo = function(b) {
667
667
  return C(b) === g;
668
- }, re.isPortal = function(b) {
668
+ }, ne.isPortal = function(b) {
669
669
  return C(b) === r;
670
- }, re.isProfiler = function(b) {
670
+ }, ne.isProfiler = function(b) {
671
671
  return C(b) === a;
672
- }, re.isStrictMode = function(b) {
672
+ }, ne.isStrictMode = function(b) {
673
673
  return C(b) === s;
674
- }, re.isSuspense = function(b) {
674
+ }, ne.isSuspense = function(b) {
675
675
  return C(b) === u;
676
- }, re.isValidElementType = function(b) {
676
+ }, ne.isValidElementType = function(b) {
677
677
  return typeof b == "string" || typeof b == "function" || b === n || b === c || b === a || b === s || b === u || b === p || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === g || b.$$typeof === o || b.$$typeof === i || b.$$typeof === d || b.$$typeof === v || b.$$typeof === S || b.$$typeof === E || b.$$typeof === x);
678
- }, re.typeOf = C, re;
678
+ }, ne.typeOf = C, ne;
679
679
  }
680
- var ne = {};
680
+ var se = {};
681
681
  /** @license React v16.13.1
682
682
  * react-is.development.js
683
683
  *
@@ -687,19 +687,19 @@ var ne = {};
687
687
  * LICENSE file in the root directory of this source tree.
688
688
  */
689
689
  var rr;
690
- function Sn() {
690
+ function En() {
691
691
  return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
692
692
  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, p = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, x = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, E = t ? Symbol.for("react.scope") : 60119;
693
- function C(L) {
694
- return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
695
- L === n || L === c || L === a || L === s || L === u || L === p || typeof L == "object" && L !== null && (L.$$typeof === f || L.$$typeof === g || L.$$typeof === o || L.$$typeof === i || L.$$typeof === d || L.$$typeof === v || L.$$typeof === S || L.$$typeof === E || L.$$typeof === x);
693
+ function C($) {
694
+ return typeof $ == "string" || typeof $ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
695
+ $ === n || $ === c || $ === a || $ === s || $ === u || $ === p || typeof $ == "object" && $ !== null && ($.$$typeof === f || $.$$typeof === g || $.$$typeof === o || $.$$typeof === i || $.$$typeof === d || $.$$typeof === v || $.$$typeof === S || $.$$typeof === E || $.$$typeof === x);
696
696
  }
697
- function y(L) {
698
- if (typeof L == "object" && L !== null) {
699
- var M = L.$$typeof;
697
+ function y($) {
698
+ if (typeof $ == "object" && $ !== null) {
699
+ var M = $.$$typeof;
700
700
  switch (M) {
701
701
  case e:
702
- var z = L.type;
702
+ var z = $.type;
703
703
  switch (z) {
704
704
  case l:
705
705
  case c:
@@ -726,52 +726,52 @@ function Sn() {
726
726
  }
727
727
  }
728
728
  }
729
- var b = l, j = c, N = i, V = o, I = e, P = d, $ = n, O = f, T = g, _ = r, W = a, H = s, X = u, Q = !1;
730
- function A(L) {
731
- return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(L) || y(L) === l;
729
+ var b = l, j = c, L = i, V = o, I = e, P = d, N = n, O = f, T = g, _ = r, W = a, H = s, X = u, Q = !1;
730
+ function A($) {
731
+ return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m($) || y($) === l;
732
732
  }
733
- function m(L) {
734
- return y(L) === c;
733
+ function m($) {
734
+ return y($) === c;
735
735
  }
736
- function w(L) {
737
- return y(L) === i;
736
+ function w($) {
737
+ return y($) === i;
738
738
  }
739
- function D(L) {
740
- return y(L) === o;
739
+ function D($) {
740
+ return y($) === o;
741
741
  }
742
- function k(L) {
743
- return typeof L == "object" && L !== null && L.$$typeof === e;
742
+ function k($) {
743
+ return typeof $ == "object" && $ !== null && $.$$typeof === e;
744
744
  }
745
- function R(L) {
746
- return y(L) === d;
745
+ function R($) {
746
+ return y($) === d;
747
747
  }
748
- function F(L) {
749
- return y(L) === n;
748
+ function F($) {
749
+ return y($) === n;
750
750
  }
751
- function U(L) {
752
- return y(L) === f;
751
+ function U($) {
752
+ return y($) === f;
753
753
  }
754
- function G(L) {
755
- return y(L) === g;
754
+ function G($) {
755
+ return y($) === g;
756
756
  }
757
- function B(L) {
758
- return y(L) === r;
757
+ function B($) {
758
+ return y($) === r;
759
759
  }
760
- function Z(L) {
761
- return y(L) === a;
760
+ function Z($) {
761
+ return y($) === a;
762
762
  }
763
- function K(L) {
764
- return y(L) === s;
763
+ function K($) {
764
+ return y($) === s;
765
765
  }
766
- function Y(L) {
767
- return y(L) === u;
766
+ function Y($) {
767
+ return y($) === u;
768
768
  }
769
- ne.AsyncMode = b, ne.ConcurrentMode = j, ne.ContextConsumer = N, ne.ContextProvider = V, ne.Element = I, ne.ForwardRef = P, ne.Fragment = $, ne.Lazy = O, ne.Memo = T, ne.Portal = _, ne.Profiler = W, ne.StrictMode = H, ne.Suspense = X, ne.isAsyncMode = A, ne.isConcurrentMode = m, ne.isContextConsumer = w, ne.isContextProvider = D, ne.isElement = k, ne.isForwardRef = R, ne.isFragment = F, ne.isLazy = U, ne.isMemo = G, ne.isPortal = B, ne.isProfiler = Z, ne.isStrictMode = K, ne.isSuspense = Y, ne.isValidElementType = C, ne.typeOf = y;
770
- }()), ne;
769
+ se.AsyncMode = b, se.ConcurrentMode = j, se.ContextConsumer = L, se.ContextProvider = V, se.Element = I, se.ForwardRef = P, se.Fragment = N, se.Lazy = O, se.Memo = T, se.Portal = _, se.Profiler = W, se.StrictMode = H, se.Suspense = X, se.isAsyncMode = A, se.isConcurrentMode = m, se.isContextConsumer = w, se.isContextProvider = D, se.isElement = k, se.isForwardRef = R, se.isFragment = F, se.isLazy = U, se.isMemo = G, se.isPortal = B, se.isProfiler = Z, se.isStrictMode = K, se.isSuspense = Y, se.isValidElementType = C, se.typeOf = y;
770
+ }()), se;
771
771
  }
772
772
  var nr;
773
- function Vr() {
774
- return nr || (nr = 1, process.env.NODE_ENV === "production" ? rt.exports = wn() : rt.exports = Sn()), rt.exports;
773
+ function Ur() {
774
+ return nr || (nr = 1, process.env.NODE_ENV === "production" ? rt.exports = Sn() : rt.exports = En()), rt.exports;
775
775
  }
776
776
  /*
777
777
  object-assign
@@ -779,7 +779,7 @@ object-assign
779
779
  @license MIT
780
780
  */
781
781
  var St, sr;
782
- function En() {
782
+ function Cn() {
783
783
  if (sr) return St;
784
784
  sr = 1;
785
785
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
@@ -832,17 +832,17 @@ function Ft() {
832
832
  return Et = t, Et;
833
833
  }
834
834
  var Ct, or;
835
- function Ur() {
835
+ function Br() {
836
836
  return or || (or = 1, Ct = Function.call.bind(Object.prototype.hasOwnProperty)), Ct;
837
837
  }
838
838
  var Tt, ir;
839
- function Cn() {
839
+ function Tn() {
840
840
  if (ir) return Tt;
841
841
  ir = 1;
842
842
  var t = function() {
843
843
  };
844
844
  if (process.env.NODE_ENV !== "production") {
845
- var e = /* @__PURE__ */ Ft(), r = {}, n = /* @__PURE__ */ Ur();
845
+ var e = /* @__PURE__ */ Ft(), r = {}, n = /* @__PURE__ */ Br();
846
846
  t = function(a) {
847
847
  var o = "Warning: " + a;
848
848
  typeof console < "u" && console.error(o);
@@ -885,10 +885,10 @@ function Cn() {
885
885
  }, Tt = s, Tt;
886
886
  }
887
887
  var Ot, lr;
888
- function Tn() {
888
+ function On() {
889
889
  if (lr) return Ot;
890
890
  lr = 1;
891
- var t = Vr(), e = En(), r = /* @__PURE__ */ Ft(), n = /* @__PURE__ */ Ur(), s = /* @__PURE__ */ Cn(), a = function() {
891
+ var t = Ur(), e = Cn(), r = /* @__PURE__ */ Ft(), n = /* @__PURE__ */ Br(), s = /* @__PURE__ */ Tn(), a = function() {
892
892
  };
893
893
  process.env.NODE_ENV !== "production" && (a = function(i) {
894
894
  var l = "Warning: " + i;
@@ -924,7 +924,7 @@ function Tn() {
924
924
  instanceOf: j,
925
925
  node: P(),
926
926
  objectOf: V,
927
- oneOf: N,
927
+ oneOf: L,
928
928
  oneOfType: I,
929
929
  shape: O,
930
930
  exact: T
@@ -942,10 +942,10 @@ function Tn() {
942
942
  function k(F, U, G, B, Z, K, Y) {
943
943
  if (B = B || p, K = K || G, Y !== r) {
944
944
  if (l) {
945
- var L = new Error(
945
+ var $ = new Error(
946
946
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
947
947
  );
948
- throw L.name = "Invariant Violation", L;
948
+ throw $.name = "Invariant Violation", $;
949
949
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
950
950
  var M = B + ":" + G;
951
951
  !w[M] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -1026,7 +1026,7 @@ function Tn() {
1026
1026
  }
1027
1027
  return v(w);
1028
1028
  }
1029
- function N(m) {
1029
+ function L(m) {
1030
1030
  if (!Array.isArray(m))
1031
1031
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1032
1032
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -1035,9 +1035,9 @@ function Tn() {
1035
1035
  for (var G = D[k], B = 0; B < m.length; B++)
1036
1036
  if (f(G, m[B]))
1037
1037
  return null;
1038
- var Z = JSON.stringify(m, function(Y, L) {
1039
- var M = X(L);
1040
- return M === "symbol" ? String(L) : L;
1038
+ var Z = JSON.stringify(m, function(Y, $) {
1039
+ var M = X($);
1040
+ return M === "symbol" ? String($) : $;
1041
1041
  });
1042
1042
  return new x("Invalid " + F + " `" + U + "` of value `" + String(G) + "` " + ("supplied to `" + R + "`, expected one of " + Z + "."));
1043
1043
  }
@@ -1072,10 +1072,10 @@ function Tn() {
1072
1072
  }
1073
1073
  function k(R, F, U, G, B) {
1074
1074
  for (var Z = [], K = 0; K < m.length; K++) {
1075
- var Y = m[K], L = Y(R, F, U, G, B, r);
1076
- if (L == null)
1075
+ var Y = m[K], $ = Y(R, F, U, G, B, r);
1076
+ if ($ == null)
1077
1077
  return null;
1078
- L.data && n(L.data, "expectedType") && Z.push(L.data.expectedType);
1078
+ $.data && n($.data, "expectedType") && Z.push($.data.expectedType);
1079
1079
  }
1080
1080
  var M = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
1081
1081
  return new x("Invalid " + G + " `" + B + "` supplied to " + ("`" + U + "`" + M + "."));
@@ -1088,7 +1088,7 @@ function Tn() {
1088
1088
  }
1089
1089
  return v(m);
1090
1090
  }
1091
- function $(m, w, D, k, R) {
1091
+ function N(m, w, D, k, R) {
1092
1092
  return new x(
1093
1093
  (m || "React class") + ": " + w + " type `" + D + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
1094
1094
  );
@@ -1101,7 +1101,7 @@ function Tn() {
1101
1101
  for (var Z in m) {
1102
1102
  var K = m[Z];
1103
1103
  if (typeof K != "function")
1104
- return $(R, F, U, Z, X(K));
1104
+ return N(R, F, U, Z, X(K));
1105
1105
  var Y = K(G, Z, R, F, U + "." + Z, r);
1106
1106
  if (Y)
1107
1107
  return Y;
@@ -1119,15 +1119,15 @@ function Tn() {
1119
1119
  for (var K in Z) {
1120
1120
  var Y = m[K];
1121
1121
  if (n(m, K) && typeof Y != "function")
1122
- return $(R, F, U, K, X(Y));
1122
+ return N(R, F, U, K, X(Y));
1123
1123
  if (!Y)
1124
1124
  return new x(
1125
1125
  "Invalid " + F + " `" + U + "` key `" + K + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(D[k], null, " ") + `
1126
1126
  Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
1127
1127
  );
1128
- var L = Y(G, K, R, F, U + "." + K, r);
1129
- if (L)
1130
- return L;
1128
+ var $ = Y(G, K, R, F, U + "." + K, r);
1129
+ if ($)
1130
+ return $;
1131
1131
  }
1132
1132
  return null;
1133
1133
  }
@@ -1206,7 +1206,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
1206
1206
  }, Ot;
1207
1207
  }
1208
1208
  var _t, cr;
1209
- function On() {
1209
+ function _n() {
1210
1210
  if (cr) return _t;
1211
1211
  cr = 1;
1212
1212
  var t = /* @__PURE__ */ Ft();
@@ -1254,19 +1254,19 @@ function On() {
1254
1254
  }, _t;
1255
1255
  }
1256
1256
  var ur;
1257
- function _n() {
1257
+ function Rn() {
1258
1258
  if (ur) return tt.exports;
1259
1259
  if (ur = 1, process.env.NODE_ENV !== "production") {
1260
- var t = Vr(), e = !0;
1261
- tt.exports = /* @__PURE__ */ Tn()(t.isElement, e);
1260
+ var t = Ur(), e = !0;
1261
+ tt.exports = /* @__PURE__ */ On()(t.isElement, e);
1262
1262
  } else
1263
- tt.exports = /* @__PURE__ */ On()();
1263
+ tt.exports = /* @__PURE__ */ _n()();
1264
1264
  return tt.exports;
1265
1265
  }
1266
- var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1266
+ var ce = /* @__PURE__ */ Rn(), jn = function(e) {
1267
1267
  var r = e?.ownerDocument || document;
1268
1268
  return r.defaultView || window;
1269
- }, jn = function(e, r) {
1269
+ }, Dn = function(e, r) {
1270
1270
  for (var n in e)
1271
1271
  if (!(n in r))
1272
1272
  return !0;
@@ -1274,7 +1274,7 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1274
1274
  if (e[s] !== r[s])
1275
1275
  return !0;
1276
1276
  return !1;
1277
- }, Dn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], nt = "http://www.w3.org/2000/svg", dr = "http://www.w3.org/1999/xlink", Mt = /* @__PURE__ */ function(t) {
1277
+ }, Nn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], nt = "http://www.w3.org/2000/svg", dr = "http://www.w3.org/1999/xlink", Mt = /* @__PURE__ */ function(t) {
1278
1278
  function e() {
1279
1279
  for (var n, s = arguments.length, a = new Array(s), o = 0; o < s; o++)
1280
1280
  a[o] = arguments[o];
@@ -1285,16 +1285,16 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1285
1285
  n.reactWrapper = i;
1286
1286
  }, n;
1287
1287
  }
1288
- dn(e, t);
1288
+ fn(e, t);
1289
1289
  var r = e.prototype;
1290
1290
  return r.renderSVG = function() {
1291
1291
  var s = this;
1292
- if (this.reactWrapper instanceof Rn(this.reactWrapper).Node) {
1292
+ if (this.reactWrapper instanceof jn(this.reactWrapper).Node) {
1293
1293
  var a = this.props, o = a.desc, i = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, d = a.src, u = a.title, p = a.useRequestCache, g = this.props.onError, f = this.props.beforeInjection, x = this.props.afterInjection, v = this.props.wrapper, S, E;
1294
1294
  v === "svg" ? (S = document.createElementNS(nt, v), S.setAttribute("xmlns", nt), S.setAttribute("xmlns:xlink", dr), E = document.createElementNS(nt, v)) : (S = document.createElement(v), E = document.createElement(v)), S.appendChild(E), E.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(S);
1295
- var C = function(N) {
1295
+ var C = function(L) {
1296
1296
  if (s.removeSVG(), !s._isMounted) {
1297
- g(N);
1297
+ g(L);
1298
1298
  return;
1299
1299
  }
1300
1300
  s.setState(function() {
@@ -1303,11 +1303,11 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1303
1303
  isLoading: !1
1304
1304
  };
1305
1305
  }, function() {
1306
- g(N);
1306
+ g(L);
1307
1307
  });
1308
- }, y = function(N, V) {
1309
- if (N) {
1310
- C(N);
1308
+ }, y = function(L, V) {
1309
+ if (L) {
1310
+ C(L);
1311
1311
  return;
1312
1312
  }
1313
1313
  s._isMounted && s.setState(function() {
@@ -1321,26 +1321,26 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1321
1321
  C(I);
1322
1322
  }
1323
1323
  });
1324
- }, b = function(N) {
1325
- if (N.setAttribute("role", "img"), o) {
1326
- var V = N.querySelector(":scope > desc");
1327
- V && N.removeChild(V);
1324
+ }, b = function(L) {
1325
+ if (L.setAttribute("role", "img"), o) {
1326
+ var V = L.querySelector(":scope > desc");
1327
+ V && L.removeChild(V);
1328
1328
  var I = document.createElement("desc");
1329
- I.innerHTML = o, N.prepend(I);
1329
+ I.innerHTML = o, L.prepend(I);
1330
1330
  }
1331
1331
  if (u) {
1332
- var P = N.querySelector(":scope > title");
1333
- P && N.removeChild(P);
1334
- var $ = document.createElement("title");
1335
- $.innerHTML = u, N.prepend($);
1332
+ var P = L.querySelector(":scope > title");
1333
+ P && L.removeChild(P);
1334
+ var N = document.createElement("title");
1335
+ N.innerHTML = u, L.prepend(N);
1336
1336
  }
1337
1337
  try {
1338
- f(N);
1338
+ f(L);
1339
1339
  } catch (O) {
1340
1340
  C(O);
1341
1341
  }
1342
1342
  };
1343
- xn(E, {
1343
+ wn(E, {
1344
1344
  afterEach: y,
1345
1345
  beforeEach: b,
1346
1346
  cacheRequests: p,
@@ -1356,7 +1356,7 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1356
1356
  this._isMounted = !0, this.renderSVG();
1357
1357
  }, r.componentDidUpdate = function(s) {
1358
1358
  var a = this;
1359
- jn(ut({}, s), this.props) && this.setState(function() {
1359
+ Dn(ut({}, s), this.props) && this.setState(function() {
1360
1360
  return a.initialState;
1361
1361
  }, function() {
1362
1362
  a.removeSVG(), a.renderSVG();
@@ -1370,7 +1370,7 @@ var ce = /* @__PURE__ */ _n(), Rn = function(e) {
1370
1370
  s.httpRequestWithCredentials;
1371
1371
  var o = s.loading;
1372
1372
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1373
- var i = s.wrapper, l = un(s, Dn), c = i;
1373
+ var i = s.wrapper, l = dn(s, Nn), c = i;
1374
1374
  return /* @__PURE__ */ Qe.createElement(c, ut({}, l, {
1375
1375
  ref: this.refCallback
1376
1376
  }, i === "svg" ? {
@@ -1411,14 +1411,14 @@ Mt.propTypes = {
1411
1411
  useRequestCache: ce.bool,
1412
1412
  wrapper: ce.oneOf(["div", "span", "svg"])
1413
1413
  };
1414
- let Lt = {
1414
+ let $t = {
1415
1415
  assets: "/"
1416
1416
  // Default for storybook isolation development
1417
1417
  };
1418
- const Ca = (t) => {
1419
- Lt = { ...Lt, ...t };
1418
+ const Ta = (t) => {
1419
+ $t = { ...$t, ...t };
1420
1420
  }, $n = (t) => {
1421
- const e = `${Lt.assets}/${t}`.replace(/\/+/g, "/");
1421
+ const e = `${$t.assets}/${t}`.replace(/\/+/g, "/");
1422
1422
  return e.endsWith(".svg") ? e : e + ".svg";
1423
1423
  }, ue = ct.memo(
1424
1424
  ({
@@ -1586,7 +1586,7 @@ const Ca = (t) => {
1586
1586
  "smp-tabbar-tab-base": "_smp-tabbar-tab-base_ly1md_86",
1587
1587
  "smp-tabbar-tab-large": "_smp-tabbar-tab-large_ly1md_91",
1588
1588
  "smp-tabbar-tab-extraLarge": "_smp-tabbar-tab-extraLarge_ly1md_96"
1589
- }, Nn = ({
1589
+ }, kn = ({
1590
1590
  data: t,
1591
1591
  sizing: e = "large",
1592
1592
  toolbar: r = !0,
@@ -1594,7 +1594,7 @@ const Ca = (t) => {
1594
1594
  onTabChange: s
1595
1595
  }) => {
1596
1596
  const [a, o] = q(n ?? 0), [i, l] = q(!1), [c, d] = q(!1), u = ie(null);
1597
- if (se(() => {
1597
+ if (re(() => {
1598
1598
  const E = u.current;
1599
1599
  if (!E) return;
1600
1600
  x();
@@ -1602,7 +1602,7 @@ const Ca = (t) => {
1602
1602
  return E.addEventListener("scroll", C), window.addEventListener("resize", x), () => {
1603
1603
  E.removeEventListener("scroll", C), window.removeEventListener("resize", x);
1604
1604
  };
1605
- }, []), se(() => {
1605
+ }, []), re(() => {
1606
1606
  n !== void 0 && o(n);
1607
1607
  }, [n]), !t.children || t.children.length === 0)
1608
1608
  return /* @__PURE__ */ h.jsx("div", { className: "tab-bar-empty", children: "No tabs available" });
@@ -1717,7 +1717,7 @@ const Ca = (t) => {
1717
1717
  ct.Children.forEach(t, (f) => {
1718
1718
  ct.isValidElement(f) && (s[f.props.id] = f);
1719
1719
  });
1720
- const a = "--smp-grid-template-cols", o = "--smp-grid-template-rows", i = Pr(
1720
+ const a = "--smp-grid-template-cols", o = "--smp-grid-template-rows", i = Fr(
1721
1721
  e.sections ?? [],
1722
1722
  Object.keys(s)
1723
1723
  ), l = (f) => f.reduce((x, v) => {
@@ -1794,7 +1794,7 @@ const Ca = (t) => {
1794
1794
  };
1795
1795
  return /* @__PURE__ */ h.jsxs("div", { className: d, style: u, "smp-id": "layout", children: [
1796
1796
  e.sectionsType === "tab" && e.sections && e?.sections.length > 1 && /* @__PURE__ */ h.jsx(
1797
- Nn,
1797
+ kn,
1798
1798
  {
1799
1799
  data: {
1800
1800
  type: "SmeupDataTree",
@@ -1839,7 +1839,7 @@ const Ca = (t) => {
1839
1839
  }, st = {
1840
1840
  DESC_ONLY: "DescOnly",
1841
1841
  BOTH: "Both"
1842
- }, kn = (t) => t.t == "D8", An = (t) => t.t == "I1", In = (t) => {
1842
+ }, An = (t) => t.t == "D8", In = (t) => t.t == "I1", Pn = (t) => {
1843
1843
  if (t) {
1844
1844
  const e = t.split(";");
1845
1845
  if (e.length == 3)
@@ -1877,7 +1877,7 @@ class ft {
1877
1877
  return this.value ? "true" : "false";
1878
1878
  }
1879
1879
  }
1880
- function Pn(t, e) {
1880
+ function Fn(t, e) {
1881
1881
  if (Vt(t)) {
1882
1882
  const d = new Date(t);
1883
1883
  if (!isNaN(d.getTime()))
@@ -1901,13 +1901,13 @@ function Pn(t, e) {
1901
1901
  case 6: {
1902
1902
  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);
1903
1903
  let d = 0, u = 0;
1904
- 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)), Nt(i, u, parseInt(c)) && at(r) ? r : t;
1904
+ 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)), Lt(i, u, parseInt(c)) && at(r) ? r : t;
1905
1905
  }
1906
1906
  case 7:
1907
1907
  case 8: {
1908
1908
  i = parseInt(n.substring(0, 2)), l = parseInt(n.substring(2, 4)), c = n.substring(4);
1909
1909
  let d = 0, u = 0;
1910
- 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)), Nt(d, u, parseInt(c)) && at(r) ? r : t;
1910
+ 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)), Lt(d, u, parseInt(c)) && at(r) ? r : t;
1911
1911
  }
1912
1912
  }
1913
1913
  return t;
@@ -1918,16 +1918,16 @@ function Vt(t) {
1918
1918
  function at(t) {
1919
1919
  return t instanceof Date && !isNaN(t.getTime());
1920
1920
  }
1921
- function Fn(t) {
1921
+ function Mn(t) {
1922
1922
  if (!/^\d{8}$/.test(t)) return !1;
1923
1923
  const e = parseInt(t.slice(0, 4), 10), r = parseInt(t.slice(4, 6), 10), n = parseInt(t.slice(6, 8), 10);
1924
- return Nt(n, r - 1, e);
1924
+ return Lt(n, r - 1, e);
1925
1925
  }
1926
- function Nt(t, e, r) {
1926
+ function Lt(t, e, r) {
1927
1927
  const n = [
1928
1928
  31,
1929
1929
  // January
1930
- Mn(r) ? 29 : 28,
1930
+ Vn(r) ? 29 : 28,
1931
1931
  // February
1932
1932
  31,
1933
1933
  // March
@@ -1952,10 +1952,10 @@ function Nt(t, e, r) {
1952
1952
  ];
1953
1953
  return !(e < 0 || e > 11 || t < 1 || t > n[e]);
1954
1954
  }
1955
- function Mn(t) {
1955
+ function Vn(t) {
1956
1956
  return t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0);
1957
1957
  }
1958
- function Vn(t) {
1958
+ function Un(t) {
1959
1959
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), n = String(t.getDate()).padStart(2, "0");
1960
1960
  return isNaN(e) || isNaN(Number(r)) || isNaN(Number(n)) ? t.toString() : `${e}-${r}-${n}`;
1961
1961
  }
@@ -1988,7 +1988,7 @@ const hr = /* @__PURE__ */ new Map([
1988
1988
  "D8*YYMD",
1989
1989
  {
1990
1990
  legacyToIso(t) {
1991
- return Fn(t) && `${t.substring(0, 4)}-${t.substring(4, 6)}-${t.substring(6, 8)}` || t;
1991
+ return Mn(t) && `${t.substring(0, 4)}-${t.substring(4, 6)}-${t.substring(6, 8)}` || t;
1992
1992
  },
1993
1993
  isoToLegacy(t) {
1994
1994
  return Vt(t) && t.replaceAll("-", "") || t;
@@ -2056,7 +2056,7 @@ function Be({
2056
2056
  l.style.transform = `translate(${y}px, ${C}px)`, l.style.opacity = "1";
2057
2057
  });
2058
2058
  }, [t]);
2059
- return rn(() => {
2059
+ return nn(() => {
2060
2060
  if (!e) return;
2061
2061
  let i;
2062
2062
  const l = () => {
@@ -2085,7 +2085,7 @@ const Ie = (t, e, r) => {
2085
2085
  return `${t} - ${e}`;
2086
2086
  }
2087
2087
  return t;
2088
- }, Br = ({
2088
+ }, Wr = ({
2089
2089
  helperText: t,
2090
2090
  disabled: e,
2091
2091
  state: r,
@@ -2111,7 +2111,7 @@ const Ie = (t, e, r) => {
2111
2111
  "smp-textfield-disabled": "_smp-textfield-disabled_ep1c3_114",
2112
2112
  "smp-textfield-fullWidth": "_smp-textfield-fullWidth_ep1c3_123",
2113
2113
  "smp-textfield-top-right-indicator": "_smp-textfield-top-right-indicator_ep1c3_127"
2114
- }, $e = ({
2114
+ }, Ne = ({
2115
2115
  id: t,
2116
2116
  disabled: e,
2117
2117
  bindValue: r,
@@ -2135,11 +2135,11 @@ const Ie = (t, e, r) => {
2135
2135
  isClearable: y = !1,
2136
2136
  fullWidth: b = !1,
2137
2137
  _dataComponent: j = "textfield",
2138
- min: N,
2138
+ min: L,
2139
2139
  max: V,
2140
2140
  step: I,
2141
2141
  inputMode: P = "text",
2142
- width: $,
2142
+ width: N,
2143
2143
  autocomplete: O,
2144
2144
  size: T,
2145
2145
  maxLength: _,
@@ -2162,7 +2162,7 @@ const Ie = (t, e, r) => {
2162
2162
  const B = be[`smp-textfield-variant-${c}`];
2163
2163
  B && (U.container += ` ${B}`);
2164
2164
  }
2165
- const G = $ ? { "--smp-textField-width-base": $ } : void 0;
2165
+ const G = N ? { "--smp-textField-width-base": N } : void 0;
2166
2166
  return /* @__PURE__ */ h.jsxs("div", { className: U.wrapper, "data-component": j, children: [
2167
2167
  v && /* @__PURE__ */ h.jsx(De, { label: v, disabled: e, htmlFor: m }),
2168
2168
  /* @__PURE__ */ h.jsxs(
@@ -2190,7 +2190,7 @@ const Ie = (t, e, r) => {
2190
2190
  "aria-label": x,
2191
2191
  ref: g,
2192
2192
  "aria-describedby": k ? w : void 0,
2193
- min: N,
2193
+ min: L,
2194
2194
  max: V,
2195
2195
  step: I,
2196
2196
  inputMode: P,
@@ -2224,7 +2224,7 @@ const Ie = (t, e, r) => {
2224
2224
  }
2225
2225
  ),
2226
2226
  k && /* @__PURE__ */ h.jsx(
2227
- Br,
2227
+ Wr,
2228
2228
  {
2229
2229
  helperText: E,
2230
2230
  disabled: e,
@@ -2234,7 +2234,7 @@ const Ie = (t, e, r) => {
2234
2234
  )
2235
2235
  ] });
2236
2236
  };
2237
- function Wr({
2237
+ function Yr({
2238
2238
  items: t,
2239
2239
  itemHeight: e,
2240
2240
  containerHeight: r,
@@ -2292,7 +2292,7 @@ const ot = {
2292
2292
  "smp-list-container": "_smp-list-container_nw7jc_12",
2293
2293
  "smp-list-listItem": "_smp-list-listItem_nw7jc_17"
2294
2294
  };
2295
- function Un(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2295
+ function Bn(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2296
2296
  const a = document.createElement("canvas").getContext("2d");
2297
2297
  if (!a) return 200;
2298
2298
  a.font = r;
@@ -2303,7 +2303,7 @@ function Un(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2303
2303
  }
2304
2304
  return Math.ceil(o + n);
2305
2305
  }
2306
- const Bn = 10, Yr = ({
2306
+ const Wn = 10, Gr = ({
2307
2307
  id: t,
2308
2308
  options: e,
2309
2309
  displayMode: r = "Both",
@@ -2320,24 +2320,24 @@ const Bn = 10, Yr = ({
2320
2320
  }) => {
2321
2321
  const [u, p] = q(""), g = 40, [f, x] = q(
2322
2322
  a !== null ? a : -1
2323
- ), [v, S] = q(i || 200), E = ie(null), C = s !== void 0 ? s : e.length > Bn, y = u ? e.filter(
2323
+ ), [v, S] = q(i || 200), E = ie(null), C = s !== void 0 ? s : e.length > Wn, y = u ? e.filter(
2324
2324
  (_) => _.label.toLowerCase().includes(u.toLowerCase())
2325
2325
  ) : e, b = (_) => {
2326
2326
  p(_);
2327
- }, { virtualItems: j, containerProps: N, innerProps: V, scrollToIndex: I } = Wr({
2327
+ }, { virtualItems: j, containerProps: L, innerProps: V, scrollToIndex: I } = Yr({
2328
2328
  items: y,
2329
2329
  itemHeight: g,
2330
2330
  containerHeight: 200,
2331
2331
  overscan: 5
2332
2332
  });
2333
- se(() => {
2333
+ re(() => {
2334
2334
  a !== null && a !== f && x(a);
2335
- }, [a]), se(() => {
2335
+ }, [a]), re(() => {
2336
2336
  f >= 0 && f < y.length && I(f);
2337
- }, [f, y]), se(() => {
2337
+ }, [f, y]), re(() => {
2338
2338
  d && E?.current && E.current.focus();
2339
- }, [d, E]), se(() => {
2340
- const _ = Un(e, r);
2339
+ }, [d, E]), re(() => {
2340
+ const _ = Bn(e, r);
2341
2341
  S(_);
2342
2342
  }, [e, r]);
2343
2343
  const P = (_) => {
@@ -2347,7 +2347,7 @@ const Bn = 10, Yr = ({
2347
2347
  _.key === "ArrowDown" ? W = f < y.length - 1 ? f + 1 : 0 : _.key === "ArrowUp" && (W = f > 0 ? f - 1 : y.length - 1), x(W);
2348
2348
  } else _.key === "Enter" ? f >= 0 && f < y.length && l?.(y[f]) : _.key === "Escape" && (_.preventDefault(), _.stopPropagation());
2349
2349
  c && c(_);
2350
- }, $ = (_) => {
2350
+ }, N = (_) => {
2351
2351
  P(_);
2352
2352
  }, O = (_) => {
2353
2353
  P(_);
@@ -2370,20 +2370,20 @@ const Bn = 10, Yr = ({
2370
2370
  },
2371
2371
  children: [
2372
2372
  C && /* @__PURE__ */ h.jsx(
2373
- $e,
2373
+ Ne,
2374
2374
  {
2375
2375
  bindValue: u,
2376
2376
  placeholder: "Search...",
2377
2377
  fullWidth: !0,
2378
2378
  onChange: b,
2379
- onKeyDown: $,
2379
+ onKeyDown: N,
2380
2380
  inputRef: E
2381
2381
  }
2382
2382
  ),
2383
2383
  /* @__PURE__ */ h.jsx(
2384
2384
  "div",
2385
2385
  {
2386
- ...N,
2386
+ ...L,
2387
2387
  className: T.container,
2388
2388
  tabIndex: 0,
2389
2389
  role: "listbox",
@@ -2435,16 +2435,16 @@ const Bn = 10, Yr = ({
2435
2435
  const [s, a] = q(
2436
2436
  Ie(e, r, t)
2437
2437
  );
2438
- return se(() => {
2438
+ return re(() => {
2439
2439
  a(e);
2440
- }, [e]), se(() => {
2440
+ }, [e]), re(() => {
2441
2441
  a(
2442
2442
  Ie(e, r, t)
2443
2443
  );
2444
- }, [r, t]), /* @__PURE__ */ h.jsx($e, { ...n, bindValue: s });
2445
- }, Wn = (t) => {
2444
+ }, [r, t]), /* @__PURE__ */ h.jsx(Ne, { ...n, bindValue: s });
2445
+ }, Yn = (t) => {
2446
2446
  const e = ie(null);
2447
- return se(() => () => {
2447
+ return re(() => () => {
2448
2448
  e.current && clearTimeout(e.current);
2449
2449
  }, []), (n) => {
2450
2450
  e.current && clearTimeout(e.current), e.current = setTimeout(() => {
@@ -2456,12 +2456,12 @@ function We({
2456
2456
  children: t
2457
2457
  }) {
2458
2458
  const [e, r] = q(!1);
2459
- return se(() => {
2459
+ return re(() => {
2460
2460
  r(!0);
2461
- }, []), e ? sn(t, document.body) : null;
2461
+ }, []), e ? an(t, document.body) : null;
2462
2462
  }
2463
2463
  const yt = (t, e, r) => {
2464
- se(() => {
2464
+ re(() => {
2465
2465
  if (!e) return;
2466
2466
  const n = (s) => {
2467
2467
  t?.some((o) => {
@@ -2481,11 +2481,11 @@ const yt = (t, e, r) => {
2481
2481
  t = n, e = s;
2482
2482
  });
2483
2483
  return r.resolve = t, r.reject = e, r;
2484
- }, mr = (t) => t == null ? "" : "" + t, Yn = (t, e, r) => {
2484
+ }, mr = (t) => t == null ? "" : "" + t, Gn = (t, e, r) => {
2485
2485
  t.forEach((n) => {
2486
2486
  e[n] && (r[n] = e[n]);
2487
2487
  });
2488
- }, Gn = /###/g, gr = (t) => t && t.indexOf("###") > -1 ? t.replace(Gn, ".") : t, br = (t) => !t || J(t), He = (t, e, r) => {
2488
+ }, qn = /###/g, gr = (t) => t && t.indexOf("###") > -1 ? t.replace(qn, ".") : t, br = (t) => !t || J(t), He = (t, e, r) => {
2489
2489
  const n = J(e) ? e.split(".") : e;
2490
2490
  let s = 0;
2491
2491
  for (; s < n.length - 1; ) {
@@ -2510,7 +2510,7 @@ const yt = (t, e, r) => {
2510
2510
  for (; i.obj === void 0 && o.length; )
2511
2511
  a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), i = He(t, o, Object), i?.obj && typeof i.obj[`${i.k}.${a}`] < "u" && (i.obj = void 0);
2512
2512
  i.obj[`${i.k}.${a}`] = r;
2513
- }, qn = (t, e, r, n) => {
2513
+ }, Hn = (t, e, r, n) => {
2514
2514
  const {
2515
2515
  obj: s,
2516
2516
  k: a
@@ -2523,15 +2523,15 @@ const yt = (t, e, r) => {
2523
2523
  } = He(t, e);
2524
2524
  if (r && Object.prototype.hasOwnProperty.call(r, n))
2525
2525
  return r[n];
2526
- }, Hn = (t, e, r) => {
2526
+ }, zn = (t, e, r) => {
2527
2527
  const n = ht(t, r);
2528
2528
  return n !== void 0 ? n : ht(e, r);
2529
- }, Gr = (t, e, r) => {
2529
+ }, qr = (t, e, r) => {
2530
2530
  for (const n in e)
2531
- n !== "__proto__" && n !== "constructor" && (n in t ? J(t[n]) || t[n] instanceof String || J(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : Gr(t[n], e[n], r) : t[n] = e[n]);
2531
+ n !== "__proto__" && n !== "constructor" && (n in t ? J(t[n]) || t[n] instanceof String || J(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : qr(t[n], e[n], r) : t[n] = e[n]);
2532
2532
  return t;
2533
2533
  }, Fe = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2534
- var zn = {
2534
+ var Kn = {
2535
2535
  "&": "&amp;",
2536
2536
  "<": "&lt;",
2537
2537
  ">": "&gt;",
@@ -2539,8 +2539,8 @@ var zn = {
2539
2539
  "'": "&#39;",
2540
2540
  "/": "&#x2F;"
2541
2541
  };
2542
- const Kn = (t) => J(t) ? t.replace(/[&<>"'\/]/g, (e) => zn[e]) : t;
2543
- class Jn {
2542
+ const Jn = (t) => J(t) ? t.replace(/[&<>"'\/]/g, (e) => Kn[e]) : t;
2543
+ class Xn {
2544
2544
  constructor(e) {
2545
2545
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
2546
2546
  }
@@ -2552,11 +2552,11 @@ class Jn {
2552
2552
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
2553
2553
  }
2554
2554
  }
2555
- const Xn = [" ", ",", "?", "!", ";"], Qn = new Jn(20), Zn = (t, e, r) => {
2555
+ const Qn = [" ", ",", "?", "!", ";"], Zn = new Xn(20), es = (t, e, r) => {
2556
2556
  e = e || "", r = r || "";
2557
- const n = Xn.filter((o) => e.indexOf(o) < 0 && r.indexOf(o) < 0);
2557
+ const n = Qn.filter((o) => e.indexOf(o) < 0 && r.indexOf(o) < 0);
2558
2558
  if (n.length === 0) return !0;
2559
- const s = Qn.getRegExp(`(${n.map((o) => o === "?" ? "\\?" : o).join("|")})`);
2559
+ const s = Zn.getRegExp(`(${n.map((o) => o === "?" ? "\\?" : o).join("|")})`);
2560
2560
  let a = !s.test(t);
2561
2561
  if (!a) {
2562
2562
  const o = t.indexOf(r);
@@ -2583,7 +2583,7 @@ const Xn = [" ", ",", "?", "!", ";"], Qn = new Jn(20), Zn = (t, e, r) => {
2583
2583
  s = o;
2584
2584
  }
2585
2585
  return s;
2586
- }, Ke = (t) => t?.replace("_", "-"), es = {
2586
+ }, Ke = (t) => t?.replace("_", "-"), ts = {
2587
2587
  type: "logger",
2588
2588
  log(t) {
2589
2589
  this.output("log", t);
@@ -2603,7 +2603,7 @@ class mt {
2603
2603
  this.init(e, r);
2604
2604
  }
2605
2605
  init(e, r = {}) {
2606
- this.prefix = r.prefix || "i18next:", this.logger = e || es, this.options = r, this.debug = r.debug;
2606
+ this.prefix = r.prefix || "i18next:", this.logger = e || ts, this.options = r, this.debug = r.debug;
2607
2607
  }
2608
2608
  log(...e) {
2609
2609
  return this.forward(e, "log", "", !0);
@@ -2705,7 +2705,7 @@ class vr extends vt {
2705
2705
  let i = [e, r];
2706
2706
  e.indexOf(".") > -1 && (i = e.split("."), s = n, n = r, r = i[1]), this.addNamespaces(r);
2707
2707
  let l = ht(this.data, i) || {};
2708
- o.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? Gr(l, n, a) : l = {
2708
+ o.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? qr(l, n, a) : l = {
2709
2709
  ...l,
2710
2710
  ...n
2711
2711
  }, yr(this.data, i, l), o.silent || this.emit("added", e, r, n);
@@ -2730,7 +2730,7 @@ class vr extends vt {
2730
2730
  return this.data;
2731
2731
  }
2732
2732
  }
2733
- var qr = {
2733
+ var Hr = {
2734
2734
  processors: {},
2735
2735
  addPostProcessor(t) {
2736
2736
  this.processors[t.name] = t;
@@ -2744,7 +2744,7 @@ var qr = {
2744
2744
  const xr = {}, wr = (t) => !J(t) && typeof t != "boolean" && typeof t != "number";
2745
2745
  class gt extends vt {
2746
2746
  constructor(e, r = {}) {
2747
- super(), Yn(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = we.create("translator");
2747
+ super(), Gn(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = we.create("translator");
2748
2748
  }
2749
2749
  changeLanguage(e) {
2750
2750
  e && (this.language = e);
@@ -2762,7 +2762,7 @@ class gt extends vt {
2762
2762
  n === void 0 && (n = ":");
2763
2763
  const s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
2764
2764
  let a = r.ns || this.options.defaultNS || [];
2765
- const o = n && e.indexOf(n) > -1, i = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !Zn(e, n, s);
2765
+ const o = n && e.indexOf(n) > -1, i = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !es(e, n, s);
2766
2766
  if (o && !i) {
2767
2767
  const l = e.match(this.interpolator.nestingRegexp);
2768
2768
  if (l && l.length > 0)
@@ -2811,13 +2811,13 @@ class gt extends vt {
2811
2811
  } : i;
2812
2812
  const g = this.resolve(e, s);
2813
2813
  let f = g?.res;
2814
- const x = g?.usedKey || i, v = g?.exactUsedKey || i, S = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, C = !this.i18nFormat || this.i18nFormat.handleAsObject, y = s.count !== void 0 && !J(s.count), b = gt.hasDefaultValue(s), j = y ? this.pluralResolver.getSuffix(u, s.count, s) : "", N = s.ordinal && y ? this.pluralResolver.getSuffix(u, s.count, {
2814
+ const x = g?.usedKey || i, v = g?.exactUsedKey || i, S = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, C = !this.i18nFormat || this.i18nFormat.handleAsObject, y = s.count !== void 0 && !J(s.count), b = gt.hasDefaultValue(s), j = y ? this.pluralResolver.getSuffix(u, s.count, s) : "", L = s.ordinal && y ? this.pluralResolver.getSuffix(u, s.count, {
2815
2815
  ordinal: !1
2816
- }) : "", V = y && !s.ordinal && s.count === 0, I = V && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${j}`] || s[`defaultValue${N}`] || s.defaultValue;
2816
+ }) : "", V = y && !s.ordinal && s.count === 0, I = V && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${j}`] || s[`defaultValue${L}`] || s.defaultValue;
2817
2817
  let P = f;
2818
2818
  C && !f && b && (P = I);
2819
- const $ = wr(P), O = Object.prototype.toString.apply(P);
2820
- if (C && P && $ && S.indexOf(O) < 0 && !(J(E) && Array.isArray(P))) {
2819
+ const N = wr(P), O = Object.prototype.toString.apply(P);
2820
+ if (C && P && N && S.indexOf(O) < 0 && !(J(E) && Array.isArray(P))) {
2821
2821
  if (!s.returnObjects && !this.options.returnObjects) {
2822
2822
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
2823
2823
  const T = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(x, P, {
@@ -2912,7 +2912,7 @@ class gt extends vt {
2912
2912
  !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();
2913
2913
  }
2914
2914
  const o = n.postProcess || this.options.postProcess, i = J(o) ? [o] : o;
2915
- return e != null && i?.length && n.applyPostProcessor !== !1 && (e = qr.handle(i, e, r, this.options && this.options.postProcessPassResolved ? {
2915
+ return e != null && i?.length && n.applyPostProcessor !== !1 && (e = Hr.handle(i, e, r, this.options && this.options.postProcessPassResolved ? {
2916
2916
  i18nResolved: {
2917
2917
  ...s,
2918
2918
  usedParams: this.getUsedParamsDetails(n)
@@ -2941,8 +2941,8 @@ class gt extends vt {
2941
2941
  p && (y = this.pluralResolver.getSuffix(S, r.count, r));
2942
2942
  const b = `${this.options.pluralSeparator}zero`, j = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2943
2943
  if (p && (E.push(d + y), r.ordinal && y.indexOf(j) === 0 && E.push(d + y.replace(j, this.options.pluralSeparator)), g && E.push(d + b)), f) {
2944
- const N = `${d}${this.options.contextSeparator}${r.context}`;
2945
- E.push(N), p && (E.push(N + y), r.ordinal && y.indexOf(j) === 0 && E.push(N + y.replace(j, this.options.pluralSeparator)), g && E.push(N + b));
2944
+ const L = `${d}${this.options.contextSeparator}${r.context}`;
2945
+ E.push(L), p && (E.push(L + y), r.ordinal && y.indexOf(j) === 0 && E.push(L + y.replace(j, this.options.pluralSeparator)), g && E.push(L + b));
2946
2946
  }
2947
2947
  }
2948
2948
  let C;
@@ -3064,7 +3064,7 @@ const Er = {
3064
3064
  pluralCategories: ["one", "other"]
3065
3065
  })
3066
3066
  };
3067
- class ts {
3067
+ class rs {
3068
3068
  constructor(e, r = {}) {
3069
3069
  this.languageUtils = e, this.options = r, this.logger = we.create("pluralResolver"), this.pluralRulesCache = {};
3070
3070
  }
@@ -3112,10 +3112,10 @@ class ts {
3112
3112
  }
3113
3113
  }
3114
3114
  const Tr = (t, e, r, n = ".", s = !0) => {
3115
- let a = Hn(t, e, r);
3115
+ let a = zn(t, e, r);
3116
3116
  return !a && s && J(r) && (a = kt(t, r, n), a === void 0 && (a = kt(e, r, n))), a;
3117
3117
  }, Rt = (t) => t.replace(/\$/g, "$$$$");
3118
- class rs {
3118
+ class ns {
3119
3119
  constructor(e = {}) {
3120
3120
  this.logger = we.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((r) => r), this.init(e);
3121
3121
  }
@@ -3142,7 +3142,7 @@ class rs {
3142
3142
  maxReplaces: S,
3143
3143
  alwaysFormat: E
3144
3144
  } = e.interpolation;
3145
- this.escape = r !== void 0 ? r : Kn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Fe(a) : o || "{{", this.suffix = i ? Fe(i) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = p ? Fe(p) : g || Fe("$t("), this.nestingSuffix = f ? Fe(f) : x || Fe(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3145
+ this.escape = r !== void 0 ? r : Jn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Fe(a) : o || "{{", this.suffix = i ? Fe(i) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = p ? Fe(p) : g || Fe("$t("), this.nestingSuffix = f ? Fe(f) : x || Fe(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3146
3146
  }
3147
3147
  reset() {
3148
3148
  this.options && this.init(this.options);
@@ -3233,7 +3233,7 @@ class rs {
3233
3233
  return e;
3234
3234
  }
3235
3235
  }
3236
- const ns = (t) => {
3236
+ const ss = (t) => {
3237
3237
  let e = t.toLowerCase().trim();
3238
3238
  const r = {};
3239
3239
  if (t.indexOf("(") > -1) {
@@ -3263,8 +3263,8 @@ const ns = (t) => {
3263
3263
  let i = e[o];
3264
3264
  return i || (i = t(Ke(n), s), e[o] = i), i(r);
3265
3265
  };
3266
- }, ss = (t) => (e, r, n) => t(Ke(r), n)(e);
3267
- class as {
3266
+ }, as = (t) => (e, r, n) => t(Ke(r), n)(e);
3267
+ class os {
3268
3268
  constructor(e = {}) {
3269
3269
  this.logger = we.create("formatter"), this.options = e, this.init(e);
3270
3270
  }
@@ -3272,7 +3272,7 @@ class as {
3272
3272
  interpolation: {}
3273
3273
  }) {
3274
3274
  this.formatSeparator = r.interpolation.formatSeparator || ",";
3275
- const n = r.cacheInBuiltFormats ? Or : ss;
3275
+ const n = r.cacheInBuiltFormats ? Or : as;
3276
3276
  this.formats = {
3277
3277
  number: n((s, a) => {
3278
3278
  const o = new Intl.NumberFormat(s, {
@@ -3323,7 +3323,7 @@ class as {
3323
3323
  const {
3324
3324
  formatName: c,
3325
3325
  formatOptions: d
3326
- } = ns(l);
3326
+ } = ss(l);
3327
3327
  if (this.formats[c]) {
3328
3328
  let u = i;
3329
3329
  try {
@@ -3343,10 +3343,10 @@ class as {
3343
3343
  }, e);
3344
3344
  }
3345
3345
  }
3346
- const os = (t, e) => {
3346
+ const is = (t, e) => {
3347
3347
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
3348
3348
  };
3349
- class is extends vt {
3349
+ class ls extends vt {
3350
3350
  constructor(e, r, n, s = {}) {
3351
3351
  super(), this.backend = e, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = we.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);
3352
3352
  }
@@ -3378,7 +3378,7 @@ class is extends vt {
3378
3378
  }), this.state[e] = r ? -1 : 2, r && n && (this.state[e] = 0);
3379
3379
  const i = {};
3380
3380
  this.queue.forEach((l) => {
3381
- qn(l.loaded, [a], o), os(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3381
+ Hn(l.loaded, [a], o), is(l, e), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
3382
3382
  i[c] || (i[c] = {});
3383
3383
  const d = l.loaded[c];
3384
3384
  d.length && d.forEach((u) => {
@@ -3534,7 +3534,7 @@ const _r = () => ({
3534
3534
  },
3535
3535
  cacheInBuiltFormats: !0
3536
3536
  }), Rr = (t) => (J(t.ns) && (t.ns = [t.ns]), J(t.fallbackLng) && (t.fallbackLng = [t.fallbackLng]), J(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), it = () => {
3537
- }, ls = (t) => {
3537
+ }, cs = (t) => {
3538
3538
  Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((r) => {
3539
3539
  typeof t[r] == "function" && (t[r] = t[r].bind(t));
3540
3540
  });
@@ -3543,7 +3543,7 @@ class Je extends vt {
3543
3543
  constructor(e = {}, r) {
3544
3544
  if (super(), this.options = Rr(e), this.services = {}, this.logger = we, this.modules = {
3545
3545
  external: []
3546
- }, ls(this), r && !this.isInitialized && !e.isClone) {
3546
+ }, cs(this), r && !this.isInitialized && !e.isClone) {
3547
3547
  if (!this.options.initAsync)
3548
3548
  return this.init(e, r), this;
3549
3549
  setTimeout(() => {
@@ -3566,16 +3566,16 @@ class Je extends vt {
3566
3566
  if (!this.options.isClone) {
3567
3567
  this.modules.logger ? we.init(s(this.modules.logger), this.options) : we.init(null, this.options);
3568
3568
  let c;
3569
- this.modules.formatter ? c = this.modules.formatter : c = as;
3569
+ this.modules.formatter ? c = this.modules.formatter : c = os;
3570
3570
  const d = new Sr(this.options);
3571
3571
  this.store = new vr(this.options.resources, this.options);
3572
3572
  const u = this.services;
3573
- u.logger = we, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new ts(d, {
3573
+ u.logger = we, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new rs(d, {
3574
3574
  prepend: this.options.pluralSeparator,
3575
3575
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3576
- }), 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 rs(this.options), u.utils = {
3576
+ }), 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 ns(this.options), u.utils = {
3577
3577
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3578
- }, u.backendConnector = new is(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (g, ...f) => {
3578
+ }, u.backendConnector = new ls(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (g, ...f) => {
3579
3579
  this.emit(g, ...f);
3580
3580
  }), 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 gt(this.services, this.options), this.translator.on("*", (g, ...f) => {
3581
3581
  this.emit(g, ...f);
@@ -3627,7 +3627,7 @@ class Je extends vt {
3627
3627
  use(e) {
3628
3628
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3629
3629
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3630
- 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" && qr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3630
+ 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" && Hr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3631
3631
  }
3632
3632
  setResolvedLanguage(e) {
3633
3633
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -3781,48 +3781,48 @@ le.setDefaultNamespace;
3781
3781
  le.hasLoadedNamespace;
3782
3782
  le.loadNamespaces;
3783
3783
  le.loadLanguages;
3784
- const cs = { 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" }, us = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, ds = { 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" }, ps = {
3784
+ const us = { 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" }, ds = { April: "Aprile", August: "Agosto", December: "Dicembre", February: "Febbraio", January: "Gennaio", June: "Giugno", July: "Luglio", March: "Marzo", May: "Maggio", October: "Ottobre", November: "Novembre", September: "Settembre" }, fs = { 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" } } }, ps = { CalendarFor: "Calendario per", Close: "Chiudi", SpotlightDefaultPlaceholder: "Esegui Comando", CheckObjectWrongValidation: "Oggetto non valido", ConfirmButton: "Conferma", AutocompleteDefaultPlaceholder: "Inserisci codice o descrizione" }, hs = {
3785
3785
  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" },
3786
- Day: cs,
3787
- Month: us,
3788
- FilterBuilder: ds,
3789
- Generic: fs
3790
- }, hs = { 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" }, ms = { April: "April", August: "August", December: "December", February: "February", January: "January", July: "July", June: "June", March: "March", May: "May", November: "November", October: "October", September: "September" }, gs = { 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" } } }, bs = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command", CheckObjectWrongValidation: "Object not valid", ConfirmButton: "Confirm", AutocompleteDefaultPlaceholder: "Type code or description" }, ys = {
3786
+ Day: us,
3787
+ Month: ds,
3788
+ FilterBuilder: fs,
3789
+ Generic: ps
3790
+ }, ms = { 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" }, gs = { 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" } } }, ys = { CalendarFor: "Calendar for", Close: "Close", SpotlightDefaultPlaceholder: "Execute Command", CheckObjectWrongValidation: "Object not valid", ConfirmButton: "Confirm", AutocompleteDefaultPlaceholder: "Type code or description" }, vs = {
3791
3791
  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" },
3792
- Day: hs,
3793
- Month: ms,
3794
- FilterBuilder: gs,
3795
- Generic: bs
3792
+ Day: ms,
3793
+ Month: gs,
3794
+ FilterBuilder: bs,
3795
+ Generic: ys
3796
3796
  };
3797
3797
  function jr(t, e) {
3798
- return new RegExp(vs(t), e);
3798
+ return new RegExp(xs(t), e);
3799
3799
  }
3800
- function vs(t) {
3800
+ function xs(t) {
3801
3801
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
3802
3802
  }
3803
- const xs = (t, e, r) => {
3803
+ const ws = (t, e, r) => {
3804
3804
  let n = t;
3805
3805
  return isNaN(n) || (e != null && (n = Math.max(n, e)), r != null && (n = Math.min(n, r))), n;
3806
- }, ws = (t, e) => {
3806
+ }, Ss = (t, e) => {
3807
3807
  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 ?? ".";
3808
3808
  return { groupingChar: s, decimalChar: a };
3809
3809
  };
3810
- function Ss(t, e, r, n) {
3810
+ function Es(t, e, r, n) {
3811
3811
  let s = e;
3812
- const a = Ts(t, r);
3812
+ const a = Os(t, r);
3813
3813
  if (!s) {
3814
3814
  const i = Math.abs(a);
3815
3815
  i - Math.floor(i) ? s = "0,0.00" : s = "0,0";
3816
3816
  }
3817
- const o = Os(s);
3817
+ const o = _s(s);
3818
3818
  return new Intl.NumberFormat(n, o).format(a);
3819
3819
  }
3820
- const Es = (t, e, r) => {
3820
+ const Cs = (t, e, r) => {
3821
3821
  const n = t.lastIndexOf(r);
3822
3822
  if (n !== -1) return t.length - n - 1;
3823
3823
  const s = r === "." ? "," : ".", a = t.lastIndexOf(s);
3824
3824
  return a !== -1 && !(s === e && t.length - a - 1 === 3) ? t.length - a - 1 : 0;
3825
- }, Cs = (t, e, r) => {
3825
+ }, Ts = (t, e, r) => {
3826
3826
  if (!t) return NaN;
3827
3827
  let n = t.replace(/\s/g, ""), s = r;
3828
3828
  const a = (n.match(/\./g) || []).length, o = (n.match(/,/g) || []).length;
@@ -3835,7 +3835,7 @@ const Es = (t, e, r) => {
3835
3835
  const i = s === "." ? "," : ".";
3836
3836
  return n = n.replace(new RegExp(`\\${i}`, "g"), ""), s !== "." && (n = n.replace(new RegExp(`\\${s}`, "g"), ".")), parseFloat(n);
3837
3837
  };
3838
- function Ts(t, e, r, n, s) {
3838
+ function Os(t, e, r, n, s) {
3839
3839
  let a = t;
3840
3840
  if (typeof a != "number") {
3841
3841
  let i;
@@ -3846,7 +3846,7 @@ function Ts(t, e, r, n, s) {
3846
3846
  const o = Number(a);
3847
3847
  return isNaN(o) ? NaN : o;
3848
3848
  }
3849
- function Os(t) {
3849
+ function _s(t) {
3850
3850
  const e = {};
3851
3851
  t.includes(",") ? e.useGrouping = !0 : e.useGrouping = !1;
3852
3852
  const r = t.indexOf(".");
@@ -3876,7 +3876,7 @@ le.init({
3876
3876
  default:
3877
3877
  case "number": {
3878
3878
  const a = n?.inputIsLocalized ?? !1;
3879
- return Ss(t, e, a, r);
3879
+ return Es(t, e, a, r);
3880
3880
  }
3881
3881
  }
3882
3882
  } catch {
@@ -3886,26 +3886,26 @@ le.init({
3886
3886
  },
3887
3887
  resources: {
3888
3888
  en: {
3889
- translation: ys
3889
+ translation: vs
3890
3890
  },
3891
3891
  it: {
3892
- translation: ps
3892
+ translation: hs
3893
3893
  }
3894
3894
  }
3895
3895
  });
3896
- const _s = (t, e, r, n) => le.format(t, e, r || le.language, n), Rs = (t, e) => le.t(t, e);
3896
+ const Rs = (t, e, r, n) => le.format(t, e, r || le.language, n), js = (t, e) => le.t(t, e);
3897
3897
  function Se() {
3898
3898
  const t = oe(
3899
- (n, s, a, o) => _s(n, s, a || void 0, o),
3899
+ (n, s, a, o) => Rs(n, s, a || void 0, o),
3900
3900
  []
3901
3901
  ), e = oe(() => le.languages[0], []), r = oe(
3902
- (n, s) => Rs(n, s),
3902
+ (n, s) => js(n, s),
3903
3903
  []
3904
3904
  );
3905
3905
  return { format: t, getCurrentLanguage: e, translate: r };
3906
3906
  }
3907
3907
  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 || {}), ye = /* @__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))(ye || {}), pe = /* @__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))(pe || {}), ge = /* @__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))(ge || {}), At = /* @__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))(At || {});
3908
- const Hr = ({
3908
+ const zr = ({
3909
3909
  bindValue: t,
3910
3910
  optionalDisplayValue: e,
3911
3911
  options: r,
@@ -3922,14 +3922,14 @@ const Hr = ({
3922
3922
  _multiActiveIndex: g,
3923
3923
  ...f
3924
3924
  }) => {
3925
- const x = ie(null), [v, S] = q(t), [E, C] = q(e), { translate: y } = Se(), [b, j] = q(!1), [N, V] = q(r || []), [I, P] = q(0), [$, O] = q([t]), { anchorRef: T, targetRef: _, anchorWidth: W } = Be({
3925
+ const x = ie(null), [v, S] = q(t), [E, C] = q(e), { translate: y } = Se(), [b, j] = q(!1), [L, V] = q(r || []), [I, P] = q(0), [N, O] = q([t]), { anchorRef: T, targetRef: _, anchorWidth: W } = Be({
3926
3926
  position: "bottom",
3927
3927
  enabled: b
3928
3928
  }), H = oe(() => {
3929
3929
  j(!1), x?.current?.focus();
3930
3930
  }, []);
3931
3931
  yt([_], b, () => H());
3932
- const X = Wn(400), Q = (R) => {
3932
+ const X = Yn(400), Q = (R) => {
3933
3933
  R.length >= o ? A(R) : H(), S(R), C(e), c || d?.(R, e);
3934
3934
  }, A = (R) => {
3935
3935
  X(async () => {
@@ -3942,18 +3942,18 @@ const Hr = ({
3942
3942
  b || p?.();
3943
3943
  }, w = (R) => {
3944
3944
  c ? (S(""), C("")) : (S(R.id), C(R.label)), d?.(R.id, R.label);
3945
- const F = N.findIndex((U) => U.id === R.id);
3945
+ const F = L.findIndex((U) => U.id === R.id);
3946
3946
  P(F), O([R.id]), H();
3947
3947
  }, D = (R) => {
3948
3948
  R.key === "Escape" && (H(), P(-1));
3949
3949
  }, k = (R) => {
3950
3950
  if ((R.key === "ArrowDown" || R.key === "ArrowUp") && (R.preventDefault(), b)) {
3951
- const F = R.key === "ArrowDown" ? (I + 1) % N.length : (I - 1 + N.length) % N.length;
3951
+ const F = R.key === "ArrowDown" ? (I + 1) % L.length : (I - 1 + L.length) % L.length;
3952
3952
  P(F);
3953
3953
  }
3954
3954
  switch (R.key) {
3955
3955
  case "Enter":
3956
- I >= 0 && I < N.length ? w(N[I]) : c && (d?.(v, ""), H(), S(""), C(""));
3956
+ I >= 0 && I < L.length ? w(L[I]) : c && (d?.(v, ""), H(), S(""), C(""));
3957
3957
  break;
3958
3958
  case "Escape":
3959
3959
  H(), P(-1);
@@ -3984,14 +3984,14 @@ const Hr = ({
3984
3984
  }
3985
3985
  ),
3986
3986
  b && /* @__PURE__ */ h.jsx(We, { children: /* @__PURE__ */ h.jsx(
3987
- Yr,
3987
+ Gr,
3988
3988
  {
3989
- options: N,
3989
+ options: L,
3990
3990
  displayMode: s,
3991
3991
  onClick: w,
3992
3992
  ref: _,
3993
3993
  selectedIndex: I,
3994
- activeIndex: g || $,
3994
+ activeIndex: g || N,
3995
3995
  width: W,
3996
3996
  showFilter: !1,
3997
3997
  onKeyDown: D,
@@ -3999,7 +3999,7 @@ const Hr = ({
3999
3999
  }
4000
4000
  ) })
4001
4001
  ] });
4002
- }, js = ({
4002
+ }, Ds = ({
4003
4003
  options: t,
4004
4004
  fun: e,
4005
4005
  direction: r = "row",
@@ -4017,7 +4017,7 @@ const Hr = ({
4017
4017
  onOptionsRequest: f
4018
4018
  }) => {
4019
4019
  const [x, v] = q(t);
4020
- se(() => {
4020
+ re(() => {
4021
4021
  !x && f && e && f(e, void 0).then((C) => v(C)).catch((C) => {
4022
4022
  console.error(
4023
4023
  "Errore nel caricamento delle opzioni per ButtonList",
@@ -4049,7 +4049,7 @@ const Hr = ({
4049
4049
  return /* @__PURE__ */ h.jsx(fe, { ...b }, `button-${y}`);
4050
4050
  });
4051
4051
  return /* @__PURE__ */ h.jsx("div", { role: "list", "data-component": "button-list", className: S.container, children: E });
4052
- }, Ds = {
4052
+ }, Ns = {
4053
4053
  "smp-checkbox-wrapper": "_smp-checkbox-wrapper_z14lq_2"
4054
4054
  }, Bt = ({
4055
4055
  bindValue: t,
@@ -4064,7 +4064,7 @@ const Hr = ({
4064
4064
  const l = je(), c = (u) => {
4065
4065
  s && a && a(u.target.checked);
4066
4066
  }, d = {
4067
- wrapper: `${Ds["smp-checkbox-wrapper"]}`
4067
+ wrapper: `${Ns["smp-checkbox-wrapper"]}`
4068
4068
  };
4069
4069
  return /* @__PURE__ */ h.jsxs("div", { className: d.wrapper, "data-component": e, children: [
4070
4070
  n && /* @__PURE__ */ h.jsx(De, { label: n, disabled: r, htmlFor: l }),
@@ -4147,7 +4147,7 @@ const Hr = ({
4147
4147
  };
4148
4148
  function Yt(t, e) {
4149
4149
  const r = ie(null);
4150
- se(() => {
4150
+ re(() => {
4151
4151
  if (!t) return;
4152
4152
  const n = typeof e == "object" && e !== null && "current" in e ? e.current : null;
4153
4153
  if (!n) return;
@@ -4196,7 +4196,7 @@ const It = ({
4196
4196
  multiActiveIndex: c,
4197
4197
  ...d
4198
4198
  }) => {
4199
- const u = ie(null), [p, g] = q(!1), [f, x] = q(r), [v, S] = q(-1), [E, C] = q([t]), y = je(), { anchorRef: b, targetRef: j, anchorWidth: N } = Be({
4199
+ const u = ie(null), [p, g] = q(!1), [f, x] = q(r), [v, S] = q(-1), [E, C] = q([t]), y = je(), { anchorRef: b, targetRef: j, anchorWidth: L } = Be({
4200
4200
  position: "bottom",
4201
4201
  enabled: p
4202
4202
  }), V = oe(() => {
@@ -4209,7 +4209,7 @@ const It = ({
4209
4209
  S(_), C([T.id]), V();
4210
4210
  }, P = (T) => {
4211
4211
  T.key === "Escape" && (V(), S(-1));
4212
- }, $ = (T) => {
4212
+ }, N = (T) => {
4213
4213
  (T.key === "ArrowDown" || T.key === "ArrowUp") && (T.preventDefault(), O());
4214
4214
  }, O = () => {
4215
4215
  s && (i && l ? p ? g(!1) : l(i, void 0).then((T) => {
@@ -4233,7 +4233,7 @@ const It = ({
4233
4233
  optionalDisplayValue: n,
4234
4234
  displayMode: a,
4235
4235
  onShapeIconClick: O,
4236
- onKeyDown: $,
4236
+ onKeyDown: N,
4237
4237
  onClick: O,
4238
4238
  shapeIcon: "arrow_drop_down",
4239
4239
  rotatedShapeIcon: p,
@@ -4245,7 +4245,7 @@ const It = ({
4245
4245
  }
4246
4246
  ),
4247
4247
  p && /* @__PURE__ */ h.jsx(We, { children: /* @__PURE__ */ h.jsx(
4248
- Yr,
4248
+ Gr,
4249
4249
  {
4250
4250
  id: y,
4251
4251
  options: f,
@@ -4254,7 +4254,7 @@ const It = ({
4254
4254
  isOpen: p,
4255
4255
  selectedIndex: v,
4256
4256
  activeIndex: c || E,
4257
- width: N,
4257
+ width: L,
4258
4258
  onClick: I,
4259
4259
  onKeyDown: P
4260
4260
  }
@@ -4330,17 +4330,17 @@ function Ls({
4330
4330
  const w = m.start.getTime(), D = m.end.getTime(), k = A.getTime();
4331
4331
  return k >= w && k <= D;
4332
4332
  }), b = (A) => {
4333
- y(A) || (c(A), x(A.getDate()), e && e(Vn(A)));
4333
+ y(A) || (c(A), x(A.getDate()), e && e(Un(A)));
4334
4334
  }, j = () => {
4335
4335
  d === 0 ? (u(11), g(p - 1)) : u(d - 1), x(1);
4336
- }, N = () => {
4336
+ }, L = () => {
4337
4337
  d === 11 ? (u(0), g(p + 1)) : u(d + 1), x(1);
4338
4338
  }, V = (A, m) => new Date(A, m + 1, 0).getDate(), I = (A, m) => new Date(A, m, 1).getDay(), P = (A) => {
4339
4339
  const m = _.findIndex(
4340
4340
  (w) => w !== null && w.getDate() === A
4341
4341
  );
4342
4342
  m !== -1 && S.current[m] && (S.current[m]?.focus(), x(A));
4343
- }, $ = (A, m) => {
4343
+ }, N = (A, m) => {
4344
4344
  const w = _[m];
4345
4345
  if (!w) return;
4346
4346
  const D = V(p, d), k = w.getDate();
@@ -4351,7 +4351,7 @@ function Ls({
4351
4351
  let R = k + 1, F = new Date(p, d, R);
4352
4352
  if (R > D) {
4353
4353
  const U = d === 11 ? p + 1 : p, G = d === 11 ? 0 : d + 1;
4354
- R = 1, F = new Date(U, G, R), N(), setTimeout(() => {
4354
+ R = 1, F = new Date(U, G, R), L(), setTimeout(() => {
4355
4355
  O(1, "forward");
4356
4356
  }, 0);
4357
4357
  return;
@@ -4395,7 +4395,7 @@ function Ls({
4395
4395
  let R = k + 7, F = new Date(p, d, R);
4396
4396
  if (R > D) {
4397
4397
  const U = d === 11 ? p + 1 : p, G = d === 11 ? 0 : d + 1;
4398
- R = R - D, F = new Date(U, G, R), N(), setTimeout(() => {
4398
+ R = R - D, F = new Date(U, G, R), L(), setTimeout(() => {
4399
4399
  O(R, "forward");
4400
4400
  }, 0);
4401
4401
  return;
@@ -4419,7 +4419,7 @@ function Ls({
4419
4419
  }, 0);
4420
4420
  break;
4421
4421
  case "PageDown":
4422
- A.preventDefault(), N(), setTimeout(() => {
4422
+ A.preventDefault(), L(), setTimeout(() => {
4423
4423
  const R = V(
4424
4424
  d === 11 ? p + 1 : p,
4425
4425
  d === 11 ? 0 : d + 1
@@ -4446,7 +4446,7 @@ function Ls({
4446
4446
  return;
4447
4447
  }
4448
4448
  }
4449
- N(), setTimeout(() => {
4449
+ L(), setTimeout(() => {
4450
4450
  O(1, "forward");
4451
4451
  }, 0);
4452
4452
  } else {
@@ -4479,7 +4479,7 @@ function Ls({
4479
4479
  H.push(null);
4480
4480
  W.push(H), H = [];
4481
4481
  }
4482
- }), se(() => {
4482
+ }), re(() => {
4483
4483
  if (f !== null) {
4484
4484
  const A = _.findIndex(
4485
4485
  (m) => m !== null && m.getDate() === f
@@ -4541,7 +4541,7 @@ function Ls({
4541
4541
  /* @__PURE__ */ h.jsx(
4542
4542
  fe,
4543
4543
  {
4544
- onClick: N,
4544
+ onClick: L,
4545
4545
  ariaLabel: a(At.NEXT_MONTH),
4546
4546
  bindValue: ">",
4547
4547
  optionalDisplayValue: ">",
@@ -4593,7 +4593,7 @@ function Ls({
4593
4593
  "aria-selected": F,
4594
4594
  tabIndex: U ? 0 : -1,
4595
4595
  onClick: () => b(w),
4596
- onKeyDown: (B) => $(B, k),
4596
+ onKeyDown: (B) => N(B, k),
4597
4597
  "aria-label": `${w.getDate()} ${E[w.getMonth()]} ${w.getFullYear()}`,
4598
4598
  "data-selected": F,
4599
4599
  "aria-disabled": G,
@@ -4618,7 +4618,7 @@ function Ls({
4618
4618
  }
4619
4619
  );
4620
4620
  }
4621
- const zr = ({
4621
+ const Kr = ({
4622
4622
  bindValue: t,
4623
4623
  placeholder: e,
4624
4624
  onChange: r,
@@ -4637,43 +4637,43 @@ const zr = ({
4637
4637
  }), Yt(i, f);
4638
4638
  const { format: v, getCurrentLanguage: S } = Se(), E = oe(
4639
4639
  (I) => {
4640
- const P = I.length > 5 && Pn(I, S()) || I, $ = v(P, void 0, void 0, {
4640
+ const P = I.length > 5 && Fn(I, S()) || I, N = v(P, void 0, void 0, {
4641
4641
  type: "date"
4642
4642
  }), O = typeof P != "string", T = O && P.toISOString().substring(0, 10) || "";
4643
4643
  return {
4644
4644
  isValid: O,
4645
- formattedDate: $,
4645
+ formattedDate: N,
4646
4646
  isoDate: T,
4647
4647
  normalizedDate: P
4648
4648
  };
4649
4649
  },
4650
4650
  [S, v]
4651
4651
  );
4652
- se(() => {
4653
- const { formattedDate: I, isoDate: P, isValid: $ } = E(t);
4654
- d($ && P || t), p($ && I || t);
4652
+ re(() => {
4653
+ const { formattedDate: I, isoDate: P, isValid: N } = E(t);
4654
+ d(N && P || t), p(N && I || t);
4655
4655
  }, [t, v, E]);
4656
4656
  const C = () => l((I) => !I), y = () => {
4657
4657
  j(u);
4658
4658
  }, b = (I) => {
4659
4659
  j(I), x();
4660
4660
  }, j = (I) => {
4661
- const { isoDate: P, isValid: $ } = E(I);
4662
- r && r($ && P || I);
4663
- }, N = (I) => {
4661
+ const { isoDate: P, isValid: N } = E(I);
4662
+ r && r(N && P || I);
4663
+ }, L = (I) => {
4664
4664
  p(I);
4665
4665
  }, V = (I) => {
4666
4666
  I.key === "Enter" && (I.preventDefault(), j(u));
4667
4667
  };
4668
4668
  return /* @__PURE__ */ h.jsxs("div", { "data-component": "date-picker", children: [
4669
4669
  /* @__PURE__ */ h.jsx(
4670
- $e,
4670
+ Ne,
4671
4671
  {
4672
4672
  ...a,
4673
4673
  bindValue: u,
4674
4674
  placeholder: e,
4675
4675
  onBlur: y,
4676
- onChange: N,
4676
+ onChange: L,
4677
4677
  onKeyDown: V,
4678
4678
  shapeIcon: "calendar",
4679
4679
  onShapeIconClick: C,
@@ -4694,7 +4694,7 @@ const zr = ({
4694
4694
  }
4695
4695
  ) })
4696
4696
  ] });
4697
- }, Ns = ({
4697
+ }, ks = ({
4698
4698
  elements: t,
4699
4699
  displayMode: e,
4700
4700
  minimumChars: r,
@@ -4746,7 +4746,7 @@ const zr = ({
4746
4746
  }
4747
4747
  ),
4748
4748
  /* @__PURE__ */ h.jsx(
4749
- Hr,
4749
+ zr,
4750
4750
  {
4751
4751
  ...g,
4752
4752
  bindValue: "",
@@ -4766,10 +4766,10 @@ const zr = ({
4766
4766
  ]
4767
4767
  }
4768
4768
  );
4769
- }, ks = ({ ...t }) => {
4769
+ }, As = ({ ...t }) => {
4770
4770
  const [e, r] = q(!1), n = e ? "visibility-off" : "visibility";
4771
4771
  return /* @__PURE__ */ h.jsx(
4772
- $e,
4772
+ Ne,
4773
4773
  {
4774
4774
  ...t,
4775
4775
  inputType: e ? "text" : "password",
@@ -4779,12 +4779,12 @@ const zr = ({
4779
4779
  "data-component": "password"
4780
4780
  }
4781
4781
  );
4782
- }, As = ({ ...t }) => {
4782
+ }, Is = ({ ...t }) => {
4783
4783
  const [e, r] = q(t.bindValue), { translate: n } = Se(), s = (a) => {
4784
4784
  a.key === "Enter" && (a.preventDefault(), t.onEnter?.(e));
4785
4785
  };
4786
4786
  return /* @__PURE__ */ h.jsx(
4787
- $e,
4787
+ Ne,
4788
4788
  {
4789
4789
  ...t,
4790
4790
  placeholder: t.placeholder ? t.placeholder : n(Re.SPOTLIGHT_DEFAULT_PLACEHOLDER),
@@ -4797,7 +4797,7 @@ const zr = ({
4797
4797
  _dataComponent: "search-bar"
4798
4798
  }
4799
4799
  );
4800
- }, Is = ({
4800
+ }, Ps = ({
4801
4801
  bindValue: t,
4802
4802
  optionalDisplayValue: e,
4803
4803
  label: r
@@ -4847,7 +4847,7 @@ class Pe {
4847
4847
  return this.value.join(";");
4848
4848
  }
4849
4849
  }
4850
- const Ne = (t, e, r) => ({
4850
+ const Le = (t, e, r) => ({
4851
4851
  obj: {
4852
4852
  t: t.obj.t,
4853
4853
  p: t.obj.p,
@@ -4863,7 +4863,7 @@ const Ne = (t, e, r) => ({
4863
4863
  bindValue: n,
4864
4864
  optionalDisplayValue: r.length >= s ? r[s] : ""
4865
4865
  }));
4866
- }, Ps = (t, e) => {
4866
+ }, Fs = (t, e) => {
4867
4867
  const r = new Pe(
4868
4868
  t.obj,
4869
4869
  e.map((s) => s.bindValue)
@@ -4871,8 +4871,8 @@ const Ne = (t, e, r) => ({
4871
4871
  t.obj,
4872
4872
  e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
4873
4873
  ).getLegacyValue();
4874
- return Ne(t, r, n);
4875
- }, Fs = (t) => {
4874
+ return Le(t, r, n);
4875
+ }, Ms = (t) => {
4876
4876
  switch (t) {
4877
4877
  case "CodeOnly":
4878
4878
  return 15;
@@ -4884,7 +4884,7 @@ const Ne = (t, e, r) => ({
4884
4884
  default:
4885
4885
  return 35;
4886
4886
  }
4887
- }, Kr = ({
4887
+ }, Jr = ({
4888
4888
  min: t,
4889
4889
  max: e,
4890
4890
  step: r = 1,
@@ -4896,7 +4896,7 @@ const Ne = (t, e, r) => ({
4896
4896
  ...l
4897
4897
  }) => {
4898
4898
  const { getCurrentLanguage: c } = Se(), d = ie(null), u = c(), { groupingChar: p, decimalChar: g } = ze(
4899
- () => ws(u, s),
4899
+ () => Ss(u, s),
4900
4900
  [u, s]
4901
4901
  ), f = oe(
4902
4902
  (O, T) => new Intl.NumberFormat(u, {
@@ -4905,10 +4905,10 @@ const Ne = (t, e, r) => ({
4905
4905
  useGrouping: !0
4906
4906
  }).format(O),
4907
4907
  [u]
4908
- ), x = oe(Cs, [p, g]), v = oe(xs, [t, e]), S = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [E, C] = q(S), [y, b] = q(
4908
+ ), x = oe(Ts, [p, g]), v = oe(ws, [t, e]), S = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [E, C] = q(S), [y, b] = q(
4909
4909
  a != null ? f(a, E) : ""
4910
4910
  ), j = ie(a ?? null);
4911
- se(() => {
4911
+ re(() => {
4912
4912
  if (a == null) {
4913
4913
  b(""), j.current = null;
4914
4914
  return;
@@ -4916,7 +4916,7 @@ const Ne = (t, e, r) => ({
4916
4916
  const O = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, T = O === 0 ? E : O;
4917
4917
  T !== E && C(T), b(f(a, T)), j.current = a;
4918
4918
  }, [a, f]);
4919
- const N = oe(
4919
+ const L = oe(
4920
4920
  (O, T = !1) => {
4921
4921
  if (O.trim() === "") {
4922
4922
  b(""), j.current = null, o?.(void 0, ""), T && i?.(void 0);
@@ -4930,7 +4930,7 @@ const Ne = (t, e, r) => ({
4930
4930
  } else
4931
4931
  b("");
4932
4932
  else {
4933
- const W = v(_, t, e), H = Es(
4933
+ const W = v(_, t, e), H = Cs(
4934
4934
  O,
4935
4935
  p,
4936
4936
  g
@@ -4952,24 +4952,24 @@ const Ne = (t, e, r) => ({
4952
4952
  i,
4953
4953
  E
4954
4954
  ]
4955
- ), V = (O) => b(O), I = () => N(y), P = (O) => {
4955
+ ), V = (O) => b(O), I = () => L(y), P = (O) => {
4956
4956
  if (O.key === "Enter") {
4957
- O.preventDefault(), N(y, !0);
4957
+ O.preventDefault(), L(y, !0);
4958
4958
  return;
4959
4959
  }
4960
4960
  if (O.key === "ArrowUp" || O.key === "ArrowDown") {
4961
4961
  O.preventDefault();
4962
4962
  const T = O.key === "ArrowUp" ? 1 : -1, _ = j.current ?? 0, W = v(_ + T * r, t, e);
4963
- N(f(W, E));
4963
+ L(f(W, E));
4964
4964
  }
4965
- }, $ = (O) => {
4965
+ }, N = (O) => {
4966
4966
  if (!O.currentTarget.contains(document.activeElement)) return;
4967
4967
  O.preventDefault();
4968
4968
  const T = O.deltaY < 0 ? 1 : -1, _ = j.current ?? 0, W = v(_ + T * r, t, e);
4969
- N(f(W, E));
4969
+ L(f(W, E));
4970
4970
  };
4971
- return /* @__PURE__ */ h.jsx("div", { ref: d, "data-component": "input-number", onWheel: $, children: /* @__PURE__ */ h.jsx(
4972
- $e,
4971
+ return /* @__PURE__ */ h.jsx("div", { ref: d, "data-component": "input-number", onWheel: N, children: /* @__PURE__ */ h.jsx(
4972
+ Ne,
4973
4973
  {
4974
4974
  ...l,
4975
4975
  "aria-valuemin": t,
@@ -5030,7 +5030,7 @@ class Xe {
5030
5030
  return this.value;
5031
5031
  }
5032
5032
  }
5033
- const Ms = ({
5033
+ const Vs = ({
5034
5034
  disabled: t,
5035
5035
  bindValue: e,
5036
5036
  onChange: r,
@@ -5075,7 +5075,7 @@ const Ms = ({
5075
5075
  }
5076
5076
  ),
5077
5077
  E && /* @__PURE__ */ h.jsx(
5078
- Br,
5078
+ Wr,
5079
5079
  {
5080
5080
  id: v,
5081
5081
  helperText: d,
@@ -5093,7 +5093,7 @@ const Me = {
5093
5093
  "smp-radio-element": "_smp-radio-element_1fqe8_20",
5094
5094
  "smp-radio-disabled": "_smp-radio-disabled_1fqe8_26",
5095
5095
  "smp-radio-horizontal-grid": "_smp-radio-horizontal-grid_1fqe8_32"
5096
- }, Vs = ({
5096
+ }, Us = ({
5097
5097
  disabled: t = !1,
5098
5098
  displayMode: e = "DescOnly",
5099
5099
  RadLay: r = Pt.PAGE_DIRECTION,
@@ -5105,7 +5105,7 @@ const Me = {
5105
5105
  ...l
5106
5106
  }) => {
5107
5107
  const [c, d] = q(s), u = je();
5108
- se(() => {
5108
+ re(() => {
5109
5109
  !c && a && o && a(o, void 0).then((b) => d(b)).catch((b) => {
5110
5110
  console.error("Error during loading options (radio)", b);
5111
5111
  });
@@ -5147,14 +5147,14 @@ const Me = {
5147
5147
  )
5148
5148
  ] }, j)) })
5149
5149
  ] });
5150
- }, Us = ({
5150
+ }, Bs = ({
5151
5151
  value: t,
5152
5152
  onChange: e,
5153
5153
  targetRef: r,
5154
5154
  isOpen: n
5155
5155
  }) => {
5156
5156
  const s = ie(null);
5157
- se(() => {
5157
+ re(() => {
5158
5158
  n && s?.current && s.current.focus();
5159
5159
  }, [n, s]);
5160
5160
  const [a, o, i] = t, l = (c) => Array.from({ length: c }, (d, u) => /* @__PURE__ */ h.jsx("option", { value: u, children: u.toString().padStart(2, "0") }, u));
@@ -5197,18 +5197,18 @@ const Me = {
5197
5197
  ]
5198
5198
  }
5199
5199
  );
5200
- }, $r = (t) => {
5200
+ }, Nr = (t) => {
5201
5201
  const e = t.match(/^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/);
5202
5202
  if (!e) return !1;
5203
5203
  const [, r, n, s] = e, a = parseInt(r, 10), o = parseInt(n, 10), i = s ? parseInt(s, 10) : 0;
5204
5204
  return a >= 0 && a <= 23 && o >= 0 && o <= 59 && (s === void 0 || i >= 0 && i <= 59);
5205
- }, Bs = (t) => {
5205
+ }, Ws = (t) => {
5206
5206
  const e = t.split(":").map((r) => parseInt(r, 10));
5207
5207
  return [e[0] || 0, e[1] || 0, e[2] || 0];
5208
- }, Ws = (t, e, r) => {
5208
+ }, Ys = (t, e, r) => {
5209
5209
  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") : "";
5210
5210
  return n && s ? `${n}:${s}:${a}` : s ? `${s}:${a}` : a;
5211
- }, Ys = ({
5211
+ }, Gs = ({
5212
5212
  bindValue: t,
5213
5213
  placeholder: e = "HH:MM:SS",
5214
5214
  onChange: r,
@@ -5221,10 +5221,10 @@ const Me = {
5221
5221
  }), f = oe(() => {
5222
5222
  i(!1), a?.current?.focus();
5223
5223
  }, []);
5224
- yt([g, p], o, () => i(!1)), Yt(o, g), se(() => {
5225
- const b = t || "", j = $r(b) ? b : t || "";
5224
+ yt([g, p], o, () => i(!1)), Yt(o, g), re(() => {
5225
+ const b = t || "", j = Nr(b) ? b : t || "";
5226
5226
  c(b), u(j);
5227
- }, [t]), se(() => {
5227
+ }, [t]), re(() => {
5228
5228
  const b = (j) => {
5229
5229
  j.key === "Escape" && i(!1);
5230
5230
  };
@@ -5236,8 +5236,8 @@ const Me = {
5236
5236
  n && i((b) => !b);
5237
5237
  }, v = (b) => {
5238
5238
  u(b);
5239
- }, S = (b, j, N) => {
5240
- const V = Ws(b, j, N);
5239
+ }, S = (b, j, L) => {
5240
+ const V = Ys(b, j, L);
5241
5241
  c(V), u(V), r?.(V), f();
5242
5242
  }, E = () => {
5243
5243
  y(d);
@@ -5248,7 +5248,7 @@ const Me = {
5248
5248
  c(""), u(""), r?.("");
5249
5249
  return;
5250
5250
  }
5251
- $r(b) ? (c(b), u(b), r?.(b)) : u(b);
5251
+ Nr(b) ? (c(b), u(b), r?.(b)) : u(b);
5252
5252
  };
5253
5253
  return /* @__PURE__ */ h.jsxs("div", { "data-component": "time-picker", children: [
5254
5254
  /* @__PURE__ */ h.jsx(
@@ -5268,9 +5268,9 @@ const Me = {
5268
5268
  }
5269
5269
  ),
5270
5270
  o && /* @__PURE__ */ h.jsx(We, { children: /* @__PURE__ */ h.jsx(
5271
- Us,
5271
+ Bs,
5272
5272
  {
5273
- value: Bs(l),
5273
+ value: Ws(l),
5274
5274
  onChange: S,
5275
5275
  targetRef: g,
5276
5276
  isOpen: o
@@ -5278,7 +5278,7 @@ const Me = {
5278
5278
  ) })
5279
5279
  ] });
5280
5280
  };
5281
- function Gs(t) {
5281
+ function qs(t) {
5282
5282
  return typeof t == "string" && /^\d{6}$/.test(t);
5283
5283
  }
5284
5284
  class bt {
@@ -5288,13 +5288,13 @@ class bt {
5288
5288
  this.class = e, this.time = r;
5289
5289
  }
5290
5290
  static fromDataObj(e) {
5291
- const r = Lr.get(`${e.t}${e.p}`);
5291
+ const r = $r.get(`${e.t}${e.p}`);
5292
5292
  if (r)
5293
5293
  return new bt(e, r.legacyToIso(e.k));
5294
5294
  throw new Error(`time creation from ${e.t}${e.p} not implemented yet`);
5295
5295
  }
5296
5296
  getLegacyValue() {
5297
- const e = Lr.get(`${this.class.t}${this.class.p}`);
5297
+ const e = $r.get(`${this.class.t}${this.class.p}`);
5298
5298
  if (e)
5299
5299
  return e.isoToLegacy(this.time);
5300
5300
  throw new Error(
@@ -5305,21 +5305,21 @@ class bt {
5305
5305
  return this.time;
5306
5306
  }
5307
5307
  }
5308
- const Lr = /* @__PURE__ */ new Map([
5308
+ const $r = /* @__PURE__ */ new Map([
5309
5309
  [
5310
5310
  "I12",
5311
5311
  {
5312
5312
  legacyToIso(t) {
5313
- return Gs(t) && `${t.substring(0, 2)}:${t.substring(2, 4)}:${t.substring(4, 6)}` || t;
5313
+ return qs(t) && `${t.substring(0, 2)}:${t.substring(2, 4)}:${t.substring(4, 6)}` || t;
5314
5314
  },
5315
5315
  isoToLegacy(t) {
5316
5316
  return t.replaceAll(":", "") || t;
5317
5317
  }
5318
5318
  }
5319
5319
  ]
5320
- ]), qs = {
5320
+ ]), Hs = {
5321
5321
  "smp-cell-wrapper": "_smp-cell-wrapper_mdlkz_1"
5322
- }, de = (t) => t == null ? !1 : typeof t == "string" ? t.toLocaleLowerCase() == "yes" || t.toLocaleLowerCase() == "true" : t, Jr = ({
5322
+ }, de = (t) => t == null ? !1 : typeof t == "string" ? t.toLocaleLowerCase() == "yes" || t.toLocaleLowerCase() == "true" : t, Xr = ({
5323
5323
  bindValue: t,
5324
5324
  disabled: e = !1,
5325
5325
  label: r,
@@ -5333,7 +5333,7 @@ const Lr = /* @__PURE__ */ new Map([
5333
5333
  const [c, d] = q(a), u = je(), p = (f) => {
5334
5334
  e || l.onChange?.(f.id, f.label);
5335
5335
  };
5336
- se(() => {
5336
+ re(() => {
5337
5337
  !c && o && i && o(i, void 0).then((f) => d(f)).catch((f) => {
5338
5338
  console.error("Error during loading options (button group)", f);
5339
5339
  });
@@ -5415,16 +5415,16 @@ const Lr = /* @__PURE__ */ new Map([
5415
5415
  tooltip: c,
5416
5416
  label: l,
5417
5417
  isEditable: E,
5418
- size: y.data && y.data.size ? y.data.size : y.data?.displayMode && Fs(y.data.displayMode || "CodeOnly"),
5418
+ size: y.data && y.data.size ? y.data.size : y.data?.displayMode && Ms(y.data.displayMode || "CodeOnly"),
5419
5419
  ...s
5420
- }, N = (T, _, W) => kn(n) ? Ne(T, new pt(n, _).getLegacyValue()) : An(n) ? Ne(T, new bt(n, _).getLegacyValue()) : u?.forceUppercase ? Ne(
5420
+ }, L = (T, _, W) => An(n) ? Le(T, new pt(n, _).getLegacyValue()) : In(n) ? Le(T, new bt(n, _).getLegacyValue()) : u?.forceUppercase ? Le(
5421
5421
  T,
5422
5422
  _.toLocaleUpperCase(),
5423
5423
  W
5424
- ) : Ne(T, _, W), V = (T, _) => Ne(
5424
+ ) : Le(T, _, W), V = (T, _) => Le(
5425
5425
  T,
5426
5426
  new Xe(n, _, C).getLegacyValue()
5427
- ), I = (T) => Ne(y, new ft(n, T).getLegacyValue()), P = (T) => Ps(y, T), $ = () => {
5427
+ ), I = (T) => Le(y, new ft(n, T).getLegacyValue()), P = (T) => Fs(y, T), N = () => {
5428
5428
  switch (b) {
5429
5429
  case te.AUTOCOMPLETE: {
5430
5430
  const T = {
@@ -5432,10 +5432,10 @@ const Lr = /* @__PURE__ */ new Map([
5432
5432
  bindValue: y.obj.k,
5433
5433
  optionalDisplayValue: e,
5434
5434
  onChange: (_, W) => {
5435
- p?.(N(y, _, W));
5435
+ p?.(L(y, _, W));
5436
5436
  }
5437
5437
  };
5438
- return /* @__PURE__ */ h.jsx(Hr, { ...T });
5438
+ return /* @__PURE__ */ h.jsx(zr, { ...T });
5439
5439
  }
5440
5440
  case te.BUTTON: {
5441
5441
  const T = s?.label && typeof s.label == "string" ? s.label : void 0, _ = {
@@ -5444,7 +5444,7 @@ const Lr = /* @__PURE__ */ new Map([
5444
5444
  showText: !!T,
5445
5445
  title: e,
5446
5446
  onClick: () => {
5447
- g?.(N(y, n.k));
5447
+ g?.(L(y, n.k));
5448
5448
  }
5449
5449
  };
5450
5450
  return /* @__PURE__ */ h.jsx(fe, { ..._ });
@@ -5457,7 +5457,7 @@ const Lr = /* @__PURE__ */ new Map([
5457
5457
  title: e,
5458
5458
  icon: a ?? "list",
5459
5459
  onClick: () => {
5460
- g?.(N(y, n.k));
5460
+ g?.(L(y, n.k));
5461
5461
  }
5462
5462
  };
5463
5463
  return /* @__PURE__ */ h.jsx(fe, { ...T });
@@ -5468,10 +5468,10 @@ const Lr = /* @__PURE__ */ new Map([
5468
5468
  options: d,
5469
5469
  onClick: (_, W) => {
5470
5470
  const H = { ...y, fun: W };
5471
- g?.(N(H, _));
5471
+ g?.(L(H, _));
5472
5472
  }
5473
5473
  };
5474
- return /* @__PURE__ */ h.jsx(js, { ...T });
5474
+ return /* @__PURE__ */ h.jsx(Ds, { ...T });
5475
5475
  }
5476
5476
  case te.CHIP: {
5477
5477
  const T = {
@@ -5499,7 +5499,7 @@ const Lr = /* @__PURE__ */ new Map([
5499
5499
  bindValue: y.obj.k,
5500
5500
  optionalDisplayValue: e,
5501
5501
  onChange: (_, W) => {
5502
- p?.(N(y, _, W));
5502
+ p?.(L(y, _, W));
5503
5503
  }
5504
5504
  };
5505
5505
  return /* @__PURE__ */ h.jsx(It, { ...T });
@@ -5509,10 +5509,10 @@ const Lr = /* @__PURE__ */ new Map([
5509
5509
  ...j,
5510
5510
  bindValue: pt.fromDataObj(n).getValue(),
5511
5511
  onChange: (_) => {
5512
- p?.(N(y, _));
5512
+ p?.(L(y, _));
5513
5513
  }
5514
5514
  };
5515
- return /* @__PURE__ */ h.jsx(zr, { ...T });
5515
+ return /* @__PURE__ */ h.jsx(Kr, { ...T });
5516
5516
  }
5517
5517
  case te.ICON:
5518
5518
  case te.IMAGE: {
@@ -5521,7 +5521,7 @@ const Lr = /* @__PURE__ */ new Map([
5521
5521
  icon: a,
5522
5522
  isInteractable: !!j.fun,
5523
5523
  onClick: () => {
5524
- g?.(N(y, n.k));
5524
+ g?.(L(y, n.k));
5525
5525
  }
5526
5526
  };
5527
5527
  return /* @__PURE__ */ h.jsx(ue, { ...T });
@@ -5534,7 +5534,7 @@ const Lr = /* @__PURE__ */ new Map([
5534
5534
  p?.(V(y, _));
5535
5535
  }
5536
5536
  };
5537
- return /* @__PURE__ */ h.jsx(Kr, { ...T });
5537
+ return /* @__PURE__ */ h.jsx(Jr, { ...T });
5538
5538
  }
5539
5539
  case te.EDITOR:
5540
5540
  case te.MEMO: {
@@ -5543,10 +5543,10 @@ const Lr = /* @__PURE__ */ new Map([
5543
5543
  bindValue: n.k,
5544
5544
  optionalDisplayValue: e,
5545
5545
  onChange: (_) => {
5546
- p?.(N(y, _));
5546
+ p?.(L(y, _));
5547
5547
  }
5548
5548
  };
5549
- return /* @__PURE__ */ h.jsx(Ms, { ...T });
5549
+ return /* @__PURE__ */ h.jsx(Vs, { ...T });
5550
5550
  }
5551
5551
  case te.MULTI_AUTOCOMPLETE: {
5552
5552
  const T = {
@@ -5556,37 +5556,37 @@ const Lr = /* @__PURE__ */ new Map([
5556
5556
  p?.(P(_));
5557
5557
  }
5558
5558
  };
5559
- return /* @__PURE__ */ h.jsx(Ns, { ...T });
5559
+ return /* @__PURE__ */ h.jsx(ks, { ...T });
5560
5560
  }
5561
5561
  case te.PASSWORD: {
5562
5562
  const T = {
5563
5563
  ...j,
5564
5564
  bindValue: y.obj.k,
5565
5565
  onChange: (_) => {
5566
- p?.(N(y, _));
5566
+ p?.(L(y, _));
5567
5567
  }
5568
5568
  };
5569
- return /* @__PURE__ */ h.jsx(ks, { ...T });
5569
+ return /* @__PURE__ */ h.jsx(As, { ...T });
5570
5570
  }
5571
5571
  case te.RADIO: {
5572
5572
  const T = {
5573
5573
  ...j,
5574
5574
  bindValue: n.k,
5575
5575
  onChange: (_, W) => {
5576
- p?.(N(y, _, W));
5576
+ p?.(L(y, _, W));
5577
5577
  }
5578
5578
  };
5579
- return /* @__PURE__ */ h.jsx(Vs, { ...T });
5579
+ return /* @__PURE__ */ h.jsx(Us, { ...T });
5580
5580
  }
5581
5581
  case te.SPOTLIGHT: {
5582
5582
  const T = {
5583
5583
  ...j,
5584
5584
  bindValue: y.obj.k,
5585
5585
  onEnter: (_) => {
5586
- f?.(N(y, _));
5586
+ f?.(L(y, _));
5587
5587
  }
5588
5588
  };
5589
- return /* @__PURE__ */ h.jsx(As, { ...T });
5589
+ return /* @__PURE__ */ h.jsx(Is, { ...T });
5590
5590
  }
5591
5591
  case te.TEXT_FIELD: {
5592
5592
  const T = {
@@ -5594,30 +5594,30 @@ const Lr = /* @__PURE__ */ new Map([
5594
5594
  bindValue: y.obj.k,
5595
5595
  optionalDisplayValue: e,
5596
5596
  onChange: (_) => {
5597
- p?.(N(y, _));
5597
+ p?.(L(y, _));
5598
5598
  }
5599
5599
  };
5600
- return /* @__PURE__ */ h.jsx($e, { ...T });
5600
+ return /* @__PURE__ */ h.jsx(Ne, { ...T });
5601
5601
  }
5602
5602
  case te.BUTTON_GROUP: {
5603
5603
  const T = {
5604
5604
  ...j,
5605
5605
  bindValue: n.k,
5606
5606
  onChange: (_, W) => {
5607
- p?.(N(y, _, W));
5607
+ p?.(L(y, _, W));
5608
5608
  }
5609
5609
  };
5610
- return /* @__PURE__ */ h.jsx(Jr, { ...T });
5610
+ return /* @__PURE__ */ h.jsx(Xr, { ...T });
5611
5611
  }
5612
5612
  case te.TIME: {
5613
5613
  const T = {
5614
5614
  ...j,
5615
5615
  bindValue: bt.fromDataObj(n).getValue(),
5616
5616
  onChange: (_) => {
5617
- p?.(N(y, _));
5617
+ p?.(L(y, _));
5618
5618
  }
5619
5619
  };
5620
- return /* @__PURE__ */ h.jsx(Ys, { ...T });
5620
+ return /* @__PURE__ */ h.jsx(Gs, { ...T });
5621
5621
  }
5622
5622
  default: {
5623
5623
  const T = {
@@ -5625,11 +5625,11 @@ const Lr = /* @__PURE__ */ new Map([
5625
5625
  bindValue: y.obj.k,
5626
5626
  optionalDisplayValue: e
5627
5627
  };
5628
- return /* @__PURE__ */ h.jsx(Is, { ...T });
5628
+ return /* @__PURE__ */ h.jsx(Ps, { ...T });
5629
5629
  }
5630
5630
  }
5631
5631
  }, O = {
5632
- wrapper: `${qs["smp-cell-wrapper"]}`
5632
+ wrapper: `${Hs["smp-cell-wrapper"]}`
5633
5633
  };
5634
5634
  return /* @__PURE__ */ h.jsx(
5635
5635
  "span",
@@ -5638,10 +5638,10 @@ const Lr = /* @__PURE__ */ new Map([
5638
5638
  onContextMenu: (T) => {
5639
5639
  S && c && (T.preventDefault(), S(y, T.currentTarget));
5640
5640
  },
5641
- children: $()
5641
+ children: N()
5642
5642
  }
5643
5643
  );
5644
- }, Ta = ({
5644
+ }, Oa = ({
5645
5645
  data: t,
5646
5646
  onClick: e,
5647
5647
  onEnter: r,
@@ -5688,15 +5688,15 @@ const Lr = /* @__PURE__ */ new Map([
5688
5688
  },
5689
5689
  [e, r, n]
5690
5690
  );
5691
- return se(() => {
5691
+ return re(() => {
5692
5692
  t && a(o(t));
5693
5693
  }, [t, o]), !t?.rows?.length || !t.columns?.length ? null : s && /* @__PURE__ */ h.jsx("header", { className: "smp-appbar", "aria-label": "App Bar", children: /* @__PURE__ */ h.jsx(dt, { layout: t.rows[0].layout, children: Object.values(s).map((i) => /* @__PURE__ */ h.jsx(ke, { ...i })) }) });
5694
- }, Hs = (t) => t.children?.length ? t.children.map((e) => ({
5694
+ }, zs = (t) => t.children?.length ? t.children.map((e) => ({
5695
5695
  id: e.obj?.k ?? "",
5696
5696
  label: e.decode ?? e.value ?? e.obj?.k ?? "",
5697
5697
  fun: e.fun,
5698
5698
  icon: e.icon
5699
- })) : [], Oa = ({
5699
+ })) : [], _a = ({
5700
5700
  data: t,
5701
5701
  logo: e,
5702
5702
  open: r,
@@ -5713,17 +5713,17 @@ const Lr = /* @__PURE__ */ new Map([
5713
5713
  if (!y?.rows?.length || !y?.columns?.length)
5714
5714
  return {};
5715
5715
  const b = y.rows[0];
5716
- return y.columns.filter((j) => j.visible ?? !0).reduce((j, N) => {
5717
- const V = b.cells[N.name];
5716
+ return y.columns.filter((j) => j.visible ?? !0).reduce((j, L) => {
5717
+ const V = b.cells[L.name];
5718
5718
  if (!V || !p && de(n) && V.shape !== te.BUTTON && V.shape !== te.BUTTON_LIST)
5719
5719
  return j;
5720
5720
  const I = {
5721
5721
  ...V,
5722
- id: N.name,
5722
+ id: L.name,
5723
5723
  onChange: (P) => {
5724
- u(($) => {
5725
- const O = { ...$ };
5726
- return O?.[N.name] && (O[N.name].obj.k = P.obj.k), O;
5724
+ u((N) => {
5725
+ const O = { ...N };
5726
+ return O?.[L.name] && (O[L.name].obj.k = P.obj.k), O;
5727
5727
  });
5728
5728
  },
5729
5729
  onClick: (P) => {
@@ -5732,12 +5732,12 @@ const Lr = /* @__PURE__ */ new Map([
5732
5732
  onEnter: (P) => {
5733
5733
  o && o(P);
5734
5734
  },
5735
- onContextMenu: (P, $) => {
5736
- c && c(P, $);
5735
+ onContextMenu: (P, N) => {
5736
+ c && c(P, N);
5737
5737
  }
5738
5738
  };
5739
- return l && V.shape == te.BUTTON_LIST && (I.onOptionsRequest = (P, $) => l(P, $).then(
5740
- (O) => Hs(O)
5739
+ return l && V.shape == te.BUTTON_LIST && (I.onOptionsRequest = (P, N) => l(P, N).then(
5740
+ (O) => zs(O)
5741
5741
  )), !p && de(n) && (I.data = {
5742
5742
  ...I.data,
5743
5743
  showText: !1,
@@ -5745,7 +5745,7 @@ const Lr = /* @__PURE__ */ new Map([
5745
5745
  squared: !0
5746
5746
  }), {
5747
5747
  ...j,
5748
- [N.name]: I
5748
+ [L.name]: I
5749
5749
  };
5750
5750
  }, {});
5751
5751
  },
@@ -5755,9 +5755,9 @@ const Lr = /* @__PURE__ */ new Map([
5755
5755
  }, [i]), E = () => {
5756
5756
  de(n) ? g((y) => !y) : (g(!1), i?.());
5757
5757
  };
5758
- if (se(() => {
5758
+ if (re(() => {
5759
5759
  u(v(t));
5760
- }, [t]), se(() => {
5760
+ }, [t]), re(() => {
5761
5761
  if (!f.current)
5762
5762
  return;
5763
5763
  if (!de(n)) {
@@ -5771,7 +5771,7 @@ const Lr = /* @__PURE__ */ new Map([
5771
5771
  y.endsWith("ms") ? b = parseFloat(y) : y.endsWith("s") && (b = parseFloat(y) * 1e3), setTimeout(() => {
5772
5772
  u(v(t));
5773
5773
  }, b / 2);
5774
- }, [p, n]), se(() => {
5774
+ }, [p, n]), re(() => {
5775
5775
  r !== void 0 && !de(n) && g(r);
5776
5776
  }, [n, r]), !t?.rows?.length || !t.columns?.length)
5777
5777
  return null;
@@ -5831,7 +5831,7 @@ const Lr = /* @__PURE__ */ new Map([
5831
5831
  }
5832
5832
  )
5833
5833
  ] });
5834
- }, _a = ({
5834
+ }, Ra = ({
5835
5835
  ColumnsNumber: t = 1,
5836
5836
  data: e = {},
5837
5837
  ForceText: r,
@@ -5853,14 +5853,14 @@ const Lr = /* @__PURE__ */ new Map([
5853
5853
  SelectLayout: E = "1",
5854
5854
  onClick: C
5855
5855
  }) => {
5856
- const y = "N/A", b = e?.columns || [], j = e?.rows || [], N = j.length > 0, V = "--smp-dashList-color", I = "smp-layout", P = "descr", $ = "icon", O = "um", T = "value", _ = o || "1em", W = "18px", H = "--smp-dashList-columns", X = "--smp-dashList-fontSize", Q = {
5856
+ const y = "N/A", b = e?.columns || [], j = e?.rows || [], L = j.length > 0, V = "--smp-dashList-color", I = "smp-layout", P = "descr", N = "icon", O = "um", T = "value", _ = o || "1em", W = "18px", H = "--smp-dashList-columns", X = "--smp-dashList-fontSize", Q = {
5857
5857
  dash: (M = "1") => {
5858
- const z = m(M), ee = z, ae = w(z, P), Ee = w(z, $), Le = w(z, O), he = w(z, T);
5858
+ const z = m(M), ee = z, ae = w(z, P), Ee = w(z, N), $e = w(z, O), he = w(z, T);
5859
5859
  return {
5860
5860
  container: ee,
5861
5861
  descr: ae,
5862
5862
  icon: Ee,
5863
- um: Le,
5863
+ um: $e,
5864
5864
  value: he
5865
5865
  };
5866
5866
  },
@@ -5880,8 +5880,8 @@ const Lr = /* @__PURE__ */ new Map([
5880
5880
  (Ce) => parseInt(Ce || "0")
5881
5881
  ), ae = "0,0" + (ee ? "." + "0".repeat(ee) : ""), Ee = A(M, ae, "it");
5882
5882
  if (!z) return Ee;
5883
- const [Le, he] = Ee.split(",");
5884
- return Le + (he ? `,${he}` : "");
5883
+ const [$e, he] = Ee.split(",");
5884
+ return $e + (he ? `,${he}` : "");
5885
5885
  }, F = (M) => M.includes(";") ? M.split(";") : [M], U = (M) => {
5886
5886
  const z = (ae) => {
5887
5887
  if (ae)
@@ -5913,12 +5913,12 @@ const Lr = /* @__PURE__ */ new Map([
5913
5913
  icon: ee,
5914
5914
  width: W
5915
5915
  }
5916
- ) }, `${M}-${$}`),
5916
+ ) }, `${M}-${N}`),
5917
5917
  um: (ee) => /* @__PURE__ */ h.jsx("div", { className: z.um, children: ee }, `${M}-${O}`),
5918
5918
  value: (ee) => /* @__PURE__ */ h.jsx("div", { className: z.value, children: ee }, `${M}-${T}`)
5919
5919
  };
5920
5920
  })(E), Y = (M) => {
5921
- const { descr: z, icon: ee, um: ae, value: Ee } = U(M), Le = {
5921
+ const { descr: z, icon: ee, um: ae, value: Ee } = U(M), $e = {
5922
5922
  [D(P)]: k(s),
5923
5923
  [D(O)]: k(f),
5924
5924
  [D(T)]: k(S)
@@ -5940,19 +5940,19 @@ const Lr = /* @__PURE__ */ new Map([
5940
5940
  {
5941
5941
  className: K.className.container,
5942
5942
  role: "button",
5943
- style: Le,
5943
+ style: $e,
5944
5944
  tabIndex: 0,
5945
5945
  onClick: () => G(M),
5946
- onKeyDown: (tn) => B(tn, M),
5946
+ onKeyDown: (rn) => B(rn, M),
5947
5947
  children: he
5948
5948
  },
5949
5949
  M.rowId
5950
5950
  );
5951
- }, L = {
5951
+ }, $ = {
5952
5952
  [H]: String(t),
5953
5953
  [X]: _
5954
5954
  };
5955
- return /* @__PURE__ */ h.jsx("div", { className: Q.dashList, style: L, children: N ? j.map((M) => Y(M)) : y });
5955
+ return /* @__PURE__ */ h.jsx("div", { className: Q.dashList, style: $, children: L ? j.map((M) => Y(M)) : y });
5956
5956
  }, Oe = {
5957
5957
  "smp-table": "_smp-table_1kjdp_1",
5958
5958
  "smp-headerCell": "_smp-headerCell_1kjdp_35",
@@ -5973,10 +5973,10 @@ const Lr = /* @__PURE__ */ new Map([
5973
5973
  function lt(t) {
5974
5974
  return !!t && "children" in t;
5975
5975
  }
5976
- function zs(t) {
5976
+ function Ks(t) {
5977
5977
  return !lt(t);
5978
5978
  }
5979
- function Nr(t) {
5979
+ function Lr(t) {
5980
5980
  const e = JSON.stringify(t, Object.keys(t).sort());
5981
5981
  let r = 0, n, s;
5982
5982
  if (e.length === 0) return r.toString();
@@ -5984,7 +5984,7 @@ function Nr(t) {
5984
5984
  s = e.charCodeAt(n), r = (r << 5) - r + s, r |= 0;
5985
5985
  return Math.abs(r).toString();
5986
5986
  }
5987
- const Xr = ({
5987
+ const Qr = ({
5988
5988
  row: t,
5989
5989
  columns: e,
5990
5990
  columnWidths: r = {},
@@ -6003,7 +6003,7 @@ const Xr = ({
6003
6003
  indent: `${Te["smp-row-indent"]}`,
6004
6004
  cell: `${Te["smp-row-wrapperCell"]}`,
6005
6005
  leftSection: `${Te["smp-row-leftSection"]}`
6006
- }, S = (N) => /* @__PURE__ */ h.jsx(ke, { ...N }), E = () => /* @__PURE__ */ h.jsx("span", { className: v.toggle, children: g && /* @__PURE__ */ h.jsx(
6006
+ }, S = (L) => /* @__PURE__ */ h.jsx(ke, { ...L }), E = () => /* @__PURE__ */ h.jsx("span", { className: v.toggle, children: g && /* @__PURE__ */ h.jsx(
6007
6007
  ue,
6008
6008
  {
6009
6009
  icon: c ? "arrow_drop_right" : "arrow_drop_down",
@@ -6028,7 +6028,7 @@ const Xr = ({
6028
6028
  }
6029
6029
  );
6030
6030
  }, b = () => {
6031
- const N = zs(t) ? "" : t.decode || (p ? "" : "Untitled"), V = a ?? s * n;
6031
+ const L = Ks(t) ? "" : t.decode || (p ? "" : "Untitled"), V = a ?? s * n;
6032
6032
  return /* @__PURE__ */ h.jsxs(
6033
6033
  "tr",
6034
6034
  {
@@ -6062,7 +6062,7 @@ const Xr = ({
6062
6062
  children: [
6063
6063
  C(),
6064
6064
  E(),
6065
- /* @__PURE__ */ h.jsx("span", { className: Te.rowLabel, children: N })
6065
+ /* @__PURE__ */ h.jsx("span", { className: Te.rowLabel, children: L })
6066
6066
  ]
6067
6067
  }
6068
6068
  ),
@@ -6082,7 +6082,7 @@ const Xr = ({
6082
6082
  id: I.name
6083
6083
  })
6084
6084
  },
6085
- Nr(P) || I.name
6085
+ Lr(P) || I.name
6086
6086
  ) : null;
6087
6087
  }) : t.cells && Object.entries(t.cells).map(([I, P]) => /* @__PURE__ */ h.jsx(
6088
6088
  "td",
@@ -6096,15 +6096,15 @@ const Xr = ({
6096
6096
  id: I
6097
6097
  })
6098
6098
  },
6099
- Nr(P) || I
6099
+ Lr(P) || I
6100
6100
  ))
6101
6101
  ]
6102
6102
  }
6103
6103
  );
6104
- }, j = () => c || !u ? null : /* @__PURE__ */ h.jsx(h.Fragment, { children: lt(t) && t.children?.map((N, V) => /* @__PURE__ */ h.jsx(
6105
- Xr,
6104
+ }, j = () => c || !u ? null : /* @__PURE__ */ h.jsx(h.Fragment, { children: lt(t) && t.children?.map((L, V) => /* @__PURE__ */ h.jsx(
6105
+ Qr,
6106
6106
  {
6107
- row: N,
6107
+ row: L,
6108
6108
  level: n + 1,
6109
6109
  columns: e,
6110
6110
  columnWidths: r
@@ -6116,11 +6116,11 @@ const Xr = ({
6116
6116
  j()
6117
6117
  ] });
6118
6118
  };
6119
- function Ks(t, e) {
6119
+ function Js(t, e) {
6120
6120
  const r = new Set(t);
6121
6121
  return r.has(e) ? r.delete(e) : r.add(e), r;
6122
6122
  }
6123
- function Js(t, e) {
6123
+ function Xs(t, e) {
6124
6124
  return t.map((r) => {
6125
6125
  const n = e.find((s) => s.column === r.bindValue);
6126
6126
  return {
@@ -6129,7 +6129,7 @@ function Js(t, e) {
6129
6129
  };
6130
6130
  });
6131
6131
  }
6132
- function Xs(t, e, r, n) {
6132
+ function Qs(t, e, r, n) {
6133
6133
  const s = [];
6134
6134
  let a = 0;
6135
6135
  return o(t, 0, []), { flatRows: s, offset: a };
@@ -6170,14 +6170,14 @@ function Xs(t, e, r, n) {
6170
6170
  s.push(p), a += r;
6171
6171
  }
6172
6172
  }
6173
- const Qs = ({
6173
+ const Zs = ({
6174
6174
  columns: t,
6175
6175
  rows: e,
6176
6176
  containerRef: r,
6177
6177
  sizingMode: n
6178
6178
  }) => {
6179
6179
  const [s, a] = q({});
6180
- return se(() => {
6180
+ return re(() => {
6181
6181
  if (!(!t || t.length === 0)) {
6182
6182
  if (n === "fixed") {
6183
6183
  const i = Object.fromEntries(
@@ -6204,7 +6204,7 @@ const Qs = ({
6204
6204
  }
6205
6205
  }, [t, e, r, n]), [s, a];
6206
6206
  };
6207
- function Zs(t, e) {
6207
+ function ea(t, e) {
6208
6208
  return t.map((r) => ({
6209
6209
  id: r.name,
6210
6210
  label: r.title,
@@ -6212,17 +6212,17 @@ function Zs(t, e) {
6212
6212
  }));
6213
6213
  }
6214
6214
  function kr(t, e) {
6215
- return t ? typeof t == "object" && "logic" in t && "filters" in t ? t : typeof t == "string" ? ea(t, e) : { logic: "and", filters: [] } : { logic: "and", filters: [] };
6215
+ return t ? typeof t == "object" && "logic" in t && "filters" in t ? t : typeof t == "string" ? ta(t, e) : { logic: "and", filters: [] } : { logic: "and", filters: [] };
6216
6216
  }
6217
- function ea(t, e) {
6217
+ function ta(t, e) {
6218
6218
  const r = t.split("|").map((s) => s.trim()).filter(Boolean), n = [];
6219
6219
  for (const s of r) {
6220
- const a = ta(s, e);
6220
+ const a = ra(s, e);
6221
6221
  a && n.push(a);
6222
6222
  }
6223
6223
  return { logic: "and", filters: n };
6224
6224
  }
6225
- function ta(t, e) {
6225
+ function ra(t, e) {
6226
6226
  if (!t.trim()) return null;
6227
6227
  if (t.includes(";OR;")) {
6228
6228
  const n = t.split(";OR;").map((l) => l.trim()).filter(Boolean);
@@ -6256,7 +6256,7 @@ function jt(t, e, r, n) {
6256
6256
  const l = e.find((u) => u.id === a) ?? (r && n ? { id: r, label: r, type: n } : void 0);
6257
6257
  if (!l)
6258
6258
  throw new Error(`Campo '${a}' non trovato nei FieldOption.`);
6259
- const c = { id: o, label: "" }, d = ra(i, l.type);
6259
+ const c = { id: o, label: "" }, d = na(i, l.type);
6260
6260
  return {
6261
6261
  field: l,
6262
6262
  columnsType: l.type,
@@ -6264,7 +6264,7 @@ function jt(t, e, r, n) {
6264
6264
  value: d
6265
6265
  };
6266
6266
  }
6267
- function ra(t, e) {
6267
+ function na(t, e) {
6268
6268
  switch (e) {
6269
6269
  case "number":
6270
6270
  return Number(t);
@@ -6274,38 +6274,38 @@ function ra(t, e) {
6274
6274
  return t;
6275
6275
  }
6276
6276
  }
6277
- function na(t, e) {
6278
- return !e || "filters" in e && e.filters.length === 0 ? t : t.filter((r) => Qr(e, r));
6277
+ function sa(t, e) {
6278
+ return !e || "filters" in e && e.filters.length === 0 ? t : t.filter((r) => Zr(e, r));
6279
6279
  }
6280
- function Qr(t, e) {
6280
+ function Zr(t, e) {
6281
6281
  if ("filters" in t) {
6282
6282
  const { logic: r, filters: n } = t;
6283
6283
  if (n.length === 0) return !0;
6284
- const s = n.map((a) => Qr(a, e));
6284
+ const s = n.map((a) => Zr(a, e));
6285
6285
  return r === "and" ? s.every(Boolean) : s.some(Boolean);
6286
6286
  }
6287
- return sa(t, e);
6287
+ return aa(t, e);
6288
6288
  }
6289
- function sa(t, e) {
6290
- const { field: r, operator: n, value: s, columnsType: a } = t, o = e.cells?.[r.id], i = aa(o);
6289
+ function aa(t, e) {
6290
+ const { field: r, operator: n, value: s, columnsType: a } = t, o = e.cells?.[r.id], i = oa(o);
6291
6291
  if (i == null) return !1;
6292
6292
  switch (a) {
6293
6293
  case "string":
6294
- return oa(i, n.id, s);
6295
- case "number":
6296
6294
  return ia(i, n.id, s);
6297
- case "date":
6295
+ case "number":
6298
6296
  return la(i, n.id, s);
6297
+ case "date":
6298
+ return ca(i, n.id, s);
6299
6299
  default:
6300
6300
  return !1;
6301
6301
  }
6302
6302
  }
6303
- function aa(t) {
6303
+ function oa(t) {
6304
6304
  if (t == null || typeof t != "object") return t;
6305
6305
  if ("value" in t) return t.value;
6306
6306
  if ("decode" in t) return t.decode;
6307
6307
  }
6308
- function oa(t, e, r) {
6308
+ function ia(t, e, r) {
6309
6309
  const n = String(t).toLowerCase(), s = String(r).toLowerCase();
6310
6310
  switch (e.toLowerCase()) {
6311
6311
  case "contains":
@@ -6320,7 +6320,7 @@ function oa(t, e, r) {
6320
6320
  return !1;
6321
6321
  }
6322
6322
  }
6323
- function ia(t, e, r) {
6323
+ function la(t, e, r) {
6324
6324
  const n = Number(t), s = Number(r);
6325
6325
  if (isNaN(n) || isNaN(s)) return !1;
6326
6326
  switch (e.toLowerCase()) {
@@ -6340,7 +6340,7 @@ function ia(t, e, r) {
6340
6340
  return !1;
6341
6341
  }
6342
6342
  }
6343
- function la(t, e, r) {
6343
+ function ca(t, e, r) {
6344
6344
  const n = new Date(t), s = new Date(r);
6345
6345
  if (isNaN(n.getTime()) || isNaN(s.getTime())) return !1;
6346
6346
  switch (e.toLowerCase()) {
@@ -6359,16 +6359,16 @@ function la(t, e, r) {
6359
6359
  return !1;
6360
6360
  }
6361
6361
  }
6362
- const ca = (t, e) => {
6362
+ const ua = (t, e) => {
6363
6363
  const r = (n) => n.filters.some(
6364
6364
  (s) => "filters" in s ? r(s) : s.field.id === t && s.operator && s.value !== ""
6365
6365
  );
6366
6366
  return r(e);
6367
- }, ua = (t) => {
6367
+ }, da = (t) => {
6368
6368
  const e = (r) => r.filters.reduce((n, s) => "filters" in s ? n + e(s) : n + 1, 0);
6369
6369
  return e(t);
6370
6370
  };
6371
- function da(t, e) {
6371
+ function fa(t, e) {
6372
6372
  const r = ie(null), n = oe((o) => {
6373
6373
  r.current = o;
6374
6374
  }, []), s = oe((o) => {
@@ -6390,7 +6390,7 @@ function da(t, e) {
6390
6390
  handleDrop: a
6391
6391
  };
6392
6392
  }
6393
- function Zr(t, e, r) {
6393
+ function en(t, e, r) {
6394
6394
  const n = [...t.rows].sort((s, a) => {
6395
6395
  const o = s.cells[e]?.obj?.k, i = a.cells[e]?.obj?.k;
6396
6396
  return o == null && i != null ? r === "asc" ? 1 : -1 : o != null && i == null ? r === "asc" ? -1 : 1 : o == null && i == null ? 0 : r === "asc" ? String(o).localeCompare(String(i)) : String(i).localeCompare(String(o));
@@ -6400,10 +6400,10 @@ function Zr(t, e, r) {
6400
6400
  rows: n
6401
6401
  };
6402
6402
  }
6403
- function fa(t) {
6403
+ function pa(t) {
6404
6404
  const [e, r] = q(null), [n, s] = q("asc");
6405
6405
  return {
6406
- sortedRows: ze(() => e ? Zr({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6406
+ sortedRows: ze(() => e ? en({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6407
6407
  sortBy: e,
6408
6408
  sortOrder: n,
6409
6409
  handleSort: (i) => {
@@ -6411,7 +6411,7 @@ function fa(t) {
6411
6411
  }
6412
6412
  };
6413
6413
  }
6414
- const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", { children: /* @__PURE__ */ h.jsx("tr", { children: t.map(
6414
+ const ha = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", { children: /* @__PURE__ */ h.jsx("tr", { children: t.map(
6415
6415
  (r) => r.visible && /* @__PURE__ */ h.jsx(
6416
6416
  "td",
6417
6417
  {
@@ -6424,7 +6424,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6424
6424
  },
6425
6425
  r.name
6426
6426
  )
6427
- ) }) }), ha = ({
6427
+ ) }) }), ma = ({
6428
6428
  label: t,
6429
6429
  rowHeight: e = 28,
6430
6430
  offsetTop: r = 0,
@@ -6474,7 +6474,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6474
6474
  "smp-filter-list": "_smp-filter-list_1dest_24",
6475
6475
  "smp-filter-toolbar": "_smp-filter-toolbar_1dest_31",
6476
6476
  "smp-filter-actionButtons": "_smp-filter-actionButtons_1dest_41"
6477
- }, ma = ({ filter: t, onChange: e, onDelete: r, fieldOptions: n, hasCurrentColumn: s }) => {
6477
+ }, ga = ({ filter: t, onChange: e, onDelete: r, fieldOptions: n, hasCurrentColumn: s }) => {
6478
6478
  const { translate: a } = Se(), o = {
6479
6479
  string: [
6480
6480
  { id: "st", label: a(ye.STRING_STARTS) },
@@ -6529,7 +6529,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6529
6529
  switch (t.columnsType) {
6530
6530
  case "string":
6531
6531
  return /* @__PURE__ */ h.jsx(
6532
- $e,
6532
+ Ne,
6533
6533
  {
6534
6534
  bindValue: t.value,
6535
6535
  onChange: c
@@ -6537,7 +6537,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6537
6537
  );
6538
6538
  case "number":
6539
6539
  return /* @__PURE__ */ h.jsx(
6540
- Kr,
6540
+ Jr,
6541
6541
  {
6542
6542
  bindValue: t.value,
6543
6543
  onChange: c
@@ -6545,7 +6545,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6545
6545
  );
6546
6546
  case "date":
6547
6547
  return /* @__PURE__ */ h.jsx(
6548
- zr,
6548
+ Kr,
6549
6549
  {
6550
6550
  bindValue: t.value,
6551
6551
  onChange: c
@@ -6594,7 +6594,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6594
6594
  }
6595
6595
  )
6596
6596
  ] });
6597
- }, en = ({
6597
+ }, tn = ({
6598
6598
  group: t,
6599
6599
  onChange: e,
6600
6600
  onDelete: r,
@@ -6661,7 +6661,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6661
6661
  children: [
6662
6662
  /* @__PURE__ */ h.jsxs("div", { className: v.filterToolbar, children: [
6663
6663
  c && /* @__PURE__ */ h.jsx(
6664
- Jr,
6664
+ Xr,
6665
6665
  {
6666
6666
  options: [
6667
6667
  { id: "and", label: "AND" },
@@ -6720,7 +6720,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6720
6720
  ] }),
6721
6721
  /* @__PURE__ */ h.jsx("div", { className: v.filterList, children: t.filters.map((S, E) => ({ filter: S, index: E })).filter(({ filter: S }) => l ? "logic" in S ? S.filters.some((E) => "logic" in E ? !1 : E.field.id === l) : S.field.id === l : !0).map(
6722
6722
  ({ filter: S, index: E }) => "logic" in S ? /* @__PURE__ */ h.jsx(
6723
- en,
6723
+ tn,
6724
6724
  {
6725
6725
  group: S,
6726
6726
  onChange: (C) => u(E, C),
@@ -6734,7 +6734,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6734
6734
  },
6735
6735
  E
6736
6736
  ) : /* @__PURE__ */ h.jsx(
6737
- ma,
6737
+ ga,
6738
6738
  {
6739
6739
  filter: S,
6740
6740
  onChange: (C) => u(E, C),
@@ -6763,7 +6763,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6763
6763
  filterWrapper: `${Ue["smp-filter-wrapper"]}`
6764
6764
  };
6765
6765
  return /* @__PURE__ */ h.jsx("div", { className: c.filterWrapper, ref: a, children: /* @__PURE__ */ h.jsx(
6766
- en,
6766
+ tn,
6767
6767
  {
6768
6768
  group: t,
6769
6769
  onChange: e,
@@ -6775,7 +6775,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6775
6775
  onClose: l
6776
6776
  }
6777
6777
  ) });
6778
- }, ga = ({
6778
+ }, ba = ({
6779
6779
  groups: t = [],
6780
6780
  isDraggable: e = !0,
6781
6781
  isEditable: r = !0,
@@ -6809,7 +6809,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6809
6809
  ]
6810
6810
  }
6811
6811
  );
6812
- }, ba = ({
6812
+ }, ya = ({
6813
6813
  columns: t,
6814
6814
  columnWidths: e,
6815
6815
  groups: r,
@@ -6833,22 +6833,22 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6833
6833
  onGroupDragOver: y,
6834
6834
  onMouseDown: b,
6835
6835
  onToggleAllRows: j,
6836
- onSort: N,
6836
+ onSort: L,
6837
6837
  onDragStart: V,
6838
6838
  onDragOver: I,
6839
6839
  onDrop: P
6840
6840
  }) => {
6841
- const $ = ie({}), { anchorRef: O, targetRef: T } = Be({
6841
+ const N = ie({}), { anchorRef: O, targetRef: T } = Be({
6842
6842
  position: "bottom",
6843
6843
  enabled: a
6844
6844
  }), { anchorRef: _, targetRef: W } = Be({
6845
6845
  position: "bottom",
6846
6846
  enabled: o !== null
6847
6847
  }), H = oe(
6848
- (A) => ca(A, i),
6848
+ (A) => ua(A, i),
6849
6849
  [i]
6850
6850
  ), X = ze(
6851
- () => ua(i),
6851
+ () => da(i),
6852
6852
  [i]
6853
6853
  ), Q = {
6854
6854
  headerCell: `${Oe["smp-headerCell"]}`,
@@ -6883,7 +6883,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6883
6883
  ) })
6884
6884
  ] }) }),
6885
6885
  (r || s) && /* @__PURE__ */ h.jsx(
6886
- ga,
6886
+ ba,
6887
6887
  {
6888
6888
  groups: n,
6889
6889
  onChange: E,
@@ -6918,7 +6918,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6918
6918
  {
6919
6919
  draggable: !0,
6920
6920
  role: "columnheader",
6921
- onClick: () => N(A.name),
6921
+ onClick: () => L(A.name),
6922
6922
  onDragStart: () => V(A.name),
6923
6923
  onDragOver: I,
6924
6924
  onDrop: () => P(A.name),
@@ -6937,7 +6937,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
6937
6937
  },
6938
6938
  className: Q.headerCellContainer,
6939
6939
  ref: (m) => {
6940
- $.current[A.name] = m, o === A.name && m && (typeof _ == "function" ? _(m) : _ && "current" in _ && (_.current = m));
6940
+ N.current[A.name] = m, o === A.name && m && (typeof _ == "function" ? _(m) : _ && "current" in _ && (_.current = m));
6941
6941
  },
6942
6942
  children: [
6943
6943
  /* @__PURE__ */ h.jsx(Ae, { variant: "title", bindValue: A.title }),
@@ -7001,7 +7001,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7001
7001
  )
7002
7002
  ] })
7003
7003
  ] });
7004
- }, Ra = ({
7004
+ }, ja = ({
7005
7005
  data: t,
7006
7006
  lineHeight: e = 28,
7007
7007
  TableHeight: r = 400,
@@ -7013,39 +7013,39 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7013
7013
  }) => {
7014
7014
  const [l, c] = q(
7015
7015
  t ?? { columns: [], rows: [] }
7016
- ), [d, u] = q(n || []), [p, g] = q(/* @__PURE__ */ new Set()), [f, x] = q(!1), [v, S] = q(/* @__PURE__ */ new Set()), [E, C] = q(null), y = ze(() => Zs(t?.columns || []), [t?.columns]), [b, j] = q(() => kr(o, y)), N = ie(null), [V, I] = Qs({
7016
+ ), [d, u] = q(n || []), [p, g] = q(/* @__PURE__ */ new Set()), [f, x] = q(!1), [v, S] = q(/* @__PURE__ */ new Set()), [E, C] = q(null), y = ze(() => ea(t?.columns || []), [t?.columns]), [b, j] = q(() => kr(o, y)), L = ie(null), [V, I] = Zs({
7017
7017
  columns: l?.columns ?? [],
7018
7018
  rows: l?.rows ?? [],
7019
- containerRef: N,
7019
+ containerRef: L,
7020
7020
  sizingMode: s
7021
- }), { handleDragStart: P, handleDragOver: $, handleDrop: O } = da(
7021
+ }), { handleDragStart: P, handleDragOver: N, handleDrop: O } = fa(
7022
7022
  l.columns,
7023
- (Y) => c((L) => ({ ...L, columns: Y }))
7023
+ (Y) => c(($) => ({ ...$, columns: Y }))
7024
7024
  ), T = ze(() => {
7025
- const Y = l.rows.map((L, M) => M);
7026
- return Y.every((L) => v.has(L)) && Y.length > 0;
7027
- }, [v, l.rows]), { sortBy: _, sortOrder: W, handleSort: H } = fa({
7025
+ const Y = l.rows.map(($, M) => M);
7026
+ return Y.every(($) => v.has($)) && Y.length > 0;
7027
+ }, [v, l.rows]), { sortBy: _, sortOrder: W, handleSort: H } = pa({
7028
7028
  ...l,
7029
7029
  rows: l.rows
7030
- }), { virtualItems: X, containerProps: Q, innerProps: A } = Wr({
7030
+ }), { virtualItems: X, containerProps: Q, innerProps: A } = Yr({
7031
7031
  items: l?.rows ?? [],
7032
7032
  itemHeight: e,
7033
7033
  containerHeight: r,
7034
7034
  overscan: 5
7035
7035
  });
7036
- se(() => {
7036
+ re(() => {
7037
7037
  let Y = t?.rows ?? [];
7038
- b?.filters?.length > 0 && (Y = na(Y, b));
7039
- let L = Y;
7040
- _ && (L = Zr(
7038
+ b?.filters?.length > 0 && (Y = sa(Y, b));
7039
+ let $ = Y;
7040
+ _ && ($ = en(
7041
7041
  { ...t ?? { columns: [], rows: [] }, rows: Y },
7042
7042
  _,
7043
7043
  W
7044
7044
  ).rows);
7045
- let M = L;
7046
- if (d?.length && L.length > 0) {
7047
- const { flatRows: z } = Xs(
7048
- L,
7045
+ let M = $;
7046
+ if (d?.length && $.length > 0) {
7047
+ const { flatRows: z } = Qs(
7048
+ $,
7049
7049
  d,
7050
7050
  e,
7051
7051
  p
@@ -7072,37 +7072,37 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7072
7072
  }, [o, y]), D = oe(() => {
7073
7073
  x((Y) => !Y);
7074
7074
  }, []), k = oe((Y) => {
7075
- C((L) => L === Y ? null : Y);
7075
+ C(($) => $ === Y ? null : Y);
7076
7076
  }, []), R = (Y) => {
7077
- u(Js(Y, d));
7077
+ u(Xs(Y, d));
7078
7078
  }, F = (Y) => {
7079
7079
  Y.preventDefault();
7080
- const L = Y.dataTransfer.getData("text/plain");
7081
- if (!L || d.some((ee) => ee.column === L))
7080
+ const $ = Y.dataTransfer.getData("text/plain");
7081
+ if (!$ || d.some((ee) => ee.column === $))
7082
7082
  return;
7083
- const z = [...d, { column: L, visible: !0 }];
7083
+ const z = [...d, { column: $, visible: !0 }];
7084
7084
  u(z);
7085
7085
  }, U = (Y) => {
7086
7086
  Y.preventDefault();
7087
- }, G = (Y, L) => {
7088
- const M = Y.clientX, z = V[L], ee = (Ee) => {
7089
- const Le = Ee.clientX - M, he = Math.max(50, z + Le);
7087
+ }, G = (Y, $) => {
7088
+ const M = Y.clientX, z = V[$], ee = (Ee) => {
7089
+ const $e = Ee.clientX - M, he = Math.max(50, z + $e);
7090
7090
  I((Ce) => ({
7091
7091
  ...Ce,
7092
- [L]: he
7092
+ [$]: he
7093
7093
  }));
7094
7094
  }, ae = () => {
7095
7095
  window.removeEventListener("mousemove", ee), window.removeEventListener("mouseup", ae);
7096
7096
  };
7097
7097
  window.addEventListener("mousemove", ee), window.addEventListener("mouseup", ae);
7098
7098
  }, B = (Y) => {
7099
- S((L) => {
7100
- const M = new Set(L);
7099
+ S(($) => {
7100
+ const M = new Set($);
7101
7101
  return M.has(Y) ? M.delete(Y) : M.add(Y), M;
7102
7102
  });
7103
7103
  }, Z = () => {
7104
- const Y = l.rows.map((M, z) => z), L = Y.every((M) => v.has(M));
7105
- S(L ? /* @__PURE__ */ new Set() : new Set(Y));
7104
+ const Y = l.rows.map((M, z) => z), $ = Y.every((M) => v.has(M));
7105
+ S($ ? /* @__PURE__ */ new Set() : new Set(Y));
7106
7106
  }, K = {
7107
7107
  smpTable: `${Oe["smp-table"]}`
7108
7108
  };
@@ -7111,10 +7111,10 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7111
7111
  {
7112
7112
  className: K.smpTable,
7113
7113
  ...Q,
7114
- ref: N,
7114
+ ref: L,
7115
7115
  children: /* @__PURE__ */ h.jsxs("table", { children: [
7116
7116
  /* @__PURE__ */ h.jsx(
7117
- ba,
7117
+ ya,
7118
7118
  {
7119
7119
  columns: l.columns,
7120
7120
  columnWidths: V,
@@ -7141,14 +7141,14 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7141
7141
  onToggleAllRows: Z,
7142
7142
  onSort: H,
7143
7143
  onDragStart: P,
7144
- onDragOver: $,
7144
+ onDragOver: N,
7145
7145
  onDrop: O
7146
7146
  }
7147
7147
  ),
7148
- /* @__PURE__ */ h.jsx("tbody", { ...A, children: X.map(({ item: Y, index: L, offsetTop: M }) => {
7149
- const z = Y.rowId || Y.value || `${Y.isGroup ? "group" : "row"}-${L}`;
7148
+ /* @__PURE__ */ h.jsx("tbody", { ...A, children: X.map(({ item: Y, index: $, offsetTop: M }) => {
7149
+ const z = Y.rowId || Y.value || `${Y.isGroup ? "group" : "row"}-${$}`;
7150
7150
  return Y.isGroup ? /* @__PURE__ */ h.jsx(
7151
- ha,
7151
+ ma,
7152
7152
  {
7153
7153
  label: Y.value || "",
7154
7154
  rowHeight: e,
@@ -7156,13 +7156,13 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7156
7156
  level: Y.level,
7157
7157
  onClick: () => {
7158
7158
  const ee = Y.rowId;
7159
- ee && g((ae) => Ks(ae, ee));
7159
+ ee && g((ae) => Js(ae, ee));
7160
7160
  },
7161
7161
  isExpanded: Y.isExpanded
7162
7162
  },
7163
7163
  `group-${z}`
7164
7164
  ) : /* @__PURE__ */ h.jsx(
7165
- Xr,
7165
+ Qr,
7166
7166
  {
7167
7167
  row: Y,
7168
7168
  columns: l.columns,
@@ -7171,19 +7171,19 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7171
7171
  offsetTop: M,
7172
7172
  isGroup: !1,
7173
7173
  enableSelection: i,
7174
- isSelected: v.has(L),
7174
+ isSelected: v.has($),
7175
7175
  onToggleSelect: () => {
7176
- B(L);
7176
+ B($);
7177
7177
  }
7178
7178
  },
7179
7179
  `row-${z}`
7180
7180
  );
7181
7181
  }) }),
7182
- /* @__PURE__ */ h.jsx(pa, { columns: l.columns, columnWidths: V })
7182
+ /* @__PURE__ */ h.jsx(ha, { columns: l.columns, columnWidths: V })
7183
7183
  ] })
7184
7184
  }
7185
7185
  );
7186
- }, ja = ({
7186
+ }, Da = ({
7187
7187
  data: t,
7188
7188
  Type: e,
7189
7189
  ShowSubmit: r = !1,
@@ -7196,12 +7196,12 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7196
7196
  onOptionsRequest: c
7197
7197
  }) => {
7198
7198
  const [d, u] = q();
7199
- se(() => {
7199
+ re(() => {
7200
7200
  u(() => {
7201
7201
  if (!t)
7202
7202
  return;
7203
7203
  const x = { ...t };
7204
- return e && (x.shape = e), x.shape == null && (x.shape = te.TEXT_FIELD), s && (x.obj = In(s)), x;
7204
+ return e && (x.shape = e), x.shape == null && (x.shape = te.TEXT_FIELD), s && (x.obj = Pn(s)), x;
7205
7205
  });
7206
7206
  }, [t, s, e]);
7207
7207
  const g = {
@@ -7245,15 +7245,15 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7245
7245
  }
7246
7246
  )
7247
7247
  ] });
7248
- }, ya = (t) => t?.type === "SmeupDataTree", va = (t) => t?.type === "SmeupDataTable", xa = (t) => {
7249
- if (ya(t))
7248
+ }, Ir = "command-submit", va = (t) => t?.type === "SmeupDataTree", xa = (t) => t?.type === "SmeupDataTable", wa = (t) => {
7249
+ if (va(t))
7250
7250
  return t.children ? t.children.map(
7251
7251
  (e) => ({
7252
7252
  id: e.obj.k,
7253
7253
  label: e.value ?? ""
7254
7254
  })
7255
7255
  ) : [];
7256
- if (va(t)) {
7256
+ if (xa(t)) {
7257
7257
  const e = t.columns.filter((r) => r.visible !== !1).map((r) => r.name);
7258
7258
  return t.rows.map((r) => {
7259
7259
  const n = Object.entries(r.cells).filter(([o]) => e.includes(o)), [s, a] = n;
@@ -7264,7 +7264,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7264
7264
  });
7265
7265
  }
7266
7266
  return [];
7267
- }, wa = {
7267
+ }, Sa = {
7268
7268
  "smp-form": "_smp-form_9ox03_1"
7269
7269
  }, Dt = (t, e) => ({
7270
7270
  before: t,
@@ -7277,7 +7277,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7277
7277
  }
7278
7278
  ]
7279
7279
  }
7280
- }), Ir = (t, e, r) => {
7280
+ }), Pr = (t, e, r) => {
7281
7281
  if (!t.rows?.length || !t.columns?.length)
7282
7282
  return {};
7283
7283
  const n = t.rows?.[0];
@@ -7297,7 +7297,7 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7297
7297
  [a.name]: o
7298
7298
  };
7299
7299
  }, {});
7300
- }, Da = ({
7300
+ }, Na = ({
7301
7301
  data: t,
7302
7302
  id: e,
7303
7303
  readOnly: r = !1,
@@ -7314,27 +7314,42 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7314
7314
  onButtonClick: g
7315
7315
  }) => {
7316
7316
  const f = ie(!1), x = ie([]), [v, S] = q(
7317
- () => Ir(t, a, r)
7317
+ () => Pr(t, a, r)
7318
7318
  ), { translate: E } = Se(), C = je(), y = ie(null);
7319
- se(() => {
7320
- f.current ? S(Ir(t, a, r)) : (f.current = !0, y.current && y.current.querySelectorAll('[type="text"]').forEach((O) => {
7319
+ re(() => {
7320
+ const N = y.current;
7321
+ if (!N) return;
7322
+ const O = (T) => {
7323
+ j(T.detail.id);
7324
+ };
7325
+ return N.addEventListener(
7326
+ Ir,
7327
+ O
7328
+ ), () => {
7329
+ N.removeEventListener(
7330
+ Ir,
7331
+ O
7332
+ );
7333
+ };
7334
+ }, []), re(() => {
7335
+ f.current ? S(Pr(t, a, r)) : (f.current = !0, y.current && y.current.querySelectorAll('[type="text"]').forEach((O) => {
7321
7336
  O instanceof HTMLInputElement && x.current.push(O);
7322
7337
  }));
7323
- }, [t]), se(() => {
7338
+ }, [t]), re(() => {
7324
7339
  o && y.current && x.current.length > 0 && x.current[0].focus();
7325
7340
  }, [o]);
7326
- const b = ($, O) => {
7341
+ const b = (N, O) => {
7327
7342
  if (S((T) => ({
7328
7343
  ...T,
7329
- [$]: {
7330
- ...T[$],
7344
+ [N]: {
7345
+ ...T[N],
7331
7346
  obj: {
7332
- ...T[$].obj,
7347
+ ...T[N].obj,
7333
7348
  k: O.obj.k
7334
7349
  },
7335
7350
  decode: O.decode,
7336
7351
  data: {
7337
- ...T[$].data,
7352
+ ...T[N].data,
7338
7353
  error: void 0
7339
7354
  },
7340
7355
  // FIXME: remove this when webup.js will not use value
@@ -7342,26 +7357,26 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7342
7357
  }
7343
7358
  })), s && (O.shape == te.CHECKBOX || O.shape == te.SWITCH)) {
7344
7359
  const T = structuredClone(v);
7345
- T[$].obj.k = O.obj.k, T[$].value = O.obj.k, c({
7360
+ T[N].obj.k = O.obj.k, T[N].value = O.obj.k, c({
7346
7361
  value: Dt(t, T),
7347
- cell: $
7362
+ cell: N
7348
7363
  });
7349
7364
  }
7350
7365
  if (i && O.data?.maxLength && O.data.maxLength <= O.obj.k.length) {
7351
7366
  const T = x.current.findIndex(
7352
- (_) => _.name == $
7367
+ (_) => _.name == N
7353
7368
  );
7354
7369
  T < x.current.length - 1 && x.current[T + 1].focus();
7355
7370
  }
7356
- }, j = ($) => {
7371
+ }, j = (N) => {
7357
7372
  const O = Dt(t, v);
7358
7373
  c({
7359
7374
  value: O,
7360
- cell: $
7375
+ cell: N
7361
7376
  });
7362
- }, N = ($, O) => {
7377
+ }, L = (N, O) => {
7363
7378
  g?.({
7364
- cellId: $,
7379
+ cellId: N,
7365
7380
  currentState: {
7366
7381
  type: "SmeupDataTable",
7367
7382
  columns: t.columns,
@@ -7373,39 +7388,39 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7373
7388
  },
7374
7389
  fun: O || ""
7375
7390
  });
7376
- }, V = async ($) => {
7377
- if (v[$].obj.k != t.rows[0].cells[$].obj.k && (v[$].inputSettings?.checkObject && u && ((await u({
7378
- obj: v[$].obj,
7379
- fun: v[$].fun,
7380
- cellId: $
7391
+ }, V = async (N) => {
7392
+ if (v[N].obj.k != t.rows[0].cells[N].obj.k && (v[N].inputSettings?.checkObject && u && ((await u({
7393
+ obj: v[N].obj,
7394
+ fun: v[N].fun,
7395
+ cellId: N
7381
7396
  })).valid || S((T) => ({
7382
7397
  ...T,
7383
- [$]: {
7384
- ...T[$],
7398
+ [N]: {
7399
+ ...T[N],
7385
7400
  data: {
7386
- ...T[$].data,
7401
+ ...T[N].data,
7387
7402
  error: E(Re.CHECK_OBJECT_WRONG_VALIDATION)
7388
7403
  }
7389
7404
  }
7390
- }))), v[$].inputSettings?.checkValueOnExit)) {
7405
+ }))), v[N].inputSettings?.checkValueOnExit)) {
7391
7406
  const O = Dt(t, v);
7392
7407
  d?.({
7393
7408
  value: O,
7394
- cell: $
7409
+ cell: N
7395
7410
  });
7396
7411
  }
7397
- }, I = t.setup?.commands?.map(($, O) => /* @__PURE__ */ nn(
7412
+ }, I = t.setup?.commands?.map((N, O) => /* @__PURE__ */ sn(
7398
7413
  ke,
7399
7414
  {
7400
- ...$,
7401
- decode: $.value,
7415
+ ...N,
7416
+ decode: N.value,
7402
7417
  data: {
7403
- label: $.value
7418
+ label: N.value
7404
7419
  },
7405
7420
  id: `command-${O}`,
7406
7421
  key: `command-${O}`,
7407
7422
  shape: te.BUTTON,
7408
- onClick: () => j($.obj.k)
7423
+ onClick: () => j(N.obj.k)
7409
7424
  }
7410
7425
  )) || [];
7411
7426
  n || I.unshift(
@@ -7429,34 +7444,36 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7429
7444
  )
7430
7445
  );
7431
7446
  const P = {
7432
- smpForm: `${wa["smp-form"]}`
7447
+ smpForm: `${Sa["smp-form"]}`
7433
7448
  };
7434
- return v && /* @__PURE__ */ h.jsxs(
7449
+ return v && // eslint-disable-next-line jsx-a11y/no-redundant-roles
7450
+ /* @__PURE__ */ h.jsxs(
7435
7451
  "form",
7436
7452
  {
7437
7453
  "data-component": "input-panel",
7438
7454
  className: P.smpForm,
7439
7455
  id: e || C,
7440
- onSubmit: ($) => {
7441
- $.preventDefault(), j();
7456
+ onSubmit: (N) => {
7457
+ N.preventDefault(), j();
7442
7458
  },
7443
7459
  ref: y,
7460
+ role: "form",
7444
7461
  children: [
7445
- /* @__PURE__ */ h.jsx(dt, { layout: t.rows[0].layout, children: Object.values(v).map(($) => /* @__PURE__ */ h.jsx(
7462
+ /* @__PURE__ */ h.jsx(dt, { layout: t.rows[0].layout, children: Object.values(v).map((N) => /* @__PURE__ */ h.jsx(
7446
7463
  ke,
7447
7464
  {
7448
- ...$,
7449
- onOptionsRequest: $.fun ? async (O, T) => xa(
7450
- await l(O, T, t, $.id)
7465
+ ...N,
7466
+ onOptionsRequest: N.fun ? async (O, T) => wa(
7467
+ await l(O, T, t, N.id)
7451
7468
  ) : void 0,
7452
- onChange: (O) => b($.id, O),
7453
- onBlur: () => V($.id),
7469
+ onChange: (O) => b(N.id, O),
7470
+ onBlur: () => V(N.id),
7454
7471
  onContextMenu: p,
7455
7472
  onClick: () => {
7456
- ($.shape == "BTN" || $.shape == "CFM") && N($.id, $.fun);
7473
+ (N.shape == "BTN" || N.shape == "CFM") && L(N.id, N.fun);
7457
7474
  },
7458
7475
  data: {
7459
- ...$.data,
7476
+ ...N.data,
7460
7477
  autocomplete: "off"
7461
7478
  }
7462
7479
  }
@@ -7470,8 +7487,8 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7470
7487
  id: "1",
7471
7488
  horizontal: !0,
7472
7489
  justify: "start",
7473
- content: I.map(($) => ({
7474
- id: $.props.id
7490
+ content: I.map((N) => ({
7491
+ id: N.props.id
7475
7492
  }))
7476
7493
  }
7477
7494
  ]
@@ -7484,21 +7501,22 @@ const pa = ({ columns: t, columnWidths: e }) => /* @__PURE__ */ h.jsx("tfoot", {
7484
7501
  );
7485
7502
  };
7486
7503
  export {
7487
- Ta as AppBar,
7488
- Hr as Autocomplete,
7504
+ Oa as AppBar,
7505
+ zr as Autocomplete,
7489
7506
  fe as Button,
7490
- js as ButtonList,
7507
+ Ds as ButtonList,
7491
7508
  Bt as Checkbox,
7492
7509
  It as Combobox,
7493
- _a as DashList,
7494
- Ra as DataTableComponent,
7495
- zr as DatePicker,
7496
- Oa as Drawer,
7497
- ja as Field,
7510
+ Ra as DashList,
7511
+ ja as DataTableComponent,
7512
+ Kr as DatePicker,
7513
+ _a as Drawer,
7514
+ Da as Field,
7515
+ Ir as INPUT_PANEL_COMMAND_SUBMIT_EVENT_NAME,
7498
7516
  ue as Icon,
7499
- Da as InputPanel,
7500
- ks as Password,
7501
- Nn as TabBar,
7502
- $e as Textfield,
7503
- Ca as configurePaths
7517
+ Na as InputPanel,
7518
+ As as Password,
7519
+ kn as TabBar,
7520
+ Ne as Textfield,
7521
+ Ta as configurePaths
7504
7522
  };