@ethnolib/language-chooser-react-mui 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1080,7 +1080,7 @@ var m3 = function(n) {
1080
1080
  }), /* @__PURE__ */ v.createElement(r, d));
1081
1081
  }
1082
1082
  ), nh = p3;
1083
- function nn(a, n, t) {
1083
+ function an(a, n, t) {
1084
1084
  return dl.call(n, "css") ? Wr.jsx(nh, ah(a, n), t) : Wr.jsx(a, n, t);
1085
1085
  }
1086
1086
  function je(a, n, t) {
@@ -4308,10 +4308,10 @@ function $w(a, n) {
4308
4308
  });
4309
4309
  }
4310
4310
  const Qw = 0.2, aM = 0.14, nM = 0.12;
4311
- function Bn(...a) {
4311
+ function In(...a) {
4312
4312
  return [`${a[0]}px ${a[1]}px ${a[2]}px ${a[3]}px rgba(0,0,0,${Qw})`, `${a[4]}px ${a[5]}px ${a[6]}px ${a[7]}px rgba(0,0,0,${aM})`, `${a[8]}px ${a[9]}px ${a[10]}px ${a[11]}px rgba(0,0,0,${nM})`].join(",");
4313
4313
  }
4314
- const eM = ["none", Bn(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Bn(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Bn(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Bn(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Bn(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Bn(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Bn(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Bn(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Bn(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Bn(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Bn(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Bn(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Bn(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Bn(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Bn(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Bn(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Bn(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Bn(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Bn(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Bn(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Bn(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Bn(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Bn(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Bn(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], tM = ["duration", "easing", "delay"], sM = {
4314
+ const eM = ["none", In(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), In(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), In(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), In(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), In(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), In(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), In(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), In(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), In(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), In(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), In(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), In(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), In(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), In(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), In(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), In(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), In(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), In(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), In(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), In(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), In(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), In(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), In(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), In(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], tM = ["duration", "easing", "delay"], sM = {
4315
4315
  // This is the most common easing curve.
4316
4316
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
4317
4317
  // Objects enter the screen at full velocity from off-screen and
@@ -5913,16 +5913,16 @@ const sC = Ya("MuiButtonBase", ["root", "disabled", "focusVisible"]), oC = ["act
5913
5913
  W.current.pulsate(ha);
5914
5914
  })), T && T(ha), _ && ha.target === ha.currentTarget && en() && ha.key === " " && !ha.defaultPrevented && _(ha);
5915
5915
  });
5916
- let an = d;
5917
- an === "button" && (O.href || O.to) && (an = f);
5916
+ let nn = d;
5917
+ nn === "button" && (O.href || O.to) && (nn = f);
5918
5918
  const Sn = {};
5919
- an === "button" ? (Sn.type = sa === void 0 ? "button" : sa, Sn.disabled = y) : (!O.href && !O.to && (Sn.role = "button"), y && (Sn["aria-disabled"] = y));
5919
+ nn === "button" ? (Sn.type = sa === void 0 ? "button" : sa, Sn.disabled = y) : (!O.href && !O.to && (Sn.role = "button"), y && (Sn["aria-disabled"] = y));
5920
5920
  const Rn = On(t, pa, oa);
5921
5921
  process.env.NODE_ENV !== "production" && v.useEffect(() => {
5922
5922
  la && !W.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
5923
5923
  `));
5924
5924
  }, [la]);
5925
- const jn = N({}, i, {
5925
+ const Gn = N({}, i, {
5926
5926
  centerRipple: g,
5927
5927
  component: d,
5928
5928
  disabled: y,
@@ -5931,11 +5931,11 @@ const sC = Ya("MuiButtonBase", ["root", "disabled", "focusVisible"]), oC = ["act
5931
5931
  focusRipple: x,
5932
5932
  tabIndex: U,
5933
5933
  focusVisible: ia
5934
- }), za = iC(jn);
5934
+ }), za = iC(Gn);
5935
5935
  return /* @__PURE__ */ dn(rC, N({
5936
- as: an,
5936
+ as: nn,
5937
5937
  className: wa(za.root, m),
5938
- ownerState: jn,
5938
+ ownerState: Gn,
5939
5939
  onBlur: Ga,
5940
5940
  onClick: _,
5941
5941
  onContextMenu: va,
@@ -6737,17 +6737,17 @@ function wC(a) {
6737
6737
  da = typeof Ba == "string" ? Ba : "";
6738
6738
  }
6739
6739
  Ga !== da && (fn(da), O && O(F, da, "reset"));
6740
- }, [ga, Ga, U, O, fn, m, ka]), [rn, an] = Is({
6740
+ }, [ga, Ga, U, O, fn, m, ka]), [rn, nn] = Is({
6741
6741
  controlled: W,
6742
6742
  default: !1,
6743
6743
  name: y,
6744
6744
  state: "open"
6745
- }), [Sn, Rn] = v.useState(!0), jn = !U && ka != null && Ga === ga(ka), za = rn && !Q, ha = za ? w(
6745
+ }), [Sn, Rn] = v.useState(!0), Gn = !U && ka != null && Ga === ga(ka), za = rn && !Q, ha = za ? w(
6746
6746
  R.filter((F) => !(P && (U ? ka : [ka]).some((E) => E !== null && ta(F, E)))),
6747
6747
  // we use the empty string to manipulate `filterOptions` to not filter any options
6748
6748
  // i.e. the filter predicate always returns true
6749
6749
  {
6750
- inputValue: jn && Sn ? "" : Ga,
6750
+ inputValue: Gn && Sn ? "" : Ga,
6751
6751
  getOptionLabel: ga
6752
6752
  }
6753
6753
  ) : [], sn = hw({
@@ -6906,9 +6906,9 @@ function wC(a) {
6906
6906
  Fn();
6907
6907
  }, [Fn]);
6908
6908
  const le = (F) => {
6909
- rn || (an(!0), Rn(!0), oa && oa(F));
6909
+ rn || (nn(!0), Rn(!0), oa && oa(F));
6910
6910
  }, _e = (F, E) => {
6911
- rn && (an(!1), X && X(F, E));
6911
+ rn && (nn(!1), X && X(F, E));
6912
6912
  }, ye = (F, E, ya, da) => {
6913
6913
  if (U) {
6914
6914
  if (ka.length === E.length && ka.every((Ba, xa) => Ba === E[xa]))
@@ -7016,7 +7016,7 @@ function wC(a) {
7016
7016
  if (E.preventDefault(), da)
7017
7017
  return;
7018
7018
  Ue(E, ya, "selectOption"), i && la.current.setSelectionRange(la.current.value.length, la.current.value.length);
7019
- } else I && Ga !== "" && jn === !1 && (U && E.preventDefault(), Ue(E, Ga, "createOption", "freeSolo"));
7019
+ } else I && Ga !== "" && Gn === !1 && (U && E.preventDefault(), Ue(E, Ga, "createOption", "freeSolo"));
7020
7020
  break;
7021
7021
  case "Escape":
7022
7022
  za ? (E.preventDefault(), E.stopPropagation(), _e(E, "escape")) : d && (Ga !== "" || U && ka.length > 0) && (E.preventDefault(), E.stopPropagation(), as(E));
@@ -7918,7 +7918,7 @@ function fA(a) {
7918
7918
  z[C] = ka, U[C] = ka - oa;
7919
7919
  }
7920
7920
  if (m) {
7921
- var un, Ga = C === "x" ? Ne : ve, fn = C === "x" ? ot : it, en = z[T], Za = T === "y" ? "height" : "width", gn = en + w[Ga], rn = en - w[fn], an = [Ne, ve].indexOf(P) !== -1, Sn = (un = ta == null ? void 0 : ta[T]) != null ? un : 0, Rn = an ? gn : en - j[Za] - Y[Za] - Sn + H.altAxis, jn = an ? en + j[Za] + Y[Za] - Sn - H.altAxis : rn, za = f && an ? XC(Rn, en, jn) : ui(f ? Rn : gn, en, f ? jn : rn);
7921
+ var un, Ga = C === "x" ? Ne : ve, fn = C === "x" ? ot : it, en = z[T], Za = T === "y" ? "height" : "width", gn = en + w[Ga], rn = en - w[fn], nn = [Ne, ve].indexOf(P) !== -1, Sn = (un = ta == null ? void 0 : ta[T]) != null ? un : 0, Rn = nn ? gn : en - j[Za] - Y[Za] - Sn + H.altAxis, Gn = nn ? en + j[Za] + Y[Za] - Sn - H.altAxis : rn, za = f && nn ? XC(Rn, en, Gn) : ui(f ? Rn : gn, en, f ? Gn : rn);
7922
7922
  z[T] = za, U[T] = za - en;
7923
7923
  }
7924
7924
  n.modifiersData[i] = U;
@@ -9692,7 +9692,7 @@ const ze = Ya("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
9692
9692
  size: K.size,
9693
9693
  startAdornment: R,
9694
9694
  type: Q
9695
- }), an = cP(rn), Sn = La.root || y.Root || jl, Rn = W.root || L.root || {}, jn = La.input || y.Input || zl;
9695
+ }), nn = cP(rn), Sn = La.root || y.Root || jl, Rn = W.root || L.root || {}, Gn = La.input || y.Input || zl;
9696
9696
  return Za = N({}, Za, (i = W.input) != null ? i : L.input), /* @__PURE__ */ dn(v.Fragment, {
9697
9697
  children: [!f && dP, /* @__PURE__ */ dn(Sn, N({}, Rn, !ko(Sn) && {
9698
9698
  ownerState: N({}, rn, Rn.ownerState)
@@ -9700,10 +9700,10 @@ const ze = Ya("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
9700
9700
  ref: t,
9701
9701
  onClick: fn
9702
9702
  }, pa, {
9703
- className: wa(an.root, Rn.className, d, sa && "MuiInputBase-readOnly"),
9703
+ className: wa(nn.root, Rn.className, d, sa && "MuiInputBase-readOnly"),
9704
9704
  children: [R, /* @__PURE__ */ Z(zi.Provider, {
9705
9705
  value: null,
9706
- children: /* @__PURE__ */ Z(jn, N({
9706
+ children: /* @__PURE__ */ Z(Gn, N({
9707
9707
  ownerState: rn,
9708
9708
  "aria-invalid": K.error,
9709
9709
  "aria-describedby": g,
@@ -9722,12 +9722,12 @@ const ze = Ya("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
9722
9722
  onKeyDown: U,
9723
9723
  onKeyUp: na,
9724
9724
  type: Q
9725
- }, Za, !ko(jn) && {
9725
+ }, Za, !ko(Gn) && {
9726
9726
  as: en,
9727
9727
  ownerState: N({}, rn, Za.ownerState)
9728
9728
  }, {
9729
9729
  ref: la,
9730
- className: wa(an.input, Za.className, sa && "MuiInputBase-readOnly"),
9730
+ className: wa(nn.input, Za.className, sa && "MuiInputBase-readOnly"),
9731
9731
  onBlur: un,
9732
9732
  onChange: Ga,
9733
9733
  onFocus: ka
@@ -10404,10 +10404,10 @@ const pP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
10404
10404
  getRootProps: Za,
10405
10405
  getInputProps: gn,
10406
10406
  getInputLabelProps: rn,
10407
- getPopupIndicatorProps: an,
10407
+ getPopupIndicatorProps: nn,
10408
10408
  getClearProps: Sn,
10409
10409
  getTagProps: Rn,
10410
- getListboxProps: jn,
10410
+ getListboxProps: Gn,
10411
10411
  getOptionProps: za,
10412
10412
  value: ha,
10413
10413
  dirty: sn,
@@ -10426,7 +10426,7 @@ const pP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
10426
10426
  onMouseDown: Ee
10427
10427
  } = gn(), {
10428
10428
  ref: Ue
10429
- } = Ta ?? {}, Rt = jn(), {
10429
+ } = Ta ?? {}, Rt = Gn(), {
10430
10430
  ref: qt
10431
10431
  } = Rt, as = Pa(Rt, TP), ns = On(qt, Ue), He = O || ((da) => {
10432
10432
  var Ba;
@@ -10572,7 +10572,7 @@ const pP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
10572
10572
  }, St, {
10573
10573
  className: wa(wn.clearIndicator, St == null ? void 0 : St.className),
10574
10574
  children: S
10575
- })) : null, ye ? /* @__PURE__ */ Z(fP, N({}, an(), {
10575
+ })) : null, ye ? /* @__PURE__ */ Z(fP, N({}, nn(), {
10576
10576
  disabled: j,
10577
10577
  "aria-label": $n ? I : la,
10578
10578
  title: $n ? I : la,
@@ -15800,19 +15800,19 @@ const Fj = (a) => {
15800
15800
  let un = ka.top - Sa.vertical, Ga = ka.left - Sa.horizontal;
15801
15801
  const fn = un + $.height, en = Ga + $.width, Za = hs(Hr(d)), gn = Za.innerHeight - w, rn = Za.innerWidth - w;
15802
15802
  if (w !== null && un < w) {
15803
- const an = un - w;
15804
- un -= an, Sa.vertical += an;
15803
+ const nn = un - w;
15804
+ un -= nn, Sa.vertical += nn;
15805
15805
  } else if (w !== null && fn > gn) {
15806
- const an = fn - gn;
15807
- un -= an, Sa.vertical += an;
15806
+ const nn = fn - gn;
15807
+ un -= nn, Sa.vertical += nn;
15808
15808
  }
15809
15809
  if (process.env.NODE_ENV !== "production" && $.height > gn && $.height && gn && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${$.height - gn}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
15810
15810
  `)), w !== null && Ga < w) {
15811
- const an = Ga - w;
15812
- Ga -= an, Sa.horizontal += an;
15811
+ const nn = Ga - w;
15812
+ Ga -= nn, Sa.horizontal += nn;
15813
15813
  } else if (en > rn) {
15814
- const an = en - rn;
15815
- Ga -= an, Sa.horizontal += an;
15814
+ const nn = en - rn;
15815
+ Ga -= nn, Sa.horizontal += nn;
15816
15816
  }
15817
15817
  return {
15818
15818
  top: `${Math.round(un)}px`,
@@ -17146,10 +17146,10 @@ const Sz = (a) => {
17146
17146
  delete oa["aria-invalid"];
17147
17147
  let Za, gn;
17148
17148
  const rn = [];
17149
- let an = !1, Sn = !1;
17149
+ let nn = !1, Sn = !1;
17150
17150
  (el({
17151
17151
  value: W
17152
- }) || f) && (U ? Za = U(W) : an = !0);
17152
+ }) || f) && (U ? Za = U(W) : nn = !0);
17153
17153
  const Rn = Sa.map((fa) => {
17154
17154
  if (!/* @__PURE__ */ v.isValidElement(fa))
17155
17155
  return null;
@@ -17159,9 +17159,9 @@ const Sz = (a) => {
17159
17159
  if (M) {
17160
17160
  if (!Array.isArray(W))
17161
17161
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Ks(2));
17162
- Ia = W.some((mn) => CL(mn, fa.props.value)), Ia && an && rn.push(fa.props.children);
17162
+ Ia = W.some((mn) => CL(mn, fa.props.value)), Ia && nn && rn.push(fa.props.children);
17163
17163
  } else
17164
- Ia = CL(W, fa.props.value), Ia && an && (gn = fa.props.children);
17164
+ Ia = CL(W, fa.props.value), Ia && nn && (gn = fa.props.children);
17165
17165
  return Ia && (Sn = !0), /* @__PURE__ */ v.cloneElement(fa, {
17166
17166
  "aria-selected": Ia ? "true" : "false",
17167
17167
  onClick: un(fa),
@@ -17182,9 +17182,9 @@ const Sz = (a) => {
17182
17182
  console.warn([`MUI: You have provided an out-of-range value \`${W}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${fa.filter((Ia) => Ia != null).map((Ia) => `\`${Ia}\``).join(", ") || '""'}.`].join(`
17183
17183
  `));
17184
17184
  }
17185
- }, [Sn, Sa, M, C, W]), an && (M ? rn.length === 0 ? Za = null : Za = rn.reduce((fa, Ia, mn) => (fa.push(Ia), mn < rn.length - 1 && fa.push(", "), fa), []) : Za = gn);
17186
- let jn = _a;
17187
- !m && ca && ia && (jn = va.clientWidth);
17185
+ }, [Sn, Sa, M, C, W]), nn && (M ? rn.length === 0 ? Za = null : Za = rn.reduce((fa, Ia, mn) => (fa.push(Ia), mn < rn.length - 1 && fa.push(", "), fa), []) : Za = gn);
17186
+ let Gn = _a;
17187
+ !m && ca && ia && (Gn = va.clientWidth);
17188
17188
  let za;
17189
17189
  typeof X < "u" ? za = X : za = x ? null : 0;
17190
17190
  const ha = na.id || (C ? `mui-component-select-${C}` : void 0), sn = N({}, n, {
@@ -17260,7 +17260,7 @@ const Sz = (a) => {
17260
17260
  slotProps: N({}, I.slotProps, {
17261
17261
  paper: N({}, Dn, {
17262
17262
  style: N({
17263
- minWidth: jn
17263
+ minWidth: Gn
17264
17264
  }, Dn != null ? Dn.style : null)
17265
17265
  })
17266
17266
  }),
@@ -17872,7 +17872,7 @@ const Pb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17872
17872
  TransitionProps: Ca
17873
17873
  } = z, $ = Pa(z, Gz), Sa = /* @__PURE__ */ v.isValidElement(Y) ? Y : /* @__PURE__ */ Z("span", {
17874
17874
  children: Y
17875
- }), ka = Ci(), un = fh(), [Ga, fn] = v.useState(), [en, Za] = v.useState(null), gn = v.useRef(!1), rn = X || La, an = yo(), Sn = yo(), Rn = yo(), jn = yo(), [za, ha] = Is({
17875
+ }), ka = Ci(), un = fh(), [Ga, fn] = v.useState(), [en, Za] = v.useState(null), gn = v.useRef(!1), rn = X || La, nn = yo(), Sn = yo(), Rn = yo(), Gn = yo(), [za, ha] = Is({
17876
17876
  controlled: ga,
17877
17877
  default: !1,
17878
17878
  name: "Tooltip",
@@ -17889,7 +17889,7 @@ const Pb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17889
17889
  }, [va, Ga, xa]);
17890
17890
  }
17891
17891
  const Jn = Ao(R), Dn = v.useRef(), $n = Ke(() => {
17892
- Dn.current !== void 0 && (document.body.style.WebkitUserSelect = Dn.current, Dn.current = void 0), jn.clear();
17892
+ Dn.current !== void 0 && (document.body.style.WebkitUserSelect = Dn.current, Dn.current = void 0), Gn.clear();
17893
17893
  });
17894
17894
  v.useEffect(() => $n, [$n]);
17895
17895
  const fa = (xa) => {
@@ -17901,7 +17901,7 @@ const Pb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17901
17901
  (xa) => {
17902
17902
  AL.start(800 + Q, () => {
17903
17903
  Gr = !1;
17904
- }), ha(!1), pa && sn && pa(xa), an.start(ka.transitions.duration.shortest, () => {
17904
+ }), ha(!1), pa && sn && pa(xa), nn.start(ka.transitions.duration.shortest, () => {
17905
17905
  gn.current = !1;
17906
17906
  });
17907
17907
  }
@@ -17927,7 +17927,7 @@ const Pb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17927
17927
  const Oa = Sa.props;
17928
17928
  Oa.onTouchStart && Oa.onTouchStart(xa);
17929
17929
  }, as = (xa) => {
17930
- qt(xa), Rn.clear(), an.clear(), $n(), Dn.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", jn.start(W, () => {
17930
+ qt(xa), Rn.clear(), nn.clear(), $n(), Dn.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Gn.start(W, () => {
17931
17931
  document.body.style.WebkitUserSelect = Dn.current, mn(xa);
17932
17932
  });
17933
17933
  }, ns = (xa) => {
@@ -103713,7 +103713,7 @@ ol.exports;
103713
103713
  ["partial", T],
103714
103714
  ["partialRight", z],
103715
103715
  ["rearg", Y]
103716
- ], ga = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", la = "[object Boolean]", ma = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", un = "[object Object]", Ga = "[object Promise]", fn = "[object Proxy]", en = "[object RegExp]", Za = "[object Set]", gn = "[object String]", rn = "[object Symbol]", an = "[object Undefined]", Sn = "[object WeakMap]", Rn = "[object WeakSet]", jn = "[object ArrayBuffer]", za = "[object DataView]", ha = "[object Float32Array]", sn = "[object Float64Array]", Jn = "[object Int8Array]", Dn = "[object Int16Array]", $n = "[object Int32Array]", fa = "[object Uint8Array]", Ia = "[object Uint8ClampedArray]", mn = "[object Uint16Array]", Fn = "[object Uint32Array]", lt = /\b__p \+= '';/g, le = /\b(__p \+=) '' \+/g, _e = /(__e\(.*?\)|\b__t\)) \+\n'';/g, ye = /&(?:amp|lt|gt|quot|#39);/g, Ee = /[&<>"']/g, Ue = RegExp(ye.source), Rt = RegExp(Ee.source), qt = /<%-([\s\S]+?)%>/g, as = /<%([\s\S]+?)%>/g, ns = /<%=([\s\S]+?)%>/g, Us = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, He = /^\w*$/, Vn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, wn = /[\\^$.*+?()[\]{}|]/g, te = RegExp(wn.source), Qn = /^\s+/, gt = /\s/, ks = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ut = /\{\n\/\* \[wrapped with (.+)\] \*/, vt = /,? & /, St = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Oe = /[()=,{}\[\]\/\s]/, mt = /\\(\\)?/g, F = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, E = /\w*$/, ya = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, Ba = /^\[object .+?Constructor\]$/, xa = /^0o[0-7]+$/i, Oa = /^(?:0|[1-9]\d*)$/, se = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ct = /($^)/, ip = /['\n\r\u2028\u2029\\]/g, Bi = "\\ud800-\\udfff", rp = "\\u0300-\\u036f", lp = "\\ufe20-\\ufe2f", gp = "\\u20d0-\\u20ff", Dm = rp + lp + gp, Km = "\\u2700-\\u27bf", Rm = "a-z\\xdf-\\xf6\\xf8-\\xff", up = "\\xac\\xb1\\xd7\\xf7", mp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", cp = "\\u2000-\\u206f", dp = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", qm = "A-Z\\xc0-\\xd6\\xd8-\\xde", Zm = "\\ufe0e\\ufe0f", Em = up + mp + cp + dp, Zl = "['’]", yp = "[" + Bi + "]", Um = "[" + Em + "]", Di = "[" + Dm + "]", Hm = "\\d+", Lp = "[" + Km + "]", Om = "[" + Rm + "]", Wm = "[^" + Bi + Em + Hm + Km + Rm + qm + "]", El = "\\ud83c[\\udffb-\\udfff]", hp = "(?:" + Di + "|" + El + ")", Ym = "[^" + Bi + "]", Ul = "(?:\\ud83c[\\udde6-\\uddff]){2}", Hl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Hs = "[" + qm + "]", Fm = "\\u200d", Vm = "(?:" + Om + "|" + Wm + ")", bp = "(?:" + Hs + "|" + Wm + ")", Xm = "(?:" + Zl + "(?:d|ll|m|re|s|t|ve))?", Jm = "(?:" + Zl + "(?:D|LL|M|RE|S|T|VE))?", $m = hp + "?", Qm = "[" + Zm + "]?", pp = "(?:" + Fm + "(?:" + [Ym, Ul, Hl].join("|") + ")" + Qm + $m + ")*", Tp = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", xp = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ac = Qm + $m + pp, kp = "(?:" + [Lp, Ul, Hl].join("|") + ")" + ac, Np = "(?:" + [Ym + Di + "?", Di, Ul, Hl, yp].join("|") + ")", vp = RegExp(Zl, "g"), Sp = RegExp(Di, "g"), Ol = RegExp(El + "(?=" + El + ")|" + Np + ac, "g"), _p = RegExp([
103716
+ ], ga = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", la = "[object Boolean]", ma = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", un = "[object Object]", Ga = "[object Promise]", fn = "[object Proxy]", en = "[object RegExp]", Za = "[object Set]", gn = "[object String]", rn = "[object Symbol]", nn = "[object Undefined]", Sn = "[object WeakMap]", Rn = "[object WeakSet]", Gn = "[object ArrayBuffer]", za = "[object DataView]", ha = "[object Float32Array]", sn = "[object Float64Array]", Jn = "[object Int8Array]", Dn = "[object Int16Array]", $n = "[object Int32Array]", fa = "[object Uint8Array]", Ia = "[object Uint8ClampedArray]", mn = "[object Uint16Array]", Fn = "[object Uint32Array]", lt = /\b__p \+= '';/g, le = /\b(__p \+=) '' \+/g, _e = /(__e\(.*?\)|\b__t\)) \+\n'';/g, ye = /&(?:amp|lt|gt|quot|#39);/g, Ee = /[&<>"']/g, Ue = RegExp(ye.source), Rt = RegExp(Ee.source), qt = /<%-([\s\S]+?)%>/g, as = /<%([\s\S]+?)%>/g, ns = /<%=([\s\S]+?)%>/g, Us = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, He = /^\w*$/, Vn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, wn = /[\\^$.*+?()[\]{}|]/g, te = RegExp(wn.source), Qn = /^\s+/, gt = /\s/, ks = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ut = /\{\n\/\* \[wrapped with (.+)\] \*/, vt = /,? & /, St = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Oe = /[()=,{}\[\]\/\s]/, mt = /\\(\\)?/g, F = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, E = /\w*$/, ya = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, Ba = /^\[object .+?Constructor\]$/, xa = /^0o[0-7]+$/i, Oa = /^(?:0|[1-9]\d*)$/, se = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ct = /($^)/, ip = /['\n\r\u2028\u2029\\]/g, Bi = "\\ud800-\\udfff", rp = "\\u0300-\\u036f", lp = "\\ufe20-\\ufe2f", gp = "\\u20d0-\\u20ff", Dm = rp + lp + gp, Km = "\\u2700-\\u27bf", Rm = "a-z\\xdf-\\xf6\\xf8-\\xff", up = "\\xac\\xb1\\xd7\\xf7", mp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", cp = "\\u2000-\\u206f", dp = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", qm = "A-Z\\xc0-\\xd6\\xd8-\\xde", Zm = "\\ufe0e\\ufe0f", Em = up + mp + cp + dp, Zl = "['’]", yp = "[" + Bi + "]", Um = "[" + Em + "]", Di = "[" + Dm + "]", Hm = "\\d+", Lp = "[" + Km + "]", Om = "[" + Rm + "]", Wm = "[^" + Bi + Em + Hm + Km + Rm + qm + "]", El = "\\ud83c[\\udffb-\\udfff]", hp = "(?:" + Di + "|" + El + ")", Ym = "[^" + Bi + "]", Ul = "(?:\\ud83c[\\udde6-\\uddff]){2}", Hl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Hs = "[" + qm + "]", Fm = "\\u200d", Vm = "(?:" + Om + "|" + Wm + ")", bp = "(?:" + Hs + "|" + Wm + ")", Xm = "(?:" + Zl + "(?:d|ll|m|re|s|t|ve))?", Jm = "(?:" + Zl + "(?:D|LL|M|RE|S|T|VE))?", $m = hp + "?", Qm = "[" + Zm + "]?", pp = "(?:" + Fm + "(?:" + [Ym, Ul, Hl].join("|") + ")" + Qm + $m + ")*", Tp = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", xp = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ac = Qm + $m + pp, kp = "(?:" + [Lp, Ul, Hl].join("|") + ")" + ac, Np = "(?:" + [Ym + Di + "?", Di, Ul, Hl, yp].join("|") + ")", vp = RegExp(Zl, "g"), Sp = RegExp(Di, "g"), Ol = RegExp(El + "(?=" + El + ")|" + Np + ac, "g"), _p = RegExp([
103717
103717
  Hs + "?" + Om + "+" + Xm + "(?=" + [Um, Hs, "$"].join("|") + ")",
103718
103718
  bp + "+" + Jm + "(?=" + [Um, Hs + Vm, "$"].join("|") + ")",
103719
103719
  Hs + "?" + Vm + "+" + Xm,
@@ -103753,10 +103753,10 @@ ol.exports;
103753
103753
  "isFinite",
103754
103754
  "parseInt",
103755
103755
  "setTimeout"
103756
- ], Cp = -1, zn = {};
103757
- zn[ha] = zn[sn] = zn[Jn] = zn[Dn] = zn[$n] = zn[fa] = zn[Ia] = zn[mn] = zn[Fn] = !0, zn[ga] = zn[ca] = zn[jn] = zn[la] = zn[za] = zn[ma] = zn[va] = zn[K] = zn[$] = zn[Sa] = zn[un] = zn[en] = zn[Za] = zn[gn] = zn[Sn] = !1;
103756
+ ], Cp = -1, jn = {};
103757
+ jn[ha] = jn[sn] = jn[Jn] = jn[Dn] = jn[$n] = jn[fa] = jn[Ia] = jn[mn] = jn[Fn] = !0, jn[ga] = jn[ca] = jn[Gn] = jn[la] = jn[za] = jn[ma] = jn[va] = jn[K] = jn[$] = jn[Sa] = jn[un] = jn[en] = jn[Za] = jn[gn] = jn[Sn] = !1;
103758
103758
  var An = {};
103759
- An[ga] = An[ca] = An[jn] = An[za] = An[la] = An[ma] = An[ha] = An[sn] = An[Jn] = An[Dn] = An[$n] = An[$] = An[Sa] = An[un] = An[en] = An[Za] = An[gn] = An[rn] = An[fa] = An[Ia] = An[mn] = An[Fn] = !0, An[va] = An[K] = An[Sn] = !1;
103759
+ An[ga] = An[ca] = An[Gn] = An[za] = An[la] = An[ma] = An[ha] = An[sn] = An[Jn] = An[Dn] = An[$n] = An[$] = An[Sa] = An[un] = An[en] = An[Za] = An[gn] = An[rn] = An[fa] = An[Ia] = An[mn] = An[Fn] = !0, An[va] = An[K] = An[Sn] = !1;
103760
103760
  var Ap = {
103761
103761
  // Latin-1 Supplement block.
103762
103762
  À: "A",
@@ -104029,7 +104029,7 @@ ol.exports;
104029
104029
  return !0;
104030
104030
  return !1;
104031
104031
  }
104032
- function In(B, V) {
104032
+ function zn(B, V) {
104033
104033
  for (var q = -1, Aa = B == null ? 0 : B.length, Ua = Array(Aa); ++q < Aa; )
104034
104034
  Ua[q] = V(B[q], q, B);
104035
104035
  return Ua;
@@ -104127,7 +104127,7 @@ ol.exports;
104127
104127
  return Aa;
104128
104128
  }
104129
104129
  function Op(B, V) {
104130
- return In(V, function(q) {
104130
+ return zn(V, function(q) {
104131
104131
  return [q, B[q]];
104132
104132
  });
104133
104133
  }
@@ -104140,7 +104140,7 @@ ol.exports;
104140
104140
  };
104141
104141
  }
104142
104142
  function ng(B, V) {
104143
- return In(V, function(q) {
104143
+ return zn(V, function(q) {
104144
104144
  return B[q];
104145
104145
  });
104146
104146
  }
@@ -104623,7 +104623,7 @@ ol.exports;
104623
104623
  var h = -1, k = Ki, A = !0, G = e.length, D = [], aa = s.length;
104624
104624
  if (!G)
104625
104625
  return D;
104626
- l && (s = In(s, we(l))), c ? (k = Fl, A = !1) : s.length >= r && (k = Bo, A = !1, s = new _s(s));
104626
+ l && (s = zn(s, we(l))), c ? (k = Fl, A = !1) : s.length >= r && (k = Bo, A = !1, s = new _s(s));
104627
104627
  a:
104628
104628
  for (; ++h < G; ) {
104629
104629
  var ea = e[h], ra = l == null ? ea : l(ea);
@@ -104694,7 +104694,7 @@ ol.exports;
104694
104694
  return Ha(e) ? c : ts(c, l(e));
104695
104695
  }
104696
104696
  function Le(e) {
104697
- return e == null ? e === t ? an : ka : vs && vs in Mn(e) ? qx(e) : Qx(e);
104697
+ return e == null ? e === t ? nn : ka : vs && vs in Mn(e) ? qx(e) : Qx(e);
104698
104698
  }
104699
104699
  function mg(e, s) {
104700
104700
  return e > s;
@@ -104711,7 +104711,7 @@ ol.exports;
104711
104711
  function cg(e, s, l) {
104712
104712
  for (var c = l ? Fl : Ki, h = e[0].length, k = e.length, A = k, G = q(k), D = 1 / 0, aa = []; A--; ) {
104713
104713
  var ea = e[A];
104714
- A && s && (ea = In(ea, we(s))), D = ge(ea.length, D), G[A] = !l && (s || h >= 120 && ea.length >= 120) ? new _s(A && ea) : t;
104714
+ A && s && (ea = zn(ea, we(s))), D = ge(ea.length, D), G[A] = !l && (s || h >= 120 && ea.length >= 120) ? new _s(A && ea) : t;
104715
104715
  }
104716
104716
  ea = e[0];
104717
104717
  var ra = -1, Na = G[0];
@@ -104743,7 +104743,7 @@ ol.exports;
104743
104743
  return qn(e) && Le(e) == ga;
104744
104744
  }
104745
104745
  function gx(e) {
104746
- return qn(e) && Le(e) == jn;
104746
+ return qn(e) && Le(e) == Gn;
104747
104747
  }
104748
104748
  function ux(e) {
104749
104749
  return qn(e) && Le(e) == ma;
@@ -104812,7 +104812,7 @@ ol.exports;
104812
104812
  return qn(e) && ue(e) == Za;
104813
104813
  }
104814
104814
  function Lx(e) {
104815
- return qn(e) && xr(e.length) && !!zn[Le(e)];
104815
+ return qn(e) && xr(e.length) && !!jn[Le(e)];
104816
104816
  }
104817
104817
  function Kc(e) {
104818
104818
  return typeof e == "function" ? e : e == null ? ke : typeof e == "object" ? Ha(e) ? Zc(e[0], e[1]) : qc(e) : iy(e);
@@ -104883,15 +104883,15 @@ ol.exports;
104883
104883
  return s += s < 0 ? l : 0, Wt(s, l) ? e[s] : t;
104884
104884
  }
104885
104885
  function Uc(e, s, l) {
104886
- s.length ? s = In(s, function(k) {
104886
+ s.length ? s = zn(s, function(k) {
104887
104887
  return Ha(k) ? function(A) {
104888
104888
  return ws(A, k.length === 1 ? k[0] : k);
104889
104889
  } : k;
104890
104890
  }) : s = [ke];
104891
104891
  var c = -1;
104892
- s = In(s, we(Da()));
104892
+ s = zn(s, we(Da()));
104893
104893
  var h = Rc(e, function(k, A, G) {
104894
- var D = In(s, function(aa) {
104894
+ var D = zn(s, function(aa) {
104895
104895
  return aa(k);
104896
104896
  });
104897
104897
  return { criteria: D, index: ++c, value: k };
@@ -104919,7 +104919,7 @@ ol.exports;
104919
104919
  }
104920
104920
  function hg(e, s, l, c) {
104921
104921
  var h = c ? Up : Os, k = -1, A = s.length, G = e;
104922
- for (e === s && (s = pe(s)), l && (G = In(e, we(l))); ++k < A; )
104922
+ for (e === s && (s = pe(s)), l && (G = zn(e, we(l))); ++k < A; )
104923
104923
  for (var D = 0, aa = s[k], ea = l ? l(aa) : aa; (D = h(G, ea, D, c)) > -1; )
104924
104924
  G !== e && Fi.call(G, D, 1), Fi.call(e, D, 1);
104925
104925
  return e;
@@ -105045,7 +105045,7 @@ ol.exports;
105045
105045
  if (typeof e == "string")
105046
105046
  return e;
105047
105047
  if (Ha(e))
105048
- return In(e, Me) + "";
105048
+ return zn(e, Me) + "";
105049
105049
  if (Ce(e))
105050
105050
  return fc ? fc.call(e) : "";
105051
105051
  var s = e + "";
@@ -105401,7 +105401,7 @@ ol.exports;
105401
105401
  }
105402
105402
  function _g(e) {
105403
105403
  return Ot(function(s) {
105404
- return s = In(s, we(Da())), Qa(function(l) {
105404
+ return s = zn(s, we(Da())), Qa(function(l) {
105405
105405
  var c = this;
105406
105406
  return e(s, function(h) {
105407
105407
  return fe(h, c, l);
@@ -105549,7 +105549,7 @@ ol.exports;
105549
105549
  if (e.byteLength != s.byteLength || e.byteOffset != s.byteOffset)
105550
105550
  return !1;
105551
105551
  e = e.buffer, s = s.buffer;
105552
- case jn:
105552
+ case Gn:
105553
105553
  return !(e.byteLength != s.byteLength || !k(new Wi(e), new Wi(s)));
105554
105554
  case la:
105555
105555
  case ma:
@@ -105732,7 +105732,7 @@ ol.exports;
105732
105732
  function Hx(e, s, l) {
105733
105733
  var c = e.constructor;
105734
105734
  switch (s) {
105735
- case jn:
105735
+ case Gn:
105736
105736
  return Sg(e);
105737
105737
  case la:
105738
105738
  case ma:
@@ -106034,13 +106034,13 @@ ol.exports;
106034
106034
  return s ? Je(e, 0, -1) : [];
106035
106035
  }
106036
106036
  var pk = Qa(function(e) {
106037
- var s = In(e, Ng);
106037
+ var s = zn(e, Ng);
106038
106038
  return s.length && s[0] === e[0] ? cg(s) : [];
106039
106039
  }), Tk = Qa(function(e) {
106040
- var s = $e(e), l = In(e, Ng);
106040
+ var s = $e(e), l = zn(e, Ng);
106041
106041
  return s === $e(l) ? s = t : l.pop(), l.length && l[0] === e[0] ? cg(l, Da(s, 2)) : [];
106042
106042
  }), xk = Qa(function(e) {
106043
- var s = $e(e), l = In(e, Ng);
106043
+ var s = $e(e), l = zn(e, Ng);
106044
106044
  return s = typeof s == "function" ? s : t, s && l.pop(), l.length && l[0] === e[0] ? cg(l, t, s) : [];
106045
106045
  });
106046
106046
  function kk(e, s) {
@@ -106072,7 +106072,7 @@ ol.exports;
106072
106072
  }
106073
106073
  var wk = Ot(function(e, s) {
106074
106074
  var l = e == null ? 0 : e.length, c = lg(e, s);
106075
- return Oc(e, In(s, function(h) {
106075
+ return Oc(e, zn(s, function(h) {
106076
106076
  return Wt(h, l) ? +h : h;
106077
106077
  }).sort(nd)), c;
106078
106078
  });
@@ -106173,14 +106173,14 @@ ol.exports;
106173
106173
  if (Un(l))
106174
106174
  return s = ne(l.length, s), !0;
106175
106175
  }), ag(s, function(l) {
106176
- return In(e, Jl(l));
106176
+ return zn(e, Jl(l));
106177
106177
  });
106178
106178
  }
106179
106179
  function jd(e, s) {
106180
106180
  if (!(e && e.length))
106181
106181
  return [];
106182
106182
  var l = Dg(e);
106183
- return s == null ? l : In(l, function(c) {
106183
+ return s == null ? l : zn(l, function(c) {
106184
106184
  return fe(s, t, c);
106185
106185
  });
106186
106186
  }
@@ -106311,7 +106311,7 @@ ol.exports;
106311
106311
  Ut(e, l, s);
106312
106312
  });
106313
106313
  function hr(e, s) {
106314
- var l = Ha(e) ? In : Rc;
106314
+ var l = Ha(e) ? zn : Rc;
106315
106315
  return l(e, Da(s, 3));
106316
106316
  }
106317
106317
  function SN(e, s, l, c) {
@@ -106501,7 +106501,7 @@ ol.exports;
106501
106501
  return Kd(2, e);
106502
106502
  }
106503
106503
  var qN = fx(function(e, s) {
106504
- s = s.length == 1 && Ha(s[0]) ? In(s[0], we(Da())) : In(ie(s, 1), we(Da()));
106504
+ s = s.length == 1 && Ha(s[0]) ? zn(s[0], we(Da())) : zn(ie(s, 1), we(Da()));
106505
106505
  var l = s.length;
106506
106506
  return Qa(function(c) {
106507
106507
  for (var h = -1, k = ge(c.length, l); ++h < k; )
@@ -106844,7 +106844,7 @@ ol.exports;
106844
106844
  if (e == null)
106845
106845
  return l;
106846
106846
  var c = !1;
106847
- s = In(s, function(k) {
106847
+ s = zn(s, function(k) {
106848
106848
  return k = ls(k, e), c || (c = k.length > 1), k;
106849
106849
  }), ft(e, Mg(e), l), c && (l = Xe(l, b | x | f, Dx));
106850
106850
  for (var h = s.length; h--; )
@@ -106860,7 +106860,7 @@ ol.exports;
106860
106860
  function Qd(e, s) {
106861
106861
  if (e == null)
106862
106862
  return {};
106863
- var l = In(Mg(e), function(c) {
106863
+ var l = zn(Mg(e), function(c) {
106864
106864
  return [c];
106865
106865
  });
106866
106866
  return s = Da(s), Hc(e, l, function(c, h) {
@@ -107117,7 +107117,7 @@ function print() { __p += __j.call(arguments, '') }
107117
107117
  });
107118
107118
  function AS(e) {
107119
107119
  var s = e == null ? 0 : e.length, l = Da();
107120
- return e = s ? In(e, function(c) {
107120
+ return e = s ? zn(e, function(c) {
107121
107121
  if (typeof c[1] != "function")
107122
107122
  throw new Fe(u);
107123
107123
  return [l(c[0]), c[1]];
@@ -107188,7 +107188,7 @@ function print() { __p += __j.call(arguments, '') }
107188
107188
  return Ec(s, e);
107189
107189
  });
107190
107190
  }
107191
- var ZS = _g(In), ES = _g(gc), US = _g(Xl);
107191
+ var ZS = _g(zn), ES = _g(gc), US = _g(Xl);
107192
107192
  function iy(e) {
107193
107193
  return Gg(e) ? Jl(wt(e)) : Tx(e);
107194
107194
  }
@@ -107223,7 +107223,7 @@ function print() { __p += __j.call(arguments, '') }
107223
107223
  return h;
107224
107224
  }
107225
107225
  function JS(e) {
107226
- return Ha(e) ? In(e, wt) : Ce(e) ? [e] : pe(fd(bn(e)));
107226
+ return Ha(e) ? zn(e, wt) : Ce(e) ? [e] : pe(fd(bn(e)));
107227
107227
  }
107228
107228
  function $S(e) {
107229
107229
  var s = ++gT;
@@ -306151,24 +306151,24 @@ function VI() {
306151
306151
  code: a.code
306152
306152
  }));
306153
306153
  }
306154
- const Gn = {
306154
+ const Bn = {
306155
306155
  white: "#FFFFFF",
306156
306156
  blues: ["#BFDFFC", "#E5F2FE", "#1F49A3"],
306157
306157
  greys: ["#F9F9F9", "#DADADA", "#B5B5B5", "#5E6366"]
306158
306158
  }, Vb = (a) => {
306159
- const n = a.isSelected ? a.backgroundColorWhenSelected || Gn.white : a.backgroundColorWhenNotSelected || Gn.white;
306160
- return /* @__PURE__ */ nn(gb, { onClick: a.onClick || (() => {
306161
- }), children: /* @__PURE__ */ nn(
306159
+ const n = a.isSelected ? a.backgroundColorWhenSelected || Bn.white : a.backgroundColorWhenNotSelected || Bn.white;
306160
+ return /* @__PURE__ */ an(gb, { onClick: a.onClick || (() => {
306161
+ }), children: /* @__PURE__ */ an(
306162
306162
  lb,
306163
306163
  {
306164
306164
  variant: "outlined",
306165
306165
  css: qa`
306166
306166
  position: relative; // so children can be positioned absolutely
306167
- box-shadow: ${Gn.greys[2]} 0px 3px 5px;
306167
+ box-shadow: ${Bn.greys[2]} 0px 3px 5px;
306168
306168
  background-color: ${n};
306169
306169
  `,
306170
306170
  className: a.className,
306171
- children: /* @__PURE__ */ nn(
306171
+ children: /* @__PURE__ */ an(
306172
306172
  ub,
306173
306173
  {
306174
306174
  css: qa`
@@ -306203,8 +306203,8 @@ const si = ({ children: a, ...n }) => {
306203
306203
  var i;
306204
306204
  const t = {
306205
306205
  ...n,
306206
- backgroundColorWhenNotSelected: Gn.white,
306207
- backgroundColorWhenSelected: Gn.blues[0]
306206
+ backgroundColorWhenNotSelected: Bn.white,
306207
+ backgroundColorWhenSelected: Bn.blues[0]
306208
306208
  };
306209
306209
  return /* @__PURE__ */ je(Vb, { ...t, children: [
306210
306210
  /* @__PURE__ */ je(
@@ -306213,11 +306213,12 @@ const si = ({ children: a, ...n }) => {
306213
306213
  css: qa`
306214
306214
  display: flex;
306215
306215
  flex-direction: row;
306216
+ flex-wrap: wrap;
306216
306217
  gap: 20px;
306217
306218
  align-items: flex-end;
306218
306219
  `,
306219
306220
  children: [
306220
- /* @__PURE__ */ nn(
306221
+ /* @__PURE__ */ an(
306221
306222
  si,
306222
306223
  {
306223
306224
  variant: "h2",
@@ -306227,7 +306228,7 @@ const si = ({ children: a, ...n }) => {
306227
306228
  children: a.autonym || a.exonym
306228
306229
  }
306229
306230
  ),
306230
- a.autonym && /* @__PURE__ */ nn(
306231
+ a.autonym && /* @__PURE__ */ an(
306231
306232
  si,
306232
306233
  {
306233
306234
  variant: "h2",
@@ -306237,13 +306238,13 @@ const si = ({ children: a, ...n }) => {
306237
306238
  children: a.exonym
306238
306239
  }
306239
306240
  ),
306240
- /* @__PURE__ */ nn(
306241
+ /* @__PURE__ */ an(
306241
306242
  si,
306242
306243
  {
306243
306244
  variant: "body2",
306244
306245
  css: qa`
306245
306246
  flex-grow: 0;
306246
- color: ${Gn.greys[3]};
306247
+ color: ${Bn.greys[3]};
306247
306248
  `,
306248
306249
  children: a.languageSubtag
306249
306250
  }
@@ -306251,7 +306252,7 @@ const si = ({ children: a, ...n }) => {
306251
306252
  ]
306252
306253
  }
306253
306254
  ),
306254
- ((i = a.regionNames) == null ? void 0 : i.length) > 0 && /* @__PURE__ */ nn(
306255
+ ((i = a.regionNames) == null ? void 0 : i.length) > 0 && /* @__PURE__ */ an(
306255
306256
  si,
306256
306257
  {
306257
306258
  variant: "subtitle1",
@@ -306263,18 +306264,18 @@ const si = ({ children: a, ...n }) => {
306263
306264
  -webkit-line-clamp: 2;
306264
306265
  -webkit-box-orient: vertical;
306265
306266
  overflow: hidden;
306266
- color: ${Gn.greys[3]};
306267
+ color: ${Bn.greys[3]};
306267
306268
  `,
306268
306269
  children: `A language of ${a.regionNames}`
306269
306270
  }
306270
306271
  ),
306271
- a.names.length > 0 && /* @__PURE__ */ nn(
306272
+ a.names.length > 0 && /* @__PURE__ */ an(
306272
306273
  si,
306273
306274
  {
306274
306275
  variant: "subtitle1",
306275
306276
  css: qa`
306276
306277
  text-wrap: balance;
306277
- color: ${Gn.greys[3]};
306278
+ color: ${Bn.greys[3]};
306278
306279
  `,
306279
306280
  children: a.names.join(", ")
306280
306281
  }
@@ -306283,17 +306284,17 @@ const si = ({ children: a, ...n }) => {
306283
306284
  }), $I = ({ scriptData: a, ...n }) => {
306284
306285
  const t = {
306285
306286
  ...n,
306286
- backgroundColorWhenNotSelected: Gn.white,
306287
- backgroundColorWhenSelected: Gn.blues[1]
306287
+ backgroundColorWhenNotSelected: Bn.white,
306288
+ backgroundColorWhenSelected: Bn.blues[1]
306288
306289
  };
306289
306290
  return /* @__PURE__ */ je(Vb, { ...t, children: [
306290
- /* @__PURE__ */ nn(ce, { variant: "h2", children: a.name }),
306291
- /* @__PURE__ */ nn(
306291
+ /* @__PURE__ */ an(ce, { variant: "h2", children: a.name }),
306292
+ /* @__PURE__ */ an(
306292
306293
  ce,
306293
306294
  {
306294
306295
  variant: "subtitle1",
306295
306296
  css: qa`
306296
- color: ${Gn.greys[3]};
306297
+ color: ${Bn.greys[3]};
306297
306298
  `,
306298
306299
  children: "TODO sample text here"
306299
306300
  }
@@ -306396,7 +306397,7 @@ const rB = ({
306396
306397
  variant: "outlined",
306397
306398
  color: "primary",
306398
306399
  css: qa`
306399
- border: 1.5px solid ${Gn.blues[2]};
306400
+ border: 1.5px solid ${Bn.blues[2]};
306400
306401
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
306401
306402
  display: flex;
306402
306403
  flex-direction: column;
@@ -306411,12 +306412,12 @@ const rB = ({
306411
306412
  {
306412
306413
  css: qa`
306413
306414
  text-transform: uppercase;
306414
- color: ${Gn.blues[2]};
306415
+ color: ${Bn.blues[2]};
306415
306416
  font-weight: bold;
306416
306417
  display: flex; // for the icon
306417
306418
  `,
306418
306419
  children: [
306419
- !n && /* @__PURE__ */ nn(
306420
+ !n && /* @__PURE__ */ an(
306420
306421
  Jb,
306421
306422
  {
306422
306423
  css: qa`
@@ -306438,26 +306439,26 @@ const rB = ({
306438
306439
  justify-content: space-between;
306439
306440
  `,
306440
306441
  children: [
306441
- /* @__PURE__ */ nn(
306442
+ /* @__PURE__ */ an(
306442
306443
  ce,
306443
306444
  {
306444
306445
  variant: "body2",
306445
306446
  css: qa`
306446
306447
  text-align: left;
306447
- color: ${Gn.greys[3]};
306448
+ color: ${Bn.greys[3]};
306448
306449
  `,
306449
306450
  children: a
306450
306451
  }
306451
306452
  ),
306452
- /* @__PURE__ */ nn(
306453
+ /* @__PURE__ */ an(
306453
306454
  Pb,
306454
306455
  {
306455
306456
  title: n ? "If you cannot find a language and it does not appear in ethnologue.com, you can instead define the language here." : "If you found main the language but need to change some of the specifics like Script or Dialect, you can do that here.",
306456
- children: /* @__PURE__ */ nn(
306457
+ children: /* @__PURE__ */ an(
306457
306458
  $b,
306458
306459
  {
306459
306460
  css: qa`
306460
- color: ${Gn.greys[3]};
306461
+ color: ${Bn.greys[3]};
306461
306462
  margin-left: 10px;
306462
306463
  `
306463
306464
  }
@@ -306474,7 +306475,7 @@ const rB = ({
306474
306475
  ce,
306475
306476
  {
306476
306477
  css: qa`
306477
- color: ${Gn.greys[3]};
306478
+ color: ${Bn.greys[3]};
306478
306479
  font-weight: bold;
306479
306480
  margin-bottom: 5px;
306480
306481
  `,
@@ -306555,7 +306556,7 @@ const uB = (a) => {
306555
306556
  ce,
306556
306557
  {
306557
306558
  css: qa`
306558
- color: ${Gn.greys[3]};
306559
+ color: ${Bn.greys[3]};
306559
306560
  font-weight: bold;
306560
306561
  margin-bottom: 5px;
306561
306562
  `,
@@ -306579,7 +306580,7 @@ const uB = (a) => {
306579
306580
  ce,
306580
306581
  {
306581
306582
  css: qa`
306582
- color: ${Gn.greys[3]};
306583
+ color: ${Bn.greys[3]};
306583
306584
  font-weight: bold;
306584
306585
  margin-bottom: 5px;
306585
306586
  `,
@@ -307000,7 +307001,7 @@ const GB = (a) => {
307000
307001
  }, m = zh({
307001
307002
  palette: {
307002
307003
  primary: {
307003
- main: Gn.blues[2]
307004
+ main: Bn.blues[2]
307004
307005
  }
307005
307006
  },
307006
307007
  typography: {
@@ -307012,7 +307013,7 @@ const GB = (a) => {
307012
307013
  letterSpacing: "0.0075em"
307013
307014
  },
307014
307015
  h2: {
307015
- // Used for the primary langauge and script name(s)
307016
+ // Used for the primary language and script name(s)
307016
307017
  fontSize: "1rem",
307017
307018
  fontWeight: 400,
307018
307019
  lineHeight: 1.5,
@@ -307033,36 +307034,33 @@ const GB = (a) => {
307033
307034
  }
307034
307035
  }
307035
307036
  }), d = "100px";
307036
- return /* @__PURE__ */ nn(h3, { theme: m, children: /* @__PURE__ */ je(
307037
+ return /* @__PURE__ */ an(h3, { theme: m, children: /* @__PURE__ */ je(
307037
307038
  "div",
307038
307039
  {
307039
307040
  id: "lang-chooser",
307040
307041
  css: qa`
307041
- width: 979px;
307042
- // TODO (currently working on it) make it shrink if the screen is too small
307043
- // max-width: 979px;
307044
- // width: 100%;
307045
- height: 586px;
307042
+ width: 100%;
307043
+ height: 100%;
307046
307044
  display: flex;
307047
307045
  flex-direction: column;
307048
307046
  border-radius: 5px;
307049
307047
  position: relative;
307050
307048
  margin-left: auto;
307051
307049
  margin-right: auto;
307052
- overflow: hidden;
307050
+ overflow: scroll;
307053
307051
  `,
307054
307052
  children: [
307055
- /* @__PURE__ */ nn(
307053
+ /* @__PURE__ */ an(
307056
307054
  Eh,
307057
307055
  {
307058
307056
  position: "static",
307059
307057
  css: qa`
307060
307058
  background-color: white;
307061
307059
  box-shadow: none;
307062
- border-bottom: 2px solid ${Gn.greys[1]};
307060
+ border-bottom: 2px solid ${Bn.greys[1]};
307063
307061
  flex-grow: 0;
307064
307062
  `,
307065
- children: /* @__PURE__ */ nn(
307063
+ children: /* @__PURE__ */ an(
307066
307064
  Gb,
307067
307065
  {
307068
307066
  disableGutters: !0,
@@ -307071,7 +307069,7 @@ const GB = (a) => {
307071
307069
  padding-top: 5px;
307072
307070
  padding-left: 15px;
307073
307071
  `,
307074
- children: /* @__PURE__ */ nn(
307072
+ children: /* @__PURE__ */ an(
307075
307073
  ce,
307076
307074
  {
307077
307075
  variant: "h1",
@@ -307101,19 +307099,19 @@ const GB = (a) => {
307101
307099
  id: "left-pane",
307102
307100
  css: qa`
307103
307101
  flex-grow: 1;
307104
- height: 100%;
307102
+ // height: 100%;
307105
307103
  position: relative;
307106
307104
  display: flex; // to make the language list overflow scroll work
307107
307105
  flex-direction: column;
307108
307106
  padding: 10px 20px 20px 20px;
307109
- background-color: ${Gn.greys[0]};
307107
+ background-color: ${Bn.greys[0]};
307110
307108
  `,
307111
307109
  children: [
307112
- /* @__PURE__ */ nn("label", { htmlFor: "search-bar", children: /* @__PURE__ */ nn(
307110
+ /* @__PURE__ */ an("label", { htmlFor: "search-bar", children: /* @__PURE__ */ an(
307113
307111
  ce,
307114
307112
  {
307115
307113
  css: qa`
307116
- color: ${Gn.greys[3]};
307114
+ color: ${Bn.greys[3]};
307117
307115
  font-weight: bold;
307118
307116
  font-size: 0.875rem; // 14px
307119
307117
  letter-spacing: normal;
@@ -307122,7 +307120,7 @@ const GB = (a) => {
307122
307120
  children: "Search by name, code, or country"
307123
307121
  }
307124
307122
  ) }),
307125
- /* @__PURE__ */ nn(
307123
+ /* @__PURE__ */ an(
307126
307124
  wo,
307127
307125
  {
307128
307126
  type: "text",
@@ -307134,29 +307132,27 @@ const GB = (a) => {
307134
307132
  width: 100%;
307135
307133
  min-width: 100px;
307136
307134
  max-width: 436px;
307137
- // TODO (currently working on it) border interferes with the focus indicator outline
307138
- // border: 1px solid ${Gn.greys[3]};
307139
307135
  `,
307140
307136
  size: "small",
307141
- startAdornment: /* @__PURE__ */ nn(
307137
+ startAdornment: /* @__PURE__ */ an(
307142
307138
  pb,
307143
307139
  {
307144
307140
  position: "start",
307145
307141
  css: qa`
307146
307142
  margin-left: 0;
307147
- color: ${Gn.greys[2]};
307143
+ color: ${Bn.greys[2]};
307148
307144
  `,
307149
- children: /* @__PURE__ */ nn(Nm, { component: jb })
307145
+ children: /* @__PURE__ */ an(Nm, { component: jb })
307150
307146
  }
307151
307147
  ),
307152
- endAdornment: /* @__PURE__ */ nn(
307148
+ endAdornment: /* @__PURE__ */ an(
307153
307149
  Ml,
307154
307150
  {
307155
307151
  onClick: u,
307156
307152
  css: qa`
307157
307153
  margin-right: 0;
307158
307154
  `,
307159
- children: /* @__PURE__ */ nn(zb, {})
307155
+ children: /* @__PURE__ */ an(zb, {})
307160
307156
  }
307161
307157
  ),
307162
307158
  id: "search-bar",
@@ -307168,7 +307164,7 @@ const GB = (a) => {
307168
307164
  }
307169
307165
  }
307170
307166
  ),
307171
- /* @__PURE__ */ nn(
307167
+ /* @__PURE__ */ an(
307172
307168
  "div",
307173
307169
  {
307174
307170
  id: "language-card-list",
@@ -307190,7 +307186,7 @@ const GB = (a) => {
307190
307186
  height: d,
307191
307187
  overflow: !0,
307192
307188
  children: [
307193
- /* @__PURE__ */ nn(
307189
+ /* @__PURE__ */ an(
307194
307190
  JI,
307195
307191
  {
307196
307192
  css: qa`
@@ -307210,7 +307206,7 @@ const GB = (a) => {
307210
307206
  To(
307211
307207
  S.iso639_3_code,
307212
307208
  (P = n.selectedLanguage) == null ? void 0 : P.iso639_3_code
307213
- ) && S.scripts.length > 1 && /* @__PURE__ */ nn(
307209
+ ) && S.scripts.length > 1 && /* @__PURE__ */ an(
307214
307210
  vm,
307215
307211
  {
307216
307212
  css: qa`
@@ -307223,14 +307219,14 @@ const GB = (a) => {
307223
307219
  `,
307224
307220
  children: S.scripts.map((I) => {
307225
307221
  var M;
307226
- return /* @__PURE__ */ nn(
307222
+ return /* @__PURE__ */ an(
307227
307223
  xb,
307228
307224
  {
307229
307225
  css: qa`
307230
307226
  padding: 5px 10px;
307231
307227
  width: fit-content;
307232
307228
  `,
307233
- children: /* @__PURE__ */ nn(
307229
+ children: /* @__PURE__ */ an(
307234
307230
  $I,
307235
307231
  {
307236
307232
  css: qa`
@@ -307257,19 +307253,18 @@ const GB = (a) => {
307257
307253
  })
307258
307254
  }
307259
307255
  ),
307260
- /* @__PURE__ */ nn(
307256
+ /* @__PURE__ */ an("div", { id: "bottom-of-left-pane", children: /* @__PURE__ */ an(
307261
307257
  rB,
307262
307258
  {
307263
307259
  currentTagPreview: r,
307264
307260
  forUnlistedLanguage: !n.selectedLanguage || Xb(n.selectedLanguage),
307265
307261
  css: qa`
307266
- // TODO (currently working on it) I would like to make this a fixed width, but need make it still shrink if the screen is too small
307267
- width: fit-content;
307268
- margin-top: 10px;
307269
- `,
307262
+ min-width: 60%;
307263
+ margin-top: 10px;
307264
+ `,
307270
307265
  onClick: () => i(!0)
307271
307266
  }
307272
- )
307267
+ ) })
307273
307268
  ]
307274
307269
  }
307275
307270
  ),
@@ -307288,7 +307283,7 @@ const GB = (a) => {
307288
307283
  `,
307289
307284
  children: [
307290
307285
  n.selectedLanguage && /* @__PURE__ */ je("div", { id: "right-pane-language-details=section", children: [
307291
- /* @__PURE__ */ nn("label", { htmlFor: "language-name-bar", children: /* @__PURE__ */ nn(
307286
+ /* @__PURE__ */ an("label", { htmlFor: "language-name-bar", children: /* @__PURE__ */ an(
307292
307287
  ce,
307293
307288
  {
307294
307289
  css: qa`
@@ -307298,7 +307293,7 @@ const GB = (a) => {
307298
307293
  children: "Display this language this way"
307299
307294
  }
307300
307295
  ) }),
307301
- /* @__PURE__ */ nn(
307296
+ /* @__PURE__ */ an(
307302
307297
  wo,
307303
307298
  {
307304
307299
  type: "text",
@@ -307306,9 +307301,6 @@ const GB = (a) => {
307306
307301
  background-color: white;
307307
307302
  margin-right: 16px;
307308
307303
  margin-bottom: 10px;
307309
- // TODO (currently working on it) border interferes with the focus indicator outline
307310
- // border: 2px solid ${Gn.blues[2]};
307311
- // border-radius: 0;
307312
307304
  font-size: 1.625rem; // 26px
307313
307305
  font-weight: 700;
307314
307306
  `,
@@ -307327,12 +307319,12 @@ const GB = (a) => {
307327
307319
  }
307328
307320
  }
307329
307321
  ),
307330
- /* @__PURE__ */ nn(
307322
+ /* @__PURE__ */ an(
307331
307323
  ce,
307332
307324
  {
307333
307325
  variant: "body2",
307334
307326
  css: qa`
307335
- color: ${Gn.greys[3]};
307327
+ color: ${Bn.greys[3]};
307336
307328
  `,
307337
307329
  children: r
307338
307330
  }
@@ -307349,7 +307341,7 @@ const GB = (a) => {
307349
307341
  padding-top: 15px;
307350
307342
  `,
307351
307343
  children: [
307352
- /* @__PURE__ */ nn(
307344
+ /* @__PURE__ */ an(
307353
307345
  fo,
307354
307346
  {
307355
307347
  css: qa`
@@ -307368,7 +307360,7 @@ const GB = (a) => {
307368
307360
  children: "OK"
307369
307361
  }
307370
307362
  ),
307371
- /* @__PURE__ */ nn(
307363
+ /* @__PURE__ */ an(
307372
307364
  fo,
307373
307365
  {
307374
307366
  css: qa`
@@ -307389,7 +307381,7 @@ const GB = (a) => {
307389
307381
  ]
307390
307382
  }
307391
307383
  ),
307392
- /* @__PURE__ */ nn(
307384
+ /* @__PURE__ */ an(
307393
307385
  uB,
307394
307386
  {
307395
307387
  open: t,