@sme.up/ketchup2 2.0.0-SNAPSHOT-20250520081028 → 2.0.0-SNAPSHOT-20250520103841

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 Or = Object.defineProperty;
2
- var Tr = (n, e, t) => e in n ? Or(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var be = (n, e, t) => Tr(n, typeof e != "symbol" ? e + "" : e, t);
1
+ var wr = Object.defineProperty;
2
+ var Or = (n, e, t) => e in n ? wr(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var be = (n, e, t) => Or(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import * as Me from "react";
5
- import dr, { useState as Q, useCallback as Te, useEffect as he, useRef as xe, useLayoutEffect as Rr, useId as Dr } from "react";
6
- var Fe = { exports: {} }, De = {};
5
+ import fr, { useState as Q, useCallback as Oe, useEffect as he, useRef as xe, useLayoutEffect as Tr, useId as Rr } from "react";
6
+ var Fe = { exports: {} }, Re = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.js
@@ -13,29 +13,29 @@ var Fe = { exports: {} }, De = {};
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var Tt;
17
- function Pr() {
18
- if (Tt) return De;
19
- Tt = 1;
16
+ var Ot;
17
+ function Dr() {
18
+ if (Ot) return Re;
19
+ Ot = 1;
20
20
  var n = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
21
- function t(r, s, i) {
22
- var a = null;
23
- if (i !== void 0 && (a = "" + i), s.key !== void 0 && (a = "" + s.key), "key" in s) {
24
- i = {};
21
+ function t(r, s, a) {
22
+ var i = null;
23
+ if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
24
+ a = {};
25
25
  for (var o in s)
26
- o !== "key" && (i[o] = s[o]);
27
- } else i = s;
28
- return s = i.ref, {
26
+ o !== "key" && (a[o] = s[o]);
27
+ } else a = s;
28
+ return s = a.ref, {
29
29
  $$typeof: n,
30
30
  type: r,
31
- key: a,
31
+ key: i,
32
32
  ref: s !== void 0 ? s : null,
33
- props: i
33
+ props: a
34
34
  };
35
35
  }
36
- return De.Fragment = e, De.jsx = t, De.jsxs = t, De;
36
+ return Re.Fragment = e, Re.jsx = t, Re.jsxs = t, Re;
37
37
  }
38
- var Pe = {};
38
+ var De = {};
39
39
  /**
40
40
  * @license React
41
41
  * react-jsx-runtime.development.js
@@ -45,9 +45,9 @@ var Pe = {};
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
47
  */
48
- var Rt;
49
- function Ar() {
50
- return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && function() {
48
+ var Tt;
49
+ function Pr() {
50
+ return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
51
51
  function n(d) {
52
52
  if (d == null) return null;
53
53
  if (typeof d == "function")
@@ -126,10 +126,10 @@ function Ar() {
126
126
  var d = M.A;
127
127
  return d === null ? null : d.getOwner();
128
128
  }
129
- function i() {
129
+ function a() {
130
130
  return Error("react-stack-top-frame");
131
131
  }
132
- function a(d) {
132
+ function i(d) {
133
133
  if (U.call(d, "key")) {
134
134
  var m = Object.getOwnPropertyDescriptor(d, "key").get;
135
135
  if (m && m.isReactWarning) return !1;
@@ -217,7 +217,7 @@ React keys must be passed directly to JSX without using spread:
217
217
  L
218
218
  ), k[L + _] = !0);
219
219
  }
220
- if (L = null, b !== void 0 && (t(b), L = "" + b), a(m) && (t(m.key), L = "" + m.key), "key" in m) {
220
+ if (L = null, b !== void 0 && (t(b), L = "" + b), i(m) && (t(m.key), L = "" + m.key), "key" in m) {
221
221
  b = {};
222
222
  for (var W in m)
223
223
  W !== "key" && (b[W] = m[W]);
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
239
239
  function u(d) {
240
240
  typeof d == "object" && d !== null && d.$$typeof === h && d._store && (d._store.validated = 1);
241
241
  }
242
- var p = dr, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), O = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), C = Symbol.for("react.client.reference"), M = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, J = Array.isArray, K = console.createTask ? console.createTask : function() {
242
+ var p = fr, h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), O = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), C = Symbol.for("react.client.reference"), M = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, J = Array.isArray, K = console.createTask ? console.createTask : function() {
243
243
  return null;
244
244
  };
245
245
  p = {
@@ -249,9 +249,9 @@ React keys must be passed directly to JSX without using spread:
249
249
  };
250
250
  var ne, z = {}, V = p["react-stack-bottom-frame"].bind(
251
251
  p,
252
- i
253
- )(), B = K(r(i)), k = {};
254
- Pe.Fragment = y, Pe.jsx = function(d, m, b, _, S) {
252
+ a
253
+ )(), B = K(r(a)), k = {};
254
+ De.Fragment = y, De.jsx = function(d, m, b, _, S) {
255
255
  var T = 1e4 > M.recentlyCreatedOwnerStacks++;
256
256
  return f(
257
257
  d,
@@ -263,7 +263,7 @@ React keys must be passed directly to JSX without using spread:
263
263
  T ? Error("react-stack-top-frame") : V,
264
264
  T ? K(r(d)) : B
265
265
  );
266
- }, Pe.jsxs = function(d, m, b, _, S) {
266
+ }, De.jsxs = function(d, m, b, _, S) {
267
267
  var T = 1e4 > M.recentlyCreatedOwnerStacks++;
268
268
  return f(
269
269
  d,
@@ -276,14 +276,14 @@ React keys must be passed directly to JSX without using spread:
276
276
  T ? K(r(d)) : B
277
277
  );
278
278
  };
279
- }()), Pe;
279
+ }()), De;
280
280
  }
281
- var Dt;
282
- function Cr() {
283
- return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Fe.exports = Pr() : Fe.exports = Ar()), Fe.exports;
281
+ var Rt;
282
+ function Ar() {
283
+ return Rt || (Rt = 1, process.env.NODE_ENV === "production" ? Fe.exports = Dr() : Fe.exports = Pr()), Fe.exports;
284
284
  }
285
- var w = Cr();
286
- function Lr(n, e) {
285
+ var w = Ar();
286
+ function Cr(n, e) {
287
287
  if (n == null) return {};
288
288
  var t = {};
289
289
  for (var r in n) if ({}.hasOwnProperty.call(n, r)) {
@@ -301,18 +301,18 @@ function Be() {
301
301
  return n;
302
302
  }, Be.apply(null, arguments);
303
303
  }
304
- function yt(n, e) {
305
- return yt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, r) {
304
+ function gt(n, e) {
305
+ return gt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, r) {
306
306
  return t.__proto__ = r, t;
307
- }, yt(n, e);
307
+ }, gt(n, e);
308
308
  }
309
- function kr(n, e) {
310
- n.prototype = Object.create(e.prototype), n.prototype.constructor = n, yt(n, e);
309
+ function Lr(n, e) {
310
+ n.prototype = Object.create(e.prototype), n.prototype.constructor = n, gt(n, e);
311
311
  }
312
312
  function at(n, e, t) {
313
- if (t || arguments.length === 2) for (var r = 0, s = e.length, i; r < s; r++)
314
- (i || !(r in e)) && (i || (i = Array.prototype.slice.call(e, 0, r)), i[r] = e[r]);
315
- return n.concat(i || Array.prototype.slice.call(e));
313
+ if (t || arguments.length === 2) for (var r = 0, s = e.length, a; r < s; r++)
314
+ (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
315
+ return n.concat(a || Array.prototype.slice.call(e));
316
316
  }
317
317
  var Ve = {};
318
318
  /*!
@@ -320,17 +320,17 @@ var Ve = {};
320
320
  * Copyright(c) 2015 Douglas Christopher Wilson
321
321
  * MIT Licensed
322
322
  */
323
- var Pt;
324
- function $r() {
325
- if (Pt) return Ve;
326
- Pt = 1;
327
- var n = /; *([!#$%&'*+.^_`|~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-]+$/, r = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, i = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
328
- Ve.format = a, Ve.parse = o;
329
- function a(u) {
323
+ var Dt;
324
+ function kr() {
325
+ if (Dt) return Ve;
326
+ Dt = 1;
327
+ var n = /; *([!#$%&'*+.^_`|~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-]+$/, r = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, a = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
328
+ Ve.format = i, Ve.parse = o;
329
+ function i(u) {
330
330
  if (!u || typeof u != "object")
331
331
  throw new TypeError("argument obj is required");
332
332
  var p = u.parameters, h = u.type;
333
- if (!h || !i.test(h))
333
+ if (!h || !a.test(h))
334
334
  throw new TypeError("invalid type");
335
335
  var g = h;
336
336
  if (p && typeof p == "object")
@@ -348,7 +348,7 @@ function $r() {
348
348
  if (typeof p != "string")
349
349
  throw new TypeError("argument string is required to be a string");
350
350
  var h = p.indexOf(";"), g = h !== -1 ? p.slice(0, h).trim() : p.trim();
351
- if (!i.test(g))
351
+ if (!a.test(g))
352
352
  throw new TypeError("invalid media type");
353
353
  var y = new f(g.toLowerCase());
354
354
  if (h !== -1) {
@@ -382,26 +382,26 @@ function $r() {
382
382
  }
383
383
  return Ve;
384
384
  }
385
- var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
385
+ var $r = kr(), we = /* @__PURE__ */ new Map(), dr = function(e) {
386
386
  return e.cloneNode(!0);
387
- }, At = function() {
387
+ }, Pt = function() {
388
388
  return window.location.protocol === "file:";
389
- }, hr = function(e, t, r) {
389
+ }, pr = function(e, t, r) {
390
390
  var s = new XMLHttpRequest();
391
391
  s.onreadystatechange = function() {
392
392
  try {
393
393
  if (!/\.svg/i.test(e) && s.readyState === 2) {
394
- var i = s.getResponseHeader("Content-Type");
395
- if (!i)
394
+ var a = s.getResponseHeader("Content-Type");
395
+ if (!a)
396
396
  throw new Error("Content type not found");
397
- var a = jr.parse(i).type;
398
- if (!(a === "image/svg+xml" || a === "text/plain"))
399
- throw new Error("Invalid content type: ".concat(a));
397
+ var i = $r.parse(a).type;
398
+ if (!(i === "image/svg+xml" || i === "text/plain"))
399
+ throw new Error("Invalid content type: ".concat(i));
400
400
  }
401
401
  if (s.readyState === 4) {
402
402
  if (s.status === 404 || s.responseXML === null)
403
- throw new Error(At() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
404
- if (s.status === 200 || At() && s.status === 0)
403
+ throw new Error(Pt() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
404
+ if (s.status === 200 || Pt() && s.status === 0)
405
405
  r(null, s);
406
406
  else
407
407
  throw new Error("There was a problem injecting the SVG: " + s.status + " " + s.statusText);
@@ -413,42 +413,42 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
413
413
  throw o;
414
414
  }
415
415
  }, s.open("GET", e), s.withCredentials = t, s.overrideMimeType && s.overrideMimeType("text/xml"), s.send();
416
- }, ye = {}, Ct = function(e, t) {
416
+ }, ye = {}, At = function(e, t) {
417
417
  ye[e] = ye[e] || [], ye[e].push(t);
418
- }, Ir = function(e) {
419
- for (var t = function(a, o) {
418
+ }, jr = function(e) {
419
+ for (var t = function(i, o) {
420
420
  setTimeout(function() {
421
421
  if (Array.isArray(ye[e])) {
422
- var l = Oe.get(e), c = ye[e][a];
423
- l instanceof SVGSVGElement && c(null, pr(l)), l instanceof Error && c(l), a === ye[e].length - 1 && delete ye[e];
422
+ var l = we.get(e), c = ye[e][i];
423
+ l instanceof SVGSVGElement && c(null, dr(l)), l instanceof Error && c(l), i === ye[e].length - 1 && delete ye[e];
424
424
  }
425
425
  }, 0);
426
426
  }, r = 0, s = ye[e].length; r < s; r++)
427
427
  t(r);
428
- }, Nr = function(e, t, r) {
429
- if (Oe.has(e)) {
430
- var s = Oe.get(e);
428
+ }, Ir = function(e, t, r) {
429
+ if (we.has(e)) {
430
+ var s = we.get(e);
431
431
  if (s === void 0) {
432
- Ct(e, r);
432
+ At(e, r);
433
433
  return;
434
434
  }
435
435
  if (s instanceof SVGSVGElement) {
436
- r(null, pr(s));
436
+ r(null, dr(s));
437
437
  return;
438
438
  }
439
439
  }
440
- Oe.set(e, void 0), Ct(e, r), hr(e, t, function(i, a) {
440
+ we.set(e, void 0), At(e, r), pr(e, t, function(a, i) {
441
441
  var o;
442
- i ? Oe.set(e, i) : ((o = a.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && Oe.set(e, a.responseXML.documentElement), Ir(e);
442
+ a ? we.set(e, a) : ((o = i.responseXML) === null || o === void 0 ? void 0 : o.documentElement) instanceof SVGSVGElement && we.set(e, i.responseXML.documentElement), jr(e);
443
443
  });
444
- }, Mr = function(e, t, r) {
445
- hr(e, t, function(s, i) {
446
- var a;
447
- s ? r(s) : ((a = i.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && r(null, i.responseXML.documentElement);
444
+ }, Nr = function(e, t, r) {
445
+ pr(e, t, function(s, a) {
446
+ var i;
447
+ s ? r(s) : ((i = a.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && r(null, a.responseXML.documentElement);
448
448
  });
449
- }, Fr = 0, Vr = function() {
450
- return ++Fr;
451
- }, fe = [], Lt = {}, Yr = "http://www.w3.org/2000/svg", ot = "http://www.w3.org/1999/xlink", kt = function(e, t, r, s, i, a, o) {
449
+ }, Mr = 0, Fr = function() {
450
+ return ++Mr;
451
+ }, fe = [], Ct = {}, Vr = "http://www.w3.org/2000/svg", it = "http://www.w3.org/1999/xlink", Lt = function(e, t, r, s, a, i, o) {
452
452
  var l = e.getAttribute("data-src") || e.getAttribute("src");
453
453
  if (!l) {
454
454
  o(new Error("Invalid data-src or src attribute"));
@@ -459,8 +459,8 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
459
459
  return;
460
460
  }
461
461
  fe.push(e), e.setAttribute("src", "");
462
- var c = s ? Nr : Mr;
463
- c(l, i, function(f, u) {
462
+ var c = s ? Ir : Nr;
463
+ c(l, a, function(f, u) {
464
464
  if (!u) {
465
465
  fe.splice(fe.indexOf(e), 1), e = null, o(f);
466
466
  return;
@@ -498,7 +498,7 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
498
498
  Object.keys(O).forEach(function(B) {
499
499
  D = B, A = O[B], v = u.querySelectorAll(D + "[id]");
500
500
  for (var k = function(_, S) {
501
- j = v[_].id, Y = j + "-" + Vr();
501
+ j = v[_].id, Y = j + "-" + Fr();
502
502
  var T;
503
503
  Array.prototype.forEach.call(A, function(N) {
504
504
  T = u.querySelectorAll("[" + N + '*="' + j + '"]');
@@ -508,11 +508,11 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
508
508
  }
509
509
  });
510
510
  for (var $ = u.querySelectorAll("[*|href]"), I = [], L = 0, q = $.length; L < q; L++) {
511
- var W = $[L].getAttributeNS(ot, "href");
511
+ var W = $[L].getAttributeNS(it, "href");
512
512
  W && W.toString() === "#" + v[_].id && I.push($[L]);
513
513
  }
514
514
  for (var re = 0, P = I.length; re < P; re++)
515
- I[re].setAttributeNS(ot, "href", "#" + Y);
515
+ I[re].setAttributeNS(it, "href", "#" + Y);
516
516
  v[_].id = Y;
517
517
  }, d = 0, m = v.length; d < m; d++)
518
518
  k(d);
@@ -521,33 +521,33 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
521
521
  u.removeAttribute("xmlns:a");
522
522
  for (var F = u.querySelectorAll("script"), C = [], M, U, J = 0, K = F.length; J < K; J++)
523
523
  U = F[J].getAttribute("type"), (!U || U === "application/ecmascript" || U === "application/javascript" || U === "text/javascript") && (M = F[J].innerText || F[J].textContent, M && C.push(M), u.removeChild(F[J]));
524
- if (C.length > 0 && (t === "always" || t === "once" && !Lt[l])) {
524
+ if (C.length > 0 && (t === "always" || t === "once" && !Ct[l])) {
525
525
  for (var ne = 0, z = C.length; ne < z; ne++)
526
526
  new Function(C[ne])(window);
527
- Lt[l] = !0;
527
+ Ct[l] = !0;
528
528
  }
529
529
  var V = u.querySelectorAll("style");
530
530
  if (Array.prototype.forEach.call(V, function(B) {
531
531
  B.textContent += "";
532
- }), u.setAttribute("xmlns", Yr), u.setAttribute("xmlns:xlink", ot), a(u), !e.parentNode) {
532
+ }), u.setAttribute("xmlns", Vr), u.setAttribute("xmlns:xlink", it), i(u), !e.parentNode) {
533
533
  fe.splice(fe.indexOf(e), 1), e = null, o(new Error("Parent node is null"));
534
534
  return;
535
535
  }
536
536
  e.parentNode.replaceChild(u, e), fe.splice(fe.indexOf(e), 1), e = null, o(null, u);
537
537
  });
538
- }, Ur = function(e, t) {
539
- var r = t === void 0 ? {} : t, s = r.afterAll, i = s === void 0 ? function() {
540
- } : s, a = r.afterEach, o = a === void 0 ? function() {
541
- } : a, l = r.beforeEach, c = l === void 0 ? function() {
538
+ }, Yr = function(e, t) {
539
+ var r = t === void 0 ? {} : t, s = r.afterAll, a = s === void 0 ? function() {
540
+ } : s, i = r.afterEach, o = i === void 0 ? function() {
541
+ } : i, l = r.beforeEach, c = l === void 0 ? function() {
542
542
  } : l, f = r.cacheRequests, u = f === void 0 ? !0 : f, p = r.evalScripts, h = p === void 0 ? "never" : p, g = r.httpRequestWithCredentials, y = g === void 0 ? !1 : g, E = r.renumerateIRIElements, R = E === void 0 ? !0 : E;
543
543
  if (e && "length" in e)
544
544
  for (var x = 0, O = 0, D = e.length; O < D; O++)
545
- kt(e[O], h, R, u, y, c, function(v, A) {
546
- o(v, A), e && "length" in e && e.length === ++x && i(x);
545
+ Lt(e[O], h, R, u, y, c, function(v, A) {
546
+ o(v, A), e && "length" in e && e.length === ++x && a(x);
547
547
  });
548
- else e ? kt(e, h, R, u, y, c, function(v, A) {
549
- o(v, A), i(1), e = null;
550
- }) : i(0);
548
+ else e ? Lt(e, h, R, u, y, c, function(v, A) {
549
+ o(v, A), a(1), e = null;
550
+ }) : a(0);
551
551
  }, Ye = { exports: {} }, Ue = { exports: {} }, X = {};
552
552
  /** @license React v16.13.1
553
553
  * react-is.production.min.js
@@ -557,11 +557,11 @@ var jr = $r(), Oe = /* @__PURE__ */ new Map(), pr = function(e) {
557
557
  * This source code is licensed under the MIT license found in the
558
558
  * LICENSE file in the root directory of this source tree.
559
559
  */
560
- var $t;
561
- function Wr() {
562
- if ($t) return X;
563
- $t = 1;
564
- var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, i = n ? Symbol.for("react.profiler") : 60114, a = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, y = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, R = n ? Symbol.for("react.responder") : 60118, x = n ? Symbol.for("react.scope") : 60119;
560
+ var kt;
561
+ function Ur() {
562
+ if (kt) return X;
563
+ kt = 1;
564
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, y = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, R = n ? Symbol.for("react.responder") : 60118, x = n ? Symbol.for("react.scope") : 60119;
565
565
  function O(v) {
566
566
  if (typeof v == "object" && v !== null) {
567
567
  var A = v.$$typeof;
@@ -571,7 +571,7 @@ function Wr() {
571
571
  case l:
572
572
  case c:
573
573
  case r:
574
- case i:
574
+ case a:
575
575
  case s:
576
576
  case u:
577
577
  return v;
@@ -581,7 +581,7 @@ function Wr() {
581
581
  case f:
582
582
  case g:
583
583
  case h:
584
- case a:
584
+ case i:
585
585
  return v;
586
586
  default:
587
587
  return A;
@@ -595,12 +595,12 @@ function Wr() {
595
595
  function D(v) {
596
596
  return O(v) === c;
597
597
  }
598
- return X.AsyncMode = l, X.ConcurrentMode = c, X.ContextConsumer = o, X.ContextProvider = a, X.Element = e, X.ForwardRef = f, X.Fragment = r, X.Lazy = g, X.Memo = h, X.Portal = t, X.Profiler = i, X.StrictMode = s, X.Suspense = u, X.isAsyncMode = function(v) {
598
+ return X.AsyncMode = l, X.ConcurrentMode = c, X.ContextConsumer = o, X.ContextProvider = i, X.Element = e, X.ForwardRef = f, X.Fragment = r, X.Lazy = g, X.Memo = h, X.Portal = t, X.Profiler = a, X.StrictMode = s, X.Suspense = u, X.isAsyncMode = function(v) {
599
599
  return D(v) || O(v) === l;
600
600
  }, X.isConcurrentMode = D, X.isContextConsumer = function(v) {
601
601
  return O(v) === o;
602
602
  }, X.isContextProvider = function(v) {
603
- return O(v) === a;
603
+ return O(v) === i;
604
604
  }, X.isElement = function(v) {
605
605
  return typeof v == "object" && v !== null && v.$$typeof === e;
606
606
  }, X.isForwardRef = function(v) {
@@ -614,13 +614,13 @@ function Wr() {
614
614
  }, X.isPortal = function(v) {
615
615
  return O(v) === t;
616
616
  }, X.isProfiler = function(v) {
617
- return O(v) === i;
617
+ return O(v) === a;
618
618
  }, X.isStrictMode = function(v) {
619
619
  return O(v) === s;
620
620
  }, X.isSuspense = function(v) {
621
621
  return O(v) === u;
622
622
  }, X.isValidElementType = function(v) {
623
- return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === s || v === u || v === p || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === h || v.$$typeof === a || v.$$typeof === o || v.$$typeof === f || v.$$typeof === E || v.$$typeof === R || v.$$typeof === x || v.$$typeof === y);
623
+ return typeof v == "string" || typeof v == "function" || v === r || v === c || v === a || v === s || v === u || v === p || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === h || v.$$typeof === i || v.$$typeof === o || v.$$typeof === f || v.$$typeof === E || v.$$typeof === R || v.$$typeof === x || v.$$typeof === y);
624
624
  }, X.typeOf = O, X;
625
625
  }
626
626
  var Z = {};
@@ -632,13 +632,13 @@ var Z = {};
632
632
  * This source code is licensed under the MIT license found in the
633
633
  * LICENSE file in the root directory of this source tree.
634
634
  */
635
- var jt;
636
- function Hr() {
637
- return jt || (jt = 1, process.env.NODE_ENV !== "production" && function() {
638
- var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, i = n ? Symbol.for("react.profiler") : 60114, a = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, y = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, R = n ? Symbol.for("react.responder") : 60118, x = n ? Symbol.for("react.scope") : 60119;
635
+ var $t;
636
+ function Wr() {
637
+ return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
638
+ var n = typeof Symbol == "function" && Symbol.for, e = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, r = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, a = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, o = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, c = n ? Symbol.for("react.concurrent_mode") : 60111, f = n ? Symbol.for("react.forward_ref") : 60112, u = n ? Symbol.for("react.suspense") : 60113, p = n ? Symbol.for("react.suspense_list") : 60120, h = n ? Symbol.for("react.memo") : 60115, g = n ? Symbol.for("react.lazy") : 60116, y = n ? Symbol.for("react.block") : 60121, E = n ? Symbol.for("react.fundamental") : 60117, R = n ? Symbol.for("react.responder") : 60118, x = n ? Symbol.for("react.scope") : 60119;
639
639
  function O(P) {
640
640
  return typeof P == "string" || typeof P == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
641
- P === r || P === c || P === i || P === s || P === u || P === p || typeof P == "object" && P !== null && (P.$$typeof === g || P.$$typeof === h || P.$$typeof === a || P.$$typeof === o || P.$$typeof === f || P.$$typeof === E || P.$$typeof === R || P.$$typeof === x || P.$$typeof === y);
641
+ P === r || P === c || P === a || P === s || P === u || P === p || typeof P == "object" && P !== null && (P.$$typeof === g || P.$$typeof === h || P.$$typeof === i || P.$$typeof === o || P.$$typeof === f || P.$$typeof === E || P.$$typeof === R || P.$$typeof === x || P.$$typeof === y);
642
642
  }
643
643
  function D(P) {
644
644
  if (typeof P == "object" && P !== null) {
@@ -650,7 +650,7 @@ function Hr() {
650
650
  case l:
651
651
  case c:
652
652
  case r:
653
- case i:
653
+ case a:
654
654
  case s:
655
655
  case u:
656
656
  return G;
@@ -661,7 +661,7 @@ function Hr() {
661
661
  case f:
662
662
  case g:
663
663
  case h:
664
- case a:
664
+ case i:
665
665
  return ee;
666
666
  default:
667
667
  return N;
@@ -672,7 +672,7 @@ function Hr() {
672
672
  }
673
673
  }
674
674
  }
675
- var v = l, A = c, j = o, Y = a, F = e, C = f, M = r, U = g, J = h, K = t, ne = i, z = s, V = u, B = !1;
675
+ var v = l, A = c, j = o, Y = i, F = e, C = f, M = r, U = g, J = h, K = t, ne = a, z = s, V = u, B = !1;
676
676
  function k(P) {
677
677
  return B || (B = !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.")), d(P) || D(P) === l;
678
678
  }
@@ -683,7 +683,7 @@ function Hr() {
683
683
  return D(P) === o;
684
684
  }
685
685
  function b(P) {
686
- return D(P) === a;
686
+ return D(P) === i;
687
687
  }
688
688
  function _(P) {
689
689
  return typeof P == "object" && P !== null && P.$$typeof === e;
@@ -704,7 +704,7 @@ function Hr() {
704
704
  return D(P) === t;
705
705
  }
706
706
  function q(P) {
707
- return D(P) === i;
707
+ return D(P) === a;
708
708
  }
709
709
  function W(P) {
710
710
  return D(P) === s;
@@ -715,36 +715,36 @@ function Hr() {
715
715
  Z.AsyncMode = v, Z.ConcurrentMode = A, Z.ContextConsumer = j, Z.ContextProvider = Y, Z.Element = F, Z.ForwardRef = C, Z.Fragment = M, Z.Lazy = U, Z.Memo = J, Z.Portal = K, Z.Profiler = ne, Z.StrictMode = z, Z.Suspense = V, Z.isAsyncMode = k, Z.isConcurrentMode = d, Z.isContextConsumer = m, Z.isContextProvider = b, Z.isElement = _, Z.isForwardRef = S, Z.isFragment = T, Z.isLazy = $, Z.isMemo = I, Z.isPortal = L, Z.isProfiler = q, Z.isStrictMode = W, Z.isSuspense = re, Z.isValidElementType = O, Z.typeOf = D;
716
716
  }()), Z;
717
717
  }
718
- var It;
719
- function mr() {
720
- return It || (It = 1, process.env.NODE_ENV === "production" ? Ue.exports = Wr() : Ue.exports = Hr()), Ue.exports;
718
+ var jt;
719
+ function hr() {
720
+ return jt || (jt = 1, process.env.NODE_ENV === "production" ? Ue.exports = Ur() : Ue.exports = Wr()), Ue.exports;
721
721
  }
722
722
  /*
723
723
  object-assign
724
724
  (c) Sindre Sorhus
725
725
  @license MIT
726
726
  */
727
- var lt, Nt;
728
- function qr() {
729
- if (Nt) return lt;
730
- Nt = 1;
727
+ var ot, It;
728
+ function Hr() {
729
+ if (It) return ot;
730
+ It = 1;
731
731
  var n = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
732
- function r(i) {
733
- if (i == null)
732
+ function r(a) {
733
+ if (a == null)
734
734
  throw new TypeError("Object.assign cannot be called with null or undefined");
735
- return Object(i);
735
+ return Object(a);
736
736
  }
737
737
  function s() {
738
738
  try {
739
739
  if (!Object.assign)
740
740
  return !1;
741
- var i = new String("abc");
742
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
741
+ var a = new String("abc");
742
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
743
743
  return !1;
744
- for (var a = {}, o = 0; o < 10; o++)
745
- a["_" + String.fromCharCode(o)] = o;
746
- var l = Object.getOwnPropertyNames(a).map(function(f) {
747
- return a[f];
744
+ for (var i = {}, o = 0; o < 10; o++)
745
+ i["_" + String.fromCharCode(o)] = o;
746
+ var l = Object.getOwnPropertyNames(i).map(function(f) {
747
+ return i[f];
748
748
  });
749
749
  if (l.join("") !== "0123456789")
750
750
  return !1;
@@ -756,8 +756,8 @@ function qr() {
756
756
  return !1;
757
757
  }
758
758
  }
759
- return lt = s() ? Object.assign : function(i, a) {
760
- for (var o, l = r(i), c, f = 1; f < arguments.length; f++) {
759
+ return ot = s() ? Object.assign : function(a, i) {
760
+ for (var o, l = r(a), c, f = 1; f < arguments.length; f++) {
761
761
  o = Object(arguments[f]);
762
762
  for (var u in o)
763
763
  e.call(o, u) && (l[u] = o[u]);
@@ -768,49 +768,49 @@ function qr() {
768
768
  }
769
769
  }
770
770
  return l;
771
- }, lt;
771
+ }, ot;
772
772
  }
773
- var ct, Mt;
774
- function Et() {
775
- if (Mt) return ct;
776
- Mt = 1;
773
+ var lt, Nt;
774
+ function St() {
775
+ if (Nt) return lt;
776
+ Nt = 1;
777
777
  var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
778
- return ct = n, ct;
778
+ return lt = n, lt;
779
779
  }
780
- var ut, Ft;
781
- function gr() {
782
- return Ft || (Ft = 1, ut = Function.call.bind(Object.prototype.hasOwnProperty)), ut;
780
+ var ct, Mt;
781
+ function mr() {
782
+ return Mt || (Mt = 1, ct = Function.call.bind(Object.prototype.hasOwnProperty)), ct;
783
783
  }
784
- var ft, Vt;
785
- function Kr() {
786
- if (Vt) return ft;
787
- Vt = 1;
784
+ var ut, Ft;
785
+ function qr() {
786
+ if (Ft) return ut;
787
+ Ft = 1;
788
788
  var n = function() {
789
789
  };
790
790
  if (process.env.NODE_ENV !== "production") {
791
- var e = /* @__PURE__ */ Et(), t = {}, r = /* @__PURE__ */ gr();
792
- n = function(i) {
793
- var a = "Warning: " + i;
794
- typeof console < "u" && console.error(a);
791
+ var e = /* @__PURE__ */ St(), t = {}, r = /* @__PURE__ */ mr();
792
+ n = function(a) {
793
+ var i = "Warning: " + a;
794
+ typeof console < "u" && console.error(i);
795
795
  try {
796
- throw new Error(a);
796
+ throw new Error(i);
797
797
  } catch {
798
798
  }
799
799
  };
800
800
  }
801
- function s(i, a, o, l, c) {
801
+ function s(a, i, o, l, c) {
802
802
  if (process.env.NODE_ENV !== "production") {
803
- for (var f in i)
804
- if (r(i, f)) {
803
+ for (var f in a)
804
+ if (r(a, f)) {
805
805
  var u;
806
806
  try {
807
- if (typeof i[f] != "function") {
807
+ if (typeof a[f] != "function") {
808
808
  var p = Error(
809
- (l || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
809
+ (l || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
810
810
  );
811
811
  throw p.name = "Invariant Violation", p;
812
812
  }
813
- u = i[f](a, f, l, o, null, e);
813
+ u = a[f](i, f, l, o, null, e);
814
814
  } catch (g) {
815
815
  u = g;
816
816
  }
@@ -828,15 +828,15 @@ function Kr() {
828
828
  }
829
829
  return s.resetWarningCache = function() {
830
830
  process.env.NODE_ENV !== "production" && (t = {});
831
- }, ft = s, ft;
831
+ }, ut = s, ut;
832
832
  }
833
- var dt, Yt;
834
- function Br() {
835
- if (Yt) return dt;
836
- Yt = 1;
837
- var n = mr(), e = qr(), t = /* @__PURE__ */ Et(), r = /* @__PURE__ */ gr(), s = /* @__PURE__ */ Kr(), i = function() {
833
+ var ft, Vt;
834
+ function Kr() {
835
+ if (Vt) return ft;
836
+ Vt = 1;
837
+ var n = hr(), e = Hr(), t = /* @__PURE__ */ St(), r = /* @__PURE__ */ mr(), s = /* @__PURE__ */ qr(), a = function() {
838
838
  };
839
- process.env.NODE_ENV !== "production" && (i = function(o) {
839
+ process.env.NODE_ENV !== "production" && (a = function(o) {
840
840
  var l = "Warning: " + o;
841
841
  typeof console < "u" && console.error(l);
842
842
  try {
@@ -844,10 +844,10 @@ function Br() {
844
844
  } catch {
845
845
  }
846
846
  });
847
- function a() {
847
+ function i() {
848
848
  return null;
849
849
  }
850
- return dt = function(o, l) {
850
+ return ft = function(o, l) {
851
851
  var c = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
852
852
  function u(d) {
853
853
  var m = d && (c && d[c] || d[f]);
@@ -895,7 +895,7 @@ function Br() {
895
895
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
896
896
  var N = L + ":" + I;
897
897
  !m[N] && // Avoid spamming the console because they are often not actionable except for lib authors
898
- b < 3 && (i(
898
+ b < 3 && (a(
899
899
  "You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + L + "`. 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."
900
900
  ), m[N] = !0, b++);
901
901
  }
@@ -920,7 +920,7 @@ function Br() {
920
920
  return E(m);
921
921
  }
922
922
  function x() {
923
- return E(a);
923
+ return E(i);
924
924
  }
925
925
  function O(d) {
926
926
  function m(b, _, S, T, $) {
@@ -974,9 +974,9 @@ function Br() {
974
974
  }
975
975
  function j(d) {
976
976
  if (!Array.isArray(d))
977
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
977
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
978
978
  "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])."
979
- ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
979
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
980
980
  function m(b, _, S, T, $) {
981
981
  for (var I = b[_], L = 0; L < d.length; L++)
982
982
  if (g(I, d[L]))
@@ -1008,13 +1008,13 @@ function Br() {
1008
1008
  }
1009
1009
  function F(d) {
1010
1010
  if (!Array.isArray(d))
1011
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
1011
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
1012
1012
  for (var m = 0; m < d.length; m++) {
1013
1013
  var b = d[m];
1014
1014
  if (typeof b != "function")
1015
- return i(
1015
+ return a(
1016
1016
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(b) + " at index " + m + "."
1017
- ), a;
1017
+ ), i;
1018
1018
  }
1019
1019
  function _(S, T, $, I, L) {
1020
1020
  for (var q = [], W = 0; W < d.length; W++) {
@@ -1149,19 +1149,19 @@ Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
1149
1149
  return !d.constructor || !d.constructor.name ? p : d.constructor.name;
1150
1150
  }
1151
1151
  return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
1152
- }, dt;
1152
+ }, ft;
1153
1153
  }
1154
- var pt, Ut;
1155
- function Gr() {
1156
- if (Ut) return pt;
1157
- Ut = 1;
1158
- var n = /* @__PURE__ */ Et();
1154
+ var dt, Yt;
1155
+ function Br() {
1156
+ if (Yt) return dt;
1157
+ Yt = 1;
1158
+ var n = /* @__PURE__ */ St();
1159
1159
  function e() {
1160
1160
  }
1161
1161
  function t() {
1162
1162
  }
1163
- return t.resetWarningCache = e, pt = function() {
1164
- function r(a, o, l, c, f, u) {
1163
+ return t.resetWarningCache = e, dt = function() {
1164
+ function r(i, o, l, c, f, u) {
1165
1165
  if (u !== n) {
1166
1166
  var p = new Error(
1167
1167
  "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"
@@ -1173,7 +1173,7 @@ function Gr() {
1173
1173
  function s() {
1174
1174
  return r;
1175
1175
  }
1176
- var i = {
1176
+ var a = {
1177
1177
  array: r,
1178
1178
  bigint: r,
1179
1179
  bool: r,
@@ -1196,23 +1196,23 @@ function Gr() {
1196
1196
  checkPropTypes: t,
1197
1197
  resetWarningCache: e
1198
1198
  };
1199
- return i.PropTypes = i, i;
1200
- }, pt;
1199
+ return a.PropTypes = a, a;
1200
+ }, dt;
1201
1201
  }
1202
- var Wt;
1203
- function zr() {
1204
- if (Wt) return Ye.exports;
1205
- if (Wt = 1, process.env.NODE_ENV !== "production") {
1206
- var n = mr(), e = !0;
1207
- Ye.exports = /* @__PURE__ */ Br()(n.isElement, e);
1202
+ var Ut;
1203
+ function Gr() {
1204
+ if (Ut) return Ye.exports;
1205
+ if (Ut = 1, process.env.NODE_ENV !== "production") {
1206
+ var n = hr(), e = !0;
1207
+ Ye.exports = /* @__PURE__ */ Kr()(n.isElement, e);
1208
1208
  } else
1209
- Ye.exports = /* @__PURE__ */ Gr()();
1209
+ Ye.exports = /* @__PURE__ */ Br()();
1210
1210
  return Ye.exports;
1211
1211
  }
1212
- var ie = /* @__PURE__ */ zr(), Jr = function(e) {
1212
+ var ae = /* @__PURE__ */ Gr(), zr = function(e) {
1213
1213
  var t = (e == null ? void 0 : e.ownerDocument) || document;
1214
1214
  return t.defaultView || window;
1215
- }, Xr = function(e, t) {
1215
+ }, Jr = function(e, t) {
1216
1216
  for (var r in e)
1217
1217
  if (!(r in t))
1218
1218
  return !0;
@@ -1220,24 +1220,24 @@ var ie = /* @__PURE__ */ zr(), Jr = function(e) {
1220
1220
  if (e[s] !== t[s])
1221
1221
  return !0;
1222
1222
  return !1;
1223
- }, Zr = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], We = "http://www.w3.org/2000/svg", Ht = "http://www.w3.org/1999/xlink", Ge = /* @__PURE__ */ function(n) {
1223
+ }, Xr = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], We = "http://www.w3.org/2000/svg", Wt = "http://www.w3.org/1999/xlink", Ge = /* @__PURE__ */ function(n) {
1224
1224
  function e() {
1225
- for (var r, s = arguments.length, i = new Array(s), a = 0; a < s; a++)
1226
- i[a] = arguments[a];
1227
- return r = n.call.apply(n, [this].concat(i)) || this, r.initialState = {
1225
+ for (var r, s = arguments.length, a = new Array(s), i = 0; i < s; i++)
1226
+ a[i] = arguments[i];
1227
+ return r = n.call.apply(n, [this].concat(a)) || this, r.initialState = {
1228
1228
  hasError: !1,
1229
1229
  isLoading: !0
1230
1230
  }, r.state = r.initialState, r._isMounted = !1, r.reactWrapper = void 0, r.nonReactWrapper = void 0, r.refCallback = function(o) {
1231
1231
  r.reactWrapper = o;
1232
1232
  }, r;
1233
1233
  }
1234
- kr(e, n);
1234
+ Lr(e, n);
1235
1235
  var t = e.prototype;
1236
1236
  return t.renderSVG = function() {
1237
1237
  var s = this;
1238
- if (this.reactWrapper instanceof Jr(this.reactWrapper).Node) {
1239
- var i = this.props, a = i.desc, o = i.evalScripts, l = i.httpRequestWithCredentials, c = i.renumerateIRIElements, f = i.src, u = i.title, p = i.useRequestCache, h = this.props.onError, g = this.props.beforeInjection, y = this.props.afterInjection, E = this.props.wrapper, R, x;
1240
- E === "svg" ? (R = document.createElementNS(We, E), R.setAttribute("xmlns", We), R.setAttribute("xmlns:xlink", Ht), x = document.createElementNS(We, E)) : (R = document.createElement(E), x = document.createElement(E)), R.appendChild(x), x.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(R);
1238
+ if (this.reactWrapper instanceof zr(this.reactWrapper).Node) {
1239
+ var a = this.props, i = a.desc, o = a.evalScripts, l = a.httpRequestWithCredentials, c = a.renumerateIRIElements, f = a.src, u = a.title, p = a.useRequestCache, h = this.props.onError, g = this.props.beforeInjection, y = this.props.afterInjection, E = this.props.wrapper, R, x;
1240
+ E === "svg" ? (R = document.createElementNS(We, E), R.setAttribute("xmlns", We), R.setAttribute("xmlns:xlink", Wt), x = document.createElementNS(We, E)) : (R = document.createElement(E), x = document.createElement(E)), R.appendChild(x), x.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(R);
1241
1241
  var O = function(j) {
1242
1242
  if (s.removeSVG(), !s._isMounted) {
1243
1243
  h(j);
@@ -1268,11 +1268,11 @@ var ie = /* @__PURE__ */ zr(), Jr = function(e) {
1268
1268
  }
1269
1269
  });
1270
1270
  }, v = function(j) {
1271
- if (j.setAttribute("role", "img"), a) {
1271
+ if (j.setAttribute("role", "img"), i) {
1272
1272
  var Y = j.querySelector(":scope > desc");
1273
1273
  Y && j.removeChild(Y);
1274
1274
  var F = document.createElement("desc");
1275
- F.innerHTML = a, j.prepend(F);
1275
+ F.innerHTML = i, j.prepend(F);
1276
1276
  }
1277
1277
  if (u) {
1278
1278
  var C = j.querySelector(":scope > title");
@@ -1286,7 +1286,7 @@ var ie = /* @__PURE__ */ zr(), Jr = function(e) {
1286
1286
  O(U);
1287
1287
  }
1288
1288
  };
1289
- Ur(x, {
1289
+ Yr(x, {
1290
1290
  afterEach: D,
1291
1291
  beforeEach: v,
1292
1292
  cacheRequests: p,
@@ -1301,28 +1301,28 @@ var ie = /* @__PURE__ */ zr(), Jr = function(e) {
1301
1301
  }, t.componentDidMount = function() {
1302
1302
  this._isMounted = !0, this.renderSVG();
1303
1303
  }, t.componentDidUpdate = function(s) {
1304
- var i = this;
1305
- Xr(Be({}, s), this.props) && this.setState(function() {
1306
- return i.initialState;
1304
+ var a = this;
1305
+ Jr(Be({}, s), this.props) && this.setState(function() {
1306
+ return a.initialState;
1307
1307
  }, function() {
1308
- i.removeSVG(), i.renderSVG();
1308
+ a.removeSVG(), a.renderSVG();
1309
1309
  });
1310
1310
  }, t.componentWillUnmount = function() {
1311
1311
  this._isMounted = !1, this.removeSVG();
1312
1312
  }, t.render = function() {
1313
1313
  var s = this.props;
1314
1314
  s.afterInjection, s.beforeInjection, s.desc, s.evalScripts;
1315
- var i = s.fallback;
1315
+ var a = s.fallback;
1316
1316
  s.httpRequestWithCredentials;
1317
- var a = s.loading;
1317
+ var i = s.loading;
1318
1318
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1319
- var o = s.wrapper, l = Lr(s, Zr), c = o;
1319
+ var o = s.wrapper, l = Cr(s, Xr), c = o;
1320
1320
  return /* @__PURE__ */ Me.createElement(c, Be({}, l, {
1321
1321
  ref: this.refCallback
1322
1322
  }, o === "svg" ? {
1323
1323
  xmlns: We,
1324
- xmlnsXlink: Ht
1325
- } : {}), this.state.isLoading && a && /* @__PURE__ */ Me.createElement(a, null), this.state.hasError && i && /* @__PURE__ */ Me.createElement(i, null));
1324
+ xmlnsXlink: Wt
1325
+ } : {}), this.state.isLoading && i && /* @__PURE__ */ Me.createElement(i, null), this.state.hasError && a && /* @__PURE__ */ Me.createElement(a, null));
1326
1326
  }, e;
1327
1327
  }(Me.Component);
1328
1328
  Ge.defaultProps = {
@@ -1343,21 +1343,21 @@ Ge.defaultProps = {
1343
1343
  wrapper: "div"
1344
1344
  };
1345
1345
  Ge.propTypes = {
1346
- afterInjection: ie.func,
1347
- beforeInjection: ie.func,
1348
- desc: ie.string,
1349
- evalScripts: ie.oneOf(["always", "once", "never"]),
1350
- fallback: ie.oneOfType([ie.func, ie.object, ie.string]),
1351
- httpRequestWithCredentials: ie.bool,
1352
- loading: ie.oneOfType([ie.func, ie.object, ie.string]),
1353
- onError: ie.func,
1354
- renumerateIRIElements: ie.bool,
1355
- src: ie.string.isRequired,
1356
- title: ie.string,
1357
- useRequestCache: ie.bool,
1358
- wrapper: ie.oneOf(["div", "span", "svg"])
1346
+ afterInjection: ae.func,
1347
+ beforeInjection: ae.func,
1348
+ desc: ae.string,
1349
+ evalScripts: ae.oneOf(["always", "once", "never"]),
1350
+ fallback: ae.oneOfType([ae.func, ae.object, ae.string]),
1351
+ httpRequestWithCredentials: ae.bool,
1352
+ loading: ae.oneOfType([ae.func, ae.object, ae.string]),
1353
+ onError: ae.func,
1354
+ renumerateIRIElements: ae.bool,
1355
+ src: ae.string.isRequired,
1356
+ title: ae.string,
1357
+ useRequestCache: ae.bool,
1358
+ wrapper: ae.oneOf(["div", "span", "svg"])
1359
1359
  };
1360
- const Ae = {
1360
+ const Pe = {
1361
1361
  "smp-icon": "_smp-icon_ttsft_1",
1362
1362
  "smp-icon-rotated": "_smp-icon-rotated_ttsft_15",
1363
1363
  "smp-icon-base": "_smp-icon-base_ttsft_19",
@@ -1368,32 +1368,32 @@ const Ae = {
1368
1368
  "smp-icon-onPrimary": "_smp-icon-onPrimary_ttsft_49",
1369
1369
  "smp-icon-spin": "_smp-icon-spin_ttsft_53"
1370
1370
  };
1371
- let vt = {
1371
+ let yt = {
1372
1372
  assets: "/"
1373
1373
  // Default for storybook isolation development
1374
1374
  };
1375
1375
  const ns = (n) => {
1376
- vt = { ...vt, ...n };
1377
- }, qt = (n) => `${vt.assets}/${n}`.replace(/\/+/g, "/"), ve = dr.memo(
1376
+ yt = { ...yt, ...n };
1377
+ }, Ht = (n) => `${yt.assets}/${n}`.replace(/\/+/g, "/"), ve = fr.memo(
1378
1378
  ({
1379
1379
  icon: n,
1380
1380
  width: e,
1381
1381
  height: t,
1382
1382
  placeholderIcon: r,
1383
1383
  color: s,
1384
- disabled: i,
1385
- state: a = "base",
1384
+ disabled: a,
1385
+ state: i = "base",
1386
1386
  rotated: o = !1,
1387
1387
  onClick: l,
1388
1388
  isInteractable: c = !1,
1389
1389
  spin: f = !1
1390
1390
  }) => {
1391
- const [u, p] = Q(n), h = n.indexOf(".") > -1 || n.indexOf("/") > -1 || n.indexOf("\\") > -1, g = qt(`assets/svg/${n}.svg`), y = qt(
1391
+ const [u, p] = Q(n), h = n.indexOf(".") > -1 || n.indexOf("/") > -1 || n.indexOf("\\") > -1, g = Ht(`assets/svg/${n}.svg`), y = Ht(
1392
1392
  `assets/svg/${r}.svg`
1393
1393
  ), E = {
1394
- svg: `${Ae["smp-icon"]} ${a ? Ae[`smp-icon-${a}`] : ""} ${o ? Ae["smp-icon-rotated"] : ""} ${c ? Ae["smp-icon-interactable"] : ""} ${f ? Ae["smp-icon-spin"] : ""}`
1394
+ svg: `${Pe["smp-icon"]} ${i ? Pe[`smp-icon-${i}`] : ""} ${o ? Pe["smp-icon-rotated"] : ""} ${c ? Pe["smp-icon-interactable"] : ""} ${f ? Pe["smp-icon-spin"] : ""}`
1395
1395
  }, R = () => {
1396
- !i && l && l();
1396
+ !a && l && l();
1397
1397
  };
1398
1398
  return /* @__PURE__ */ w.jsx(w.Fragment, { children: h ? /* @__PURE__ */ w.jsx(
1399
1399
  "img",
@@ -1415,13 +1415,13 @@ const ns = (n) => {
1415
1415
  title: n,
1416
1416
  role: "application",
1417
1417
  fill: s,
1418
- "aria-disabled": i,
1418
+ "aria-disabled": a,
1419
1419
  className: E.svg,
1420
1420
  onClick: R
1421
1421
  }
1422
1422
  ) });
1423
1423
  }
1424
- ), Ce = {
1424
+ ), Ae = {
1425
1425
  "smp-dash-list": "_smp-dash-list_ajkcc_1",
1426
1426
  "smp-dash-list-fill-space": "_smp-dash-list-fill-space_ajkcc_25",
1427
1427
  "smp-dash-list-horizontal": "_smp-dash-list-horizontal_ajkcc_30",
@@ -1432,63 +1432,63 @@ const ns = (n) => {
1432
1432
  "smp-layout-1__value": "_smp-layout-1__value_ajkcc_76",
1433
1433
  "smp-layout-2__value": "_smp-layout-2__value_ajkcc_77",
1434
1434
  "smp-layout-2__icon": "_smp-layout-2__icon_ajkcc_84"
1435
- }, H = (n) => typeof n == "string", Le = () => {
1435
+ }, H = (n) => typeof n == "string", Ce = () => {
1436
1436
  let n, e;
1437
1437
  const t = new Promise((r, s) => {
1438
1438
  n = r, e = s;
1439
1439
  });
1440
1440
  return t.resolve = n, t.reject = e, t;
1441
- }, Kt = (n) => n == null ? "" : "" + n, Qr = (n, e, t) => {
1441
+ }, qt = (n) => n == null ? "" : "" + n, Zr = (n, e, t) => {
1442
1442
  n.forEach((r) => {
1443
1443
  e[r] && (t[r] = e[r]);
1444
1444
  });
1445
- }, en = /###/g, Bt = (n) => n && n.indexOf("###") > -1 ? n.replace(en, ".") : n, Gt = (n) => !n || H(n), je = (n, e, t) => {
1445
+ }, Qr = /###/g, Kt = (n) => n && n.indexOf("###") > -1 ? n.replace(Qr, ".") : n, Bt = (n) => !n || H(n), $e = (n, e, t) => {
1446
1446
  const r = H(e) ? e.split(".") : e;
1447
1447
  let s = 0;
1448
1448
  for (; s < r.length - 1; ) {
1449
- if (Gt(n)) return {};
1450
- const i = Bt(r[s]);
1451
- !n[i] && t && (n[i] = new t()), Object.prototype.hasOwnProperty.call(n, i) ? n = n[i] : n = {}, ++s;
1449
+ if (Bt(n)) return {};
1450
+ const a = Kt(r[s]);
1451
+ !n[a] && t && (n[a] = new t()), Object.prototype.hasOwnProperty.call(n, a) ? n = n[a] : n = {}, ++s;
1452
1452
  }
1453
- return Gt(n) ? {} : {
1453
+ return Bt(n) ? {} : {
1454
1454
  obj: n,
1455
- k: Bt(r[s])
1455
+ k: Kt(r[s])
1456
1456
  };
1457
- }, zt = (n, e, t) => {
1457
+ }, Gt = (n, e, t) => {
1458
1458
  const {
1459
1459
  obj: r,
1460
1460
  k: s
1461
- } = je(n, e, Object);
1461
+ } = $e(n, e, Object);
1462
1462
  if (r !== void 0 || e.length === 1) {
1463
1463
  r[s] = t;
1464
1464
  return;
1465
1465
  }
1466
- let i = e[e.length - 1], a = e.slice(0, e.length - 1), o = je(n, a, Object);
1467
- for (; o.obj === void 0 && a.length; )
1468
- i = `${a[a.length - 1]}.${i}`, a = a.slice(0, a.length - 1), o = je(n, a, Object), o != null && o.obj && typeof o.obj[`${o.k}.${i}`] < "u" && (o.obj = void 0);
1469
- o.obj[`${o.k}.${i}`] = t;
1470
- }, tn = (n, e, t, r) => {
1466
+ let a = e[e.length - 1], i = e.slice(0, e.length - 1), o = $e(n, i, Object);
1467
+ for (; o.obj === void 0 && i.length; )
1468
+ a = `${i[i.length - 1]}.${a}`, i = i.slice(0, i.length - 1), o = $e(n, i, Object), o != null && o.obj && typeof o.obj[`${o.k}.${a}`] < "u" && (o.obj = void 0);
1469
+ o.obj[`${o.k}.${a}`] = t;
1470
+ }, en = (n, e, t, r) => {
1471
1471
  const {
1472
1472
  obj: s,
1473
- k: i
1474
- } = je(n, e, Object);
1475
- s[i] = s[i] || [], s[i].push(t);
1473
+ k: a
1474
+ } = $e(n, e, Object);
1475
+ s[a] = s[a] || [], s[a].push(t);
1476
1476
  }, ze = (n, e) => {
1477
1477
  const {
1478
1478
  obj: t,
1479
1479
  k: r
1480
- } = je(n, e);
1480
+ } = $e(n, e);
1481
1481
  if (t && Object.prototype.hasOwnProperty.call(t, r))
1482
1482
  return t[r];
1483
- }, rn = (n, e, t) => {
1483
+ }, tn = (n, e, t) => {
1484
1484
  const r = ze(n, t);
1485
1485
  return r !== void 0 ? r : ze(e, t);
1486
- }, yr = (n, e, t) => {
1486
+ }, gr = (n, e, t) => {
1487
1487
  for (const r in e)
1488
- r !== "__proto__" && r !== "constructor" && (r in n ? H(n[r]) || n[r] instanceof String || H(e[r]) || e[r] instanceof String ? t && (n[r] = e[r]) : yr(n[r], e[r], t) : n[r] = e[r]);
1488
+ r !== "__proto__" && r !== "constructor" && (r in n ? H(n[r]) || n[r] instanceof String || H(e[r]) || e[r] instanceof String ? t && (n[r] = e[r]) : gr(n[r], e[r], t) : n[r] = e[r]);
1489
1489
  return n;
1490
1490
  }, _e = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
1491
- var nn = {
1491
+ var rn = {
1492
1492
  "&": "&amp;",
1493
1493
  "<": "&lt;",
1494
1494
  ">": "&gt;",
@@ -1496,8 +1496,8 @@ var nn = {
1496
1496
  "'": "&#39;",
1497
1497
  "/": "&#x2F;"
1498
1498
  };
1499
- const sn = (n) => H(n) ? n.replace(/[&<>"'\/]/g, (e) => nn[e]) : n;
1500
- class an {
1499
+ const nn = (n) => H(n) ? n.replace(/[&<>"'\/]/g, (e) => rn[e]) : n;
1500
+ class sn {
1501
1501
  constructor(e) {
1502
1502
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
1503
1503
  }
@@ -1509,38 +1509,38 @@ class an {
1509
1509
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, r), this.regExpQueue.push(e), r;
1510
1510
  }
1511
1511
  }
1512
- const on = [" ", ",", "?", "!", ";"], ln = new an(20), cn = (n, e, t) => {
1512
+ const an = [" ", ",", "?", "!", ";"], on = new sn(20), ln = (n, e, t) => {
1513
1513
  e = e || "", t = t || "";
1514
- const r = on.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
1514
+ const r = an.filter((i) => e.indexOf(i) < 0 && t.indexOf(i) < 0);
1515
1515
  if (r.length === 0) return !0;
1516
- const s = ln.getRegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
1517
- let i = !s.test(n);
1518
- if (!i) {
1519
- const a = n.indexOf(t);
1520
- a > 0 && !s.test(n.substring(0, a)) && (i = !0);
1521
- }
1522
- return i;
1523
- }, bt = (n, e, t = ".") => {
1516
+ const s = on.getRegExp(`(${r.map((i) => i === "?" ? "\\?" : i).join("|")})`);
1517
+ let a = !s.test(n);
1518
+ if (!a) {
1519
+ const i = n.indexOf(t);
1520
+ i > 0 && !s.test(n.substring(0, i)) && (a = !0);
1521
+ }
1522
+ return a;
1523
+ }, vt = (n, e, t = ".") => {
1524
1524
  if (!n) return;
1525
1525
  if (n[e])
1526
1526
  return Object.prototype.hasOwnProperty.call(n, e) ? n[e] : void 0;
1527
1527
  const r = e.split(t);
1528
1528
  let s = n;
1529
- for (let i = 0; i < r.length; ) {
1529
+ for (let a = 0; a < r.length; ) {
1530
1530
  if (!s || typeof s != "object")
1531
1531
  return;
1532
- let a, o = "";
1533
- for (let l = i; l < r.length; ++l)
1534
- if (l !== i && (o += t), o += r[l], a = s[o], a !== void 0) {
1535
- if (["string", "number", "boolean"].indexOf(typeof a) > -1 && l < r.length - 1)
1532
+ let i, o = "";
1533
+ for (let l = a; l < r.length; ++l)
1534
+ if (l !== a && (o += t), o += r[l], i = s[o], i !== void 0) {
1535
+ if (["string", "number", "boolean"].indexOf(typeof i) > -1 && l < r.length - 1)
1536
1536
  continue;
1537
- i += l - i + 1;
1537
+ a += l - a + 1;
1538
1538
  break;
1539
1539
  }
1540
- s = a;
1540
+ s = i;
1541
1541
  }
1542
1542
  return s;
1543
- }, Je = (n) => n == null ? void 0 : n.replace("_", "-"), un = {
1543
+ }, Ie = (n) => n == null ? void 0 : n.replace("_", "-"), cn = {
1544
1544
  type: "logger",
1545
1545
  log(n) {
1546
1546
  this.output("log", n);
@@ -1556,12 +1556,12 @@ const on = [" ", ",", "?", "!", ";"], ln = new an(20), cn = (n, e, t) => {
1556
1556
  (r = (t = console == null ? void 0 : console[n]) == null ? void 0 : t.apply) == null || r.call(t, console, e);
1557
1557
  }
1558
1558
  };
1559
- class Xe {
1559
+ class Je {
1560
1560
  constructor(e, t = {}) {
1561
1561
  this.init(e, t);
1562
1562
  }
1563
1563
  init(e, t = {}) {
1564
- this.prefix = t.prefix || "i18next:", this.logger = e || un, this.options = t, this.debug = t.debug;
1564
+ this.prefix = t.prefix || "i18next:", this.logger = e || cn, this.options = t, this.debug = t.debug;
1565
1565
  }
1566
1566
  log(...e) {
1567
1567
  return this.forward(e, "log", "", !0);
@@ -1579,17 +1579,17 @@ class Xe {
1579
1579
  return s && !this.debug ? null : (H(e[0]) && (e[0] = `${r}${this.prefix} ${e[0]}`), this.logger[t](e));
1580
1580
  }
1581
1581
  create(e) {
1582
- return new Xe(this.logger, {
1582
+ return new Je(this.logger, {
1583
1583
  prefix: `${this.prefix}:${e}:`,
1584
1584
  ...this.options
1585
1585
  });
1586
1586
  }
1587
1587
  clone(e) {
1588
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new Xe(this.logger, e);
1588
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new Je(this.logger, e);
1589
1589
  }
1590
1590
  }
1591
- var pe = new Xe();
1592
- class st {
1591
+ var pe = new Je();
1592
+ class nt {
1593
1593
  constructor() {
1594
1594
  this.observers = {};
1595
1595
  }
@@ -1610,16 +1610,16 @@ class st {
1610
1610
  }
1611
1611
  }
1612
1612
  emit(e, ...t) {
1613
- this.observers[e] && Array.from(this.observers[e].entries()).forEach(([s, i]) => {
1614
- for (let a = 0; a < i; a++)
1613
+ this.observers[e] && Array.from(this.observers[e].entries()).forEach(([s, a]) => {
1614
+ for (let i = 0; i < a; i++)
1615
1615
  s(...t);
1616
- }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([s, i]) => {
1617
- for (let a = 0; a < i; a++)
1616
+ }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([s, a]) => {
1617
+ for (let i = 0; i < a; i++)
1618
1618
  s.apply(s, [e, ...t]);
1619
1619
  });
1620
1620
  }
1621
1621
  }
1622
- class Jt extends st {
1622
+ class zt extends nt {
1623
1623
  constructor(e, t = {
1624
1624
  ns: ["translation"],
1625
1625
  defaultNS: "translation"
@@ -1635,39 +1635,39 @@ class Jt extends st {
1635
1635
  }
1636
1636
  getResource(e, t, r, s = {}) {
1637
1637
  var c, f;
1638
- const i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
1638
+ const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, i = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
1639
1639
  let o;
1640
- e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], r && (Array.isArray(r) ? o.push(...r) : H(r) && i ? o.push(...r.split(i)) : o.push(r)));
1640
+ e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], r && (Array.isArray(r) ? o.push(...r) : H(r) && a ? o.push(...r.split(a)) : o.push(r)));
1641
1641
  const l = ze(this.data, o);
1642
- return !l && !t && !r && e.indexOf(".") > -1 && (e = o[0], t = o[1], r = o.slice(2).join(".")), l || !a || !H(r) ? l : bt((f = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : f[t], r, i);
1642
+ return !l && !t && !r && e.indexOf(".") > -1 && (e = o[0], t = o[1], r = o.slice(2).join(".")), l || !i || !H(r) ? l : vt((f = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : f[t], r, a);
1643
1643
  }
1644
- addResource(e, t, r, s, i = {
1644
+ addResource(e, t, r, s, a = {
1645
1645
  silent: !1
1646
1646
  }) {
1647
- const a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
1647
+ const i = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
1648
1648
  let o = [e, t];
1649
- r && (o = o.concat(a ? r.split(a) : r)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), zt(this.data, o, s), i.silent || this.emit("added", e, t, r, s);
1649
+ r && (o = o.concat(i ? r.split(i) : r)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), Gt(this.data, o, s), a.silent || this.emit("added", e, t, r, s);
1650
1650
  }
1651
1651
  addResources(e, t, r, s = {
1652
1652
  silent: !1
1653
1653
  }) {
1654
- for (const i in r)
1655
- (H(r[i]) || Array.isArray(r[i])) && this.addResource(e, t, i, r[i], {
1654
+ for (const a in r)
1655
+ (H(r[a]) || Array.isArray(r[a])) && this.addResource(e, t, a, r[a], {
1656
1656
  silent: !0
1657
1657
  });
1658
1658
  s.silent || this.emit("added", e, t, r);
1659
1659
  }
1660
- addResourceBundle(e, t, r, s, i, a = {
1660
+ addResourceBundle(e, t, r, s, a, i = {
1661
1661
  silent: !1,
1662
1662
  skipCopy: !1
1663
1663
  }) {
1664
1664
  let o = [e, t];
1665
1665
  e.indexOf(".") > -1 && (o = e.split("."), s = r, r = t, t = o[1]), this.addNamespaces(t);
1666
1666
  let l = ze(this.data, o) || {};
1667
- a.skipCopy || (r = JSON.parse(JSON.stringify(r))), s ? yr(l, r, i) : l = {
1667
+ i.skipCopy || (r = JSON.parse(JSON.stringify(r))), s ? gr(l, r, a) : l = {
1668
1668
  ...l,
1669
1669
  ...r
1670
- }, zt(this.data, o, l), a.silent || this.emit("added", e, t, r);
1670
+ }, Gt(this.data, o, l), i.silent || this.emit("added", e, t, r);
1671
1671
  }
1672
1672
  removeResourceBundle(e, t) {
1673
1673
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -1689,22 +1689,22 @@ class Jt extends st {
1689
1689
  return this.data;
1690
1690
  }
1691
1691
  }
1692
- var vr = {
1692
+ var yr = {
1693
1693
  processors: {},
1694
1694
  addPostProcessor(n) {
1695
1695
  this.processors[n.name] = n;
1696
1696
  },
1697
1697
  handle(n, e, t, r, s) {
1698
- return n.forEach((i) => {
1699
- var a;
1700
- e = ((a = this.processors[i]) == null ? void 0 : a.process(e, t, r, s)) ?? e;
1698
+ return n.forEach((a) => {
1699
+ var i;
1700
+ e = ((i = this.processors[a]) == null ? void 0 : i.process(e, t, r, s)) ?? e;
1701
1701
  }), e;
1702
1702
  }
1703
1703
  };
1704
- const Xt = {}, Zt = (n) => !H(n) && typeof n != "boolean" && typeof n != "number";
1705
- class Ze extends st {
1704
+ const Jt = {}, Xt = (n) => !H(n) && typeof n != "boolean" && typeof n != "number";
1705
+ class Xe extends nt {
1706
1706
  constructor(e, t = {}) {
1707
- super(), Qr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = pe.create("translator");
1707
+ super(), Zr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = pe.create("translator");
1708
1708
  }
1709
1709
  changeLanguage(e) {
1710
1710
  e && (this.language = e);
@@ -1723,21 +1723,21 @@ class Ze extends st {
1723
1723
  let r = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
1724
1724
  r === void 0 && (r = ":");
1725
1725
  const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
1726
- let i = t.ns || this.options.defaultNS || [];
1727
- const a = r && e.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !cn(e, r, s);
1728
- if (a && !o) {
1726
+ let a = t.ns || this.options.defaultNS || [];
1727
+ const i = r && e.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ln(e, r, s);
1728
+ if (i && !o) {
1729
1729
  const l = e.match(this.interpolator.nestingRegexp);
1730
1730
  if (l && l.length > 0)
1731
1731
  return {
1732
1732
  key: e,
1733
- namespaces: H(i) ? [i] : i
1733
+ namespaces: H(a) ? [a] : a
1734
1734
  };
1735
1735
  const c = e.split(r);
1736
- (r !== s || r === s && this.options.ns.indexOf(c[0]) > -1) && (i = c.shift()), e = c.join(s);
1736
+ (r !== s || r === s && this.options.ns.indexOf(c[0]) > -1) && (a = c.shift()), e = c.join(s);
1737
1737
  }
1738
1738
  return {
1739
1739
  key: e,
1740
- namespaces: H(i) ? [i] : i
1740
+ namespaces: H(a) ? [a] : a
1741
1741
  };
1742
1742
  }
1743
1743
  translate(e, t, r) {
@@ -1748,7 +1748,7 @@ class Ze extends st {
1748
1748
  ...s
1749
1749
  }), s || (s = {}), e == null) return "";
1750
1750
  Array.isArray(e) || (e = [String(e)]);
1751
- const i = s.returnDetails !== void 0 ? s.returnDetails : this.options.returnDetails, a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, {
1751
+ const a = s.returnDetails !== void 0 ? s.returnDetails : this.options.returnDetails, i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, {
1752
1752
  key: o,
1753
1753
  namespaces: l
1754
1754
  } = this.extractFromKey(e[e.length - 1], s), c = l[l.length - 1];
@@ -1756,14 +1756,14 @@ class Ze extends st {
1756
1756
  f === void 0 && (f = ":");
1757
1757
  const u = s.lng || this.language, p = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
1758
1758
  if ((u == null ? void 0 : u.toLowerCase()) === "cimode")
1759
- return p ? i ? {
1759
+ return p ? a ? {
1760
1760
  res: `${c}${f}${o}`,
1761
1761
  usedKey: o,
1762
1762
  exactUsedKey: o,
1763
1763
  usedLng: u,
1764
1764
  usedNS: c,
1765
1765
  usedParams: this.getUsedParamsDetails(s)
1766
- } : `${c}${f}${o}` : i ? {
1766
+ } : `${c}${f}${o}` : a ? {
1767
1767
  res: o,
1768
1768
  usedKey: o,
1769
1769
  exactUsedKey: o,
@@ -1773,12 +1773,12 @@ class Ze extends st {
1773
1773
  } : o;
1774
1774
  const h = this.resolve(e, s);
1775
1775
  let g = h == null ? void 0 : h.res;
1776
- const y = (h == null ? void 0 : h.usedKey) || o, E = (h == null ? void 0 : h.exactUsedKey) || o, R = ["[object Number]", "[object Function]", "[object RegExp]"], x = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, D = s.count !== void 0 && !H(s.count), v = Ze.hasDefaultValue(s), A = D ? this.pluralResolver.getSuffix(u, s.count, s) : "", j = s.ordinal && D ? this.pluralResolver.getSuffix(u, s.count, {
1776
+ const y = (h == null ? void 0 : h.usedKey) || o, E = (h == null ? void 0 : h.exactUsedKey) || o, R = ["[object Number]", "[object Function]", "[object RegExp]"], x = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, D = s.count !== void 0 && !H(s.count), v = Xe.hasDefaultValue(s), A = D ? this.pluralResolver.getSuffix(u, s.count, s) : "", j = s.ordinal && D ? this.pluralResolver.getSuffix(u, s.count, {
1777
1777
  ordinal: !1
1778
1778
  }) : "", Y = D && !s.ordinal && s.count === 0, F = Y && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${A}`] || s[`defaultValue${j}`] || s.defaultValue;
1779
1779
  let C = g;
1780
1780
  O && !g && v && (C = F);
1781
- const M = Zt(C), U = Object.prototype.toString.apply(C);
1781
+ const M = Xt(C), U = Object.prototype.toString.apply(C);
1782
1782
  if (O && C && M && R.indexOf(U) < 0 && !(H(x) && Array.isArray(C))) {
1783
1783
  if (!s.returnObjects && !this.options.returnObjects) {
1784
1784
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -1786,16 +1786,16 @@ class Ze extends st {
1786
1786
  ...s,
1787
1787
  ns: l
1788
1788
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
1789
- return i ? (h.res = J, h.usedParams = this.getUsedParamsDetails(s), h) : J;
1789
+ return a ? (h.res = J, h.usedParams = this.getUsedParamsDetails(s), h) : J;
1790
1790
  }
1791
- if (a) {
1791
+ if (i) {
1792
1792
  const J = Array.isArray(C), K = J ? [] : {}, ne = J ? E : y;
1793
1793
  for (const z in C)
1794
1794
  if (Object.prototype.hasOwnProperty.call(C, z)) {
1795
- const V = `${ne}${a}${z}`;
1795
+ const V = `${ne}${i}${z}`;
1796
1796
  v && !g ? K[z] = this.translate(V, {
1797
1797
  ...s,
1798
- defaultValue: Zt(F) ? F[z] : void 0,
1798
+ defaultValue: Xt(F) ? F[z] : void 0,
1799
1799
  joinArrays: !1,
1800
1800
  ns: l
1801
1801
  }) : K[z] = this.translate(V, {
@@ -1813,7 +1813,7 @@ class Ze extends st {
1813
1813
  !this.isValidLookup(g) && v && (J = !0, g = F), this.isValidLookup(g) || (K = !0, g = o);
1814
1814
  const z = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && K ? void 0 : g, V = v && F !== g && this.options.updateMissing;
1815
1815
  if (K || J || V) {
1816
- if (this.logger.log(V ? "updateKey" : "missingKey", u, c, o, V ? F : g), a) {
1816
+ if (this.logger.log(V ? "updateKey" : "missingKey", u, c, o, V ? F : g), i) {
1817
1817
  const m = this.resolve(o, {
1818
1818
  ...s,
1819
1819
  keySeparator: !1
@@ -1840,9 +1840,9 @@ class Ze extends st {
1840
1840
  }
1841
1841
  g = this.extendTranslation(g, e, s, h, r), K && g === o && this.options.appendNamespaceToMissingKey && (g = `${c}${f}${o}`), (K || J) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${f}${o}` : o, J ? g : void 0, s));
1842
1842
  }
1843
- return i ? (h.res = g, h.usedParams = this.getUsedParamsDetails(s), h) : g;
1843
+ return a ? (h.res = g, h.usedParams = this.getUsedParamsDetails(s), h) : g;
1844
1844
  }
1845
- extendTranslation(e, t, r, s, i) {
1845
+ extendTranslation(e, t, r, s, a) {
1846
1846
  var l, c;
1847
1847
  if ((l = this.i18nFormat) != null && l.parse)
1848
1848
  e = this.i18nFormat.parse(e, {
@@ -1873,10 +1873,10 @@ class Ze extends st {
1873
1873
  const h = e.match(this.interpolator.nestingRegexp), g = h && h.length;
1874
1874
  u < g && (r.nest = !1);
1875
1875
  }
1876
- !r.lng && s && s.res && (r.lng = this.language || s.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (i == null ? void 0 : i[0]) === h[0] && !r.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), r)), r.interpolation && this.interpolator.reset();
1876
+ !r.lng && s && s.res && (r.lng = this.language || s.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (a == null ? void 0 : a[0]) === h[0] && !r.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), r)), r.interpolation && this.interpolator.reset();
1877
1877
  }
1878
- const a = r.postProcess || this.options.postProcess, o = H(a) ? [a] : a;
1879
- return e != null && (o != null && o.length) && r.applyPostProcessor !== !1 && (e = vr.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
1878
+ const i = r.postProcess || this.options.postProcess, o = H(i) ? [i] : i;
1879
+ return e != null && (o != null && o.length) && r.applyPostProcessor !== !1 && (e = yr.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
1880
1880
  i18nResolved: {
1881
1881
  ...s,
1882
1882
  usedParams: this.getUsedParamsDetails(r)
@@ -1885,7 +1885,7 @@ class Ze extends st {
1885
1885
  } : r, this)), e;
1886
1886
  }
1887
1887
  resolve(e, t = {}) {
1888
- let r, s, i, a, o;
1888
+ let r, s, a, i, o;
1889
1889
  return H(e) && (e = [e]), e.forEach((l) => {
1890
1890
  if (this.isValidLookup(r)) return;
1891
1891
  const c = this.extractFromKey(l, t), f = c.key;
@@ -1895,10 +1895,10 @@ class Ze extends st {
1895
1895
  const p = t.count !== void 0 && !H(t.count), h = p && !t.ordinal && t.count === 0, g = t.context !== void 0 && (H(t.context) || typeof t.context == "number") && t.context !== "", y = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
1896
1896
  u.forEach((E) => {
1897
1897
  var R, x;
1898
- this.isValidLookup(r) || (o = E, !Xt[`${y[0]}-${E}`] && ((R = this.utils) != null && R.hasLoadedNamespace) && !((x = this.utils) != null && x.hasLoadedNamespace(o)) && (Xt[`${y[0]}-${E}`] = !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((O) => {
1898
+ this.isValidLookup(r) || (o = E, !Jt[`${y[0]}-${E}`] && ((R = this.utils) != null && R.hasLoadedNamespace) && !((x = this.utils) != null && x.hasLoadedNamespace(o)) && (Jt[`${y[0]}-${E}`] = !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((O) => {
1899
1899
  var A;
1900
1900
  if (this.isValidLookup(r)) return;
1901
- a = O;
1901
+ i = O;
1902
1902
  const D = [f];
1903
1903
  if ((A = this.i18nFormat) != null && A.addLookupKeys)
1904
1904
  this.i18nFormat.addLookupKeys(D, f, O, E, t);
@@ -1913,14 +1913,14 @@ class Ze extends st {
1913
1913
  }
1914
1914
  let v;
1915
1915
  for (; v = D.pop(); )
1916
- this.isValidLookup(r) || (i = v, r = this.getResource(O, E, v, t));
1916
+ this.isValidLookup(r) || (a = v, r = this.getResource(O, E, v, t));
1917
1917
  }));
1918
1918
  });
1919
1919
  }), {
1920
1920
  res: r,
1921
1921
  usedKey: s,
1922
- exactUsedKey: i,
1923
- usedLng: a,
1922
+ exactUsedKey: a,
1923
+ usedLng: i,
1924
1924
  usedNS: o
1925
1925
  };
1926
1926
  }
@@ -1928,8 +1928,8 @@ class Ze extends st {
1928
1928
  return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
1929
1929
  }
1930
1930
  getResource(e, t, r, s = {}) {
1931
- var i;
1932
- return (i = this.i18nFormat) != null && i.getResource ? this.i18nFormat.getResource(e, t, r, s) : this.resourceStore.getResource(e, t, r, s);
1931
+ var a;
1932
+ return (a = this.i18nFormat) != null && a.getResource ? this.i18nFormat.getResource(e, t, r, s) : this.resourceStore.getResource(e, t, r, s);
1933
1933
  }
1934
1934
  getUsedParamsDetails(e = {}) {
1935
1935
  const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = e.replace && !H(e.replace);
@@ -1941,8 +1941,8 @@ class Ze extends st {
1941
1941
  s = {
1942
1942
  ...s
1943
1943
  };
1944
- for (const i of t)
1945
- delete s[i];
1944
+ for (const a of t)
1945
+ delete s[a];
1946
1946
  }
1947
1947
  return s;
1948
1948
  }
@@ -1954,17 +1954,17 @@ class Ze extends st {
1954
1954
  return !1;
1955
1955
  }
1956
1956
  }
1957
- class Qt {
1957
+ class Zt {
1958
1958
  constructor(e) {
1959
1959
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = pe.create("languageUtils");
1960
1960
  }
1961
1961
  getScriptPartFromCode(e) {
1962
- if (e = Je(e), !e || e.indexOf("-") < 0) return null;
1962
+ if (e = Ie(e), !e || e.indexOf("-") < 0) return null;
1963
1963
  const t = e.split("-");
1964
1964
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
1965
1965
  }
1966
1966
  getLanguagePartFromCode(e) {
1967
- if (e = Je(e), !e || e.indexOf("-") < 0) return e;
1967
+ if (e = Ie(e), !e || e.indexOf("-") < 0) return e;
1968
1968
  const t = e.split("-");
1969
1969
  return this.formatLanguageCode(t[0]);
1970
1970
  }
@@ -1993,12 +1993,12 @@ class Qt {
1993
1993
  if (t) return;
1994
1994
  const s = this.getScriptPartFromCode(r);
1995
1995
  if (this.isSupportedCode(s)) return t = s;
1996
- const i = this.getLanguagePartFromCode(r);
1997
- if (this.isSupportedCode(i)) return t = i;
1998
- t = this.options.supportedLngs.find((a) => {
1999
- if (a === i) return a;
2000
- if (!(a.indexOf("-") < 0 && i.indexOf("-") < 0) && (a.indexOf("-") > 0 && i.indexOf("-") < 0 && a.substring(0, a.indexOf("-")) === i || a.indexOf(i) === 0 && i.length > 1))
2001
- return a;
1996
+ const a = this.getLanguagePartFromCode(r);
1997
+ if (this.isSupportedCode(a)) return t = a;
1998
+ t = this.options.supportedLngs.find((i) => {
1999
+ if (i === a) return i;
2000
+ if (!(i.indexOf("-") < 0 && a.indexOf("-") < 0) && (i.indexOf("-") > 0 && a.indexOf("-") < 0 && i.substring(0, i.indexOf("-")) === a || i.indexOf(a) === 0 && a.length > 1))
2001
+ return i;
2002
2002
  });
2003
2003
  }), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
2004
2004
  }
@@ -2010,28 +2010,28 @@ class Qt {
2010
2010
  return r || (r = e[this.getScriptPartFromCode(t)]), r || (r = e[this.formatLanguageCode(t)]), r || (r = e[this.getLanguagePartFromCode(t)]), r || (r = e.default), r || [];
2011
2011
  }
2012
2012
  toResolveHierarchy(e, t) {
2013
- const r = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], i = (a) => {
2014
- a && (this.isSupportedCode(a) ? s.push(a) : this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`));
2013
+ const r = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], a = (i) => {
2014
+ i && (this.isSupportedCode(i) ? s.push(i) : this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`));
2015
2015
  };
2016
- return H(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : H(e) && i(this.formatLanguageCode(e)), r.forEach((a) => {
2017
- s.indexOf(a) < 0 && i(this.formatLanguageCode(a));
2016
+ return H(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(e))) : H(e) && a(this.formatLanguageCode(e)), r.forEach((i) => {
2017
+ s.indexOf(i) < 0 && a(this.formatLanguageCode(i));
2018
2018
  }), s;
2019
2019
  }
2020
2020
  }
2021
- const er = {
2021
+ const Qt = {
2022
2022
  zero: 0,
2023
2023
  one: 1,
2024
2024
  two: 2,
2025
2025
  few: 3,
2026
2026
  many: 4,
2027
2027
  other: 5
2028
- }, tr = {
2028
+ }, er = {
2029
2029
  select: (n) => n === 1 ? "one" : "other",
2030
2030
  resolvedOptions: () => ({
2031
2031
  pluralCategories: ["one", "other"]
2032
2032
  })
2033
2033
  };
2034
- class fn {
2034
+ class un {
2035
2035
  constructor(e, t = {}) {
2036
2036
  this.languageUtils = e, this.options = t, this.logger = pe.create("pluralResolver"), this.pluralRulesCache = {};
2037
2037
  }
@@ -2042,25 +2042,25 @@ class fn {
2042
2042
  this.pluralRulesCache = {};
2043
2043
  }
2044
2044
  getRule(e, t = {}) {
2045
- const r = Je(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
2045
+ const r = Ie(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
2046
2046
  cleanedCode: r,
2047
2047
  type: s
2048
2048
  });
2049
- if (i in this.pluralRulesCache)
2050
- return this.pluralRulesCache[i];
2051
- let a;
2049
+ if (a in this.pluralRulesCache)
2050
+ return this.pluralRulesCache[a];
2051
+ let i;
2052
2052
  try {
2053
- a = new Intl.PluralRules(r, {
2053
+ i = new Intl.PluralRules(r, {
2054
2054
  type: s
2055
2055
  });
2056
2056
  } catch {
2057
2057
  if (!Intl)
2058
- return this.logger.error("No Intl support, please use an Intl polyfill!"), tr;
2059
- if (!e.match(/-|_/)) return tr;
2058
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), er;
2059
+ if (!e.match(/-|_/)) return er;
2060
2060
  const l = this.languageUtils.getLanguagePartFromCode(e);
2061
- a = this.getRule(l, t);
2061
+ i = this.getRule(l, t);
2062
2062
  }
2063
- return this.pluralRulesCache[i] = a, a;
2063
+ return this.pluralRulesCache[a] = i, i;
2064
2064
  }
2065
2065
  needsPlural(e, t = {}) {
2066
2066
  let r = this.getRule(e, t);
@@ -2071,18 +2071,18 @@ class fn {
2071
2071
  }
2072
2072
  getSuffixes(e, t = {}) {
2073
2073
  let r = this.getRule(e, t);
2074
- return r || (r = this.getRule("dev", t)), r ? r.resolvedOptions().pluralCategories.sort((s, i) => er[s] - er[i]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
2074
+ return r || (r = this.getRule("dev", t)), r ? r.resolvedOptions().pluralCategories.sort((s, a) => Qt[s] - Qt[a]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
2075
2075
  }
2076
2076
  getSuffix(e, t, r = {}) {
2077
2077
  const s = this.getRule(e, r);
2078
2078
  return s ? `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, r));
2079
2079
  }
2080
2080
  }
2081
- const rr = (n, e, t, r = ".", s = !0) => {
2082
- let i = rn(n, e, t);
2083
- return !i && s && H(t) && (i = bt(n, t, r), i === void 0 && (i = bt(e, t, r))), i;
2084
- }, ht = (n) => n.replace(/\$/g, "$$$$");
2085
- class dn {
2081
+ const tr = (n, e, t, r = ".", s = !0) => {
2082
+ let a = tn(n, e, t);
2083
+ return !a && s && H(t) && (a = vt(n, t, r), a === void 0 && (a = vt(e, t, r))), a;
2084
+ }, pt = (n) => n.replace(/\$/g, "$$$$");
2085
+ class fn {
2086
2086
  constructor(e = {}) {
2087
2087
  var t;
2088
2088
  this.logger = pe.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((r) => r), this.init(e);
@@ -2095,8 +2095,8 @@ class dn {
2095
2095
  escape: t,
2096
2096
  escapeValue: r,
2097
2097
  useRawValueToEscape: s,
2098
- prefix: i,
2099
- prefixEscaped: a,
2098
+ prefix: a,
2099
+ prefixEscaped: i,
2100
2100
  suffix: o,
2101
2101
  suffixEscaped: l,
2102
2102
  formatSeparator: c,
@@ -2110,7 +2110,7 @@ class dn {
2110
2110
  maxReplaces: R,
2111
2111
  alwaysFormat: x
2112
2112
  } = e.interpolation;
2113
- this.escape = t !== void 0 ? t : sn, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = i ? _e(i) : a || "{{", this.suffix = o ? _e(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? _e(p) : h || _e("$t("), this.nestingSuffix = g ? _e(g) : y || _e(")"), this.nestingOptionsSeparator = E || ",", this.maxReplaces = R || 1e3, this.alwaysFormat = x !== void 0 ? x : !1, this.resetRegExp();
2113
+ this.escape = t !== void 0 ? t : nn, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? _e(a) : i || "{{", this.suffix = o ? _e(o) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = f ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = p ? _e(p) : h || _e("$t("), this.nestingSuffix = g ? _e(g) : y || _e(")"), this.nestingOptionsSeparator = E || ",", this.maxReplaces = R || 1e3, this.alwaysFormat = x !== void 0 ? x : !1, this.resetRegExp();
2114
2114
  }
2115
2115
  reset() {
2116
2116
  this.options && this.init(this.options);
@@ -2121,10 +2121,10 @@ class dn {
2121
2121
  }
2122
2122
  interpolate(e, t, r, s) {
2123
2123
  var h;
2124
- let i, a, o;
2124
+ let a, i, o;
2125
2125
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (g) => {
2126
2126
  if (g.indexOf(this.formatSeparator) < 0) {
2127
- const x = rr(t, l, g, this.options.keySeparator, this.options.ignoreJSONStructure);
2127
+ const x = tr(t, l, g, this.options.keySeparator, this.options.ignoreJSONStructure);
2128
2128
  return this.alwaysFormat ? this.format(x, void 0, r, {
2129
2129
  ...s,
2130
2130
  ...t,
@@ -2132,7 +2132,7 @@ class dn {
2132
2132
  }) : x;
2133
2133
  }
2134
2134
  const y = g.split(this.formatSeparator), E = y.shift().trim(), R = y.join(this.formatSeparator).trim();
2135
- return this.format(rr(t, l, E, this.options.keySeparator, this.options.ignoreJSONStructure), R, r, {
2135
+ return this.format(tr(t, l, E, this.options.keySeparator, this.options.ignoreJSONStructure), R, r, {
2136
2136
  ...s,
2137
2137
  ...t,
2138
2138
  interpolationkey: E
@@ -2142,80 +2142,80 @@ class dn {
2142
2142
  const f = (s == null ? void 0 : s.missingInterpolationHandler) || this.options.missingInterpolationHandler, u = ((h = s == null ? void 0 : s.interpolation) == null ? void 0 : h.skipOnVariables) !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
2143
2143
  return [{
2144
2144
  regex: this.regexpUnescape,
2145
- safeValue: (g) => ht(g)
2145
+ safeValue: (g) => pt(g)
2146
2146
  }, {
2147
2147
  regex: this.regexp,
2148
- safeValue: (g) => this.escapeValue ? ht(this.escape(g)) : ht(g)
2148
+ safeValue: (g) => this.escapeValue ? pt(this.escape(g)) : pt(g)
2149
2149
  }].forEach((g) => {
2150
- for (o = 0; i = g.regex.exec(e); ) {
2151
- const y = i[1].trim();
2152
- if (a = c(y), a === void 0)
2150
+ for (o = 0; a = g.regex.exec(e); ) {
2151
+ const y = a[1].trim();
2152
+ if (i = c(y), i === void 0)
2153
2153
  if (typeof f == "function") {
2154
- const R = f(e, i, s);
2155
- a = H(R) ? R : "";
2154
+ const R = f(e, a, s);
2155
+ i = H(R) ? R : "";
2156
2156
  } else if (s && Object.prototype.hasOwnProperty.call(s, y))
2157
- a = "";
2157
+ i = "";
2158
2158
  else if (u) {
2159
- a = i[0];
2159
+ i = a[0];
2160
2160
  continue;
2161
2161
  } else
2162
- this.logger.warn(`missed to pass in variable ${y} for interpolating ${e}`), a = "";
2163
- else !H(a) && !this.useRawValueToEscape && (a = Kt(a));
2164
- const E = g.safeValue(a);
2165
- if (e = e.replace(i[0], E), u ? (g.regex.lastIndex += a.length, g.regex.lastIndex -= i[0].length) : g.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2162
+ this.logger.warn(`missed to pass in variable ${y} for interpolating ${e}`), i = "";
2163
+ else !H(i) && !this.useRawValueToEscape && (i = qt(i));
2164
+ const E = g.safeValue(i);
2165
+ if (e = e.replace(a[0], E), u ? (g.regex.lastIndex += i.length, g.regex.lastIndex -= a[0].length) : g.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2166
2166
  break;
2167
2167
  }
2168
2168
  }), e;
2169
2169
  }
2170
2170
  nest(e, t, r = {}) {
2171
- let s, i, a;
2171
+ let s, a, i;
2172
2172
  const o = (l, c) => {
2173
2173
  const f = this.nestingOptionsSeparator;
2174
2174
  if (l.indexOf(f) < 0) return l;
2175
2175
  const u = l.split(new RegExp(`${f}[ ]*{`));
2176
2176
  let p = `{${u[1]}`;
2177
- l = u[0], p = this.interpolate(p, a);
2177
+ l = u[0], p = this.interpolate(p, i);
2178
2178
  const h = p.match(/'/g), g = p.match(/"/g);
2179
2179
  (((h == null ? void 0 : h.length) ?? 0) % 2 === 0 && !g || g.length % 2 !== 0) && (p = p.replace(/'/g, '"'));
2180
2180
  try {
2181
- a = JSON.parse(p), c && (a = {
2181
+ i = JSON.parse(p), c && (i = {
2182
2182
  ...c,
2183
- ...a
2183
+ ...i
2184
2184
  });
2185
2185
  } catch (y) {
2186
2186
  return this.logger.warn(`failed parsing options string in nesting for key ${l}`, y), `${l}${f}${p}`;
2187
2187
  }
2188
- return a.defaultValue && a.defaultValue.indexOf(this.prefix) > -1 && delete a.defaultValue, l;
2188
+ return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, l;
2189
2189
  };
2190
2190
  for (; s = this.nestingRegexp.exec(e); ) {
2191
2191
  let l = [];
2192
- a = {
2192
+ i = {
2193
2193
  ...r
2194
- }, a = a.replace && !H(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
2194
+ }, i = i.replace && !H(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
2195
2195
  let c = !1;
2196
2196
  if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
2197
2197
  const f = s[1].split(this.formatSeparator).map((u) => u.trim());
2198
2198
  s[1] = f.shift(), l = f, c = !0;
2199
2199
  }
2200
- if (i = t(o.call(this, s[1].trim(), a), a), i && s[0] === e && !H(i)) return i;
2201
- H(i) || (i = Kt(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), i = ""), c && (i = l.reduce((f, u) => this.format(f, u, r.lng, {
2200
+ if (a = t(o.call(this, s[1].trim(), i), i), a && s[0] === e && !H(a)) return a;
2201
+ H(a) || (a = qt(a)), a || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), a = ""), c && (a = l.reduce((f, u) => this.format(f, u, r.lng, {
2202
2202
  ...r,
2203
2203
  interpolationkey: s[1].trim()
2204
- }), i.trim())), e = e.replace(s[0], i), this.regexp.lastIndex = 0;
2204
+ }), a.trim())), e = e.replace(s[0], a), this.regexp.lastIndex = 0;
2205
2205
  }
2206
2206
  return e;
2207
2207
  }
2208
2208
  }
2209
- const pn = (n) => {
2209
+ const dn = (n) => {
2210
2210
  let e = n.toLowerCase().trim();
2211
2211
  const t = {};
2212
2212
  if (n.indexOf("(") > -1) {
2213
2213
  const r = n.split("(");
2214
2214
  e = r[0].toLowerCase().trim();
2215
2215
  const s = r[1].substring(0, r[1].length - 1);
2216
- e === "currency" && s.indexOf(":") < 0 ? t.currency || (t.currency = s.trim()) : e === "relativetime" && s.indexOf(":") < 0 ? t.range || (t.range = s.trim()) : s.split(";").forEach((a) => {
2217
- if (a) {
2218
- const [o, ...l] = a.split(":"), c = l.join(":").trim().replace(/^'+|'+$/g, ""), f = o.trim();
2216
+ e === "currency" && s.indexOf(":") < 0 ? t.currency || (t.currency = s.trim()) : e === "relativetime" && s.indexOf(":") < 0 ? t.range || (t.range = s.trim()) : s.split(";").forEach((i) => {
2217
+ if (i) {
2218
+ const [o, ...l] = i.split(":"), c = l.join(":").trim().replace(/^'+|'+$/g, ""), f = o.trim();
2219
2219
  t[f] || (t[f] = c), c === "false" && (t[f] = !1), c === "true" && (t[f] = !0), isNaN(c) || (t[f] = parseInt(c, 10));
2220
2220
  }
2221
2221
  });
@@ -2224,78 +2224,80 @@ const pn = (n) => {
2224
2224
  formatName: e,
2225
2225
  formatOptions: t
2226
2226
  };
2227
- }, we = (n) => {
2227
+ }, rr = (n) => {
2228
2228
  const e = {};
2229
2229
  return (t, r, s) => {
2230
- let i = s;
2231
- s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (i = {
2232
- ...i,
2230
+ let a = s;
2231
+ s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (a = {
2232
+ ...a,
2233
2233
  [s.interpolationkey]: void 0
2234
2234
  });
2235
- const a = r + JSON.stringify(i);
2236
- let o = e[a];
2237
- return o || (o = n(Je(r), s), e[a] = o), o(t);
2235
+ const i = r + JSON.stringify(a);
2236
+ let o = e[i];
2237
+ return o || (o = n(Ie(r), s), e[i] = o), o(t);
2238
2238
  };
2239
- };
2239
+ }, pn = (n) => (e, t, r) => n(Ie(t), r)(e);
2240
2240
  class hn {
2241
2241
  constructor(e = {}) {
2242
- this.logger = pe.create("formatter"), this.options = e, this.formats = {
2243
- number: we((t, r) => {
2244
- const s = new Intl.NumberFormat(t, {
2245
- ...r
2242
+ this.logger = pe.create("formatter"), this.options = e, this.init(e);
2243
+ }
2244
+ init(e, t = {
2245
+ interpolation: {}
2246
+ }) {
2247
+ this.formatSeparator = t.interpolation.formatSeparator || ",";
2248
+ const r = t.cacheInBuiltFormats ? rr : pn;
2249
+ this.formats = {
2250
+ number: r((s, a) => {
2251
+ const i = new Intl.NumberFormat(s, {
2252
+ ...a
2246
2253
  });
2247
- return (i) => s.format(i);
2254
+ return (o) => i.format(o);
2248
2255
  }),
2249
- currency: we((t, r) => {
2250
- const s = new Intl.NumberFormat(t, {
2251
- ...r,
2256
+ currency: r((s, a) => {
2257
+ const i = new Intl.NumberFormat(s, {
2258
+ ...a,
2252
2259
  style: "currency"
2253
2260
  });
2254
- return (i) => s.format(i);
2261
+ return (o) => i.format(o);
2255
2262
  }),
2256
- datetime: we((t, r) => {
2257
- const s = new Intl.DateTimeFormat(t, {
2258
- ...r
2263
+ datetime: r((s, a) => {
2264
+ const i = new Intl.DateTimeFormat(s, {
2265
+ ...a
2259
2266
  });
2260
- return (i) => s.format(i);
2267
+ return (o) => i.format(o);
2261
2268
  }),
2262
- relativetime: we((t, r) => {
2263
- const s = new Intl.RelativeTimeFormat(t, {
2264
- ...r
2269
+ relativetime: r((s, a) => {
2270
+ const i = new Intl.RelativeTimeFormat(s, {
2271
+ ...a
2265
2272
  });
2266
- return (i) => s.format(i, r.range || "day");
2273
+ return (o) => i.format(o, a.range || "day");
2267
2274
  }),
2268
- list: we((t, r) => {
2269
- const s = new Intl.ListFormat(t, {
2270
- ...r
2275
+ list: r((s, a) => {
2276
+ const i = new Intl.ListFormat(s, {
2277
+ ...a
2271
2278
  });
2272
- return (i) => s.format(i);
2279
+ return (o) => i.format(o);
2273
2280
  })
2274
- }, this.init(e);
2275
- }
2276
- init(e, t = {
2277
- interpolation: {}
2278
- }) {
2279
- this.formatSeparator = t.interpolation.formatSeparator || ",";
2281
+ };
2280
2282
  }
2281
2283
  add(e, t) {
2282
2284
  this.formats[e.toLowerCase().trim()] = t;
2283
2285
  }
2284
2286
  addCached(e, t) {
2285
- this.formats[e.toLowerCase().trim()] = we(t);
2287
+ this.formats[e.toLowerCase().trim()] = rr(t);
2286
2288
  }
2287
2289
  format(e, t, r, s = {}) {
2288
- const i = t.split(this.formatSeparator);
2289
- if (i.length > 1 && i[0].indexOf("(") > 1 && i[0].indexOf(")") < 0 && i.find((o) => o.indexOf(")") > -1)) {
2290
- const o = i.findIndex((l) => l.indexOf(")") > -1);
2291
- i[0] = [i[0], ...i.splice(1, o)].join(this.formatSeparator);
2290
+ const a = t.split(this.formatSeparator);
2291
+ if (a.length > 1 && a[0].indexOf("(") > 1 && a[0].indexOf(")") < 0 && a.find((o) => o.indexOf(")") > -1)) {
2292
+ const o = a.findIndex((l) => l.indexOf(")") > -1);
2293
+ a[0] = [a[0], ...a.splice(1, o)].join(this.formatSeparator);
2292
2294
  }
2293
- return i.reduce((o, l) => {
2295
+ return a.reduce((o, l) => {
2294
2296
  var u;
2295
2297
  const {
2296
2298
  formatName: c,
2297
2299
  formatOptions: f
2298
- } = pn(l);
2300
+ } = dn(l);
2299
2301
  if (this.formats[c]) {
2300
2302
  let p = o;
2301
2303
  try {
@@ -2318,40 +2320,40 @@ class hn {
2318
2320
  const mn = (n, e) => {
2319
2321
  n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
2320
2322
  };
2321
- class gn extends st {
2323
+ class gn extends nt {
2322
2324
  constructor(e, t, r, s = {}) {
2323
- var i, a;
2324
- super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = pe.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 = [], (a = (i = this.backend) == null ? void 0 : i.init) == null || a.call(i, r, s.backend, s);
2325
+ var a, i;
2326
+ super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = pe.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, r, s.backend, s);
2325
2327
  }
2326
2328
  queueLoad(e, t, r, s) {
2327
- const i = {}, a = {}, o = {}, l = {};
2329
+ const a = {}, i = {}, o = {}, l = {};
2328
2330
  return e.forEach((c) => {
2329
2331
  let f = !0;
2330
2332
  t.forEach((u) => {
2331
2333
  const p = `${c}|${u}`;
2332
- !r.reload && this.store.hasResourceBundle(c, u) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? a[p] === void 0 && (a[p] = !0) : (this.state[p] = 1, f = !1, a[p] === void 0 && (a[p] = !0), i[p] === void 0 && (i[p] = !0), l[u] === void 0 && (l[u] = !0)));
2334
+ !r.reload && this.store.hasResourceBundle(c, u) ? this.state[p] = 2 : this.state[p] < 0 || (this.state[p] === 1 ? i[p] === void 0 && (i[p] = !0) : (this.state[p] = 1, f = !1, i[p] === void 0 && (i[p] = !0), a[p] === void 0 && (a[p] = !0), l[u] === void 0 && (l[u] = !0)));
2333
2335
  }), f || (o[c] = !0);
2334
- }), (Object.keys(i).length || Object.keys(a).length) && this.queue.push({
2335
- pending: a,
2336
- pendingCount: Object.keys(a).length,
2336
+ }), (Object.keys(a).length || Object.keys(i).length) && this.queue.push({
2337
+ pending: i,
2338
+ pendingCount: Object.keys(i).length,
2337
2339
  loaded: {},
2338
2340
  errors: [],
2339
2341
  callback: s
2340
2342
  }), {
2341
- toLoad: Object.keys(i),
2342
- pending: Object.keys(a),
2343
+ toLoad: Object.keys(a),
2344
+ pending: Object.keys(i),
2343
2345
  toLoadLanguages: Object.keys(o),
2344
2346
  toLoadNamespaces: Object.keys(l)
2345
2347
  };
2346
2348
  }
2347
2349
  loaded(e, t, r) {
2348
- const s = e.split("|"), i = s[0], a = s[1];
2349
- t && this.emit("failedLoading", i, a, t), !t && r && this.store.addResourceBundle(i, a, r, void 0, void 0, {
2350
+ const s = e.split("|"), a = s[0], i = s[1];
2351
+ t && this.emit("failedLoading", a, i, t), !t && r && this.store.addResourceBundle(a, i, r, void 0, void 0, {
2350
2352
  skipCopy: !0
2351
2353
  }), this.state[e] = t ? -1 : 2, t && r && (this.state[e] = 0);
2352
2354
  const o = {};
2353
2355
  this.queue.forEach((l) => {
2354
- tn(l.loaded, [i], a), mn(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
2356
+ en(l.loaded, [a], i), mn(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((c) => {
2355
2357
  o[c] || (o[c] = {});
2356
2358
  const f = l.loaded[c];
2357
2359
  f.length && f.forEach((u) => {
@@ -2360,16 +2362,16 @@ class gn extends st {
2360
2362
  }), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
2361
2363
  }), this.emit("loaded", o), this.queue = this.queue.filter((l) => !l.done);
2362
2364
  }
2363
- read(e, t, r, s = 0, i = this.retryTimeout, a) {
2364
- if (!e.length) return a(null, {});
2365
+ read(e, t, r, s = 0, a = this.retryTimeout, i) {
2366
+ if (!e.length) return i(null, {});
2365
2367
  if (this.readingCalls >= this.maxParallelReads) {
2366
2368
  this.waitingReads.push({
2367
2369
  lng: e,
2368
2370
  ns: t,
2369
2371
  fcName: r,
2370
2372
  tried: s,
2371
- wait: i,
2372
- callback: a
2373
+ wait: a,
2374
+ callback: i
2373
2375
  });
2374
2376
  return;
2375
2377
  }
@@ -2381,11 +2383,11 @@ class gn extends st {
2381
2383
  }
2382
2384
  if (c && f && s < this.maxRetries) {
2383
2385
  setTimeout(() => {
2384
- this.read.call(this, e, t, r, s + 1, i * 2, a);
2385
- }, i);
2386
+ this.read.call(this, e, t, r, s + 1, a * 2, i);
2387
+ }, a);
2386
2388
  return;
2387
2389
  }
2388
- a(c, f);
2390
+ i(c, f);
2389
2391
  }, l = this.backend[r].bind(this.backend);
2390
2392
  if (l.length === 2) {
2391
2393
  try {
@@ -2402,11 +2404,11 @@ class gn extends st {
2402
2404
  if (!this.backend)
2403
2405
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
2404
2406
  H(e) && (e = this.languageUtils.toResolveHierarchy(e)), H(t) && (t = [t]);
2405
- const i = this.queueLoad(e, t, r, s);
2406
- if (!i.toLoad.length)
2407
- return i.pending.length || s(), null;
2408
- i.toLoad.forEach((a) => {
2409
- this.loadOne(a);
2407
+ const a = this.queueLoad(e, t, r, s);
2408
+ if (!a.toLoad.length)
2409
+ return a.pending.length || s(), null;
2410
+ a.toLoad.forEach((i) => {
2411
+ this.loadOne(i);
2410
2412
  });
2411
2413
  }
2412
2414
  load(e, t, r) {
@@ -2418,12 +2420,12 @@ class gn extends st {
2418
2420
  }, r);
2419
2421
  }
2420
2422
  loadOne(e, t = "") {
2421
- const r = e.split("|"), s = r[0], i = r[1];
2422
- this.read(s, i, "read", void 0, void 0, (a, o) => {
2423
- a && this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`, a), !a && o && this.logger.log(`${t}loaded namespace ${i} for language ${s}`, o), this.loaded(e, a, o);
2423
+ const r = e.split("|"), s = r[0], a = r[1];
2424
+ this.read(s, a, "read", void 0, void 0, (i, o) => {
2425
+ i && this.logger.warn(`${t}loading namespace ${a} for language ${s} failed`, i), !i && o && this.logger.log(`${t}loaded namespace ${a} for language ${s}`, o), this.loaded(e, i, o);
2424
2426
  });
2425
2427
  }
2426
- saveMissing(e, t, r, s, i, a = {}, o = () => {
2428
+ saveMissing(e, t, r, s, a, i = {}, o = () => {
2427
2429
  }) {
2428
2430
  var l, c, f, u, p;
2429
2431
  if ((c = (l = this.services) == null ? void 0 : l.utils) != null && c.hasLoadedNamespace && !((u = (f = this.services) == null ? void 0 : f.utils) != null && u.hasLoadedNamespace(t))) {
@@ -2433,8 +2435,8 @@ class gn extends st {
2433
2435
  if (!(r == null || r === "")) {
2434
2436
  if ((p = this.backend) != null && p.create) {
2435
2437
  const h = {
2436
- ...a,
2437
- isUpdate: i
2438
+ ...i,
2439
+ isUpdate: a
2438
2440
  }, g = this.backend.create.bind(this.backend);
2439
2441
  if (g.length < 6)
2440
2442
  try {
@@ -2505,7 +2507,8 @@ const nr = () => ({
2505
2507
  nestingOptionsSeparator: ",",
2506
2508
  maxReplaces: 1e3,
2507
2509
  skipOnVariables: !0
2508
- }
2510
+ },
2511
+ cacheInBuiltFormats: !0
2509
2512
  }), sr = (n) => {
2510
2513
  var e, t;
2511
2514
  return H(n.ns) && (n.ns = [n.ns]), H(n.fallbackLng) && (n.fallbackLng = [n.fallbackLng]), H(n.fallbackNS) && (n.fallbackNS = [n.fallbackNS]), ((t = (e = n.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), typeof n.initImmediate == "boolean" && (n.initAsync = n.initImmediate), n;
@@ -2515,7 +2518,7 @@ const nr = () => ({
2515
2518
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
2516
2519
  });
2517
2520
  };
2518
- class Ne extends st {
2521
+ class Ne extends nt {
2519
2522
  constructor(e = {}, t) {
2520
2523
  if (super(), this.options = sr(e), this.services = {}, this.logger = pe, this.modules = {
2521
2524
  external: []
@@ -2543,17 +2546,17 @@ class Ne extends st {
2543
2546
  this.modules.logger ? pe.init(s(this.modules.logger), this.options) : pe.init(null, this.options);
2544
2547
  let c;
2545
2548
  this.modules.formatter ? c = this.modules.formatter : c = hn;
2546
- const f = new Qt(this.options);
2547
- this.store = new Jt(this.options.resources, this.options);
2549
+ const f = new Zt(this.options);
2550
+ this.store = new zt(this.options.resources, this.options);
2548
2551
  const u = this.services;
2549
- u.logger = pe, u.resourceStore = this.store, u.languageUtils = f, u.pluralResolver = new fn(f, {
2552
+ u.logger = pe, u.resourceStore = this.store, u.languageUtils = f, u.pluralResolver = new un(f, {
2550
2553
  prepend: this.options.pluralSeparator,
2551
2554
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
2552
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (u.formatter = s(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new dn(this.options), u.utils = {
2555
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (u.formatter = s(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new fn(this.options), u.utils = {
2553
2556
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
2554
2557
  }, u.backendConnector = new gn(s(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (p, ...h) => {
2555
2558
  this.emit(p, ...h);
2556
- }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new Ze(this.services, this.options), this.translator.on("*", (p, ...h) => {
2559
+ }), this.modules.languageDetector && (u.languageDetector = s(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = s(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new Xe(this.services, this.options), this.translator.on("*", (p, ...h) => {
2557
2560
  this.emit(p, ...h);
2558
2561
  }), this.modules.external.forEach((p) => {
2559
2562
  p.init && p.init(this);
@@ -2568,7 +2571,7 @@ class Ne extends st {
2568
2571
  }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((c) => {
2569
2572
  this[c] = (...f) => (this.store[c](...f), this);
2570
2573
  });
2571
- const o = Le(), l = () => {
2574
+ const o = Ce(), l = () => {
2572
2575
  const c = (f, u) => {
2573
2576
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), o.resolve(u), t(f, u);
2574
2577
  };
@@ -2578,7 +2581,7 @@ class Ne extends st {
2578
2581
  return this.options.resources || !this.options.initAsync ? l() : setTimeout(l, 0), o;
2579
2582
  }
2580
2583
  loadResources(e, t = He) {
2581
- var i, a;
2584
+ var a, i;
2582
2585
  let r = t;
2583
2586
  const s = H(e) ? e : this.language;
2584
2587
  if (typeof e == "function" && (r = e), !this.options.resources || this.options.partialBundledLanguages) {
@@ -2589,22 +2592,22 @@ class Ne extends st {
2589
2592
  u !== "cimode" && o.indexOf(u) < 0 && o.push(u);
2590
2593
  });
2591
2594
  };
2592
- s ? l(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((f) => l(f)), (a = (i = this.options.preload) == null ? void 0 : i.forEach) == null || a.call(i, (c) => l(c)), this.services.backendConnector.load(o, this.options.ns, (c) => {
2595
+ s ? l(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((f) => l(f)), (i = (a = this.options.preload) == null ? void 0 : a.forEach) == null || i.call(a, (c) => l(c)), this.services.backendConnector.load(o, this.options.ns, (c) => {
2593
2596
  !c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), r(c);
2594
2597
  });
2595
2598
  } else
2596
2599
  r(null);
2597
2600
  }
2598
2601
  reloadResources(e, t, r) {
2599
- const s = Le();
2600
- return typeof e == "function" && (r = e, e = void 0), typeof t == "function" && (r = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), r || (r = He), this.services.backendConnector.reload(e, t, (i) => {
2601
- s.resolve(), r(i);
2602
+ const s = Ce();
2603
+ return typeof e == "function" && (r = e, e = void 0), typeof t == "function" && (r = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), r || (r = He), this.services.backendConnector.reload(e, t, (a) => {
2604
+ s.resolve(), r(a);
2602
2605
  }), s;
2603
2606
  }
2604
2607
  use(e) {
2605
2608
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2606
2609
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2607
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && vr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2610
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && yr.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
2608
2611
  }
2609
2612
  setResolvedLanguage(e) {
2610
2613
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -2620,31 +2623,31 @@ class Ne extends st {
2620
2623
  }
2621
2624
  changeLanguage(e, t) {
2622
2625
  this.isLanguageChangingTo = e;
2623
- const r = Le();
2626
+ const r = Ce();
2624
2627
  this.emit("languageChanging", e);
2625
2628
  const s = (o) => {
2626
2629
  this.language = o, this.languages = this.services.languageUtils.toResolveHierarchy(o), this.resolvedLanguage = void 0, this.setResolvedLanguage(o);
2627
- }, i = (o, l) => {
2630
+ }, a = (o, l) => {
2628
2631
  l ? this.isLanguageChangingTo === e && (s(l), this.translator.changeLanguage(l), this.isLanguageChangingTo = void 0, this.emit("languageChanged", l), this.logger.log("languageChanged", l)) : this.isLanguageChangingTo = void 0, r.resolve((...c) => this.t(...c)), t && t(o, (...c) => this.t(...c));
2629
- }, a = (o) => {
2632
+ }, i = (o) => {
2630
2633
  var f, u;
2631
2634
  !e && !o && this.services.languageDetector && (o = []);
2632
2635
  const l = H(o) ? o : o && o[0], c = this.store.hasLanguageSomeTranslations(l) ? l : this.services.languageUtils.getBestMatchFromCodes(H(o) ? [o] : o);
2633
2636
  c && (this.language || s(c), this.translator.language || this.translator.changeLanguage(c), (u = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || u.call(f, c)), this.loadResources(c, (p) => {
2634
- i(p, c);
2637
+ a(p, c);
2635
2638
  });
2636
2639
  };
2637
- return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), r;
2640
+ return !e && this.services.languageDetector && !this.services.languageDetector.async ? i(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(i) : this.services.languageDetector.detect(i) : i(e), r;
2638
2641
  }
2639
2642
  getFixedT(e, t, r) {
2640
- const s = (i, a, ...o) => {
2643
+ const s = (a, i, ...o) => {
2641
2644
  let l;
2642
- typeof a != "object" ? l = this.options.overloadTranslationOptionHandler([i, a].concat(o)) : l = {
2643
- ...a
2645
+ typeof i != "object" ? l = this.options.overloadTranslationOptionHandler([a, i].concat(o)) : l = {
2646
+ ...i
2644
2647
  }, l.lng = l.lng || s.lng, l.lngs = l.lngs || s.lngs, l.ns = l.ns || s.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || r || s.keyPrefix);
2645
2648
  const c = this.options.keySeparator || ".";
2646
2649
  let f;
2647
- return l.keyPrefix && Array.isArray(i) ? f = i.map((u) => `${l.keyPrefix}${c}${u}`) : f = l.keyPrefix ? `${l.keyPrefix}${c}${i}` : i, this.t(f, l);
2650
+ return l.keyPrefix && Array.isArray(a) ? f = a.map((u) => `${l.keyPrefix}${c}${u}`) : f = l.keyPrefix ? `${l.keyPrefix}${c}${a}` : a, this.t(f, l);
2648
2651
  };
2649
2652
  return H(e) ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = r, s;
2650
2653
  }
@@ -2664,20 +2667,20 @@ class Ne extends st {
2664
2667
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
2665
2668
  if (!this.languages || !this.languages.length)
2666
2669
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
2667
- const r = t.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1];
2670
+ const r = t.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1];
2668
2671
  if (r.toLowerCase() === "cimode") return !0;
2669
- const a = (o, l) => {
2672
+ const i = (o, l) => {
2670
2673
  const c = this.services.backendConnector.state[`${o}|${l}`];
2671
2674
  return c === -1 || c === 0 || c === 2;
2672
2675
  };
2673
2676
  if (t.precheck) {
2674
- const o = t.precheck(this, a);
2677
+ const o = t.precheck(this, i);
2675
2678
  if (o !== void 0) return o;
2676
2679
  }
2677
- return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(r, e) && (!s || a(i, e)));
2680
+ return !!(this.hasResourceBundle(r, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || i(r, e) && (!s || i(a, e)));
2678
2681
  }
2679
2682
  loadNamespaces(e, t) {
2680
- const r = Le();
2683
+ const r = Ce();
2681
2684
  return this.options.ns ? (H(e) && (e = [e]), e.forEach((s) => {
2682
2685
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
2683
2686
  }), this.loadResources((s) => {
@@ -2685,17 +2688,17 @@ class Ne extends st {
2685
2688
  }), r) : (t && t(), Promise.resolve());
2686
2689
  }
2687
2690
  loadLanguages(e, t) {
2688
- const r = Le();
2691
+ const r = Ce();
2689
2692
  H(e) && (e = [e]);
2690
- const s = this.options.preload || [], i = e.filter((a) => s.indexOf(a) < 0 && this.services.languageUtils.isSupportedCode(a));
2691
- return i.length ? (this.options.preload = s.concat(i), this.loadResources((a) => {
2692
- r.resolve(), t && t(a);
2693
+ const s = this.options.preload || [], a = e.filter((i) => s.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
2694
+ return a.length ? (this.options.preload = s.concat(a), this.loadResources((i) => {
2695
+ r.resolve(), t && t(i);
2693
2696
  }), r) : (t && t(), Promise.resolve());
2694
2697
  }
2695
2698
  dir(e) {
2696
- var s, i;
2699
+ var s, a;
2697
2700
  if (e || (e = this.resolvedLanguage || (((s = this.languages) == null ? void 0 : s.length) > 0 ? this.languages[0] : this.language)), !e) return "rtl";
2698
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((i = this.services) == null ? void 0 : i.languageUtils) || new Qt(nr());
2701
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((a = this.services) == null ? void 0 : a.languageUtils) || new Zt(nr());
2699
2702
  return t.indexOf(r.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2700
2703
  }
2701
2704
  static createInstance(e = {}, t) {
@@ -2708,26 +2711,26 @@ class Ne extends st {
2708
2711
  ...this.options,
2709
2712
  ...e,
2710
2713
  isClone: !0
2711
- }, i = new Ne(s);
2712
- if ((e.debug !== void 0 || e.prefix !== void 0) && (i.logger = i.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
2713
- i[o] = this[o];
2714
- }), i.services = {
2714
+ }, a = new Ne(s);
2715
+ if ((e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
2716
+ a[o] = this[o];
2717
+ }), a.services = {
2715
2718
  ...this.services
2716
- }, i.services.utils = {
2717
- hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
2719
+ }, a.services.utils = {
2720
+ hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
2718
2721
  }, r) {
2719
2722
  const o = Object.keys(this.store.data).reduce((l, c) => (l[c] = {
2720
2723
  ...this.store.data[c]
2721
2724
  }, l[c] = Object.keys(l[c]).reduce((f, u) => (f[u] = {
2722
2725
  ...l[c][u]
2723
2726
  }, f), l[c]), l), {});
2724
- i.store = new Jt(o, s), i.services.resourceStore = i.store;
2727
+ a.store = new zt(o, s), a.services.resourceStore = a.store;
2725
2728
  }
2726
- return i.translator = new Ze(i.services, s), i.translator.on("*", (o, ...l) => {
2727
- i.emit(o, ...l);
2728
- }), i.init(s, t), i.translator.options = s, i.translator.backendConnector.services.utils = {
2729
- hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
2730
- }, i;
2729
+ return a.translator = new Xe(a.services, s), a.translator.on("*", (o, ...l) => {
2730
+ a.emit(o, ...l);
2731
+ }), a.init(s, t), a.translator.options = s, a.translator.backendConnector.services.utils = {
2732
+ hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
2733
+ }, a;
2731
2734
  }
2732
2735
  toJSON() {
2733
2736
  return {
@@ -2766,7 +2769,7 @@ const vn = { Friday: "Venerdì", FridayShort: "Ven", Monday: "Lunedì", MondaySh
2766
2769
  Month: _n,
2767
2770
  Generic: wn
2768
2771
  };
2769
- function ir(n, e) {
2772
+ function ar(n, e) {
2770
2773
  return new RegExp(Tn(n), e);
2771
2774
  }
2772
2775
  function Tn(n) {
@@ -2774,24 +2777,24 @@ function Tn(n) {
2774
2777
  }
2775
2778
  function Rn(n, e, t, r) {
2776
2779
  let s = e;
2777
- const i = Dn(n, t);
2780
+ const a = Dn(n, t);
2778
2781
  if (!s) {
2779
- const o = Math.abs(i);
2782
+ const o = Math.abs(a);
2780
2783
  o - Math.floor(o) ? s = "0,0.00" : s = "0,0";
2781
2784
  }
2782
- const a = Pn(s);
2783
- return new Intl.NumberFormat(r, a).format(i);
2785
+ const i = Pn(s);
2786
+ return new Intl.NumberFormat(r, i).format(a);
2784
2787
  }
2785
2788
  function Dn(n, e, t, r, s) {
2786
- let i = n;
2787
- if (typeof i != "number") {
2789
+ let a = n;
2790
+ if (typeof a != "number") {
2788
2791
  let o;
2789
2792
  e && r === void 0 ? o = "," : o = ".";
2790
2793
  const l = o == "." ? "," : ".";
2791
- i = i.replace(ir(l, "g"), ""), i = i.replace(ir(o, "g"), "."), i = Number(i);
2794
+ a = a.replace(ar(l, "g"), ""), a = a.replace(ar(o, "g"), "."), a = Number(a);
2792
2795
  }
2793
- const a = Number(i);
2794
- return isNaN(a) ? NaN : a;
2796
+ const i = Number(a);
2797
+ return isNaN(i) ? NaN : i;
2795
2798
  }
2796
2799
  function Pn(n) {
2797
2800
  const e = {};
@@ -2815,15 +2818,15 @@ se.init({
2815
2818
  try {
2816
2819
  switch (s) {
2817
2820
  case "date": {
2818
- const i = n instanceof Date ? n : new Date(n);
2821
+ const a = n instanceof Date ? n : new Date(n);
2819
2822
  return new Intl.DateTimeFormat(t, {
2820
2823
  dateStyle: e || "short"
2821
- }).format(i);
2824
+ }).format(a);
2822
2825
  }
2823
2826
  default:
2824
2827
  case "number": {
2825
- const i = (r == null ? void 0 : r.inputIsLocalized) ?? !1;
2826
- return Rn(n, e, i, t);
2828
+ const a = (r == null ? void 0 : r.inputIsLocalized) ?? !1;
2829
+ return Rn(n, e, a, t);
2827
2830
  }
2828
2831
  }
2829
2832
  } catch {
@@ -2841,29 +2844,24 @@ se.init({
2841
2844
  }
2842
2845
  });
2843
2846
  const An = (n, e, t, r) => se.format(n, e, t || se.language, r), Cn = (n, e) => se.t(n, e);
2844
- function it() {
2845
- const n = Te(
2846
- (r, s, i, a) => An(r, s, i || void 0, a),
2847
+ function st() {
2848
+ const n = Oe(
2849
+ (r, s, a, i) => An(r, s, a || void 0, i),
2847
2850
  []
2848
- ), e = Te(() => se.languages[0], []), t = Te(
2851
+ ), e = Oe(() => se.languages[0], []), t = Oe(
2849
2852
  (r, s) => Cn(r, s),
2850
2853
  []
2851
2854
  );
2852
2855
  return { format: n, getCurrentLanguage: e, translate: t };
2853
2856
  }
2854
- const Ie = (n) => n == null ? !1 : typeof n == "string" ? n.toLocaleLowerCase() == "yes" : n;
2855
- function ar(n) {
2856
- if (n)
2857
- return n.toLowerCase();
2858
- }
2859
- const ss = ({
2857
+ const je = (n) => n == null ? !1 : typeof n == "string" ? n.toLocaleLowerCase() == "yes" : n, ss = ({
2860
2858
  ColumnsNumber: n = 1,
2861
2859
  data: e = {},
2862
2860
  ForceText: t,
2863
2861
  TextColName: r,
2864
2862
  TextColor: s = "var(--smp-dashList-color-base)",
2865
- Fillspace: i,
2866
- FontSize: a,
2863
+ Fillspace: a,
2864
+ FontSize: i,
2867
2865
  Horizontal: o,
2868
2866
  ForceIcon: l,
2869
2867
  IconColName: c,
@@ -2878,9 +2876,9 @@ const ss = ({
2878
2876
  SelectLayout: x = "1",
2879
2877
  onClick: O
2880
2878
  }) => {
2881
- const D = "N/A", v = (e == null ? void 0 : e.columns) || [], A = (e == null ? void 0 : e.rows) || [], j = A.length > 0, Y = "--smp-dashList-color", F = "smp-layout", C = "descr", M = "icon", U = "um", J = "value", K = a || "1em", ne = "18px", z = "--smp-dashList-columns", V = "--smp-dashList-fontSize", B = {
2879
+ const D = "N/A", v = (e == null ? void 0 : e.columns) || [], A = (e == null ? void 0 : e.rows) || [], j = A.length > 0, Y = "--smp-dashList-color", F = "smp-layout", C = "descr", M = "icon", U = "um", J = "value", K = i || "1em", ne = "18px", z = "--smp-dashList-columns", V = "--smp-dashList-fontSize", B = {
2882
2880
  dash: (N = "1") => {
2883
- const G = d(N), ee = Ce[G], te = m(G, C), le = m(G, M), ge = m(G, U), ce = m(G, J);
2881
+ const G = d(N), ee = Ae[G], te = m(G, C), le = m(G, M), ge = m(G, U), ce = m(G, J);
2884
2882
  return {
2885
2883
  container: ee,
2886
2884
  descr: te,
@@ -2889,9 +2887,9 @@ const ss = ({
2889
2887
  value: ce
2890
2888
  };
2891
2889
  },
2892
- dashList: `${Ce["smp-dash-list"]} ${Ie(i) ? Ce["smp-dash-list-fill-space"] : ""}
2893
- ${Ie(o) ? Ce["smp-dash-list-horizontal"] : ""}`
2894
- }, { format: k } = it(), d = (N) => `${F}-${N}`, m = (N, G) => Ce[`${N}__${G}`], b = (N) => `${Y}-${N}`, _ = (N) => {
2890
+ dashList: `${Ae["smp-dash-list"]} ${je(a) ? Ae["smp-dash-list-fill-space"] : ""}
2891
+ ${je(o) ? Ae["smp-dash-list-horizontal"] : ""}`
2892
+ }, { format: k } = st(), d = (N) => `${F}-${N}`, m = (N, G) => Ae[`${N}__${G}`], b = (N) => `${Y}-${N}`, _ = (N) => {
2895
2893
  const G = /R(\d{1,3})G(\d{1,3})B(\d{1,3})/;
2896
2894
  if (G.test(N)) {
2897
2895
  const te = N.match(G) || [];
@@ -2970,7 +2968,7 @@ const ss = ({
2970
2968
  style: ge,
2971
2969
  tabIndex: 0,
2972
2970
  onClick: () => I(N),
2973
- onKeyDown: (wr) => L(wr, N),
2971
+ onKeyDown: (_r) => L(_r, N),
2974
2972
  children: ce
2975
2973
  },
2976
2974
  N.id
@@ -3008,14 +3006,14 @@ const ss = ({
3008
3006
  k: ""
3009
3007
  };
3010
3008
  };
3011
- class Qe {
3009
+ class Ze {
3012
3010
  constructor(e, t) {
3013
3011
  be(this, "class");
3014
3012
  be(this, "value");
3015
3013
  this.class = e, this.value = t;
3016
3014
  }
3017
3015
  static fromDataObj(e) {
3018
- return new Qe(e, e.k == "1" || e.k == "true");
3016
+ return new Ze(e, e.k == "1" || e.k == "true");
3019
3017
  }
3020
3018
  getValue() {
3021
3019
  return this.value;
@@ -3031,7 +3029,7 @@ class Qe {
3031
3029
  }
3032
3030
  }
3033
3031
  function $n(n, e) {
3034
- if (_t(n)) {
3032
+ if (Et(n)) {
3035
3033
  const f = new Date(n);
3036
3034
  if (!isNaN(f.getTime()))
3037
3035
  return f;
@@ -3039,7 +3037,7 @@ function $n(n, e) {
3039
3037
  const t = /* @__PURE__ */ new Date(), r = n.replaceAll("/", "").replaceAll("-", "");
3040
3038
  let s = "DDMMYYYY";
3041
3039
  e === "en" && (s = "MMDDYYYY");
3042
- const i = s.indexOf("DD"), a = s.indexOf("MM");
3040
+ const a = s.indexOf("DD"), i = s.indexOf("MM");
3043
3041
  let o = 0, l = 0, c = "";
3044
3042
  switch (r.length) {
3045
3043
  case 1:
@@ -3047,23 +3045,23 @@ function $n(n, e) {
3047
3045
  return o = parseInt(r), t.setDate(o), qe(t) ? t : n;
3048
3046
  case 3:
3049
3047
  case 4:
3050
- return o = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), a === 0 ? (t.setDate(l), t.setMonth(o - 1)) : i === 0 && (t.setDate(o), t.setMonth(l - 1)), qe(t) ? t : n;
3048
+ return o = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), i === 0 ? (t.setDate(l), t.setMonth(o - 1)) : a === 0 && (t.setDate(o), t.setMonth(l - 1)), qe(t) ? t : n;
3051
3049
  case 5:
3052
3050
  case 6: {
3053
3051
  o = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), Number(r.substring(4)) > 50 ? c = "19" + r.substring(4) : c = "20" + r.substring(4);
3054
3052
  let f = 0, u = 0;
3055
- return a === 0 ? (f = l, u = o - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = o, u = l - 1, t.setFullYear(parseInt(c), u, f)), xt(o, u, parseInt(c)) && qe(t) ? t : n;
3053
+ return i === 0 ? (f = l, u = o - 1, t.setFullYear(parseInt(c), u, f)) : a === 0 && (f = o, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(o, u, parseInt(c)) && qe(t) ? t : n;
3056
3054
  }
3057
3055
  case 7:
3058
3056
  case 8: {
3059
3057
  o = parseInt(r.substring(0, 2)), l = parseInt(r.substring(2, 4)), c = r.substring(4);
3060
3058
  let f = 0, u = 0;
3061
- return a === 0 ? (f = l, u = o - 1, t.setFullYear(parseInt(c), u, f)) : i === 0 && (f = o, u = l - 1, t.setFullYear(parseInt(c), u, f)), xt(f, u, parseInt(c)) && qe(t) ? t : n;
3059
+ return i === 0 ? (f = l, u = o - 1, t.setFullYear(parseInt(c), u, f)) : a === 0 && (f = o, u = l - 1, t.setFullYear(parseInt(c), u, f)), bt(f, u, parseInt(c)) && qe(t) ? t : n;
3062
3060
  }
3063
3061
  }
3064
3062
  return n;
3065
3063
  }
3066
- function _t(n) {
3064
+ function Et(n) {
3067
3065
  return /^\d{4}-\d{2}-\d{2}$/.test(n) && n.length === 10;
3068
3066
  }
3069
3067
  function qe(n) {
@@ -3072,9 +3070,9 @@ function qe(n) {
3072
3070
  function jn(n) {
3073
3071
  if (!/^\d{8}$/.test(n)) return !1;
3074
3072
  const e = parseInt(n.slice(0, 4), 10), t = parseInt(n.slice(4, 6), 10), r = parseInt(n.slice(6, 8), 10);
3075
- return xt(r, t - 1, e);
3073
+ return bt(r, t - 1, e);
3076
3074
  }
3077
- function xt(n, e, t) {
3075
+ function bt(n, e, t) {
3078
3076
  const r = [
3079
3077
  31,
3080
3078
  // January
@@ -3110,20 +3108,20 @@ function Nn(n) {
3110
3108
  const e = n.getFullYear(), t = String(n.getMonth() + 1).padStart(2, "0"), r = String(n.getDate()).padStart(2, "0");
3111
3109
  return isNaN(e) || isNaN(Number(t)) || isNaN(Number(r)) ? n.toString() : `${e}-${t}-${r}`;
3112
3110
  }
3113
- class et {
3111
+ class Qe {
3114
3112
  constructor(e, t) {
3115
3113
  be(this, "class");
3116
3114
  be(this, "date");
3117
3115
  this.class = e, this.date = t;
3118
3116
  }
3119
3117
  static fromDataObj(e) {
3120
- const t = or.get(`${e.t}${e.p}`);
3118
+ const t = ir.get(`${e.t}${e.p}`);
3121
3119
  if (t)
3122
- return new et(e, t.legacyToIso(e.k));
3120
+ return new Qe(e, t.legacyToIso(e.k));
3123
3121
  throw new Error(`Date creation from ${e.t}${e.p} not implemented yet`);
3124
3122
  }
3125
3123
  getLegacyValue() {
3126
- const e = or.get(`${this.class.t}${this.class.p}`);
3124
+ const e = ir.get(`${this.class.t}${this.class.p}`);
3127
3125
  if (e)
3128
3126
  return e.isoToLegacy(this.date);
3129
3127
  throw new Error(
@@ -3134,7 +3132,7 @@ class et {
3134
3132
  return this.date;
3135
3133
  }
3136
3134
  }
3137
- const or = /* @__PURE__ */ new Map([
3135
+ const ir = /* @__PURE__ */ new Map([
3138
3136
  [
3139
3137
  "D8*YYMD",
3140
3138
  {
@@ -3142,11 +3140,11 @@ const or = /* @__PURE__ */ new Map([
3142
3140
  return jn(n) && `${n.substring(0, 4)}-${n.substring(4, 6)}-${n.substring(6, 8)}` || n;
3143
3141
  },
3144
3142
  isoToLegacy(n) {
3145
- return _t(n) && n.replaceAll("-", "") || n;
3143
+ return Et(n) && n.replaceAll("-", "") || n;
3146
3144
  }
3147
3145
  }
3148
3146
  ]
3149
- ]), tt = (n, e) => {
3147
+ ]), et = (n, e) => {
3150
3148
  he(() => {
3151
3149
  const t = (r) => {
3152
3150
  typeof n == "object" && n !== null && "current" in n && n.current && !n.current.contains(r.target) && e();
@@ -3156,18 +3154,18 @@ const or = /* @__PURE__ */ new Map([
3156
3154
  };
3157
3155
  }, [n, e]);
3158
3156
  };
3159
- function wt({
3157
+ function _t({
3160
3158
  position: n = "bottom",
3161
3159
  enabled: e = !0
3162
3160
  }) {
3163
- const t = xe(null), r = xe(null), [s, i] = Q(0), a = Te(() => {
3161
+ const t = xe(null), r = xe(null), [s, a] = Q(0), i = Oe(() => {
3164
3162
  const o = t.current, l = r.current;
3165
3163
  if (!o || !l) return;
3166
3164
  const { top: c, left: f, width: u, height: p } = o.getBoundingClientRect();
3167
- i(u);
3165
+ a(u);
3168
3166
  const h = l.offsetHeight, g = l.offsetWidth;
3169
3167
  if (g === 0 || h === 0) {
3170
- requestAnimationFrame(a);
3168
+ requestAnimationFrame(i);
3171
3169
  return;
3172
3170
  }
3173
3171
  let y = c + window.scrollY, E = f + window.scrollX;
@@ -3189,17 +3187,17 @@ function wt({
3189
3187
  l.style.transform = `translate(${E}px, ${y}px)`;
3190
3188
  });
3191
3189
  }, [n]);
3192
- return Rr(() => {
3193
- e && t.current && r.current && a();
3190
+ return Tr(() => {
3191
+ e && t.current && r.current && i();
3194
3192
  const o = new MutationObserver(() => {
3195
- r.current && a();
3193
+ r.current && i();
3196
3194
  });
3197
- return r.current && o.observe(r.current, { childList: !0, subtree: !0 }), window.addEventListener("resize", a), window.addEventListener("scroll", a, !0), () => {
3198
- window.removeEventListener("resize", a), window.removeEventListener("scroll", a, !0), o.disconnect();
3195
+ return r.current && o.observe(r.current, { childList: !0, subtree: !0 }), window.addEventListener("resize", i), window.addEventListener("scroll", i, !0), () => {
3196
+ window.removeEventListener("resize", i), window.removeEventListener("scroll", i, !0), o.disconnect();
3199
3197
  };
3200
- }, [a, e]), { anchorRef: t, targetRef: r, anchorWidth: s };
3198
+ }, [i, e]), { anchorRef: t, targetRef: r, anchorWidth: s };
3201
3199
  }
3202
- const rt = (n, e, t) => {
3200
+ const tt = (n, e, t) => {
3203
3201
  if (t)
3204
3202
  switch (t) {
3205
3203
  case "CodeOnly":
@@ -3210,11 +3208,11 @@ const rt = (n, e, t) => {
3210
3208
  return `${n} - ${e}`;
3211
3209
  }
3212
3210
  return n;
3213
- }, ke = {
3211
+ }, Le = {
3214
3212
  "smp-list": "_smp-list_1ux5k_1",
3215
3213
  "smp-list-container": "_smp-list-container_1ux5k_18",
3216
3214
  "smp-list-listItem": "_smp-list-listItem_1ux5k_23"
3217
- }, mt = {
3215
+ }, ht = {
3218
3216
  "smp-helper-text": "_smp-helper-text_10pis_1",
3219
3217
  "smp-helper-text-danger": "_smp-helper-text-danger_10pis_9",
3220
3218
  "smp-helper-text-warning": "_smp-helper-text-warning_10pis_13",
@@ -3225,15 +3223,15 @@ const rt = (n, e, t) => {
3225
3223
  state: t
3226
3224
  }) => {
3227
3225
  const r = {
3228
- container: `${mt["smp-helper-text"]} ${e ? mt["smp-helper-text-disabled"] : ""} ${t ? mt[`smp-helper-text-${t}`] : ""}`
3226
+ container: `${ht["smp-helper-text"]} ${e ? ht["smp-helper-text-disabled"] : ""} ${t ? ht[`smp-helper-text-${t}`] : ""}`
3229
3227
  };
3230
3228
  return /* @__PURE__ */ w.jsx("span", { className: r.container, children: n });
3231
- }, lr = {
3229
+ }, or = {
3232
3230
  "smp-label": "_smp-label_3ywt3_1",
3233
3231
  "smp-label-disabled": "_smp-label-disabled_3ywt3_5"
3234
3232
  }, Fn = ({ label: n, disabled: e }) => {
3235
3233
  const t = {
3236
- container: `${lr["smp-label"]} ${e ? lr["smp-label-disabled"] : ""}`
3234
+ container: `${or["smp-label"]} ${e ? or["smp-label-disabled"] : ""}`
3237
3235
  };
3238
3236
  return /* @__PURE__ */ w.jsx("span", { className: t.container, children: n });
3239
3237
  }, me = {
@@ -3249,14 +3247,14 @@ const rt = (n, e, t) => {
3249
3247
  "smp-textfield-readOnly": "_smp-textfield-readOnly_1t99c_117",
3250
3248
  "smp-textfield-variant-notSelectable": "_smp-textfield-variant-notSelectable_1t99c_122",
3251
3249
  "smp-textfield-disabled": "_smp-textfield-disabled_1t99c_132"
3252
- }, Re = ({
3250
+ }, Te = ({
3253
3251
  disabled: n,
3254
3252
  readOnly: e,
3255
3253
  bindValue: t,
3256
3254
  icon: r,
3257
3255
  onBlur: s,
3258
- onChange: i,
3259
- placeholder: a,
3256
+ onChange: a,
3257
+ placeholder: i,
3260
3258
  shapeIcon: o,
3261
3259
  sizing: l,
3262
3260
  state: c,
@@ -3273,10 +3271,10 @@ const rt = (n, e, t) => {
3273
3271
  error: D
3274
3272
  }) => {
3275
3273
  const v = D ? "danger" : c, A = D || c == "danger" ? "error" : o, j = O || !!D, Y = (C) => {
3276
- i == null || i(C.target.value);
3274
+ a == null || a(C.target.value);
3277
3275
  }, F = {
3278
3276
  wrapper: `${me["smp-textfield-wrapper"]}`,
3279
- container: `${me["smp-textfield"]} ${n ? me["smp-textfield-disabled"] : ""} ${e ? me["smp-textfield-readOnly"] : ""} ${a ? me["smp-textfield-placeholder"] : ""} ${l ? me[`smp-textfield-${l}`] : ""} ${v ? me[`smp-textfield-${v}`] : ""} ${f ? me[`smp-textfield-variant-${f}`] : ""}`,
3277
+ container: `${me["smp-textfield"]} ${n ? me["smp-textfield-disabled"] : ""} ${e ? me["smp-textfield-readOnly"] : ""} ${i ? me["smp-textfield-placeholder"] : ""} ${l ? me[`smp-textfield-${l}`] : ""} ${v ? me[`smp-textfield-${v}`] : ""} ${f ? me[`smp-textfield-variant-${f}`] : ""}`,
3280
3278
  input: `${me["smp-textfield-input"]}`
3281
3279
  };
3282
3280
  return /* @__PURE__ */ w.jsxs("div", { className: F.wrapper, children: [
@@ -3288,7 +3286,7 @@ const rt = (n, e, t) => {
3288
3286
  {
3289
3287
  type: E,
3290
3288
  value: t,
3291
- placeholder: a,
3289
+ placeholder: i,
3292
3290
  onChange: Y,
3293
3291
  onBlur: s,
3294
3292
  className: F.input,
@@ -3326,7 +3324,7 @@ function Vn({
3326
3324
  containerHeight: t,
3327
3325
  overscan: r = 5
3328
3326
  }) {
3329
- const [s, i] = Q(0), a = xe(null), o = n.length * e, l = Math.max(0, Math.floor(s / e) - r), c = Math.min(
3327
+ const [s, a] = Q(0), i = xe(null), o = n.length * e, l = Math.max(0, Math.floor(s / e) - r), c = Math.min(
3330
3328
  n.length - 1,
3331
3329
  Math.floor((s + t) / e) + r
3332
3330
  ), f = [];
@@ -3336,18 +3334,18 @@ function Vn({
3336
3334
  index: h,
3337
3335
  offsetTop: h * e
3338
3336
  });
3339
- const u = Te((h) => {
3337
+ const u = Oe((h) => {
3340
3338
  const g = h.target.scrollTop;
3341
- i(g);
3339
+ a(g);
3342
3340
  }, []), p = (h) => {
3343
- if (!a.current) return;
3344
- const g = h * e, y = g + e, E = a.current, R = E.scrollTop, x = R + t;
3341
+ if (!i.current) return;
3342
+ const g = h * e, y = g + e, E = i.current, R = E.scrollTop, x = R + t;
3345
3343
  g < R ? E.scrollTop = g : y > x && (E.scrollTop = y - t);
3346
3344
  };
3347
3345
  return {
3348
3346
  virtualItems: f,
3349
3347
  containerProps: {
3350
- ref: a,
3348
+ ref: i,
3351
3349
  style: {
3352
3350
  maxHeight: `${t}px`,
3353
3351
  overflowY: "auto",
@@ -3373,15 +3371,15 @@ function Vn({
3373
3371
  scrollToIndex: p
3374
3372
  };
3375
3373
  }
3376
- const Yn = 10, br = ({
3374
+ const Yn = 10, vr = ({
3377
3375
  id: n,
3378
3376
  options: e,
3379
3377
  displayMode: t,
3380
3378
  ref: r,
3381
3379
  showFilter: s,
3382
- selectedIndex: i = null,
3380
+ selectedIndex: a = null,
3383
3381
  // current outline element
3384
- activeIndex: a = [],
3382
+ activeIndex: i = [],
3385
3383
  // active element
3386
3384
  width: o,
3387
3385
  onClick: l,
@@ -3389,7 +3387,7 @@ const Yn = 10, br = ({
3389
3387
  }) => {
3390
3388
  var C;
3391
3389
  const [f, u] = Q(""), p = 24, [h, g] = Q(
3392
- i !== null ? i : -1
3390
+ a !== null ? a : -1
3393
3391
  ), y = s !== void 0 ? s : e.length > Yn, E = f ? e.filter(
3394
3392
  (M) => M.label.toLowerCase().includes(f.toLowerCase())
3395
3393
  ) : e, R = (M) => {
@@ -3401,8 +3399,8 @@ const Yn = 10, br = ({
3401
3399
  overscan: 5
3402
3400
  });
3403
3401
  he(() => {
3404
- i !== null && i !== h && g(i);
3405
- }, [i]), he(() => {
3402
+ a !== null && a !== h && g(a);
3403
+ }, [a]), he(() => {
3406
3404
  h >= 0 && h < E.length && v(h);
3407
3405
  }, [h, E]);
3408
3406
  const A = (M) => {
@@ -3417,10 +3415,10 @@ const Yn = 10, br = ({
3417
3415
  }, Y = (M) => {
3418
3416
  A(M);
3419
3417
  }, F = {
3420
- wrapper: `${ke["smp-list"]}`,
3421
- container: `${ke["smp-list-container"]}`,
3422
- virtualScroll: `${ke["smp-list-virtualScroll"]}`,
3423
- listItem: `${ke["smp-list-listItem"]}`
3418
+ wrapper: `${Le["smp-list"]}`,
3419
+ container: `${Le["smp-list-container"]}`,
3420
+ virtualScroll: `${Le["smp-list-virtualScroll"]}`,
3421
+ listItem: `${Le["smp-list-listItem"]}`
3424
3422
  };
3425
3423
  return /* @__PURE__ */ w.jsxs(
3426
3424
  "div",
@@ -3433,7 +3431,7 @@ const Yn = 10, br = ({
3433
3431
  },
3434
3432
  children: [
3435
3433
  y && /* @__PURE__ */ w.jsx(
3436
- Re,
3434
+ Te,
3437
3435
  {
3438
3436
  bindValue: f,
3439
3437
  placeholder: "Search...",
@@ -3452,7 +3450,7 @@ const Yn = 10, br = ({
3452
3450
  onKeyDown: Y,
3453
3451
  "aria-activedescendant": h >= 0 && h < E.length ? (C = E[h]) == null ? void 0 : C.id : void 0,
3454
3452
  children: /* @__PURE__ */ w.jsx("div", { ...D, className: F.virtualScroll, children: x.map(({ item: M, index: U, offsetTop: J }) => {
3455
- const K = a.includes(M.id);
3453
+ const K = i.includes(M.id);
3456
3454
  return (
3457
3455
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
3458
3456
  /* @__PURE__ */ w.jsxs(
@@ -3462,7 +3460,7 @@ const Yn = 10, br = ({
3462
3460
  id: M.id,
3463
3461
  "aria-selected": h === U ? "true" : "false",
3464
3462
  tabIndex: -1,
3465
- className: `${F.listItem} ${h === U ? ke["selected-item"] : ""}`,
3463
+ className: `${F.listItem} ${h === U ? Le["selected-item"] : ""}`,
3466
3464
  "aria-label": M.id + "-" + M.label,
3467
3465
  style: {
3468
3466
  height: `${p}px`,
@@ -3474,7 +3472,7 @@ const Yn = 10, br = ({
3474
3472
  l == null || l(M), g(U);
3475
3473
  },
3476
3474
  children: [
3477
- rt(M.id, M.label, t),
3475
+ tt(M.id, M.label, t),
3478
3476
  K && /* @__PURE__ */ w.jsx(ve, { icon: "check", width: 16 })
3479
3477
  ]
3480
3478
  },
@@ -3487,22 +3485,22 @@ const Yn = 10, br = ({
3487
3485
  ]
3488
3486
  }
3489
3487
  );
3490
- }, xr = ({
3488
+ }, br = ({
3491
3489
  displayMode: n,
3492
3490
  bindValue: e,
3493
3491
  optionalDisplayValue: t,
3494
3492
  ...r
3495
3493
  }) => {
3496
- const [s, i] = Q(
3497
- rt(e, t, n)
3494
+ const [s, a] = Q(
3495
+ tt(e, t, n)
3498
3496
  );
3499
3497
  return he(() => {
3500
- i(e);
3498
+ a(e);
3501
3499
  }, [e]), he(() => {
3502
- i(
3503
- rt(e, t, n)
3500
+ a(
3501
+ tt(e, t, n)
3504
3502
  );
3505
- }, [t, n]), /* @__PURE__ */ w.jsx(Re, { ...r, bindValue: s });
3503
+ }, [t, n]), /* @__PURE__ */ w.jsx(Te, { ...r, bindValue: s });
3506
3504
  }, Un = (n) => {
3507
3505
  const e = xe(null);
3508
3506
  return he(() => () => {
@@ -3512,14 +3510,14 @@ const Yn = 10, br = ({
3512
3510
  r();
3513
3511
  }, n);
3514
3512
  };
3515
- }, Sr = ({
3513
+ }, xr = ({
3516
3514
  bindValue: n,
3517
3515
  optionalDisplayValue: e,
3518
3516
  options: t,
3519
3517
  displayMode: r,
3520
3518
  listDisplayMode: s = "Both",
3521
- minimumChars: i = 3,
3522
- placeholder: a,
3519
+ minimumChars: a = 3,
3520
+ placeholder: i,
3523
3521
  fun: o,
3524
3522
  _changeOnEnter: l = !1,
3525
3523
  onChange: c,
@@ -3527,13 +3525,13 @@ const Yn = 10, br = ({
3527
3525
  _multiActiveIndex: u,
3528
3526
  ...p
3529
3527
  }) => {
3530
- const [h, g] = Q(n), [y, E] = Q(e), [R, x] = Q(!1), [O, D] = Q(t || []), [v, A] = Q(0), [j, Y] = Q([n]), { anchorRef: F, targetRef: C, anchorWidth: M } = wt({
3528
+ const [h, g] = Q(n), [y, E] = Q(e), [R, x] = Q(!1), [O, D] = Q(t || []), [v, A] = Q(0), [j, Y] = Q([n]), { anchorRef: F, targetRef: C, anchorWidth: M } = _t({
3531
3529
  position: "bottom",
3532
3530
  enabled: R
3533
3531
  });
3534
- tt(C, () => x(!1));
3532
+ et(C, () => x(!1));
3535
3533
  const U = Un(400), J = (V) => {
3536
- V.length >= i ? o && f && U(async () => {
3534
+ V.length >= a ? o && f && U(async () => {
3537
3535
  const B = await f(o, V);
3538
3536
  D(B), A(B.length > 0 ? 0 : -1), x(!0);
3539
3537
  }) : x(!1), g(V), E(e), l || c == null || c(V, e);
@@ -3559,14 +3557,14 @@ const Yn = 10, br = ({
3559
3557
  };
3560
3558
  return /* @__PURE__ */ w.jsxs("div", { children: [
3561
3559
  /* @__PURE__ */ w.jsx(
3562
- xr,
3560
+ br,
3563
3561
  {
3564
3562
  ...p,
3565
3563
  bindValue: h,
3566
3564
  optionalDisplayValue: y,
3567
3565
  displayMode: r,
3568
3566
  shapeIcon: "magnify",
3569
- placeholder: a,
3567
+ placeholder: i,
3570
3568
  ref: F,
3571
3569
  onChange: J,
3572
3570
  onKeyDown: z,
@@ -3574,7 +3572,7 @@ const Yn = 10, br = ({
3574
3572
  }
3575
3573
  ),
3576
3574
  R && /* @__PURE__ */ w.jsx(
3577
- br,
3575
+ vr,
3578
3576
  {
3579
3577
  options: O,
3580
3578
  displayMode: s,
@@ -3588,7 +3586,7 @@ const Yn = 10, br = ({
3588
3586
  }
3589
3587
  )
3590
3588
  ] });
3591
- }, $e = {
3589
+ }, ke = {
3592
3590
  "smp-button-container": "_smp-button-container_pte2h_1",
3593
3591
  "smp-button-extraSmall": "_smp-button-extraSmall_pte2h_51",
3594
3592
  "smp-button-small": "_smp-button-small_pte2h_56",
@@ -3601,14 +3599,14 @@ const Yn = 10, br = ({
3601
3599
  "smp-buttonVariant-primary": "_smp-buttonVariant-primary_pte2h_97",
3602
3600
  "smp-buttonVariant-danger": "_smp-buttonVariant-danger_pte2h_111",
3603
3601
  "smp-buttonType-ghost": "_smp-buttonType-ghost_pte2h_138"
3604
- }, nt = ({
3602
+ }, rt = ({
3605
3603
  bindValue: n,
3606
3604
  onClick: e,
3607
3605
  ariaLabel: t,
3608
3606
  icon: r,
3609
3607
  disabled: s,
3610
- sizing: i = "base",
3611
- variant: a = "primary",
3608
+ sizing: a = "base",
3609
+ variant: i = "primary",
3612
3610
  type: o = "raised",
3613
3611
  //FIXME: Type is sensitive value
3614
3612
  showIcon: l = !0,
@@ -3617,7 +3615,7 @@ const Yn = 10, br = ({
3617
3615
  loading: u = !1
3618
3616
  }) => {
3619
3617
  const p = {
3620
- container: `${$e["smp-button-container"]} ${i ? $e[`smp-button-${i}`] : ""} ${a ? $e[`smp-buttonVariant-${a}`] : ""} ${o ? $e[`smp-buttonType-${o}`] : ""} ${f ? $e["smp-button-fullWidth"] : ""}`
3618
+ container: `${ke["smp-button-container"]} ${a ? ke[`smp-button-${a}`] : ""} ${i ? ke[`smp-buttonVariant-${i}`] : ""} ${o ? ke[`smp-buttonType-${o}`] : ""} ${f ? ke["smp-button-fullWidth"] : ""}`
3621
3619
  }, h = (g) => ({
3622
3620
  primary: "onPrimary",
3623
3621
  danger: "onDanger",
@@ -3631,13 +3629,13 @@ const Yn = 10, br = ({
3631
3629
  "aria-label": t,
3632
3630
  disabled: s,
3633
3631
  "aria-busy": u,
3634
- children: u ? /* @__PURE__ */ w.jsx(ve, { icon: "spinner", state: h(a), spin: !0 }) : /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
3632
+ children: u ? /* @__PURE__ */ w.jsx(ve, { icon: "spinner", state: h(i), spin: !0 }) : /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
3635
3633
  r && l && /* @__PURE__ */ w.jsx(
3636
3634
  ve,
3637
3635
  {
3638
3636
  icon: r,
3639
3637
  disabled: s,
3640
- state: h(a)
3638
+ state: h(i)
3641
3639
  }
3642
3640
  ),
3643
3641
  c && /* @__PURE__ */ w.jsx("span", { children: n })
@@ -3666,7 +3664,7 @@ const Yn = 10, br = ({
3666
3664
  title: "h3",
3667
3665
  body: "h6",
3668
3666
  label: "label"
3669
- }, gt = {
3667
+ }, mt = {
3670
3668
  "smp-typography": "_smp-typography_oznk3_1",
3671
3669
  "smp-typography-body": "_smp-typography-body_oznk3_12",
3672
3670
  "smp-typography-large": "_smp-typography-large_oznk3_16",
@@ -3679,28 +3677,28 @@ const Yn = 10, br = ({
3679
3677
  ...t
3680
3678
  }) => {
3681
3679
  const r = Hn[n], s = {
3682
- container: `${gt["smp-typography"]} ${n ? gt[`smp-typography-${n}`] : ""} ${t.disabled ? gt["smp-typography-disabled"] : ""}`
3680
+ container: `${mt["smp-typography"]} ${n ? mt[`smp-typography-${n}`] : ""} ${t.disabled ? mt["smp-typography-disabled"] : ""}`
3683
3681
  };
3684
3682
  return /* @__PURE__ */ w.jsx(r, { className: s.container, disabled: t.disabled, children: e });
3685
- }, cr = {
3683
+ }, lr = {
3686
3684
  "smp-chips-container": "_smp-chips-container_g7dut_1",
3687
3685
  "smp-chips-element": "_smp-chips-element_g7dut_9"
3688
- }, Er = ({
3686
+ }, Sr = ({
3689
3687
  elements: n,
3690
3688
  isEditable: e = !1,
3691
3689
  displayMode: t = "Both",
3692
3690
  onChange: r
3693
3691
  }) => {
3694
3692
  const s = {
3695
- container: `${cr["smp-chips-container"]}`,
3696
- element: `${cr["smp-chips-element"]}`
3697
- }, i = (a) => {
3698
- r == null || r(n.filter((o, l) => l !== a));
3693
+ container: `${lr["smp-chips-container"]}`,
3694
+ element: `${lr["smp-chips-element"]}`
3695
+ }, a = (i) => {
3696
+ r == null || r(n.filter((o, l) => l !== i));
3699
3697
  };
3700
- return /* @__PURE__ */ w.jsx("div", { className: s.container, role: "list", children: n.map((a, o) => {
3701
- const l = rt(
3702
- a.bindValue,
3703
- a.optionalDisplayValue,
3698
+ return /* @__PURE__ */ w.jsx("div", { className: s.container, role: "list", children: n.map((i, o) => {
3699
+ const l = tt(
3700
+ i.bindValue,
3701
+ i.optionalDisplayValue,
3704
3702
  t
3705
3703
  );
3706
3704
  return /* @__PURE__ */ w.jsxs("div", { className: s.element, role: "listitem", children: [
@@ -3710,13 +3708,13 @@ const Yn = 10, br = ({
3710
3708
  {
3711
3709
  icon: "close",
3712
3710
  isInteractable: !0,
3713
- onClick: () => i(o)
3711
+ onClick: () => a(o)
3714
3712
  }
3715
3713
  )
3716
3714
  ] }, o);
3717
3715
  }) });
3718
3716
  };
3719
- function _r(n, e) {
3717
+ function Er(n, e) {
3720
3718
  const t = xe(null);
3721
3719
  he(() => {
3722
3720
  if (!n) return;
@@ -3732,7 +3730,7 @@ function _r(n, e) {
3732
3730
  const c = s();
3733
3731
  c.length > 0 && requestAnimationFrame(() => c[0].focus());
3734
3732
  })();
3735
- const a = (c) => {
3733
+ const i = (c) => {
3736
3734
  if (c.key === "Escape" || c.key !== "Tab") return;
3737
3735
  const f = s();
3738
3736
  if (f.length === 0) return;
@@ -3745,10 +3743,10 @@ function _r(n, e) {
3745
3743
  f.length > 0 && f[0].focus();
3746
3744
  }
3747
3745
  };
3748
- document.addEventListener("keydown", a), document.addEventListener("mousedown", o);
3746
+ document.addEventListener("keydown", i), document.addEventListener("mousedown", o);
3749
3747
  const l = document.body.style.overflow;
3750
3748
  return document.body.style.overflow = "hidden", () => {
3751
- document.removeEventListener("keydown", a), document.removeEventListener("mousedown", o), document.body.style.overflow = l, t.current && requestAnimationFrame(() => {
3749
+ document.removeEventListener("keydown", i), document.removeEventListener("mousedown", o), document.body.style.overflow = l, t.current && requestAnimationFrame(() => {
3752
3750
  var c;
3753
3751
  (c = t.current) == null || c.focus();
3754
3752
  });
@@ -3761,17 +3759,17 @@ const Kn = ({
3761
3759
  options: t = [],
3762
3760
  optionalDisplayValue: r,
3763
3761
  displayMode: s,
3764
- listDisplayMode: i = "Both",
3765
- fun: a,
3762
+ listDisplayMode: a = "Both",
3763
+ fun: i,
3766
3764
  onOptionsRequest: o,
3767
3765
  multiActiveIndex: l,
3768
3766
  ...c
3769
3767
  }) => {
3770
- const [f, u] = Q(!1), [p, h] = Q(t), [g, y] = Q(-1), [E, R] = Q([n]), x = Dr(), { anchorRef: O, targetRef: D, anchorWidth: v } = wt({
3768
+ const [f, u] = Q(!1), [p, h] = Q(t), [g, y] = Q(-1), [E, R] = Q([n]), x = Rr(), { anchorRef: O, targetRef: D, anchorWidth: v } = _t({
3771
3769
  position: "bottom",
3772
3770
  enabled: f
3773
3771
  });
3774
- tt(D, () => u(!1)), _r(f, D);
3772
+ et(D, () => u(!1)), Er(f, D);
3775
3773
  const A = (C) => {
3776
3774
  e == null || e(C.id, C.label);
3777
3775
  const M = p.findIndex((U) => U.id === C.id);
@@ -3781,7 +3779,7 @@ const Kn = ({
3781
3779
  }, Y = (C) => {
3782
3780
  (C.key === "ArrowDown" || C.key === "ArrowUp") && (C.preventDefault(), F());
3783
3781
  }, F = () => {
3784
- a && o && o(a, void 0).then((C) => {
3782
+ i && o && o(i, void 0).then((C) => {
3785
3783
  h(C), y(C.length > 0 ? 0 : -1), u(!0);
3786
3784
  });
3787
3785
  };
@@ -3794,7 +3792,7 @@ const Kn = ({
3794
3792
  "aria-owns": x,
3795
3793
  children: [
3796
3794
  /* @__PURE__ */ w.jsx(
3797
- xr,
3795
+ br,
3798
3796
  {
3799
3797
  ...c,
3800
3798
  bindValue: n,
@@ -3811,11 +3809,11 @@ const Kn = ({
3811
3809
  }
3812
3810
  ),
3813
3811
  f && /* @__PURE__ */ w.jsx(
3814
- br,
3812
+ vr,
3815
3813
  {
3816
3814
  id: x,
3817
3815
  options: p,
3818
- displayMode: i,
3816
+ displayMode: a,
3819
3817
  ref: D,
3820
3818
  selectedIndex: g,
3821
3819
  activeIndex: l || E,
@@ -3828,7 +3826,7 @@ const Kn = ({
3828
3826
  }
3829
3827
  );
3830
3828
  };
3831
- var Ot = /* @__PURE__ */ ((n) => (n.CALENDAR_FOR = "Date.CalendarFor", n.CLOSE = "Generic.Close", n.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", n))(Ot || {}), ae = /* @__PURE__ */ ((n) => (n.MONDAY = "Day.Monday", n.MONDAY_SHORT = "Day.MondayShort", n.TUESDAY = "Day.Tuesday", n.TUESDAY_SHORT = "Day.TuesdayShort", n.WEDNESDAY = "Day.Wednesday", n.WEDNESDAY_SHORT = "Day.WednesdayShort", n.THURSDAY = "Day.Thursday", n.THURSDAY_SHORT = "Day.ThursdayShort", n.FRIDAY = "Day.Friday", n.FRIDAY_SHORT = "Day.FridayShort", n.SATURDAY = "Day.Saturday", n.SATURDAY_SHORT = "Day.SaturdayShort", n.SUNDAY = "Day.Sunday", n.SUNDAY_SHORT = "Day.SundayShort", n))(ae || {}), oe = /* @__PURE__ */ ((n) => (n.JANUARY = "Month.January", n.FEBRUARY = "Month.February", n.MARCH = "Month.March", n.APRIL = "Month.April", n.MAY = "Month.May", n.JUNE = "Month.June", n.JULY = "Month.July", n.AUGUST = "Month.August", n.SEPTEMBER = "Month.September", n.OCTOBER = "Month.October", n.NOVEMBER = "Month.November", n.DECEMBER = "Month.December", n))(oe || {}), St = /* @__PURE__ */ ((n) => (n.PREVIOUS_DAY = "Date.PreviousDay", n.PREVIOUS_WEEK = "Date.PreviousWeek", n.PREVIOUS_MONTH = "Date.PreviousMonth", n.PREVIOUS_YEAR = "Date.PreviousYear", n.NEXT_DAY = "Date.NextDay", n.NEXT_WEEK = "Date.NextWeek", n.NEXT_MONTH = "Date.NextMonth", n.NEXT_YEAR = "Date.NextYear", n.YESTERDAY = "Date.Yesterday", n.TODAY = "Date.Today", n.TOMORROW = "Date.Tomorrow", n))(St || {});
3829
+ var wt = /* @__PURE__ */ ((n) => (n.CALENDAR_FOR = "Date.CalendarFor", n.CLOSE = "Generic.Close", n.SPOTLIGHT_DEFAULT_PLACEHOLDER = "Generic.SpotlightDefaultPlaceholder", n))(wt || {}), ie = /* @__PURE__ */ ((n) => (n.MONDAY = "Day.Monday", n.MONDAY_SHORT = "Day.MondayShort", n.TUESDAY = "Day.Tuesday", n.TUESDAY_SHORT = "Day.TuesdayShort", n.WEDNESDAY = "Day.Wednesday", n.WEDNESDAY_SHORT = "Day.WednesdayShort", n.THURSDAY = "Day.Thursday", n.THURSDAY_SHORT = "Day.ThursdayShort", n.FRIDAY = "Day.Friday", n.FRIDAY_SHORT = "Day.FridayShort", n.SATURDAY = "Day.Saturday", n.SATURDAY_SHORT = "Day.SaturdayShort", n.SUNDAY = "Day.Sunday", n.SUNDAY_SHORT = "Day.SundayShort", n))(ie || {}), oe = /* @__PURE__ */ ((n) => (n.JANUARY = "Month.January", n.FEBRUARY = "Month.February", n.MARCH = "Month.March", n.APRIL = "Month.April", n.MAY = "Month.May", n.JUNE = "Month.June", n.JULY = "Month.July", n.AUGUST = "Month.August", n.SEPTEMBER = "Month.September", n.OCTOBER = "Month.October", n.NOVEMBER = "Month.November", n.DECEMBER = "Month.December", n))(oe || {}), xt = /* @__PURE__ */ ((n) => (n.PREVIOUS_DAY = "Date.PreviousDay", n.PREVIOUS_WEEK = "Date.PreviousWeek", n.PREVIOUS_MONTH = "Date.PreviousMonth", n.PREVIOUS_YEAR = "Date.PreviousYear", n.NEXT_DAY = "Date.NextDay", n.NEXT_WEEK = "Date.NextWeek", n.NEXT_MONTH = "Date.NextMonth", n.NEXT_YEAR = "Date.NextYear", n.YESTERDAY = "Date.Yesterday", n.TODAY = "Date.Today", n.TOMORROW = "Date.Tomorrow", n))(xt || {});
3832
3830
  const de = {
3833
3831
  "smp-datepickercalendar": "_smp-datepickercalendar_u2io5_1",
3834
3832
  "smp-datepickercalendar-table": "_smp-datepickercalendar-table_u2io5_30",
@@ -3846,12 +3844,12 @@ function Bn({
3846
3844
  initialValue: r,
3847
3845
  targetRef: s
3848
3846
  }) {
3849
- const { translate: i } = it(), a = () => {
3847
+ const { translate: a } = st(), i = () => {
3850
3848
  if (!r) return;
3851
3849
  const k = new Date(r);
3852
3850
  return isNaN(k.getTime()) ? void 0 : k;
3853
3851
  }, [o] = Q(/* @__PURE__ */ new Date()), [l, c] = Q(
3854
- n || a() || /* @__PURE__ */ new Date()
3852
+ n || i() || /* @__PURE__ */ new Date()
3855
3853
  ), [f, u] = Q(
3856
3854
  l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
3857
3855
  ), [p, h] = Q(
@@ -3859,46 +3857,46 @@ function Bn({
3859
3857
  ), [g, y] = Q(
3860
3858
  l ? l.getDate() : null
3861
3859
  ), E = xe(null), R = xe([]), x = [
3862
- i(oe.JANUARY),
3863
- i(oe.FEBRUARY),
3864
- i(oe.MARCH),
3865
- i(oe.APRIL),
3866
- i(oe.MAY),
3867
- i(oe.JUNE),
3868
- i(oe.JULY),
3869
- i(oe.AUGUST),
3870
- i(oe.SEPTEMBER),
3871
- i(oe.OCTOBER),
3872
- i(oe.NOVEMBER),
3873
- i(oe.DECEMBER)
3860
+ a(oe.JANUARY),
3861
+ a(oe.FEBRUARY),
3862
+ a(oe.MARCH),
3863
+ a(oe.APRIL),
3864
+ a(oe.MAY),
3865
+ a(oe.JUNE),
3866
+ a(oe.JULY),
3867
+ a(oe.AUGUST),
3868
+ a(oe.SEPTEMBER),
3869
+ a(oe.OCTOBER),
3870
+ a(oe.NOVEMBER),
3871
+ a(oe.DECEMBER)
3874
3872
  ], O = [
3875
3873
  {
3876
- value: i(ae.SUNDAY_SHORT),
3877
- full: i(ae.SUNDAY)
3874
+ value: a(ie.SUNDAY_SHORT),
3875
+ full: a(ie.SUNDAY)
3878
3876
  },
3879
3877
  {
3880
- value: i(ae.MONDAY_SHORT),
3881
- full: i(ae.MONDAY)
3878
+ value: a(ie.MONDAY_SHORT),
3879
+ full: a(ie.MONDAY)
3882
3880
  },
3883
3881
  {
3884
- value: i(ae.TUESDAY_SHORT),
3885
- full: i(ae.TUESDAY)
3882
+ value: a(ie.TUESDAY_SHORT),
3883
+ full: a(ie.TUESDAY)
3886
3884
  },
3887
3885
  {
3888
- value: i(ae.WEDNESDAY_SHORT),
3889
- full: i(ae.WEDNESDAY)
3886
+ value: a(ie.WEDNESDAY_SHORT),
3887
+ full: a(ie.WEDNESDAY)
3890
3888
  },
3891
3889
  {
3892
- value: i(ae.THURSDAY_SHORT),
3893
- full: i(ae.THURSDAY)
3890
+ value: a(ie.THURSDAY_SHORT),
3891
+ full: a(ie.THURSDAY)
3894
3892
  },
3895
3893
  {
3896
- value: i(ae.FRIDAY_SHORT),
3897
- full: i(ae.FRIDAY)
3894
+ value: a(ie.FRIDAY_SHORT),
3895
+ full: a(ie.FRIDAY)
3898
3896
  },
3899
3897
  {
3900
- value: i(ae.SATURDAY_SHORT),
3901
- full: i(ae.SATURDAY)
3898
+ value: a(ie.SATURDAY_SHORT),
3899
+ full: a(ie.SATURDAY)
3902
3900
  }
3903
3901
  ], D = (k) => t.some((d) => {
3904
3902
  const m = d.start.getTime(), b = d.end.getTime(), _ = k.getTime();
@@ -4095,10 +4093,10 @@ function Bn({
4095
4093
  },
4096
4094
  children: [
4097
4095
  /* @__PURE__ */ w.jsx(
4098
- nt,
4096
+ rt,
4099
4097
  {
4100
4098
  onClick: A,
4101
- ariaLabel: i(St.PREVIOUS_MONTH),
4099
+ ariaLabel: a(xt.PREVIOUS_MONTH),
4102
4100
  bindValue: "<",
4103
4101
  type: "ghost",
4104
4102
  variant: "base"
@@ -4113,10 +4111,10 @@ function Bn({
4113
4111
  }
4114
4112
  ),
4115
4113
  /* @__PURE__ */ w.jsx(
4116
- nt,
4114
+ rt,
4117
4115
  {
4118
4116
  onClick: j,
4119
- ariaLabel: i(St.NEXT_MONTH),
4117
+ ariaLabel: a(xt.NEXT_MONTH),
4120
4118
  bindValue: ">",
4121
4119
  type: "ghost",
4122
4120
  variant: "base"
@@ -4130,7 +4128,7 @@ function Bn({
4130
4128
  {
4131
4129
  ref: E,
4132
4130
  role: "grid",
4133
- "aria-label": `${i(Ot.CALENDAR_FOR)} ${x[f]} ${p}`,
4131
+ "aria-label": `${a(wt.CALENDAR_FOR)} ${x[f]} ${p}`,
4134
4132
  className: V.table,
4135
4133
  children: [
4136
4134
  /* @__PURE__ */ w.jsx("thead", { children: /* @__PURE__ */ w.jsx("tr", { children: O.map((k) => /* @__PURE__ */ w.jsx(
@@ -4198,13 +4196,13 @@ const Gn = ({
4198
4196
  disabledDateRanges: r,
4199
4197
  ...s
4200
4198
  }) => {
4201
- const [i, a] = Q(!1), [o, l] = Q(n || ""), [c, f] = Q(""), { anchorRef: u, targetRef: p } = wt({
4199
+ const [a, i] = Q(!1), [o, l] = Q(n || ""), [c, f] = Q(""), { anchorRef: u, targetRef: p } = _t({
4202
4200
  position: "bottom",
4203
- enabled: i
4201
+ enabled: a
4204
4202
  });
4205
- tt(p, () => {
4206
- a(!1);
4207
- }), tt(u, () => {
4203
+ et(p, () => {
4204
+ i(!1);
4205
+ }), et(u, () => {
4208
4206
  if (
4209
4207
  // FIXME: Copied from useClickOutside.
4210
4208
  typeof u == "object" && u !== null && "current" in u
@@ -4212,8 +4210,8 @@ const Gn = ({
4212
4210
  const A = u.current.querySelector("input");
4213
4211
  A && A === document.activeElement && R();
4214
4212
  }
4215
- }), _r(i, p);
4216
- const { format: h, getCurrentLanguage: g } = it(), y = Te(
4213
+ }), Er(a, p);
4214
+ const { format: h, getCurrentLanguage: g } = st(), y = Oe(
4217
4215
  (A) => {
4218
4216
  const j = A.length > 5 && $n(A, g()) || A, Y = h(j, void 0, void 0, {
4219
4217
  type: "date"
@@ -4231,10 +4229,10 @@ const Gn = ({
4231
4229
  const { formattedDate: A, isoDate: j, isValid: Y } = y(n);
4232
4230
  l(Y && j || n), f(Y && A || n);
4233
4231
  }, [n, h, y]);
4234
- const E = () => a((A) => !A), R = () => {
4232
+ const E = () => i((A) => !A), R = () => {
4235
4233
  O(c);
4236
4234
  }, x = (A) => {
4237
- O(A), a(!1);
4235
+ O(A), i(!1);
4238
4236
  }, O = (A) => {
4239
4237
  const { isoDate: j, isValid: Y } = y(A);
4240
4238
  t && t(Y && j || A);
@@ -4245,7 +4243,7 @@ const Gn = ({
4245
4243
  };
4246
4244
  return /* @__PURE__ */ w.jsxs("div", { children: [
4247
4245
  /* @__PURE__ */ w.jsx(
4248
- Re,
4246
+ Te,
4249
4247
  {
4250
4248
  bindValue: c,
4251
4249
  placeholder: e,
@@ -4258,12 +4256,12 @@ const Gn = ({
4258
4256
  ...s
4259
4257
  }
4260
4258
  ),
4261
- i && /* @__PURE__ */ w.jsx(
4259
+ a && /* @__PURE__ */ w.jsx(
4262
4260
  Bn,
4263
4261
  {
4264
4262
  disabledDateRanges: r,
4265
4263
  onDateChange: x,
4266
- initialValue: _t(o) && o || "",
4264
+ initialValue: Et(o) && o || "",
4267
4265
  targetRef: p
4268
4266
  }
4269
4267
  )
@@ -4276,8 +4274,8 @@ const Gn = ({
4276
4274
  minimumChars: t,
4277
4275
  listDisplayMode: r,
4278
4276
  placeholder: s,
4279
- fun: i,
4280
- onOptionsRequest: a,
4277
+ fun: a,
4278
+ onOptionsRequest: i,
4281
4279
  onChange: o
4282
4280
  }) => {
4283
4281
  const l = n.map((u) => u.bindValue), c = (u, p) => {
@@ -4299,7 +4297,7 @@ const Gn = ({
4299
4297
  };
4300
4298
  return /* @__PURE__ */ w.jsxs("div", { className: f.container, children: [
4301
4299
  /* @__PURE__ */ w.jsx(
4302
- Er,
4300
+ Sr,
4303
4301
  {
4304
4302
  elements: n,
4305
4303
  displayMode: e,
@@ -4310,16 +4308,16 @@ const Gn = ({
4310
4308
  }
4311
4309
  ),
4312
4310
  /* @__PURE__ */ w.jsx(
4313
- Sr,
4311
+ xr,
4314
4312
  {
4315
4313
  bindValue: "",
4316
- fun: i,
4314
+ fun: a,
4317
4315
  onChange: c,
4318
4316
  _changeOnEnter: !0,
4319
4317
  listDisplayMode: r,
4320
4318
  minimumChars: t,
4321
4319
  placeholder: s,
4322
- onOptionsRequest: a,
4320
+ onOptionsRequest: i,
4323
4321
  _multiActiveIndex: l
4324
4322
  }
4325
4323
  )
@@ -4327,7 +4325,7 @@ const Gn = ({
4327
4325
  }, Xn = ({ ...n }) => {
4328
4326
  const [e, t] = Q(!1), r = e ? "visibility-off" : "visibility";
4329
4327
  return /* @__PURE__ */ w.jsx(
4330
- Re,
4328
+ Te,
4331
4329
  {
4332
4330
  ...n,
4333
4331
  inputType: e ? "text" : "password",
@@ -4337,15 +4335,15 @@ const Gn = ({
4337
4335
  }
4338
4336
  );
4339
4337
  }, Zn = ({ ...n }) => {
4340
- const [e, t] = Q(n.bindValue), { translate: r } = it(), s = (i) => {
4341
- var a;
4342
- i.key === "Enter" && (i.preventDefault(), (a = n.onEnter) == null || a.call(n, e));
4338
+ const [e, t] = Q(n.bindValue), { translate: r } = st(), s = (a) => {
4339
+ var i;
4340
+ a.key === "Enter" && (a.preventDefault(), (i = n.onEnter) == null || i.call(n, e));
4343
4341
  };
4344
4342
  return /* @__PURE__ */ w.jsx(
4345
- Re,
4343
+ Te,
4346
4344
  {
4347
4345
  ...n,
4348
- placeholder: n.placeholder ? n.placeholder : r(Ot.SPOTLIGHT_DEFAULT_PLACEHOLDER),
4346
+ placeholder: n.placeholder ? n.placeholder : r(wt.SPOTLIGHT_DEFAULT_PLACEHOLDER),
4349
4347
  icon: "magnify",
4350
4348
  inputType: "search",
4351
4349
  bindValue: e,
@@ -4388,7 +4386,7 @@ const Ke = (n, e, t) => ({
4388
4386
  },
4389
4387
  decode: t || n.decode,
4390
4388
  shape: n.shape
4391
- }), ur = (n) => {
4389
+ }), cr = (n) => {
4392
4390
  const e = Se.fromDataObj(n.obj), t = n.decode ? Se.fromString(n.decode).getValue() : [];
4393
4391
  return e.getValue().map((r, s) => ({
4394
4392
  bindValue: r,
@@ -4409,8 +4407,8 @@ const Ke = (n, e, t) => ({
4409
4407
  obj: t,
4410
4408
  data: r,
4411
4409
  icon: s,
4412
- fun: i,
4413
- placeholderIcon: a,
4410
+ fun: a,
4411
+ placeholderIcon: i,
4414
4412
  label: o,
4415
4413
  onChange: l,
4416
4414
  onClick: c,
@@ -4425,11 +4423,11 @@ const Ke = (n, e, t) => ({
4425
4423
  }, g = {
4426
4424
  onBlur: u,
4427
4425
  onOptionsRequest: p,
4428
- fun: i,
4426
+ fun: a,
4429
4427
  icon: s,
4430
4428
  label: o,
4431
4429
  ...r
4432
- }, y = (x, O) => Ln(t) ? Ke(h, new et(t, x).getLegacyValue()) : Ke(h, x, O), E = (x) => Ke(h, new Qe(t, x).getLegacyValue()), R = (x) => Qn(h, x);
4430
+ }, y = (x, O) => Ln(t) ? Ke(h, new Qe(t, x).getLegacyValue()) : Ke(h, x, O), E = (x) => Ke(h, new Ze(t, x).getLegacyValue()), R = (x) => Qn(h, x);
4433
4431
  switch (e) {
4434
4432
  case ue.AUTOCOMPLETE: {
4435
4433
  const x = {
@@ -4440,7 +4438,7 @@ const Ke = (n, e, t) => ({
4440
4438
  l == null || l(y(O, D));
4441
4439
  }
4442
4440
  };
4443
- return /* @__PURE__ */ w.jsx(Sr, { ...x });
4441
+ return /* @__PURE__ */ w.jsx(xr, { ...x });
4444
4442
  }
4445
4443
  case ue.BUTTON: {
4446
4444
  const x = {
@@ -4451,7 +4449,7 @@ const Ke = (n, e, t) => ({
4451
4449
  c == null || c(y(t.k));
4452
4450
  }
4453
4451
  };
4454
- return /* @__PURE__ */ w.jsx(nt, { ...x });
4452
+ return /* @__PURE__ */ w.jsx(rt, { ...x });
4455
4453
  }
4456
4454
  case ue.COMBOBOX: {
4457
4455
  const x = {
@@ -4467,7 +4465,7 @@ const Ke = (n, e, t) => ({
4467
4465
  case ue.CHECKBOX: {
4468
4466
  const x = {
4469
4467
  ...g,
4470
- bindValue: Qe.fromDataObj(t).getValue(),
4468
+ bindValue: Ze.fromDataObj(t).getValue(),
4471
4469
  optionalDisplayValue: n,
4472
4470
  onChange: (O) => {
4473
4471
  l == null || l(E(O));
@@ -4478,14 +4476,14 @@ const Ke = (n, e, t) => ({
4478
4476
  case ue.CHIP: {
4479
4477
  const x = {
4480
4478
  ...g,
4481
- elements: ur(h)
4479
+ elements: cr(h)
4482
4480
  };
4483
- return /* @__PURE__ */ w.jsx(Er, { ...x });
4481
+ return /* @__PURE__ */ w.jsx(Sr, { ...x });
4484
4482
  }
4485
4483
  case ue.DATE: {
4486
4484
  const x = {
4487
4485
  ...g,
4488
- bindValue: et.fromDataObj(t).getValue(),
4486
+ bindValue: Qe.fromDataObj(t).getValue(),
4489
4487
  onChange: (O) => {
4490
4488
  l == null || l(y(O));
4491
4489
  }
@@ -4496,7 +4494,7 @@ const Ke = (n, e, t) => ({
4496
4494
  const x = {
4497
4495
  ...g,
4498
4496
  icon: s,
4499
- placeholderIcon: a,
4497
+ placeholderIcon: i,
4500
4498
  onClick: () => {
4501
4499
  c == null || c(y(t.k));
4502
4500
  }
@@ -4506,7 +4504,7 @@ const Ke = (n, e, t) => ({
4506
4504
  case ue.MULTI_AUTOCOMPLETE: {
4507
4505
  const x = {
4508
4506
  ...g,
4509
- elements: ur(h),
4507
+ elements: cr(h),
4510
4508
  onChange: (O) => {
4511
4509
  l == null || l(R(O));
4512
4510
  }
@@ -4542,23 +4540,23 @@ const Ke = (n, e, t) => ({
4542
4540
  l == null || l(y(O));
4543
4541
  }
4544
4542
  };
4545
- return /* @__PURE__ */ w.jsx(Re, { ...x });
4543
+ return /* @__PURE__ */ w.jsx(Te, { ...x });
4546
4544
  }
4547
4545
  }
4548
- }, fr = {
4549
- "smp-field-container": "_smp-field-container_nnmjb_1",
4550
- "smp-field-position-left": "_smp-field-position-left_nnmjb_6",
4551
- "smp-field-position-right": "_smp-field-position-right_nnmjb_10",
4552
- "smp-field-position-top": "_smp-field-position-top_nnmjb_14",
4553
- "smp-field-position-bottom": "_smp-field-position-bottom_nnmjb_18"
4554
- }, is = ({
4546
+ }, ur = {
4547
+ "smp-field-container": "_smp-field-container_2ay2r_1",
4548
+ "smp-field-position-Left": "_smp-field-position-Left_2ay2r_6",
4549
+ "smp-field-position-Right": "_smp-field-position-Right_2ay2r_10",
4550
+ "smp-field-position-Top": "_smp-field-position-Top_2ay2r_14",
4551
+ "smp-field-position-Bottom": "_smp-field-position-Bottom_2ay2r_18"
4552
+ }, as = ({
4555
4553
  data: n,
4556
4554
  Type: e,
4557
4555
  ShowSubmit: t = !1,
4558
- SubmitPosition: r = "right",
4556
+ SubmitPosition: r = "Right",
4559
4557
  DefaultValue: s,
4560
- Label: i,
4561
- LabelPosition: a = "left",
4558
+ Label: a,
4559
+ LabelPosition: i = "Left",
4562
4560
  onBlur: o,
4563
4561
  onClick: l,
4564
4562
  onOptionsRequest: c
@@ -4570,10 +4568,10 @@ const Ke = (n, e, t) => ({
4570
4568
  return e && (y.shape = e), s && (y.obj = kn(s)), y;
4571
4569
  });
4572
4570
  }, [n, s, e]);
4573
- const p = Ie(t) ? fr[`smp-field-position-${ar(r)}`] : "", h = {
4574
- container: `${fr["smp-field-container"]} ${p}`
4571
+ const p = je(t) ? ur[`smp-field-position-${r}`] : "", h = {
4572
+ container: `${ur["smp-field-container"]} ${p}`
4575
4573
  }, g = () => {
4576
- Ie(t) || o == null || o(f);
4574
+ je(t) || o == null || o(f);
4577
4575
  };
4578
4576
  if (f)
4579
4577
  return /* @__PURE__ */ w.jsxs("div", { className: h.container, children: [
@@ -4594,26 +4592,26 @@ const Ke = (n, e, t) => ({
4594
4592
  onOptionsRequest: c,
4595
4593
  fun: n.fun,
4596
4594
  onBlur: g,
4597
- label: i,
4598
- labelPosition: ar(a)
4595
+ label: a,
4596
+ labelPosition: i
4599
4597
  }
4600
4598
  )
4601
4599
  }
4602
4600
  ),
4603
- Ie(t) && //TODO: translation
4604
- /* @__PURE__ */ w.jsx(nt, { bindValue: "Confirm", onClick: () => l == null ? void 0 : l(f) })
4601
+ je(t) && //TODO: translation
4602
+ /* @__PURE__ */ w.jsx(rt, { bindValue: "Confirm", onClick: () => l == null ? void 0 : l(f) })
4605
4603
  ] });
4606
4604
  };
4607
4605
  export {
4608
- Sr as Autocomplete,
4609
- nt as Button,
4606
+ xr as Autocomplete,
4607
+ rt as Button,
4610
4608
  Wn as Checkbox,
4611
4609
  Kn as Combobox,
4612
4610
  ss as DashList,
4613
4611
  Gn as DatePicker,
4614
- is as Field,
4612
+ as as Field,
4615
4613
  ve as Icon,
4616
4614
  Xn as Password,
4617
- Re as Textfield,
4615
+ Te as Textfield,
4618
4616
  ns as configurePaths
4619
4617
  };