@sme.up/ketchup2 2.0.0-SNAPSHOT-20250701103402 → 2.0.0-SNAPSHOT-20250701135033

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.
@@ -72,7 +72,7 @@ function Kr() {
72
72
  switch (typeof h.tag == "number" && console.error(
73
73
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
74
74
  ), h.$$typeof) {
75
- case d:
75
+ case p:
76
76
  return "Portal";
77
77
  case S:
78
78
  return (h.displayName || "Context") + ".Provider";
@@ -151,7 +151,7 @@ function Kr() {
151
151
  }
152
152
  function l() {
153
153
  var h = r(this.type);
154
- return F[h] || (F[h] = !0, console.error(
154
+ return V[h] || (V[h] = !0, console.error(
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
156
  )), h = this.props.ref, h !== void 0 ? h : null;
157
157
  }
@@ -240,18 +240,18 @@ React keys must be passed directly to JSX without using spread:
240
240
  function u(h) {
241
241
  typeof h == "object" && h !== null && h.$$typeof === m && h._store && (h._store.validated = 1);
242
242
  }
243
- var p = at, m = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), S = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), C = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, I = Array.isArray, V = console.createTask ? console.createTask : function() {
243
+ var d = at, m = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), S = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), C = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, I = Array.isArray, F = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
- p = {
246
+ d = {
247
247
  "react-stack-bottom-frame": function(h) {
248
248
  return h();
249
249
  }
250
250
  };
251
- var P, F = {}, z = p["react-stack-bottom-frame"].bind(
252
- p,
251
+ var P, V = {}, z = d["react-stack-bottom-frame"].bind(
252
+ d,
253
253
  a
254
- )(), J = V(n(a)), Y = {};
254
+ )(), J = F(n(a)), Y = {};
255
255
  Ye.Fragment = y, Ye.jsx = function(h, v, R, L, $) {
256
256
  var N = 1e4 > C.recentlyCreatedOwnerStacks++;
257
257
  return f(
@@ -262,7 +262,7 @@ React keys must be passed directly to JSX without using spread:
262
262
  L,
263
263
  $,
264
264
  N ? Error("react-stack-top-frame") : z,
265
- N ? V(n(h)) : J
265
+ N ? F(n(h)) : J
266
266
  );
267
267
  }, Ye.jsxs = function(h, v, R, L, $) {
268
268
  var N = 1e4 > C.recentlyCreatedOwnerStacks++;
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  L,
275
275
  $,
276
276
  N ? Error("react-stack-top-frame") : z,
277
- N ? V(n(h)) : J
277
+ N ? F(n(h)) : J
278
278
  );
279
279
  };
280
280
  }()), Ye;
