@ethnolib/language-chooser-react-mui 0.3.2 → 0.4.1

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 (3) hide show
  1. package/index.js +29 -29
  2. package/index.mjs +496 -485
  3. package/package.json +21 -21
package/index.mjs CHANGED
@@ -724,7 +724,7 @@ function uv() {
724
724
  }
725
725
  }
726
726
  }
727
- var f = p, J = h, q = c, ka = m, Fa = i, na = N, M = s, G = F, j = D, Z = t, Y = l, K = r, aa = T, da = !1;
727
+ var f = p, J = h, q = c, ka = m, Fa = i, na = N, M = s, G = F, z = D, K = t, Y = l, Z = r, aa = T, da = !1;
728
728
  function xa(C) {
729
729
  return da || (da = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(C) || W(C) === p;
730
730
  }
@@ -764,7 +764,7 @@ function uv() {
764
764
  function Xa(C) {
765
765
  return W(C) === T;
766
766
  }
767
- Aa.AsyncMode = f, Aa.ConcurrentMode = J, Aa.ContextConsumer = q, Aa.ContextProvider = ka, Aa.Element = Fa, Aa.ForwardRef = na, Aa.Fragment = M, Aa.Lazy = G, Aa.Memo = j, Aa.Portal = Z, Aa.Profiler = Y, Aa.StrictMode = K, Aa.Suspense = aa, Aa.isAsyncMode = xa, Aa.isConcurrentMode = _, Aa.isContextConsumer = R, Aa.isContextProvider = ma, Aa.isElement = ra, Aa.isForwardRef = ia, Aa.isFragment = ga, Aa.isLazy = ea, Aa.isMemo = ca, Aa.isPortal = ua, Aa.isProfiler = pa, Aa.isStrictMode = ba, Aa.isSuspense = Xa, Aa.isValidElementType = E, Aa.typeOf = W;
767
+ Aa.AsyncMode = f, Aa.ConcurrentMode = J, Aa.ContextConsumer = q, Aa.ContextProvider = ka, Aa.Element = Fa, Aa.ForwardRef = na, Aa.Fragment = M, Aa.Lazy = G, Aa.Memo = z, Aa.Portal = K, Aa.Profiler = Y, Aa.StrictMode = Z, Aa.Suspense = aa, Aa.isAsyncMode = xa, Aa.isConcurrentMode = _, Aa.isContextConsumer = R, Aa.isContextProvider = ma, Aa.isElement = ra, Aa.isForwardRef = ia, Aa.isFragment = ga, Aa.isLazy = ea, Aa.isMemo = ca, Aa.isPortal = ua, Aa.isProfiler = pa, Aa.isStrictMode = ba, Aa.isSuspense = Xa, Aa.isValidElementType = E, Aa.typeOf = W;
768
768
  }()), Aa;
769
769
  }
770
770
  process.env.NODE_ENV === "production" ? ng.exports = mv() : ng.exports = uv();
@@ -1343,7 +1343,7 @@ function Av() {
1343
1343
  }
1344
1344
  }
1345
1345
  }
1346
- var f = p, J = h, q = c, ka = m, Fa = i, na = N, M = s, G = F, j = D, Z = t, Y = l, K = r, aa = T, da = !1;
1346
+ var f = p, J = h, q = c, ka = m, Fa = i, na = N, M = s, G = F, z = D, K = t, Y = l, Z = r, aa = T, da = !1;
1347
1347
  function xa(C) {
1348
1348
  return da || (da = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(C) || W(C) === p;
1349
1349
  }
@@ -1383,7 +1383,7 @@ function Av() {
1383
1383
  function Xa(C) {
1384
1384
  return W(C) === T;
1385
1385
  }
1386
- ja.AsyncMode = f, ja.ConcurrentMode = J, ja.ContextConsumer = q, ja.ContextProvider = ka, ja.Element = Fa, ja.ForwardRef = na, ja.Fragment = M, ja.Lazy = G, ja.Memo = j, ja.Portal = Z, ja.Profiler = Y, ja.StrictMode = K, ja.Suspense = aa, ja.isAsyncMode = xa, ja.isConcurrentMode = _, ja.isContextConsumer = R, ja.isContextProvider = ma, ja.isElement = ra, ja.isForwardRef = ia, ja.isFragment = ga, ja.isLazy = ea, ja.isMemo = ca, ja.isPortal = ua, ja.isProfiler = pa, ja.isStrictMode = ba, ja.isSuspense = Xa, ja.isValidElementType = E, ja.typeOf = W;
1386
+ ja.AsyncMode = f, ja.ConcurrentMode = J, ja.ContextConsumer = q, ja.ContextProvider = ka, ja.Element = Fa, ja.ForwardRef = na, ja.Fragment = M, ja.Lazy = G, ja.Memo = z, ja.Portal = K, ja.Profiler = Y, ja.StrictMode = Z, ja.Suspense = aa, ja.isAsyncMode = xa, ja.isConcurrentMode = _, ja.isContextConsumer = R, ja.isContextProvider = ma, ja.isElement = ra, ja.isForwardRef = ia, ja.isFragment = ga, ja.isLazy = ea, ja.isMemo = ca, ja.isPortal = ua, ja.isProfiler = pa, ja.isStrictMode = ba, ja.isSuspense = Xa, ja.isValidElementType = E, ja.typeOf = W;
1387
1387
  }()), ja;
1388
1388
  }
1389
1389
  var Xu;
@@ -1544,7 +1544,7 @@ function Bv() {
1544
1544
  oneOf: q,
1545
1545
  oneOfType: Fa,
1546
1546
  shape: G,
1547
- exact: j
1547
+ exact: z
1548
1548
  };
