@ethnolib/language-chooser-react-mui 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +64 -61
  2. package/index.mjs +118 -108
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1111,13 +1111,13 @@ var C3 = /* @__PURE__ */ Vm(function(a, n) {
1111
1111
  n.insert("", i, m, !1);
1112
1112
  }, [n, i.name]), null;
1113
1113
  });
1114
- function Da() {
1114
+ function Ba() {
1115
1115
  for (var a = arguments.length, n = new Array(a), t = 0; t < a; t++)
1116
1116
  n[t] = arguments[t];
1117
1117
  return yg(n);
1118
1118
  }
1119
1119
  var hg = function() {
1120
- var n = Da.apply(void 0, arguments), t = "animation-" + n.name;
1120
+ var n = Ba.apply(void 0, arguments), t = "animation-" + n.name;
1121
1121
  return {
1122
1122
  name: t,
1123
1123
  styles: "@keyframes " + t + "{" + n.styles + "}",
@@ -2187,7 +2187,7 @@ const X3 = (a, n) => {
2187
2187
  GlobalStyles: $m,
2188
2188
  StyledEngineProvider: Lh,
2189
2189
  ThemeContext: Ks,
2190
- css: Da,
2190
+ css: Ba,
2191
2191
  default: V3,
2192
2192
  internal_processStyles: X3,
2193
2193
  keyframes: hg
@@ -6804,7 +6804,7 @@ function DC(a) {
6804
6804
  const Wa = xa, oe = Ka.clientHeight + Ka.scrollTop, ct = Wa.offsetTop + Wa.offsetHeight;
6805
6805
  ct > oe ? Ka.scrollTop = ct - Ka.clientHeight : Wa.offsetTop - Wa.offsetHeight * (j ? 1.3 : 0) < Ka.scrollTop && (Ka.scrollTop = Wa.offsetTop - Wa.offsetHeight * (j ? 1.3 : 0));
6806
6806
  }
6807
- }), Ba = De(({
6807
+ }), Da = De(({
6808
6808
  event: Y,
6809
6809
  diff: Z,
6810
6810
  direction: ya = "next",
@@ -6855,7 +6855,7 @@ function DC(a) {
6855
6855
  }
6856
6856
  const Z = U ? ka[0] : ka;
6857
6857
  if (ha.length === 0 || Z == null) {
6858
- Ba({
6858
+ Da({
6859
6859
  diff: "reset"
6860
6860
  });
6861
6861
  return;
@@ -6866,7 +6866,7 @@ function DC(a) {
6866
6866
  if (U && ya && Pr(ka, (Ka) => ta(ya, Ka)) !== -1)
6867
6867
  return;
6868
6868
  const da = Pr(ha, (Ka) => ta(Ka, Z));
6869
- da === -1 ? Ba({
6869
+ da === -1 ? Da({
6870
6870
  diff: "reset"
6871
6871
  }) : fa({
6872
6872
  index: da
@@ -6890,7 +6890,7 @@ function DC(a) {
6890
6890
  // eslint-disable-next-line react-hooks/exhaustive-deps
6891
6891
  U ? !1 : ka,
6892
6892
  P,
6893
- Ba,
6893
+ Da,
6894
6894
  fa,
6895
6895
  za,
6896
6896
  Ga,
@@ -6957,7 +6957,7 @@ function DC(a) {
6957
6957
  if (Y.onKeyDown && Y.onKeyDown(Z), !Z.defaultMuiPrevented && (K !== -1 && ["ArrowLeft", "ArrowRight"].indexOf(Z.key) === -1 && (Ca(-1), Dn(-1)), Z.which !== 229))
6958
6958
  switch (Z.key) {
6959
6959
  case "Home":
6960
- za && z && (Z.preventDefault(), Ba({
6960
+ za && z && (Z.preventDefault(), Da({
6961
6961
  diff: "start",
6962
6962
  direction: "next",
6963
6963
  reason: "keyboard",
@@ -6965,7 +6965,7 @@ function DC(a) {
6965
6965
  }));
6966
6966
  break;
6967
6967
  case "End":
6968
- za && z && (Z.preventDefault(), Ba({
6968
+ za && z && (Z.preventDefault(), Da({
6969
6969
  diff: "end",
6970
6970
  direction: "previous",
6971
6971
  reason: "keyboard",
@@ -6973,7 +6973,7 @@ function DC(a) {
6973
6973
  }));
6974
6974
  break;
6975
6975
  case "PageUp":
6976
- Z.preventDefault(), Ba({
6976
+ Z.preventDefault(), Da({
6977
6977
  diff: -uL,
6978
6978
  direction: "previous",
6979
6979
  reason: "keyboard",
@@ -6981,7 +6981,7 @@ function DC(a) {
6981
6981
  }), le(Z);
6982
6982
  break;
6983
6983
  case "PageDown":
6984
- Z.preventDefault(), Ba({
6984
+ Z.preventDefault(), Da({
6985
6985
  diff: uL,
6986
6986
  direction: "next",
6987
6987
  reason: "keyboard",
@@ -6989,7 +6989,7 @@ function DC(a) {
6989
6989
  }), le(Z);
6990
6990
  break;
6991
6991
  case "ArrowDown":
6992
- Z.preventDefault(), Ba({
6992
+ Z.preventDefault(), Da({
6993
6993
  diff: 1,
6994
6994
  direction: "next",
6995
6995
  reason: "keyboard",
@@ -6997,7 +6997,7 @@ function DC(a) {
6997
6997
  }), le(Z);
6998
6998
  break;
6999
6999
  case "ArrowUp":
7000
- Z.preventDefault(), Ba({
7000
+ Z.preventDefault(), Da({
7001
7001
  diff: -1,
7002
7002
  direction: "previous",
7003
7003
  reason: "keyboard",
@@ -10415,7 +10415,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
10415
10415
  id: Dn,
10416
10416
  popupOpen: Qn,
10417
10417
  focused: fa,
10418
- focusedTag: Ba,
10418
+ focusedTag: Da,
10419
10419
  anchorEl: un,
10420
10420
  setAnchorEl: Vn,
10421
10421
  inputValue: gt,
@@ -10439,7 +10439,7 @@ const MP = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
10439
10439
  getOptionLabel: He,
10440
10440
  hasClearIcon: _e,
10441
10441
  hasPopupIcon: ye,
10442
- inputFocused: Ba === -1,
10442
+ inputFocused: Da === -1,
10443
10443
  popupOpen: Qn,
10444
10444
  size: Ga
10445
10445
  }), fn = GP(Xn);
@@ -17087,34 +17087,34 @@ const zz = (a) => {
17087
17087
  return;
17088
17088
  const fa = de(pa.current).getElementById(P);
17089
17089
  if (fa) {
17090
- const Ba = () => {
17090
+ const Da = () => {
17091
17091
  getSelection().isCollapsed && pa.current.focus();
17092
17092
  };
17093
- return fa.addEventListener("click", Ba), () => {
17094
- fa.removeEventListener("click", Ba);
17093
+ return fa.addEventListener("click", Da), () => {
17094
+ fa.removeEventListener("click", Da);
17095
17095
  };
17096
17096
  }
17097
17097
  }, [P]);
17098
- const K = (fa, Ba) => {
17099
- fa ? J && J(Ba) : z && z(Ba), ca || (ga(u ? null : va.clientWidth), Q(fa));
17098
+ const K = (fa, Da) => {
17099
+ fa ? J && J(Da) : z && z(Da), ca || (ga(u ? null : va.clientWidth), Q(fa));
17100
17100
  }, Ca = (fa) => {
17101
17101
  fa.button === 0 && (fa.preventDefault(), pa.current.focus(), K(!0, fa));
17102
17102
  }, $ = (fa) => {
17103
17103
  K(!1, fa);
17104
17104
  }, Sa = v.Children.toArray(d), ka = (fa) => {
17105
- const Ba = Sa.find((un) => un.props.value === fa.target.value);
17106
- Ba !== void 0 && (La(Ba.props.value), j && j(fa, Ba));
17107
- }, mn = (fa) => (Ba) => {
17105
+ const Da = Sa.find((un) => un.props.value === fa.target.value);
17106
+ Da !== void 0 && (La(Da.props.value), j && j(fa, Da));
17107
+ }, mn = (fa) => (Da) => {
17108
17108
  let un;
17109
- if (Ba.currentTarget.hasAttribute("tabindex")) {
17109
+ if (Da.currentTarget.hasAttribute("tabindex")) {
17110
17110
  if (M) {
17111
17111
  un = Array.isArray(W) ? W.slice() : [];
17112
17112
  const Vn = W.indexOf(fa.props.value);
17113
17113
  Vn === -1 ? un.push(fa.props.value) : un.splice(Vn, 1);
17114
17114
  } else
17115
17115
  un = fa.props.value;
17116
- if (fa.props.onClick && fa.props.onClick(Ba), W !== un && (La(un), j)) {
17117
- const Vn = Ba.nativeEvent || Ba, gt = new Vn.constructor(Vn.type, Vn);
17116
+ if (fa.props.onClick && fa.props.onClick(Da), W !== un && (La(un), j)) {
17117
+ const Vn = Da.nativeEvent || Da, gt = new Vn.constructor(Vn.type, Vn);
17118
17118
  Object.defineProperty(gt, "target", {
17119
17119
  writable: !0,
17120
17120
  value: {
@@ -17123,7 +17123,7 @@ const zz = (a) => {
17123
17123
  }
17124
17124
  }), j(gt, fa);
17125
17125
  }
17126
- M || K(!1, Ba);
17126
+ M || K(!1, Da);
17127
17127
  }
17128
17128
  }, Ga = (fa) => {
17129
17129
  ta || [
@@ -17155,21 +17155,21 @@ const zz = (a) => {
17155
17155
  return null;
17156
17156
  process.env.NODE_ENV !== "production" && pi.isFragment(fa) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
17157
17157
  `));
17158
- let Ba;
17158
+ let Da;
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`." : Rs(2));
17162
- Ba = W.some((un) => DL(un, fa.props.value)), Ba && nn && rn.push(fa.props.children);
17162
+ Da = W.some((un) => DL(un, fa.props.value)), Da && nn && rn.push(fa.props.children);
17163
17163
  } else
17164
- Ba = DL(W, fa.props.value), Ba && nn && (ln = fa.props.children);
17165
- return Ba && (vn = !0), /* @__PURE__ */ v.cloneElement(fa, {
17166
- "aria-selected": Ba ? "true" : "false",
17164
+ Da = DL(W, fa.props.value), Da && nn && (ln = fa.props.children);
17165
+ return Da && (vn = !0), /* @__PURE__ */ v.cloneElement(fa, {
17166
+ "aria-selected": Da ? "true" : "false",
17167
17167
  onClick: mn(fa),
17168
17168
  onKeyUp: (un) => {
17169
17169
  un.key === " " && un.preventDefault(), fa.props.onKeyUp && fa.props.onKeyUp(un);
17170
17170
  },
17171
17171
  role: "option",
17172
- selected: Ba,
17172
+ selected: Da,
17173
17173
  value: void 0,
17174
17174
  // The value is most likely not a valid HTML attribute.
17175
17175
  "data-value": fa.props.value
@@ -17178,11 +17178,11 @@ const zz = (a) => {
17178
17178
  });
17179
17179
  process.env.NODE_ENV !== "production" && v.useEffect(() => {
17180
17180
  if (!vn && !M && W !== "") {
17181
- const fa = Sa.map((Ba) => Ba.props.value);
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((Ba) => Ba != null).map((Ba) => `\`${Ba}\``).join(", ") || '""'}.`].join(`
17181
+ const fa = Sa.map((Da) => Da.props.value);
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((Da) => Da != null).map((Da) => `\`${Da}\``).join(", ") || '""'}.`].join(`
17183
17183
  `));
17184
17184
  }
17185
- }, [vn, Sa, M, C, W]), nn && (M ? rn.length === 0 ? Ea = null : Ea = rn.reduce((fa, Ba, un) => (fa.push(Ba), un < rn.length - 1 && fa.push(", "), fa), []) : Ea = ln);
17185
+ }, [vn, Sa, M, C, W]), nn && (M ? rn.length === 0 ? Ea = null : Ea = rn.reduce((fa, Da, un) => (fa.push(Da), un < rn.length - 1 && fa.push(", "), fa), []) : Ea = ln);
17186
17186
  let jn = _a;
17187
17187
  !u && ca && ia && (jn = va.clientWidth);
17188
17188
  let za;
@@ -17894,7 +17894,7 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17894
17894
  v.useEffect(() => Qn, [Qn]);
17895
17895
  const fa = (xa) => {
17896
17896
  KL.clear(), Ir = !0, ha(!0), ia && !sn && ia(xa);
17897
- }, Ba = De(
17897
+ }, Da = De(
17898
17898
  /**
17899
17899
  * @param {React.SyntheticEvent | Event} event
17900
17900
  */
@@ -17911,7 +17911,7 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17911
17911
  }) : fa(xa));
17912
17912
  }, Vn = (xa) => {
17913
17913
  vn.clear(), qn.start(Q, () => {
17914
- Ba(xa);
17914
+ Da(xa);
17915
17915
  });
17916
17916
  }, {
17917
17917
  isFocusVisibleRef: gt,
@@ -17932,19 +17932,19 @@ const Rb = /* @__PURE__ */ v.forwardRef(function(n, t) {
17932
17932
  });
17933
17933
  }, ns = (xa) => {
17934
17934
  Sa.props.onTouchEnd && Sa.props.onTouchEnd(xa), Qn(), qn.start(Ta, () => {
17935
- Ba(xa);
17935
+ Da(xa);
17936
17936
  });
17937
17937
  };
17938
17938
  v.useEffect(() => {
17939
17939
  if (!sn)
17940
17940
  return;
17941
17941
  function xa(Wa) {
17942
- (Wa.key === "Escape" || Wa.key === "Esc") && Ba(Wa);
17942
+ (Wa.key === "Escape" || Wa.key === "Esc") && Da(Wa);
17943
17943
  }
17944
17944
  return document.addEventListener("keydown", xa), () => {
17945
17945
  document.removeEventListener("keydown", xa);
17946
17946
  };
17947
- }, [Ba, sn]);
17947
+ }, [Da, sn]);
17948
17948
  const Ws = Wn(Sa.ref, ye, _n, t);
17949
17949
  !va && va !== 0 && (sn = !1);
17950
17950
  const He = v.useRef(), Xn = (xa) => {
@@ -103713,7 +103713,7 @@ gg.exports;
103713
103713
  ["partial", x],
103714
103714
  ["partialRight", j],
103715
103715
  ["rearg", E]
103716
- ], la = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", ga = "[object Boolean]", ua = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", mn = "[object Object]", Ga = "[object Promise]", _n = "[object Proxy]", en = "[object RegExp]", Ea = "[object Set]", ln = "[object String]", rn = "[object Symbol]", nn = "[object Undefined]", vn = "[object WeakMap]", qn = "[object WeakSet]", jn = "[object ArrayBuffer]", za = "[object DataView]", ha = "[object Float32Array]", sn = "[object Float64Array]", $n = "[object Int8Array]", Dn = "[object Int16Array]", Qn = "[object Int32Array]", fa = "[object Uint8Array]", Ba = "[object Uint8ClampedArray]", un = "[object Uint16Array]", Vn = "[object Uint32Array]", gt = /\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, Ws = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, He = /^\w*$/, Xn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, fn = /[\\^$.*+?()[\]{}|]/g, se = RegExp(fn.source), ae = /^\s+/, lt = /\s/, Ns = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, mt = /\{\n\/\* \[wrapped with (.+)\] \*/, St = /,? & /, _t = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Oe = /[()=,{}\[\]\/\s]/, ut = /\\(\\)?/g, Y = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Z = /\w*$/, ya = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, Ka = /^\[object .+?Constructor\]$/, xa = /^0o[0-7]+$/i, Wa = /^(?:0|[1-9]\d*)$/, oe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ct = /($^)/, hp = /['\n\r\u2028\u2029\\]/g, Ri = "\\ud800-\\udfff", bp = "\\u0300-\\u036f", pp = "\\ufe20-\\ufe2f", Tp = "\\u20d0-\\u20ff", Ou = bp + pp + Tp, Wu = "\\u2700-\\u27bf", Yu = "a-z\\xdf-\\xf6\\xf8-\\xff", xp = "\\xac\\xb1\\xd7\\xf7", kp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Np = "\\u2000-\\u206f", vp = " \\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", Fu = "A-Z\\xc0-\\xd6\\xd8-\\xde", Vu = "\\ufe0e\\ufe0f", Xu = xp + kp + Np + vp, Eg = "['’]", Sp = "[" + Ri + "]", Ju = "[" + Xu + "]", qi = "[" + Ou + "]", $u = "\\d+", _p = "[" + Wu + "]", Qu = "[" + Yu + "]", ac = "[^" + Ri + Xu + $u + Wu + Yu + Fu + "]", Ug = "\\ud83c[\\udffb-\\udfff]", fp = "(?:" + qi + "|" + Ug + ")", nc = "[^" + Ri + "]", Hg = "(?:\\ud83c[\\udde6-\\uddff]){2}", Og = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ys = "[" + Fu + "]", ec = "\\u200d", tc = "(?:" + Qu + "|" + ac + ")", wp = "(?:" + Ys + "|" + ac + ")", sc = "(?:" + Eg + "(?:d|ll|m|re|s|t|ve))?", oc = "(?:" + Eg + "(?:D|LL|M|RE|S|T|VE))?", ic = fp + "?", rc = "[" + Vu + "]?", Mp = "(?:" + ec + "(?:" + [nc, Hg, Og].join("|") + ")" + rc + ic + ")*", Cp = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ap = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gc = rc + ic + Mp, Pp = "(?:" + [_p, Hg, Og].join("|") + ")" + gc, Gp = "(?:" + [nc + qi + "?", qi, Hg, Og, Sp].join("|") + ")", jp = RegExp(Eg, "g"), zp = RegExp(qi, "g"), Wg = RegExp(Ug + "(?=" + Ug + ")|" + Gp + gc, "g"), Ip = RegExp([
103716
+ ], la = "[object Arguments]", ca = "[object Array]", _a = "[object AsyncFunction]", ga = "[object Boolean]", ua = "[object Date]", Ma = "[object DOMException]", va = "[object Error]", K = "[object Function]", Ca = "[object GeneratorFunction]", $ = "[object Map]", Sa = "[object Number]", ka = "[object Null]", mn = "[object Object]", Ga = "[object Promise]", _n = "[object Proxy]", en = "[object RegExp]", Ea = "[object Set]", ln = "[object String]", rn = "[object Symbol]", nn = "[object Undefined]", vn = "[object WeakMap]", qn = "[object WeakSet]", jn = "[object ArrayBuffer]", za = "[object DataView]", ha = "[object Float32Array]", sn = "[object Float64Array]", $n = "[object Int8Array]", Dn = "[object Int16Array]", Qn = "[object Int32Array]", fa = "[object Uint8Array]", Da = "[object Uint8ClampedArray]", un = "[object Uint16Array]", Vn = "[object Uint32Array]", gt = /\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, Ws = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, He = /^\w*$/, Xn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, fn = /[\\^$.*+?()[\]{}|]/g, se = RegExp(fn.source), ae = /^\s+/, lt = /\s/, Ns = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, mt = /\{\n\/\* \[wrapped with (.+)\] \*/, St = /,? & /, _t = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Oe = /[()=,{}\[\]\/\s]/, ut = /\\(\\)?/g, Y = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Z = /\w*$/, ya = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, Ka = /^\[object .+?Constructor\]$/, xa = /^0o[0-7]+$/i, Wa = /^(?:0|[1-9]\d*)$/, oe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ct = /($^)/, hp = /['\n\r\u2028\u2029\\]/g, Ri = "\\ud800-\\udfff", bp = "\\u0300-\\u036f", pp = "\\ufe20-\\ufe2f", Tp = "\\u20d0-\\u20ff", Ou = bp + pp + Tp, Wu = "\\u2700-\\u27bf", Yu = "a-z\\xdf-\\xf6\\xf8-\\xff", xp = "\\xac\\xb1\\xd7\\xf7", kp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Np = "\\u2000-\\u206f", vp = " \\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", Fu = "A-Z\\xc0-\\xd6\\xd8-\\xde", Vu = "\\ufe0e\\ufe0f", Xu = xp + kp + Np + vp, Eg = "['’]", Sp = "[" + Ri + "]", Ju = "[" + Xu + "]", qi = "[" + Ou + "]", $u = "\\d+", _p = "[" + Wu + "]", Qu = "[" + Yu + "]", ac = "[^" + Ri + Xu + $u + Wu + Yu + Fu + "]", Ug = "\\ud83c[\\udffb-\\udfff]", fp = "(?:" + qi + "|" + Ug + ")", nc = "[^" + Ri + "]", Hg = "(?:\\ud83c[\\udde6-\\uddff]){2}", Og = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ys = "[" + Fu + "]", ec = "\\u200d", tc = "(?:" + Qu + "|" + ac + ")", wp = "(?:" + Ys + "|" + ac + ")", sc = "(?:" + Eg + "(?:d|ll|m|re|s|t|ve))?", oc = "(?:" + Eg + "(?:D|LL|M|RE|S|T|VE))?", ic = fp + "?", rc = "[" + Vu + "]?", Mp = "(?:" + ec + "(?:" + [nc, Hg, Og].join("|") + ")" + rc + ic + ")*", Cp = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ap = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gc = rc + ic + Mp, Pp = "(?:" + [_p, Hg, Og].join("|") + ")" + gc, Gp = "(?:" + [nc + qi + "?", qi, Hg, Og, Sp].join("|") + ")", jp = RegExp(Eg, "g"), zp = RegExp(qi, "g"), Wg = RegExp(Ug + "(?=" + Ug + ")|" + Gp + gc, "g"), Ip = RegExp([
103717
103717
  Ys + "?" + Qu + "+" + sc + "(?=" + [Ju, Ys, "$"].join("|") + ")",
103718
103718
  wp + "+" + oc + "(?=" + [Ju, Ys + tc, "$"].join("|") + ")",
103719
103719
  Ys + "?" + tc + "+" + sc,
@@ -103754,9 +103754,9 @@ gg.exports;
103754
103754
  "parseInt",
103755
103755
  "setTimeout"
103756
103756
  ], Rp = -1, zn = {};
103757
- zn[ha] = zn[sn] = zn[$n] = zn[Dn] = zn[Qn] = zn[fa] = zn[Ba] = zn[un] = zn[Vn] = !0, zn[la] = zn[ca] = zn[jn] = zn[ga] = zn[za] = zn[ua] = zn[va] = zn[K] = zn[$] = zn[Sa] = zn[mn] = zn[en] = zn[Ea] = zn[ln] = zn[vn] = !1;
103757
+ zn[ha] = zn[sn] = zn[$n] = zn[Dn] = zn[Qn] = zn[fa] = zn[Da] = zn[un] = zn[Vn] = !0, zn[la] = zn[ca] = zn[jn] = zn[ga] = zn[za] = zn[ua] = zn[va] = zn[K] = zn[$] = zn[Sa] = zn[mn] = zn[en] = zn[Ea] = zn[ln] = zn[vn] = !1;
103758
103758
  var Cn = {};
103759
- Cn[la] = Cn[ca] = Cn[jn] = Cn[za] = Cn[ga] = Cn[ua] = Cn[ha] = Cn[sn] = Cn[$n] = Cn[Dn] = Cn[Qn] = Cn[$] = Cn[Sa] = Cn[mn] = Cn[en] = Cn[Ea] = Cn[ln] = Cn[rn] = Cn[fa] = Cn[Ba] = Cn[un] = Cn[Vn] = !0, Cn[va] = Cn[K] = Cn[vn] = !1;
103759
+ Cn[la] = Cn[ca] = Cn[jn] = Cn[za] = Cn[ga] = Cn[ua] = Cn[ha] = Cn[sn] = Cn[$n] = Cn[Dn] = Cn[Qn] = Cn[$] = Cn[Sa] = Cn[mn] = Cn[en] = Cn[Ea] = Cn[ln] = Cn[rn] = Cn[fa] = Cn[Da] = Cn[un] = Cn[Vn] = !0, Cn[va] = Cn[K] = Cn[vn] = !1;
103760
103760
  var qp = {
103761
103761
  // Latin-1 Supplement block.
103762
103762
  À: "A",
@@ -105745,7 +105745,7 @@ gg.exports;
105745
105745
  case Dn:
105746
105746
  case Qn:
105747
105747
  case fa:
105748
- case Ba:
105748
+ case Da:
105749
105749
  case un:
105750
105750
  case Vn:
105751
105751
  return gd(e, g);
@@ -303337,7 +303337,7 @@ const Pn = {
303337
303337
  Nu,
303338
303338
  {
303339
303339
  variant: "outlined",
303340
- css: Da`
303340
+ css: Ba`
303341
303341
  position: relative; // so children can be positioned absolutely
303342
303342
  box-shadow: ${Pn.greys[2]} 0px 3px 5px;
303343
303343
  background-color: ${n};
@@ -303346,7 +303346,7 @@ const Pn = {
303346
303346
  children: /* @__PURE__ */ Ia(
303347
303347
  Tb,
303348
303348
  {
303349
- css: Da`
303349
+ css: Ba`
303350
303350
  padding: 10px;
303351
303351
  :last-child {
303352
303352
  // otherwise mui puts a lot of bottom padding on the last child
@@ -303385,7 +303385,7 @@ const si = ({ children: a, ...n }) => {
303385
303385
  /* @__PURE__ */ Rn(
303386
303386
  "div",
303387
303387
  {
303388
- css: Da`
303388
+ css: Ba`
303389
303389
  display: flex;
303390
303390
  flex-direction: row;
303391
303391
  flex-wrap: wrap;
@@ -303397,7 +303397,7 @@ const si = ({ children: a, ...n }) => {
303397
303397
  si,
303398
303398
  {
303399
303399
  variant: "h2",
303400
- css: Da`
303400
+ css: Ba`
303401
303401
  flex-grow: 1;
303402
303402
  `,
303403
303403
  children: a.autonym || a.exonym
@@ -303407,7 +303407,7 @@ const si = ({ children: a, ...n }) => {
303407
303407
  si,
303408
303408
  {
303409
303409
  variant: "h2",
303410
- css: Da`
303410
+ css: Ba`
303411
303411
  flex-grow: 0;
303412
303412
  `,
303413
303413
  children: a.exonym
@@ -303417,7 +303417,7 @@ const si = ({ children: a, ...n }) => {
303417
303417
  si,
303418
303418
  {
303419
303419
  variant: "body2",
303420
- css: Da`
303420
+ css: Ba`
303421
303421
  flex-grow: 0;
303422
303422
  margin-bottom: 1px; // for visual alignment
303423
303423
  color: ${Pn.greys[3]};
@@ -303433,7 +303433,7 @@ const si = ({ children: a, ...n }) => {
303433
303433
  {
303434
303434
  variant: "subtitle1",
303435
303435
  gutterBottom: !0,
303436
- css: Da`
303436
+ css: Ba`
303437
303437
  margin-top: 8px;
303438
303438
  // Copilot gave me this to cut off after 2 lines with an ellipsis
303439
303439
  display: -webkit-box;
@@ -303449,7 +303449,7 @@ const si = ({ children: a, ...n }) => {
303449
303449
  si,
303450
303450
  {
303451
303451
  variant: "subtitle1",
303452
- css: Da`
303452
+ css: Ba`
303453
303453
  text-wrap: balance;
303454
303454
  color: ${Pn.greys[3]};
303455
303455
  `,
@@ -303469,7 +303469,7 @@ const si = ({ children: a, ...n }) => {
303469
303469
  qe,
303470
303470
  {
303471
303471
  variant: "subtitle1",
303472
- css: Da`
303472
+ css: Ba`
303473
303473
  color: ${Pn.greys[3]};
303474
303474
  `,
303475
303475
  children: "TODO sample text here"
@@ -303573,7 +303573,7 @@ const fB = ({
303573
303573
  {
303574
303574
  variant: "outlined",
303575
303575
  color: "primary",
303576
- css: Da`
303576
+ css: Ba`
303577
303577
  border: 1.5px solid ${Pn.greys[1]};
303578
303578
  :hover {
303579
303579
  border-color: ${Pn.black};
@@ -303591,7 +303591,7 @@ const fB = ({
303591
303591
  /* @__PURE__ */ Rn(
303592
303592
  qe,
303593
303593
  {
303594
- css: Da`
303594
+ css: Ba`
303595
303595
  text-transform: uppercase;
303596
303596
  color: ${Pn.black};
303597
303597
  font-size: 0.75rem;
@@ -303603,7 +303603,7 @@ const fB = ({
303603
303603
  !n && /* @__PURE__ */ Ia(
303604
303604
  ip,
303605
303605
  {
303606
- css: Da`
303606
+ css: Ba`
303607
303607
  height: 0.75rem;
303608
303608
  width: 0.75rem;
303609
303609
  // for visual alignment
@@ -303620,7 +303620,7 @@ const fB = ({
303620
303620
  "div",
303621
303621
  {
303622
303622
  id: "custom-language-card-bottom",
303623
- css: Da`
303623
+ css: Ba`
303624
303624
  display: flex;
303625
303625
  align-items: center;
303626
303626
  width: 100%;
@@ -303631,7 +303631,7 @@ const fB = ({
303631
303631
  qe,
303632
303632
  {
303633
303633
  variant: "body2",
303634
- css: Da`
303634
+ css: Ba`
303635
303635
  text-align: left;
303636
303636
  color: ${Pn.greys[3]};
303637
303637
  `,
@@ -303645,7 +303645,7 @@ const fB = ({
303645
303645
  children: /* @__PURE__ */ Ia(
303646
303646
  rp,
303647
303647
  {
303648
- css: Da`
303648
+ css: Ba`
303649
303649
  color: ${Pn.greys[3]};
303650
303650
  margin-left: 10px;
303651
303651
  `
@@ -303667,35 +303667,45 @@ var gp = qu.default = void 0, MB = wB(Di()), CB = _i;
303667
303667
  gp = qu.default = (0, MB.default)(/* @__PURE__ */ (0, CB.jsx)("path", {
303668
303668
  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"
303669
303669
  }), "Info");
303670
- const Si = ({ label: a, required: n, ...t }) => /* @__PURE__ */ Ia(fu, { ...t, children: /* @__PURE__ */ Rn(
303671
- qe,
303670
+ const Si = ({ label: a, required: n, ...t }) => /* @__PURE__ */ Ia(
303671
+ fu,
303672
303672
  {
303673
- css: Da`
303673
+ ...t,
303674
+ css: Ba`
303675
+ // Otherwise it is nowrap and the labels get in the way of horizontal shrinking on narrow screens
303676
+ text-wrap: wrap;
303677
+ `,
303678
+ children: /* @__PURE__ */ Rn(
303679
+ qe,
303680
+ {
303681
+ css: Ba`
303674
303682
  color: ${Pn.greys[3]};
303675
303683
  font-weight: bold;
303676
303684
  margin-bottom: 3px;
303677
303685
  `,
303678
- children: [
303679
- a,
303680
- n && /* @__PURE__ */ Ia(
303681
- "sup",
303682
- {
303683
- css: Da`
303686
+ children: [
303687
+ a,
303688
+ n && /* @__PURE__ */ Ia(
303689
+ "sup",
303690
+ {
303691
+ css: Ba`
303684
303692
  font-weight: normal;
303685
303693
  color: ${Pn.error};
303686
303694
  `,
303687
- children: "(required)"
303688
- }
303689
- )
303690
- ]
303695
+ children: "(required)"
303696
+ }
303697
+ )
303698
+ ]
303699
+ }
303700
+ )
303691
303701
  }
303692
- ) }), YL = ({ id: a, label: n, required: t, ...i }) => /* @__PURE__ */ Rn("div", { children: [
303702
+ ), YL = ({ id: a, label: n, required: t, ...i }) => /* @__PURE__ */ Rn("div", { children: [
303693
303703
  /* @__PURE__ */ Ia(Si, { htmlFor: a, label: n, required: t }),
303694
303704
  /* @__PURE__ */ Ia(
303695
303705
  rg,
303696
303706
  {
303697
303707
  type: "text",
303698
- css: Da`
303708
+ css: Ba`
303699
303709
  background-color: white;
303700
303710
  margin-right: 0;
303701
303711
  margin-bottom: 10px;
@@ -303744,7 +303754,7 @@ const GB = (a) => {
303744
303754
  {
303745
303755
  onClose: a.onClose,
303746
303756
  open: a.open,
303747
- css: Da`
303757
+ css: Ba`
303748
303758
  .MuiDialog-paper {
303749
303759
  padding: 20px 25px 25px 25px;
303750
303760
  display: flex;
@@ -303757,7 +303767,7 @@ const GB = (a) => {
303757
303767
  /* @__PURE__ */ Ia(
303758
303768
  vb,
303759
303769
  {
303760
- css: Da`
303770
+ css: Ba`
303761
303771
  font-weight: bold;
303762
303772
  padding: 0; //using padding on the entire dialog instead, plus gap between sections
303763
303773
  `,
@@ -303767,7 +303777,7 @@ const GB = (a) => {
303767
303777
  /* @__PURE__ */ Rn(
303768
303778
  Nb,
303769
303779
  {
303770
- css: Da`
303780
+ css: Ba`
303771
303781
  display: flex;
303772
303782
  flex-direction: column;
303773
303783
  gap: 15px;
@@ -303778,7 +303788,7 @@ const GB = (a) => {
303778
303788
  Nu,
303779
303789
  {
303780
303790
  variant: "outlined",
303781
- css: Da`
303791
+ css: Ba`
303782
303792
  border: 1px solid ${Pn.blues[2]};
303783
303793
  padding: 7px;
303784
303794
  flex-shrink: 0;
@@ -303786,7 +303796,7 @@ const GB = (a) => {
303786
303796
  children: /* @__PURE__ */ Rn(
303787
303797
  qe,
303788
303798
  {
303789
- css: Da`
303799
+ css: Ba`
303790
303800
  color: ${Pn.blues[2]};
303791
303801
  font-size: 0.875rem;
303792
303802
  display: flex;
@@ -303811,7 +303821,7 @@ const GB = (a) => {
303811
303821
  d(b.target.value);
303812
303822
  },
303813
303823
  size: "small",
303814
- css: Da`
303824
+ css: Ba`
303815
303825
  width: 100%;
303816
303826
  `,
303817
303827
  required: !0
@@ -303868,7 +303878,7 @@ const GB = (a) => {
303868
303878
  d(b.target.value);
303869
303879
  },
303870
303880
  size: "small",
303871
- css: Da`
303881
+ css: Ba`
303872
303882
  width: 100%;
303873
303883
  `,
303874
303884
  inputProps: {
@@ -303882,7 +303892,7 @@ const GB = (a) => {
303882
303892
  /* @__PURE__ */ Ia(
303883
303893
  "span",
303884
303894
  {
303885
- css: Da`
303895
+ css: Ba`
303886
303896
  font-weight: bold;
303887
303897
  `,
303888
303898
  children: Hb({
@@ -303902,14 +303912,14 @@ const GB = (a) => {
303902
303912
  /* @__PURE__ */ Ia(
303903
303913
  kb,
303904
303914
  {
303905
- css: Da`
303915
+ css: Ba`
303906
303916
  padding: 0; //using padding on the entire dialog instead, plus gap between sections
303907
303917
  `,
303908
303918
  children: /* @__PURE__ */ Rn(
303909
303919
  "div",
303910
303920
  {
303911
303921
  id: "buttons-container",
303912
- css: Da`
303922
+ css: Ba`
303913
303923
  // position: absolute;
303914
303924
  width: 100%;
303915
303925
  display: flex;
@@ -303919,7 +303929,7 @@ const GB = (a) => {
303919
303929
  /* @__PURE__ */ Ia(
303920
303930
  Mo,
303921
303931
  {
303922
- css: Da`
303932
+ css: Ba`
303923
303933
  margin-left: auto;
303924
303934
  margin-right: 10px;
303925
303935
  min-width: 100px;
@@ -303949,7 +303959,7 @@ const GB = (a) => {
303949
303959
  /* @__PURE__ */ Ia(
303950
303960
  Mo,
303951
303961
  {
303952
- css: Da`
303962
+ css: Ba`
303953
303963
  min-width: 100px;
303954
303964
  `,
303955
303965
  variant: "outlined",
@@ -304313,7 +304323,7 @@ const n6 = (a) => {
304313
304323
  "div",
304314
304324
  {
304315
304325
  id: "lang-chooser",
304316
- css: Da`
304326
+ css: Ba`
304317
304327
  width: 100%;
304318
304328
  height: 100%;
304319
304329
  display: flex;
@@ -304329,7 +304339,7 @@ const n6 = (a) => {
304329
304339
  $h,
304330
304340
  {
304331
304341
  position: "static",
304332
- css: Da`
304342
+ css: Ba`
304333
304343
  background-color: white;
304334
304344
  box-shadow: none;
304335
304345
  border-bottom: 2px solid ${Pn.greys[1]};
@@ -304340,7 +304350,7 @@ const n6 = (a) => {
304340
304350
  {
304341
304351
  disableGutters: !0,
304342
304352
  variant: "dense",
304343
- css: Da`
304353
+ css: Ba`
304344
304354
  padding-top: 5px;
304345
304355
  padding-left: 15px;
304346
304356
  `,
@@ -304349,7 +304359,7 @@ const n6 = (a) => {
304349
304359
  {
304350
304360
  variant: "h1",
304351
304361
  component: "div",
304352
- css: Da`
304362
+ css: Ba`
304353
304363
  color: black;
304354
304364
  `,
304355
304365
  children: "Choose Language"
@@ -304363,7 +304373,7 @@ const n6 = (a) => {
304363
304373
  "div",
304364
304374
  {
304365
304375
  id: "lang-chooser-body",
304366
- css: Da`
304376
+ css: Ba`
304367
304377
  flex-grow: 1;
304368
304378
  display: flex;
304369
304379
  `,
@@ -304372,7 +304382,7 @@ const n6 = (a) => {
304372
304382
  "div",
304373
304383
  {
304374
304384
  id: "left-pane",
304375
- css: Da`
304385
+ css: Ba`
304376
304386
  flex-grow: 1;
304377
304387
  // height: 100%;
304378
304388
  position: relative;
@@ -304394,7 +304404,7 @@ const n6 = (a) => {
304394
304404
  {
304395
304405
  type: "text",
304396
304406
  inputRef: (S) => l = S,
304397
- css: Da`
304407
+ css: Ba`
304398
304408
  background-color: white;
304399
304409
  margin-bottom: 10px;
304400
304410
  width: 100%;
@@ -304410,7 +304420,7 @@ const n6 = (a) => {
304410
304420
  wb,
304411
304421
  {
304412
304422
  position: "start",
304413
- css: Da`
304423
+ css: Ba`
304414
304424
  margin-left: 0;
304415
304425
  color: ${Pn.greys[2]};
304416
304426
  `,
@@ -304421,7 +304431,7 @@ const n6 = (a) => {
304421
304431
  Ag,
304422
304432
  {
304423
304433
  onClick: m,
304424
- css: Da`
304434
+ css: Ba`
304425
304435
  padding-right: 0px;
304426
304436
  `,
304427
304437
  children: /* @__PURE__ */ Ia(Eb, {})
@@ -304440,7 +304450,7 @@ const n6 = (a) => {
304440
304450
  "div",
304441
304451
  {
304442
304452
  id: "language-card-list",
304443
- css: Da`
304453
+ css: Ba`
304444
304454
  overflow-y: auto;
304445
304455
  scrollbar-width: thick;
304446
304456
  flex-basis: 0;
@@ -304457,7 +304467,7 @@ const n6 = (a) => {
304457
304467
  /* @__PURE__ */ Ia(
304458
304468
  hB,
304459
304469
  {
304460
- css: Da`
304470
+ css: Ba`
304461
304471
  min-height: ${d};
304462
304472
  flex-direction: column;
304463
304473
  margin: 5px 10px 5px 0px;
@@ -304476,7 +304486,7 @@ const n6 = (a) => {
304476
304486
  ) && S.scripts.length > 1 && /* @__PURE__ */ Ia(
304477
304487
  wu,
304478
304488
  {
304479
- css: Da`
304489
+ css: Ba`
304480
304490
  width: 100%;
304481
304491
  display: flex;
304482
304492
  flex-direction: row;
@@ -304489,14 +304499,14 @@ const n6 = (a) => {
304489
304499
  return /* @__PURE__ */ Ia(
304490
304500
  Mb,
304491
304501
  {
304492
- css: Da`
304502
+ css: Ba`
304493
304503
  padding: 5px 10px;
304494
304504
  width: fit-content;
304495
304505
  `,
304496
304506
  children: /* @__PURE__ */ Ia(
304497
304507
  bB,
304498
304508
  {
304499
- css: Da`
304509
+ css: Ba`
304500
304510
  min-width: 100px;
304501
304511
  `,
304502
304512
  scriptData: I,
@@ -304525,7 +304535,7 @@ const n6 = (a) => {
304525
304535
  {
304526
304536
  currentTagPreview: r,
304527
304537
  forUnlistedLanguage: !n.selectedLanguage || Du(n.selectedLanguage),
304528
- css: Da`
304538
+ css: Ba`
304529
304539
  min-width: 60%;
304530
304540
  margin-top: 10px;
304531
304541
  `,
@@ -304539,7 +304549,7 @@ const n6 = (a) => {
304539
304549
  "div",
304540
304550
  {
304541
304551
  id: "right-pane",
304542
- css: Da`
304552
+ css: Ba`
304543
304553
  width: 421px;
304544
304554
  flex-shrink: 0;
304545
304555
  display: flex;
@@ -304566,7 +304576,7 @@ const n6 = (a) => {
304566
304576
  inputProps: {
304567
304577
  spellCheck: !1
304568
304578
  },
304569
- css: Da`
304579
+ css: Ba`
304570
304580
  background-color: white;
304571
304581
  margin-right: 16px;
304572
304582
  margin-bottom: 10px;
@@ -304592,7 +304602,7 @@ const n6 = (a) => {
304592
304602
  qe,
304593
304603
  {
304594
304604
  variant: "body2",
304595
- css: Da`
304605
+ css: Ba`
304596
304606
  color: ${Pn.greys[3]};
304597
304607
  `,
304598
304608
  children: r
@@ -304603,7 +304613,7 @@ const n6 = (a) => {
304603
304613
  "div",
304604
304614
  {
304605
304615
  id: "buttons-container",
304606
- css: Da`
304616
+ css: Ba`
304607
304617
  width: 100%;
304608
304618
  display: flex;
304609
304619
  justify-content: flex-end;
@@ -304614,7 +304624,7 @@ const n6 = (a) => {
304614
304624
  /* @__PURE__ */ Ia(
304615
304625
  Mo,
304616
304626
  {
304617
- css: Da`
304627
+ css: Ba`
304618
304628
  margin-left: auto;
304619
304629
  margin-right: 10px;
304620
304630
  min-width: 100px;
@@ -304635,7 +304645,7 @@ const n6 = (a) => {
304635
304645
  /* @__PURE__ */ Ia(
304636
304646
  Mo,
304637
304647
  {
304638
- css: Da`
304648
+ css: Ba`
304639
304649
  min-width: 100px;
304640
304650
  `,
304641
304651
  variant: "outlined",