@ukpc-lib/react 0.13.1-dev.4 → 0.13.1-dev.6

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.
Files changed (24) hide show
  1. package/dist/components/index.cjs +2 -2
  2. package/dist/components/index.js +3 -3
  3. package/dist/{index.esm2017-gn4YavpL.js → index.esm2017-BaUD-cIs.js} +842 -841
  4. package/dist/{index.esm2017-D_jfQoO6.cjs → index.esm2017-PBMi68u0.cjs} +30 -30
  5. package/dist/share/index.cjs +1 -1
  6. package/dist/share/index.js +1 -1
  7. package/package.json +1 -1
  8. package/web-components-bundle/access-denied/index.js +2 -2
  9. package/web-components-bundle/favorite-menu/index.js +5 -6
  10. package/web-components-bundle/global-menu/index.js +4 -5
  11. package/web-components-bundle/global-topbar/index.js +7 -8
  12. package/web-components-bundle/has-permission/index.js +4 -5
  13. package/web-components-bundle/{index-BSe1av43.js → index-B1bJ4sn5.js} +1 -1
  14. package/web-components-bundle/{index-Ck-3mxIe.js → index-DofEXbsA.js} +21671 -16332
  15. package/web-components-bundle/{index-T58UE-6b.js → index-DyX6L9q-.js} +226 -215
  16. package/web-components-bundle/page-not-found/index.js +2 -2
  17. package/web-components-bundle/{react-to-web-component-CXwKHjZr.js → react-to-web-component-C4-Jmrxs.js} +5 -5
  18. package/web-components-bundle/{react-toastify.esm-CrTD7cpE.js → react-toastify.esm-C4-Xv2fh.js} +175 -156
  19. package/web-components-bundle/toast-config/index.js +2 -2
  20. package/web-components-bundle/toast-config-notification/index.js +2 -2
  21. package/web-components-bundle/base-breadcrumbs/index.js +0 -5
  22. package/web-components-bundle/clsx-DB4S2d7J.js +0 -22
  23. package/web-components-bundle/index-BziS9Had.js +0 -5410
  24. package/web-components-bundle/setPrototypeOf-BVKdEITT.js +0 -14
@@ -1,5 +1,4 @@
1
- import { r as $, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-CXwKHjZr.js";
2
- import { _ as Wt, a as Y } from "./setPrototypeOf-BVKdEITT.js";
1
+ import { r as $, c as ce, g as Xt, s as Wt, j as E } from "./react-to-web-component-C4-Jmrxs.js";
3
2
  function Gt(i, e) {
4
3
  for (var t = 0; t < e.length; t++) {
5
4
  const n = e[t];
@@ -40,21 +39,31 @@ function Qt(i, e) {
40
39
  }
41
40
  return (e === "string" ? String : Number)(i);
42
41
  }
43
- function kt(i) {
42
+ function Lt(i) {
44
43
  var e = Qt(i, "string");
45
44
  return U(e) == "symbol" ? e : e + "";
46
45
  }
47
- function $e(i, e) {
46
+ function qe(i, e) {
48
47
  for (var t = 0; t < e.length; t++) {
49
48
  var n = e[t];
50
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, kt(n.key), n);
49
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, Lt(n.key), n);
51
50
  }
52
51
  }
53
52
  function H(i, e, t) {
54
- return e && $e(i.prototype, e), t && $e(i, t), Object.defineProperty(i, "prototype", {
53
+ return e && qe(i.prototype, e), t && qe(i, t), Object.defineProperty(i, "prototype", {
55
54
  writable: !1
56
55
  }), i;
57
56
  }
57
+ function Y(i) {
58
+ if (i === void 0)
59
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
60
+ return i;
61
+ }
62
+ function Ne(i, e) {
63
+ return Ne = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, n) {
64
+ return t.__proto__ = n, t;
65
+ }, Ne(i, e);
66
+ }
58
67
  function Se(i, e) {
59
68
  if (typeof e != "function" && e !== null)
60
69
  throw new TypeError("Super expression must either be null or a function");
@@ -66,7 +75,7 @@ function Se(i, e) {
66
75
  }
67
76
  }), Object.defineProperty(i, "prototype", {
68
77
  writable: !1
69
- }), e && Wt(i, e);
78
+ }), e && Ne(i, e);
70
79
  }
71
80
  function de(i, e) {
72
81
  if (e && (U(e) == "object" || typeof e == "function"))
@@ -81,14 +90,14 @@ function X(i) {
81
90
  }, X(i);
82
91
  }