1549
1549
  function F(_, R) {
1550
1550
  return _ === R ? _ !== 0 || 1 / _ === 1 / R : _ !== _ && R !== R;
@@ -1578,7 +1578,7 @@ function Bv() {
1578
1578
  }
1579
1579
  function U(_) {
1580
1580
  function R(ma, ra, ia, ga, ea, ca) {
1581
- var ua = ma[ra], pa = K(ua);
1581
+ var ua = ma[ra], pa = Z(ua);
1582
1582
  if (pa !== _) {
1583
1583
  var ba = aa(ua);
1584
1584
  return new d(
@@ -1599,7 +1599,7 @@ function Bv() {
1599
1599
  return new d("Property `" + ea + "` of component `" + ia + "` has invalid PropType notation inside arrayOf.");
1600
1600
  var ca = ma[ra];
1601
1601
  if (!Array.isArray(ca)) {
1602
- var ua = K(ca);
1602
+ var ua = Z(ca);
1603
1603
  return new d("Invalid " + ga + " `" + ea + "` of type " + ("`" + ua + "` supplied to `" + ia + "`, expected an array."));
1604
1604
  }
1605
1605
  for (var pa = 0; pa < ca.length; pa++) {
@@ -1615,7 +1615,7 @@ function Bv() {
1615
1615
  function _(R, ma, ra, ia, ga) {
1616
1616
  var ea = R[ma];
1617
1617
  if (!c(ea)) {
1618
- var ca = K(ea);
1618
+ var ca = Z(ea);
1619
1619
  return new d("Invalid " + ia + " `" + ga + "` of type " + ("`" + ca + "` supplied to `" + ra + "`, expected a single ReactElement."));
1620
1620
  }
1621
1621
  return null;
@@ -1626,7 +1626,7 @@ function Bv() {
1626
1626
  function _(R, ma, ra, ia, ga) {
1627
1627
  var ea = R[ma];
1628
1628
  if (!e.isValidElementType(ea)) {
1629
- var ca = K(ea);
1629
+ var ca = Z(ea);
1630
1630
  return new d("Invalid " + ia + " `" + ga + "` of type " + ("`" + ca + "` supplied to `" + ra + "`, expected a single ReactElement type."));
1631
1631
  }
1632
1632
  return null;
@@ -1664,7 +1664,7 @@ function Bv() {
1664
1664
  function R(ma, ra, ia, ga, ea) {
1665
1665
  if (typeof _ != "function")
1666
1666
  return new d("Property `" + ea + "` of component `" + ia + "` has invalid PropType notation inside objectOf.");
1667
- var ca = ma[ra], ua = K(ca);
1667
+ var ca = ma[ra], ua = Z(ca);
1668
1668
  if (ua !== "object")
1669
1669
  return new d("Invalid " + ga + " `" + ea + "` of type " + ("`" + ua + "` supplied to `" + ia + "`, expected an object."));
1670
1670
  for (var pa in ca)
@@ -1701,7 +1701,7 @@ function Bv() {
1701
1701
  }
1702
1702
  function na() {
1703
1703
  function _(R, ma, ra, ia, ga) {
1704
- return Z(R[ma]) ? null : new d("Invalid " + ia + " `" + ga + "` supplied to " + ("`" + ra + "`, expected a ReactNode."));
1704
+ return K(R[ma]) ? null : new d("Invalid " + ia + " `" + ga + "` supplied to " + ("`" + ra + "`, expected a ReactNode."));
1705
1705
  }
1706
1706
  return I(_);
1707
1707
  }
@@ -1712,7 +1712,7 @@ function Bv() {
1712
1712
  }
1713
1713
  function G(_) {
1714
1714
  function R(ma, ra, ia, ga, ea) {
1715
- var ca = ma[ra], ua = K(ca);
1715
+ var ca = ma[ra], ua = Z(ca);
1716
1716
  if (ua !== "object")
1717
1717
  return new d("Invalid " + ga + " `" + ea + "` of type `" + ua + "` " + ("supplied to `" + ia + "`, expected `object`."));
1718
1718
  for (var pa in _) {
@@ -1727,9 +1727,9 @@ function Bv() {
1727
1727
  }
1728
1728
  return I(R);
1729
1729
  }
1730
- function j(_) {
1730
+ function z(_) {
1731
1731
  function R(ma, ra, ia, ga, ea) {
1732
- var ca = ma[ra], ua = K(ca);
1732
+ var ca = ma[ra], ua = Z(ca);
1733
1733
  if (ua !== "object")
1734
1734
  return new d("Invalid " + ga + " `" + ea + "` of type `" + ua + "` " + ("supplied to `" + ia + "`, expected `object`."));
1735
1735
  var pa = i({}, ma[ra], _);
@@ -1750,7 +1750,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1750
1750
  }
1751
1751
  return I(R);
1752
1752
  }
1753
- function Z(_) {
1753
+ function K(_) {
1754
1754
  switch (typeof _) {
1755
1755
  case "number":
1756
1756
  case "string":
@@ -1760,7 +1760,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1760
1760
  return !_;
1761
1761
  case "object":
1762
1762
  if (Array.isArray(_))
1763
- return _.every(Z);
1763
+ return _.every(K);
1764
1764
  if (_ === null || c(_))
1765
1765
  return !0;
1766
1766
  var R = T(_);
@@ -1768,12 +1768,12 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1768
1768
  var ma = R.call(_), ra;
1769
1769
  if (R !== _.entries) {
1770
1770
  for (; !(ra = ma.next()).done; )
1771
- if (!Z(ra.value))
1771
+ if (!K(ra.value))
1772
1772
  return !1;
1773
1773
  } else
1774
1774
  for (; !(ra = ma.next()).done; ) {
1775
1775
  var ia = ra.value;
1776
- if (ia && !Z(ia[1]))
1776
+ if (ia && !K(ia[1]))
1777
1777
  return !1;
1778
1778
  }
1779
1779
  } else
@@ -1786,14 +1786,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
1786
1786
  function Y(_, R) {
1787
1787
  return _ === "symbol" ? !0 : R ? R["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && R instanceof Symbol : !1;
1788
1788
  }
1789
- function K(_) {
1789
+ function Z(_) {
1790
1790
  var R = typeof _;
1791
1791
  return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : Y(R, _) ? "symbol" : R;
1792
1792
  }
1793
1793
  function aa(_) {
1794
1794
  if (typeof _ > "u" || _ === null)
1795
1795
  return "" + _;
1796
- var R = K(_);
1796
+ var R = Z(_);
1797
1797
  if (R === "object") {
1798
1798
  if (_ instanceof Date)
1799
1799
  return "date";
@@ -3694,29 +3694,29 @@ function tf(e = {}) {
3694
3694
  let ka = W(J);
3695
3695
  const Fa = q ? q.map(W) : [];
3696
3696
  p && S && Fa.push((G) => {
3697
- const j = Ns((0, Ee.default)({}, G, {
3697
+ const z = Ns((0, Ee.default)({}, G, {
3698
3698
  defaultTheme: t,
3699
3699
  themeId: i
3700
3700
  }));
3701
- if (!j.components || !j.components[p] || !j.components[p].styleOverrides)
3701
+ if (!z.components || !z.components[p] || !z.components[p].styleOverrides)
3702
3702
  return null;
3703
- const Z = j.components[p].styleOverrides, Y = {};
3704
- return Object.entries(Z).forEach(([K, aa]) => {
3705
- Y[K] = ws(aa, (0, Ee.default)({}, G, {
3706
- theme: j
3707
- }), j.modularCssLayers ? "theme" : void 0);
3703
+ const K = z.components[p].styleOverrides, Y = {};
3704
+ return Object.entries(K).forEach(([Z, aa]) => {
3705
+ Y[Z] = ws(aa, (0, Ee.default)({}, G, {
3706
+ theme: z
3707
+ }), z.modularCssLayers ? "theme" : void 0);
3708
3708
  }), S(G, Y);
3709
3709
  }), p && !d && Fa.push((G) => {
3710
- var j;
3711
- const Z = Ns((0, Ee.default)({}, G, {
3710
+ var z;
3711
+ const K = Ns((0, Ee.default)({}, G, {
3712
3712
  defaultTheme: t,
3713
3713
  themeId: i
3714
- })), Y = Z == null || (j = Z.components) == null || (j = j[p]) == null ? void 0 : j.variants;
3714
+ })), Y = K == null || (z = K.components) == null || (z = z[p]) == null ? void 0 : z.variants;
3715
3715
  return ws({
3716
3716
  variants: Y
3717
3717
  }, (0, Ee.default)({}, G, {
3718
- theme: Z
3719
- }), Z.modularCssLayers ? "theme" : void 0);
3718
+ theme: K
3719
+ }), K.modularCssLayers ? "theme" : void 0);
3720
3720
  }), I || Fa.push(l);
3721
3721
  const na = Fa.length - q.length;
3722
3722
  if (Array.isArray(J) && na > 0) {
@@ -4660,7 +4660,16 @@ Rg = Ug.default = (0, LD.default)(/* @__PURE__ */ (0, yD.jsx)("path", {
4660
4660
  var ft = /* @__PURE__ */ function(e) {
4661
4661
  return e.Ancient = "Ancient", e.Constructed = "Constructed", e.Extinct = "Extinct", e.Historical = "Historical", e.Living = "Living", e.Special = "Special", e.Unknown = "Unknown", e.Custom = "Custom", e;
4662
4662
  }({});
4663
- const pD = [
4663
+ function pD(e) {
4664
+ var i;
4665
+ try {
4666
+ const t = new Intl.Locale(`und-${e}`), s = ((i = t.getTextInfo) == null ? void 0 : i.call(t)) ?? t.textInfo;
4667
+ return (s == null ? void 0 : s.direction) === "rtl";
4668
+ } catch {
4669
+ return !1;
4670
+ }
4671
+ }
4672
+ const hD = [
4664
4673
  {
4665
4674
  shortest: "aa",
4666
4675
  maximal: "aa-Latn-ET",
@@ -99550,7 +99559,7 @@ var Ks = { exports: {} };
99550
99559
  Ks.exports;
99551
99560
  (function(e, i) {
99552
99561
  (function() {
99553
- var t, s = "4.17.21", r = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", c = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", h = 500, N = "__lodash_placeholder__", T = 1, S = 2, D = 4, F = 1, d = 2, I = 1, U = 2, O = 4, E = 8, W = 16, f = 32, J = 64, q = 128, ka = 256, Fa = 512, na = 30, M = "...", G = 800, j = 16, Z = 1, Y = 2, K = 3, aa = 1 / 0, da = 9007199254740991, xa = 17976931348623157e292, _ = NaN, R = 4294967295, ma = R - 1, ra = R >>> 1, ia = [
99562
+ var t, s = "4.17.21", r = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", c = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", h = 500, N = "__lodash_placeholder__", T = 1, S = 2, D = 4, F = 1, d = 2, I = 1, U = 2, O = 4, E = 8, W = 16, f = 32, J = 64, q = 128, ka = 256, Fa = 512, na = 30, M = "...", G = 800, z = 16, K = 1, Y = 2, Z = 3, aa = 1 / 0, da = 9007199254740991, xa = 17976931348623157e292, _ = NaN, R = 4294967295, ma = R - 1, ra = R >>> 1, ia = [
99554
99563
  ["ary", q],
99555
99564
  ["bind", I],
99556
99565
  ["bindKey", U],
@@ -100194,7 +100203,7 @@ Ks.exports;
100194
100203
  return a;
100195
100204
  }
100196
100205
  function vh() {
100197
- var a = this.__wrapped__.value(), n = this.__dir__, o = ha(a), g = n < 0, u = o ? a.length : 0, y = Ad(0, u, this.__views__), b = y.start, x = y.end, k = x - b, A = g ? x : b - 1, z = this.__iteratees__, B = z.length, X = 0, $ = ye(k, this.__takeCount__);
100206
+ var a = this.__wrapped__.value(), n = this.__dir__, o = ha(a), g = n < 0, u = o ? a.length : 0, y = Ad(0, u, this.__views__), b = y.start, x = y.end, k = x - b, A = g ? x : b - 1, j = this.__iteratees__, B = j.length, X = 0, $ = ye(k, this.__takeCount__);
100198
100207
  if (!o || !g && u == k && $ == k)
100199
100208
  return Sm(a, this.__actions__);
100200
100209
  var sa = [];
@@ -100202,11 +100211,11 @@ Ks.exports;
100202
100211
  for (; k-- && X < $; ) {
100203
100212
  A += n;
100204
100213
  for (var Sa = -1, oa = a[A]; ++Sa < B; ) {
100205
- var Ma = z[Sa], Da = Ma.iteratee, _e = Ma.type, Ne = Da(oa);
100214
+ var Ma = j[Sa], Da = Ma.iteratee, _e = Ma.type, Ne = Da(oa);
100206
100215
  if (_e == Y)
100207
100216
  oa = Ne;
100208
100217
  else if (!Ne) {
100209
- if (_e == Z)
100218
+ if (_e == K)
100210
100219
  continue a;
100211
100220
  break a;
100212
100221
  }
@@ -100411,8 +100420,8 @@ Ks.exports;
100411
100420
  return b;
100412
100421
  if (!Ya(a))
100413
100422
  return a;
100414
- var z = ha(a);
100415
- if (z) {
100423
+ var j = ha(a);
100424
+ if (j) {
100416
100425
  if (b = jd(a), !x)
100417
100426
  return Te(a, b);
100418
100427
  } else {
@@ -100437,7 +100446,7 @@ Ks.exports;
100437
100446
  }) : du(a) && a.forEach(function(oa, Ma) {
100438
100447
  b.set(Ma, Ze(oa, n, o, Ma, a, y));
100439
100448
  });
100440
- var sa = A ? k ? mr : lr : k ? Se : ge, Sa = z ? t : sa(a);
100449
+ var sa = A ? k ? mr : lr : k ? Se : ge, Sa = j ? t : sa(a);
100441
100450
  return je(Sa || a, function(oa, Ma) {
100442
100451
  Sa && (Ma = oa, oa = a[Ma]), Ji(b, Ma, Ze(oa, n, o, Ma, a, y));
100443
100452
  }), b;
@@ -100473,13 +100482,13 @@ Ks.exports;
100473
100482
  o && (n = Oa(n, De(o))), g ? (y = _o, b = !1) : n.length >= r && (y = Hi, b = !1, n = new Qn(n));
100474
100483
  a:
100475
100484
  for (; ++u < x; ) {
100476
- var z = a[u], B = o == null ? z : o(z);
100477
- if (z = g || z !== 0 ? z : 0, b && B === B) {
100485
+ var j = a[u], B = o == null ? j : o(j);
100486
+ if (j = g || j !== 0 ? j : 0, b && B === B) {
100478
100487
  for (var X = A; X--; )
100479
100488
  if (n[X] === B)
100480
100489
  continue a;
100481
- k.push(z);
100482
- } else y(n, B, g) || k.push(z);
100490
+ k.push(j);
100491
+ } else y(n, B, g) || k.push(j);
100483
100492
  }
100484
100493
  return k;
100485
100494
  }
@@ -100557,14 +100566,14 @@ Ks.exports;
100557
100566
  }
100558
100567
  function Xo(a, n, o) {
100559
100568
  for (var g = o ? _o : Ct, u = a[0].length, y = a.length, b = y, x = w(y), k = 1 / 0, A = []; b--; ) {
100560
- var z = a[b];
100561
- b && n && (z = Oa(z, De(n))), k = ye(z.length, k), x[b] = !o && (n || u >= 120 && z.length >= 120) ? new Qn(b && z) : t;
100569
+ var j = a[b];
100570
+ b && n && (j = Oa(j, De(n))), k = ye(j.length, k), x[b] = !o && (n || u >= 120 && j.length >= 120) ? new Qn(b && j) : t;
100562
100571
  }
100563
- z = a[0];
100572
+ j = a[0];
100564
100573
  var B = -1, X = x[0];
100565
100574
  a:
100566
100575
  for (; ++B < u && A.length < k; ) {
100567
- var $ = z[B], sa = n ? n($) : $;
100576
+ var $ = j[B], sa = n ? n($) : $;
100568
100577
  if ($ = o || $ !== 0 ? $ : 0, !(X ? Hi(X, sa) : g(A, sa, o))) {
100569
100578
  for (b = y; --b; ) {
100570
100579
  var Sa = x[b];
@@ -100601,16 +100610,16 @@ Ks.exports;
100601
100610
  function sd(a, n, o, g, u, y) {
100602
100611
  var b = ha(a), x = ha(n), k = b ? ea : pe(a), A = x ? ea : pe(n);
100603
100612
  k = k == ga ? hn : k, A = A == ga ? hn : A;
100604
- var z = k == hn, B = A == hn, X = k == A;
100613
+ var j = k == hn, B = A == hn, X = k == A;
100605
100614
  if (X && jn(a)) {
100606
100615
  if (!jn(n))
100607
100616
  return !1;
100608
- b = !0, z = !1;
100617
+ b = !0, j = !1;
100609
100618
  }
100610
- if (X && !z)
100619
+ if (X && !j)
100611
100620
  return y || (y = new Qe()), b || vi(a) ? Um(a, n, o, g, u, y) : Cd(a, n, k, o, g, u, y);
100612
100621
  if (!(o & F)) {
100613
- var $ = z && Ba.call(a, "__wrapped__"), sa = B && Ba.call(n, "__wrapped__");
100622
+ var $ = j && Ba.call(a, "__wrapped__"), sa = B && Ba.call(n, "__wrapped__");
100614
100623
  if ($ || sa) {
100615
100624
  var Sa = $ ? a.value() : a, oa = sa ? n.value() : n;
100616
100625
  return y || (y = new Qe()), u(Sa, oa, o, g, y);
@@ -100632,15 +100641,15 @@ Ks.exports;
100632
100641
  }
100633
100642
  for (; ++u < y; ) {
100634
100643
  x = o[u];
100635
- var k = x[0], A = a[k], z = x[1];
100644
+ var k = x[0], A = a[k], j = x[1];
100636
100645
  if (b && x[2]) {
100637
100646
  if (A === t && !(k in a))
100638
100647
  return !1;
100639
100648
  } else {
100640
100649
  var B = new Qe();
100641
100650
  if (g)
100642
- var X = g(A, z, k, a, n, B);
100643
- if (!(X === t ? at(z, A, F | d, g, B) : X))
100651
+ var X = g(A, j, k, a, n, B);
100652
+ if (!(X === t ? at(j, A, F | d, g, B) : X))
100644
100653
  return !1;
100645
100654
  }
100646
100655
  }
@@ -100717,12 +100726,12 @@ Ks.exports;
100717
100726
  qo(a, o, A);
100718
100727
  return;
100719
100728
  }
100720
- var z = y ? y(x, k, o + "", a, n, b) : t, B = z === t;
100729
+ var j = y ? y(x, k, o + "", a, n, b) : t, B = j === t;
100721
100730
  if (B) {
100722
100731
  var X = ha(k), $ = !X && jn(k), sa = !X && !$ && vi(k);
100723
- z = k, X || $ || sa ? ha(x) ? z = x : ae(x) ? z = Te(x) : $ ? (B = !1, z = Mm(k, !0)) : sa ? (B = !1, z = fm(k, !0)) : z = [] : st(k) || ii(k) ? (z = x, ii(x) ? z = Su(x) : (!Ya(x) || vn(x)) && (z = Em(k))) : B = !1;
100732
+ j = k, X || $ || sa ? ha(x) ? j = x : ae(x) ? j = Te(x) : $ ? (B = !1, j = Mm(k, !0)) : sa ? (B = !1, j = fm(k, !0)) : j = [] : st(k) || ii(k) ? (j = x, ii(x) ? j = Su(x) : (!Ya(x) || vn(x)) && (j = Em(k))) : B = !1;
100724
100733
  }
100725
- B && (b.set(k, z), u(z, k, g, y, b), b.delete(k)), qo(a, o, z);
100734
+ B && (b.set(k, j), u(j, k, g, y, b), b.delete(k)), qo(a, o, j);
100726
100735
  }
100727
100736
  function ym(a, n) {
100728
100737
  var o = a.length;
@@ -100767,7 +100776,7 @@ Ks.exports;
100767
100776
  function Qo(a, n, o, g) {
100768
100777
  var u = g ? jp : ci, y = -1, b = n.length, x = a;
100769
100778
  for (a === n && (n = Te(n)), o && (x = Oa(a, De(o))); ++y < b; )
100770
- for (var k = 0, A = n[y], z = o ? o(A) : A; (k = u(x, z, k, g)) > -1; )
100779
+ for (var k = 0, A = n[y], j = o ? o(A) : A; (k = u(x, j, k, g)) > -1; )
100771
100780
  x !== a && Rt.call(x, k, 1), Rt.call(a, k, 1);
100772
100781
  return a;
100773
100782
  }
@@ -100817,8 +100826,8 @@ Ks.exports;
100817
100826
  if (k === "__proto__" || k === "constructor" || k === "prototype")
100818
100827
  return a;
100819
100828
  if (u != b) {
100820
- var z = x[k];
100821
- A = g ? g(z, k, x) : t, A === t && (A = Ya(z) ? z : Sn(n[u + 1]) ? [] : {});
100829
+ var j = x[k];
100830
+ A = g ? g(j, k, x) : t, A === t && (A = Ya(j) ? j : Sn(n[u + 1]) ? [] : {});
100822
100831
  }
100823
100832
  Ji(x, k, A), x = x[k];
100824
100833
  }
@@ -100867,11 +100876,11 @@ Ks.exports;
100867
100876
  return 0;
100868
100877
  n = o(n);
100869
100878
  for (var b = n !== n, x = n === null, k = we(n), A = n === t; u < y; ) {
100870
- var z = Ht((u + y) / 2), B = o(a[z]), X = B !== t, $ = B === null, sa = B === B, Sa = we(B);
100879
+ var j = Ht((u + y) / 2), B = o(a[j]), X = B !== t, $ = B === null, sa = B === B, Sa = we(B);
100871
100880
  if (b)
100872
100881
  var oa = g || sa;
100873
100882
  else A ? oa = sa && (g || X) : x ? oa = sa && X && (g || !$) : k ? oa = sa && X && !$ && (g || !Sa) : $ || Sa ? oa = !1 : oa = g ? B <= n : B < n;
100874
- oa ? u = z + 1 : y = z;
100883
+ oa ? u = j + 1 : y = j;
100875
100884
  }
100876
100885
  return ye(y, ma);
100877
100886
  }
@@ -100911,13 +100920,13 @@ Ks.exports;
100911
100920
  k = n ? [] : x;
100912
100921
  a:
100913
100922
  for (; ++g < y; ) {
100914
- var z = a[g], B = n ? n(z) : z;
100915
- if (z = o || z !== 0 ? z : 0, b && B === B) {
100923
+ var j = a[g], B = n ? n(j) : j;
100924
+ if (j = o || j !== 0 ? j : 0, b && B === B) {
100916
100925
  for (var X = k.length; X--; )
100917
100926
  if (k[X] === B)
100918
100927
  continue a;
100919
- n && k.push(B), x.push(z);
100920
- } else u(k, B, o) || (k !== x && k.push(B), x.push(z));
100928
+ n && k.push(B), x.push(j);
100929
+ } else u(k, B, o) || (k !== x && k.push(B), x.push(j));
100921
100930
  }
100922
100931
  return x;
100923
100932
  }
@@ -101019,16 +101028,16 @@ Ks.exports;
101019
101028
  return a.index - n.index;
101020
101029
  }
101021
101030
  function Fm(a, n, o, g) {
101022
- for (var u = -1, y = a.length, b = o.length, x = -1, k = n.length, A = re(y - b, 0), z = w(k + A), B = !g; ++x < k; )
101023
- z[x] = n[x];
101031
+ for (var u = -1, y = a.length, b = o.length, x = -1, k = n.length, A = re(y - b, 0), j = w(k + A), B = !g; ++x < k; )
101032
+ j[x] = n[x];
101024
101033
  for (; ++u < b; )
101025
- (B || u < y) && (z[o[u]] = a[u]);
101034
+ (B || u < y) && (j[o[u]] = a[u]);
101026
101035
  for (; A--; )
101027
- z[x++] = a[u++];
101028
- return z;
101036
+ j[x++] = a[u++];
101037
+ return j;
101029
101038
  }
101030
101039
  function wm(a, n, o, g) {
101031
- for (var u = -1, y = a.length, b = -1, x = o.length, k = -1, A = n.length, z = re(y - x, 0), B = w(z + A), X = !g; ++u < z; )
101040
+ for (var u = -1, y = a.length, b = -1, x = o.length, k = -1, A = n.length, j = re(y - x, 0), B = w(j + A), X = !g; ++u < j; )
101032
101041
  B[u] = a[u];
101033
101042
  for (var $ = u; ++k < A; )
101034
101043
  B[$ + k] = n[k];
@@ -101158,8 +101167,8 @@ Ks.exports;
101158
101167
  t,
101159
101168
  o - y
101160
101169
  );
101161
- var z = this && this !== ue && this instanceof u ? g : a;
101162
- return fe(z, this, b);
101170
+ var j = this && this !== ue && this instanceof u ? g : a;
101171
+ return fe(j, this, b);
101163
101172
  }
101164
101173
  return u;
101165
101174
  }
@@ -101192,17 +101201,17 @@ Ks.exports;
101192
101201
  k && pr(k[0]) && k[1] == (q | E | f | ka) && !k[4].length && k[9] == 1 ? b = b[os(k[0])].apply(b, k[3]) : b = y.length == 1 && pr(y) ? b[x]() : b.thru(y);
101193
101202
  }
101194
101203
  return function() {
101195
- var A = arguments, z = A[0];
101196
- if (b && A.length == 1 && ha(z))
101197
- return b.plant(z).value();
101198
- for (var B = 0, X = o ? n[B].apply(this, A) : z; ++B < o; )
101204
+ var A = arguments, j = A[0];
101205
+ if (b && A.length == 1 && ha(j))
101206
+ return b.plant(j).value();
101207
+ for (var B = 0, X = o ? n[B].apply(this, A) : j; ++B < o; )
101199
101208
  X = n[B].call(this, X);
101200
101209
  return X;
101201
101210
  };
101202
101211
  });
101203
101212
  }
101204
101213
  function ns(a, n, o, g, u, y, b, x, k, A) {
101205
- var z = n & q, B = n & I, X = n & U, $ = n & (E | W), sa = n & Fa, Sa = X ? t : nt(a);
101214
+ var j = n & q, B = n & I, X = n & U, $ = n & (E | W), sa = n & Fa, Sa = X ? t : nt(a);
101206
101215
  function oa() {
101207
101216
  for (var Ma = arguments.length, Da = w(Ma), _e = Ma; _e--; )
101208
101217
  Da[_e] = arguments[_e];
@@ -101224,7 +101233,7 @@ Ks.exports;
101224
101233
  );
101225
101234
  }
101226
101235
  var an = B ? o : this, Mn = X ? an[a] : a;
101227
- return Ma = Da.length, x ? Da = Xd(Da, x) : sa && Ma > 1 && Da.reverse(), z && k < Ma && (Da.length = k), this && this !== ue && this instanceof oa && (Mn = Sa || nt(Mn)), Mn.apply(an, Da);
101236
+ return Ma = Da.length, x ? Da = Xd(Da, x) : sa && Ma > 1 && Da.reverse(), j && k < Ma && (Da.length = k), this && this !== ue && this instanceof oa && (Mn = Sa || nt(Mn)), Mn.apply(an, Da);
101228
101237
  }
101229
101238
  return oa;
101230
101239
  }
@@ -101267,7 +101276,7 @@ Ks.exports;
101267
101276
  function wd(a, n, o, g) {
101268
101277
  var u = n & I, y = nt(a);
101269
101278
  function b() {
101270
- for (var x = -1, k = arguments.length, A = -1, z = g.length, B = w(z + k), X = this && this !== ue && this instanceof b ? y : a; ++A < z; )
101279
+ for (var x = -1, k = arguments.length, A = -1, j = g.length, B = w(j + k), X = this && this !== ue && this instanceof b ? y : a; ++A < j; )
101271
101280
  B[A] = g[A];
101272
101281
  for (; k--; )
101273
101282
  B[A++] = arguments[++x];
@@ -101286,8 +101295,8 @@ Ks.exports;
101286
101295
  };
101287
101296
  }
101288
101297
  function jm(a, n, o, g, u, y, b, x, k, A) {
101289
- var z = n & E, B = z ? b : t, X = z ? t : b, $ = z ? y : t, sa = z ? t : y;
101290
- n |= z ? f : J, n &= ~(z ? J : f), n & O || (n &= -4);
101298
+ var j = n & E, B = j ? b : t, X = j ? t : b, $ = j ? y : t, sa = j ? t : y;
101299
+ n |= j ? f : J, n &= ~(j ? J : f), n & O || (n &= -4);
101291
101300
  var Sa = [
101292
101301
  a,
101293
101302
  n,
@@ -101327,7 +101336,7 @@ Ks.exports;
101327
101336
  throw new Be(m);
101328
101337
  var A = g ? g.length : 0;
101329
101338
  if (A || (n &= -97, g = u = t), b = b === t ? b : re(Na(b), 0), x = x === t ? x : Na(x), A -= u ? u.length : 0, n & J) {
101330
- var z = g, B = u;
101339
+ var j = g, B = u;
101331
101340
  g = u = t;
101332
101341
  }
101333
101342
  var X = k ? t : ur(a), $ = [
@@ -101336,7 +101345,7 @@ Ks.exports;
101336
101345
  o,
101337
101346
  g,
101338
101347
  u,
101339
- z,
101348
+ j,
101340
101349
  B,
101341
101350
  y,
101342
101351
  b,
@@ -101361,9 +101370,9 @@ Ks.exports;
101361
101370
  var b = o & F, x = a.length, k = n.length;
101362
101371
  if (x != k && !(b && k > x))
101363
101372
  return !1;
101364
- var A = y.get(a), z = y.get(n);
101365
- if (A && z)
101366
- return A == n && z == a;
101373
+ var A = y.get(a), j = y.get(n);
101374
+ if (A && j)
101375
+ return A == n && j == a;
101367
101376
  var B = -1, X = !0, $ = o & d ? new Qn() : t;
101368
101377
  for (y.set(a, n), y.set(n, a); ++B < x; ) {
101369
101378
  var sa = a[B], Sa = n[B];
@@ -101417,8 +101426,8 @@ Ks.exports;
101417
101426
  if (A)
101418
101427
  return A == n;
101419
101428
  g |= d, b.set(a, n);
101420
- var z = Um(x(a), x(n), g, u, y, b);
101421
- return b.delete(a), z;
101429
+ var j = Um(x(a), x(n), g, u, y, b);
101430
+ return b.delete(a), j;
101422
101431
  case Ft:
101423
101432
  if (Vi)
101424
101433
  return Vi.call(a) == Vi.call(n);
@@ -101426,8 +101435,8 @@ Ks.exports;
101426
101435
  return !1;
101427
101436
  }
101428
101437
  function Gd(a, n, o, g, u, y) {
101429
- var b = o & F, x = lr(a), k = x.length, A = lr(n), z = A.length;
101430
- if (k != z && !b)
101438
+ var b = o & F, x = lr(a), k = x.length, A = lr(n), j = A.length;
101439
+ if (k != j && !b)
101431
101440
  return !1;
101432
101441
  for (var B = k; B--; ) {
101433
101442
  var X = x[B];
@@ -101728,7 +101737,7 @@ Ks.exports;
101728
101737
  function Jm(a) {
101729
101738
  var n = 0, o = 0;
101730
101739
  return function() {
101731
- var g = Lh(), u = j - (g - o);
101740
+ var g = Lh(), u = z - (g - o);
101732
101741
  if (o = g, u > 0) {
101733
101742
  if (++n >= G)
101734
101743
  return arguments[0];
@@ -102259,16 +102268,16 @@ Ks.exports;
102259
102268
  return g.placeholder = Lu.placeholder, g;
102260
102269
  }
102261
102270
  function yu(a, n, o) {
102262
- var g, u, y, b, x, k, A = 0, z = !1, B = !1, X = !0;
102271
+ var g, u, y, b, x, k, A = 0, j = !1, B = !1, X = !0;
102263
102272
  if (typeof a != "function")
102264
102273
  throw new Be(m);
102265
- n = qe(n) || 0, Ya(o) && (z = !!o.leading, B = "maxWait" in o, y = B ? re(qe(o.maxWait) || 0, n) : y, X = "trailing" in o ? !!o.trailing : X);
102274
+ n = qe(n) || 0, Ya(o) && (j = !!o.leading, B = "maxWait" in o, y = B ? re(qe(o.maxWait) || 0, n) : y, X = "trailing" in o ? !!o.trailing : X);
102266
102275
  function $(ee) {
102267
102276
  var an = g, Mn = u;
102268
102277
  return g = u = t, A = ee, b = a.apply(Mn, an), b;
102269
102278
  }
102270
102279
  function sa(ee) {
102271
- return A = ee, x = tt(Ma, n), z ? $(ee) : b;
102280
+ return A = ee, x = tt(Ma, n), j ? $(ee) : b;
102272
102281
  }
102273
102282
  function Sa(ee) {
102274
102283
  var an = ee - k, Mn = ee - A, Gu = n - an;
@@ -102618,8 +102627,8 @@ Ks.exports;
102618
102627
  var o = -1, g = n.length, u = g > 2 ? n[2] : t;
102619
102628
  for (u && be(n[0], n[1], u) && (g = 1); ++o < g; )
102620
102629
  for (var y = n[o], b = Se(y), x = -1, k = b.length; ++x < k; ) {
102621
- var A = b[x], z = a[A];
102622
- (z === t || $e(z, hi[A]) && !Ba.call(a, A)) && (a[A] = y[A]);
102630
+ var A = b[x], j = a[A];
102631
+ (j === t || $e(j, hi[A]) && !Ba.call(a, A)) && (a[A] = y[A]);
102623
102632
  }
102624
102633
  return a;
102625
102634
  }), xT = va(function(a) {
@@ -102842,8 +102851,8 @@ Ks.exports;
102842
102851
  function yx(a, n, o) {
102843
102852
  var g = L.templateSettings;
102844
102853
  o && be(a, n, o) && (n = t), a = Ga(a), n = hs({}, n, g, Km);
102845
- var u = hs({}, n.imports, g.imports, Km), y = ge(u), b = jo(u, y), x, k, A = 0, z = n.interpolate || wt, B = "__p += '", X = Ko(
102846
- (n.escape || wt).source + "|" + z.source + "|" + (z === rl ? Wy : wt).source + "|" + (n.evaluate || wt).source + "|$",
102854
+ var u = hs({}, n.imports, g.imports, Km), y = ge(u), b = jo(u, y), x, k, A = 0, j = n.interpolate || wt, B = "__p += '", X = Ko(
102855
+ (n.escape || wt).source + "|" + j.source + "|" + (j === rl ? Wy : wt).source + "|" + (n.evaluate || wt).source + "|$",
102847
102856
  "g"
102848
102857
  ), $ = "//# sourceURL=" + (Ba.call(n, "sourceURL") ? (n.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++vp + "]") + `
102849
102858
  `;
@@ -102931,8 +102940,8 @@ function print() { __p += __j.call(arguments, '') }
102931
102940
  return k + g;
102932
102941
  if (b && (x += k.length - x), vr(u)) {
102933
102942
  if (a.slice(x).search(u)) {
102934
- var A, z = k;
102935
- for (u.global || (u = Ko(u.source, Ga(gl.exec(u)) + "g")), u.lastIndex = 0; A = u.exec(z); )
102943
+ var A, j = k;
102944
+ for (u.global || (u = Ko(u.source, Ga(gl.exec(u)) + "g")), u.lastIndex = 0; A = u.exec(j); )
102936
102945
  var B = A.index;
102937
102946
  k = k.slice(0, B === t ? x : B);
102938
102947
  }
@@ -103018,8 +103027,8 @@ function print() { __p += __j.call(arguments, '') }
103018
103027
  a[x] = k, b && (a.prototype[x] = function() {
103019
103028
  var A = this.__chain__;
103020
103029
  if (y || A) {
103021
- var z = a(this.__wrapped__), B = z.__actions__ = Te(this.__actions__);
103022
- return B.push({ func: k, args: arguments, thisArg: a }), z.__chain__ = A, z;
103030
+ var j = a(this.__wrapped__), B = j.__actions__ = Te(this.__actions__);
103031
+ return B.push({ func: k, args: arguments, thisArg: a }), j.__chain__ = A, j;
103023
103032
  }
103024
103033
  return k.apply(a, _n([this.value()], arguments));
103025
103034
  });
@@ -103129,7 +103138,7 @@ function print() { __p += __j.call(arguments, '') }
103129
103138
  return this.reverse()[a](o).reverse();
103130
103139
  };
103131
103140
  }), je(["filter", "map", "takeWhile"], function(a, n) {
103132
- var o = n + 1, g = o == Z || o == K;
103141
+ var o = n + 1, g = o == K || o == Z;
103133
103142
  fa.prototype[a] = function(u) {
103134
103143
  var y = this.clone();
103135
103144
  return y.__iteratees__.push({
@@ -103170,13 +103179,13 @@ function print() { __p += __j.call(arguments, '') }
103170
103179
  }, sn(fa.prototype, function(a, n) {
103171
103180
  var o = /^(?:filter|find|map|reject)|While$/.test(n), g = /^(?:head|last)$/.test(n), u = L[g ? "take" + (n == "last" ? "Right" : "") : n], y = g || /^find/.test(n);
103172
103181
  u && (L.prototype[n] = function() {
103173
- var b = this.__wrapped__, x = g ? [1] : arguments, k = b instanceof fa, A = x[0], z = k || ha(b), B = function(Ma) {
103182
+ var b = this.__wrapped__, x = g ? [1] : arguments, k = b instanceof fa, A = x[0], j = k || ha(b), B = function(Ma) {
103174
103183
  var Da = u.apply(L, _n([Ma], x));
103175
103184
  return g && X ? Da[0] : Da;
103176
103185
  };
103177
- z && o && typeof A == "function" && A.length != 1 && (k = z = !1);
103186
+ j && o && typeof A == "function" && A.length != 1 && (k = j = !1);
103178
103187
  var X = this.__chain__, $ = !!this.__actions__.length, sa = y && !X, Sa = k && !$;
103179
- if (!y && z) {
103188
+ if (!y && j) {
103180
103189
  b = Sa ? b : new fa(this);
103181
103190
  var oa = a.apply(b, x);
103182
103191
  return oa.__actions__.push({ func: ls, args: [B], thisArg: t }), new Ke(oa, X);
@@ -103211,7 +103220,7 @@ function print() { __p += __j.call(arguments, '') }
103211
103220
  })(Ks, Ks.exports);
103212
103221
  var ZL = Ks.exports;
103213
103222
  const qg = "[", Eg = "]";
103214
- function hD(e, i) {
103223
+ function dD(e, i) {
103215
103224
  const t = [];
103216
103225
  let s = 0;
103217
103226
  for (; s < i.length && (s = i.toLowerCase().indexOf(e.toLowerCase(), s), s !== -1); )
@@ -103221,14 +103230,14 @@ function hD(e, i) {
103221
103230
  function UL(e, i) {
103222
103231
  return i === 0 || e[i - 1] === " ";
103223
103232
  }
103224
- function dD(e, i, t) {
103233
+ function bD(e, i, t) {
103225
103234
  return UL(e, i) && (i + t === e.length || e[i + t] === " ");
103226
103235
  }
103227
- function bD(e, i, t) {
103236
+ function ND(e, i, t) {
103228
103237
  return e.slice(0, i) + qg + e.slice(i, i + t) + Eg + e.slice(i + t);
103229
103238
  }
103230
- const ND = "###";
103231
- function TD(e, i) {
103239
+ const TD = "###";
103240
+ function xD(e, i) {
103232
103241
  let t, s, r, l;
103233
103242
  for (const [m, c] of [
103234
103243
  [
@@ -103245,7 +103254,7 @@ function TD(e, i) {
103245
103254
  ],
103246
103255
  [
103247
103256
  "names",
103248
- e.names.join(ND)
103257
+ e.names.join(TD)
103249
103258
  ],
103250
103259
  [
103251
103260
  "regionNamesForDisplay",
@@ -103254,9 +103263,9 @@ function TD(e, i) {
103254
103263
  ]) {
103255
103264
  if (!c)
103256
103265
  continue;
103257
- const p = hD(i, c);
103266
+ const p = dD(i, c);
103258
103267
  for (const h of p)
103259
- if (dD(c, h, i.length)) {
103268
+ if (bD(c, h, i.length)) {
103260
103269
  Hr(e, m, h, i.length);
103261
103270
  return;
103262
103271
  } else UL(c, h) ? t || (t = m, s = h) : r || (r = m, l = h);
@@ -103270,13 +103279,13 @@ function TD(e, i) {
103270
103279
  }
103271
103280
  }
103272
103281
  function Hr(e, i, t, s) {
103273
- const r = i === "names" ? e.names.join("###") : e[i], l = bD(r, t, s);
103282
+ const r = i === "names" ? e.names.join("###") : e[i], l = ND(r, t, s);
103274
103283
  i === "names" ? e.names = l.split("###") : e[i] = l;
103275
103284
  }
103276
- function xD(e, i) {
103285
+ function SD(e, i) {
103277
103286
  const t = ZL.cloneDeep(e);
103278
103287
  for (let s = 0; s < t.length; s++)
103279
- TD(t[s], i);
103288
+ xD(t[s], i);
103280
103289
  return t;
103281
103290
  }
103282
103291
  function Dn(e) {
@@ -106547,7 +106556,7 @@ const RL = [
106547
106556
  date: "2006-10-10"
106548
106557
  }
106549
106558
  ];
106550
- function SD() {
106559
+ function vD() {
106551
106560
  return RL.map((e) => ({
106552
106561
  name: e.name,
106553
106562
  code: e.alpha2
@@ -106561,7 +106570,7 @@ function mg(e) {
106561
106570
  code: i.alpha2
106562
106571
  };
106563
106572
  }
106564
- function vD() {
106573
+ function kD() {
106565
106574
  return qL.map((e) => ({
106566
106575
  name: e.name,
106567
106576
  code: e.code
@@ -106582,12 +106591,12 @@ let _s = null, Is = null;
106582
106591
  function EL() {
106583
106592
  if (!(_s && Is)) {
106584
106593
  _s = /* @__PURE__ */ new Map(), Is = /* @__PURE__ */ new Map();
106585
- for (const e of pD)
106594
+ for (const e of hD)
106586
106595
  for (const i of e.allTags)
106587
106596
  _s.set(i.toLowerCase(), e.shortest), Is.set(i.toLowerCase(), e.maximal);
106588
106597
  }
106589
106598
  }
106590
- function kD(e, i) {
106599
+ function MD(e, i) {
106591
106600
  if (i != null && i.isRepresentativeForMacrolanguage) {
106592
106601
  const t = e.split("-").slice(1).join("-");
106593
106602
  return t ? `${i.languageSubtag}-${t}` : i.languageSubtag;
@@ -106599,14 +106608,14 @@ function HL(e, i) {
106599
106608
  const t = i.isRepresentativeForMacrolanguage && ((l = (r = i.alternativeTags) == null ? void 0 : r[0]) == null ? void 0 : l.split("-")[0]) || i.languageSubtag, s = e.split("-").slice(1).join("-");
106600
106609
  return s ? `${t}-${s}` : t || e;
106601
106610
  }
106602
- function MD() {
106611
+ function fD() {
106603
106612
  return EL(), _s;
106604
106613
  }
106605
- function fD() {
106614
+ function DD() {
106606
106615
  return EL(), Is;
106607
106616
  }
106608
- function DD(e, i) {
106609
- const t = i ? HL(e, i) : e, s = MD(), r = s.get(t.toLowerCase());
106617
+ function FD(e, i) {
106618
+ const t = i ? HL(e, i) : e, s = fD(), r = s.get(t.toLowerCase());
106610
106619
  if (!r && t.includes("-x-")) {
106611
106620
  const l = t.split("-x-"), m = s.get(l[0].toLowerCase());
106612
106621
  if (m)
@@ -106615,13 +106624,13 @@ function DD(e, i) {
106615
106624
  return r;
106616
106625
  }
106617
106626
  function Pi(e, i) {
106618
- const t = fD(), s = i ? HL(e, i) : e;
106627
+ const t = DD(), s = i ? HL(e, i) : e;
106619
106628
  return t.get(s.toLowerCase());
106620
106629
  }
106621
- function FD({ languageCode: e, scriptCode: i, regionCode: t, dialectCode: s }, r) {
106630
+ function wD({ languageCode: e, scriptCode: i, regionCode: t, dialectCode: s }, r) {
106622
106631
  const l = bt(s);
106623
106632
  let m = "";
106624
- return e ? m += e : m += "qaa", i && (m += `-${i}`), t && (m += `-${t}`), (!e || l) && (m += "-x-"), l && (m += `${l}`), DD(m, r) || m;
106633
+ return e ? m += e : m += "qaa", i && (m += `-${i}`), t && (m += `-${t}`), (!e || l) && (m += "-x-"), l && (m += `${l}`), FD(m, r) || m;
106625
106634
  }
106626
106635
  function nn(e, i) {
106627
106636
  var t, s;
@@ -106682,7 +106691,7 @@ function Lg(e) {
106682
106691
  otherSubtags: N
106683
106692
  };
106684
106693
  }
106685
- function s_(e, i) {
106694
+ function o_(e, i) {
106686
106695
  const { languageSubtag: t, scriptSubtag: s, regionSubtag: r } = Lg(e);
106687
106696
  if (r)
106688
106697
  return mg(r);
@@ -106699,7 +106708,7 @@ function Hg(e) {
106699
106708
  if (oo(i.language))
106700
106709
  return ((s = i.language) == null ? void 0 : s.manuallyEnteredTag) || "";
106701
106710
  const t = ((r = i.language) == null ? void 0 : r.scripts.length) === 1 && nn((l = i.script) == null ? void 0 : l.code, i.language.scripts[0].code) || (m = i.script) == null ? void 0 : m.code;
106702
- return kD(FD({
106711
+ return MD(wD({
106703
106712
  languageCode: (c = i.language) == null ? void 0 : c.languageSubtag,
106704
106713
  scriptCode: t,
106705
106714
  regionCode: (h = (p = i.customDetails) == null ? void 0 : p.region) == null ? void 0 : h.code,
@@ -106712,14 +106721,14 @@ function Og(e, i) {
106712
106721
  function Fn(e) {
106713
106722
  return Array.isArray ? Array.isArray(e) : VL(e) === "[object Array]";
106714
106723
  }
106715
- function wD(e) {
106724
+ function _D(e) {
106716
106725
  if (typeof e == "string")
106717
106726
  return e;
106718
106727
  let i = e + "";
106719
106728
  return i == "0" && 1 / e == -1 / 0 ? "-0" : i;
106720
106729
  }
106721
- function _D(e) {
106722
- return e == null ? "" : wD(e);
106730
+ function ID(e) {
106731
+ return e == null ? "" : _D(e);
106723
106732
  }
106724
106733
  function un(e) {
106725
106734
  return typeof e == "string";
@@ -106727,13 +106736,13 @@ function un(e) {
106727
106736
  function XL(e) {
106728
106737
  return typeof e == "number";
106729
106738
  }
106730
- function ID(e) {
106731
- return e === !0 || e === !1 || CD(e) && VL(e) == "[object Boolean]";
106739
+ function CD(e) {
106740
+ return e === !0 || e === !1 || GD(e) && VL(e) == "[object Boolean]";
106732
106741
  }
106733
106742
  function YL(e) {
106734
106743
  return typeof e == "object";
106735
106744
  }
106736
- function CD(e) {
106745
+ function GD(e) {
106737
106746
  return YL(e) && e !== null;
106738
106747
  }
106739
106748
  function Ge(e) {
@@ -106745,8 +106754,8 @@ function Or(e) {
106745
106754
  function VL(e) {
106746
106755
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
106747
106756
  }
106748
- const GD = "Incorrect 'index' type", PD = (e) => `Invalid value for key ${e}`, AD = (e) => `Pattern length exceeds max of ${e}.`, zD = (e) => `Missing ${e} property in key`, jD = (e) => `Property 'weight' in key '${e}' must be a positive integer`, Dc = Object.prototype.hasOwnProperty;
106749
- class BD {
106757
+ const PD = "Incorrect 'index' type", AD = (e) => `Invalid value for key ${e}`, zD = (e) => `Pattern length exceeds max of ${e}.`, jD = (e) => `Missing ${e} property in key`, BD = (e) => `Property 'weight' in key '${e}' must be a positive integer`, Dc = Object.prototype.hasOwnProperty;
106758
+ class KD {
106750
106759
  constructor(i) {
106751
106760
  this._keys = [], this._keyMap = {};
106752
106761
  let t = 0;
@@ -106773,10 +106782,10 @@ function JL(e) {
106773
106782
  s = e, i = Fc(e), t = yg(e);
106774
106783
  else {
106775
106784
  if (!Dc.call(e, "name"))
106776
- throw new Error(zD("name"));
106785
+ throw new Error(jD("name"));
106777
106786
  const m = e.name;
106778
106787
  if (s = m, Dc.call(e, "weight") && (r = e.weight, r <= 0))
106779
- throw new Error(jD(m));
106788
+ throw new Error(BD(m));
106780
106789
  i = Fc(m), t = yg(m), l = e.getFn;
106781
106790
  }
106782
106791
  return { path: i, id: t, weight: r, src: s, getFn: l };
@@ -106787,7 +106796,7 @@ function Fc(e) {
106787
106796
  function yg(e) {
106788
106797
  return Fn(e) ? e.join(".") : e;
106789
106798
  }
106790
- function KD(e, i) {
106799
+ function ZD(e, i) {
106791
106800
  let t = [], s = !1;
106792
106801
  const r = (l, m, c) => {
106793
106802
  if (Ge(l))
@@ -106798,8 +106807,8 @@ function KD(e, i) {
106798
106807
  const h = l[p];
106799
106808
  if (!Ge(h))
106800
106809
  return;
106801
- if (c === m.length - 1 && (un(h) || XL(h) || ID(h)))
106802
- t.push(_D(h));
106810
+ if (c === m.length - 1 && (un(h) || XL(h) || CD(h)))
106811
+ t.push(ID(h));
106803
106812
  else if (Fn(h)) {
106804
106813
  s = !0;
106805
106814
  for (let N = 0, T = h.length; N < T; N += 1)
@@ -106809,7 +106818,7 @@ function KD(e, i) {
106809
106818
  };
106810
106819
  return r(e, un(i) ? i.split(".") : i, 0), s ? t : t[0];
106811
106820
  }
106812
- const ZD = {
106821
+ const UD = {
106813
106822
  // Whether the matches should be included in the result set. When `true`, each record in the result
106814
106823
  // set will include the indices of the matched characters.
106815
106824
  // These can consequently be used for highlighting purposes.
@@ -106819,7 +106828,7 @@ const ZD = {
106819
106828
  findAllMatches: !1,
106820
106829
  // Minimum number of characters that must be matched before a result is considered a match
106821
106830
  minMatchCharLength: 1
106822
- }, UD = {
106831
+ }, RD = {
106823
106832
  // When `true`, the algorithm continues searching to the end of the input even if a perfect
106824
106833
  // match is found before the end of the same input.
106825
106834
  isCaseSensitive: !1,
@@ -106833,7 +106842,7 @@ const ZD = {
106833
106842
  shouldSort: !0,
106834
106843
  // Default sort function: sort by ascending score, ascending index
106835
106844
  sortFn: (e, i) => e.score === i.score ? e.idx < i.idx ? -1 : 1 : e.score < i.score ? -1 : 1
106836
- }, RD = {
106845
+ }, qD = {
106837
106846
  // Approximately where in the text is the pattern expected to be found?
106838
106847
  location: 0,
106839
106848
  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
@@ -106845,12 +106854,12 @@ const ZD = {
106845
106854
  // the exact location specified, a threshold of '1000' would require a perfect match
106846
106855
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
106847
106856
  distance: 100
106848
- }, qD = {
106857
+ }, ED = {
106849
106858
  // When `true`, it enables the use of unix-like search commands
106850
106859
  useExtendedSearch: !1,
106851
106860
  // The get function to use when fetching an object's properties.
106852
106861
  // The default will search nested paths *ie foo.bar.baz*
106853
- getFn: KD,
106862
+ getFn: ZD,
106854
106863
  // When `true`, search will ignore `location` and `distance`, so it won't matter
106855
106864
  // where in the string the pattern appears.
106856
106865
  // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
@@ -106863,17 +106872,17 @@ const ZD = {
106863
106872
  fieldNormWeight: 1
106864
106873
  };
106865
106874
  var la = {
106866
- ...UD,
106867
- ...ZD,
106868
106875
  ...RD,
106869
- ...qD
106876
+ ...UD,
106877
+ ...qD,
106878
+ ...ED
106870
106879
  };
106871
- const ED = /[^ ]+/g;
106872
- function HD(e = 1, i = 3) {
106880
+ const HD = /[^ ]+/g;
106881
+ function OD(e = 1, i = 3) {
106873
106882
  const t = /* @__PURE__ */ new Map(), s = Math.pow(10, i);
106874
106883
  return {
106875
106884
  get(r) {
106876
- const l = r.match(ED).length;
106885
+ const l = r.match(HD).length;
106877
106886
  if (t.has(l))
106878
106887
  return t.get(l);
106879
106888
  const m = 1 / Math.pow(l, 0.5 * e), c = parseFloat(Math.round(m * s) / s);
@@ -106889,7 +106898,7 @@ class Wg {
106889
106898
  getFn: i = la.getFn,
106890
106899
  fieldNormWeight: t = la.fieldNormWeight
106891
106900
  } = {}) {
106892
- this.norm = HD(t, 3), this.getFn = i, this.isCreated = !1, this.setIndexRecords();
106901
+ this.norm = OD(t, 3), this.getFn = i, this.isCreated = !1, this.setIndexRecords();
106893
106902
  }
106894
106903
  setSources(i = []) {
106895
106904
  this.docs = i;
@@ -106983,7 +106992,7 @@ function QL(e, i, { getFn: t = la.getFn, fieldNormWeight: s = la.fieldNormWeight
106983
106992
  const r = new Wg({ getFn: t, fieldNormWeight: s });
106984
106993
  return r.setKeys(e.map(JL)), r.setSources(i), r.create(), r;
106985
106994
  }
106986
- function OD(e, { getFn: i = la.getFn, fieldNormWeight: t = la.fieldNormWeight } = {}) {
106995
+ function WD(e, { getFn: i = la.getFn, fieldNormWeight: t = la.fieldNormWeight } = {}) {
106987
106996
  const { keys: s, records: r } = e, l = new Wg({ getFn: i, fieldNormWeight: t });
106988
106997
  return l.setKeys(s), l.setIndexRecords(r), l;
106989
106998
  }
@@ -107000,7 +107009,7 @@ function Ts(e, {
107000
107009
  const c = Math.abs(s - t);
107001
107010
  return r ? m + c / r : c ? 1 : m;
107002
107011
  }
107003
- function WD(e = [], i = la.minMatchCharLength) {
107012
+ function XD(e = [], i = la.minMatchCharLength) {
107004
107013
  let t = [], s = -1, r = -1, l = 0;
107005
107014
  for (let m = e.length; l < m; l += 1) {
107006
107015
  let c = e[l];
@@ -107009,7 +107018,7 @@ function WD(e = [], i = la.minMatchCharLength) {
107009
107018
  return e[l - 1] && l - s >= i && t.push([s, l - 1]), t;
107010
107019
  }
107011
107020
  const si = 32;
107012
- function XD(e, i, t, {
107021
+ function YD(e, i, t, {
107013
107022
  location: s = la.location,
107014
107023
  distance: r = la.distance,
107015
107024
  threshold: l = la.threshold,
@@ -107019,7 +107028,7 @@ function XD(e, i, t, {
107019
107028
  ignoreLocation: h = la.ignoreLocation
107020
107029
  } = {}) {
107021
107030
  if (i.length > si)
107022
- throw new Error(AD(si));
107031
+ throw new Error(zD(si));
107023
107032
  const N = i.length, T = e.length, S = Math.max(0, Math.min(s, T));
107024
107033
  let D = l, F = S;
107025
107034
  const d = c > 1 || p, I = d ? Array(T) : [];
@@ -107053,9 +107062,9 @@ function XD(e, i, t, {
107053
107062
  W = Fa;
107054
107063
  let na = Math.max(1, S - Fa + 1), M = m ? T : Math.min(S + Fa, T) + N, G = Array(M + 2);
107055
107064
  G[M + 1] = (1 << q) - 1;
107056
- for (let Z = M; Z >= na; Z -= 1) {
107057
- let Y = Z - 1, K = t[e.charAt(Y)];
107058
- if (d && (I[Y] = +!!K), G[Z] = (G[Z + 1] << 1 | 1) & K, q && (G[Z] |= (O[Z + 1] | O[Z]) << 1 | 1 | O[Z + 1]), G[Z] & f && (E = Ts(i, {
107065
+ for (let K = M; K >= na; K -= 1) {
107066
+ let Y = K - 1, Z = t[e.charAt(Y)];
107067
+ if (d && (I[Y] = +!!Z), G[K] = (G[K + 1] << 1 | 1) & Z, q && (G[K] |= (O[K + 1] | O[K]) << 1 | 1 | O[K + 1]), G[K] & f && (E = Ts(i, {
107059
107068
  errors: q,
107060
107069
  currentLocation: Y,
107061
107070
  expectedLocation: S,
@@ -107083,12 +107092,12 @@ function XD(e, i, t, {
107083
107092
  score: Math.max(1e-3, E)
107084
107093
  };
107085
107094
  if (d) {
107086
- const q = WD(I, c);
107095
+ const q = XD(I, c);
107087
107096
  q.length ? p && (J.indices = q) : J.isMatch = !1;
107088
107097
  }
107089
107098
  return J;
107090
107099
  }
107091
- function YD(e) {
107100
+ function VD(e) {
107092
107101
  let i = {};
107093
107102
  for (let t = 0, s = e.length; t < s; t += 1) {
107094
107103
  const r = e.charAt(t);
@@ -107124,7 +107133,7 @@ class $L {
107124
107133
  const T = (D, F) => {
107125
107134
  this.chunks.push({
107126
107135
  pattern: D,
107127
- alphabet: YD(D),
107136
+ alphabet: VD(D),
107128
107137
  startIndex: F
107129
107138
  });
107130
107139
  }, S = this.pattern.length;
@@ -107159,7 +107168,7 @@ class $L {
107159
107168
  } = this.options;
107160
107169
  let T = [], S = 0, D = !1;
107161
107170
  this.chunks.forEach(({ pattern: d, alphabet: I, startIndex: U }) => {
107162
- const { isMatch: O, score: E, indices: W } = XD(i, d, I, {
107171
+ const { isMatch: O, score: E, indices: W } = YD(i, d, I, {
107163
107172
  location: l + U,
107164
107173
  distance: m,
107165
107174
  threshold: c,
@@ -107194,7 +107203,7 @@ function wc(e, i) {
107194
107203
  const t = e.match(i);
107195
107204
  return t ? t[1] : null;
107196
107205
  }
107197
- class VD extends Xn {
107206
+ class JD extends Xn {
107198
107207
  constructor(i) {
107199
107208
  super(i);
107200
107209
  }
@@ -107216,7 +107225,7 @@ class VD extends Xn {
107216
107225
  };
107217
107226
  }
107218
107227
  }
107219
- class JD extends Xn {
107228
+ class QD extends Xn {
107220
107229
  constructor(i) {
107221
107230
  super(i);
107222
107231
  }
@@ -107238,7 +107247,7 @@ class JD extends Xn {
107238
107247
  };
107239
107248
  }
107240
107249
  }
107241
- class QD extends Xn {
107250
+ class $D extends Xn {
107242
107251
  constructor(i) {
107243
107252
  super(i);
107244
107253
  }
@@ -107260,7 +107269,7 @@ class QD extends Xn {
107260
107269
  };
107261
107270
  }
107262
107271
  }
107263
- class $D extends Xn {
107272
+ class aF extends Xn {
107264
107273
  constructor(i) {
107265
107274
  super(i);
107266
107275
  }
@@ -107282,7 +107291,7 @@ class $D extends Xn {
107282
107291
  };
107283
107292
  }
107284
107293
  }
107285
- class aF extends Xn {
107294
+ class eF extends Xn {
107286
107295
  constructor(i) {
107287
107296
  super(i);
107288
107297
  }
@@ -107304,7 +107313,7 @@ class aF extends Xn {
107304
107313
  };
107305
107314
  }
107306
107315
  }
107307
- class eF extends Xn {
107316
+ class nF extends Xn {
107308
107317
  constructor(i) {
107309
107318
  super(i);
107310
107319
  }
@@ -107390,18 +107399,18 @@ class ey extends Xn {
107390
107399
  }
107391
107400
  }
107392
107401
  const pg = [
107393
- VD,
107402
+ JD,
107394
107403
  ey,
107395
- QD,
107396
107404
  $D,
107397
- eF,
107398
107405
  aF,
107399
- JD,
107406
+ nF,
107407
+ eF,
107408
+ QD,
107400
107409
  ay
107401
- ], _c = pg.length, nF = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, iF = "|";
107402
- function tF(e, i = {}) {
107403
- return e.split(iF).map((t) => {
107404
- let s = t.trim().split(nF).filter((l) => l && !!l.trim()), r = [];
107410
+ ], _c = pg.length, iF = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, tF = "|";
107411
+ function sF(e, i = {}) {
107412
+ return e.split(tF).map((t) => {
107413
+ let s = t.trim().split(iF).filter((l) => l && !!l.trim()), r = [];
107405
107414
  for (let l = 0, m = s.length; l < m; l += 1) {
107406
107415
  const c = s[l];
107407
107416
  let p = !1, h = -1;
@@ -107423,8 +107432,8 @@ function tF(e, i = {}) {
107423
107432
  return r;
107424
107433
  });
107425
107434
  }
107426
- const sF = /* @__PURE__ */ new Set([ay.type, ey.type]);
107427
- class oF {
107435
+ const oF = /* @__PURE__ */ new Set([ay.type, ey.type]);
107436
+ class rF {
107428
107437
  constructor(i, {
107429
107438
  isCaseSensitive: t = la.isCaseSensitive,
107430
107439
  ignoreDiacritics: s = la.ignoreDiacritics,
@@ -107446,7 +107455,7 @@ class oF {
107446
107455
  location: p,
107447
107456
  threshold: h,
107448
107457
  distance: N
107449
- }, i = t ? i : i.toLowerCase(), i = s ? Zs(i) : i, this.pattern = i, this.query = tF(this.pattern, this.options);
107458
+ }, i = t ? i : i.toLowerCase(), i = s ? Zs(i) : i, this.pattern = i, this.query = sF(this.pattern, this.options);
107450
107459
  }
107451
107460
  static condition(i, t) {
107452
107461
  return t.useExtendedSearch;
@@ -107469,7 +107478,7 @@ class oF {
107469
107478
  if (d) {
107470
107479
  if (m += 1, p += U, s) {
107471
107480
  const O = F.constructor.type;
107472
- sF.has(O) ? c = [...c, ...I] : c.push(I);
107481
+ oF.has(O) ? c = [...c, ...I] : c.push(I);
107473
107482
  }
107474
107483
  } else {
107475
107484
  p = 0, m = 0, c.length = 0;
@@ -107491,7 +107500,7 @@ class oF {
107491
107500
  }
107492
107501
  }
107493
107502
  const hg = [];
107494
- function rF(...e) {
107503
+ function gF(...e) {
107495
107504
  hg.push(...e);
107496
107505
  }
107497
107506
  function dg(e, i) {
@@ -107508,7 +107517,7 @@ const Us = {
107508
107517
  }, bg = {
107509
107518
  PATH: "$path",
107510
107519
  PATTERN: "$val"
107511
- }, Ng = (e) => !!(e[Us.AND] || e[Us.OR]), gF = (e) => !!e[bg.PATH], lF = (e) => !Fn(e) && YL(e) && !Ng(e), Ic = (e) => ({
107520
+ }, Ng = (e) => !!(e[Us.AND] || e[Us.OR]), lF = (e) => !!e[bg.PATH], mF = (e) => !Fn(e) && YL(e) && !Ng(e), Ic = (e) => ({
107512
107521
  [Us.AND]: Object.keys(e).map((i) => ({
107513
107522
  [i]: e[i]
107514
107523
  }))
@@ -107516,13 +107525,13 @@ const Us = {
107516
107525
  function ny(e, i, { auto: t = !0 } = {}) {
107517
107526
  const s = (r) => {
107518
107527
  let l = Object.keys(r);
107519
- const m = gF(r);
107528
+ const m = lF(r);
107520
107529
  if (!m && l.length > 1 && !Ng(r))
107521
107530
  return s(Ic(r));
107522
- if (lF(r)) {
107531
+ if (mF(r)) {
107523
107532
  const p = m ? r[bg.PATH] : l[0], h = m ? r[bg.PATTERN] : r[p];
107524
107533
  if (!un(h))
107525
- throw new Error(PD(p));
107534
+ throw new Error(AD(p));
107526
107535
  const N = {
107527
107536
  keyId: yg(p),
107528
107537
  pattern: h
@@ -107542,7 +107551,7 @@ function ny(e, i, { auto: t = !0 } = {}) {
107542
107551
  };
107543
107552
  return Ng(e) || (e = Ic(e)), s(e);
107544
107553
  }
107545
- function mF(e, { ignoreFieldNorm: i = la.ignoreFieldNorm }) {
107554
+ function uF(e, { ignoreFieldNorm: i = la.ignoreFieldNorm }) {
107546
107555
  e.forEach((t) => {
107547
107556
  let s = 1;
107548
107557
  t.matches.forEach(({ key: r, norm: l, score: m }) => {
@@ -107554,7 +107563,7 @@ function mF(e, { ignoreFieldNorm: i = la.ignoreFieldNorm }) {
107554
107563
  }), t.score = s;
107555
107564
  });
107556
107565
  }
107557
- function uF(e, i) {
107566
+ function cF(e, i) {
107558
107567
  const t = e.matches;
107559
107568
  i.matches = [], Ge(t) && t.forEach((s) => {
107560
107569
  if (!Ge(s.indices) || !s.indices.length)
@@ -107567,15 +107576,15 @@ function uF(e, i) {
107567
107576
  s.key && (m.key = s.key.src), s.idx > -1 && (m.refIndex = s.idx), i.matches.push(m);
107568
107577
  });
107569
107578
  }
107570
- function cF(e, i) {
107579
+ function LF(e, i) {
107571
107580
  i.score = e.score;
107572
107581
  }
107573
- function LF(e, i, {
107582
+ function yF(e, i, {
107574
107583
  includeMatches: t = la.includeMatches,
107575
107584
  includeScore: s = la.includeScore
107576
107585
  } = {}) {
107577
107586
  const r = [];
107578
- return t && r.push(uF), s && r.push(cF), e.map((l) => {
107587
+ return t && r.push(cF), s && r.push(LF), e.map((l) => {
107579
107588
  const { idx: m } = l, c = {
107580
107589
  item: i[m],
107581
107590
  refIndex: m
@@ -107587,11 +107596,11 @@ function LF(e, i, {
107587
107596
  }
107588
107597
  class cn {
107589
107598
  constructor(i, t = {}, s) {
107590
- this.options = { ...la, ...t }, this.options.useExtendedSearch, this._keyStore = new BD(this.options.keys), this.setCollection(i, s);
107599
+ this.options = { ...la, ...t }, this.options.useExtendedSearch, this._keyStore = new KD(this.options.keys), this.setCollection(i, s);
107591
107600
  }
107592
107601
  setCollection(i, t) {
107593
107602
  if (this._docs = i, t && !(t instanceof Wg))
107594
- throw new Error(GD);
107603
+ throw new Error(PD);
107595
107604
  this._myIndex = t || QL(this.options.keys, this._docs, {
107596
107605
  getFn: this.options.getFn,
107597
107606
  fieldNormWeight: this.options.fieldNormWeight
@@ -107623,7 +107632,7 @@ class cn {
107623
107632
  ignoreFieldNorm: c
107624
107633
  } = this.options;
107625
107634
  let p = un(i) ? un(this._docs[0]) ? this._searchStringList(i) : this._searchObjectList(i) : this._searchLogical(i);
107626
- return mF(p, { ignoreFieldNorm: c }), l && p.sort(m), XL(t) && t > -1 && (p = p.slice(0, t)), LF(p, this._docs, {
107635
+ return uF(p, { ignoreFieldNorm: c }), l && p.sort(m), XL(t) && t > -1 && (p = p.slice(0, t)), yF(p, this._docs, {
107627
107636
  includeMatches: s,
107628
107637
  includeScore: r
107629
107638
  });
@@ -107724,11 +107733,11 @@ class cn {
107724
107733
  }
107725
107734
  cn.version = "7.1.0";
107726
107735
  cn.createIndex = QL;
107727
- cn.parseIndex = OD;
107736
+ cn.parseIndex = WD;
107728
107737
  cn.config = la;
107729
107738
  cn.parseQuery = ny;
107730
- rF(oF);
107731
- const xs = "_originalLanguageObject", yF = {
107739
+ gF(rF);
107740
+ const xs = "_originalLanguageObject", pF = {
107732
107741
  isCaseSensitive: !1,
107733
107742
  includeMatches: !0,
107734
107743
  minMatchCharLength: 2,
@@ -107736,7 +107745,7 @@ const xs = "_originalLanguageObject", yF = {
107736
107745
  ignoreFieldNorm: !0,
107737
107746
  findAllMatches: !1
107738
107747
  };
107739
- class pF {
107748
+ class hF {
107740
107749
  constructor(i, t, s, r, l, m) {
107741
107750
  this.languageData = i, this.languageToId = t, this.spacePaddedLanguages = i.map((c) => {
107742
107751
  let p;
@@ -107752,7 +107761,7 @@ class pF {
107752
107761
  }
107753
107762
  return p[xs] = c, p;
107754
107763
  }), this.baseFuseOptions = {
107755
- ...yF,
107764
+ ...pF,
107756
107765
  ...l || {}
107757
107766
  }, this.completeMatchFuse = new cn(this.languageData, {
107758
107767
  ...this.baseFuseOptions,
@@ -365009,7 +365018,7 @@ const iy = [
365009
365018
  name: "alternativeTags",
365010
365019
  weight: 70
365011
365020
  }
365012
- ], hF = [
365021
+ ], dF = [
365013
365022
  ...ty,
365014
365023
  {
365015
365024
  name: "regionNamesForSearch",
@@ -365041,7 +365050,7 @@ const iy = [
365041
365050
  weight: 70
365042
365051
  }
365043
365052
  ];
365044
- function dF(e) {
365053
+ function bF(e) {
365045
365054
  return {
365046
365055
  ...e,
365047
365056
  autonym: ` ${e.autonym} `,
@@ -365051,13 +365060,13 @@ function dF(e) {
365051
365060
  };
365052
365061
  }
365053
365062
  let Wr = null;
365054
- function bF() {
365055
- return Wr || (Wr = new pF(iy, (e) => e.iso639_3_code, ty, hF, {}, dF)), Wr;
365063
+ function NF() {
365064
+ return Wr || (Wr = new hF(iy, (e) => e.iso639_3_code, ty, dF, {}, bF)), Wr;
365056
365065
  }
365057
- async function NF(e, i) {
365058
- return bF().asyncSearchForLanguage(e, i);
365066
+ async function TF(e, i) {
365067
+ return NF().asyncSearchForLanguage(e, i);
365059
365068
  }
365060
- function TF(e, i) {
365069
+ function xF(e, i) {
365061
365070
  var l;
365062
365071
  const t = e.toLowerCase() === "zh" ? "cmn" : e, r = new cn(iy, {
365063
365072
  keys: [
@@ -365069,7 +365078,7 @@ function TF(e, i) {
365069
365078
  }).search(`="${t}"`);
365070
365079
  return i ? dt(i(r.map((m) => m.item), e)[0]) : (l = r[0]) == null ? void 0 : l.item;
365071
365080
  }
365072
- function xF(e, i) {
365081
+ function SF(e, i) {
365073
365082
  if (!e)
365074
365083
  return;
365075
365084
  const { languageSubtag: t, scriptSubtag: s, regionSubtag: r, variantSubtag: l, privateUseSubtag: m, otherSubtags: c } = Lg(e);
@@ -365078,7 +365087,7 @@ function xF(e, i) {
365078
365087
  return;
365079
365088
  }
365080
365089
  let p;
365081
- if (nn(t, "qaa") ? p = OL : p = TF(t || "", i), !p) {
365090
+ if (nn(t, "qaa") ? p = OL : p = xF(t || "", i), !p) {
365082
365091
  console.log("langtag parsing found unexpected language subtag", t);
365083
365092
  return;
365084
365093
  }
@@ -365111,7 +365120,7 @@ function xF(e, i) {
365111
365120
  };
365112
365121
  }
365113
365122
  let Xr = null;
365114
- function SF() {
365123
+ function vF() {
365115
365124
  return Xr || (Xr = /* @__PURE__ */ new Set([
365116
365125
  "ang",
365117
365126
  "axm",
@@ -365182,13 +365191,13 @@ function SF() {
365182
365191
  "xzp"
365183
365192
  ])), Xr;
365184
365193
  }
365185
- function vF(e, i) {
365194
+ function kF(e, i) {
365186
365195
  return i.map((t) => ({
365187
365196
  ...t,
365188
365197
  scripts: t.scripts.filter(e)
365189
365198
  }));
365190
365199
  }
365191
- const kF = /* @__PURE__ */ new Set([
365200
+ const MF = /* @__PURE__ */ new Set([
365192
365201
  "Brai",
365193
365202
  "Zyyy",
365194
365203
  "Zxxx",
@@ -365201,7 +365210,7 @@ const kF = /* @__PURE__ */ new Set([
365201
365210
  code: "Latn",
365202
365211
  name: "Latin"
365203
365212
  };
365204
- function MF(e) {
365213
+ function fF(e) {
365205
365214
  function i(t) {
365206
365215
  return {
365207
365216
  autonym: void 0,
@@ -365225,7 +365234,7 @@ function MF(e) {
365225
365234
  }
365226
365235
  return li("eng", i, e);
365227
365236
  }
365228
- function fF(e, i) {
365237
+ function DF(e, i) {
365229
365238
  function t(s) {
365230
365239
  return {
365231
365240
  ...s,
@@ -365250,7 +365259,7 @@ function fF(e, i) {
365250
365259
  }
365251
365260
  return li(e, t, i);
365252
365261
  }
365253
- function DF(e) {
365262
+ function FF(e) {
365254
365263
  function i(t) {
365255
365264
  return {
365256
365265
  autonym: t.autonym,
@@ -365274,7 +365283,7 @@ function DF(e) {
365274
365283
  }
365275
365284
  return li("fra", i, e);
365276
365285
  }
365277
- function FF(e) {
365286
+ function wF(e) {
365278
365287
  function i(t) {
365279
365288
  let s = t.autonym;
365280
365289
  Dn(s) !== "castellano" && (s = "castellano");
@@ -365297,7 +365306,7 @@ function FF(e) {
365297
365306
  }
365298
365307
  return li("spa", i, e);
365299
365308
  }
365300
- function wF(e) {
365309
+ function _F(e) {
365301
365310
  function i(t) {
365302
365311
  return {
365303
365312
  ...t,
@@ -365326,7 +365335,7 @@ function wF(e) {
365326
365335
  }
365327
365336
  return li("cmn", i, e);
365328
365337
  }
365329
- function _F(e, i) {
365338
+ function IF(e, i) {
365330
365339
  return li(e, (t) => ({
365331
365340
  ...t,
365332
365341
  isMacrolanguage: !0,
@@ -365339,7 +365348,7 @@ function _F(e, i) {
365339
365348
  alternativeTags: []
365340
365349
  }), i);
365341
365350
  }
365342
- function IF(e, i) {
365351
+ function CF(e, i) {
365343
365352
  return li(e, (t) => ({
365344
365353
  ...t,
365345
365354
  isMacrolanguage: !1,
@@ -365355,7 +365364,7 @@ function li(e, i, t) {
365355
365364
  function Cc(e, i) {
365356
365365
  return i.filter((t) => e(sy(t) || ""));
365357
365366
  }
365358
- const CF = /* @__PURE__ */ new Set([
365367
+ const GF = /* @__PURE__ */ new Set([
365359
365368
  "zho",
365360
365369
  "twi",
365361
365370
  "zhx"
@@ -365370,9 +365379,9 @@ function Ss(e, i, t, s) {
365370
365379
  }
365371
365380
  return s;
365372
365381
  }
365373
- function o_(e, i) {
365374
- let t = xD(e, i);
365375
- return t = Cc((s) => !CF.has(s), t), t = Ss([
365382
+ function r_(e, i) {
365383
+ let t = SD(e, i);
365384
+ return t = Cc((s) => !GF.has(s), t), t = Ss([
365376
365385
  "english"
365377
365386
  ], i, "eng", t), t = Ss([
365378
365387
  "french",
@@ -365385,9 +365394,9 @@ function o_(e, i) {
365385
365394
  "español",
365386
365395
  "spanish",
365387
365396
  "castellano"
365388
- ], i, "spa", t), t = MF(t), t = DF(t), t = wF(t), t = FF(t), t = fF("aka", t), t = IF("san", t), t = _F("zap", t), t = t.filter((s) => s.languageType !== ft.Special), t = Cc((s) => !SF().has(s), t), t = vF((s) => !kF.has(s.code), t), t;
365397
+ ], i, "spa", t), t = fF(t), t = FF(t), t = _F(t), t = wF(t), t = DF("aka", t), t = CF("san", t), t = IF("zap", t), t = t.filter((s) => s.languageType !== ft.Special), t = Cc((s) => !vF().has(s), t), t = kF((s) => !MF.has(s.code), t), t;
365389
365398
  }
365390
- const GF = {
365399
+ const PF = {
365391
365400
  // Scripts which frequently show up as options for languages with multiple scripts
365392
365401
  latn: "A B C D",
365393
365402
  arab: "ا ب ت ث",
@@ -365443,7 +365452,7 @@ const GF = {
365443
365452
  })
365444
365453
  });
365445
365454
  };
365446
- function PF(e, i) {
365455
+ function AF(e, i) {
365447
365456
  const t = e.split(qg), s = [];
365448
365457
  for (const r of t) {
365449
365458
  const l = r.split(Eg);
@@ -365458,7 +365467,7 @@ function PF(e, i) {
365458
365467
  return s;
365459
365468
  }
365460
365469
  const gt = ({ children: e, ...i }) => {
365461
- const s = gi().palette.primary.dark, r = PF(e || "", s);
365470
+ const s = gi().palette.primary.dark, r = AF(e || "", s);
365462
365471
  return /* @__PURE__ */ vg(Oe, {
365463
365472
  ...i,
365464
365473
  children: [
@@ -365466,12 +365475,12 @@ const gt = ({ children: e, ...i }) => {
365466
365475
  ]
365467
365476
  });
365468
365477
  };
365469
- var Xg = {}, AF = Hn;
365478
+ var Xg = {}, zF = Hn;
365470
365479
  Object.defineProperty(Xg, "__esModule", {
365471
365480
  value: !0
365472
365481
  });
365473
- var Yg = Xg.default = void 0, zF = AF(Zi()), jF = zi;
365474
- Yg = Xg.default = (0, zF.default)(/* @__PURE__ */ (0, jF.jsx)("path", {
365482
+ var Yg = Xg.default = void 0, jF = zF(Zi()), BF = zi;
365483
+ Yg = Xg.default = (0, jF.default)(/* @__PURE__ */ (0, BF.jsx)("path", {
365475
365484
  d: "M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"
365476
365485
  }), "Warning");
365477
365486
  const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
@@ -365483,7 +365492,7 @@ const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
365483
365492
  e,
365484
365493
  i
365485
365494
  ]
365486
- }), BF = ", ", KF = ({ languageCardData: e, ...i }) => {
365495
+ }), KF = ", ", ZF = ({ languageCardData: e, ...i }) => {
365487
365496
  const t = gi(), { i18n: s, _: r } = wg(), l = {
365488
365497
  ...i,
365489
365498
  backgroundColorWhenSelected: i.backgroundColorWhenSelected ?? Uc(t.palette.primary.main, 0.7)
@@ -365589,11 +365598,11 @@ const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
365589
365598
  text-wrap: balance;
365590
365599
  color: ${t.palette.grey[700]};
365591
365600
  `,
365592
- children: e.names.join(BF)
365601
+ children: e.names.join(KF)
365593
365602
  })
365594
365603
  ]
365595
365604
  });
365596
- }, ZF = ({ scriptData: e, ...i }) => {
365605
+ }, UF = ({ scriptData: e, ...i }) => {
365597
365606
  const t = gi(), s = {
365598
365607
  ...i,
365599
365608
  backgroundColorWhenSelected: i.backgroundColorWhenSelected ?? Uc(t.palette.primary.main, 0.88)
@@ -365612,11 +365621,11 @@ const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
365612
365621
  color: ${t.palette.grey[700]};
365613
365622
  min-height: 1.2em;
365614
365623
  `,
365615
- children: GF[e.code.toLowerCase()] || ""
365624
+ children: PF[e.code.toLowerCase()] || ""
365616
365625
  })
365617
365626
  ]
365618
365627
  });
365619
- }, UF = (e, i) => {
365628
+ }, RF = (e, i) => {
365620
365629
  const [t, s] = en(""), r = Jr(""), [l, m] = en(), [c, p] = en(), h = {
365621
365630
  customDisplayName: void 0,
365622
365631
  region: void 0,
@@ -365630,79 +365639,81 @@ const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
365630
365639
  script: c,
365631
365640
  customDetails: N
365632
365641
  }), [F, d] = en([]);
365633
- function I(j, Z) {
365634
- if (Z !== r.current)
365642
+ function I(z, K) {
365643
+ if (K !== r.current)
365635
365644
  return !1;
365636
- const Y = i || ((K) => K);
365637
- return d((K) => K.concat(Y(j, Z))), !0;
365645
+ const Y = i || ((Z) => Z);
365646
+ return d((Z) => Z.concat(Y(z, K))), !0;
365638
365647
  }
365639
365648
  Kn(() => {
365640
- d([]), !(!t || t.length < 2) && (async () => await NF(t, I))();
365649
+ d([]), !(!t || t.length < 2) && (async () => await TF(t, I))();
365641
365650
  }, [
365642
365651
  t
365643
365652
  ]);
365644
- function U(j, Z, Y) {
365653
+ function U(z, K, Y) {
365645
365654
  var aa;
365646
- if (!Z) {
365647
- na(j || "");
365655
+ if (!K) {
365656
+ na(z || "");
365648
365657
  return;
365649
365658
  }
365650
- let K = xF(Z || "", i);
365651
- Z && !K && (K = {
365652
- language: fc(Z || ""),
365659
+ let Z = SF(K || "", i);
365660
+ K && !Z && (Z = {
365661
+ language: fc(K || ""),
365653
365662
  script: void 0,
365654
365663
  customDetails: {
365655
365664
  customDisplayName: Y
365656
365665
  }
365657
- }), j = j || ((aa = K == null ? void 0 : K.language) == null ? void 0 : aa.languageSubtag), na(j || ""), K != null && K.language && E(K == null ? void 0 : K.language), K != null && K.script && ka(K.script), T({
365658
- ...(K == null ? void 0 : K.customDetails) || {},
365666
+ }), z = z || ((aa = Z == null ? void 0 : Z.language) == null ? void 0 : aa.languageSubtag), na(z || ""), Z != null && Z.language && E(Z == null ? void 0 : Z.language), Z != null && Z.script && ka(Z.script), T({
365667
+ ...(Z == null ? void 0 : Z.customDetails) || {},
365659
365668
  // we only save the custom display name if it is different from the default
365660
- customDisplayName: Y && Y !== Og(K == null ? void 0 : K.language, K == null ? void 0 : K.script) ? Y : void 0
365669
+ customDisplayName: Y && Y !== Og(Z == null ? void 0 : Z.language, Z == null ? void 0 : Z.script) ? Y : void 0
365661
365670
  });
365662
365671
  }
365663
- function O(j, Z) {
365664
- T(j), !Z && (l == null ? void 0 : l.scripts.length) === 1 && (Z = l.scripts[0]), p(Z);
365672
+ function O(z, K) {
365673
+ T(z), !K && (l == null ? void 0 : l.scripts.length) === 1 && (K = l.scripts[0]), p(K);
365665
365674
  }
365666
- function E(j) {
365667
- m(j), p(
365675
+ function E(z) {
365676
+ m(z), p(
365668
365677
  // If there is only one script option for this language, automatically select it
365669
- j.scripts.length === 1 ? j.scripts[0] : void 0
365678
+ z.scripts.length === 1 ? z.scripts[0] : void 0
365670
365679
  ), S();
365671
365680
  }
365672
365681
  function W() {
365673
365682
  E(OL);
365674
365683
  }
365675
- function f(j) {
365676
- E(fc(j));
365684
+ function f(z) {
365685
+ E(fc(z));
365677
365686
  }
365678
365687
  function J() {
365679
365688
  m(void 0), p(void 0), S();
365680
365689
  }
365681
365690
  function q() {
365682
- T((j) => ({
365691
+ T((z) => ({
365683
365692
  ...h,
365684
- customDisplayName: j.customDisplayName
365693
+ customDisplayName: z.customDisplayName
365685
365694
  }));
365686
365695
  }
365687
- function ka(j) {
365688
- p(j), q();
365696
+ function ka(z) {
365697
+ p(z), q();
365689
365698
  }
365690
365699
  function Fa() {
365691
365700
  p(void 0), q();
365692
365701
  }
365693
- function na(j) {
365694
- r.current = j, s(j), m(void 0), p(void 0), S();
365702
+ function na(z) {
365703
+ r.current = z, s(z), m(void 0), p(void 0), S();
365695
365704
  }
365696
365705
  const [M, G] = en(!1);
365697
365706
  return Kn(() => {
365698
365707
  if (e)
365699
365708
  if (D) {
365700
- const j = dt({
365709
+ const z = dt({
365701
365710
  language: l,
365702
365711
  script: c,
365703
365712
  customDetails: N
365704
365713
  });
365705
- e(j, Hg(j)), G(!0);
365714
+ z.script && (z.script.isRtl = pD(z.script.code));
365715
+ const K = Hg(z);
365716
+ e(z, K), G(!0);
365706
365717
  } else M && (e(void 0, void 0), G(!1));
365707
365718
  }, [
365708
365719
  l,
@@ -365726,24 +365737,24 @@ const Vg = ({ icon: e, text: i, ...t }) => /* @__PURE__ */ vg(dS, {
365726
365737
  resetTo: U
365727
365738
  };
365728
365739
  };
365729
- function RF(e) {
365740
+ function qF(e) {
365730
365741
  var i, t, s, r;
365731
365742
  return !e.language || typeof ((i = e.customDetails) == null ? void 0 : i.customDisplayName) == "string" && !((s = (t = e.customDetails) == null ? void 0 : t.customDisplayName) != null && s.trim()) ? !1 : !!Og(e.language, e.script) || !!((r = e.customDetails) != null && r.customDisplayName);
365732
365743
  }
365733
365744
  function ry(e) {
365734
365745
  var t, s, r, l, m, c;
365735
365746
  const i = bt((t = e.customDetails) == null ? void 0 : t.dialect);
365736
- return !!e.language && RF(e) && // either a script is selected or there are no scripts for the selected language
365747
+ return !!e.language && qF(e) && // either a script is selected or there are no scripts for the selected language
365737
365748
  (!!e.script || ((r = (s = e.language) == null ? void 0 : s.scripts) == null ? void 0 : r.length) === 0) && // if unlisted language, name and country are required
365738
365749
  (!so(e.language) || !!i && !!((m = (l = e.customDetails) == null ? void 0 : l.region) != null && m.name)) && // if this was a manually entered langtag, check that tag is valid BCP 47
365739
365750
  (!oo(e.language) || WL((c = e.language) == null ? void 0 : c.manuallyEnteredTag));
365740
365751
  }
365741
- var Jg = {}, qF = Hn;
365752
+ var Jg = {}, EF = Hn;
365742
365753
  Object.defineProperty(Jg, "__esModule", {
365743
365754
  value: !0
365744
365755
  });
365745
- var gy = Jg.default = void 0, EF = qF(Zi()), HF = zi;
365746
- gy = Jg.default = (0, EF.default)(/* @__PURE__ */ (0, HF.jsx)("path", {
365756
+ var gy = Jg.default = void 0, HF = EF(Zi()), OF = zi;
365757
+ gy = Jg.default = (0, HF.default)(/* @__PURE__ */ (0, OF.jsx)("path", {
365747
365758
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
365748
365759
  }), "Info");
365749
365760
  const Nt = ({ label: e, required: i, ...t }) => {
@@ -365817,19 +365828,19 @@ const Nt = ({ label: e, required: i, ...t }) => {
365817
365828
  }
365818
365829
  };
365819
365830
  });
365820
- function OF() {
365821
- return SD().map((e) => ({
365831
+ function WF() {
365832
+ return vD().map((e) => ({
365822
365833
  label: e.name,
365823
365834
  id: e.code
365824
365835
  }));
365825
365836
  }
365826
- function WF() {
365827
- return vD().map((e) => ({
365837
+ function XF() {
365838
+ return kD().map((e) => ({
365828
365839
  label: e.name,
365829
365840
  id: e.code
365830
365841
  }));
365831
365842
  }
365832
- const XF = (e) => {
365843
+ const YF = (e) => {
365833
365844
  const { i18n: i, _: t } = wg(), s = !e.selectedLanguage || so(e.selectedLanguage), [r, l] = ya.useState(), [m, c] = ya.useState(), [p, h] = ya.useState(""), N = !s || bt(p) !== "" && !!m, T = gi();
365834
365845
  return ya.useEffect(() => {
365835
365846
  var S, D, F;
@@ -365939,7 +365950,7 @@ const XF = (e) => {
365939
365950
  name: D.label
365940
365951
  } : void 0);
365941
365952
  },
365942
- options: WF(),
365953
+ options: XF(),
365943
365954
  renderInput: (S) => /* @__PURE__ */ H(Qr, {
365944
365955
  ...S
365945
365956
  }),
@@ -365969,7 +365980,7 @@ const XF = (e) => {
365969
365980
  code: D.id
365970
365981
  } : void 0);
365971
365982
  },
365972
- options: OF(),
365983
+ options: WF(),
365973
365984
  renderInput: (S) => /* @__PURE__ */ H(Qr, {
365974
365985
  ...S
365975
365986
  }),
@@ -366151,14 +366162,14 @@ var qn = {}, go = {};
366151
366162
  Object.defineProperty(go, "__esModule", {
366152
366163
  value: !0
366153
366164
  });
366154
- go.on = YF;
366155
- go.off = VF;
366156
- function YF(e, i, t, s) {
366165
+ go.on = VF;
366166
+ go.off = JF;
366167
+ function VF(e, i, t, s) {
366157
366168
  s = s || !1, e.addEventListener ? e.addEventListener(i, t, s) : e.attachEvent && e.attachEvent("on" + i, function(r) {
366158
366169
  t.call(e, r || window.event);
366159
366170
  });
366160
366171
  }
366161
- function VF(e, i, t, s) {
366172
+ function JF(e, i, t, s) {
366162
366173
  s = s || !1, e.removeEventListener ? e.removeEventListener(i, t, s) : e.detachEvent && e.detachEvent("on" + i, t);
366163
366174
  }
366164
366175
  var Qg = {};
@@ -366186,8 +366197,8 @@ var $g = {};
366186
366197
  Object.defineProperty($g, "__esModule", {
366187
366198
  value: !0
366188
366199
  });
366189
- $g.default = JF;
366190
- function JF(e, i, t) {
366200
+ $g.default = QF;
366201
+ function QF(e, i, t) {
366191
366202
  var s = void 0, r = void 0, l = void 0, m = void 0, c = void 0, p = function h() {
366192
366203
  var N = +/* @__PURE__ */ new Date() - m;
366193
366204
  N < i && N >= 0 ? s = setTimeout(h, i - N) : (s = null, t || (c = e.apply(l, r), s || (l = null, r = null)));
@@ -366202,8 +366213,8 @@ var al = {};
366202
366213
  Object.defineProperty(al, "__esModule", {
366203
366214
  value: !0
366204
366215
  });
366205
- al.default = QF;
366206
- function QF(e, i, t) {
366216
+ al.default = $F;
366217
+ function $F(e, i, t) {
366207
366218
  i || (i = 250);
366208
366219
  var s, r;
366209
366220
  return function() {
@@ -366227,7 +366238,7 @@ var ly = /* @__PURE__ */ function() {
366227
366238
  return function(i, t, s) {
366228
366239
  return t && e(i.prototype, t), s && e(i, s), i;
366229
366240
  };
366230
- }(), el = se, Rs = Dt(el), $F = yL, qa = Dt($F), _i = go, aw = Qg, Tg = Dt(aw), ew = $g, nw = Dt(ew), iw = al, tw = Dt(iw);
366241
+ }(), el = se, Rs = Dt(el), aw = yL, qa = Dt(aw), _i = go, ew = Qg, Tg = Dt(ew), nw = $g, iw = Dt(nw), tw = al, sw = Dt(tw);
366231
366242
  function Dt(e) {
366232
366243
  return e && e.__esModule ? e : { default: e };
366233
366244
  }
@@ -366252,15 +366263,15 @@ var gn = {
366252
366263
  height: 0
366253
366264
  }, lt = "data-lazyload-listened", tn = [], xg = [], Ly = !1;
366254
366265
  try {
366255
- var sw = Object.defineProperty({}, "passive", {
366266
+ var ow = Object.defineProperty({}, "passive", {
366256
366267
  get: function() {
366257
366268
  Ly = !0;
366258
366269
  }
366259
366270
  });
366260
- window.addEventListener("test", null, sw);
366271
+ window.addEventListener("test", null, ow);
366261
366272
  } catch {
366262
366273
  }
366263
- var Bn = Ly ? { capture: !1, passive: !0 } : !1, ow = function(i, t) {
366274
+ var Bn = Ly ? { capture: !1, passive: !0 } : !1, rw = function(i, t) {
366264
366275
  var s = i.ref, r = void 0, l = void 0, m = void 0, c = void 0;
366265
366276
  try {
366266
366277
  var p = t.getBoundingClientRect();
@@ -366277,7 +366288,7 @@ var Bn = Ly ? { capture: !1, passive: !0 } : !1, ow = function(i, t) {
366277
366288
  }
366278
366289
  var W = d - T, f = I - S, J = Array.isArray(i.props.offset) ? i.props.offset : [i.props.offset, i.props.offset];
366279
366290
  return W - J[0] <= D && W + U + J[1] >= 0 && f - J[0] <= F && f + O + J[1] >= 0;
366280
- }, rw = function(i) {
366291
+ }, gw = function(i) {
366281
366292
  var t = i.ref;
366282
366293
  if (!(t.offsetWidth || t.offsetHeight || t.getClientRects().length)) return !1;
366283
366294
  var s = void 0, r = void 0;
@@ -366292,7 +366303,7 @@ var Bn = Ly ? { capture: !1, passive: !0 } : !1, ow = function(i, t) {
366292
366303
  }, yy = function(i) {
366293
366304
  var t = i.ref;
366294
366305
  if (t instanceof HTMLElement) {
366295
- var s = (0, Tg.default)(t), r = i.props.overflow && s !== t.ownerDocument && s !== document && s !== document.documentElement, l = r ? ow(i, s) : rw(i);
366306
+ var s = (0, Tg.default)(t), r = i.props.overflow && s !== t.ownerDocument && s !== document && s !== document.documentElement, l = r ? rw(i, s) : gw(i);
366296
366307
  l ? i.visible || (i.props.once && xg.push(i), i.visible = !0, i.forceUpdate()) : i.props.once && i.visible || (i.visible = !1, i.props.unmountIfInvisible && i.forceUpdate());
366297
366308
  }
366298
366309
  }, py = function() {
@@ -366306,13 +366317,13 @@ var Bn = Ly ? { capture: !1, passive: !0 } : !1, ow = function(i, t) {
366306
366317
  yy(t);
366307
366318
  }
366308
366319
  py();
366309
- }, gw = function() {
366320
+ }, lw = function() {
366310
366321
  for (var i = 0; i < tn.length; ++i) {
366311
366322
  var t = tn[i];
366312
366323
  t.visible = !0, t.forceUpdate();
366313
366324
  }
366314
366325
  py();
366315
- }, vs = void 0, Ce = null, lw = function(i) {
366326
+ }, vs = void 0, Ce = null, mw = function(i) {
366316
366327
  return typeof i == "string";
366317
366328
  }, lo = function(e) {
366318
366329
  cy(i, e);
@@ -366325,9 +366336,9 @@ var Bn = Ly ? { capture: !1, passive: !0 } : !1, ow = function(i, t) {
366325
366336
  key: "componentDidMount",
366326
366337
  value: function() {
366327
366338
  var s = window, r = this.props.scrollContainer;
366328
- r && lw(r) && (s = s.document.querySelector(r));
366339
+ r && mw(r) && (s = s.document.querySelector(r));
366329
366340
  var l = this.props.debounce !== void 0 && vs === "throttle" || vs === "debounce" && this.props.debounce === void 0;
366330
- if (l && ((0, _i.off)(s, "scroll", Ce, Bn), (0, _i.off)(window, "resize", Ce, Bn), Ce = null), Ce || (this.props.debounce !== void 0 ? (Ce = (0, nw.default)(Gs, typeof this.props.debounce == "number" ? this.props.debounce : 300), vs = "debounce") : this.props.throttle !== void 0 ? (Ce = (0, tw.default)(Gs, typeof this.props.throttle == "number" ? this.props.throttle : 300), vs = "throttle") : Ce = Gs), this.props.overflow) {
366341
+ if (l && ((0, _i.off)(s, "scroll", Ce, Bn), (0, _i.off)(window, "resize", Ce, Bn), Ce = null), Ce || (this.props.debounce !== void 0 ? (Ce = (0, iw.default)(Gs, typeof this.props.debounce == "number" ? this.props.debounce : 300), vs = "debounce") : this.props.throttle !== void 0 ? (Ce = (0, sw.default)(Gs, typeof this.props.throttle == "number" ? this.props.throttle : 300), vs = "throttle") : Ce = Gs), this.props.overflow) {
366331
366342
  var m = (0, Tg.default)(this.ref);
366332
366343
  if (m && typeof m.getAttribute == "function") {
366333
366344
  var c = 1 + +m.getAttribute(lt);
@@ -366404,9 +366415,9 @@ lo.defaultProps = {
366404
366415
  scroll: !0,
366405
366416
  unmountIfInvisible: !1
366406
366417
  };
366407
- var mw = function(i) {
366418
+ var uw = function(i) {
366408
366419
  return i.displayName || i.name || "Component";
366409
- }, uw = function() {
366420
+ }, cw = function() {
366410
366421
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
366411
366422
  return function(s) {
366412
366423
  return function(r) {
@@ -366414,7 +366425,7 @@ var mw = function(i) {
366414
366425
  function l() {
366415
366426
  my(this, l);
366416
366427
  var m = uy(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this));
366417
- return m.displayName = "LazyLoad" + mw(s), m;
366428
+ return m.displayName = "LazyLoad" + uw(s), m;
366418
366429
  }
366419
366430
  return ly(l, [{
366420
366431
  key: "render",
@@ -366429,11 +366440,11 @@ var mw = function(i) {
366429
366440
  }(el.Component);
366430
366441
  };
366431
366442
  };
366432
- qn.lazyload = uw;
366433
- var cw = qn.default = lo;
366443
+ qn.lazyload = cw;
366444
+ var Lw = qn.default = lo;
366434
366445
  qn.forceCheck = Gs;
366435
- qn.forceVisible = gw;
366436
- const Lw = (e, i, t) => {
366446
+ qn.forceVisible = lw;
366447
+ const yw = (e, i, t) => {
366437
366448
  const s = e[i];
366438
366449
  return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((r, l) => {
366439
366450
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -366470,8 +366481,8 @@ var mo = {}, hy = {}, dy = { exports: {} };
366470
366481
  }
366471
366482
  function h(M) {
366472
366483
  if (!M.length) return "(?!)";
366473
- var G = M.map(function(j) {
366474
- return "(?:" + j + ")";
366484
+ var G = M.map(function(z) {
366485
+ return "(?:" + z + ")";
366475
366486
  }).join("|");
366476
366487
  return "(?:" + G + ")";
366477
366488
  }
@@ -366491,49 +366502,49 @@ var mo = {}, hy = {}, dy = { exports: {} };
366491
366502
  return M.length > G ? M : Array(G - M.length + 1).join(" ") + M;
366492
366503
  }
366493
366504
  function S(M, G) {
366494
- for (var j = M.length, Z = 0; ; ) {
366505
+ for (var z = M.length, K = 0; ; ) {
366495
366506
  var Y = M.lastIndexOf(`
366496
- `, j - 1);
366497
- if (Y === -1 || (Z++, j = Y, Z === G) || j === 0)
366507
+ `, z - 1);
366508
+ if (Y === -1 || (K++, z = Y, K === G) || z === 0)
366498
366509
  break;
366499
366510
  }
366500
- var K = Z < G ? 0 : j + 1;
366501
- return M.substring(K).split(`
366511
+ var Z = K < G ? 0 : z + 1;
366512
+ return M.substring(Z).split(`
366502
366513
  `);
366503
366514
  }
366504
366515
  function D(M) {
366505
- for (var G = Object.getOwnPropertyNames(M), j = [], Z = 0; Z < G.length; Z++) {
366506
- var Y = G[Z], K = M[Y], aa = [].concat(K);
366516
+ for (var G = Object.getOwnPropertyNames(M), z = [], K = 0; K < G.length; K++) {
366517
+ var Y = G[K], Z = M[Y], aa = [].concat(Z);
366507
366518
  if (Y === "include") {
366508
366519
  for (var da = 0; da < aa.length; da++)
366509
- j.push({ include: aa[da] });
366520
+ z.push({ include: aa[da] });
366510
366521
  continue;
366511
366522
  }
366512
366523
  var xa = [];
366513
366524
  aa.forEach(function(_) {
366514
- l(_) ? (xa.length && j.push(d(Y, xa)), j.push(d(Y, _)), xa = []) : xa.push(_);
366515
- }), xa.length && j.push(d(Y, xa));
366525
+ l(_) ? (xa.length && z.push(d(Y, xa)), z.push(d(Y, _)), xa = []) : xa.push(_);
366526
+ }), xa.length && z.push(d(Y, xa));
366516
366527
  }
366517
- return j;
366528
+ return z;
366518
366529
  }
366519
366530
  function F(M) {
366520
- for (var G = [], j = 0; j < M.length; j++) {
366521
- var Z = M[j];
366522
- if (Z.include) {
366523
- for (var Y = [].concat(Z.include), K = 0; K < Y.length; K++)
366524
- G.push({ include: Y[K] });
366531
+ for (var G = [], z = 0; z < M.length; z++) {
366532
+ var K = M[z];
366533
+ if (K.include) {
366534
+ for (var Y = [].concat(K.include), Z = 0; Z < Y.length; Z++)
366535
+ G.push({ include: Y[Z] });
366525
366536
  continue;
366526
366537
  }
366527
- if (!Z.type)
366528
- throw new Error("Rule has no type: " + JSON.stringify(Z));
366529
- G.push(d(Z.type, Z));
366538
+ if (!K.type)
366539
+ throw new Error("Rule has no type: " + JSON.stringify(K));
366540
+ G.push(d(K.type, K));
366530
366541
  }
366531
366542
  return G;
366532
366543
  }
366533
366544
  function d(M, G) {
366534
366545
  if (l(G) || (G = { match: G }), G.include)
366535
366546
  throw new Error("Matching rules cannot also include states");
366536
- var j = {
366547
+ var z = {
366537
366548
  defaultType: M,
366538
366549
  lineBreaks: !!G.error || !!G.fallback,
366539
366550
  pop: !1,
@@ -366545,36 +366556,36 @@ var mo = {}, hy = {}, dy = { exports: {} };
366545
366556
  type: null,
366546
366557
  shouldThrow: !1
366547
366558
  };
366548
- for (var Z in G)
366549
- i.call(G, Z) && (j[Z] = G[Z]);
366550
- if (typeof j.type == "string" && M !== j.type)
366551
- throw new Error("Type transform cannot be a string (type '" + j.type + "' for token '" + M + "')");
366552
- var Y = j.match;
366553
- return j.match = Array.isArray(Y) ? Y : Y ? [Y] : [], j.match.sort(function(K, aa) {
366554
- return r(K) && r(aa) ? 0 : r(aa) ? -1 : r(K) ? 1 : aa.length - K.length;
366555
- }), j;
366559
+ for (var K in G)
366560
+ i.call(G, K) && (z[K] = G[K]);
366561
+ if (typeof z.type == "string" && M !== z.type)
366562
+ throw new Error("Type transform cannot be a string (type '" + z.type + "' for token '" + M + "')");
366563
+ var Y = z.match;
366564
+ return z.match = Array.isArray(Y) ? Y : Y ? [Y] : [], z.match.sort(function(Z, aa) {
366565
+ return r(Z) && r(aa) ? 0 : r(aa) ? -1 : r(Z) ? 1 : aa.length - Z.length;
366566
+ }), z;
366556
366567
  }
366557
366568
  function I(M) {
366558
366569
  return Array.isArray(M) ? F(M) : D(M);
366559
366570
  }
366560
366571
  var U = d("error", { lineBreaks: !0, shouldThrow: !0 });
366561
366572
  function O(M, G) {
366562
- for (var j = null, Z = /* @__PURE__ */ Object.create(null), Y = !0, K = null, aa = [], da = [], xa = 0; xa < M.length; xa++)
366573
+ for (var z = null, K = /* @__PURE__ */ Object.create(null), Y = !0, Z = null, aa = [], da = [], xa = 0; xa < M.length; xa++)
366563
366574
  M[xa].fallback && (Y = !1);
366564
366575
  for (var xa = 0; xa < M.length; xa++) {
366565
366576
  var _ = M[xa];
366566
366577
  if (_.include)
366567
366578
  throw new Error("Inheritance is not allowed in stateless lexers");
366568
366579
  if (_.error || _.fallback) {
366569
- if (j)
366570
- throw !_.fallback == !j.fallback ? new Error("Multiple " + (_.fallback ? "fallback" : "error") + " rules not allowed (for token '" + _.defaultType + "')") : new Error("fallback and error are mutually exclusive (for token '" + _.defaultType + "')");
366571
- j = _;
366580
+ if (z)
366581
+ throw !_.fallback == !z.fallback ? new Error("Multiple " + (_.fallback ? "fallback" : "error") + " rules not allowed (for token '" + _.defaultType + "')") : new Error("fallback and error are mutually exclusive (for token '" + _.defaultType + "')");
366582
+ z = _;
366572
366583
  }
366573
366584
  var R = _.match.slice();
366574
366585
  if (Y)
366575
366586
  for (; R.length && typeof R[0] == "string" && R[0].length === 1; ) {
366576
366587
  var ma = R.shift();
366577
- Z[ma.charCodeAt(0)] = _;
366588
+ K[ma.charCodeAt(0)] = _;
366578
366589
  }
366579
366590
  if (_.pop || _.push || _.next) {
366580
366591
  if (!G)
@@ -366587,9 +366598,9 @@ var mo = {}, hy = {}, dy = { exports: {} };
366587
366598
  for (var ra = 0; ra < R.length; ra++) {
366588
366599
  var ia = R[ra];
366589
366600
  if (r(ia)) {
366590
- if (K === null)
366591
- K = ia.unicode;
366592
- else if (K !== ia.unicode && _.fallback === !1)
366601
+ if (Z === null)
366602
+ Z = ia.unicode;
366603
+ else if (Z !== ia.unicode && _.fallback === !1)
366593
366604
  throw new Error("If one rule is /u then all must be");
366594
366605
  }
366595
366606
  }
@@ -366606,33 +366617,33 @@ Use (?: … ) instead`);
366606
366617
  da.push(p(ga));
366607
366618
  }
366608
366619
  }
366609
- var ua = j && j.fallback, pa = s && !ua ? "ym" : "gm", ba = s || ua ? "" : "|";
366610
- K === !0 && (pa += "u");
366620
+ var ua = z && z.fallback, pa = s && !ua ? "ym" : "gm", ba = s || ua ? "" : "|";
366621
+ Z === !0 && (pa += "u");
366611
366622
  var Xa = new RegExp(h(da) + ba, pa);
366612
- return { regexp: Xa, groups: aa, fast: Z, error: j || U };
366623
+ return { regexp: Xa, groups: aa, fast: K, error: z || U };
366613
366624
  }
366614
366625
  function E(M) {
366615
366626
  var G = O(I(M));
366616
366627
  return new q({ start: G }, "start");
366617
366628
  }
366618
- function W(M, G, j) {
366619
- var Z = M && (M.push || M.next);
366620
- if (Z && !j[Z])
366621
- throw new Error("Missing state '" + Z + "' (in token '" + M.defaultType + "' of state '" + G + "')");
366629
+ function W(M, G, z) {
366630
+ var K = M && (M.push || M.next);
366631
+ if (K && !z[K])
366632
+ throw new Error("Missing state '" + K + "' (in token '" + M.defaultType + "' of state '" + G + "')");
366622
366633
  if (M && M.pop && +M.pop != 1)
366623
366634
  throw new Error("pop must be 1 (in token '" + M.defaultType + "' of state '" + G + "')");
366624
366635
  }
366625
366636
  function f(M, G) {
366626
- var j = M.$all ? I(M.$all) : [];
366637
+ var z = M.$all ? I(M.$all) : [];
366627
366638
  delete M.$all;
366628
- var Z = Object.getOwnPropertyNames(M);
366629
- G || (G = Z[0]);
366630
- for (var Y = /* @__PURE__ */ Object.create(null), K = 0; K < Z.length; K++) {
366631
- var aa = Z[K];
366632
- Y[aa] = I(M[aa]).concat(j);
366633
- }
366634
- for (var K = 0; K < Z.length; K++)
366635
- for (var aa = Z[K], da = Y[aa], xa = /* @__PURE__ */ Object.create(null), _ = 0; _ < da.length; _++) {
366639
+ var K = Object.getOwnPropertyNames(M);
366640
+ G || (G = K[0]);
366641
+ for (var Y = /* @__PURE__ */ Object.create(null), Z = 0; Z < K.length; Z++) {
366642
+ var aa = K[Z];
366643
+ Y[aa] = I(M[aa]).concat(z);
366644
+ }
366645
+ for (var Z = 0; Z < K.length; Z++)
366646
+ for (var aa = K[Z], da = Y[aa], xa = /* @__PURE__ */ Object.create(null), _ = 0; _ < da.length; _++) {
366636
366647
  var R = da[_];
366637
366648
  if (R.include) {
366638
366649
  var ma = [_, 1];
@@ -366649,12 +366660,12 @@ Use (?: … ) instead`);
366649
366660
  da.splice.apply(da, ma), _--;
366650
366661
  }
366651
366662
  }
366652
- for (var ea = /* @__PURE__ */ Object.create(null), K = 0; K < Z.length; K++) {
366653
- var aa = Z[K];
366663
+ for (var ea = /* @__PURE__ */ Object.create(null), Z = 0; Z < K.length; Z++) {
366664
+ var aa = K[Z];
366654
366665
  ea[aa] = O(Y[aa], !0);
366655
366666
  }
366656
- for (var K = 0; K < Z.length; K++) {
366657
- for (var ca = Z[K], ua = ea[ca], pa = ua.groups, _ = 0; _ < pa.length; _++)
366667
+ for (var Z = 0; Z < K.length; Z++) {
366668
+ for (var ca = K[Z], ua = ea[ca], pa = ua.groups, _ = 0; _ < pa.length; _++)
366658
366669
  W(pa[_], ca, ea);
366659
366670
  for (var ba = Object.getOwnPropertyNames(ua.fast), _ = 0; _ < ba.length; _++)
366660
366671
  W(ua.fast[ba[_]], ca, ea);
@@ -366662,16 +366673,16 @@ Use (?: … ) instead`);
366662
366673
  return new q(ea, G);
366663
366674
  }
366664
366675
  function J(M) {
366665
- for (var G = typeof Map < "u", j = G ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null), Z = Object.getOwnPropertyNames(M), Y = 0; Y < Z.length; Y++) {
366666
- var K = Z[Y], aa = M[K], da = Array.isArray(aa) ? aa : [aa];
366676
+ for (var G = typeof Map < "u", z = G ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null), K = Object.getOwnPropertyNames(M), Y = 0; Y < K.length; Y++) {
366677
+ var Z = K[Y], aa = M[Z], da = Array.isArray(aa) ? aa : [aa];
366667
366678
  da.forEach(function(xa) {
366668
366679
  if (typeof xa != "string")
366669
- throw new Error("keyword must be string (in keyword '" + K + "')");
366670
- G ? j.set(xa, K) : j[xa] = K;
366680
+ throw new Error("keyword must be string (in keyword '" + Z + "')");
366681
+ G ? z.set(xa, Z) : z[xa] = Z;
366671
366682
  });
366672
366683
  }
366673
366684
  return function(xa) {
366674
- return G ? j.get(xa) : j[xa];
366685
+ return G ? z.get(xa) : z[xa];
366675
366686
  };
366676
366687
  }
366677
366688
  var q = function(M, G) {
@@ -366703,13 +366714,13 @@ Use (?: … ) instead`);
366703
366714
  var ka = s ? function(M, G) {
366704
366715
  return M.exec(G);
366705
366716
  } : function(M, G) {
366706
- var j = M.exec(G);
366707
- return j[0].length === 0 ? null : j;
366717
+ var z = M.exec(G);
366718
+ return z[0].length === 0 ? null : z;
366708
366719
  };
366709
366720
  q.prototype._getGroup = function(M) {
366710
- for (var G = this.groups.length, j = 0; j < G; j++)
366711
- if (M[j + 1] !== void 0)
366712
- return this.groups[j];
366721
+ for (var G = this.groups.length, z = 0; z < G; z++)
366722
+ if (M[z + 1] !== void 0)
366723
+ return this.groups[z];
366713
366724
  throw new Error("Cannot find token type for matched text");
366714
366725
  };
366715
366726
  function Fa() {
@@ -366721,41 +366732,41 @@ Use (?: … ) instead`);
366721
366732
  var G = this._token(this.queuedGroup, this.queuedText, M);
366722
366733
  return this.queuedGroup = null, this.queuedText = "", G;
366723
366734
  }
366724
- var j = this.buffer;
366725
- if (M !== j.length) {
366726
- var aa = this.fast[j.charCodeAt(M)];
366735
+ var z = this.buffer;
366736
+ if (M !== z.length) {
366737
+ var aa = this.fast[z.charCodeAt(M)];
366727
366738
  if (aa)
366728
- return this._token(aa, j.charAt(M), M);
366729
- var Z = this.re;
366730
- Z.lastIndex = M;
366731
- var Y = ka(Z, j), K = this.error;
366739
+ return this._token(aa, z.charAt(M), M);
366740
+ var K = this.re;
366741
+ K.lastIndex = M;
366742
+ var Y = ka(K, z), Z = this.error;
366732
366743
  if (Y == null)
366733
- return this._token(K, j.slice(M, j.length), M);
366744
+ return this._token(Z, z.slice(M, z.length), M);
366734
366745
  var aa = this._getGroup(Y), da = Y[0];
366735
- return K.fallback && Y.index !== M ? (this.queuedGroup = aa, this.queuedText = da, this._token(K, j.slice(M, Y.index), M)) : this._token(aa, da, M);
366746
+ return Z.fallback && Y.index !== M ? (this.queuedGroup = aa, this.queuedText = da, this._token(Z, z.slice(M, Y.index), M)) : this._token(aa, da, M);
366736
366747
  }
366737
- }, q.prototype._token = function(M, G, j) {
366738
- var Z = 0;
366748
+ }, q.prototype._token = function(M, G, z) {
366749
+ var K = 0;
366739
366750
  if (M.lineBreaks) {
366740
- var Y = /\n/g, K = 1;
366751
+ var Y = /\n/g, Z = 1;
366741
366752
  if (G === `
366742
366753
  `)
366743
- Z = 1;
366754
+ K = 1;
366744
366755
  else
366745
366756
  for (; Y.exec(G); )
366746
- Z++, K = Y.lastIndex;
366757
+ K++, Z = Y.lastIndex;
366747
366758
  }
366748
366759
  var aa = {
366749
366760
  type: typeof M.type == "function" && M.type(G) || M.defaultType,
366750
366761
  value: typeof M.value == "function" ? M.value(G) : G,
366751
366762
  text: G,
366752
366763
  toString: Fa,
366753
- offset: j,
366754
- lineBreaks: Z,
366764
+ offset: z,
366765
+ lineBreaks: K,
366755
366766
  line: this.line,
366756
366767
  col: this.col
366757
366768
  }, da = G.length;
366758
- if (this.index += da, this.line += Z, Z !== 0 ? this.col = da - K + 1 : this.col += da, M.shouldThrow) {
366769
+ if (this.index += da, this.line += K, K !== 0 ? this.col = da - Z + 1 : this.col += da, M.shouldThrow) {
366759
366770
  var xa = new Error(this.formatError(aa, "invalid syntax"));
366760
366771
  throw xa;
366761
366772
  }
@@ -366775,17 +366786,17 @@ Use (?: … ) instead`);
366775
366786
  }
366776
366787
  return q.prototype.formatError = function(M, G) {
366777
366788
  if (M == null)
366778
- var j = this.buffer.slice(this.index), M = {
366779
- text: j,
366789
+ var z = this.buffer.slice(this.index), M = {
366790
+ text: z,
366780
366791
  offset: this.index,
366781
- lineBreaks: j.indexOf(`
366792
+ lineBreaks: z.indexOf(`
366782
366793
  `) === -1 ? 0 : 1,
366783
366794
  line: this.line,
366784
366795
  col: this.col
366785
366796
  };
366786
- var Z = 2, Y = Math.max(M.line - Z, 1), K = M.line + Z, aa = String(K).length, da = S(
366797
+ var K = 2, Y = Math.max(M.line - K, 1), Z = M.line + K, aa = String(Z).length, da = S(
366787
366798
  this.buffer,
366788
- this.line - M.line + Z + 1
366799
+ this.line - M.line + K + 1
366789
366800
  ).slice(0, 5), xa = [];
366790
366801
  xa.push(G + " at line " + M.line + " col " + M.col + ":"), xa.push("");
366791
366802
  for (var _ = 0; _ < da.length; _++) {
@@ -366807,13 +366818,13 @@ Use (?: … ) instead`);
366807
366818
  };
366808
366819
  });
366809
366820
  })(dy);
366810
- var yw = dy.exports;
366821
+ var pw = dy.exports;
366811
366822
  (function(e) {
366812
366823
  var i = Zn && Zn.__importDefault || function(s) {
366813
366824
  return s && s.__esModule ? s : { default: s };
366814
366825
  };
366815
366826
  Object.defineProperty(e, "__esModule", { value: !0 }), e.lexer = e.states = void 0;
366816
- const t = i(yw);
366827
+ const t = i(pw);
366817
366828
  e.states = {
366818
366829
  body: {
366819
366830
  doubleapos: { match: "''", value: () => "'" },
@@ -366870,7 +366881,7 @@ var yw = dy.exports;
366870
366881
  })(hy);
366871
366882
  Object.defineProperty(mo, "__esModule", { value: !0 });
366872
366883
  mo.ParseError = void 0;
366873
- var pw = mo.parse = Nw;
366884
+ var hw = mo.parse = Tw;
366874
366885
  const by = hy, ks = (e) => ({
366875
366886
  offset: e.offset,
366876
366887
  line: e.line,
@@ -366878,7 +366889,7 @@ const by = hy, ks = (e) => ({
366878
366889
  text: e.text,
366879
366890
  lineBreaks: e.lineBreaks
366880
366891
  }), Yr = (e) => e === "plural" || e === "select" || e === "selectordinal";
366881
- function hw(e, i) {
366892
+ function dw(e, i) {
366882
366893
  let t = "", s = "";
366883
366894
  for (const l of i) {
366884
366895
  const m = l.ctx.text;
@@ -366901,7 +366912,7 @@ function hw(e, i) {
366901
366912
  ctx: Object.assign({}, i[0].ctx, { text: s })
366902
366913
  }];
366903
366914
  }
366904
- const dw = [
366915
+ const bw = [
366905
366916
  "number",
366906
366917
  "date",
366907
366918
  "time",
@@ -366916,7 +366927,7 @@ class le extends Error {
366916
366927
  }
366917
366928
  }
366918
366929
  mo.ParseError = le;
366919
- class bw {
366930
+ class Nw {
366920
366931
  constructor(i, t) {
366921
366932
  var s, r, l, m;
366922
366933
  this.lexer = by.lexer.reset(i), this.cardinalKeys = (s = t == null ? void 0 : t.cardinal) !== null && s !== void 0 ? s : Pc, this.ordinalKeys = (r = t == null ? void 0 : t.ordinal) !== null && r !== void 0 ? r : Pc, this.strict = (l = t == null ? void 0 : t.strict) !== null && l !== void 0 ? l : !1, this.strictPluralKeys = (m = t == null ? void 0 : t.strictPluralKeys) !== null && m !== void 0 ? m : !0;
@@ -366967,7 +366978,7 @@ class bw {
366967
366978
  const s = ks(i), r = this.lexer.next();
366968
366979
  if (!r)
366969
366980
  throw new le(null, "Unexpected message end");
366970
- if (s.text += r.text, s.lineBreaks += r.lineBreaks, this.strict && (r.type === "func-simple" || r.type === "func-args") && !dw.includes(r.value)) {
366981
+ if (s.text += r.text, s.lineBreaks += r.lineBreaks, this.strict && (r.type === "func-simple" || r.type === "func-args") && !bw.includes(r.value)) {
366971
366982
  const l = `Invalid strict mode function arg type: ${r.value}`;
366972
366983
  throw new le(i, l);
366973
366984
  }
@@ -366995,7 +367006,7 @@ class bw {
366995
367006
  throw new le(r, m);
366996
367007
  }
366997
367008
  let l = this.parseBody(this.strict ? !1 : t);
366998
- return this.strict && l.length > 0 && (l = hw(i, l)), {
367009
+ return this.strict && l.length > 0 && (l = dw(i, l)), {
366999
367010
  type: "function",
367000
367011
  arg: i.value,
367001
367012
  key: r.value,
@@ -367039,8 +367050,8 @@ class bw {
367039
367050
  throw new le(null, "Unexpected message end");
367040
367051
  }
367041
367052
  }
367042
- function Nw(e, i = {}) {
367043
- return new bw(e, i).parse();
367053
+ function Tw(e, i = {}) {
367054
+ return new Nw(e, i).parse();
367044
367055
  }
367045
367056
  class oi extends Error {
367046
367057
  /** @internal */
@@ -367049,7 +367060,7 @@ class oi extends Error {
367049
367060
  }
367050
367061
  }
367051
367062
  const Ny = (e) => e < 4 ? "short" : e === 4 ? "long" : "narrow", Tt = (e) => e % 2 === 0 ? "2-digit" : "numeric";
367052
- function Tw(e, i) {
367063
+ function xw(e, i) {
367053
367064
  switch (e.char) {
367054
367065
  case "y":
367055
367066
  return { year: Tt(e.width) };
@@ -367062,7 +367073,7 @@ function Tw(e, i) {
367062
367073
  return i(`${e.desc} is not supported; falling back to year:numeric`, oi.WARNING), { year: "numeric" };
367063
367074
  }
367064
367075
  }
367065
- function xw(e, i) {
367076
+ function Sw(e, i) {
367066
367077
  switch (e.width) {
367067
367078
  case 1:
367068
367079
  return "numeric";
@@ -367079,13 +367090,13 @@ function xw(e, i) {
367079
367090
  return;
367080
367091
  }
367081
367092
  }
367082
- function Sw(e, i) {
367093
+ function vw(e, i) {
367083
367094
  const { char: t, desc: s, width: r } = e;
367084
367095
  if (t === "d")
367085
367096
  return Tt(r);
367086
367097
  i(`${s} is not supported`);
367087
367098
  }
367088
- function vw(e, i) {
367099
+ function kw(e, i) {
367089
367100
  const { char: t, desc: s, width: r } = e;
367090
367101
  if ((t === "c" || t === "e") && r < 3) {
367091
367102
  const l = `Numeric value is not supported for ${s}; falling back to weekday:short`;
@@ -367093,7 +367104,7 @@ function vw(e, i) {
367093
367104
  }
367094
367105
  return Ny(r);
367095
367106
  }
367096
- function kw(e) {
367107
+ function Mw(e) {
367097
367108
  const i = Tt(e.width);
367098
367109
  let t;
367099
367110
  switch (e.char) {
@@ -367112,7 +367123,7 @@ function kw(e) {
367112
367123
  }
367113
367124
  return t ? { hour: i, hourCycle: t } : { hour: i };
367114
367125
  }
367115
- function Mw(e, i) {
367126
+ function fw(e, i) {
367116
367127
  const { char: t, desc: s, width: r } = e;
367117
367128
  switch (t) {
367118
367129
  case "v":
@@ -367129,28 +367140,28 @@ function Mw(e, i) {
367129
367140
  }
367130
367141
  return "short";
367131
367142
  }
367132
- function fw(e, i) {
367143
+ function Dw(e, i) {
367133
367144
  switch (e.field) {
367134
367145
  case "era":
367135
367146
  return { era: Ny(e.width) };
367136
367147
  case "year":
367137
- return Tw(e, i);
367148
+ return xw(e, i);
367138
367149
  case "month":
367139
- return { month: xw(e, i) };
367150
+ return { month: Sw(e, i) };
367140
367151
  case "day":
367141
- return { day: Sw(e, i) };
367152
+ return { day: vw(e, i) };
367142
367153
  case "weekday":
367143
- return { weekday: vw(e, i) };
367154
+ return { weekday: kw(e, i) };
367144
367155
  case "period":
367145
367156
  return;
367146
367157
  case "hour":
367147
- return kw(e);
367158
+ return Mw(e);
367148
367159
  case "min":
367149
367160
  return { minute: Tt(e.width) };
367150
367161
  case "sec":
367151
367162
  return { second: Tt(e.width) };
367152
367163
  case "tz":
367153
- return { timeZoneName: Mw(e, i) };
367164
+ return { timeZoneName: fw(e, i) };
367154
367165
  case "quarter":
367155
367166
  case "week":
367156
367167
  case "sec-frac":
@@ -367158,7 +367169,7 @@ function fw(e, i) {
367158
367169
  i(`${e.desc} is not supported`);
367159
367170
  }
367160
367171
  }
367161
- function Dw(e, i, t = (s) => {
367172
+ function Fw(e, i, t = (s) => {
367162
367173
  throw s;
367163
367174
  }) {
367164
367175
  const s = {
@@ -367175,12 +367186,12 @@ function Dw(e, i, t = (s) => {
367175
367186
  t(new oi(N, l, oi.WARNING));
367176
367187
  }
367177
367188
  c && (r.indexOf(c) === -1 ? r.push(c) : t(new oi(`Duplicate ${c} token`, l)));
367178
- const h = fw(l, (N, T) => t(new oi(N, l, T)));
367189
+ const h = Dw(l, (N, T) => t(new oi(N, l, T)));
367179
367190
  h && Object.assign(s, h);
367180
367191
  }
367181
367192
  return s;
367182
367193
  }
367183
- const Fw = {
367194
+ const ww = {
367184
367195
  G: { field: "era", desc: "Era" },
367185
367196
  y: { field: "year", desc: "Year" },
367186
367197
  Y: { field: "year", desc: 'Year of "Week of Year"' },
@@ -367222,19 +367233,19 @@ const Fw = {
367222
367233
  X: { field: "tz", desc: "Time Zone: ISO8601 with Z" },
367223
367234
  x: { field: "tz", desc: "Time Zone: ISO8601" }
367224
367235
  }, Ac = (e) => e >= "A" && e <= "Z" || e >= "a" && e <= "z";
367225
- function ww(e, i) {
367236
+ function _w(e, i) {
367226
367237
  const t = e[i];
367227
367238
  let s = 1;
367228
367239
  for (; e[++i] === t; )
367229
367240
  ++s;
367230
- const r = Fw[t];
367241
+ const r = ww[t];
367231
367242
  if (!r) {
367232
367243
  const l = `The letter ${t} is not a valid field identifier`;
367233
367244
  return { char: t, error: new Error(l), width: s };
367234
367245
  }
367235
367246
  return { char: t, field: r.field, desc: r.desc, width: s };
367236
367247
  }
367237
- function _w(e, i) {
367248
+ function Iw(e, i) {
367238
367249
  let t = e[++i], s = 2;
367239
367250
  if (t === "'")
367240
367251
  return { char: "'", str: t, width: s };
@@ -367251,14 +367262,14 @@ function _w(e, i) {
367251
367262
  t += r;
367252
367263
  }
367253
367264
  }
367254
- function Iw(e, i) {
367265
+ function Cw(e, i) {
367255
367266
  const t = e[i];
367256
367267
  if (!t)
367257
367268
  return null;
367258
367269
  if (Ac(t))
367259
- return ww(e, i);
367260
- if (t === "'")
367261
367270
  return _w(e, i);
367271
+ if (t === "'")
367272
+ return Iw(e, i);
367262
367273
  let s = t, r = 1;
367263
367274
  for (; ; ) {
367264
367275
  const l = e[++i];
@@ -367267,11 +367278,11 @@ function Iw(e, i) {
367267
367278
  s += l, r += 1;
367268
367279
  }
367269
367280
  }
367270
- function Cw(e) {
367281
+ function Gw(e) {
367271
367282
  const i = [];
367272
367283
  let t = 0;
367273
367284
  for (; ; ) {
367274
- const s = Iw(e, t);
367285
+ const s = Cw(e, t);
367275
367286
  if (!s)
367276
367287
  return i;
367277
367288
  i.push(s), t += s.width;
@@ -367289,7 +367300,7 @@ function Ty(e, i) {
367289
367300
  if (t.type === "function") {
367290
367301
  const m = (l = t == null ? void 0 : t.param) == null ? void 0 : l[0];
367291
367302
  if (t.key === "date" && m) {
367292
- const c = Gw(m.value.trim(), (p) => {
367303
+ const c = Pw(m.value.trim(), (p) => {
367293
367304
  throw new Error(`Unable to compile date expression: ${p.message}`);
367294
367305
  });
367295
367306
  return [t.arg, t.key, c];
@@ -367310,26 +367321,26 @@ function Ty(e, i) {
367310
367321
  ];
367311
367322
  }) : e.map((t) => i(t.value));
367312
367323
  }
367313
- function Gw(e, i) {
367324
+ function Pw(e, i) {
367314
367325
  if (/^::/.test(e)) {
367315
- const t = Cw(e.substring(2));
367316
- return Dw(t, void 0, i);
367326
+ const t = Gw(e.substring(2));
367327
+ return Fw(t, void 0, i);
367317
367328
  }
367318
367329
  return e;
367319
367330
  }
367320
- function Pw(e, i = (t) => t) {
367321
- return Ty(pw(e), i);
367322
- }
367323
367331
  function Aw(e, i = (t) => t) {
367332
+ return Ty(hw(e), i);
367333
+ }
367334
+ function zw(e, i = (t) => t) {
367324
367335
  try {
367325
- return Pw(e, i);
367336
+ return Aw(e, i);
367326
367337
  } catch (t) {
367327
367338
  return console.error(`${t.message}
367328
367339
 
367329
367340
  Message: ${e}`), [e];
367330
367341
  }
367331
367342
  }
367332
- const Rn = (e) => typeof e == "string", zw = (e) => typeof e == "function", zc = /* @__PURE__ */ new Map(), xy = "en";
367343
+ const Rn = (e) => typeof e == "string", jw = (e) => typeof e == "function", zc = /* @__PURE__ */ new Map(), xy = "en";
367333
367344
  function nl(e) {
367334
367345
  return [...Array.isArray(e) ? e : [e], xy];
367335
367346
  }
@@ -367359,7 +367370,7 @@ function il(e, i, t) {
367359
367370
  () => new Intl.DateTimeFormat(s, r)
367360
367371
  ).format(Rn(i) ? new Date(i) : i);
367361
367372
  }
367362
- function jw(e, i, t) {
367373
+ function Bw(e, i, t) {
367363
367374
  let s;
367364
367375
  if (t || (t = "default"), typeof t == "string")
367365
367376
  switch (s = {
@@ -367416,7 +367427,7 @@ const Sy = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/, vy = (e) => e.replace(
367416
367427
  return String.fromCharCode(r);
367417
367428
  }
367418
367429
  }
367419
- ), ky = "%__lingui_octothorpe__%", Bw = (e, i, t = {}) => {
367430
+ ), ky = "%__lingui_octothorpe__%", Kw = (e, i, t = {}) => {
367420
367431
  const s = i || e, r = (m) => typeof m == "object" ? m : t[m], l = (m, c) => {
367421
367432
  const p = Object.keys(t).length ? r("number") : void 0, h = Sg(s, m, p);
367422
367433
  return c.replace(new RegExp(ky, "g"), h);
@@ -367430,19 +367441,19 @@ const Sy = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/, vy = (e) => e.replace(
367430
367441
  const { offset: p = 0 } = c, h = jc(s, !0, m, c);
367431
367442
  return l(m - p, h);
367432
367443
  },
367433
- select: Kw,
367444
+ select: Zw,
367434
367445
  number: (m, c) => Sg(
367435
367446
  s,
367436
367447
  m,
367437
367448
  r(c) || { style: c }
367438
367449
  ),
367439
367450
  date: (m, c) => il(s, m, r(c) || c),
367440
- time: (m, c) => jw(s, m, r(c) || c)
367451
+ time: (m, c) => Bw(s, m, r(c) || c)
367441
367452
  };
367442
- }, Kw = (e, i) => i[e] ?? i.other;
367443
- function Zw(e, i, t) {
367453
+ }, Zw = (e, i) => i[e] ?? i.other;
367454
+ function Uw(e, i, t) {
367444
367455
  return (s = {}, r) => {
367445
- const l = Bw(i, t, r), m = (p, h = !1) => Array.isArray(p) ? p.reduce((N, T) => {
367456
+ const l = Kw(i, t, r), m = (p, h = !1) => Array.isArray(p) ? p.reduce((N, T) => {
367446
367457
  if (T === "#" && h)
367447
367458
  return N + ky;
367448
367459
  if (Rn(T))
@@ -367468,10 +367479,10 @@ function Zw(e, i, t) {
367468
367479
  return Rn(c) && Sy.test(c) ? vy(c) : Rn(c) ? c : c ? String(c) : "";
367469
367480
  };
367470
367481
  }
367471
- var Uw = Object.defineProperty, Rw = (e, i, t) => i in e ? Uw(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, qw = (e, i, t) => (Rw(e, i + "", t), t);
367472
- class Ew {
367482
+ var Rw = Object.defineProperty, qw = (e, i, t) => i in e ? Rw(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, Ew = (e, i, t) => (qw(e, i + "", t), t);
367483
+ class Hw {
367473
367484
  constructor() {
367474
- qw(this, "_events", {});
367485
+ Ew(this, "_events", {});
367475
367486
  }
367476
367487
  on(i, t) {
367477
367488
  var s;
@@ -367493,10 +367504,10 @@ class Ew {
367493
367504
  return Array.isArray(t) ? t : !1;
367494
367505
  }
367495
367506
  }
367496
- var Hw = Object.defineProperty, Ow = (e, i, t) => i in e ? Hw(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, ti = (e, i, t) => (Ow(e, typeof i != "symbol" ? i + "" : i, t), t);
367497
- class Ww extends Ew {
367507
+ var Ow = Object.defineProperty, Ww = (e, i, t) => i in e ? Ow(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, ti = (e, i, t) => (Ww(e, typeof i != "symbol" ? i + "" : i, t), t);
367508
+ class Xw extends Hw {
367498
367509
  constructor(i) {
367499
- super(), ti(this, "_locale", ""), ti(this, "_locales"), ti(this, "_localeData", {}), ti(this, "_messages", {}), ti(this, "_missing"), ti(this, "_messageCompiler"), ti(this, "t", this._.bind(this)), process.env.NODE_ENV !== "production" && this.setMessagesCompiler(Aw), i.missing != null && (this._missing = i.missing), i.messages != null && this.load(i.messages), i.localeData != null && this.loadLocaleData(i.localeData), (typeof i.locale == "string" || i.locales) && this.activate(i.locale ?? xy, i.locales);
367510
+ super(), ti(this, "_locale", ""), ti(this, "_locales"), ti(this, "_localeData", {}), ti(this, "_messages", {}), ti(this, "_missing"), ti(this, "_messageCompiler"), ti(this, "t", this._.bind(this)), process.env.NODE_ENV !== "production" && this.setMessagesCompiler(zw), i.missing != null && (this._missing = i.missing), i.messages != null && this.load(i.messages), i.localeData != null && this.loadLocaleData(i.localeData), (typeof i.locale == "string" || i.locales) && this.activate(i.locale ?? xy, i.locales);
367500
367511
  }
367501
367512
  get locale() {
367502
367513
  return this._locale;
@@ -367570,7 +367581,7 @@ class Ww extends Ew {
367570
367581
  i || (i = ""), Rn(i) || (t = i.values || t, r = i.message, i = i.id);
367571
367582
  const l = this.messages[i], m = l === void 0, c = this._missing;
367572
367583
  if (c && m)
367573
- return zw(c) ? c(this._locale, i) : c;
367584
+ return jw(c) ? c(this._locale, i) : c;
367574
367585
  m && this.emit("missing", { id: i, locale: this._locale });
367575
367586
  let p = l || r || i;
367576
367587
  return Rn(p) && (this._messageCompiler ? p = this._messageCompiler(p) : console.warn(`Uncompiled message detected! Message:
@@ -367581,7 +367592,7 @@ That means you use raw catalog or your catalog doesn't have a translation for th
367581
367592
  ICU features such as interpolation and plurals will not work properly for that message.
367582
367593
 
367583
367594
  Please compile your catalog first.
367584
- `)), Rn(p) && Sy.test(p) ? vy(p) : Rn(p) ? p : Zw(
367595
+ `)), Rn(p) && Sy.test(p) ? vy(p) : Rn(p) ? p : Uw(
367585
367596
  p,
367586
367597
  this._locale,
367587
367598
  this._locales
@@ -367594,10 +367605,10 @@ Please compile your catalog first.
367594
367605
  return Sg(this._locales || this._locale, i, t);
367595
367606
  }
367596
367607
  }
367597
- function Xw(e = {}) {
367598
- return new Ww(e);
367608
+ function Yw(e = {}) {
367609
+ return new Xw(e);
367599
367610
  }
367600
- const Ii = Xw(), Bc = [
367611
+ const Ii = Yw(), Bc = [
367601
367612
  "am",
367602
367613
  "ar",
367603
367614
  "az",
@@ -367645,10 +367656,10 @@ const Ii = Xw(), Bc = [
367645
367656
  "yua",
367646
367657
  "zh"
367647
367658
  ];
367648
- async function Yw(e) {
367649
- let i = Vw(e);
367659
+ async function Vw(e) {
367660
+ let i = Jw(e);
367650
367661
  try {
367651
- const { messages: t } = await Lw(/* @__PURE__ */ Object.assign({ "../../../../locales/am/messages.ts": () => import("./messages-DdXv9oRU.mjs"), "../../../../locales/ar/messages.ts": () => import("./messages-BrAZTXED.mjs"), "../../../../locales/az/messages.ts": () => import("./messages-BQ-SR1Nr.mjs"), "../../../../locales/bn/messages.ts": () => import("./messages-CpXb4CZ7.mjs"), "../../../../locales/de/messages.ts": () => import("./messages-BhXLGR_M.mjs"), "../../../../locales/en/messages.ts": () => import("./messages-6dYJJu45.mjs"), "../../../../locales/es/messages.ts": () => import("./messages-BJKjh6hh.mjs"), "../../../../locales/fa/messages.ts": () => import("./messages-DAd5KPcf.mjs"), "../../../../locales/fr/messages.ts": () => import("./messages-BhCh4sAd.mjs"), "../../../../locales/fuc/messages.ts": () => import("./messages-Dld7a_fH.mjs"), "../../../../locales/ha/messages.ts": () => import("./messages-DqvRBdhD.mjs"), "../../../../locales/hi/messages.ts": () => import("./messages-CP55MCnS.mjs"), "../../../../locales/hu/messages.ts": () => import("./messages-p1B_AGXM.mjs"), "../../../../locales/id/messages.ts": () => import("./messages-KyVzhRS4.mjs"), "../../../../locales/km/messages.ts": () => import("./messages-Bnld0_qg.mjs"), "../../../../locales/ko/messages.ts": () => import("./messages-B3B755rB.mjs"), "../../../../locales/ksw/messages.ts": () => import("./messages-BPWoAjzZ.mjs"), "../../../../locales/kw/messages.ts": () => import("./messages-CeTczJuF.mjs"), "../../../../locales/ky/messages.ts": () => import("./messages-DEZh1lPZ.mjs"), "../../../../locales/lo/messages.ts": () => import("./messages-Cnw-htCx.mjs"), "../../../../locales/mam/messages.ts": () => import("./messages-DZi_yH0e.mjs"), "../../../../locales/ms/messages.ts": () => import("./messages-_0loCMRw.mjs"), "../../../../locales/my/messages.ts": () => import("./messages-C3EjqOCo.mjs"), "../../../../locales/ne/messages.ts": () => import("./messages-DZCU8Iaa.mjs"), "../../../../locales/nl/messages.ts": () => import("./messages-CxZZmSm7.mjs"), "../../../../locales/pbu/messages.ts": () => import("./messages-Bb3FnvCc.mjs"), "../../../../locales/prs/messages.ts": () => import("./messages-DK1MfxFK.mjs"), "../../../../locales/pt/messages.ts": () => import("./messages-BtGYUe95.mjs"), "../../../../locales/qaa/messages.ts": () => import("./messages-Crg0YzNg.mjs"), "../../../../locales/quc/messages.ts": () => import("./messages-CrlAyeXa.mjs"), "../../../../locales/ru/messages.ts": () => import("./messages-CVPPRxFb.mjs"), "../../../../locales/rw/messages.ts": () => import("./messages-BrSY76UH.mjs"), "../../../../locales/sw/messages.ts": () => import("./messages-CFZ96mvk.mjs"), "../../../../locales/ta/messages.ts": () => import("./messages-BLZRj3eg.mjs"), "../../../../locales/te/messages.ts": () => import("./messages-B8cPBXUB.mjs"), "../../../../locales/tg/messages.ts": () => import("./messages-CArsaWzC.mjs"), "../../../../locales/th/messages.ts": () => import("./messages-DaRDSnz1.mjs"), "../../../../locales/tl/messages.ts": () => import("./messages-D0o1263-.mjs"), "../../../../locales/tp/messages.ts": () => import("./messages-xRb1QaUP.mjs"), "../../../../locales/tpi/messages.ts": () => import("./messages-dvoh4QMR.mjs"), "../../../../locales/tr/messages.ts": () => import("./messages-C045BAle.mjs"), "../../../../locales/ur/messages.ts": () => import("./messages-BNgILaWk.mjs"), "../../../../locales/uz/messages.ts": () => import("./messages-BuCVgcu4.mjs"), "../../../../locales/vi/messages.ts": () => import("./messages-ngpON_PJ.mjs"), "../../../../locales/yua/messages.ts": () => import("./messages-DeUojjY7.mjs"), "../../../../locales/zh/messages.ts": () => import("./messages-DuhYLAzK.mjs") }), `../../../../locales/${i}/messages.ts`, 7);
367662
+ const { messages: t } = await yw(/* @__PURE__ */ Object.assign({ "../../../../locales/am/messages.ts": () => import("./messages-DdXv9oRU.mjs"), "../../../../locales/ar/messages.ts": () => import("./messages-BrAZTXED.mjs"), "../../../../locales/az/messages.ts": () => import("./messages-BQ-SR1Nr.mjs"), "../../../../locales/bn/messages.ts": () => import("./messages-CpXb4CZ7.mjs"), "../../../../locales/de/messages.ts": () => import("./messages-BhXLGR_M.mjs"), "../../../../locales/en/messages.ts": () => import("./messages-6dYJJu45.mjs"), "../../../../locales/es/messages.ts": () => import("./messages-BJKjh6hh.mjs"), "../../../../locales/fa/messages.ts": () => import("./messages-DAd5KPcf.mjs"), "../../../../locales/fr/messages.ts": () => import("./messages-BhCh4sAd.mjs"), "../../../../locales/fuc/messages.ts": () => import("./messages-Dld7a_fH.mjs"), "../../../../locales/ha/messages.ts": () => import("./messages-DqvRBdhD.mjs"), "../../../../locales/hi/messages.ts": () => import("./messages-CP55MCnS.mjs"), "../../../../locales/hu/messages.ts": () => import("./messages-p1B_AGXM.mjs"), "../../../../locales/id/messages.ts": () => import("./messages-KyVzhRS4.mjs"), "../../../../locales/km/messages.ts": () => import("./messages-Bnld0_qg.mjs"), "../../../../locales/ko/messages.ts": () => import("./messages-B3B755rB.mjs"), "../../../../locales/ksw/messages.ts": () => import("./messages-BPWoAjzZ.mjs"), "../../../../locales/kw/messages.ts": () => import("./messages-CeTczJuF.mjs"), "../../../../locales/ky/messages.ts": () => import("./messages-DEZh1lPZ.mjs"), "../../../../locales/lo/messages.ts": () => import("./messages-Cnw-htCx.mjs"), "../../../../locales/mam/messages.ts": () => import("./messages-DZi_yH0e.mjs"), "../../../../locales/ms/messages.ts": () => import("./messages-_0loCMRw.mjs"), "../../../../locales/my/messages.ts": () => import("./messages-C3EjqOCo.mjs"), "../../../../locales/ne/messages.ts": () => import("./messages-DZCU8Iaa.mjs"), "../../../../locales/nl/messages.ts": () => import("./messages-CxZZmSm7.mjs"), "../../../../locales/pbu/messages.ts": () => import("./messages-Bb3FnvCc.mjs"), "../../../../locales/prs/messages.ts": () => import("./messages-DK1MfxFK.mjs"), "../../../../locales/pt/messages.ts": () => import("./messages-BtGYUe95.mjs"), "../../../../locales/qaa/messages.ts": () => import("./messages-Crg0YzNg.mjs"), "../../../../locales/quc/messages.ts": () => import("./messages-CrlAyeXa.mjs"), "../../../../locales/ru/messages.ts": () => import("./messages-CVPPRxFb.mjs"), "../../../../locales/rw/messages.ts": () => import("./messages-BrSY76UH.mjs"), "../../../../locales/sw/messages.ts": () => import("./messages-CFZ96mvk.mjs"), "../../../../locales/ta/messages.ts": () => import("./messages-BLZRj3eg.mjs"), "../../../../locales/te/messages.ts": () => import("./messages-B8cPBXUB.mjs"), "../../../../locales/tg/messages.ts": () => import("./messages-CArsaWzC.mjs"), "../../../../locales/th/messages.ts": () => import("./messages-DaRDSnz1.mjs"), "../../../../locales/tl/messages.ts": () => import("./messages-D0o1263-.mjs"), "../../../../locales/tp/messages.ts": () => import("./messages-xRb1QaUP.mjs"), "../../../../locales/tpi/messages.ts": () => import("./messages-dvoh4QMR.mjs"), "../../../../locales/tr/messages.ts": () => import("./messages-C045BAle.mjs"), "../../../../locales/ur/messages.ts": () => import("./messages-BNgILaWk.mjs"), "../../../../locales/uz/messages.ts": () => import("./messages-BuCVgcu4.mjs"), "../../../../locales/vi/messages.ts": () => import("./messages-ngpON_PJ.mjs"), "../../../../locales/yua/messages.ts": () => import("./messages-DeUojjY7.mjs"), "../../../../locales/zh/messages.ts": () => import("./messages-DuhYLAzK.mjs") }), `../../../../locales/${i}/messages.ts`, 7);
367652
367663
  if (!t)
367653
367664
  throw new Error(`No messages found for locale "${i}"`);
367654
367665
  Ii.load(i, t), Ii.activate(i);
@@ -367665,17 +367676,17 @@ async function Yw(e) {
367665
367676
  }
367666
367677
  return Ii;
367667
367678
  }
367668
- function Vw(e) {
367679
+ function Jw(e) {
367669
367680
  if (Bc.includes(e))
367670
367681
  return e;
367671
367682
  const i = e.split("-")[0];
367672
367683
  return Bc.includes(i) ? (console.log(`Using base locale "${i}" for region-specific locale "${e}"`), i) : (console.log(`Locale "${e}" not available; falling back to English`), "en");
367673
367684
  }
367674
- const Jw = ({ locale: e, children: i }) => {
367675
- const [t, s] = en(!1), r = e || Qw();
367685
+ const Qw = ({ locale: e, children: i }) => {
367686
+ const [t, s] = en(!1), r = e || $w();
367676
367687
  return Kn(() => {
367677
367688
  (async () => {
367678
- await Yw(r), s(!0);
367689
+ await Vw(r), s(!0);
367679
367690
  })();
367680
367691
  }, [
367681
367692
  r
@@ -367684,11 +367695,11 @@ const Jw = ({ locale: e, children: i }) => {
367684
367695
  children: i
367685
367696
  }) : null;
367686
367697
  };
367687
- function Qw() {
367698
+ function $w() {
367688
367699
  var i;
367689
367700
  return typeof window > "u" ? "en" : ((i = navigator.languages) == null ? void 0 : i[0]) || navigator.language || navigator.userLanguage || navigator.browserLanguage || "en";
367690
367701
  }
367691
- const $w = {
367702
+ const a_ = {
367692
367703
  // TODO future work: figure out how to incorporate base theme typography?
367693
367704
  h1: {
367694
367705
  // Used by the top "Language Chooser" title bar
@@ -367716,14 +367727,14 @@ const $w = {
367716
367727
  fontSize: "0.875rem",
367717
367728
  letterSpacing: "0.05rem"
367718
367729
  }
367719
- }, Vr = "90px", r_ = (e) => /* @__PURE__ */ H(Jw, {
367730
+ }, Vr = "90px", g_ = (e) => /* @__PURE__ */ H(Qw, {
367720
367731
  locale: e.uiLanguage,
367721
- children: /* @__PURE__ */ H(a_, {
367732
+ children: /* @__PURE__ */ H(e_, {
367722
367733
  ...e
367723
367734
  })
367724
- }), a_ = (e) => {
367735
+ }), e_ = (e) => {
367725
367736
  var ka, Fa;
367726
- const { i18n: i, _: t } = wg(), s = UF(e.onSelectionChange, e.searchResultModifier), [r, l] = en(!1);
367737
+ const { i18n: i, _: t } = wg(), s = RF(e.onSelectionChange, e.searchResultModifier), [r, l] = en(!1);
367727
367738
  Kn(() => {
367728
367739
  d && (d.value = "", d.focus()), (e.initialSearchString || e.initialSelectionLanguageTag) && l(!0), setTimeout(() => {
367729
367740
  s.resetTo(e.initialSearchString, e.initialSelectionLanguageTag, e.initialCustomDisplayName), l(!1);
@@ -367773,7 +367784,7 @@ const $w = {
367773
367784
  d && (d.value = ""), s.onSearchStringChange(""), d == null || d.focus();
367774
367785
  }, U = gi(), O = MS({
367775
367786
  ...U,
367776
- typography: $w
367787
+ typography: a_
367777
367788
  });
367778
367789
  function E(na) {
367779
367790
  var M;
@@ -367927,17 +367938,17 @@ const $w = {
367927
367938
  ref: D,
367928
367939
  children: [
367929
367940
  s.languageResults.map((na, M) => {
367930
- var j, Z;
367931
- const G = nn(na.iso639_3_code, (j = s.selectedLanguage) == null ? void 0 : j.iso639_3_code);
367941
+ var z, K;
367942
+ const G = nn(na.iso639_3_code, (z = s.selectedLanguage) == null ? void 0 : z.iso639_3_code);
367932
367943
  return /* @__PURE__ */ H("div", {
367933
367944
  // We use this ref to scroll the initially selected language card into view
367934
367945
  ref: G ? S : void 0,
367935
- children: /* @__PURE__ */ Ha(cw, {
367946
+ children: /* @__PURE__ */ Ha(Lw, {
367936
367947
  offset: 500,
367937
367948
  height: Vr,
367938
367949
  overflow: !0,
367939
367950
  children: [
367940
- /* @__PURE__ */ H(KF, {
367951
+ /* @__PURE__ */ H(ZF, {
367941
367952
  css: Q`
367942
367953
  min-height: ${Vr};
367943
367954
  flex-direction: column;
@@ -367950,7 +367961,7 @@ const $w = {
367950
367961
  backgroundColorWhenSelected: e.languageCardBackgroundColorOverride,
367951
367962
  backgroundColorWhenNotSelected: O.palette.background.paper
367952
367963
  }),
367953
- nn(na.iso639_3_code, (Z = s.selectedLanguage) == null ? void 0 : Z.iso639_3_code) && na.scripts.length > 1 && /* @__PURE__ */ H(Cs, {
367964
+ nn(na.iso639_3_code, (K = s.selectedLanguage) == null ? void 0 : K.iso639_3_code) && na.scripts.length > 1 && /* @__PURE__ */ H(Cs, {
367954
367965
  title: i._({
367955
367966
  id: "F3iq3K"
367956
367967
  }),
@@ -367979,18 +367990,18 @@ const $w = {
367979
367990
  padding: 0px 0px 20px 30px;
367980
367991
  `,
367981
367992
  children: na.scripts.map((Y) => {
367982
- var K;
367993
+ var Z;
367983
367994
  return /* @__PURE__ */ H(IS, {
367984
367995
  css: Q`
367985
367996
  padding: 5px 10px;
367986
367997
  width: fit-content;
367987
367998
  `,
367988
- children: /* @__PURE__ */ H(ZF, {
367999
+ children: /* @__PURE__ */ H(UF, {
367989
368000
  css: Q`
367990
368001
  min-width: 100px;
367991
368002
  `,
367992
368003
  scriptData: Y,
367993
- isSelected: nn(Y.code, (K = s.selectedScript) == null ? void 0 : K.code),
368004
+ isSelected: nn(Y.code, (Z = s.selectedScript) == null ? void 0 : Z.code),
367994
368005
  onClick: () => W(Y),
367995
368006
  // If scriptCardBackgroundColorOverride is not provided, ScriptCard will fall back to a default based on the primary color
367996
368007
  backgroundColorWhenSelected: e.scriptCardBackgroundColorOverride,
@@ -368179,7 +368190,7 @@ const $w = {
368179
368190
  })
368180
368191
  ]
368181
368192
  }),
368182
- /* @__PURE__ */ H(XF, {
368193
+ /* @__PURE__ */ H(YF, {
368183
368194
  open: m,
368184
368195
  selectedLanguage: s.selectedLanguage,
368185
368196
  selectedScript: s.selectedScript,
@@ -368196,12 +368207,12 @@ const $w = {
368196
368207
  });
368197
368208
  };
368198
368209
  export {
368199
- r_ as LanguageChooser,
368200
- a_ as LanguageChooserInner,
368210
+ g_ as LanguageChooser,
368211
+ e_ as LanguageChooserInner,
368201
368212
  Hg as createTagFromOrthography,
368202
368213
  Og as defaultDisplayName,
368203
- s_ as defaultRegionForLangTag,
368204
- o_ as defaultSearchResultModifier,
368214
+ o_ as defaultRegionForLangTag,
368215
+ r_ as defaultSearchResultModifier,
368205
368216
  so as isUnlistedLanguage,
368206
- xF as parseLangtagFromLangChooser
368217
+ SF as parseLangtagFromLangChooser
368207
368218
  };