@@ -386,53 +386,53 @@ function Zr() {
386
386
  function i(u) {
387
387
  if (!u || typeof u != "object")
388
388
  throw new TypeError("argument obj is required");
389
- var p = u.parameters, m = u.type;
389
+ var d = u.parameters, m = u.type;
390
390
  if (!m || !a.test(m))
391
391
  throw new TypeError("invalid type");
392
- var d = m;
393
- if (p && typeof p == "object")
394
- for (var y, x = Object.keys(p).sort(), _ = 0; _ < x.length; _++) {
392
+ var p = m;
393
+ if (d && typeof d == "object")
394
+ for (var y, x = Object.keys(d).sort(), _ = 0; _ < x.length; _++) {
395
395
  if (y = x[_], !t.test(y))
396
396
  throw new TypeError("invalid parameter name");
397
- d += "; " + y + "=" + c(p[y]);
397
+ p += "; " + y + "=" + c(d[y]);
398
398
  }
399
- return d;
399
+ return p;
400
400
  }
401
401
  function o(u) {
402
402
  if (!u)
403
403
  throw new TypeError("argument string is required");
404
- var p = typeof u == "object" ? l(u) : u;
405
- if (typeof p != "string")
404
+ var d = typeof u == "object" ? l(u) : u;
405
+ if (typeof d != "string")
406
406
  throw new TypeError("argument string is required to be a string");
407
- var m = p.indexOf(";"), d = m !== -1 ? p.slice(0, m).trim() : p.trim();
408
- if (!a.test(d))
407
+ var m = d.indexOf(";"), p = m !== -1 ? d.slice(0, m).trim() : d.trim();
408
+ if (!a.test(p))
409
409
  throw new TypeError("invalid media type");
410
- var y = new f(d.toLowerCase());
410
+ var y = new f(p.toLowerCase());
411
411
  if (m !== -1) {
412
412
  var x, _, w;
413
- for (r.lastIndex = m; _ = r.exec(p); ) {
413
+ for (r.lastIndex = m; _ = r.exec(d); ) {
414
414
  if (_.index !== m)
415
415
  throw new TypeError("invalid parameter format");
416
416
  m += _[0].length, x = _[1].toLowerCase(), w = _[2], w.charCodeAt(0) === 34 && (w = w.slice(1, -1), w.indexOf("\\") !== -1 && (w = w.replace(n, "$1"))), y.parameters[x] = w;
417
417
  }
418
- if (m !== p.length)
418
+ if (m !== d.length)
419
419
  throw new TypeError("invalid parameter format");
420
420
  }
421
421
  return y;
422
422
  }
423
423
  function l(u) {
424
- var p;
425
- if (typeof u.getHeader == "function" ? p = u.getHeader("content-type") : typeof u.headers == "object" && (p = u.headers && u.headers["content-type"]), typeof p != "string")
424
+ var d;
425
+ if (typeof u.getHeader == "function" ? d = u.getHeader("content-type") : typeof u.headers == "object" && (d = u.headers && u.headers["content-type"]), typeof d != "string")
426
426
  throw new TypeError("content-type header is missing from object");
427
- return p;
427
+ return d;
428
428
  }
429
429
  function c(u) {
430
- var p = String(u);
431
- if (t.test(p))
432
- return p;
433
- if (p.length > 0 && !e.test(p))
430
+ var d = String(u);
431
+ if (t.test(d))
432
+ return d;
433
+ if (d.length > 0 && !e.test(d))
434
434
  throw new TypeError("invalid parameter value");
435
- return '"' + p.replace(s, "\\$1") + '"';
435
+ return '"' + d.replace(s, "\\$1") + '"';
436
436
  }
437
437
  function f(u) {
438
438
  this.parameters = /* @__PURE__ */ Object.create(null), this.type = u;
@@ -522,12 +522,12 @@ var Qr = Zr(), Ne = /* @__PURE__ */ new Map(), jr = function(e) {
522
522
  ve.splice(ve.indexOf(e), 1), e = null, o(f);
523
523
  return;
524
524
  }
525
- var p = e.getAttribute("id");
526
- p && u.setAttribute("id", p);
525
+ var d = e.getAttribute("id");
526
+ d && u.setAttribute("id", d);
527
527
  var m = e.getAttribute("title");
528
528
  m && u.setAttribute("title", m);
529
- var d = e.getAttribute("width");
530
- d && u.setAttribute("width", d);
529
+ var p = e.getAttribute("width");
530
+ p && u.setAttribute("width", p);
531
531
  var y = e.getAttribute("height");
532
532
  y && u.setAttribute("height", y);
533
533
  var x = Array.from(new Set(bt(bt(bt([], (u.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
@@ -576,10 +576,10 @@ var Qr = Zr(), Ne = /* @__PURE__ */ new Map(), jr = function(e) {
576
576
  });
577
577
  }
578
578
  u.removeAttribute("xmlns:a");
579
- for (var O = u.querySelectorAll("script"), T = [], C, D, I = 0, V = O.length; I < V; I++)
579
+ for (var O = u.querySelectorAll("script"), T = [], C, D, I = 0, F = O.length; I < F; I++)
580
580
  D = O[I].getAttribute("type"), (!D || D === "application/ecmascript" || D === "application/javascript" || D === "text/javascript") && (C = O[I].innerText || O[I].textContent, C && T.push(C), u.removeChild(O[I]));
581
581
  if (T.length > 0 && (t === "always" || t === "once" && !Gt[l])) {
582
- for (var P = 0, F = T.length; P < F; P++)
582
+ for (var P = 0, V = T.length; P < V; P++)
583
583
  new Function(T[P])(window);
584
584
  Gt[l] = !0;
585
585
  }
@@ -596,7 +596,7 @@ var Qr = Zr(), Ne = /* @__PURE__ */ new Map(), jr = function(e) {
596
596
  var n = t === void 0 ? {} : t, s = n.afterAll, a = s === void 0 ? function() {
597
597
  } : s, i = n.afterEach, o = i === void 0 ? function() {
598
598
  } : i, l = n.beforeEach, c = l === void 0 ? function() {
599
- } : l, f = n.cacheRequests, u = f === void 0 ? !0 : f, p = n.evalScripts, m = p === void 0 ? "never" : p, d = n.httpRequestWithCredentials, y = d === void 0 ? !1 : d, x = n.renumerateIRIElements, _ = x === void 0 ? !0 : x;
599
+ } : l, f = n.cacheRequests, u = f === void 0 ? !0 : f, d = n.evalScripts, m = d === void 0 ? "never" : d, p = n.httpRequestWithCredentials, y = p === void 0 ? !1 : p, x = n.renumerateIRIElements, _ = x === void 0 ? !0 : x;
600
600
  if (e && "length" in e)
601
601
  for (var w = 0, S = 0, E = e.length; S < E; S++)
602
602
  Kt(e[S], m, _, u, y, c, function(b, j) {
@@ -618,7 +618,7 @@ var qt;
618
618
  function ln() {
619
619
  if (qt) return Q;
620
620
  qt = 1;
621
- var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, s = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, i = r ? Symbol.for("react.provider") : 60109, o = r ? Symbol.for("react.context") : 60110, l = r ? Symbol.for("react.async_mode") : 60111, c = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, u = r ? Symbol.for("react.suspense") : 60113, p = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, d = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, _ = r ? Symbol.for("react.responder") : 60118, w = r ? Symbol.for("react.scope") : 60119;
621
+ var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, s = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, i = r ? Symbol.for("react.provider") : 60109, o = r ? Symbol.for("react.context") : 60110, l = r ? Symbol.for("react.async_mode") : 60111, c = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, u = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, _ = r ? Symbol.for("react.responder") : 60118, w = r ? Symbol.for("react.scope") : 60119;
622
622
  function S(b) {
623
623
  if (typeof b == "object" && b !== null) {
624
624
  var j = b.$$typeof;
@@ -636,7 +636,7 @@ function ln() {
636
636
  switch (b = b && b.$$typeof, b) {
637
637
  case o:
638
638
  case f:
639
- case d:
639
+ case p:
640
640
  case m:
641
641
  case i:
642
642
  return b;
@@ -652,7 +652,7 @@ function ln() {
652
652
  function E(b) {
653
653
  return S(b) === c;
654
654
  }
655
- return Q.AsyncMode = l, Q.ConcurrentMode = c, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = f, Q.Fragment = n, Q.Lazy = d, Q.Memo = m, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = u, Q.isAsyncMode = function(b) {
655
+ return Q.AsyncMode = l, Q.ConcurrentMode = c, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = f, Q.Fragment = n, Q.Lazy = p, Q.Memo = m, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = u, Q.isAsyncMode = function(b) {
656
656
  return E(b) || S(b) === l;
657
657
  }, Q.isConcurrentMode = E, Q.isContextConsumer = function(b) {
658
658
  return S(b) === o;
@@ -665,7 +665,7 @@ function ln() {
665
665
  }, Q.isFragment = function(b) {
666
666
  return S(b) === n;
667
667
  }, Q.isLazy = function(b) {
668
- return S(b) === d;
668
+ return S(b) === p;
669
669
  }, Q.isMemo = function(b) {
670
670
  return S(b) === m;
671
671
  }, Q.isPortal = function(b) {
@@ -677,7 +677,7 @@ function ln() {
677
677
  }, Q.isSuspense = function(b) {
678
678
  return S(b) === u;
679
679
  }, Q.isValidElementType = function(b) {
680
- 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 === d || b.$$typeof === m || b.$$typeof === i || b.$$typeof === o || b.$$typeof === f || b.$$typeof === x || b.$$typeof === _ || b.$$typeof === w || b.$$typeof === y);
680
+ return typeof b == "string" || typeof b == "function" || b === n || b === c || b === a || b === s || b === u || b === d || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === m || b.$$typeof === i || b.$$typeof === o || b.$$typeof === f || b.$$typeof === x || b.$$typeof === _ || b.$$typeof === w || b.$$typeof === y);
681
681
  }, Q.typeOf = S, Q;
682
682
  }
683
683
  var ee = {};
@@ -692,10 +692,10 @@ var ee = {};
692
692
  var zt;
693
693
  function cn() {
694
694
  return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
695
- var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, s = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, i = r ? Symbol.for("react.provider") : 60109, o = r ? Symbol.for("react.context") : 60110, l = r ? Symbol.for("react.async_mode") : 60111, c = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, u = r ? Symbol.for("react.suspense") : 60113, p = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, d = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, _ = r ? Symbol.for("react.responder") : 60118, w = r ? Symbol.for("react.scope") : 60119;
695
+ var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, s = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, i = r ? Symbol.for("react.provider") : 60109, o = r ? Symbol.for("react.context") : 60110, l = r ? Symbol.for("react.async_mode") : 60111, c = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, u = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, p = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, _ = r ? Symbol.for("react.responder") : 60118, w = r ? Symbol.for("react.scope") : 60119;
696
696
  function S(M) {
697
697
  return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
698
- M === n || M === c || M === a || M === s || M === u || M === p || typeof M == "object" && M !== null && (M.$$typeof === d || M.$$typeof === m || M.$$typeof === i || M.$$typeof === o || M.$$typeof === f || M.$$typeof === x || M.$$typeof === _ || M.$$typeof === w || M.$$typeof === y);
698
+ M === n || M === c || M === a || M === s || M === u || M === d || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === m || M.$$typeof === i || M.$$typeof === o || M.$$typeof === f || M.$$typeof === x || M.$$typeof === _ || M.$$typeof === w || M.$$typeof === y);
699
699
  }
700
700
  function E(M) {
701
701
  if (typeof M == "object" && M !== null) {
@@ -716,7 +716,7 @@ function cn() {
716
716
  switch (ne) {
717
717
  case o:
718
718
  case f:
719
- case d:
719
+ case p:
720
720
  case m:
721
721
  case i:
722
722
  return ne;
@@ -729,7 +729,7 @@ function cn() {
729
729
  }
730
730
  }
731
731
  }
732
- var b = l, j = c, k = o, A = i, O = e, T = f, C = n, D = d, I = m, V = t, P = a, F = s, z = u, J = !1;
732
+ var b = l, j = c, k = o, A = i, O = e, T = f, C = n, D = p, I = m, F = t, P = a, V = s, z = u, J = !1;
733
733
  function Y(M) {
734
734
  return J || (J = !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.")), h(M) || E(M) === l;
735
735
  }
@@ -752,7 +752,7 @@ function cn() {
752
752
  return E(M) === n;
753
753
  }
754
754
  function U(M) {
755
- return E(M) === d;
755
+ return E(M) === p;
756
756
  }
757
757
  function B(M) {
758
758
  return E(M) === m;
@@ -769,7 +769,7 @@ function cn() {
769
769
  function ae(M) {
770
770
  return E(M) === u;
771
771
  }
772
- ee.AsyncMode = b, ee.ConcurrentMode = j, ee.ContextConsumer = k, ee.ContextProvider = A, ee.Element = O, ee.ForwardRef = T, ee.Fragment = C, ee.Lazy = D, ee.Memo = I, ee.Portal = V, ee.Profiler = P, ee.StrictMode = F, ee.Suspense = z, ee.isAsyncMode = Y, ee.isConcurrentMode = h, ee.isContextConsumer = v, ee.isContextProvider = R, ee.isElement = L, ee.isForwardRef = $, ee.isFragment = N, ee.isLazy = U, ee.isMemo = B, ee.isPortal = W, ee.isProfiler = X, ee.isStrictMode = K, ee.isSuspense = ae, ee.isValidElementType = S, ee.typeOf = E;
772
+ ee.AsyncMode = b, ee.ConcurrentMode = j, ee.ContextConsumer = k, ee.ContextProvider = A, ee.Element = O, ee.ForwardRef = T, ee.Fragment = C, ee.Lazy = D, ee.Memo = I, ee.Portal = F, ee.Profiler = P, ee.StrictMode = V, ee.Suspense = z, ee.isAsyncMode = Y, ee.isConcurrentMode = h, ee.isContextConsumer = v, ee.isContextProvider = R, ee.isElement = L, ee.isForwardRef = $, ee.isFragment = N, ee.isLazy = U, ee.isMemo = B, ee.isPortal = W, ee.isProfiler = X, ee.isStrictMode = K, ee.isSuspense = ae, ee.isValidElementType = S, ee.typeOf = E;
773
773
  }()), ee;
774
774
  }
775
775
  var Jt;
@@ -820,8 +820,8 @@ function un() {
820
820
  e.call(o, u) && (l[u] = o[u]);
821
821
  if (r) {
822
822
  c = r(o);
823
- for (var p = 0; p < c.length; p++)
824
- t.call(o, c[p]) && (l[c[p]] = o[c[p]]);
823
+ for (var d = 0; d < c.length; d++)
824
+ t.call(o, c[d]) && (l[c[d]] = o[c[d]]);
825
825
  }
826
826
  }
827
827
  return l;
@@ -862,14 +862,14 @@ function fn() {
862
862
  var u;
863
863
  try {
864
864
  if (typeof a[f] != "function") {
865
- var p = Error(
865
+ var d = Error(
866
866
  (l || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
867
867
  );
868
- throw p.name = "Invariant Violation", p;
868
+ throw d.name = "Invariant Violation", d;
869
869
  }
870
870
  u = a[f](i, f, l, o, null, e);
871
- } catch (d) {
872
- u = d;
871
+ } catch (p) {
872
+ u = p;
873
873
  }
874
874
  if (u && !(u instanceof Error) && r(
875
875
  (l || "React class") + ": type specification of " + o + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
@@ -911,7 +911,7 @@ function dn() {
911
911
  if (typeof v == "function")
912
912
  return v;
913
913
  }
914
- var p = "<<anonymous>>", m = {
914
+ var d = "<<anonymous>>", m = {
915
915
  array: _("array"),
916
916
  bigint: _("bigint"),
917
917
  bool: _("boolean"),
@@ -932,7 +932,7 @@ function dn() {
932
932
  shape: D,
933
933
  exact: I
934
934
  };
935
- function d(h, v) {
935
+ function p(h, v) {
936
936
  return h === v ? h !== 0 || 1 / h === 1 / v : h !== h && v !== v;
937
937
  }
938
938
  function y(h, v) {
@@ -943,7 +943,7 @@ function dn() {
943
943
  if (process.env.NODE_ENV !== "production")
944
944
  var v = {}, R = 0;
945
945
  function L(N, U, B, W, X, K, ae) {
946
- if (W = W || p, K = K || B, ae !== t) {
946
+ if (W = W || d, K = K || B, ae !== t) {
947
947
  if (l) {
948
948
  var M = new Error(
949
949
  "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"
@@ -964,7 +964,7 @@ function dn() {
964
964
  }
965
965
  function _(h) {
966
966
  function v(R, L, $, N, U, B) {
967
- var W = R[L], X = F(W);
967
+ var W = R[L], X = V(W);
968
968
  if (X !== h) {
969
969
  var K = z(W);
970
970
  return new y(
@@ -985,7 +985,7 @@ function dn() {
985
985
  return new y("Property `" + U + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
986
986
  var B = R[L];
987
987
  if (!Array.isArray(B)) {
988
- var W = F(B);
988
+ var W = V(B);
989
989
  return new y("Invalid " + N + " `" + U + "` of type " + ("`" + W + "` supplied to `" + $ + "`, expected an array."));
990
990
  }
991
991
  for (var X = 0; X < B.length; X++) {
@@ -1001,7 +1001,7 @@ function dn() {
1001
1001
  function h(v, R, L, $, N) {
1002
1002
  var U = v[R];
1003
1003
  if (!o(U)) {
1004
- var B = F(U);
1004
+ var B = V(U);
1005
1005
  return new y("Invalid " + $ + " `" + N + "` of type " + ("`" + B + "` supplied to `" + L + "`, expected a single ReactElement."));
1006
1006
  }
1007
1007
  return null;
@@ -1012,7 +1012,7 @@ function dn() {
1012
1012
  function h(v, R, L, $, N) {
1013
1013
  var U = v[R];
1014
1014
  if (!r.isValidElementType(U)) {
1015
- var B = F(U);
1015
+ var B = V(U);
1016
1016
  return new y("Invalid " + $ + " `" + N + "` of type " + ("`" + B + "` supplied to `" + L + "`, expected a single ReactElement type."));
1017
1017
  }
1018
1018
  return null;
@@ -1022,7 +1022,7 @@ function dn() {
1022
1022
  function j(h) {
1023
1023
  function v(R, L, $, N, U) {
1024
1024
  if (!(R[L] instanceof h)) {
1025
- var B = h.name || p, W = Y(R[L]);
1025
+ var B = h.name || d, W = Y(R[L]);
1026
1026
  return new y("Invalid " + N + " `" + U + "` of type " + ("`" + W + "` supplied to `" + $ + "`, expected ") + ("instance of `" + B + "`."));
1027
1027
  }
1028
1028
  return null;
@@ -1036,7 +1036,7 @@ function dn() {
1036
1036
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1037
1037
  function v(R, L, $, N, U) {
1038
1038
  for (var B = R[L], W = 0; W < h.length; W++)
1039
- if (d(B, h[W]))
1039
+ if (p(B, h[W]))
1040
1040
  return null;
1041
1041
  var X = JSON.stringify(h, function(ae, M) {
1042
1042
  var H = z(M);
@@ -1050,7 +1050,7 @@ function dn() {
1050
1050
  function v(R, L, $, N, U) {
1051
1051
  if (typeof h != "function")
1052
1052
  return new y("Property `" + U + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
1053
- var B = R[L], W = F(B);
1053
+ var B = R[L], W = V(B);
1054
1054
  if (W !== "object")
1055
1055
  return new y("Invalid " + N + " `" + U + "` of type " + ("`" + W + "` supplied to `" + $ + "`, expected an object."));
1056
1056
  for (var X in B)
@@ -1087,7 +1087,7 @@ function dn() {
1087
1087
  }
1088
1088
  function T() {
1089
1089
  function h(v, R, L, $, N) {
1090
- return V(v[R]) ? null : new y("Invalid " + $ + " `" + N + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
1090
+ return F(v[R]) ? null : new y("Invalid " + $ + " `" + N + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
1091
1091
  }
1092
1092
  return x(h);
1093
1093
  }
@@ -1098,7 +1098,7 @@ function dn() {
1098
1098
  }
1099
1099
  function D(h) {
1100
1100
  function v(R, L, $, N, U) {
1101
- var B = R[L], W = F(B);
1101
+ var B = R[L], W = V(B);
1102
1102
  if (W !== "object")
1103
1103
  return new y("Invalid " + N + " `" + U + "` of type `" + W + "` " + ("supplied to `" + $ + "`, expected `object`."));
1104
1104
  for (var X in h) {
@@ -1115,7 +1115,7 @@ function dn() {
1115
1115
  }
1116
1116
  function I(h) {
1117
1117
  function v(R, L, $, N, U) {
1118
- var B = R[L], W = F(B);
1118
+ var B = R[L], W = V(B);
1119
1119
  if (W !== "object")
1120
1120
  return new y("Invalid " + N + " `" + U + "` of type `" + W + "` " + ("supplied to `" + $ + "`, expected `object`."));
1121
1121
  var X = e({}, R[L], h);
@@ -1136,7 +1136,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1136
1136
  }
1137
1137
  return x(v);
1138
1138
  }
1139
- function V(h) {
1139
+ function F(h) {
1140
1140
  switch (typeof h) {
1141
1141
  case "number":
1142
1142
  case "string":
@@ -1146,7 +1146,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1146
1146
  return !h;
1147
1147
  case "object":
1148
1148
  if (Array.isArray(h))
1149
- return h.every(V);
1149
+ return h.every(F);
1150
1150
  if (h === null || o(h))
1151
1151
  return !0;
1152
1152
  var v = u(h);
@@ -1154,12 +1154,12 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1154
1154
  var R = v.call(h), L;
1155
1155
  if (v !== h.entries) {
1156
1156
  for (; !(L = R.next()).done; )
1157
- if (!V(L.value))
1157
+ if (!F(L.value))
1158
1158
  return !1;
1159
1159
  } else
1160
1160
  for (; !(L = R.next()).done; ) {
1161
1161
  var $ = L.value;
1162
- if ($ && !V($[1]))
1162
+ if ($ && !F($[1]))
1163
1163
  return !1;
1164
1164
  }
1165
1165
  } else
@@ -1172,14 +1172,14 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1172
1172
  function P(h, v) {
1173
1173
  return h === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
1174
1174
  }
1175
- function F(h) {
1175
+ function V(h) {
1176
1176
  var v = typeof h;
1177
1177
  return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : P(v, h) ? "symbol" : v;
1178
1178
  }
1179
1179
  function z(h) {
1180
1180
  if (typeof h > "u" || h === null)
1181
1181
  return "" + h;
1182
- var v = F(h);
1182
+ var v = V(h);
1183
1183
  if (v === "object") {
1184
1184
  if (h instanceof Date)
1185
1185
  return "date";
@@ -1203,7 +1203,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
1203
1203
  }
1204
1204
  }
1205
1205
  function Y(h) {
1206
- return !h.constructor || !h.constructor.name ? p : h.constructor.name;
1206
+ return !h.constructor || !h.constructor.name ? d : h.constructor.name;
1207
1207
  }
1208
1208
  return m.checkPropTypes = s, m.resetWarningCache = s.resetWarningCache, m.PropTypes = m, m;
1209
1209
  }, Tt;
@@ -1220,10 +1220,10 @@ function pn() {
1220
1220
  return t.resetWarningCache = e, Ot = function() {
1221
1221
  function n(i, o, l, c, f, u) {
1222
1222
  if (u !== r) {
1223
- var p = new Error(
1223
+ var d = new Error(
1224
1224
  "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"
1225
1225
  );
1226
- throw p.name = "Invariant Violation", p;
1226
+ throw d.name = "Invariant Violation", d;
1227
1227
  }
1228
1228
  }
1229
1229
  n.isRequired = n;
@@ -1293,7 +1293,7 @@ var oe = /* @__PURE__ */ hn(), mn = function(e) {
1293
1293
  return t.renderSVG = function() {
1294
1294
  var s = this;
1295
1295
  if (this.reactWrapper instanceof mn(this.reactWrapper).Node) {
1296
- var a = this.props, i = a.desc, o = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, f = a.src, u = a.title, p = a.useRequestCache, m = this.props.onError, d = this.props.beforeInjection, y = this.props.afterInjection, x = this.props.wrapper, _, w;
1296
+ var a = this.props, i = a.desc, o = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, f = a.src, u = a.title, d = a.useRequestCache, m = this.props.onError, p = this.props.beforeInjection, y = this.props.afterInjection, x = this.props.wrapper, _, w;
1297
1297
  x === "svg" ? (_ = document.createElementNS(Qe, x), _.setAttribute("xmlns", Qe), _.setAttribute("xmlns:xlink", sr), w = document.createElementNS(Qe, x)) : (_ = document.createElement(x), w = document.createElement(x)), _.appendChild(w), w.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(_);
1298
1298
  var S = function(k) {
1299
1299
  if (s.removeSVG(), !s._isMounted) {
@@ -1338,7 +1338,7 @@ var oe = /* @__PURE__ */ hn(), mn = function(e) {
1338
1338
  C.innerHTML = u, k.prepend(C);
1339
1339
  }
1340
1340
  try {
1341
- d(k);
1341
+ p(k);
1342
1342
  } catch (D) {
1343
1343
  S(D);
1344
1344
  }
@@ -1346,7 +1346,7 @@ var oe = /* @__PURE__ */ hn(), mn = function(e) {
1346
1346
  on(w, {
1347
1347
  afterEach: E,
1348
1348
  beforeEach: b,
1349
- cacheRequests: p,
1349
+ cacheRequests: d,
1350
1350
  evalScripts: o,
1351
1351
  httpRequestWithCredentials: l,
1352
1352
  renumerateIRIElements: c
@@ -1434,9 +1434,9 @@ const ra = (r) => {
1434
1434
  isInteractable: c = !1,
1435
1435
  spin: f = !1,
1436
1436
  title: u,
1437
- tabIndex: p
1437
+ tabIndex: d
1438
1438
  }) => {
1439
- const [m, d] = G(r), y = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), x = y && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), _ = ar(`assets/svg/${r}.svg`), w = ar(
1439
+ const [m, p] = G(r), y = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), x = y && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), _ = ar(`assets/svg/${r}.svg`), w = ar(
1440
1440
  `assets/svg/${n}.svg`
1441
1441
  ), S = {
1442
1442
  img: `${c ? "smp-image-interactable" : ""}`,
@@ -1461,7 +1461,7 @@ const ra = (r) => {
1461
1461
  className: S.svg,
1462
1462
  onClick: E,
1463
1463
  onKeyDown: b,
1464
- tabIndex: p
1464
+ tabIndex: d
1465
1465
  }
1466
1466
  ) : y ? (
1467
1467
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
@@ -1472,7 +1472,7 @@ const ra = (r) => {
1472
1472
  width: e || "16px",
1473
1473
  height: t || "auto",
1474
1474
  alt: u,
1475
- onError: () => d(w),
1475
+ onError: () => p(w),
1476
1476
  onClick: E,
1477
1477
  className: S.img,
1478
1478
  title: u,
@@ -1496,7 +1496,7 @@ const ra = (r) => {
1496
1496
  className: S.svg,
1497
1497
  onClick: E,
1498
1498
  onKeyDown: b,
1499
- tabIndex: p
1499
+ tabIndex: d
1500
1500
  }
1501
1501
  ) });
1502
1502
  }
@@ -1523,14 +1523,14 @@ const ra = (r) => {
1523
1523
  showText: c = !0,
1524
1524
  fullWidth: f = !1,
1525
1525
  loading: u = !1,
1526
- justify: p = "center",
1526
+ justify: d = "center",
1527
1527
  title: m,
1528
- optionalDisplayValue: d,
1528
+ optionalDisplayValue: p,
1529
1529
  squared: y = !1,
1530
1530
  submit: x = !1
1531
1531
  }) => {
1532
1532
  const _ = {
1533
- container: `smp-button smp-button-container ${a ? `smp-button-${a}` : ""} ${i ? `smp-buttonVariant-${i}` : ""} ${o ? `smp-buttonType-${o}` : ""} ${f ? "smp-button-fullWidth" : ""} smp-justifyContent-${p} ${y && !c ? "smp-button-squared" : ""}`
1533
+ container: `smp-button smp-button-container ${a ? `smp-button-${a}` : ""} ${i ? `smp-buttonVariant-${i}` : ""} ${o ? `smp-buttonType-${o}` : ""} ${f ? "smp-button-fullWidth" : ""} smp-justifyContent-${d} ${y && !c ? "smp-button-squared" : ""}`
1534
1534
  };
1535
1535
  return /* @__PURE__ */ g.jsx(
1536
1536
  "button",
@@ -1542,7 +1542,7 @@ const ra = (r) => {
1542
1542
  "aria-label": t,
1543
1543
  disabled: s,
1544
1544
  "aria-busy": u,
1545
- title: m || d,
1545
+ title: m || p,
1546
1546
  children: u ? /* @__PURE__ */ g.jsx(le, { icon: "spinner", state: or(i), spin: !0 }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
1547
1547
  n && l && /* @__PURE__ */ g.jsx(
1548
1548
  le,
@@ -1554,7 +1554,7 @@ const ra = (r) => {
1554
1554
  height: ir(a)
1555
1555
  }
1556
1556
  ),
1557
- c && /* @__PURE__ */ g.jsx("span", { children: d || r })
1557
+ c && /* @__PURE__ */ g.jsx("span", { children: p || r })
1558
1558
  ] })
1559
1559
  }
1560
1560
  );
@@ -1604,9 +1604,9 @@ const ra = (r) => {
1604
1604
  selectedIndex: n,
1605
1605
  onTabChange: s
1606
1606
  }) => {
1607
- const [a, i] = G(0), o = n ?? a, [l, c] = G(!1), [f, u] = G(!1), p = ce(null);
1607
+ const [a, i] = G(0), o = n ?? a, [l, c] = G(!1), [f, u] = G(!1), d = ce(null);
1608
1608
  if (re(() => {
1609
- const S = p.current;
1609
+ const S = d.current;
1610
1610
  if (!S) return;
1611
1611
  x();
1612
1612
  const E = () => x();
@@ -1623,17 +1623,17 @@ const ra = (r) => {
1623
1623
  scrollButtonRight: `${xe["smp-tabbar-scroll-button"]} ${xe["smp-tabbar-scroll-buttonRight"]}`,
1624
1624
  scrollButtonLeft: `${xe["smp-tabbar-scroll-button"]} ${xe["smp-tabbar-scroll-buttonLeft"]}`,
1625
1625
  active: xe["smp-active"]
1626
- }, d = 100, y = 2, x = () => {
1627
- const S = p.current;
1626
+ }, p = 100, y = 2, x = () => {
1627
+ const S = d.current;
1628
1628
  S && (c(S.scrollLeft > 0), u(
1629
1629
  S.scrollLeft + S.clientWidth < S.scrollWidth - y
1630
1630
  ));
1631
1631
  }, _ = () => {
1632
1632
  var S;
1633
- (S = p.current) == null || S.scrollBy({ left: -d, behavior: "smooth" });
1633
+ (S = d.current) == null || S.scrollBy({ left: -p, behavior: "smooth" });
1634
1634
  }, w = () => {
1635
1635
  var S;
1636
- (S = p.current) == null || S.scrollBy({ left: d, behavior: "smooth" });
1636
+ (S = d.current) == null || S.scrollBy({ left: p, behavior: "smooth" });
1637
1637
  };
1638
1638
  return /* @__PURE__ */ g.jsxs(
1639
1639
  "div",
@@ -1652,7 +1652,7 @@ const ra = (r) => {
1652
1652
  sizing: e
1653
1653
  }
1654
1654
  ) }),
1655
- /* @__PURE__ */ g.jsx("div", { className: m.listWrapper, children: /* @__PURE__ */ g.jsx("div", { className: m.list, ref: p, role: "tablist", children: r.children.map((S, E) => /* @__PURE__ */ g.jsxs(
1655
+ /* @__PURE__ */ g.jsx("div", { className: m.listWrapper, children: /* @__PURE__ */ g.jsx("div", { className: m.list, ref: d, role: "tablist", children: r.children.map((S, E) => /* @__PURE__ */ g.jsxs(
1656
1656
  "button",
1657
1657
  {
1658
1658
  type: "button",
@@ -1726,13 +1726,13 @@ const ra = (r) => {
1726
1726
  }
1727
1727
  }) => {
1728
1728
  const [t, n] = G(0), s = {};
1729
- at.Children.forEach(r, (d) => {
1730
- at.isValidElement(d) && (s[d.props.id] = d);
1729
+ at.Children.forEach(r, (p) => {
1730
+ at.isValidElement(p) && (s[p.props.id] = p);
1731
1731
  });
1732
1732
  const a = "--smp-grid-template-cols", i = "--smp-grid-template-rows", o = Rr(
1733
1733
  e.sections ?? [],
1734
1734
  Object.keys(s)
1735
- ), l = (d) => d.reduce((y, x) => {
1735
+ ), l = (p) => p.reduce((y, x) => {
1736
1736
  var b, j;
1737
1737
  let _ = "", w = {}, S = {}, E = "";
1738
1738
  return (b = x.sections) != null && b.length ? (_ = ge["smp-layout-section-grid"], w = l(x.sections), x.gridCols === void 0 && (E = ge[x.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"], (x.horizontal || Ut(x.sections)) && (S = Yt(
@@ -1751,21 +1751,21 @@ const ra = (r) => {
1751
1751
  }, {}), c = l(o), f = `${ge["smp-layout"]} ${e.horizontal ? ge["smp-layout-horizontal"] : ge["smp-layout-vertical"]}`, u = e.horizontal || Ut(e.sections || []) ? Yt(
1752
1752
  o,
1753
1753
  e.horizontal ? a : i
1754
- ) : {}, p = (d, y) => {
1754
+ ) : {}, d = (p, y) => {
1755
1755
  var _, w;
1756
1756
  const x = /* @__PURE__ */ g.jsx(
1757
1757
  "div",
1758
1758
  {
1759
- "smp-id": `section-${d.id}`,
1760
- className: c[d.id].classes,
1761
- style: c[d.id].styles,
1762
- children: (_ = d.sections) != null && _.length ? d.sections.map((S) => p(S)) : (w = d.content) == null ? void 0 : w.map(
1763
- (S) => m(S, d.justify, d.align)
1759
+ "smp-id": `section-${p.id}`,
1760
+ className: c[p.id].classes,
1761
+ style: c[p.id].styles,
1762
+ children: (_ = p.sections) != null && _.length ? p.sections.map((S) => d(S)) : (w = p.content) == null ? void 0 : w.map(
1763
+ (S) => m(S, p.justify, p.align)
1764
1764
  )
1765
1765
  },
1766
- `section-${d.id}`
1766
+ `section-${p.id}`
1767
1767
  );
1768
- return d.title && !y ? /* @__PURE__ */ g.jsxs(
1768
+ return p.title && !y ? /* @__PURE__ */ g.jsxs(
1769
1769
  "div",
1770
1770
  {
1771
1771
  className: ge["smp-layout-section-with-title"],
@@ -1773,31 +1773,31 @@ const ra = (r) => {
1773
1773
  /* @__PURE__ */ g.jsx(
1774
1774
  "span",
1775
1775
  {
1776
- className: `${ge["smp-layout-section-title"]} ${d.justify ? `smp-justifyContent-${d.justify}` : ""} ${d.align ? `smp-alignItems-${d.align}` : ""}`,
1777
- children: /* @__PURE__ */ g.jsx(Ce, { label: d.title })
1776
+ className: `${ge["smp-layout-section-title"]} ${p.justify ? `smp-justifyContent-${p.justify}` : ""} ${p.align ? `smp-alignItems-${p.align}` : ""}`,
1777
+ children: /* @__PURE__ */ g.jsx(Ce, { label: p.title })
1778
1778
  }
1779
1779
  ),
1780
1780
  x
1781
1781
  ]
1782
1782
  },
1783
- `title-section-${d.id}`
1783
+ `title-section-${p.id}`
1784
1784
  ) : x;
1785
- }, m = (d, y, x) => {
1786
- const _ = s[d.id];
1785
+ }, m = (p, y, x) => {
1786
+ const _ = s[p.id];
1787
1787
  if (!_) return null;
1788
1788
  const S = {
1789
- gridColumnStart: (d.colSpan && d.colSpan > 0 ? `span ${d.colSpan}` : d.colStart && d.colStart < 1 ? "1" : void 0) ?? d.colStart,
1790
- gridColumnEnd: d.colEnd && d.colEnd > 0 ? d.colEnd : void 0
1789
+ gridColumnStart: (p.colSpan && p.colSpan > 0 ? `span ${p.colSpan}` : p.colStart && p.colStart < 1 ? "1" : void 0) ?? p.colStart,
1790
+ gridColumnEnd: p.colEnd && p.colEnd > 0 ? p.colEnd : void 0
1791
1791
  }, E = `${ge["smp-layout-cell-container"]} ${y ? `smp-justifyContent-${y}` : ""} ${x ? `smp-alignItems-${x}` : ""}`;
1792
1792
  return /* @__PURE__ */ g.jsx(
1793
1793
  "div",
1794
1794
  {
1795
1795
  className: E,
1796
1796
  style: S,
1797
- "smp-id": d.id,
1797
+ "smp-id": p.id,
1798
1798
  children: _
1799
1799
  },
1800
- d.id
1800
+ p.id
1801
1801
  );
1802
1802
  };
1803
1803
  return /* @__PURE__ */ g.jsxs("div", { className: f, style: u, "smp-id": "layout", children: [
@@ -1806,8 +1806,8 @@ const ra = (r) => {
1806
1806
  {
1807
1807
  data: {
1808
1808
  type: "SmeupDataTree",
1809
- children: o.map((d) => ({
1810
- decode: d.title || d.id || "Tab",
1809
+ children: o.map((p) => ({
1810
+ decode: p.title || p.id || "Tab",
1811
1811
  obj: { t: "", p: "", k: "" },
1812
1812
  placeholderIcon: "tab",
1813
1813
  cells: {},
@@ -1820,7 +1820,7 @@ const ra = (r) => {
1820
1820
  toolbar: !1
1821
1821
  }
1822
1822
  ),
1823
- e.sectionsType ? p(o[t], !0) : o.map((d) => p(d))
1823
+ e.sectionsType ? d(o[t], !0) : o.map((p) => d(p))
1824
1824
  ] });
1825
1825
  }, te = {
1826
1826
  AUTOCOMPLETE: "ACP",
@@ -1830,6 +1830,7 @@ const ra = (r) => {
1830
1830
  CHIP: "CHI",
1831
1831
  COMBOBOX: "CMB",
1832
1832
  DATE: "CAL",
1833
+ EDITOR: "EDT",
1833
1834
  ICON: "ICO",
1834
1835
  IMAGE: "IMG",
1835
1836
  INPUT_NUMBER: "INR",
@@ -2003,10 +2004,10 @@ function ht({
2003
2004
  const t = ce(null), n = ce(null), [s, a] = G(0), i = ue(() => {
2004
2005
  const o = t.current, l = n.current;
2005
2006
  if (!o || !l) return;
2006
- const { top: c, left: f, width: u, height: p } = o.getBoundingClientRect();
2007
+ const { top: c, left: f, width: u, height: d } = o.getBoundingClientRect();
2007
2008
  a(u);
2008
- const m = l.offsetHeight, d = l.offsetWidth;
2009
- if (d === 0 || m === 0) {
2009
+ const m = l.offsetHeight, p = l.offsetWidth;
2010
+ if (p === 0 || m === 0) {
2010
2011
  requestAnimationFrame(i);
2011
2012
  return;
2012
2013
  }
@@ -2016,10 +2017,10 @@ function ht({
2016
2017
  y -= m;
2017
2018
  break;
2018
2019
  case "bottom":
2019
- y += p;
2020
+ y += d;
2020
2021
  break;
2021
2022
  case "left":
2022
- x -= d;
2023
+ x -= p;
2023
2024
  break;
2024
2025
  case "right":
2025
2026
  x += u;
@@ -2097,9 +2098,9 @@ const Fe = (r, e, t) => {
2097
2098
  tooltip: c = !1,
2098
2099
  rotatedShapeIcon: f = !1,
2099
2100
  ref: u,
2100
- inputRef: p,
2101
+ inputRef: d,
2101
2102
  inputType: m = "text",
2102
- ariaLabel: d = "input field",
2103
+ ariaLabel: p = "input field",
2103
2104
  label: y,
2104
2105
  helperText: x = !1,
2105
2106
  error: _,
@@ -2115,13 +2116,13 @@ const Fe = (r, e, t) => {
2115
2116
  size: C,
2116
2117
  maxLength: D,
2117
2118
  onBlur: I,
2118
- onChange: V,
2119
+ onChange: F,
2119
2120
  onKeyDown: P,
2120
- onShapeIconClick: F,
2121
+ onShapeIconClick: V,
2121
2122
  onClick: z
2122
2123
  }) => {
2123
2124
  const J = Re(), Y = `${J}-helper`, h = _ ? "danger" : o, v = _ || o == "danger" ? "error" : a, R = x || !!_, L = (U) => {
2124
- V == null || V(U.target.value);
2125
+ F == null || F(U.target.value);
2125
2126
  }, $ = {
2126
2127
  wrapper: `${ye["smp-textfield-wrapper"]} ${S ? ye["smp-textfield-fullWidth"] : ""}`,
2127
2128
  container: `${ye["smp-textfield"]} ${r ? ye["smp-textfield-disabled"] : ""} ${n ? ye["smp-textfield-placeholder"] : ""} ${i ? ye[`smp-textfield-${i}`] : ""} ${h ? ye[`smp-textfield-${h}`] : ""} ${w ? ye[`smp-textfield-${w}`] : ""} ${s ? "" : ye["smp-textfield-readOnly"]} ${c ? ye["smp-textfield-top-right-indicator"] : ""}`,
@@ -2155,8 +2156,8 @@ const Fe = (r, e, t) => {
2155
2156
  disabled: r,
2156
2157
  readOnly: !s,
2157
2158
  onKeyDown: P,
2158
- "aria-label": d,
2159
- ref: p,
2159
+ "aria-label": p,
2160
+ ref: d,
2160
2161
  "aria-describedby": R ? Y : void 0,
2161
2162
  min: b,
2162
2163
  max: j,
@@ -2174,7 +2175,7 @@ const Fe = (r, e, t) => {
2174
2175
  icon: v,
2175
2176
  disabled: r,
2176
2177
  state: h,
2177
- onClick: F,
2178
+ onClick: V,
2178
2179
  rotated: f,
2179
2180
  isInteractable: s,
2180
2181
  tabIndex: 0
@@ -2211,12 +2212,12 @@ function Ar({
2211
2212
  offsetTop: m * e
2212
2213
  });
2213
2214
  const u = ue((m) => {
2214
- const d = m.target.scrollTop;
2215
- a(d);
2216
- }, []), p = (m) => {
2215
+ const p = m.target.scrollTop;
2216
+ a(p);
2217
+ }, []), d = (m) => {
2217
2218
  if (!i.current) return;
2218
- const d = m * e, y = d + e, x = i.current, _ = x.scrollTop, w = _ + t;
2219
- d < _ ? x.scrollTop = d : y > w && (x.scrollTop = y - t);
2219
+ const p = m * e, y = p + e, x = i.current, _ = x.scrollTop, w = _ + t;
2220
+ p < _ ? x.scrollTop = p : y > w && (x.scrollTop = y - t);
2220
2221
  };
2221
2222
  return {
2222
2223
  virtualItems: f,
@@ -2244,7 +2245,7 @@ function Ar({
2244
2245
  startIndex: l,
2245
2246
  endIndex: c
2246
2247
  },
2247
- scrollToIndex: p
2248
+ scrollToIndex: d
2248
2249
  };
2249
2250
  }
2250
2251
  const tt = {
@@ -2278,13 +2279,13 @@ const jn = 10, Ir = ({
2278
2279
  onKeyDown: c,
2279
2280
  isOpen: f
2280
2281
  }) => {
2281
- var V;
2282
- const [u, p] = G(""), m = 40, [d, y] = G(
2282
+ var F;
2283
+ const [u, d] = G(""), m = 40, [p, y] = G(
2283
2284
  a !== null ? a : -1
2284
2285
  ), [x, _] = G(o || 200), w = ce(null), S = s !== void 0 ? s : e.length > jn, E = u ? e.filter(
2285
2286
  (P) => P.label.toLowerCase().includes(u.toLowerCase())
2286
2287
  ) : e, b = (P) => {
2287
- p(P);
2288
+ d(P);
2288
2289
  }, { virtualItems: j, containerProps: k, innerProps: A, scrollToIndex: O } = Ar({
2289
2290
  items: E,
2290
2291
  itemHeight: m,
@@ -2292,10 +2293,10 @@ const jn = 10, Ir = ({
2292
2293
  overscan: 5
2293
2294
  });
2294
2295
  re(() => {
2295
- a !== null && a !== d && y(a);
2296
+ a !== null && a !== p && y(a);
2296
2297
  }, [a]), re(() => {
2297
- d >= 0 && d < E.length && O(d);
2298
- }, [d, E]), re(() => {
2298
+ p >= 0 && p < E.length && O(p);
2299
+ }, [p, E]), re(() => {
2299
2300
  f && (w != null && w.current) && w.current.focus();
2300
2301
  }, [f, w]), re(() => {
2301
2302
  const P = Rn(e, t);
@@ -2304,9 +2305,9 @@ const jn = 10, Ir = ({
2304
2305
  const T = (P) => {
2305
2306
  if (P.key === "ArrowDown" || P.key === "ArrowUp") {
2306
2307
  P.preventDefault();
2307
- let F = d;
2308
- P.key === "ArrowDown" ? F = d < E.length - 1 ? d + 1 : 0 : P.key === "ArrowUp" && (F = d > 0 ? d - 1 : E.length - 1), y(F);
2309
- } else P.key === "Enter" ? d >= 0 && d < E.length && (l == null || l(E[d])) : P.key === "Escape" && (P.preventDefault(), P.stopPropagation());
2308
+ let V = p;
2309
+ P.key === "ArrowDown" ? V = p < E.length - 1 ? p + 1 : 0 : P.key === "ArrowUp" && (V = p > 0 ? p - 1 : E.length - 1), y(V);
2310
+ } else P.key === "Enter" ? p >= 0 && p < E.length && (l == null || l(E[p])) : P.key === "Escape" && (P.preventDefault(), P.stopPropagation());
2310
2311
  c && c(P);
2311
2312
  }, C = (P) => {
2312
2313
  T(P);
@@ -2350,8 +2351,8 @@ const jn = 10, Ir = ({
2350
2351
  role: "listbox",
2351
2352
  "aria-label": "List",
2352
2353
  onKeyDown: D,
2353
- "aria-activedescendant": d >= 0 && d < E.length ? (V = E[d]) == null ? void 0 : V.id : void 0,
2354
- children: /* @__PURE__ */ g.jsx("div", { ...A, className: I.virtualScroll, children: j.map(({ item: P, index: F, offsetTop: z }) => {
2354
+ "aria-activedescendant": p >= 0 && p < E.length ? (F = E[p]) == null ? void 0 : F.id : void 0,
2355
+ children: /* @__PURE__ */ g.jsx("div", { ...A, className: I.virtualScroll, children: j.map(({ item: P, index: V, offsetTop: z }) => {
2355
2356
  const J = i.includes(P.id);
2356
2357
  return (
2357
2358
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -2360,9 +2361,9 @@ const jn = 10, Ir = ({
2360
2361
  {
2361
2362
  role: "option",
2362
2363
  id: P.id,
2363
- "aria-selected": d === F ? "true" : "false",
2364
+ "aria-selected": p === V ? "true" : "false",
2364
2365
  tabIndex: -1,
2365
- className: `${I.listItem} ${d === F ? "selected-item" : ""}`,
2366
+ className: `${I.listItem} ${p === V ? "selected-item" : ""}`,
2366
2367
  "aria-label": P.id + "-" + P.label,
2367
2368
  style: {
2368
2369
  height: `${m}px`,
@@ -2371,7 +2372,7 @@ const jn = 10, Ir = ({
2371
2372
  transform: `translateY(${z}px)`
2372
2373
  },
2373
2374
  onClick: () => {
2374
- l == null || l(P), y(F);
2375
+ l == null || l(P), y(V);
2375
2376
  },
2376
2377
  children: [
2377
2378
  Fe(P.id, P.label, t),
@@ -2758,9 +2759,9 @@ class dt extends yt {
2758
2759
  } = this.extractFromKey(e[e.length - 1], s), c = l[l.length - 1];
2759
2760
  let f = s.nsSeparator !== void 0 ? s.nsSeparator : this.options.nsSeparator;
2760
2761
  f === void 0 && (f = ":");
2761
- const u = s.lng || this.language, p = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
2762
+ const u = s.lng || this.language, d = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
2762
2763
  if ((u == null ? void 0 : u.toLowerCase()) === "cimode")
2763
- return p ? a ? {
2764
+ return d ? a ? {
2764
2765
  res: `${c}${f}${o}`,
2765
2766
  usedKey: o,
2766
2767
  exactUsedKey: o,
@@ -2776,12 +2777,12 @@ class dt extends yt {
2776
2777
  usedParams: this.getUsedParamsDetails(s)
2777
2778
  } : o;
2778
2779
  const m = this.resolve(e, s);
2779
- let d = m == null ? void 0 : m.res;
2780
+ let p = m == null ? void 0 : m.res;
2780
2781
  const y = (m == null ? void 0 : m.usedKey) || o, x = (m == null ? void 0 : m.exactUsedKey) || o, _ = ["[object Number]", "[object Function]", "[object RegExp]"], w = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, E = s.count !== void 0 && !q(s.count), b = dt.hasDefaultValue(s), j = E ? this.pluralResolver.getSuffix(u, s.count, s) : "", k = s.ordinal && E ? this.pluralResolver.getSuffix(u, s.count, {
2781
2782
  ordinal: !1
2782
2783
  }) : "", A = E && !s.ordinal && s.count === 0, O = A && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${j}`] || s[`defaultValue${k}`] || s.defaultValue;
2783
- let T = d;
2784
- S && !d && b && (T = O);
2784
+ let T = p;
2785
+ S && !p && b && (T = O);
2785
2786
  const C = mr(T), D = Object.prototype.toString.apply(T);
2786
2787
  if (S && T && C && _.indexOf(D) < 0 && !(q(w) && Array.isArray(T))) {
2787
2788
  if (!s.returnObjects && !this.options.returnObjects) {
@@ -2793,31 +2794,31 @@ class dt extends yt {
2793
2794
  return a ? (m.res = I, m.usedParams = this.getUsedParamsDetails(s), m) : I;
2794
2795
  }
2795
2796
  if (i) {
2796
- const I = Array.isArray(T), V = I ? [] : {}, P = I ? x : y;
2797
- for (const F in T)
2798
- if (Object.prototype.hasOwnProperty.call(T, F)) {
2799
- const z = `${P}${i}${F}`;
2800
- b && !d ? V[F] = this.translate(z, {
2797
+ const I = Array.isArray(T), F = I ? [] : {}, P = I ? x : y;
2798
+ for (const V in T)
2799
+ if (Object.prototype.hasOwnProperty.call(T, V)) {
2800
+ const z = `${P}${i}${V}`;
2801
+ b && !p ? F[V] = this.translate(z, {
2801
2802
  ...s,
2802
- defaultValue: mr(O) ? O[F] : void 0,
2803
+ defaultValue: mr(O) ? O[V] : void 0,
2803
2804
  joinArrays: !1,
2804
2805
  ns: l
2805
- }) : V[F] = this.translate(z, {
2806
+ }) : F[V] = this.translate(z, {
2806
2807
  ...s,
2807
2808
  joinArrays: !1,
2808
2809
  ns: l
2809
- }), V[F] === z && (V[F] = T[F]);
2810
+ }), F[V] === z && (F[V] = T[V]);
2810
2811
  }
2811
- d = V;
2812
+ p = F;
2812
2813
  }
2813
- } else if (S && q(w) && Array.isArray(d))
2814
- d = d.join(w), d && (d = this.extendTranslation(d, e, s, n));
2814
+ } else if (S && q(w) && Array.isArray(p))
2815
+ p = p.join(w), p && (p = this.extendTranslation(p, e, s, n));
2815
2816
  else {
2816
- let I = !1, V = !1;
2817
- !this.isValidLookup(d) && b && (I = !0, d = O), this.isValidLookup(d) || (V = !0, d = o);
2818
- const F = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && V ? void 0 : d, z = b && O !== d && this.options.updateMissing;
2819
- if (V || I || z) {
2820
- if (this.logger.log(z ? "updateKey" : "missingKey", u, c, o, z ? O : d), i) {
2817
+ let I = !1, F = !1;
2818
+ !this.isValidLookup(p) && b && (I = !0, p = O), this.isValidLookup(p) || (F = !0, p = o);
2819
+ const V = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && F ? void 0 : p, z = b && O !== p && this.options.updateMissing;
2820
+ if (F || I || z) {
2821
+ if (this.logger.log(z ? "updateKey" : "missingKey", u, c, o, z ? O : p), i) {
2821
2822
  const v = this.resolve(o, {
2822
2823
  ...s,
2823
2824
  keySeparator: !1
@@ -2832,8 +2833,8 @@ class dt extends yt {
2832
2833
  else this.options.saveMissingTo === "all" ? J = this.languageUtils.toResolveHierarchy(s.lng || this.language) : J.push(s.lng || this.language);
2833
2834
  const h = (v, R, L) => {
2834
2835
  var N;
2835
- const $ = b && L !== d ? L : F;
2836
- this.options.missingKeyHandler ? this.options.missingKeyHandler(v, c, R, $, z, s) : (N = this.backendConnector) != null && N.saveMissing && this.backendConnector.saveMissing(v, c, R, $, z, s), this.emit("missingKey", v, c, R, d);
2836
+ const $ = b && L !== p ? L : V;
2837
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(v, c, R, $, z, s) : (N = this.backendConnector) != null && N.saveMissing && this.backendConnector.saveMissing(v, c, R, $, z, s), this.emit("missingKey", v, c, R, p);
2837
2838
  };
2838
2839
  this.options.saveMissing && (this.options.saveMissingPlurals && E ? J.forEach((v) => {
2839
2840
  const R = this.pluralResolver.getSuffixes(v, s);
@@ -2842,9 +2843,9 @@ class dt extends yt {
2842
2843
  });
2843
2844
  }) : h(J, o, O));
2844
2845
  }
2845
- d = this.extendTranslation(d, e, s, m, n), V && d === o && this.options.appendNamespaceToMissingKey && (d = `${c}${f}${o}`), (V || I) && this.options.parseMissingKeyHandler && (d = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${f}${o}` : o, I ? d : void 0, s));
2846
+ p = this.extendTranslation(p, e, s, m, n), F && p === o && this.options.appendNamespaceToMissingKey && (p = `${c}${f}${o}`), (F || I) && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${f}${o}` : o, I ? p : void 0, s));
2846
2847
  }
2847
- return a ? (m.res = d, m.usedParams = this.getUsedParamsDetails(s), m) : d;
2848
+ return a ? (m.res = p, m.usedParams = this.getUsedParamsDetails(s), m) : p;
2848
2849
  }
2849
2850
  extendTranslation(e, t, n, s, a) {
2850
2851
  var l, c;
@@ -2869,13 +2870,13 @@ class dt extends yt {
2869
2870
  const m = e.match(this.interpolator.nestingRegexp);
2870
2871
  u = m && m.length;
2871
2872
  }
2872
- let p = n.replace && !q(n.replace) ? n.replace : n;
2873
- if (this.options.interpolation.defaultVariables && (p = {
2873
+ let d = n.replace && !q(n.replace) ? n.replace : n;
2874
+ if (this.options.interpolation.defaultVariables && (d = {
2874
2875
  ...this.options.interpolation.defaultVariables,
2875
- ...p
2876
- }), e = this.interpolator.interpolate(e, p, n.lng || this.language || s.usedLng, n), f) {
2877
- const m = e.match(this.interpolator.nestingRegexp), d = m && m.length;
2878
- u < d && (n.nest = !1);
2876
+ ...d
2877
+ }), e = this.interpolator.interpolate(e, d, n.lng || this.language || s.usedLng, n), f) {
2878
+ const m = e.match(this.interpolator.nestingRegexp), p = m && m.length;
2879
+ u < p && (n.nest = !1);
2879
2880
  }
2880
2881
  !n.lng && s && s.res && (n.lng = this.language || s.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...m) => (a == null ? void 0 : a[0]) === m[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${t[0]}`), null) : this.translate(...m, t), n)), n.interpolation && this.interpolator.reset();
2881
2882
  }
@@ -2896,7 +2897,7 @@ class dt extends yt {
2896
2897
  s = f;
2897
2898
  let u = c.namespaces;
2898
2899
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
2899
- const p = t.count !== void 0 && !q(t.count), m = p && !t.ordinal && t.count === 0, d = t.context !== void 0 && (q(t.context) || typeof t.context == "number") && t.context !== "", y = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2900
+ const d = t.count !== void 0 && !q(t.count), m = d && !t.ordinal && t.count === 0, p = t.context !== void 0 && (q(t.context) || typeof t.context == "number") && t.context !== "", y = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2900
2901
  u.forEach((x) => {
2901
2902
  var _, w;
2902
2903
  this.isValidLookup(n) || (o = x, !hr[`${y[0]}-${x}`] && ((_ = this.utils) != null && _.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(o)) && (hr[`${y[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((S) => {
@@ -2908,11 +2909,11 @@ class dt extends yt {
2908
2909
  this.i18nFormat.addLookupKeys(E, f, S, x, t);
2909
2910
  else {
2910
2911
  let k;
2911
- p && (k = this.pluralResolver.getSuffix(S, t.count, t));
2912
+ d && (k = this.pluralResolver.getSuffix(S, t.count, t));
2912
2913
  const A = `${this.options.pluralSeparator}zero`, O = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2913
- if (p && (E.push(f + k), t.ordinal && k.indexOf(O) === 0 && E.push(f + k.replace(O, this.options.pluralSeparator)), m && E.push(f + A)), d) {
2914
+ if (d && (E.push(f + k), t.ordinal && k.indexOf(O) === 0 && E.push(f + k.replace(O, this.options.pluralSeparator)), m && E.push(f + A)), p) {
2914
2915
  const T = `${f}${this.options.contextSeparator}${t.context}`;
2915
- E.push(T), p && (E.push(T + k), t.ordinal && k.indexOf(O) === 0 && E.push(T + k.replace(O, this.options.pluralSeparator)), m && E.push(T + A));
2916
+ E.push(T), d && (E.push(T + k), t.ordinal && k.indexOf(O) === 0 && E.push(T + k.replace(O, this.options.pluralSeparator)), m && E.push(T + A));
2916
2917
  }
2917
2918
  }
2918
2919
  let b;
@@ -3106,15 +3107,15 @@ class Un {
3106
3107
  formatSeparator: c,
3107
3108
  unescapeSuffix: f,
3108
3109
  unescapePrefix: u,
3109
- nestingPrefix: p,
3110
+ nestingPrefix: d,
3110
3111
  nestingPrefixEscaped: m,
3111
- nestingSuffix: d,
3112
+ nestingSuffix: p,
3112
3113
  nestingSuffixEscaped: y,
3113
3114
  nestingOptionsSeparator: x,
3114
3115
  maxReplaces: _,
3115
3116
  alwaysFormat: w
3116
3117
  } = e.interpolation;
3117
- this.escape = t !== void 0 ? t : Pn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Pe(a) : i || "{{", this.suffix = o ? Pe(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? Pe(p) : m || Pe("$t("), this.nestingSuffix = d ? Pe(d) : y || Pe(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
3118
+ this.escape = t !== void 0 ? t : Pn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Pe(a) : i || "{{", this.suffix = o ? Pe(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = d ? Pe(d) : m || Pe("$t("), this.nestingSuffix = p ? Pe(p) : y || Pe(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
3118
3119
  }
3119
3120
  reset() {
3120
3121
  this.options && this.init(this.options);
@@ -3126,16 +3127,16 @@ class Un {
3126
3127
  interpolate(e, t, n, s) {
3127
3128
  var m;
3128
3129
  let a, i, o;
3129
- const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (d) => {
3130
- if (d.indexOf(this.formatSeparator) < 0) {
3131
- const w = vr(t, l, d, this.options.keySeparator, this.options.ignoreJSONStructure);
3130
+ const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (p) => {
3131
+ if (p.indexOf(this.formatSeparator) < 0) {
3132
+ const w = vr(t, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
3132
3133
  return this.alwaysFormat ? this.format(w, void 0, n, {
3133
3134
  ...s,
3134
3135
  ...t,
3135
- interpolationkey: d
3136
+ interpolationkey: p
3136
3137
  }) : w;
3137
3138
  }
3138
- const y = d.split(this.formatSeparator), x = y.shift().trim(), _ = y.join(this.formatSeparator).trim();
3139
+ const y = p.split(this.formatSeparator), x = y.shift().trim(), _ = y.join(this.formatSeparator).trim();
3139
3140
  return this.format(vr(t, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), _, n, {
3140
3141
  ...s,
3141
3142
  ...t,
@@ -3146,12 +3147,12 @@ class Un {
3146
3147
  const f = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, u = ((m = s == null ? void 0 : s.interpolation) == null ? void 0 : m.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
3147
3148
  return [{
3148
3149
  regex: this.regexpUnescape,
3149
- safeValue: (d) => _t(d)
3150
+ safeValue: (p) => _t(p)
3150
3151
  }, {
3151
3152
  regex: this.regexp,
3152
- safeValue: (d) => this.escapeValue ? _t(this.escape(d)) : _t(d)
3153
- }].forEach((d) => {
3154
- for (o = 0; a = d.regex.exec(e); ) {
3153
+ safeValue: (p) => this.escapeValue ? _t(this.escape(p)) : _t(p)
3154
+ }].forEach((p) => {
3155
+ for (o = 0; a = p.regex.exec(e); ) {
3155
3156
  const y = a[1].trim();
3156
3157
  if (i = c(y), i === void 0)
3157
3158
  if (typeof f == "function") {
@@ -3165,8 +3166,8 @@ class Un {
3165
3166
  } else
3166
3167
  this.logger.warn(`missed to pass in variable ${y} for interpolating ${e}`), i = "";
3167
3168
  else !q(i) && !this.useRawValueToEscape && (i = cr(i));
3168
- const x = d.safeValue(i);
3169
- if (e = e.replace(a[0], x), u ? (d.regex.lastIndex += i.length, d.regex.lastIndex -= a[0].length) : d.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3169
+ const x = p.safeValue(i);
3170
+ if (e = e.replace(a[0], x), u ? (p.regex.lastIndex += i.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3170
3171
  break;
3171
3172
  }
3172
3173
  }), e;
@@ -3177,17 +3178,17 @@ class Un {
3177
3178
  const f = this.nestingOptionsSeparator;
3178
3179
  if (l.indexOf(f) < 0) return l;
3179
3180
  const u = l.split(new RegExp(`${f}[ ]*{`));
3180
- let p = `{${u[1]}`;
3181
- l = u[0], p = this.interpolate(p, i);
3182
- const m = p.match(/'/g), d = p.match(/"/g);
3183
- (((m == null ? void 0 : m.length) ?? 0) % 2 === 0 && !d || d.length % 2 !== 0) && (p = p.replace(/'/g, '"'));
3181
+ let d = `{${u[1]}`;
3182
+ l = u[0], d = this.interpolate(d, i);
3183
+ const m = d.match(/'/g), p = d.match(/"/g);
3184
+ (((m == null ? void 0 : m.length) ?? 0) % 2 === 0 && !p || p.length % 2 !== 0) && (d = d.replace(/'/g, '"'));
3184
3185
  try {
3185
- i = JSON.parse(p), c && (i = {
3186
+ i = JSON.parse(d), c && (i = {
3186
3187
  ...c,
3187
3188
  ...i
3188
3189
  });
3189
3190
  } catch (y) {
3190
- return this.logger.warn(`failed parsing options string in nesting for key ${l}`, y), `${l}${f}${p}`;
3191
+ return this.logger.warn(`failed parsing options string in nesting for key ${l}`, y), `${l}${f}${d}`;
3191
3192
  }
3192
3193
  return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, l;
3193
3194
  };
@@ -3303,10 +3304,10 @@ class Hn {
3303
3304
  formatOptions: f
3304
3305
  } = Wn(l);
3305
3306
  if (this.formats[c]) {
3306
- let p = o;
3307
+ let d = o;
3307
3308
  try {
3308
- const m = ((u = s == null ? void 0 : s.formatParams) == null ? void 0 : u[s.interpolationkey]) || {}, d = m.locale || m.lng || s.locale || s.lng || n;
3309
- p = this.formats[c](o, d, {
3309
+ const m = ((u = s == null ? void 0 : s.formatParams) == null ? void 0 : u[s.interpolationkey]) || {}, p = m.locale || m.lng || s.locale || s.lng || n;
3310
+ d = this.formats[c](o, p, {
3310
3311
  ...f,
3311
3312
  ...s,
3312
3313
  ...m
@@ -3314,7 +3315,7 @@ class Hn {
3314
3315
  } catch (m) {
3315
3316
  this.logger.warn(m);
3316
3317
  }
3317
- return p;
3318
+ return d;
3318
3319
  } else
3319
3320
  this.logger.warn(`there was no format function for ${c}`);
3320
3321
  return o;
@@ -3334,8 +3335,8 @@ class Kn extends yt {
3334
3335
  return e.forEach((c) => {
3335
3336
  let f = !0;
3336
3337
  t.forEach((u) => {
3337
- const p = `${c}|${u}`;
3338
- !n.reload && this.store.hasResourceBundle(c, u) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? i[p] === void 0 && (i[p] = !0) : (this.state[p] = 1, f = !1, i[p] === void 0 && (i[p] = !0), a[p] === void 0 && (a[p] = !0), l[u] === void 0 && (l[u] = !0)));
3338
+ const d = `${c}|${u}`;
3339
+ !n.reload && this.store.hasResourceBundle(c, u) ? this.state[d] = 2 : this.state[d] < 0 || (this.state[d] === 1 ? i[d] === void 0 && (i[d] = !0) : (this.state[d] = 1, f = !1, i[d] === void 0 && (i[d] = !0), a[d] === void 0 && (a[d] = !0), l[u] === void 0 && (l[u] = !0)));
3339
3340
  }), f || (o[c] = !0);
3340
3341
  }), (Object.keys(a).length || Object.keys(i).length) && this.queue.push({
3341
3342
  pending: i,
@@ -3431,26 +3432,26 @@ class Kn extends yt {
3431
3432
  }
3432
3433
  saveMissing(e, t, n, s, a, i = {}, o = () => {
3433
3434
  }) {
3434
- var l, c, f, u, p;
3435
+ var l, c, f, u, d;
3435
3436
  if ((c = (l = this.services) == null ? void 0 : l.utils) != null && c.hasLoadedNamespace && !((u = (f = this.services) == null ? void 0 : f.utils) != null && u.hasLoadedNamespace(t))) {
3436
3437
  this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
3437
3438
  return;
3438
3439
  }
3439
3440
  if (!(n == null || n === "")) {
3440
- if ((p = this.backend) != null && p.create) {
3441
+ if ((d = this.backend) != null && d.create) {
3441
3442
  const m = {
3442
3443
  ...i,
3443
3444
  isUpdate: a
3444
- }, d = this.backend.create.bind(this.backend);
3445
- if (d.length < 6)
3445
+ }, p = this.backend.create.bind(this.backend);
3446
+ if (p.length < 6)
3446
3447
  try {
3447
3448
  let y;
3448
- d.length === 5 ? y = d(e, t, n, s, m) : y = d(e, t, n, s), y && typeof y.then == "function" ? y.then((x) => o(null, x)).catch(o) : o(null, y);
3449
+ p.length === 5 ? y = p(e, t, n, s, m) : y = p(e, t, n, s), y && typeof y.then == "function" ? y.then((x) => o(null, x)).catch(o) : o(null, y);
3449
3450
  } catch (y) {
3450
3451
  o(y);
3451
3452
  }
3452
3453
  else
3453
- d(e, t, n, s, o, m);
3454
+ p(e, t, n, s, o, m);
3454
3455
  }
3455
3456
  !e || !e[0] || this.store.addResource(e[0], t, n, s);
3456
3457
  }
@@ -3558,12 +3559,12 @@ class Ge extends yt {
3558
3559
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3559
3560
  }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = s(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Un(this.options), u.utils = {
3560
3561
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3561
- }, u.backendConnector = new Kn(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (p, ...m) => {
3562
- this.emit(p, ...m);
3563
- }), 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 dt(this.services, this.options), this.translator.on("*", (p, ...m) => {
3564
- this.emit(p, ...m);
3565
- }), this.modules.external.forEach((p) => {
3566
- p.init && p.init(this);
3562
+ }, u.backendConnector = new Kn(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (d, ...m) => {
3563
+ this.emit(d, ...m);
3564
+ }), 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 dt(this.services, this.options), this.translator.on("*", (d, ...m) => {
3565
+ this.emit(d, ...m);
3566
+ }), this.modules.external.forEach((d) => {
3567
+ d.init && d.init(this);
3567
3568
  });
3568
3569
  }
3569
3570
  if (this.format = this.options.interpolation.format, t || (t = rt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
@@ -3637,8 +3638,8 @@ class Ge extends yt {
3637
3638
  var f, u;
3638
3639
  !e && !o && this.services.languageDetector && (o = []);
3639
3640
  const l = q(o) ? o : o && o[0], c = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(q(o) ? [o] : o);
3640
- c && (this.language || s(c), this.translator.language || this.translator.changeLanguage(c), (u = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || u.call(f, c)), this.loadResources(c, (p) => {
3641
- a(p, c);
3641
+ c && (this.language || s(c), this.translator.language || this.translator.changeLanguage(c), (u = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || u.call(f, c)), this.loadResources(c, (d) => {
3642
+ a(d, c);
3642
3643
  });
3643
3644
  };
3644
3645
  return !e && this.services.languageDetector && !this.services.languageDetector.async ? i(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(i) : this.services.languageDetector.detect(i) : i(e), n;
@@ -3898,19 +3899,19 @@ const kr = ({
3898
3899
  onChange: c,
3899
3900
  onOptionsRequest: f,
3900
3901
  onBlur: u,
3901
- _multiActiveIndex: p,
3902
+ _multiActiveIndex: d,
3902
3903
  ...m
3903
3904
  }) => {
3904
- const d = ce(null), [y, x] = G(r), [_, w] = G(e), { translate: S } = Ae(), [E, b] = G(!1), [j, k] = G(t || []), [A, O] = G(0), [T, C] = G([r]), { anchorRef: D, targetRef: I, anchorWidth: V } = ht({
3905
+ const p = ce(null), [y, x] = G(r), [_, w] = G(e), { translate: S } = Ae(), [E, b] = G(!1), [j, k] = G(t || []), [A, O] = G(0), [T, C] = G([r]), { anchorRef: D, targetRef: I, anchorWidth: F } = ht({
3905
3906
  position: "bottom",
3906
3907
  enabled: E
3907
3908
  }), P = ue(() => {
3908
3909
  var R;
3909
- b(!1), (R = d == null ? void 0 : d.current) == null || R.focus();
3910
+ b(!1), (R = p == null ? void 0 : p.current) == null || R.focus();
3910
3911
  }, []);
3911
3912
  gt([I], E, () => P());
3912
- const F = Dn(400), z = (R) => {
3913
- R.length >= a ? o && f && F(async () => {
3913
+ const V = Dn(400), z = (R) => {
3914
+ R.length >= a ? o && f && V(async () => {
3914
3915
  const L = await f(o, R);
3915
3916
  k(L), O(L.length > 0 ? 0 : -1), b(!0);
3916
3917
  }) : P(), x(R), w(e), l || c == null || c(R, e);
@@ -3950,7 +3951,7 @@ const kr = ({
3950
3951
  Oe.AUTOCOMPLETE_DEFAULT_PLACEHOLDER
3951
3952
  ),
3952
3953
  ref: D,
3953
- inputRef: d,
3954
+ inputRef: p,
3954
3955
  onChange: z,
3955
3956
  onKeyDown: v,
3956
3957
  onBlur: J,
@@ -3965,8 +3966,8 @@ const kr = ({
3965
3966
  onClick: Y,
3966
3967
  ref: I,
3967
3968
  selectedIndex: A,
3968
- activeIndex: p || T,
3969
- width: V,
3969
+ activeIndex: d || T,
3970
+ width: F,
3970
3971
  showFilter: !1,
3971
3972
  onKeyDown: h,
3972
3973
  isOpen: E
@@ -3986,19 +3987,19 @@ const kr = ({
3986
3987
  fullWidth: c,
3987
3988
  disabled: f,
3988
3989
  justify: u,
3989
- squared: p,
3990
+ squared: d,
3990
3991
  onClick: m,
3991
- onOptionsRequest: d
3992
+ onOptionsRequest: p
3992
3993
  }) => {
3993
3994
  const [y, x] = G(r);
3994
3995
  re(() => {
3995
- !y && d && e && d(e, void 0).then((S) => x(S)).catch((S) => {
3996
+ !y && p && e && p(e, void 0).then((S) => x(S)).catch((S) => {
3996
3997
  console.error(
3997
3998
  "Errore nel caricamento delle opzioni per ButtonList",
3998
3999
  S
3999
4000
  );
4000
4001
  });
4001
- }, [y, e, d]);
4002
+ }, [y, e, p]);
4002
4003
  const _ = {
4003
4004
  container: `smp-button-list smp-button-list-${t} smp-justifyContent-${n}`
4004
4005
  }, w = y == null ? void 0 : y.map((S, E) => {
@@ -4015,7 +4016,7 @@ const kr = ({
4015
4016
  disabled: f,
4016
4017
  sizing: s,
4017
4018
  justify: u,
4018
- squared: p,
4019
+ squared: d,
4019
4020
  onClick: () => {
4020
4021
  m == null || m(S.id, S.fun);
4021
4022
  }
@@ -4068,15 +4069,15 @@ const kr = ({
4068
4069
  container: `${["smp-chips-container"]}`,
4069
4070
  element: "smp-chips-element"
4070
4071
  }, f = (m) => {
4071
- n == null || n(r.filter((d, y) => y !== m));
4072
+ n == null || n(r.filter((p, y) => y !== m));
4072
4073
  }, u = (m) => {
4073
4074
  l(m);
4074
- }, p = (m) => {
4075
+ }, d = (m) => {
4075
4076
  if (o === null || o === m) return;
4076
- const d = [...r], [y] = d.splice(o, 1);
4077
- d.splice(m, 0, y), n == null || n(d), l(null);
4077
+ const p = [...r], [y] = p.splice(o, 1);
4078
+ p.splice(m, 0, y), n == null || n(p), l(null);
4078
4079
  };
4079
- return /* @__PURE__ */ g.jsx("div", { className: c.container, role: "list", "data-component": "chip", children: r.flatMap((m, d) => {
4080
+ return /* @__PURE__ */ g.jsx("div", { className: c.container, role: "list", "data-component": "chip", children: r.flatMap((m, p) => {
4080
4081
  const y = Fe(
4081
4082
  m.bindValue,
4082
4083
  m.optionalDisplayValue,
@@ -4087,9 +4088,9 @@ const kr = ({
4087
4088
  className: c.element,
4088
4089
  role: "listitem",
4089
4090
  draggable: i,
4090
- onDragStart: () => u(d),
4091
+ onDragStart: () => u(p),
4091
4092
  onDragOver: (w) => i && w.preventDefault(),
4092
- onDrop: () => i && p(d),
4093
+ onDrop: () => i && d(p),
4093
4094
  style: {
4094
4095
  "--smp-chips-backgroundColor-base": a
4095
4096
  },
@@ -4101,20 +4102,20 @@ const kr = ({
4101
4102
  {
4102
4103
  icon: "close",
4103
4104
  isInteractable: !0,
4104
- onClick: () => f(d),
4105
+ onClick: () => f(p),
4105
4106
  color: s
4106
4107
  }
4107
4108
  )
4108
4109
  ]
4109
4110
  },
4110
- `chip-${d}`
4111
- ), _ = i && d < r.length - 1 ? /* @__PURE__ */ g.jsx(
4111
+ `chip-${p}`
4112
+ ), _ = i && p < r.length - 1 ? /* @__PURE__ */ g.jsx(
4112
4113
  le,
4113
4114
  {
4114
4115
  icon: "chevron-right",
4115
4116
  color: s
4116
4117
  },
4117
- `separator-${d}`
4118
+ `separator-${p}`
4118
4119
  ) : null;
4119
4120
  return [x, _].filter(Boolean);
4120
4121
  }) });
@@ -4139,8 +4140,8 @@ function kt(r, e) {
4139
4140
  if (c.key === "Escape" || c.key !== "Tab") return;
4140
4141
  const f = s();
4141
4142
  if (f.length === 0) return;
4142
- const u = f[0], p = f[f.length - 1];
4143
- c.shiftKey && document.activeElement === u ? (c.preventDefault(), p.focus()) : !c.shiftKey && document.activeElement === p && (c.preventDefault(), u.focus());
4143
+ const u = f[0], d = f[f.length - 1];
4144
+ c.shiftKey && document.activeElement === u ? (c.preventDefault(), d.focus()) : !c.shiftKey && document.activeElement === d && (c.preventDefault(), u.focus());
4144
4145
  }, o = (c) => {
4145
4146
  if (n && !n.contains(c.target)) {
4146
4147
  c.preventDefault();
@@ -4171,24 +4172,24 @@ const gs = ({
4171
4172
  multiActiveIndex: c,
4172
4173
  ...f
4173
4174
  }) => {
4174
- const u = ce(null), [p, m] = G(!1), [d, y] = G(t), [x, _] = G(-1), [w, S] = G([r]), E = Re(), { anchorRef: b, targetRef: j, anchorWidth: k } = ht({
4175
+ const u = ce(null), [d, m] = G(!1), [p, y] = G(t), [x, _] = G(-1), [w, S] = G([r]), E = Re(), { anchorRef: b, targetRef: j, anchorWidth: k } = ht({
4175
4176
  position: "bottom",
4176
- enabled: p
4177
+ enabled: d
4177
4178
  }), A = ue(() => {
4178
4179
  var I;
4179
4180
  m(!1), (I = u == null ? void 0 : u.current) == null || I.focus();
4180
4181
  }, []);
4181
- gt([j, b], p, () => A()), kt(p, j);
4182
+ gt([j, b], d, () => A()), kt(d, j);
4182
4183
  const O = (I) => {
4183
4184
  e == null || e(I.id, I.label);
4184
- const V = d.findIndex((P) => P.id === I.id);
4185
- _(V), S([I.id]), A();
4185
+ const F = p.findIndex((P) => P.id === I.id);
4186
+ _(F), S([I.id]), A();
4186
4187
  }, T = (I) => {
4187
4188
  I.key === "Escape" && (A(), _(-1));
4188
4189
  }, C = (I) => {
4189
4190
  (I.key === "ArrowDown" || I.key === "ArrowUp") && (I.preventDefault(), D());
4190
4191
  }, D = () => {
4191
- s && (o && l ? p ? m(!1) : l(o, void 0).then((I) => {
4192
+ s && (o && l ? d ? m(!1) : l(o, void 0).then((I) => {
4192
4193
  y(I), _(I.length > 0 ? 0 : -1), m(!0);
4193
4194
  }) : m((I) => !I));
4194
4195
  };
@@ -4196,7 +4197,7 @@ const gs = ({
4196
4197
  "div",
4197
4198
  {
4198
4199
  role: "combobox",
4199
- "aria-expanded": p,
4200
+ "aria-expanded": d,
4200
4201
  "aria-controls": E,
4201
4202
  "aria-owns": E,
4202
4203
  "data-component": "combobox",
@@ -4212,7 +4213,7 @@ const gs = ({
4212
4213
  onKeyDown: C,
4213
4214
  onClick: D,
4214
4215
  shapeIcon: "arrow_drop_down",
4215
- rotatedShapeIcon: p,
4216
+ rotatedShapeIcon: d,
4216
4217
  isEditable: s,
4217
4218
  ref: b,
4218
4219
  inputRef: u,
@@ -4220,14 +4221,14 @@ const gs = ({
4220
4221
  variant: "notSelectable"
4221
4222
  }
4222
4223
  ),
4223
- p && /* @__PURE__ */ g.jsx(mt, { children: /* @__PURE__ */ g.jsx(
4224
+ d && /* @__PURE__ */ g.jsx(mt, { children: /* @__PURE__ */ g.jsx(
4224
4225
  Ir,
4225
4226
  {
4226
4227
  id: E,
4227
- options: d,
4228
+ options: p,
4228
4229
  displayMode: i,
4229
4230
  ref: j,
4230
- isOpen: p,
4231
+ isOpen: d,
4231
4232
  selectedIndex: x,
4232
4233
  activeIndex: c || w,
4233
4234
  width: k,
@@ -4256,9 +4257,9 @@ function bs({
4256
4257
  r || i() || /* @__PURE__ */ new Date()
4257
4258
  ), [f, u] = G(
4258
4259
  l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
4259
- ), [p, m] = G(
4260
+ ), [d, m] = G(
4260
4261
  l ? l.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
4261
- ), [d, y] = G(
4262
+ ), [p, y] = G(
4262
4263
  l ? l.getDate() : null
4263
4264
  ), x = ce(null), _ = ce([]), w = [
4264
4265
  a(pe.JANUARY),
@@ -4308,26 +4309,26 @@ function bs({
4308
4309
  }), b = (Y) => {
4309
4310
  E(Y) || (c(Y), y(Y.getDate()), e && e(_n(Y)));
4310
4311
  }, j = () => {
4311
- f === 0 ? (u(11), m(p - 1)) : u(f - 1), y(1);
4312
+ f === 0 ? (u(11), m(d - 1)) : u(f - 1), y(1);
4312
4313
  }, k = () => {
4313
- f === 11 ? (u(0), m(p + 1)) : u(f + 1), y(1);
4314
+ f === 11 ? (u(0), m(d + 1)) : u(f + 1), y(1);
4314
4315
  }, A = (Y, h) => new Date(Y, h + 1, 0).getDate(), O = (Y, h) => new Date(Y, h, 1).getDay(), T = (Y) => {
4315
4316
  var v;
4316
- const h = V.findIndex(
4317
+ const h = F.findIndex(
4317
4318
  (R) => R !== null && R.getDate() === Y
4318
4319
  );
4319
4320
  h !== -1 && _.current[h] && ((v = _.current[h]) == null || v.focus(), y(Y));
4320
4321
  }, C = (Y, h) => {
4321
- const v = V[h];
4322
+ const v = F[h];
4322
4323
  if (!v) return;
4323
- const R = A(p, f), L = v.getDate();
4324
+ const R = A(d, f), L = v.getDate();
4324
4325
  switch (Y.key) {
4325
4326
  case "ArrowRight":
4326
4327
  Y.preventDefault();
4327
4328
  {
4328
- let $ = L + 1, N = new Date(p, f, $);
4329
+ let $ = L + 1, N = new Date(d, f, $);
4329
4330
  if ($ > R) {
4330
- const U = f === 11 ? p + 1 : p, B = f === 11 ? 0 : f + 1;
4331
+ const U = f === 11 ? d + 1 : d, B = f === 11 ? 0 : f + 1;
4331
4332
  $ = 1, N = new Date(U, B, $), k(), setTimeout(() => {
4332
4333
  D(1, "forward");
4333
4334
  }, 0);
@@ -4341,9 +4342,9 @@ function bs({
4341
4342
  case "ArrowLeft":
4342
4343
  Y.preventDefault();
4343
4344
  {
4344
- let $ = L - 1, N = new Date(p, f, $);
4345
+ let $ = L - 1, N = new Date(d, f, $);
4345
4346
  if ($ < 1) {
4346
- const U = f === 0 ? p - 1 : p, B = f === 0 ? 11 : f - 1, W = A(U, B);
4347
+ const U = f === 0 ? d - 1 : d, B = f === 0 ? 11 : f - 1, W = A(U, B);
4347
4348
  $ = W, N = new Date(U, B, $), j(), setTimeout(() => {
4348
4349
  D(W, "backward");
4349
4350
  }, 0);
@@ -4355,9 +4356,9 @@ function bs({
4355
4356
  case "ArrowUp":
4356
4357
  Y.preventDefault();
4357
4358
  {
4358
- let $ = L - 7, N = new Date(p, f, $);
4359
+ let $ = L - 7, N = new Date(d, f, $);
4359
4360
  if ($ < 1) {
4360
- const U = f === 0 ? p - 1 : p, B = f === 0 ? 11 : f - 1;
4361
+ const U = f === 0 ? d - 1 : d, B = f === 0 ? 11 : f - 1;
4361
4362
  $ = A(U, B) + $, N = new Date(U, B, $), j(), setTimeout(() => {
4362
4363
  D($, "backward");
4363
4364
  }, 0);
@@ -4369,9 +4370,9 @@ function bs({
4369
4370
  case "ArrowDown":
4370
4371
  Y.preventDefault();
4371
4372
  {
4372
- let $ = L + 7, N = new Date(p, f, $);
4373
+ let $ = L + 7, N = new Date(d, f, $);
4373
4374
  if ($ > R) {
4374
- const U = f === 11 ? p + 1 : p, B = f === 11 ? 0 : f + 1;
4375
+ const U = f === 11 ? d + 1 : d, B = f === 11 ? 0 : f + 1;
4375
4376
  $ = $ - R, N = new Date(U, B, $), k(), setTimeout(() => {
4376
4377
  D($, "forward");
4377
4378
  }, 0);
@@ -4389,7 +4390,7 @@ function bs({
4389
4390
  case "PageUp":
4390
4391
  Y.preventDefault(), j(), setTimeout(() => {
4391
4392
  const $ = A(
4392
- f === 0 ? p - 1 : p,
4393
+ f === 0 ? d - 1 : d,
4393
4394
  f === 0 ? 11 : f - 1
4394
4395
  ), N = Math.min(L, $);
4395
4396
  D(N, "forward");
@@ -4398,7 +4399,7 @@ function bs({
4398
4399
  case "PageDown":
4399
4400
  Y.preventDefault(), k(), setTimeout(() => {
4400
4401
  const $ = A(
4401
- f === 11 ? p + 1 : p,
4402
+ f === 11 ? d + 1 : d,
4402
4403
  f === 11 ? 0 : f + 1
4403
4404
  ), N = Math.min(L, $);
4404
4405
  D(N, "forward");
@@ -4414,10 +4415,10 @@ function bs({
4414
4415
  break;
4415
4416
  }
4416
4417
  }, D = (Y, h) => {
4417
- const v = A(p, f);
4418
+ const v = A(d, f);
4418
4419
  if (h === "forward") {
4419
4420
  for (let R = Y; R <= v; R++) {
4420
- const L = new Date(p, f, R);
4421
+ const L = new Date(d, f, R);
4421
4422
  if (!E(L)) {
4422
4423
  T(R);
4423
4424
  return;
@@ -4428,43 +4429,43 @@ function bs({
4428
4429
  }, 0);
4429
4430
  } else {
4430
4431
  for (let N = Y; N >= 1; N--) {
4431
- const U = new Date(p, f, N);
4432
+ const U = new Date(d, f, N);
4432
4433
  if (!E(U)) {
4433
4434
  T(N);
4434
4435
  return;
4435
4436
  }
4436
4437
  }
4437
- const R = f === 0 ? p - 1 : p, L = f === 0 ? 11 : f - 1, $ = A(R, L);
4438
+ const R = f === 0 ? d - 1 : d, L = f === 0 ? 11 : f - 1, $ = A(R, L);
4438
4439
  j(), setTimeout(() => {
4439
4440
  D($, "backward");
4440
4441
  }, 0);
4441
4442
  }
4442
- }, V = (() => {
4443
- const Y = A(p, f), h = O(p, f), v = [];
4443
+ }, F = (() => {
4444
+ const Y = A(d, f), h = O(d, f), v = [];
4444
4445
  for (let R = 0; R < h; R++)
4445
4446
  v.push(null);
4446
4447
  for (let R = 1; R <= Y; R++) {
4447
- const L = new Date(p, f, R);
4448
+ const L = new Date(d, f, R);
4448
4449
  v.push(L);
4449
4450
  }
4450
4451
  return v;
4451
4452
  })(), P = [];
4452
- let F = [];
4453
- V.forEach((Y, h) => {
4454
- if (F.push(Y), F.length === 7 || h === V.length - 1) {
4455
- for (; F.length < 7; )
4456
- F.push(null);
4457
- P.push(F), F = [];
4453
+ let V = [];
4454
+ F.forEach((Y, h) => {
4455
+ if (V.push(Y), V.length === 7 || h === F.length - 1) {
4456
+ for (; V.length < 7; )
4457
+ V.push(null);
4458
+ P.push(V), V = [];
4458
4459
  }
4459
4460
  }), re(() => {
4460
4461
  var Y;
4461
- if (d !== null) {
4462
- const h = V.findIndex(
4463
- (v) => v !== null && v.getDate() === d
4462
+ if (p !== null) {
4463
+ const h = F.findIndex(
4464
+ (v) => v !== null && v.getDate() === p
4464
4465
  );
4465
4466
  h !== -1 && _.current[h] && ((Y = _.current[h]) == null || Y.focus());
4466
4467
  }
4467
- }, [f, p, d, V]);
4468
+ }, [f, d, p, F]);
4468
4469
  const z = {
4469
4470
  label: "smp-datepickercalendar-label",
4470
4471
  wrapper: `smp-datepickercalendar ${ys["smp-datepickercalendar-position"]}`,
@@ -4476,7 +4477,7 @@ function bs({
4476
4477
  ${h ? "smp-datepickercalendar-td-selected" : ""}
4477
4478
  ${v ? "smp-datepickercalendar-td-focused" : ""}
4478
4479
  ${R ? "smp-datepickercalendar-td-disabled" : ""}`
4479
- }, J = () => `${w[f]} ${p.toString()}`;
4480
+ }, J = () => `${w[f]} ${d.toString()}`;
4480
4481
  return /* @__PURE__ */ g.jsxs(
4481
4482
  "div",
4482
4483
  {
@@ -4535,7 +4536,7 @@ function bs({
4535
4536
  {
4536
4537
  ref: x,
4537
4538
  role: "grid",
4538
- "aria-label": `${a(Oe.CALENDAR_FOR)} ${w[f]} ${p}`,
4539
+ "aria-label": `${a(Oe.CALENDAR_FOR)} ${w[f]} ${d}`,
4539
4540
  className: z.table,
4540
4541
  children: [
4541
4542
  /* @__PURE__ */ g.jsx("thead", { children: /* @__PURE__ */ g.jsx("tr", { children: S.map((Y) => /* @__PURE__ */ g.jsx(
@@ -4563,7 +4564,7 @@ function bs({
4563
4564
  },
4564
4565
  `empty-${R}`
4565
4566
  );
4566
- const $ = v.getDate() === o.getDate() && v.getMonth() === o.getMonth() && v.getFullYear() === o.getFullYear(), N = l && v.getDate() === l.getDate() && v.getMonth() === l.getMonth() && v.getFullYear() === l.getFullYear(), U = d === v.getDate(), B = E(v);
4567
+ const $ = v.getDate() === o.getDate() && v.getMonth() === o.getMonth() && v.getFullYear() === o.getFullYear(), N = l && v.getDate() === l.getDate() && v.getMonth() === l.getMonth() && v.getFullYear() === l.getFullYear(), U = p === v.getDate(), B = E(v);
4567
4568
  return /* @__PURE__ */ g.jsx(
4568
4569
  "td",
4569
4570
  {
@@ -4604,16 +4605,16 @@ const vs = ({
4604
4605
  isEditable: s = !0,
4605
4606
  ...a
4606
4607
  }) => {
4607
- const i = ce(null), [o, l] = G(!1), [c, f] = G(r || ""), [u, p] = G(""), { anchorRef: m, targetRef: d } = ht({
4608
+ const i = ce(null), [o, l] = G(!1), [c, f] = G(r || ""), [u, d] = G(""), { anchorRef: m, targetRef: p } = ht({
4608
4609
  position: "bottom",
4609
4610
  enabled: o
4610
4611
  }), y = ue(() => {
4611
4612
  var O;
4612
4613
  l(!1), (O = i == null ? void 0 : i.current) == null || O.focus();
4613
4614
  }, []);
4614
- gt([d, m], o, () => {
4615
+ gt([p, m], o, () => {
4615
4616
  y();
4616
- }), kt(o, d);
4617
+ }), kt(o, p);
4617
4618
  const { format: x, getCurrentLanguage: _ } = Ae(), w = ue(
4618
4619
  (O) => {
4619
4620
  const T = O.length > 5 && En(O, _()) || O, C = x(T, void 0, void 0, {
@@ -4630,7 +4631,7 @@ const vs = ({
4630
4631
  );
4631
4632
  re(() => {
4632
4633
  const { formattedDate: O, isoDate: T, isValid: C } = w(r);
4633
- f(C && T || r), p(C && O || r);
4634
+ f(C && T || r), d(C && O || r);
4634
4635
  }, [r, x, w]);
4635
4636
  const S = () => l((O) => !O), E = () => {
4636
4637
  j(u);
@@ -4640,7 +4641,7 @@ const vs = ({
4640
4641
  const { isoDate: T, isValid: C } = w(O);
4641
4642
  t && t(C && T || O);
4642
4643
  }, k = (O) => {
4643
- p(O);
4644
+ d(O);
4644
4645
  }, A = (O) => {
4645
4646
  O.key === "Enter" && (O.preventDefault(), j(u));
4646
4647
  };
@@ -4669,7 +4670,7 @@ const vs = ({
4669
4670
  disabledDateRanges: n,
4670
4671
  onDateChange: b,
4671
4672
  initialValue: It(c) && c || "",
4672
- targetRef: d
4673
+ targetRef: p
4673
4674
  }
4674
4675
  ) })
4675
4676
  ] });
@@ -4686,9 +4687,9 @@ const vs = ({
4686
4687
  error: c,
4687
4688
  onOptionsRequest: f,
4688
4689
  onChange: u,
4689
- onBlur: p
4690
+ onBlur: d
4690
4691
  }) => {
4691
- const m = r.map((x) => x.bindValue), d = (x, _) => {
4692
+ const m = r.map((x) => x.bindValue), p = (x, _) => {
4692
4693
  const w = [...r];
4693
4694
  if (x == "")
4694
4695
  w.pop();
@@ -4729,7 +4730,7 @@ const vs = ({
4729
4730
  bindValue: "",
4730
4731
  fun: l,
4731
4732
  isEditable: s,
4732
- onChange: d,
4733
+ onChange: p,
4733
4734
  _changeOnEnter: !0,
4734
4735
  listDisplayMode: n,
4735
4736
  minimumChars: t,
@@ -4737,7 +4738,7 @@ const vs = ({
4737
4738
  onOptionsRequest: f,
4738
4739
  _multiActiveIndex: m,
4739
4740
  error: c,
4740
- onBlur: p
4741
+ onBlur: d
4741
4742
  }
4742
4743
  )
4743
4744
  ]
@@ -4860,18 +4861,18 @@ const ke = (r, e, t) => ({
4860
4861
  onEnter: o,
4861
4862
  ...l
4862
4863
  }) => {
4863
- const { getCurrentLanguage: c } = Ae(), f = ce(null), u = c(), { groupingChar: p, decimalChar: m } = Wr(
4864
+ const { getCurrentLanguage: c } = Ae(), f = ce(null), u = c(), { groupingChar: d, decimalChar: m } = Wr(
4864
4865
  () => as(u, s),
4865
4866
  [u, s]
4866
- ), d = ue(
4867
+ ), p = ue(
4867
4868
  (D, I) => new Intl.NumberFormat(u, {
4868
4869
  minimumFractionDigits: I,
4869
4870
  maximumFractionDigits: I,
4870
4871
  useGrouping: !0
4871
4872
  }).format(D),
4872
4873
  [u]
4873
- ), y = ue(ls, [p, m]), x = ue(ss, [r, e]), _ = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, S] = G(_), [E, b] = G(
4874
- a != null ? d(a, w) : ""
4874
+ ), y = ue(ls, [d, m]), x = ue(ss, [r, e]), _ = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, S] = G(_), [E, b] = G(
4875
+ a != null ? p(a, w) : ""
4875
4876
  ), j = ce(a ?? null);
4876
4877
  re(() => {
4877
4878
  if (a == null) {
@@ -4879,40 +4880,40 @@ const ke = (r, e, t) => ({
4879
4880
  return;
4880
4881
  }
4881
4882
  const D = a.toString().includes(".") ? a.toString().split(".")[1].length : 0, I = D === 0 ? w : D;
4882
- I !== w && S(I), b(d(a, I)), j.current = a;
4883
- }, [a, d]);
4883
+ I !== w && S(I), b(p(a, I)), j.current = a;
4884
+ }, [a, p]);
4884
4885
  const k = ue(
4885
4886
  (D, I = !1) => {
4886
4887
  if (D.trim() === "") {
4887
4888
  b(""), j.current = null, i == null || i(void 0, ""), I && (o == null || o(void 0));
4888
4889
  return;
4889
4890
  }
4890
- const V = y(D, p, m);
4891
- if (isNaN(V))
4891
+ const F = y(D, d, m);
4892
+ if (isNaN(F))
4892
4893
  if (j.current != null) {
4893
- const P = d(j.current, w);
4894
+ const P = p(j.current, w);
4894
4895
  b(P);
4895
4896
  } else
4896
4897
  b("");
4897
4898
  else {
4898
- const P = x(V, r, e), F = os(
4899
+ const P = x(F, r, e), V = os(
4899
4900
  D,
4900
- p,
4901
+ d,
4901
4902
  m
4902
4903
  );
4903
- S(F);
4904
- const z = d(P, F);
4904
+ S(V);
4905
+ const z = p(P, V);
4905
4906
  b(z), j.current = P, i == null || i(P, z), I && (o == null || o(P));
4906
4907
  }
4907
4908
  },
4908
4909
  [
4909
4910
  y,
4910
- p,
4911
+ d,
4911
4912
  m,
4912
4913
  x,
4913
4914
  r,
4914
4915
  e,
4915
- d,
4916
+ p,
4916
4917
  i,
4917
4918
  o,
4918
4919
  w
@@ -4924,14 +4925,14 @@ const ke = (r, e, t) => ({
4924
4925
  }
4925
4926
  if (D.key === "ArrowUp" || D.key === "ArrowDown") {
4926
4927
  D.preventDefault();
4927
- const I = D.key === "ArrowUp" ? 1 : -1, V = j.current ?? 0, P = x(V + I * t, r, e);
4928
- k(d(P, w));
4928
+ const I = D.key === "ArrowUp" ? 1 : -1, F = j.current ?? 0, P = x(F + I * t, r, e);
4929
+ k(p(P, w));
4929
4930
  }
4930
4931
  }, C = (D) => {
4931
4932
  if (!D.currentTarget.contains(document.activeElement)) return;
4932
4933
  D.preventDefault();
4933
- const I = D.deltaY < 0 ? 1 : -1, V = j.current ?? 0, P = x(V + I * t, r, e);
4934
- k(d(P, w));
4934
+ const I = D.deltaY < 0 ? 1 : -1, F = j.current ?? 0, P = x(F + I * t, r, e);
4935
+ k(p(P, w));
4935
4936
  };
4936
4937
  return /* @__PURE__ */ g.jsx("div", { ref: f, "data-component": "input-number", onWheel: C, children: /* @__PURE__ */ g.jsx(
4937
4938
  Le,
@@ -5008,9 +5009,9 @@ const _s = ({
5008
5009
  helperText: c,
5009
5010
  error: f,
5010
5011
  onBlur: u,
5011
- onKeyDown: p,
5012
+ onKeyDown: d,
5012
5013
  rows: m = 10,
5013
- cols: d = 150
5014
+ cols: p = 150
5014
5015
  }) => {
5015
5016
  const y = Re(), x = `${y}-helper`, _ = f ? "danger" : s, w = c || !!f, S = (b) => {
5016
5017
  t == null || t(b.target.value);
@@ -5031,12 +5032,12 @@ const _s = ({
5031
5032
  className: E.container,
5032
5033
  disabled: r,
5033
5034
  readOnly: !i,
5034
- onKeyDown: p,
5035
+ onKeyDown: d,
5035
5036
  "aria-label": o ? void 0 : l,
5036
5037
  "aria-labelledby": o ? y : void 0,
5037
5038
  "aria-describedby": w ? x : void 0,
5038
5039
  rows: m,
5039
- cols: d
5040
+ cols: p
5040
5041
  }
5041
5042
  ),
5042
5043
  w && /* @__PURE__ */ g.jsx(
@@ -5077,13 +5078,13 @@ const We = {
5077
5078
  container: We["smp-radio"],
5078
5079
  optionsContainer: `${We["smp-radio-options-container"]} ${t == Lt.LINE_DIRECTION ? We["smp-radio-horizontal"] : ""}`,
5079
5080
  option: `${We["smp-radio-element"]} ${r ? We["smp-radio-disabled"] : ""}`
5080
- }, p = () => {
5081
+ }, d = () => {
5081
5082
  var y;
5082
5083
  r || (y = o.onBlur) == null || y.call(o);
5083
5084
  }, m = (y) => {
5084
5085
  var x;
5085
5086
  r || (x = o.onChange) == null || x.call(o, y.id, y.label);
5086
- }, d = Re();
5087
+ }, p = Re();
5087
5088
  return /* @__PURE__ */ g.jsxs("div", { "smp-id": "radio-container", className: u.container, id: f, children: [
5088
5089
  i && /* @__PURE__ */ g.jsx(Ce, { label: i, disabled: r, htmlFor: f }),
5089
5090
  /* @__PURE__ */ g.jsx("div", { className: u.optionsContainer, children: l == null ? void 0 : l.map((y, x) => /* @__PURE__ */ g.jsxs("label", { className: u.option, children: [
@@ -5091,12 +5092,12 @@ const We = {
5091
5092
  "input",
5092
5093
  {
5093
5094
  type: "radio",
5094
- name: d,
5095
+ name: p,
5095
5096
  value: y.id,
5096
5097
  disabled: r,
5097
5098
  checked: y.id === o.bindValue,
5098
5099
  onChange: () => m(y),
5099
- onBlur: p
5100
+ onBlur: d
5100
5101
  }
5101
5102
  ),
5102
5103
  /* @__PURE__ */ g.jsx(
@@ -5180,14 +5181,14 @@ const We = {
5180
5181
  isEditable: n = !0,
5181
5182
  ...s
5182
5183
  }) => {
5183
- const a = ce(null), [i, o] = G(!1), [l, c] = G(r || ""), [f, u] = G(""), { anchorRef: p, targetRef: m } = ht({
5184
+ const a = ce(null), [i, o] = G(!1), [l, c] = G(r || ""), [f, u] = G(""), { anchorRef: d, targetRef: m } = ht({
5184
5185
  position: "bottom",
5185
5186
  enabled: i
5186
- }), d = ue(() => {
5187
+ }), p = ue(() => {
5187
5188
  var b;
5188
5189
  o(!1), (b = a == null ? void 0 : a.current) == null || b.focus();
5189
5190
  }, []);
5190
- gt([m, p], i, () => o(!1)), kt(i, m), re(() => {
5191
+ gt([m, d], i, () => o(!1)), kt(i, m), re(() => {
5191
5192
  const b = r || "", j = Or(b) ? b : r || "";
5192
5193
  c(b), u(j);
5193
5194
  }, [r]), re(() => {
@@ -5204,7 +5205,7 @@ const We = {
5204
5205
  u(b);
5205
5206
  }, _ = (b, j, k) => {
5206
5207
  const A = $s(b, j, k);
5207
- c(A), u(A), t == null || t(A), d();
5208
+ c(A), u(A), t == null || t(A), p();
5208
5209
  }, w = () => {
5209
5210
  E(f);
5210
5211
  }, S = (b) => {
@@ -5229,7 +5230,7 @@ const We = {
5229
5230
  shapeIcon: "clock",
5230
5231
  onShapeIconClick: y,
5231
5232
  isEditable: n,
5232
- ref: p,
5233
+ ref: d,
5233
5234
  inputRef: a
5234
5235
  }
5235
5236
  ),
@@ -5298,9 +5299,9 @@ const _r = /* @__PURE__ */ new Map([
5298
5299
  options: c,
5299
5300
  onChange: f,
5300
5301
  onClick: u,
5301
- onEnter: p,
5302
+ onEnter: d,
5302
5303
  onBlur: m,
5303
- onOptionsRequest: d,
5304
+ onOptionsRequest: p,
5304
5305
  onContextMenu: y,
5305
5306
  isEditable: x,
5306
5307
  dSep: _ = "."
@@ -5313,7 +5314,7 @@ const _r = /* @__PURE__ */ new Map([
5313
5314
  fun: a
5314
5315
  }, S = {
5315
5316
  onBlur: m,
5316
- onOptionsRequest: d,
5317
+ onOptionsRequest: p,
5317
5318
  fun: a,
5318
5319
  icon: s,
5319
5320
  tooltip: l,
@@ -5423,6 +5424,7 @@ const _r = /* @__PURE__ */ new Map([
5423
5424
  };
5424
5425
  return /* @__PURE__ */ g.jsx(Os, { ...T });
5425
5426
  }
5427
+ case te.EDITOR:
5426
5428
  case te.MEMO: {
5427
5429
  const T = {
5428
5430
  ...S,
@@ -5469,7 +5471,7 @@ const _r = /* @__PURE__ */ new Map([
5469
5471
  ...S,
5470
5472
  bindValue: t.k,
5471
5473
  onEnter: (C) => {
5472
- p == null || p(E(w, C));
5474
+ d == null || d(E(w, C));
5473
5475
  }
5474
5476
  };
5475
5477
  return /* @__PURE__ */ g.jsx(ws, { ...T });
@@ -5526,21 +5528,21 @@ const _r = /* @__PURE__ */ new Map([
5526
5528
  var o, l;
5527
5529
  const [s, a] = G(), i = ue(
5528
5530
  (c) => {
5529
- var u, p;
5530
- if (!((u = c.rows) != null && u.length) || !((p = c.columns) != null && p.length))
5531
+ var u, d;
5532
+ if (!((u = c.rows) != null && u.length) || !((d = c.columns) != null && d.length))
5531
5533
  return {};
5532
5534
  const f = c.rows[0];
5533
- return c.columns.filter((m) => m.visible).reduce((m, d) => {
5534
- const y = f.cells[d.name], x = {
5535
+ return c.columns.filter((m) => m.visible).reduce((m, p) => {
5536
+ const y = f.cells[p.name], x = {
5535
5537
  ...y,
5536
- id: d.name,
5538
+ id: p.name,
5537
5539
  onChange: (_) => {
5538
5540
  a((w) => w && {
5539
5541
  ...w,
5540
- [d.name]: {
5541
- ...w[d.name],
5542
+ [p.name]: {
5543
+ ...w[p.name],
5542
5544
  obj: {
5543
- ...w[d.name].obj,
5545
+ ...w[p.name].obj,
5544
5546
  k: _.obj.k
5545
5547
  }
5546
5548
  }
@@ -5560,7 +5562,7 @@ const _r = /* @__PURE__ */ new Map([
5560
5562
  };
5561
5563
  return {
5562
5564
  ...m,
5563
- [d.name]: x
5565
+ [p.name]: x
5564
5566
  };
5565
5567
  }, {});
5566
5568
  },
@@ -5593,7 +5595,7 @@ const _r = /* @__PURE__ */ new Map([
5593
5595
  onContextMenu: c
5594
5596
  }) => {
5595
5597
  var E, b;
5596
- const [f, u] = G(), [p, m] = G(t ?? !0), d = ce(null), y = s.trim() ? s : "100vh", x = ue(
5598
+ const [f, u] = G(), [d, m] = G(t ?? !0), p = ce(null), y = s.trim() ? s : "100vh", x = ue(
5597
5599
  (j) => {
5598
5600
  var A, O;
5599
5601
  if (!((A = j == null ? void 0 : j.rows) != null && A.length) || !((O = j == null ? void 0 : j.columns) != null && O.length))
@@ -5601,30 +5603,30 @@ const _r = /* @__PURE__ */ new Map([
5601
5603
  const k = j.rows[0];
5602
5604
  return j.columns.filter((T) => T.visible ?? !0).reduce((T, C) => {
5603
5605
  const D = k.cells[C.name];
5604
- if (!D || !p && de(n) && D.shape !== te.BUTTON && D.shape !== te.BUTTON_LIST)
5606
+ if (!D || !d && de(n) && D.shape !== te.BUTTON && D.shape !== te.BUTTON_LIST)
5605
5607
  return T;
5606
5608
  const I = {
5607
5609
  ...D,
5608
5610
  id: C.name,
5609
- onChange: (V) => {
5611
+ onChange: (F) => {
5610
5612
  u((P) => {
5611
- const F = { ...P };
5612
- return F != null && F[C.name] && (F[C.name].obj.k = V.obj.k), F;
5613
+ const V = { ...P };
5614
+ return V != null && V[C.name] && (V[C.name].obj.k = F.obj.k), V;
5613
5615
  });
5614
5616
  },
5615
- onClick: (V) => {
5616
- V.fun && a && a(V);
5617
+ onClick: (F) => {
5618
+ F.fun && a && a(F);
5617
5619
  },
5618
- onEnter: (V) => {
5619
- i && i(V);
5620
+ onEnter: (F) => {
5621
+ i && i(F);
5620
5622
  },
5621
- onContextMenu: (V, P) => {
5622
- c && c(V, P);
5623
+ onContextMenu: (F, P) => {
5624
+ c && c(F, P);
5623
5625
  }
5624
5626
  };
5625
- return l && D.shape == te.BUTTON_LIST && (I.onOptionsRequest = (V, P) => l(V, P).then(
5626
- (F) => Is(F)
5627
- )), !p && de(n) && (I.data = {
5627
+ return l && D.shape == te.BUTTON_LIST && (I.onOptionsRequest = (F, P) => l(F, P).then(
5628
+ (V) => Is(V)
5629
+ )), !d && de(n) && (I.data = {
5628
5630
  ...I.data,
5629
5631
  showText: !1,
5630
5632
  justify: "center",
@@ -5635,7 +5637,7 @@ const _r = /* @__PURE__ */ new Map([
5635
5637
  };
5636
5638
  }, {});
5637
5639
  },
5638
- [p, n, a, i, l, c]
5640
+ [d, n, a, i, l, c]
5639
5641
  ), _ = ue(() => {
5640
5642
  o == null || o();
5641
5643
  }, [o]), w = () => {
@@ -5644,31 +5646,31 @@ const _r = /* @__PURE__ */ new Map([
5644
5646
  if (re(() => {
5645
5647
  u(x(r));
5646
5648
  }, [r]), re(() => {
5647
- if (!d.current)
5649
+ if (!p.current)
5648
5650
  return;
5649
5651
  if (!de(n)) {
5650
5652
  u(x(r));
5651
5653
  return;
5652
5654
  }
5653
- const j = getComputedStyle(d.current).getPropertyValue(
5655
+ const j = getComputedStyle(p.current).getPropertyValue(
5654
5656
  "--smp-drawer-slide-transition"
5655
5657
  );
5656
5658
  let k = Number(j);
5657
5659
  j.endsWith("ms") ? k = parseFloat(j) : j.endsWith("s") && (k = parseFloat(j) * 1e3), setTimeout(() => {
5658
5660
  u(x(r));
5659
5661
  }, k / 2);
5660
- }, [p, n]), re(() => {
5662
+ }, [d, n]), re(() => {
5661
5663
  t !== void 0 && !de(n) && m(t);
5662
5664
  }, [n, t]), !((E = r == null ? void 0 : r.rows) != null && E.length) || !((b = r.columns) != null && b.length))
5663
5665
  return null;
5664
5666
  const S = {
5665
- drawer: `smp-drawer ${de(n) ? "smp-drawer-minified" : "smp-drawer-fixed"} ${p ? "smp-drawer-open" : ""} ${!de(n) && !p ? "smp-drawer-no-border" : ""}`,
5667
+ drawer: `smp-drawer ${de(n) ? "smp-drawer-minified" : "smp-drawer-fixed"} ${d ? "smp-drawer-open" : ""} ${!de(n) && !d ? "smp-drawer-no-border" : ""}`,
5666
5668
  container: "smp-drawer-container",
5667
5669
  containerHeader: "smp-drawer-container-header",
5668
- containerIcon: `${p ? "" : "smp-drawer-container-icon-close"} smp-drawer-container-icon`,
5670
+ containerIcon: `${d ? "" : "smp-drawer-container-icon-close"} smp-drawer-container-icon`,
5669
5671
  containerLayout: "smp-drawer-container-layout",
5670
5672
  containerLogo: "smp-drawer-container-logo",
5671
- backdrop: `smp-drawer-backdrop ${p ? "smp-drawer-backdrop-open" : ""}`
5673
+ backdrop: `smp-drawer-backdrop ${d ? "smp-drawer-backdrop-open" : ""}`
5672
5674
  };
5673
5675
  return f && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5674
5676
  !de(n) && /* @__PURE__ */ g.jsx(
@@ -5683,7 +5685,7 @@ const _r = /* @__PURE__ */ new Map([
5683
5685
  /* @__PURE__ */ g.jsx(
5684
5686
  "aside",
5685
5687
  {
5686
- ref: d,
5688
+ ref: p,
5687
5689
  className: S.drawer,
5688
5690
  style: { height: y },
5689
5691
  "aria-label": "Drawer",
@@ -5704,7 +5706,7 @@ const _r = /* @__PURE__ */ new Map([
5704
5706
  {
5705
5707
  icon: de(n) ? "menu_close" : "close",
5706
5708
  title: "drawer_icon",
5707
- rotated: !p,
5709
+ rotated: !d,
5708
5710
  isInteractable: !0,
5709
5711
  onClick: w,
5710
5712
  width: 20,
@@ -5730,16 +5732,16 @@ const _r = /* @__PURE__ */ new Map([
5730
5732
  IconColName: c,
5731
5733
  IconColor: f = "var(--smp-dashList-color-base)",
5732
5734
  NumberFormat: u,
5733
- ForceUM: p,
5735
+ ForceUM: d,
5734
5736
  UmColName: m,
5735
- UmColor: d = "var(--smp-dashList-color-base)",
5737
+ UmColor: p = "var(--smp-dashList-color-base)",
5736
5738
  ForceValue: y,
5737
5739
  ValueColName: x,
5738
5740
  ValueColor: _ = "var(--smp-dashList-color-base)",
5739
5741
  SelectLayout: w = "1",
5740
5742
  onClick: S
5741
5743
  }) => {
5742
- const E = "N/A", b = (e == null ? void 0 : e.columns) || [], j = (e == null ? void 0 : e.rows) || [], k = j.length > 0, A = "--smp-dashList-color", O = "smp-layout", T = "descr", C = "icon", D = "um", I = "value", V = i || "1em", P = "18px", F = "--smp-dashList-columns", z = "--smp-dashList-fontSize", J = {
5744
+ const E = "N/A", b = (e == null ? void 0 : e.columns) || [], j = (e == null ? void 0 : e.rows) || [], k = j.length > 0, A = "--smp-dashList-color", O = "smp-layout", T = "descr", C = "icon", D = "um", I = "value", F = i || "1em", P = "18px", V = "--smp-dashList-columns", z = "--smp-dashList-fontSize", J = {
5743
5745
  dash: (H = "1") => {
5744
5746
  const Z = h(H), ne = Z, se = v(Z, T), he = v(Z, C), we = v(Z, D), be = v(Z, I);
5745
5747
  return {
@@ -5781,7 +5783,7 @@ const _r = /* @__PURE__ */ new Map([
5781
5783
  return {
5782
5784
  descr: t || Z(n) || ne(2) || "",
5783
5785
  icon: l || Z(c) || ne(3) || "",
5784
- um: p || Z(m) || ne(1) || "",
5786
+ um: d || Z(m) || ne(1) || "",
5785
5787
  value: y || Z(x) || ne(0) || ""
5786
5788
  };
5787
5789
  }, B = (H) => {
@@ -5808,7 +5810,7 @@ const _r = /* @__PURE__ */ new Map([
5808
5810
  })(w), ae = (H) => {
5809
5811
  const { descr: Z, icon: ne, um: se, value: he } = U(H), we = {
5810
5812
  [R(T)]: L(s),
5811
- [R(D)]: L(d),
5813
+ [R(D)]: L(p),
5812
5814
  [R(I)]: L(_)
5813
5815
  }, be = [], Ie = $(he);
5814
5816
  switch (w) {
@@ -5837,8 +5839,8 @@ const _r = /* @__PURE__ */ new Map([
5837
5839
  H.rowId
5838
5840
  );
5839
5841
  }, M = {
5840
- [F]: String(r),
5841
- [z]: V
5842
+ [V]: String(r),
5843
+ [z]: F
5842
5844
  };
5843
5845
  return /* @__PURE__ */ g.jsx("div", { className: J.dashList, style: M, children: k ? j.map((H) => ae(H)) : E });
5844
5846
  }, nt = {
@@ -5877,12 +5879,12 @@ const Mr = ({
5877
5879
  var w;
5878
5880
  const [a, i] = G(!1), o = st(r) && !!((w = r.children) != null && w.length), l = r.cells && Object.keys(r.cells).length > 0, c = o, f = t * 20, u = () => {
5879
5881
  o && i(!a);
5880
- }, p = {
5882
+ }, d = {
5881
5883
  content: `${Te.rowContent} ${o ? Te.clickable : ""}`,
5882
5884
  toggle: `${Te.toggle}`,
5883
5885
  indent: `${Te.indent}`,
5884
5886
  cell: `${Te.cell}`
5885
- }, m = (S) => /* @__PURE__ */ g.jsx(_e, { ...S }), d = () => /* @__PURE__ */ g.jsx("span", { className: p.toggle, children: c && /* @__PURE__ */ g.jsx(
5887
+ }, m = (S) => /* @__PURE__ */ g.jsx(_e, { ...S }), p = () => /* @__PURE__ */ g.jsx("span", { className: d.toggle, children: c && /* @__PURE__ */ g.jsx(
5886
5888
  le,
5887
5889
  {
5888
5890
  icon: a ? "arrow_drop_right" : "arrow_drop_down",
@@ -5891,7 +5893,7 @@ const Mr = ({
5891
5893
  ) }), y = () => /* @__PURE__ */ g.jsx(
5892
5894
  "span",
5893
5895
  {
5894
- className: p.indent,
5896
+ className: d.indent,
5895
5897
  style: { width: `${f}px` },
5896
5898
  "aria-hidden": "true"
5897
5899
  }
@@ -5900,7 +5902,7 @@ const Mr = ({
5900
5902
  return /* @__PURE__ */ g.jsxs(
5901
5903
  "tr",
5902
5904
  {
5903
- className: p.content,
5905
+ className: d.content,
5904
5906
  onClick: u,
5905
5907
  role: o ? "button" : "row",
5906
5908
  "aria-expanded": o ? !a : void 0,
@@ -5919,7 +5921,7 @@ const Mr = ({
5919
5921
  },
5920
5922
  children: [
5921
5923
  y(),
5922
- d(),
5924
+ p(),
5923
5925
  /* @__PURE__ */ g.jsx("span", { className: Te.rowLabel, children: S })
5924
5926
  ]
5925
5927
  }
@@ -5927,7 +5929,7 @@ const Mr = ({
5927
5929
  r.cells && Object.keys(r.cells).length > 0 && Object.entries(r.cells).map(([b, j]) => /* @__PURE__ */ g.jsx(
5928
5930
  "td",
5929
5931
  {
5930
- className: p.cell,
5932
+ className: d.cell,
5931
5933
  style: {
5932
5934
  width: e[b],
5933
5935
  minWidth: e[b],
@@ -6012,42 +6014,42 @@ function Gs(r, e, t, n) {
6012
6014
  const s = [];
6013
6015
  let a = 0;
6014
6016
  return i(r, 0, []), { flatRows: s, offset: a };
6015
- function i(u, p, m) {
6016
- if (p >= e.length) {
6017
+ function i(u, d, m) {
6018
+ if (d >= e.length) {
6017
6019
  f(u);
6018
6020
  return;
6019
6021
  }
6020
- const d = e[p].column, y = o(u, d);
6022
+ const p = e[d].column, y = o(u, p);
6021
6023
  for (const [x, _] of y) {
6022
- const w = [...m, x], S = l(w, p), E = n.has(S);
6023
- s.push(c(x, S, p, E)), a += t, E && i(_, p + 1, w);
6024
+ const w = [...m, x], S = l(w, d), E = n.has(S);
6025
+ s.push(c(x, S, d, E)), a += t, E && i(_, d + 1, w);
6024
6026
  }
6025
6027
  }
6026
- function o(u, p) {
6027
- var d;
6028
+ function o(u, d) {
6029
+ var p;
6028
6030
  const m = /* @__PURE__ */ new Map();
6029
6031
  for (const y of u) {
6030
- const x = ((d = y.cells[p]) == null ? void 0 : d.decode) ?? "N/D";
6032
+ const x = ((p = y.cells[d]) == null ? void 0 : p.decode) ?? "N/D";
6031
6033
  m.has(x) || m.set(x, []), m.get(x).push(y);
6032
6034
  }
6033
6035
  return m;
6034
6036
  }
6035
- function l(u, p) {
6036
- return `group-${u.join("-")}-${p}`;
6037
+ function l(u, d) {
6038
+ return `group-${u.join("-")}-${d}`;
6037
6039
  }
6038
- function c(u, p, m, d) {
6040
+ function c(u, d, m, p) {
6039
6041
  return {
6040
6042
  isGroup: !0,
6041
6043
  value: u,
6042
6044
  cells: {},
6043
- rowId: p,
6045
+ rowId: d,
6044
6046
  level: m,
6045
- isExpanded: d
6047
+ isExpanded: p
6046
6048
  };
6047
6049
  }
6048
6050
  function f(u) {
6049
- for (const p of u)
6050
- s.push(p), a += t;
6051
+ for (const d of u)
6052
+ s.push(d), a += t;
6051
6053
  }
6052
6054
  }
6053
6055
  const Ks = ({
@@ -6113,8 +6115,8 @@ const Ks = ({
6113
6115
  );
6114
6116
  a(c);
6115
6117
  } else if (n === "fit-grid") {
6116
- const l = ((i = t.current) == null ? void 0 : i.offsetWidth) || 800, c = r.filter((p) => p.visible !== !1), f = l / c.length, u = Object.fromEntries(
6117
- c.map((p) => [p.name, f])
6118
+ const l = ((i = t.current) == null ? void 0 : i.offsetWidth) || 800, c = r.filter((d) => d.visible !== !1), f = l / c.length, u = Object.fromEntries(
6119
+ c.map((d) => [d.name, f])
6118
6120
  );
6119
6121
  a(u);
6120
6122
  } else if (n === "fit-content") {
@@ -6122,9 +6124,9 @@ const Ks = ({
6122
6124
  for (const c of r) {
6123
6125
  if (!c.visible) continue;
6124
6126
  const f = ((o = c.title) == null ? void 0 : o.length) || 0, u = Math.max(
6125
- ...e.map((p) => {
6126
- var m, d, y, x;
6127
- return `${((d = (m = p.cells) == null ? void 0 : m[c.name]) == null ? void 0 : d.decode) || ((x = (y = p.cells) == null ? void 0 : y[c.name]) == null ? void 0 : x.value) || ""}`.length;
6127
+ ...e.map((d) => {
6128
+ var m, p, y, x;
6129
+ return `${((p = (m = d.cells) == null ? void 0 : m[c.name]) == null ? void 0 : p.decode) || ((x = (y = d.cells) == null ? void 0 : y[c.name]) == null ? void 0 : x.value) || ""}`.length;
6128
6130
  }),
6129
6131
  f
6130
6132
  );
@@ -6146,10 +6148,10 @@ const Ks = ({
6146
6148
  var k;
6147
6149
  const [i, o] = G(
6148
6150
  r ?? { columns: [], rows: [] }
6149
- ), [l, c] = G(n || []), [f, u] = G(/* @__PURE__ */ new Set()), p = ce(null), [m, d] = zs({
6151
+ ), [l, c] = G(n || []), [f, u] = G(/* @__PURE__ */ new Set()), d = ce(null), [m, p] = zs({
6150
6152
  columns: (i == null ? void 0 : i.columns) ?? [],
6151
6153
  rows: (i == null ? void 0 : i.rows) ?? [],
6152
- containerRef: p,
6154
+ containerRef: d,
6153
6155
  sizingMode: s
6154
6156
  });
6155
6157
  re(() => {
@@ -6181,11 +6183,11 @@ const Ks = ({
6181
6183
  containerHeight: t,
6182
6184
  overscan: 5
6183
6185
  }), b = (A, O) => {
6184
- const T = A.clientX, C = m[O], D = (V) => {
6185
- const P = V.clientX - T, F = Math.max(50, C + P);
6186
- d((z) => ({
6186
+ const T = A.clientX, C = m[O], D = (F) => {
6187
+ const P = F.clientX - T, V = Math.max(50, C + P);
6188
+ p((z) => ({
6187
6189
  ...z,
6188
- [O]: F
6190
+ [O]: V
6189
6191
  }));
6190
6192
  }, I = () => {
6191
6193
  window.removeEventListener("mousemove", D), window.removeEventListener("mouseup", I);
@@ -6201,7 +6203,7 @@ const Ks = ({
6201
6203
  {
6202
6204
  className: j.smpTable,
6203
6205
  ...S,
6204
- ref: p,
6206
+ ref: d,
6205
6207
  children: /* @__PURE__ */ g.jsxs("table", { children: [
6206
6208
  /* @__PURE__ */ g.jsxs("thead", { children: [
6207
6209
  (n || a) && /* @__PURE__ */ g.jsx(
@@ -6304,7 +6306,7 @@ const Ks = ({
6304
6306
  }, [r, s, e]);
6305
6307
  const m = {
6306
6308
  container: `smp-field-container ${de(t) ? `smp-field-position-${n}` : ""}`
6307
- }, d = () => {
6309
+ }, p = () => {
6308
6310
  de(t) || o == null || o(f);
6309
6311
  };
6310
6312
  if (f)
@@ -6326,7 +6328,7 @@ const Ks = ({
6326
6328
  onChange: u,
6327
6329
  onOptionsRequest: c,
6328
6330
  fun: r == null ? void 0 : r.fun,
6329
- onBlur: d,
6331
+ onBlur: p,
6330
6332
  label: a,
6331
6333
  labelPosition: i
6332
6334
  }
@@ -6369,12 +6371,12 @@ const Ks = ({
6369
6371
  onButtonClick: u
6370
6372
  }) => {
6371
6373
  var k, A;
6372
- const [p, m] = G({}), { translate: d } = Ae(), y = Re();
6374
+ const [d, m] = G({}), { translate: p } = Ae(), y = Re();
6373
6375
  re(() => {
6374
6376
  m(E(r));
6375
6377
  }, [r]);
6376
6378
  const x = (O, T) => {
6377
- m((C) => ({
6379
+ if (m((C) => ({
6378
6380
  ...C,
6379
6381
  [O]: {
6380
6382
  ...C[O],
@@ -6390,9 +6392,15 @@ const Ks = ({
6390
6392
  // FIXME: remove this when webup.js will not use value
6391
6393
  value: T.obj.k
6392
6394
  }
6393
- })), s && (T.shape == te.CHECKBOX || T.shape == te.SWITCH) && _();
6395
+ })), s && (T.shape == te.CHECKBOX || T.shape == te.SWITCH)) {
6396
+ const C = structuredClone(d);
6397
+ C[O].obj.k = T.obj.k, C[O].value = T.obj.k, o({
6398
+ value: b(C),
6399
+ cell: O
6400
+ });
6401
+ }
6394
6402
  }, _ = (O) => {
6395
- const T = b();
6403
+ const T = b(d);
6396
6404
  o({
6397
6405
  value: T,
6398
6406
  cell: O
@@ -6405,7 +6413,7 @@ const Ks = ({
6405
6413
  columns: r.columns,
6406
6414
  rows: [
6407
6415
  {
6408
- cells: p
6416
+ cells: d
6409
6417
  }
6410
6418
  ]
6411
6419
  },
@@ -6413,9 +6421,9 @@ const Ks = ({
6413
6421
  });
6414
6422
  }, S = async (O) => {
6415
6423
  var T, C;
6416
- if (p[O].obj.k != r.rows[0].cells[O].obj.k && ((T = p[O].inputSettings) != null && T.checkObject && c && ((await c({
6417
- obj: p[O].obj,
6418
- fun: p[O].fun,
6424
+ if (d[O].obj.k != r.rows[0].cells[O].obj.k && ((T = d[O].inputSettings) != null && T.checkObject && c && ((await c({
6425
+ obj: d[O].obj,
6426
+ fun: d[O].fun,
6419
6427
  cellId: O
6420
6428
  })).valid || m((I) => ({
6421
6429
  ...I,
@@ -6423,11 +6431,11 @@ const Ks = ({
6423
6431
  ...I[O],
6424
6432
  data: {
6425
6433
  ...I[O].data,
6426
- error: d(Oe.CHECK_OBJECT_WRONG_VALIDATION)
6434
+ error: p(Oe.CHECK_OBJECT_WRONG_VALIDATION)
6427
6435
  }
6428
6436
  }
6429
- }))), (C = p[O].inputSettings) != null && C.checkValueOnExit)) {
6430
- const D = b();
6437
+ }))), (C = d[O].inputSettings) != null && C.checkValueOnExit)) {
6438
+ const D = b(d);
6431
6439
  l == null || l({
6432
6440
  value: D,
6433
6441
  cell: O
@@ -6438,8 +6446,8 @@ const Ks = ({
6438
6446
  if (!((C = O.rows) != null && C.length) || !((D = O.columns) != null && D.length))
6439
6447
  return {};
6440
6448
  const T = (I = O.rows) == null ? void 0 : I[0];
6441
- return O.columns.filter((V) => V.visible ?? !0).reduce((V, P) => {
6442
- const F = {
6449
+ return O.columns.filter((F) => F.visible ?? !0).reduce((F, P) => {
6450
+ const V = {
6443
6451
  ...T.cells[P.name],
6444
6452
  id: P.name,
6445
6453
  label: P.title,
@@ -6449,21 +6457,19 @@ const Ks = ({
6449
6457
  dSep: a
6450
6458
  }
6451
6459
  };
6452
- return F.fun && (F.onOptionsRequest = async (z, J) => Zs(
6453
- await i(z, J, r, P.name)
6454
- )), F.isEditable == null && (F.isEditable = !0), t && (F.isEditable = !1), F.isEditable && F.shape == null && (F.shape = te.TEXT_FIELD), {
6455
- ...V,
6456
- [P.name]: F
6460
+ return V.isEditable == null && (V.isEditable = !0), t && (V.isEditable = !1), V.isEditable && V.shape == null && (V.shape = te.TEXT_FIELD), {
6461
+ ...F,
6462
+ [P.name]: V
6457
6463
  };
6458
6464
  }, {});
6459
- }, b = () => ({
6465
+ }, b = (O) => ({
6460
6466
  before: r,
6461
6467
  after: {
6462
6468
  type: "SmeupDataTable",
6463
6469
  columns: JSON.parse(JSON.stringify(r.columns)),
6464
6470
  rows: [
6465
6471
  {
6466
- cells: JSON.parse(JSON.stringify(p))
6472
+ cells: JSON.parse(JSON.stringify(O))
6467
6473
  }
6468
6474
  ]
6469
6475
  }
@@ -6485,7 +6491,7 @@ const Ks = ({
6485
6491
  /* @__PURE__ */ g.jsx(
6486
6492
  _e,
6487
6493
  {
6488
- decode: d(Oe.CONFIRM_BUTTON),
6494
+ decode: p(Oe.CONFIRM_BUTTON),
6489
6495
  shape: te.BUTTON,
6490
6496
  id: "",
6491
6497
  obj: {
@@ -6495,12 +6501,12 @@ const Ks = ({
6495
6501
  },
6496
6502
  data: {
6497
6503
  submit: !0,
6498
- label: d(Oe.CONFIRM_BUTTON)
6504
+ label: p(Oe.CONFIRM_BUTTON)
6499
6505
  }
6500
6506
  },
6501
6507
  "submit-command"
6502
6508
  )
6503
- ), p && /* @__PURE__ */ g.jsxs(
6509
+ ), d && /* @__PURE__ */ g.jsxs(
6504
6510
  "form",
6505
6511
  {
6506
6512
  "data-component": "input-panel",
@@ -6515,10 +6521,13 @@ const Ks = ({
6515
6521
  style: {
6516
6522
  padding: "1em 0"
6517
6523
  },
6518
- children: /* @__PURE__ */ g.jsx(ot, { layout: r.rows[0].layout, children: Object.values(p).map((O) => /* @__PURE__ */ g.jsx(
6524
+ children: /* @__PURE__ */ g.jsx(ot, { layout: r.rows[0].layout, children: Object.values(d).map((O) => /* @__PURE__ */ g.jsx(
6519
6525
  _e,
6520
6526
  {
6521
6527
  ...O,
6528
+ onOptionsRequest: O.fun ? async (T, C) => Zs(
6529
+ await i(T, C, r, O.id)
6530
+ ) : void 0,
6522
6531
  onChange: (T) => x(O.id, T),
6523
6532
  onBlur: () => S(O.id),
6524
6533
  onContextMenu: f,