83
92
  function W(i, e, t) {
84
- return (e = kt(e)) in i ? Object.defineProperty(i, e, {
93
+ return (e = Lt(e)) in i ? Object.defineProperty(i, e, {
85
94
  value: t,
86
95
  enumerable: !0,
87
96
  configurable: !0,
88
97
  writable: !0
89
98
  }) : i[e] = t, i;
90
99
  }
91
- function Lt(i) {
100
+ function Rt(i) {
92
101
  if (Array.isArray(i))
93
102
  return i;
94
103
  }
@@ -96,28 +105,28 @@ function Yt(i) {
96
105
  if (typeof Symbol < "u" && i[Symbol.iterator] != null || i["@@iterator"] != null)
97
106
  return Array.from(i);
98
107
  }
99
- function qe(i, e) {
108
+ function Ke(i, e) {
100
109
  (e == null || e > i.length) && (e = i.length);
101
110
  for (var t = 0, n = Array(e); t < e; t++)
102
111
  n[t] = i[t];
103
112
  return n;
104
113
  }
105
- function Rt(i, e) {
114
+ function Et(i, e) {
106
115
  if (i) {
107
116
  if (typeof i == "string")
108
- return qe(i, e);
117
+ return Ke(i, e);
109
118
  var t = {}.toString.call(i).slice(8, -1);
110
- return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? qe(i, e) : void 0;
119
+ return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ke(i, e) : void 0;
111
120
  }
112
121
  }
113
- function Et() {
122
+ function _t() {
114
123
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
115
124
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
116
125
  }
117
126
  function Zt(i) {
118
- return Lt(i) || Yt(i) || Rt(i) || Et();
127
+ return Rt(i) || Yt(i) || Et(i) || _t();
119
128
  }
120
- function Ke(i, e) {
129
+ function Ve(i, e) {
121
130
  var t = Object.keys(i);
122
131
  if (Object.getOwnPropertySymbols) {
123
132
  var n = Object.getOwnPropertySymbols(i);
@@ -127,12 +136,12 @@ function Ke(i, e) {
127
136
  }
128
137
  return t;
129
138
  }
130
- function Ve(i) {
139
+ function ze(i) {
131
140
  for (var e = 1; e < arguments.length; e++) {
132
141
  var t = arguments[e] != null ? arguments[e] : {};
133
- e % 2 ? Ke(Object(t), !0).forEach(function(n) {
142
+ e % 2 ? Ve(Object(t), !0).forEach(function(n) {
134
143
  W(i, n, t[n]);
135
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : Ke(Object(t)).forEach(function(n) {
144
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : Ve(Object(t)).forEach(function(n) {
136
145
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
137
146
  });
138
147
  }
@@ -204,7 +213,7 @@ var en = {
204
213
  }, {
205
214
  key: "create",
206
215
  value: function(t) {
207
- return new i(this.logger, Ve(Ve({}, {
216
+ return new i(this.logger, ze(ze({}, {
208
217
  prefix: "".concat(this.prefix, ":").concat(t, ":")
209
218
  }), this.options));
210
219
  }
@@ -265,7 +274,7 @@ function se() {
265
274
  });
266
275
  return t.resolve = i, t.reject = e, t;
267
276
  }
268
- function ze(i) {
277
+ function Je(i) {
269
278
  return i == null ? "" : "" + i;
270
279
  }
271
280
  function nn(i, e, t) {
@@ -273,7 +282,7 @@ function nn(i, e, t) {
273
282
  e[n] && (t[n] = e[n]);
274
283
  });
275
284
  }
276
- function Fe(i, e, t) {
285
+ function Ue(i, e, t) {
277
286
  function n(s) {
278
287
  return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
279
288
  }
@@ -291,16 +300,16 @@ function Fe(i, e, t) {
291
300
  k: n(a.shift())
292
301
  };
293
302
  }
294
- function Je(i, e, t) {
295
- var n = Fe(i, e, Object), r = n.obj, a = n.k;
303
+ function Xe(i, e, t) {
304
+ var n = Ue(i, e, Object), r = n.obj, a = n.k;
296
305
  r[a] = t;
297
306
  }
298
307
  function rn(i, e, t, n) {
299
- var r = Fe(i, e, Object), a = r.obj, o = r.k;
308
+ var r = Ue(i, e, Object), a = r.obj, o = r.k;
300
309
  a[o] = a[o] || [], a[o].push(t);
301
310
  }
302
311
  function ye(i, e) {
303
- var t = Fe(i, e), n = t.obj, r = t.k;
312
+ var t = Ue(i, e), n = t.obj, r = t.k;
304
313
  if (n)
305
314
  return n[r];
306
315
  }
@@ -375,7 +384,7 @@ function be(i, e) {
375
384
  return r;
376
385
  }
377
386
  }
378
- function Xe(i, e) {
387
+ function We(i, e) {
379
388
  var t = Object.keys(i);
380
389
  if (Object.getOwnPropertySymbols) {
381
390
  var n = Object.getOwnPropertySymbols(i);
@@ -388,9 +397,9 @@ function Xe(i, e) {
388
397
  function ge(i) {
389
398
  for (var e = 1; e < arguments.length; e++) {
390
399
  var t = arguments[e] != null ? arguments[e] : {};
391
- e % 2 ? Xe(Object(t), !0).forEach(function(n) {
400
+ e % 2 ? We(Object(t), !0).forEach(function(n) {
392
401
  W(i, n, t[n]);
393
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : Xe(Object(t)).forEach(function(n) {
402
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : We(Object(t)).forEach(function(n) {
394
403
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
395
404
  });
396
405
  }
@@ -455,7 +464,7 @@ var dn = function(i) {
455
464
  var u = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
456
465
  silent: !1
457
466
  }, d = u.keySeparator !== void 0 ? u.keySeparator : this.options.keySeparator, c = [r, a];
458
- o && (c = c.concat(d ? o.split(d) : o)), r.indexOf(".") > -1 && (c = r.split("."), s = a, a = c[1]), this.addNamespaces(a), Je(this.data, c, s), u.silent || this.emit("added", r, a, o, s);
467
+ o && (c = c.concat(d ? o.split(d) : o)), r.indexOf(".") > -1 && (c = r.split("."), s = a, a = c[1]), this.addNamespaces(a), Xe(this.data, c, s), u.silent || this.emit("added", r, a, o, s);
459
468
  }
460
469
  }, {
461
470
  key: "addResources",
@@ -477,7 +486,7 @@ var dn = function(i) {
477
486
  }, c = [r, a];
478
487
  r.indexOf(".") > -1 && (c = r.split("."), s = o, o = a, a = c[1]), this.addNamespaces(a);
479
488
  var f = ye(this.data, c) || {};
480
- s ? Ct(f, o, u) : f = ge(ge({}, f), o), Je(this.data, c, f), d.silent || this.emit("added", r, a, o);
489
+ s ? Ct(f, o, u) : f = ge(ge({}, f), o), Xe(this.data, c, f), d.silent || this.emit("added", r, a, o);
481
490
  }
482
491
  }, {
483
492
  key: "removeResourceBundle",
@@ -513,7 +522,7 @@ var dn = function(i) {
513
522
  return this.data;
514
523
  }
515
524
  }]), t;
516
- }(Z), _t = {
525
+ }(Z), Nt = {
517
526
  processors: {},
518
527
  addPostProcessor: function(e) {
519
528
  this.processors[e.name] = e;
@@ -525,7 +534,7 @@ var dn = function(i) {
525
534
  }), t;
526
535
  }
527
536
  };
528
- function We(i, e) {
537
+ function Ge(i, e) {
529
538
  var t = Object.keys(i);
530
539
  if (Object.getOwnPropertySymbols) {
531
540
  var n = Object.getOwnPropertySymbols(i);
@@ -538,9 +547,9 @@ function We(i, e) {
538
547
  function T(i) {
539
548
  for (var e = 1; e < arguments.length; e++) {
540
549
  var t = arguments[e] != null ? arguments[e] : {};
541
- e % 2 ? We(Object(t), !0).forEach(function(n) {
550
+ e % 2 ? Ge(Object(t), !0).forEach(function(n) {
542
551
  W(i, n, t[n]);
543
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : We(Object(t)).forEach(function(n) {
552
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : Ge(Object(t)).forEach(function(n) {
544
553
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
545
554
  });
546
555
  }
@@ -570,7 +579,7 @@ function gn() {
570
579
  return !1;
571
580
  }
572
581
  }
573
- var Ge = {}, Qe = function(i) {
582
+ var Qe = {}, Ye = function(i) {
574
583
  Se(t, i);
575
584
  var e = pn(t);
576
585
  function t(n) {
@@ -641,14 +650,14 @@ var Ge = {}, Qe = function(i) {
641
650
  usedNS: g
642
651
  } : f;
643
652
  }
644
- var v = this.resolve(r, a), m = v && v.res, S = v && v.usedKey || f, x = v && v.exactUsedKey || f, k = Object.prototype.toString.apply(m), D = ["[object Number]", "[object Function]", "[object RegExp]"], I = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, _ = !this.i18nFormat || this.i18nFormat.handleAsObject, R = typeof m != "string" && typeof m != "boolean" && typeof m != "number";
645
- if (_ && m && R && D.indexOf(k) < 0 && !(typeof I == "string" && k === "[object Array]")) {
653
+ var v = this.resolve(r, a), m = v && v.res, S = v && v.usedKey || f, x = v && v.exactUsedKey || f, k = Object.prototype.toString.apply(m), D = ["[object Number]", "[object Function]", "[object RegExp]"], I = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, C = !this.i18nFormat || this.i18nFormat.handleAsObject, R = typeof m != "string" && typeof m != "boolean" && typeof m != "number";
654
+ if (C && m && R && D.indexOf(k) < 0 && !(typeof I == "string" && k === "[object Array]")) {
646
655
  if (!a.returnObjects && !this.options.returnObjects) {
647
656
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
648
- var C = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, m, T(T({}, a), {}, {
657
+ var _ = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, m, T(T({}, a), {}, {
649
658
  ns: p
650
659
  })) : "key '".concat(f, " (").concat(this.language, ")' returned an object instead of string.");
651
- return u ? (v.res = C, v) : C;
660
+ return u ? (v.res = _, v) : _;
652
661
  }
653
662
  if (d) {
654
663
  var Q = k === "[object Array]", A = Q ? [] : {}, Pe = Q ? x : S;
@@ -662,7 +671,7 @@ var Ge = {}, Qe = function(i) {
662
671
  }
663
672
  m = A;
664
673
  }
665
- } else if (_ && typeof I == "string" && k === "[object Array]")
674
+ } else if (C && typeof I == "string" && k === "[object Array]")
666
675
  m = m.join(I), m && (m = this.extendTranslation(m, r, a, o));
667
676
  else {
668
677
  var h = !1, O = !1, j = a.count !== void 0 && typeof a.count != "string", L = t.hasDefaultValue(a), P = j ? this.pluralResolver.getSuffix(b, a.count, a) : "", K = a["defaultValue".concat(P)] || a.defaultValue;
@@ -670,10 +679,10 @@ var Ge = {}, Qe = function(i) {
670
679
  var je = a.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, F = je && O ? void 0 : m, V = L && K !== m && this.options.updateMissing;
671
680
  if (O || h || V) {
672
681
  if (this.logger.log(V ? "updateKey" : "missingKey", b, g, f, V ? K : m), d) {
673
- var Ue = this.resolve(f, T(T({}, a), {}, {
682
+ var Be = this.resolve(f, T(T({}, a), {}, {
674
683
  keySeparator: !1
675
684
  }));
676
- Ue && Ue.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
685
+ Be && Be.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
677
686
  }
678
687
  var oe = [], pe = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
679
688
  if (this.options.saveMissingTo === "fallback" && pe && pe[0])
@@ -681,15 +690,15 @@ var Ge = {}, Qe = function(i) {
681
690
  oe.push(pe[ke]);
682
691
  else
683
692
  this.options.saveMissingTo === "all" ? oe = this.languageUtils.toResolveHierarchy(a.lng || this.language) : oe.push(a.lng || this.language);
684
- var Be = function(ne, Re, He) {
685
- var Me = L && He !== m ? He : F;
686
- s.options.missingKeyHandler ? s.options.missingKeyHandler(ne, g, Re, Me, V, a) : s.backendConnector && s.backendConnector.saveMissing && s.backendConnector.saveMissing(ne, g, Re, Me, V, a), s.emit("missingKey", ne, g, Re, m);
693
+ var He = function(ne, Re, Me) {
694
+ var $e = L && Me !== m ? Me : F;
695
+ s.options.missingKeyHandler ? s.options.missingKeyHandler(ne, g, Re, $e, V, a) : s.backendConnector && s.backendConnector.saveMissing && s.backendConnector.saveMissing(ne, g, Re, $e, V, a), s.emit("missingKey", ne, g, Re, m);
687
696
  };
688
697
  this.options.saveMissing && (this.options.saveMissingPlurals && j ? oe.forEach(function(Le) {
689
698
  s.pluralResolver.getSuffixes(Le, a).forEach(function(ne) {
690
- Be([Le], f + ne, a["defaultValue".concat(ne)] || K);
699
+ He([Le], f + ne, a["defaultValue".concat(ne)] || K);
691
700
  });
692
- }) : Be(oe, f, K));
701
+ }) : He(oe, f, K));
693
702
  }
694
703
  m = this.extendTranslation(m, r, a, v, o), O && m === f && this.options.appendNamespaceToMissingKey && (m = "".concat(g, ":").concat(f)), (O || h) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(g, ":").concat(f) : f, h ? m : void 0) : m = this.options.parseMissingKeyHandler(m));
695
704
  }
@@ -724,7 +733,7 @@ var Ge = {}, Qe = function(i) {
724
733
  }, o)), o.interpolation && this.interpolator.reset();
725
734
  }
726
735
  var w = o.postProcess || this.options.postProcess, v = typeof w == "string" ? [w] : w;
727
- return r != null && v && v.length && o.applyPostProcessor !== !1 && (r = _t.handle(v, r, a, this.options && this.options.postProcessPassResolved ? T({
736
+ return r != null && v && v.length && o.applyPostProcessor !== !1 && (r = Nt.handle(v, r, a, this.options && this.options.postProcessPassResolved ? T({
728
737
  i18nResolved: s
729
738
  }, o) : o, this)), r;
730
739
  }
@@ -740,7 +749,7 @@ var Ge = {}, Qe = function(i) {
740
749
  a.options.fallbackNS && (y = y.concat(a.options.fallbackNS));
741
750
  var w = o.count !== void 0 && typeof o.count != "string", v = w && !o.ordinal && o.count === 0 && a.pluralResolver.shouldUseIntlApi(), m = o.context !== void 0 && (typeof o.context == "string" || typeof o.context == "number") && o.context !== "", S = o.lngs ? o.lngs : a.languageUtils.toResolveHierarchy(o.lng || a.language, o.fallbackLng);
742
751
  y.forEach(function(x) {
743
- a.isValidLookup(s) || (f = x, !Ge["".concat(S[0], "-").concat(x)] && a.utils && a.utils.hasLoadedNamespace && !a.utils.hasLoadedNamespace(f) && (Ge["".concat(S[0], "-").concat(x)] = !0, a.logger.warn('key "'.concat(u, '" for languages "').concat(S.join(", "), `" won't get resolved as namespace "`).concat(f, '" 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!!!")), S.forEach(function(k) {
752
+ a.isValidLookup(s) || (f = x, !Qe["".concat(S[0], "-").concat(x)] && a.utils && a.utils.hasLoadedNamespace && !a.utils.hasLoadedNamespace(f) && (Qe["".concat(S[0], "-").concat(x)] = !0, a.logger.warn('key "'.concat(u, '" for languages "').concat(S.join(", "), `" won't get resolved as namespace "`).concat(f, '" 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!!!")), S.forEach(function(k) {
744
753
  if (!a.isValidLookup(s)) {
745
754
  c = k;
746
755
  var D = [b];
@@ -749,14 +758,14 @@ var Ge = {}, Qe = function(i) {
749
758
  else {
750
759
  var I;
751
760
  w && (I = a.pluralResolver.getSuffix(k, o.count, o));
752
- var _ = "".concat(a.options.pluralSeparator, "zero");
753
- if (w && (D.push(b + I), v && D.push(b + _)), m) {
761
+ var C = "".concat(a.options.pluralSeparator, "zero");
762
+ if (w && (D.push(b + I), v && D.push(b + C)), m) {
754
763
  var R = "".concat(b).concat(a.options.contextSeparator).concat(o.context);
755
- D.push(R), w && (D.push(R + I), v && D.push(R + _));
764
+ D.push(R), w && (D.push(R + I), v && D.push(R + C));
756
765
  }
757
766
  }
758
- for (var C; C = D.pop(); )
759
- a.isValidLookup(s) || (d = C, s = a.getResource(k, x, C, o));
767
+ for (var _; _ = D.pop(); )
768
+ a.isValidLookup(s) || (d = _, s = a.getResource(k, x, _, o));
760
769
  }
761
770
  }));
762
771
  });
@@ -794,7 +803,7 @@ var Ge = {}, Qe = function(i) {
794
803
  function Ee(i) {
795
804
  return i.charAt(0).toUpperCase() + i.slice(1);
796
805
  }
797
- var Ye = function() {
806
+ var Ze = function() {
798
807
  function i(e) {
799
808
  B(this, i), this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
800
809
  }
@@ -1038,7 +1047,7 @@ var Ye = function() {
1038
1047
  22: function(e) {
1039
1048
  return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
1040
1049
  }
1041
- }, mn = ["v1", "v2", "v3"], Ze = {
1050
+ }, mn = ["v1", "v2", "v3"], et = {
1042
1051
  zero: 0,
1043
1052
  one: 1,
1044
1053
  two: 2,
@@ -1100,7 +1109,7 @@ var bn = function() {
1100
1109
  value: function(t) {
1101
1110
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = this.getRule(t, r);
1102
1111
  return a ? this.shouldUseIntlApi() ? a.resolvedOptions().pluralCategories.sort(function(o, s) {
1103
- return Ze[o] - Ze[s];
1112
+ return et[o] - et[s];
1104
1113
  }).map(function(o) {
1105
1114
  return "".concat(n.options.prepend).concat(o);
1106
1115
  }) : a.numbers.map(function(o) {
@@ -1130,7 +1139,7 @@ var bn = function() {
1130
1139
  }
1131
1140
  }]), i;
1132
1141
  }();
1133
- function et(i, e) {
1142
+ function tt(i, e) {
1134
1143
  var t = Object.keys(i);
1135
1144
  if (Object.getOwnPropertySymbols) {
1136
1145
  var n = Object.getOwnPropertySymbols(i);
@@ -1143,15 +1152,15 @@ function et(i, e) {
1143
1152
  function M(i) {
1144
1153
  for (var e = 1; e < arguments.length; e++) {
1145
1154
  var t = arguments[e] != null ? arguments[e] : {};
1146
- e % 2 ? et(Object(t), !0).forEach(function(n) {
1155
+ e % 2 ? tt(Object(t), !0).forEach(function(n) {
1147
1156
  W(i, n, t[n]);
1148
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : et(Object(t)).forEach(function(n) {
1157
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : tt(Object(t)).forEach(function(n) {
1149
1158
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
1150
1159
  });
1151
1160
  }
1152
1161
  return i;
1153
1162
  }
1154
- function tt(i, e, t) {
1163
+ function nt(i, e, t) {
1155
1164
  var n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = an(i, e, t);
1156
1165
  return !a && r && typeof t == "string" && (a = be(i, t, n), a === void 0 && (a = be(e, t, n))), a;
1157
1166
  }
@@ -1196,13 +1205,13 @@ var wn = function() {
1196
1205
  }
1197
1206
  var p = function(v) {
1198
1207
  if (v.indexOf(o.formatSeparator) < 0) {
1199
- var m = tt(n, c, v, o.options.keySeparator, o.options.ignoreJSONStructure);
1208
+ var m = nt(n, c, v, o.options.keySeparator, o.options.ignoreJSONStructure);
1200
1209
  return o.alwaysFormat ? o.format(m, void 0, r, M(M(M({}, a), n), {}, {
1201
1210
  interpolationkey: v
1202
1211
  })) : m;
1203
1212
  }
1204
1213
  var S = v.split(o.formatSeparator), x = S.shift().trim(), k = S.join(o.formatSeparator).trim();
1205
- return o.format(tt(n, c, x, o.options.keySeparator, o.options.ignoreJSONStructure), k, r, M(M(M({}, a), n), {}, {
1214
+ return o.format(nt(n, c, x, o.options.keySeparator, o.options.ignoreJSONStructure), k, r, M(M(M({}, a), n), {}, {
1206
1215
  interpolationkey: x
1207
1216
  }));
1208
1217
  };
@@ -1233,7 +1242,7 @@ var wn = function() {
1233
1242
  } else
1234
1243
  o.logger.warn("missed to pass in variable ".concat(v, " for interpolating ").concat(t)), u = "";
1235
1244
  else
1236
- typeof u != "string" && !o.useRawValueToEscape && (u = ze(u));
1245
+ typeof u != "string" && !o.useRawValueToEscape && (u = Je(u));
1237
1246
  var S = w.safeValue(u);
1238
1247
  if (t = t.replace(s[0], S), b ? (w.regex.lastIndex += u.length, w.regex.lastIndex -= s[0].length) : w.regex.lastIndex = 0, d++, d >= o.maxReplaces)
1239
1248
  break;
@@ -1271,7 +1280,7 @@ var wn = function() {
1271
1280
  }
1272
1281
  if (s = n(d.call(this, o[1].trim(), u), u), s && o[0] === t && typeof s != "string")
1273
1282
  return s;
1274
- typeof s != "string" && (s = ze(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(t)), s = ""), f && (s = c.reduce(function(g, b) {
1283
+ typeof s != "string" && (s = Je(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(t)), s = ""), f && (s = c.reduce(function(g, b) {
1275
1284
  return r.format(g, b, a.lng, M(M({}, a), {}, {
1276
1285
  interpolationkey: o[1].trim()
1277
1286
  }));
@@ -1281,7 +1290,7 @@ var wn = function() {
1281
1290
  }
1282
1291
  }]), i;
1283
1292
  }();
1284
- function nt(i, e) {
1293
+ function rt(i, e) {
1285
1294
  var t = Object.keys(i);
1286
1295
  if (Object.getOwnPropertySymbols) {
1287
1296
  var n = Object.getOwnPropertySymbols(i);
@@ -1294,9 +1303,9 @@ function nt(i, e) {
1294
1303
  function G(i) {
1295
1304
  for (var e = 1; e < arguments.length; e++) {
1296
1305
  var t = arguments[e] != null ? arguments[e] : {};
1297
- e % 2 ? nt(Object(t), !0).forEach(function(n) {
1306
+ e % 2 ? rt(Object(t), !0).forEach(function(n) {
1298
1307
  W(i, n, t[n]);
1299
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : nt(Object(t)).forEach(function(n) {
1308
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : rt(Object(t)).forEach(function(n) {
1300
1309
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
1301
1310
  });
1302
1311
  }
@@ -1412,7 +1421,7 @@ var Sn = function() {
1412
1421
  }
1413
1422
  }]), i;
1414
1423
  }();
1415
- function rt(i, e) {
1424
+ function it(i, e) {
1416
1425
  var t = Object.keys(i);
1417
1426
  if (Object.getOwnPropertySymbols) {
1418
1427
  var n = Object.getOwnPropertySymbols(i);
@@ -1422,12 +1431,12 @@ function rt(i, e) {
1422
1431
  }
1423
1432
  return t;
1424
1433
  }
1425
- function it(i) {
1434
+ function at(i) {
1426
1435
  for (var e = 1; e < arguments.length; e++) {
1427
1436
  var t = arguments[e] != null ? arguments[e] : {};
1428
- e % 2 ? rt(Object(t), !0).forEach(function(n) {
1437
+ e % 2 ? it(Object(t), !0).forEach(function(n) {
1429
1438
  W(i, n, t[n]);
1430
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : rt(Object(t)).forEach(function(n) {
1439
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : it(Object(t)).forEach(function(n) {
1431
1440
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
1432
1441
  });
1433
1442
  }
@@ -1597,7 +1606,7 @@ var kn = function(i) {
1597
1606
  }
1598
1607
  if (!(o == null || o === "")) {
1599
1608
  if (this.backend && this.backend.create) {
1600
- var f = it(it({}, d), {}, {
1609
+ var f = at(at({}, d), {}, {
1601
1610
  isUpdate: u
1602
1611
  }), p = this.backend.create.bind(this.backend);
1603
1612
  if (p.length < 6)
@@ -1617,7 +1626,7 @@ var kn = function(i) {
1617
1626
  }
1618
1627
  }]), t;
1619
1628
  }(Z);
1620
- function at() {
1629
+ function ot() {
1621
1630
  return {
1622
1631
  debug: !1,
1623
1632
  initImmediate: !0,
@@ -1678,10 +1687,10 @@ function at() {
1678
1687
  }
1679
1688
  };
1680
1689
  }
1681
- function ot(i) {
1690
+ function st(i) {
1682
1691
  return typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i;
1683
1692
  }
1684
- function st(i, e) {
1693
+ function ut(i, e) {
1685
1694
  var t = Object.keys(i);
1686
1695
  if (Object.getOwnPropertySymbols) {
1687
1696
  var n = Object.getOwnPropertySymbols(i);
@@ -1694,9 +1703,9 @@ function st(i, e) {
1694
1703
  function z(i) {
1695
1704
  for (var e = 1; e < arguments.length; e++) {
1696
1705
  var t = arguments[e] != null ? arguments[e] : {};
1697
- e % 2 ? st(Object(t), !0).forEach(function(n) {
1706
+ e % 2 ? ut(Object(t), !0).forEach(function(n) {
1698
1707
  W(i, n, t[n]);
1699
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : st(Object(t)).forEach(function(n) {
1708
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : ut(Object(t)).forEach(function(n) {
1700
1709
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
1701
1710
  });
1702
1711
  }
@@ -1739,7 +1748,7 @@ var we = function(i) {
1739
1748
  var e = Ln(t);
1740
1749
  function t() {
1741
1750
  var n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
1742
- if (B(this, t), n = e.call(this), xe && Z.call(Y(n)), n.options = ot(r), n.services = {}, n.logger = J, n.modules = {
1751
+ if (B(this, t), n = e.call(this), xe && Z.call(Y(n)), n.options = st(r), n.services = {}, n.logger = J, n.modules = {
1743
1752
  external: []
1744
1753
  }, En(Y(n)), a && !n.isInitialized && !r.isClone) {
1745
1754
  if (!n.options.initImmediate)
@@ -1755,8 +1764,8 @@ var we = function(i) {
1755
1764
  value: function() {
1756
1765
  var r = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
1757
1766
  typeof a == "function" && (o = a, a = {}), !a.defaultNS && a.defaultNS !== !1 && a.ns && (typeof a.ns == "string" ? a.defaultNS = a.ns : a.ns.indexOf("translation") < 0 && (a.defaultNS = a.ns[0]));
1758
- var s = at();
1759
- this.options = z(z(z({}, s), this.options), ot(a)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = z(z({}, s.interpolation), this.options.interpolation)), a.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = a.keySeparator), a.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = a.nsSeparator);
1767
+ var s = ot();
1768
+ this.options = z(z(z({}, s), this.options), st(a)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = z(z({}, s.interpolation), this.options.interpolation)), a.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = a.keySeparator), a.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = a.nsSeparator);
1760
1769
  function u(v) {
1761
1770
  return v ? typeof v == "function" ? new v() : v : null;
1762
1771
  }
@@ -1764,7 +1773,7 @@ var we = function(i) {
1764
1773
  this.modules.logger ? J.init(u(this.modules.logger), this.options) : J.init(null, this.options);
1765
1774
  var d;
1766
1775
  this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = Sn);
1767
- var c = new Ye(this.options);
1776
+ var c = new Ze(this.options);
1768
1777
  this.store = new dn(this.options.resources, this.options);
1769
1778
  var f = this.services;
1770
1779
  f.logger = J, f.resourceStore = this.store, f.languageUtils = c, f.pluralResolver = new bn(c, {
@@ -1777,7 +1786,7 @@ var we = function(i) {
1777
1786
  for (var m = arguments.length, S = new Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
1778
1787
  S[x - 1] = arguments[x];
1779
1788
  r.emit.apply(r, [v].concat(S));
1780
- }), this.modules.languageDetector && (f.languageDetector = u(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = u(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Qe(this.services, this.options), this.translator.on("*", function(v) {
1789
+ }), this.modules.languageDetector && (f.languageDetector = u(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = u(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Ye(this.services, this.options), this.translator.on("*", function(v) {
1781
1790
  for (var m = arguments.length, S = new Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
1782
1791
  S[x - 1] = arguments[x];
1783
1792
  r.emit.apply(r, [v].concat(S));
@@ -1860,7 +1869,7 @@ var we = function(i) {
1860
1869
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1861
1870
  if (!r.type)
1862
1871
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1863
- return r.type === "backend" && (this.modules.backend = r), (r.type === "logger" || r.log && r.warn && r.error) && (this.modules.logger = r), r.type === "languageDetector" && (this.modules.languageDetector = r), r.type === "i18nFormat" && (this.modules.i18nFormat = r), r.type === "postProcessor" && _t.addPostProcessor(r), r.type === "formatter" && (this.modules.formatter = r), r.type === "3rdParty" && this.modules.external.push(r), this;
1872
+ return r.type === "backend" && (this.modules.backend = r), (r.type === "logger" || r.log && r.warn && r.error) && (this.modules.logger = r), r.type === "languageDetector" && (this.modules.languageDetector = r), r.type === "i18nFormat" && (this.modules.i18nFormat = r), r.type === "postProcessor" && Nt.addPostProcessor(r), r.type === "formatter" && (this.modules.formatter = r), r.type === "3rdParty" && this.modules.external.push(r), this;
1864
1873
  }
1865
1874
  }, {
1866
1875
  key: "setResolvedLanguage",
@@ -1983,7 +1992,7 @@ var we = function(i) {
1983
1992
  value: function(r) {
1984
1993
  if (r || (r = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !r)
1985
1994
  return "rtl";
1986
- var a = ["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"], o = this.services && this.services.languageUtils || new Ye(at());
1995
+ var a = ["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"], o = this.services && this.services.languageUtils || new Ze(ot());
1987
1996
  return a.indexOf(o.getLanguagePartFromCode(r)) > -1 || r.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1988
1997
  }
1989
1998
  }, {
@@ -1998,7 +2007,7 @@ var we = function(i) {
1998
2007
  u[c] = r[c];
1999
2008
  }), u.services = z({}, this.services), u.services.utils = {
2000
2009
  hasLoadedNamespace: u.hasLoadedNamespace.bind(u)
2001
- }, u.translator = new Qe(u.services, u.options), u.translator.on("*", function(c) {
2010
+ }, u.translator = new Ye(u.services, u.options), u.translator.on("*", function(c) {
2002
2011
  for (var f = arguments.length, p = new Array(f > 1 ? f - 1 : 0), g = 1; g < f; g++)
2003
2012
  p[g - 1] = arguments[g];
2004
2013
  u.emit.apply(u, [c].concat(p));
@@ -2033,21 +2042,21 @@ N.reloadResources;
2033
2042
  N.use;
2034
2043
  N.changeLanguage;
2035
2044
  N.getFixedT;
2036
- var Tr = N.t;
2045
+ var Ar = N.t;
2037
2046
  N.exists;
2038
2047
  N.setDefaultNamespace;
2039
2048
  N.hasLoadedNamespace;
2040
2049
  N.loadNamespaces;
2041
2050
  N.loadLanguages;
2042
- var Nt = [], Cn = Nt.forEach, _n = Nt.slice;
2051
+ var At = [], _n = At.forEach, Cn = At.slice;
2043
2052
  function Nn(i) {
2044
- return Cn.call(_n.call(arguments, 1), function(e) {
2053
+ return _n.call(Cn.call(arguments, 1), function(e) {
2045
2054
  if (e)
2046
2055
  for (var t in e)
2047
2056
  i[t] === void 0 && (i[t] = e[t]);
2048
2057
  }), i;
2049
2058
  }
2050
- var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2059
+ var ft = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2051
2060
  var r = n || {};
2052
2061
  r.path = r.path || "/";
2053
2062
  var a = encodeURIComponent(t), o = "".concat(e, "=").concat(a);
@@ -2058,12 +2067,12 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2058
2067
  o += "; Max-Age=".concat(Math.floor(s));
2059
2068
  }
2060
2069
  if (r.domain) {
2061
- if (!ut.test(r.domain))
2070
+ if (!ft.test(r.domain))
2062
2071
  throw new TypeError("option domain is invalid");
2063
2072
  o += "; Domain=".concat(r.domain);
2064
2073
  }
2065
2074
  if (r.path) {
2066
- if (!ut.test(r.path))
2075
+ if (!ft.test(r.path))
2067
2076
  throw new TypeError("option path is invalid");
2068
2077
  o += "; Path=".concat(r.path);
2069
2078
  }
@@ -2092,7 +2101,7 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2092
2101
  }
2093
2102
  }
2094
2103
  return o;
2095
- }, ft = {
2104
+ }, ct = {
2096
2105
  create: function(e, t, n, r) {
2097
2106
  var a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2098
2107
  path: "/",
@@ -2117,13 +2126,13 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2117
2126
  lookup: function(e) {
2118
2127
  var t;
2119
2128
  if (e.lookupCookie && typeof document < "u") {
2120
- var n = ft.read(e.lookupCookie);
2129
+ var n = ct.read(e.lookupCookie);
2121
2130
  n && (t = n);
2122
2131
  }
2123
2132
  return t;
2124
2133
  },
2125
2134
  cacheUserLanguage: function(e, t) {
2126
- t.lookupCookie && typeof document < "u" && ft.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2135
+ t.lookupCookie && typeof document < "u" && ct.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2127
2136
  }
2128
2137
  }, Dn = {
2129
2138
  name: "querystring",
@@ -2142,7 +2151,7 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2142
2151
  }
2143
2152
  return t;
2144
2153
  }
2145
- }, ue = null, ct = function() {
2154
+ }, ue = null, lt = function() {
2146
2155
  if (ue !== null)
2147
2156
  return ue;
2148
2157
  try {
@@ -2157,16 +2166,16 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2157
2166
  name: "localStorage",
2158
2167
  lookup: function(e) {
2159
2168
  var t;
2160
- if (e.lookupLocalStorage && ct()) {
2169
+ if (e.lookupLocalStorage && lt()) {
2161
2170
  var n = window.localStorage.getItem(e.lookupLocalStorage);
2162
2171
  n && (t = n);
2163
2172
  }
2164
2173
  return t;
2165
2174
  },
2166
2175
  cacheUserLanguage: function(e, t) {
2167
- t.lookupLocalStorage && ct() && window.localStorage.setItem(t.lookupLocalStorage, e);
2176
+ t.lookupLocalStorage && lt() && window.localStorage.setItem(t.lookupLocalStorage, e);
2168
2177
  }
2169
- }, fe = null, lt = function() {
2178
+ }, fe = null, dt = function() {
2170
2179
  if (fe !== null)
2171
2180
  return fe;
2172
2181
  try {
@@ -2181,14 +2190,14 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2181
2190
  name: "sessionStorage",
2182
2191
  lookup: function(e) {
2183
2192
  var t;
2184
- if (e.lookupSessionStorage && lt()) {
2193
+ if (e.lookupSessionStorage && dt()) {
2185
2194
  var n = window.sessionStorage.getItem(e.lookupSessionStorage);
2186
2195
  n && (t = n);
2187
2196
  }
2188
2197
  return t;
2189
2198
  },
2190
2199
  cacheUserLanguage: function(e, t) {
2191
- t.lookupSessionStorage && lt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2200
+ t.lookupSessionStorage && dt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2192
2201
  }
2193
2202
  }, Un = {
2194
2203
  name: "navigator",
@@ -2231,16 +2240,16 @@ var ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, An = function(e, t, n) {
2231
2240
  if (n)
2232
2241
  return n[t];
2233
2242
  }
2234
- }, At = !1;
2243
+ }, Tt = !1;
2235
2244
  try {
2236
- document.cookie, At = !0;
2245
+ document.cookie, Tt = !0;
2237
2246
  } catch {
2238
2247
  }
2239
- var Tt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
2240
- At || Tt.splice(1, 1);
2248
+ var Dt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
2249
+ Tt || Dt.splice(1, 1);
2241
2250
  function $n() {
2242
2251
  return {
2243
- order: Tt,
2252
+ order: Dt,
2244
2253
  lookupQuerystring: "lng",
2245
2254
  lookupCookie: "i18next",
2246
2255
  lookupLocalStorage: "i18nextLng",
@@ -2255,7 +2264,7 @@ function $n() {
2255
2264
  }
2256
2265
  };
2257
2266
  }
2258
- var Dt = /* @__PURE__ */ function() {
2267
+ var It = /* @__PURE__ */ function() {
2259
2268
  function i(e) {
2260
2269
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2261
2270
  B(this, i), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
@@ -2300,7 +2309,7 @@ var Dt = /* @__PURE__ */ function() {
2300
2309
  }
2301
2310
  }]);
2302
2311
  }();
2303
- Dt.type = "languageDetector";
2312
+ It.type = "languageDetector";
2304
2313
  function qn() {
2305
2314
  if (console && console.warn) {
2306
2315
  for (var i, e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -2308,13 +2317,13 @@ function qn() {
2308
2317
  typeof t[0] == "string" && (t[0] = "react-i18next:: ".concat(t[0])), (i = console).warn.apply(i, t);
2309
2318
  }
2310
2319
  }
2311
- var dt = {};
2312
- function Ne() {
2320
+ var pt = {};
2321
+ function Ae() {
2313
2322
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
2314
2323
  e[t] = arguments[t];
2315
- typeof e[0] == "string" && dt[e[0]] || (typeof e[0] == "string" && (dt[e[0]] = /* @__PURE__ */ new Date()), qn.apply(void 0, e));
2324
+ typeof e[0] == "string" && pt[e[0]] || (typeof e[0] == "string" && (pt[e[0]] = /* @__PURE__ */ new Date()), qn.apply(void 0, e));
2316
2325
  }
2317
- var It = function(e, t) {
2326
+ var Ft = function(e, t) {
2318
2327
  return function() {
2319
2328
  if (e.isInitialized)
2320
2329
  t();
@@ -2328,13 +2337,13 @@ var It = function(e, t) {
2328
2337
  }
2329
2338
  };
2330
2339
  };
2331
- function pt(i, e, t) {
2332
- i.loadNamespaces(e, It(i, t));
2340
+ function gt(i, e, t) {
2341
+ i.loadNamespaces(e, Ft(i, t));
2333
2342
  }
2334
- function gt(i, e, t, n) {
2343
+ function ht(i, e, t, n) {
2335
2344
  typeof t == "string" && (t = [t]), t.forEach(function(r) {
2336
2345
  i.options.ns.indexOf(r) < 0 && i.options.ns.push(r);
2337
- }), i.loadLanguages(e, It(i, n));
2346
+ }), i.loadLanguages(e, Ft(i, n));
2338
2347
  }
2339
2348
  function Kn(i, e) {
2340
2349
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = e.languages[0], r = e.options ? e.options.fallbackLng : !1, a = e.languages[e.languages.length - 1];
@@ -2349,7 +2358,7 @@ function Kn(i, e) {
2349
2358
  function Vn(i, e) {
2350
2359
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2351
2360
  if (!e.languages || !e.languages.length)
2352
- return Ne("i18n.languages were undefined or empty", e.languages), !0;
2361
+ return Ae("i18n.languages were undefined or empty", e.languages), !0;
2353
2362
  var n = e.options.ignoreJSONStructure !== void 0;
2354
2363
  return n ? e.hasLoadedNamespace(i, {
2355
2364
  lng: t.lng,
@@ -2385,7 +2394,7 @@ var zn = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
2385
2394
  }, Wn = function(e) {
2386
2395
  return e.replace(zn, Xn);
2387
2396
  };
2388
- function ht(i, e) {
2397
+ function vt(i, e) {
2389
2398
  var t = Object.keys(i);
2390
2399
  if (Object.getOwnPropertySymbols) {
2391
2400
  var n = Object.getOwnPropertySymbols(i);
@@ -2395,18 +2404,18 @@ function ht(i, e) {
2395
2404
  }
2396
2405
  return t;
2397
2406
  }
2398
- function vt(i) {
2407
+ function mt(i) {
2399
2408
  for (var e = 1; e < arguments.length; e++) {
2400
2409
  var t = arguments[e] != null ? arguments[e] : {};
2401
- e % 2 ? ht(Object(t), !0).forEach(function(n) {
2410
+ e % 2 ? vt(Object(t), !0).forEach(function(n) {
2402
2411
  W(i, n, t[n]);
2403
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : ht(Object(t)).forEach(function(n) {
2412
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : vt(Object(t)).forEach(function(n) {
2404
2413
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
2405
2414
  });
2406
2415
  }
2407
2416
  return i;
2408
2417
  }
2409
- var Ae = {
2418
+ var Te = {
2410
2419
  bindI18n: "languageChanged",
2411
2420
  bindI18nStore: "",
2412
2421
  transEmptyNodeValue: "",
@@ -2418,24 +2427,24 @@ var Ae = {
2418
2427
  };
2419
2428
  function Gn() {
2420
2429
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2421
- Ae = vt(vt({}, Ae), i);
2430
+ Te = mt(mt({}, Te), i);
2422
2431
  }
2423
2432
  function Qn() {
2424
- return Ae;
2433
+ return Te;
2425
2434
  }
2426
- var Ft;
2435
+ var Ut;
2427
2436
  function Yn(i) {
2428
- Ft = i;
2437
+ Ut = i;
2429
2438
  }
2430
2439
  function Zn() {
2431
- return Ft;
2440
+ return Ut;
2432
2441
  }
2433
2442
  var er = {
2434
2443
  type: "3rdParty",
2435
2444
  init: function(e) {
2436
2445
  Gn(e.options.react), Yn(e);
2437
2446
  }
2438
- }, Ut = $.createContext(), tr = function() {
2447
+ }, Bt = $.createContext(), tr = function() {
2439
2448
  function i() {
2440
2449
  B(this, i), this.usedNamespaces = {};
2441
2450
  }
@@ -2477,9 +2486,9 @@ function nr(i, e) {
2477
2486
  }
2478
2487
  }
2479
2488
  function rr(i, e) {
2480
- return Lt(i) || nr(i, e) || Rt(i, e) || Et();
2489
+ return Rt(i) || nr(i, e) || Et(i, e) || _t();
2481
2490
  }
2482
- function mt(i, e) {
2491
+ function yt(i, e) {
2483
2492
  var t = Object.keys(i);
2484
2493
  if (Object.getOwnPropertySymbols) {
2485
2494
  var n = Object.getOwnPropertySymbols(i);
@@ -2489,12 +2498,12 @@ function mt(i, e) {
2489
2498
  }
2490
2499
  return t;
2491
2500
  }
2492
- function Ce(i) {
2501
+ function _e(i) {
2493
2502
  for (var e = 1; e < arguments.length; e++) {
2494
2503
  var t = arguments[e] != null ? arguments[e] : {};
2495
- e % 2 ? mt(Object(t), !0).forEach(function(n) {
2504
+ e % 2 ? yt(Object(t), !0).forEach(function(n) {
2496
2505
  W(i, n, t[n]);
2497
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : mt(Object(t)).forEach(function(n) {
2506
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : yt(Object(t)).forEach(function(n) {
2498
2507
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
2499
2508
  });
2500
2509
  }
@@ -2507,19 +2516,19 @@ var ir = function(e, t) {
2507
2516
  }, [e, t]), n.current;
2508
2517
  };
2509
2518
  function ar(i) {
2510
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = e.i18n, n = $.useContext(Ut) || {}, r = n.i18n, a = n.defaultNS, o = t || r || Zn();
2519
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = e.i18n, n = $.useContext(Bt) || {}, r = n.i18n, a = n.defaultNS, o = t || r || Zn();
2511
2520
  if (o && !o.reportNamespaces && (o.reportNamespaces = new tr()), !o) {
2512
- Ne("You will need to pass in an i18next instance by using initReactI18next");
2513
- var s = function(R, C) {
2514
- return typeof C == "string" ? C : C && U(C) === "object" && typeof C.defaultValue == "string" ? C.defaultValue : Array.isArray(R) ? R[R.length - 1] : R;
2521
+ Ae("You will need to pass in an i18next instance by using initReactI18next");
2522
+ var s = function(R, _) {
2523
+ return typeof _ == "string" ? _ : _ && U(_) === "object" && typeof _.defaultValue == "string" ? _.defaultValue : Array.isArray(R) ? R[R.length - 1] : R;
2515
2524
  }, u = [s, {}, !1];
2516
2525
  return u.t = s, u.i18n = {}, u.ready = !1, u;
2517
2526
  }
2518
- o.options.react && o.options.react.wait !== void 0 && Ne("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
2519
- var d = Ce(Ce(Ce({}, Qn()), o.options.react), e), c = d.useSuspense, f = d.keyPrefix, p = a || o.options && o.options.defaultNS;
2527
+ o.options.react && o.options.react.wait !== void 0 && Ae("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
2528
+ var d = _e(_e(_e({}, Qn()), o.options.react), e), c = d.useSuspense, f = d.keyPrefix, p = a || o.options && o.options.defaultNS;
2520
2529
  p = typeof p == "string" ? [p] : p || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(p);
2521
- var g = (o.isInitialized || o.initializedStoreOnce) && p.every(function(_) {
2522
- return Vn(_, o, d);
2530
+ var g = (o.isInitialized || o.initializedStoreOnce) && p.every(function(C) {
2531
+ return Vn(C, o, d);
2523
2532
  });
2524
2533
  function b() {
2525
2534
  return o.getFixedT(e.lng || null, d.nsMode === "fallback" ? p : p[0], f);
@@ -2528,20 +2537,20 @@ function ar(i) {
2528
2537
  e.lng && (S = "".concat(e.lng).concat(S));
2529
2538
  var x = ir(S), k = $.useRef(!0);
2530
2539
  $.useEffect(function() {
2531
- var _ = d.bindI18n, R = d.bindI18nStore;
2532
- k.current = !0, !g && !c && (e.lng ? gt(o, e.lng, p, function() {
2540
+ var C = d.bindI18n, R = d.bindI18nStore;
2541
+ k.current = !0, !g && !c && (e.lng ? ht(o, e.lng, p, function() {
2533
2542
  k.current && m(b);
2534
- }) : pt(o, p, function() {
2543
+ }) : gt(o, p, function() {
2535
2544
  k.current && m(b);
2536
2545
  })), g && x && x !== S && k.current && m(b);
2537
- function C() {
2546
+ function _() {
2538
2547
  k.current && m(b);
2539
2548
  }
2540
- return _ && o && o.on(_, C), R && o && o.store.on(R, C), function() {
2541
- k.current = !1, _ && o && _.split(" ").forEach(function(Q) {
2542
- return o.off(Q, C);
2549
+ return C && o && o.on(C, _), R && o && o.store.on(R, _), function() {
2550
+ k.current = !1, C && o && C.split(" ").forEach(function(Q) {
2551
+ return o.off(Q, _);
2543
2552
  }), R && o && R.split(" ").forEach(function(Q) {
2544
- return o.store.off(Q, C);
2553
+ return o.store.off(Q, _);
2545
2554
  });
2546
2555
  };
2547
2556
  }, [o, S]);
@@ -2552,11 +2561,11 @@ function ar(i) {
2552
2561
  var I = [v, o, g];
2553
2562
  if (I.t = v, I.i18n = o, I.ready = g, g || !g && !c)
2554
2563
  return I;
2555
- throw new Promise(function(_) {
2556
- e.lng ? gt(o, e.lng, p, function() {
2557
- return _();
2558
- }) : pt(o, p, function() {
2559
- return _();
2564
+ throw new Promise(function(C) {
2565
+ e.lng ? ht(o, e.lng, p, function() {
2566
+ return C();
2567
+ }) : gt(o, p, function() {
2568
+ return C();
2560
2569
  });
2561
2570
  });
2562
2571
  }
@@ -2567,11 +2576,11 @@ function or(i) {
2567
2576
  defaultNS: t
2568
2577
  };
2569
2578
  }, [e, t]);
2570
- return $.createElement(Ut.Provider, {
2579
+ return $.createElement(Bt.Provider, {
2571
2580
  value: r
2572
2581
  }, n);
2573
2582
  }
2574
- var Bt = [], sr = Bt.forEach, ur = Bt.slice;
2583
+ var Ht = [], sr = Ht.forEach, ur = Ht.slice;
2575
2584
  function fr(i) {
2576
2585
  return sr.call(ur.call(arguments, 1), function(e) {
2577
2586
  if (e)
@@ -2590,7 +2599,7 @@ function lr() {
2590
2599
  // refreshExpirationTime: 60 * 60 * 1000
2591
2600
  };
2592
2601
  }
2593
- function yt(i, e, t, n) {
2602
+ function bt(i, e, t, n) {
2594
2603
  var r = i.read.bind(i);
2595
2604
  if (r.length === 2) {
2596
2605
  try {
@@ -2605,7 +2614,7 @@ function yt(i, e, t, n) {
2605
2614
  }
2606
2615
  r(e, t, n);
2607
2616
  }
2608
- var Ht = /* @__PURE__ */ function() {
2617
+ var Mt = /* @__PURE__ */ function() {
2609
2618
  function i(e) {
2610
2619
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2611
2620
  B(this, i), this.backends = [], this.type = "backend", this.allOptions = n, this.init(e, t);
@@ -2627,13 +2636,13 @@ var Ht = /* @__PURE__ */ function() {
2627
2636
  if (c >= o)
2628
2637
  return r(new Error("non of the backend loaded data", !0));
2629
2638
  var f = c === o - 1, p = a.options.handleEmptyResourcesAsFailed && !f ? 0 : -1, g = a.backends[c];
2630
- g.read ? yt(g, t, n, function(b, y, w) {
2639
+ g.read ? bt(g, t, n, function(b, y, w) {
2631
2640
  if (!b && y && Object.keys(y).length > p) {
2632
2641
  if (r(null, y, c), u(c - 1, y), g.save && a.options.cacheHitMode && ["refresh", "refreshAndUpdateStore"].indexOf(a.options.cacheHitMode) > -1) {
2633
2642
  if (w && a.options.refreshExpirationTime && w + a.options.refreshExpirationTime > Date.now())
2634
2643
  return;
2635
2644
  var v = a.backends[c + 1];
2636
- v && v.read && yt(v, t, n, function(m, S) {
2645
+ v && v.read && bt(v, t, n, function(m, S) {
2637
2646
  m || S && (Object.keys(S).length <= p || (u(c, S), a.options.cacheHitMode === "refreshAndUpdateStore" && a.services && a.services.resourceStore && a.services.resourceStore.addResourceBundle(t, n, S)));
2638
2647
  });
2639
2648
  }
@@ -2695,17 +2704,17 @@ var Ht = /* @__PURE__ */ function() {
2695
2704
  }
2696
2705
  }]), i;
2697
2706
  }();
2698
- Ht.type = "backend";
2699
- function Te(i) {
2707
+ Mt.type = "backend";
2708
+ function De(i) {
2700
2709
  "@babel/helpers - typeof";
2701
- return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2710
+ return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2702
2711
  return typeof e;
2703
2712
  } : function(e) {
2704
2713
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2705
- }, Te(i);
2714
+ }, De(i);
2706
2715
  }
2707
- function Mt() {
2708
- return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Te(XMLHttpRequest)) === "object";
2716
+ function $t() {
2717
+ return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : De(XMLHttpRequest)) === "object";
2709
2718
  }
2710
2719
  function dr(i) {
2711
2720
  return !!i && typeof i.then == "function";
@@ -2716,9 +2725,9 @@ function pr(i) {
2716
2725
  function gr(i) {
2717
2726
  throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2718
2727
  }
2719
- var De = { exports: {} }, ve = { exports: {} }, bt;
2728
+ var Ie = { exports: {} }, ve = { exports: {} }, wt;
2720
2729
  function hr() {
2721
- return bt || (bt = 1, function(i, e) {
2730
+ return wt || (wt = 1, function(i, e) {
2722
2731
  var t = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof ce < "u" && ce, n = function() {
2723
2732
  function a() {
2724
2733
  this.fetch = !1, this.DOMException = t.DOMException;
@@ -2886,13 +2895,13 @@ function hr() {
2886
2895
  throw new Error("could not read FormData body as text");
2887
2896
  return Promise.resolve(this._bodyText);
2888
2897
  }, u.formData && (this.formData = function() {
2889
- return this.text().then(C);
2898
+ return this.text().then(_);
2890
2899
  }), this.json = function() {
2891
2900
  return this.text().then(JSON.parse);
2892
2901
  }, this;
2893
2902
  }
2894
2903
  var I = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
2895
- function _(l) {
2904
+ function C(l) {
2896
2905
  var h = l.toUpperCase();
2897
2906
  return I.indexOf(h) > -1 ? h : l;
2898
2907
  }
@@ -2907,7 +2916,7 @@ function hr() {
2907
2916
  this.url = l.url, this.credentials = l.credentials, h.headers || (this.headers = new y(l.headers)), this.method = l.method, this.mode = l.mode, this.signal = l.signal, !O && l._bodyInit != null && (O = l._bodyInit, l.bodyUsed = !0);
2908
2917
  } else
2909
2918
  this.url = String(l);
2910
- if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new y(h.headers)), this.method = _(h.method || this.method || "GET"), this.mode = h.mode || this.mode || null, this.signal = h.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && O)
2919
+ if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new y(h.headers)), this.method = C(h.method || this.method || "GET"), this.mode = h.mode || this.mode || null, this.signal = h.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && O)
2911
2920
  throw new TypeError("Body not allowed for GET or HEAD requests");
2912
2921
  if (this._initBody(O), (this.method === "GET" || this.method === "HEAD") && (h.cache === "no-store" || h.cache === "no-cache")) {
2913
2922
  var j = /([?&])_=[^&]*/;
@@ -2922,7 +2931,7 @@ function hr() {
2922
2931
  R.prototype.clone = function() {
2923
2932
  return new R(this, { body: this._bodyInit });
2924
2933
  };
2925
- function C(l) {
2934
+ function _(l) {
2926
2935
  var h = new FormData();
2927
2936
  return l.trim().split("&").forEach(function(O) {
2928
2937
  if (O) {
@@ -3038,13 +3047,13 @@ function hr() {
3038
3047
  var n = t || hr();
3039
3048
  n.default && (n = n.default), e.default = n, i.exports = e.default;
3040
3049
  }
3041
- })(De, De.exports);
3042
- var $t = De.exports;
3043
- const qt = /* @__PURE__ */ Jt($t), wt = /* @__PURE__ */ Gt({
3050
+ })(Ie, Ie.exports);
3051
+ var qt = Ie.exports;
3052
+ const Kt = /* @__PURE__ */ Xt(qt), Ot = /* @__PURE__ */ Gt({
3044
3053
  __proto__: null,
3045
- default: qt
3046
- }, [$t]);
3047
- function Ot(i, e) {
3054
+ default: Kt
3055
+ }, [qt]);
3056
+ function St(i, e) {
3048
3057
  var t = Object.keys(i);
3049
3058
  if (Object.getOwnPropertySymbols) {
3050
3059
  var n = Object.getOwnPropertySymbols(i);
@@ -3054,12 +3063,12 @@ function Ot(i, e) {
3054
3063
  }
3055
3064
  return t;
3056
3065
  }
3057
- function St(i) {
3066
+ function xt(i) {
3058
3067
  for (var e = 1; e < arguments.length; e++) {
3059
3068
  var t = arguments[e] != null ? arguments[e] : {};
3060
- e % 2 ? Ot(Object(t), !0).forEach(function(n) {
3069
+ e % 2 ? St(Object(t), !0).forEach(function(n) {
3061
3070
  vr(i, n, t[n]);
3062
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : Ot(Object(t)).forEach(function(n) {
3071
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : St(Object(t)).forEach(function(n) {
3063
3072
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
3064
3073
  });
3065
3074
  }
@@ -3095,12 +3104,12 @@ function te(i) {
3095
3104
  var ee = typeof fetch == "function" ? fetch : void 0;
3096
3105
  typeof global < "u" && global.fetch ? ee = global.fetch : typeof window < "u" && window.fetch && (ee = window.fetch);
3097
3106
  var le;
3098
- Mt() && (typeof global < "u" && global.XMLHttpRequest ? le = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (le = window.XMLHttpRequest));
3107
+ $t() && (typeof global < "u" && global.XMLHttpRequest ? le = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (le = window.XMLHttpRequest));
3099
3108
  var Oe;
3100
3109
  typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Oe = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Oe = window.ActiveXObject));
3101
- !ee && wt && !le && !Oe && (ee = qt || wt);
3110
+ !ee && Ot && !le && !Oe && (ee = Kt || Ot);
3102
3111
  typeof ee != "function" && (ee = void 0);
3103
- var Ie = function(e, t) {
3112
+ var Fe = function(e, t) {
3104
3113
  if (t && te(t) === "object") {
3105
3114
  var n = "";
3106
3115
  for (var r in t)
@@ -3110,7 +3119,7 @@ var Ie = function(e, t) {
3110
3119
  e = e + (e.indexOf("?") !== -1 ? "&" : "?") + n.slice(1);
3111
3120
  }
3112
3121
  return e;
3113
- }, xt = function(e, t, n, r) {
3122
+ }, Pt = function(e, t, n, r) {
3114
3123
  var a = function(u) {
3115
3124
  if (!u.ok)
3116
3125
  return n(u.statusText || "Error", {
@@ -3131,30 +3140,30 @@ var Ie = function(e, t) {
3131
3140
  }
3132
3141
  }
3133
3142
  typeof fetch == "function" ? fetch(e, t).then(a).catch(n) : ee(e, t).then(a).catch(n);
3134
- }, Pt = !1, br = function(e, t, n, r) {
3135
- e.queryStringParams && (t = Ie(t, e.queryStringParams));
3136
- var a = St({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
3143
+ }, jt = !1, br = function(e, t, n, r) {
3144
+ e.queryStringParams && (t = Fe(t, e.queryStringParams));
3145
+ var a = xt({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
3137
3146
  typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (a["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), n && (a["Content-Type"] = "application/json");
3138
- var o = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, s = St({
3147
+ var o = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, s = xt({
3139
3148
  method: n ? "POST" : "GET",
3140
3149
  body: n ? e.stringify(n) : void 0,
3141
3150
  headers: a
3142
- }, Pt ? {} : o), u = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
3151
+ }, jt ? {} : o), u = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
3143
3152
  try {
3144
- xt(t, s, r, u);
3153
+ Pt(t, s, r, u);
3145
3154
  } catch (d) {
3146
3155
  if (!o || Object.keys(o).length === 0 || !d.message || d.message.indexOf("not implemented") < 0)
3147
3156
  return r(d);
3148
3157
  try {
3149
3158
  Object.keys(o).forEach(function(c) {
3150
3159
  delete s[c];
3151
- }), xt(t, s, r, u), Pt = !0;
3160
+ }), Pt(t, s, r, u), jt = !0;
3152
3161
  } catch (c) {
3153
3162
  r(c);
3154
3163
  }
3155
3164
  }
3156
3165
  }, wr = function(e, t, n, r) {
3157
- n && te(n) === "object" && (n = Ie("", n).slice(1)), e.queryStringParams && (t = Ie(t, e.queryStringParams));
3166
+ n && te(n) === "object" && (n = Fe("", n).slice(1)), e.queryStringParams && (t = Fe(t, e.queryStringParams));
3158
3167
  try {
3159
3168
  var a;
3160
3169
  le ? a = new le() : a = new Oe("MSXML2.XMLHTTP.3.0"), 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");
@@ -3175,7 +3184,7 @@ var Ie = function(e, t) {
3175
3184
  if (typeof n == "function" && (r = n, n = void 0), r = r || function() {
3176
3185
  }, ee && t.indexOf("file:") !== 0)
3177
3186
  return br(e, t, n, r);
3178
- if (Mt() || typeof ActiveXObject == "function")
3187
+ if ($t() || typeof ActiveXObject == "function")
3179
3188
  return wr(e, t, n, r);
3180
3189
  r(new Error("No fetch and no xhr implementation found!"));
3181
3190
  };
@@ -3187,7 +3196,7 @@ function ae(i) {
3187
3196
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3188
3197
  }, ae(i);
3189
3198
  }
3190
- function jt(i, e) {
3199
+ function kt(i, e) {
3191
3200
  var t = Object.keys(i);
3192
3201
  if (Object.getOwnPropertySymbols) {
3193
3202
  var n = Object.getOwnPropertySymbols(i);
@@ -3197,12 +3206,12 @@ function jt(i, e) {
3197
3206
  }
3198
3207
  return t;
3199
3208
  }
3200
- function _e(i) {
3209
+ function Ce(i) {
3201
3210
  for (var e = 1; e < arguments.length; e++) {
3202
3211
  var t = arguments[e] != null ? arguments[e] : {};
3203
- e % 2 ? jt(Object(t), !0).forEach(function(n) {
3204
- Kt(i, n, t[n]);
3205
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : jt(Object(t)).forEach(function(n) {
3212
+ e % 2 ? kt(Object(t), !0).forEach(function(n) {
3213
+ Vt(i, n, t[n]);
3214
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(t)) : kt(Object(t)).forEach(function(n) {
3206
3215
  Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(t, n));
3207
3216
  });
3208
3217
  }
@@ -3215,16 +3224,16 @@ function Sr(i, e) {
3215
3224
  function xr(i, e) {
3216
3225
  for (var t = 0; t < e.length; t++) {
3217
3226
  var n = e[t];
3218
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, Vt(n.key), n);
3227
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, zt(n.key), n);
3219
3228
  }
3220
3229
  }
3221
3230
  function Pr(i, e, t) {
3222
3231
  return e && xr(i.prototype, e), Object.defineProperty(i, "prototype", { writable: !1 }), i;
3223
3232
  }
3224
- function Kt(i, e, t) {
3225
- return (e = Vt(e)) in i ? Object.defineProperty(i, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = t, i;
3233
+ function Vt(i, e, t) {
3234
+ return (e = zt(e)) in i ? Object.defineProperty(i, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = t, i;
3226
3235
  }
3227
- function Vt(i) {
3236
+ function zt(i) {
3228
3237
  var e = jr(i, "string");
3229
3238
  return ae(e) == "symbol" ? e : e + "";
3230
3239
  }
@@ -3249,7 +3258,7 @@ var kr = function() {
3249
3258
  },
3250
3259
  stringify: JSON.stringify,
3251
3260
  parsePayload: function(t, n, r) {
3252
- return Kt({}, n, r || "");
3261
+ return Vt({}, n, r || "");
3253
3262
  },
3254
3263
  parseLoadPayload: function(t, n) {
3255
3264
  },
@@ -3266,7 +3275,7 @@ var kr = function() {
3266
3275
  cache: "default"
3267
3276
  }
3268
3277
  };
3269
- }, zt = function() {
3278
+ }, Jt = function() {
3270
3279
  function i(e) {
3271
3280
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3272
3281
  Sr(this, i), this.services = e, this.options = t, this.allOptions = n, this.type = "backend", this.init(e, t, n);
@@ -3275,7 +3284,7 @@ var kr = function() {
3275
3284
  key: "init",
3276
3285
  value: function(t) {
3277
3286
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3278
- if (this.services = t, this.options = _e(_e(_e({}, kr()), this.options || {}), r), this.allOptions = a, this.services && this.options.reloadInterval) {
3287
+ if (this.services = t, this.options = Ce(Ce(Ce({}, kr()), this.options || {}), r), this.allOptions = a, this.services && this.options.reloadInterval) {
3279
3288
  var o = setInterval(function() {
3280
3289
  return n.reload();
3281
3290
  }, this.options.reloadInterval);
@@ -3379,13 +3388,13 @@ var kr = function() {
3379
3388
  }
3380
3389
  }]);
3381
3390
  }();
3382
- zt.type = "backend";
3391
+ Jt.type = "backend";
3383
3392
  var Lr = /* @__PURE__ */ ((i) => (i.en = "en", i.de = "de", i))(Lr || {});
3384
3393
  const Rr = {
3385
3394
  en: "English",
3386
3395
  de: "German"
3387
3396
  };
3388
- N.use(Ht).use(er).use(Dt).init({
3397
+ N.use(Mt).use(er).use(It).init({
3389
3398
  // defaultNS: "translation",
3390
3399
  // resources,
3391
3400
  initImmediate: !0,
@@ -3398,7 +3407,7 @@ N.use(Ht).use(er).use(Dt).init({
3398
3407
  escapeValue: !1
3399
3408
  },
3400
3409
  backend: {
3401
- backends: [zt],
3410
+ backends: [Jt],
3402
3411
  backendOptions: [
3403
3412
  {
3404
3413
  // loadPath: 'https://ukpcsaprod.blob.core.windows.net/lib/translations/{{lng}}/{{ns}}.json',
@@ -3424,7 +3433,7 @@ const me = {
3424
3433
  }, Er = () => {
3425
3434
  const { t: i } = ar();
3426
3435
  return /* @__PURE__ */ E.jsx("div", { className: "unauth__container " + me["page-container"], children: /* @__PURE__ */ E.jsxs("div", { className: "unauth__main-content " + me["page-main-content"], children: [
3427
- /* @__PURE__ */ E.jsx(Cr, {}),
3436
+ /* @__PURE__ */ E.jsx(_r, {}),
3428
3437
  /* @__PURE__ */ E.jsxs("div", { className: "unauth__main-text", children: [
3429
3438
  /* @__PURE__ */ E.jsx("h2", { className: "unauth__main-text__title " + me["page-title"], children: i("components.unauthorizedPage.title") }),
3430
3439
  /* @__PURE__ */ E.jsxs("p", { className: "unauth__main-text__desc " + me["text-base"], children: [
@@ -3436,7 +3445,7 @@ const me = {
3436
3445
  ] })
3437
3446
  ] })
3438
3447
  ] }) });
3439
- }, Cr = () => /* @__PURE__ */ E.jsxs(
3448
+ }, _r = () => /* @__PURE__ */ E.jsxs(
3440
3449
  "svg",
3441
3450
  {
3442
3451
  width: "61",
@@ -3511,17 +3520,19 @@ const me = {
3511
3520
  ]
3512
3521
  }
3513
3522
  );
3514
- function _r() {
3523
+ function Cr() {
3515
3524
  return /* @__PURE__ */ E.jsx(or, { i18n: N, children: /* @__PURE__ */ E.jsx(Er, {}) });
3516
3525
  }
3517
3526
  {
3518
- const i = Xt(_r);
3527
+ const i = Wt(Cr);
3519
3528
  customElements.define("access-denied", i);
3520
3529
  }
3521
3530
  export {
3522
3531
  or as I,
3523
3532
  Lr as L,
3524
3533
  Er as U,
3534
+ Ne as _,
3535
+ Y as a,
3525
3536
  N as i,
3526
- Tr as t
3537
+ Ar as t
3527
3538
  };