@eleven-labs/design-system 0.35.0 → 0.36.0

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/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as M, jsx as s, Fragment as Re } from "react/jsx-runtime";
2
2
  import * as nt from "react";
3
- import _e, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as we, useEffect as Pe, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
3
+ import ye, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as we, useEffect as Pe, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
4
4
  const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
5
5
  /* @__PURE__ */ s(
6
6
  "path",
@@ -659,7 +659,7 @@ const qe = {
659
659
  height: ["height"],
660
660
  hiddenBelow: ["display"],
661
661
  hiddenAbove: ["display"]
662
- }, _i = {
662
+ }, yi = {
663
663
  textAlign: ["text-align"],
664
664
  textSize: ["font-size", "line-height"],
665
665
  fontWeight: ["font-weight"],
@@ -667,11 +667,11 @@ const qe = {
667
667
  underline: ["text-decoration"],
668
668
  textTransform: ["text-transform"],
669
669
  lineClamp: ["-webkit-line-clamp"]
670
- }, yi = {
670
+ }, _i = {
671
671
  ...vn,
672
672
  ...vi,
673
673
  ...gi,
674
- ..._i,
674
+ ...yi,
675
675
  ...bi,
676
676
  ...hi
677
677
  }, Ei = {
@@ -788,7 +788,7 @@ const qe = {
788
788
  propValue: e.flex,
789
789
  className: "flex"
790
790
  })
791
- ), _n = (e) => re(
791
+ ), yn = (e) => re(
792
792
  Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
793
793
  ...Ie({
794
794
  className: n,
@@ -822,7 +822,7 @@ const qe = {
822
822
  ) : {}, Ai = (e) => re(
823
823
  bn(e),
824
824
  Si(e),
825
- _n(e),
825
+ yn(e),
826
826
  Ci(e),
827
827
  Mi(e),
828
828
  Ti(e)
@@ -834,7 +834,7 @@ const qe = {
834
834
  ...it({ props: o, systemPropNames: [...Object.keys(hn), "color"] }),
835
835
  className: re(
836
836
  "icon",
837
- _n(o),
837
+ yn(o),
838
838
  bn(o),
839
839
  o == null ? void 0 : o.className
840
840
  ),
@@ -844,7 +844,7 @@ const qe = {
844
844
  }
845
845
  );
846
846
  };
847
- const wc = ["website", "blog"], yn = Me(({ name: e, size: t, ...n }, i) => /* @__PURE__ */ M(
847
+ const wc = ["website", "blog"], _n = Me(({ name: e, size: t, ...n }, i) => /* @__PURE__ */ M(
848
848
  F,
849
849
  {
850
850
  ...n,
@@ -1041,10 +1041,10 @@ function In(e) {
1041
1041
  style: ji(a.className, Object.assign({}, a.style, o), n)
1042
1042
  });
1043
1043
  }
1044
- var _ = p(t.children);
1045
- return /* @__PURE__ */ _e.createElement(d, Y({
1044
+ var y = p(t.children);
1045
+ return /* @__PURE__ */ ye.createElement(d, Y({
1046
1046
  key: c
1047
- }, E), _);
1047
+ }, E), y);
1048
1048
  }
1049
1049
  }
1050
1050
  const Fi = function(e, t) {
@@ -1081,7 +1081,7 @@ function Yi(e) {
1081
1081
  var t = e.lines, n = e.startingLineNumber, i = e.style;
1082
1082
  return t.map(function(o, r) {
1083
1083
  var c = r + n;
1084
- return /* @__PURE__ */ _e.createElement("span", {
1084
+ return /* @__PURE__ */ ye.createElement("span", {
1085
1085
  key: "line-".concat(r),
1086
1086
  className: "react-syntax-highlighter-line-number",
1087
1087
  style: typeof i == "function" ? i(c) : i
@@ -1094,7 +1094,7 @@ function Xi(e) {
1094
1094
  float: "left",
1095
1095
  paddingRight: "10px"
1096
1096
  } : i, r = e.numberStyle, c = r === void 0 ? {} : r, a = e.startingLineNumber;
1097
- return /* @__PURE__ */ _e.createElement("code", {
1097
+ return /* @__PURE__ */ ye.createElement("code", {
1098
1098
  style: Object.assign({}, n, o)
1099
1099
  }, Yi({
1100
1100
  lines: t.replace(/\n$/, "").split(`
@@ -1186,7 +1186,7 @@ function Qi(e, t, n, i, o, r, c, a, l) {
1186
1186
  }
1187
1187
  return f;
1188
1188
  }
1189
- function _(f, w) {
1189
+ function y(f, w) {
1190
1190
  var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1191
1191
  return t || k.length > 0 ? T(f, w, k) : S(f, w);
1192
1192
  }
@@ -1205,7 +1205,7 @@ function Qi(e, t, n, i, o, r, c, a, l) {
1205
1205
  var Z = u.slice(E + 1, N).concat(x0({
1206
1206
  children: [ne],
1207
1207
  className: w.properties.className
1208
- })), ie = _(Z, X);
1208
+ })), ie = y(Z, X);
1209
1209
  p.push(ie);
1210
1210
  } else if (G === q.length - 1) {
1211
1211
  var oe = u[N + 1] && u[N + 1].children && u[N + 1].children[0], W = {
@@ -1219,11 +1219,11 @@ function Qi(e, t, n, i, o, r, c, a, l) {
1219
1219
  });
1220
1220
  u.splice(N + 1, 0, pe);
1221
1221
  } else {
1222
- var ge = [W], x = _(ge, X, w.properties.className);
1222
+ var ge = [W], x = y(ge, X, w.properties.className);
1223
1223
  p.push(x);
1224
1224
  }
1225
1225
  } else {
1226
- var D = [ne], K = _(D, X, w.properties.className);
1226
+ var D = [ne], K = y(D, X, w.properties.className);
1227
1227
  p.push(K);
1228
1228
  }
1229
1229
  }), E = N;
@@ -1234,7 +1234,7 @@ function Qi(e, t, n, i, o, r, c, a, l) {
1234
1234
  if (E !== u.length - 1) {
1235
1235
  var h = u.slice(E + 1, u.length);
1236
1236
  if (h && h.length) {
1237
- var m = i && p.length + r, g = _(h, m);
1237
+ var m = i && p.length + r, g = y(h, m);
1238
1238
  p.push(g);
1239
1239
  }
1240
1240
  }
@@ -1280,9 +1280,9 @@ function to(e, t) {
1280
1280
  var o = i.language, r = i.children, c = i.style, a = c === void 0 ? t : c, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, p = u === void 0 ? {
1281
1281
  className: o ? "language-".concat(o) : void 0,
1282
1282
  style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
1283
- } : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, S = T === void 0 ? !1 : T, _ = i.showInlineLineNumbers, A = _ === void 0 ? !0 : _, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, k = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, ie = i.CodeTag, oe = ie === void 0 ? "code" : ie, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = ki(i, qi);
1283
+ } : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, S = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, k = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, ie = i.CodeTag, oe = ie === void 0 ? "code" : ie, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = ki(i, qi);
1284
1284
  ge = ge || e;
1285
- var D = S ? /* @__PURE__ */ _e.createElement(Xi, {
1285
+ var D = S ? /* @__PURE__ */ ye.createElement(Xi, {
1286
1286
  containerStyle: g,
1287
1287
  codeStyle: p.style || {},
1288
1288
  numberStyle: w,
@@ -1301,20 +1301,20 @@ function to(e, t) {
1301
1301
  }) : p.style = ze(ze({}, p.style), {}, {
1302
1302
  whiteSpace: "pre"
1303
1303
  }), !ge)
1304
- return /* @__PURE__ */ _e.createElement(Z, v, D, /* @__PURE__ */ _e.createElement(oe, p, pe));
1304
+ return /* @__PURE__ */ ye.createElement(Z, v, D, /* @__PURE__ */ ye.createElement(oe, p, pe));
1305
1305
  (k === void 0 && X || q) && (k = !0), X = X || Ji;
1306
- var y = [{
1306
+ var _ = [{
1307
1307
  type: "text",
1308
1308
  value: pe
1309
1309
  }], I = eo({
1310
1310
  astGenerator: ge,
1311
1311
  language: o,
1312
1312
  code: pe,
1313
- defaultCodeValue: y
1313
+ defaultCodeValue: _
1314
1314
  });
1315
- I.language === null && (I.value = y);
1315
+ I.language === null && (I.value = _);
1316
1316
  var C = I.value.length + m, z = Qi(I, k, G, S, A, m, C, w, q);
1317
- return /* @__PURE__ */ _e.createElement(Z, v, /* @__PURE__ */ _e.createElement(oe, p, !A && D, X({
1317
+ return /* @__PURE__ */ ye.createElement(Z, v, /* @__PURE__ */ ye.createElement(oe, p, !A && D, X({
1318
1318
  rows: z,
1319
1319
  stylesheet: a,
1320
1320
  useInlineStyles: N
@@ -1582,7 +1582,7 @@ const go = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\
1582
1582
  begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1583
1583
  relevance: 0
1584
1584
  }), i;
1585
- }, _o = A0("//", "$"), yo = A0("/\\*", "\\*/"), Eo = A0("#", "$"), Io = {
1585
+ }, yo = A0("//", "$"), _o = A0("/\\*", "\\*/"), Eo = A0("#", "$"), Io = {
1586
1586
  className: "number",
1587
1587
  begin: ct,
1588
1588
  relevance: 0
@@ -1663,8 +1663,8 @@ var b0 = /* @__PURE__ */ Object.freeze({
1663
1663
  QUOTE_STRING_MODE: bo,
1664
1664
  PHRASAL_WORDS_MODE: Tn,
1665
1665
  COMMENT: A0,
1666
- C_LINE_COMMENT_MODE: _o,
1667
- C_BLOCK_COMMENT_MODE: yo,
1666
+ C_LINE_COMMENT_MODE: yo,
1667
+ C_BLOCK_COMMENT_MODE: _o,
1668
1668
  HASH_COMMENT_MODE: Eo,
1669
1669
  NUMBER_MODE: Io,
1670
1670
  C_NUMBER_MODE: xo,
@@ -1983,26 +1983,26 @@ const Lt = {}, L0 = (e) => {
1983
1983
  function u(b) {
1984
1984
  let v = b.className + " ";
1985
1985
  v += b.parentNode ? b.parentNode.className : "";
1986
- const y = l.languageDetectRe.exec(v);
1987
- if (y) {
1988
- const I = ie(y[1]);
1989
- return I || ($t(c.replace("{}", y[1])), $t("Falling back to no-highlight mode for this block.", b)), I ? y[1] : "no-highlight";
1986
+ const _ = l.languageDetectRe.exec(v);
1987
+ if (_) {
1988
+ const I = ie(_[1]);
1989
+ return I || ($t(c.replace("{}", _[1])), $t("Falling back to no-highlight mode for this block.", b)), I ? _[1] : "no-highlight";
1990
1990
  }
1991
1991
  return v.split(/\s+/).find((I) => d(I) || ie(I));
1992
1992
  }
1993
- function p(b, v, y, I) {
1993
+ function p(b, v, _, I) {
1994
1994
  let C = "", z = "";
1995
- typeof v == "object" ? (C = b, y = v.ignoreIllegals, z = v.language, I = void 0) : (ke("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ke("10.7.0", `Please use highlight(code, options) instead.
1995
+ typeof v == "object" ? (C = b, _ = v.ignoreIllegals, z = v.language, I = void 0) : (ke("10.7.0", "highlight(lang, code, ...args) has been deprecated."), ke("10.7.0", `Please use highlight(code, options) instead.
1996
1996
  https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
1997
1997
  const H = {
1998
1998
  code: C,
1999
1999
  language: z
2000
2000
  };
2001
2001
  x("before:highlight", H);
2002
- const B = H.result ? H.result : E(H.language, H.code, y, I);
2002
+ const B = H.result ? H.result : E(H.language, H.code, _, I);
2003
2003
  return B.code = H.code, x("after:highlight", B), B;
2004
2004
  }
2005
- function E(b, v, y, I) {
2005
+ function E(b, v, _, I) {
2006
2006
  function C($, j) {
2007
2007
  const te = $e.case_insensitive ? j[0].toLowerCase() : j[0];
2008
2008
  return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
@@ -2079,7 +2079,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2079
2079
  return de(j);
2080
2080
  return te && te.endSameAsBegin && (te.endRe = ao(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)), Q(te), te.returnBegin ? 0 : j.length;
2081
2081
  }
2082
- function ye($) {
2082
+ function _e($) {
2083
2083
  const j = $[0], te = v.substr($.index), ue = O(J, $, te);
2084
2084
  if (!ue)
2085
2085
  return Vt;
@@ -2110,11 +2110,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2110
2110
  }
2111
2111
  if (Le = j, j.type === "begin")
2112
2112
  return L(j);
2113
- if (j.type === "illegal" && !y) {
2113
+ if (j.type === "illegal" && !_) {
2114
2114
  const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (J.className || "<unnamed>") + '"');
2115
2115
  throw ue.mode = J, ue;
2116
2116
  } else if (j.type === "end") {
2117
- const ue = ye(j);
2117
+ const ue = _e(j);
2118
2118
  if (ue !== Vt)
2119
2119
  return ue;
2120
2120
  }
@@ -2190,10 +2190,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2190
2190
  }
2191
2191
  function T(b, v) {
2192
2192
  v = v || l.languages || Object.keys(t);
2193
- const y = N(b), I = v.filter(ie).filter(W).map(
2193
+ const _ = N(b), I = v.filter(ie).filter(W).map(
2194
2194
  (Q) => E(Q, b, !1)
2195
2195
  );
2196
- I.unshift(y);
2196
+ I.unshift(_);
2197
2197
  const C = I.sort((Q, O) => {
2198
2198
  if (Q.relevance !== O.relevance)
2199
2199
  return O.relevance - Q.relevance;
@@ -2211,8 +2211,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2211
2211
  return l.tabReplace || l.useBR ? b.replace(r, (v) => v === `
2212
2212
  ` ? l.useBR ? "<br>" : v : l.tabReplace ? v.replace(/\t/g, l.tabReplace) : v) : b;
2213
2213
  }
2214
- function _(b, v, y) {
2215
- const I = v ? n[v] : y;
2214
+ function y(b, v, _) {
2215
+ const I = v ? n[v] : _;
2216
2216
  b.classList.add("hljs"), I && b.classList.add(I);
2217
2217
  }
2218
2218
  const A = {
@@ -2233,15 +2233,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2233
2233
  };
2234
2234
  function g(b) {
2235
2235
  let v = null;
2236
- const y = u(b);
2237
- if (d(y))
2236
+ const _ = u(b);
2237
+ if (d(_))
2238
2238
  return;
2239
2239
  x(
2240
2240
  "before:highlightElement",
2241
- { el: b, language: y }
2241
+ { el: b, language: _ }
2242
2242
  ), v = b;
2243
- const I = v.textContent, C = y ? p(I, { language: y, ignoreIllegals: !0 }) : T(I);
2244
- x("after:highlightElement", { el: b, result: C, text: I }), b.innerHTML = C.value, _(b, y, C.language), b.result = {
2243
+ const I = v.textContent, C = _ ? p(I, { language: _, ignoreIllegals: !0 }) : T(I);
2244
+ x("after:highlightElement", { el: b, result: C, text: I }), b.innerHTML = C.value, y(b, _, C.language), b.result = {
2245
2245
  language: C.language,
2246
2246
  // TODO: remove with version 11.0
2247
2247
  re: C.relevance,
@@ -2277,17 +2277,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2277
2277
  }
2278
2278
  typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", U, !1);
2279
2279
  function G(b, v) {
2280
- let y = null;
2280
+ let _ = null;
2281
2281
  try {
2282
- y = v(e);
2282
+ _ = v(e);
2283
2283
  } catch (I) {
2284
2284
  if (L0("Language definition for '{}' could not be registered.".replace("{}", b)), o)
2285
2285
  L0(I);
2286
2286
  else
2287
2287
  throw I;
2288
- y = a;
2288
+ _ = a;
2289
2289
  }
2290
- y.name || (y.name = b), t[b] = y, y.rawDefinition = v.bind(null, e), y.aliases && oe(y.aliases, { languageName: b });
2290
+ _.name || (_.name = b), t[b] = _, _.rawDefinition = v.bind(null, e), _.aliases && oe(_.aliases, { languageName: b });
2291
2291
  }
2292
2292
  function X(b) {
2293
2293
  delete t[b];
@@ -2308,8 +2308,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2308
2308
  return b = (b || "").toLowerCase(), t[b] || t[n[b]];
2309
2309
  }
2310
2310
  function oe(b, { languageName: v }) {
2311
- typeof b == "string" && (b = [b]), b.forEach((y) => {
2312
- n[y.toLowerCase()] = v;
2311
+ typeof b == "string" && (b = [b]), b.forEach((_) => {
2312
+ n[_.toLowerCase()] = v;
2313
2313
  });
2314
2314
  }
2315
2315
  function W(b) {
@@ -2331,9 +2331,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2331
2331
  pe(b), i.push(b);
2332
2332
  }
2333
2333
  function x(b, v) {
2334
- const y = b;
2334
+ const _ = b;
2335
2335
  i.forEach(function(I) {
2336
- I[y] && I[y](v);
2336
+ I[_] && I[_](v);
2337
2337
  });
2338
2338
  }
2339
2339
  function D(b) {
@@ -2385,7 +2385,7 @@ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
2385
2385
  return o.apply(null, [r].concat(c));
2386
2386
  }
2387
2387
  function o(r) {
2388
- for (var c = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, E = !1, N, T, S = !1, _, A = function() {
2388
+ for (var c = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, E = !1, N, T, S = !1, y, A = function() {
2389
2389
  return a[c++];
2390
2390
  }, h = function() {
2391
2391
  for (var m = ""; /\d/.test(r[l]); )
@@ -2393,7 +2393,7 @@ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
2393
2393
  return m.length > 0 ? parseInt(m) : null;
2394
2394
  }; l < d; ++l)
2395
2395
  if (p = r[l], E)
2396
- switch (E = !1, p == "." ? (S = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (S = !0, l += 2, p = r[l]) : S = !0, _ = h(), p) {
2396
+ switch (E = !1, p == "." ? (S = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (S = !0, l += 2, p = r[l]) : S = !0, y = h(), p) {
2397
2397
  case "b":
2398
2398
  u += parseInt(A(), 10).toString(2);
2399
2399
  break;
@@ -2404,7 +2404,7 @@ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
2404
2404
  u += parseInt(A(), 10);
2405
2405
  break;
2406
2406
  case "f":
2407
- T = String(parseFloat(A()).toFixed(_ || 6)), u += S ? T : T.replace(/^0/, "");
2407
+ T = String(parseFloat(A()).toFixed(y || 6)), u += S ? T : T.replace(/^0/, "");
2408
2408
  break;
2409
2409
  case "j":
2410
2410
  u += JSON.stringify(A());
@@ -2891,7 +2891,7 @@ function ha(e) {
2891
2891
  };
2892
2892
  }
2893
2893
  var va = ha;
2894
- const ba = /* @__PURE__ */ Ce(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", _a = [
2894
+ const ba = /* @__PURE__ */ Ce(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", ya = [
2895
2895
  "as",
2896
2896
  // for exports
2897
2897
  "in",
@@ -2934,7 +2934,7 @@ const ba = /* @__PURE__ */ Ce(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", _a = [
2934
2934
  "from",
2935
2935
  "export",
2936
2936
  "extends"
2937
- ], ya = [
2937
+ ], _a = [
2938
2938
  "true",
2939
2939
  "false",
2940
2940
  "null",
@@ -3052,8 +3052,8 @@ function Oa(e) {
3052
3052
  }
3053
3053
  }, r = {
3054
3054
  $pattern: zt,
3055
- keyword: _a,
3056
- literal: ya,
3055
+ keyword: ya,
3056
+ literal: _a,
3057
3057
  built_in: Na
3058
3058
  }, c = "[0-9](_?[0-9])*", a = `\\.(${c})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
3059
3059
  className: "number",
@@ -3150,7 +3150,7 @@ function Oa(e) {
3150
3150
  e.C_BLOCK_COMMENT_MODE,
3151
3151
  e.C_LINE_COMMENT_MODE
3152
3152
  ]
3153
- }, _ = [
3153
+ }, y = [
3154
3154
  e.APOS_STRING_MODE,
3155
3155
  e.QUOTE_STRING_MODE,
3156
3156
  p,
@@ -3159,7 +3159,7 @@ function Oa(e) {
3159
3159
  d,
3160
3160
  e.REGEXP_MODE
3161
3161
  ];
3162
- u.contains = _.concat({
3162
+ u.contains = y.concat({
3163
3163
  // we need to pair up {} inside our subst to prevent
3164
3164
  // it from ending too early by matching another }
3165
3165
  begin: /\{/,
@@ -3167,7 +3167,7 @@ function Oa(e) {
3167
3167
  keywords: r,
3168
3168
  contains: [
3169
3169
  "self"
3170
- ].concat(_)
3170
+ ].concat(y)
3171
3171
  });
3172
3172
  const A = [].concat(S, u.contains), h = A.concat([
3173
3173
  // eat recursive parens in sub expressions
@@ -3782,8 +3782,8 @@ function $a(e) {
3782
3782
  N,
3783
3783
  T,
3784
3784
  r
3785
- ], _ = [...S];
3786
- return _.pop(), _.push(c), E.contains = _, {
3785
+ ], y = [...S];
3786
+ return y.pop(), y.push(c), E.contains = y, {
3787
3787
  name: "YAML",
3788
3788
  case_insensitive: !0,
3789
3789
  aliases: ["yml"],
@@ -4106,7 +4106,7 @@ function Wa(e) {
4106
4106
  e.C_BLOCK_COMMENT_MODE,
4107
4107
  e.C_LINE_COMMENT_MODE
4108
4108
  ]
4109
- }, _ = [
4109
+ }, y = [
4110
4110
  e.APOS_STRING_MODE,
4111
4111
  e.QUOTE_STRING_MODE,
4112
4112
  p,
@@ -4115,7 +4115,7 @@ function Wa(e) {
4115
4115
  d,
4116
4116
  e.REGEXP_MODE
4117
4117
  ];
4118
- u.contains = _.concat({
4118
+ u.contains = y.concat({
4119
4119
  // we need to pair up {} inside our subst to prevent
4120
4120
  // it from ending too early by matching another }
4121
4121
  begin: /\{/,
@@ -4123,7 +4123,7 @@ function Wa(e) {
4123
4123
  keywords: r,
4124
4124
  contains: [
4125
4125
  "self"
4126
- ].concat(_)
4126
+ ].concat(y)
4127
4127
  });
4128
4128
  const A = [].concat(S, u.contains), h = A.concat([
4129
4129
  // eat recursive parens in sub expressions
@@ -4399,7 +4399,7 @@ function Ga(e) {
4399
4399
  className: "meta",
4400
4400
  begin: "@" + t
4401
4401
  }, d = (E, N, T) => {
4402
- const S = E.contains.findIndex((_) => _.label === N);
4402
+ const S = E.contains.findIndex((y) => y.label === N);
4403
4403
  if (S === -1)
4404
4404
  throw new Error("can not find mode to replace");
4405
4405
  E.contains.splice(S, 1, T);
@@ -4678,8 +4678,8 @@ var Qn = { exports: {} };
4678
4678
  S = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 }, T = (T = N) || {}, Object.keys(T).forEach((h) => {
4679
4679
  S[h] = !!T[h];
4680
4680
  }), N = S;
4681
- const _ = Array.from(p).map((h) => a(h));
4682
- let A = _.join("");
4681
+ const y = Array.from(p).map((h) => a(h));
4682
+ let A = y.join("");
4683
4683
  return (E = a(E)).trim().split(u).filter((h) => h.length > 0).reduce((h, m) => {
4684
4684
  const g = m.length, f = !N.insideWords && d.test(m[0]) ? "\\b" : "", w = new RegExp(f + m.replace(l, "\\$&"), "i");
4685
4685
  let k, P;
@@ -4687,7 +4687,7 @@ var Qn = { exports: {} };
4687
4687
  return A = "", [];
4688
4688
  for (; k; ) {
4689
4689
  P = k.index;
4690
- const q = g - _.slice(P, P + g).join("").length, U = P - _.slice(0, P).join("").length, G = [P + U, P + g + U + q];
4690
+ const q = g - y.slice(P, P + g).join("").length, U = P - y.slice(0, P).join("").length, G = [P + U, P + g + U + q];
4691
4691
  if (G[0] !== G[1] && h.push(G), A = A.slice(0, P) + new Array(g + 1).join(" ") + A.slice(P + g), !N.findAllOccurrences)
4692
4692
  break;
4693
4693
  k = w.exec(A);
@@ -4771,7 +4771,7 @@ const ns = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ *
4771
4771
  className: "category-intro-block__container c",
4772
4772
  children: /* @__PURE__ */ M(V, { pt: "m", pb: "xxl", className: "container-content", children: [
4773
4773
  /* @__PURE__ */ s(Yn, { ...n }),
4774
- /* @__PURE__ */ s(ve, { size: "xl", children: e }),
4774
+ /* @__PURE__ */ s(ve, { as: "h1", size: "xl", children: e }),
4775
4775
  /* @__PURE__ */ s(ee, { mt: "l", children: t })
4776
4776
  ] })
4777
4777
  }
@@ -4793,7 +4793,7 @@ const rs = ({
4793
4793
  py: { xs: "0", md: "xl" },
4794
4794
  children: [
4795
4795
  /* @__PURE__ */ s(ve, { size: "s", color: "info", textTransform: "uppercase", children: e }),
4796
- /* @__PURE__ */ s(ve, { size: "xl", mt: "m", color: "primary", children: t }),
4796
+ /* @__PURE__ */ s(ve, { as: "h1", size: "xl", mt: "m", color: "primary", children: t }),
4797
4797
  /* @__PURE__ */ s(ee, { mt: "l", children: n }),
4798
4798
  /* @__PURE__ */ s(Ke, { ...o, as: "a", mt: "l", children: i })
4799
4799
  ]
@@ -4920,7 +4920,7 @@ const Tc = ["highlight-light", "highlight-dark", "side-image"], k0 = ({
4920
4920
  "post-card--with-tutorial": t === "tutorial"
4921
4921
  }),
4922
4922
  children: [
4923
- /* @__PURE__ */ s(We, { isLoading: u, children: /* @__PURE__ */ s(Xn, { ...i, img: { ...i == null ? void 0 : i.img, className: "post-card__cover" } }) }),
4923
+ /* @__PURE__ */ s(We, { isLoading: u, children: /* @__PURE__ */ s(Xn, { ...i, img: { ...i == null ? void 0 : i.img, className: "post-card__cover", fetchPriority: "high" } }) }),
4924
4924
  /* @__PURE__ */ M(V, { my: { xs: "s", md: "m" }, pl: { xs: "s", md: "m" }, pr: { xs: "xs", md: "m" }, flex: "1", children: [
4925
4925
  /* @__PURE__ */ s(We, { isLoading: u, children: /* @__PURE__ */ M(
4926
4926
  ve,
@@ -5039,7 +5039,7 @@ const Ac = ["primary", "secondary"], nr = ({
5039
5039
  ...o
5040
5040
  }) => /* @__PURE__ */ M(V, { bg: "white", p: "m", className: re("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
5041
5041
  /* @__PURE__ */ s(ve, { size: "m", color: "primary", children: t }),
5042
- /* @__PURE__ */ s(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: c, ...a }, l) => /* @__PURE__ */ M(_e.Fragment, { children: [
5042
+ /* @__PURE__ */ s(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: c, ...a }, l) => /* @__PURE__ */ M(ye.Fragment, { children: [
5043
5043
  /* @__PURE__ */ M(
5044
5044
  F,
5045
5045
  {
@@ -5082,23 +5082,23 @@ const kc = ["horizontal", "vertical"], ut = ({
5082
5082
  /* @__PURE__ */ s(V, { className: "newsletter-card__form", children: n })
5083
5083
  ]
5084
5084
  }
5085
- ), o0 = -1, _0 = (e, t) => {
5085
+ ), o0 = -1, y0 = (e, t) => {
5086
5086
  const n = t - e + 1;
5087
5087
  return Array.from({ length: n }, (i, o) => o + e);
5088
5088
  }, ss = ({ currentPage: e, totalPages: t, siblingCount: n = 2 }) => fn(() => {
5089
5089
  if (n + 5 >= t)
5090
- return _0(1, t);
5090
+ return y0(1, t);
5091
5091
  const o = Math.max(e - n, 1), r = Math.min(e + n, t), c = o > 2, a = r < t - 2;
5092
5092
  if (!c && a) {
5093
- const l = 3 + 2 * n, d = _0(1, l);
5093
+ const l = 3 + 2 * n, d = y0(1, l);
5094
5094
  return [...d, d.at(-1) === t - 1 ? t - 1 : o0, t];
5095
5095
  }
5096
5096
  if (c && !a) {
5097
- const l = 3 + 2 * n, d = _0(t - l + 1, t);
5097
+ const l = 3 + 2 * n, d = y0(t - l + 1, t);
5098
5098
  return [1, d[0] - 1 === 2 ? 2 : o0, ...d];
5099
5099
  }
5100
5100
  if (c && a) {
5101
- const l = _0(o, r);
5101
+ const l = y0(o, r);
5102
5102
  return [
5103
5103
  1,
5104
5104
  l[0] - 1 === 2 ? 2 : o0,
@@ -5163,13 +5163,13 @@ const B0 = (e) => ({
5163
5163
  )
5164
5164
  ] });
5165
5165
  }, Dc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ s(Re, { children: /* @__PURE__ */ M(F, { flexDirection: "column", gap: "m", children: [
5166
- e.map((i, o) => /* @__PURE__ */ s(_e.Fragment, { children: /* @__PURE__ */ s(k0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5166
+ e.map((i, o) => /* @__PURE__ */ s(ye.Fragment, { children: /* @__PURE__ */ s(k0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5167
5167
  t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ s(cs, { mx: "auto", ...t })
5168
5168
  ] }) });
5169
5169
  function ls(e, t) {
5170
5170
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Z0(e, t);
5171
5171
  }
5172
- var Q0 = { exports: {} }, y0 = { exports: {} }, ae = {};
5172
+ var Q0 = { exports: {} }, _0 = { exports: {} }, ae = {};
5173
5173
  /** @license React v16.13.1
5174
5174
  * react-is.production.min.js
5175
5175
  *
@@ -5183,7 +5183,7 @@ function us() {
5183
5183
  if (Ft)
5184
5184
  return ae;
5185
5185
  Ft = 1;
5186
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5186
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5187
5187
  function m(f) {
5188
5188
  if (typeof f == "object" && f !== null) {
5189
5189
  var w = f.$$typeof;
@@ -5242,7 +5242,7 @@ function us() {
5242
5242
  }, ae.isSuspense = function(f) {
5243
5243
  return m(f) === p;
5244
5244
  }, ae.isValidElementType = function(f) {
5245
- return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === E || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === c || f.$$typeof === a || f.$$typeof === u || f.$$typeof === _ || f.$$typeof === A || f.$$typeof === h || f.$$typeof === S);
5245
+ return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === E || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === c || f.$$typeof === a || f.$$typeof === u || f.$$typeof === y || f.$$typeof === A || f.$$typeof === h || f.$$typeof === S);
5246
5246
  }, ae.typeOf = m, ae;
5247
5247
  }
5248
5248
  var se = {};
@@ -5257,10 +5257,10 @@ var se = {};
5257
5257
  var qt;
5258
5258
  function ds() {
5259
5259
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
5260
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5260
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5261
5261
  function m(O) {
5262
5262
  return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5263
- O === i || O === d || O === r || O === o || O === p || O === E || typeof O == "object" && O !== null && (O.$$typeof === T || O.$$typeof === N || O.$$typeof === c || O.$$typeof === a || O.$$typeof === u || O.$$typeof === _ || O.$$typeof === A || O.$$typeof === h || O.$$typeof === S);
5263
+ O === i || O === d || O === r || O === o || O === p || O === E || typeof O == "object" && O !== null && (O.$$typeof === T || O.$$typeof === N || O.$$typeof === c || O.$$typeof === a || O.$$typeof === u || O.$$typeof === y || O.$$typeof === A || O.$$typeof === h || O.$$typeof === S);
5264
5264
  }
5265
5265
  function g(O) {
5266
5266
  if (typeof O == "object" && O !== null) {
@@ -5277,14 +5277,14 @@ function ds() {
5277
5277
  case p:
5278
5278
  return L;
5279
5279
  default:
5280
- var ye = L && L.$$typeof;
5281
- switch (ye) {
5280
+ var _e = L && L.$$typeof;
5281
+ switch (_e) {
5282
5282
  case a:
5283
5283
  case u:
5284
5284
  case T:
5285
5285
  case N:
5286
5286
  case c:
5287
- return ye;
5287
+ return _e;
5288
5288
  default:
5289
5289
  return de;
5290
5290
  }
@@ -5313,7 +5313,7 @@ function ds() {
5313
5313
  function v(O) {
5314
5314
  return g(O) === u;
5315
5315
  }
5316
- function y(O) {
5316
+ function _(O) {
5317
5317
  return g(O) === i;
5318
5318
  }
5319
5319
  function I(O) {
@@ -5334,12 +5334,12 @@ function ds() {
5334
5334
  function Q(O) {
5335
5335
  return g(O) === p;
5336
5336
  }
5337
- se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = k, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = D, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = y, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
5337
+ se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = k, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = D, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = _, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
5338
5338
  }()), se;
5339
5339
  }
5340
5340
  var Wt;
5341
5341
  function rr() {
5342
- return Wt || (Wt = 1, process.env.NODE_ENV === "production" ? y0.exports = us() : y0.exports = ds()), y0.exports;
5342
+ return Wt || (Wt = 1, process.env.NODE_ENV === "production" ? _0.exports = us() : _0.exports = ds()), _0.exports;
5343
5343
  }
5344
5344
  /*
5345
5345
  object-assign
@@ -5508,10 +5508,10 @@ function gs() {
5508
5508
  this.message = x, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
5509
5509
  }
5510
5510
  S.prototype = Error.prototype;
5511
- function _(x) {
5511
+ function y(x) {
5512
5512
  if (process.env.NODE_ENV !== "production")
5513
5513
  var D = {}, K = 0;
5514
- function b(y, I, C, z, H, B, Q) {
5514
+ function b(_, I, C, z, H, B, Q) {
5515
5515
  if (z = z || E, B = B || C, Q !== n) {
5516
5516
  if (l) {
5517
5517
  var O = new Error(
@@ -5526,84 +5526,84 @@ function gs() {
5526
5526
  ), D[de] = !0, K++);
5527
5527
  }
5528
5528
  }
5529
- return I[C] == null ? y ? I[C] === null ? new S("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new S("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(I, C, z, H, B);
5529
+ return I[C] == null ? _ ? I[C] === null ? new S("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new S("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(I, C, z, H, B);
5530
5530
  }
5531
5531
  var v = b.bind(null, !1);
5532
5532
  return v.isRequired = b.bind(null, !0), v;
5533
5533
  }
5534
5534
  function A(x) {
5535
- function D(K, b, v, y, I, C) {
5535
+ function D(K, b, v, _, I, C) {
5536
5536
  var z = K[b], H = oe(z);
5537
5537
  if (H !== x) {
5538
5538
  var B = W(z);
5539
5539
  return new S(
5540
- "Invalid " + y + " `" + I + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5540
+ "Invalid " + _ + " `" + I + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5541
5541
  { expectedType: x }
5542
5542
  );
5543
5543
  }
5544
5544
  return null;
5545
5545
  }
5546
- return _(D);
5546
+ return y(D);
5547
5547
  }
5548
5548
  function h() {
5549
- return _(c);
5549
+ return y(c);
5550
5550
  }
5551
5551
  function m(x) {
5552
- function D(K, b, v, y, I) {
5552
+ function D(K, b, v, _, I) {
5553
5553
  if (typeof x != "function")
5554
5554
  return new S("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
5555
5555
  var C = K[b];
5556
5556
  if (!Array.isArray(C)) {
5557
5557
  var z = oe(C);
5558
- return new S("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5558
+ return new S("Invalid " + _ + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5559
5559
  }
5560
5560
  for (var H = 0; H < C.length; H++) {
5561
- var B = x(C, H, v, y, I + "[" + H + "]", n);
5561
+ var B = x(C, H, v, _, I + "[" + H + "]", n);
5562
5562
  if (B instanceof Error)
5563
5563
  return B;
5564
5564
  }
5565
5565
  return null;
5566
5566
  }
5567
- return _(D);
5567
+ return y(D);
5568
5568
  }
5569
5569
  function g() {
5570
- function x(D, K, b, v, y) {
5570
+ function x(D, K, b, v, _) {
5571
5571
  var I = D[K];
5572
5572
  if (!a(I)) {
5573
5573
  var C = oe(I);
5574
- return new S("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
5574
+ return new S("Invalid " + v + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
5575
5575
  }
5576
5576
  return null;
5577
5577
  }
5578
- return _(x);
5578
+ return y(x);
5579
5579
  }
5580
5580
  function f() {
5581
- function x(D, K, b, v, y) {
5581
+ function x(D, K, b, v, _) {
5582
5582
  var I = D[K];
5583
5583
  if (!e.isValidElementType(I)) {
5584
5584
  var C = oe(I);
5585
- return new S("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
5585
+ return new S("Invalid " + v + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
5586
5586
  }
5587
5587
  return null;
5588
5588
  }
5589
- return _(x);
5589
+ return y(x);
5590
5590
  }
5591
5591
  function w(x) {
5592
- function D(K, b, v, y, I) {
5592
+ function D(K, b, v, _, I) {
5593
5593
  if (!(K[b] instanceof x)) {
5594
5594
  var C = x.name || E, z = ge(K[b]);
5595
- return new S("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5595
+ return new S("Invalid " + _ + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5596
5596
  }
5597
5597
  return null;
5598
5598
  }
5599
- return _(D);
5599
+ return y(D);
5600
5600
  }
5601
5601
  function k(x) {
5602
5602
  if (!Array.isArray(x))
5603
5603
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
5604
5604
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
5605
5605
  ) : r("Invalid argument supplied to oneOf, expected an array.")), c;
5606
- function D(K, b, v, y, I) {
5606
+ function D(K, b, v, _, I) {
5607
5607
  for (var C = K[b], z = 0; z < x.length; z++)
5608
5608
  if (T(C, x[z]))
5609
5609
  return null;
@@ -5611,26 +5611,26 @@ function gs() {
5611
5611
  var de = W(O);
5612
5612
  return de === "symbol" ? String(O) : O;
5613
5613
  });
5614
- return new S("Invalid " + y + " `" + I + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5614
+ return new S("Invalid " + _ + " `" + I + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5615
5615
  }
5616
- return _(D);
5616
+ return y(D);
5617
5617
  }
5618
5618
  function P(x) {
5619
- function D(K, b, v, y, I) {
5619
+ function D(K, b, v, _, I) {
5620
5620
  if (typeof x != "function")
5621
5621
  return new S("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
5622
5622
  var C = K[b], z = oe(C);
5623
5623
  if (z !== "object")
5624
- return new S("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5624
+ return new S("Invalid " + _ + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5625
5625
  for (var H in C)
5626
5626
  if (i(C, H)) {
5627
- var B = x(C, H, v, y, I + "." + H, n);
5627
+ var B = x(C, H, v, _, I + "." + H, n);
5628
5628
  if (B instanceof Error)
5629
5629
  return B;
5630
5630
  }
5631
5631
  return null;
5632
5632
  }
5633
- return _(D);
5633
+ return y(D);
5634
5634
  }
5635
5635
  function q(x) {
5636
5636
  if (!Array.isArray(x))
@@ -5642,9 +5642,9 @@ function gs() {
5642
5642
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(K) + " at index " + D + "."
5643
5643
  ), c;
5644
5644
  }
5645
- function b(v, y, I, C, z) {
5645
+ function b(v, _, I, C, z) {
5646
5646
  for (var H = [], B = 0; B < x.length; B++) {
5647
- var Q = x[B], O = Q(v, y, I, C, z, n);
5647
+ var Q = x[B], O = Q(v, _, I, C, z, n);
5648
5648
  if (O == null)
5649
5649
  return null;
5650
5650
  O.data && i(O.data, "expectedType") && H.push(O.data.expectedType);
@@ -5652,13 +5652,13 @@ function gs() {
5652
5652
  var de = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
5653
5653
  return new S("Invalid " + C + " `" + z + "` supplied to " + ("`" + I + "`" + de + "."));
5654
5654
  }
5655
- return _(b);
5655
+ return y(b);
5656
5656
  }
5657
5657
  function U() {
5658
- function x(D, K, b, v, y) {
5659
- return Z(D[K]) ? null : new S("Invalid " + v + " `" + y + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5658
+ function x(D, K, b, v, _) {
5659
+ return Z(D[K]) ? null : new S("Invalid " + v + " `" + _ + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5660
5660
  }
5661
- return _(x);
5661
+ return y(x);
5662
5662
  }
5663
5663
  function G(x, D, K, b, v) {
5664
5664
  return new S(
@@ -5666,44 +5666,44 @@ function gs() {
5666
5666
  );
5667
5667
  }
5668
5668
  function X(x) {
5669
- function D(K, b, v, y, I) {
5669
+ function D(K, b, v, _, I) {
5670
5670
  var C = K[b], z = oe(C);
5671
5671
  if (z !== "object")
5672
- return new S("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5672
+ return new S("Invalid " + _ + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5673
5673
  for (var H in x) {
5674
5674
  var B = x[H];
5675
5675
  if (typeof B != "function")
5676
- return G(v, y, I, H, W(B));
5677
- var Q = B(C, H, v, y, I + "." + H, n);
5676
+ return G(v, _, I, H, W(B));
5677
+ var Q = B(C, H, v, _, I + "." + H, n);
5678
5678
  if (Q)
5679
5679
  return Q;
5680
5680
  }
5681
5681
  return null;
5682
5682
  }
5683
- return _(D);
5683
+ return y(D);
5684
5684
  }
5685
5685
  function ne(x) {
5686
- function D(K, b, v, y, I) {
5686
+ function D(K, b, v, _, I) {
5687
5687
  var C = K[b], z = oe(C);
5688
5688
  if (z !== "object")
5689
- return new S("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5689
+ return new S("Invalid " + _ + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5690
5690
  var H = t({}, K[b], x);
5691
5691
  for (var B in H) {
5692
5692
  var Q = x[B];
5693
5693
  if (i(x, B) && typeof Q != "function")
5694
- return G(v, y, I, B, W(Q));
5694
+ return G(v, _, I, B, W(Q));
5695
5695
  if (!Q)
5696
5696
  return new S(
5697
- "Invalid " + y + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5697
+ "Invalid " + _ + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5698
5698
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5699
5699
  );
5700
- var O = Q(C, B, v, y, I + "." + B, n);
5700
+ var O = Q(C, B, v, _, I + "." + B, n);
5701
5701
  if (O)
5702
5702
  return O;
5703
5703
  }
5704
5704
  return null;
5705
5705
  }
5706
- return _(D);
5706
+ return y(D);
5707
5707
  }
5708
5708
  function Z(x) {
5709
5709
  switch (typeof x) {
@@ -5844,33 +5844,33 @@ var J0 = { exports: {} }, ce = {};
5844
5844
  * LICENSE file in the root directory of this source tree.
5845
5845
  */
5846
5846
  var en;
5847
- function _s() {
5847
+ function ys() {
5848
5848
  if (en)
5849
5849
  return ce;
5850
5850
  en = 1;
5851
5851
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
5852
5852
  T = Symbol.for("react.module.reference");
5853
- function S(_) {
5854
- if (typeof _ == "object" && _ !== null) {
5855
- var A = _.$$typeof;
5853
+ function S(y) {
5854
+ if (typeof y == "object" && y !== null) {
5855
+ var A = y.$$typeof;
5856
5856
  switch (A) {
5857
5857
  case e:
5858
- switch (_ = _.type, _) {
5858
+ switch (y = y.type, y) {
5859
5859
  case n:
5860
5860
  case o:
5861
5861
  case i:
5862
5862
  case d:
5863
5863
  case u:
5864
- return _;
5864
+ return y;
5865
5865
  default:
5866
- switch (_ = _ && _.$$typeof, _) {
5866
+ switch (y = y && y.$$typeof, y) {
5867
5867
  case a:
5868
5868
  case c:
5869
5869
  case l:
5870
5870
  case E:
5871
5871
  case p:
5872
5872
  case r:
5873
- return _;
5873
+ return y;
5874
5874
  default:
5875
5875
  return A;
5876
5876
  }
@@ -5884,32 +5884,32 @@ function _s() {
5884
5884
  return !1;
5885
5885
  }, ce.isConcurrentMode = function() {
5886
5886
  return !1;
5887
- }, ce.isContextConsumer = function(_) {
5888
- return S(_) === c;
5889
- }, ce.isContextProvider = function(_) {
5890
- return S(_) === r;
5891
- }, ce.isElement = function(_) {
5892
- return typeof _ == "object" && _ !== null && _.$$typeof === e;
5893
- }, ce.isForwardRef = function(_) {
5894
- return S(_) === l;
5895
- }, ce.isFragment = function(_) {
5896
- return S(_) === n;
5897
- }, ce.isLazy = function(_) {
5898
- return S(_) === E;
5899
- }, ce.isMemo = function(_) {
5900
- return S(_) === p;
5901
- }, ce.isPortal = function(_) {
5902
- return S(_) === t;
5903
- }, ce.isProfiler = function(_) {
5904
- return S(_) === o;
5905
- }, ce.isStrictMode = function(_) {
5906
- return S(_) === i;
5907
- }, ce.isSuspense = function(_) {
5908
- return S(_) === d;
5909
- }, ce.isSuspenseList = function(_) {
5910
- return S(_) === u;
5911
- }, ce.isValidElementType = function(_) {
5912
- return typeof _ == "string" || typeof _ == "function" || _ === n || _ === o || _ === i || _ === d || _ === u || _ === N || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === p || _.$$typeof === r || _.$$typeof === c || _.$$typeof === l || _.$$typeof === T || _.getModuleId !== void 0);
5887
+ }, ce.isContextConsumer = function(y) {
5888
+ return S(y) === c;
5889
+ }, ce.isContextProvider = function(y) {
5890
+ return S(y) === r;
5891
+ }, ce.isElement = function(y) {
5892
+ return typeof y == "object" && y !== null && y.$$typeof === e;
5893
+ }, ce.isForwardRef = function(y) {
5894
+ return S(y) === l;
5895
+ }, ce.isFragment = function(y) {
5896
+ return S(y) === n;
5897
+ }, ce.isLazy = function(y) {
5898
+ return S(y) === E;
5899
+ }, ce.isMemo = function(y) {
5900
+ return S(y) === p;
5901
+ }, ce.isPortal = function(y) {
5902
+ return S(y) === t;
5903
+ }, ce.isProfiler = function(y) {
5904
+ return S(y) === o;
5905
+ }, ce.isStrictMode = function(y) {
5906
+ return S(y) === i;
5907
+ }, ce.isSuspense = function(y) {
5908
+ return S(y) === d;
5909
+ }, ce.isSuspenseList = function(y) {
5910
+ return S(y) === u;
5911
+ }, ce.isValidElementType = function(y) {
5912
+ return typeof y == "string" || typeof y == "function" || y === n || y === o || y === i || y === d || y === u || y === N || typeof y == "object" && y !== null && (y.$$typeof === E || y.$$typeof === p || y.$$typeof === r || y.$$typeof === c || y.$$typeof === l || y.$$typeof === T || y.getModuleId !== void 0);
5913
5913
  }, ce.typeOf = S, ce;
5914
5914
  }
5915
5915
  var le = {};
@@ -5923,12 +5923,12 @@ var le = {};
5923
5923
  * LICENSE file in the root directory of this source tree.
5924
5924
  */
5925
5925
  var tn;
5926
- function ys() {
5926
+ function _s() {
5927
5927
  return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
5928
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, S = !1, _ = !1, A = !1, h = !1, m;
5928
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, S = !1, y = !1, A = !1, h = !1, m;
5929
5929
  m = Symbol.for("react.module.reference");
5930
5930
  function g(L) {
5931
- return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || S || _ || typeof L == "object" && L !== null && (L.$$typeof === E || L.$$typeof === p || L.$$typeof === r || L.$$typeof === c || L.$$typeof === l || // This needs to include all possible module reference object
5931
+ return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || S || y || typeof L == "object" && L !== null && (L.$$typeof === E || L.$$typeof === p || L.$$typeof === r || L.$$typeof === c || L.$$typeof === l || // This needs to include all possible module reference object
5932
5932
  // types supported by any Flight configuration anywhere since
5933
5933
  // we don't know which Flight build this will end up being used
5934
5934
  // with.
@@ -5936,8 +5936,8 @@ function ys() {
5936
5936
  }
5937
5937
  function f(L) {
5938
5938
  if (typeof L == "object" && L !== null) {
5939
- var ye = L.$$typeof;
5940
- switch (ye) {
5939
+ var _e = L.$$typeof;
5940
+ switch (_e) {
5941
5941
  case e:
5942
5942
  var be = L.type;
5943
5943
  switch (be) {
@@ -5958,11 +5958,11 @@ function ys() {
5958
5958
  case r:
5959
5959
  return Le;
5960
5960
  default:
5961
- return ye;
5961
+ return _e;
5962
5962
  }
5963
5963
  }
5964
5964
  case t:
5965
- return ye;
5965
+ return _e;
5966
5966
  }
5967
5967
  }
5968
5968
  }
@@ -5982,7 +5982,7 @@ function ys() {
5982
5982
  function v(L) {
5983
5983
  return typeof L == "object" && L !== null && L.$$typeof === e;
5984
5984
  }
5985
- function y(L) {
5985
+ function _(L) {
5986
5986
  return f(L) === l;
5987
5987
  }
5988
5988
  function I(L) {
@@ -6009,10 +6009,10 @@ function ys() {
6009
6009
  function de(L) {
6010
6010
  return f(L) === u;
6011
6011
  }
6012
- le.ContextConsumer = w, le.ContextProvider = k, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = D, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = y, le.isFragment = I, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = O, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
6012
+ le.ContextConsumer = w, le.ContextProvider = k, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = D, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = _, le.isFragment = I, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = O, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
6013
6013
  }()), le;
6014
6014
  }
6015
- process.env.NODE_ENV === "production" ? J0.exports = _s() : J0.exports = ys();
6015
+ process.env.NODE_ENV === "production" ? J0.exports = ys() : J0.exports = _s();
6016
6016
  var nn = J0.exports;
6017
6017
  const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", F0 = (e, t) => {
6018
6018
  if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
@@ -6050,7 +6050,7 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
6050
6050
  }
6051
6051
  T != null && T === document.body && F0(T) && !F0(document.documentElement) || T != null && F0(T, u) && N.push(T);
6052
6052
  }
6053
- const S = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth, _ = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: A, scrollY: h } = window, { height: m, width: g, top: f, right: w, bottom: k, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6053
+ const S = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth, y = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: A, scrollY: h } = window, { height: m, width: g, top: f, right: w, bottom: k, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6054
6054
  const W = window.getComputedStyle(oe);
6055
6055
  return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
6056
6056
  })(e);
@@ -6058,17 +6058,17 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
6058
6058
  const ie = [];
6059
6059
  for (let oe = 0; oe < N.length; oe++) {
6060
6060
  const W = N[oe], { height: pe, width: ge, top: x, right: D, bottom: K, left: b } = W.getBoundingClientRect();
6061
- if (c === "if-needed" && f >= 0 && P >= 0 && k <= _ && w <= S && f >= x && k <= K && P >= b && w <= D)
6061
+ if (c === "if-needed" && f >= 0 && P >= 0 && k <= y && w <= S && f >= x && k <= K && P >= b && w <= D)
6062
6062
  return ie;
6063
- const v = getComputedStyle(W), y = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6063
+ const v = getComputedStyle(W), _ = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6064
6064
  let H = 0, B = 0;
6065
- const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - y - C : 0, O = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - I - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
6065
+ const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - _ - C : 0, O = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - I - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
6066
6066
  if (E === W)
6067
- H = a === "start" ? ne : a === "end" ? ne - _ : a === "nearest" ? E0(h, h + _, _, I, z, h + ne, h + ne + m, m) : ne - _ / 2, B = l === "start" ? Z : l === "center" ? Z - S / 2 : l === "end" ? Z - S : E0(A, A + S, S, y, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
6067
+ H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, I, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ? Z : l === "center" ? Z - S / 2 : l === "end" ? Z - S : E0(A, A + S, S, _, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
6068
6068
  else {
6069
- H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + O : a === "nearest" ? E0(x, K, pe, I, z + O, ne, ne + m, m) : ne - (x + pe / 2) + O / 2, B = l === "start" ? Z - b - y : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - D + C + Q : E0(b, D, ge, y, C + Q, Z, Z + g, g);
6070
- const { scrollLeft: ye, scrollTop: be } = W;
6071
- H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + O)), B = de === 0 ? 0 : Math.max(0, Math.min(ye + B / de, W.scrollWidth - ge / de + Q)), ne += be - H, Z += ye - B;
6069
+ H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + O : a === "nearest" ? E0(x, K, pe, I, z + O, ne, ne + m, m) : ne - (x + pe / 2) + O / 2, B = l === "start" ? Z - b - _ : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - D + C + Q : E0(b, D, ge, _, C + Q, Z, Z + g, g);
6070
+ const { scrollLeft: _e, scrollTop: be } = W;
6071
+ H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + O)), B = de === 0 ? 0 : Math.max(0, Math.min(_e + B / de, W.scrollWidth - ge / de + Q)), ne += be - H, Z += _e - B;
6072
6072
  }
6073
6073
  ie.push({ el: W, top: H, left: B });
6074
6074
  }
@@ -6245,7 +6245,7 @@ function dr(e, t) {
6245
6245
  n.textContent = e, Os(t);
6246
6246
  }
6247
6247
  }
6248
- var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, pr = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, gr = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, N0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, S0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, mr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, hr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, vr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, br = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, _r = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, yr = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Er = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ir = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, tt = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, xr = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, wr = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, Nr = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, Rs = /* @__PURE__ */ Object.freeze({
6248
+ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, pr = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, gr = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, N0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, S0 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, mr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, hr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, vr = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, br = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, yr = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, _r = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Er = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ir = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, tt = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, xr = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, wr = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, Nr = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, Rs = /* @__PURE__ */ Object.freeze({
6249
6249
  __proto__: null,
6250
6250
  unknown: fr,
6251
6251
  mouseUp: pr,
@@ -6256,8 +6256,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6256
6256
  keyDownEnter: hr,
6257
6257
  keyDownHome: vr,
6258
6258
  keyDownEnd: br,
6259
- clickItem: _r,
6260
- blurInput: yr,
6259
+ clickItem: yr,
6260
+ blurInput: _r,
6261
6261
  changeInput: Er,
6262
6262
  keyDownSpaceButton: Ir,
6263
6263
  clickButton: tt,
@@ -6522,7 +6522,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6522
6522
  if (!(r.isMouseDown || !r.props.environment)) {
6523
6523
  var m = r.props.environment.document.activeElement, g = (m == null || (h = m.dataset) == null ? void 0 : h.toggle) && r._rootNode && r._rootNode.contains(m);
6524
6524
  g || r.reset({
6525
- type: yr
6525
+ type: _r
6526
6526
  });
6527
6527
  }
6528
6528
  });
@@ -6555,7 +6555,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6555
6555
  })
6556
6556
  }, m[X] = he(ne, function() {
6557
6557
  r.selectItemAtIndex(P, {
6558
- type: _r
6558
+ type: yr
6559
6559
  });
6560
6560
  }), m), ie = G.disabled ? {
6561
6561
  onMouseDown: Z.onMouseDown
@@ -6608,11 +6608,11 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6608
6608
  r.previousResultCount = f, dr(w, r.props.environment.document);
6609
6609
  }
6610
6610
  }, 200);
6611
- var c = r.props, a = c.defaultHighlightedIndex, l = c.initialHighlightedIndex, d = l === void 0 ? a : l, u = c.defaultIsOpen, p = c.initialIsOpen, E = p === void 0 ? u : p, N = c.initialInputValue, T = N === void 0 ? "" : N, S = c.initialSelectedItem, _ = S === void 0 ? null : S, A = r.getState({
6611
+ var c = r.props, a = c.defaultHighlightedIndex, l = c.initialHighlightedIndex, d = l === void 0 ? a : l, u = c.defaultIsOpen, p = c.initialIsOpen, E = p === void 0 ? u : p, N = c.initialInputValue, T = N === void 0 ? "" : N, S = c.initialSelectedItem, y = S === void 0 ? null : S, A = r.getState({
6612
6612
  highlightedIndex: d,
6613
6613
  isOpen: E,
6614
6614
  inputValue: T,
6615
- selectedItem: _
6615
+ selectedItem: y
6616
6616
  });
6617
6617
  return A.selectedItem != null && r.props.initialInputValue === void 0 && (A.inputValue = r.props.itemToString(A.selectedItem)), r.state = A, r;
6618
6618
  }
@@ -6642,14 +6642,14 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6642
6642
  this.setHighlightedIndex(u, c);
6643
6643
  }
6644
6644
  }, i.getStateAndHelpers = function() {
6645
- var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, S = this.getMenuProps, _ = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, k = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6645
+ var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, S = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, k = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6646
6646
  return {
6647
6647
  // prop getters
6648
6648
  getRootProps: E,
6649
6649
  getToggleButtonProps: N,
6650
6650
  getLabelProps: T,
6651
6651
  getMenuProps: S,
6652
- getInputProps: _,
6652
+ getInputProps: y,
6653
6653
  getItemProps: A,
6654
6654
  // actions
6655
6655
  reset: G,
@@ -6842,8 +6842,8 @@ function Hs(e) {
6842
6842
  }
6843
6843
  var zs = ft(function(e, t) {
6844
6844
  dr(e(), t);
6845
- }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : Pe, js = "useId" in _e ? function(t) {
6846
- var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, c = t.toggleButtonId, a = t.inputId, l = "downshift-" + _e.useId();
6845
+ }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : Pe, js = "useId" in ye ? function(t) {
6846
+ var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, c = t.toggleButtonId, a = t.inputId, l = "downshift-" + ye.useId();
6847
6847
  n || (n = l);
6848
6848
  var d = Ee({
6849
6849
  labelId: i || n + "-label",
@@ -6890,10 +6890,10 @@ function Or(e) {
6890
6890
  function qs(e, t, n, i) {
6891
6891
  var o = Ee(), r = Ee(), c = we(function(N, T) {
6892
6892
  r.current = T, N = R0(N, T.props);
6893
- var S = e(N, T), _ = T.props.stateReducer(N, Y({}, T, {
6893
+ var S = e(N, T), y = T.props.stateReducer(N, Y({}, T, {
6894
6894
  changes: S
6895
6895
  }));
6896
- return _;
6896
+ return y;
6897
6897
  }, [e]), a = Xr(c, t, n), l = a[0], d = a[1], u = Or(t), p = we(function(N) {
6898
6898
  return d(Y({
6899
6899
  props: u.current
@@ -7161,14 +7161,14 @@ process.env.NODE_ENV;
7161
7161
  process.env.NODE_ENV;
7162
7162
  process.env.NODE_ENV;
7163
7163
  process.env.NODE_ENV;
7164
- var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, _t = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, yt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Et = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, It = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, xt = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, T0 = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, wt = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, Ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, kr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, Dr = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, Pr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Lr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, $r = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Br = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, St = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Vr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Hr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ot = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, zr = /* @__PURE__ */ Object.freeze({
7164
+ var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, yt = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, _t = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Et = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, It = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, xt = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, T0 = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, wt = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, Ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, kr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, Dr = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, Pr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Lr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, $r = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Br = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, St = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Vr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Hr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ot = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, zr = /* @__PURE__ */ Object.freeze({
7165
7165
  __proto__: null,
7166
7166
  InputKeyDownArrowDown: mt,
7167
7167
  InputKeyDownArrowUp: ht,
7168
7168
  InputKeyDownEscape: vt,
7169
7169
  InputKeyDownHome: bt,
7170
- InputKeyDownEnd: _t,
7171
- InputKeyDownPageUp: yt,
7170
+ InputKeyDownEnd: yt,
7171
+ InputKeyDownPageUp: _t,
7172
7172
  InputKeyDownPageDown: Et,
7173
7173
  InputKeyDownEnter: It,
7174
7174
  InputChange: xt,
@@ -7265,7 +7265,7 @@ function rc(e, t) {
7265
7265
  inputValue: ""
7266
7266
  });
7267
7267
  break;
7268
- case yt:
7268
+ case _t:
7269
7269
  c = {
7270
7270
  highlightedIndex: n0(e.highlightedIndex, -10, o.items, o.isItemDisabled, !0)
7271
7271
  };
@@ -7280,7 +7280,7 @@ function rc(e, t) {
7280
7280
  highlightedIndex: l0(0, !1, o.items, o.isItemDisabled)
7281
7281
  };
7282
7282
  break;
7283
- case _t:
7283
+ case yt:
7284
7284
  c = {
7285
7285
  highlightedIndex: l0(o.items.length - 1, !0, o.items, o.isItemDisabled)
7286
7286
  };
@@ -7327,11 +7327,11 @@ var ic = ["onMouseLeave", "refKey", "ref"], oc = ["item", "index", "refKey", "re
7327
7327
  Rt.stateChangeTypes = zr;
7328
7328
  function Rt(e) {
7329
7329
  e === void 0 && (e = {}), Ur(e, Rt);
7330
- var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, S = Ee(null), _ = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
7330
+ var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, S = Ee(null), y = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
7331
7331
  state: d,
7332
7332
  props: t
7333
7333
  }), k = we(function(v) {
7334
- return _.current[g.getItemId(v)];
7334
+ return y.current[g.getItemId(v)];
7335
7335
  }, [g]);
7336
7336
  un(r, [p, E, T, n], Y({
7337
7337
  isInitialMount: m.current,
@@ -7350,7 +7350,7 @@ function Rt(e) {
7350
7350
  menuElement: S.current,
7351
7351
  highlightedIndex: E,
7352
7352
  isOpen: p,
7353
- itemRefs: _,
7353
+ itemRefs: y,
7354
7354
  scrollIntoView: i,
7355
7355
  getItemNodeFromIndex: k
7356
7356
  });
@@ -7375,54 +7375,54 @@ function Rt(e) {
7375
7375
  m.current = !0;
7376
7376
  };
7377
7377
  }, []), Pe(function() {
7378
- p || (_.current = {});
7378
+ p || (y.current = {});
7379
7379
  }, [p]), Pe(function() {
7380
7380
  var v;
7381
7381
  !p || !(o != null && o.document) || !(A != null && (v = A.current) != null && v.focus) || o.document.activeElement !== A.current && A.current.focus();
7382
7382
  }, [p, o]);
7383
7383
  var G = fn(function() {
7384
7384
  return {
7385
- ArrowDown: function(y) {
7386
- y.preventDefault(), u({
7385
+ ArrowDown: function(_) {
7386
+ _.preventDefault(), u({
7387
7387
  type: mt,
7388
- altKey: y.altKey
7388
+ altKey: _.altKey
7389
7389
  });
7390
7390
  },
7391
- ArrowUp: function(y) {
7392
- y.preventDefault(), u({
7391
+ ArrowUp: function(_) {
7392
+ _.preventDefault(), u({
7393
7393
  type: ht,
7394
- altKey: y.altKey
7394
+ altKey: _.altKey
7395
7395
  });
7396
7396
  },
7397
- Home: function(y) {
7398
- w.current.state.isOpen && (y.preventDefault(), u({
7397
+ Home: function(_) {
7398
+ w.current.state.isOpen && (_.preventDefault(), u({
7399
7399
  type: bt
7400
7400
  }));
7401
7401
  },
7402
- End: function(y) {
7403
- w.current.state.isOpen && (y.preventDefault(), u({
7404
- type: _t
7402
+ End: function(_) {
7403
+ w.current.state.isOpen && (_.preventDefault(), u({
7404
+ type: yt
7405
7405
  }));
7406
7406
  },
7407
- Escape: function(y) {
7407
+ Escape: function(_) {
7408
7408
  var I = w.current.state;
7409
- (I.isOpen || I.inputValue || I.selectedItem || I.highlightedIndex > -1) && (y.preventDefault(), u({
7409
+ (I.isOpen || I.inputValue || I.selectedItem || I.highlightedIndex > -1) && (_.preventDefault(), u({
7410
7410
  type: vt
7411
7411
  }));
7412
7412
  },
7413
- Enter: function(y) {
7413
+ Enter: function(_) {
7414
7414
  var I = w.current.state;
7415
- !I.isOpen || y.which === 229 || (y.preventDefault(), u({
7415
+ !I.isOpen || _.which === 229 || (_.preventDefault(), u({
7416
7416
  type: It
7417
7417
  }));
7418
7418
  },
7419
- PageUp: function(y) {
7420
- w.current.state.isOpen && (y.preventDefault(), u({
7421
- type: yt
7419
+ PageUp: function(_) {
7420
+ w.current.state.isOpen && (_.preventDefault(), u({
7421
+ type: _t
7422
7422
  }));
7423
7423
  },
7424
- PageDown: function(y) {
7425
- w.current.state.isOpen && (y.preventDefault(), u({
7424
+ PageDown: function(_) {
7425
+ w.current.state.isOpen && (_.preventDefault(), u({
7426
7426
  type: Et
7427
7427
  }));
7428
7428
  }
@@ -7432,9 +7432,9 @@ function Rt(e) {
7432
7432
  id: g.labelId,
7433
7433
  htmlFor: g.inputId
7434
7434
  }, v);
7435
- }, [g]), ne = we(function(v, y) {
7436
- var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, O = He(C, ic), de = y === void 0 ? {} : y, L = de.suppressRefError, ye = L === void 0 ? !1 : L;
7437
- return U("getMenuProps", ye, B, S), Y((I = {}, I[B] = a0(Q, function(be) {
7435
+ }, [g]), ne = we(function(v, _) {
7436
+ var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, O = He(C, ic), de = _ === void 0 ? {} : _, L = de.suppressRefError, _e = L === void 0 ? !1 : L;
7437
+ return U("getMenuProps", _e, B, S), Y((I = {}, I[B] = a0(Q, function(be) {
7438
7438
  S.current = be;
7439
7439
  }), I.id = g.menuId, I.role = "listbox", I["aria-labelledby"] = O && O["aria-label"] ? void 0 : "" + g.labelId, I.onMouseLeave = he(z, function() {
7440
7440
  u({
@@ -7442,11 +7442,11 @@ function Rt(e) {
7442
7442
  });
7443
7443
  }), I), O);
7444
7444
  }, [u, U, g]), Z = we(function(v) {
7445
- var y, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, O = C.ref, de = C.onMouseMove, L = C.onMouseDown, ye = C.onClick;
7445
+ var _, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, O = C.ref, de = C.onMouseMove, L = C.onMouseDown, _e = C.onClick;
7446
7446
  C.onPress;
7447
7447
  var be = C.disabled, Le = He(C, oc);
7448
7448
  be !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
7449
- var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = Ks(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0], Te = Xe[1], me = $e.isItemDisabled(J, Te), fe = "onClick", Fe = ye, Ne = function() {
7449
+ var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = Ks(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0], Te = Xe[1], me = $e.isItemDisabled(J, Te), fe = "onClick", Fe = _e, Ne = function() {
7450
7450
  Te !== Be.highlightedIndex && (P.current = !1, u({
7451
7451
  type: kr,
7452
7452
  index: Te,
@@ -7460,29 +7460,29 @@ function Rt(e) {
7460
7460
  }, Ae = function(j) {
7461
7461
  return j.preventDefault();
7462
7462
  };
7463
- return Y((y = {}, y[Q] = a0(O, function($) {
7464
- $ && (_.current[g.getItemId(Te)] = $);
7465
- }), y["aria-disabled"] = me, y["aria-selected"] = "" + (Te === Be.highlightedIndex), y.id = g.getItemId(Te), y.role = "option", y), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
7463
+ return Y((_ = {}, _[Q] = a0(O, function($) {
7464
+ $ && (y.current[g.getItemId(Te)] = $);
7465
+ }), _["aria-disabled"] = me, _["aria-selected"] = "" + (Te === Be.highlightedIndex), _.id = g.getItemId(Te), _.role = "option", _), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
7466
7466
  onMouseMove: he(de, Ne),
7467
7467
  onMouseDown: he(L, Ae)
7468
7468
  }, Le);
7469
7469
  }, [u, w, P, g]), ie = we(function(v) {
7470
- var y, I = v === void 0 ? {} : v, C = I.onClick;
7470
+ var _, I = v === void 0 ? {} : v, C = I.onClick;
7471
7471
  I.onPress;
7472
7472
  var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref, Q = He(I, ac), O = w.current.state, de = function() {
7473
7473
  u({
7474
7474
  type: Dr
7475
7475
  });
7476
7476
  };
7477
- return Y((y = {}, y[H] = a0(B, function(L) {
7477
+ return Y((_ = {}, _[H] = a0(B, function(L) {
7478
7478
  h.current = L;
7479
- }), y["aria-controls"] = g.menuId, y["aria-expanded"] = O.isOpen, y.id = g.toggleButtonId, y.tabIndex = -1, y), !Q.disabled && Y({}, {
7479
+ }), _["aria-controls"] = g.menuId, _["aria-expanded"] = O.isOpen, _.id = g.toggleButtonId, _.tabIndex = -1, _), !Q.disabled && Y({}, {
7480
7480
  onClick: he(C, de)
7481
7481
  }), Q);
7482
- }, [u, w, g]), oe = we(function(v, y) {
7482
+ }, [u, w, g]), oe = we(function(v, _) {
7483
7483
  var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
7484
7484
  C.onChangeText;
7485
- var O = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, ye = C.ref, be = He(C, sc), Le = y === void 0 ? {} : y, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
7485
+ var O = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, _e = C.ref, be = He(C, sc), Le = _ === void 0 ? {} : _, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
7486
7486
  U("getInputProps", $e, L, A);
7487
7487
  var Be = w.current.state, Xe = function(Ae) {
7488
7488
  var $ = et(Ae);
@@ -7509,7 +7509,7 @@ function Rt(e) {
7509
7509
  var Ne;
7510
7510
  Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Te), Ne.onClick = he(O, me), Ne);
7511
7511
  }
7512
- return Y((I = {}, I[L] = a0(ye, function(Ve) {
7512
+ return Y((I = {}, I[L] = a0(_e, function(Ve) {
7513
7513
  A.current = Ve;
7514
7514
  }), I["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", I["aria-autocomplete"] = "list", I["aria-controls"] = g.menuId, I["aria-expanded"] = Be.isOpen, I["aria-labelledby"] = be && be["aria-label"] ? void 0 : g.labelId, I.autoComplete = "off", I.id = g.inputId, I.role = "combobox", I.value = Be.inputValue, I), Fe, be);
7515
7515
  }, [U, w, g, G, u, q, o]), W = we(function() {
@@ -7611,7 +7611,7 @@ const jr = Me(
7611
7611
  t.length > 0 && /* @__PURE__ */ M(Re, { children: [
7612
7612
  t.map(({ slug: d, title: u, date: p, authors: E, link: N }, T) => {
7613
7613
  const S = c === T;
7614
- return /* @__PURE__ */ s(_e.Fragment, { children: /* @__PURE__ */ M(
7614
+ return /* @__PURE__ */ s(ye.Fragment, { children: /* @__PURE__ */ M(
7615
7615
  F,
7616
7616
  {
7617
7617
  alignItems: "center",
@@ -7675,14 +7675,14 @@ const Kr = Me(
7675
7675
  }, p) => {
7676
7676
  const E = (k) => {
7677
7677
  l && k.key === "Enter" && l(k.currentTarget.value);
7678
- }, { getInputProps: N, getMenuProps: T, getItemProps: S, selectItem: _, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: g } = Rt({
7678
+ }, { getInputProps: N, getMenuProps: T, getItemProps: S, selectItem: y, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: g } = Rt({
7679
7679
  defaultInputValue: t,
7680
7680
  onInputValueChange: c,
7681
7681
  onSelectedItemChange: a,
7682
7682
  items: n,
7683
7683
  itemToString: (k) => k ? k.title : "",
7684
7684
  isOpen: d
7685
- }), f = () => _(null), w = _e.useMemo(
7685
+ }), f = () => y(null), w = ye.useMemo(
7686
7686
  () => n.map((k, P) => ({
7687
7687
  ...k,
7688
7688
  ...S({ item: k, index: P })
@@ -7729,7 +7729,7 @@ const Pc = ({
7729
7729
  onToggleMenu: l,
7730
7730
  menuIsOpen: d = !1
7731
7731
  }) => /* @__PURE__ */ M(F, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
7732
- /* @__PURE__ */ s(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ s(yn, { name: "blog", className: "header__logo" }) }),
7732
+ /* @__PURE__ */ s(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ s(_n, { name: "blog", className: "header__logo" }) }),
7733
7733
  /* @__PURE__ */ M(V, { className: re("header__menu", { "header__menu--is-open": d }), children: [
7734
7734
  t.map(({ label: u, ...p }, E) => /* @__PURE__ */ s(e0, { as: "a", ...p, "data-internal-link": "category", className: "header__menu-item", children: u }, E)),
7735
7735
  n && /* @__PURE__ */ M(Re, { children: [
@@ -7784,7 +7784,7 @@ const lc = ({
7784
7784
  pb: { xs: "l", md: "xl" },
7785
7785
  mx: "s",
7786
7786
  children: [
7787
- /* @__PURE__ */ s(V, { mb: "xl", children: /* @__PURE__ */ s(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ s(yn, { name: "website", size: "2.5em" }) }) }),
7787
+ /* @__PURE__ */ s(V, { mb: "xl", children: /* @__PURE__ */ s(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ s(_n, { name: "website", size: "2.5em" }) }) }),
7788
7788
  /* @__PURE__ */ M(V, { children: [
7789
7789
  /* @__PURE__ */ s(F, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((a, l) => /* @__PURE__ */ M(V, { mb: "m", children: [
7790
7790
  a.title && /* @__PURE__ */ s(ee, { fontWeight: "bold", mb: "xxs-2", children: a.title }),
@@ -7821,7 +7821,7 @@ const lc = ({
7821
7821
  ),
7822
7822
  /* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
7823
7823
  /* @__PURE__ */ s(V, { mr: "xxs", children: /* @__PURE__ */ s(xe, { size: "28px", name: "language" }) }),
7824
- c.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(_e.Fragment, { children: [
7824
+ c.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(ye.Fragment, { children: [
7825
7825
  l ? /* @__PURE__ */ s(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ s(e0, { ...d, "data-internal-link": "home", children: a }),
7826
7826
  c.length - 1 !== u && /* @__PURE__ */ s(V, { mx: "s" })
7827
7827
  ] }, u))
@@ -7836,7 +7836,7 @@ const uc = ({
7836
7836
  ...o
7837
7837
  }) => /* @__PURE__ */ M(V, { ...o, my: "xl", className: "last-articles-block container-content", children: [
7838
7838
  /* @__PURE__ */ s(ve, { size: "m", color: "primary", children: e }),
7839
- /* @__PURE__ */ s(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, c) => /* @__PURE__ */ s(_e.Fragment, { children: /* @__PURE__ */ s(k0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? c)) }),
7839
+ /* @__PURE__ */ s(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, c) => /* @__PURE__ */ s(ye.Fragment, { children: /* @__PURE__ */ s(k0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? c)) }),
7840
7840
  /* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ s(Ke, { mt: "l", as: "a", ...i, children: n }) })
7841
7841
  ] });
7842
7842
  const dc = ({
@@ -7864,13 +7864,13 @@ const dc = ({
7864
7864
  /* @__PURE__ */ s(ee, { mt: "l", children: t }),
7865
7865
  /* @__PURE__ */ s(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
7866
7866
  ] }),
7867
- /* @__PURE__ */ s(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ s(_e.Fragment, { children: /* @__PURE__ */ s(k0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7867
+ /* @__PURE__ */ s(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ s(ye.Fragment, { children: /* @__PURE__ */ s(k0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7868
7868
  ]
7869
7869
  }
7870
7870
  ) }), V = Me(({ as: e = "div", className: t, children: n, ...i }, o) => /* @__PURE__ */ s(
7871
7871
  e,
7872
7872
  {
7873
- ...it({ props: i, systemPropNames: Object.keys(yi) }),
7873
+ ...it({ props: i, systemPropNames: Object.keys(_i) }),
7874
7874
  ref: o,
7875
7875
  className: re(Ai(i), t),
7876
7876
  children: n
@@ -8073,7 +8073,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
8073
8073
  className: "author-page__social_networks",
8074
8074
  children: e.socialNetworks.map((i, o) => {
8075
8075
  var r;
8076
- return /* @__PURE__ */ M(_e.Fragment, { children: [
8076
+ return /* @__PURE__ */ M(ye.Fragment, { children: [
8077
8077
  /* @__PURE__ */ M(ee, { children: [
8078
8078
  /* @__PURE__ */ s(xe, { name: i.name, size: "24px" }),
8079
8079
  " ",
@@ -8091,7 +8091,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
8091
8091
  /* @__PURE__ */ s(h0, { className: "author-page__divider" }),
8092
8092
  /* @__PURE__ */ s(ee, { size: "m", fontWeight: "medium", children: t }),
8093
8093
  n
8094
- ] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ s(tr, { m: "xxl", title: e, description: t }) }), _c = ({
8094
+ ] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ s(tr, { m: "xxl", title: e, description: t }) }), yc = ({
8095
8095
  title: e,
8096
8096
  description: t,
8097
8097
  postCardList: n,
@@ -8101,10 +8101,10 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
8101
8101
  /* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ve, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
8102
8102
  /* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ve, { size: "s", mb: "l", children: t }) }),
8103
8103
  n
8104
- ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ s(Re, { children: /* @__PURE__ */ s(D0, { content: /* @__PURE__ */ s(_c, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
8104
+ ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ s(Re, { children: /* @__PURE__ */ s(D0, { content: /* @__PURE__ */ s(yc, { ...t }), sidebar: e }) }), _c = typeof window > "u" ? () => {
8105
8105
  } : nt.useLayoutEffect, Kc = (e) => {
8106
8106
  const [t, n] = nt.useState(!1);
8107
- return yc(() => {
8107
+ return _c(() => {
8108
8108
  const i = window.matchMedia(xi[e]);
8109
8109
  i.matches !== t && n(i.matches);
8110
8110
  const o = () => n(i.matches);
@@ -8140,7 +8140,7 @@ export {
8140
8140
  D0 as LayoutContentWithSidebar,
8141
8141
  Lc as LayoutTemplate,
8142
8142
  e0 as Link,
8143
- yn as Logo,
8143
+ _n as Logo,
8144
8144
  ut as NewsletterCard,
8145
8145
  tr as NotFoundBlock,
8146
8146
  Uc as NotFoundPage,
@@ -8154,7 +8154,7 @@ export {
8154
8154
  Cc as Reminder,
8155
8155
  Zn as SearchField,
8156
8156
  jc as SearchPage,
8157
- _c as SearchPageContent,
8157
+ yc as SearchPageContent,
8158
8158
  We as Skeleton,
8159
8159
  nr as SummaryCard,
8160
8160
  Ac as SummaryCardVariant,
@@ -8171,6 +8171,6 @@ export {
8171
8171
  Mc as postMetadataVariant,
8172
8172
  Vc as postPageVariant,
8173
8173
  Rc as reminderVariantList,
8174
- yc as useLayoutEffect,
8174
+ _c as useLayoutEffect,
8175
8175
  Kc as useMediaQuery
8176
8176
  };