@spscommerce/i18n 8.34.9 → 8.34.11

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
@@ -45,7 +45,7 @@ function ve(n, t, a) {
45
45
  writable: !0
46
46
  }) : n[t] = a, n;
47
47
  }
48
- function N(n) {
48
+ function U(n) {
49
49
  for (var t = 1; t < arguments.length; t++) {
50
50
  var a = arguments[t] != null ? Object(arguments[t]) : {}, e = Object.keys(a);
51
51
  typeof Object.getOwnPropertySymbols == "function" && e.push.apply(e, Object.getOwnPropertySymbols(a).filter(function(r) {
@@ -115,7 +115,7 @@ var Bt = {
115
115
  output: function(t, a) {
116
116
  console && console[t] && console[t].apply(console, a);
117
117
  }
118
- }, Ut = function() {
118
+ }, Nt = function() {
119
119
  function n(t) {
120
120
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
121
121
  z(this, n), this.init(t, a);
@@ -167,12 +167,12 @@ var Bt = {
167
167
  }, {
168
168
  key: "create",
169
169
  value: function(a) {
170
- return new n(this.logger, N({}, {
170
+ return new n(this.logger, U({}, {
171
171
  prefix: "".concat(this.prefix, ":").concat(a, ":")
172
172
  }, this.options));
173
173
  }
174
174
  }]), n;
175
- }(), q = new Ut(), Q = function() {
175
+ }(), q = new Nt(), Q = function() {
176
176
  function n() {
177
177
  z(this, n), this.observers = {};
178
178
  }
@@ -226,12 +226,12 @@ function J() {
226
226
  function Me(n) {
227
227
  return n == null ? "" : "" + n;
228
228
  }
229
- function Nt(n, t, a) {
229
+ function Ut(n, t, a) {
230
230
  n.forEach(function(e) {
231
231
  t[e] && (a[e] = t[e]);
232
232
  });
233
233
  }
234
- function Ne(n, t, a) {
234
+ function Ue(n, t, a) {
235
235
  function e(s) {
236
236
  return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
237
237
  }
@@ -249,15 +249,15 @@ function Ne(n, t, a) {
249
249
  };
250
250
  }
251
251
  function ze(n, t, a) {
252
- var e = Ne(n, t, Object), r = e.obj, i = e.k;
252
+ var e = Ue(n, t, Object), r = e.obj, i = e.k;
253
253
  r[i] = a;
254
254
  }
255
255
  function jt(n, t, a, e) {
256
- var r = Ne(n, t, Object), i = r.obj, o = r.k;
256
+ var r = Ue(n, t, Object), i = r.obj, o = r.k;
257
257
  i[o] = i[o] || [], i[o].push(a);
258
258
  }
259
259
  function de(n, t) {
260
- var a = Ne(n, t), e = a.obj, r = a.k;
260
+ var a = Ue(n, t), e = a.obj, r = a.k;
261
261
  if (e)
262
262
  return e[r];
263
263
  }
@@ -342,7 +342,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
342
342
  }, u = [e, r];
343
343
  e.indexOf(".") > -1 && (u = e.split("."), o = i, i = r, r = u[1]), this.addNamespaces(r);
344
344
  var d = de(this.data, u) || {};
345
- o ? dt(d, i, s) : d = N({}, d, i), ze(this.data, u, d), l.silent || this.emit("added", e, r, i);
345
+ o ? dt(d, i, s) : d = U({}, d, i), ze(this.data, u, d), l.silent || this.emit("added", e, r, i);
346
346
  }
347
347
  }, {
348
348
  key: "removeResourceBundle",
@@ -357,7 +357,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
357
357
  }, {
358
358
  key: "getResourceBundle",
359
359
  value: function(e, r) {
360
- return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? N({}, {}, this.getResource(e, r)) : this.getResource(e, r);
360
+ return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? U({}, {}, this.getResource(e, r)) : this.getResource(e, r);
361
361
  }
362
362
  }, {
363
363
  key: "getDataByLanguage",
@@ -385,7 +385,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
385
385
  ye(t, n);
386
386
  function t(a) {
387
387
  var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
388
- return z(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), Nt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, K(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = q.create("translator"), e;
388
+ return z(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), Ut(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, K(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = q.create("translator"), e;
389
389
  }
390
390
  return _(t, [{
391
391
  key: "changeLanguage",
@@ -435,31 +435,31 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
435
435
  }
436
436
  return u;
437
437
  }
438
- var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey || u, w = y && y.exactUsedKey || u, S = Object.prototype.toString.apply(g), D = ["[object Number]", "[object Function]", "[object RegExp]"], k = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject, O = typeof g != "string" && typeof g != "boolean" && typeof g != "number";
439
- if (x && g && O && D.indexOf(S) < 0 && !(typeof k == "string" && S === "[object Array]")) {
438
+ var y = this.resolve(e, r), h = y && y.res, b = y && y.usedKey || u, S = y && y.exactUsedKey || u, w = Object.prototype.toString.apply(h), D = ["[object Number]", "[object Function]", "[object RegExp]"], T = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject, O = typeof h != "string" && typeof h != "boolean" && typeof h != "number";
439
+ if (x && h && O && D.indexOf(w) < 0 && !(typeof T == "string" && w === "[object Array]")) {
440
440
  if (!r.returnObjects && !this.options.returnObjects)
441
- return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, g, r) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
441
+ return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, h, r) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
442
442
  if (s) {
443
- var E = S === "[object Array]", R = E ? [] : {}, L = E ? w : b;
444
- for (var P in g)
445
- if (Object.prototype.hasOwnProperty.call(g, P)) {
443
+ var E = w === "[object Array]", R = E ? [] : {}, L = E ? S : b;
444
+ for (var P in h)
445
+ if (Object.prototype.hasOwnProperty.call(h, P)) {
446
446
  var W = "".concat(L).concat(s).concat(P);
447
- R[P] = this.translate(W, N({}, r, {
447
+ R[P] = this.translate(W, U({}, r, {
448
448
  joinArrays: !1,
449
449
  ns: d
450
- })), R[P] === W && (R[P] = g[P]);
450
+ })), R[P] === W && (R[P] = h[P]);
451
451
  }
452
- g = R;
452
+ h = R;
453
453
  }
454
- } else if (x && typeof k == "string" && S === "[object Array]")
455
- g = g.join(k), g && (g = this.extendTranslation(g, e, r, i));
454
+ } else if (x && typeof T == "string" && w === "[object Array]")
455
+ h = h.join(T), h && (h = this.extendTranslation(h, e, r, i));
456
456
  else {
457
- var I = !1, c = !1, h = r.count !== void 0 && typeof r.count != "string", T = t.hasDefaultValue(r), B = h ? this.pluralResolver.getSuffix(v, r.count) : "", A = r["defaultValue".concat(B)] || r.defaultValue;
458
- !this.isValidLookup(g) && T && (I = !0, g = A), this.isValidLookup(g) || (c = !0, g = u);
459
- var C = T && A !== g && this.options.updateMissing;
457
+ var I = !1, c = !1, g = r.count !== void 0 && typeof r.count != "string", k = t.hasDefaultValue(r), B = g ? this.pluralResolver.getSuffix(v, r.count) : "", A = r["defaultValue".concat(B)] || r.defaultValue;
458
+ !this.isValidLookup(h) && k && (I = !0, h = A), this.isValidLookup(h) || (c = !0, h = u);
459
+ var C = k && A !== h && this.options.updateMissing;
460
460
  if (c || I || C) {
461
- if (this.logger.log(C ? "updateKey" : "missingKey", v, f, u, C ? A : g), s) {
462
- var H = this.resolve(u, N({}, r, {
461
+ if (this.logger.log(C ? "updateKey" : "missingKey", v, f, u, C ? A : h), s) {
462
+ var H = this.resolve(u, U({}, r, {
463
463
  keySeparator: !1
464
464
  }));
465
465
  H && H.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.");
@@ -469,18 +469,18 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
469
469
  for (var Z = 0; Z < M.length; Z++)
470
470
  F.push(M[Z]);
471
471
  else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(r.lng || this.language) : F.push(r.lng || this.language);
472
- var je = function(X, we, Fe) {
473
- o.options.missingKeyHandler ? o.options.missingKeyHandler(X, f, we, C ? Fe : g, C, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(X, f, we, C ? Fe : g, C, r), o.emit("missingKey", X, f, we, g);
472
+ var je = function(X, Se, Fe) {
473
+ o.options.missingKeyHandler ? o.options.missingKeyHandler(X, f, Se, C ? Fe : h, C, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(X, f, Se, C ? Fe : h, C, r), o.emit("missingKey", X, f, Se, h);
474
474
  };
475
- this.options.saveMissing && (this.options.saveMissingPlurals && h ? F.forEach(function(xe) {
475
+ this.options.saveMissing && (this.options.saveMissingPlurals && g ? F.forEach(function(xe) {
476
476
  o.pluralResolver.getSuffixes(xe).forEach(function(X) {
477
477
  je([xe], u + X, r["defaultValue".concat(X)] || A);
478
478
  });
479
479
  }) : je(F, u, A));
480
480
  }
481
- g = this.extendTranslation(g, e, r, y, i), c && g === u && this.options.appendNamespaceToMissingKey && (g = "".concat(f, ":").concat(u)), c && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(g));
481
+ h = this.extendTranslation(h, e, r, y, i), c && h === u && this.options.appendNamespaceToMissingKey && (h = "".concat(f, ":").concat(u)), c && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(h));
482
482
  }
483
- return g;
483
+ return h;
484
484
  }
485
485
  }, {
486
486
  key: "extendTranslation",
@@ -491,8 +491,8 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
491
491
  resolved: o
492
492
  });
493
493
  else if (!i.skipInterpolation) {
494
- i.interpolation && this.interpolator.init(N({}, i, {
495
- interpolation: N({}, this.options.interpolation, i.interpolation)
494
+ i.interpolation && this.interpolator.init(U({}, i, {
495
+ interpolation: U({}, this.options.interpolation, i.interpolation)
496
496
  }));
497
497
  var u = i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, d;
498
498
  if (u) {
@@ -500,18 +500,18 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
500
500
  d = f && f.length;
501
501
  }
502
502
  var v = i.replace && typeof i.replace != "string" ? i.replace : i;
503
- if (this.options.interpolation.defaultVariables && (v = N({}, this.options.interpolation.defaultVariables, v)), e = this.interpolator.interpolate(e, v, i.lng || this.language, i), u) {
503
+ if (this.options.interpolation.defaultVariables && (v = U({}, this.options.interpolation.defaultVariables, v)), e = this.interpolator.interpolate(e, v, i.lng || this.language, i), u) {
504
504
  var m = e.match(this.interpolator.nestingRegexp), p = m && m.length;
505
505
  d < p && (i.nest = !1);
506
506
  }
507
507
  i.nest !== !1 && (e = this.interpolator.nest(e, function() {
508
- for (var b = arguments.length, w = new Array(b), S = 0; S < b; S++)
509
- w[S] = arguments[S];
510
- return s && s[0] === w[0] && !i.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(w[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, w.concat([r]));
508
+ for (var b = arguments.length, S = new Array(b), w = 0; w < b; w++)
509
+ S[w] = arguments[w];
510
+ return s && s[0] === S[0] && !i.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(S[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, S.concat([r]));
511
511
  }, i)), i.interpolation && this.interpolator.reset();
512
512
  }
513
- var y = i.postProcess || this.options.postProcess, g = typeof y == "string" ? [y] : y;
514
- return e != null && g && g.length && i.applyPostProcessor !== !1 && (e = ft.handle(g, e, r, this.options && this.options.postProcessPassResolved ? N({
513
+ var y = i.postProcess || this.options.postProcess, h = typeof y == "string" ? [y] : y;
514
+ return e != null && h && h.length && i.applyPostProcessor !== !1 && (e = ft.handle(h, e, r, this.options && this.options.postProcessPassResolved ? U({
515
515
  i18nResolved: o
516
516
  }, i) : i, this)), e;
517
517
  }
@@ -525,20 +525,20 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
525
525
  s = m;
526
526
  var p = v.namespaces;
527
527
  r.options.fallbackNS && (p = p.concat(r.options.fallbackNS));
528
- var y = i.count !== void 0 && typeof i.count != "string", g = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
529
- p.forEach(function(w) {
530
- r.isValidLookup(o) || (d = w, !He["".concat(b[0], "-").concat(w)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(d) && (He["".concat(b[0], "-").concat(w)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.join(", "), `" won't get resolved as namespace "`).concat(d, '" 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!!!")), b.forEach(function(S) {
528
+ var y = i.count !== void 0 && typeof i.count != "string", h = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
529
+ p.forEach(function(S) {
530
+ r.isValidLookup(o) || (d = S, !He["".concat(b[0], "-").concat(S)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(d) && (He["".concat(b[0], "-").concat(S)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.join(", "), `" won't get resolved as namespace "`).concat(d, '" 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!!!")), b.forEach(function(w) {
531
531
  if (!r.isValidLookup(o)) {
532
- u = S;
533
- var D = m, k = [D];
532
+ u = w;
533
+ var D = m, T = [D];
534
534
  if (r.i18nFormat && r.i18nFormat.addLookupKeys)
535
- r.i18nFormat.addLookupKeys(k, m, S, w, i);
535
+ r.i18nFormat.addLookupKeys(T, m, w, S, i);
536
536
  else {
537
537
  var x;
538
- y && (x = r.pluralResolver.getSuffix(S, i.count)), y && g && k.push(D + x), g && k.push(D += "".concat(r.options.contextSeparator).concat(i.context)), y && k.push(D += x);
538
+ y && (x = r.pluralResolver.getSuffix(w, i.count)), y && h && T.push(D + x), h && T.push(D += "".concat(r.options.contextSeparator).concat(i.context)), y && T.push(D += x);
539
539
  }
540
- for (var O; O = k.pop(); )
541
- r.isValidLookup(o) || (l = O, o = r.getResource(S, w, O, i));
540
+ for (var O; O = T.pop(); )
541
+ r.isValidLookup(o) || (l = O, o = r.getResource(w, S, O, i));
542
542
  }
543
543
  }));
544
544
  });
@@ -573,7 +573,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
573
573
  }
574
574
  }]), t;
575
575
  }(Q);
576
- function Se(n) {
576
+ function we(n) {
577
577
  return n.charAt(0).toUpperCase() + n.slice(1);
578
578
  }
579
579
  var zt = function() {
@@ -601,7 +601,7 @@ var zt = function() {
601
601
  var e = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], r = a.split("-");
602
602
  return this.options.lowerCaseLng ? r = r.map(function(i) {
603
603
  return i.toLowerCase();
604
- }) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Se(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Se(r[1].toLowerCase())), e.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Se(r[2].toLowerCase()))), r.join("-");
604
+ }) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = we(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = we(r[1].toLowerCase())), e.indexOf(r[2].toLowerCase()) > -1 && (r[2] = we(r[2].toLowerCase()))), r.join("-");
605
605
  }
606
606
  return this.options.cleanCode || this.options.lowerCaseLng ? a.toLowerCase() : a;
607
607
  }
@@ -914,16 +914,16 @@ var Vt = function() {
914
914
  key: "interpolate",
915
915
  value: function(a, e, r, i) {
916
916
  var o = this, s, l, u, d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
917
- function f(g) {
918
- return g.replace(/\$/g, "$$$$");
917
+ function f(h) {
918
+ return h.replace(/\$/g, "$$$$");
919
919
  }
920
920
  var v = function(b) {
921
921
  if (b.indexOf(o.formatSeparator) < 0) {
922
- var w = _e(e, d, b);
923
- return o.alwaysFormat ? o.format(w, void 0, r) : w;
922
+ var S = _e(e, d, b);
923
+ return o.alwaysFormat ? o.format(S, void 0, r) : S;
924
924
  }
925
- var S = b.split(o.formatSeparator), D = S.shift().trim(), k = S.join(o.formatSeparator).trim();
926
- return o.format(_e(e, d, D), k, r, i);
925
+ var w = b.split(o.formatSeparator), D = w.shift().trim(), T = w.join(o.formatSeparator).trim();
926
+ return o.format(_e(e, d, D), T, r, i);
927
927
  };
928
928
  this.resetRegExp();
929
929
  var m = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, p = i && i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, y = [{
@@ -937,8 +937,8 @@ var Vt = function() {
937
937
  return o.escapeValue ? f(o.escape(b)) : f(b);
938
938
  }
939
939
  }];
940
- return y.forEach(function(g) {
941
- for (u = 0; s = g.regex.exec(a); ) {
940
+ return y.forEach(function(h) {
941
+ for (u = 0; s = h.regex.exec(a); ) {
942
942
  if (l = v(s[1].trim()), l === void 0)
943
943
  if (typeof m == "function") {
944
944
  var b = m(a, s, i);
@@ -949,7 +949,7 @@ var Vt = function() {
949
949
  } else
950
950
  o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(a)), l = "";
951
951
  else typeof l != "string" && !o.useRawValueToEscape && (l = Me(l));
952
- if (a = a.replace(s[0], g.safeValue(l)), g.regex.lastIndex = 0, u++, u >= o.maxReplaces)
952
+ if (a = a.replace(s[0], h.safeValue(l)), h.regex.lastIndex = 0, u++, u >= o.maxReplaces)
953
953
  break;
954
954
  }
955
955
  }), a;
@@ -957,17 +957,17 @@ var Vt = function() {
957
957
  }, {
958
958
  key: "nest",
959
959
  value: function(a, e) {
960
- var r = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, s, l = N({}, i);
960
+ var r = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, s, l = U({}, i);
961
961
  l.applyPostProcessor = !1, delete l.defaultValue;
962
962
  function u(m, p) {
963
963
  var y = this.nestingOptionsSeparator;
964
964
  if (m.indexOf(y) < 0) return m;
965
- var g = m.split(new RegExp("".concat(y, "[ ]*{"))), b = "{".concat(g[1]);
966
- m = g[0], b = this.interpolate(b, l), b = b.replace(/'/g, '"');
965
+ var h = m.split(new RegExp("".concat(y, "[ ]*{"))), b = "{".concat(h[1]);
966
+ m = h[0], b = this.interpolate(b, l), b = b.replace(/'/g, '"');
967
967
  try {
968
- l = JSON.parse(b), p && (l = N({}, p, l));
969
- } catch (w) {
970
- return this.logger.warn("failed parsing options string in nesting for key ".concat(m), w), "".concat(m).concat(y).concat(b);
968
+ l = JSON.parse(b), p && (l = U({}, p, l));
969
+ } catch (S) {
970
+ return this.logger.warn("failed parsing options string in nesting for key ".concat(m), S), "".concat(m).concat(y).concat(b);
971
971
  }
972
972
  return delete l.defaultValue, m;
973
973
  }
@@ -1092,7 +1092,7 @@ var $t = function(n) {
1092
1092
  this.logger.warn('did not save key "'.concat(i, '" as the namespace "').concat(r, '" 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!!!");
1093
1093
  return;
1094
1094
  }
1095
- i == null || i === "" || (this.backend && this.backend.create && this.backend.create(e, r, i, o, null, N({}, l, {
1095
+ i == null || i === "" || (this.backend && this.backend.create && this.backend.create(e, r, i, o, null, U({}, l, {
1096
1096
  isUpdate: s
1097
1097
  })), !(!e || !e[0]) && this.store.addResource(e[0], r, i, o));
1098
1098
  }
@@ -1185,7 +1185,7 @@ var Zt = function(n) {
1185
1185
  key: "init",
1186
1186
  value: function() {
1187
1187
  var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
1188
- typeof r == "function" && (i = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.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 = N({}, Kt(), this.options, Ve(r)), this.format = this.options.interpolation.format, i || (i = oe);
1188
+ typeof r == "function" && (i = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.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 = U({}, Kt(), this.options, Ve(r)), this.format = this.options.interpolation.format, i || (i = oe);
1189
1189
  function o(p) {
1190
1190
  return p ? typeof p == "function" ? new p() : p : null;
1191
1191
  }
@@ -1201,13 +1201,13 @@ var Zt = function(n) {
1201
1201
  }), l.interpolator = new Wt(this.options), l.utils = {
1202
1202
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1203
1203
  }, l.backendConnector = new $t(o(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(p) {
1204
- for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1205
- g[b - 1] = arguments[b];
1206
- e.emit.apply(e, [p].concat(g));
1204
+ for (var y = arguments.length, h = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1205
+ h[b - 1] = arguments[b];
1206
+ e.emit.apply(e, [p].concat(h));
1207
1207
  }), this.modules.languageDetector && (l.languageDetector = o(this.modules.languageDetector), l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = o(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new qe(this.services, this.options), this.translator.on("*", function(p) {
1208
- for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1209
- g[b - 1] = arguments[b];
1210
- e.emit.apply(e, [p].concat(g));
1208
+ for (var y = arguments.length, h = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1209
+ h[b - 1] = arguments[b];
1210
+ e.emit.apply(e, [p].concat(h));
1211
1211
  }), this.modules.external.forEach(function(p) {
1212
1212
  p.init && p.init(e);
1213
1213
  });
@@ -1232,8 +1232,8 @@ var Zt = function(n) {
1232
1232
  };
1233
1233
  });
1234
1234
  var v = J(), m = function() {
1235
- var y = function(b, w) {
1236
- e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), v.resolve(w), i(b, w);
1235
+ var y = function(b, S) {
1236
+ e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), v.resolve(S), i(b, S);
1237
1237
  };
1238
1238
  if (e.languages && e.options.compatibilityAPI !== "v1" && !e.isInitialized) return y(null, e.t.bind(e));
1239
1239
  e.changeLanguage(e.options.lng, y);
@@ -1314,7 +1314,7 @@ var Zt = function(n) {
1314
1314
  v[m - 2] = arguments[m];
1315
1315
  d = i.options.overloadTranslationOptionHandler([l, u].concat(v));
1316
1316
  } else
1317
- d = N({}, u);
1317
+ d = U({}, u);
1318
1318
  return d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, i.t(l, d);
1319
1319
  };
1320
1320
  return typeof e == "string" ? o.lng = e : o.lngs = e, o.ns = r, o;
@@ -1394,12 +1394,12 @@ var Zt = function(n) {
1394
1394
  }, {
1395
1395
  key: "cloneInstance",
1396
1396
  value: function() {
1397
- var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = N({}, this.options, r, {
1397
+ var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = U({}, this.options, r, {
1398
1398
  isClone: !0
1399
1399
  }), s = new t(o), l = ["store", "services", "language"];
1400
1400
  return l.forEach(function(u) {
1401
1401
  s[u] = e[u];
1402
- }), s.services = N({}, this.services), s.services.utils = {
1402
+ }), s.services = U({}, this.services), s.services.utils = {
1403
1403
  hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
1404
1404
  }, s.translator = new qe(s.services, s.options), s.translator.on("*", function(u) {
1405
1405
  for (var d = arguments.length, f = new Array(d > 1 ? d - 1 : 0), v = 1; v < d; v++)
@@ -1429,13 +1429,13 @@ function pt(n, t) {
1429
1429
  }
1430
1430
  return r;
1431
1431
  }
1432
- var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1433
- function ht(n) {
1432
+ var ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1433
+ function gt(n) {
1434
1434
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1435
1435
  }
1436
- var ke, We;
1436
+ var Te, We;
1437
1437
  function Gt() {
1438
- return We || (We = 1, ke = {
1438
+ return We || (We = 1, Te = {
1439
1439
  area: !0,
1440
1440
  base: !0,
1441
1441
  br: !0,
@@ -1450,10 +1450,10 @@ function Gt() {
1450
1450
  source: !0,
1451
1451
  track: !0,
1452
1452
  wbr: !0
1453
- }), ke;
1453
+ }), Te;
1454
1454
  }
1455
1455
  var Yt = Gt();
1456
- const Jt = /* @__PURE__ */ ht(Yt);
1456
+ const Jt = /* @__PURE__ */ gt(Yt);
1457
1457
  var ea = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
1458
1458
  function Qe(n) {
1459
1459
  var t = { type: "tag", name: "", voidElement: !1, attrs: {}, children: [] }, a = n.match(/<\/?([^\s]+?)[/\s>]/);
@@ -1468,7 +1468,7 @@ function Qe(n) {
1468
1468
  return t;
1469
1469
  }
1470
1470
  var ta = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, aa = /^\s*$/, ra = /* @__PURE__ */ Object.create(null);
1471
- function gt(n, t) {
1471
+ function ht(n, t) {
1472
1472
  switch (t.type) {
1473
1473
  case "text":
1474
1474
  return n + t.content;
@@ -1477,7 +1477,7 @@ function gt(n, t) {
1477
1477
  var e = [];
1478
1478
  for (var r in a) e.push(r + '="' + a[r] + '"');
1479
1479
  return e.length ? " " + e.join(" ") : "";
1480
- }(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? n : n + t.children.reduce(gt, "") + "</" + t.name + ">";
1480
+ }(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? n : n + t.children.reduce(ht, "") + "</" + t.name + ">";
1481
1481
  case "comment":
1482
1482
  return n + "<!--" + t.comment + "-->";
1483
1483
  }
@@ -1501,13 +1501,13 @@ var na = { parse: function(n, t) {
1501
1501
  }
1502
1502
  if (f && (i++, (a = Qe(l)).type === "tag" && t.components[a.name] && (a.type = "component", o = !0), a.voidElement || o || !p || p === "<" || a.children.push({ type: "text", content: n.slice(m, n.indexOf("<", m)) }), i === 0 && e.push(a), (d = r[i - 1]) && d.children.push(a), r[i] = a), (!f || a.voidElement) && (i > -1 && (a.voidElement || a.name === l.slice(2, -1)) && (i--, a = i === -1 ? e : r[i]), !o && p !== "<" && p)) {
1503
1503
  d = i === -1 ? e : r[i].children;
1504
- var g = n.indexOf("<", m), b = n.slice(m, g === -1 ? void 0 : g);
1505
- aa.test(b) && (b = " "), (g > -1 && i + d.length >= 0 || b !== " ") && d.push({ type: "text", content: b });
1504
+ var h = n.indexOf("<", m), b = n.slice(m, h === -1 ? void 0 : h);
1505
+ aa.test(b) && (b = " "), (h > -1 && i + d.length >= 0 || b !== " ") && d.push({ type: "text", content: b });
1506
1506
  }
1507
1507
  }), e;
1508
1508
  }, stringify: function(n) {
1509
1509
  return n.reduce(function(t, a) {
1510
- return t + gt("", a);
1510
+ return t + ht("", a);
1511
1511
  }, "");
1512
1512
  } }, ia = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, oa = {
1513
1513
  "&amp;": "&",
@@ -1640,7 +1640,7 @@ function pa(n, t) {
1640
1640
  };
1641
1641
  return a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !o(t.isLanguageChangingTo, n) ? !1 : !!(t.hasResourceBundle(e, n) || !t.services.backendConnector.backend || t.options.resources && !t.options.partialBundledLanguages || o(e, n) && (!r || o(i, n)));
1642
1642
  }
1643
- function ha(n, t) {
1643
+ function ga(n, t) {
1644
1644
  var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1645
1645
  if (!t.languages || !t.languages.length)
1646
1646
  return fe("i18n.languages were undefined or empty", t.languages), !0;
@@ -1651,7 +1651,7 @@ function ha(n, t) {
1651
1651
  }
1652
1652
  }) : pa(n, t, a);
1653
1653
  }
1654
- var ga = ["format"], ma = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
1654
+ var ha = ["format"], ma = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
1655
1655
  function Ge(n, t) {
1656
1656
  var a = Object.keys(n);
1657
1657
  if (Object.getOwnPropertySymbols) {
@@ -1662,7 +1662,7 @@ function Ge(n, t) {
1662
1662
  }
1663
1663
  return a;
1664
1664
  }
1665
- function U(n) {
1665
+ function N(n) {
1666
1666
  for (var t = 1; t < arguments.length; t++) {
1667
1667
  var a = arguments[t] != null ? arguments[t] : {};
1668
1668
  t % 2 ? Ge(Object(a), !0).forEach(function(e) {
@@ -1690,7 +1690,7 @@ function ee(n) {
1690
1690
  return Array.isArray(n) ? n : [n];
1691
1691
  }
1692
1692
  function ya(n, t) {
1693
- var a = U({}, t);
1693
+ var a = N({}, t);
1694
1694
  return a.props = Object.assign(n.props, t.props), a;
1695
1695
  }
1696
1696
  function xt(n, t) {
@@ -1716,7 +1716,7 @@ function xt(n, t) {
1716
1716
  } else if (i === null)
1717
1717
  ue("Trans: the passed in value is invalid - seems you passed in a null child.");
1718
1718
  else if (j(i) === "object") {
1719
- var f = i.format, v = pt(i, ga), m = Object.keys(v);
1719
+ var f = i.format, v = pt(i, ha), m = Object.keys(v);
1720
1720
  if (m.length === 1) {
1721
1721
  var p = f ? "".concat(m[0], ", ").concat(f) : m[0];
1722
1722
  a += "{{".concat(p, "}}");
@@ -1731,80 +1731,80 @@ function ba(n, t, a, e, r, i) {
1731
1731
  var o = e.transKeepBasicHtmlNodesFor || [], s = t && new RegExp(o.join("|")).test(t);
1732
1732
  if (!n && !s) return [t];
1733
1733
  var l = {};
1734
- function u(g) {
1735
- var b = ee(g);
1736
- b.forEach(function(w) {
1737
- typeof w != "string" && (Ce(w) ? u(Le(w)) : j(w) === "object" && !ce(w) && Object.assign(l, w));
1734
+ function u(h) {
1735
+ var b = ee(h);
1736
+ b.forEach(function(S) {
1737
+ typeof S != "string" && (Ce(S) ? u(Le(S)) : j(S) === "object" && !ce(S) && Object.assign(l, S));
1738
1738
  });
1739
1739
  }
1740
1740
  u(n);
1741
- var d = na.parse("<0>".concat(t, "</0>")), f = U(U({}, l), r);
1742
- function v(g, b, w) {
1743
- var S = Le(g), D = p(S, b.children, w);
1744
- return va(S) && D.length === 0 ? S : D;
1741
+ var d = na.parse("<0>".concat(t, "</0>")), f = N(N({}, l), r);
1742
+ function v(h, b, S) {
1743
+ var w = Le(h), D = p(w, b.children, S);
1744
+ return va(w) && D.length === 0 ? w : D;
1745
1745
  }
1746
- function m(g, b, w, S, D) {
1747
- g.dummy && (g.children = b), w.push(ie(g, U(U({}, g.props), {}, {
1748
- key: S
1746
+ function m(h, b, S, w, D) {
1747
+ h.dummy && (h.children = b), S.push(ie(h, N(N({}, h.props), {}, {
1748
+ key: w
1749
1749
  }), D ? void 0 : b));
1750
1750
  }
1751
- function p(g, b, w) {
1752
- var S = ee(g), D = ee(b);
1753
- return D.reduce(function(k, x, O) {
1751
+ function p(h, b, S) {
1752
+ var w = ee(h), D = ee(b);
1753
+ return D.reduce(function(T, x, O) {
1754
1754
  var E = x.children && x.children[0] && x.children[0].content && a.services.interpolator.interpolate(x.children[0].content, f, a.language);
1755
1755
  if (x.type === "tag") {
1756
- var R = S[parseInt(x.name, 10)];
1757
- !R && w.length === 1 && w[0][x.name] && (R = w[0][x.name]), R || (R = {});
1756
+ var R = w[parseInt(x.name, 10)];
1757
+ !R && S.length === 1 && S[0][x.name] && (R = S[0][x.name]), R || (R = {});
1758
1758
  var L = Object.keys(x.attrs).length !== 0 ? ya({
1759
1759
  props: x.attrs
1760
1760
  }, R) : R, P = ce(L), W = P && Ce(x, !0) && !x.voidElement, I = s && j(L) === "object" && L.dummy && !P, c = j(n) === "object" && n !== null && Object.hasOwnProperty.call(n, x.name);
1761
1761
  if (typeof L == "string") {
1762
- var h = a.services.interpolator.interpolate(L, f, a.language);
1763
- k.push(h);
1762
+ var g = a.services.interpolator.interpolate(L, f, a.language);
1763
+ T.push(g);
1764
1764
  } else if (Ce(L) || W) {
1765
- var T = v(L, x, w);
1766
- m(L, T, k, O);
1765
+ var k = v(L, x, S);
1766
+ m(L, k, T, O);
1767
1767
  } else if (I) {
1768
- var B = p(S, x.children, w);
1769
- k.push(ie(L, U(U({}, L.props), {}, {
1768
+ var B = p(w, x.children, S);
1769
+ T.push(ie(L, N(N({}, L.props), {}, {
1770
1770
  key: O
1771
1771
  }), B));
1772
1772
  } else if (Number.isNaN(parseFloat(x.name)))
1773
1773
  if (c) {
1774
- var A = v(L, x, w);
1775
- m(L, A, k, O, x.voidElement);
1774
+ var A = v(L, x, S);
1775
+ m(L, A, T, O, x.voidElement);
1776
1776
  } else if (e.transSupportBasicHtmlNodes && o.indexOf(x.name) > -1)
1777
1777
  if (x.voidElement)
1778
- k.push(le(x.name, {
1778
+ T.push(le(x.name, {
1779
1779
  key: "".concat(x.name, "-").concat(O)
1780
1780
  }));
1781
1781
  else {
1782
- var C = p(S, x.children, w);
1783
- k.push(le(x.name, {
1782
+ var C = p(w, x.children, S);
1783
+ T.push(le(x.name, {
1784
1784
  key: "".concat(x.name, "-").concat(O)
1785
1785
  }, C));
1786
1786
  }
1787
1787
  else if (x.voidElement)
1788
- k.push("<".concat(x.name, " />"));
1788
+ T.push("<".concat(x.name, " />"));
1789
1789
  else {
1790
- var H = p(S, x.children, w);
1791
- k.push("<".concat(x.name, ">").concat(H, "</").concat(x.name, ">"));
1790
+ var H = p(w, x.children, S);
1791
+ T.push("<".concat(x.name, ">").concat(H, "</").concat(x.name, ">"));
1792
1792
  }
1793
1793
  else if (j(L) === "object" && !P) {
1794
1794
  var F = x.children[0] ? E : null;
1795
- F && k.push(F);
1796
- } else x.children.length === 1 && E ? k.push(ie(L, U(U({}, L.props), {}, {
1795
+ F && T.push(F);
1796
+ } else x.children.length === 1 && E ? T.push(ie(L, N(N({}, L.props), {}, {
1797
1797
  key: O
1798
- }), E)) : k.push(ie(L, U(U({}, L.props), {}, {
1798
+ }), E)) : T.push(ie(L, N(N({}, L.props), {}, {
1799
1799
  key: O
1800
1800
  })));
1801
1801
  } else if (x.type === "text") {
1802
1802
  var M = e.transWrapTextNodes, Z = i ? e.unescape(a.services.interpolator.interpolate(x.content, f, a.language)) : a.services.interpolator.interpolate(x.content, f, a.language);
1803
- M ? k.push(le(M, {
1803
+ M ? T.push(le(M, {
1804
1804
  key: "".concat(x.name, "-").concat(O)
1805
- }, Z)) : k.push(Z);
1805
+ }, Z)) : T.push(Z);
1806
1806
  }
1807
- return k;
1807
+ return T;
1808
1808
  }, []);
1809
1809
  }
1810
1810
  var y = p([{
@@ -1814,32 +1814,32 @@ function ba(n, t, a, e, r, i) {
1814
1814
  return Le(y[0]);
1815
1815
  }
1816
1816
  function xa(n) {
1817
- var t = n.children, a = n.count, e = n.parent, r = n.i18nKey, i = n.context, o = n.tOptions, s = o === void 0 ? {} : o, l = n.values, u = n.defaults, d = n.components, f = n.ns, v = n.i18n, m = n.t, p = n.shouldUnescape, y = pt(n, ma), g = ut(vt) || {}, b = g.i18n, w = g.defaultNS, S = v || b || bt();
1818
- if (!S)
1817
+ var t = n.children, a = n.count, e = n.parent, r = n.i18nKey, i = n.context, o = n.tOptions, s = o === void 0 ? {} : o, l = n.values, u = n.defaults, d = n.components, f = n.ns, v = n.i18n, m = n.t, p = n.shouldUnescape, y = pt(n, ma), h = ut(vt) || {}, b = h.i18n, S = h.defaultNS, w = v || b || bt();
1818
+ if (!w)
1819
1819
  return fe("You will need to pass in an i18next instance by using i18nextReactModule"), t;
1820
- var D = m || S.t.bind(S) || function(h) {
1821
- return h;
1820
+ var D = m || w.t.bind(w) || function(g) {
1821
+ return g;
1822
1822
  };
1823
1823
  i && (s.context = i);
1824
- var k = U(U({}, yt()), S.options && S.options.react), x = f || D.ns || w || S.options && S.options.defaultNS;
1824
+ var T = N(N({}, yt()), w.options && w.options.react), x = f || D.ns || S || w.options && w.options.defaultNS;
1825
1825
  x = typeof x == "string" ? [x] : x || ["translation"];
1826
- var O = u || xt(t, k) || k.transEmptyNodeValue || r, E = k.hashTransKey, R = r || (E ? E(O) : O), L = l ? s.interpolation : {
1827
- interpolation: U(U({}, s.interpolation), {}, {
1826
+ var O = u || xt(t, T) || T.transEmptyNodeValue || r, E = T.hashTransKey, R = r || (E ? E(O) : O), L = l ? s.interpolation : {
1827
+ interpolation: N(N({}, s.interpolation), {}, {
1828
1828
  prefix: "#$?",
1829
1829
  suffix: "?$#"
1830
1830
  })
1831
- }, P = U(U(U(U({}, s), {}, {
1831
+ }, P = N(N(N(N({}, s), {}, {
1832
1832
  count: a
1833
1833
  }, l), L), {}, {
1834
1834
  defaultValue: O,
1835
1835
  ns: x
1836
- }), W = R ? D(R, P) : O, I = ba(d || t, W, S, k, P, p), c = e !== void 0 ? e : k.defaultTransParent;
1836
+ }), W = R ? D(R, P) : O, I = ba(d || t, W, w, T, P, p), c = e !== void 0 ? e : T.defaultTransParent;
1837
1837
  return c ? le(c, y, I) : I;
1838
1838
  }
1839
- function wa(n) {
1839
+ function Sa(n) {
1840
1840
  if (Array.isArray(n)) return n;
1841
1841
  }
1842
- function Sa(n, t) {
1842
+ function wa(n, t) {
1843
1843
  var a = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
1844
1844
  if (a != null) {
1845
1845
  var e, r, i, o, s = [], l = !0, u = !1;
@@ -1862,19 +1862,19 @@ function Ye(n, t) {
1862
1862
  for (var a = 0, e = Array(t); a < t; a++) e[a] = n[a];
1863
1863
  return e;
1864
1864
  }
1865
- function Ta(n, t) {
1865
+ function ka(n, t) {
1866
1866
  if (n) {
1867
1867
  if (typeof n == "string") return Ye(n, t);
1868
1868
  var a = {}.toString.call(n).slice(8, -1);
1869
1869
  return a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set" ? Array.from(n) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Ye(n, t) : void 0;
1870
1870
  }
1871
1871
  }
1872
- function ka() {
1872
+ function Ta() {
1873
1873
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1874
1874
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1875
1875
  }
1876
1876
  function Ca(n, t) {
1877
- return wa(n) || Sa(n, t) || Ta(n, t) || ka();
1877
+ return Sa(n) || wa(n, t) || ka(n, t) || Ta();
1878
1878
  }
1879
1879
  function Je(n, t) {
1880
1880
  var a = Object.keys(n);
@@ -1903,7 +1903,7 @@ var La = function(t, a) {
1903
1903
  e.current = t;
1904
1904
  }, [t, a]), e.current;
1905
1905
  };
1906
- function wt(n) {
1906
+ function St(n) {
1907
1907
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.i18n, e = ut(vt) || {}, r = e.i18n, i = e.defaultNS, o = a || r || bt();
1908
1908
  if (o && !o.reportNamespaces && (o.reportNamespaces = new ca()), !o) {
1909
1909
  fe("You will need to pass in an i18next instance by using initReactI18next");
@@ -1916,31 +1916,31 @@ function wt(n) {
1916
1916
  var u = Pe(Pe(Pe({}, yt()), o.options.react), t), d = u.useSuspense, f = u.keyPrefix, v = n || i || o.options && o.options.defaultNS;
1917
1917
  v = typeof v == "string" ? [v] : v || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(v);
1918
1918
  var m = (o.isInitialized || o.initializedStoreOnce) && v.every(function(E) {
1919
- return ha(E, o, u);
1919
+ return ga(E, o, u);
1920
1920
  });
1921
1921
  function p() {
1922
1922
  return o.getFixedT(null, u.nsMode === "fallback" ? v : v[0], f);
1923
1923
  }
1924
- var y = Rt(p), g = Ca(y, 2), b = g[0], w = g[1], S = v.join(), D = La(S), k = Oe(!0);
1924
+ var y = Rt(p), h = Ca(y, 2), b = h[0], S = h[1], w = v.join(), D = La(w), T = Oe(!0);
1925
1925
  Ee(function() {
1926
1926
  var E = u.bindI18n, R = u.bindI18nStore;
1927
- k.current = !0, !m && !d && Xe(o, v, function() {
1928
- k.current && w(p);
1929
- }), m && D && D !== S && k.current && w(p);
1927
+ T.current = !0, !m && !d && Xe(o, v, function() {
1928
+ T.current && S(p);
1929
+ }), m && D && D !== w && T.current && S(p);
1930
1930
  function L() {
1931
- k.current && w(p);
1931
+ T.current && S(p);
1932
1932
  }
1933
1933
  return E && o && o.on(E, L), R && o && o.store.on(R, L), function() {
1934
- k.current = !1, E && o && E.split(" ").forEach(function(P) {
1934
+ T.current = !1, E && o && E.split(" ").forEach(function(P) {
1935
1935
  return o.off(P, L);
1936
1936
  }), R && o && R.split(" ").forEach(function(P) {
1937
1937
  return o.store.off(P, L);
1938
1938
  });
1939
1939
  };
1940
- }, [o, S]);
1940
+ }, [o, w]);
1941
1941
  var x = Oe(!0);
1942
1942
  Ee(function() {
1943
- k.current && !x.current && w(p), x.current = !1;
1943
+ T.current && !x.current && S(p), x.current = !1;
1944
1944
  }, [o, f]);
1945
1945
  var O = [b, o, m];
1946
1946
  if (O.t = b, O.i18n = o, O.ready = m, m || !m && !d) return O;
@@ -1958,7 +1958,7 @@ function De(n) {
1958
1958
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1959
1959
  }, De(n);
1960
1960
  }
1961
- var St = [], Pa = St.forEach, Oa = St.slice;
1961
+ var wt = [], Pa = wt.forEach, Oa = wt.slice;
1962
1962
  function Be(n) {
1963
1963
  return Pa.call(Oa.call(arguments, 1), function(t) {
1964
1964
  if (t)
@@ -1966,7 +1966,7 @@ function Be(n) {
1966
1966
  n[a] === void 0 && (n[a] = t[a]);
1967
1967
  }), n;
1968
1968
  }
1969
- function Tt() {
1969
+ function kt() {
1970
1970
  return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : De(XMLHttpRequest)) === "object";
1971
1971
  }
1972
1972
  function Ea(n) {
@@ -2028,54 +2028,54 @@ function Ba() {
2028
2028
  return typeof c != "string" && (c = String(c)), c;
2029
2029
  }
2030
2030
  function m(c) {
2031
- var h = {
2031
+ var g = {
2032
2032
  next: function() {
2033
- var T = c.shift();
2034
- return { done: T === void 0, value: T };
2033
+ var k = c.shift();
2034
+ return { done: k === void 0, value: k };
2035
2035
  }
2036
2036
  };
2037
- return s.iterable && (h[Symbol.iterator] = function() {
2038
- return h;
2039
- }), h;
2037
+ return s.iterable && (g[Symbol.iterator] = function() {
2038
+ return g;
2039
+ }), g;
2040
2040
  }
2041
2041
  function p(c) {
2042
- this.map = {}, c instanceof p ? c.forEach(function(h, T) {
2043
- this.append(T, h);
2044
- }, this) : Array.isArray(c) ? c.forEach(function(h) {
2045
- this.append(h[0], h[1]);
2046
- }, this) : c && Object.getOwnPropertyNames(c).forEach(function(h) {
2047
- this.append(h, c[h]);
2042
+ this.map = {}, c instanceof p ? c.forEach(function(g, k) {
2043
+ this.append(k, g);
2044
+ }, this) : Array.isArray(c) ? c.forEach(function(g) {
2045
+ this.append(g[0], g[1]);
2046
+ }, this) : c && Object.getOwnPropertyNames(c).forEach(function(g) {
2047
+ this.append(g, c[g]);
2048
2048
  }, this);
2049
2049
  }
2050
- p.prototype.append = function(c, h) {
2051
- c = f(c), h = v(h);
2052
- var T = this.map[c];
2053
- this.map[c] = T ? T + ", " + h : h;
2050
+ p.prototype.append = function(c, g) {
2051
+ c = f(c), g = v(g);
2052
+ var k = this.map[c];
2053
+ this.map[c] = k ? k + ", " + g : g;
2054
2054
  }, p.prototype.delete = function(c) {
2055
2055
  delete this.map[f(c)];
2056
2056
  }, p.prototype.get = function(c) {
2057
2057
  return c = f(c), this.has(c) ? this.map[c] : null;
2058
2058
  }, p.prototype.has = function(c) {
2059
2059
  return this.map.hasOwnProperty(f(c));
2060
- }, p.prototype.set = function(c, h) {
2061
- this.map[f(c)] = v(h);
2062
- }, p.prototype.forEach = function(c, h) {
2063
- for (var T in this.map)
2064
- this.map.hasOwnProperty(T) && c.call(h, this.map[T], T, this);
2060
+ }, p.prototype.set = function(c, g) {
2061
+ this.map[f(c)] = v(g);
2062
+ }, p.prototype.forEach = function(c, g) {
2063
+ for (var k in this.map)
2064
+ this.map.hasOwnProperty(k) && c.call(g, this.map[k], k, this);
2065
2065
  }, p.prototype.keys = function() {
2066
2066
  var c = [];
2067
- return this.forEach(function(h, T) {
2068
- c.push(T);
2067
+ return this.forEach(function(g, k) {
2068
+ c.push(k);
2069
2069
  }), m(c);
2070
2070
  }, p.prototype.values = function() {
2071
2071
  var c = [];
2072
- return this.forEach(function(h) {
2073
- c.push(h);
2072
+ return this.forEach(function(g) {
2073
+ c.push(g);
2074
2074
  }), m(c);
2075
2075
  }, p.prototype.entries = function() {
2076
2076
  var c = [];
2077
- return this.forEach(function(h, T) {
2078
- c.push([T, h]);
2077
+ return this.forEach(function(g, k) {
2078
+ c.push([k, g]);
2079
2079
  }), m(c);
2080
2080
  }, s.iterable && (p.prototype[Symbol.iterator] = p.prototype.entries);
2081
2081
  function y(c) {
@@ -2083,35 +2083,35 @@ function Ba() {
2083
2083
  return Promise.reject(new TypeError("Already read"));
2084
2084
  c.bodyUsed = !0;
2085
2085
  }
2086
- function g(c) {
2087
- return new Promise(function(h, T) {
2086
+ function h(c) {
2087
+ return new Promise(function(g, k) {
2088
2088
  c.onload = function() {
2089
- h(c.result);
2089
+ g(c.result);
2090
2090
  }, c.onerror = function() {
2091
- T(c.error);
2091
+ k(c.error);
2092
2092
  };
2093
2093
  });
2094
2094
  }
2095
2095
  function b(c) {
2096
- var h = new FileReader(), T = g(h);
2097
- return h.readAsArrayBuffer(c), T;
2098
- }
2099
- function w(c) {
2100
- var h = new FileReader(), T = g(h);
2101
- return h.readAsText(c), T;
2096
+ var g = new FileReader(), k = h(g);
2097
+ return g.readAsArrayBuffer(c), k;
2102
2098
  }
2103
2099
  function S(c) {
2104
- for (var h = new Uint8Array(c), T = new Array(h.length), B = 0; B < h.length; B++)
2105
- T[B] = String.fromCharCode(h[B]);
2106
- return T.join("");
2100
+ var g = new FileReader(), k = h(g);
2101
+ return g.readAsText(c), k;
2102
+ }
2103
+ function w(c) {
2104
+ for (var g = new Uint8Array(c), k = new Array(g.length), B = 0; B < g.length; B++)
2105
+ k[B] = String.fromCharCode(g[B]);
2106
+ return k.join("");
2107
2107
  }
2108
2108
  function D(c) {
2109
2109
  if (c.slice)
2110
2110
  return c.slice(0);
2111
- var h = new Uint8Array(c.byteLength);
2112
- return h.set(new Uint8Array(c)), h.buffer;
2111
+ var g = new Uint8Array(c.byteLength);
2112
+ return g.set(new Uint8Array(c)), g.buffer;
2113
2113
  }
2114
- function k() {
2114
+ function T() {
2115
2115
  return this.bodyUsed = !1, this._initBody = function(c) {
2116
2116
  this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : s.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : s.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : s.arrayBuffer && s.blob && l(c) ? (this._bodyArrayBuffer = D(c.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : s.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(c) || d(c)) ? this._bodyArrayBuffer = D(c) : this._bodyText = c = Object.prototype.toString.call(c) : this._bodyText = "", this.headers.get("content-type") || (typeof c == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2117
2117
  }, s.blob && (this.blob = function() {
@@ -2132,9 +2132,9 @@ function Ba() {
2132
2132
  if (c)
2133
2133
  return c;
2134
2134
  if (this._bodyBlob)
2135
- return w(this._bodyBlob);
2135
+ return S(this._bodyBlob);
2136
2136
  if (this._bodyArrayBuffer)
2137
- return Promise.resolve(S(this._bodyArrayBuffer));
2137
+ return Promise.resolve(w(this._bodyArrayBuffer));
2138
2138
  if (this._bodyFormData)
2139
2139
  throw new Error("could not read FormData body as text");
2140
2140
  return Promise.resolve(this._bodyText);
@@ -2146,49 +2146,49 @@ function Ba() {
2146
2146
  }
2147
2147
  var x = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
2148
2148
  function O(c) {
2149
- var h = c.toUpperCase();
2150
- return x.indexOf(h) > -1 ? h : c;
2149
+ var g = c.toUpperCase();
2150
+ return x.indexOf(g) > -1 ? g : c;
2151
2151
  }
2152
- function E(c, h) {
2153
- h = h || {};
2154
- var T = h.body;
2152
+ function E(c, g) {
2153
+ g = g || {};
2154
+ var k = g.body;
2155
2155
  if (c instanceof E) {
2156
2156
  if (c.bodyUsed)
2157
2157
  throw new TypeError("Already read");
2158
- this.url = c.url, this.credentials = c.credentials, h.headers || (this.headers = new p(c.headers)), this.method = c.method, this.mode = c.mode, this.signal = c.signal, !T && c._bodyInit != null && (T = c._bodyInit, c.bodyUsed = !0);
2158
+ this.url = c.url, this.credentials = c.credentials, g.headers || (this.headers = new p(c.headers)), this.method = c.method, this.mode = c.mode, this.signal = c.signal, !k && c._bodyInit != null && (k = c._bodyInit, c.bodyUsed = !0);
2159
2159
  } else
2160
2160
  this.url = String(c);
2161
- if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new p(h.headers)), this.method = O(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") && T)
2161
+ if (this.credentials = g.credentials || this.credentials || "same-origin", (g.headers || !this.headers) && (this.headers = new p(g.headers)), this.method = O(g.method || this.method || "GET"), this.mode = g.mode || this.mode || null, this.signal = g.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && k)
2162
2162
  throw new TypeError("Body not allowed for GET or HEAD requests");
2163
- this._initBody(T);
2163
+ this._initBody(k);
2164
2164
  }
2165
2165
  E.prototype.clone = function() {
2166
2166
  return new E(this, { body: this._bodyInit });
2167
2167
  };
2168
2168
  function R(c) {
2169
- var h = new FormData();
2170
- return c.trim().split("&").forEach(function(T) {
2171
- if (T) {
2172
- var B = T.split("="), A = B.shift().replace(/\+/g, " "), C = B.join("=").replace(/\+/g, " ");
2173
- h.append(decodeURIComponent(A), decodeURIComponent(C));
2169
+ var g = new FormData();
2170
+ return c.trim().split("&").forEach(function(k) {
2171
+ if (k) {
2172
+ var B = k.split("="), A = B.shift().replace(/\+/g, " "), C = B.join("=").replace(/\+/g, " ");
2173
+ g.append(decodeURIComponent(A), decodeURIComponent(C));
2174
2174
  }
2175
- }), h;
2175
+ }), g;
2176
2176
  }
2177
2177
  function L(c) {
2178
- var h = new p(), T = c.replace(/\r?\n[\t ]+/g, " ");
2179
- return T.split(/\r?\n/).forEach(function(B) {
2178
+ var g = new p(), k = c.replace(/\r?\n[\t ]+/g, " ");
2179
+ return k.split(/\r?\n/).forEach(function(B) {
2180
2180
  var A = B.split(":"), C = A.shift().trim();
2181
2181
  if (C) {
2182
2182
  var H = A.join(":").trim();
2183
- h.append(C, H);
2183
+ g.append(C, H);
2184
2184
  }
2185
- }), h;
2185
+ }), g;
2186
2186
  }
2187
- k.call(E.prototype);
2188
- function P(c, h) {
2189
- h || (h = {}), this.type = "default", this.status = h.status === void 0 ? 200 : h.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in h ? h.statusText : "OK", this.headers = new p(h.headers), this.url = h.url || "", this._initBody(c);
2187
+ T.call(E.prototype);
2188
+ function P(c, g) {
2189
+ g || (g = {}), this.type = "default", this.status = g.status === void 0 ? 200 : g.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in g ? g.statusText : "OK", this.headers = new p(g.headers), this.url = g.url || "", this._initBody(c);
2190
2190
  }
2191
- k.call(P.prototype), P.prototype.clone = function() {
2191
+ T.call(P.prototype), P.prototype.clone = function() {
2192
2192
  return new P(this._bodyInit, {
2193
2193
  status: this.status,
2194
2194
  statusText: this.statusText,
@@ -2200,23 +2200,23 @@ function Ba() {
2200
2200
  return c.type = "error", c;
2201
2201
  };
2202
2202
  var W = [301, 302, 303, 307, 308];
2203
- P.redirect = function(c, h) {
2204
- if (W.indexOf(h) === -1)
2203
+ P.redirect = function(c, g) {
2204
+ if (W.indexOf(g) === -1)
2205
2205
  throw new RangeError("Invalid status code");
2206
- return new P(null, { status: h, headers: { location: c } });
2206
+ return new P(null, { status: g, headers: { location: c } });
2207
2207
  }, o.DOMException = i.DOMException;
2208
2208
  try {
2209
2209
  new o.DOMException();
2210
2210
  } catch {
2211
- o.DOMException = function(h, T) {
2212
- this.message = h, this.name = T;
2213
- var B = Error(h);
2211
+ o.DOMException = function(g, k) {
2212
+ this.message = g, this.name = k;
2213
+ var B = Error(g);
2214
2214
  this.stack = B.stack;
2215
2215
  }, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
2216
2216
  }
2217
- function I(c, h) {
2218
- return new Promise(function(T, B) {
2219
- var A = new E(c, h);
2217
+ function I(c, g) {
2218
+ return new Promise(function(k, B) {
2219
+ var A = new E(c, g);
2220
2220
  if (A.signal && A.signal.aborted)
2221
2221
  return B(new o.DOMException("Aborted", "AbortError"));
2222
2222
  var C = new XMLHttpRequest();
@@ -2231,7 +2231,7 @@ function Ba() {
2231
2231
  };
2232
2232
  F.url = "responseURL" in C ? C.responseURL : F.headers.get("X-Request-URL");
2233
2233
  var M = "response" in C ? C.response : C.responseText;
2234
- T(new P(M, F));
2234
+ k(new P(M, F));
2235
2235
  }, C.onerror = function() {
2236
2236
  B(new TypeError("Network request failed"));
2237
2237
  }, C.ontimeout = function() {
@@ -2253,20 +2253,20 @@ function Ba() {
2253
2253
  }(te, te.exports)), te.exports;
2254
2254
  }
2255
2255
  var tt;
2256
- function Ua() {
2256
+ function Na() {
2257
2257
  return tt || (tt = 1, function(n, t) {
2258
2258
  var a;
2259
- if (typeof fetch == "function" && (typeof Te < "u" && Te.fetch ? a = Te.fetch : typeof window < "u" && window.fetch ? a = window.fetch : a = fetch), typeof Aa < "u" && (typeof window > "u" || typeof window.document > "u")) {
2259
+ if (typeof fetch == "function" && (typeof ke < "u" && ke.fetch ? a = ke.fetch : typeof window < "u" && window.fetch ? a = window.fetch : a = fetch), typeof Aa < "u" && (typeof window > "u" || typeof window.document > "u")) {
2260
2260
  var e = a || Ba();
2261
2261
  e.default && (e = e.default), t.default = e, n.exports = t.default;
2262
2262
  }
2263
2263
  }(se, se.exports)), se.exports;
2264
2264
  }
2265
- var kt = Ua();
2266
- const Ct = /* @__PURE__ */ ht(kt), at = /* @__PURE__ */ At({
2265
+ var Tt = Na();
2266
+ const Ct = /* @__PURE__ */ gt(Tt), at = /* @__PURE__ */ At({
2267
2267
  __proto__: null,
2268
2268
  default: Ct
2269
- }, [kt]);
2269
+ }, [Tt]);
2270
2270
  function pe(n) {
2271
2271
  "@babel/helpers - typeof";
2272
2272
  return pe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -2278,12 +2278,12 @@ function pe(n) {
2278
2278
  var V;
2279
2279
  typeof fetch == "function" && (typeof global < "u" && global.fetch ? V = global.fetch : typeof window < "u" && window.fetch ? V = window.fetch : V = fetch);
2280
2280
  var ne;
2281
- Tt() && (typeof global < "u" && global.XMLHttpRequest ? ne = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (ne = window.XMLHttpRequest));
2282
- var he;
2283
- typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? he = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (he = window.ActiveXObject));
2284
- !V && at && !ne && !he && (V = Ct || at);
2281
+ kt() && (typeof global < "u" && global.XMLHttpRequest ? ne = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (ne = window.XMLHttpRequest));
2282
+ var ge;
2283
+ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? ge = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (ge = window.ActiveXObject));
2284
+ !V && at && !ne && !ge && (V = Ct || at);
2285
2285
  typeof V != "function" && (V = void 0);
2286
- var Ue = function(t, a) {
2286
+ var Ne = function(t, a) {
2287
2287
  if (a && pe(a) === "object") {
2288
2288
  var e = "";
2289
2289
  for (var r in a)
@@ -2304,8 +2304,8 @@ var Ue = function(t, a) {
2304
2304
  });
2305
2305
  }).catch(e);
2306
2306
  }).catch(e);
2307
- }, nt = !1, Na = function(t, a, e, r) {
2308
- t.queryStringParams && (a = Ue(a, t.queryStringParams));
2307
+ }, nt = !1, Ua = function(t, a, e, r) {
2308
+ t.queryStringParams && (a = Ne(a, t.queryStringParams));
2309
2309
  var i = Be({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders);
2310
2310
  e && (i["Content-Type"] = "application/json");
2311
2311
  var o = typeof t.requestOptions == "function" ? t.requestOptions(e) : t.requestOptions, s = Be({
@@ -2327,10 +2327,10 @@ var Ue = function(t, a) {
2327
2327
  }
2328
2328
  }
2329
2329
  }, ja = function(t, a, e, r) {
2330
- e && pe(e) === "object" && (e = Ue("", e).slice(1)), t.queryStringParams && (a = Ue(a, t.queryStringParams));
2330
+ e && pe(e) === "object" && (e = Ne("", e).slice(1)), t.queryStringParams && (a = Ne(a, t.queryStringParams));
2331
2331
  try {
2332
2332
  var i;
2333
- ne ? i = new ne() : i = new he("MSXML2.XMLHTTP.3.0"), i.open(e ? "POST" : "GET", a, 1), t.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!t.withCredentials, e && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
2333
+ ne ? i = new ne() : i = new ge("MSXML2.XMLHTTP.3.0"), i.open(e ? "POST" : "GET", a, 1), t.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!t.withCredentials, e && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
2334
2334
  var o = t.customHeaders;
2335
2335
  if (o = typeof o == "function" ? o() : o, o)
2336
2336
  for (var s in o)
@@ -2347,8 +2347,8 @@ var Ue = function(t, a) {
2347
2347
  }, Fa = function(t, a, e, r) {
2348
2348
  if (typeof e == "function" && (r = e, e = void 0), r = r || function() {
2349
2349
  }, V)
2350
- return Na(t, a, e, r);
2351
- if (Tt() || typeof ActiveXObject == "function")
2350
+ return Ua(t, a, e, r);
2351
+ if (kt() || typeof ActiveXObject == "function")
2352
2352
  return ja(t, a, e, r);
2353
2353
  r(new Error("No fetch and no xhr implementation found!"));
2354
2354
  };
@@ -2462,8 +2462,8 @@ var Ha = function() {
2462
2462
  lng: v,
2463
2463
  ns: e
2464
2464
  });
2465
- s.options.request(s.options, p, l, function(y, g) {
2466
- u += 1, d.push(y), f.push(g), u === a.length && o && o(d, f);
2465
+ s.options.request(s.options, p, l, function(y, h) {
2466
+ u += 1, d.push(y), f.push(h), u === a.length && o && o(d, f);
2467
2467
  });
2468
2468
  });
2469
2469
  }
@@ -2591,26 +2591,26 @@ var it = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qa = function(t, a, e) {
2591
2591
  }
2592
2592
  return a;
2593
2593
  }
2594
- }, ge;
2594
+ }, he;
2595
2595
  try {
2596
- ge = window !== "undefined" && window.localStorage !== null;
2596
+ he = window !== "undefined" && window.localStorage !== null;
2597
2597
  var st = "i18next.translate.boo";
2598
2598
  window.localStorage.setItem(st, "foo"), window.localStorage.removeItem(st);
2599
2599
  } catch {
2600
- ge = !1;
2600
+ he = !1;
2601
2601
  }
2602
2602
  var Za = {
2603
2603
  name: "localStorage",
2604
2604
  lookup: function(t) {
2605
2605
  var a;
2606
- if (t.lookupLocalStorage && ge) {
2606
+ if (t.lookupLocalStorage && he) {
2607
2607
  var e = window.localStorage.getItem(t.lookupLocalStorage);
2608
2608
  e && (a = e);
2609
2609
  }
2610
2610
  return a;
2611
2611
  },
2612
2612
  cacheUserLanguage: function(t, a) {
2613
- a.lookupLocalStorage && ge && window.localStorage.setItem(a.lookupLocalStorage, t);
2613
+ a.lookupLocalStorage && he && window.localStorage.setItem(a.lookupLocalStorage, t);
2614
2614
  }
2615
2615
  }, me;
2616
2616
  try {
@@ -2763,14 +2763,11 @@ const ar = {
2763
2763
  "datepicker.preset.thirtyDays": "Letzte 30 Tage",
2764
2764
  "datepicker.preset.today": "Heute",
2765
2765
  "datepicker.presetsLabel": "Bereiche",
2766
- "fileUpload.acceptedTypes": { one: "{{fileTypes}} Format akzeptiert", other: "{{fileTypes}} akzeptierte Formate" },
2767
2766
  "fileUpload.acceptedTypes.one": "{{fileTypes}} Format akzeptiert",
2768
2767
  "fileUpload.acceptedTypes.other": "{{fileTypes}} akzeptierte Formate",
2769
- "fileUpload.cancelled": { one: "Datei-Upload fehlgeschlagen", other: "Datei-Upload(s) fehlgeschlagen" },
2770
2768
  "fileUpload.cancelled.one": "Datei-Upload fehlgeschlagen",
2771
2769
  "fileUpload.cancelled.other": "Datei-Upload(s) fehlgeschlagen",
2772
2770
  "fileUpload.close": "Schließen",
2773
- "fileUpload.instructions": { one: "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.", other: "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop." },
2774
2771
  "fileUpload.instructions.one": "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.",
2775
2772
  "fileUpload.instructions.other": "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop.",
2776
2773
  "fileUpload.maximumSize": "{{size}} maximal",
@@ -2841,13 +2838,9 @@ const ar = {
2841
2838
  "addToList.noDataZeroStateOnColumnSubheading": "Move options from the {{columnName}}",
2842
2839
  "addToList.offColumnHeader": "Off Column",
2843
2840
  "addToList.onColumnHeader": "On Column",
2844
- "addToList.moreOptionsAvailable": "More options available. Use the search field to filter results.",
2845
2841
  "advancedSearch.clear": "Clear Fields",
2846
2842
  "advancedSearch.search": "Search",
2847
2843
  "button.spinningTitle": "Loading…",
2848
- "columnChooser.applyChanges": "Apply Changes",
2849
- "columnChooser.findColumnsToAdd": "Find Columns to Add",
2850
- "columnChooser.selected": "Selected",
2851
2844
  "columnChooser.removeButton": "Remove {{elementName}}",
2852
2845
  "columnManager.cancelButton": "Cancel",
2853
2846
  "columnManager.filterText": "Find a Column",
@@ -2857,9 +2850,6 @@ const ar = {
2857
2850
  "columnManager.title": "Manage Table Columns",
2858
2851
  "contentRow.collapse": "Collapse",
2859
2852
  "contentRow.expand": "Expand",
2860
- "contextBar.viewing": "Viewing",
2861
- "contextBar.in": "in",
2862
- "contextBar.change": "Change",
2863
2853
  "datepicker.calendar.nextMonth": "View Next Month",
2864
2854
  "datepicker.calendar.prevMonth": "View Previous Month",
2865
2855
  "datepicker.preset.after": "After",
@@ -2872,7 +2862,6 @@ const ar = {
2872
2862
  "datepicker.preset.thirtyDays": "Last 30 days",
2873
2863
  "datepicker.preset.today": "Today",
2874
2864
  "datepicker.presetsLabel": "Ranges",
2875
- "dateTimeRangePicker.to": "to",
2876
2865
  "fileUpload.acceptedTypes.one": "{{fileTypes}} format accepted",
2877
2866
  "fileUpload.acceptedTypes.other": "{{fileTypes}} formats accepted",
2878
2867
  "fileUpload.cancelled.one": "File Upload Failed",
@@ -2894,8 +2883,6 @@ const ar = {
2894
2883
  "insightTile.all": "ALL",
2895
2884
  "insightTile.partnerCount": "{{count}} |of| {{total}}",
2896
2885
  "insightTile.partners": "PARTNERS",
2897
- "insights.hideAdditionalInsights": "Hide Additional Insights",
2898
- "insights.showAdditionalInsights": "Show Additional Insights",
2899
2886
  "label.errors.dateConstraint.max": "Please enter a date on or prior to {{context.maxExceeded}}.",
2900
2887
  "label.errors.dateConstraint.min": "Please enter a date on or after {{context.minExceeded}}.",
2901
2888
  "label.errors.dateFormat": "Please enter a date in the format {{context}}.",
@@ -2915,7 +2902,6 @@ const ar = {
2915
2902
  "listActionBar.clearSelected": "Clear Selected",
2916
2903
  "listActionBar.itemsSelected": "Items Selected",
2917
2904
  "listToolbar.advancedSearchToggle": "Advanced Search",
2918
- "matrix.cell.null": "null",
2919
2905
  "modal.close": "Close modal",
2920
2906
  "modal.defaultButtonLabel": "Okay",
2921
2907
  "modal.defaultTitle.general": "Action",
@@ -2924,20 +2910,11 @@ const ar = {
2924
2910
  "modal.defaultTitle.success": "Success",
2925
2911
  "modal.defaultTitle.warning": "Warning",
2926
2912
  "pagination.nextPage": "Next Page",
2927
- "pagination.of": "of",
2928
- "pagination.many": "many",
2929
2913
  "pagination.ofMany": "of many",
2930
2914
  "pagination.ofPageCount": "of {{pageCount}}",
2931
2915
  "pagination.page": "Page",
2932
- "pagination.perPage": "Per Page",
2933
2916
  "pagination.prevPage": "Previous Page",
2934
- "pagination.view": "View",
2935
- "pagination.viewing": "Viewing",
2936
2917
  "progressBar.closeButtonTitle": "Close progress bar",
2937
- "productBar.current": "current",
2938
- "richTextEditor.linkModal.text": "Text",
2939
- "richTextEditor.linkModal.link": "Link",
2940
- "richTextEditor.linkModal.ok": "OK",
2941
2918
  "searchResultsBar.clear": "Clear",
2942
2919
  "searchResultsBar.clearResults": "Clear Results",
2943
2920
  "searchResultsBar.count": "{{count}} of {{total}}",
@@ -2984,14 +2961,11 @@ const ar = {
2984
2961
  "datepicker.preset.thirtyDays": "Últimos 30 días",
2985
2962
  "datepicker.preset.today": "Hoy",
2986
2963
  "datepicker.presetsLabel": "Rangos",
2987
- "fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} aceptado", other: "Formatos {{fileTypes}} aceptados" },
2988
2964
  "fileUpload.acceptedTypes.one": "Formato {{fileTypes}} aceptado",
2989
2965
  "fileUpload.acceptedTypes.other": "Formatos {{fileTypes}} aceptados",
2990
- "fileUpload.cancelled": { one: "Error al cargar el archivo", other: "Error en la carga de archivos" },
2991
2966
  "fileUpload.cancelled.one": "Error al cargar el archivo",
2992
2967
  "fileUpload.cancelled.other": "Error en la carga de archivos",
2993
2968
  "fileUpload.close": "Cerrar",
2994
- "fileUpload.instructions": { one: "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.", other: "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio." },
2995
2969
  "fileUpload.instructions.one": "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.",
2996
2970
  "fileUpload.instructions.other": "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio.",
2997
2971
  "fileUpload.maximumSize": "{{size}} máximo",
@@ -3086,14 +3060,11 @@ const ar = {
3086
3060
  "datepicker.preset.thirtyDays": "Les 30 derniers jours",
3087
3061
  "datepicker.preset.today": "Aujourd'hui",
3088
3062
  "datepicker.presetsLabel": "Gammes",
3089
- "fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
3090
3063
  "fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
3091
3064
  "fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
3092
- "fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
3093
3065
  "fileUpload.cancelled.one": "Échec du téléchargement du fichier",
3094
3066
  "fileUpload.cancelled.other": "Échec du téléchargement du fichier",
3095
3067
  "fileUpload.close": "Fermer",
3096
- "fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
3097
3068
  "fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
3098
3069
  "fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
3099
3070
  "fileUpload.maximumSize": "{{size}} maximum",
@@ -3188,14 +3159,11 @@ const ar = {
3188
3159
  "datepicker.preset.thirtyDays": "30 derniers jours",
3189
3160
  "datepicker.preset.today": "Aujourd'hui",
3190
3161
  "datepicker.presetsLabel": "Gammes",
3191
- "fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
3192
3162
  "fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
3193
3163
  "fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
3194
- "fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
3195
3164
  "fileUpload.cancelled.one": "Échec du téléchargement du fichier",
3196
3165
  "fileUpload.cancelled.other": "Échec du téléchargement du fichier",
3197
3166
  "fileUpload.close": "Fermer",
3198
- "fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
3199
3167
  "fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
3200
3168
  "fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
3201
3169
  "fileUpload.maximumSize": "{{size}} maximum",
@@ -3290,14 +3258,11 @@ const ar = {
3290
3258
  "datepicker.preset.thirtyDays": "Ultimi 30 giorni",
3291
3259
  "datepicker.preset.today": "Oggi",
3292
3260
  "datepicker.presetsLabel": "Gamme",
3293
- "fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} accettato", other: "Formati accettati {{fileTypes}}" },
3294
3261
  "fileUpload.acceptedTypes.one": "Formato {{fileTypes}} accettato",
3295
3262
  "fileUpload.acceptedTypes.other": "Formati accettati {{fileTypes}}",
3296
- "fileUpload.cancelled": { one: "Caricamento file non riuscito", other: "Caricamento file non riuscito" },
3297
3263
  "fileUpload.cancelled.one": "Caricamento file non riuscito",
3298
3264
  "fileUpload.cancelled.other": "Caricamento file non riuscito",
3299
3265
  "fileUpload.close": "Chiudi",
3300
- "fileUpload.instructions": { one: "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.", other: "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop." },
3301
3266
  "fileUpload.instructions.one": "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.",
3302
3267
  "fileUpload.instructions.other": "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop.",
3303
3268
  "fileUpload.maximumSize": "{{size}} massimo",
@@ -3392,14 +3357,11 @@ const ar = {
3392
3357
  "datepicker.preset.thirtyDays": "Laatste 30 dagen",
3393
3358
  "datepicker.preset.today": "Vandaag",
3394
3359
  "datepicker.presetsLabel": "Bereiken",
3395
- "fileUpload.acceptedTypes": { one: "{{fileTypes}} formaat geaccepteerd", other: "{{fileTypes}} formaten geaccepteerd" },
3396
3360
  "fileUpload.acceptedTypes.one": "{{fileTypes}} formaat geaccepteerd",
3397
3361
  "fileUpload.acceptedTypes.other": "{{fileTypes}} formaten geaccepteerd",
3398
- "fileUpload.cancelled": { one: "Bestandsupload mislukt", other: "Bestandsupload(s) mislukt" },
3399
3362
  "fileUpload.cancelled.one": "Bestandsupload mislukt",
3400
3363
  "fileUpload.cancelled.other": "Bestandsupload(s) mislukt",
3401
3364
  "fileUpload.close": "Dicht",
3402
- "fileUpload.instructions": { one: "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.", other: "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad." },
3403
3365
  "fileUpload.instructions.one": "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.",
3404
3366
  "fileUpload.instructions.other": "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad.",
3405
3367
  "fileUpload.maximumSize": "{{size}} maximaal",
@@ -3494,14 +3456,11 @@ const ar = {
3494
3456
  "datepicker.preset.thirtyDays": "最近 30 天",
3495
3457
  "datepicker.preset.today": "今天",
3496
3458
  "datepicker.presetsLabel": "范围",
3497
- "fileUpload.acceptedTypes": { other: "接受{{fileTypes}}个格式" },
3498
3459
  "fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
3499
3460
  "fileUpload.acceptedTypes.other": "接受{{fileTypes}}个格式",
3500
- "fileUpload.cancelled": { other: "文件上传失败" },
3501
3461
  "fileUpload.cancelled.one": "文件上传失败",
3502
3462
  "fileUpload.cancelled.other": "文件上传失败",
3503
3463
  "fileUpload.close": "关闭",
3504
- "fileUpload.instructions": { other: "将您的文件拖放到此处或|浏览文件|到您的桌面上。" },
3505
3464
  "fileUpload.instructions.one": "将您的文件拖放到此处或在桌面上|浏览文件|。",
3506
3465
  "fileUpload.instructions.other": "将您的文件拖放到此处或|浏览文件|到您的桌面上。",
3507
3466
  "fileUpload.maximumSize": "最大{{size}}",
@@ -3596,14 +3555,11 @@ const ar = {
3596
3555
  "datepicker.preset.thirtyDays": "最近30天",
3597
3556
  "datepicker.preset.today": "今天",
3598
3557
  "datepicker.presetsLabel": "範圍",
3599
- "fileUpload.acceptedTypes": { other: "接受{{fileTypes}}個格式" },
3600
3558
  "fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
3601
3559
  "fileUpload.acceptedTypes.other": "接受{{fileTypes}}個格式",
3602
- "fileUpload.cancelled": { other: "文件上傳失敗" },
3603
3560
  "fileUpload.cancelled.one": "文件上傳失敗",
3604
3561
  "fileUpload.cancelled.other": "文件上傳失敗",
3605
3562
  "fileUpload.close": "關閉",
3606
- "fileUpload.instructions": { other: "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。" },
3607
3563
  "fileUpload.instructions.one": "將您的文件拖放到此處或在桌面上|瀏覽文件|。",
3608
3564
  "fileUpload.instructions.other": "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。",
3609
3565
  "fileUpload.maximumSize": "最大{{size}}",
@@ -3690,7 +3646,7 @@ const ar = {
3690
3646
  });
3691
3647
  ae.init();
3692
3648
  function fr(n) {
3693
- return wt("woodland", {
3649
+ return St("woodland", {
3694
3650
  ...n,
3695
3651
  i18n: ae
3696
3652
  });
@@ -3763,15 +3719,15 @@ function pr({
3763
3719
  ae.changeLanguage(d);
3764
3720
  }), u;
3765
3721
  }
3766
- const hr = xa;
3767
- function gr(n = "translation", t) {
3768
- return wt(n, t);
3722
+ const gr = xa;
3723
+ function hr(n = "translation", t) {
3724
+ return St(n, t);
3769
3725
  }
3770
3726
  export {
3771
- hr as SpsLanguage,
3727
+ gr as SpsLanguage,
3772
3728
  $ as i18n,
3773
3729
  ae as i18nWoodland,
3774
3730
  pr as localize,
3775
- gr as useSpsLanguage,
3731
+ hr as useSpsLanguage,
3776
3732
  fr as useWoodlandLanguage
3777
3733
  };