@sme.up/ketchup2 2.0.0-SNAPSHOT-20250613081018 → 2.0.0-SNAPSHOT-20250616094655

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- var jr = Object.defineProperty;
2
- var $r = (r, e, t) => e in r ? jr(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
1
+ var Dr = Object.defineProperty;
2
+ var $r = (r, e, t) => e in r ? Dr(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var Se = (r, e, t) => $r(r, typeof e != "symbol" ? e + "" : e, t);
4
- import * as Ie from "react";
5
- import dr, { useEffect as ie, useRef as ve, useState as X, useCallback as ye, useLayoutEffect as Cr, useId as Pr } from "react";
6
- var Ne = { exports: {} }, $e = {};
4
+ import * as Me from "react";
5
+ import dr, { useEffect as oe, useRef as ve, useState as J, useCallback as ye, useLayoutEffect as Cr, useId as Pr } from "react";
6
+ var Fe = { exports: {} }, $e = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.js
@@ -54,7 +54,7 @@ function Lr() {
54
54
  return p.$$typeof === P ? null : p.displayName || p.name || null;
55
55
  if (typeof p == "string") return p;
56
56
  switch (p) {
57
- case y:
57
+ case g:
58
58
  return "Fragment";
59
59
  case w:
60
60
  return "Profiler";
@@ -62,7 +62,7 @@ function Lr() {
62
62
  return "StrictMode";
63
63
  case v:
64
64
  return "Suspense";
65
- case k:
65
+ case I:
66
66
  return "SuspenseList";
67
67
  case R:
68
68
  return "Activity";
@@ -73,19 +73,19 @@ function Lr() {
73
73
  ), p.$$typeof) {
74
74
  case h:
75
75
  return "Portal";
76
- case D:
76
+ case j:
77
77
  return (p.displayName || "Context") + ".Provider";
78
78
  case E:
79
79
  return (p._context.displayName || "Context") + ".Consumer";
80
80
  case S:
81
- var g = p.render;
82
- return p = p.displayName, p || (p = g.displayName || g.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
81
+ var y = p.render;
82
+ return p = p.displayName, p || (p = y.displayName || y.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p;
83
83
  case C:
84
- return g = p.displayName || null, g !== null ? g : r(p.type) || "Memo";
84
+ return y = p.displayName || null, y !== null ? y : r(p.type) || "Memo";
85
85
  case U:
86
- g = p._payload, p = p._init;
86
+ y = p._payload, p = p._init;
87
87
  try {
88
- return r(p(g));
88
+ return r(p(y));
89
89
  } catch {
90
90
  }
91
91
  }
@@ -97,50 +97,50 @@ function Lr() {
97
97
  function t(p) {
98
98
  try {
99
99
  e(p);
100
- var g = !1;
100
+ var y = !1;
101
101
  } catch {
102
- g = !0;
102
+ y = !0;
103
103
  }
104
- if (g) {
105
- g = console;
106
- var T = g.error, $ = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
104
+ if (y) {
105
+ y = console;
106
+ var T = y.error, $ = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object";
107
107
  return T.call(
108
- g,
108
+ y,
109
109
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
110
  $
111
111
  ), e(p);
112
112
  }
113
113
  }
114
114
  function n(p) {
115
- if (p === y) return "<>";
115
+ if (p === g) return "<>";
116
116
  if (typeof p == "object" && p !== null && p.$$typeof === U)
117
117
  return "<...>";
118
118
  try {
119
- var g = r(p);
120
- return g ? "<" + g + ">" : "<...>";
119
+ var y = r(p);
120
+ return y ? "<" + y + ">" : "<...>";
121
121
  } catch {
122
122
  return "<...>";
123
123
  }
124
124
  }
125
125
  function s() {
126
- var p = j.A;
126
+ var p = D.A;
127
127
  return p === null ? null : p.getOwner();
128
128
  }
129
129
  function a() {
130
130
  return Error("react-stack-top-frame");
131
131
  }
132
132
  function i(p) {
133
- if (N.call(p, "key")) {
134
- var g = Object.getOwnPropertyDescriptor(p, "key").get;
135
- if (g && g.isReactWarning) return !1;
133
+ if (k.call(p, "key")) {
134
+ var y = Object.getOwnPropertyDescriptor(p, "key").get;
135
+ if (y && y.isReactWarning) return !1;
136
136
  }
137
137
  return p.key !== void 0;
138
138
  }
139
- function o(p, g) {
139
+ function o(p, y) {
140
140
  function T() {
141
- z || (z = !0, console.error(
141
+ X || (X = !0, console.error(
142
142
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
143
- g
143
+ y
144
144
  ));
145
145
  }
146
146
  T.isReactWarning = !0, Object.defineProperty(p, "key", {
@@ -154,11 +154,11 @@ function Lr() {
154
154
  "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."
155
155
  )), p = this.props.ref, p !== void 0 ? p : null;
156
156
  }
157
- function l(p, g, T, $, O, A, F, V) {
157
+ function l(p, y, T, $, O, A, M, F) {
158
158
  return T = A.ref, p = {
159
159
  $$typeof: m,
160
160
  type: p,
161
- key: g,
161
+ key: y,
162
162
  props: A,
163
163
  _owner: O
164
164
  }, (T !== void 0 ? T : null) !== null ? Object.defineProperty(p, "ref", {
@@ -178,33 +178,33 @@ function Lr() {
178
178
  configurable: !1,
179
179
  enumerable: !1,
180
180
  writable: !0,
181
- value: F
181
+ value: M
182
182
  }), Object.defineProperty(p, "_debugTask", {
183
183
  configurable: !1,
184
184
  enumerable: !1,
185
185
  writable: !0,
186
- value: V
186
+ value: F
187
187
  }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
188
188
  }
189
- function u(p, g, T, $, O, A, F, V) {
190
- var M = g.children;
191
- if (M !== void 0)
189
+ function u(p, y, T, $, O, A, M, F) {
190
+ var N = y.children;
191
+ if (N !== void 0)
192
192
  if ($)
193
- if (I(M)) {
194
- for ($ = 0; $ < M.length; $++)
195
- f(M[$]);
196
- Object.freeze && Object.freeze(M);
193
+ if (Y(N)) {
194
+ for ($ = 0; $ < N.length; $++)
195
+ f(N[$]);
196
+ Object.freeze && Object.freeze(N);
197
197
  } else
198
198
  console.error(
199
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
200
200
  );
201
- else f(M);
202
- if (N.call(g, "key")) {
203
- M = r(p);
204
- var q = Object.keys(g).filter(function(ne) {
201
+ else f(N);
202
+ if (k.call(y, "key")) {
203
+ N = r(p);
204
+ var z = Object.keys(y).filter(function(ne) {
205
205
  return ne !== "key";
206
206
  });
207
- $ = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", L[M + $] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ $ = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", L[N + $] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
@@ -212,34 +212,34 @@ React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
214
  $,
215
- M,
216
- q,
217
- M
218
- ), L[M + $] = !0);
215
+ N,
216
+ z,
217
+ N
218
+ ), L[N + $] = !0);
219
219
  }
220
- if (M = null, T !== void 0 && (t(T), M = "" + T), i(g) && (t(g.key), M = "" + g.key), "key" in g) {
220
+ if (N = null, T !== void 0 && (t(T), N = "" + T), i(y) && (t(y.key), N = "" + y.key), "key" in y) {
221
221
  T = {};
222
- for (var G in g)
223
- G !== "key" && (T[G] = g[G]);
224
- } else T = g;
225
- return M && o(
222
+ for (var G in y)
223
+ G !== "key" && (T[G] = y[G]);
224
+ } else T = y;
225
+ return N && o(
226
226
  T,
227
227
  typeof p == "function" ? p.displayName || p.name || "Unknown" : p
228
228
  ), l(
229
229
  p,
230
- M,
230
+ N,
231
231
  A,
232
232
  O,
233
233
  s(),
234
234
  T,
235
- F,
236
- V
235
+ M,
236
+ F
237
237
  );
238
238
  }
239
239
  function f(p) {
240
240
  typeof p == "object" && p !== null && p.$$typeof === m && p._store && (p._store.validated = 1);
241
241
  }
242
- var d = dr, m = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), D = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), R = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), j = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, I = Array.isArray, H = console.createTask ? console.createTask : function() {
242
+ var d = dr, m = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), j = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), R = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), D = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, Y = Array.isArray, H = console.createTask ? console.createTask : function() {
243
243
  return null;
244
244
  };
245
245
  d = {
@@ -247,15 +247,15 @@ React keys must be passed directly to JSX without using spread:
247
247
  return p();
248
248
  }
249
249
  };
250
- var z, K = {}, Z = d["react-stack-bottom-frame"].bind(
250
+ var X, K = {}, Z = d["react-stack-bottom-frame"].bind(
251
251
  d,
252
252
  a
253
253
  )(), W = H(n(a)), L = {};
254
- Ce.Fragment = y, Ce.jsx = function(p, g, T, $, O) {
255
- var A = 1e4 > j.recentlyCreatedOwnerStacks++;
254
+ Ce.Fragment = g, Ce.jsx = function(p, y, T, $, O) {
255
+ var A = 1e4 > D.recentlyCreatedOwnerStacks++;
256
256
  return u(
257
257
  p,
258
- g,
258
+ y,
259
259
  T,
260
260
  !1,
261
261
  $,
@@ -263,11 +263,11 @@ React keys must be passed directly to JSX without using spread:
263
263
  A ? Error("react-stack-top-frame") : Z,
264
264
  A ? H(n(p)) : W
265
265
  );
266
- }, Ce.jsxs = function(p, g, T, $, O) {
267
- var A = 1e4 > j.recentlyCreatedOwnerStacks++;
266
+ }, Ce.jsxs = function(p, y, T, $, O) {
267
+ var A = 1e4 > D.recentlyCreatedOwnerStacks++;
268
268
  return u(
269
269
  p,
270
- g,
270
+ y,
271
271
  T,
272
272
  !0,
273
273
  $,
@@ -278,12 +278,12 @@ React keys must be passed directly to JSX without using spread:
278
278
  };
279
279
  }()), Ce;
280
280
  }
281
- var Dt;
281
+ var jt;
282
282
  function _r() {
283
- return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Ne.exports = Ar() : Ne.exports = Lr()), Ne.exports;
283
+ return jt || (jt = 1, process.env.NODE_ENV === "production" ? Fe.exports = Ar() : Fe.exports = Lr()), Fe.exports;
284
284
  }
285
285
  var b = _r();
286
- const nt = {
286
+ const st = {
287
287
  "smp-table": "_smp-table_8dmh0_1",
288
288
  "smp-headerCell": "_smp-headerCell_8dmh0_35",
289
289
  "smp-resizer": "_smp-resizer_8dmh0_44"
@@ -296,16 +296,16 @@ const nt = {
296
296
  cell: Vr,
297
297
  leftSection: Yr
298
298
  };
299
- function He(r) {
299
+ function Be(r) {
300
300
  return !!r && "children" in r;
301
301
  }
302
302
  function Ur(r) {
303
- return !He(r);
303
+ return !Be(r);
304
304
  }
305
305
  function Wr(r) {
306
306
  return JSON.stringify(r).split("").reduce((e, t) => (e << 5) - e + t.charCodeAt(0) | 0, 0).toString();
307
307
  }
308
- const oe = {
308
+ const ie = {
309
309
  AUTOCOMPLETE: "ACP",
310
310
  BUTTON_LIST: "BTL",
311
311
  BUTTON: "BTN",
@@ -335,14 +335,14 @@ const oe = {
335
335
  k: ""
336
336
  };
337
337
  };
338
- class Be {
338
+ class ze {
339
339
  constructor(e, t) {
340
340
  Se(this, "class");
341
341
  Se(this, "value");
342
342
  this.class = e, this.value = t;
343
343
  }
344
344
  static fromDataObj(e) {
345
- return new Be(e, e.k == "1" || e.k == "true");
345
+ return new ze(e, e.k == "1" || e.k == "true");
346
346
  }
347
347
  getValue() {
348
348
  return this.value;
@@ -358,7 +358,7 @@ class Be {
358
358
  }
359
359
  }
360
360
  function Br(r, e) {
361
- if (vt(r)) {
361
+ if (bt(r)) {
362
362
  const u = new Date(r);
363
363
  if (!isNaN(u.getTime()))
364
364
  return u;
@@ -371,37 +371,37 @@ function Br(r, e) {
371
371
  switch (n.length) {
372
372
  case 1:
373
373
  case 2:
374
- return o = parseInt(n), t.setDate(o), Me(t) ? t : r;
374
+ return o = parseInt(n), t.setDate(o), Ve(t) ? t : r;
375
375
  case 3:
376
376
  case 4:
377
- return o = parseInt(n.substring(0, 2)), c = parseInt(n.substring(2, 4)), i === 0 ? (t.setMonth(o - 1), t.setDate(c)) : a === 0 && (t.setMonth(c - 1), t.setDate(o)), Me(t) ? t : r;
377
+ return o = parseInt(n.substring(0, 2)), c = parseInt(n.substring(2, 4)), i === 0 ? (t.setMonth(o - 1), t.setDate(c)) : a === 0 && (t.setMonth(c - 1), t.setDate(o)), Ve(t) ? t : r;
378
378
  case 5:
379
379
  case 6: {
380
380
  o = parseInt(n.substring(0, 2)), c = parseInt(n.substring(2, 4)), Number(n.substring(4)) > 50 ? l = "19" + n.substring(4) : l = "20" + n.substring(4);
381
381
  let u = 0, f = 0;
382
- return i === 0 ? (u = c, f = o - 1, t.setFullYear(parseInt(l), f, u)) : a === 0 && (u = o, f = c - 1, t.setFullYear(parseInt(l), f, u)), pt(o, f, parseInt(l)) && Me(t) ? t : r;
382
+ return i === 0 ? (u = c, f = o - 1, t.setFullYear(parseInt(l), f, u)) : a === 0 && (u = o, f = c - 1, t.setFullYear(parseInt(l), f, u)), ht(o, f, parseInt(l)) && Ve(t) ? t : r;
383
383
  }
384
384
  case 7:
385
385
  case 8: {
386
386
  o = parseInt(n.substring(0, 2)), c = parseInt(n.substring(2, 4)), l = n.substring(4);
387
387
  let u = 0, f = 0;
388
- return i === 0 ? (u = c, f = o - 1, t.setFullYear(parseInt(l), f, u)) : a === 0 && (u = o, f = c - 1, t.setFullYear(parseInt(l), f, u)), pt(u, f, parseInt(l)) && Me(t) ? t : r;
388
+ return i === 0 ? (u = c, f = o - 1, t.setFullYear(parseInt(l), f, u)) : a === 0 && (u = o, f = c - 1, t.setFullYear(parseInt(l), f, u)), ht(u, f, parseInt(l)) && Ve(t) ? t : r;
389
389
  }
390
390
  }
391
391
  return r;
392
392
  }
393
- function vt(r) {
393
+ function bt(r) {
394
394
  return /^\d{4}-\d{2}-\d{2}$/.test(r) && r.length === 10;
395
395
  }
396
- function Me(r) {
396
+ function Ve(r) {
397
397
  return r instanceof Date && !isNaN(r.getTime());
398
398
  }
399
399
  function Kr(r) {
400
400
  if (!/^\d{8}$/.test(r)) return !1;
401
401
  const e = parseInt(r.slice(0, 4), 10), t = parseInt(r.slice(4, 6), 10), n = parseInt(r.slice(6, 8), 10);
402
- return pt(n, t - 1, e);
402
+ return ht(n, t - 1, e);
403
403
  }
404
- function pt(r, e, t) {
404
+ function ht(r, e, t) {
405
405
  const n = [
406
406
  31,
407
407
  // January
@@ -437,20 +437,20 @@ function qr(r) {
437
437
  const e = r.getFullYear(), t = String(r.getMonth() + 1).padStart(2, "0"), n = String(r.getDate()).padStart(2, "0");
438
438
  return isNaN(e) || isNaN(Number(t)) || isNaN(Number(n)) ? r.toString() : `${e}-${t}-${n}`;
439
439
  }
440
- class Ke {
440
+ class qe {
441
441
  constructor(e, t) {
442
442
  Se(this, "class");
443
443
  Se(this, "date");
444
444
  this.class = e, this.date = t;
445
445
  }
446
446
  static fromDataObj(e) {
447
- const t = jt.get(`${e.t}${e.p}`);
447
+ const t = Dt.get(`${e.t}${e.p}`);
448
448
  if (t)
449
- return new Ke(e, t.legacyToIso(e.k));
449
+ return new qe(e, t.legacyToIso(e.k));
450
450
  throw new Error(`Date creation from ${e.t}${e.p} not implemented yet`);
451
451
  }
452
452
  getLegacyValue() {
453
- const e = jt.get(`${this.class.t}${this.class.p}`);
453
+ const e = Dt.get(`${this.class.t}${this.class.p}`);
454
454
  if (e)
455
455
  return e.isoToLegacy(this.date);
456
456
  throw new Error(
@@ -461,7 +461,7 @@ class Ke {
461
461
  return this.date;
462
462
  }
463
463
  }
464
- const jt = /* @__PURE__ */ new Map([
464
+ const Dt = /* @__PURE__ */ new Map([
465
465
  [
466
466
  "D8*YYMD",
467
467
  {
@@ -469,12 +469,12 @@ const jt = /* @__PURE__ */ new Map([
469
469
  return Kr(r) && `${r.substring(0, 4)}-${r.substring(4, 6)}-${r.substring(6, 8)}` || r;
470
470
  },
471
471
  isoToLegacy(r) {
472
- return vt(r) && r.replaceAll("-", "") || r;
472
+ return bt(r) && r.replaceAll("-", "") || r;
473
473
  }
474
474
  }
475
475
  ]
476
- ]), ze = (r, e) => {
477
- ie(() => {
476
+ ]), Je = (r, e) => {
477
+ oe(() => {
478
478
  const t = (n) => {
479
479
  typeof r == "object" && r !== null && "current" in r && r.current && !r.current.contains(n.target) && e();
480
480
  };
@@ -483,11 +483,11 @@ const jt = /* @__PURE__ */ new Map([
483
483
  };
484
484
  }, [r, e]);
485
485
  };
486
- function bt({
486
+ function xt({
487
487
  position: r = "bottom",
488
488
  enabled: e = !0
489
489
  }) {
490
- const t = ve(null), n = ve(null), [s, a] = X(0), i = ye(() => {
490
+ const t = ve(null), n = ve(null), [s, a] = J(0), i = ye(() => {
491
491
  const o = t.current, c = n.current;
492
492
  if (!o || !c) return;
493
493
  const { top: l, left: u, width: f, height: d } = o.getBoundingClientRect();
@@ -497,13 +497,13 @@ function bt({
497
497
  requestAnimationFrame(i);
498
498
  return;
499
499
  }
500
- let y = l + window.scrollY, x = u + window.scrollX;
500
+ let g = l + window.scrollY, x = u + window.scrollX;
501
501
  switch (r) {
502
502
  case "top":
503
- y -= m;
503
+ g -= m;
504
504
  break;
505
505
  case "bottom":
506
- y += d;
506
+ g += d;
507
507
  break;
508
508
  case "left":
509
509
  x -= h;
@@ -513,7 +513,7 @@ function bt({
513
513
  break;
514
514
  }
515
515
  requestAnimationFrame(() => {
516
- c.style.transform = `translate(${x}px, ${y}px)`;
516
+ c.style.transform = `translate(${x}px, ${g}px)`;
517
517
  });
518
518
  }, [r]);
519
519
  return Cr(() => {
@@ -526,7 +526,7 @@ function bt({
526
526
  };
527
527
  }, [i, e]), { anchorRef: t, targetRef: n, anchorWidth: s };
528
528
  }
529
- const qe = (r, e, t) => {
529
+ const Xe = (r, e, t) => {
530
530
  if (t)
531
531
  switch (t) {
532
532
  case "CodeOnly":
@@ -546,7 +546,7 @@ const qe = (r, e, t) => {
546
546
  container: `smp-helper-text ${e ? "smp-helper-text-disabled" : ""} ${t ? `smp-helper-text-${t}` : ""}`
547
547
  };
548
548
  return /* @__PURE__ */ b.jsx("span", { className: n.container, children: r });
549
- }, et = ({ label: r, disabled: e }) => {
549
+ }, Ne = ({ label: r, disabled: e }) => {
550
550
  const t = {
551
551
  container: `smp-label ${e ? "smp-label-disabled" : ""}`
552
552
  };
@@ -561,29 +561,29 @@ function Xr(r, e) {
561
561
  }
562
562
  return t;
563
563
  }
564
- function Je() {
565
- return Je = Object.assign ? Object.assign.bind() : function(r) {
564
+ function Ze() {
565
+ return Ze = Object.assign ? Object.assign.bind() : function(r) {
566
566
  for (var e = 1; e < arguments.length; e++) {
567
567
  var t = arguments[e];
568
568
  for (var n in t) ({}).hasOwnProperty.call(t, n) && (r[n] = t[n]);
569
569
  }
570
570
  return r;
571
- }, Je.apply(null, arguments);
571
+ }, Ze.apply(null, arguments);
572
572
  }
573
- function ht(r, e) {
574
- return ht = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, n) {
573
+ function mt(r, e) {
574
+ return mt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, n) {
575
575
  return t.__proto__ = n, t;
576
- }, ht(r, e);
576
+ }, mt(r, e);
577
577
  }
578
578
  function Zr(r, e) {
579
- r.prototype = Object.create(e.prototype), r.prototype.constructor = r, ht(r, e);
579
+ r.prototype = Object.create(e.prototype), r.prototype.constructor = r, mt(r, e);
580
580
  }
581
- function st(r, e, t) {
581
+ function at(r, e, t) {
582
582
  if (t || arguments.length === 2) for (var n = 0, s = e.length, a; n < s; n++)
583
583
  (a || !(n in e)) && (a || (a = Array.prototype.slice.call(e, 0, n)), a[n] = e[n]);
584
584
  return r.concat(a || Array.prototype.slice.call(e));
585
585
  }
586
- var Fe = {};
586
+ var Ye = {};
587
587
  /*!
588
588
  * content-type
589
589
  * Copyright(c) 2015 Douglas Christopher Wilson
@@ -591,10 +591,10 @@ var Fe = {};
591
591
  */
592
592
  var $t;
593
593
  function Qr() {
594
- if ($t) return Fe;
594
+ if ($t) return Ye;
595
595
  $t = 1;
596
596
  var r = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, t = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, n = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, a = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
597
- Fe.format = i, Fe.parse = o;
597
+ Ye.format = i, Ye.parse = o;
598
598
  function i(f) {
599
599
  if (!f || typeof f != "object")
600
600
  throw new TypeError("argument obj is required");
@@ -603,10 +603,10 @@ function Qr() {
603
603
  throw new TypeError("invalid type");
604
604
  var h = m;
605
605
  if (d && typeof d == "object")
606
- for (var y, x = Object.keys(d).sort(), w = 0; w < x.length; w++) {
607
- if (y = x[w], !t.test(y))
606
+ for (var g, x = Object.keys(d).sort(), w = 0; w < x.length; w++) {
607
+ if (g = x[w], !t.test(g))
608
608
  throw new TypeError("invalid parameter name");
609
- h += "; " + y + "=" + l(d[y]);
609
+ h += "; " + g + "=" + l(d[g]);
610
610
  }
611
611
  return h;
612
612
  }
@@ -619,18 +619,18 @@ function Qr() {
619
619
  var m = d.indexOf(";"), h = m !== -1 ? d.slice(0, m).trim() : d.trim();
620
620
  if (!a.test(h))
621
621
  throw new TypeError("invalid media type");
622
- var y = new u(h.toLowerCase());
622
+ var g = new u(h.toLowerCase());
623
623
  if (m !== -1) {
624
624
  var x, w, E;
625
625
  for (r.lastIndex = m; w = r.exec(d); ) {
626
626
  if (w.index !== m)
627
627
  throw new TypeError("invalid parameter format");
628
- m += w[0].length, x = w[1].toLowerCase(), E = w[2], E.charCodeAt(0) === 34 && (E = E.slice(1, -1), E.indexOf("\\") !== -1 && (E = E.replace(n, "$1"))), y.parameters[x] = E;
628
+ m += w[0].length, x = w[1].toLowerCase(), E = w[2], E.charCodeAt(0) === 34 && (E = E.slice(1, -1), E.indexOf("\\") !== -1 && (E = E.replace(n, "$1"))), g.parameters[x] = E;
629
629
  }
630
630
  if (m !== d.length)
631
631
  throw new TypeError("invalid parameter format");
632
632
  }
633
- return y;
633
+ return g;
634
634
  }
635
635
  function c(f) {
636
636
  var d;
@@ -649,7 +649,7 @@ function Qr() {
649
649
  function u(f) {
650
650
  this.parameters = /* @__PURE__ */ Object.create(null), this.type = f;
651
651
  }
652
- return Fe;
652
+ return Ye;
653
653
  }
654
654
  var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
655
655
  return e.cloneNode(!0);
@@ -717,7 +717,7 @@ var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
717
717
  });
718
718
  }, sn = 0, an = function() {
719
719
  return ++sn;
720
- }, me = [], At = {}, on = "http://www.w3.org/2000/svg", at = "http://www.w3.org/1999/xlink", Lt = function(e, t, n, s, a, i, o) {
720
+ }, me = [], At = {}, on = "http://www.w3.org/2000/svg", it = "http://www.w3.org/1999/xlink", Lt = function(e, t, n, s, a, i, o) {
721
721
  var c = e.getAttribute("data-src") || e.getAttribute("src");
722
722
  if (!c) {
723
723
  o(new Error("Invalid data-src or src attribute"));
@@ -740,9 +740,9 @@ var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
740
740
  m && f.setAttribute("title", m);
741
741
  var h = e.getAttribute("width");
742
742
  h && f.setAttribute("width", h);
743
- var y = e.getAttribute("height");
744
- y && f.setAttribute("height", y);
745
- var x = Array.from(new Set(st(st(st([], (f.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
743
+ var g = e.getAttribute("height");
744
+ g && f.setAttribute("height", g);
745
+ var x = Array.from(new Set(at(at(at([], (f.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
746
746
  f.setAttribute("class", x);
747
747
  var w = e.getAttribute("style");
748
748
  w && f.setAttribute("style", w), f.setAttribute("data-src", c);
@@ -752,7 +752,7 @@ var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
752
752
  if (Array.prototype.forEach.call(E, function(W) {
753
753
  W.name && W.value && f.setAttribute(W.name, W.value);
754
754
  }), n) {
755
- var D = {
755
+ var j = {
756
756
  clipPath: ["clip-path"],
757
757
  "color-profile": ["color-profile"],
758
758
  cursor: ["cursor"],
@@ -763,42 +763,42 @@ var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
763
763
  path: [],
764
764
  pattern: ["fill", "stroke"],
765
765
  radialGradient: ["fill", "stroke"]
766
- }, S, v, k, C, U;
767
- Object.keys(D).forEach(function(W) {
768
- S = W, k = D[W], v = f.querySelectorAll(S + "[id]");
766
+ }, S, v, I, C, U;
767
+ Object.keys(j).forEach(function(W) {
768
+ S = W, I = j[W], v = f.querySelectorAll(S + "[id]");
769
769
  for (var L = function($, O) {
770
770
  C = v[$].id, U = C + "-" + an();
771
771
  var A;
772
- Array.prototype.forEach.call(k, function(Y) {
773
- A = f.querySelectorAll("[" + Y + '*="' + C + '"]');
774
- for (var J = 0, te = A.length; J < te; J++) {
775
- var re = A[J].getAttribute(Y);
776
- re && !re.match(new RegExp('url\\("?#' + C + '"?\\)')) || A[J].setAttribute(Y, "url(#" + U + ")");
772
+ Array.prototype.forEach.call(I, function(V) {
773
+ A = f.querySelectorAll("[" + V + '*="' + C + '"]');
774
+ for (var q = 0, te = A.length; q < te; q++) {
775
+ var re = A[q].getAttribute(V);
776
+ re && !re.match(new RegExp('url\\("?#' + C + '"?\\)')) || A[q].setAttribute(V, "url(#" + U + ")");
777
777
  }
778
778
  });
779
- for (var F = f.querySelectorAll("[*|href]"), V = [], M = 0, q = F.length; M < q; M++) {
780
- var G = F[M].getAttributeNS(at, "href");
781
- G && G.toString() === "#" + v[$].id && V.push(F[M]);
779
+ for (var M = f.querySelectorAll("[*|href]"), F = [], N = 0, z = M.length; N < z; N++) {
780
+ var G = M[N].getAttributeNS(it, "href");
781
+ G && G.toString() === "#" + v[$].id && F.push(M[N]);
782
782
  }
783
- for (var ne = 0, _ = V.length; ne < _; ne++)
784
- V[ne].setAttributeNS(at, "href", "#" + U);
783
+ for (var ne = 0, _ = F.length; ne < _; ne++)
784
+ F[ne].setAttributeNS(it, "href", "#" + U);
785
785
  v[$].id = U;
786
- }, p = 0, g = v.length; p < g; p++)
786
+ }, p = 0, y = v.length; p < y; p++)
787
787
  L(p);
788
788
  });
789
789
  }
790
790
  f.removeAttribute("xmlns:a");
791
- for (var R = f.querySelectorAll("script"), P = [], j, N, I = 0, H = R.length; I < H; I++)
792
- N = R[I].getAttribute("type"), (!N || N === "application/ecmascript" || N === "application/javascript" || N === "text/javascript") && (j = R[I].innerText || R[I].textContent, j && P.push(j), f.removeChild(R[I]));
791
+ for (var R = f.querySelectorAll("script"), P = [], D, k, Y = 0, H = R.length; Y < H; Y++)
792
+ k = R[Y].getAttribute("type"), (!k || k === "application/ecmascript" || k === "application/javascript" || k === "text/javascript") && (D = R[Y].innerText || R[Y].textContent, D && P.push(D), f.removeChild(R[Y]));
793
793
  if (P.length > 0 && (t === "always" || t === "once" && !At[c])) {
794
- for (var z = 0, K = P.length; z < K; z++)
795
- new Function(P[z])(window);
794
+ for (var X = 0, K = P.length; X < K; X++)
795
+ new Function(P[X])(window);
796
796
  At[c] = !0;
797
797
  }
798
798
  var Z = f.querySelectorAll("style");
799
799
  if (Array.prototype.forEach.call(Z, function(W) {
800
800
  W.textContent += "";
801
- }), f.setAttribute("xmlns", on), f.setAttribute("xmlns:xlink", at), i(f), !e.parentNode) {
801
+ }), f.setAttribute("xmlns", on), f.setAttribute("xmlns:xlink", it), i(f), !e.parentNode) {
802
802
  me.splice(me.indexOf(e), 1), e = null, o(new Error("Parent node is null"));
803
803
  return;
804
804
  }
@@ -808,16 +808,16 @@ var en = Qr(), Re = /* @__PURE__ */ new Map(), pr = function(e) {
808
808
  var n = t === void 0 ? {} : t, s = n.afterAll, a = s === void 0 ? function() {
809
809
  } : s, i = n.afterEach, o = i === void 0 ? function() {
810
810
  } : i, c = n.beforeEach, l = c === void 0 ? function() {
811
- } : c, u = n.cacheRequests, f = u === void 0 ? !0 : u, d = n.evalScripts, m = d === void 0 ? "never" : d, h = n.httpRequestWithCredentials, y = h === void 0 ? !1 : h, x = n.renumerateIRIElements, w = x === void 0 ? !0 : x;
811
+ } : c, u = n.cacheRequests, f = u === void 0 ? !0 : u, d = n.evalScripts, m = d === void 0 ? "never" : d, h = n.httpRequestWithCredentials, g = h === void 0 ? !1 : h, x = n.renumerateIRIElements, w = x === void 0 ? !0 : x;
812
812
  if (e && "length" in e)
813
- for (var E = 0, D = 0, S = e.length; D < S; D++)
814
- Lt(e[D], m, w, f, y, l, function(v, k) {
815
- o(v, k), e && "length" in e && e.length === ++E && a(E);
813
+ for (var E = 0, j = 0, S = e.length; j < S; j++)
814
+ Lt(e[j], m, w, f, g, l, function(v, I) {
815
+ o(v, I), e && "length" in e && e.length === ++E && a(E);
816
816
  });
817
- else e ? Lt(e, m, w, f, y, l, function(v, k) {
818
- o(v, k), a(1), e = null;
817
+ else e ? Lt(e, m, w, f, g, l, function(v, I) {
818
+ o(v, I), a(1), e = null;
819
819
  }) : a(0);
820
- }, Ve = { exports: {} }, Ye = { exports: {} }, Q = {};
820
+ }, Ue = { exports: {} }, We = { exports: {} }, Q = {};
821
821
  /** @license React v16.13.1
822
822
  * react-is.production.min.js
823
823
  *
@@ -830,11 +830,11 @@ var _t;
830
830
  function cn() {
831
831
  if (_t) return Q;
832
832
  _t = 1;
833
- 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, h = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, E = r ? Symbol.for("react.scope") : 60119;
834
- function D(v) {
833
+ 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, h = r ? Symbol.for("react.lazy") : 60116, g = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, E = r ? Symbol.for("react.scope") : 60119;
834
+ function j(v) {
835
835
  if (typeof v == "object" && v !== null) {
836
- var k = v.$$typeof;
837
- switch (k) {
836
+ var I = v.$$typeof;
837
+ switch (I) {
838
838
  case e:
839
839
  switch (v = v.type, v) {
840
840
  case c:
@@ -853,44 +853,44 @@ function cn() {
853
853
  case i:
854
854
  return v;
855
855
  default:
856
- return k;
856
+ return I;
857
857
  }
858
858
  }
859
859
  case t:
860
- return k;
860
+ return I;
861
861
  }
862
862
  }
863
863
  }
864
864
  function S(v) {
865
- return D(v) === l;
865
+ return j(v) === l;
866
866
  }
867
867
  return Q.AsyncMode = c, Q.ConcurrentMode = l, Q.ContextConsumer = o, Q.ContextProvider = i, Q.Element = e, Q.ForwardRef = u, Q.Fragment = n, Q.Lazy = h, Q.Memo = m, Q.Portal = t, Q.Profiler = a, Q.StrictMode = s, Q.Suspense = f, Q.isAsyncMode = function(v) {
868
- return S(v) || D(v) === c;
868
+ return S(v) || j(v) === c;
869
869
  }, Q.isConcurrentMode = S, Q.isContextConsumer = function(v) {
870
- return D(v) === o;
870
+ return j(v) === o;
871
871
  }, Q.isContextProvider = function(v) {
872
- return D(v) === i;
872
+ return j(v) === i;
873
873
  }, Q.isElement = function(v) {
874
874
  return typeof v == "object" && v !== null && v.$$typeof === e;
875
875
  }, Q.isForwardRef = function(v) {
876
- return D(v) === u;
876
+ return j(v) === u;
877
877
  }, Q.isFragment = function(v) {
878
- return D(v) === n;
878
+ return j(v) === n;
879
879
  }, Q.isLazy = function(v) {
880
- return D(v) === h;
880
+ return j(v) === h;
881
881
  }, Q.isMemo = function(v) {
882
- return D(v) === m;
882
+ return j(v) === m;
883
883
  }, Q.isPortal = function(v) {
884
- return D(v) === t;
884
+ return j(v) === t;
885
885
  }, Q.isProfiler = function(v) {
886
- return D(v) === a;
886
+ return j(v) === a;
887
887
  }, Q.isStrictMode = function(v) {
888
- return D(v) === s;
888
+ return j(v) === s;
889
889
  }, Q.isSuspense = function(v) {
890
- return D(v) === f;
890
+ return j(v) === f;
891
891
  }, Q.isValidElementType = function(v) {
892
- return typeof v == "string" || typeof v == "function" || v === n || v === l || v === a || v === s || v === f || v === d || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === m || v.$$typeof === i || v.$$typeof === o || v.$$typeof === u || v.$$typeof === x || v.$$typeof === w || v.$$typeof === E || v.$$typeof === y);
893
- }, Q.typeOf = D, Q;
892
+ return typeof v == "string" || typeof v == "function" || v === n || v === l || v === a || v === s || v === f || v === d || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === m || v.$$typeof === i || v.$$typeof === o || v.$$typeof === u || v.$$typeof === x || v.$$typeof === w || v.$$typeof === E || v.$$typeof === g);
893
+ }, Q.typeOf = j, Q;
894
894
  }
895
895
  var ee = {};
896
896
  /** @license React v16.13.1
@@ -904,27 +904,27 @@ var ee = {};
904
904
  var kt;
905
905
  function un() {
906
906
  return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
907
- 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, h = r ? Symbol.for("react.lazy") : 60116, y = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, E = r ? Symbol.for("react.scope") : 60119;
908
- function D(_) {
907
+ 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, c = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115, h = r ? Symbol.for("react.lazy") : 60116, g = r ? Symbol.for("react.block") : 60121, x = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118, E = r ? Symbol.for("react.scope") : 60119;
908
+ function j(_) {
909
909
  return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
910
- _ === n || _ === l || _ === a || _ === s || _ === f || _ === d || typeof _ == "object" && _ !== null && (_.$$typeof === h || _.$$typeof === m || _.$$typeof === i || _.$$typeof === o || _.$$typeof === u || _.$$typeof === x || _.$$typeof === w || _.$$typeof === E || _.$$typeof === y);
910
+ _ === n || _ === l || _ === a || _ === s || _ === f || _ === d || typeof _ == "object" && _ !== null && (_.$$typeof === h || _.$$typeof === m || _.$$typeof === i || _.$$typeof === o || _.$$typeof === u || _.$$typeof === x || _.$$typeof === w || _.$$typeof === E || _.$$typeof === g);
911
911
  }
912
912
  function S(_) {
913
913
  if (typeof _ == "object" && _ !== null) {
914
- var Y = _.$$typeof;
915
- switch (Y) {
914
+ var V = _.$$typeof;
915
+ switch (V) {
916
916
  case e:
917
- var J = _.type;
918
- switch (J) {
917
+ var q = _.type;
918
+ switch (q) {
919
919
  case c:
920
920
  case l:
921
921
  case n:
922
922
  case a:
923
923
  case s:
924
924
  case f:
925
- return J;
925
+ return q;
926
926
  default:
927
- var te = J && J.$$typeof;
927
+ var te = q && q.$$typeof;
928
928
  switch (te) {
929
929
  case o:
930
930
  case u:
@@ -933,22 +933,22 @@ function un() {
933
933
  case i:
934
934
  return te;
935
935
  default:
936
- return Y;
936
+ return V;
937
937
  }
938
938
  }
939
939
  case t:
940
- return Y;
940
+ return V;
941
941
  }
942
942
  }
943
943
  }
944
- var v = c, k = l, C = o, U = i, R = e, P = u, j = n, N = h, I = m, H = t, z = a, K = s, Z = f, W = !1;
944
+ var v = c, I = l, C = o, U = i, R = e, P = u, D = n, k = h, Y = m, H = t, X = a, K = s, Z = f, W = !1;
945
945
  function L(_) {
946
946
  return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(_) || S(_) === c;
947
947
  }
948
948
  function p(_) {
949
949
  return S(_) === l;
950
950
  }
951
- function g(_) {
951
+ function y(_) {
952
952
  return S(_) === o;
953
953
  }
954
954
  function T(_) {
@@ -963,16 +963,16 @@ function un() {
963
963
  function A(_) {
964
964
  return S(_) === n;
965
965
  }
966
- function F(_) {
966
+ function M(_) {
967
967
  return S(_) === h;
968
968
  }
969
- function V(_) {
969
+ function F(_) {
970
970
  return S(_) === m;
971
971
  }
972
- function M(_) {
972
+ function N(_) {
973
973
  return S(_) === t;
974
974
  }
975
- function q(_) {
975
+ function z(_) {
976
976
  return S(_) === a;
977
977
  }
978
978
  function G(_) {
@@ -981,21 +981,21 @@ function un() {
981
981
  function ne(_) {
982
982
  return S(_) === f;
983
983
  }
984
- ee.AsyncMode = v, ee.ConcurrentMode = k, ee.ContextConsumer = C, ee.ContextProvider = U, ee.Element = R, ee.ForwardRef = P, ee.Fragment = j, ee.Lazy = N, ee.Memo = I, ee.Portal = H, ee.Profiler = z, ee.StrictMode = K, ee.Suspense = Z, ee.isAsyncMode = L, ee.isConcurrentMode = p, ee.isContextConsumer = g, ee.isContextProvider = T, ee.isElement = $, ee.isForwardRef = O, ee.isFragment = A, ee.isLazy = F, ee.isMemo = V, ee.isPortal = M, ee.isProfiler = q, ee.isStrictMode = G, ee.isSuspense = ne, ee.isValidElementType = D, ee.typeOf = S;
984
+ ee.AsyncMode = v, ee.ConcurrentMode = I, ee.ContextConsumer = C, ee.ContextProvider = U, ee.Element = R, ee.ForwardRef = P, ee.Fragment = D, ee.Lazy = k, ee.Memo = Y, ee.Portal = H, ee.Profiler = X, ee.StrictMode = K, ee.Suspense = Z, ee.isAsyncMode = L, ee.isConcurrentMode = p, ee.isContextConsumer = y, ee.isContextProvider = T, ee.isElement = $, ee.isForwardRef = O, ee.isFragment = A, ee.isLazy = M, ee.isMemo = F, ee.isPortal = N, ee.isProfiler = z, ee.isStrictMode = G, ee.isSuspense = ne, ee.isValidElementType = j, ee.typeOf = S;
985
985
  }()), ee;
986
986
  }
987
987
  var It;
988
988
  function mr() {
989
- return It || (It = 1, process.env.NODE_ENV === "production" ? Ye.exports = cn() : Ye.exports = un()), Ye.exports;
989
+ return It || (It = 1, process.env.NODE_ENV === "production" ? We.exports = cn() : We.exports = un()), We.exports;
990
990
  }
991
991
  /*
992
992
  object-assign
993
993
  (c) Sindre Sorhus
994
994
  @license MIT
995
995
  */
996
- var it, Nt;
996
+ var ot, Nt;
997
997
  function fn() {
998
- if (Nt) return it;
998
+ if (Nt) return ot;
999
999
  Nt = 1;
1000
1000
  var r = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
1001
1001
  function n(a) {
@@ -1025,7 +1025,7 @@ function fn() {
1025
1025
  return !1;
1026
1026
  }
1027
1027
  }
1028
- return it = s() ? Object.assign : function(a, i) {
1028
+ return ot = s() ? Object.assign : function(a, i) {
1029
1029
  for (var o, c = n(a), l, u = 1; u < arguments.length; u++) {
1030
1030
  o = Object(arguments[u]);
1031
1031
  for (var f in o)
@@ -1037,27 +1037,27 @@ function fn() {
1037
1037
  }
1038
1038
  }
1039
1039
  return c;
1040
- }, it;
1040
+ }, ot;
1041
1041
  }
1042
- var ot, Mt;
1043
- function xt() {
1044
- if (Mt) return ot;
1042
+ var lt, Mt;
1043
+ function St() {
1044
+ if (Mt) return lt;
1045
1045
  Mt = 1;
1046
1046
  var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1047
- return ot = r, ot;
1047
+ return lt = r, lt;
1048
1048
  }
1049
- var lt, Ft;
1049
+ var ct, Ft;
1050
1050
  function gr() {
1051
- return Ft || (Ft = 1, lt = Function.call.bind(Object.prototype.hasOwnProperty)), lt;
1051
+ return Ft || (Ft = 1, ct = Function.call.bind(Object.prototype.hasOwnProperty)), ct;
1052
1052
  }
1053
- var ct, Vt;
1053
+ var ut, Vt;
1054
1054
  function dn() {
1055
- if (Vt) return ct;
1055
+ if (Vt) return ut;
1056
1056
  Vt = 1;
1057
1057
  var r = function() {
1058
1058
  };
1059
1059
  if (process.env.NODE_ENV !== "production") {
1060
- var e = /* @__PURE__ */ xt(), t = {}, n = /* @__PURE__ */ gr();
1060
+ var e = /* @__PURE__ */ St(), t = {}, n = /* @__PURE__ */ gr();
1061
1061
  r = function(a) {
1062
1062
  var i = "Warning: " + a;
1063
1063
  typeof console < "u" && console.error(i);
@@ -1097,13 +1097,13 @@ function dn() {
1097
1097
  }
1098
1098
  return s.resetWarningCache = function() {
1099
1099
  process.env.NODE_ENV !== "production" && (t = {});
1100
- }, ct = s, ct;
1100
+ }, ut = s, ut;
1101
1101
  }
1102
- var ut, Yt;
1102
+ var ft, Yt;
1103
1103
  function pn() {
1104
- if (Yt) return ut;
1104
+ if (Yt) return ft;
1105
1105
  Yt = 1;
1106
- var r = mr(), e = fn(), t = /* @__PURE__ */ xt(), n = /* @__PURE__ */ gr(), s = /* @__PURE__ */ dn(), a = function() {
1106
+ var r = mr(), e = fn(), t = /* @__PURE__ */ St(), n = /* @__PURE__ */ gr(), s = /* @__PURE__ */ dn(), a = function() {
1107
1107
  };
1108
1108
  process.env.NODE_ENV !== "production" && (a = function(o) {
1109
1109
  var c = "Warning: " + o;
@@ -1116,12 +1116,12 @@ function pn() {
1116
1116
  function i() {
1117
1117
  return null;
1118
1118
  }
1119
- return ut = function(o, c) {
1119
+ return ft = function(o, c) {
1120
1120
  var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
1121
1121
  function f(p) {
1122
- var g = p && (l && p[l] || p[u]);
1123
- if (typeof g == "function")
1124
- return g;
1122
+ var y = p && (l && p[l] || p[u]);
1123
+ if (typeof y == "function")
1124
+ return y;
1125
1125
  }
1126
1126
  var d = "<<anonymous>>", m = {
1127
1127
  array: w("array"),
@@ -1133,220 +1133,220 @@ function pn() {
1133
1133
  string: w("string"),
1134
1134
  symbol: w("symbol"),
1135
1135
  any: E(),
1136
- arrayOf: D,
1136
+ arrayOf: j,
1137
1137
  element: S(),
1138
1138
  elementType: v(),
1139
- instanceOf: k,
1139
+ instanceOf: I,
1140
1140
  node: P(),
1141
1141
  objectOf: U,
1142
1142
  oneOf: C,
1143
1143
  oneOfType: R,
1144
- shape: N,
1145
- exact: I
1144
+ shape: k,
1145
+ exact: Y
1146
1146
  };
1147
- function h(p, g) {
1148
- return p === g ? p !== 0 || 1 / p === 1 / g : p !== p && g !== g;
1147
+ function h(p, y) {
1148
+ return p === y ? p !== 0 || 1 / p === 1 / y : p !== p && y !== y;
1149
1149
  }
1150
- function y(p, g) {
1151
- this.message = p, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
1150
+ function g(p, y) {
1151
+ this.message = p, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
1152
1152
  }
1153
- y.prototype = Error.prototype;
1153
+ g.prototype = Error.prototype;
1154
1154
  function x(p) {
1155
1155
  if (process.env.NODE_ENV !== "production")
1156
- var g = {}, T = 0;
1157
- function $(A, F, V, M, q, G, ne) {
1158
- if (M = M || d, G = G || V, ne !== t) {
1156
+ var y = {}, T = 0;
1157
+ function $(A, M, F, N, z, G, ne) {
1158
+ if (N = N || d, G = G || F, ne !== t) {
1159
1159
  if (c) {
1160
1160
  var _ = new Error(
1161
1161
  "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"
1162
1162
  );
1163
1163
  throw _.name = "Invariant Violation", _;
1164
1164
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1165
- var Y = M + ":" + V;
1166
- !g[Y] && // Avoid spamming the console because they are often not actionable except for lib authors
1165
+ var V = N + ":" + F;
1166
+ !y[V] && // Avoid spamming the console because they are often not actionable except for lib authors
1167
1167
  T < 3 && (a(
1168
- "You are manually calling a React.PropTypes validation function for the `" + G + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1169
- ), g[Y] = !0, T++);
1168
+ "You are manually calling a React.PropTypes validation function for the `" + G + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1169
+ ), y[V] = !0, T++);
1170
1170
  }
1171
1171
  }
1172
- return F[V] == null ? A ? F[V] === null ? new y("The " + q + " `" + G + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new y("The " + q + " `" + G + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : p(F, V, M, q, G);
1172
+ return M[F] == null ? A ? M[F] === null ? new g("The " + z + " `" + G + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new g("The " + z + " `" + G + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : p(M, F, N, z, G);
1173
1173
  }
1174
1174
  var O = $.bind(null, !1);
1175
1175
  return O.isRequired = $.bind(null, !0), O;
1176
1176
  }
1177
1177
  function w(p) {
1178
- function g(T, $, O, A, F, V) {
1179
- var M = T[$], q = K(M);
1180
- if (q !== p) {
1181
- var G = Z(M);
1182
- return new y(
1183
- "Invalid " + A + " `" + F + "` of type " + ("`" + G + "` supplied to `" + O + "`, expected ") + ("`" + p + "`."),
1178
+ function y(T, $, O, A, M, F) {
1179
+ var N = T[$], z = K(N);
1180
+ if (z !== p) {
1181
+ var G = Z(N);
1182
+ return new g(
1183
+ "Invalid " + A + " `" + M + "` of type " + ("`" + G + "` supplied to `" + O + "`, expected ") + ("`" + p + "`."),
1184
1184
  { expectedType: p }
1185
1185
  );
1186
1186
  }
1187
1187
  return null;
1188
1188
  }
1189
- return x(g);
1189
+ return x(y);
1190
1190
  }
1191
1191
  function E() {
1192
1192
  return x(i);
1193
1193
  }
1194
- function D(p) {
1195
- function g(T, $, O, A, F) {
1194
+ function j(p) {
1195
+ function y(T, $, O, A, M) {
1196
1196
  if (typeof p != "function")
1197
- return new y("Property `" + F + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
1198
- var V = T[$];
1199
- if (!Array.isArray(V)) {
1200
- var M = K(V);
1201
- return new y("Invalid " + A + " `" + F + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an array."));
1197
+ return new g("Property `" + M + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
1198
+ var F = T[$];
1199
+ if (!Array.isArray(F)) {
1200
+ var N = K(F);
1201
+ return new g("Invalid " + A + " `" + M + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected an array."));
1202
1202
  }
1203
- for (var q = 0; q < V.length; q++) {
1204
- var G = p(V, q, O, A, F + "[" + q + "]", t);
1203
+ for (var z = 0; z < F.length; z++) {
1204
+ var G = p(F, z, O, A, M + "[" + z + "]", t);
1205
1205
  if (G instanceof Error)
1206
1206
  return G;
1207
1207
  }
1208
1208
  return null;
1209
1209
  }
1210
- return x(g);
1210
+ return x(y);
1211
1211
  }
1212
1212
  function S() {
1213
- function p(g, T, $, O, A) {
1214
- var F = g[T];
1215
- if (!o(F)) {
1216
- var V = K(F);
1217
- return new y("Invalid " + O + " `" + A + "` of type " + ("`" + V + "` supplied to `" + $ + "`, expected a single ReactElement."));
1213
+ function p(y, T, $, O, A) {
1214
+ var M = y[T];
1215
+ if (!o(M)) {
1216
+ var F = K(M);
1217
+ return new g("Invalid " + O + " `" + A + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected a single ReactElement."));
1218
1218
  }
1219
1219
  return null;
1220
1220
  }
1221
1221
  return x(p);
1222
1222
  }
1223
1223
  function v() {
1224
- function p(g, T, $, O, A) {
1225
- var F = g[T];
1226
- if (!r.isValidElementType(F)) {
1227
- var V = K(F);
1228
- return new y("Invalid " + O + " `" + A + "` of type " + ("`" + V + "` supplied to `" + $ + "`, expected a single ReactElement type."));
1224
+ function p(y, T, $, O, A) {
1225
+ var M = y[T];
1226
+ if (!r.isValidElementType(M)) {
1227
+ var F = K(M);
1228
+ return new g("Invalid " + O + " `" + A + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected a single ReactElement type."));
1229
1229
  }
1230
1230
  return null;
1231
1231
  }
1232
1232
  return x(p);
1233
1233
  }
1234
- function k(p) {
1235
- function g(T, $, O, A, F) {
1234
+ function I(p) {
1235
+ function y(T, $, O, A, M) {
1236
1236
  if (!(T[$] instanceof p)) {
1237
- var V = p.name || d, M = L(T[$]);
1238
- return new y("Invalid " + A + " `" + F + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected ") + ("instance of `" + V + "`."));
1237
+ var F = p.name || d, N = L(T[$]);
1238
+ return new g("Invalid " + A + " `" + M + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected ") + ("instance of `" + F + "`."));
1239
1239
  }
1240
1240
  return null;
1241
1241
  }
1242
- return x(g);
1242
+ return x(y);
1243
1243
  }
1244
1244
  function C(p) {
1245
1245
  if (!Array.isArray(p))
1246
1246
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
1247
1247
  "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])."
1248
1248
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
1249
- function g(T, $, O, A, F) {
1250
- for (var V = T[$], M = 0; M < p.length; M++)
1251
- if (h(V, p[M]))
1249
+ function y(T, $, O, A, M) {
1250
+ for (var F = T[$], N = 0; N < p.length; N++)
1251
+ if (h(F, p[N]))
1252
1252
  return null;
1253
- var q = JSON.stringify(p, function(ne, _) {
1254
- var Y = Z(_);
1255
- return Y === "symbol" ? String(_) : _;
1253
+ var z = JSON.stringify(p, function(ne, _) {
1254
+ var V = Z(_);
1255
+ return V === "symbol" ? String(_) : _;
1256
1256
  });
1257
- return new y("Invalid " + A + " `" + F + "` of value `" + String(V) + "` " + ("supplied to `" + O + "`, expected one of " + q + "."));
1257
+ return new g("Invalid " + A + " `" + M + "` of value `" + String(F) + "` " + ("supplied to `" + O + "`, expected one of " + z + "."));
1258
1258
  }
1259
- return x(g);
1259
+ return x(y);
1260
1260
  }
1261
1261
  function U(p) {
1262
- function g(T, $, O, A, F) {
1262
+ function y(T, $, O, A, M) {
1263
1263
  if (typeof p != "function")
1264
- return new y("Property `" + F + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
1265
- var V = T[$], M = K(V);
1266
- if (M !== "object")
1267
- return new y("Invalid " + A + " `" + F + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an object."));
1268
- for (var q in V)
1269
- if (n(V, q)) {
1270
- var G = p(V, q, O, A, F + "." + q, t);
1264
+ return new g("Property `" + M + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
1265
+ var F = T[$], N = K(F);
1266
+ if (N !== "object")
1267
+ return new g("Invalid " + A + " `" + M + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected an object."));
1268
+ for (var z in F)
1269
+ if (n(F, z)) {
1270
+ var G = p(F, z, O, A, M + "." + z, t);
1271
1271
  if (G instanceof Error)
1272
1272
  return G;
1273
1273
  }
1274
1274
  return null;
1275
1275
  }
1276
- return x(g);
1276
+ return x(y);
1277
1277
  }
1278
1278
  function R(p) {
1279
1279
  if (!Array.isArray(p))
1280
1280
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1281
- for (var g = 0; g < p.length; g++) {
1282
- var T = p[g];
1281
+ for (var y = 0; y < p.length; y++) {
1282
+ var T = p[y];
1283
1283
  if (typeof T != "function")
1284
1284
  return a(
1285
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(T) + " at index " + g + "."
1285
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(T) + " at index " + y + "."
1286
1286
  ), i;
1287
1287
  }
1288
- function $(O, A, F, V, M) {
1289
- for (var q = [], G = 0; G < p.length; G++) {
1290
- var ne = p[G], _ = ne(O, A, F, V, M, t);
1288
+ function $(O, A, M, F, N) {
1289
+ for (var z = [], G = 0; G < p.length; G++) {
1290
+ var ne = p[G], _ = ne(O, A, M, F, N, t);
1291
1291
  if (_ == null)
1292
1292
  return null;
1293
- _.data && n(_.data, "expectedType") && q.push(_.data.expectedType);
1293
+ _.data && n(_.data, "expectedType") && z.push(_.data.expectedType);
1294
1294
  }
1295
- var Y = q.length > 0 ? ", expected one of type [" + q.join(", ") + "]" : "";
1296
- return new y("Invalid " + V + " `" + M + "` supplied to " + ("`" + F + "`" + Y + "."));
1295
+ var V = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
1296
+ return new g("Invalid " + F + " `" + N + "` supplied to " + ("`" + M + "`" + V + "."));
1297
1297
  }
1298
1298
  return x($);
1299
1299
  }
1300
1300
  function P() {
1301
- function p(g, T, $, O, A) {
1302
- return H(g[T]) ? null : new y("Invalid " + O + " `" + A + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
1301
+ function p(y, T, $, O, A) {
1302
+ return H(y[T]) ? null : new g("Invalid " + O + " `" + A + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
1303
1303
  }
1304
1304
  return x(p);
1305
1305
  }
1306
- function j(p, g, T, $, O) {
1307
- return new y(
1308
- (p || "React class") + ": " + g + " type `" + T + "." + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
1306
+ function D(p, y, T, $, O) {
1307
+ return new g(
1308
+ (p || "React class") + ": " + y + " type `" + T + "." + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
1309
1309
  );
1310
1310
  }
1311
- function N(p) {
1312
- function g(T, $, O, A, F) {
1313
- var V = T[$], M = K(V);
1314
- if (M !== "object")
1315
- return new y("Invalid " + A + " `" + F + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
1316
- for (var q in p) {
1317
- var G = p[q];
1311
+ function k(p) {
1312
+ function y(T, $, O, A, M) {
1313
+ var F = T[$], N = K(F);
1314
+ if (N !== "object")
1315
+ return new g("Invalid " + A + " `" + M + "` of type `" + N + "` " + ("supplied to `" + O + "`, expected `object`."));
1316
+ for (var z in p) {
1317
+ var G = p[z];
1318
1318
  if (typeof G != "function")
1319
- return j(O, A, F, q, Z(G));
1320
- var ne = G(V, q, O, A, F + "." + q, t);
1319
+ return D(O, A, M, z, Z(G));
1320
+ var ne = G(F, z, O, A, M + "." + z, t);
1321
1321
  if (ne)
1322
1322
  return ne;
1323
1323
  }
1324
1324
  return null;
1325
1325
  }
1326
- return x(g);
1327
- }
1328
- function I(p) {
1329
- function g(T, $, O, A, F) {
1330
- var V = T[$], M = K(V);
1331
- if (M !== "object")
1332
- return new y("Invalid " + A + " `" + F + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
1333
- var q = e({}, T[$], p);
1334
- for (var G in q) {
1326
+ return x(y);
1327
+ }
1328
+ function Y(p) {
1329
+ function y(T, $, O, A, M) {
1330
+ var F = T[$], N = K(F);
1331
+ if (N !== "object")
1332
+ return new g("Invalid " + A + " `" + M + "` of type `" + N + "` " + ("supplied to `" + O + "`, expected `object`."));
1333
+ var z = e({}, T[$], p);
1334
+ for (var G in z) {
1335
1335
  var ne = p[G];
1336
1336
  if (n(p, G) && typeof ne != "function")
1337
- return j(O, A, F, G, Z(ne));
1337
+ return D(O, A, M, G, Z(ne));
1338
1338
  if (!ne)
1339
- return new y(
1340
- "Invalid " + A + " `" + F + "` key `" + G + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(T[$], null, " ") + `
1339
+ return new g(
1340
+ "Invalid " + A + " `" + M + "` key `" + G + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(T[$], null, " ") + `
1341
1341
  Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
1342
1342
  );
1343
- var _ = ne(V, G, O, A, F + "." + G, t);
1343
+ var _ = ne(F, G, O, A, M + "." + G, t);
1344
1344
  if (_)
1345
1345
  return _;
1346
1346
  }
1347
1347
  return null;
1348
1348
  }
1349
- return x(g);
1349
+ return x(y);
1350
1350
  }
1351
1351
  function H(p) {
1352
1352
  switch (typeof p) {
@@ -1361,10 +1361,10 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
1361
1361
  return p.every(H);
1362
1362
  if (p === null || o(p))
1363
1363
  return !0;
1364
- var g = f(p);
1365
- if (g) {
1366
- var T = g.call(p), $;
1367
- if (g !== p.entries) {
1364
+ var y = f(p);
1365
+ if (y) {
1366
+ var T = y.call(p), $;
1367
+ if (y !== p.entries) {
1368
1368
  for (; !($ = T.next()).done; )
1369
1369
  if (!H($.value))
1370
1370
  return !1;
@@ -1381,55 +1381,55 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
1381
1381
  return !1;
1382
1382
  }
1383
1383
  }
1384
- function z(p, g) {
1385
- return p === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
1384
+ function X(p, y) {
1385
+ return p === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
1386
1386
  }
1387
1387
  function K(p) {
1388
- var g = typeof p;
1389
- return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : z(g, p) ? "symbol" : g;
1388
+ var y = typeof p;
1389
+ return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : X(y, p) ? "symbol" : y;
1390
1390
  }
1391
1391
  function Z(p) {
1392
1392
  if (typeof p > "u" || p === null)
1393
1393
  return "" + p;
1394
- var g = K(p);
1395
- if (g === "object") {
1394
+ var y = K(p);
1395
+ if (y === "object") {
1396
1396
  if (p instanceof Date)
1397
1397
  return "date";
1398
1398
  if (p instanceof RegExp)
1399
1399
  return "regexp";
1400
1400
  }
1401
- return g;
1401
+ return y;
1402
1402
  }
1403
1403
  function W(p) {
1404
- var g = Z(p);
1405
- switch (g) {
1404
+ var y = Z(p);
1405
+ switch (y) {
1406
1406
  case "array":
1407
1407
  case "object":
1408
- return "an " + g;
1408
+ return "an " + y;
1409
1409
  case "boolean":
1410
1410
  case "date":
1411
1411
  case "regexp":
1412
- return "a " + g;
1412
+ return "a " + y;
1413
1413
  default:
1414
- return g;
1414
+ return y;
1415
1415
  }
1416
1416
  }
1417
1417
  function L(p) {
1418
1418
  return !p.constructor || !p.constructor.name ? d : p.constructor.name;
1419
1419
  }
1420
1420
  return m.checkPropTypes = s, m.resetWarningCache = s.resetWarningCache, m.PropTypes = m, m;
1421
- }, ut;
1421
+ }, ft;
1422
1422
  }
1423
- var ft, Ut;
1423
+ var dt, Ut;
1424
1424
  function hn() {
1425
- if (Ut) return ft;
1425
+ if (Ut) return dt;
1426
1426
  Ut = 1;
1427
- var r = /* @__PURE__ */ xt();
1427
+ var r = /* @__PURE__ */ St();
1428
1428
  function e() {
1429
1429
  }
1430
1430
  function t() {
1431
1431
  }
1432
- return t.resetWarningCache = e, ft = function() {
1432
+ return t.resetWarningCache = e, dt = function() {
1433
1433
  function n(i, o, c, l, u, f) {
1434
1434
  if (f !== r) {
1435
1435
  var d = new Error(
@@ -1466,17 +1466,17 @@ function hn() {
1466
1466
  resetWarningCache: e
1467
1467
  };
1468
1468
  return a.PropTypes = a, a;
1469
- }, ft;
1469
+ }, dt;
1470
1470
  }
1471
1471
  var Wt;
1472
1472
  function mn() {
1473
- if (Wt) return Ve.exports;
1473
+ if (Wt) return Ue.exports;
1474
1474
  if (Wt = 1, process.env.NODE_ENV !== "production") {
1475
1475
  var r = mr(), e = !0;
1476
- Ve.exports = /* @__PURE__ */ pn()(r.isElement, e);
1476
+ Ue.exports = /* @__PURE__ */ pn()(r.isElement, e);
1477
1477
  } else
1478
- Ve.exports = /* @__PURE__ */ hn()();
1479
- return Ve.exports;
1478
+ Ue.exports = /* @__PURE__ */ hn()();
1479
+ return Ue.exports;
1480
1480
  }
1481
1481
  var ae = /* @__PURE__ */ mn(), gn = function(e) {
1482
1482
  var t = (e == null ? void 0 : e.ownerDocument) || document;
@@ -1489,7 +1489,7 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1489
1489
  if (e[s] !== t[s])
1490
1490
  return !0;
1491
1491
  return !1;
1492
- }, vn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Ue = "http://www.w3.org/2000/svg", Ht = "http://www.w3.org/1999/xlink", De = /* @__PURE__ */ function(r) {
1492
+ }, vn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], He = "http://www.w3.org/2000/svg", Ht = "http://www.w3.org/1999/xlink", je = /* @__PURE__ */ function(r) {
1493
1493
  function e() {
1494
1494
  for (var n, s = arguments.length, a = new Array(s), i = 0; i < s; i++)
1495
1495
  a[i] = arguments[i];
@@ -1505,9 +1505,9 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1505
1505
  return t.renderSVG = function() {
1506
1506
  var s = this;
1507
1507
  if (this.reactWrapper instanceof gn(this.reactWrapper).Node) {
1508
- var a = this.props, i = a.desc, o = a.evalScripts, c = a.httpRequestWithCredentials, l = a.renumerateIRIElements, u = a.src, f = a.title, d = a.useRequestCache, m = this.props.onError, h = this.props.beforeInjection, y = this.props.afterInjection, x = this.props.wrapper, w, E;
1509
- x === "svg" ? (w = document.createElementNS(Ue, x), w.setAttribute("xmlns", Ue), w.setAttribute("xmlns:xlink", Ht), E = document.createElementNS(Ue, x)) : (w = document.createElement(x), E = document.createElement(x)), w.appendChild(E), E.dataset.src = u, this.nonReactWrapper = this.reactWrapper.appendChild(w);
1510
- var D = function(C) {
1508
+ var a = this.props, i = a.desc, o = a.evalScripts, c = a.httpRequestWithCredentials, l = a.renumerateIRIElements, u = a.src, f = a.title, d = a.useRequestCache, m = this.props.onError, h = this.props.beforeInjection, g = this.props.afterInjection, x = this.props.wrapper, w, E;
1509
+ x === "svg" ? (w = document.createElementNS(He, x), w.setAttribute("xmlns", He), w.setAttribute("xmlns:xlink", Ht), E = document.createElementNS(He, x)) : (w = document.createElement(x), E = document.createElement(x)), w.appendChild(E), E.dataset.src = u, this.nonReactWrapper = this.reactWrapper.appendChild(w);
1510
+ var j = function(C) {
1511
1511
  if (s.removeSVG(), !s._isMounted) {
1512
1512
  m(C);
1513
1513
  return;
@@ -1522,7 +1522,7 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1522
1522
  });
1523
1523
  }, S = function(C, U) {
1524
1524
  if (C) {
1525
- D(C);
1525
+ j(C);
1526
1526
  return;
1527
1527
  }
1528
1528
  s._isMounted && s.setState(function() {
@@ -1531,9 +1531,9 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1531
1531
  };
1532
1532
  }, function() {
1533
1533
  try {
1534
- y(U);
1534
+ g(U);
1535
1535
  } catch (R) {
1536
- D(R);
1536
+ j(R);
1537
1537
  }
1538
1538
  });
1539
1539
  }, v = function(C) {
@@ -1546,13 +1546,13 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1546
1546
  if (f) {
1547
1547
  var P = C.querySelector(":scope > title");
1548
1548
  P && C.removeChild(P);
1549
- var j = document.createElement("title");
1550
- j.innerHTML = f, C.prepend(j);
1549
+ var D = document.createElement("title");
1550
+ D.innerHTML = f, C.prepend(D);
1551
1551
  }
1552
1552
  try {
1553
1553
  h(C);
1554
- } catch (N) {
1555
- D(N);
1554
+ } catch (k) {
1555
+ j(k);
1556
1556
  }
1557
1557
  };
1558
1558
  ln(E, {
@@ -1571,7 +1571,7 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1571
1571
  this._isMounted = !0, this.renderSVG();
1572
1572
  }, t.componentDidUpdate = function(s) {
1573
1573
  var a = this;
1574
- yn(Je({}, s), this.props) && this.setState(function() {
1574
+ yn(Ze({}, s), this.props) && this.setState(function() {
1575
1575
  return a.initialState;
1576
1576
  }, function() {
1577
1577
  a.removeSVG(), a.renderSVG();
@@ -1586,15 +1586,15 @@ var ae = /* @__PURE__ */ mn(), gn = function(e) {
1586
1586
  var i = s.loading;
1587
1587
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1588
1588
  var o = s.wrapper, c = Xr(s, vn), l = o;
1589
- return /* @__PURE__ */ Ie.createElement(l, Je({}, c, {
1589
+ return /* @__PURE__ */ Me.createElement(l, Ze({}, c, {
1590
1590
  ref: this.refCallback
1591
1591
  }, o === "svg" ? {
1592
- xmlns: Ue,
1592
+ xmlns: He,
1593
1593
  xmlnsXlink: Ht
1594
- } : {}), this.state.isLoading && i && /* @__PURE__ */ Ie.createElement(i, null), this.state.hasError && a && /* @__PURE__ */ Ie.createElement(a, null));
1594
+ } : {}), this.state.isLoading && i && /* @__PURE__ */ Me.createElement(i, null), this.state.hasError && a && /* @__PURE__ */ Me.createElement(a, null));
1595
1595
  }, e;
1596
- }(Ie.Component);
1597
- De.defaultProps = {
1596
+ }(Me.Component);
1597
+ je.defaultProps = {
1598
1598
  afterInjection: function() {
1599
1599
  },
1600
1600
  beforeInjection: function() {
@@ -1611,7 +1611,7 @@ De.defaultProps = {
1611
1611
  useRequestCache: !0,
1612
1612
  wrapper: "div"
1613
1613
  };
1614
- De.propTypes = {
1614
+ je.propTypes = {
1615
1615
  afterInjection: ae.func,
1616
1616
  beforeInjection: ae.func,
1617
1617
  desc: ae.string,
@@ -1626,13 +1626,13 @@ De.propTypes = {
1626
1626
  useRequestCache: ae.bool,
1627
1627
  wrapper: ae.oneOf(["div", "span", "svg"])
1628
1628
  };
1629
- let mt = {
1629
+ let gt = {
1630
1630
  assets: "/"
1631
1631
  // Default for storybook isolation development
1632
1632
  };
1633
- const bs = (r) => {
1634
- mt = { ...mt, ...r };
1635
- }, Gt = (r) => `${mt.assets}/${r}`.replace(/\/+/g, "/"), ue = dr.memo(
1633
+ const xs = (r) => {
1634
+ gt = { ...gt, ...r };
1635
+ }, Gt = (r) => `${gt.assets}/${r}`.replace(/\/+/g, "/"), ue = dr.memo(
1636
1636
  ({
1637
1637
  icon: r,
1638
1638
  width: e,
@@ -1647,19 +1647,19 @@ const bs = (r) => {
1647
1647
  spin: u = !1,
1648
1648
  title: f
1649
1649
  }) => {
1650
- const [d, m] = X(r), h = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), y = h && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), x = Gt(`assets/svg/${r}.svg`), w = Gt(
1650
+ const [d, m] = J(r), h = (r == null ? void 0 : r.startsWith("http")) || (r == null ? void 0 : r.startsWith("/")), g = h && (r == null ? void 0 : r.toLowerCase().endsWith(".svg")), x = Gt(`assets/svg/${r}.svg`), w = Gt(
1651
1651
  `assets/svg/${n}.svg`
1652
1652
  ), E = {
1653
1653
  img: `${l ? "smp-image-interactable" : ""}`,
1654
1654
  svg: `smp-icon ${i ? `smp-icon-${i}` : ""} ${o ? "smp-icon-rotated" : ""} ${l ? "smp-icon-interactable" : ""} ${u ? "smp-icon-spin" : ""}`
1655
- }, D = () => {
1655
+ }, j = () => {
1656
1656
  !a && l && c && c();
1657
1657
  };
1658
- return /* @__PURE__ */ b.jsx(b.Fragment, { children: y ? /* @__PURE__ */ b.jsx(
1659
- De,
1658
+ return /* @__PURE__ */ b.jsx(b.Fragment, { children: g ? /* @__PURE__ */ b.jsx(
1659
+ je,
1660
1660
  {
1661
1661
  src: r,
1662
- fallback: () => /* @__PURE__ */ b.jsx(De, { src: w, wrapper: "svg" }),
1662
+ fallback: () => /* @__PURE__ */ b.jsx(je, { src: w, wrapper: "svg" }),
1663
1663
  width: e || "1rem",
1664
1664
  height: t || "1rem",
1665
1665
  wrapper: "svg",
@@ -1668,7 +1668,7 @@ const bs = (r) => {
1668
1668
  fill: s,
1669
1669
  "aria-disabled": a,
1670
1670
  className: E.svg,
1671
- onClick: D
1671
+ onClick: j
1672
1672
  }
1673
1673
  ) : h ? (
1674
1674
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
@@ -1680,19 +1680,19 @@ const bs = (r) => {
1680
1680
  height: t || "auto",
1681
1681
  alt: f,
1682
1682
  onError: () => m(w),
1683
- onClick: D,
1683
+ onClick: j,
1684
1684
  className: E.img,
1685
1685
  title: f,
1686
1686
  onKeyDown: (S) => {
1687
- (S.key === "Enter" || S.key === " ") && D();
1687
+ (S.key === "Enter" || S.key === " ") && j();
1688
1688
  }
1689
1689
  }
1690
1690
  )
1691
1691
  ) : /* @__PURE__ */ b.jsx(
1692
- De,
1692
+ je,
1693
1693
  {
1694
1694
  src: x,
1695
- fallback: () => /* @__PURE__ */ b.jsx(De, { src: w, wrapper: "svg" }),
1695
+ fallback: () => /* @__PURE__ */ b.jsx(je, { src: w, wrapper: "svg" }),
1696
1696
  width: e || "1rem",
1697
1697
  height: t || "1rem",
1698
1698
  wrapper: "svg",
@@ -1701,11 +1701,11 @@ const bs = (r) => {
1701
1701
  fill: s,
1702
1702
  "aria-disabled": a,
1703
1703
  className: E.svg,
1704
- onClick: D
1704
+ onClick: j
1705
1705
  }
1706
1706
  ) });
1707
1707
  }
1708
- ), je = ({
1708
+ ), De = ({
1709
1709
  disabled: r,
1710
1710
  bindValue: e,
1711
1711
  icon: t,
@@ -1721,32 +1721,32 @@ const bs = (r) => {
1721
1721
  onShapeIconClick: d,
1722
1722
  ref: m,
1723
1723
  inputRef: h,
1724
- onKeyDown: y,
1724
+ onKeyDown: g,
1725
1725
  inputType: x = "text",
1726
1726
  ariaLabel: w = "input field",
1727
1727
  label: E,
1728
- helperText: D = !1,
1728
+ helperText: j = !1,
1729
1729
  error: S,
1730
1730
  appearance: v = "base",
1731
- fullWidth: k = !1,
1731
+ fullWidth: I = !1,
1732
1732
  _dataComponent: C = "textfield",
1733
1733
  width: U
1734
1734
  }) => {
1735
- const R = S ? "danger" : l, P = S || l == "danger" ? "error" : o, j = D || !!S, N = (z) => {
1736
- s == null || s(z.target.value);
1737
- }, I = {
1738
- wrapper: `smp-textfield-wrapper ${k ? "smp-textfield-fullWidth" : ""}`,
1735
+ const R = S ? "danger" : l, P = S || l == "danger" ? "error" : o, D = j || !!S, k = (X) => {
1736
+ s == null || s(X.target.value);
1737
+ }, Y = {
1738
+ wrapper: `smp-textfield-wrapper ${I ? "smp-textfield-fullWidth" : ""}`,
1739
1739
  container: `smp-textfield ${r ? "smp-textfield-disabled" : ""} ${a ? "smp-textfield-placeholder" : ""} ${c ? `smp-textfield-${c}` : ""} ${R ? `smp-textfield-${R}` : ""} ${v ? `smp-textfield-${v}` : ""} ${i ? "" : "smp-textfield-readOnly"}`,
1740
1740
  input: "smp-textfield-input "
1741
1741
  };
1742
- u && (u != "notSelectable" || i) && (I.container += `smp-textfield-variant-${u}`);
1742
+ u && (u != "notSelectable" || i) && (Y.container += `smp-textfield-variant-${u}`);
1743
1743
  const H = U ? { "--smp-textField-width-base": U } : void 0;
1744
- return /* @__PURE__ */ b.jsxs("div", { className: I.wrapper, "data-component": C, children: [
1745
- E && /* @__PURE__ */ b.jsx(et, { label: E, disabled: r }),
1744
+ return /* @__PURE__ */ b.jsxs("div", { className: Y.wrapper, "data-component": C, children: [
1745
+ E && /* @__PURE__ */ b.jsx(Ne, { label: E, disabled: r }),
1746
1746
  /* @__PURE__ */ b.jsxs(
1747
1747
  "div",
1748
1748
  {
1749
- className: I.container,
1749
+ className: Y.container,
1750
1750
  ref: m,
1751
1751
  style: H,
1752
1752
  children: [
@@ -1757,12 +1757,12 @@ const bs = (r) => {
1757
1757
  type: x,
1758
1758
  value: e,
1759
1759
  placeholder: a,
1760
- onChange: N,
1760
+ onChange: k,
1761
1761
  onBlur: n,
1762
- className: I.input,
1762
+ className: Y.input,
1763
1763
  disabled: r,
1764
1764
  readOnly: !i,
1765
- onKeyDown: y,
1765
+ onKeyDown: g,
1766
1766
  "aria-label": w,
1767
1767
  ref: h
1768
1768
  }
@@ -1781,7 +1781,7 @@ const bs = (r) => {
1781
1781
  ]
1782
1782
  }
1783
1783
  ),
1784
- j && /* @__PURE__ */ b.jsx(
1784
+ D && /* @__PURE__ */ b.jsx(
1785
1785
  Jr,
1786
1786
  {
1787
1787
  helperText: S,
@@ -1797,7 +1797,7 @@ function yr({
1797
1797
  containerHeight: t,
1798
1798
  overscan: n = 5
1799
1799
  }) {
1800
- const [s, a] = X(0), i = ve(null), o = r.length * e, c = Math.max(0, Math.floor(s / e) - n), l = Math.min(
1800
+ const [s, a] = J(0), i = ve(null), o = r.length * e, c = Math.max(0, Math.floor(s / e) - n), l = Math.min(
1801
1801
  r.length - 1,
1802
1802
  Math.floor((s + t) / e) + n
1803
1803
  ), u = [];
@@ -1812,8 +1812,8 @@ function yr({
1812
1812
  a(h);
1813
1813
  }, []), d = (m) => {
1814
1814
  if (!i.current) return;
1815
- const h = m * e, y = h + e, x = i.current, w = x.scrollTop, E = w + t;
1816
- h < w ? x.scrollTop = h : y > E && (x.scrollTop = y - t);
1815
+ const h = m * e, g = h + e, x = i.current, w = x.scrollTop, E = w + t;
1816
+ h < w ? x.scrollTop = h : g > E && (x.scrollTop = g - t);
1817
1817
  };
1818
1818
  return {
1819
1819
  virtualItems: u,
@@ -1859,34 +1859,34 @@ const bn = 10, vr = ({
1859
1859
  onKeyDown: l
1860
1860
  }) => {
1861
1861
  var P;
1862
- const [u, f] = X(""), d = 24, [m, h] = X(
1862
+ const [u, f] = J(""), d = 24, [m, h] = J(
1863
1863
  a !== null ? a : -1
1864
- ), y = s !== void 0 ? s : e.length > bn, x = u ? e.filter(
1865
- (j) => j.label.toLowerCase().includes(u.toLowerCase())
1866
- ) : e, w = (j) => {
1867
- f(j);
1868
- }, { virtualItems: E, containerProps: D, innerProps: S, scrollToIndex: v } = yr({
1864
+ ), g = s !== void 0 ? s : e.length > bn, x = u ? e.filter(
1865
+ (D) => D.label.toLowerCase().includes(u.toLowerCase())
1866
+ ) : e, w = (D) => {
1867
+ f(D);
1868
+ }, { virtualItems: E, containerProps: j, innerProps: S, scrollToIndex: v } = yr({
1869
1869
  items: x,
1870
1870
  itemHeight: d,
1871
1871
  containerHeight: 200,
1872
1872
  overscan: 5
1873
1873
  });
1874
- ie(() => {
1874
+ oe(() => {
1875
1875
  a !== null && a !== m && h(a);
1876
- }, [a]), ie(() => {
1876
+ }, [a]), oe(() => {
1877
1877
  m >= 0 && m < x.length && v(m);
1878
1878
  }, [m, x]);
1879
- const k = (j) => {
1880
- if (j.key === "ArrowDown" || j.key === "ArrowUp") {
1881
- j.preventDefault();
1882
- let N = m;
1883
- j.key === "ArrowDown" ? N = m < x.length - 1 ? m + 1 : 0 : j.key === "ArrowUp" && (N = m > 0 ? m - 1 : x.length - 1), h(N);
1884
- } else j.key === "Enter" ? m >= 0 && m < x.length && (c == null || c(x[m])) : j.key === "Escape" && (j.preventDefault(), j.stopPropagation());
1885
- l && l(j);
1886
- }, C = (j) => {
1887
- k(j);
1888
- }, U = (j) => {
1889
- k(j);
1879
+ const I = (D) => {
1880
+ if (D.key === "ArrowDown" || D.key === "ArrowUp") {
1881
+ D.preventDefault();
1882
+ let k = m;
1883
+ D.key === "ArrowDown" ? k = m < x.length - 1 ? m + 1 : 0 : D.key === "ArrowUp" && (k = m > 0 ? m - 1 : x.length - 1), h(k);
1884
+ } else D.key === "Enter" ? m >= 0 && m < x.length && (c == null || c(x[m])) : D.key === "Escape" && (D.preventDefault(), D.stopPropagation());
1885
+ l && l(D);
1886
+ }, C = (D) => {
1887
+ I(D);
1888
+ }, U = (D) => {
1889
+ I(D);
1890
1890
  }, R = {
1891
1891
  wrapper: "smp-list",
1892
1892
  container: "smp-list-container",
@@ -1904,8 +1904,8 @@ const bn = 10, vr = ({
1904
1904
  width: o
1905
1905
  },
1906
1906
  children: [
1907
- y && /* @__PURE__ */ b.jsx(
1908
- je,
1907
+ g && /* @__PURE__ */ b.jsx(
1908
+ De,
1909
1909
  {
1910
1910
  bindValue: u,
1911
1911
  placeholder: "Search...",
@@ -1916,41 +1916,41 @@ const bn = 10, vr = ({
1916
1916
  /* @__PURE__ */ b.jsx(
1917
1917
  "div",
1918
1918
  {
1919
- ...D,
1919
+ ...j,
1920
1920
  className: R.container,
1921
1921
  tabIndex: 0,
1922
1922
  role: "listbox",
1923
1923
  "aria-label": "List",
1924
1924
  onKeyDown: U,
1925
1925
  "aria-activedescendant": m >= 0 && m < x.length ? (P = x[m]) == null ? void 0 : P.id : void 0,
1926
- children: /* @__PURE__ */ b.jsx("div", { ...S, className: R.virtualScroll, children: E.map(({ item: j, index: N, offsetTop: I }) => {
1927
- const H = i.includes(j.id);
1926
+ children: /* @__PURE__ */ b.jsx("div", { ...S, className: R.virtualScroll, children: E.map(({ item: D, index: k, offsetTop: Y }) => {
1927
+ const H = i.includes(D.id);
1928
1928
  return (
1929
1929
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
1930
1930
  /* @__PURE__ */ b.jsxs(
1931
1931
  "li",
1932
1932
  {
1933
1933
  role: "option",
1934
- id: j.id,
1935
- "aria-selected": m === N ? "true" : "false",
1934
+ id: D.id,
1935
+ "aria-selected": m === k ? "true" : "false",
1936
1936
  tabIndex: -1,
1937
- className: `${R.listItem} ${m === N ? "selected-item" : ""}`,
1938
- "aria-label": j.id + "-" + j.label,
1937
+ className: `${R.listItem} ${m === k ? "selected-item" : ""}`,
1938
+ "aria-label": D.id + "-" + D.label,
1939
1939
  style: {
1940
1940
  height: `${d}px`,
1941
1941
  lineHeight: `calc(${d}px - 2*2px)`,
1942
1942
  // lineHeight - 2*padding
1943
- transform: `translateY(${I}px)`
1943
+ transform: `translateY(${Y}px)`
1944
1944
  },
1945
1945
  onClick: () => {
1946
- c == null || c(j), h(N);
1946
+ c == null || c(D), h(k);
1947
1947
  },
1948
1948
  children: [
1949
- qe(j.id, j.label, t),
1949
+ Xe(D.id, D.label, t),
1950
1950
  H && /* @__PURE__ */ b.jsx(ue, { icon: "check", width: 16 })
1951
1951
  ]
1952
1952
  },
1953
- j.id
1953
+ D.id
1954
1954
  )
1955
1955
  );
1956
1956
  }) })
@@ -1965,19 +1965,19 @@ const bn = 10, vr = ({
1965
1965
  optionalDisplayValue: t,
1966
1966
  ...n
1967
1967
  }) => {
1968
- const [s, a] = X(
1969
- qe(e, t, r)
1968
+ const [s, a] = J(
1969
+ Xe(e, t, r)
1970
1970
  );
1971
- return ie(() => {
1971
+ return oe(() => {
1972
1972
  a(e);
1973
- }, [e]), ie(() => {
1973
+ }, [e]), oe(() => {
1974
1974
  a(
1975
- qe(e, t, r)
1975
+ Xe(e, t, r)
1976
1976
  );
1977
- }, [t, r]), /* @__PURE__ */ b.jsx(je, { ...n, bindValue: s });
1977
+ }, [t, r]), /* @__PURE__ */ b.jsx(De, { ...n, bindValue: s });
1978
1978
  }, xn = (r) => {
1979
1979
  const e = ve(null);
1980
- return ie(() => () => {
1980
+ return oe(() => () => {
1981
1981
  e.current && clearTimeout(e.current);
1982
1982
  }, []), (n) => {
1983
1983
  e.current && clearTimeout(e.current), e.current = setTimeout(() => {
@@ -2000,33 +2000,33 @@ const bn = 10, vr = ({
2000
2000
  _multiActiveIndex: d,
2001
2001
  ...m
2002
2002
  }) => {
2003
- const [h, y] = X(r), [x, w] = X(e), [E, D] = X(!1), [S, v] = X(t || []), [k, C] = X(0), [U, R] = X([r]), { anchorRef: P, targetRef: j, anchorWidth: N } = bt({
2003
+ const [h, g] = J(r), [x, w] = J(e), [E, j] = J(!1), [S, v] = J(t || []), [I, C] = J(0), [U, R] = J([r]), { anchorRef: P, targetRef: D, anchorWidth: k } = xt({
2004
2004
  position: "bottom",
2005
2005
  enabled: E
2006
2006
  });
2007
- ze(j, () => D(!1));
2008
- const I = xn(400), H = (W) => {
2009
- W.length >= a ? c && f && I(async () => {
2007
+ Je(D, () => j(!1));
2008
+ const Y = xn(400), H = (W) => {
2009
+ W.length >= a ? c && f && Y(async () => {
2010
2010
  const L = await f(c, W);
2011
- v(L), C(L.length > 0 ? 0 : -1), D(!0);
2012
- }) : D(!1), y(W), w(e), l || u == null || u(W, e);
2013
- }, z = (W) => {
2014
- l ? (y(""), w("")) : (y(W.id), w(W.label)), u == null || u(W.id, W.label);
2011
+ v(L), C(L.length > 0 ? 0 : -1), j(!0);
2012
+ }) : j(!1), g(W), w(e), l || u == null || u(W, e);
2013
+ }, X = (W) => {
2014
+ l ? (g(""), w("")) : (g(W.id), w(W.label)), u == null || u(W.id, W.label);
2015
2015
  const L = S.findIndex((p) => p.id === W.id);
2016
- C(L), R([W.id]), D(!1);
2016
+ C(L), R([W.id]), j(!1);
2017
2017
  }, K = (W) => {
2018
- W.key === "Escape" && (D(!1), C(-1));
2018
+ W.key === "Escape" && (j(!1), C(-1));
2019
2019
  }, Z = (W) => {
2020
2020
  if ((W.key === "ArrowDown" || W.key === "ArrowUp") && (W.preventDefault(), E)) {
2021
- const L = W.key === "ArrowDown" ? (k + 1) % S.length : (k - 1 + S.length) % S.length;
2021
+ const L = W.key === "ArrowDown" ? (I + 1) % S.length : (I - 1 + S.length) % S.length;
2022
2022
  C(L);
2023
2023
  }
2024
2024
  switch (W.key) {
2025
2025
  case "Enter":
2026
- k >= 0 && k < S.length ? z(S[k]) : l && (u == null || u(h, ""), D(!1), y(""), w(""));
2026
+ I >= 0 && I < S.length ? X(S[I]) : l && (u == null || u(h, ""), j(!1), g(""), w(""));
2027
2027
  break;
2028
2028
  case "Escape":
2029
- D(!1), C(-1);
2029
+ j(!1), C(-1);
2030
2030
  break;
2031
2031
  }
2032
2032
  };
@@ -2052,11 +2052,11 @@ const bn = 10, vr = ({
2052
2052
  {
2053
2053
  options: S,
2054
2054
  displayMode: s,
2055
- onClick: z,
2056
- ref: j,
2057
- selectedIndex: k,
2055
+ onClick: X,
2056
+ ref: D,
2057
+ selectedIndex: I,
2058
2058
  activeIndex: d || U,
2059
- width: N,
2059
+ width: k,
2060
2060
  showFilter: !1,
2061
2061
  onKeyDown: K
2062
2062
  }
@@ -2089,14 +2089,14 @@ const bn = 10, vr = ({
2089
2089
  title: m,
2090
2090
  optionalDisplayValue: h
2091
2091
  }) => {
2092
- const y = {
2092
+ const g = {
2093
2093
  container: `smp-button smp-button-container ${a ? `smp-button-${a}` : ""} ${i ? `smp-buttonVariant-${i}` : ""} ${o ? `smp-buttonType-${o}` : ""} ${u ? "smp-button-fullWidth" : ""} smp-justifyContent-${d}`
2094
2094
  };
2095
2095
  return /* @__PURE__ */ b.jsx(
2096
2096
  "button",
2097
2097
  {
2098
2098
  "data-component": "button",
2099
- className: y.container,
2099
+ className: g.container,
2100
2100
  onClick: e,
2101
2101
  "aria-label": t,
2102
2102
  disabled: s,
@@ -2133,9 +2133,9 @@ const bn = 10, vr = ({
2133
2133
  onClick: d,
2134
2134
  onOptionsRequest: m
2135
2135
  }) => {
2136
- const [h, y] = X(r);
2137
- ie(() => {
2138
- !h && m && e && m(e, void 0).then((E) => y(E)).catch((E) => {
2136
+ const [h, g] = J(r);
2137
+ oe(() => {
2138
+ !h && m && e && m(e, void 0).then((E) => g(E)).catch((E) => {
2139
2139
  console.error(
2140
2140
  "Errore nel caricamento delle opzioni per ButtonList",
2141
2141
  E
@@ -2144,7 +2144,7 @@ const bn = 10, vr = ({
2144
2144
  }, [h, e, m]);
2145
2145
  const x = {
2146
2146
  container: `smp-button-list smp-button-list-${t} smp-justifyContent-${n}`
2147
- }, w = h == null ? void 0 : h.map((E, D) => {
2147
+ }, w = h == null ? void 0 : h.map((E, j) => {
2148
2148
  const S = {
2149
2149
  bindValue: E.id,
2150
2150
  optionalDisplayValue: E.label,
@@ -2162,7 +2162,7 @@ const bn = 10, vr = ({
2162
2162
  d == null || d(E.id, E.fun);
2163
2163
  }
2164
2164
  };
2165
- return /* @__PURE__ */ b.jsx(Le, { ...S }, `button-${D}`);
2165
+ return /* @__PURE__ */ b.jsx(Le, { ...S }, `button-${j}`);
2166
2166
  });
2167
2167
  return /* @__PURE__ */ b.jsx("div", { role: "list", "data-component": "button-list", className: x.container, children: w });
2168
2168
  }, wn = ({
@@ -2180,7 +2180,7 @@ const bn = 10, vr = ({
2180
2180
  wrapper: "smp-checkbox-wrapper"
2181
2181
  };
2182
2182
  return /* @__PURE__ */ b.jsxs("div", { className: c.wrapper, "data-component": e, children: [
2183
- n && /* @__PURE__ */ b.jsx(et, { label: n, disabled: t }),
2183
+ n && /* @__PURE__ */ b.jsx(Ne, { label: n, disabled: t }),
2184
2184
  /* @__PURE__ */ b.jsx(
2185
2185
  "input",
2186
2186
  {
@@ -2197,7 +2197,7 @@ const bn = 10, vr = ({
2197
2197
  title: "h3",
2198
2198
  body: "h6",
2199
2199
  label: "label"
2200
- }, St = ({
2200
+ }, _e = ({
2201
2201
  variant: r = "body",
2202
2202
  bindValue: e,
2203
2203
  color: t,
@@ -2226,20 +2226,20 @@ const bn = 10, vr = ({
2226
2226
  backgroundColor: a,
2227
2227
  isDraggable: i = !1
2228
2228
  }) => {
2229
- const [o, c] = X(null), l = {
2229
+ const [o, c] = J(null), l = {
2230
2230
  container: `${["smp-chips-container"]}`,
2231
2231
  element: "smp-chips-element"
2232
2232
  }, u = (m) => {
2233
- n == null || n(r.filter((h, y) => y !== m));
2233
+ n == null || n(r.filter((h, g) => g !== m));
2234
2234
  }, f = (m) => {
2235
2235
  c(m);
2236
2236
  }, d = (m) => {
2237
2237
  if (o === null || o === m) return;
2238
- const h = [...r], [y] = h.splice(o, 1);
2239
- h.splice(m, 0, y), n == null || n(h), c(null);
2238
+ const h = [...r], [g] = h.splice(o, 1);
2239
+ h.splice(m, 0, g), n == null || n(h), c(null);
2240
2240
  };
2241
2241
  return /* @__PURE__ */ b.jsx("div", { className: l.container, role: "list", "data-component": "chip", children: r.flatMap((m, h) => {
2242
- const y = qe(
2242
+ const g = Xe(
2243
2243
  m.bindValue,
2244
2244
  m.optionalDisplayValue,
2245
2245
  t
@@ -2257,7 +2257,7 @@ const bn = 10, vr = ({
2257
2257
  },
2258
2258
  children: [
2259
2259
  i && /* @__PURE__ */ b.jsx(ue, { icon: "drag_indicator_horizontal", isInteractable: !0 }),
2260
- /* @__PURE__ */ b.jsx(St, { variant: "label", bindValue: y, color: s }),
2260
+ /* @__PURE__ */ b.jsx(_e, { variant: "label", bindValue: g, color: s }),
2261
2261
  e && /* @__PURE__ */ b.jsx(
2262
2262
  ue,
2263
2263
  {
@@ -2283,7 +2283,7 @@ const bn = 10, vr = ({
2283
2283
  };
2284
2284
  function Sr(r, e) {
2285
2285
  const t = ve(null);
2286
- ie(() => {
2286
+ oe(() => {
2287
2287
  if (!r) return;
2288
2288
  const n = typeof e == "object" && e !== null && "current" in e ? e.current : null;
2289
2289
  if (!n) return;
@@ -2333,22 +2333,22 @@ const Tn = ({
2333
2333
  multiActiveIndex: l,
2334
2334
  ...u
2335
2335
  }) => {
2336
- const [f, d] = X(!1), [m, h] = X(t), [y, x] = X(-1), [w, E] = X([r]), D = Pr(), { anchorRef: S, targetRef: v, anchorWidth: k } = bt({
2336
+ const [f, d] = J(!1), [m, h] = J(t), [g, x] = J(-1), [w, E] = J([r]), j = Pr(), { anchorRef: S, targetRef: v, anchorWidth: I } = xt({
2337
2337
  position: "bottom",
2338
2338
  enabled: f
2339
2339
  });
2340
- ze(v, () => d(!1)), Sr(f, v);
2341
- const C = (j) => {
2342
- e == null || e(j.id, j.label);
2343
- const N = m.findIndex((I) => I.id === j.id);
2344
- x(N), E([j.id]), d(!1);
2345
- }, U = (j) => {
2346
- j.key === "Escape" && (d(!1), x(-1));
2347
- }, R = (j) => {
2348
- (j.key === "ArrowDown" || j.key === "ArrowUp") && (j.preventDefault(), P());
2340
+ Je(v, () => d(!1)), Sr(f, v);
2341
+ const C = (D) => {
2342
+ e == null || e(D.id, D.label);
2343
+ const k = m.findIndex((Y) => Y.id === D.id);
2344
+ x(k), E([D.id]), d(!1);
2345
+ }, U = (D) => {
2346
+ D.key === "Escape" && (d(!1), x(-1));
2347
+ }, R = (D) => {
2348
+ (D.key === "ArrowDown" || D.key === "ArrowUp") && (D.preventDefault(), P());
2349
2349
  }, P = () => {
2350
- o && c && c(o, void 0).then((j) => {
2351
- h(j), x(j.length > 0 ? 0 : -1), d(!0);
2350
+ o && c && c(o, void 0).then((D) => {
2351
+ h(D), x(D.length > 0 ? 0 : -1), d(!0);
2352
2352
  });
2353
2353
  };
2354
2354
  return /* @__PURE__ */ b.jsxs(
@@ -2356,8 +2356,8 @@ const Tn = ({
2356
2356
  {
2357
2357
  role: "combobox",
2358
2358
  "aria-expanded": f,
2359
- "aria-controls": D,
2360
- "aria-owns": D,
2359
+ "aria-controls": j,
2360
+ "aria-owns": j,
2361
2361
  "data-component": "combobox",
2362
2362
  children: [
2363
2363
  /* @__PURE__ */ b.jsx(
@@ -2380,13 +2380,13 @@ const Tn = ({
2380
2380
  f && /* @__PURE__ */ b.jsx(
2381
2381
  vr,
2382
2382
  {
2383
- id: D,
2383
+ id: j,
2384
2384
  options: m,
2385
2385
  displayMode: i,
2386
2386
  ref: v,
2387
- selectedIndex: y,
2387
+ selectedIndex: g,
2388
2388
  activeIndex: l || w,
2389
- width: k,
2389
+ width: I,
2390
2390
  onClick: C,
2391
2391
  onKeyDown: U
2392
2392
  }
@@ -2429,22 +2429,22 @@ const Tn = ({
2429
2429
  for (; o.obj === void 0 && i.length; )
2430
2430
  a = `${i[i.length - 1]}.${a}`, i = i.slice(0, i.length - 1), o = Ae(r, i, Object), o != null && o.obj && typeof o.obj[`${o.k}.${a}`] < "u" && (o.obj = void 0);
2431
2431
  o.obj[`${o.k}.${a}`] = t;
2432
- }, Dn = (r, e, t, n) => {
2432
+ }, jn = (r, e, t, n) => {
2433
2433
  const {
2434
2434
  obj: s,
2435
2435
  k: a
2436
2436
  } = Ae(r, e, Object);
2437
2437
  s[a] = s[a] || [], s[a].push(t);
2438
- }, Xe = (r, e) => {
2438
+ }, Qe = (r, e) => {
2439
2439
  const {
2440
2440
  obj: t,
2441
2441
  k: n
2442
2442
  } = Ae(r, e);
2443
2443
  if (t && Object.prototype.hasOwnProperty.call(t, n))
2444
2444
  return t[n];
2445
- }, jn = (r, e, t) => {
2446
- const n = Xe(r, t);
2447
- return n !== void 0 ? n : Xe(e, t);
2445
+ }, Dn = (r, e, t) => {
2446
+ const n = Qe(r, t);
2447
+ return n !== void 0 ? n : Qe(e, t);
2448
2448
  }, wr = (r, e, t) => {
2449
2449
  for (const n in e)
2450
2450
  n !== "__proto__" && n !== "constructor" && (n in r ? B(r[n]) || r[n] instanceof String || B(e[n]) || e[n] instanceof String ? t && (r[n] = e[n]) : wr(r[n], e[n], t) : r[n] = e[n]);
@@ -2482,7 +2482,7 @@ const An = [" ", ",", "?", "!", ";"], Ln = new Pn(20), _n = (r, e, t) => {
2482
2482
  i > 0 && !s.test(r.substring(0, i)) && (a = !0);
2483
2483
  }
2484
2484
  return a;
2485
- }, gt = (r, e, t = ".") => {
2485
+ }, yt = (r, e, t = ".") => {
2486
2486
  if (!r) return;
2487
2487
  if (r[e])
2488
2488
  return Object.prototype.hasOwnProperty.call(r, e) ? r[e] : void 0;
@@ -2502,7 +2502,7 @@ const An = [" ", ",", "?", "!", ";"], Ln = new Pn(20), _n = (r, e, t) => {
2502
2502
  s = i;
2503
2503
  }
2504
2504
  return s;
2505
- }, _e = (r) => r == null ? void 0 : r.replace("_", "-"), kn = {
2505
+ }, ke = (r) => r == null ? void 0 : r.replace("_", "-"), kn = {
2506
2506
  type: "logger",
2507
2507
  log(r) {
2508
2508
  this.output("log", r);
@@ -2518,7 +2518,7 @@ const An = [" ", ",", "?", "!", ";"], Ln = new Pn(20), _n = (r, e, t) => {
2518
2518
  (n = (t = console == null ? void 0 : console[r]) == null ? void 0 : t.apply) == null || n.call(t, console, e);
2519
2519
  }
2520
2520
  };
2521
- class Ze {
2521
+ class et {
2522
2522
  constructor(e, t = {}) {
2523
2523
  this.init(e, t);
2524
2524
  }
@@ -2541,17 +2541,17 @@ class Ze {
2541
2541
  return s && !this.debug ? null : (B(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
2542
2542
  }
2543
2543
  create(e) {
2544
- return new Ze(this.logger, {
2544
+ return new et(this.logger, {
2545
2545
  prefix: `${this.prefix}:${e}:`,
2546
2546
  ...this.options
2547
2547
  });
2548
2548
  }
2549
2549
  clone(e) {
2550
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new Ze(this.logger, e);
2550
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new et(this.logger, e);
2551
2551
  }
2552
2552
  }
2553
- var ge = new Ze();
2554
- class tt {
2553
+ var ge = new et();
2554
+ class rt {
2555
2555
  constructor() {
2556
2556
  this.observers = {};
2557
2557
  }
@@ -2581,7 +2581,7 @@ class tt {
2581
2581
  });
2582
2582
  }
2583
2583
  }
2584
- class Zt extends tt {
2584
+ class Zt extends rt {
2585
2585
  constructor(e, t = {
2586
2586
  ns: ["translation"],
2587
2587
  defaultNS: "translation"
@@ -2600,8 +2600,8 @@ class Zt extends tt {
2600
2600
  const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, i = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
2601
2601
  let o;
2602
2602
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : B(n) && a ? o.push(...n.split(a)) : o.push(n)));
2603
- const c = Xe(this.data, o);
2604
- return !c && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), c || !i || !B(n) ? c : gt((u = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : u[t], n, a);
2603
+ const c = Qe(this.data, o);
2604
+ return !c && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), c || !i || !B(n) ? c : yt((u = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : u[t], n, a);
2605
2605
  }
2606
2606
  addResource(e, t, n, s, a = {
2607
2607
  silent: !1
@@ -2625,7 +2625,7 @@ class Zt extends tt {
2625
2625
  }) {
2626
2626
  let o = [e, t];
2627
2627
  e.indexOf(".") > -1 && (o = e.split("."), s = n, n = t, t = o[1]), this.addNamespaces(t);
2628
- let c = Xe(this.data, o) || {};
2628
+ let c = Qe(this.data, o) || {};
2629
2629
  i.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? wr(c, n, a) : c = {
2630
2630
  ...c,
2631
2631
  ...n
@@ -2664,7 +2664,7 @@ var Er = {
2664
2664
  }
2665
2665
  };
2666
2666
  const Qt = {}, er = (r) => !B(r) && typeof r != "boolean" && typeof r != "number";
2667
- class Qe extends tt {
2667
+ class tt extends rt {
2668
2668
  constructor(e, t = {}) {
2669
2669
  super(), On(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = ge.create("translator");
2670
2670
  }
@@ -2735,26 +2735,26 @@ class Qe extends tt {
2735
2735
  } : o;
2736
2736
  const m = this.resolve(e, s);
2737
2737
  let h = m == null ? void 0 : m.res;
2738
- const y = (m == null ? void 0 : m.usedKey) || o, x = (m == null ? void 0 : m.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, D = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !B(s.count), v = Qe.hasDefaultValue(s), k = S ? this.pluralResolver.getSuffix(f, s.count, s) : "", C = s.ordinal && S ? this.pluralResolver.getSuffix(f, s.count, {
2738
+ const g = (m == null ? void 0 : m.usedKey) || o, x = (m == null ? void 0 : m.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], E = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, j = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !B(s.count), v = tt.hasDefaultValue(s), I = S ? this.pluralResolver.getSuffix(f, s.count, s) : "", C = s.ordinal && S ? this.pluralResolver.getSuffix(f, s.count, {
2739
2739
  ordinal: !1
2740
- }) : "", U = S && !s.ordinal && s.count === 0, R = U && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${k}`] || s[`defaultValue${C}`] || s.defaultValue;
2740
+ }) : "", U = S && !s.ordinal && s.count === 0, R = U && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${I}`] || s[`defaultValue${C}`] || s.defaultValue;
2741
2741
  let P = h;
2742
- D && !h && v && (P = R);
2743
- const j = er(P), N = Object.prototype.toString.apply(P);
2744
- if (D && P && j && w.indexOf(N) < 0 && !(B(E) && Array.isArray(P))) {
2742
+ j && !h && v && (P = R);
2743
+ const D = er(P), k = Object.prototype.toString.apply(P);
2744
+ if (j && P && D && w.indexOf(k) < 0 && !(B(E) && Array.isArray(P))) {
2745
2745
  if (!s.returnObjects && !this.options.returnObjects) {
2746
2746
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
2747
- const I = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, P, {
2747
+ const Y = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, P, {
2748
2748
  ...s,
2749
2749
  ns: c
2750
2750
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
2751
- return a ? (m.res = I, m.usedParams = this.getUsedParamsDetails(s), m) : I;
2751
+ return a ? (m.res = Y, m.usedParams = this.getUsedParamsDetails(s), m) : Y;
2752
2752
  }
2753
2753
  if (i) {
2754
- const I = Array.isArray(P), H = I ? [] : {}, z = I ? x : y;
2754
+ const Y = Array.isArray(P), H = Y ? [] : {}, X = Y ? x : g;
2755
2755
  for (const K in P)
2756
2756
  if (Object.prototype.hasOwnProperty.call(P, K)) {
2757
- const Z = `${z}${i}${K}`;
2757
+ const Z = `${X}${i}${K}`;
2758
2758
  v && !h ? H[K] = this.translate(Z, {
2759
2759
  ...s,
2760
2760
  defaultValue: er(R) ? R[K] : void 0,
@@ -2768,39 +2768,39 @@ class Qe extends tt {
2768
2768
  }
2769
2769
  h = H;
2770
2770
  }
2771
- } else if (D && B(E) && Array.isArray(h))
2771
+ } else if (j && B(E) && Array.isArray(h))
2772
2772
  h = h.join(E), h && (h = this.extendTranslation(h, e, s, n));
2773
2773
  else {
2774
- let I = !1, H = !1;
2775
- !this.isValidLookup(h) && v && (I = !0, h = R), this.isValidLookup(h) || (H = !0, h = o);
2774
+ let Y = !1, H = !1;
2775
+ !this.isValidLookup(h) && v && (Y = !0, h = R), this.isValidLookup(h) || (H = !0, h = o);
2776
2776
  const K = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && H ? void 0 : h, Z = v && R !== h && this.options.updateMissing;
2777
- if (H || I || Z) {
2777
+ if (H || Y || Z) {
2778
2778
  if (this.logger.log(Z ? "updateKey" : "missingKey", f, l, o, Z ? R : h), i) {
2779
- const g = this.resolve(o, {
2779
+ const y = this.resolve(o, {
2780
2780
  ...s,
2781
2781
  keySeparator: !1
2782
2782
  });
2783
- g && g.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
2783
+ y && y.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
2784
2784
  }
2785
2785
  let W = [];
2786
2786
  const L = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
2787
2787
  if (this.options.saveMissingTo === "fallback" && L && L[0])
2788
- for (let g = 0; g < L.length; g++)
2789
- W.push(L[g]);
2788
+ for (let y = 0; y < L.length; y++)
2789
+ W.push(L[y]);
2790
2790
  else this.options.saveMissingTo === "all" ? W = this.languageUtils.toResolveHierarchy(s.lng || this.language) : W.push(s.lng || this.language);
2791
- const p = (g, T, $) => {
2791
+ const p = (y, T, $) => {
2792
2792
  var A;
2793
2793
  const O = v && $ !== h ? $ : K;
2794
- this.options.missingKeyHandler ? this.options.missingKeyHandler(g, l, T, O, Z, s) : (A = this.backendConnector) != null && A.saveMissing && this.backendConnector.saveMissing(g, l, T, O, Z, s), this.emit("missingKey", g, l, T, h);
2794
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(y, l, T, O, Z, s) : (A = this.backendConnector) != null && A.saveMissing && this.backendConnector.saveMissing(y, l, T, O, Z, s), this.emit("missingKey", y, l, T, h);
2795
2795
  };
2796
- this.options.saveMissing && (this.options.saveMissingPlurals && S ? W.forEach((g) => {
2797
- const T = this.pluralResolver.getSuffixes(g, s);
2796
+ this.options.saveMissing && (this.options.saveMissingPlurals && S ? W.forEach((y) => {
2797
+ const T = this.pluralResolver.getSuffixes(y, s);
2798
2798
  U && s[`defaultValue${this.options.pluralSeparator}zero`] && T.indexOf(`${this.options.pluralSeparator}zero`) < 0 && T.push(`${this.options.pluralSeparator}zero`), T.forEach(($) => {
2799
- p([g], o + $, s[`defaultValue${$}`] || R);
2799
+ p([y], o + $, s[`defaultValue${$}`] || R);
2800
2800
  });
2801
2801
  }) : p(W, o, R));
2802
2802
  }
2803
- h = this.extendTranslation(h, e, s, m, n), H && h === o && this.options.appendNamespaceToMissingKey && (h = `${l}${u}${o}`), (H || I) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${u}${o}` : o, I ? h : void 0, s));
2803
+ h = this.extendTranslation(h, e, s, m, n), H && h === o && this.options.appendNamespaceToMissingKey && (h = `${l}${u}${o}`), (H || Y) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${u}${o}` : o, Y ? h : void 0, s));
2804
2804
  }
2805
2805
  return a ? (m.res = h, m.usedParams = this.getUsedParamsDetails(s), m) : h;
2806
2806
  }
@@ -2854,19 +2854,19 @@ class Qe extends tt {
2854
2854
  s = u;
2855
2855
  let f = l.namespaces;
2856
2856
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2857
- const d = t.count !== void 0 && !B(t.count), m = d && !t.ordinal && t.count === 0, h = t.context !== void 0 && (B(t.context) || typeof t.context == "number") && t.context !== "", y = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2857
+ const d = t.count !== void 0 && !B(t.count), m = d && !t.ordinal && t.count === 0, h = t.context !== void 0 && (B(t.context) || typeof t.context == "number") && t.context !== "", g = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2858
2858
  f.forEach((x) => {
2859
2859
  var w, E;
2860
- this.isValidLookup(n) || (o = x, !Qt[`${y[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((E = this.utils) != null && E.hasLoadedNamespace(o)) && (Qt[`${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((D) => {
2861
- var k;
2860
+ this.isValidLookup(n) || (o = x, !Qt[`${g[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((E = this.utils) != null && E.hasLoadedNamespace(o)) && (Qt[`${g[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${g.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!!!")), g.forEach((j) => {
2861
+ var I;
2862
2862
  if (this.isValidLookup(n)) return;
2863
- i = D;
2863
+ i = j;
2864
2864
  const S = [u];
2865
- if ((k = this.i18nFormat) != null && k.addLookupKeys)
2866
- this.i18nFormat.addLookupKeys(S, u, D, x, t);
2865
+ if ((I = this.i18nFormat) != null && I.addLookupKeys)
2866
+ this.i18nFormat.addLookupKeys(S, u, j, x, t);
2867
2867
  else {
2868
2868
  let C;
2869
- d && (C = this.pluralResolver.getSuffix(D, t.count, t));
2869
+ d && (C = this.pluralResolver.getSuffix(j, t.count, t));
2870
2870
  const U = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2871
2871
  if (d && (S.push(u + C), t.ordinal && C.indexOf(R) === 0 && S.push(u + C.replace(R, this.options.pluralSeparator)), m && S.push(u + U)), h) {
2872
2872
  const P = `${u}${this.options.contextSeparator}${t.context}`;
@@ -2875,7 +2875,7 @@ class Qe extends tt {
2875
2875
  }
2876
2876
  let v;
2877
2877
  for (; v = S.pop(); )
2878
- this.isValidLookup(n) || (a = v, n = this.getResource(D, x, v, t));
2878
+ this.isValidLookup(n) || (a = v, n = this.getResource(j, x, v, t));
2879
2879
  }));
2880
2880
  });
2881
2881
  }), {
@@ -2921,12 +2921,12 @@ class tr {
2921
2921
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ge.create("languageUtils");
2922
2922
  }
2923
2923
  getScriptPartFromCode(e) {
2924
- if (e = _e(e), !e || e.indexOf("-") < 0) return null;
2924
+ if (e = ke(e), !e || e.indexOf("-") < 0) return null;
2925
2925
  const t = e.split("-");
2926
2926
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
2927
2927
  }
2928
2928
  getLanguagePartFromCode(e) {
2929
- if (e = _e(e), !e || e.indexOf("-") < 0) return e;
2929
+ if (e = ke(e), !e || e.indexOf("-") < 0) return e;
2930
2930
  const t = e.split("-");
2931
2931
  return this.formatLanguageCode(t[0]);
2932
2932
  }
@@ -3004,7 +3004,7 @@ class In {
3004
3004
  this.pluralRulesCache = {};
3005
3005
  }
3006
3006
  getRule(e, t = {}) {
3007
- const n = _e(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
3007
+ const n = ke(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
3008
3008
  cleanedCode: n,
3009
3009
  type: s
3010
3010
  });
@@ -3041,9 +3041,9 @@ class In {
3041
3041
  }
3042
3042
  }
3043
3043
  const sr = (r, e, t, n = ".", s = !0) => {
3044
- let a = jn(r, e, t);
3045
- return !a && s && B(t) && (a = gt(r, t, n), a === void 0 && (a = gt(e, t, n))), a;
3046
- }, dt = (r) => r.replace(/\$/g, "$$$$");
3044
+ let a = Dn(r, e, t);
3045
+ return !a && s && B(t) && (a = yt(r, t, n), a === void 0 && (a = yt(e, t, n))), a;
3046
+ }, pt = (r) => r.replace(/\$/g, "$$$$");
3047
3047
  class Nn {
3048
3048
  constructor(e = {}) {
3049
3049
  var t;
@@ -3067,12 +3067,12 @@ class Nn {
3067
3067
  nestingPrefix: d,
3068
3068
  nestingPrefixEscaped: m,
3069
3069
  nestingSuffix: h,
3070
- nestingSuffixEscaped: y,
3070
+ nestingSuffixEscaped: g,
3071
3071
  nestingOptionsSeparator: x,
3072
3072
  maxReplaces: w,
3073
3073
  alwaysFormat: E
3074
3074
  } = e.interpolation;
3075
- this.escape = t !== void 0 ? t : Cn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Oe(a) : i || "{{", this.suffix = o ? Oe(o) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Oe(d) : m || Oe("$t("), this.nestingSuffix = h ? Oe(h) : y || Oe(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3075
+ this.escape = t !== void 0 ? t : Cn, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? Oe(a) : i || "{{", this.suffix = o ? Oe(o) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Oe(d) : m || Oe("$t("), this.nestingSuffix = h ? Oe(h) : g || Oe(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
3076
3076
  }
3077
3077
  reset() {
3078
3078
  this.options && this.init(this.options);
@@ -3093,7 +3093,7 @@ class Nn {
3093
3093
  interpolationkey: h
3094
3094
  }) : E;
3095
3095
  }
3096
- const y = h.split(this.formatSeparator), x = y.shift().trim(), w = y.join(this.formatSeparator).trim();
3096
+ const g = h.split(this.formatSeparator), x = g.shift().trim(), w = g.join(this.formatSeparator).trim();
3097
3097
  return this.format(sr(t, c, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, n, {
3098
3098
  ...s,
3099
3099
  ...t,
@@ -3104,24 +3104,24 @@ class Nn {
3104
3104
  const u = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, f = ((m = s == null ? void 0 : s.interpolation) == null ? void 0 : m.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
3105
3105
  return [{
3106
3106
  regex: this.regexpUnescape,
3107
- safeValue: (h) => dt(h)
3107
+ safeValue: (h) => pt(h)
3108
3108
  }, {
3109
3109
  regex: this.regexp,
3110
- safeValue: (h) => this.escapeValue ? dt(this.escape(h)) : dt(h)
3110
+ safeValue: (h) => this.escapeValue ? pt(this.escape(h)) : pt(h)
3111
3111
  }].forEach((h) => {
3112
3112
  for (o = 0; a = h.regex.exec(e); ) {
3113
- const y = a[1].trim();
3114
- if (i = l(y), i === void 0)
3113
+ const g = a[1].trim();
3114
+ if (i = l(g), i === void 0)
3115
3115
  if (typeof u == "function") {
3116
3116
  const w = u(e, a, s);
3117
3117
  i = B(w) ? w : "";
3118
- } else if (s && Object.prototype.hasOwnProperty.call(s, y))
3118
+ } else if (s && Object.prototype.hasOwnProperty.call(s, g))
3119
3119
  i = "";
3120
3120
  else if (f) {
3121
3121
  i = a[0];
3122
3122
  continue;
3123
3123
  } else
3124
- this.logger.warn(`missed to pass in variable ${y} for interpolating ${e}`), i = "";
3124
+ this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`), i = "";
3125
3125
  else !B(i) && !this.useRawValueToEscape && (i = zt(i));
3126
3126
  const x = h.safeValue(i);
3127
3127
  if (e = e.replace(a[0], x), f ? (h.regex.lastIndex += i.length, h.regex.lastIndex -= a[0].length) : h.regex.lastIndex = 0, o++, o >= this.maxReplaces)
@@ -3144,8 +3144,8 @@ class Nn {
3144
3144
  ...l,
3145
3145
  ...i
3146
3146
  });
3147
- } catch (y) {
3148
- return this.logger.warn(`failed parsing options string in nesting for key ${c}`, y), `${c}${u}${d}`;
3147
+ } catch (g) {
3148
+ return this.logger.warn(`failed parsing options string in nesting for key ${c}`, g), `${c}${u}${d}`;
3149
3149
  }
3150
3150
  return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, c;
3151
3151
  };
@@ -3196,9 +3196,9 @@ const Mn = (r) => {
3196
3196
  });
3197
3197
  const i = n + JSON.stringify(a);
3198
3198
  let o = e[i];
3199
- return o || (o = r(_e(n), s), e[i] = o), o(t);
3199
+ return o || (o = r(ke(n), s), e[i] = o), o(t);
3200
3200
  };
3201
- }, Fn = (r) => (e, t, n) => r(_e(t), n)(e);
3201
+ }, Fn = (r) => (e, t, n) => r(ke(t), n)(e);
3202
3202
  class Vn {
3203
3203
  constructor(e = {}) {
3204
3204
  this.logger = ge.create("formatter"), this.options = e, this.init(e);
@@ -3282,7 +3282,7 @@ class Vn {
3282
3282
  const Yn = (r, e) => {
3283
3283
  r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
3284
3284
  };
3285
- class Un extends tt {
3285
+ class Un extends rt {
3286
3286
  constructor(e, t, n, s = {}) {
3287
3287
  var a, i;
3288
3288
  super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = ge.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (i = (a = this.backend) == null ? void 0 : a.init) == null || i.call(a, n, s.backend, s);
@@ -3315,7 +3315,7 @@ class Un extends tt {
3315
3315
  }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
3316
3316
  const o = {};
3317
3317
  this.queue.forEach((c) => {
3318
- Dn(c.loaded, [a], i), Yn(c, e), t && c.errors.push(t), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach((l) => {
3318
+ jn(c.loaded, [a], i), Yn(c, e), t && c.errors.push(t), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach((l) => {
3319
3319
  o[l] || (o[l] = {});
3320
3320
  const u = c.loaded[l];
3321
3321
  u.length && u.forEach((f) => {
@@ -3402,10 +3402,10 @@ class Un extends tt {
3402
3402
  }, h = this.backend.create.bind(this.backend);
3403
3403
  if (h.length < 6)
3404
3404
  try {
3405
- let y;
3406
- h.length === 5 ? y = h(e, t, n, s, m) : y = h(e, t, n, s), y && typeof y.then == "function" ? y.then((x) => o(null, x)).catch(o) : o(null, y);
3407
- } catch (y) {
3408
- o(y);
3405
+ let g;
3406
+ h.length === 5 ? g = h(e, t, n, s, m) : g = h(e, t, n, s), g && typeof g.then == "function" ? g.then((x) => o(null, x)).catch(o) : o(null, g);
3407
+ } catch (g) {
3408
+ o(g);
3409
3409
  }
3410
3410
  else
3411
3411
  h(e, t, n, s, o, m);
@@ -3474,13 +3474,13 @@ const ir = () => ({
3474
3474
  }), or = (r) => {
3475
3475
  var e, t;
3476
3476
  return B(r.ns) && (r.ns = [r.ns]), B(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), B(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
3477
- }, We = () => {
3477
+ }, Ge = () => {
3478
3478
  }, Wn = (r) => {
3479
3479
  Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
3480
3480
  typeof r[t] == "function" && (r[t] = r[t].bind(r));
3481
3481
  });
3482
3482
  };
3483
- class ke extends tt {
3483
+ class Ie extends rt {
3484
3484
  constructor(e = {}, t) {
3485
3485
  if (super(), this.options = or(e), this.services = {}, this.logger = ge, this.modules = {
3486
3486
  external: []
@@ -3518,13 +3518,13 @@ class ke extends tt {
3518
3518
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3519
3519
  }, f.backendConnector = new Un(s(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (d, ...m) => {
3520
3520
  this.emit(d, ...m);
3521
- }), this.modules.languageDetector && (f.languageDetector = s(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = s(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Qe(this.services, this.options), this.translator.on("*", (d, ...m) => {
3521
+ }), this.modules.languageDetector && (f.languageDetector = s(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = s(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new tt(this.services, this.options), this.translator.on("*", (d, ...m) => {
3522
3522
  this.emit(d, ...m);
3523
3523
  }), this.modules.external.forEach((d) => {
3524
3524
  d.init && d.init(this);
3525
3525
  });
3526
3526
  }
3527
- if (this.format = this.options.interpolation.format, t || (t = We), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3527
+ if (this.format = this.options.interpolation.format, t || (t = Ge), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3528
3528
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
3529
3529
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
3530
3530
  }
@@ -3542,7 +3542,7 @@ class ke extends tt {
3542
3542
  };
3543
3543
  return this.options.resources || !this.options.initAsync ? c() : setTimeout(c, 0), o;
3544
3544
  }
3545
- loadResources(e, t = We) {
3545
+ loadResources(e, t = Ge) {
3546
3546
  var a, i;
3547
3547
  let n = t;
3548
3548
  const s = B(e) ? e : this.language;
@@ -3562,7 +3562,7 @@ class ke extends tt {
3562
3562
  }
3563
3563
  reloadResources(e, t, n) {
3564
3564
  const s = Pe();
3565
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = We), this.services.backendConnector.reload(e, t, (a) => {
3565
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = Ge), this.services.backendConnector.reload(e, t, (a) => {
3566
3566
  s.resolve(), n(a);
3567
3567
  }), s;
3568
3568
  }
@@ -3664,16 +3664,16 @@ class ke extends tt {
3664
3664
  return t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3665
3665
  }
3666
3666
  static createInstance(e = {}, t) {
3667
- return new ke(e, t);
3667
+ return new Ie(e, t);
3668
3668
  }
3669
- cloneInstance(e = {}, t = We) {
3669
+ cloneInstance(e = {}, t = Ge) {
3670
3670
  const n = e.forkResourceStore;
3671
3671
  n && delete e.forkResourceStore;
3672
3672
  const s = {
3673
3673
  ...this.options,
3674
3674
  ...e,
3675
3675
  isClone: !0
3676
- }, a = new ke(s);
3676
+ }, a = new Ie(s);
3677
3677
  if ((e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3678
3678
  a[o] = this[o];
3679
3679
  }), a.services = {
@@ -3688,7 +3688,7 @@ class ke extends tt {
3688
3688
  }, u), c[l]), c), {});
3689
3689
  a.store = new Zt(o, s), a.services.resourceStore = a.store;
3690
3690
  }
3691
- return a.translator = new Qe(a.services, s), a.translator.on("*", (o, ...c) => {
3691
+ return a.translator = new tt(a.services, s), a.translator.on("*", (o, ...c) => {
3692
3692
  a.emit(o, ...c);
3693
3693
  }), a.init(s, t), a.translator.options = s, a.translator.backendConnector.services.utils = {
3694
3694
  hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
@@ -3704,8 +3704,8 @@ class ke extends tt {
3704
3704
  };
3705
3705
  }
3706
3706
  }
3707
- const se = ke.createInstance();
3708
- se.createInstance = ke.createInstance;
3707
+ const se = Ie.createInstance();
3708
+ se.createInstance = Ie.createInstance;
3709
3709
  se.createInstance;
3710
3710
  se.dir;
3711
3711
  se.init;
@@ -3806,7 +3806,7 @@ se.init({
3806
3806
  }
3807
3807
  });
3808
3808
  const rs = (r, e, t, n) => se.format(r, e, t || se.language, n), ns = (r, e) => se.t(r, e);
3809
- function rt() {
3809
+ function nt() {
3810
3810
  const r = ye(
3811
3811
  (n, s, a, i) => rs(n, s, a || void 0, i),
3812
3812
  []
@@ -3816,7 +3816,7 @@ function rt() {
3816
3816
  );
3817
3817
  return { format: r, getCurrentLanguage: e, translate: t };
3818
3818
  }
3819
- var Et = /* @__PURE__ */ ((r) => (r.CALENDAR_FOR = "Date.CalendarFor", r.CLOSE = "Generic.Close", r.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", r))(Et || {}), le = /* @__PURE__ */ ((r) => (r.MONDAY = "Day.Monday", r.MONDAY_SHORT = "Day.MondayShort", r.TUESDAY = "Day.Tuesday", r.TUESDAY_SHORT = "Day.TuesdayShort", r.WEDNESDAY = "Day.Wednesday", r.WEDNESDAY_SHORT = "Day.WednesdayShort", r.THURSDAY = "Day.Thursday", r.THURSDAY_SHORT = "Day.ThursdayShort", r.FRIDAY = "Day.Friday", r.FRIDAY_SHORT = "Day.FridayShort", r.SATURDAY = "Day.Saturday", r.SATURDAY_SHORT = "Day.SaturdayShort", r.SUNDAY = "Day.Sunday", r.SUNDAY_SHORT = "Day.SundayShort", r))(le || {}), fe = /* @__PURE__ */ ((r) => (r.JANUARY = "Month.January", r.FEBRUARY = "Month.February", r.MARCH = "Month.March", r.APRIL = "Month.April", r.MAY = "Month.May", r.JUNE = "Month.June", r.JULY = "Month.July", r.AUGUST = "Month.August", r.SEPTEMBER = "Month.September", r.OCTOBER = "Month.October", r.NOVEMBER = "Month.November", r.DECEMBER = "Month.December", r))(fe || {}), yt = /* @__PURE__ */ ((r) => (r.PREVIOUS_DAY = "Date.PreviousDay", r.PREVIOUS_WEEK = "Date.PreviousWeek", r.PREVIOUS_MONTH = "Date.PreviousMonth", r.PREVIOUS_YEAR = "Date.PreviousYear", r.NEXT_DAY = "Date.NextDay", r.NEXT_WEEK = "Date.NextWeek", r.NEXT_MONTH = "Date.NextMonth", r.NEXT_YEAR = "Date.NextYear", r.YESTERDAY = "Date.Yesterday", r.TODAY = "Date.Today", r.TOMORROW = "Date.Tomorrow", r))(yt || {});
3819
+ var Et = /* @__PURE__ */ ((r) => (r.CALENDAR_FOR = "Date.CalendarFor", r.CLOSE = "Generic.Close", r.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", r))(Et || {}), le = /* @__PURE__ */ ((r) => (r.MONDAY = "Day.Monday", r.MONDAY_SHORT = "Day.MondayShort", r.TUESDAY = "Day.Tuesday", r.TUESDAY_SHORT = "Day.TuesdayShort", r.WEDNESDAY = "Day.Wednesday", r.WEDNESDAY_SHORT = "Day.WednesdayShort", r.THURSDAY = "Day.Thursday", r.THURSDAY_SHORT = "Day.ThursdayShort", r.FRIDAY = "Day.Friday", r.FRIDAY_SHORT = "Day.FridayShort", r.SATURDAY = "Day.Saturday", r.SATURDAY_SHORT = "Day.SaturdayShort", r.SUNDAY = "Day.Sunday", r.SUNDAY_SHORT = "Day.SundayShort", r))(le || {}), fe = /* @__PURE__ */ ((r) => (r.JANUARY = "Month.January", r.FEBRUARY = "Month.February", r.MARCH = "Month.March", r.APRIL = "Month.April", r.MAY = "Month.May", r.JUNE = "Month.June", r.JULY = "Month.July", r.AUGUST = "Month.August", r.SEPTEMBER = "Month.September", r.OCTOBER = "Month.October", r.NOVEMBER = "Month.November", r.DECEMBER = "Month.December", r))(fe || {}), vt = /* @__PURE__ */ ((r) => (r.PREVIOUS_DAY = "Date.PreviousDay", r.PREVIOUS_WEEK = "Date.PreviousWeek", r.PREVIOUS_MONTH = "Date.PreviousMonth", r.PREVIOUS_YEAR = "Date.PreviousYear", r.NEXT_DAY = "Date.NextDay", r.NEXT_WEEK = "Date.NextWeek", r.NEXT_MONTH = "Date.NextMonth", r.NEXT_YEAR = "Date.NextYear", r.YESTERDAY = "Date.Yesterday", r.TODAY = "Date.Today", r.TOMORROW = "Date.Tomorrow", r))(vt || {});
3820
3820
  function ss({
3821
3821
  selectedDate: r,
3822
3822
  onDateChange: e,
@@ -3824,17 +3824,17 @@ function ss({
3824
3824
  initialValue: n,
3825
3825
  targetRef: s
3826
3826
  }) {
3827
- const { translate: a } = rt(), i = () => {
3827
+ const { translate: a } = nt(), i = () => {
3828
3828
  if (!n) return;
3829
3829
  const L = new Date(n);
3830
3830
  return isNaN(L.getTime()) ? void 0 : L;
3831
- }, [o] = X(/* @__PURE__ */ new Date()), [c, l] = X(
3831
+ }, [o] = J(/* @__PURE__ */ new Date()), [c, l] = J(
3832
3832
  r || i() || /* @__PURE__ */ new Date()
3833
- ), [u, f] = X(
3833
+ ), [u, f] = J(
3834
3834
  c ? c.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
3835
- ), [d, m] = X(
3835
+ ), [d, m] = J(
3836
3836
  c ? c.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
3837
- ), [h, y] = X(
3837
+ ), [h, g] = J(
3838
3838
  c ? c.getDate() : null
3839
3839
  ), x = ve(null), w = ve([]), E = [
3840
3840
  a(fe.JANUARY),
@@ -3849,7 +3849,7 @@ function ss({
3849
3849
  a(fe.OCTOBER),
3850
3850
  a(fe.NOVEMBER),
3851
3851
  a(fe.DECEMBER)
3852
- ], D = [
3852
+ ], j = [
3853
3853
  {
3854
3854
  value: a(le.SUNDAY_SHORT),
3855
3855
  full: a(le.SUNDAY)
@@ -3879,37 +3879,37 @@ function ss({
3879
3879
  full: a(le.SATURDAY)
3880
3880
  }
3881
3881
  ], S = (L) => t.some((p) => {
3882
- const g = p.start.getTime(), T = p.end.getTime(), $ = L.getTime();
3883
- return $ >= g && $ <= T;
3882
+ const y = p.start.getTime(), T = p.end.getTime(), $ = L.getTime();
3883
+ return $ >= y && $ <= T;
3884
3884
  }), v = (L) => {
3885
- S(L) || (l(L), y(L.getDate()), e && e(qr(L)));
3886
- }, k = () => {
3887
- u === 0 ? (f(11), m(d - 1)) : f(u - 1), y(1);
3885
+ S(L) || (l(L), g(L.getDate()), e && e(qr(L)));
3886
+ }, I = () => {
3887
+ u === 0 ? (f(11), m(d - 1)) : f(u - 1), g(1);
3888
3888
  }, C = () => {
3889
- u === 11 ? (f(0), m(d + 1)) : f(u + 1), y(1);
3889
+ u === 11 ? (f(0), m(d + 1)) : f(u + 1), g(1);
3890
3890
  }, U = (L, p) => new Date(L, p + 1, 0).getDate(), R = (L, p) => new Date(L, p, 1).getDay(), P = (L) => {
3891
- var g;
3891
+ var y;
3892
3892
  const p = H.findIndex(
3893
3893
  (T) => T !== null && T.getDate() === L
3894
3894
  );
3895
- p !== -1 && w.current[p] && ((g = w.current[p]) == null || g.focus(), y(L));
3896
- }, j = (L, p) => {
3897
- const g = H[p];
3898
- if (!g) return;
3899
- const T = U(d, u), $ = g.getDate();
3895
+ p !== -1 && w.current[p] && ((y = w.current[p]) == null || y.focus(), g(L));
3896
+ }, D = (L, p) => {
3897
+ const y = H[p];
3898
+ if (!y) return;
3899
+ const T = U(d, u), $ = y.getDate();
3900
3900
  switch (L.key) {
3901
3901
  case "ArrowRight":
3902
3902
  L.preventDefault();
3903
3903
  {
3904
3904
  let O = $ + 1, A = new Date(d, u, O);
3905
3905
  if (O > T) {
3906
- const F = u === 11 ? d + 1 : d, V = u === 11 ? 0 : u + 1;
3907
- O = 1, A = new Date(F, V, O), C(), setTimeout(() => {
3908
- N(1, "forward");
3906
+ const M = u === 11 ? d + 1 : d, F = u === 11 ? 0 : u + 1;
3907
+ O = 1, A = new Date(M, F, O), C(), setTimeout(() => {
3908
+ k(1, "forward");
3909
3909
  }, 0);
3910
3910
  return;
3911
3911
  }
3912
- S(A) ? N(O, "forward") : P(O);
3912
+ S(A) ? k(O, "forward") : P(O);
3913
3913
  }
3914
3914
  break;
3915
3915
  case "Tab":
@@ -3919,13 +3919,13 @@ function ss({
3919
3919
  {
3920
3920
  let O = $ - 1, A = new Date(d, u, O);
3921
3921
  if (O < 1) {
3922
- const F = u === 0 ? d - 1 : d, V = u === 0 ? 11 : u - 1, M = U(F, V);
3923
- O = M, A = new Date(F, V, O), k(), setTimeout(() => {
3924
- N(M, "backward");
3922
+ const M = u === 0 ? d - 1 : d, F = u === 0 ? 11 : u - 1, N = U(M, F);
3923
+ O = N, A = new Date(M, F, O), I(), setTimeout(() => {
3924
+ k(N, "backward");
3925
3925
  }, 0);
3926
3926
  return;
3927
3927
  }
3928
- S(A) ? N(O, "backward") : P(O);
3928
+ S(A) ? k(O, "backward") : P(O);
3929
3929
  }
3930
3930
  break;
3931
3931
  case "ArrowUp":
@@ -3933,13 +3933,13 @@ function ss({
3933
3933
  {
3934
3934
  let O = $ - 7, A = new Date(d, u, O);
3935
3935
  if (O < 1) {
3936
- const F = u === 0 ? d - 1 : d, V = u === 0 ? 11 : u - 1;
3937
- O = U(F, V) + O, A = new Date(F, V, O), k(), setTimeout(() => {
3938
- N(O, "backward");
3936
+ const M = u === 0 ? d - 1 : d, F = u === 0 ? 11 : u - 1;
3937
+ O = U(M, F) + O, A = new Date(M, F, O), I(), setTimeout(() => {
3938
+ k(O, "backward");
3939
3939
  }, 0);
3940
3940
  return;
3941
3941
  }
3942
- S(A) ? N(O, "backward") : P(O);
3942
+ S(A) ? k(O, "backward") : P(O);
3943
3943
  }
3944
3944
  break;
3945
3945
  case "ArrowDown":
@@ -3947,28 +3947,28 @@ function ss({
3947
3947
  {
3948
3948
  let O = $ + 7, A = new Date(d, u, O);
3949
3949
  if (O > T) {
3950
- const F = u === 11 ? d + 1 : d, V = u === 11 ? 0 : u + 1;
3951
- O = O - T, A = new Date(F, V, O), C(), setTimeout(() => {
3952
- N(O, "forward");
3950
+ const M = u === 11 ? d + 1 : d, F = u === 11 ? 0 : u + 1;
3951
+ O = O - T, A = new Date(M, F, O), C(), setTimeout(() => {
3952
+ k(O, "forward");
3953
3953
  }, 0);
3954
3954
  return;
3955
3955
  }
3956
- S(A) ? N(O, "forward") : P(O);
3956
+ S(A) ? k(O, "forward") : P(O);
3957
3957
  }
3958
3958
  break;
3959
3959
  case "Home":
3960
- L.preventDefault(), N(1, "forward");
3960
+ L.preventDefault(), k(1, "forward");
3961
3961
  break;
3962
3962
  case "End":
3963
- L.preventDefault(), N(T, "backward");
3963
+ L.preventDefault(), k(T, "backward");
3964
3964
  break;
3965
3965
  case "PageUp":
3966
- L.preventDefault(), k(), setTimeout(() => {
3966
+ L.preventDefault(), I(), setTimeout(() => {
3967
3967
  const O = U(
3968
3968
  u === 0 ? d - 1 : d,
3969
3969
  u === 0 ? 11 : u - 1
3970
3970
  ), A = Math.min($, O);
3971
- N(A, "forward");
3971
+ k(A, "forward");
3972
3972
  }, 0);
3973
3973
  break;
3974
3974
  case "PageDown":
@@ -3977,22 +3977,22 @@ function ss({
3977
3977
  u === 11 ? d + 1 : d,
3978
3978
  u === 11 ? 0 : u + 1
3979
3979
  ), A = Math.min($, O);
3980
- N(A, "forward");
3980
+ k(A, "forward");
3981
3981
  }, 0);
3982
3982
  break;
3983
3983
  case " ":
3984
3984
  case "Space":
3985
- if (S(g)) return;
3986
- y(g.getDate()), l(g);
3985
+ if (S(y)) return;
3986
+ g(y.getDate()), l(y);
3987
3987
  break;
3988
3988
  case "Enter":
3989
- L.preventDefault(), v(g);
3989
+ L.preventDefault(), v(y);
3990
3990
  break;
3991
3991
  }
3992
- }, N = (L, p) => {
3993
- const g = U(d, u);
3992
+ }, k = (L, p) => {
3993
+ const y = U(d, u);
3994
3994
  if (p === "forward") {
3995
- for (let T = L; T <= g; T++) {
3995
+ for (let T = L; T <= y; T++) {
3996
3996
  const $ = new Date(d, u, T);
3997
3997
  if (!S($)) {
3998
3998
  P(T);
@@ -4000,43 +4000,43 @@ function ss({
4000
4000
  }
4001
4001
  }
4002
4002
  C(), setTimeout(() => {
4003
- N(1, "forward");
4003
+ k(1, "forward");
4004
4004
  }, 0);
4005
4005
  } else {
4006
4006
  for (let A = L; A >= 1; A--) {
4007
- const F = new Date(d, u, A);
4008
- if (!S(F)) {
4007
+ const M = new Date(d, u, A);
4008
+ if (!S(M)) {
4009
4009
  P(A);
4010
4010
  return;
4011
4011
  }
4012
4012
  }
4013
4013
  const T = u === 0 ? d - 1 : d, $ = u === 0 ? 11 : u - 1, O = U(T, $);
4014
- k(), setTimeout(() => {
4015
- N(O, "backward");
4014
+ I(), setTimeout(() => {
4015
+ k(O, "backward");
4016
4016
  }, 0);
4017
4017
  }
4018
4018
  }, H = (() => {
4019
- const L = U(d, u), p = R(d, u), g = [];
4019
+ const L = U(d, u), p = R(d, u), y = [];
4020
4020
  for (let T = 0; T < p; T++)
4021
- g.push(null);
4021
+ y.push(null);
4022
4022
  for (let T = 1; T <= L; T++) {
4023
4023
  const $ = new Date(d, u, T);
4024
- g.push($);
4024
+ y.push($);
4025
4025
  }
4026
- return g;
4027
- })(), z = [];
4026
+ return y;
4027
+ })(), X = [];
4028
4028
  let K = [];
4029
4029
  H.forEach((L, p) => {
4030
4030
  if (K.push(L), K.length === 7 || p === H.length - 1) {
4031
4031
  for (; K.length < 7; )
4032
4032
  K.push(null);
4033
- z.push(K), K = [];
4033
+ X.push(K), K = [];
4034
4034
  }
4035
- }), ie(() => {
4035
+ }), oe(() => {
4036
4036
  var L;
4037
4037
  if (h !== null) {
4038
4038
  const p = H.findIndex(
4039
- (g) => g !== null && g.getDate() === h
4039
+ (y) => y !== null && y.getDate() === h
4040
4040
  );
4041
4041
  p !== -1 && w.current[p] && ((L = w.current[p]) == null || L.focus());
4042
4042
  }
@@ -4047,10 +4047,10 @@ function ss({
4047
4047
  calendar: "smp-datepickercalendar",
4048
4048
  table: "smp-datepickercalendar-table",
4049
4049
  th: "smp-datepickercalendar-th",
4050
- td: (L, p, g, T) => `smp-datepickercalendar-td
4050
+ td: (L, p, y, T) => `smp-datepickercalendar-td
4051
4051
  ${L ? "smp-datepickercalendar-td-today" : ""}
4052
4052
  ${p ? "smp-datepickercalendar-td-selected" : ""}
4053
- ${g ? "smp-datepickercalendar-td-focused" : ""}
4053
+ ${y ? "smp-datepickercalendar-td-focused" : ""}
4054
4054
  ${T ? "smp-datepickercalendar-td-disabled" : ""}`
4055
4055
  }, W = () => `${E[u]} ${d.toString()}`;
4056
4056
  return /* @__PURE__ */ b.jsxs(
@@ -4076,8 +4076,8 @@ function ss({
4076
4076
  /* @__PURE__ */ b.jsx(
4077
4077
  Le,
4078
4078
  {
4079
- onClick: k,
4080
- ariaLabel: a(yt.PREVIOUS_MONTH),
4079
+ onClick: I,
4080
+ ariaLabel: a(vt.PREVIOUS_MONTH),
4081
4081
  bindValue: "<",
4082
4082
  appearance: "ghost",
4083
4083
  variant: "base"
@@ -4095,7 +4095,7 @@ function ss({
4095
4095
  Le,
4096
4096
  {
4097
4097
  onClick: C,
4098
- ariaLabel: a(yt.NEXT_MONTH),
4098
+ ariaLabel: a(vt.NEXT_MONTH),
4099
4099
  bindValue: ">",
4100
4100
  appearance: "ghost",
4101
4101
  variant: "base"
@@ -4112,7 +4112,7 @@ function ss({
4112
4112
  "aria-label": `${a(Et.CALENDAR_FOR)} ${E[u]} ${d}`,
4113
4113
  className: Z.table,
4114
4114
  children: [
4115
- /* @__PURE__ */ b.jsx("thead", { children: /* @__PURE__ */ b.jsx("tr", { children: D.map((L) => /* @__PURE__ */ b.jsx(
4115
+ /* @__PURE__ */ b.jsx("thead", { children: /* @__PURE__ */ b.jsx("tr", { children: j.map((L) => /* @__PURE__ */ b.jsx(
4116
4116
  "th",
4117
4117
  {
4118
4118
  scope: "col",
@@ -4122,9 +4122,9 @@ function ss({
4122
4122
  },
4123
4123
  L.value
4124
4124
  )) }) }),
4125
- /* @__PURE__ */ b.jsx("tbody", { children: z.map((L, p) => /* @__PURE__ */ b.jsx("tr", { children: L.map((g, T) => {
4125
+ /* @__PURE__ */ b.jsx("tbody", { children: X.map((L, p) => /* @__PURE__ */ b.jsx("tr", { children: L.map((y, T) => {
4126
4126
  const $ = p * 7 + T;
4127
- if (g === null)
4127
+ if (y === null)
4128
4128
  return /* @__PURE__ */ b.jsx(
4129
4129
  "td",
4130
4130
  {
@@ -4137,28 +4137,28 @@ function ss({
4137
4137
  },
4138
4138
  `empty-${T}`
4139
4139
  );
4140
- const O = g.getDate() === o.getDate() && g.getMonth() === o.getMonth() && g.getFullYear() === o.getFullYear(), A = c && g.getDate() === c.getDate() && g.getMonth() === c.getMonth() && g.getFullYear() === c.getFullYear(), F = h === g.getDate(), V = S(g);
4140
+ const O = y.getDate() === o.getDate() && y.getMonth() === o.getMonth() && y.getFullYear() === o.getFullYear(), A = c && y.getDate() === c.getDate() && y.getMonth() === c.getMonth() && y.getFullYear() === c.getFullYear(), M = h === y.getDate(), F = S(y);
4141
4141
  return /* @__PURE__ */ b.jsx(
4142
4142
  "td",
4143
4143
  {
4144
4144
  role: "gridcell",
4145
4145
  "aria-selected": A,
4146
- tabIndex: F ? 0 : -1,
4147
- onClick: () => v(g),
4148
- onKeyDown: (M) => j(M, $),
4149
- "aria-label": `${g.getDate()} ${E[g.getMonth()]} ${g.getFullYear()}`,
4146
+ tabIndex: M ? 0 : -1,
4147
+ onClick: () => v(y),
4148
+ onKeyDown: (N) => D(N, $),
4149
+ "aria-label": `${y.getDate()} ${E[y.getMonth()]} ${y.getFullYear()}`,
4150
4150
  "data-selected": A,
4151
- "aria-disabled": V,
4152
- ref: (M) => {
4153
- w.current[$] = M;
4151
+ "aria-disabled": F,
4152
+ ref: (N) => {
4153
+ w.current[$] = N;
4154
4154
  },
4155
4155
  className: Z.td(
4156
4156
  O,
4157
4157
  A,
4158
- F,
4159
- V
4158
+ M,
4159
+ F
4160
4160
  ),
4161
- children: g.getDate()
4161
+ children: y.getDate()
4162
4162
  },
4163
4163
  `day-${T}`
4164
4164
  );
@@ -4178,13 +4178,13 @@ const as = ({
4178
4178
  isEditable: s = !0,
4179
4179
  ...a
4180
4180
  }) => {
4181
- const [i, o] = X(!1), [c, l] = X(r || ""), [u, f] = X(""), { anchorRef: d, targetRef: m } = bt({
4181
+ const [i, o] = J(!1), [c, l] = J(r || ""), [u, f] = J(""), { anchorRef: d, targetRef: m } = xt({
4182
4182
  position: "bottom",
4183
4183
  enabled: i
4184
4184
  });
4185
- ze(m, () => {
4185
+ Je(m, () => {
4186
4186
  o(!1);
4187
- }), ze(d, () => {
4187
+ }), Je(d, () => {
4188
4188
  if (
4189
4189
  // FIXME: Copied from useClickOutside.
4190
4190
  typeof d == "object" && d !== null && "current" in d
@@ -4193,45 +4193,45 @@ const as = ({
4193
4193
  C && C === document.activeElement && E();
4194
4194
  }
4195
4195
  }), Sr(i, m);
4196
- const { format: h, getCurrentLanguage: y } = rt(), x = ye(
4196
+ const { format: h, getCurrentLanguage: g } = nt(), x = ye(
4197
4197
  (C) => {
4198
- const U = C.length > 5 && Br(C, y()) || C, R = h(U, void 0, void 0, {
4198
+ const U = C.length > 5 && Br(C, g()) || C, R = h(U, void 0, void 0, {
4199
4199
  type: "date"
4200
- }), P = typeof U != "string", j = P && U.toISOString().substring(0, 10) || "";
4200
+ }), P = typeof U != "string", D = P && U.toISOString().substring(0, 10) || "";
4201
4201
  return {
4202
4202
  isValid: P,
4203
4203
  formattedDate: R,
4204
- isoDate: j,
4204
+ isoDate: D,
4205
4205
  normalizedDate: U
4206
4206
  };
4207
4207
  },
4208
- [y, h]
4208
+ [g, h]
4209
4209
  );
4210
- ie(() => {
4210
+ oe(() => {
4211
4211
  const { formattedDate: C, isoDate: U, isValid: R } = x(r);
4212
4212
  l(R && U || r), f(R && C || r);
4213
4213
  }, [r, h, x]);
4214
4214
  const w = () => o((C) => !C), E = () => {
4215
4215
  S(u);
4216
- }, D = (C) => {
4216
+ }, j = (C) => {
4217
4217
  S(C), o(!1);
4218
4218
  }, S = (C) => {
4219
4219
  const { isoDate: U, isValid: R } = x(C);
4220
4220
  t && t(R && U || C);
4221
4221
  }, v = (C) => {
4222
4222
  f(C);
4223
- }, k = (C) => {
4223
+ }, I = (C) => {
4224
4224
  C.key === "Enter" && (C.preventDefault(), S(u));
4225
4225
  };
4226
4226
  return /* @__PURE__ */ b.jsxs("div", { "data-component": "date-picker", children: [
4227
4227
  /* @__PURE__ */ b.jsx(
4228
- je,
4228
+ De,
4229
4229
  {
4230
4230
  bindValue: u,
4231
4231
  placeholder: e,
4232
4232
  onBlur: E,
4233
4233
  onChange: v,
4234
- onKeyDown: k,
4234
+ onKeyDown: I,
4235
4235
  shapeIcon: "calendar",
4236
4236
  onShapeIconClick: w,
4237
4237
  ref: d,
@@ -4243,8 +4243,8 @@ const as = ({
4243
4243
  ss,
4244
4244
  {
4245
4245
  disabledDateRanges: n,
4246
- onDateChange: D,
4247
- initialValue: vt(c) && c || "",
4246
+ onDateChange: j,
4247
+ initialValue: bt(c) && c || "",
4248
4248
  targetRef: m
4249
4249
  }
4250
4250
  )
@@ -4262,17 +4262,17 @@ const as = ({
4262
4262
  onOptionsRequest: l,
4263
4263
  onChange: u
4264
4264
  }) => {
4265
- const f = r.map((h) => h.bindValue), d = (h, y) => {
4265
+ const f = r.map((h) => h.bindValue), d = (h, g) => {
4266
4266
  const x = [...r];
4267
4267
  if (h == "")
4268
4268
  x.pop();
4269
4269
  else {
4270
4270
  const w = x.findIndex(
4271
- (E) => E.bindValue === h && E.optionalDisplayValue === y
4271
+ (E) => E.bindValue === h && E.optionalDisplayValue === g
4272
4272
  );
4273
4273
  w >= 0 ? x.splice(w, 1) : x.push({
4274
4274
  bindValue: h,
4275
- optionalDisplayValue: y
4275
+ optionalDisplayValue: g
4276
4276
  });
4277
4277
  }
4278
4278
  u == null || u(x);
@@ -4285,7 +4285,7 @@ const as = ({
4285
4285
  className: m.container,
4286
4286
  "data-component": "multiple-autocomplete",
4287
4287
  children: [
4288
- i && /* @__PURE__ */ b.jsx(et, { label: i, disabled: o }),
4288
+ i && /* @__PURE__ */ b.jsx(Ne, { label: i, disabled: o }),
4289
4289
  /* @__PURE__ */ b.jsx(
4290
4290
  wt,
4291
4291
  {
@@ -4316,9 +4316,9 @@ const as = ({
4316
4316
  }
4317
4317
  );
4318
4318
  }, os = ({ ...r }) => {
4319
- const [e, t] = X(!1), n = e ? "visibility-off" : "visibility";
4319
+ const [e, t] = J(!1), n = e ? "visibility-off" : "visibility";
4320
4320
  return /* @__PURE__ */ b.jsx(
4321
- je,
4321
+ De,
4322
4322
  {
4323
4323
  ...r,
4324
4324
  inputType: e ? "text" : "password",
@@ -4329,12 +4329,12 @@ const as = ({
4329
4329
  }
4330
4330
  );
4331
4331
  }, ls = ({ ...r }) => {
4332
- const [e, t] = X(r.bindValue), { translate: n } = rt(), s = (a) => {
4332
+ const [e, t] = J(r.bindValue), { translate: n } = nt(), s = (a) => {
4333
4333
  var i;
4334
4334
  a.key === "Enter" && (a.preventDefault(), (i = r.onEnter) == null || i.call(r, e));
4335
4335
  };
4336
4336
  return /* @__PURE__ */ b.jsx(
4337
- je,
4337
+ De,
4338
4338
  {
4339
4339
  ...r,
4340
4340
  placeholder: r.placeholder ? r.placeholder : n(Et.SPOTLIGHT_DEFAULT_PLACEHOLDER),
@@ -4347,6 +4347,30 @@ const as = ({
4347
4347
  _dataComponent: "search-bar"
4348
4348
  }
4349
4349
  );
4350
+ }, cs = ({
4351
+ bindValue: r,
4352
+ optionalDisplayValue: e,
4353
+ label: t
4354
+ }) => {
4355
+ const n = {
4356
+ wrapper: "smp-text-wrapper"
4357
+ };
4358
+ return t ? /* @__PURE__ */ b.jsxs("div", { className: n.wrapper, children: [
4359
+ /* @__PURE__ */ b.jsx(Ne, { label: t }),
4360
+ /* @__PURE__ */ b.jsx(
4361
+ _e,
4362
+ {
4363
+ variant: "body",
4364
+ bindValue: e || r
4365
+ }
4366
+ )
4367
+ ] }) : /* @__PURE__ */ b.jsx(
4368
+ _e,
4369
+ {
4370
+ variant: "body",
4371
+ bindValue: e || r
4372
+ }
4373
+ );
4350
4374
  };
4351
4375
  class Ee {
4352
4376
  constructor(e, t) {
@@ -4373,7 +4397,7 @@ class Ee {
4373
4397
  return this.value.join(";");
4374
4398
  }
4375
4399
  }
4376
- const Ge = (r, e, t) => ({
4400
+ const Ke = (r, e, t) => ({
4377
4401
  obj: {
4378
4402
  t: r.obj.t,
4379
4403
  p: r.obj.p,
@@ -4388,7 +4412,7 @@ const Ge = (r, e, t) => ({
4388
4412
  bindValue: n,
4389
4413
  optionalDisplayValue: t.length >= s ? t[s] : ""
4390
4414
  }));
4391
- }, cs = (r, e) => {
4415
+ }, us = (r, e) => {
4392
4416
  const t = new Ee(
4393
4417
  r.obj,
4394
4418
  e.map((s) => s.bindValue)
@@ -4396,7 +4420,7 @@ const Ge = (r, e, t) => ({
4396
4420
  r.obj,
4397
4421
  e.map((s) => s.optionalDisplayValue ? s.optionalDisplayValue : "")
4398
4422
  ).getLegacyValue();
4399
- return Ge(r, t, n);
4423
+ return Ke(r, t, n);
4400
4424
  }, Tt = ({
4401
4425
  decode: r,
4402
4426
  shape: e,
@@ -4414,7 +4438,7 @@ const Ge = (r, e, t) => ({
4414
4438
  onOptionsRequest: m,
4415
4439
  isEditable: h
4416
4440
  }) => {
4417
- const y = {
4441
+ const g = {
4418
4442
  obj: t,
4419
4443
  shape: e,
4420
4444
  decode: r,
@@ -4428,56 +4452,56 @@ const Ge = (r, e, t) => ({
4428
4452
  label: o,
4429
4453
  isEditable: h,
4430
4454
  ...n
4431
- }, w = (S, v, k) => Hr(t) ? Ge(S, new Ke(t, v).getLegacyValue()) : Ge(S, v, k), E = (S) => Ge(y, new Be(t, S).getLegacyValue()), D = (S) => cs(y, S);
4455
+ }, w = (S, v, I) => Hr(t) ? Ke(S, new qe(t, v).getLegacyValue()) : Ke(S, v, I), E = (S) => Ke(g, new ze(t, S).getLegacyValue()), j = (S) => us(g, S);
4432
4456
  switch (e) {
4433
- case oe.AUTOCOMPLETE: {
4457
+ case ie.AUTOCOMPLETE: {
4434
4458
  const S = {
4435
4459
  ...x,
4436
4460
  bindValue: t.k,
4437
4461
  optionalDisplayValue: r,
4438
- onChange: (v, k) => {
4439
- l == null || l(w(y, v, k));
4462
+ onChange: (v, I) => {
4463
+ l == null || l(w(g, v, I));
4440
4464
  }
4441
4465
  };
4442
4466
  return /* @__PURE__ */ b.jsx(xr, { ...S });
4443
4467
  }
4444
- case oe.BUTTON: {
4468
+ case ie.BUTTON: {
4445
4469
  const S = {
4446
4470
  ...x,
4447
4471
  bindValue: t.k,
4448
4472
  optionalDisplayValue: r,
4449
4473
  onClick: () => {
4450
- u == null || u(w(y, t.k));
4474
+ u == null || u(w(g, t.k));
4451
4475
  }
4452
4476
  };
4453
4477
  return /* @__PURE__ */ b.jsx(Le, { ...S });
4454
4478
  }
4455
- case oe.BUTTON_LIST: {
4479
+ case ie.BUTTON_LIST: {
4456
4480
  const S = {
4457
4481
  ...x,
4458
4482
  options: c,
4459
- onClick: (v, k) => {
4460
- const C = { ...y, fun: k };
4483
+ onClick: (v, I) => {
4484
+ const C = { ...g, fun: I };
4461
4485
  u == null || u(w(C, v));
4462
4486
  }
4463
4487
  };
4464
4488
  return /* @__PURE__ */ b.jsx(Sn, { ...S });
4465
4489
  }
4466
- case oe.COMBOBOX: {
4490
+ case ie.COMBOBOX: {
4467
4491
  const S = {
4468
4492
  ...x,
4469
4493
  bindValue: t.k,
4470
4494
  optionalDisplayValue: r,
4471
- onChange: (v, k) => {
4472
- l == null || l(w(y, v, k));
4495
+ onChange: (v, I) => {
4496
+ l == null || l(w(g, v, I));
4473
4497
  }
4474
4498
  };
4475
4499
  return /* @__PURE__ */ b.jsx(Tn, { ...S });
4476
4500
  }
4477
- case oe.CHECKBOX: {
4501
+ case ie.CHECKBOX: {
4478
4502
  const S = {
4479
4503
  ...x,
4480
- bindValue: Be.fromDataObj(t).getValue(),
4504
+ bindValue: ze.fromDataObj(t).getValue(),
4481
4505
  optionalDisplayValue: r,
4482
4506
  onChange: (v) => {
4483
4507
  l == null || l(E(v));
@@ -4485,77 +4509,84 @@ const Ge = (r, e, t) => ({
4485
4509
  };
4486
4510
  return /* @__PURE__ */ b.jsx(wn, { ...S });
4487
4511
  }
4488
- case oe.CHIP: {
4512
+ case ie.CHIP: {
4489
4513
  const S = {
4490
4514
  ...x,
4491
- elements: cr(y)
4515
+ elements: cr(g)
4492
4516
  };
4493
4517
  return /* @__PURE__ */ b.jsx(wt, { ...S });
4494
4518
  }
4495
- case oe.DATE: {
4519
+ case ie.DATE: {
4496
4520
  const S = {
4497
4521
  ...x,
4498
- bindValue: Ke.fromDataObj(t).getValue(),
4522
+ bindValue: qe.fromDataObj(t).getValue(),
4499
4523
  onChange: (v) => {
4500
- l == null || l(w(y, v));
4524
+ l == null || l(w(g, v));
4501
4525
  }
4502
4526
  };
4503
4527
  return /* @__PURE__ */ b.jsx(as, { ...S });
4504
4528
  }
4505
- case oe.ICON:
4506
- case oe.IMAGE: {
4529
+ case ie.ICON:
4530
+ case ie.IMAGE: {
4507
4531
  const S = {
4508
4532
  ...x,
4509
4533
  icon: s,
4510
4534
  placeholderIcon: i,
4511
4535
  isInteractable: !!x.fun,
4512
4536
  onClick: () => {
4513
- u == null || u(w(y, t.k));
4537
+ u == null || u(w(g, t.k));
4514
4538
  }
4515
4539
  };
4516
4540
  return /* @__PURE__ */ b.jsx(ue, { ...S });
4517
4541
  }
4518
- case oe.MULTI_AUTOCOMPLETE: {
4542
+ case ie.MULTI_AUTOCOMPLETE: {
4519
4543
  const S = {
4520
4544
  ...x,
4521
- elements: cr(y),
4545
+ elements: cr(g),
4522
4546
  onChange: (v) => {
4523
- l == null || l(D(v));
4547
+ l == null || l(j(v));
4524
4548
  }
4525
4549
  };
4526
4550
  return /* @__PURE__ */ b.jsx(is, { ...S });
4527
4551
  }
4528
- case oe.PASSWORD: {
4552
+ case ie.PASSWORD: {
4529
4553
  const S = {
4530
4554
  ...x,
4531
4555
  bindValue: t.k,
4532
4556
  onChange: (v) => {
4533
- l == null || l(w(y, v));
4557
+ l == null || l(w(g, v));
4534
4558
  }
4535
4559
  };
4536
4560
  return /* @__PURE__ */ b.jsx(os, { ...S });
4537
4561
  }
4538
- case oe.SPOTLIGHT: {
4562
+ case ie.SPOTLIGHT: {
4539
4563
  const S = {
4540
4564
  ...x,
4541
4565
  bindValue: t.k,
4542
4566
  onEnter: (v) => {
4543
- f == null || f(w(y, v));
4567
+ f == null || f(w(g, v));
4544
4568
  }
4545
4569
  };
4546
4570
  return /* @__PURE__ */ b.jsx(ls, { ...S });
4547
4571
  }
4548
- case oe.TEXT_FIELD:
4549
- case void 0: {
4572
+ case ie.TEXT_FIELD: {
4550
4573
  const S = {
4551
4574
  ...x,
4552
4575
  bindValue: t.k,
4553
4576
  optionalDisplayValue: r,
4554
4577
  onChange: (v) => {
4555
- l == null || l(w(y, v));
4578
+ l == null || l(w(g, v));
4556
4579
  }
4557
4580
  };
4558
- return /* @__PURE__ */ b.jsx(je, { ...S });
4581
+ return /* @__PURE__ */ b.jsx(De, { ...S });
4582
+ }
4583
+ default: {
4584
+ const S = {
4585
+ ...x,
4586
+ bindValue: t.k,
4587
+ optionalDisplayValue: r
4588
+ };
4589
+ return /* @__PURE__ */ b.jsx(cs, { ...S });
4559
4590
  }
4560
4591
  }
4561
4592
  }, Tr = ({
@@ -4566,14 +4597,14 @@ const Ge = (r, e, t) => ({
4566
4597
  offsetTop: s
4567
4598
  }) => {
4568
4599
  var E;
4569
- const [a, i] = X(!1), o = He(r) && !!((E = r.children) != null && E.length), c = r.cells && Object.keys(r.cells).length > 0, l = o, u = t * 20, f = () => {
4600
+ const [a, i] = J(!1), o = Be(r) && !!((E = r.children) != null && E.length), c = r.cells && Object.keys(r.cells).length > 0, l = o, u = t * 20, f = () => {
4570
4601
  o && i(!a);
4571
4602
  }, d = {
4572
4603
  content: `${we.rowContent} ${o ? we.clickable : ""}`,
4573
4604
  toggle: `${we.toggle}`,
4574
4605
  indent: `${we.indent}`,
4575
4606
  cell: `${we.cell}`
4576
- }, m = (D) => /* @__PURE__ */ b.jsx(Tt, { ...D }), h = () => /* @__PURE__ */ b.jsx("span", { className: d.toggle, children: l ? a ? "▶" : "▼" : " " }), y = () => /* @__PURE__ */ b.jsx(
4607
+ }, m = (j) => /* @__PURE__ */ b.jsx(Tt, { ...j }), h = () => /* @__PURE__ */ b.jsx("span", { className: d.toggle, children: l ? a ? "▶" : "▼" : " " }), g = () => /* @__PURE__ */ b.jsx(
4577
4608
  "span",
4578
4609
  {
4579
4610
  className: d.indent,
@@ -4581,7 +4612,7 @@ const Ge = (r, e, t) => ({
4581
4612
  "aria-hidden": "true"
4582
4613
  }
4583
4614
  ), x = () => {
4584
- const D = Ur(r) ? "" : r.decode || (c ? "" : "Untitled"), S = s ?? n * t;
4615
+ const j = Ur(r) ? "" : r.decode || (c ? "" : "Untitled"), S = s ?? n * t;
4585
4616
  return /* @__PURE__ */ b.jsxs(
4586
4617
  "tr",
4587
4618
  {
@@ -4595,7 +4626,7 @@ const Ge = (r, e, t) => ({
4595
4626
  transform: `translateY(${S}px)`
4596
4627
  },
4597
4628
  children: [
4598
- He(r) && /* @__PURE__ */ b.jsxs(
4629
+ Be(r) && /* @__PURE__ */ b.jsxs(
4599
4630
  "td",
4600
4631
  {
4601
4632
  className: we.leftSection,
@@ -4603,13 +4634,13 @@ const Ge = (r, e, t) => ({
4603
4634
  height: `${n}px`
4604
4635
  },
4605
4636
  children: [
4606
- y(),
4637
+ g(),
4607
4638
  h(),
4608
- /* @__PURE__ */ b.jsx("span", { className: we.rowLabel, children: D })
4639
+ /* @__PURE__ */ b.jsx("span", { className: we.rowLabel, children: j })
4609
4640
  ]
4610
4641
  }
4611
4642
  ),
4612
- r.cells && Object.keys(r.cells).length > 0 && Object.entries(r.cells).map(([v, k]) => /* @__PURE__ */ b.jsx(
4643
+ r.cells && Object.keys(r.cells).length > 0 && Object.entries(r.cells).map(([v, I]) => /* @__PURE__ */ b.jsx(
4613
4644
  "td",
4614
4645
  {
4615
4646
  className: d.cell,
@@ -4618,22 +4649,22 @@ const Ge = (r, e, t) => ({
4618
4649
  minWidth: e[v],
4619
4650
  height: `${n}px`
4620
4651
  },
4621
- children: m(k)
4652
+ children: m(I)
4622
4653
  },
4623
- Wr(k) || v
4654
+ Wr(I) || v
4624
4655
  ))
4625
4656
  ]
4626
4657
  }
4627
4658
  );
4628
4659
  }, w = () => {
4629
- var D;
4630
- return a || !o ? null : /* @__PURE__ */ b.jsx(b.Fragment, { children: He(r) && ((D = r.children) == null ? void 0 : D.map((S, v) => /* @__PURE__ */ b.jsx(Tr, { row: S, level: t + 1 }, `child-${v}`))) });
4660
+ var j;
4661
+ return a || !o ? null : /* @__PURE__ */ b.jsx(b.Fragment, { children: Be(r) && ((j = r.children) == null ? void 0 : j.map((S, v) => /* @__PURE__ */ b.jsx(Tr, { row: S, level: t + 1 }, `child-${v}`))) });
4631
4662
  };
4632
4663
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
4633
4664
  x(),
4634
4665
  w()
4635
4666
  ] });
4636
- }, us = ({
4667
+ }, fs = ({
4637
4668
  label: r,
4638
4669
  rowHeight: e = 28,
4639
4670
  offsetTop: t = 0,
@@ -4671,18 +4702,18 @@ const Ge = (r, e, t) => ({
4671
4702
  width: 16
4672
4703
  }
4673
4704
  ),
4674
- /* @__PURE__ */ b.jsx(St, { variant: "title", bindValue: r })
4705
+ /* @__PURE__ */ b.jsx(_e, { variant: "title", bindValue: r })
4675
4706
  ]
4676
4707
  }
4677
4708
  )
4678
4709
  }
4679
4710
  );
4680
4711
  };
4681
- function fs(r, e) {
4712
+ function ds(r, e) {
4682
4713
  const t = new Set(r);
4683
4714
  return t.has(e) ? t.delete(e) : t.add(e), t;
4684
4715
  }
4685
- function ds(r, e) {
4716
+ function ps(r, e) {
4686
4717
  return r.map((t) => {
4687
4718
  const n = e.find((s) => s.column === t.bindValue);
4688
4719
  return {
@@ -4691,7 +4722,7 @@ function ds(r, e) {
4691
4722
  };
4692
4723
  });
4693
4724
  }
4694
- function ps(r, e, t, n) {
4725
+ function hs(r, e, t, n) {
4695
4726
  const s = [];
4696
4727
  let a = 0;
4697
4728
  return i(r, 0, []), { flatRows: s, offset: a };
@@ -4700,18 +4731,18 @@ function ps(r, e, t, n) {
4700
4731
  u(f);
4701
4732
  return;
4702
4733
  }
4703
- const h = e[d].column, y = o(f, h);
4704
- for (const [x, w] of y) {
4705
- const E = [...m, x], D = c(E, d), S = n.has(D);
4706
- s.push(l(x, D, d, S)), a += t, S && i(w, d + 1, E);
4734
+ const h = e[d].column, g = o(f, h);
4735
+ for (const [x, w] of g) {
4736
+ const E = [...m, x], j = c(E, d), S = n.has(j);
4737
+ s.push(l(x, j, d, S)), a += t, S && i(w, d + 1, E);
4707
4738
  }
4708
4739
  }
4709
4740
  function o(f, d) {
4710
4741
  var h;
4711
4742
  const m = /* @__PURE__ */ new Map();
4712
- for (const y of f) {
4713
- const x = ((h = y.cells[d]) == null ? void 0 : h.decode) ?? "N/D";
4714
- m.has(x) || m.set(x, []), m.get(x).push(y);
4743
+ for (const g of f) {
4744
+ const x = ((h = g.cells[d]) == null ? void 0 : h.decode) ?? "N/D";
4745
+ m.has(x) || m.set(x, []), m.get(x).push(g);
4715
4746
  }
4716
4747
  return m;
4717
4748
  }
@@ -4733,7 +4764,7 @@ function ps(r, e, t, n) {
4733
4764
  s.push(d), a += t;
4734
4765
  }
4735
4766
  }
4736
- const hs = ({
4767
+ const ms = ({
4737
4768
  groups: r = [],
4738
4769
  isDraggable: e = !0,
4739
4770
  isEditable: t = !0,
@@ -4767,7 +4798,7 @@ const hs = ({
4767
4798
  ]
4768
4799
  }
4769
4800
  );
4770
- }, xs = ({
4801
+ }, Ss = ({
4771
4802
  data: r,
4772
4803
  lineHeight: e = 28,
4773
4804
  TableHeight: t = 400,
@@ -4776,51 +4807,52 @@ const hs = ({
4776
4807
  showGroupBar: a = !0
4777
4808
  }) => {
4778
4809
  var U;
4779
- const [i, o] = X(r), [c, l] = X(n || []), [u, f] = X(/* @__PURE__ */ new Set()), d = Object.fromEntries(
4780
- i && i.columns.map((R) => [R.name, 120])
4810
+ const [i, o] = J(r), [c, l] = J(n || []), [u, f] = J(/* @__PURE__ */ new Set()), d = i && i.columns ? Object.fromEntries(
4811
+ i.columns.map((R) => [R.name, 120])
4781
4812
  // ADD col.width to manage existing col width
4782
- ), [m, h] = X(d), y = ve(null);
4783
- ie(() => {
4784
- var j, N;
4785
- const R = ((j = y.current) == null ? void 0 : j.clientWidth) ?? 1e3;
4786
- if (!((N = i == null ? void 0 : i.columns) != null && N.length)) return;
4813
+ ) : {}, [m, h] = J(d), g = ve(null);
4814
+ oe(() => {
4815
+ var D;
4816
+ if (!i || !i.columns || i.columns.length)
4817
+ return;
4818
+ const R = ((D = g.current) == null ? void 0 : D.clientWidth) ?? 1e3;
4787
4819
  let P = {};
4788
4820
  switch (s) {
4789
4821
  case "fixed":
4790
4822
  P = Object.fromEntries(
4791
- i.columns.map((I) => [I.name, 120])
4823
+ i.columns.map((k) => [k.name, 120])
4792
4824
  );
4793
4825
  break;
4794
4826
  case "fit-grid": {
4795
- const I = i.columns.filter((z) => z.visible), H = Math.floor(R / I.length);
4827
+ const k = i.columns.filter((H) => H.visible), Y = Math.floor(R / k.length);
4796
4828
  P = Object.fromEntries(
4797
- I.map((z) => [z.name, H])
4829
+ k.map((H) => [H.name, Y])
4798
4830
  );
4799
4831
  break;
4800
4832
  }
4801
4833
  case "fit-content":
4802
4834
  P = Object.fromEntries(
4803
- i.columns.map((I) => {
4804
- const H = Math.max(
4805
- ...r.rows.map((L) => {
4806
- var T;
4807
- const p = (T = L == null ? void 0 : L.cells) == null ? void 0 : T[I.name], g = (p == null ? void 0 : p.decode) || (p == null ? void 0 : p.value);
4808
- return g ? String(g).length : 0;
4835
+ i.columns.map((k) => {
4836
+ const Y = Math.max(
4837
+ ...r.rows.map((W) => {
4838
+ var y;
4839
+ const L = (y = W == null ? void 0 : W.cells) == null ? void 0 : y[k.name], p = (L == null ? void 0 : L.decode) || (L == null ? void 0 : L.value);
4840
+ return p ? String(p).length : 0;
4809
4841
  }),
4810
4842
  0
4811
- ), z = I.title ? I.title.length : 0, K = Math.max(H, z);
4843
+ ), H = k.title ? k.title.length : 0, X = Math.max(Y, H);
4812
4844
  return [
4813
- I.name,
4814
- Math.max(50, K * 8 + 16)
4845
+ k.name,
4846
+ Math.max(50, X * 8 + 16)
4815
4847
  ];
4816
4848
  })
4817
4849
  );
4818
4850
  break;
4819
4851
  }
4820
4852
  h(P);
4821
- }, [s, r, i.columns]), ie(() => {
4853
+ }, [s, r, i]), oe(() => {
4822
4854
  if (c != null && c.length && r.rows) {
4823
- const { flatRows: R } = ps(
4855
+ const { flatRows: R } = hs(
4824
4856
  r.rows,
4825
4857
  c,
4826
4858
  e,
@@ -4831,114 +4863,122 @@ const hs = ({
4831
4863
  o(r);
4832
4864
  }, [r, c, u, e]);
4833
4865
  const x = (R) => {
4834
- l(ds(R, c));
4866
+ l(ps(R, c));
4835
4867
  }, w = (R) => {
4836
4868
  R.preventDefault();
4837
4869
  const P = R.dataTransfer.getData("text/plain");
4838
- if (!P || c.some((I) => I.column === P))
4870
+ if (!P || c.some((Y) => Y.column === P))
4839
4871
  return;
4840
- const N = [...c, { column: P, visible: !0 }];
4841
- l(N);
4872
+ const k = [...c, { column: P, visible: !0 }];
4873
+ l(k);
4842
4874
  }, E = (R) => {
4843
4875
  R.preventDefault();
4844
- }, { virtualItems: D, containerProps: S, innerProps: v } = yr({
4845
- items: i.rows || [],
4876
+ }, { virtualItems: j, containerProps: S, innerProps: v } = yr({
4877
+ items: (i == null ? void 0 : i.rows) || [],
4846
4878
  itemHeight: e,
4847
4879
  containerHeight: t,
4848
4880
  overscan: 5
4849
- }), k = (R, P) => {
4850
- const j = R.clientX, N = m[P], I = (z) => {
4851
- const K = z.clientX - j, Z = Math.max(50, N + K);
4881
+ }), I = (R, P) => {
4882
+ const D = R.clientX, k = m[P], Y = (X) => {
4883
+ const K = X.clientX - D, Z = Math.max(50, k + K);
4852
4884
  h((W) => ({
4853
4885
  ...W,
4854
4886
  [P]: Z
4855
4887
  }));
4856
4888
  }, H = () => {
4857
- window.removeEventListener("mousemove", I), window.removeEventListener("mouseup", H);
4889
+ window.removeEventListener("mousemove", Y), window.removeEventListener("mouseup", H);
4858
4890
  };
4859
- window.addEventListener("mousemove", I), window.addEventListener("mouseup", H);
4891
+ window.addEventListener("mousemove", Y), window.addEventListener("mouseup", H);
4860
4892
  }, C = {
4861
- smpTable: `${nt["smp-table"]}`,
4862
- headerCell: `${nt["smp-headerCell"]}`,
4863
- resizer: `${nt["smp-resizer"]}`
4893
+ smpTable: `${st["smp-table"]}`,
4894
+ headerCell: `${st["smp-headerCell"]}`,
4895
+ resizer: `${st["smp-resizer"]}`
4864
4896
  };
4865
- return /* @__PURE__ */ b.jsx("div", { className: C.smpTable, ...S, ref: y, children: /* @__PURE__ */ b.jsxs("table", { children: [
4866
- /* @__PURE__ */ b.jsxs("thead", { children: [
4867
- (n || a) && /* @__PURE__ */ b.jsx(
4868
- hs,
4869
- {
4870
- groups: c,
4871
- onChange: x,
4872
- onDrop: w,
4873
- onDragOver: E
4874
- }
4875
- ),
4876
- /* @__PURE__ */ b.jsx("tr", { children: i.columns && ((U = i.columns) == null ? void 0 : U.map(
4877
- (R) => R.visible && /* @__PURE__ */ b.jsxs(
4878
- "th",
4879
- {
4880
- className: C.headerCell,
4881
- draggable: !0,
4882
- onDragStart: (P) => {
4883
- P.dataTransfer.setData("text/plain", R.name);
4897
+ return i && /* @__PURE__ */ b.jsx(
4898
+ "div",
4899
+ {
4900
+ className: C.smpTable,
4901
+ ...S,
4902
+ ref: g,
4903
+ children: /* @__PURE__ */ b.jsxs("table", { children: [
4904
+ /* @__PURE__ */ b.jsxs("thead", { children: [
4905
+ (n || a) && /* @__PURE__ */ b.jsx(
4906
+ ms,
4907
+ {
4908
+ groups: c,
4909
+ onChange: x,
4910
+ onDrop: w,
4911
+ onDragOver: E
4912
+ }
4913
+ ),
4914
+ /* @__PURE__ */ b.jsx("tr", { children: i.columns && ((U = i.columns) == null ? void 0 : U.map(
4915
+ (R) => R.visible && /* @__PURE__ */ b.jsxs(
4916
+ "th",
4917
+ {
4918
+ className: C.headerCell,
4919
+ draggable: !0,
4920
+ onDragStart: (P) => {
4921
+ P.dataTransfer.setData("text/plain", R.name);
4922
+ },
4923
+ style: {
4924
+ width: m[R.name],
4925
+ minWidth: m[R.name],
4926
+ maxWidth: m[R.name]
4927
+ },
4928
+ children: [
4929
+ /* @__PURE__ */ b.jsx(
4930
+ _e,
4931
+ {
4932
+ variant: "title",
4933
+ bindValue: R.title
4934
+ }
4935
+ ),
4936
+ /* @__PURE__ */ b.jsx(
4937
+ "div",
4938
+ {
4939
+ className: C.resizer,
4940
+ onMouseDown: (P) => I(P, R.name),
4941
+ role: "region"
4942
+ }
4943
+ )
4944
+ ]
4945
+ },
4946
+ R.name
4947
+ )
4948
+ )) })
4949
+ ] }),
4950
+ /* @__PURE__ */ b.jsx("tbody", { ...v, children: j.map(
4951
+ ({ item: R, index: P, offsetTop: D }) => R.isGroup ? /* @__PURE__ */ b.jsx(
4952
+ fs,
4953
+ {
4954
+ label: R.value || "",
4955
+ rowHeight: e,
4956
+ offsetTop: D,
4957
+ level: R.level,
4958
+ onClick: () => {
4959
+ const k = R.rowId;
4960
+ k && f((Y) => ds(Y, k));
4961
+ },
4962
+ isExpanded: R.isExpanded
4884
4963
  },
4885
- style: {
4886
- width: m[R.name],
4887
- minWidth: m[R.name],
4888
- maxWidth: m[R.name]
4964
+ R.rowId || `group-${P}`
4965
+ ) : /* @__PURE__ */ b.jsx(
4966
+ Tr,
4967
+ {
4968
+ row: R,
4969
+ columnWidths: m,
4970
+ rowHeight: e,
4971
+ offsetTop: D,
4972
+ isGroup: !1
4889
4973
  },
4890
- children: [
4891
- /* @__PURE__ */ b.jsx(
4892
- St,
4893
- {
4894
- variant: "title",
4895
- bindValue: R.title
4896
- }
4897
- ),
4898
- /* @__PURE__ */ b.jsx(
4899
- "div",
4900
- {
4901
- className: C.resizer,
4902
- onMouseDown: (P) => k(P, R.name),
4903
- role: "region"
4904
- }
4905
- )
4906
- ]
4907
- },
4908
- R.name
4909
- )
4910
- )) })
4911
- ] }),
4912
- /* @__PURE__ */ b.jsx("tbody", { ...v, children: D.map(
4913
- ({ item: R, index: P, offsetTop: j }) => R.isGroup ? /* @__PURE__ */ b.jsx(
4914
- us,
4915
- {
4916
- label: R.value || "",
4917
- rowHeight: e,
4918
- offsetTop: j,
4919
- level: R.level,
4920
- onClick: () => {
4921
- const N = R.rowId;
4922
- N && f((I) => fs(I, N));
4923
- },
4924
- isExpanded: R.isExpanded
4925
- },
4926
- R.rowId || `group-${P}`
4927
- ) : /* @__PURE__ */ b.jsx(
4928
- Tr,
4929
- {
4930
- row: R,
4931
- columnWidths: m,
4932
- rowHeight: e,
4933
- offsetTop: j,
4934
- isGroup: !1
4935
- },
4936
- R.rowId || `row-${P}`
4937
- )
4938
- ) }),
4939
- /* @__PURE__ */ b.jsx("tfoot", { children: /* @__PURE__ */ b.jsx("td", { children: "Tfooter here" }) })
4940
- ] }) });
4941
- }, ms = (r, e) => {
4974
+ R.rowId || `row-${P}`
4975
+ )
4976
+ ) }),
4977
+ /* @__PURE__ */ b.jsx("tfoot", { children: /* @__PURE__ */ b.jsx("span", { children: "Tfooter here" }) })
4978
+ ] })
4979
+ }
4980
+ );
4981
+ }, gs = (r, e) => {
4942
4982
  const t = [];
4943
4983
  for (let n = 0; n < r.length; n += e)
4944
4984
  t.push(r.slice(n, n + e));
@@ -4952,7 +4992,7 @@ const hs = ({
4952
4992
  content: t.content
4953
4993
  };
4954
4994
  let n = t.sections, s = t.content;
4955
- return (i = t.content) != null && i.length && t.columns && +t.columns > 1 && (n = ms(
4995
+ return (i = t.content) != null && i.length && t.columns && +t.columns > 1 && (n = gs(
4956
4996
  t.content.filter((c) => !!e[c.id]),
4957
4997
  +t.columns
4958
4998
  ).map(
@@ -4993,18 +5033,18 @@ const hs = ({
4993
5033
  if (!((f = r.sections) != null && f.length))
4994
5034
  return /* @__PURE__ */ b.jsx(b.Fragment, {});
4995
5035
  const t = "--smp-grid-template-cols", n = "--smp-grid-template-rows", s = Or(r.sections, e), a = (d) => d == null ? void 0 : d.reduce((m, h) => {
4996
- var D, S;
4997
- let y = "", x = {}, w = {}, E = "";
4998
- return (D = h.sections) != null && D.length ? (y = pe["smp-layout-section-grid"], x = a(h.sections), h.gridCols == null && (E = `${pe[h.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"]}`, (h.horizontal || fr(h.sections)) && (w = ur(
5036
+ var j, S;
5037
+ let g = "", x = {}, w = {}, E = "";
5038
+ return (j = h.sections) != null && j.length ? (g = pe["smp-layout-section-grid"], x = a(h.sections), h.gridCols == null && (E = `${pe[h.horizontal ? "smp-grid-template-cols" : "smp-grid-template-rows"]}`, (h.horizontal || fr(h.sections)) && (w = ur(
4999
5039
  h.sections,
5000
5040
  h.horizontal ? t : n
5001
- )))) : (S = h.content) != null && S.length && (h.gridCols !== void 0 && h.gridCols > 0 ? (y = pe["smp-layout-section-grid"], E = `${pe["smp-grid-template-cols"]}`, w = {
5041
+ )))) : (S = h.content) != null && S.length && (h.gridCols !== void 0 && h.gridCols > 0 ? (g = pe["smp-layout-section-grid"], E = `${pe["smp-grid-template-cols"]}`, w = {
5002
5042
  [t]: `repeat(${h.gridCols}, 1fr)`
5003
- }) : y = pe["smp-layout-section-flex"]), {
5043
+ }) : g = pe["smp-layout-section-flex"]), {
5004
5044
  ...m,
5005
5045
  ...x,
5006
5046
  [h.id]: {
5007
- classes: `${y} ${pe[h.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${E} ${h.justify ? `smp-justifyContent-${h.justify}` : ""} ${h.align ? `smp-alignItems-${h.align}` : ""}`,
5047
+ classes: `${g} ${pe[h.horizontal ? "smp-layout-section-horizontal" : "smp-layout-section-vertical"]} ${E} ${h.justify ? `smp-justifyContent-${h.justify}` : ""} ${h.align ? `smp-alignItems-${h.align}` : ""}`,
5008
5048
  styles: w
5009
5049
  }
5010
5050
  };
@@ -5022,10 +5062,10 @@ const hs = ({
5022
5062
  "smp-id": "section-" + d.id,
5023
5063
  className: o.sections[d.id].classes,
5024
5064
  style: o.sections[d.id].styles,
5025
- children: (h = d.sections) != null && h.length ? d.sections.map((y) => l(y)) : d.content.map(
5026
- (y) => u(
5027
- y,
5028
- e[y.id],
5065
+ children: (h = d.sections) != null && h.length ? d.sections.map((g) => l(g)) : d.content.map(
5066
+ (g) => u(
5067
+ g,
5068
+ e[g.id],
5029
5069
  d.justify,
5030
5070
  d.align
5031
5071
  )
@@ -5038,21 +5078,21 @@ const hs = ({
5038
5078
  "span",
5039
5079
  {
5040
5080
  className: `${pe["smp-layout-section-title"]} ${d.justify ? `smp-justifyContent-${d.justify}` : ""} ${d.align ? `smp-alignItems-${d.align}` : ""}`,
5041
- children: /* @__PURE__ */ b.jsx(et, { label: d.title })
5081
+ children: /* @__PURE__ */ b.jsx(Ne, { label: d.title })
5042
5082
  }
5043
5083
  ),
5044
5084
  m
5045
5085
  ] }) : m;
5046
- }, u = (d, m, h, y) => {
5047
- const x = d.colSpan !== void 0 ? d.colSpan > 0 ? d.colSpan : d.colStart !== void 0 && d.colStart < 1 ? 1 : null : null, w = x !== null ? `span ${x}` : d.colStart, E = d.colEnd !== void 0 && d.colEnd > 0 ? d.colEnd : "", D = {
5086
+ }, u = (d, m, h, g) => {
5087
+ const x = d.colSpan !== void 0 ? d.colSpan > 0 ? d.colSpan : d.colStart !== void 0 && d.colStart < 1 ? 1 : null : null, w = x !== null ? `span ${x}` : d.colStart, E = d.colEnd !== void 0 && d.colEnd > 0 ? d.colEnd : "", j = {
5048
5088
  gridColumnStart: w,
5049
5089
  gridColumnEnd: E
5050
- }, S = `${pe["smp-layout-cell-container"]} ${h ? `smp-justifyContent-${h}` : ""} ${y ? `smp-alignItems-${y}` : ""}`;
5090
+ }, S = `${pe["smp-layout-cell-container"]} ${h ? `smp-justifyContent-${h}` : ""} ${g ? `smp-alignItems-${g}` : ""}`;
5051
5091
  return m ? /* @__PURE__ */ b.jsx(
5052
5092
  "div",
5053
5093
  {
5054
5094
  className: S,
5055
- style: { ...D },
5095
+ style: { ...j },
5056
5096
  "smp-id": d.id,
5057
5097
  children: /* @__PURE__ */ b.jsx(Tt, { ...m })
5058
5098
  },
@@ -5060,16 +5100,16 @@ const hs = ({
5060
5100
  ) : /* @__PURE__ */ b.jsx(b.Fragment, {});
5061
5101
  };
5062
5102
  return /* @__PURE__ */ b.jsx("div", { className: o.container, style: c, "smp-id": "layout", children: s == null ? void 0 : s.map((d) => l(d)) });
5063
- }, Ss = ({ data: r, onClick: e, onEnter: t }) => {
5103
+ }, ws = ({ data: r, onClick: e, onEnter: t }) => {
5064
5104
  var i, o;
5065
- const [n, s] = X(), a = ye(
5105
+ const [n, s] = J(), a = ye(
5066
5106
  (c) => {
5067
5107
  var u, f;
5068
5108
  if (!((u = c.rows) != null && u.length) || !((f = c.columns) != null && f.length))
5069
5109
  return {};
5070
5110
  const l = c.rows[0];
5071
5111
  return c.columns.filter((d) => d.visible).reduce((d, m) => {
5072
- const h = l.cells[m.name], y = {
5112
+ const h = l.cells[m.name], g = {
5073
5113
  ...h,
5074
5114
  onChange: (x) => {
5075
5115
  s((w) => w && {
@@ -5094,16 +5134,16 @@ const hs = ({
5094
5134
  };
5095
5135
  return {
5096
5136
  ...d,
5097
- [m.name]: y
5137
+ [m.name]: g
5098
5138
  };
5099
5139
  }, {});
5100
5140
  },
5101
5141
  [e, t]
5102
5142
  );
5103
- return ie(() => {
5104
- s(a(r));
5143
+ return oe(() => {
5144
+ r && s(a(r));
5105
5145
  }, [r, a]), !((i = r == null ? void 0 : r.rows) != null && i.length) || !((o = r.columns) != null && o.length) ? null : n && /* @__PURE__ */ b.jsx("header", { className: "smp-appbar", "aria-label": "App Bar", children: /* @__PURE__ */ b.jsx(Rr, { layout: r.rows[0].layout, cells: n }) });
5106
- }, ce = (r) => r == null ? !1 : typeof r == "string" ? r.toLocaleLowerCase() == "yes" : r, ws = ({
5146
+ }, ce = (r) => r == null ? !1 : typeof r == "string" ? r.toLocaleLowerCase() == "yes" : r, Es = ({
5107
5147
  ColumnsNumber: r = 1,
5108
5148
  data: e = {},
5109
5149
  ForceText: t,
@@ -5119,15 +5159,15 @@ const hs = ({
5119
5159
  ForceUM: d,
5120
5160
  UmColName: m,
5121
5161
  UmColor: h = "var(--smp-dashList-color-base)",
5122
- ForceValue: y,
5162
+ ForceValue: g,
5123
5163
  ValueColName: x,
5124
5164
  ValueColor: w = "var(--smp-dashList-color-base)",
5125
5165
  SelectLayout: E = "1",
5126
- onClick: D
5166
+ onClick: j
5127
5167
  }) => {
5128
- const S = "N/A", v = (e == null ? void 0 : e.columns) || [], k = (e == null ? void 0 : e.rows) || [], C = k.length > 0, U = "--smp-dashList-color", R = "smp-layout", P = "descr", j = "icon", N = "um", I = "value", H = i || "1em", z = "18px", K = "--smp-dashList-columns", Z = "--smp-dashList-fontSize", W = {
5129
- dash: (Y = "1") => {
5130
- const J = p(Y), te = J, re = g(J, P), de = g(J, j), be = g(J, N), he = g(J, I);
5168
+ const S = "N/A", v = (e == null ? void 0 : e.columns) || [], I = (e == null ? void 0 : e.rows) || [], C = I.length > 0, U = "--smp-dashList-color", R = "smp-layout", P = "descr", D = "icon", k = "um", Y = "value", H = i || "1em", X = "18px", K = "--smp-dashList-columns", Z = "--smp-dashList-fontSize", W = {
5169
+ dash: (V = "1") => {
5170
+ const q = p(V), te = q, re = y(q, P), de = y(q, D), be = y(q, k), he = y(q, Y);
5131
5171
  return {
5132
5172
  container: te,
5133
5173
  descr: re,
@@ -5138,74 +5178,74 @@ const hs = ({
5138
5178
  },
5139
5179
  dashList: `smp-dash-list ${ce(a) ? "smp-dash-list-fill-space" : ""}
5140
5180
  ${ce(o) ? "smp-dash-list-horizontal" : ""}`
5141
- }, { format: L } = rt(), p = (Y) => `${R}-${Y}`, g = (Y, J) => `${Y}__${J}`, T = (Y) => `${U}-${Y}`, $ = (Y) => {
5142
- const J = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
5143
- if (J.test(Y)) {
5144
- const re = Y.match(J) || [];
5181
+ }, { format: L } = nt(), p = (V) => `${R}-${V}`, y = (V, q) => `${V}__${q}`, T = (V) => `${U}-${V}`, $ = (V) => {
5182
+ const q = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
5183
+ if (q.test(V)) {
5184
+ const re = V.match(q) || [];
5145
5185
  if ((re == null ? void 0 : re.length) > 3)
5146
5186
  return "rgb(" + re[1] + "," + re[2] + "," + re[3] + ")";
5147
5187
  }
5148
- return Y;
5149
- }, O = (Y) => {
5150
- if (!f) return Y;
5151
- const [J, te] = A(f).map(
5188
+ return V;
5189
+ }, O = (V) => {
5190
+ if (!f) return V;
5191
+ const [q, te] = A(f).map(
5152
5192
  (Te) => parseInt(Te || "0")
5153
- ), re = "0,0" + (te ? "." + "0".repeat(te) : ""), de = L(Y, re, "it");
5154
- if (!J) return de;
5193
+ ), re = "0,0" + (te ? "." + "0".repeat(te) : ""), de = L(V, re, "it");
5194
+ if (!q) return de;
5155
5195
  const [be, he] = de.split(",");
5156
5196
  return be + (he ? `,${he}` : "");
5157
- }, A = (Y) => Y.includes(";") ? Y.split(";") : [Y], F = (Y) => {
5158
- const J = (re) => {
5197
+ }, A = (V) => V.includes(";") ? V.split(";") : [V], M = (V) => {
5198
+ const q = (re) => {
5159
5199
  var de;
5160
5200
  if (re)
5161
- return (de = Y == null ? void 0 : Y.cells[re]) == null ? void 0 : de.obj.k;
5201
+ return (de = V == null ? void 0 : V.cells[re]) == null ? void 0 : de.obj.k;
5162
5202
  }, te = (re) => {
5163
5203
  var de, be;
5164
5204
  if (!(v.length <= re))
5165
- return (be = (de = Y == null ? void 0 : Y.cells[v[re].name]) == null ? void 0 : de.obj) == null ? void 0 : be.k;
5205
+ return (be = (de = V == null ? void 0 : V.cells[v[re].name]) == null ? void 0 : de.obj) == null ? void 0 : be.k;
5166
5206
  };
5167
5207
  return {
5168
- descr: t || J(n) || te(2) || "",
5169
- icon: c || J(l) || te(3) || "",
5170
- um: d || J(m) || te(1) || "",
5171
- value: y || J(x) || te(0) || ""
5208
+ descr: t || q(n) || te(2) || "",
5209
+ icon: c || q(l) || te(3) || "",
5210
+ um: d || q(m) || te(1) || "",
5211
+ value: g || q(x) || te(0) || ""
5172
5212
  };
5173
- }, V = (Y) => {
5174
- D == null || D(Y);
5175
- }, M = (Y, J) => {
5176
- (Y.key === "Enter" || Y.key === " ") && (Y.preventDefault(), Y.stopPropagation(), V(J));
5177
- }, G = ((Y) => {
5178
- const J = W.dash(Y);
5213
+ }, F = (V) => {
5214
+ j == null || j(V);
5215
+ }, N = (V, q) => {
5216
+ (V.key === "Enter" || V.key === " ") && (V.preventDefault(), V.stopPropagation(), F(q));
5217
+ }, G = ((V) => {
5218
+ const q = W.dash(V);
5179
5219
  return {
5180
- className: J,
5181
- descr: (te) => /* @__PURE__ */ b.jsx("div", { className: J.descr, children: te }, `${Y}-${P}`),
5182
- icon: (te) => /* @__PURE__ */ b.jsx("div", { className: J.icon, children: /* @__PURE__ */ b.jsx(
5220
+ className: q,
5221
+ descr: (te) => /* @__PURE__ */ b.jsx("div", { className: q.descr, children: te }, `${V}-${P}`),
5222
+ icon: (te) => /* @__PURE__ */ b.jsx("div", { className: q.icon, children: /* @__PURE__ */ b.jsx(
5183
5223
  ue,
5184
5224
  {
5185
5225
  color: u,
5186
- height: z,
5226
+ height: X,
5187
5227
  icon: te,
5188
- width: z
5228
+ width: X
5189
5229
  }
5190
- ) }, `${Y}-${j}`),
5191
- um: (te) => /* @__PURE__ */ b.jsx("div", { className: J.um, children: te }, `${Y}-${N}`),
5192
- value: (te) => /* @__PURE__ */ b.jsx("div", { className: J.value, children: te }, `${Y}-${I}`)
5230
+ ) }, `${V}-${D}`),
5231
+ um: (te) => /* @__PURE__ */ b.jsx("div", { className: q.um, children: te }, `${V}-${k}`),
5232
+ value: (te) => /* @__PURE__ */ b.jsx("div", { className: q.value, children: te }, `${V}-${Y}`)
5193
5233
  };
5194
- })(E), ne = (Y) => {
5195
- const { descr: J, icon: te, um: re, value: de } = F(Y), be = {
5234
+ })(E), ne = (V) => {
5235
+ const { descr: q, icon: te, um: re, value: de } = M(V), be = {
5196
5236
  [T(P)]: $(s),
5197
- [T(N)]: $(h),
5198
- [T(I)]: $(w)
5237
+ [T(k)]: $(h),
5238
+ [T(Y)]: $(w)
5199
5239
  }, he = [], Te = O(de);
5200
5240
  switch (E) {
5201
5241
  case "2":
5202
- te && he.push(G.icon(te)), he.push(G.descr(J)), he.push(
5242
+ te && he.push(G.icon(te)), he.push(G.descr(q)), he.push(
5203
5243
  G.value(re ? Te + " " + re : Te)
5204
5244
  );
5205
5245
  break;
5206
5246
  default:
5207
5247
  case "1":
5208
- he.push(G.descr(J)), he.push(
5248
+ he.push(G.descr(q)), he.push(
5209
5249
  G.value(re ? Te + " " + re : Te)
5210
5250
  );
5211
5251
  }
@@ -5216,18 +5256,18 @@ const hs = ({
5216
5256
  role: "button",
5217
5257
  style: be,
5218
5258
  tabIndex: 0,
5219
- onClick: () => V(Y),
5220
- onKeyDown: (Dr) => M(Dr, Y),
5259
+ onClick: () => F(V),
5260
+ onKeyDown: (jr) => N(jr, V),
5221
5261
  children: he
5222
5262
  },
5223
- Y.rowId
5263
+ V.rowId
5224
5264
  );
5225
5265
  }, _ = {
5226
5266
  [K]: String(r),
5227
5267
  [Z]: H
5228
5268
  };
5229
- return /* @__PURE__ */ b.jsx("div", { className: W.dashList, style: _, children: C ? k.map((Y) => ne(Y)) : S });
5230
- }, gs = (r) => {
5269
+ return /* @__PURE__ */ b.jsx("div", { className: W.dashList, style: _, children: C ? I.map((V) => ne(V)) : S });
5270
+ }, ys = (r) => {
5231
5271
  var e;
5232
5272
  return (e = r.children) != null && e.length ? r.children.map((t) => {
5233
5273
  var n, s;
@@ -5238,7 +5278,7 @@ const hs = ({
5238
5278
  icon: t.icon
5239
5279
  };
5240
5280
  }) : [];
5241
- }, Es = ({
5281
+ }, Ts = ({
5242
5282
  data: r,
5243
5283
  logo: e,
5244
5284
  open: t,
@@ -5249,41 +5289,41 @@ const hs = ({
5249
5289
  onClose: o,
5250
5290
  loadOptions: c
5251
5291
  }) => {
5252
- var D, S;
5253
- const [l, u] = X(), [f, d] = X(t ?? !0), m = ve(null), h = s.trim() ? s : "100vh", y = ye(
5292
+ var j, S;
5293
+ const [l, u] = J(), [f, d] = J(t ?? !0), m = ve(null), h = s.trim() ? s : "100vh", g = ye(
5254
5294
  (v) => {
5255
5295
  var C, U;
5256
- if (!((C = v.rows) != null && C.length) || !((U = v.columns) != null && U.length))
5296
+ if (!((C = v == null ? void 0 : v.rows) != null && C.length) || !((U = v == null ? void 0 : v.columns) != null && U.length))
5257
5297
  return {};
5258
- const k = v.rows[0];
5298
+ const I = v.rows[0];
5259
5299
  return v.columns.filter((R) => R.visible ?? !0).reduce((R, P) => {
5260
- const j = k.cells[P.name];
5261
- if (!j || !f && ce(n) && j.shape !== oe.BUTTON && j.shape !== oe.BUTTON_LIST)
5300
+ const D = I.cells[P.name];
5301
+ if (!D || !f && ce(n) && D.shape !== ie.BUTTON && D.shape !== ie.BUTTON_LIST)
5262
5302
  return R;
5263
- const N = {
5264
- ...j,
5265
- onChange: (I) => {
5303
+ const k = {
5304
+ ...D,
5305
+ onChange: (Y) => {
5266
5306
  u((H) => {
5267
- const z = { ...H };
5268
- return z != null && z[P.name] && (z[P.name].obj.k = I.obj.k), z;
5307
+ const X = { ...H };
5308
+ return X != null && X[P.name] && (X[P.name].obj.k = Y.obj.k), X;
5269
5309
  });
5270
5310
  },
5271
- onClick: (I) => {
5272
- I.fun && a && a(I);
5311
+ onClick: (Y) => {
5312
+ Y.fun && a && a(Y);
5273
5313
  },
5274
- onEnter: (I) => {
5275
- i && i(I);
5314
+ onEnter: (Y) => {
5315
+ i && i(Y);
5276
5316
  }
5277
5317
  };
5278
- return c && j.shape == oe.BUTTON_LIST && (N.onOptionsRequest = (I, H) => c(I, H).then(
5279
- (z) => gs(z)
5280
- )), !f && ce(n) && (N.data = {
5281
- ...N.data,
5318
+ return c && D.shape == ie.BUTTON_LIST && (k.onOptionsRequest = (Y, H) => c(Y, H).then(
5319
+ (X) => ys(X)
5320
+ )), !f && ce(n) && (k.data = {
5321
+ ...k.data,
5282
5322
  showText: !1,
5283
5323
  justify: "center"
5284
5324
  }), {
5285
5325
  ...R,
5286
- [P.name]: N
5326
+ [P.name]: k
5287
5327
  };
5288
5328
  }, {});
5289
5329
  },
@@ -5293,25 +5333,25 @@ const hs = ({
5293
5333
  }, [o]), w = () => {
5294
5334
  ce(n) ? d((v) => !v) : (d(!1), o == null || o());
5295
5335
  };
5296
- if (ie(() => {
5297
- u(y(r));
5298
- }, [r]), ie(() => {
5336
+ if (oe(() => {
5337
+ u(g(r));
5338
+ }, [r]), oe(() => {
5299
5339
  if (!m.current)
5300
5340
  return;
5301
5341
  if (!ce(n)) {
5302
- u(y(r));
5342
+ u(g(r));
5303
5343
  return;
5304
5344
  }
5305
5345
  const v = getComputedStyle(m.current).getPropertyValue(
5306
5346
  "--smp-drawer-slide-transition"
5307
5347
  );
5308
- let k = Number(v);
5309
- v.endsWith("ms") ? k = parseFloat(v) : v.endsWith("s") && (k = parseFloat(v) * 1e3), setTimeout(() => {
5310
- u(y(r));
5311
- }, k / 2);
5312
- }, [f, n]), ie(() => {
5348
+ let I = Number(v);
5349
+ v.endsWith("ms") ? I = parseFloat(v) : v.endsWith("s") && (I = parseFloat(v) * 1e3), setTimeout(() => {
5350
+ u(g(r));
5351
+ }, I / 2);
5352
+ }, [f, n]), oe(() => {
5313
5353
  t !== void 0 && !ce(n) && d(t);
5314
- }, [n, t]), !((D = r == null ? void 0 : r.rows) != null && D.length) || !((S = r.columns) != null && S.length))
5354
+ }, [n, t]), !((j = r == null ? void 0 : r.rows) != null && j.length) || !((S = r.columns) != null && S.length))
5315
5355
  return null;
5316
5356
  const E = {
5317
5357
  drawer: `smp-drawer ${ce(n) ? "smp-drawer-minified" : "smp-drawer-fixed"} ${f ? "smp-drawer-open" : ""} ${!ce(n) && !f ? "smp-drawer-no-border" : ""}`,
@@ -5369,7 +5409,7 @@ const hs = ({
5369
5409
  }
5370
5410
  )
5371
5411
  ] });
5372
- }, Ts = ({
5412
+ }, Os = ({
5373
5413
  data: r,
5374
5414
  Type: e,
5375
5415
  ShowSubmit: t = !1,
@@ -5381,11 +5421,13 @@ const hs = ({
5381
5421
  onClick: c,
5382
5422
  onOptionsRequest: l
5383
5423
  }) => {
5384
- const [u, f] = X();
5385
- ie(() => {
5424
+ const [u, f] = J();
5425
+ oe(() => {
5386
5426
  f(() => {
5387
- const y = { ...r };
5388
- return e && (y.shape = e), s && (y.obj = Gr(s)), y;
5427
+ if (!r)
5428
+ return;
5429
+ const g = { ...r };
5430
+ return e && (g.shape = e), g.shape == null && (g.shape = ie.TEXT_FIELD), s && (g.obj = Gr(s)), g;
5389
5431
  });
5390
5432
  }, [r, s, e]);
5391
5433
  const m = {
@@ -5410,7 +5452,7 @@ const hs = ({
5410
5452
  ...u,
5411
5453
  onChange: f,
5412
5454
  onOptionsRequest: l,
5413
- fun: r.fun,
5455
+ fun: r == null ? void 0 : r.fun,
5414
5456
  onBlur: h,
5415
5457
  label: a,
5416
5458
  labelPosition: i
@@ -5430,19 +5472,19 @@ const hs = ({
5430
5472
  ] });
5431
5473
  };
5432
5474
  export {
5433
- Ss as AppBar,
5475
+ ws as AppBar,
5434
5476
  xr as Autocomplete,
5435
5477
  Le as Button,
5436
5478
  Sn as ButtonList,
5437
5479
  wn as Checkbox,
5438
5480
  Tn as Combobox,
5439
- ws as DashList,
5440
- xs as DataTableComponent,
5481
+ Es as DashList,
5482
+ Ss as DataTableComponent,
5441
5483
  as as DatePicker,
5442
- Es as Drawer,
5443
- Ts as Field,
5484
+ Ts as Drawer,
5485
+ Os as Field,
5444
5486
  ue as Icon,
5445
5487
  os as Password,
5446
- je as Textfield,
5447
- bs as configurePaths
5488
+ De as Textfield,
5489
+ xs as configurePaths
5448
5490
  };