@sme.up/ketchup2 2.0.0-SNAPSHOT-20250822064223 → 2.0.0-SNAPSHOT-20250822082030

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.
@@ -60,7 +60,7 @@ function Tn() {
60
60
  return "StrictMode";
61
61
  case y:
62
62
  return "Suspense";
63
- case R:
63
+ case D:
64
64
  return "SuspenseList";
65
65
  case W:
66
66
  return "Activity";
@@ -80,7 +80,7 @@ function Tn() {
80
80
  return m = m.displayName, m || (m = S.displayName || S.name || "", m = m !== "" ? "ForwardRef(" + m + ")" : "ForwardRef"), m;
81
81
  case O:
82
82
  return S = m.displayName || null, S !== null ? S : t(m.type) || "Memo";
83
- case M:
83
+ case F:
84
84
  S = m._payload, m = m._init;
85
85
  try {
86
86
  return t(m(S));
@@ -101,17 +101,17 @@ function Tn() {
101
101
  }
102
102
  if (S) {
103
103
  S = console;
104
- var L = S.error, D = typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object";
104
+ var L = S.error, R = typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object";
105
105
  return L.call(
106
106
  S,
107
107
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
108
- D
108
+ R
109
109
  ), e(m);
110
110
  }
111
111
  }
112
112
  function n(m) {
113
113
  if (m === b) return "<>";
114
- if (typeof m == "object" && m !== null && m.$$typeof === M)
114
+ if (typeof m == "object" && m !== null && m.$$typeof === F)
115
115
  return "<...>";
116
116
  try {
117
117
  var S = t(m);
@@ -152,7 +152,7 @@ function Tn() {
152
152
  "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."
153
153
  )), m = this.props.ref, m !== void 0 ? m : null;
154
154
  }
155
- function c(m, S, L, D, $, P, G, q) {
155
+ function c(m, S, L, R, $, P, G, q) {
156
156
  return L = P.ref, m = {
157
157
  $$typeof: g,
158
158
  type: m,
@@ -184,13 +184,13 @@ function Tn() {
184
184
  value: q
185
185
  }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
186
186
  }
187
- function d(m, S, L, D, $, P, G, q) {
187
+ function d(m, S, L, R, $, P, G, q) {
188
188
  var Y = S.children;
189
189
  if (Y !== void 0)
190
- if (D)
190
+ if (R)
191
191
  if (A(Y)) {
192
- for (D = 0; D < Y.length; D++)
193
- u(Y[D]);
192
+ for (R = 0; R < Y.length; R++)
193
+ u(Y[R]);
194
194
  Object.freeze && Object.freeze(Y);
195
195
  } else
196
196
  console.error(
@@ -202,18 +202,18 @@ function Tn() {
202
202
  var Q = Object.keys(S).filter(function(ae) {
203
203
  return ae !== "key";
204
204
  });
205
- D = 0 < Q.length ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}", j[Y + D] || (Q = 0 < Q.length ? "{" + Q.join(": ..., ") + ": ...}" : "{}", console.error(
205
+ R = 0 < Q.length ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}", j[Y + R] || (Q = 0 < Q.length ? "{" + Q.join(": ..., ") + ": ...}" : "{}", console.error(
206
206
  `A props object containing a "key" prop is being spread into JSX:
207
207
  let props = %s;
208
208
  <%s {...props} />
209
209
  React keys must be passed directly to JSX without using spread:
210
210
  let props = %s;
211
211
  <%s key={someKey} {...props} />`,
212
- D,
212
+ R,
213
213
  Y,
214
214
  Q,
215
215
  Y
216
- ), j[Y + D] = !0);
216
+ ), j[Y + R] = !0);
217
217
  }
218
218
  if (Y = null, L !== void 0 && (r(L), Y = "" + L), a(S) && (r(S.key), Y = "" + S.key), "key" in S) {
219
219
  L = {};
@@ -237,7 +237,7 @@ React keys must be passed directly to JSX without using spread:
237
237
  function u(m) {
238
238
  typeof m == "object" && m !== null && m.$$typeof === g && m._store && (m._store.validated = 1);
239
239
  }
240
- var f = mt, g = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), x = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), W = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), C = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, E = Object.prototype.hasOwnProperty, A = Array.isArray, I = console.createTask ? console.createTask : function() {
240
+ var f = mt, g = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), x = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), W = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), C = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, E = Object.prototype.hasOwnProperty, A = Array.isArray, I = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
243
  f = {
@@ -249,26 +249,26 @@ React keys must be passed directly to JSX without using spread:
249
249
  f,
250
250
  o
251
251
  )(), N = I(n(o)), j = {};
