@spscommerce/i18n 8.56.21 → 8.56.23

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.
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { cloneElement as e, createContext as t, createElement as n, isValidElement as r, useContext as i, useEffect as a, useRef as o, useState as s } from "react";
2
- //#region \0rolldown/runtime.js
3
- var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), h = (e, t, n, r) => {
2
+ // \0rolldown/runtime.js
3
+ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), h = (e, t, n, r) => {
4
4
  if (t && typeof t == "object" || typeof t == "function") for (var i = d(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !p.call(e, s) && s !== n && l(e, s, {
5
5
  get: ((e) => t[e]).bind(null, s),
6
6
  enumerable: !(r = u(t, s)) || r.enumerable
@@ -10,8 +10,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr
10
10
  value: e,
11
11
  enumerable: !0
12
12
  }) : n, e));
13
- //#endregion
14
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/typeof.js
13
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/typeof.js
15
14
  function _(e) {
16
15
  "@babel/helpers - typeof";
17
16
  return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -20,8 +19,7 @@ function _(e) {
20
19
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
21
20
  }, _(e);
22
21
  }
23
- //#endregion
24
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
22
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
25
23
  function v(e, t) {
26
24
  if (_(e) != "object" || !e) return e;
27
25
  var n = e[Symbol.toPrimitive];
@@ -32,14 +30,12 @@ function v(e, t) {
32
30
  }
33
31
  return (t === "string" ? String : Number)(e);
34
32
  }
35
- //#endregion
36
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
33
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
37
34
  function y(e) {
38
35
  var t = v(e, "string");
39
36
  return _(t) == "symbol" ? t : t + "";
40
37
  }
41
- //#endregion
42
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/defineProperty.js
38
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/defineProperty.js
43
39
  function b(e, t, n) {
44
40
  return (t = y(t)) in e ? Object.defineProperty(e, t, {
45
41
  value: n,
@@ -48,8 +44,7 @@ function b(e, t, n) {
48
44
  writable: !0
49
45
  }) : e[t] = n, e;
50
46
  }
51
- //#endregion
52
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectSpread.js
47
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectSpread.js
53
48
  function x(e) {
54
49
  for (var t = 1; t < arguments.length; t++) {
55
50
  var n = arguments[t] == null ? {} : Object(arguments[t]), r = Object.keys(n);
@@ -61,13 +56,11 @@ function x(e) {
61
56
  }
62
57
  return e;
63
58
  }
64
- //#endregion
65
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
59
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
66
60
  function S(e, t) {
67
61
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
68
62
  }
69
- //#endregion
70
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/createClass.js
63
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/createClass.js
71
64
  function C(e, t) {
72
65
  for (var n = 0; n < t.length; n++) {
73
66
  var r = t[n];
@@ -77,35 +70,30 @@ function C(e, t) {
77
70
  function w(e, t, n) {
78
71
  return t && C(e.prototype, t), n && C(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
79
72
  }
80
- //#endregion
81
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
73
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
82
74
  function T(e) {
83
75
  if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
84
76
  return e;
85
77
  }
86
- //#endregion
87
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
78
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
88
79
  function E(e, t) {
89
80
  if (t && (_(t) == "object" || typeof t == "function")) return t;
90
81
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
91
82
  return T(e);
92
83
  }
93
- //#endregion
94
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
84
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
95
85
  function D(e) {
96
86
  return D = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
97
87
  return e.__proto__ || Object.getPrototypeOf(e);
98
88
  }, D(e);
99
89
  }
100
- //#endregion
101
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
90
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
102
91
  function O(e, t) {
103
92
  return O = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
104
93
  return e.__proto__ = t, e;
105
94
  }, O(e, t);
106
95
  }
107
- //#endregion
108
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/inherits.js
96
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/inherits.js
109
97
  function k(e, t) {
110
98
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
111
99
  e.prototype = Object.create(t && t.prototype, { constructor: {
@@ -114,8 +102,7 @@ function k(e, t) {
114
102
  configurable: !0
115
103
  } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && O(e, t);
116
104
  }
117
- //#endregion
118
- //#region ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
105
+ // ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
119
106
  var A = {
120
107
  type: "logger",
121
108
  log: function(e) {
@@ -260,26 +247,26 @@ function L(e, t, n) {
260
247
  var r = I(e, t, Object), i = r.obj, a = r.k;
261
248
  i[a] = n;
262
249
  }
263
- function R(e, t, n, r) {
250
+ function ee(e, t, n, r) {
264
251
  var i = I(e, t, Object), a = i.obj, o = i.k;
265
252
  a[o] = a[o] || [], r && (a[o] = a[o].concat(n)), r || a[o].push(n);
266
253
  }
267
- function z(e, t) {
254
+ function R(e, t) {
268
255
  var n = I(e, t), r = n.obj, i = n.k;
269
256
  if (r) return r[i];
270
257
  }
271
- function ee(e, t, n) {
272
- var r = z(e, n);
273
- return r === void 0 ? z(t, n) : r;
274
- }
275
258
  function te(e, t, n) {
276
- for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : te(e[r], t[r], n) : e[r] = t[r]);
259
+ var r = R(e, n);
260
+ return r === void 0 ? R(t, n) : r;
261
+ }
262
+ function ne(e, t, n) {
263
+ for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : ne(e[r], t[r], n) : e[r] = t[r]);
277
264
  return e;
278
265
  }
279
- function B(e) {
266
+ function z(e) {
280
267
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
281
268
  }
282
- var ne = {
269
+ var re = {
283
270
  "&": "&amp;",
284
271
  "<": "&lt;",
285
272
  ">": "&gt;",
@@ -287,19 +274,19 @@ var ne = {
287
274
  "'": "&#39;",
288
275
  "/": "&#x2F;"
289
276
  };
290
- function re(e) {
277
+ function ie(e) {
291
278
  return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(e) {
292
- return ne[e];
279
+ return re[e];
293
280
  }) : e;
294
281
  }
295
- var V = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, ie = function(e) {
282
+ var B = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, ae = function(e) {
296
283
  k(t, e);
297
284
  function t(e) {
298
285
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
299
286
  ns: ["translation"],
300
287
  defaultNS: "translation"
301
288
  };
302
- return S(this, t), n = E(this, D(t).call(this)), V && M.call(T(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
289
+ return S(this, t), n = E(this, D(t).call(this)), B && M.call(T(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
303
290
  }
304
291
  return w(t, [
305
292
  {
@@ -319,7 +306,7 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
319
306
  key: "getResource",
320
307
  value: function(e, t, n) {
321
308
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = [e, t];
322
- return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), z(this.data, a);
309
+ return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), R(this.data, a);
323
310
  }
324
311
  },
325
312
  {
@@ -344,8 +331,8 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
344
331
  value: function(e, t, n, r, i) {
345
332
  var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1 }, o = [e, t];
346
333
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
347
- var s = z(this.data, o) || {};
348
- r ? te(s, n, i) : s = x({}, s, n), L(this.data, o, s), a.silent || this.emit("added", e, t, n);
334
+ var s = R(this.data, o) || {};
335
+ r ? ne(s, n, i) : s = x({}, s, n), L(this.data, o, s), a.silent || this.emit("added", e, t, n);
349
336
  }
350
337
  },
351
338
  {
@@ -379,7 +366,7 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
379
366
  }
380
367
  }
381
368
  ]), t;
382
- }(M), ae = {
369
+ }(M), oe = {
383
370
  processors: {},
384
371
  addPostProcessor: function(e) {
385
372
  this.processors[e.name] = e;
@@ -390,11 +377,11 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
390
377
  a.processors[e] && (t = a.processors[e].process(t, n, r, i));
391
378
  }), t;
392
379
  }
393
- }, oe = {}, se = function(e) {
380
+ }, se = {}, ce = function(e) {
394
381
  k(t, e);
395
382
  function t(e) {
396
383
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
397
- return S(this, t), n = E(this, D(t).call(this)), V && M.call(T(n)), F([
384
+ return S(this, t), n = E(this, D(t).call(this)), B && M.call(T(n)), F([
398
385
  "resourceStore",
399
386
  "languageUtils",
400
387
  "pluralResolver",
@@ -478,14 +465,14 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
478
465
  var F = [], I = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
479
466
  if (this.options.saveMissingTo === "fallback" && I && I[0]) for (var L = 0; L < I.length; L++) F.push(I[L]);
480
467
  else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(n.lng || this.language) : F.push(n.lng || this.language);
481
- var R = function(e, t, r) {
468
+ var ee = function(e, t, r) {
482
469
  i.options.missingKeyHandler ? i.options.missingKeyHandler(e, l, t, N ? r : p, N, n) : i.backendConnector && i.backendConnector.saveMissing && i.backendConnector.saveMissing(e, l, t, N ? r : p, N, n), i.emit("missingKey", e, l, t, p);
483
470
  };
484
471
  this.options.saveMissing && (this.options.saveMissingPlurals && k ? F.forEach(function(e) {
485
472
  i.pluralResolver.getSuffixes(e).forEach(function(t) {
486
- R([e], s + t, n[`defaultValue${t}`] || M);
473
+ ee([e], s + t, n[`defaultValue${t}`] || M);
487
474
  });
488
- }) : R(F, s, M));
475
+ }) : ee(F, s, M));
489
476
  }
490
477
  p = this.extendTranslation(p, e, n, f, r), O && p === s && this.options.appendNamespaceToMissingKey && (p = `${l}:${s}`), O && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(p));
491
478
  }
@@ -515,7 +502,7 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
515
502
  }, n)), n.interpolation && this.interpolator.reset();
516
503
  }
517
504
  var f = n.postProcess || this.options.postProcess, p = typeof f == "string" ? [f] : f;
518
- return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = ae.handle(p, e, t, this.options && this.options.postProcessPassResolved ? x({ i18nResolved: r }, n) : n, this)), e;
505
+ return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = oe.handle(p, e, t, this.options && this.options.postProcessPassResolved ? x({ i18nResolved: r }, n) : n, this)), e;
519
506
  }
520
507
  },
521
508
  {
@@ -530,7 +517,7 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
530
517
  t.options.fallbackNS && (u = u.concat(t.options.fallbackNS));
531
518
  var d = n.count !== void 0 && typeof n.count != "string", f = n.context !== void 0 && typeof n.context == "string" && n.context !== "", p = n.lngs ? n.lngs : t.languageUtils.toResolveHierarchy(n.lng || t.language, n.fallbackLng);
532
519
  u.forEach(function(e) {
533
- t.isValidLookup(r) || (s = e, !oe[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (oe[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" 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!!!")), p.forEach(function(i) {
520
+ t.isValidLookup(r) || (s = e, !se[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (se[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" 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!!!")), p.forEach(function(i) {
534
521
  if (!t.isValidLookup(r)) {
535
522
  o = i;
536
523
  var s = l, c = [s];
@@ -575,10 +562,10 @@ var V = typeof window < "u" && window.navigator && window.navigator.userAgent &&
575
562
  }
576
563
  }]), t;
577
564
  }(M);
578
- function ce(e) {
565
+ function le(e) {
579
566
  return e.charAt(0).toUpperCase() + e.slice(1);
580
567
  }
581
- var le = function() {
568
+ var ue = function() {
582
569
  function e(t) {
583
570
  S(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
584
571
  }
@@ -614,7 +601,7 @@ var le = function() {
614
601
  ], n = e.split("-");
615
602
  return this.options.lowerCaseLng ? n = n.map(function(e) {
616
603
  return e.toLowerCase();
617
- }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = ce(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = ce(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = ce(n[2].toLowerCase()))), n.join("-");
604
+ }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = le(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = le(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = le(n[2].toLowerCase()))), n.join("-");
618
605
  }
619
606
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
620
607
  }
@@ -675,7 +662,7 @@ var le = function() {
675
662
  }
676
663
  }
677
664
  ]), e;
678
- }(), ue = [
665
+ }(), de = [
679
666
  {
680
667
  lngs: [
681
668
  "ach",
@@ -916,7 +903,7 @@ var le = function() {
916
903
  ],
917
904
  fc: 22
918
905
  }
919
- ], de = {
906
+ ], fe = {
920
907
  1: function(e) {
921
908
  return Number(e > 1);
922
909
  },
@@ -984,21 +971,21 @@ var le = function() {
984
971
  return Number(e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3);
985
972
  }
986
973
  };
987
- function fe() {
974
+ function pe() {
988
975
  var e = {};
989
- return ue.forEach(function(t) {
976
+ return de.forEach(function(t) {
990
977
  t.lngs.forEach(function(n) {
991
978
  e[n] = {
992
979
  numbers: t.nr,
993
- plurals: de[t.fc]
980
+ plurals: fe[t.fc]
994
981
  };
995
982
  });
996
983
  }), e;
997
984
  }
998
- var pe = function() {
985
+ var me = function() {
999
986
  function e(t) {
1000
987
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1001
- S(this, e), this.languageUtils = t, this.options = n, this.logger = j.create("pluralResolver"), this.rules = fe();
988
+ S(this, e), this.languageUtils = t, this.options = n, this.logger = j.create("pluralResolver"), this.rules = pe();
1002
989
  }
1003
990
  return w(e, [
1004
991
  {
@@ -1053,7 +1040,7 @@ var pe = function() {
1053
1040
  }
1054
1041
  }
1055
1042
  ]), e;
1056
- }(), me = function() {
1043
+ }(), he = function() {
1057
1044
  function e() {
1058
1045
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1059
1046
  S(this, e), this.logger = j.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
@@ -1067,7 +1054,7 @@ var pe = function() {
1067
1054
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1068
1055
  e.interpolation ||= { escapeValue: !0 };
1069
1056
  var t = e.interpolation;
1070
- this.escape = t.escape === void 0 ? re : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? B(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? B(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? B(t.nestingPrefix) : t.nestingPrefixEscaped || B("$t("), this.nestingSuffix = t.nestingSuffix ? B(t.nestingSuffix) : t.nestingSuffixEscaped || B(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
1057
+ this.escape = t.escape === void 0 ? ie : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? z(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? z(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? z(t.nestingPrefix) : t.nestingPrefixEscaped || z("$t("), this.nestingSuffix = t.nestingSuffix ? z(t.nestingSuffix) : t.nestingSuffixEscaped || z(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
1071
1058
  }
1072
1059
  },
1073
1060
  {
@@ -1096,11 +1083,11 @@ var pe = function() {
1096
1083
  }
1097
1084
  var u = function(e) {
1098
1085
  if (e.indexOf(i.formatSeparator) < 0) {
1099
- var a = ee(t, c, e);
1086
+ var a = te(t, c, e);
1100
1087
  return i.alwaysFormat ? i.format(a, void 0, n) : a;
1101
1088
  }
1102
1089
  var o = e.split(i.formatSeparator), s = o.shift().trim(), l = o.join(i.formatSeparator).trim();
1103
- return i.format(ee(t, c, s), l, n, r);
1090
+ return i.format(te(t, c, s), l, n, r);
1104
1091
  };
1105
1092
  this.resetRegExp();
1106
1093
  var d = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r && r.interpolation && r.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables;
@@ -1165,14 +1152,14 @@ var pe = function() {
1165
1152
  }
1166
1153
  ]), e;
1167
1154
  }();
1168
- function he(e, t) {
1155
+ function ge(e, t) {
1169
1156
  for (var n = e.indexOf(t); n !== -1;) e.splice(n, 1), n = e.indexOf(t);
1170
1157
  }
1171
- var ge = function(e) {
1158
+ var _e = function(e) {
1172
1159
  k(t, e);
1173
1160
  function t(e, n, r) {
1174
1161
  var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
1175
- return S(this, t), i = E(this, D(t).call(this)), V && M.call(T(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = j.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
1162
+ return S(this, t), i = E(this, D(t).call(this)), B && M.call(T(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = j.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
1176
1163
  }
1177
1164
  return w(t, [
1178
1165
  {
@@ -1205,7 +1192,7 @@ var ge = function(e) {
1205
1192
  t && this.emit("failedLoading", i, a, t), n && this.store.addResourceBundle(i, a, n), this.state[e] = t ? -1 : 2;
1206
1193
  var o = {};
1207
1194
  this.queue.forEach(function(n) {
1208
- R(n.loaded, [i], a), he(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
1195
+ ee(n.loaded, [i], a), ge(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
1209
1196
  o[e] || (o[e] = []), n.loaded[e].length && n.loaded[e].forEach(function(t) {
1210
1197
  o[e].indexOf(t) < 0 && o[e].push(t);
1211
1198
  });
@@ -1269,7 +1256,7 @@ var ge = function(e) {
1269
1256
  }
1270
1257
  ]), t;
1271
1258
  }(M);
1272
- function _e() {
1259
+ function ve() {
1273
1260
  return {
1274
1261
  debug: !1,
1275
1262
  initImmediate: !0,
@@ -1332,15 +1319,15 @@ function _e() {
1332
1319
  }
1333
1320
  };
1334
1321
  }
1335
- function ve(e) {
1322
+ function ye(e) {
1336
1323
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.whitelist && (e.whitelist && e.whitelist.indexOf("cimode") < 0 && (e.whitelist = e.whitelist.concat(["cimode"])), e.supportedLngs = e.whitelist), e.nonExplicitWhitelist && (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
1337
1324
  }
1338
- function H() {}
1339
- var U = new (function(e) {
1325
+ function V() {}
1326
+ var H = new (function(e) {
1340
1327
  k(t, e);
1341
1328
  function t() {
1342
1329
  var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
1343
- if (S(this, t), e = E(this, D(t).call(this)), V && M.call(T(e)), e.options = ve(n), e.services = {}, e.logger = j, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
1330
+ if (S(this, t), e = E(this, D(t).call(this)), B && M.call(T(e)), e.options = ye(n), e.services = {}, e.logger = j, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
1344
1331
  if (!e.options.initImmediate) return e.init(n, r), E(e, T(e));
1345
1332
  setTimeout(function() {
1346
1333
  e.init(n, r);
@@ -1353,23 +1340,23 @@ var U = new (function(e) {
1353
1340
  key: "init",
1354
1341
  value: function() {
1355
1342
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
1356
- typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = x({}, _e(), this.options, ve(t)), this.format = this.options.interpolation.format, n ||= H;
1343
+ typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = x({}, ve(), this.options, ye(t)), this.format = this.options.interpolation.format, n ||= V;
1357
1344
  function r(e) {
1358
1345
  return e ? typeof e == "function" ? new e() : e : null;
1359
1346
  }
1360
1347
  if (!this.options.isClone) {
1361
1348
  this.modules.logger ? j.init(r(this.modules.logger), this.options) : j.init(null, this.options);
1362
- var i = new le(this.options);
1363
- this.store = new ie(this.options.resources, this.options);
1349
+ var i = new ue(this.options);
1350
+ this.store = new ae(this.options.resources, this.options);
1364
1351
  var a = this.services;
1365
- a.logger = j, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new pe(i, {
1352
+ a.logger = j, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new me(i, {
1366
1353
  prepend: this.options.pluralSeparator,
1367
1354
  compatibilityJSON: this.options.compatibilityJSON,
1368
1355
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
1369
- }), a.interpolator = new me(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new ge(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
1356
+ }), a.interpolator = new he(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new _e(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
1370
1357
  var n = [...arguments].slice(1);
1371
1358
  e.emit.apply(e, [t].concat(n));
1372
- }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new se(this.services, this.options), this.translator.on("*", function(t) {
1359
+ }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new ce(this.services, this.options), this.translator.on("*", function(t) {
1373
1360
  var n = [...arguments].slice(1);
1374
1361
  e.emit.apply(e, [t].concat(n));
1375
1362
  }), this.modules.external.forEach(function(t) {
@@ -1414,7 +1401,7 @@ var U = new (function(e) {
1414
1401
  {
1415
1402
  key: "loadResources",
1416
1403
  value: function(e) {
1417
- var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : H, r = typeof e == "string" ? e : this.language;
1404
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : V, r = typeof e == "string" ? e : this.language;
1418
1405
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
1419
1406
  if (r && r.toLowerCase() === "cimode") return n();
1420
1407
  var i = [], a = function(e) {
@@ -1434,7 +1421,7 @@ var U = new (function(e) {
1434
1421
  key: "reloadResources",
1435
1422
  value: function(e, t, n) {
1436
1423
  var r = N();
1437
- return e ||= this.languages, t ||= this.options.ns, n ||= H, this.services.backendConnector.reload(e, t, function(e) {
1424
+ return e ||= this.languages, t ||= this.options.ns, n ||= V, this.services.backendConnector.reload(e, t, function(e) {
1438
1425
  r.resolve(), n(e);
1439
1426
  }), r;
1440
1427
  }
@@ -1444,7 +1431,7 @@ var U = new (function(e) {
1444
1431
  value: function(e) {
1445
1432
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1446
1433
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1447
- 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" && ae.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
1434
+ 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" && oe.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
1448
1435
  }
1449
1436
  },
1450
1437
  {
@@ -1561,14 +1548,14 @@ var U = new (function(e) {
1561
1548
  {
1562
1549
  key: "cloneInstance",
1563
1550
  value: function() {
1564
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : H, i = x({}, this.options, n, { isClone: !0 }), a = new t(i);
1551
+ var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : V, i = x({}, this.options, n, { isClone: !0 }), a = new t(i);
1565
1552
  return [
1566
1553
  "store",
1567
1554
  "services",
1568
1555
  "language"
1569
1556
  ].forEach(function(t) {
1570
1557
  a[t] = e[t];
1571
- }), a.services = x({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new se(a.services, a.options), a.translator.on("*", function(e) {
1558
+ }), a.services = x({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new ce(a.services, a.options), a.translator.on("*", function(e) {
1572
1559
  var t = [...arguments].slice(1);
1573
1560
  a.emit.apply(a, [e].concat(t));
1574
1561
  }), a.init(i, r), a.translator.options = a.options, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
@@ -1576,9 +1563,8 @@ var U = new (function(e) {
1576
1563
  }
1577
1564
  ]), t;
1578
1565
  }(M))();
1579
- //#endregion
1580
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
1581
- function ye(e, t) {
1566
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
1567
+ function be(e, t) {
1582
1568
  if (e == null) return {};
1583
1569
  var n = {};
1584
1570
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1587,20 +1573,18 @@ function ye(e, t) {
1587
1573
  }
1588
1574
  return n;
1589
1575
  }
1590
- //#endregion
1591
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
1592
- function be(e, t) {
1576
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
1577
+ function xe(e, t) {
1593
1578
  if (e == null) return {};
1594
- var n, r, i = ye(e, t);
1579
+ var n, r, i = be(e, t);
1595
1580
  if (Object.getOwnPropertySymbols) {
1596
1581
  var a = Object.getOwnPropertySymbols(e);
1597
1582
  for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
1598
1583
  }
1599
1584
  return i;
1600
1585
  }
1601
- //#endregion
1602
- //#region ../../node_modules/.pnpm/html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
1603
- var xe = /* @__PURE__ */ g((/* @__PURE__ */ m(((e, t) => {
1586
+ // ../../node_modules/.pnpm/html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
1587
+ var Se = /* @__PURE__ */ g((/* @__PURE__ */ m(((e, t) => {
1604
1588
  t.exports = {
1605
1589
  area: !0,
1606
1590
  base: !0,
@@ -1617,8 +1601,8 @@ var xe = /* @__PURE__ */ g((/* @__PURE__ */ m(((e, t) => {
1617
1601
  track: !0,
1618
1602
  wbr: !0
1619
1603
  };
1620
- })))()), Se = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
1621
- function Ce(e) {
1604
+ })))()), Ce = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
1605
+ function we(e) {
1622
1606
  var t = {
1623
1607
  type: "tag",
1624
1608
  name: "",
@@ -1626,14 +1610,14 @@ function Ce(e) {
1626
1610
  attrs: {},
1627
1611
  children: []
1628
1612
  }, n = e.match(/<\/?([^\s]+?)[/\s>]/);
1629
- if (n && (t.name = n[1], (xe.default[n[1]] || e.charAt(e.length - 2) === "/") && (t.voidElement = !0), t.name.startsWith("!--"))) {
1613
+ if (n && (t.name = n[1], (Se.default[n[1]] || e.charAt(e.length - 2) === "/") && (t.voidElement = !0), t.name.startsWith("!--"))) {
1630
1614
  var r = e.indexOf("-->");
1631
1615
  return {
1632
1616
  type: "comment",
1633
1617
  comment: r === -1 ? "" : e.slice(4, r)
1634
1618
  };
1635
1619
  }
1636
- for (var i = new RegExp(Se), a = null; (a = i.exec(e)) !== null;) if (a[0].trim()) {
1620
+ for (var i = new RegExp(Ce), a = null; (a = i.exec(e)) !== null;) if (a[0].trim()) {
1637
1621
  if (a[1]) {
1638
1622
  var o = a[1].trim(), s = [o, ""];
1639
1623
  o.indexOf("=") > -1 && (s = o.split("=")), t.attrs[s[0]] = s[1], i.lastIndex--;
@@ -1641,21 +1625,21 @@ function Ce(e) {
1641
1625
  }
1642
1626
  return t;
1643
1627
  }
1644
- var we = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, Te = /^\s*$/, Ee = Object.create(null);
1645
- function De(e, t) {
1628
+ var Te = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, Ee = /^\s*$/, De = Object.create(null);
1629
+ function Oe(e, t) {
1646
1630
  switch (t.type) {
1647
1631
  case "text": return e + t.content;
1648
1632
  case "tag": return e += "<" + t.name + (t.attrs ? function(e) {
1649
1633
  var t = [];
1650
1634
  for (var n in e) t.push(n + "=\"" + e[n] + "\"");
1651
1635
  return t.length ? " " + t.join(" ") : "";
1652
- }(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? e : e + t.children.reduce(De, "") + "</" + t.name + ">";
1636
+ }(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? e : e + t.children.reduce(Oe, "") + "</" + t.name + ">";
1653
1637
  case "comment": return e + "<!--" + t.comment + "-->";
1654
1638
  }
1655
1639
  }
1656
- var Oe = {
1640
+ var ke = {
1657
1641
  parse: function(e, t) {
1658
- t ||= {}, t.components || (t.components = Ee);
1642
+ t ||= {}, t.components || (t.components = De);
1659
1643
  var n, r = [], i = [], a = -1, o = !1;
1660
1644
  if (e.indexOf("<") !== 0) {
1661
1645
  var s = e.indexOf("<");
@@ -1664,23 +1648,23 @@ var Oe = {
1664
1648
  content: s === -1 ? e : e.substring(0, s)
1665
1649
  });
1666
1650
  }
1667
- return e.replace(we, function(s, c) {
1651
+ return e.replace(Te, function(s, c) {
1668
1652
  if (o) {
1669
1653
  if (s !== "</" + n.name + ">") return;
1670
1654
  o = !1;
1671
1655
  }
1672
1656
  var l, u = s.charAt(1) !== "/", d = s.startsWith("<!--"), f = c + s.length, p = e.charAt(f);
1673
1657
  if (d) {
1674
- var m = Ce(s);
1658
+ var m = we(s);
1675
1659
  return a < 0 ? (r.push(m), r) : ((l = i[a]).children.push(m), r);
1676
1660
  }
1677
- if (u && (a++, (n = Ce(s)).type === "tag" && t.components[n.name] && (n.type = "component", o = !0), n.voidElement || o || !p || p === "<" || n.children.push({
1661
+ if (u && (a++, (n = we(s)).type === "tag" && t.components[n.name] && (n.type = "component", o = !0), n.voidElement || o || !p || p === "<" || n.children.push({
1678
1662
  type: "text",
1679
1663
  content: e.slice(f, e.indexOf("<", f))
1680
1664
  }), a === 0 && r.push(n), (l = i[a - 1]) && l.children.push(n), i[a] = n), (!u || n.voidElement) && (a > -1 && (n.voidElement || n.name === s.slice(2, -1)) && (a--, n = a === -1 ? r : i[a]), !o && p !== "<" && p)) {
1681
1665
  l = a === -1 ? r : i[a].children;
1682
1666
  var h = e.indexOf("<", f), g = e.slice(f, h === -1 ? void 0 : h);
1683
- Te.test(g) && (g = " "), (h > -1 && a + l.length >= 0 || g !== " ") && l.push({
1667
+ Ee.test(g) && (g = " "), (h > -1 && a + l.length >= 0 || g !== " ") && l.push({
1684
1668
  type: "text",
1685
1669
  content: g
1686
1670
  });
@@ -1689,10 +1673,10 @@ var Oe = {
1689
1673
  },
1690
1674
  stringify: function(e) {
1691
1675
  return e.reduce(function(e, t) {
1692
- return e + De("", t);
1676
+ return e + Oe("", t);
1693
1677
  }, "");
1694
1678
  }
1695
- }, ke = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ae = {
1679
+ }, Ae = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, je = {
1696
1680
  "&amp;": "&",
1697
1681
  "&#38;": "&",
1698
1682
  "&lt;": "<",
@@ -1713,14 +1697,13 @@ var Oe = {
1713
1697
  "&#8230;": "…",
1714
1698
  "&#x2F;": "/",
1715
1699
  "&#47;": "/"
1716
- }, je = function(e) {
1717
- return Ae[e];
1718
1700
  }, Me = function(e) {
1719
- return e.replace(ke, je);
1701
+ return je[e];
1702
+ }, Ne = function(e) {
1703
+ return e.replace(Ae, Me);
1720
1704
  };
1721
- //#endregion
1722
- //#region ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/context.js
1723
- function Ne(e, t) {
1705
+ // ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/context.js
1706
+ function Pe(e, t) {
1724
1707
  var n = Object.keys(e);
1725
1708
  if (Object.getOwnPropertySymbols) {
1726
1709
  var r = Object.getOwnPropertySymbols(e);
@@ -1730,18 +1713,18 @@ function Ne(e, t) {
1730
1713
  }
1731
1714
  return n;
1732
1715
  }
1733
- function Pe(e) {
1716
+ function Fe(e) {
1734
1717
  for (var t = 1; t < arguments.length; t++) {
1735
1718
  var n = arguments[t] == null ? {} : arguments[t];
1736
- t % 2 ? Ne(Object(n), !0).forEach(function(t) {
1719
+ t % 2 ? Pe(Object(n), !0).forEach(function(t) {
1737
1720
  b(e, t, n[t]);
1738
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ne(Object(n)).forEach(function(t) {
1721
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Pe(Object(n)).forEach(function(t) {
1739
1722
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1740
1723
  });
1741
1724
  }
1742
1725
  return e;
1743
1726
  }
1744
- var Fe = {
1727
+ var U = {
1745
1728
  bindI18n: "languageChanged",
1746
1729
  bindI18nStore: "",
1747
1730
  transEmptyNodeValue: "",
@@ -1754,14 +1737,14 @@ var Fe = {
1754
1737
  "p"
1755
1738
  ],
1756
1739
  useSuspense: !0,
1757
- unescape: Me
1740
+ unescape: Ne
1758
1741
  }, Ie, Le = t();
1759
1742
  function Re() {
1760
1743
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1761
- Fe = Pe(Pe({}, Fe), e);
1744
+ U = Fe(Fe({}, U), e);
1762
1745
  }
1763
1746
  function ze() {
1764
- return Fe;
1747
+ return U;
1765
1748
  }
1766
1749
  var Be = function() {
1767
1750
  function e() {
@@ -1794,8 +1777,7 @@ var Ue = {
1794
1777
  Re(e.options.react), Ve(e);
1795
1778
  }
1796
1779
  };
1797
- //#endregion
1798
- //#region ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/utils.js
1780
+ // ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/utils.js
1799
1781
  function W() {
1800
1782
  if (console && console.warn) {
1801
1783
  var e, t = [...arguments];
@@ -1831,8 +1813,7 @@ function qe(e, t) {
1831
1813
  if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !r(t.isLanguageChangingTo, e)) return !1;
1832
1814
  } });
1833
1815
  }
1834
- //#endregion
1835
- //#region ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/Trans.js
1816
+ // ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/Trans.js
1836
1817
  var Je = ["format"], Ye = [
1837
1818
  "children",
1838
1819
  "count",
@@ -1906,7 +1887,7 @@ function tt(e, t) {
1906
1887
  }
1907
1888
  } else if (e === null) W("Trans: the passed in value is invalid - seems you passed in a null child.");
1908
1889
  else if (_(e) === "object") {
1909
- var u = e.format, d = be(e, Je), f = Object.keys(d);
1890
+ var u = e.format, d = xe(e, Je), f = Object.keys(d);
1910
1891
  if (f.length === 1) {
1911
1892
  var p = u ? `${f[0]}, ${u}` : f[0];
1912
1893
  n += `{{${p}}}`;
@@ -1925,7 +1906,7 @@ function nt(t, i, a, o, s, c) {
1925
1906
  });
1926
1907
  }
1927
1908
  f(t);
1928
- var p = Oe.parse(`<0>${i}</0>`), m = K(K({}, d), s);
1909
+ var p = ke.parse(`<0>${i}</0>`), m = K(K({}, d), s);
1929
1910
  function h(e, t, n) {
1930
1911
  var r = Qe(e), i = v(r, t.children, n);
1931
1912
  return $e(r) && i.length === 0 ? r : i;
@@ -1978,7 +1959,7 @@ function nt(t, i, a, o, s, c) {
1978
1959
  }], p, q(t || []))[0]);
1979
1960
  }
1980
1961
  function rt(e) {
1981
- var t = e.children, r = e.count, a = e.parent, o = e.i18nKey, s = e.context, c = e.tOptions, l = c === void 0 ? {} : c, u = e.values, d = e.defaults, f = e.components, p = e.ns, m = e.i18n, h = e.t, g = e.shouldUnescape, _ = be(e, Ye), v = i(Le) || {}, y = v.i18n, b = v.defaultNS, x = m || y || He();
1962
+ var t = e.children, r = e.count, a = e.parent, o = e.i18nKey, s = e.context, c = e.tOptions, l = c === void 0 ? {} : c, u = e.values, d = e.defaults, f = e.components, p = e.ns, m = e.i18n, h = e.t, g = e.shouldUnescape, _ = xe(e, Ye), v = i(Le) || {}, y = v.i18n, b = v.defaultNS, x = m || y || He();
1982
1963
  if (!x) return G("You will need to pass in an i18next instance by using i18nextReactModule"), t;
1983
1964
  var S = h || x.t.bind(x) || function(e) {
1984
1965
  return e;
@@ -1995,13 +1976,11 @@ function rt(e) {
1995
1976
  }), A = D ? S(D, k) : T, j = nt(f || t, A, x, C, k, g), M = a === void 0 ? C.defaultTransParent : a;
1996
1977
  return M ? n(M, _, j) : j;
1997
1978
  }
1998
- //#endregion
1999
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
1979
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
2000
1980
  function it(e) {
2001
1981
  if (Array.isArray(e)) return e;
2002
1982
  }
2003
- //#endregion
2004
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
1983
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
2005
1984
  function at(e, t) {
2006
1985
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2007
1986
  if (n != null) {
@@ -2023,15 +2002,13 @@ function at(e, t) {
2023
2002
  return s;
2024
2003
  }
2025
2004
  }
2026
- //#endregion
2027
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
2005
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
2028
2006
  function ot(e, t) {
2029
2007
  (t == null || t > e.length) && (t = e.length);
2030
2008
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2031
2009
  return r;
2032
2010
  }
2033
- //#endregion
2034
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
2011
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
2035
2012
  function st(e, t) {
2036
2013
  if (e) {
2037
2014
  if (typeof e == "string") return ot(e, t);
@@ -2039,18 +2016,15 @@ function st(e, t) {
2039
2016
  return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ot(e, t) : void 0;
2040
2017
  }
2041
2018
  }
2042
- //#endregion
2043
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
2019
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
2044
2020
  function ct() {
2045
2021
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2046
2022
  }
2047
- //#endregion
2048
- //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
2023
+ // ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
2049
2024
  function lt(e, t) {
2050
2025
  return it(e) || at(e, t) || st(e, t) || ct();
2051
2026
  }
2052
- //#endregion
2053
- //#region ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/useTranslation.js
2027
+ // ../../node_modules/.pnpm/react-i18next@11.18.6_i18next@19.9.2_react-dom@16.14.0_react@16.14.0__react@16.14.0/node_modules/react-i18next/dist/es/useTranslation.js
2054
2028
  function ut(e, t) {
2055
2029
  var n = Object.keys(e);
2056
2030
  if (Object.getOwnPropertySymbols) {
@@ -2133,8 +2107,7 @@ function pt(e) {
2133
2107
  });
2134
2108
  });
2135
2109
  }
2136
- //#endregion
2137
- //#region ../../node_modules/.pnpm/i18next-http-backend@4.0.2/node_modules/i18next-http-backend/esm/index.js
2110
+ // ../../node_modules/.pnpm/i18next-http-backend@4.0.7/node_modules/i18next-http-backend/esm/index.js
2138
2111
  var mt = [];
2139
2112
  mt.forEach, mt.slice;
2140
2113
  var ht = [
@@ -2143,7 +2116,7 @@ var ht = [
2143
2116
  "prototype"
2144
2117
  ];
2145
2118
  function gt(e) {
2146
- return !(typeof e != "string" || e.length === 0 || e.length > 128 || ht.indexOf(e) > -1 || e.indexOf("..") > -1 || e.indexOf("\\") > -1 || /[?#%:\s]/.test(e) || /[\x00-\x1F\x7F]/.test(e));
2119
+ return !(typeof e != "string" || e.length === 0 || e.length > 128 || ht.indexOf(e) > -1 || e.indexOf("..") > -1 || e.indexOf("\\") > -1 || /[?#%:&=;\s]/.test(e) || /[\x00-\x1F\x7F]/.test(e));
2147
2120
  }
2148
2121
  function _t(e) {
2149
2122
  return !(!gt(e) || e.indexOf("/") > -1 || e.indexOf("@") > -1);
@@ -2176,8 +2149,8 @@ function St(e) {
2176
2149
  function Ct(e) {
2177
2150
  return St(e) ? e : Promise.resolve(e);
2178
2151
  }
2179
- var wt = /\{\{(.+?)\}\}/g;
2180
- function Tt(e, t) {
2152
+ var wt = /\{\{(.+?)\}\}/g, Tt = /^[/\\]{2}/;
2153
+ function Et(e, t) {
2181
2154
  let n = !1, r = e.replace(wt, (e, r) => {
2182
2155
  let i = r.trim();
2183
2156
  if (ht.indexOf(i) > -1) return e;
@@ -2187,23 +2160,24 @@ function Tt(e, t) {
2187
2160
  for (let t of s) if (!o(t)) return n = !0, e;
2188
2161
  return s.join("+");
2189
2162
  });
2190
- return n ? null : r;
2163
+ return n || Tt.test(r) && !Tt.test(e) ? null : r;
2191
2164
  }
2192
2165
  var Y = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof window < "u" ? window : void 0, X;
2193
2166
  typeof fetch == "function" ? X = fetch : Y && typeof Y.fetch == "function" && (X = Y.fetch);
2194
- var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "function" && Y ? Y.ActiveXObject : void 0, Ot = [
2167
+ var Dt = xt() && Y ? Y.XMLHttpRequest : void 0, Ot = typeof ActiveXObject == "function" && Y ? Y.ActiveXObject : void 0, kt = [
2195
2168
  "__proto__",
2196
2169
  "constructor",
2197
2170
  "prototype"
2198
- ], kt = (e, t) => {
2171
+ ], At = (e, t) => {
2199
2172
  if (t && typeof t == "object") {
2200
2173
  let n = "";
2201
- for (let e of Object.keys(t)) Ot.indexOf(e) > -1 || (n += "&" + encodeURIComponent(e) + "=" + encodeURIComponent(t[e]));
2174
+ for (let e of Object.keys(t)) kt.indexOf(e) > -1 || (n += "&" + encodeURIComponent(e) + "=" + encodeURIComponent(t[e]));
2202
2175
  if (!n) return e;
2203
- e = e + (e.indexOf("?") === -1 ? "?" : "&") + n.slice(1);
2176
+ let r = e.indexOf("#"), i = r === -1 ? "" : e.slice(r), a = r === -1 ? e : e.slice(0, r);
2177
+ e = a + (a.indexOf("?") === -1 ? "?" : "&") + n.slice(1) + i;
2204
2178
  }
2205
2179
  return e;
2206
- }, At = (e, t, n, r) => {
2180
+ }, jt = (e, t, n, r) => {
2207
2181
  let i = (e) => {
2208
2182
  if (!e.ok) return n(e.statusText || "Error", { status: e.status });
2209
2183
  e.text().then((t) => {
@@ -2221,8 +2195,8 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2221
2195
  }
2222
2196
  }
2223
2197
  typeof fetch == "function" ? fetch(e, t).then(i).catch(n) : X(e, t).then(i).catch(n);
2224
- }, jt = (e, t, n, r) => {
2225
- e.queryStringParams && (t = kt(t, e.queryStringParams));
2198
+ }, Mt = (e, t, n, r) => {
2199
+ e.queryStringParams && (t = At(t, e.queryStringParams));
2226
2200
  let i = { ...typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders };
2227
2201
  typeof window > "u" && typeof global < "u" && global.process !== void 0 && global.process.versions && global.process.versions.node && (i["User-Agent"] = `i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`), n && (i["Content-Type"] = "application/json");
2228
2202
  let a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o = {
@@ -2232,45 +2206,47 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2232
2206
  ...e._omitFetchOptions ? {} : a
2233
2207
  }, s = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
2234
2208
  try {
2235
- At(t, o, r, s);
2209
+ jt(t, o, r, s);
2236
2210
  } catch (n) {
2237
2211
  if (!a || Object.keys(a).length === 0 || !n.message || n.message.indexOf("not implemented") < 0) return r(n);
2238
2212
  try {
2239
2213
  Object.keys(a).forEach((e) => {
2240
2214
  delete o[e];
2241
- }), At(t, o, r, s), e._omitFetchOptions = !0;
2215
+ }), jt(t, o, r, s), e._omitFetchOptions = !0;
2242
2216
  } catch (e) {
2243
2217
  r(e);
2244
2218
  }
2245
2219
  }
2246
- }, Mt = (e, t, n, r) => {
2247
- n && typeof n == "object" && (n = kt("", n).slice(1)), e.queryStringParams && (t = kt(t, e.queryStringParams));
2220
+ }, Nt = (e, t, n, r) => {
2221
+ n && typeof n == "object" && (n = At("", n).slice(1)), e.queryStringParams && (t = At(t, e.queryStringParams));
2222
+ let i = !1;
2248
2223
  try {
2249
- let i = Et ? new Et() : new Dt("MSXML2.XMLHTTP.3.0");
2250
- i.open(n ? "POST" : "GET", t, 1), e.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!e.withCredentials, n && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
2251
- let a = e.customHeaders;
2252
- if (a = typeof a == "function" ? a() : a, a) for (let e of Object.keys(a)) Ot.indexOf(e) > -1 || i.setRequestHeader(e, a[e]);
2253
- i.onreadystatechange = () => {
2254
- i.readyState > 3 && r(i.status >= 400 ? i.statusText : null, {
2255
- status: i.status,
2256
- data: i.responseText
2257
- });
2258
- }, i.send(n);
2224
+ let a = Dt ? new Dt() : new Ot("MSXML2.XMLHTTP.3.0");
2225
+ a.open(n ? "POST" : "GET", t, 1), e.crossDomain || a.setRequestHeader("X-Requested-With", "XMLHttpRequest"), a.withCredentials = !!e.withCredentials, n && a.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), a.overrideMimeType && a.overrideMimeType("application/json");
2226
+ let o = e.customHeaders;
2227
+ if (o = typeof o == "function" ? o() : o, o) for (let e of Object.keys(o)) kt.indexOf(e) > -1 || a.setRequestHeader(e, o[e]);
2228
+ a.onreadystatechange = () => {
2229
+ a.readyState > 3 && (i = !0, r(a.status >= 400 ? a.statusText : null, {
2230
+ status: a.status,
2231
+ data: a.responseText
2232
+ }));
2233
+ }, a.send(n);
2259
2234
  } catch (e) {
2260
- console && console.log(e);
2235
+ if (i) throw e;
2236
+ r(e);
2261
2237
  }
2262
- }, Nt = (e, t, n, r) => {
2263
- if (typeof n == "function" && (r = n, n = void 0), r ||= (() => {}), X && t.indexOf("file:") !== 0) return jt(e, t, n, r);
2264
- if (xt() || typeof ActiveXObject == "function") return Mt(e, t, n, r);
2238
+ }, Pt = (e, t, n, r) => {
2239
+ if (typeof n == "function" && (r = n, n = void 0), r ||= (() => {}), X && t.indexOf("file:") !== 0) return Mt(e, t, n, r);
2240
+ if (xt() || typeof ActiveXObject == "function") return Nt(e, t, n, r);
2265
2241
  r(/* @__PURE__ */ Error("No fetch and no xhr implementation found!"));
2266
- }, Pt = () => ({
2242
+ }, Ft = () => ({
2267
2243
  loadPath: "/locales/{{lng}}/{{ns}}.json",
2268
2244
  addPath: "/locales/add/{{lng}}/{{ns}}",
2269
2245
  parse: (e) => JSON.parse(e),
2270
2246
  stringify: JSON.stringify,
2271
2247
  parsePayload: (e, t, n) => ({ [t]: n || "" }),
2272
2248
  parseLoadPayload: (e, t) => void 0,
2273
- request: Nt,
2249
+ request: Pt,
2274
2250
  reloadInterval: typeof window < "u" ? !1 : 36e5,
2275
2251
  customHeaders: {},
2276
2252
  queryStringParams: {},
@@ -2282,13 +2258,13 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2282
2258
  credentials: "same-origin",
2283
2259
  cache: "default"
2284
2260
  }
2285
- }), Ft = class {
2261
+ }), It = class {
2286
2262
  constructor(e, t = {}, n = {}) {
2287
2263
  this.services = e, this.options = t, this.allOptions = n, this.type = "backend", this.init(e, t, n);
2288
2264
  }
2289
2265
  init(e, t = {}, n = {}) {
2290
2266
  if (this.services = e, this.options = {
2291
- ...Pt(),
2267
+ ...Ft(),
2292
2268
  ...this.options || {},
2293
2269
  ...t
2294
2270
  }, this.allOptions = n, this.services && this.options.reloadInterval) {
@@ -2306,7 +2282,7 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2306
2282
  let a = this.options.loadPath;
2307
2283
  typeof this.options.loadPath == "function" && (a = this.options.loadPath(e, n)), a = Ct(a), a.then((a) => {
2308
2284
  if (!a) return i(null, {});
2309
- let o = Tt(a, {
2285
+ let o = Et(a, {
2310
2286
  lng: e.join("+"),
2311
2287
  ns: n.join("+")
2312
2288
  });
@@ -2315,7 +2291,7 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2315
2291
  return i(/* @__PURE__ */ Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=[" + t + "] namespaces=[" + r + "]"), !1);
2316
2292
  }
2317
2293
  this.loadUrl(o, i, t, r);
2318
- });
2294
+ }, (e) => i(e, !1));
2319
2295
  }
2320
2296
  loadUrl(e, t, n, r) {
2321
2297
  let i = typeof n == "string" ? [n] : n, a = typeof r == "string" ? [r] : r, o = this.options.parseLoadPayload(i, a), s = J(bt(e));
@@ -2349,7 +2325,7 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2349
2325
  e.forEach((n) => {
2350
2326
  let r = this.options.addPath;
2351
2327
  typeof this.options.addPath == "function" && (r = this.options.addPath(n, t));
2352
- let l = Tt(r, {
2328
+ let l = Et(r, {
2353
2329
  lng: n,
2354
2330
  ns: t
2355
2331
  });
@@ -2375,16 +2351,15 @@ var Et = xt() && Y ? Y.XMLHttpRequest : void 0, Dt = typeof ActiveXObject == "fu
2375
2351
  });
2376
2352
  }
2377
2353
  };
2378
- Ft.type = "backend";
2379
- //#endregion
2380
- //#region ../../node_modules/.pnpm/i18next-browser-languagedetector@5.0.1/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js
2381
- var It = [], Lt = It.forEach, Rt = It.slice;
2382
- function zt(e) {
2383
- return Lt.call(Rt.call(arguments, 1), function(t) {
2354
+ It.type = "backend";
2355
+ // ../../node_modules/.pnpm/i18next-browser-languagedetector@5.0.1/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js
2356
+ var Lt = [], Rt = Lt.forEach, zt = Lt.slice;
2357
+ function Bt(e) {
2358
+ return Rt.call(zt.call(arguments, 1), function(t) {
2384
2359
  if (t) for (var n in t) e[n] === void 0 && (e[n] = t[n]);
2385
2360
  }), e;
2386
2361
  }
2387
- var Bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Vt = function(e, t, n) {
2362
+ var Vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ht = function(e, t, n) {
2388
2363
  var r = n || {};
2389
2364
  r.path = r.path || "/";
2390
2365
  var i = encodeURIComponent(t), a = e + "=" + i;
@@ -2394,11 +2369,11 @@ var Bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Vt = function(e, t, n) {
2394
2369
  a += "; Max-Age=" + Math.floor(o);
2395
2370
  }
2396
2371
  if (r.domain) {
2397
- if (!Bt.test(r.domain)) throw TypeError("option domain is invalid");
2372
+ if (!Vt.test(r.domain)) throw TypeError("option domain is invalid");
2398
2373
  a += "; Domain=" + r.domain;
2399
2374
  }
2400
2375
  if (r.path) {
2401
- if (!Bt.test(r.path)) throw TypeError("option path is invalid");
2376
+ if (!Vt.test(r.path)) throw TypeError("option path is invalid");
2402
2377
  a += "; Path=" + r.path;
2403
2378
  }
2404
2379
  if (r.expires) {
@@ -2421,13 +2396,13 @@ var Bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Vt = function(e, t, n) {
2421
2396
  default: throw TypeError("option sameSite is invalid");
2422
2397
  }
2423
2398
  return a;
2424
- }, Ht = {
2399
+ }, Ut = {
2425
2400
  create: function(e, t, n, r) {
2426
2401
  var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2427
2402
  path: "/",
2428
2403
  sameSite: "strict"
2429
2404
  };
2430
- n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = Vt(e, encodeURIComponent(t), i);
2405
+ n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = Ht(e, encodeURIComponent(t), i);
2431
2406
  },
2432
2407
  read: function(e) {
2433
2408
  for (var t = e + "=", n = document.cookie.split(";"), r = 0; r < n.length; r++) {
@@ -2439,20 +2414,20 @@ var Bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Vt = function(e, t, n) {
2439
2414
  remove: function(e) {
2440
2415
  this.create(e, "", -1);
2441
2416
  }
2442
- }, Ut = {
2417
+ }, Wt = {
2443
2418
  name: "cookie",
2444
2419
  lookup: function(e) {
2445
2420
  var t;
2446
2421
  if (e.lookupCookie && typeof document < "u") {
2447
- var n = Ht.read(e.lookupCookie);
2422
+ var n = Ut.read(e.lookupCookie);
2448
2423
  n && (t = n);
2449
2424
  }
2450
2425
  return t;
2451
2426
  },
2452
2427
  cacheUserLanguage: function(e, t) {
2453
- t.lookupCookie && typeof document < "u" && Ht.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2428
+ t.lookupCookie && typeof document < "u" && Ut.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2454
2429
  }
2455
- }, Wt = {
2430
+ }, Gt = {
2456
2431
  name: "querystring",
2457
2432
  lookup: function(e) {
2458
2433
  var t;
@@ -2465,12 +2440,12 @@ var Bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Vt = function(e, t, n) {
2465
2440
  }, Z;
2466
2441
  try {
2467
2442
  Z = window !== "undefined" && window.localStorage !== null;
2468
- var Gt = "i18next.translate.boo";
2469
- window.localStorage.setItem(Gt, "foo"), window.localStorage.removeItem(Gt);
2443
+ var Kt = "i18next.translate.boo";
2444
+ window.localStorage.setItem(Kt, "foo"), window.localStorage.removeItem(Kt);
2470
2445
  } catch {
2471
2446
  Z = !1;
2472
2447
  }
2473
- var Kt = {
2448
+ var qt = {
2474
2449
  name: "localStorage",
2475
2450
  lookup: function(e) {
2476
2451
  var t;
@@ -2486,12 +2461,12 @@ var Kt = {
2486
2461
  }, Q;
2487
2462
  try {
2488
2463
  Q = window !== "undefined" && window.sessionStorage !== null;
2489
- var qt = "i18next.translate.boo";
2490
- window.sessionStorage.setItem(qt, "foo"), window.sessionStorage.removeItem(qt);
2464
+ var Jt = "i18next.translate.boo";
2465
+ window.sessionStorage.setItem(Jt, "foo"), window.sessionStorage.removeItem(Jt);
2491
2466
  } catch {
2492
2467
  Q = !1;
2493
2468
  }
2494
- var Jt = {
2469
+ var Yt = {
2495
2470
  name: "sessionStorage",
2496
2471
  lookup: function(e) {
2497
2472
  var t;
@@ -2504,7 +2479,7 @@ var Jt = {
2504
2479
  cacheUserLanguage: function(e, t) {
2505
2480
  t.lookupsessionStorage && Q && window.sessionStorage.setItem(t.lookupsessionStorage, e);
2506
2481
  }
2507
- }, Yt = {
2482
+ }, Xt = {
2508
2483
  name: "navigator",
2509
2484
  lookup: function(e) {
2510
2485
  var t = [];
@@ -2514,13 +2489,13 @@ var Jt = {
2514
2489
  }
2515
2490
  return t.length > 0 ? t : void 0;
2516
2491
  }
2517
- }, Xt = {
2492
+ }, Zt = {
2518
2493
  name: "htmlTag",
2519
2494
  lookup: function(e) {
2520
2495
  var t, n = e.htmlTag || (typeof document < "u" ? document.documentElement : null);
2521
2496
  return n && typeof n.getAttribute == "function" && (t = n.getAttribute("lang")), t;
2522
2497
  }
2523
- }, Zt = {
2498
+ }, Qt = {
2524
2499
  name: "path",
2525
2500
  lookup: function(e) {
2526
2501
  var t;
@@ -2535,7 +2510,7 @@ var Jt = {
2535
2510
  }
2536
2511
  return t;
2537
2512
  }
2538
- }, Qt = {
2513
+ }, $t = {
2539
2514
  name: "subdomain",
2540
2515
  lookup: function(e) {
2541
2516
  var t;
@@ -2546,7 +2521,7 @@ var Jt = {
2546
2521
  return t;
2547
2522
  }
2548
2523
  };
2549
- function $t() {
2524
+ function en() {
2550
2525
  return {
2551
2526
  order: [
2552
2527
  "querystring",
@@ -2563,7 +2538,7 @@ function $t() {
2563
2538
  excludeCacheFor: ["cimode"]
2564
2539
  };
2565
2540
  }
2566
- var en = /*#__PURE__*/ function() {
2541
+ var tn = /*#__PURE__*/ function() {
2567
2542
  function e(t) {
2568
2543
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2569
2544
  S(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, n);
@@ -2573,7 +2548,7 @@ var en = /*#__PURE__*/ function() {
2573
2548
  key: "init",
2574
2549
  value: function(e) {
2575
2550
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2576
- this.services = e, this.options = zt(t, this.options || {}, $t()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Ut), this.addDetector(Wt), this.addDetector(Kt), this.addDetector(Jt), this.addDetector(Yt), this.addDetector(Xt), this.addDetector(Zt), this.addDetector(Qt);
2551
+ this.services = e, this.options = Bt(t, this.options || {}, en()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Wt), this.addDetector(Gt), this.addDetector(qt), this.addDetector(Yt), this.addDetector(Xt), this.addDetector(Zt), this.addDetector(Qt), this.addDetector($t);
2577
2552
  }
2578
2553
  },
2579
2554
  {
@@ -2607,10 +2582,9 @@ var en = /*#__PURE__*/ function() {
2607
2582
  }
2608
2583
  ]), e;
2609
2584
  }();
2610
- en.type = "languageDetector";
2611
- //#endregion
2612
- //#region src/i18n-woodland.ts
2613
- var $ = U.createInstance({
2585
+ tn.type = "languageDetector";
2586
+ // src/i18n-woodland.ts
2587
+ var $ = H.createInstance({
2614
2588
  defaultNS: "woodland",
2615
2589
  ns: ["woodland"],
2616
2590
  fallbackLng: "en-US",
@@ -3752,16 +3726,15 @@ var $ = U.createInstance({
3752
3726
  interpolation: { escapeValue: !1 }
3753
3727
  });
3754
3728
  $.init();
3755
- function tn(e) {
3729
+ function nn(e) {
3756
3730
  return pt("woodland", {
3757
3731
  ...e,
3758
3732
  i18n: $
3759
3733
  });
3760
3734
  }
3761
- //#endregion
3762
- //#region src/localize.ts
3763
- function nn({ detectorConfig: e, translationPath: t, customDetectors: n, ...r }) {
3764
- let i = new en();
3735
+ // src/localize.ts
3736
+ function rn({ detectorConfig: e, translationPath: t, customDetectors: n, ...r }) {
3737
+ let i = new tn();
3765
3738
  i.addDetector({
3766
3739
  name: "hashRouterQuerystringDetector",
3767
3740
  lookup: (e) => {
@@ -3804,22 +3777,19 @@ function nn({ detectorConfig: e, translationPath: t, customDetectors: n, ...r })
3804
3777
  }
3805
3778
  },
3806
3779
  ...r
3807
- }, o = U.use(Ft).use(i).use(Ue).init(a);
3808
- return U.on("initialized", () => {
3809
- $.changeLanguage(U.language);
3810
- }), U.on("loaded", () => {
3811
- $.changeLanguage(U.language);
3812
- }), U.on("languageChanged", (e) => {
3780
+ }, o = H.use(It).use(i).use(Ue).init(a);
3781
+ return H.on("initialized", () => {
3782
+ $.changeLanguage(H.language);
3783
+ }), H.on("loaded", () => {
3784
+ $.changeLanguage(H.language);
3785
+ }), H.on("languageChanged", (e) => {
3813
3786
  $.changeLanguage(e);
3814
3787
  }), o;
3815
3788
  }
3816
- //#endregion
3817
- //#region src/SpsLanguage.tsx
3818
- var rn = rt;
3819
- //#endregion
3820
- //#region src/useSpsLanguage.ts
3821
- function an(e = "translation", t) {
3789
+ // src/SpsLanguage.tsx
3790
+ var an = rt;
3791
+ // src/useSpsLanguage.ts
3792
+ function on(e = "translation", t) {
3822
3793
  return pt(e, t);
3823
3794
  }
3824
- //#endregion
3825
- export { rn as SpsLanguage, U as i18n, $ as i18nWoodland, nn as localize, an as useSpsLanguage, tn as useWoodlandLanguage };
3795
+ export { an as SpsLanguage, H as i18n, $ as i18nWoodland, rn as localize, on as useSpsLanguage, nn as useWoodlandLanguage };