252
- He.Fragment = b, He.jsx = function(m, S, L, D, $) {
252
+ He.Fragment = b, He.jsx = function(m, S, L, R, $) {
253
253
  var P = 1e4 > C.recentlyCreatedOwnerStacks++;
254
254
  return d(
255
255
  m,
256
256
  S,
257
257
  L,
258
258
  !1,
259
- D,
259
+ R,
260
260
  $,
261
261
  P ? Error("react-stack-top-frame") : X,
262
262
  P ? I(n(m)) : N
263
263
  );
264
- }, He.jsxs = function(m, S, L, D, $) {
264
+ }, He.jsxs = function(m, S, L, R, $) {
265
265
  var P = 1e4 > C.recentlyCreatedOwnerStacks++;
266
266
  return d(
267
267
  m,
268
268
  S,
269
269
  L,
270
270
  !0,
271
- D,
271
+ R,
272
272
  $,
273
273
  P ? Error("react-stack-top-frame") : X,
274
274
  P ? I(n(m)) : N
@@ -492,26 +492,26 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Zr = function(e) {
492
492
  path: [],
493
493
  pattern: ["fill", "stroke"],
494
494
  radialGradient: ["fill", "stroke"]
495
- }, T, y, R, O, M;
495
+ }, T, y, D, O, F;
496
496
  Object.keys(x).forEach(function(N) {
497
- T = N, R = x[N], y = u.querySelectorAll(T + "[id]");
498
- for (var j = function(D, $) {
499
- O = y[D].id, M = O + "-" + An();
497
+ T = N, D = x[N], y = u.querySelectorAll(T + "[id]");
498
+ for (var j = function(R, $) {
499
+ O = y[R].id, F = O + "-" + An();
500
500
  var P;
501
- Array.prototype.forEach.call(R, function(z) {
501
+ Array.prototype.forEach.call(D, function(z) {
502
502
  P = u.querySelectorAll("[" + z + '*="' + O + '"]');
503
503
  for (var ee = 0, B = P.length; ee < B; ee++) {
504
504
  var J = P[ee].getAttribute(z);
505
- J && !J.match(new RegExp('url\\("?#' + O + '"?\\)')) || P[ee].setAttribute(z, "url(#" + M + ")");
505
+ J && !J.match(new RegExp('url\\("?#' + O + '"?\\)')) || P[ee].setAttribute(z, "url(#" + F + ")");
506
506
  }
507
507
  });
508
508
  for (var G = u.querySelectorAll("[*|href]"), q = [], Y = 0, Q = G.length; Y < Q; Y++) {
509
509
  var K = G[Y].getAttributeNS(jt, "href");
510
- K && K.toString() === "#" + y[D].id && q.push(G[Y]);
510
+ K && K.toString() === "#" + y[R].id && q.push(G[Y]);
511
511
  }
512
- for (var ae = 0, F = q.length; ae < F; ae++)
513
- q[ae].setAttributeNS(jt, "href", "#" + M);
514
- y[D].id = M;
512
+ for (var ae = 0, M = q.length; ae < M; ae++)
513
+ q[ae].setAttributeNS(jt, "href", "#" + F);
514
+ y[R].id = F;
515
515
  }, m = 0, S = y.length; m < S; m++)
516
516
  j(m);
517
517
  });
@@ -540,11 +540,11 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Zr = function(e) {
540
540
  } : l, d = n.cacheRequests, u = d === void 0 ? !0 : d, f = n.evalScripts, g = f === void 0 ? "never" : f, h = n.httpRequestWithCredentials, b = h === void 0 ? !1 : h, w = n.renumerateIRIElements, v = w === void 0 ? !0 : w;
541
541
  if (e && "length" in e)
542
542
  for (var _ = 0, x = 0, T = e.length; x < T; x++)
543
- pr(e[x], g, v, u, b, c, function(y, R) {
544
- i(y, R), e && "length" in e && e.length === ++_ && o(_);
543
+ pr(e[x], g, v, u, b, c, function(y, D) {
544
+ i(y, D), e && "length" in e && e.length === ++_ && o(_);
545
545
  });
546
- else e ? pr(e, g, v, u, b, c, function(y, R) {
547
- i(y, R), o(1), e = null;
546
+ else e ? pr(e, g, v, u, b, c, function(y, D) {
547
+ i(y, D), o(1), e = null;
548
548
  }) : o(0);
549
549
  }, it = { exports: {} }, lt = { exports: {} }, ne = {};
550
550
  /** @license React v16.13.1
@@ -562,8 +562,8 @@ function Fn() {
562
562
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, a = t ? Symbol.for("react.provider") : 60109, i = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, w = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, _ = t ? Symbol.for("react.scope") : 60119;
563
563
  function x(y) {
564
564
  if (typeof y == "object" && y !== null) {
565
- var R = y.$$typeof;
566
- switch (R) {
565
+ var D = y.$$typeof;
566
+ switch (D) {
567
567
  case e:
568
568
  switch (y = y.type, y) {
569
569
  case l:
@@ -582,11 +582,11 @@ function Fn() {
582
582
  case a:
583
583
  return y;
584
584
  default:
585
- return R;
585
+ return D;
586
586
  }
587
587
  }
588
588
  case r:
589
- return R;
589
+ return D;
590
590
  }
591
591
  }
592
592
  }
@@ -634,16 +634,16 @@ var mr;
634
634
  function Mn() {
635
635
  return mr || (mr = 1, process.env.NODE_ENV !== "production" && function() {
636
636
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, a = t ? Symbol.for("react.provider") : 60109, i = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, w = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, _ = t ? Symbol.for("react.scope") : 60119;
637
- function x(F) {
638
- return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
639
- F === n || F === c || F === o || F === s || F === u || F === f || typeof F == "object" && F !== null && (F.$$typeof === h || F.$$typeof === g || F.$$typeof === a || F.$$typeof === i || F.$$typeof === d || F.$$typeof === w || F.$$typeof === v || F.$$typeof === _ || F.$$typeof === b);
637
+ function x(M) {
638
+ return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
639
+ M === n || M === c || M === o || M === s || M === u || M === f || typeof M == "object" && M !== null && (M.$$typeof === h || M.$$typeof === g || M.$$typeof === a || M.$$typeof === i || M.$$typeof === d || M.$$typeof === w || M.$$typeof === v || M.$$typeof === _ || M.$$typeof === b);
640
640
  }
641
- function T(F) {
642
- if (typeof F == "object" && F !== null) {
643
- var z = F.$$typeof;
641
+ function T(M) {
642
+ if (typeof M == "object" && M !== null) {
643
+ var z = M.$$typeof;
644
644
  switch (z) {
645
645
  case e:
646
- var ee = F.type;
646
+ var ee = M.type;
647
647
  switch (ee) {
648
648
  case l:
649
649
  case c:
@@ -670,47 +670,47 @@ function Mn() {
670
670
  }
671
671
  }
672
672
  }
673
- var y = l, R = c, O = i, M = a, W = e, k = d, C = n, E = h, A = g, I = r, V = o, U = s, X = u, N = !1;
674
- function j(F) {
675
- return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(F) || T(F) === l;
673
+ var y = l, D = c, O = i, F = a, W = e, k = d, C = n, E = h, A = g, I = r, V = o, U = s, X = u, N = !1;
674
+ function j(M) {
675
+ return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(M) || T(M) === l;
676
676
  }
677
- function m(F) {
678
- return T(F) === c;
677
+ function m(M) {
678
+ return T(M) === c;
679
679
  }
680
- function S(F) {
681
- return T(F) === i;
680
+ function S(M) {
681
+ return T(M) === i;
682
682
  }
683
- function L(F) {
684
- return T(F) === a;
683
+ function L(M) {
684
+ return T(M) === a;
685
685
  }
686
- function D(F) {
687
- return typeof F == "object" && F !== null && F.$$typeof === e;
686
+ function R(M) {
687
+ return typeof M == "object" && M !== null && M.$$typeof === e;
688
688
  }
689
- function $(F) {
690
- return T(F) === d;
689
+ function $(M) {
690
+ return T(M) === d;
691
691
  }
692
- function P(F) {
693
- return T(F) === n;
692
+ function P(M) {
693
+ return T(M) === n;
694
694
  }
695
- function G(F) {
696
- return T(F) === h;
695
+ function G(M) {
696
+ return T(M) === h;
697
697
  }
698
- function q(F) {
699
- return T(F) === g;
698
+ function q(M) {
699
+ return T(M) === g;
700
700
  }
701
- function Y(F) {
702
- return T(F) === r;
701
+ function Y(M) {
702
+ return T(M) === r;
703
703
  }
704
- function Q(F) {
705
- return T(F) === o;
704
+ function Q(M) {
705
+ return T(M) === o;
706
706
  }
707
- function K(F) {
708
- return T(F) === s;
707
+ function K(M) {
708
+ return T(M) === s;
709
709
  }
710
- function ae(F) {
711
- return T(F) === u;
710
+ function ae(M) {
711
+ return T(M) === u;
712
712
  }
713
- se.AsyncMode = y, se.ConcurrentMode = R, se.ContextConsumer = O, se.ContextProvider = M, se.Element = W, se.ForwardRef = k, se.Fragment = C, se.Lazy = E, se.Memo = A, se.Portal = I, se.Profiler = V, se.StrictMode = U, se.Suspense = X, se.isAsyncMode = j, se.isConcurrentMode = m, se.isContextConsumer = S, se.isContextProvider = L, se.isElement = D, se.isForwardRef = $, se.isFragment = P, se.isLazy = G, se.isMemo = q, se.isPortal = Y, se.isProfiler = Q, se.isStrictMode = K, se.isSuspense = ae, se.isValidElementType = x, se.typeOf = T;
713
+ se.AsyncMode = y, se.ConcurrentMode = D, se.ContextConsumer = O, se.ContextProvider = F, se.Element = W, se.ForwardRef = k, se.Fragment = C, se.Lazy = E, se.Memo = A, se.Portal = I, se.Profiler = V, se.StrictMode = U, se.Suspense = X, se.isAsyncMode = j, se.isConcurrentMode = m, se.isContextConsumer = S, se.isContextProvider = L, se.isElement = R, se.isForwardRef = $, se.isFragment = P, se.isLazy = G, se.isMemo = q, se.isPortal = Y, se.isProfiler = Q, se.isStrictMode = K, se.isSuspense = ae, se.isValidElementType = x, se.typeOf = T;
714
714
  }()), se;
715
715
  }
716
716
  var gr;
@@ -865,9 +865,9 @@ function Bn() {
865
865
  arrayOf: x,
866
866
  element: T(),
867
867
  elementType: y(),
868
- instanceOf: R,
868
+ instanceOf: D,
869
869
  node: k(),
870
- objectOf: M,
870
+ objectOf: F,
871
871
  oneOf: O,
872
872
  oneOfType: W,
873
873
  shape: E,
@@ -883,13 +883,13 @@ function Bn() {
883
883
  function w(m) {
884
884
  if (process.env.NODE_ENV !== "production")
885
885
  var S = {}, L = 0;
886
- function D(P, G, q, Y, Q, K, ae) {
886
+ function R(P, G, q, Y, Q, K, ae) {
887
887
  if (Y = Y || f, K = K || q, ae !== r) {
888
888
  if (l) {
889
- var F = new Error(
889
+ var M = new Error(
890
890
  "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"
891
891
  );
892
- throw F.name = "Invariant Violation", F;
892
+ throw M.name = "Invariant Violation", M;
893
893
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
894
894
  var z = Y + ":" + q;
895
895
  !S[z] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -900,12 +900,12 @@ function Bn() {
900
900
  }
901
901
  return G[q] == null ? P ? G[q] === null ? new b("The " + Q + " `" + K + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new b("The " + Q + " `" + K + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : m(G, q, Y, Q, K);
902
902
  }
903
- var $ = D.bind(null, !1);
904
- return $.isRequired = D.bind(null, !0), $;
903
+ var $ = R.bind(null, !1);
904
+ return $.isRequired = R.bind(null, !0), $;
905
905
  }
906
906
  function v(m) {
907
- function S(L, D, $, P, G, q) {
908
- var Y = L[D], Q = U(Y);
907
+ function S(L, R, $, P, G, q) {
908
+ var Y = L[R], Q = U(Y);
909
909
  if (Q !== m) {
910
910
  var K = X(Y);
911
911
  return new b(
@@ -921,10 +921,10 @@ function Bn() {
921
921
  return w(a);
922
922
  }
923
923
  function x(m) {
924
- function S(L, D, $, P, G) {
924
+ function S(L, R, $, P, G) {
925
925
  if (typeof m != "function")
926
926
  return new b("Property `" + G + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
927
- var q = L[D];
927
+ var q = L[R];
928
928
  if (!Array.isArray(q)) {
929
929
  var Y = U(q);
930
930
  return new b("Invalid " + P + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + $ + "`, expected an array."));
@@ -939,31 +939,31 @@ function Bn() {
939
939
  return w(S);
940
940
  }
941
941
  function T() {
942
- function m(S, L, D, $, P) {
942
+ function m(S, L, R, $, P) {
943
943
  var G = S[L];
944
944
  if (!i(G)) {
945
945
  var q = U(G);
946
- return new b("Invalid " + $ + " `" + P + "` of type " + ("`" + q + "` supplied to `" + D + "`, expected a single ReactElement."));
946
+ return new b("Invalid " + $ + " `" + P + "` of type " + ("`" + q + "` supplied to `" + R + "`, expected a single ReactElement."));
947
947
  }
948
948
  return null;
949
949
  }
950
950
  return w(m);
951
951
  }
952
952
  function y() {
953
- function m(S, L, D, $, P) {
953
+ function m(S, L, R, $, P) {
954
954
  var G = S[L];
955
955
  if (!t.isValidElementType(G)) {
956
956
  var q = U(G);
957
- return new b("Invalid " + $ + " `" + P + "` of type " + ("`" + q + "` supplied to `" + D + "`, expected a single ReactElement type."));
957
+ return new b("Invalid " + $ + " `" + P + "` of type " + ("`" + q + "` supplied to `" + R + "`, expected a single ReactElement type."));
958
958
  }
959
959
  return null;
960
960
  }
961
961
  return w(m);
962
962
  }
963
- function R(m) {
964
- function S(L, D, $, P, G) {
965
- if (!(L[D] instanceof m)) {
966
- var q = m.name || f, Y = j(L[D]);
963
+ function D(m) {
964
+ function S(L, R, $, P, G) {
965
+ if (!(L[R] instanceof m)) {
966
+ var q = m.name || f, Y = j(L[R]);
967
967
  return new b("Invalid " + P + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + $ + "`, expected ") + ("instance of `" + q + "`."));
968
968
  }
969
969
  return null;
@@ -975,23 +975,23 @@ function Bn() {
975
975
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
976
976
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
977
977
  ) : o("Invalid argument supplied to oneOf, expected an array.")), a;
978
- function S(L, D, $, P, G) {
979
- for (var q = L[D], Y = 0; Y < m.length; Y++)
978
+ function S(L, R, $, P, G) {
979
+ for (var q = L[R], Y = 0; Y < m.length; Y++)
980
980
  if (h(q, m[Y]))
981
981
  return null;
982
- var Q = JSON.stringify(m, function(ae, F) {
983
- var z = X(F);
984
- return z === "symbol" ? String(F) : F;
982
+ var Q = JSON.stringify(m, function(ae, M) {
983
+ var z = X(M);
984
+ return z === "symbol" ? String(M) : M;
985
985
  });
986
986
  return new b("Invalid " + P + " `" + G + "` of value `" + String(q) + "` " + ("supplied to `" + $ + "`, expected one of " + Q + "."));
987
987
  }
988
988
  return w(S);
989
989
  }
990
- function M(m) {
991
- function S(L, D, $, P, G) {
990
+ function F(m) {
991
+ function S(L, R, $, P, G) {
992
992
  if (typeof m != "function")
993
993
  return new b("Property `" + G + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
994
- var q = L[D], Y = U(q);
994
+ var q = L[R], Y = U(q);
995
995
  if (Y !== "object")
996
996
  return new b("Invalid " + P + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + $ + "`, expected an object."));
997
997
  for (var Q in q)
@@ -1014,32 +1014,32 @@ function Bn() {
1014
1014
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + N(L) + " at index " + S + "."
1015
1015
  ), a;
1016
1016
  }
1017
- function D($, P, G, q, Y) {
1017
+ function R($, P, G, q, Y) {
1018
1018
  for (var Q = [], K = 0; K < m.length; K++) {
1019
- var ae = m[K], F = ae($, P, G, q, Y, r);
1020
- if (F == null)
1019
+ var ae = m[K], M = ae($, P, G, q, Y, r);
1020
+ if (M == null)
1021
1021
  return null;
1022
- F.data && n(F.data, "expectedType") && Q.push(F.data.expectedType);
1022
+ M.data && n(M.data, "expectedType") && Q.push(M.data.expectedType);
1023
1023
  }
1024
1024
  var z = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
1025
1025
  return new b("Invalid " + q + " `" + Y + "` supplied to " + ("`" + G + "`" + z + "."));
1026
1026
  }
1027
- return w(D);
1027
+ return w(R);
1028
1028
  }
1029
1029
  function k() {
1030
- function m(S, L, D, $, P) {
1031
- return I(S[L]) ? null : new b("Invalid " + $ + " `" + P + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
1030
+ function m(S, L, R, $, P) {
1031
+ return I(S[L]) ? null : new b("Invalid " + $ + " `" + P + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
1032
1032
  }
1033
1033
  return w(m);
1034
1034
  }
1035
- function C(m, S, L, D, $) {
1035
+ function C(m, S, L, R, $) {
1036
1036
  return new b(
1037
- (m || "React class") + ": " + S + " type `" + L + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
1037
+ (m || "React class") + ": " + S + " type `" + L + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
1038
1038
  );
1039
1039
  }
1040
1040
  function E(m) {
1041
- function S(L, D, $, P, G) {
1042
- var q = L[D], Y = U(q);
1041
+ function S(L, R, $, P, G) {
1042
+ var q = L[R], Y = U(q);
1043
1043
  if (Y !== "object")
1044
1044
  return new b("Invalid " + P + " `" + G + "` of type `" + Y + "` " + ("supplied to `" + $ + "`, expected `object`."));
1045
1045
  for (var Q in m) {
@@ -1055,23 +1055,23 @@ function Bn() {
1055
1055
  return w(S);
1056
1056
  }
1057
1057
  function A(m) {
1058
- function S(L, D, $, P, G) {
1059
- var q = L[D], Y = U(q);
1058
+ function S(L, R, $, P, G) {
1059
+ var q = L[R], Y = U(q);
1060
1060
  if (Y !== "object")
1061
1061
  return new b("Invalid " + P + " `" + G + "` of type `" + Y + "` " + ("supplied to `" + $ + "`, expected `object`."));
1062
- var Q = e({}, L[D], m);
1062
+ var Q = e({}, L[R], m);
1063
1063
  for (var K in Q) {
1064
1064
  var ae = m[K];
1065
1065
  if (n(m, K) && typeof ae != "function")
1066
1066
  return C($, P, G, K, X(ae));
1067
1067
  if (!ae)
1068
1068
  return new b(
1069
- "Invalid " + P + " `" + G + "` key `" + K + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(L[D], null, " ") + `
1069
+ "Invalid " + P + " `" + G + "` key `" + K + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(L[R], null, " ") + `
1070
1070
  Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
1071
1071
  );
1072
- var F = ae(q, K, $, P, G + "." + K, r);
1073
- if (F)
1074
- return F;
1072
+ var M = ae(q, K, $, P, G + "." + K, r);
1073
+ if (M)
1074
+ return M;
1075
1075
  }
1076
1076
  return null;
1077
1077
  }
@@ -1092,14 +1092,14 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
1092
1092
  return !0;
1093
1093
  var S = u(m);
1094
1094
  if (S) {
1095
- var L = S.call(m), D;
1095
+ var L = S.call(m), R;
1096
1096
  if (S !== m.entries) {
1097
- for (; !(D = L.next()).done; )
1098
- if (!I(D.value))
1097
+ for (; !(R = L.next()).done; )
1098
+ if (!I(R.value))
1099
1099
  return !1;
1100
1100
  } else
1101
- for (; !(D = L.next()).done; ) {
1102
- var $ = D.value;
1101
+ for (; !(R = L.next()).done; ) {
1102
+ var $ = R.value;
1103
1103
  if ($ && !I($[1]))
1104
1104
  return !1;
1105
1105
  }
@@ -1249,7 +1249,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1249
1249
  }, function() {
1250
1250
  g(O);
1251
1251
  });
1252
- }, T = function(O, M) {
1252
+ }, T = function(O, F) {
1253
1253
  if (O) {
1254
1254
  x(O);
1255
1255
  return;
@@ -1260,15 +1260,15 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1260
1260
  };
1261
1261
  }, function() {
1262
1262
  try {
1263
- b(M);
1263
+ b(F);
1264
1264
  } catch (W) {
1265
1265
  x(W);
1266
1266
  }
1267
1267
  });
1268
1268
  }, y = function(O) {
1269
1269
  if (O.setAttribute("role", "img"), a) {
1270
- var M = O.querySelector(":scope > desc");
1271
- M && O.removeChild(M);
1270
+ var F = O.querySelector(":scope > desc");
1271
+ F && O.removeChild(F);
1272
1272
  var W = document.createElement("desc");
1273
1273
  W.innerHTML = a, O.prepend(W);
1274
1274
  }
@@ -1388,10 +1388,10 @@ const Ko = (t) => {
1388
1388
  !o && c && l && l(E);
1389
1389
  }, T = (E) => {
1390
1390
  !o && c && (E.key === "Enter" || E.key === " ") && (E.preventDefault(), x(E));
1391
- }, y = h ? n : t, R = w(y), M = v(y) ? y : zn(`assets/svg/${y}`), W = () => /* @__PURE__ */ p.jsx(
1391
+ }, y = h ? n : t, D = w(y), F = v(y) ? y : zn(`assets/svg/${y}`), W = () => /* @__PURE__ */ p.jsx(
1392
1392
  Jt,
1393
1393
  {
1394
- src: M,
1394
+ src: F,
1395
1395
  onError: () => b(!0),
1396
1396
  width: e || "1rem",
1397
1397
  height: r || "1rem",
@@ -1425,7 +1425,7 @@ const Ko = (t) => {
1425
1425
  )
1426
1426
  );
1427
1427
  return (() => {
1428
- const E = g?.startsWith("https://") || g?.startsWith("http://") || g?.startsWith("#") || g?.startsWith("/"), A = R ? W() : k(), I = u ? /* @__PURE__ */ p.jsx("span", { title: u, children: A }) : A;
1428
+ const E = g?.startsWith("https://") || g?.startsWith("http://") || g?.startsWith("#") || g?.startsWith("/"), A = D ? W() : k(), I = u ? /* @__PURE__ */ p.jsx("span", { title: u, children: A }) : A;
1429
1429
  return E ? /* @__PURE__ */ p.jsx("a", { href: g, children: I }) : I;
1430
1430
  })();
1431
1431
  }
@@ -1454,7 +1454,7 @@ function $e({
1454
1454
  }
1455
1455
  const b = window.scrollY, w = window.scrollX, v = window.innerWidth, _ = window.innerHeight;
1456
1456
  let x = c + b, T = d + w, y = t;
1457
- const R = {
1457
+ const D = {
1458
1458
  top: c - g < 0,
1459
1459
  bottom: c + f + g > _,
1460
1460
  left: d - h < 0,
@@ -1462,16 +1462,16 @@ function $e({
1462
1462
  };
1463
1463
  switch (t) {
1464
1464
  case "top":
1465
- R.top && !R.bottom && (y = "bottom");
1465
+ D.top && !D.bottom && (y = "bottom");
1466
1466
  break;
1467
1467
  case "bottom":
1468
- R.bottom && !R.top && (y = "top");
1468
+ D.bottom && !D.top && (y = "top");
1469
1469
  break;
1470
1470
  case "left":
1471
- R.left && !R.right && (y = "right");
1471
+ D.left && !D.right && (y = "right");
1472
1472
  break;
1473
1473
  case "right":
1474
- R.right && !R.left && (y = "left");
1474
+ D.right && !D.left && (y = "left");
1475
1475
  break;
1476
1476
  }
1477
1477
  switch (y) {
@@ -1967,9 +1967,9 @@ const sn = (t) => {
1967
1967
  error: x,
1968
1968
  appearance: T = "base",
1969
1969
  isClearable: y = !1,
1970
- fullWidth: R = !1,
1970
+ fullWidth: D = !1,
1971
1971
  _dataComponent: O = "textfield",
1972
- min: M,
1972
+ min: F,
1973
1973
  max: W,
1974
1974
  step: k,
1975
1975
  inputMode: C = "text",
@@ -1985,26 +1985,26 @@ const sn = (t) => {
1985
1985
  onClick: S,
1986
1986
  ...L
1987
1987
  }) => {
1988
- const D = ke(), $ = `${D}-helper`, P = x ? "danger" : c, G = _ || !!x, q = (F) => {
1989
- N?.(F.target.value);
1988
+ const R = ke(), $ = `${R}-helper`, P = x ? "danger" : c, G = _ || !!x, q = (M) => {
1989
+ N?.(M.target.value);
1990
1990
  }, Y = () => {
1991
1991
  r && r != "" && N?.("");
1992
1992
  }, Q = {
1993
- wrapper: `${ve["smp-textfield-wrapper"]} ${R ? ve["smp-textfield-fullWidth"] : ""}`,
1993
+ wrapper: `${ve["smp-textfield-wrapper"]} ${D ? ve["smp-textfield-fullWidth"] : ""}`,
1994
1994
  container: `${ve["smp-textfield"]} ${e ? ve["smp-textfield-disabled"] : ""} ${o ? ve["smp-textfield-placeholder"] : ""} ${l ? ve[`smp-textfield-${l}`] : ""} ${P ? ve[`smp-textfield-${P}`] : ""} ${T ? ve[`smp-textfield-${T}`] : ""} ${a ? "" : ve["smp-textfield-readOnly"]} ${u ? ve["smp-textfield-top-right-indicator"] : ""}`,
1995
1995
  input: `${ve["smp-textfield-input"]}`,
1996
1996
  decodeWrapper: ` ${n ? ve["smp-textfield-decode-wrapper"] : ""}`
1997
1997
  };
1998
1998
  if (d && (d !== "notSelectable" || a)) {
1999
- const F = ve[`smp-textfield-variant-${d}`];
2000
- F && (Q.container += ` ${F}`);
1999
+ const M = ve[`smp-textfield-variant-${d}`];
2000
+ M && (Q.container += ` ${M}`);
2001
2001
  }
2002
2002
  const K = E ? { "--smp-textField-width-base": E, ...U } : U, ae = /* @__PURE__ */ p.jsxs("div", { className: Q.container, ref: g, style: K, children: [
2003
2003
  s && /* @__PURE__ */ p.jsx(le, { icon: s, disabled: e }),
2004
2004
  /* @__PURE__ */ p.jsx(
2005
2005
  "input",
2006
2006
  {
2007
- id: D,
2007
+ id: R,
2008
2008
  name: t,
2009
2009
  type: b,
2010
2010
  value: r,
@@ -2018,7 +2018,7 @@ const sn = (t) => {
2018
2018
  "aria-label": w,
2019
2019
  ref: h,
2020
2020
  "aria-describedby": G ? $ : void 0,
2021
- min: M,
2021
+ min: F,
2022
2022
  max: W,
2023
2023
  step: k,
2024
2024
  inputMode: C,
@@ -2055,7 +2055,7 @@ const sn = (t) => {
2055
2055
  {
2056
2056
  label: v,
2057
2057
  disabled: e,
2058
- htmlFor: D,
2058
+ htmlFor: R,
2059
2059
  helper: L.helper
2060
2060
  }
2061
2061
  ),
@@ -2175,9 +2175,9 @@ const os = 10, Zt = ({
2175
2175
  o !== null ? o : -1
2176
2176
  ), [v, _] = H(i || 200), x = ue(null), T = s !== void 0 ? s : e.length > os, y = f ? e.filter(
2177
2177
  (V) => V.decode?.toLowerCase()?.includes(f.toLowerCase())
2178
- ) : e, R = (V) => {
2178
+ ) : e, D = (V) => {
2179
2179
  g(V);
2180
- }, { virtualItems: O, containerProps: M, innerProps: W, scrollToIndex: k } = on({
2180
+ }, { virtualItems: O, containerProps: F, innerProps: W, scrollToIndex: k } = on({
2181
2181
  items: y,
2182
2182
  itemHeight: h,
2183
2183
  containerHeight: 200,
@@ -2228,7 +2228,7 @@ const os = 10, Zt = ({
2228
2228
  bindValue: f,
2229
2229
  placeholder: "Search...",
2230
2230
  fullWidth: !0,
2231
- onChange: R,
2231
+ onChange: D,
2232
2232
  onKeyDown: E,
2233
2233
  inputRef: x
2234
2234
  }
@@ -2236,7 +2236,7 @@ const os = 10, Zt = ({
2236
2236
  /* @__PURE__ */ p.jsx(
2237
2237
  "div",
2238
2238
  {
2239
- ...M,
2239
+ ...F,
2240
2240
  className: I.container,
2241
2241
  tabIndex: 0,
2242
2242
  role: "listbox",
@@ -2316,8 +2316,8 @@ const os = 10, Zt = ({
2316
2316
  /* @__PURE__ */ p.jsxs(
2317
2317
  "div",
2318
2318
  {
2319
- ref: (R) => {
2320
- R && o.current.set(x, R);
2319
+ ref: (D) => {
2320
+ D && o.current.set(x, D);
2321
2321
  },
2322
2322
  className: g.node,
2323
2323
  tabIndex: 0,
@@ -2325,7 +2325,7 @@ const os = 10, Zt = ({
2325
2325
  "data-nodeid": x,
2326
2326
  "smp-id": `toolbar-item-${_}`,
2327
2327
  "aria-expanded": v?.isExpanded,
2328
- onKeyDown: (R) => u(R, v, x),
2328
+ onKeyDown: (D) => u(D, v, x),
2329
2329
  onMouseEnter: () => l(v, x),
2330
2330
  onMouseLeave: () => {
2331
2331
  c(x);
@@ -2376,11 +2376,11 @@ const os = 10, Zt = ({
2376
2376
  "data-node-id": x,
2377
2377
  displayMode: Je.DESC_ONLY,
2378
2378
  selectedIndex: v.options?.findIndex(
2379
- (R) => R.obj?.k === v.obj?.k
2379
+ (D) => D.obj?.k === v.obj?.k
2380
2380
  ),
2381
2381
  activeIndex: [v.obj.k],
2382
- onClick: (R) => {
2383
- d(v, x, R);
2382
+ onClick: (D) => {
2383
+ d(v, x, D);
2384
2384
  }
2385
2385
  },
2386
2386
  x
@@ -2447,10 +2447,10 @@ const os = 10, Zt = ({
2447
2447
  if (nt([_], d, () => u(!1)), re(() => {
2448
2448
  const k = w.current;
2449
2449
  if (!k) return;
2450
- R();
2451
- const C = () => R();
2452
- return k.addEventListener("scroll", C), window.addEventListener("resize", R), () => {
2453
- k.removeEventListener("scroll", C), window.removeEventListener("resize", R);
2450
+ D();
2451
+ const C = () => D();
2452
+ return k.addEventListener("scroll", C), window.addEventListener("resize", D), () => {
2453
+ k.removeEventListener("scroll", C), window.removeEventListener("resize", D);
2454
2454
  };
2455
2455
  }, []), re(() => {
2456
2456
  n !== void 0 && c(n);
@@ -2464,14 +2464,14 @@ const os = 10, Zt = ({
2464
2464
  scrollButtonRight: `${Ee["smp-tabbar-scroll-button"]} ${Ee["smp-tabbar-scroll-buttonRight"]}`,
2465
2465
  scrollButtonLeft: `${Ee["smp-tabbar-scroll-button"]} ${Ee["smp-tabbar-scroll-buttonLeft"]}`,
2466
2466
  active: Ee["smp-active"]
2467
- }, T = 100, y = 2, R = () => {
2467
+ }, T = 100, y = 2, D = () => {
2468
2468
  const k = w.current;
2469
2469
  k && (g(k.scrollLeft > 0), b(
2470
2470
  k.scrollLeft + k.clientWidth < k.scrollWidth - y
2471
2471
  ));
2472
2472
  }, O = () => {
2473
2473
  w.current?.scrollBy({ left: -T, behavior: "smooth" });
2474
- }, M = () => {
2474
+ }, F = () => {
2475
2475
  w.current?.scrollBy({ left: T, behavior: "smooth" });
2476
2476
  }, W = (k) => {
2477
2477
  i && i(k), u(!1);
@@ -2546,7 +2546,7 @@ const os = 10, Zt = ({
2546
2546
  {
2547
2547
  bindValue: "",
2548
2548
  optionalDisplayValue: ">",
2549
- onClick: M,
2549
+ onClick: F,
2550
2550
  variant: "base",
2551
2551
  sizing: e
2552
2552
  }
@@ -3175,9 +3175,9 @@ class St extends Ct {
3175
3175
  } : i;
3176
3176
  const g = this.resolve(e, s);
3177
3177
  let h = g?.res;
3178
- const b = g?.usedKey || i, w = g?.exactUsedKey || i, v = ["[object Number]", "[object Function]", "[object RegExp]"], _ = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject, T = s.count !== void 0 && !Z(s.count), y = St.hasDefaultValue(s), R = T ? this.pluralResolver.getSuffix(u, s.count, s) : "", O = s.ordinal && T ? this.pluralResolver.getSuffix(u, s.count, {
3178
+ const b = g?.usedKey || i, w = g?.exactUsedKey || i, v = ["[object Number]", "[object Function]", "[object RegExp]"], _ = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject, T = s.count !== void 0 && !Z(s.count), y = St.hasDefaultValue(s), D = T ? this.pluralResolver.getSuffix(u, s.count, s) : "", O = s.ordinal && T ? this.pluralResolver.getSuffix(u, s.count, {
3179
3179
  ordinal: !1
3180
- }) : "", M = T && !s.ordinal && s.count === 0, W = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${R}`] || s[`defaultValue${O}`] || s.defaultValue;
3180
+ }) : "", F = T && !s.ordinal && s.count === 0, W = F && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${D}`] || s[`defaultValue${O}`] || s.defaultValue;
3181
3181
  let k = h;
3182
3182
  x && !h && y && (k = W);
3183
3183
  const C = Pr(k), E = Object.prototype.toString.apply(k);
@@ -3228,14 +3228,14 @@ class St extends Ct {
3228
3228
  for (let S = 0; S < j.length; S++)
3229
3229
  N.push(j[S]);
3230
3230
  else this.options.saveMissingTo === "all" ? N = this.languageUtils.toResolveHierarchy(s.lng || this.language) : N.push(s.lng || this.language);
3231
- const m = (S, L, D) => {
3232
- const $ = y && D !== h ? D : U;
3231
+ const m = (S, L, R) => {
3232
+ const $ = y && R !== h ? R : U;
3233
3233
  this.options.missingKeyHandler ? this.options.missingKeyHandler(S, c, L, $, X, s) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(S, c, L, $, X, s), this.emit("missingKey", S, c, L, h);
3234
3234
  };
3235
3235
  this.options.saveMissing && (this.options.saveMissingPlurals && T ? N.forEach((S) => {
3236
3236
  const L = this.pluralResolver.getSuffixes(S, s);
3237
- M && s[`defaultValue${this.options.pluralSeparator}zero`] && L.indexOf(`${this.options.pluralSeparator}zero`) < 0 && L.push(`${this.options.pluralSeparator}zero`), L.forEach((D) => {
3238
- m([S], i + D, s[`defaultValue${D}`] || W);
3237
+ F && s[`defaultValue${this.options.pluralSeparator}zero`] && L.indexOf(`${this.options.pluralSeparator}zero`) < 0 && L.push(`${this.options.pluralSeparator}zero`), L.forEach((R) => {
3238
+ m([S], i + R, s[`defaultValue${R}`] || W);
3239
3239
  });
3240
3240
  }) : m(N, i, W));
3241
3241
  }
@@ -3303,10 +3303,10 @@ class St extends Ct {
3303
3303
  else {
3304
3304
  let T;
3305
3305
  f && (T = this.pluralResolver.getSuffix(v, r.count, r));
3306
- const y = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
3307
- if (f && (r.ordinal && T.indexOf(R) === 0 && _.push(d + T.replace(R, this.options.pluralSeparator)), _.push(d + T), g && _.push(d + y)), h) {
3306
+ const y = `${this.options.pluralSeparator}zero`, D = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
3307
+ if (f && (r.ordinal && T.indexOf(D) === 0 && _.push(d + T.replace(D, this.options.pluralSeparator)), _.push(d + T), g && _.push(d + y)), h) {
3308
3308
  const O = `${d}${this.options.contextSeparator}${r.context}`;
3309
- _.push(O), f && (_.push(O + T), r.ordinal && T.indexOf(R) === 0 && _.push(O + T.replace(R, this.options.pluralSeparator)), g && _.push(O + y));
3309
+ _.push(O), f && (_.push(O + T), r.ordinal && T.indexOf(D) === 0 && _.push(O + T.replace(D, this.options.pluralSeparator)), g && _.push(O + y));
3310
3310
  }
3311
3311
  }
3312
3312
  let x;
@@ -4306,42 +4306,42 @@ const eo = (t) => t?.type === "SmeupDataTree", to = (t) => t?.type === "SmeupDat
4306
4306
  _multiActiveIndex: f,
4307
4307
  ...g
4308
4308
  }) => {
4309
- const h = ue(null), [b, w] = H(t), [v, _] = H(e), { translate: x } = Re(), [T, y] = H(!1), [R, O] = H(
4309
+ const h = ue(null), [b, w] = H(t), [v, _] = H(e), { translate: x } = Re(), [T, y] = H(!1), [D, O] = H(
4310
4310
  r || []
4311
- ), [M, W] = H(0), [k, C] = H([t]), { anchorRef: E, targetRef: A, anchorWidth: I } = $e({
4311
+ ), [F, W] = H(0), [k, C] = H([t]), { anchorRef: E, targetRef: A, anchorWidth: I } = $e({
4312
4312
  position: "bottom",
4313
4313
  open: T
4314
4314
  }), V = oe(() => {
4315
4315
  y(!1), h?.current?.focus();
4316
4316
  }, []);
4317
4317
  nt([A], T, () => V());
4318
- const U = sn(400), X = (D) => {
4319
- D.length >= o ? N(D) : V(), w(D), _(""), l || c?.(D, e);
4320
- }, N = (D) => {
4318
+ const U = sn(400), X = (R) => {
4319
+ R.length >= o ? N(R) : V(), w(R), _(""), l || c?.(R, e);
4320
+ }, N = (R) => {
4321
4321
  U(async () => {
4322
4322
  if (i && d) {
4323
- const $ = await d(i, D), P = Ge($) || [];
4323
+ const $ = await d(i, R), P = Ge($) || [];
4324
4324
  O(P), W(P.length > 0 ? 0 : -1), y(!0);
4325
4325
  }
4326
4326
  });
4327
4327
  }, j = () => {
4328
4328
  T || u?.();
4329
- }, m = (D) => {
4330
- l ? (w(""), _("")) : (w(D.obj?.k), _(D.decode)), c?.(D.obj?.k, D.decode);
4331
- const $ = R.findIndex(
4332
- (P) => P.obj?.k === D.obj?.k
4329
+ }, m = (R) => {
4330
+ l ? (w(""), _("")) : (w(R.obj?.k), _(R.decode)), c?.(R.obj?.k, R.decode);
4331
+ const $ = D.findIndex(
4332
+ (P) => P.obj?.k === R.obj?.k
4333
4333
  );
4334
- W($), C([D.obj?.k]), V();
4335
- }, S = (D) => {
4336
- D.key === "Escape" && (V(), W(-1));
4337
- }, L = (D) => {
4338
- if ((D.key === "ArrowDown" || D.key === "ArrowUp") && (D.preventDefault(), T)) {
4339
- const $ = D.key === "ArrowDown" ? (M + 1) % R.length : (M - 1 + R.length) % R.length;
4334
+ W($), C([R.obj?.k]), V();
4335
+ }, S = (R) => {
4336
+ R.key === "Escape" && (V(), W(-1));
4337
+ }, L = (R) => {
4338
+ if ((R.key === "ArrowDown" || R.key === "ArrowUp") && (R.preventDefault(), T)) {
4339
+ const $ = R.key === "ArrowDown" ? (F + 1) % D.length : (F - 1 + D.length) % D.length;
4340
4340
  W($);
4341
4341
  }
4342
- switch (D.key) {
4342
+ switch (R.key) {
4343
4343
  case "Enter":
4344
- M >= 0 && M < R.length ? m(R[M]) : l && (c?.(b, ""), V(), w(""), _(""));
4344
+ F >= 0 && F < D.length ? m(D[F]) : l && (c?.(b, ""), V(), w(""), _(""));
4345
4345
  break;
4346
4346
  case "Escape":
4347
4347
  V(), W(-1);
@@ -4373,11 +4373,11 @@ const eo = (t) => t?.type === "SmeupDataTree", to = (t) => t?.type === "SmeupDat
4373
4373
  T && /* @__PURE__ */ p.jsx(Ne, { children: /* @__PURE__ */ p.jsx(
4374
4374
  Zt,
4375
4375
  {
4376
- options: R,
4376
+ options: D,
4377
4377
  displayMode: n,
4378
4378
  onClick: m,
4379
4379
  ref: A,
4380
- selectedIndex: M,
4380
+ selectedIndex: F,
4381
4381
  activeIndex: f || k,
4382
4382
  width: I,
4383
4383
  showFilter: !1,
@@ -4586,14 +4586,14 @@ const Ht = ({
4586
4586
  multiActiveIndex: l,
4587
4587
  ...c
4588
4588
  }) => {
4589
- const d = ue(null), [u, f] = H(!1), [g, h] = H(r), [b, w] = H(-1), [v, _] = H([t]), x = ke(), { anchorRef: T, targetRef: y, anchorWidth: R } = $e({
4589
+ const d = ue(null), [u, f] = H(!1), [g, h] = H(r), [b, w] = H(-1), [v, _] = H([t]), x = ke(), { anchorRef: T, targetRef: y, anchorWidth: D } = $e({
4590
4590
  position: "bottom",
4591
4591
  open: u
4592
4592
  }), O = oe(() => {
4593
4593
  f(!1), d?.current?.focus();
4594
4594
  }, []);
4595
4595
  nt([y, T], u, () => O()), nr(u, y);
4596
- const M = (E) => {
4596
+ const F = (E) => {
4597
4597
  e?.(E.obj.k, E.decode);
4598
4598
  const A = g.findIndex((I) => I.obj.k === E.obj.k);
4599
4599
  w(A), _([E.obj.k]), O();
@@ -4644,8 +4644,8 @@ const Ht = ({
4644
4644
  isOpen: u,
4645
4645
  selectedIndex: b,
4646
4646
  activeIndex: l || v,
4647
- width: R,
4648
- onClick: M,
4647
+ width: D,
4648
+ onClick: F,
4649
4649
  onKeyDown: W,
4650
4650
  floating: !0
4651
4651
  }
@@ -4718,15 +4718,15 @@ function oo({
4718
4718
  full: o(ge.SATURDAY)
4719
4719
  }
4720
4720
  ], T = (j) => r.some((m) => {
4721
- const S = m.start.getTime(), L = m.end.getTime(), D = j.getTime();
4722
- return D >= S && D <= L;
4721
+ const S = m.start.getTime(), L = m.end.getTime(), R = j.getTime();
4722
+ return R >= S && R <= L;
4723
4723
  }), y = (j) => {
4724
4724
  T(j) || (c(j), b(j.getDate()), e && e(hs(j)));
4725
- }, R = () => {
4725
+ }, D = () => {
4726
4726
  d === 0 ? (u(11), g(f - 1)) : u(d - 1), b(1);
4727
4727
  }, O = () => {
4728
4728
  d === 11 ? (u(0), g(f + 1)) : u(d + 1), b(1);
4729
- }, M = (j, m) => new Date(j, m + 1, 0).getDate(), W = (j, m) => new Date(j, m, 1).getDay(), k = (j) => {
4729
+ }, F = (j, m) => new Date(j, m + 1, 0).getDate(), W = (j, m) => new Date(j, m, 1).getDay(), k = (j) => {
4730
4730
  const m = I.findIndex(
4731
4731
  (S) => S !== null && S.getDate() === j
4732
4732
  );
@@ -4734,12 +4734,12 @@ function oo({
4734
4734
  }, C = (j, m) => {
4735
4735
  const S = I[m];
4736
4736
  if (!S) return;
4737
- const L = M(f, d), D = S.getDate();
4737
+ const L = F(f, d), R = S.getDate();
4738
4738
  switch (j.key) {
4739
4739
  case "ArrowRight":
4740
4740
  j.preventDefault();
4741
4741
  {
4742
- let $ = D + 1, P = new Date(f, d, $);
4742
+ let $ = R + 1, P = new Date(f, d, $);
4743
4743
  if ($ > L) {
4744
4744
  const G = d === 11 ? f + 1 : f, q = d === 11 ? 0 : d + 1;
4745
4745
  $ = 1, P = new Date(G, q, $), O(), setTimeout(() => {
@@ -4755,10 +4755,10 @@ function oo({
4755
4755
  case "ArrowLeft":
4756
4756
  j.preventDefault();
4757
4757
  {
4758
- let $ = D - 1, P = new Date(f, d, $);
4758
+ let $ = R - 1, P = new Date(f, d, $);
4759
4759
  if ($ < 1) {
4760
- const G = d === 0 ? f - 1 : f, q = d === 0 ? 11 : d - 1, Y = M(G, q);
4761
- $ = Y, P = new Date(G, q, $), R(), setTimeout(() => {
4760
+ const G = d === 0 ? f - 1 : f, q = d === 0 ? 11 : d - 1, Y = F(G, q);
4761
+ $ = Y, P = new Date(G, q, $), D(), setTimeout(() => {
4762
4762
  E(Y, "backward");
4763
4763
  }, 0);
4764
4764
  return;
@@ -4769,10 +4769,10 @@ function oo({
4769
4769
  case "ArrowUp":
4770
4770
  j.preventDefault();
4771
4771
  {
4772
- let $ = D - 7, P = new Date(f, d, $);
4772
+ let $ = R - 7, P = new Date(f, d, $);
4773
4773
  if ($ < 1) {
4774
4774
  const G = d === 0 ? f - 1 : f, q = d === 0 ? 11 : d - 1;
4775
- $ = M(G, q) + $, P = new Date(G, q, $), R(), setTimeout(() => {
4775
+ $ = F(G, q) + $, P = new Date(G, q, $), D(), setTimeout(() => {
4776
4776
  E($, "backward");
4777
4777
  }, 0);
4778
4778
  return;
@@ -4783,7 +4783,7 @@ function oo({
4783
4783
  case "ArrowDown":
4784
4784
  j.preventDefault();
4785
4785
  {
4786
- let $ = D + 7, P = new Date(f, d, $);
4786
+ let $ = R + 7, P = new Date(f, d, $);
4787
4787
  if ($ > L) {
4788
4788
  const G = d === 11 ? f + 1 : f, q = d === 11 ? 0 : d + 1;
4789
4789
  $ = $ - L, P = new Date(G, q, $), O(), setTimeout(() => {
@@ -4801,20 +4801,20 @@ function oo({
4801
4801
  j.preventDefault(), E(L, "backward");
4802
4802
  break;
4803
4803
  case "PageUp":
4804
- j.preventDefault(), R(), setTimeout(() => {
4805
- const $ = M(
4804
+ j.preventDefault(), D(), setTimeout(() => {
4805
+ const $ = F(
4806
4806
  d === 0 ? f - 1 : f,
4807
4807
  d === 0 ? 11 : d - 1
4808
- ), P = Math.min(D, $);
4808
+ ), P = Math.min(R, $);
4809
4809
  E(P, "forward");
4810
4810
  }, 0);
4811
4811
  break;
4812
4812
  case "PageDown":
4813
4813
  j.preventDefault(), O(), setTimeout(() => {
4814
- const $ = M(
4814
+ const $ = F(
4815
4815
  d === 11 ? f + 1 : f,
4816
4816
  d === 11 ? 0 : d + 1
4817
- ), P = Math.min(D, $);
4817
+ ), P = Math.min(R, $);
4818
4818
  E(P, "forward");
4819
4819
  }, 0);
4820
4820
  break;
@@ -4828,11 +4828,11 @@ function oo({
4828
4828
  break;
4829
4829
  }
4830
4830
  }, E = (j, m) => {
4831
- const S = M(f, d);
4831
+ const S = F(f, d);
4832
4832
  if (m === "forward") {
4833
4833
  for (let L = j; L <= S; L++) {
4834
- const D = new Date(f, d, L);
4835
- if (!T(D)) {
4834
+ const R = new Date(f, d, L);
4835
+ if (!T(R)) {
4836
4836
  k(L);
4837
4837
  return;
4838
4838
  }
@@ -4848,18 +4848,18 @@ function oo({
4848
4848
  return;
4849
4849
  }
4850
4850
  }
4851
- const L = d === 0 ? f - 1 : f, D = d === 0 ? 11 : d - 1, $ = M(L, D);
4852
- R(), setTimeout(() => {
4851
+ const L = d === 0 ? f - 1 : f, R = d === 0 ? 11 : d - 1, $ = F(L, R);
4852
+ D(), setTimeout(() => {
4853
4853
  E($, "backward");
4854
4854
  }, 0);
4855
4855
  }
4856
4856
  }, I = (() => {
4857
- const j = M(f, d), m = W(f, d), S = [];
4857
+ const j = F(f, d), m = W(f, d), S = [];
4858
4858
  for (let L = 0; L < m; L++)
4859
4859
  S.push(null);
4860
4860
  for (let L = 1; L <= j; L++) {
4861
- const D = new Date(f, d, L);
4862
- S.push(D);
4861
+ const R = new Date(f, d, L);
4862
+ S.push(R);
4863
4863
  }
4864
4864
  return S;
4865
4865
  })(), V = [];
@@ -4913,7 +4913,7 @@ function oo({
4913
4913
  /* @__PURE__ */ p.jsx(
4914
4914
  me,
4915
4915
  {
4916
- onClick: R,
4916
+ onClick: D,
4917
4917
  ariaLabel: o(qt.PREVIOUS_MONTH),
4918
4918
  optionalDisplayValue: "<",
4919
4919
  appearance: "ghost",
@@ -4962,7 +4962,7 @@ function oo({
4962
4962
  j.value
4963
4963
  )) }) }),
4964
4964
  /* @__PURE__ */ p.jsx("tbody", { children: V.map((j, m) => /* @__PURE__ */ p.jsx("tr", { children: j.map((S, L) => {
4965
- const D = m * 7 + L;
4965
+ const R = m * 7 + L;
4966
4966
  if (S === null)
4967
4967
  return /* @__PURE__ */ p.jsx(
4968
4968
  "td",
@@ -4984,12 +4984,12 @@ function oo({
4984
4984
  "aria-selected": P,
4985
4985
  tabIndex: G ? 0 : -1,
4986
4986
  onClick: () => y(S),
4987
- onKeyDown: (Y) => C(Y, D),
4987
+ onKeyDown: (Y) => C(Y, R),
4988
4988
  "aria-label": `${S.getDate()} ${_[S.getMonth()]} ${S.getFullYear()}`,
4989
4989
  "data-selected": P,
4990
4990
  "aria-disabled": q,
4991
4991
  ref: (Y) => {
4992
- v.current[D] = Y;
4992
+ v.current[R] = Y;
4993
4993
  },
4994
4994
  className: X.td(
4995
4995
  $,
@@ -5078,12 +5078,12 @@ const sr = ({
5078
5078
  }, [t, v, x]);
5079
5079
  const T = () => c((k) => !k), y = () => {
5080
5080
  O(f);
5081
- }, R = (k) => {
5081
+ }, D = (k) => {
5082
5082
  O(k), w();
5083
5083
  }, O = (k) => {
5084
5084
  const { isoDate: C, isValid: E } = x(k);
5085
5085
  r && r(E && C || k);
5086
- }, M = (k) => {
5086
+ }, F = (k) => {
5087
5087
  g(k);
5088
5088
  }, W = (k) => {
5089
5089
  k.key === "Enter" && (k.preventDefault(), O(f));
@@ -5096,7 +5096,7 @@ const sr = ({
5096
5096
  bindValue: f,
5097
5097
  placeholder: e,
5098
5098
  onBlur: y,
5099
- onChange: M,
5099
+ onChange: F,
5100
5100
  onKeyDown: W,
5101
5101
  shapeIcon: "calendar",
5102
5102
  onShapeIconClick: T,
@@ -5111,7 +5111,7 @@ const sr = ({
5111
5111
  oo,
5112
5112
  {
5113
5113
  disabledDateRanges: n,
5114
- onDateChange: R,
5114
+ onDateChange: D,
5115
5115
  initialValue: er(d) && d || "",
5116
5116
  targetRef: b
5117
5117
  }
@@ -5295,30 +5295,30 @@ const Pe = (t, e, r) => ({
5295
5295
  useGrouping: !0
5296
5296
  }).format(A),
5297
5297
  [f]
5298
- ), w = oe(Ks, [g, h]), v = oe(Gs, [t, e]), _ = o != null && o.toString().includes(".") ? o.toString().split(".")[1].length : 0, [x, T] = H(_), [y, R] = H(
5298
+ ), w = oe(Ks, [g, h]), v = oe(Gs, [t, e]), _ = o != null && o.toString().includes(".") ? o.toString().split(".")[1].length : 0, [x, T] = H(_), [y, D] = H(
5299
5299
  o != null ? b(o, x) : ""
5300
5300
  ), O = ue(o ?? null);
5301
5301
  re(() => {
5302
5302
  if (o == null) {
5303
- R(""), O.current = null;
5303
+ D(""), O.current = null;
5304
5304
  return;
5305
5305
  }
5306
5306
  const A = o.toString().includes(".") ? o.toString().split(".")[1].length : 0, I = A === 0 ? x : A;
5307
- I !== x && T(I), R(b(o, I)), O.current = o;
5307
+ I !== x && T(I), D(b(o, I)), O.current = o;
5308
5308
  }, [o, b]);
5309
- const M = oe(
5309
+ const F = oe(
5310
5310
  (A, I = !1) => {
5311
5311
  if (A.trim() === "") {
5312
- R(""), O.current = null, a?.(void 0, ""), I && i?.(void 0);
5312
+ D(""), O.current = null, a?.(void 0, ""), I && i?.(void 0);
5313
5313
  return;
5314
5314
  }
5315
5315
  const V = w(A, g, h);
5316
5316
  if (isNaN(V))
5317
5317
  if (O.current != null) {
5318
5318
  const U = b(O.current, x);
5319
- R(U);
5319
+ D(U);
5320
5320
  } else
5321
- R("");
5321
+ D("");
5322
5322
  else {
5323
5323
  const U = v(V, t, e), X = zs(
5324
5324
  A,
@@ -5327,7 +5327,7 @@ const Pe = (t, e, r) => ({
5327
5327
  );
5328
5328
  T(X);
5329
5329
  const N = b(U, X);
5330
- R(N), O.current = U, a?.(U, N), I && i?.(U);
5330
+ D(N), O.current = U, a?.(U, N), I && i?.(U);
5331
5331
  }
5332
5332
  },
5333
5333
  [
@@ -5342,21 +5342,21 @@ const Pe = (t, e, r) => ({
5342
5342
  i,
5343
5343
  x
5344
5344
  ]
5345
- ), W = (A) => R(A), k = () => M(y), C = (A) => {
5345
+ ), W = (A) => D(A), k = () => F(y), C = (A) => {
5346
5346
  if (A.key === "Enter") {
5347
- A.preventDefault(), M(y, !0);
5347
+ A.preventDefault(), F(y, !0);
5348
5348
  return;
5349
5349
  }
5350
5350
  if (A.key === "ArrowUp" || A.key === "ArrowDown") {
5351
5351
  A.preventDefault();
5352
5352
  const I = A.key === "ArrowUp" ? 1 : -1, V = O.current ?? 0, U = v(V + I * r, t, e);
5353
- M(b(U, x));
5353
+ F(b(U, x));
5354
5354
  }
5355
5355
  }, E = (A) => {
5356
5356
  if (!A.currentTarget.contains(document.activeElement)) return;
5357
5357
  A.preventDefault();
5358
5358
  const I = A.deltaY < 0 ? 1 : -1, V = O.current ?? 0, U = v(V + I * r, t, e);
5359
- M(b(U, x));
5359
+ F(b(U, x));
5360
5360
  };
5361
5361
  return /* @__PURE__ */ p.jsx("div", { ref: u, "data-component": "input-number", onWheel: E, children: l ? /* @__PURE__ */ p.jsx(
5362
5362
  sr,
@@ -5437,52 +5437,62 @@ const uo = ({
5437
5437
  state: s,
5438
5438
  appearance: o,
5439
5439
  isEditable: a,
5440
- label: i,
5441
- ariaLabel: l,
5442
- helperText: c,
5443
- style: d,
5444
- error: u,
5445
- onBlur: f,
5446
- onKeyDown: g,
5447
- rows: h = 10,
5448
- cols: b = 35,
5449
- ...w
5440
+ inputRef: i,
5441
+ label: l,
5442
+ ariaLabel: c,
5443
+ helperText: d,
5444
+ style: u,
5445
+ error: f,
5446
+ onBlur: g,
5447
+ onKeyDown: h,
5448
+ rows: b = 10,
5449
+ cols: w = 35,
5450
+ ...v
5450
5451
  }) => {
5451
- const v = ke(), _ = `${v}-helper`, x = u ? "danger" : s, T = c || !!u, y = (O) => {
5452
- r?.(O.target.value);
5453
- }, R = {
5452
+ const _ = ke(), x = `${_}-helper`, T = f ? "danger" : s, y = d || !!f, D = (F) => {
5453
+ r?.(F.target.value);
5454
+ }, O = {
5454
5455
  wrapper: "smp-textarea-wrapper",
5455
- container: `smp-textarea ${t ? "smp-textarea-disabled" : ""} ${n ? "smp-textarea-placeholder" : ""} ${x ? `smp-textarea-${x}` : ""} ${o ? `smp-textarea-${o}` : ""} ${a ? "" : "smp-textarea-readOnly"}`
5456
+ container: `smp-textarea ${t ? "smp-textarea-disabled" : ""} ${n ? "smp-textarea-placeholder" : ""} ${T ? `smp-textarea-${T}` : ""} ${o ? `smp-textarea-${o}` : ""} ${a ? "" : "smp-textarea-readOnly"}`
5456
5457
  };
5457
- return /* @__PURE__ */ p.jsxs("div", { className: R.wrapper, "data-component": "textarea", children: [
5458
- i && /* @__PURE__ */ p.jsx(Le, { htmlFor: v, label: i, disabled: t, helper: w.helper }),
5458
+ return /* @__PURE__ */ p.jsxs("div", { className: O.wrapper, "data-component": "textarea", children: [
5459
+ l && /* @__PURE__ */ p.jsx(
5460
+ Le,
5461
+ {
5462
+ htmlFor: _,
5463
+ label: l,
5464
+ disabled: t,
5465
+ helper: v.helper
5466
+ }
5467
+ ),
5459
5468
  /* @__PURE__ */ p.jsx(
5460
5469
  "textarea",
5461
5470
  {
5462
- id: v,
5471
+ id: _,
5463
5472
  value: e,
5464
5473
  placeholder: n,
5465
- onChange: y,
5466
- onBlur: f,
5467
- className: R.container,
5474
+ onChange: D,
5475
+ onBlur: g,
5476
+ className: O.container,
5468
5477
  disabled: t,
5469
5478
  readOnly: !a,
5470
- onKeyDown: g,
5471
- style: d,
5472
- "aria-label": i ? void 0 : l,
5473
- "aria-labelledby": i ? v : void 0,
5474
- "aria-describedby": T ? _ : void 0,
5475
- rows: h,
5476
- cols: b
5479
+ onKeyDown: h,
5480
+ style: u,
5481
+ "aria-label": l ? void 0 : c,
5482
+ "aria-labelledby": l ? _ : void 0,
5483
+ "aria-describedby": y ? x : void 0,
5484
+ rows: b,
5485
+ cols: w,
5486
+ ref: i
5477
5487
  }
5478
5488
  ),
5479
- T && /* @__PURE__ */ p.jsx(
5489
+ y && /* @__PURE__ */ p.jsx(
5480
5490
  Xt,
5481
5491
  {
5482
- id: _,
5483
- helperText: u,
5492
+ id: x,
5493
+ helperText: f,
5484
5494
  disabled: t,
5485
- state: x
5495
+ state: T
5486
5496
  }
5487
5497
  )
5488
5498
  ] });
@@ -5525,7 +5535,7 @@ const Ue = {
5525
5535
  }, T = ke();
5526
5536
  return /* @__PURE__ */ p.jsxs("div", { "smp-id": "radio-container", className: v.container, id: u, children: [
5527
5537
  i && /* @__PURE__ */ p.jsx(Le, { label: i, disabled: t, htmlFor: u, helper: l.helper }),
5528
- /* @__PURE__ */ p.jsx("div", { className: v.optionsContainer, style: w, children: c?.map((y, R) => /* @__PURE__ */ p.jsxs("label", { className: v.option, children: [
5538
+ /* @__PURE__ */ p.jsx("div", { className: v.optionsContainer, style: w, children: c?.map((y, D) => /* @__PURE__ */ p.jsxs("label", { className: v.option, children: [
5529
5539
  /* @__PURE__ */ p.jsx(
5530
5540
  "input",
5531
5541
  {
@@ -5549,7 +5559,7 @@ const Ue = {
5549
5559
  )
5550
5560
  }
5551
5561
  )
5552
- ] }, R)) })
5562
+ ] }, D)) })
5553
5563
  ] });
5554
5564
  }, po = ({
5555
5565
  value: t,
@@ -5626,11 +5636,11 @@ const Ue = {
5626
5636
  i(!1), o?.current?.focus();
5627
5637
  }, []);
5628
5638
  nt([g, f], a, () => i(!1)), nr(a, g), re(() => {
5629
- const y = t || "", R = Hr(y) ? y : t || "";
5630
- c(y), u(R);
5639
+ const y = t || "", D = Hr(y) ? y : t || "";
5640
+ c(y), u(D);
5631
5641
  }, [t]), re(() => {
5632
- const y = (R) => {
5633
- R.key === "Escape" && i(!1);
5642
+ const y = (D) => {
5643
+ D.key === "Escape" && i(!1);
5634
5644
  };
5635
5645
  return a && document.addEventListener("keydown", y), () => {
5636
5646
  document.removeEventListener("keydown", y);
@@ -5640,9 +5650,9 @@ const Ue = {
5640
5650
  n && i((y) => !y);
5641
5651
  }, w = (y) => {
5642
5652
  u(y);
5643
- }, v = (y, R, O) => {
5644
- const M = mo(y, R, O);
5645
- c(M), u(M), r?.(M), h();
5653
+ }, v = (y, D, O) => {
5654
+ const F = mo(y, D, O);
5655
+ c(F), u(F), r?.(F), h();
5646
5656
  }, _ = () => {
5647
5657
  T(d);
5648
5658
  }, x = (y) => {
@@ -5841,14 +5851,14 @@ const Ce = {
5841
5851
  icon: f ? "arrow_drop_right" : "arrow_drop_down",
5842
5852
  width: 16
5843
5853
  }
5844
- ) }), R = (C, E) => /* @__PURE__ */ p.jsx("span", { className: x.toggle, children: /* @__PURE__ */ p.jsx(le, { icon: C, placeholderIcon: E, width: 16 }) }), O = () => /* @__PURE__ */ p.jsx(
5854
+ ) }), D = (C, E) => /* @__PURE__ */ p.jsx("span", { className: x.toggle, children: /* @__PURE__ */ p.jsx(le, { icon: C, placeholderIcon: E, width: 16 }) }), O = () => /* @__PURE__ */ p.jsx(
5845
5855
  "span",
5846
5856
  {
5847
5857
  className: x.indent,
5848
5858
  style: { width: `${v}px` },
5849
5859
  "aria-hidden": "true"
5850
5860
  }
5851
- ), M = () => {
5861
+ ), F = () => {
5852
5862
  if (l)
5853
5863
  return /* @__PURE__ */ p.jsx(
5854
5864
  tr,
@@ -5885,7 +5895,7 @@ const Ce = {
5885
5895
  minWidth: 40,
5886
5896
  justifyContent: "center"
5887
5897
  },
5888
- children: M()
5898
+ children: F()
5889
5899
  }
5890
5900
  ),
5891
5901
  We(t) && /* @__PURE__ */ p.jsxs(
@@ -5899,7 +5909,7 @@ const Ce = {
5899
5909
  children: [
5900
5910
  O(),
5901
5911
  y(),
5902
- t.icon && R(t.icon, t.placeholderIcon),
5912
+ t.icon && D(t.icon, t.placeholderIcon),
5903
5913
  /* @__PURE__ */ p.jsx("span", { className: x.nodeLabel, children: C })
5904
5914
  ]
5905
5915
  }
@@ -5997,7 +6007,7 @@ const Ce = {
5997
6007
  onContextMenu: x,
5998
6008
  isEditable: T,
5999
6009
  dSep: y = ".",
6000
- value: R
6010
+ value: D
6001
6011
  }) => {
6002
6012
  const O = {
6003
6013
  obj: {
@@ -6010,7 +6020,7 @@ const Ce = {
6010
6020
  fun: a,
6011
6021
  data: s,
6012
6022
  style: g
6013
- }, M = () => ls(O.obj) ? "INR" : Rr(O.obj) ? "CAL" : r, W = O.data && O.data.size && O.data.size >= 256 && (M() === "ITX" || !M()) ? "MEM" : M(), k = e || R, C = {
6023
+ }, F = () => ls(O.obj) ? "INR" : Rr(O.obj) ? "CAL" : r, W = O.data && O.data.size && O.data.size >= 256 && (F() === "ITX" || !F()) ? "MEM" : F(), k = e || D, C = {
6014
6024
  id: t,
6015
6025
  onBlur: v,
6016
6026
  onOptionsRequest: _,
@@ -6331,7 +6341,7 @@ const Ce = {
6331
6341
  SelectLayout: _ = "1",
6332
6342
  onClick: x
6333
6343
  }) => {
6334
- const T = "N/A", y = e?.columns || [], R = e?.rows || [], O = R.length > 0, M = "--smp-dashList-color", W = "smp-layout", k = "descr", C = "icon", E = "um", A = "value", I = a || "1em", V = "18px", U = "--smp-dashList-columns", X = "--smp-dashList-fontSize", N = {
6344
+ const T = "N/A", y = e?.columns || [], D = e?.rows || [], O = D.length > 0, F = "--smp-dashList-color", W = "smp-layout", k = "descr", C = "icon", E = "um", A = "value", I = a || "1em", V = "18px", U = "--smp-dashList-columns", X = "--smp-dashList-fontSize", N = {
6335
6345
  dash: (z = "1") => {
6336
6346
  const ee = m(z), B = ee, J = S(ee, k), ce = S(ee, C), he = S(ee, E), ie = S(ee, A);
6337
6347
  return {
@@ -6344,7 +6354,7 @@ const Ce = {
6344
6354
  },
6345
6355
  dashList: `smp-dash-list ${de(o) ? "smp-dash-list-fill-space" : ""}
6346
6356
  ${de(i) ? "smp-dash-list-horizontal" : ""}`
6347
- }, { format: j } = Re(), m = (z) => `${W}-${z}`, S = (z, ee) => `${z}__${ee}`, L = (z) => `${M}-${z}`, D = (z) => {
6357
+ }, { format: j } = Re(), m = (z) => `${W}-${z}`, S = (z, ee) => `${z}__${ee}`, L = (z) => `${F}-${z}`, R = (z) => {
6348
6358
  const ee = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
6349
6359
  if (ee.test(z)) {
6350
6360
  const J = z.match(ee) || [];
@@ -6397,9 +6407,9 @@ const Ce = {
6397
6407
  };
6398
6408
  })(_), ae = (z) => {
6399
6409
  const { descr: ee, icon: B, um: J, value: ce } = G(z), he = {
6400
- [L(k)]: D(s),
6401
- [L(E)]: D(h),
6402
- [L(A)]: D(v)
6410
+ [L(k)]: R(s),
6411
+ [L(E)]: R(h),
6412
+ [L(A)]: R(v)
6403
6413
  }, ie = [], we = $(ce);
6404
6414
  switch (_) {
6405
6415
  case "2":
@@ -6426,11 +6436,11 @@ const Ce = {
6426
6436
  },
6427
6437
  z.rowId
6428
6438
  );
6429
- }, F = {
6439
+ }, M = {
6430
6440
  [U]: String(t),
6431
6441
  [X]: I
6432
6442
  };
6433
- return /* @__PURE__ */ p.jsx("div", { className: N.dashList, style: F, children: O ? R.map((z) => ae(z)) : T });
6443
+ return /* @__PURE__ */ p.jsx("div", { className: N.dashList, style: M, children: O ? D.map((z) => ae(z)) : T });
6434
6444
  }, hn = {
6435
6445
  "smp-table": "_smp-table_v715o_1"
6436
6446
  };
@@ -7249,9 +7259,9 @@ const Ye = {
7249
7259
  onGroupDrop: x,
7250
7260
  onGroupDragOver: T,
7251
7261
  onMouseDown: y,
7252
- onToggleAllRows: R,
7262
+ onToggleAllRows: D,
7253
7263
  onSort: O,
7254
- onDragStart: M,
7264
+ onDragStart: F,
7255
7265
  onDragOver: W,
7256
7266
  onDrop: k
7257
7267
  }) => {
@@ -7331,7 +7341,7 @@ const Ye = {
7331
7341
  tr,
7332
7342
  {
7333
7343
  bindValue: u,
7334
- onChange: R
7344
+ onChange: D
7335
7345
  }
7336
7346
  )
7337
7347
  }
@@ -7346,7 +7356,7 @@ const Ye = {
7346
7356
  onKeyDown: (m) => {
7347
7357
  (m.key === "Enter" || m.key === " ") && (m.preventDefault(), O(j.name));
7348
7358
  },
7349
- onDragStart: () => M(j.name),
7359
+ onDragStart: () => F(j.name),
7350
7360
  onDragOver: W,
7351
7361
  onDrop: () => k(j.name),
7352
7362
  className: N.headerCell,
@@ -7446,7 +7456,7 @@ const Ye = {
7446
7456
  const [f, g] = H(() => t ? {
7447
7457
  columns: l ? Bo(t, Uo(l)) : t.columns,
7448
7458
  rows: t.rows ?? []
7449
- } : { columns: [], rows: [] }), [h, b] = H(n || []), [w, v] = H(/* @__PURE__ */ new Set()), [_, x] = H(!1), [T, y] = H(/* @__PURE__ */ new Set()), [R, O] = H(null), M = Qe(() => To(t?.columns || []), [t?.columns]), [W, k] = H(() => Kr(a, M)), C = ue(null), [E, A] = Co({
7459
+ } : { columns: [], rows: [] }), [h, b] = H(n || []), [w, v] = H(/* @__PURE__ */ new Set()), [_, x] = H(!1), [T, y] = H(/* @__PURE__ */ new Set()), [D, O] = H(null), F = Qe(() => To(t?.columns || []), [t?.columns]), [W, k] = H(() => Kr(a, F)), C = ue(null), [E, A] = Co({
7450
7460
  columns: f?.columns ?? [],
7451
7461
  rows: f?.rows ?? [],
7452
7462
  containerRef: C,
@@ -7460,7 +7470,7 @@ const Ye = {
7460
7470
  }, [T, f.rows]), { sortBy: N, sortOrder: j, handleSort: m } = Fo({
7461
7471
  ...f,
7462
7472
  rows: f.rows
7463
- }), { virtualItems: S, containerProps: L, innerProps: D } = on({
7473
+ }), { virtualItems: S, containerProps: L, innerProps: R } = on({
7464
7474
  items: f?.rows ?? [],
7465
7475
  itemHeight: e,
7466
7476
  containerHeight: r,
@@ -7506,8 +7516,8 @@ const Ye = {
7506
7516
  const $ = oe((B) => {
7507
7517
  k(B);
7508
7518
  }, []), P = oe(() => {
7509
- k(Kr(a, M));
7510
- }, [a, M]), G = oe(() => {
7519
+ k(Kr(a, F));
7520
+ }, [a, F]), G = oe(() => {
7511
7521
  x((B) => !B);
7512
7522
  }, []), q = oe((B) => {
7513
7523
  O((J) => J === B ? null : B);
@@ -7533,14 +7543,14 @@ const Ye = {
7533
7543
  window.removeEventListener("mousemove", ie), window.removeEventListener("mouseup", we);
7534
7544
  };
7535
7545
  window.addEventListener("mousemove", ie), window.addEventListener("mouseup", we);
7536
- }, F = (B) => {
7546
+ }, M = (B) => {
7537
7547
  y((J) => {
7538
7548
  const ce = new Set(J);
7539
7549
  return B.every((ie) => ce.has(ie)) ? B.forEach((ie) => ce.delete(ie)) : B.forEach((ie) => ce.add(ie)), ce;
7540
7550
  });
7541
7551
  }, z = () => {
7542
7552
  const B = f.rows.map((J, ce) => ce);
7543
- F(B);
7553
+ M(B);
7544
7554
  }, ee = {
7545
7555
  smpTable: `${hn["smp-table"]}`
7546
7556
  };
@@ -7560,9 +7570,9 @@ const Ye = {
7560
7570
  groupState: h,
7561
7571
  showGroupBar: de(o),
7562
7572
  showFilter: _,
7563
- filterColumn: R,
7573
+ filterColumn: D,
7564
7574
  activeFilters: W,
7565
- fieldOptions: M,
7575
+ fieldOptions: F,
7566
7576
  Filter: a,
7567
7577
  enableSelection: de(i),
7568
7578
  allVisibleRowsSelected: X,
@@ -7583,7 +7593,7 @@ const Ye = {
7583
7593
  onDrop: U
7584
7594
  }
7585
7595
  ),
7586
- /* @__PURE__ */ p.jsx("tbody", { ...D, children: S.map(({ item: B, index: J, offsetTop: ce }) => {
7596
+ /* @__PURE__ */ p.jsx("tbody", { ...R, children: S.map(({ item: B, index: J, offsetTop: ce }) => {
7587
7597
  const he = B.id || B.value || `${B.isGroup ? "group" : "row"}-${J}`;
7588
7598
  return B.isGroup ? /* @__PURE__ */ p.jsx(
7589
7599
  Vo,
@@ -7611,7 +7621,7 @@ const Ye = {
7611
7621
  enableSelection: de(i),
7612
7622
  isSelected: T.has(J),
7613
7623
  onToggleSelect: () => {
7614
- F([J]);
7624
+ M([J]);
7615
7625
  },
7616
7626
  onRowClick: c,
7617
7627
  onContextMenu: u
@@ -7640,12 +7650,12 @@ const Ye = {
7640
7650
  if (!T?.rows?.length || !T?.columns?.length)
7641
7651
  return {};
7642
7652
  const y = T.rows[0];
7643
- return T.columns.filter((R) => R.visible ?? !0).reduce((R, O) => {
7644
- const M = y.cells[O.name];
7645
- if (!M || !f && de(n) && M.shape !== te.BUTTON && M.shape !== te.BUTTON_LIST)
7646
- return R;
7653
+ return T.columns.filter((D) => D.visible ?? !0).reduce((D, O) => {
7654
+ const F = y.cells[O.name];
7655
+ if (!F || !f && de(n) && F.shape !== te.BUTTON && F.shape !== te.BUTTON_LIST)
7656
+ return D;
7647
7657
  const W = {
7648
- ...M,
7658
+ ...F,
7649
7659
  id: O.name,
7650
7660
  onOptionsRequest: l,
7651
7661
  onChange: (k) => {
@@ -7670,7 +7680,7 @@ const Ye = {
7670
7680
  justify: "center",
7671
7681
  squared: !0
7672
7682
  }), {
7673
- ...R,
7683
+ ...D,
7674
7684
  [O.name]: W
7675
7685
  };
7676
7686
  }, {});
@@ -7879,7 +7889,7 @@ const Ye = {
7879
7889
  const C = T.current;
7880
7890
  if (!C) return;
7881
7891
  const E = (A) => {
7882
- R(A.detail.id);
7892
+ D(A.detail.id);
7883
7893
  };
7884
7894
  return C.addEventListener(
7885
7895
  Xr,
@@ -7927,7 +7937,7 @@ const Ye = {
7927
7937
  );
7928
7938
  A < b.current.length - 1 && b.current[A + 1].focus();
7929
7939
  }
7930
- }, R = (C) => {
7940
+ }, D = (C) => {
7931
7941
  const E = Pt(t, w);
7932
7942
  c({
7933
7943
  value: E,
@@ -7948,7 +7958,7 @@ const Ye = {
7948
7958
  },
7949
7959
  fun: E || ""
7950
7960
  });
7951
- }, M = async (C) => {
7961
+ }, F = async (C) => {
7952
7962
  if (w[C].obj.k != t.rows[0].cells[C].obj.k && (w[C].inputSettings?.checkObject && u && ((await u({
7953
7963
  obj: w[C].obj,
7954
7964
  fun: w[C].fun,
@@ -7980,7 +7990,7 @@ const Ye = {
7980
7990
  id: `command-${E}`,
7981
7991
  key: `command-${E}`,
7982
7992
  shape: te.BUTTON,
7983
- onClick: () => R(C.obj.k)
7993
+ onClick: () => D(C.obj.k)
7984
7994
  }
7985
7995
  )) || [];
7986
7996
  n || W.unshift(
@@ -8015,7 +8025,7 @@ const Ye = {
8015
8025
  className: k.smpForm,
8016
8026
  id: e || x,
8017
8027
  onSubmit: (C) => {
8018
- C.preventDefault(), R();
8028
+ C.preventDefault(), D();
8019
8029
  },
8020
8030
  ref: T,
8021
8031
  role: "form",
@@ -8026,7 +8036,7 @@ const Ye = {
8026
8036
  ...C,
8027
8037
  onOptionsRequest: C.fun ? async (E, A) => await l(E, A, t, C.id) : void 0,
8028
8038
  onChange: (E) => y(C.id, E),
8029
- onBlur: () => M(C.id),
8039
+ onBlur: () => F(C.id),
8030
8040
  onContextMenu: f,
8031
8041
  onClick: () => {
8032
8042
  (C.shape == "BTN" || C.shape == "CFM") && O(C.id, C.fun);