@eleven-labs/design-system 0.30.1 → 0.30.2

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 c, Fragment as Pe } from "react/jsx-runtime";
2
2
  import * as nt from "react";
3
- import ye, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as xe, useEffect as ke, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
3
+ import _e, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as xe, useEffect as ke, 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__ */ c(
6
6
  "path",
@@ -57,7 +57,7 @@ const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg"
57
57
  d: "M20.4 44h5.4V26.6h-5.4zm2.7-26c-1.7 0-3.1 1.4-3.1 3.1s1.4 3.1 3.1 3.1 3.1-1.4 3.1-3.1-1.4-3.1-3.1-3.1m16.4 8.2c-2.6 0-4.4 1.4-5.1 2.8h-.1v-2.4h-5.2V44h5.4v-8.6c0-2.3.4-4.5 3.2-4.5s2.8 2.6 2.8 4.6V44H46v-9.5c0-4.7-1-8.3-6.5-8.3"
58
58
  }
59
59
  )
60
- ] }), gn = (e) => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 41 36", ...e, children: /* @__PURE__ */ M("g", { fill: "currentColor", fillRule: "evenodd", children: [
60
+ ] }), pn = (e) => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 41 36", ...e, children: /* @__PURE__ */ M("g", { fill: "currentColor", fillRule: "evenodd", children: [
61
61
  /* @__PURE__ */ c("path", { d: "M29.22 13.78a.947.947 0 0 1-1.334-.092.947.947 0 0 1 .092-1.332l3.89-3.298a.947.947 0 0 1 1.332.092c.341.392.3.991-.09 1.332zm-.156 6.345a2.86 2.86 0 0 1 .947-1.72c.357-.31 1.726-1.49 1.76-1.52 2.194-1.914 5.91-8.042 8.101-11.837.627-1.085-.446-2.358-1.62-1.924-4.122 1.518-10.8 4.155-13.014 6.04-.034.027-1.405 1.207-1.763 1.514a2.87 2.87 0 0 1-1.842.683c-5.946.07-7.7 2.397-7.7 2.397l.773.806s3.451-.5 5.402 1.768l-1.645 1.407.992 1.151-1.143.985 2.136 2.562.222-.276-.987-2.693 2.47 2.837.58-.499-.727-3.136s1.235 1.338 1.967 2.184c1.953 2.264.897 5.648.897 5.648l.684.884s2.561-1.39 3.51-7.26z" }),
62
62
  /* @__PURE__ */ c("path", { d: "M18.775 34.14c-5.796.313-10.983-2.426-14.105-6.751-.16-.221.109-.493.334-.34 3.956 2.727 10.24 1.913 14.299-5.48C-1.168 27.268 1.372 1.358 17.879 1.594c5.779.082 10.86 3.028 13.752 7.579l.056-.048c.339-.294.844-.336 1.203-.068a.948.948 0 0 1 .066 1.467l-.385.333a16.2 16.2 0 0 1 1.59 7.408c-.197 8.447-6.948 15.422-15.386 15.877M17.879 0C8.019 0 0 8.02 0 17.879c0 9.858 8.019 17.878 17.878 17.878s17.878-8.02 17.878-17.878S27.737-.001 17.879-.001" })
63
63
  ] }) }), oi = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
@@ -174,7 +174,7 @@ const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg"
174
174
  Language: ni,
175
175
  Link: ri,
176
176
  Linkedin: ii,
177
- Logo: gn,
177
+ Logo: pn,
178
178
  Message: oi,
179
179
  Person: ai,
180
180
  Rss: si,
@@ -183,7 +183,7 @@ const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg"
183
183
  Underline: ui,
184
184
  Welcometothejungle: di
185
185
  }, Symbol.toStringTag, { value: "Module" }));
186
- var pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
186
+ var gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
187
187
  function Re(e) {
188
188
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
189
189
  }
@@ -223,8 +223,8 @@ var mn = { exports: {} };
223
223
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
224
224
  })();
225
225
  })(mn);
226
- var gi = mn.exports;
227
- const re = /* @__PURE__ */ Re(gi), Ce = qr;
226
+ var pi = mn.exports;
227
+ const re = /* @__PURE__ */ Re(pi), Ce = qr;
228
228
  const xc = ["primary", "secondary", "accent"], Ke = Ce(
229
229
  ({ as: e = "button", variant: t = "primary", isChoiceChip: n = !1, className: i, children: o, ...r }, s) => /* @__PURE__ */ M(
230
230
  F,
@@ -626,7 +626,7 @@ const qe = {
626
626
  value: "100vw"
627
627
  }
628
628
  }
629
- }, pi = {
629
+ }, gi = {
630
630
  bg: ["background-color"],
631
631
  color: ["color"]
632
632
  }, mi = {
@@ -659,18 +659,18 @@ const qe = {
659
659
  height: ["height"],
660
660
  hiddenBelow: ["display"],
661
661
  hiddenAbove: ["display"]
662
- }, yi = {
662
+ }, _i = {
663
663
  textAlign: ["text-align"],
664
664
  textSize: ["font-size", "line-height"],
665
665
  fontWeight: ["font-weight"],
666
666
  italic: ["font-style"],
667
667
  underline: ["text-decoration"],
668
668
  textTransform: ["text-transform"]
669
- }, _i = {
669
+ }, yi = {
670
670
  ...vn,
671
671
  ...vi,
672
- ...pi,
673
- ...yi,
672
+ ...gi,
673
+ ..._i,
674
674
  ...bi,
675
675
  ...hi
676
676
  }, Ei = {
@@ -787,7 +787,7 @@ const qe = {
787
787
  propValue: e.flex,
788
788
  className: "flex"
789
789
  })
790
- ), yn = (e) => re(
790
+ ), _n = (e) => re(
791
791
  Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
792
792
  ...we({
793
793
  className: n,
@@ -816,7 +816,7 @@ const qe = {
816
816
  ) : {}, Ai = (e) => re(
817
817
  bn(e),
818
818
  Si(e),
819
- yn(e),
819
+ _n(e),
820
820
  Ci(e),
821
821
  Mi(e),
822
822
  Ti(e)
@@ -828,7 +828,7 @@ const qe = {
828
828
  ...it({ props: o, systemPropNames: [...Object.keys(hn), "color"] }),
829
829
  className: re(
830
830
  "icon",
831
- yn(o),
831
+ _n(o),
832
832
  bn(o),
833
833
  o == null ? void 0 : o.className
834
834
  ),
@@ -838,7 +838,7 @@ const qe = {
838
838
  }
839
839
  );
840
840
  };
841
- const wc = ["website", "blog"], _n = Ce(({ name: e, size: t, ...n }, i) => /* @__PURE__ */ M(
841
+ const wc = ["website", "blog"], yn = Ce(({ name: e, size: t, ...n }, i) => /* @__PURE__ */ M(
842
842
  F,
843
843
  {
844
844
  ...n,
@@ -848,7 +848,7 @@ const wc = ["website", "blog"], _n = Ce(({ name: e, size: t, ...n }, i) => /* @_
848
848
  className: re("logo", n.className),
849
849
  style: { fontSize: t },
850
850
  children: [
851
- /* @__PURE__ */ c(gn, { height: "1em" }),
851
+ /* @__PURE__ */ c(pn, { height: "1em" }),
852
852
  e === "blog" ? /* @__PURE__ */ M(V, { className: "logo__blog", children: [
853
853
  /* @__PURE__ */ c(ee, { fontWeight: "medium", children: "Eleven Labs" }),
854
854
  /* @__PURE__ */ c(ee, { fontWeight: "bold", children: "Le blog" })
@@ -907,21 +907,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
907
907
  function Bi(e) {
908
908
  return ki(e) || Pi(e) || Li(e) || $i();
909
909
  }
910
- function g0(e) {
910
+ function p0(e) {
911
911
  "@babel/helpers - typeof";
912
- return g0 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
912
+ return p0 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
913
913
  return typeof t;
914
914
  } : function(t) {
915
915
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
916
- }, g0(e);
916
+ }, p0(e);
917
917
  }
918
918
  function Vi(e, t) {
919
- if (g0(e) != "object" || !e)
919
+ if (p0(e) != "object" || !e)
920
920
  return e;
921
921
  var n = e[Symbol.toPrimitive];
922
922
  if (n !== void 0) {
923
923
  var i = n.call(e, t || "default");
924
- if (g0(i) != "object")
924
+ if (p0(i) != "object")
925
925
  return i;
926
926
  throw new TypeError("@@toPrimitive must return a primitive value.");
927
927
  }
@@ -929,7 +929,7 @@ function Vi(e, t) {
929
929
  }
930
930
  function Hi(e) {
931
931
  var t = Vi(e, "string");
932
- return g0(t) == "symbol" ? t : String(t);
932
+ return p0(t) == "symbol" ? t : String(t);
933
933
  }
934
934
  function En(e, t, n) {
935
935
  return t = Hi(t), t in e ? Object.defineProperty(e, t, {
@@ -1017,7 +1017,7 @@ function In(e) {
1017
1017
  if (l === "text")
1018
1018
  return u;
1019
1019
  if (d) {
1020
- var g = Ki(n, r), I;
1020
+ var p = Ki(n, r), I;
1021
1021
  if (!r)
1022
1022
  I = i0(i0({}, a), {}, {
1023
1023
  className: Tt(a.className)
@@ -1035,10 +1035,10 @@ function In(e) {
1035
1035
  style: ji(a.className, Object.assign({}, a.style, o), n)
1036
1036
  });
1037
1037
  }
1038
- var y = g(t.children);
1039
- return /* @__PURE__ */ ye.createElement(d, Y({
1038
+ var _ = p(t.children);
1039
+ return /* @__PURE__ */ _e.createElement(d, Y({
1040
1040
  key: s
1041
- }, I), y);
1041
+ }, I), _);
1042
1042
  }
1043
1043
  }
1044
1044
  const Fi = function(e, t) {
@@ -1075,7 +1075,7 @@ function Yi(e) {
1075
1075
  var t = e.lines, n = e.startingLineNumber, i = e.style;
1076
1076
  return t.map(function(o, r) {
1077
1077
  var s = r + n;
1078
- return /* @__PURE__ */ ye.createElement("span", {
1078
+ return /* @__PURE__ */ _e.createElement("span", {
1079
1079
  key: "line-".concat(r),
1080
1080
  className: "react-syntax-highlighter-line-number",
1081
1081
  style: typeof i == "function" ? i(s) : i
@@ -1088,7 +1088,7 @@ function Xi(e) {
1088
1088
  float: "left",
1089
1089
  paddingRight: "10px"
1090
1090
  } : i, r = e.numberStyle, s = r === void 0 ? {} : r, a = e.startingLineNumber;
1091
- return /* @__PURE__ */ ye.createElement("code", {
1091
+ return /* @__PURE__ */ _e.createElement("code", {
1092
1092
  style: Object.assign({}, n, o)
1093
1093
  }, Yi({
1094
1094
  lines: t.replace(/\n$/, "").split(`
@@ -1126,12 +1126,12 @@ function wn(e, t, n) {
1126
1126
  return r;
1127
1127
  }
1128
1128
  function x0(e) {
1129
- var t = e.children, n = e.lineNumber, i = e.lineNumberStyle, o = e.largestLineNumber, r = e.showInlineLineNumbers, s = e.lineProps, a = s === void 0 ? {} : s, l = e.className, d = l === void 0 ? [] : l, u = e.showLineNumbers, g = e.wrapLongLines, I = typeof a == "function" ? a(n) : a;
1129
+ var t = e.children, n = e.lineNumber, i = e.lineNumberStyle, o = e.largestLineNumber, r = e.showInlineLineNumbers, s = e.lineProps, a = s === void 0 ? {} : s, l = e.className, d = l === void 0 ? [] : l, u = e.showLineNumbers, p = e.wrapLongLines, I = typeof a == "function" ? a(n) : a;
1130
1130
  if (I.className = d, n && r) {
1131
1131
  var N = wn(i, n, o);
1132
1132
  t.unshift(xn(n, N));
1133
1133
  }
1134
- return g & u && (I.style = ze(ze({}, I.style), {}, {
1134
+ return p & u && (I.style = ze(ze({}, I.style), {}, {
1135
1135
  display: "flex"
1136
1136
  })), {
1137
1137
  type: "element",
@@ -1158,7 +1158,7 @@ function Nn(e) {
1158
1158
  return n;
1159
1159
  }
1160
1160
  function Qi(e, t, n, i, o, r, s, a, l) {
1161
- var d, u = Nn(e.value), g = [], I = -1, N = 0;
1161
+ var d, u = Nn(e.value), p = [], I = -1, N = 0;
1162
1162
  function T(f, w) {
1163
1163
  var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1164
1164
  return x0({
@@ -1180,7 +1180,7 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1180
1180
  }
1181
1181
  return f;
1182
1182
  }
1183
- function y(f, w) {
1183
+ function _(f, w) {
1184
1184
  var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1185
1185
  return t || D.length > 0 ? T(f, w, D) : R(f, w);
1186
1186
  }
@@ -1190,7 +1190,7 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1190
1190
  var q = D.split(`
1191
1191
  `);
1192
1192
  q.forEach(function(U, G) {
1193
- var X = i && g.length + r, ne = {
1193
+ var X = i && p.length + r, ne = {
1194
1194
  type: "text",
1195
1195
  value: "".concat(U, `
1196
1196
  `)
@@ -1199,26 +1199,26 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1199
1199
  var Z = u.slice(I + 1, N).concat(x0({
1200
1200
  children: [ne],
1201
1201
  className: w.properties.className
1202
- })), ie = y(Z, X);
1203
- g.push(ie);
1202
+ })), ie = _(Z, X);
1203
+ p.push(ie);
1204
1204
  } else if (G === q.length - 1) {
1205
1205
  var oe = u[N + 1] && u[N + 1].children && u[N + 1].children[0], W = {
1206
1206
  type: "text",
1207
1207
  value: "".concat(U)
1208
1208
  };
1209
1209
  if (oe) {
1210
- var ge = x0({
1210
+ var pe = x0({
1211
1211
  children: [W],
1212
1212
  className: w.properties.className
1213
1213
  });
1214
- u.splice(N + 1, 0, ge);
1214
+ u.splice(N + 1, 0, pe);
1215
1215
  } else {
1216
- var pe = [W], x = y(pe, X, w.properties.className);
1217
- g.push(x);
1216
+ var ge = [W], x = _(ge, X, w.properties.className);
1217
+ p.push(x);
1218
1218
  }
1219
1219
  } else {
1220
- var k = [ne], K = y(k, X, w.properties.className);
1221
- g.push(K);
1220
+ var k = [ne], K = _(k, X, w.properties.className);
1221
+ p.push(K);
1222
1222
  }
1223
1223
  }), I = N;
1224
1224
  }
@@ -1228,11 +1228,11 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1228
1228
  if (I !== u.length - 1) {
1229
1229
  var h = u.slice(I + 1, u.length);
1230
1230
  if (h && h.length) {
1231
- var m = i && g.length + r, p = y(h, m);
1232
- g.push(p);
1231
+ var m = i && p.length + r, g = _(h, m);
1232
+ p.push(g);
1233
1233
  }
1234
1234
  }
1235
- return t ? g : (d = []).concat.apply(d, g);
1235
+ return t ? p : (d = []).concat.apply(d, p);
1236
1236
  }
1237
1237
  function Ji(e) {
1238
1238
  var t = e.rows, n = e.stylesheet, i = e.useInlineStyles;
@@ -1271,44 +1271,44 @@ function eo(e) {
1271
1271
  }
1272
1272
  function to(e, t) {
1273
1273
  return function(i) {
1274
- var o = i.language, r = i.children, s = i.style, a = s === void 0 ? t : s, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, g = u === void 0 ? {
1274
+ var o = i.language, r = i.children, s = i.style, a = s === void 0 ? t : s, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, p = u === void 0 ? {
1275
1275
  className: o ? "language-".concat(o) : void 0,
1276
1276
  style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
1277
- } : u, I = i.useInlineStyles, N = I === void 0 ? !0 : I, T = i.showLineNumbers, R = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, p = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, D = 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, ge = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, pe = i.astGenerator, x = Di(i, qi);
1278
- pe = pe || e;
1279
- var k = R ? /* @__PURE__ */ ye.createElement(Xi, {
1280
- containerStyle: p,
1281
- codeStyle: g.style || {},
1277
+ } : u, I = i.useInlineStyles, N = I === void 0 ? !0 : I, T = i.showLineNumbers, R = 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, D = 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 = Di(i, qi);
1278
+ ge = ge || e;
1279
+ var k = R ? /* @__PURE__ */ _e.createElement(Xi, {
1280
+ containerStyle: g,
1281
+ codeStyle: p.style || {},
1282
1282
  numberStyle: w,
1283
1283
  startingLineNumber: m,
1284
- codeString: ge
1284
+ codeString: pe
1285
1285
  }) : null, K = a.hljs || a['pre[class*="language-"]'] || {
1286
1286
  backgroundColor: "#fff"
1287
- }, b = Sn(pe) ? "hljs" : "prismjs", v = N ? Object.assign({}, x, {
1287
+ }, b = Sn(ge) ? "hljs" : "prismjs", v = N ? Object.assign({}, x, {
1288
1288
  style: Object.assign({}, K, d)
1289
1289
  }) : Object.assign({}, x, {
1290
1290
  className: x.className ? "".concat(b, " ").concat(x.className) : b,
1291
1291
  style: Object.assign({}, d)
1292
1292
  });
1293
- if (q ? g.style = ze(ze({}, g.style), {}, {
1293
+ if (q ? p.style = ze(ze({}, p.style), {}, {
1294
1294
  whiteSpace: "pre-wrap"
1295
- }) : g.style = ze(ze({}, g.style), {}, {
1295
+ }) : p.style = ze(ze({}, p.style), {}, {
1296
1296
  whiteSpace: "pre"
1297
- }), !pe)
1298
- return /* @__PURE__ */ ye.createElement(Z, v, k, /* @__PURE__ */ ye.createElement(oe, g, ge));
1297
+ }), !ge)
1298
+ return /* @__PURE__ */ _e.createElement(Z, v, k, /* @__PURE__ */ _e.createElement(oe, p, pe));
1299
1299
  (D === void 0 && X || q) && (D = !0), X = X || Ji;
1300
- var _ = [{
1300
+ var y = [{
1301
1301
  type: "text",
1302
- value: ge
1302
+ value: pe
1303
1303
  }], E = eo({
1304
- astGenerator: pe,
1304
+ astGenerator: ge,
1305
1305
  language: o,
1306
- code: ge,
1307
- defaultCodeValue: _
1306
+ code: pe,
1307
+ defaultCodeValue: y
1308
1308
  });
1309
- E.language === null && (E.value = _);
1309
+ E.language === null && (E.value = y);
1310
1310
  var C = E.value.length + m, z = Qi(E, D, G, R, A, m, C, w, q);
1311
- return /* @__PURE__ */ ye.createElement(Z, v, /* @__PURE__ */ ye.createElement(oe, g, !A && k, X({
1311
+ return /* @__PURE__ */ _e.createElement(Z, v, /* @__PURE__ */ _e.createElement(oe, p, !A && k, X({
1312
1312
  rows: z,
1313
1313
  stylesheet: a,
1314
1314
  useInlineStyles: N
@@ -1493,14 +1493,14 @@ class oo extends at {
1493
1493
  function ao(e) {
1494
1494
  return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
1495
1495
  }
1496
- function p0(e) {
1496
+ function g0(e) {
1497
1497
  return e ? typeof e == "string" ? e : e.source : null;
1498
1498
  }
1499
1499
  function so(...e) {
1500
- return e.map((n) => p0(n)).join("");
1500
+ return e.map((n) => g0(n)).join("");
1501
1501
  }
1502
1502
  function co(...e) {
1503
- return "(" + e.map((n) => p0(n)).join("|") + ")";
1503
+ return "(" + e.map((n) => g0(n)).join("|") + ")";
1504
1504
  }
1505
1505
  function lo(e) {
1506
1506
  return new RegExp(e.toString() + "|").exec("").length - 1;
@@ -1510,12 +1510,12 @@ function uo(e, t) {
1510
1510
  return n && n.index === 0;
1511
1511
  }
1512
1512
  const fo = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
1513
- function go(e, t = "|") {
1513
+ function po(e, t = "|") {
1514
1514
  let n = 0;
1515
1515
  return e.map((i) => {
1516
1516
  n += 1;
1517
1517
  const o = n;
1518
- let r = p0(i), s = "";
1518
+ let r = g0(i), s = "";
1519
1519
  for (; r.length > 0; ) {
1520
1520
  const a = fo.exec(r);
1521
1521
  if (!a) {
@@ -1527,7 +1527,7 @@ function go(e, t = "|") {
1527
1527
  return s;
1528
1528
  }).map((i) => `(${i})`).join(t);
1529
1529
  }
1530
- const po = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\\d+)?", Cn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Mn = "\\b(0b[01]+)", mo = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ho = (e = {}) => {
1530
+ const go = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\\d+)?", Cn = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Mn = "\\b(0b[01]+)", mo = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ho = (e = {}) => {
1531
1531
  const t = /^#![ ]*\//;
1532
1532
  return e.binary && (e.begin = so(
1533
1533
  t,
@@ -1576,7 +1576,7 @@ const po = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\
1576
1576
  begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1577
1577
  relevance: 0
1578
1578
  }), i;
1579
- }, yo = A0("//", "$"), _o = A0("/\\*", "\\*/"), Eo = A0("#", "$"), Io = {
1579
+ }, _o = A0("//", "$"), yo = A0("/\\*", "\\*/"), Eo = A0("#", "$"), Io = {
1580
1580
  className: "number",
1581
1581
  begin: ct,
1582
1582
  relevance: 0
@@ -1644,7 +1644,7 @@ const po = /\b\B/, Rn = "[a-zA-Z]\\w*", st = "[a-zA-Z_]\\w*", ct = "\\b\\d+(\\.\
1644
1644
  };
1645
1645
  var b0 = /* @__PURE__ */ Object.freeze({
1646
1646
  __proto__: null,
1647
- MATCH_NOTHING_RE: po,
1647
+ MATCH_NOTHING_RE: go,
1648
1648
  IDENT_RE: Rn,
1649
1649
  UNDERSCORE_IDENT_RE: st,
1650
1650
  NUMBER_RE: ct,
@@ -1657,8 +1657,8 @@ var b0 = /* @__PURE__ */ Object.freeze({
1657
1657
  QUOTE_STRING_MODE: bo,
1658
1658
  PHRASAL_WORDS_MODE: Tn,
1659
1659
  COMMENT: A0,
1660
- C_LINE_COMMENT_MODE: yo,
1661
- C_BLOCK_COMMENT_MODE: _o,
1660
+ C_LINE_COMMENT_MODE: _o,
1661
+ C_BLOCK_COMMENT_MODE: yo,
1662
1662
  HASH_COMMENT_MODE: Eo,
1663
1663
  NUMBER_MODE: Io,
1664
1664
  C_NUMBER_MODE: xo,
@@ -1729,7 +1729,7 @@ function Vo(e) {
1729
1729
  function Ho(e, { plugins: t }) {
1730
1730
  function n(a, l) {
1731
1731
  return new RegExp(
1732
- p0(a),
1732
+ g0(a),
1733
1733
  "m" + (e.case_insensitive ? "i" : "") + (l ? "g" : "")
1734
1734
  );
1735
1735
  }
@@ -1744,7 +1744,7 @@ function Ho(e, { plugins: t }) {
1744
1744
  compile() {
1745
1745
  this.regexes.length === 0 && (this.exec = () => null);
1746
1746
  const l = this.regexes.map((d) => d[1]);
1747
- this.matcherRe = n(go(l), !0), this.lastIndex = 0;
1747
+ this.matcherRe = n(po(l), !0), this.lastIndex = 0;
1748
1748
  }
1749
1749
  /** @param {string} s */
1750
1750
  exec(l) {
@@ -1752,8 +1752,8 @@ function Ho(e, { plugins: t }) {
1752
1752
  const d = this.matcherRe.exec(l);
1753
1753
  if (!d)
1754
1754
  return null;
1755
- const u = d.findIndex((I, N) => N > 0 && I !== void 0), g = this.matchIndexes[u];
1756
- return d.splice(0, u), Object.assign(d, g);
1755
+ const u = d.findIndex((I, N) => N > 0 && I !== void 0), p = this.matchIndexes[u];
1756
+ return d.splice(0, u), Object.assign(d, p);
1757
1757
  }
1758
1758
  }
1759
1759
  class o {
@@ -1765,7 +1765,7 @@ function Ho(e, { plugins: t }) {
1765
1765
  if (this.multiRegexes[l])
1766
1766
  return this.multiRegexes[l];
1767
1767
  const d = new i();
1768
- return this.rules.slice(l).forEach(([u, g]) => d.addRule(u, g)), d.compile(), this.multiRegexes[l] = d, d;
1768
+ return this.rules.slice(l).forEach(([u, p]) => d.addRule(u, p)), d.compile(), this.multiRegexes[l] = d, d;
1769
1769
  }
1770
1770
  resumingScanAtSamePosition() {
1771
1771
  return this.regexIndex !== 0;
@@ -1783,8 +1783,8 @@ function Ho(e, { plugins: t }) {
1783
1783
  d.lastIndex = this.lastIndex;
1784
1784
  let u = d.exec(l);
1785
1785
  if (this.resumingScanAtSamePosition() && !(u && u.index === this.lastIndex)) {
1786
- const g = this.getMatcher(0);
1787
- g.lastIndex = this.lastIndex + 1, u = g.exec(l);
1786
+ const p = this.getMatcher(0);
1787
+ p.lastIndex = this.lastIndex + 1, u = p.exec(l);
1788
1788
  }
1789
1789
  return u && (this.regexIndex += u.position + 1, this.regexIndex === this.count && this.considerAll()), u;
1790
1790
  }
@@ -1804,26 +1804,26 @@ function Ho(e, { plugins: t }) {
1804
1804
  // do this early so compiler extensions generally don't have to worry about
1805
1805
  // the distinction between match/begin
1806
1806
  ko
1807
- ].forEach((g) => g(a, l)), e.compilerExtensions.forEach((g) => g(a, l)), a.__beforeBegin = null, [
1807
+ ].forEach((p) => p(a, l)), e.compilerExtensions.forEach((p) => p(a, l)), a.__beforeBegin = null, [
1808
1808
  Ao,
1809
1809
  // do this later so compiler extensions that come earlier have access to the
1810
1810
  // raw array if they wanted to perhaps manipulate it, etc.
1811
1811
  Do,
1812
1812
  // default to 1 relevance if not specified
1813
1813
  Po
1814
- ].forEach((g) => g(a, l)), a.isCompiled = !0;
1814
+ ].forEach((p) => p(a, l)), a.isCompiled = !0;
1815
1815
  let u = null;
1816
1816
  if (typeof a.keywords == "object" && (u = a.keywords.$pattern, delete a.keywords.$pattern), a.keywords && (a.keywords = An(a.keywords, e.case_insensitive)), a.lexemes && u)
1817
1817
  throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
1818
- return u = u || a.lexemes || /\w+/, d.keywordPatternRe = n(u, !0), l && (a.begin || (a.begin = /\B|\b/), d.beginRe = n(a.begin), a.endSameAsBegin && (a.end = a.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (d.endRe = n(a.end)), d.terminatorEnd = p0(a.end) || "", a.endsWithParent && l.terminatorEnd && (d.terminatorEnd += (a.end ? "|" : "") + l.terminatorEnd)), a.illegal && (d.illegalRe = n(
1818
+ return u = u || a.lexemes || /\w+/, d.keywordPatternRe = n(u, !0), l && (a.begin || (a.begin = /\B|\b/), d.beginRe = n(a.begin), a.endSameAsBegin && (a.end = a.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (d.endRe = n(a.end)), d.terminatorEnd = g0(a.end) || "", a.endsWithParent && l.terminatorEnd && (d.terminatorEnd += (a.end ? "|" : "") + l.terminatorEnd)), a.illegal && (d.illegalRe = n(
1819
1819
  /** @type {RegExp | string} */
1820
1820
  a.illegal
1821
- )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(g) {
1822
- return zo(g === "self" ? a : g);
1823
- })), a.contains.forEach(function(g) {
1821
+ )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(p) {
1822
+ return zo(p === "self" ? a : p);
1823
+ })), a.contains.forEach(function(p) {
1824
1824
  s(
1825
1825
  /** @type Mode */
1826
- g,
1826
+ p,
1827
1827
  d
1828
1828
  );
1829
1829
  }), a.starts && s(a.starts, l), d.matcher = r(d), d;
@@ -1926,10 +1926,10 @@ function qo(e, t, n) {
1926
1926
  return !e.length || !t.length ? e.length ? e : t : e[0].offset !== t[0].offset ? e[0].offset < t[0].offset ? e : t : t[0].event === "start" ? e : t;
1927
1927
  }
1928
1928
  function a(u) {
1929
- function g(I) {
1929
+ function p(I) {
1930
1930
  return " " + I.nodeName + '="' + s0(I.value) + '"';
1931
1931
  }
1932
- o += "<" + G0(u) + [].map.call(u.attributes, g).join("") + ">";
1932
+ o += "<" + G0(u) + [].map.call(u.attributes, p).join("") + ">";
1933
1933
  }
1934
1934
  function l(u) {
1935
1935
  o += "</" + G0(u) + ">";
@@ -1977,26 +1977,26 @@ const Lt = {}, L0 = (e) => {
1977
1977
  function u(b) {
1978
1978
  let v = b.className + " ";
1979
1979
  v += b.parentNode ? b.parentNode.className : "";
1980
- const _ = l.languageDetectRe.exec(v);
1981
- if (_) {
1982
- const E = ie(_[1]);
1983
- return E || ($t(s.replace("{}", _[1])), $t("Falling back to no-highlight mode for this block.", b)), E ? _[1] : "no-highlight";
1980
+ const y = l.languageDetectRe.exec(v);
1981
+ if (y) {
1982
+ const E = ie(y[1]);
1983
+ return E || ($t(s.replace("{}", y[1])), $t("Falling back to no-highlight mode for this block.", b)), E ? y[1] : "no-highlight";
1984
1984
  }
1985
1985
  return v.split(/\s+/).find((E) => d(E) || ie(E));
1986
1986
  }
1987
- function g(b, v, _, E) {
1987
+ function p(b, v, y, E) {
1988
1988
  let C = "", z = "";
1989
- typeof v == "object" ? (C = b, _ = v.ignoreIllegals, z = v.language, E = void 0) : (Ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ae("10.7.0", `Please use highlight(code, options) instead.
1989
+ typeof v == "object" ? (C = b, y = v.ignoreIllegals, z = v.language, E = void 0) : (Ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ae("10.7.0", `Please use highlight(code, options) instead.
1990
1990
  https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
1991
1991
  const H = {
1992
1992
  code: C,
1993
1993
  language: z
1994
1994
  };
1995
1995
  x("before:highlight", H);
1996
- const B = H.result ? H.result : I(H.language, H.code, _, E);
1996
+ const B = H.result ? H.result : I(H.language, H.code, y, E);
1997
1997
  return B.code = H.code, x("after:highlight", B), B;
1998
1998
  }
1999
- function I(b, v, _, E) {
1999
+ function I(b, v, y, E) {
2000
2000
  function C($, j) {
2001
2001
  const te = $e.case_insensitive ? j[0].toLowerCase() : j[0];
2002
2002
  return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
@@ -2073,7 +2073,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2073
2073
  return de(j);
2074
2074
  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;
2075
2075
  }
2076
- function _e($) {
2076
+ function ye($) {
2077
2077
  const j = $[0], te = v.substr($.index), ue = S(J, $, te);
2078
2078
  if (!ue)
2079
2079
  return Vt;
@@ -2104,11 +2104,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2104
2104
  }
2105
2105
  if (Le = j, j.type === "begin")
2106
2106
  return L(j);
2107
- if (j.type === "illegal" && !_) {
2107
+ if (j.type === "illegal" && !y) {
2108
2108
  const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (J.className || "<unnamed>") + '"');
2109
2109
  throw ue.mode = J, ue;
2110
2110
  } else if (j.type === "end") {
2111
- const ue = _e(j);
2111
+ const ue = ye(j);
2112
2112
  if (ue !== Vt)
2113
2113
  return ue;
2114
2114
  }
@@ -2184,10 +2184,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2184
2184
  }
2185
2185
  function T(b, v) {
2186
2186
  v = v || l.languages || Object.keys(t);
2187
- const _ = N(b), E = v.filter(ie).filter(W).map(
2187
+ const y = N(b), E = v.filter(ie).filter(W).map(
2188
2188
  (Q) => I(Q, b, !1)
2189
2189
  );
2190
- E.unshift(_);
2190
+ E.unshift(y);
2191
2191
  const C = E.sort((Q, S) => {
2192
2192
  if (Q.relevance !== S.relevance)
2193
2193
  return S.relevance - Q.relevance;
@@ -2205,8 +2205,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2205
2205
  return l.tabReplace || l.useBR ? b.replace(r, (v) => v === `
2206
2206
  ` ? l.useBR ? "<br>" : v : l.tabReplace ? v.replace(/\t/g, l.tabReplace) : v) : b;
2207
2207
  }
2208
- function y(b, v, _) {
2209
- const E = v ? n[v] : _;
2208
+ function _(b, v, y) {
2209
+ const E = v ? n[v] : y;
2210
2210
  b.classList.add("hljs"), E && b.classList.add(E);
2211
2211
  }
2212
2212
  const A = {
@@ -2225,17 +2225,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2225
2225
  ));
2226
2226
  }
2227
2227
  };
2228
- function p(b) {
2228
+ function g(b) {
2229
2229
  let v = null;
2230
- const _ = u(b);
2231
- if (d(_))
2230
+ const y = u(b);
2231
+ if (d(y))
2232
2232
  return;
2233
2233
  x(
2234
2234
  "before:highlightElement",
2235
- { el: b, language: _ }
2235
+ { el: b, language: y }
2236
2236
  ), v = b;
2237
- const E = v.textContent, C = _ ? g(E, { language: _, ignoreIllegals: !0 }) : T(E);
2238
- x("after:highlightElement", { el: b, result: C, text: E }), b.innerHTML = C.value, y(b, _, C.language), b.result = {
2237
+ const E = v.textContent, C = y ? p(E, { language: y, ignoreIllegals: !0 }) : T(E);
2238
+ x("after:highlightElement", { el: b, result: C, text: E }), b.innerHTML = C.value, _(b, y, C.language), b.result = {
2239
2239
  language: C.language,
2240
2240
  // TODO: remove with version 11.0
2241
2241
  re: C.relevance,
@@ -2253,7 +2253,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2253
2253
  const w = () => {
2254
2254
  if (w.called)
2255
2255
  return;
2256
- w.called = !0, Ae("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(p);
2256
+ w.called = !0, Ae("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(g);
2257
2257
  };
2258
2258
  function D() {
2259
2259
  Ae("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), P = !0;
@@ -2264,24 +2264,24 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2264
2264
  P = !0;
2265
2265
  return;
2266
2266
  }
2267
- document.querySelectorAll("pre code").forEach(p);
2267
+ document.querySelectorAll("pre code").forEach(g);
2268
2268
  }
2269
2269
  function U() {
2270
2270
  P && q();
2271
2271
  }
2272
2272
  typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", U, !1);
2273
2273
  function G(b, v) {
2274
- let _ = null;
2274
+ let y = null;
2275
2275
  try {
2276
- _ = v(e);
2276
+ y = v(e);
2277
2277
  } catch (E) {
2278
2278
  if (L0("Language definition for '{}' could not be registered.".replace("{}", b)), o)
2279
2279
  L0(E);
2280
2280
  else
2281
2281
  throw E;
2282
- _ = a;
2282
+ y = a;
2283
2283
  }
2284
- _.name || (_.name = b), t[b] = _, _.rawDefinition = v.bind(null, e), _.aliases && oe(_.aliases, { languageName: b });
2284
+ y.name || (y.name = b), t[b] = y, y.rawDefinition = v.bind(null, e), y.aliases && oe(y.aliases, { languageName: b });
2285
2285
  }
2286
2286
  function X(b) {
2287
2287
  delete t[b];
@@ -2302,15 +2302,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2302
2302
  return b = (b || "").toLowerCase(), t[b] || t[n[b]];
2303
2303
  }
2304
2304
  function oe(b, { languageName: v }) {
2305
- typeof b == "string" && (b = [b]), b.forEach((_) => {
2306
- n[_.toLowerCase()] = v;
2305
+ typeof b == "string" && (b = [b]), b.forEach((y) => {
2306
+ n[y.toLowerCase()] = v;
2307
2307
  });
2308
2308
  }
2309
2309
  function W(b) {
2310
2310
  const v = ie(b);
2311
2311
  return v && !v.disableAutodetect;
2312
2312
  }
2313
- function ge(b) {
2313
+ function pe(b) {
2314
2314
  b["before:highlightBlock"] && !b["before:highlightElement"] && (b["before:highlightElement"] = (v) => {
2315
2315
  b["before:highlightBlock"](
2316
2316
  Object.assign({ block: v.el }, v)
@@ -2321,27 +2321,27 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2321
2321
  );
2322
2322
  });
2323
2323
  }
2324
- function pe(b) {
2325
- ge(b), i.push(b);
2324
+ function ge(b) {
2325
+ pe(b), i.push(b);
2326
2326
  }
2327
2327
  function x(b, v) {
2328
- const _ = b;
2328
+ const y = b;
2329
2329
  i.forEach(function(E) {
2330
- E[_] && E[_](v);
2330
+ E[y] && E[y](v);
2331
2331
  });
2332
2332
  }
2333
2333
  function k(b) {
2334
2334
  return Ae("10.2.0", "fixMarkup will be removed entirely in v11.0"), Ae("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), R(b);
2335
2335
  }
2336
2336
  function K(b) {
2337
- return Ae("10.7.0", "highlightBlock will be removed entirely in v12.0"), Ae("10.7.0", "Please use highlightElement now."), p(b);
2337
+ return Ae("10.7.0", "highlightBlock will be removed entirely in v12.0"), Ae("10.7.0", "Please use highlightElement now."), g(b);
2338
2338
  }
2339
2339
  Object.assign(e, {
2340
- highlight: g,
2340
+ highlight: p,
2341
2341
  highlightAuto: T,
2342
2342
  highlightAll: q,
2343
2343
  fixMarkup: k,
2344
- highlightElement: p,
2344
+ highlightElement: g,
2345
2345
  // TODO: Remove with v12 API
2346
2346
  highlightBlock: K,
2347
2347
  configure: f,
@@ -2355,7 +2355,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2355
2355
  requireLanguage: Z,
2356
2356
  autoDetection: W,
2357
2357
  inherit: Bt,
2358
- addPlugin: pe,
2358
+ addPlugin: ge,
2359
2359
  // plugins for frameworks
2360
2360
  vuePlugin: Ko(e).VuePlugin
2361
2361
  }), e.debugMode = function() {
@@ -2379,15 +2379,15 @@ var Go = Wo({}), Yo = Go, kn = { exports: {} };
2379
2379
  return o.apply(null, [r].concat(s));
2380
2380
  }
2381
2381
  function o(r) {
2382
- for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", g, I = !1, N, T, R = !1, y, A = function() {
2382
+ for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, I = !1, N, T, R = !1, _, A = function() {
2383
2383
  return a[s++];
2384
2384
  }, h = function() {
2385
2385
  for (var m = ""; /\d/.test(r[l]); )
2386
- m += r[l++], g = r[l];
2386
+ m += r[l++], p = r[l];
2387
2387
  return m.length > 0 ? parseInt(m) : null;
2388
2388
  }; l < d; ++l)
2389
- if (g = r[l], I)
2390
- switch (I = !1, g == "." ? (R = !1, g = r[++l]) : g == "0" && r[l + 1] == "." ? (R = !0, l += 2, g = r[l]) : R = !0, y = h(), g) {
2389
+ if (p = r[l], I)
2390
+ switch (I = !1, p == "." ? (R = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (R = !0, l += 2, p = r[l]) : R = !0, _ = h(), p) {
2391
2391
  case "b":
2392
2392
  u += parseInt(A(), 10).toString(2);
2393
2393
  break;
@@ -2398,7 +2398,7 @@ var Go = Wo({}), Yo = Go, kn = { exports: {} };
2398
2398
  u += parseInt(A(), 10);
2399
2399
  break;
2400
2400
  case "f":
2401
- T = String(parseFloat(A()).toFixed(y || 6)), u += R ? T : T.replace(/^0/, "");
2401
+ T = String(parseFloat(A()).toFixed(_ || 6)), u += R ? T : T.replace(/^0/, "");
2402
2402
  break;
2403
2403
  case "j":
2404
2404
  u += JSON.stringify(A());
@@ -2416,11 +2416,11 @@ var Go = Wo({}), Yo = Go, kn = { exports: {} };
2416
2416
  u += "0x" + parseInt(A(), 10).toString(16).toUpperCase();
2417
2417
  break;
2418
2418
  default:
2419
- u += g;
2419
+ u += p;
2420
2420
  break;
2421
2421
  }
2422
2422
  else
2423
- g === "%" ? I = !0 : u += g;
2423
+ p === "%" ? I = !0 : u += p;
2424
2424
  return u;
2425
2425
  }
2426
2426
  })();
@@ -2760,13 +2760,13 @@ function fa(e) {
2760
2760
  ]
2761
2761
  };
2762
2762
  }
2763
- var ga = fa;
2764
- const Bn = /* @__PURE__ */ Re(ga);
2765
- function pa(e) {
2763
+ var pa = fa;
2764
+ const Bn = /* @__PURE__ */ Re(pa);
2765
+ function ga(e) {
2766
2766
  return e ? typeof e == "string" ? e : e.source : null;
2767
2767
  }
2768
2768
  function ma(...e) {
2769
- return e.map((n) => pa(n)).join("");
2769
+ return e.map((n) => ga(n)).join("");
2770
2770
  }
2771
2771
  function ha(e) {
2772
2772
  const t = {}, n = {
@@ -2848,7 +2848,7 @@ function ha(e) {
2848
2848
  ], u = e.SHEBANG({
2849
2849
  binary: `(${d.join("|")})`,
2850
2850
  relevance: 10
2851
- }), g = {
2851
+ }), p = {
2852
2852
  className: "function",
2853
2853
  begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
2854
2854
  returnBegin: !0,
@@ -2873,7 +2873,7 @@ function ha(e) {
2873
2873
  // to catch known shells and boost relevancy
2874
2874
  e.SHEBANG(),
2875
2875
  // to catch unknown shells but still highlight the shebang
2876
- g,
2876
+ p,
2877
2877
  l,
2878
2878
  e.HASH_COMMENT_MODE,
2879
2879
  o,
@@ -2885,7 +2885,7 @@ function ha(e) {
2885
2885
  };
2886
2886
  }
2887
2887
  var va = ha;
2888
- const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", ya = [
2888
+ const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", _a = [
2889
2889
  "as",
2890
2890
  // for exports
2891
2891
  "in",
@@ -2928,7 +2928,7 @@ const ba = /* @__PURE__ */ Re(va), zt = "[A-Za-z$_][0-9A-Za-z$_]*", ya = [
2928
2928
  "from",
2929
2929
  "export",
2930
2930
  "extends"
2931
- ], _a = [
2931
+ ], ya = [
2932
2932
  "true",
2933
2933
  "false",
2934
2934
  "null",
@@ -3023,9 +3023,9 @@ function Y0(...e) {
3023
3023
  return e.map((n) => Sa(n)).join("");
3024
3024
  }
3025
3025
  function Oa(e) {
3026
- const t = (p, { after: f }) => {
3027
- const w = "</" + p[0].slice(1);
3028
- return p.input.indexOf(w, f) !== -1;
3026
+ const t = (g, { after: f }) => {
3027
+ const w = "</" + g[0].slice(1);
3028
+ return g.input.indexOf(w, f) !== -1;
3029
3029
  }, n = zt, i = {
3030
3030
  begin: "<>",
3031
3031
  end: "</>"
@@ -3036,18 +3036,18 @@ function Oa(e) {
3036
3036
  * @param {RegExpMatchArray} match
3037
3037
  * @param {CallbackResponse} response
3038
3038
  */
3039
- isTrulyOpeningTag: (p, f) => {
3040
- const w = p[0].length + p.index, D = p.input[w];
3039
+ isTrulyOpeningTag: (g, f) => {
3040
+ const w = g[0].length + g.index, D = g.input[w];
3041
3041
  if (D === "<") {
3042
3042
  f.ignoreMatch();
3043
3043
  return;
3044
3044
  }
3045
- D === ">" && (t(p, { after: w }) || f.ignoreMatch());
3045
+ D === ">" && (t(g, { after: w }) || f.ignoreMatch());
3046
3046
  }
3047
3047
  }, r = {
3048
3048
  $pattern: zt,
3049
- keyword: ya,
3050
- literal: _a,
3049
+ keyword: _a,
3050
+ literal: ya,
3051
3051
  built_in: Na
3052
3052
  }, s = "[0-9](_?[0-9])*", a = `\\.(${s})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
3053
3053
  className: "number",
@@ -3073,7 +3073,7 @@ function Oa(e) {
3073
3073
  keywords: r,
3074
3074
  contains: []
3075
3075
  // defined later
3076
- }, g = {
3076
+ }, p = {
3077
3077
  begin: "html`",
3078
3078
  end: "",
3079
3079
  starts: {
@@ -3144,16 +3144,16 @@ function Oa(e) {
3144
3144
  e.C_BLOCK_COMMENT_MODE,
3145
3145
  e.C_LINE_COMMENT_MODE
3146
3146
  ]
3147
- }, y = [
3147
+ }, _ = [
3148
3148
  e.APOS_STRING_MODE,
3149
3149
  e.QUOTE_STRING_MODE,
3150
- g,
3150
+ p,
3151
3151
  I,
3152
3152
  N,
3153
3153
  d,
3154
3154
  e.REGEXP_MODE
3155
3155
  ];
3156
- u.contains = y.concat({
3156
+ u.contains = _.concat({
3157
3157
  // we need to pair up {} inside our subst to prevent
3158
3158
  // it from ending too early by matching another }
3159
3159
  begin: /\{/,
@@ -3161,7 +3161,7 @@ function Oa(e) {
3161
3161
  keywords: r,
3162
3162
  contains: [
3163
3163
  "self"
3164
- ].concat(y)
3164
+ ].concat(_)
3165
3165
  });
3166
3166
  const A = [].concat(R, u.contains), h = A.concat([
3167
3167
  // eat recursive parens in sub expressions
@@ -3201,7 +3201,7 @@ function Oa(e) {
3201
3201
  },
3202
3202
  e.APOS_STRING_MODE,
3203
3203
  e.QUOTE_STRING_MODE,
3204
- g,
3204
+ p,
3205
3205
  I,
3206
3206
  N,
3207
3207
  R,
@@ -3676,7 +3676,7 @@ function $a(e) {
3676
3676
  { begin: /"/, end: /"/ },
3677
3677
  { begin: /[^\s,{}[\]]+/ }
3678
3678
  ]
3679
- }), a = "[0-9]{4}(-[0-9][0-9]){0,2}", l = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", d = "(\\.[0-9]*)?", u = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", g = {
3679
+ }), a = "[0-9]{4}(-[0-9][0-9]){0,2}", l = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", d = "(\\.[0-9]*)?", u = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", p = {
3680
3680
  className: "number",
3681
3681
  begin: "\\b" + a + l + d + u + "\\b"
3682
3682
  }, I = {
@@ -3765,7 +3765,7 @@ function $a(e) {
3765
3765
  beginKeywords: t,
3766
3766
  keywords: { literal: t }
3767
3767
  },
3768
- g,
3768
+ p,
3769
3769
  // numbers are any valid C-style number that
3770
3770
  // sit isolated from other words
3771
3771
  {
@@ -3776,8 +3776,8 @@ function $a(e) {
3776
3776
  N,
3777
3777
  T,
3778
3778
  r
3779
- ], y = [...R];
3780
- return y.pop(), y.push(s), I.contains = y, {
3779
+ ], _ = [...R];
3780
+ return _.pop(), _.push(s), I.contains = _, {
3781
3781
  name: "YAML",
3782
3782
  case_insensitive: !0,
3783
3783
  aliases: ["yml"],
@@ -3979,9 +3979,9 @@ function X0(...e) {
3979
3979
  return e.map((n) => qa(n)).join("");
3980
3980
  }
3981
3981
  function Wa(e) {
3982
- const t = (p, { after: f }) => {
3983
- const w = "</" + p[0].slice(1);
3984
- return p.input.indexOf(w, f) !== -1;
3982
+ const t = (g, { after: f }) => {
3983
+ const w = "</" + g[0].slice(1);
3984
+ return g.input.indexOf(w, f) !== -1;
3985
3985
  }, n = O0, i = {
3986
3986
  begin: "<>",
3987
3987
  end: "</>"
@@ -3992,13 +3992,13 @@ function Wa(e) {
3992
3992
  * @param {RegExpMatchArray} match
3993
3993
  * @param {CallbackResponse} response
3994
3994
  */
3995
- isTrulyOpeningTag: (p, f) => {
3996
- const w = p[0].length + p.index, D = p.input[w];
3995
+ isTrulyOpeningTag: (g, f) => {
3996
+ const w = g[0].length + g.index, D = g.input[w];
3997
3997
  if (D === "<") {
3998
3998
  f.ignoreMatch();
3999
3999
  return;
4000
4000
  }
4001
- D === ">" && (t(p, { after: w }) || f.ignoreMatch());
4001
+ D === ">" && (t(g, { after: w }) || f.ignoreMatch());
4002
4002
  }
4003
4003
  }, r = {
4004
4004
  $pattern: O0,
@@ -4029,7 +4029,7 @@ function Wa(e) {
4029
4029
  keywords: r,
4030
4030
  contains: []
4031
4031
  // defined later
4032
- }, g = {
4032
+ }, p = {
4033
4033
  begin: "html`",
4034
4034
  end: "",
4035
4035
  starts: {
@@ -4100,16 +4100,16 @@ function Wa(e) {
4100
4100
  e.C_BLOCK_COMMENT_MODE,
4101
4101
  e.C_LINE_COMMENT_MODE
4102
4102
  ]
4103
- }, y = [
4103
+ }, _ = [
4104
4104
  e.APOS_STRING_MODE,
4105
4105
  e.QUOTE_STRING_MODE,
4106
- g,
4106
+ p,
4107
4107
  I,
4108
4108
  N,
4109
4109
  d,
4110
4110
  e.REGEXP_MODE
4111
4111
  ];
4112
- u.contains = y.concat({
4112
+ u.contains = _.concat({
4113
4113
  // we need to pair up {} inside our subst to prevent
4114
4114
  // it from ending too early by matching another }
4115
4115
  begin: /\{/,
@@ -4117,7 +4117,7 @@ function Wa(e) {
4117
4117
  keywords: r,
4118
4118
  contains: [
4119
4119
  "self"
4120
- ].concat(y)
4120
+ ].concat(_)
4121
4121
  });
4122
4122
  const A = [].concat(R, u.contains), h = A.concat([
4123
4123
  // eat recursive parens in sub expressions
@@ -4157,7 +4157,7 @@ function Wa(e) {
4157
4157
  },
4158
4158
  e.APOS_STRING_MODE,
4159
4159
  e.QUOTE_STRING_MODE,
4160
- g,
4160
+ p,
4161
4161
  I,
4162
4162
  N,
4163
4163
  R,
@@ -4393,7 +4393,7 @@ function Ga(e) {
4393
4393
  className: "meta",
4394
4394
  begin: "@" + t
4395
4395
  }, d = (I, N, T) => {
4396
- const R = I.contains.findIndex((y) => y.label === N);
4396
+ const R = I.contains.findIndex((_) => _.label === N);
4397
4397
  if (R === -1)
4398
4398
  throw new Error("can not find mode to replace");
4399
4399
  I.contains.splice(R, 1, T);
@@ -4403,8 +4403,8 @@ function Ga(e) {
4403
4403
  n,
4404
4404
  i
4405
4405
  ]), d(u, "shebang", e.SHEBANG()), d(u, "use_strict", o);
4406
- const g = u.contains.find((I) => I.className === "function");
4407
- return g.relevance = 0, Object.assign(u, {
4406
+ const p = u.contains.find((I) => I.className === "function");
4407
+ return p.relevance = 0, Object.assign(u, {
4408
4408
  name: "TypeScript",
4409
4409
  aliases: ["ts", "tsx"]
4410
4410
  }), u;
@@ -4598,6 +4598,7 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ c(
4598
4598
  as: "ol",
4599
4599
  itemScope: !0,
4600
4600
  itemType: "https://schema.org/BreadcrumbList",
4601
+ p: "0",
4601
4602
  gap: "xxs-3",
4602
4603
  fontWeight: "semi-bold",
4603
4604
  className: re("breadcrumb", t.className),
@@ -4609,8 +4610,8 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ c(
4609
4610
  o < e.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: ">" })
4610
4611
  ] }, o))
4611
4612
  }
4612
- ), Xn = ({ img: e, sources: t }) => /* @__PURE__ */ M("picture", { children: [
4613
- t == null ? void 0 : t.map((n, i) => /* @__PURE__ */ c("source", { ...n }, i)),
4613
+ ), Xn = ({ img: e, sources: t, ...n }) => /* @__PURE__ */ M(V, { as: "picture", display: "block", ...n, children: [
4614
+ t == null ? void 0 : t.map((i, o) => /* @__PURE__ */ c("source", { ...i }, o)),
4614
4615
  /* @__PURE__ */ c("img", { ...e, alt: e.alt })
4615
4616
  ] });
4616
4617
  const e0 = Ce(
@@ -4671,25 +4672,25 @@ var Qn = { exports: {} };
4671
4672
  (function(e, t) {
4672
4673
  (function(n, i) {
4673
4674
  e.exports = i();
4674
- })(pn, () => {
4675
+ })(gn, () => {
4675
4676
  return n = { 772: (o, r, s) => {
4676
4677
  const a = s(826).remove, l = /[.*+?^${}()|[\]\\]/g, d = /[a-z0-9_]/i, u = /\s+/;
4677
- o.exports = function(g, I, N) {
4678
+ o.exports = function(p, I, N) {
4678
4679
  var T, R;
4679
4680
  R = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 }, T = (T = N) || {}, Object.keys(T).forEach((h) => {
4680
4681
  R[h] = !!T[h];
4681
4682
  }), N = R;
4682
- const y = Array.from(g).map((h) => a(h));
4683
- let A = y.join("");
4683
+ const _ = Array.from(p).map((h) => a(h));
4684
+ let A = _.join("");
4684
4685
  return (I = a(I)).trim().split(u).filter((h) => h.length > 0).reduce((h, m) => {
4685
- const p = m.length, f = !N.insideWords && d.test(m[0]) ? "\\b" : "", w = new RegExp(f + m.replace(l, "\\$&"), "i");
4686
+ const g = m.length, f = !N.insideWords && d.test(m[0]) ? "\\b" : "", w = new RegExp(f + m.replace(l, "\\$&"), "i");
4686
4687
  let D, P;
4687
4688
  if (D = w.exec(A), N.requireMatchAll && D === null)
4688
4689
  return A = "", [];
4689
4690
  for (; D; ) {
4690
4691
  P = D.index;
4691
- const q = p - y.slice(P, P + p).join("").length, U = P - y.slice(0, P).join("").length, G = [P + U, P + p + U + q];
4692
- if (G[0] !== G[1] && h.push(G), A = A.slice(0, P) + new Array(p + 1).join(" ") + A.slice(P + p), !N.findAllOccurrences)
4692
+ const q = g - _.slice(P, P + g).join("").length, U = P - _.slice(0, P).join("").length, G = [P + U, P + g + U + q];
4693
+ if (G[0] !== G[1] && h.push(G), A = A.slice(0, P) + new Array(g + 1).join(" ") + A.slice(P + g), !N.findAllOccurrences)
4693
4694
  break;
4694
4695
  D = w.exec(A);
4695
4696
  }
@@ -4698,8 +4699,8 @@ var Qn = { exports: {} };
4698
4699
  };
4699
4700
  }, 826: (o) => {
4700
4701
  var r = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", Ấ: "A", Ắ: "A", Ẳ: "A", Ẵ: "A", Ặ: "A", Æ: "AE", Ầ: "A", Ằ: "A", Ȃ: "A", Ç: "C", Ḉ: "C", È: "E", É: "E", Ê: "E", Ë: "E", Ế: "E", Ḗ: "E", Ề: "E", Ḕ: "E", Ḝ: "E", Ȇ: "E", Ì: "I", Í: "I", Î: "I", Ï: "I", Ḯ: "I", Ȋ: "I", Ð: "D", Ñ: "N", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", Ố: "O", Ṍ: "O", Ṓ: "O", Ȏ: "O", Ù: "U", Ú: "U", Û: "U", Ü: "U", Ý: "Y", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", ấ: "a", ắ: "a", ẳ: "a", ẵ: "a", ặ: "a", æ: "ae", ầ: "a", ằ: "a", ȃ: "a", ç: "c", ḉ: "c", è: "e", é: "e", ê: "e", ë: "e", ế: "e", ḗ: "e", ề: "e", ḕ: "e", ḝ: "e", ȇ: "e", ì: "i", í: "i", î: "i", ï: "i", ḯ: "i", ȋ: "i", ð: "d", ñ: "n", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", ố: "o", ṍ: "o", ṓ: "o", ȏ: "o", ù: "u", ú: "u", û: "u", ü: "u", ý: "y", ÿ: "y", Ā: "A", ā: "a", Ă: "A", ă: "a", Ą: "A", ą: "a", Ć: "C", ć: "c", Ĉ: "C", ĉ: "c", Ċ: "C", ċ: "c", Č: "C", č: "c", C̆: "C", c̆: "c", Ď: "D", ď: "d", Đ: "D", đ: "d", Ē: "E", ē: "e", Ĕ: "E", ĕ: "e", Ė: "E", ė: "e", Ę: "E", ę: "e", Ě: "E", ě: "e", Ĝ: "G", Ǵ: "G", ĝ: "g", ǵ: "g", Ğ: "G", ğ: "g", Ġ: "G", ġ: "g", Ģ: "G", ģ: "g", Ĥ: "H", ĥ: "h", Ħ: "H", ħ: "h", Ḫ: "H", ḫ: "h", Ĩ: "I", ĩ: "i", Ī: "I", ī: "i", Ĭ: "I", ĭ: "i", Į: "I", į: "i", İ: "I", ı: "i", IJ: "IJ", ij: "ij", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", Ḱ: "K", ḱ: "k", K̆: "K", k̆: "k", Ĺ: "L", ĺ: "l", Ļ: "L", ļ: "l", Ľ: "L", ľ: "l", Ŀ: "L", ŀ: "l", Ł: "l", ł: "l", Ḿ: "M", ḿ: "m", M̆: "M", m̆: "m", Ń: "N", ń: "n", Ņ: "N", ņ: "n", Ň: "N", ň: "n", ʼn: "n", N̆: "N", n̆: "n", Ō: "O", ō: "o", Ŏ: "O", ŏ: "o", Ő: "O", ő: "o", Œ: "OE", œ: "oe", P̆: "P", p̆: "p", Ŕ: "R", ŕ: "r", Ŗ: "R", ŗ: "r", Ř: "R", ř: "r", R̆: "R", r̆: "r", Ȓ: "R", ȓ: "r", Ś: "S", ś: "s", Ŝ: "S", ŝ: "s", Ş: "S", Ș: "S", ș: "s", ş: "s", Š: "S", š: "s", Ţ: "T", ţ: "t", ț: "t", Ț: "T", Ť: "T", ť: "t", Ŧ: "T", ŧ: "t", T̆: "T", t̆: "t", Ũ: "U", ũ: "u", Ū: "U", ū: "u", Ŭ: "U", ŭ: "u", Ů: "U", ů: "u", Ű: "U", ű: "u", Ų: "U", ų: "u", Ȗ: "U", ȗ: "u", V̆: "V", v̆: "v", Ŵ: "W", ŵ: "w", Ẃ: "W", ẃ: "w", X̆: "X", x̆: "x", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Y̆: "Y", y̆: "y", Ź: "Z", ź: "z", Ż: "Z", ż: "z", Ž: "Z", ž: "z", ſ: "s", ƒ: "f", Ơ: "O", ơ: "o", Ư: "U", ư: "u", Ǎ: "A", ǎ: "a", Ǐ: "I", ǐ: "i", Ǒ: "O", ǒ: "o", Ǔ: "U", ǔ: "u", Ǖ: "U", ǖ: "u", Ǘ: "U", ǘ: "u", Ǚ: "U", ǚ: "u", Ǜ: "U", ǜ: "u", Ứ: "U", ứ: "u", Ṹ: "U", ṹ: "u", Ǻ: "A", ǻ: "a", Ǽ: "AE", ǽ: "ae", Ǿ: "O", ǿ: "o", Þ: "TH", þ: "th", Ṕ: "P", ṕ: "p", Ṥ: "S", ṥ: "s", X́: "X", x́: "x", Ѓ: "Г", ѓ: "г", Ќ: "К", ќ: "к", A̋: "A", a̋: "a", E̋: "E", e̋: "e", I̋: "I", i̋: "i", Ǹ: "N", ǹ: "n", Ồ: "O", ồ: "o", Ṑ: "O", ṑ: "o", Ừ: "U", ừ: "u", Ẁ: "W", ẁ: "w", Ỳ: "Y", ỳ: "y", Ȁ: "A", ȁ: "a", Ȅ: "E", ȅ: "e", Ȉ: "I", ȉ: "i", Ȍ: "O", ȍ: "o", Ȑ: "R", ȑ: "r", Ȕ: "U", ȕ: "u", B̌: "B", b̌: "b", Č̣: "C", č̣: "c", Ê̌: "E", ê̌: "e", F̌: "F", f̌: "f", Ǧ: "G", ǧ: "g", Ȟ: "H", ȟ: "h", J̌: "J", ǰ: "j", Ǩ: "K", ǩ: "k", M̌: "M", m̌: "m", P̌: "P", p̌: "p", Q̌: "Q", q̌: "q", Ř̩: "R", ř̩: "r", Ṧ: "S", ṧ: "s", V̌: "V", v̌: "v", W̌: "W", w̌: "w", X̌: "X", x̌: "x", Y̌: "Y", y̌: "y", A̧: "A", a̧: "a", B̧: "B", b̧: "b", Ḑ: "D", ḑ: "d", Ȩ: "E", ȩ: "e", Ɛ̧: "E", ɛ̧: "e", Ḩ: "H", ḩ: "h", I̧: "I", i̧: "i", Ɨ̧: "I", ɨ̧: "i", M̧: "M", m̧: "m", O̧: "O", o̧: "o", Q̧: "Q", q̧: "q", U̧: "U", u̧: "u", X̧: "X", x̧: "x", Z̧: "Z", z̧: "z" }, s = Object.keys(r).join("|"), a = new RegExp(s, "g"), l = new RegExp(s, ""), d = function(u) {
4701
- return u.replace(a, function(g) {
4702
- return r[g];
4702
+ return u.replace(a, function(p) {
4703
+ return r[p];
4703
4704
  });
4704
4705
  };
4705
4706
  o.exports = d, o.exports.has = function(u) {
@@ -4721,13 +4722,13 @@ var Jn = { exports: {} };
4721
4722
  (function(e, t) {
4722
4723
  (function(n, i) {
4723
4724
  e.exports = i();
4724
- })(pn, () => {
4725
+ })(gn, () => {
4725
4726
  return n = { 705: (o) => {
4726
4727
  o.exports = function(r, s) {
4727
4728
  const a = [];
4728
4729
  return s.length === 0 ? a.push({ text: r, highlight: !1 }) : s[0][0] > 0 && a.push({ text: r.slice(0, s[0][0]), highlight: !1 }), s.forEach((l, d) => {
4729
- const u = l[0], g = l[1];
4730
- a.push({ text: r.slice(u, g), highlight: !0 }), d === s.length - 1 ? g < r.length && a.push({ text: r.slice(g, r.length), highlight: !1 }) : g < s[d + 1][0] && a.push({ text: r.slice(g, s[d + 1][0]), highlight: !1 });
4730
+ const u = l[0], p = l[1];
4731
+ a.push({ text: r.slice(u, p), highlight: !0 }), d === s.length - 1 ? p < r.length && a.push({ text: r.slice(p, r.length), highlight: !1 }) : p < s[d + 1][0] && a.push({ text: r.slice(p, s[d + 1][0]), highlight: !1 });
4731
4732
  }), a;
4732
4733
  };
4733
4734
  } }, i = {}, function o(r) {
@@ -4769,10 +4770,10 @@ const ns = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ *
4769
4770
  justifyContent: "center",
4770
4771
  alignItems: "center",
4771
4772
  px: { xs: "l", md: "0" },
4772
- className: "category-intro-block__container",
4773
- children: /* @__PURE__ */ M(V, { pt: "m", pb: "xxl", children: [
4773
+ className: "category-intro-block__container c",
4774
+ children: /* @__PURE__ */ M(V, { pt: "m", pb: "xxl", className: "container-content", children: [
4774
4775
  /* @__PURE__ */ c(Yn, { ...n }),
4775
- /* @__PURE__ */ c(ve, { size: "xl", mt: "xl", children: e }),
4776
+ /* @__PURE__ */ c(ve, { size: "xl", children: e }),
4776
4777
  /* @__PURE__ */ c(ee, { mt: "l", children: t })
4777
4778
  ] })
4778
4779
  }
@@ -4830,7 +4831,7 @@ const Mc = ["primary", "secondary"], lt = ({
4830
4831
  isLoading: o,
4831
4832
  display: "inline-block",
4832
4833
  style: { minWidth: 60, minHeight: 16 },
4833
- children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
4834
+ children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__date", children: [
4834
4835
  e === "secondary" && /* @__PURE__ */ c(Ie, { name: "calendar", size: "24px", color: "light-grey" }),
4835
4836
  t && /* @__PURE__ */ c(ee, { as: "span", children: t })
4836
4837
  ] })
@@ -4866,12 +4867,12 @@ const Mc = ["primary", "secondary"], lt = ({
4866
4867
  isLoading: o,
4867
4868
  display: "inline-block",
4868
4869
  style: { minWidth: 50, minHeight: 16 },
4869
- children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
4870
+ children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__authors", children: [
4870
4871
  e === "secondary" && /* @__PURE__ */ c(Ie, { name: "person", size: "24px", color: "light-grey" }),
4871
- i.map(({ username: g, name: I, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
4872
+ i.map(({ username: p, name: I, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
4872
4873
  N ? /* @__PURE__ */ c(e0, { ...N, children: I }) : /* @__PURE__ */ c(ee, { as: "span", children: I }),
4873
- T !== i.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: "&" })
4874
- ] }, g))
4874
+ T !== i.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: " & " })
4875
+ ] }, p))
4875
4876
  ] })
4876
4877
  },
4877
4878
  d
@@ -4890,7 +4891,7 @@ const Mc = ["primary", "secondary"], lt = ({
4890
4891
  ...s,
4891
4892
  alignItems: "center",
4892
4893
  textSize: "s",
4893
- flexWrap: "wrap",
4894
+ flexWrap: "no-wrap",
4894
4895
  gap: e === "secondary" ? "s" : "xxs",
4895
4896
  className: re("post-metadata", { [`post-metadata--${e}`]: e }),
4896
4897
  children: a
@@ -4909,49 +4910,39 @@ const Tc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
4909
4910
  link: l = {},
4910
4911
  isLoading: d = !1,
4911
4912
  tutorialLabel: u,
4912
- ...g
4913
- }) => /* @__PURE__ */ M(V, { as: "article", ...g, className: re("post-card", `post-card--${t}`), children: [
4913
+ ...p
4914
+ }) => /* @__PURE__ */ M(V, { as: "article", ...p, className: re("post-card", `post-card--${t}`), children: [
4914
4915
  /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ c(Xn, { ...n, img: { className: "post-card__cover", ...n == null ? void 0 : n.img } }) }),
4915
- /* @__PURE__ */ M(
4916
- V,
4917
- {
4918
- my: { xs: "s", md: "m" },
4919
- pl: { xs: "s", md: "m" },
4920
- pr: { xs: "xs", md: "m" },
4921
- flex: "1",
4922
- style: { display: "grid" },
4923
- children: [
4924
- /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ M(ve, { as: "h2", size: "xs", className: "post-card__heading", children: [
4925
- /* @__PURE__ */ c(ee, { as: "a", ...l, size: "m", "data-internal-link": "post", className: "post-card__link", children: i }),
4926
- e === "tutorial" && /* @__PURE__ */ c(
4927
- ee,
4928
- {
4929
- size: "xs",
4930
- py: "xxs-3",
4931
- px: "xxs-2",
4932
- color: "primary",
4933
- textTransform: "uppercase",
4934
- fontWeight: "bold",
4935
- className: "post-card__tutoriel-tag",
4936
- children: u
4937
- }
4938
- )
4939
- ] }) }),
4940
- /* @__PURE__ */ c(
4941
- lt,
4942
- {
4943
- variant: "primary",
4944
- mt: "xxs",
4945
- date: r,
4946
- readingTime: s,
4947
- authors: a,
4948
- isLoading: d
4949
- }
4950
- ),
4951
- t !== "highlight-dark" && /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ c(ee, { mt: "xs", size: "s", hiddenBelow: "md", children: o }) })
4952
- ]
4953
- }
4954
- )
4916
+ /* @__PURE__ */ M(V, { my: { xs: "s", md: "m" }, pl: { xs: "s", md: "m" }, pr: { xs: "xs", md: "m" }, flex: "1", children: [
4917
+ /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ M(ve, { as: "h2", size: "xs", className: "post-card__heading", children: [
4918
+ /* @__PURE__ */ c(ee, { as: "a", ...l, size: "m", "data-internal-link": "post", className: "post-card__link", children: i }),
4919
+ e === "tutorial" && /* @__PURE__ */ c(
4920
+ ee,
4921
+ {
4922
+ size: "xs",
4923
+ py: "xxs-3",
4924
+ px: "xxs-2",
4925
+ color: "primary",
4926
+ textTransform: "uppercase",
4927
+ fontWeight: "bold",
4928
+ className: "post-card__tutoriel-tag",
4929
+ children: u
4930
+ }
4931
+ )
4932
+ ] }) }),
4933
+ /* @__PURE__ */ c(
4934
+ lt,
4935
+ {
4936
+ variant: "primary",
4937
+ mt: "xxs",
4938
+ date: r,
4939
+ readingTime: s,
4940
+ authors: a,
4941
+ isLoading: d
4942
+ }
4943
+ ),
4944
+ t !== "highlight-dark" && /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ c(ee, { mt: "xs", size: "s", hiddenBelow: "md", className: "post-card__excerpt", children: o }) })
4945
+ ] })
4955
4946
  ] });
4956
4947
  const os = ({
4957
4948
  name: e,
@@ -5019,7 +5010,7 @@ const Ac = ["primary", "secondary"], nr = ({
5019
5010
  ...o
5020
5011
  }) => /* @__PURE__ */ M(V, { bg: "white", p: "m", className: re("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
5021
5012
  /* @__PURE__ */ c(ve, { size: "m", color: "primary", children: t }),
5022
- /* @__PURE__ */ c(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: s, ...a }, l) => /* @__PURE__ */ M(ye.Fragment, { children: [
5013
+ /* @__PURE__ */ c(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: s, ...a }, l) => /* @__PURE__ */ M(_e.Fragment, { children: [
5023
5014
  /* @__PURE__ */ M(
5024
5015
  F,
5025
5016
  {
@@ -5062,23 +5053,23 @@ const Dc = ["horizontal", "vertical"], ut = ({
5062
5053
  /* @__PURE__ */ c(V, { className: "newsletter-card__form", children: n })
5063
5054
  ]
5064
5055
  }
5065
- ), o0 = -1, y0 = (e, t) => {
5056
+ ), o0 = -1, _0 = (e, t) => {
5066
5057
  const n = t - e + 1;
5067
5058
  return Array.from({ length: n }, (i, o) => o + e);
5068
5059
  }, ss = ({ currentPage: e, totalPages: t, siblingCount: n = 2 }) => fn(() => {
5069
5060
  if (n + 5 >= t)
5070
- return y0(1, t);
5061
+ return _0(1, t);
5071
5062
  const o = Math.max(e - n, 1), r = Math.min(e + n, t), s = o > 2, a = r < t - 2;
5072
5063
  if (!s && a) {
5073
- const l = 3 + 2 * n, d = y0(1, l);
5064
+ const l = 3 + 2 * n, d = _0(1, l);
5074
5065
  return [...d, d.at(-1) === t - 1 ? t - 1 : o0, t];
5075
5066
  }
5076
5067
  if (s && !a) {
5077
- const l = 3 + 2 * n, d = y0(t - l + 1, t);
5068
+ const l = 3 + 2 * n, d = _0(t - l + 1, t);
5078
5069
  return [1, d[0] - 1 === 2 ? 2 : o0, ...d];
5079
5070
  }
5080
5071
  if (s && a) {
5081
- const l = y0(o, r);
5072
+ const l = _0(o, r);
5082
5073
  return [
5083
5074
  1,
5084
5075
  l[0] - 1 === 2 ? 2 : o0,
@@ -5143,13 +5134,13 @@ const B0 = (e) => ({
5143
5134
  )
5144
5135
  ] });
5145
5136
  }, kc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ M(F, { flexDirection: "column", gap: "m", children: [
5146
- e.map((i, o) => /* @__PURE__ */ c(ye.Fragment, { children: /* @__PURE__ */ c(D0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5137
+ e.map((i, o) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5147
5138
  t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ c(cs, { ...t })
5148
5139
  ] }) });
5149
5140
  function ls(e, t) {
5150
5141
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Z0(e, t);
5151
5142
  }
5152
- var Q0 = { exports: {} }, _0 = { exports: {} }, ae = {};
5143
+ var Q0 = { exports: {} }, y0 = { exports: {} }, ae = {};
5153
5144
  /** @license React v16.13.1
5154
5145
  * react-is.production.min.js
5155
5146
  *
@@ -5163,7 +5154,7 @@ function us() {
5163
5154
  if (Ft)
5164
5155
  return ae;
5165
5156
  Ft = 1;
5166
- 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, s = 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, g = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = 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;
5157
+ 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, s = 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, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = 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;
5167
5158
  function m(f) {
5168
5159
  if (typeof f == "object" && f !== null) {
5169
5160
  var w = f.$$typeof;
@@ -5175,7 +5166,7 @@ function us() {
5175
5166
  case i:
5176
5167
  case r:
5177
5168
  case o:
5178
- case g:
5169
+ case p:
5179
5170
  return f;
5180
5171
  default:
5181
5172
  switch (f = f && f.$$typeof, f) {
@@ -5194,12 +5185,12 @@ function us() {
5194
5185
  }
5195
5186
  }
5196
5187
  }
5197
- function p(f) {
5188
+ function g(f) {
5198
5189
  return m(f) === d;
5199
5190
  }
5200
- return ae.AsyncMode = l, ae.ConcurrentMode = d, ae.ContextConsumer = a, ae.ContextProvider = s, ae.Element = t, ae.ForwardRef = u, ae.Fragment = i, ae.Lazy = T, ae.Memo = N, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = g, ae.isAsyncMode = function(f) {
5201
- return p(f) || m(f) === l;
5202
- }, ae.isConcurrentMode = p, ae.isContextConsumer = function(f) {
5191
+ return ae.AsyncMode = l, ae.ConcurrentMode = d, ae.ContextConsumer = a, ae.ContextProvider = s, ae.Element = t, ae.ForwardRef = u, ae.Fragment = i, ae.Lazy = T, ae.Memo = N, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = p, ae.isAsyncMode = function(f) {
5192
+ return g(f) || m(f) === l;
5193
+ }, ae.isConcurrentMode = g, ae.isContextConsumer = function(f) {
5203
5194
  return m(f) === a;
5204
5195
  }, ae.isContextProvider = function(f) {
5205
5196
  return m(f) === s;
@@ -5220,9 +5211,9 @@ function us() {
5220
5211
  }, ae.isStrictMode = function(f) {
5221
5212
  return m(f) === o;
5222
5213
  }, ae.isSuspense = function(f) {
5223
- return m(f) === g;
5214
+ return m(f) === p;
5224
5215
  }, ae.isValidElementType = function(f) {
5225
- return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === g || f === I || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === s || f.$$typeof === a || f.$$typeof === u || f.$$typeof === y || f.$$typeof === A || f.$$typeof === h || f.$$typeof === R);
5216
+ return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === I || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === s || f.$$typeof === a || f.$$typeof === u || f.$$typeof === _ || f.$$typeof === A || f.$$typeof === h || f.$$typeof === R);
5226
5217
  }, ae.typeOf = m, ae;
5227
5218
  }
5228
5219
  var se = {};
@@ -5237,12 +5228,12 @@ var se = {};
5237
5228
  var qt;
5238
5229
  function ds() {
5239
5230
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
5240
- 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, s = 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, g = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = 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;
5231
+ 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, s = 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, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = 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;
5241
5232
  function m(S) {
5242
5233
  return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5243
- S === i || S === d || S === r || S === o || S === g || S === I || typeof S == "object" && S !== null && (S.$$typeof === T || S.$$typeof === N || S.$$typeof === s || S.$$typeof === a || S.$$typeof === u || S.$$typeof === y || S.$$typeof === A || S.$$typeof === h || S.$$typeof === R);
5234
+ S === i || S === d || S === r || S === o || S === p || S === I || typeof S == "object" && S !== null && (S.$$typeof === T || S.$$typeof === N || S.$$typeof === s || S.$$typeof === a || S.$$typeof === u || S.$$typeof === _ || S.$$typeof === A || S.$$typeof === h || S.$$typeof === R);
5244
5235
  }
5245
- function p(S) {
5236
+ function g(S) {
5246
5237
  if (typeof S == "object" && S !== null) {
5247
5238
  var de = S.$$typeof;
5248
5239
  switch (de) {
@@ -5254,17 +5245,17 @@ function ds() {
5254
5245
  case i:
5255
5246
  case r:
5256
5247
  case o:
5257
- case g:
5248
+ case p:
5258
5249
  return L;
5259
5250
  default:
5260
- var _e = L && L.$$typeof;
5261
- switch (_e) {
5251
+ var ye = L && L.$$typeof;
5252
+ switch (ye) {
5262
5253
  case a:
5263
5254
  case u:
5264
5255
  case T:
5265
5256
  case N:
5266
5257
  case s:
5267
- return _e;
5258
+ return ye;
5268
5259
  default:
5269
5260
  return de;
5270
5261
  }
@@ -5274,52 +5265,52 @@ function ds() {
5274
5265
  }
5275
5266
  }
5276
5267
  }
5277
- var f = l, w = d, D = a, P = s, q = t, U = u, G = i, X = T, ne = N, Z = n, ie = r, oe = o, W = g, ge = !1;
5278
- function pe(S) {
5279
- return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(S) || p(S) === l;
5268
+ var f = l, w = d, D = a, P = s, q = t, U = u, G = i, X = T, ne = N, Z = n, ie = r, oe = o, W = p, pe = !1;
5269
+ function ge(S) {
5270
+ return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(S) || g(S) === l;
5280
5271
  }
5281
5272
  function x(S) {
5282
- return p(S) === d;
5273
+ return g(S) === d;
5283
5274
  }
5284
5275
  function k(S) {
5285
- return p(S) === a;
5276
+ return g(S) === a;
5286
5277
  }
5287
5278
  function K(S) {
5288
- return p(S) === s;
5279
+ return g(S) === s;
5289
5280
  }
5290
5281
  function b(S) {
5291
5282
  return typeof S == "object" && S !== null && S.$$typeof === t;
5292
5283
  }
5293
5284
  function v(S) {
5294
- return p(S) === u;
5285
+ return g(S) === u;
5295
5286
  }
5296
- function _(S) {
5297
- return p(S) === i;
5287
+ function y(S) {
5288
+ return g(S) === i;
5298
5289
  }
5299
5290
  function E(S) {
5300
- return p(S) === T;
5291
+ return g(S) === T;
5301
5292
  }
5302
5293
  function C(S) {
5303
- return p(S) === N;
5294
+ return g(S) === N;
5304
5295
  }
5305
5296
  function z(S) {
5306
- return p(S) === n;
5297
+ return g(S) === n;
5307
5298
  }
5308
5299
  function H(S) {
5309
- return p(S) === r;
5300
+ return g(S) === r;
5310
5301
  }
5311
5302
  function B(S) {
5312
- return p(S) === o;
5303
+ return g(S) === o;
5313
5304
  }
5314
5305
  function Q(S) {
5315
- return p(S) === g;
5306
+ return g(S) === p;
5316
5307
  }
5317
- se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = D, 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 = pe, se.isConcurrentMode = x, se.isContextConsumer = k, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = _, se.isLazy = E, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = p;
5308
+ se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = D, 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 = k, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = y, se.isLazy = E, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
5318
5309
  }()), se;
5319
5310
  }
5320
5311
  var Wt;
5321
5312
  function rr() {
5322
- return Wt || (Wt = 1, process.env.NODE_ENV === "production" ? _0.exports = us() : _0.exports = ds()), _0.exports;
5313
+ return Wt || (Wt = 1, process.env.NODE_ENV === "production" ? y0.exports = us() : y0.exports = ds()), y0.exports;
5323
5314
  }
5324
5315
  /*
5325
5316
  object-assign
@@ -5362,8 +5353,8 @@ function fs() {
5362
5353
  return V0 = o() ? Object.assign : function(r, s) {
5363
5354
  for (var a, l = i(r), d, u = 1; u < arguments.length; u++) {
5364
5355
  a = Object(arguments[u]);
5365
- for (var g in a)
5366
- t.call(a, g) && (l[g] = a[g]);
5356
+ for (var p in a)
5357
+ t.call(a, p) && (l[p] = a[p]);
5367
5358
  if (e) {
5368
5359
  d = e(a);
5369
5360
  for (var I = 0; I < d.length; I++)
@@ -5386,7 +5377,7 @@ function ir() {
5386
5377
  return Xt || (Xt = 1, z0 = Function.call.bind(Object.prototype.hasOwnProperty)), z0;
5387
5378
  }
5388
5379
  var U0, Zt;
5389
- function gs() {
5380
+ function ps() {
5390
5381
  if (Zt)
5391
5382
  return U0;
5392
5383
  Zt = 1;
@@ -5407,7 +5398,7 @@ function gs() {
5407
5398
  if (process.env.NODE_ENV !== "production") {
5408
5399
  for (var u in r)
5409
5400
  if (i(r, u)) {
5410
- var g;
5401
+ var p;
5411
5402
  try {
5412
5403
  if (typeof r[u] != "function") {
5413
5404
  var I = Error(
@@ -5415,17 +5406,17 @@ function gs() {
5415
5406
  );
5416
5407
  throw I.name = "Invariant Violation", I;
5417
5408
  }
5418
- g = r[u](s, u, l, a, null, t);
5409
+ p = r[u](s, u, l, a, null, t);
5419
5410
  } catch (T) {
5420
- g = T;
5411
+ p = T;
5421
5412
  }
5422
- if (g && !(g instanceof Error) && e(
5423
- (l || "React class") + ": type specification of " + a + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5424
- ), g instanceof Error && !(g.message in n)) {
5425
- n[g.message] = !0;
5413
+ if (p && !(p instanceof Error) && e(
5414
+ (l || "React class") + ": type specification of " + a + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5415
+ ), p instanceof Error && !(p.message in n)) {
5416
+ n[p.message] = !0;
5426
5417
  var N = d ? d() : "";
5427
5418
  e(
5428
- "Failed " + a + " type: " + g.message + (N ?? "")
5419
+ "Failed " + a + " type: " + p.message + (N ?? "")
5429
5420
  );
5430
5421
  }
5431
5422
  }
@@ -5436,11 +5427,11 @@ function gs() {
5436
5427
  }, U0 = o, U0;
5437
5428
  }
5438
5429
  var j0, Qt;
5439
- function ps() {
5430
+ function gs() {
5440
5431
  if (Qt)
5441
5432
  return j0;
5442
5433
  Qt = 1;
5443
- var e = rr(), t = fs(), n = dt(), i = ir(), o = gs(), r = function() {
5434
+ var e = rr(), t = fs(), n = dt(), i = ir(), o = ps(), r = function() {
5444
5435
  };
5445
5436
  process.env.NODE_ENV !== "production" && (r = function(a) {
5446
5437
  var l = "Warning: " + a;
@@ -5455,7 +5446,7 @@ function ps() {
5455
5446
  }
5456
5447
  return j0 = function(a, l) {
5457
5448
  var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
5458
- function g(x) {
5449
+ function p(x) {
5459
5450
  var k = x && (d && x[d] || x[u]);
5460
5451
  if (typeof k == "function")
5461
5452
  return k;
@@ -5471,7 +5462,7 @@ function ps() {
5471
5462
  symbol: A("symbol"),
5472
5463
  any: h(),
5473
5464
  arrayOf: m,
5474
- element: p(),
5465
+ element: g(),
5475
5466
  elementType: f(),
5476
5467
  instanceOf: w,
5477
5468
  node: U(),
@@ -5488,10 +5479,10 @@ function ps() {
5488
5479
  this.message = x, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
5489
5480
  }
5490
5481
  R.prototype = Error.prototype;
5491
- function y(x) {
5482
+ function _(x) {
5492
5483
  if (process.env.NODE_ENV !== "production")
5493
5484
  var k = {}, K = 0;
5494
- function b(_, E, C, z, H, B, Q) {
5485
+ function b(y, E, C, z, H, B, Q) {
5495
5486
  if (z = z || I, B = B || C, Q !== n) {
5496
5487
  if (l) {
5497
5488
  var S = new Error(
@@ -5506,84 +5497,84 @@ function ps() {
5506
5497
  ), k[de] = !0, K++);
5507
5498
  }
5508
5499
  }
5509
- return E[C] == null ? _ ? E[C] === null ? new R("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(E, C, z, H, B);
5500
+ return E[C] == null ? y ? E[C] === null ? new R("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(E, C, z, H, B);
5510
5501
  }
5511
5502
  var v = b.bind(null, !1);
5512
5503
  return v.isRequired = b.bind(null, !0), v;
5513
5504
  }
5514
5505
  function A(x) {
5515
- function k(K, b, v, _, E, C) {
5506
+ function k(K, b, v, y, E, C) {
5516
5507
  var z = K[b], H = oe(z);
5517
5508
  if (H !== x) {
5518
5509
  var B = W(z);
5519
5510
  return new R(
5520
- "Invalid " + _ + " `" + E + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5511
+ "Invalid " + y + " `" + E + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5521
5512
  { expectedType: x }
5522
5513
  );
5523
5514
  }
5524
5515
  return null;
5525
5516
  }
5526
- return y(k);
5517
+ return _(k);
5527
5518
  }
5528
5519
  function h() {
5529
- return y(s);
5520
+ return _(s);
5530
5521
  }
5531
5522
  function m(x) {
5532
- function k(K, b, v, _, E) {
5523
+ function k(K, b, v, y, E) {
5533
5524
  if (typeof x != "function")
5534
5525
  return new R("Property `" + E + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
5535
5526
  var C = K[b];
5536
5527
  if (!Array.isArray(C)) {
5537
5528
  var z = oe(C);
5538
- return new R("Invalid " + _ + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5529
+ return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5539
5530
  }
5540
5531
  for (var H = 0; H < C.length; H++) {
5541
- var B = x(C, H, v, _, E + "[" + H + "]", n);
5532
+ var B = x(C, H, v, y, E + "[" + H + "]", n);
5542
5533
  if (B instanceof Error)
5543
5534
  return B;
5544
5535
  }
5545
5536
  return null;
5546
5537
  }
5547
- return y(k);
5538
+ return _(k);
5548
5539
  }
5549
- function p() {
5550
- function x(k, K, b, v, _) {
5540
+ function g() {
5541
+ function x(k, K, b, v, y) {
5551
5542
  var E = k[K];
5552
5543
  if (!a(E)) {
5553
5544
  var C = oe(E);
5554
- return new R("Invalid " + v + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
5545
+ return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
5555
5546
  }
5556
5547
  return null;
5557
5548
  }
5558
- return y(x);
5549
+ return _(x);
5559
5550
  }
5560
5551
  function f() {
5561
- function x(k, K, b, v, _) {
5552
+ function x(k, K, b, v, y) {
5562
5553
  var E = k[K];
5563
5554
  if (!e.isValidElementType(E)) {
5564
5555
  var C = oe(E);
5565
- return new R("Invalid " + v + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
5556
+ return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
5566
5557
  }
5567
5558
  return null;
5568
5559
  }
5569
- return y(x);
5560
+ return _(x);
5570
5561
  }
5571
5562
  function w(x) {
5572
- function k(K, b, v, _, E) {
5563
+ function k(K, b, v, y, E) {
5573
5564
  if (!(K[b] instanceof x)) {
5574
- var C = x.name || I, z = pe(K[b]);
5575
- return new R("Invalid " + _ + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5565
+ var C = x.name || I, z = ge(K[b]);
5566
+ return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5576
5567
  }
5577
5568
  return null;
5578
5569
  }
5579
- return y(k);
5570
+ return _(k);
5580
5571
  }
5581
5572
  function D(x) {
5582
5573
  if (!Array.isArray(x))
5583
5574
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
5584
5575
  "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])."
5585
5576
  ) : r("Invalid argument supplied to oneOf, expected an array.")), s;
5586
- function k(K, b, v, _, E) {
5577
+ function k(K, b, v, y, E) {
5587
5578
  for (var C = K[b], z = 0; z < x.length; z++)
5588
5579
  if (T(C, x[z]))
5589
5580
  return null;
@@ -5591,26 +5582,26 @@ function ps() {
5591
5582
  var de = W(S);
5592
5583
  return de === "symbol" ? String(S) : S;
5593
5584
  });
5594
- return new R("Invalid " + _ + " `" + E + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5585
+ return new R("Invalid " + y + " `" + E + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5595
5586
  }
5596
- return y(k);
5587
+ return _(k);
5597
5588
  }
5598
5589
  function P(x) {
5599
- function k(K, b, v, _, E) {
5590
+ function k(K, b, v, y, E) {
5600
5591
  if (typeof x != "function")
5601
5592
  return new R("Property `" + E + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
5602
5593
  var C = K[b], z = oe(C);
5603
5594
  if (z !== "object")
5604
- return new R("Invalid " + _ + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5595
+ return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5605
5596
  for (var H in C)
5606
5597
  if (i(C, H)) {
5607
- var B = x(C, H, v, _, E + "." + H, n);
5598
+ var B = x(C, H, v, y, E + "." + H, n);
5608
5599
  if (B instanceof Error)
5609
5600
  return B;
5610
5601
  }
5611
5602
  return null;
5612
5603
  }
5613
- return y(k);
5604
+ return _(k);
5614
5605
  }
5615
5606
  function q(x) {
5616
5607
  if (!Array.isArray(x))
@@ -5619,12 +5610,12 @@ function ps() {
5619
5610
  var K = x[k];
5620
5611
  if (typeof K != "function")
5621
5612
  return r(
5622
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(K) + " at index " + k + "."
5613
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(K) + " at index " + k + "."
5623
5614
  ), s;
5624
5615
  }
5625
- function b(v, _, E, C, z) {
5616
+ function b(v, y, E, C, z) {
5626
5617
  for (var H = [], B = 0; B < x.length; B++) {
5627
- var Q = x[B], S = Q(v, _, E, C, z, n);
5618
+ var Q = x[B], S = Q(v, y, E, C, z, n);
5628
5619
  if (S == null)
5629
5620
  return null;
5630
5621
  S.data && i(S.data, "expectedType") && H.push(S.data.expectedType);
@@ -5632,13 +5623,13 @@ function ps() {
5632
5623
  var de = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
5633
5624
  return new R("Invalid " + C + " `" + z + "` supplied to " + ("`" + E + "`" + de + "."));
5634
5625
  }
5635
- return y(b);
5626
+ return _(b);
5636
5627
  }
5637
5628
  function U() {
5638
- function x(k, K, b, v, _) {
5639
- return Z(k[K]) ? null : new R("Invalid " + v + " `" + _ + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5629
+ function x(k, K, b, v, y) {
5630
+ return Z(k[K]) ? null : new R("Invalid " + v + " `" + y + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5640
5631
  }
5641
- return y(x);
5632
+ return _(x);
5642
5633
  }
5643
5634
  function G(x, k, K, b, v) {
5644
5635
  return new R(
@@ -5646,44 +5637,44 @@ function ps() {
5646
5637
  );
5647
5638
  }
5648
5639
  function X(x) {
5649
- function k(K, b, v, _, E) {
5640
+ function k(K, b, v, y, E) {
5650
5641
  var C = K[b], z = oe(C);
5651
5642
  if (z !== "object")
5652
- return new R("Invalid " + _ + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5643
+ return new R("Invalid " + y + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5653
5644
  for (var H in x) {
5654
5645
  var B = x[H];
5655
5646
  if (typeof B != "function")
5656
- return G(v, _, E, H, W(B));
5657
- var Q = B(C, H, v, _, E + "." + H, n);
5647
+ return G(v, y, E, H, W(B));
5648
+ var Q = B(C, H, v, y, E + "." + H, n);
5658
5649
  if (Q)
5659
5650
  return Q;
5660
5651
  }
5661
5652
  return null;
5662
5653
  }
5663
- return y(k);
5654
+ return _(k);
5664
5655
  }
5665
5656
  function ne(x) {
5666
- function k(K, b, v, _, E) {
5657
+ function k(K, b, v, y, E) {
5667
5658
  var C = K[b], z = oe(C);
5668
5659
  if (z !== "object")
5669
- return new R("Invalid " + _ + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5660
+ return new R("Invalid " + y + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5670
5661
  var H = t({}, K[b], x);
5671
5662
  for (var B in H) {
5672
5663
  var Q = x[B];
5673
5664
  if (i(x, B) && typeof Q != "function")
5674
- return G(v, _, E, B, W(Q));
5665
+ return G(v, y, E, B, W(Q));
5675
5666
  if (!Q)
5676
5667
  return new R(
5677
- "Invalid " + _ + " `" + E + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5668
+ "Invalid " + y + " `" + E + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5678
5669
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5679
5670
  );
5680
- var S = Q(C, B, v, _, E + "." + B, n);
5671
+ var S = Q(C, B, v, y, E + "." + B, n);
5681
5672
  if (S)
5682
5673
  return S;
5683
5674
  }
5684
5675
  return null;
5685
5676
  }
5686
- return y(k);
5677
+ return _(k);
5687
5678
  }
5688
5679
  function Z(x) {
5689
5680
  switch (typeof x) {
@@ -5698,7 +5689,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5698
5689
  return x.every(Z);
5699
5690
  if (x === null || a(x))
5700
5691
  return !0;
5701
- var k = g(x);
5692
+ var k = p(x);
5702
5693
  if (k) {
5703
5694
  var K = k.call(x), b;
5704
5695
  if (k !== x.entries) {
@@ -5737,7 +5728,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5737
5728
  }
5738
5729
  return k;
5739
5730
  }
5740
- function ge(x) {
5731
+ function pe(x) {
5741
5732
  var k = W(x);
5742
5733
  switch (k) {
5743
5734
  case "array":
@@ -5751,7 +5742,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5751
5742
  return k;
5752
5743
  }
5753
5744
  }
5754
- function pe(x) {
5745
+ function ge(x) {
5755
5746
  return !x.constructor || !x.constructor.name ? I : x.constructor.name;
5756
5747
  }
5757
5748
  return N.checkPropTypes = o, N.resetWarningCache = o.resetWarningCache, N.PropTypes = N, N;
@@ -5768,8 +5759,8 @@ function ms() {
5768
5759
  function n() {
5769
5760
  }
5770
5761
  return n.resetWarningCache = t, K0 = function() {
5771
- function i(s, a, l, d, u, g) {
5772
- if (g !== e) {
5762
+ function i(s, a, l, d, u, p) {
5763
+ if (p !== e) {
5773
5764
  var I = new Error(
5774
5765
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
5775
5766
  );
@@ -5808,7 +5799,7 @@ function ms() {
5808
5799
  }
5809
5800
  if (process.env.NODE_ENV !== "production") {
5810
5801
  var hs = rr(), vs = !0;
5811
- Q0.exports = ps()(hs.isElement, vs);
5802
+ Q0.exports = gs()(hs.isElement, vs);
5812
5803
  } else
5813
5804
  Q0.exports = ms()();
5814
5805
  var bs = Q0.exports;
@@ -5824,33 +5815,33 @@ var J0 = { exports: {} }, ce = {};
5824
5815
  * LICENSE file in the root directory of this source tree.
5825
5816
  */
5826
5817
  var en;
5827
- function ys() {
5818
+ function _s() {
5828
5819
  if (en)
5829
5820
  return ce;
5830
5821
  en = 1;
5831
- 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"), s = 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"), g = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
5822
+ 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"), s = 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"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
5832
5823
  T = Symbol.for("react.module.reference");
5833
- function R(y) {
5834
- if (typeof y == "object" && y !== null) {
5835
- var A = y.$$typeof;
5824
+ function R(_) {
5825
+ if (typeof _ == "object" && _ !== null) {
5826
+ var A = _.$$typeof;
5836
5827
  switch (A) {
5837
5828
  case e:
5838
- switch (y = y.type, y) {
5829
+ switch (_ = _.type, _) {
5839
5830
  case n:
5840
5831
  case o:
5841
5832
  case i:
5842
5833
  case d:
5843
5834
  case u:
5844
- return y;
5835
+ return _;
5845
5836
  default:
5846
- switch (y = y && y.$$typeof, y) {
5837
+ switch (_ = _ && _.$$typeof, _) {
5847
5838
  case a:
5848
5839
  case s:
5849
5840
  case l:
5850
5841
  case I:
5851
- case g:
5842
+ case p:
5852
5843
  case r:
5853
- return y;
5844
+ return _;
5854
5845
  default:
5855
5846
  return A;
5856
5847
  }
@@ -5860,36 +5851,36 @@ function ys() {
5860
5851
  }
5861
5852
  }
5862
5853
  }
5863
- return ce.ContextConsumer = s, ce.ContextProvider = r, ce.Element = e, ce.ForwardRef = l, ce.Fragment = n, ce.Lazy = I, ce.Memo = g, ce.Portal = t, ce.Profiler = o, ce.StrictMode = i, ce.Suspense = d, ce.SuspenseList = u, ce.isAsyncMode = function() {
5854
+ return ce.ContextConsumer = s, ce.ContextProvider = r, ce.Element = e, ce.ForwardRef = l, ce.Fragment = n, ce.Lazy = I, ce.Memo = p, ce.Portal = t, ce.Profiler = o, ce.StrictMode = i, ce.Suspense = d, ce.SuspenseList = u, ce.isAsyncMode = function() {
5864
5855
  return !1;
5865
5856
  }, ce.isConcurrentMode = function() {
5866
5857
  return !1;
5867
- }, ce.isContextConsumer = function(y) {
5868
- return R(y) === s;
5869
- }, ce.isContextProvider = function(y) {
5870
- return R(y) === r;
5871
- }, ce.isElement = function(y) {
5872
- return typeof y == "object" && y !== null && y.$$typeof === e;
5873
- }, ce.isForwardRef = function(y) {
5874
- return R(y) === l;
5875
- }, ce.isFragment = function(y) {
5876
- return R(y) === n;
5877
- }, ce.isLazy = function(y) {
5878
- return R(y) === I;
5879
- }, ce.isMemo = function(y) {
5880
- return R(y) === g;
5881
- }, ce.isPortal = function(y) {
5882
- return R(y) === t;
5883
- }, ce.isProfiler = function(y) {
5884
- return R(y) === o;
5885
- }, ce.isStrictMode = function(y) {
5886
- return R(y) === i;
5887
- }, ce.isSuspense = function(y) {
5888
- return R(y) === d;
5889
- }, ce.isSuspenseList = function(y) {
5890
- return R(y) === u;
5891
- }, ce.isValidElementType = function(y) {
5892
- 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 === I || y.$$typeof === g || y.$$typeof === r || y.$$typeof === s || y.$$typeof === l || y.$$typeof === T || y.getModuleId !== void 0);
5858
+ }, ce.isContextConsumer = function(_) {
5859
+ return R(_) === s;
5860
+ }, ce.isContextProvider = function(_) {
5861
+ return R(_) === r;
5862
+ }, ce.isElement = function(_) {
5863
+ return typeof _ == "object" && _ !== null && _.$$typeof === e;
5864
+ }, ce.isForwardRef = function(_) {
5865
+ return R(_) === l;
5866
+ }, ce.isFragment = function(_) {
5867
+ return R(_) === n;
5868
+ }, ce.isLazy = function(_) {
5869
+ return R(_) === I;
5870
+ }, ce.isMemo = function(_) {
5871
+ return R(_) === p;
5872
+ }, ce.isPortal = function(_) {
5873
+ return R(_) === t;
5874
+ }, ce.isProfiler = function(_) {
5875
+ return R(_) === o;
5876
+ }, ce.isStrictMode = function(_) {
5877
+ return R(_) === i;
5878
+ }, ce.isSuspense = function(_) {
5879
+ return R(_) === d;
5880
+ }, ce.isSuspenseList = function(_) {
5881
+ return R(_) === u;
5882
+ }, ce.isValidElementType = function(_) {
5883
+ return typeof _ == "string" || typeof _ == "function" || _ === n || _ === o || _ === i || _ === d || _ === u || _ === N || typeof _ == "object" && _ !== null && (_.$$typeof === I || _.$$typeof === p || _.$$typeof === r || _.$$typeof === s || _.$$typeof === l || _.$$typeof === T || _.getModuleId !== void 0);
5893
5884
  }, ce.typeOf = R, ce;
5894
5885
  }
5895
5886
  var le = {};
@@ -5903,12 +5894,12 @@ var le = {};
5903
5894
  * LICENSE file in the root directory of this source tree.
5904
5895
  */
5905
5896
  var tn;
5906
- function _s() {
5897
+ function ys() {
5907
5898
  return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
5908
- 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"), s = 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"), g = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, R = !1, y = !1, A = !1, h = !1, m;
5899
+ 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"), s = 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"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, R = !1, _ = !1, A = !1, h = !1, m;
5909
5900
  m = Symbol.for("react.module.reference");
5910
- function p(L) {
5911
- return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || R || y || typeof L == "object" && L !== null && (L.$$typeof === I || L.$$typeof === g || L.$$typeof === r || L.$$typeof === s || L.$$typeof === l || // This needs to include all possible module reference object
5901
+ function g(L) {
5902
+ return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || R || _ || typeof L == "object" && L !== null && (L.$$typeof === I || L.$$typeof === p || L.$$typeof === r || L.$$typeof === s || L.$$typeof === l || // This needs to include all possible module reference object
5912
5903
  // types supported by any Flight configuration anywhere since
5913
5904
  // we don't know which Flight build this will end up being used
5914
5905
  // with.
@@ -5916,8 +5907,8 @@ function _s() {
5916
5907
  }
5917
5908
  function f(L) {
5918
5909
  if (typeof L == "object" && L !== null) {
5919
- var _e = L.$$typeof;
5920
- switch (_e) {
5910
+ var ye = L.$$typeof;
5911
+ switch (ye) {
5921
5912
  case e:
5922
5913
  var be = L.type;
5923
5914
  switch (be) {
@@ -5934,24 +5925,24 @@ function _s() {
5934
5925
  case s:
5935
5926
  case l:
5936
5927
  case I:
5937
- case g:
5928
+ case p:
5938
5929
  case r:
5939
5930
  return Le;
5940
5931
  default:
5941
- return _e;
5932
+ return ye;
5942
5933
  }
5943
5934
  }
5944
5935
  case t:
5945
- return _e;
5936
+ return ye;
5946
5937
  }
5947
5938
  }
5948
5939
  }
5949
- var w = s, D = r, P = e, q = l, U = n, G = I, X = g, ne = t, Z = o, ie = i, oe = d, W = u, ge = !1, pe = !1;
5940
+ var w = s, D = r, P = e, q = l, U = n, G = I, X = p, ne = t, Z = o, ie = i, oe = d, W = u, pe = !1, ge = !1;
5950
5941
  function x(L) {
5951
- return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5942
+ return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5952
5943
  }
5953
5944
  function k(L) {
5954
- return pe || (pe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5945
+ return ge || (ge = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5955
5946
  }
5956
5947
  function K(L) {
5957
5948
  return f(L) === s;
@@ -5962,7 +5953,7 @@ function _s() {
5962
5953
  function v(L) {
5963
5954
  return typeof L == "object" && L !== null && L.$$typeof === e;
5964
5955
  }
5965
- function _(L) {
5956
+ function y(L) {
5966
5957
  return f(L) === l;
5967
5958
  }
5968
5959
  function E(L) {
@@ -5972,7 +5963,7 @@ function _s() {
5972
5963
  return f(L) === I;
5973
5964
  }
5974
5965
  function z(L) {
5975
- return f(L) === g;
5966
+ return f(L) === p;
5976
5967
  }
5977
5968
  function H(L) {
5978
5969
  return f(L) === t;
@@ -5989,10 +5980,10 @@ function _s() {
5989
5980
  function de(L) {
5990
5981
  return f(L) === u;
5991
5982
  }
5992
- le.ContextConsumer = w, le.ContextProvider = D, 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 = k, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = _, le.isFragment = E, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = p, le.typeOf = f;
5983
+ le.ContextConsumer = w, le.ContextProvider = D, 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 = k, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = y, le.isFragment = E, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
5993
5984
  }()), le;
5994
5985
  }
5995
- process.env.NODE_ENV === "production" ? J0.exports = ys() : J0.exports = _s();
5986
+ process.env.NODE_ENV === "production" ? J0.exports = _s() : J0.exports = ys();
5996
5987
  var nn = J0.exports;
5997
5988
  const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", F0 = (e, t) => {
5998
5989
  if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
@@ -6018,37 +6009,37 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
6018
6009
  var n, i, o, r;
6019
6010
  if (typeof document > "u")
6020
6011
  return [];
6021
- const { scrollMode: s, block: a, inline: l, boundary: d, skipOverflowHiddenElements: u } = t, g = typeof d == "function" ? d : (oe) => oe !== d;
6012
+ const { scrollMode: s, block: a, inline: l, boundary: d, skipOverflowHiddenElements: u } = t, p = typeof d == "function" ? d : (oe) => oe !== d;
6022
6013
  if (!rn(e))
6023
6014
  throw new TypeError("Invalid target");
6024
6015
  const I = document.scrollingElement || document.documentElement, N = [];
6025
6016
  let T = e;
6026
- for (; rn(T) && g(T); ) {
6017
+ for (; rn(T) && p(T); ) {
6027
6018
  if (T = Es(T), T === I) {
6028
6019
  N.push(T);
6029
6020
  break;
6030
6021
  }
6031
6022
  T != null && T === document.body && F0(T) && !F0(document.documentElement) || T != null && F0(T, u) && N.push(T);
6032
6023
  }
6033
- const R = (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: p, top: f, right: w, bottom: D, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6024
+ const R = (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: D, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6034
6025
  const W = window.getComputedStyle(oe);
6035
6026
  return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
6036
6027
  })(e);
6037
- let ne = a === "start" || a === "nearest" ? f - q : a === "end" ? D + G : f + m / 2 - q + G, Z = l === "center" ? P + p / 2 - X + U : l === "end" ? w + U : P - X;
6028
+ let ne = a === "start" || a === "nearest" ? f - q : a === "end" ? D + G : f + m / 2 - q + G, Z = l === "center" ? P + g / 2 - X + U : l === "end" ? w + U : P - X;
6038
6029
  const ie = [];
6039
6030
  for (let oe = 0; oe < N.length; oe++) {
6040
- const W = N[oe], { height: ge, width: pe, top: x, right: k, bottom: K, left: b } = W.getBoundingClientRect();
6041
- if (s === "if-needed" && f >= 0 && P >= 0 && D <= y && w <= R && f >= x && D <= K && P >= b && w <= k)
6031
+ const W = N[oe], { height: pe, width: ge, top: x, right: k, bottom: K, left: b } = W.getBoundingClientRect();
6032
+ if (s === "if-needed" && f >= 0 && P >= 0 && D <= _ && w <= R && f >= x && D <= K && P >= b && w <= k)
6042
6033
  return ie;
6043
- const v = getComputedStyle(W), _ = parseInt(v.borderLeftWidth, 10), E = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6034
+ const v = getComputedStyle(W), y = parseInt(v.borderLeftWidth, 10), E = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6044
6035
  let H = 0, B = 0;
6045
- const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - _ - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - E - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : pe / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : ge / W.offsetHeight : 0;
6036
+ const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - y - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - E - 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;
6046
6037
  if (I === W)
6047
- H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, E, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, _, C, A + Z, A + Z + p, p), H = Math.max(0, H + h), B = Math.max(0, B + A);
6038
+ H = a === "start" ? ne : a === "end" ? ne - _ : a === "nearest" ? E0(h, h + _, _, E, z, h + ne, h + ne + m, m) : ne - _ / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, y, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
6048
6039
  else {
6049
- H = a === "start" ? ne - x - E : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, ge, E, z + S, ne, ne + m, m) : ne - (x + ge / 2) + S / 2, B = l === "start" ? Z - b - _ : l === "center" ? Z - (b + pe / 2) + Q / 2 : l === "end" ? Z - k + C + Q : E0(b, k, pe, _, C + Q, Z, Z + p, p);
6050
- const { scrollLeft: _e, scrollTop: be } = W;
6051
- H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - ge / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(_e + B / de, W.scrollWidth - pe / de + Q)), ne += be - H, Z += _e - B;
6040
+ H = a === "start" ? ne - x - E : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, E, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b - y : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - k + C + Q : E0(b, k, ge, y, C + Q, Z, Z + g, g);
6041
+ const { scrollLeft: ye, scrollTop: be } = W;
6042
+ H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(ye + B / de, W.scrollWidth - ge / de + Q)), ne += be - H, Z += ye - B;
6052
6043
  }
6053
6044
  ie.push({ el: W, top: H, left: B });
6054
6045
  }
@@ -6196,8 +6187,8 @@ function M0(e, t, n, i) {
6196
6187
  return o && (sn(o, e, n) || i && sn(o, n.document.activeElement, n));
6197
6188
  });
6198
6189
  }
6199
- var gt = De;
6200
- process.env.NODE_ENV !== "production" && (gt = function(t, n, i) {
6190
+ var pt = De;
6191
+ process.env.NODE_ENV !== "production" && (pt = function(t, n, i) {
6201
6192
  var o = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";
6202
6193
  Object.keys(t).forEach(function(r) {
6203
6194
  n[r] !== void 0 && i[r] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + r + '" to be uncontrolled. ' + o) : n[r] === void 0 && i[r] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + r + '" to be controlled. ' + o);
@@ -6225,19 +6216,19 @@ function dr(e, t) {
6225
6216
  n.textContent = e, Os(t);
6226
6217
  }
6227
6218
  }
6228
- var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, gr = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, pr = 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({
6219
+ 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({
6229
6220
  __proto__: null,
6230
6221
  unknown: fr,
6231
- mouseUp: gr,
6232
- itemMouseEnter: pr,
6222
+ mouseUp: pr,
6223
+ itemMouseEnter: gr,
6233
6224
  keyDownArrowUp: N0,
6234
6225
  keyDownArrowDown: S0,
6235
6226
  keyDownEscape: mr,
6236
6227
  keyDownEnter: hr,
6237
6228
  keyDownHome: vr,
6238
6229
  keyDownEnd: br,
6239
- clickItem: yr,
6240
- blurInput: _r,
6230
+ clickItem: _r,
6231
+ blurInput: yr,
6241
6232
  changeInput: Er,
6242
6233
  keyDownSpaceButton: Ir,
6243
6234
  clickButton: tt,
@@ -6252,19 +6243,19 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6252
6243
  r = t.call(this, o) || this, r.id = r.props.id || "downshift-" + ar(), r.menuId = r.props.menuId || r.id + "-menu", r.labelId = r.props.labelId || r.id + "-label", r.inputId = r.props.inputId || r.id + "-input", r.getItemId = r.props.getItemId || function(h) {
6253
6244
  return r.id + "-item-" + h;
6254
6245
  }, r.items = [], r.itemCount = null, r.previousResultCount = 0, r.timeoutIds = [], r.internalSetTimeout = function(h, m) {
6255
- var p = setTimeout(function() {
6246
+ var g = setTimeout(function() {
6256
6247
  r.timeoutIds = r.timeoutIds.filter(function(f) {
6257
- return f !== p;
6248
+ return f !== g;
6258
6249
  }), h();
6259
6250
  }, m);
6260
- r.timeoutIds.push(p);
6251
+ r.timeoutIds.push(g);
6261
6252
  }, r.setItemCount = function(h) {
6262
6253
  r.itemCount = h;
6263
6254
  }, r.unsetItemCount = function() {
6264
6255
  r.itemCount = null;
6265
6256
  }, r.isItemDisabled = function(h, m) {
6266
- var p = r.getItemNodeFromIndex(m);
6267
- return p && p.hasAttribute("disabled");
6257
+ var g = r.getItemNodeFromIndex(m);
6258
+ return g && g.hasAttribute("disabled");
6268
6259
  }, r.setHighlightedIndex = function(h, m) {
6269
6260
  h === void 0 && (h = r.props.defaultHighlightedIndex), m === void 0 && (m = {}), m = I0(m), r.internalSetState(Y({
6270
6261
  highlightedIndex: h
@@ -6276,44 +6267,44 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6276
6267
  highlightedIndex: r.props.defaultHighlightedIndex,
6277
6268
  isOpen: r.props.defaultIsOpen
6278
6269
  }, h);
6279
- }, r.selectItem = function(h, m, p) {
6270
+ }, r.selectItem = function(h, m, g) {
6280
6271
  m = I0(m), r.internalSetState(Y({
6281
6272
  isOpen: r.props.defaultIsOpen,
6282
6273
  highlightedIndex: r.props.defaultHighlightedIndex,
6283
6274
  selectedItem: h,
6284
6275
  inputValue: r.props.itemToString(h)
6285
- }, m), p);
6286
- }, r.selectItemAtIndex = function(h, m, p) {
6276
+ }, m), g);
6277
+ }, r.selectItemAtIndex = function(h, m, g) {
6287
6278
  var f = r.items[h];
6288
- f != null && r.selectItem(f, m, p);
6279
+ f != null && r.selectItem(f, m, g);
6289
6280
  }, r.selectHighlightedItem = function(h, m) {
6290
6281
  return r.selectItemAtIndex(r.getState().highlightedIndex, h, m);
6291
6282
  }, r.internalSetState = function(h, m) {
6292
- var p, f, w = {}, D = typeof h == "function";
6283
+ var g, f, w = {}, D = typeof h == "function";
6293
6284
  return !D && h.hasOwnProperty("inputValue") && r.props.onInputValueChange(h.inputValue, Y({}, r.getStateAndHelpers(), h)), r.setState(function(P) {
6294
6285
  var q;
6295
6286
  P = r.getState(P);
6296
6287
  var U = D ? h(P) : h;
6297
- U = r.props.stateReducer(P, U), p = U.hasOwnProperty("selectedItem");
6288
+ U = r.props.stateReducer(P, U), g = U.hasOwnProperty("selectedItem");
6298
6289
  var G = {};
6299
- return p && U.selectedItem !== P.selectedItem && (f = U.selectedItem), (q = U).type || (q.type = fr), Object.keys(U).forEach(function(X) {
6290
+ return g && U.selectedItem !== P.selectedItem && (f = U.selectedItem), (q = U).type || (q.type = fr), Object.keys(U).forEach(function(X) {
6300
6291
  P[X] !== U[X] && (w[X] = U[X]), X !== "type" && (U[X], C0(r.props, X) || (G[X] = U[X]));
6301
6292
  }), D && U.hasOwnProperty("inputValue") && r.props.onInputValueChange(U.inputValue, Y({}, r.getStateAndHelpers(), U)), G;
6302
6293
  }, function() {
6303
6294
  an(m)();
6304
6295
  var P = Object.keys(w).length > 1;
6305
- P && r.props.onStateChange(w, r.getStateAndHelpers()), p && r.props.onSelect(h.selectedItem, r.getStateAndHelpers()), f !== void 0 && r.props.onChange(f, r.getStateAndHelpers()), r.props.onUserAction(w, r.getStateAndHelpers());
6296
+ P && r.props.onStateChange(w, r.getStateAndHelpers()), g && r.props.onSelect(h.selectedItem, r.getStateAndHelpers()), f !== void 0 && r.props.onChange(f, r.getStateAndHelpers()), r.props.onUserAction(w, r.getStateAndHelpers());
6306
6297
  });
6307
6298
  }, r.rootRef = function(h) {
6308
6299
  return r._rootNode = h;
6309
6300
  }, r.getRootProps = function(h, m) {
6310
- var p, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, Cs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6301
+ var g, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, Cs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6311
6302
  r.getRootProps.called = !0, r.getRootProps.refKey = D, r.getRootProps.suppressRefError = X;
6312
6303
  var ne = r.getState(), Z = ne.isOpen;
6313
- return Y((p = {}, p[D] = a0(P, r.rootRef), p.role = "combobox", p["aria-expanded"] = Z, p["aria-haspopup"] = "listbox", p["aria-owns"] = Z ? r.menuId : void 0, p["aria-labelledby"] = r.labelId, p), q);
6304
+ return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] = Z, g["aria-haspopup"] = "listbox", g["aria-owns"] = Z ? r.menuId : void 0, g["aria-labelledby"] = r.labelId, g), q);
6314
6305
  }, r.keyDownHandlers = {
6315
6306
  ArrowDown: function(m) {
6316
- var p = this;
6307
+ var g = this;
6317
6308
  if (m.preventDefault(), this.getState().isOpen) {
6318
6309
  var f = m.shiftKey ? 5 : 1;
6319
6310
  this.moveHighlightedIndex(f, {
@@ -6324,19 +6315,19 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6324
6315
  isOpen: !0,
6325
6316
  type: S0
6326
6317
  }, function() {
6327
- var w = p.getItemCount();
6318
+ var w = g.getItemCount();
6328
6319
  if (w > 0) {
6329
- var D = p.getState(), P = D.highlightedIndex, q = n0(P, 1, {
6320
+ var D = g.getState(), P = D.highlightedIndex, q = n0(P, 1, {
6330
6321
  length: w
6331
- }, p.isItemDisabled, !0);
6332
- p.setHighlightedIndex(q, {
6322
+ }, g.isItemDisabled, !0);
6323
+ g.setHighlightedIndex(q, {
6333
6324
  type: S0
6334
6325
  });
6335
6326
  }
6336
6327
  });
6337
6328
  },
6338
6329
  ArrowUp: function(m) {
6339
- var p = this;
6330
+ var g = this;
6340
6331
  if (m.preventDefault(), this.getState().isOpen) {
6341
6332
  var f = m.shiftKey ? -5 : -1;
6342
6333
  this.moveHighlightedIndex(f, {
@@ -6347,12 +6338,12 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6347
6338
  isOpen: !0,
6348
6339
  type: N0
6349
6340
  }, function() {
6350
- var w = p.getItemCount();
6341
+ var w = g.getItemCount();
6351
6342
  if (w > 0) {
6352
- var D = p.getState(), P = D.highlightedIndex, q = n0(P, -1, {
6343
+ var D = g.getState(), P = D.highlightedIndex, q = n0(P, -1, {
6353
6344
  length: w
6354
- }, p.isItemDisabled, !0);
6355
- p.setHighlightedIndex(q, {
6345
+ }, g.isItemDisabled, !0);
6346
+ g.setHighlightedIndex(q, {
6356
6347
  type: N0
6357
6348
  });
6358
6349
  }
@@ -6360,7 +6351,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6360
6351
  },
6361
6352
  Enter: function(m) {
6362
6353
  if (m.which !== 229) {
6363
- var p = this.getState(), f = p.isOpen, w = p.highlightedIndex;
6354
+ var g = this.getState(), f = g.isOpen, w = g.highlightedIndex;
6364
6355
  if (f && w != null) {
6365
6356
  m.preventDefault();
6366
6357
  var D = this.items[w], P = this.getItemNodeFromIndex(w);
@@ -6388,7 +6379,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6388
6379
  }
6389
6380
  }), r.inputKeyDownHandlers = Y({}, r.keyDownHandlers, {
6390
6381
  Home: function(m) {
6391
- var p = this.getState(), f = p.isOpen;
6382
+ var g = this.getState(), f = g.isOpen;
6392
6383
  if (f) {
6393
6384
  m.preventDefault();
6394
6385
  var w = this.getItemCount();
@@ -6403,7 +6394,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6403
6394
  }
6404
6395
  },
6405
6396
  End: function(m) {
6406
- var p = this.getState(), f = p.isOpen;
6397
+ var g = this.getState(), f = g.isOpen;
6407
6398
  if (f) {
6408
6399
  m.preventDefault();
6409
6400
  var w = this.getItemCount();
@@ -6418,10 +6409,10 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6418
6409
  }
6419
6410
  }
6420
6411
  }), r.getToggleButtonProps = function(h) {
6421
- var m = h === void 0 ? {} : h, p = m.onClick;
6412
+ var m = h === void 0 ? {} : h, g = m.onClick;
6422
6413
  m.onPress;
6423
6414
  var f = m.onKeyDown, w = m.onKeyUp, D = m.onBlur, P = He(m, Ms), q = r.getState(), U = q.isOpen, G = {
6424
- onClick: he(p, r.buttonHandleClick),
6415
+ onClick: he(g, r.buttonHandleClick),
6425
6416
  onKeyDown: he(f, r.buttonHandleKeyDown),
6426
6417
  onKeyUp: he(w, r.buttonHandleKeyUp),
6427
6418
  onBlur: he(D, r.buttonHandleBlur)
@@ -6440,8 +6431,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6440
6431
  r.buttonKeyDownHandlers[m] && r.buttonKeyDownHandlers[m].call(Kt(r), h);
6441
6432
  }, r.buttonHandleClick = function(h) {
6442
6433
  if (h.preventDefault(), r.props.environment) {
6443
- var m = r.props.environment.document, p = m.body, f = m.activeElement;
6444
- p && p === f && h.target.focus();
6434
+ var m = r.props.environment.document, g = m.body, f = m.activeElement;
6435
+ g && g === f && h.target.focus();
6445
6436
  }
6446
6437
  process.env.NODE_ENV === "test" ? r.toggleMenu({
6447
6438
  type: tt
@@ -6454,8 +6445,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6454
6445
  var m = h.target;
6455
6446
  r.internalSetTimeout(function() {
6456
6447
  if (!(r.isMouseDown || !r.props.environment)) {
6457
- var p = r.props.environment.document.activeElement;
6458
- (p == null || p.id !== r.inputId) && p !== m && r.reset({
6448
+ var g = r.props.environment.document.activeElement;
6449
+ (g == null || g.id !== r.inputId) && g !== m && r.reset({
6459
6450
  type: xr
6460
6451
  });
6461
6452
  }
@@ -6466,14 +6457,14 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6466
6457
  id: r.labelId
6467
6458
  }, h);
6468
6459
  }, r.getInputProps = function(h) {
6469
- var m = h === void 0 ? {} : h, p = m.onKeyDown, f = m.onBlur, w = m.onChange, D = m.onInput;
6460
+ var m = h === void 0 ? {} : h, g = m.onKeyDown, f = m.onBlur, w = m.onChange, D = m.onInput;
6470
6461
  m.onChangeText;
6471
6462
  var P = He(m, Ts), q, U = {};
6472
6463
  q = "onChange";
6473
6464
  var G = r.getState(), X = G.inputValue, ne = G.isOpen, Z = G.highlightedIndex;
6474
6465
  if (!P.disabled) {
6475
6466
  var ie;
6476
- U = (ie = {}, ie[q] = he(w, D, r.inputHandleChange), ie.onKeyDown = he(p, r.inputHandleKeyDown), ie.onBlur = he(f, r.inputHandleBlur), ie);
6467
+ U = (ie = {}, ie[q] = he(w, D, r.inputHandleChange), ie.onKeyDown = he(g, r.inputHandleKeyDown), ie.onBlur = he(f, r.inputHandleBlur), ie);
6477
6468
  }
6478
6469
  return Y({
6479
6470
  "aria-autocomplete": "list",
@@ -6500,24 +6491,24 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6500
6491
  r.internalSetTimeout(function() {
6501
6492
  var h;
6502
6493
  if (!(r.isMouseDown || !r.props.environment)) {
6503
- var m = r.props.environment.document.activeElement, p = (m == null || (h = m.dataset) == null ? void 0 : h.toggle) && r._rootNode && r._rootNode.contains(m);
6504
- p || r.reset({
6505
- type: _r
6494
+ var m = r.props.environment.document.activeElement, g = (m == null || (h = m.dataset) == null ? void 0 : h.toggle) && r._rootNode && r._rootNode.contains(m);
6495
+ g || r.reset({
6496
+ type: yr
6506
6497
  });
6507
6498
  }
6508
6499
  });
6509
6500
  }, r.menuRef = function(h) {
6510
6501
  r._menuNode = h;
6511
6502
  }, r.getMenuProps = function(h, m) {
6512
- var p, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, As), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6513
- return r.getMenuProps.called = !0, r.getMenuProps.refKey = D, r.getMenuProps.suppressRefError = X, Y((p = {}, p[D] = a0(P, r.menuRef), p.role = "listbox", p["aria-labelledby"] = q && q["aria-label"] ? void 0 : r.labelId, p.id = r.menuId, p), q);
6503
+ var g, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, As), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6504
+ return r.getMenuProps.called = !0, r.getMenuProps.refKey = D, r.getMenuProps.suppressRefError = X, Y((g = {}, g[D] = a0(P, r.menuRef), g.role = "listbox", g["aria-labelledby"] = q && q["aria-label"] ? void 0 : r.labelId, g.id = r.menuId, g), q);
6514
6505
  }, r.getItemProps = function(h) {
6515
- var m, p = h === void 0 ? {} : h, f = p.onMouseMove, w = p.onMouseDown, D = p.onClick;
6516
- p.onPress;
6517
- var P = p.index, q = p.item, U = q === void 0 ? process.env.NODE_ENV === "production" ? (
6506
+ var m, g = h === void 0 ? {} : h, f = g.onMouseMove, w = g.onMouseDown, D = g.onClick;
6507
+ g.onPress;
6508
+ var P = g.index, q = g.item, U = q === void 0 ? process.env.NODE_ENV === "production" ? (
6518
6509
  /* istanbul ignore next */
6519
6510
  void 0
6520
- ) : ws("getItemProps", "item") : q, G = He(p, Ds);
6511
+ ) : ws("getItemProps", "item") : q, G = He(g, Ds);
6521
6512
  P === void 0 ? (r.items.push(U), P = r.items.indexOf(U)) : r.items[P] = U;
6522
6513
  var X = "onClick", ne = D, Z = (m = {
6523
6514
  // onMouseMove is used over onMouseEnter here. onMouseMove
@@ -6525,7 +6516,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6525
6516
  // can fire on DOM changes, interrupting keyboard navigation
6526
6517
  onMouseMove: he(f, function() {
6527
6518
  P !== r.getState().highlightedIndex && (r.setHighlightedIndex(P, {
6528
- type: pr
6519
+ type: gr
6529
6520
  }), r.avoidScrolling = !0, r.internalSetTimeout(function() {
6530
6521
  return r.avoidScrolling = !1;
6531
6522
  }, 250));
@@ -6535,7 +6526,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6535
6526
  })
6536
6527
  }, m[X] = he(ne, function() {
6537
6528
  r.selectItemAtIndex(P, {
6538
- type: yr
6529
+ type: _r
6539
6530
  });
6540
6531
  }), m), ie = G.disabled ? {
6541
6532
  onMouseDown: Z.onMouseDown
@@ -6548,8 +6539,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6548
6539
  }, r.clearItems = function() {
6549
6540
  r.items = [];
6550
6541
  }, r.reset = function(h, m) {
6551
- h === void 0 && (h = {}), h = I0(h), r.internalSetState(function(p) {
6552
- var f = p.selectedItem;
6542
+ h === void 0 && (h = {}), h = I0(h), r.internalSetState(function(g) {
6543
+ var f = g.selectedItem;
6553
6544
  return Y({
6554
6545
  isOpen: r.props.defaultIsOpen,
6555
6546
  highlightedIndex: r.props.defaultHighlightedIndex,
@@ -6557,15 +6548,15 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6557
6548
  }, h);
6558
6549
  }, m);
6559
6550
  }, r.toggleMenu = function(h, m) {
6560
- h === void 0 && (h = {}), h = I0(h), r.internalSetState(function(p) {
6561
- var f = p.isOpen;
6551
+ h === void 0 && (h = {}), h = I0(h), r.internalSetState(function(g) {
6552
+ var f = g.isOpen;
6562
6553
  return Y({
6563
6554
  isOpen: !f
6564
6555
  }, f && {
6565
6556
  highlightedIndex: r.props.defaultHighlightedIndex
6566
6557
  }, h);
6567
6558
  }, function() {
6568
- var p = r.getState(), f = p.isOpen, w = p.highlightedIndex;
6559
+ var g = r.getState(), f = g.isOpen, w = g.highlightedIndex;
6569
6560
  f && r.getItemCount() > 0 && typeof w == "number" && r.setHighlightedIndex(w, h), an(m)();
6570
6561
  });
6571
6562
  }, r.openMenu = function(h) {
@@ -6579,20 +6570,20 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6579
6570
  }, r.updateStatus = ft(function() {
6580
6571
  var h;
6581
6572
  if ((h = r.props) != null && (h = h.environment) != null && h.document) {
6582
- var m = r.getState(), p = r.items[m.highlightedIndex], f = r.getItemCount(), w = r.props.getA11yStatusMessage(Y({
6573
+ var m = r.getState(), g = r.items[m.highlightedIndex], f = r.getItemCount(), w = r.props.getA11yStatusMessage(Y({
6583
6574
  itemToString: r.props.itemToString,
6584
6575
  previousResultCount: r.previousResultCount,
6585
6576
  resultCount: f,
6586
- highlightedItem: p
6577
+ highlightedItem: g
6587
6578
  }, m));
6588
6579
  r.previousResultCount = f, dr(w, r.props.environment.document);
6589
6580
  }
6590
6581
  }, 200);
6591
- var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, g = s.initialIsOpen, I = g === void 0 ? u : g, N = s.initialInputValue, T = N === void 0 ? "" : N, R = s.initialSelectedItem, y = R === void 0 ? null : R, A = r.getState({
6582
+ var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, p = s.initialIsOpen, I = p === void 0 ? u : p, N = s.initialInputValue, T = N === void 0 ? "" : N, R = s.initialSelectedItem, _ = R === void 0 ? null : R, A = r.getState({
6592
6583
  highlightedIndex: d,
6593
6584
  isOpen: I,
6594
6585
  inputValue: T,
6595
- selectedItem: y
6586
+ selectedItem: _
6596
6587
  });
6597
6588
  return A.selectedItem != null && r.props.initialInputValue === void 0 && (A.inputValue = r.props.itemToString(A.selectedItem)), r.state = A, r;
6598
6589
  }
@@ -6622,20 +6613,20 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6622
6613
  this.setHighlightedIndex(u, s);
6623
6614
  }
6624
6615
  }, i.getStateAndHelpers = function() {
6625
- var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, g = this.id, I = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, p = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6616
+ var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, I = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, _ = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6626
6617
  return {
6627
6618
  // prop getters
6628
6619
  getRootProps: I,
6629
6620
  getToggleButtonProps: N,
6630
6621
  getLabelProps: T,
6631
6622
  getMenuProps: R,
6632
- getInputProps: y,
6623
+ getInputProps: _,
6633
6624
  getItemProps: A,
6634
6625
  // actions
6635
6626
  reset: G,
6636
6627
  openMenu: h,
6637
6628
  closeMenu: m,
6638
- toggleMenu: p,
6629
+ toggleMenu: g,
6639
6630
  selectItem: f,
6640
6631
  selectItemAtIndex: w,
6641
6632
  selectHighlightedItem: D,
@@ -6648,7 +6639,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6648
6639
  // props
6649
6640
  itemToString: u,
6650
6641
  // derived
6651
- id: g,
6642
+ id: p,
6652
6643
  // state
6653
6644
  highlightedIndex: s,
6654
6645
  inputValue: a,
@@ -6668,7 +6659,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6668
6659
  r.isMouseDown = !1;
6669
6660
  var T = M0(N.target, [r._rootNode, r._menuNode], r.props.environment);
6670
6661
  !T && r.getState().isOpen && r.reset({
6671
- type: gr
6662
+ type: pr
6672
6663
  }, function() {
6673
6664
  return r.props.onOuterClick(r.getStateAndHelpers());
6674
6665
  });
@@ -6683,16 +6674,16 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6683
6674
  }, function() {
6684
6675
  return r.props.onOuterClick(r.getStateAndHelpers());
6685
6676
  });
6686
- }, g = this.props.environment;
6687
- g.addEventListener("mousedown", s), g.addEventListener("mouseup", a), g.addEventListener("touchstart", l), g.addEventListener("touchmove", d), g.addEventListener("touchend", u), this.cleanup = function() {
6688
- r.internalClearTimeouts(), r.updateStatus.cancel(), g.removeEventListener("mousedown", s), g.removeEventListener("mouseup", a), g.removeEventListener("touchstart", l), g.removeEventListener("touchmove", d), g.removeEventListener("touchend", u);
6677
+ }, p = this.props.environment;
6678
+ p.addEventListener("mousedown", s), p.addEventListener("mouseup", a), p.addEventListener("touchstart", l), p.addEventListener("touchmove", d), p.addEventListener("touchend", u), this.cleanup = function() {
6679
+ r.internalClearTimeouts(), r.updateStatus.cancel(), p.removeEventListener("mousedown", s), p.removeEventListener("mouseup", a), p.removeEventListener("touchstart", l), p.removeEventListener("touchmove", d), p.removeEventListener("touchend", u);
6689
6680
  };
6690
6681
  }
6691
6682
  }, i.shouldScroll = function(r, s) {
6692
- var a = this.props.highlightedIndex === void 0 ? this.getState() : this.props, l = a.highlightedIndex, d = s.highlightedIndex === void 0 ? r : s, u = d.highlightedIndex, g = l && this.getState().isOpen && !r.isOpen, I = l !== u;
6693
- return g || I;
6683
+ var a = this.props.highlightedIndex === void 0 ? this.getState() : this.props, l = a.highlightedIndex, d = s.highlightedIndex === void 0 ? r : s, u = d.highlightedIndex, p = l && this.getState().isOpen && !r.isOpen, I = l !== u;
6684
+ return p || I;
6694
6685
  }, i.componentDidUpdate = function(r, s) {
6695
- process.env.NODE_ENV !== "production" && (gt(this.state, r, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && ln(this._menuNode, this.getMenuProps)), C0(this.props, "selectedItem") && this.props.selectedItemChanged(r.selectedItem, this.props.selectedItem) && this.internalSetState({
6686
+ process.env.NODE_ENV !== "production" && (pt(this.state, r, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && ln(this._menuNode, this.getMenuProps)), C0(this.props, "selectedItem") && this.props.selectedItemChanged(r.selectedItem, this.props.selectedItem) && this.internalSetState({
6696
6687
  type: wr,
6697
6688
  inputValue: this.props.itemToString(this.props.selectedItem)
6698
6689
  }), !this.avoidScrolling && this.shouldScroll(s, r) && this.scrollHighlightedItemIntoView(), this.updateStatus();
@@ -6808,7 +6799,7 @@ function $s(e, t, n) {
6808
6799
  }, r));
6809
6800
  }
6810
6801
  function Bs(e, t, n, i) {
6811
- var o = t.props, r = t.type, s = "on" + pt(e) + "Change";
6802
+ var o = t.props, r = t.type, s = "on" + gt(e) + "Change";
6812
6803
  o[s] && i[e] !== void 0 && i[e] !== n[e] && o[s](Y({
6813
6804
  type: r
6814
6805
  }, i));
@@ -6822,8 +6813,8 @@ function Hs(e) {
6822
6813
  }
6823
6814
  var zs = ft(function(e, t) {
6824
6815
  dr(e(), t);
6825
- }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : ke, js = "useId" in ye ? function(t) {
6826
- var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, s = t.toggleButtonId, a = t.inputId, l = "downshift-" + ye.useId();
6816
+ }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : ke, js = "useId" in _e ? function(t) {
6817
+ var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, s = t.toggleButtonId, a = t.inputId, l = "downshift-" + _e.useId();
6827
6818
  n || (n = l);
6828
6819
  var d = Ee({
6829
6820
  labelId: i || n + "-label",
@@ -6860,7 +6851,7 @@ function Ks(e, t, n, i) {
6860
6851
  function Fs(e) {
6861
6852
  return e ? String(e) : "";
6862
6853
  }
6863
- function pt(e) {
6854
+ function gt(e) {
6864
6855
  return "" + e.slice(0, 1).toUpperCase() + e.slice(1);
6865
6856
  }
6866
6857
  function Or(e) {
@@ -6870,11 +6861,11 @@ function Or(e) {
6870
6861
  function qs(e, t, n, i) {
6871
6862
  var o = Ee(), r = Ee(), s = xe(function(N, T) {
6872
6863
  r.current = T, N = R0(N, T.props);
6873
- var R = e(N, T), y = T.props.stateReducer(N, Y({}, T, {
6864
+ var R = e(N, T), _ = T.props.stateReducer(N, Y({}, T, {
6874
6865
  changes: R
6875
6866
  }));
6876
- return y;
6877
- }, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), g = xe(function(N) {
6867
+ return _;
6868
+ }, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), p = xe(function(N) {
6878
6869
  return d(Y({
6879
6870
  props: u.current
6880
6871
  }, N));
@@ -6882,7 +6873,7 @@ function qs(e, t, n, i) {
6882
6873
  return ke(function() {
6883
6874
  var N = I && o.current && !i(o.current, l);
6884
6875
  N && $s(I, R0(o.current, I.props), l), o.current = l;
6885
- }, [l, I, i]), [l, g];
6876
+ }, [l, I, i]), [l, p];
6886
6877
  }
6887
6878
  var d0 = {
6888
6879
  itemToString: Fs,
@@ -6896,7 +6887,7 @@ var d0 = {
6896
6887
  };
6897
6888
  function je(e, t, n) {
6898
6889
  n === void 0 && (n = Sr);
6899
- var i = e["default" + pt(t)];
6890
+ var i = e["default" + gt(t)];
6900
6891
  return i !== void 0 ? i : n[t];
6901
6892
  }
6902
6893
  function u0(e, t, n) {
@@ -6904,7 +6895,7 @@ function u0(e, t, n) {
6904
6895
  var i = e[t];
6905
6896
  if (i !== void 0)
6906
6897
  return i;
6907
- var o = e["initial" + pt(t)];
6898
+ var o = e["initial" + gt(t)];
6908
6899
  return o !== void 0 ? o : je(e, t, n);
6909
6900
  }
6910
6901
  function Ws(e) {
@@ -6929,16 +6920,16 @@ function Gs(e, t, n, i) {
6929
6920
  if (n) {
6930
6921
  var r = function() {
6931
6922
  o.current.isMouseDown = !0;
6932
- }, s = function(g) {
6933
- o.current.isMouseDown = !1, e && !M0(g.target, t.map(function(I) {
6923
+ }, s = function(p) {
6924
+ o.current.isMouseDown = !1, e && !M0(p.target, t.map(function(I) {
6934
6925
  return I.current;
6935
6926
  }), n) && i();
6936
6927
  }, a = function() {
6937
6928
  o.current.isTouchMove = !1;
6938
6929
  }, l = function() {
6939
6930
  o.current.isTouchMove = !0;
6940
- }, d = function(g) {
6941
- e && !o.current.isTouchMove && !M0(g.target, t.map(function(I) {
6931
+ }, d = function(p) {
6932
+ e && !o.current.isTouchMove && !M0(p.target, t.map(function(I) {
6942
6933
  return I.current;
6943
6934
  }), n, !1) && i();
6944
6935
  };
@@ -6964,8 +6955,8 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
6964
6955
  console.error("downshift: You forgot to call the " + a + " getter function on your component / element.");
6965
6956
  return;
6966
6957
  }
6967
- var d = l.suppressRefError, u = l.refKey, g = l.elementRef;
6968
- (!g || !g.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
6958
+ var d = l.suppressRefError, u = l.refKey, p = l.elementRef;
6959
+ (!p || !p.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
6969
6960
  }), t.current = !1;
6970
6961
  });
6971
6962
  var s = xe(function(a, l, d, u) {
@@ -6999,7 +6990,7 @@ var Cr = De;
6999
6990
  process.env.NODE_ENV !== "production" && (Cr = function(t) {
7000
6991
  var n = t.isInitialMount, i = t.props, o = t.state, r = Ee(i);
7001
6992
  ke(function() {
7002
- n || (gt(o, r.current, i), r.current = i);
6993
+ n || (pt(o, r.current, i), r.current = i);
7003
6994
  }, [o, i, n]);
7004
6995
  });
7005
6996
  function dn(e, t, n) {
@@ -7141,14 +7132,14 @@ process.env.NODE_ENV;
7141
7132
  process.env.NODE_ENV;
7142
7133
  process.env.NODE_ENV;
7143
7134
  process.env.NODE_ENV;
7144
- 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, Dr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, kr = 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({
7135
+ 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, Dr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, kr = 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({
7145
7136
  __proto__: null,
7146
7137
  InputKeyDownArrowDown: mt,
7147
7138
  InputKeyDownArrowUp: ht,
7148
7139
  InputKeyDownEscape: vt,
7149
7140
  InputKeyDownHome: bt,
7150
- InputKeyDownEnd: yt,
7151
- InputKeyDownPageUp: _t,
7141
+ InputKeyDownEnd: _t,
7142
+ InputKeyDownPageUp: yt,
7152
7143
  InputKeyDownPageDown: Et,
7153
7144
  InputKeyDownEnter: It,
7154
7145
  InputChange: xt,
@@ -7245,7 +7236,7 @@ function rc(e, t) {
7245
7236
  inputValue: ""
7246
7237
  });
7247
7238
  break;
7248
- case _t:
7239
+ case yt:
7249
7240
  s = {
7250
7241
  highlightedIndex: n0(e.highlightedIndex, -10, o.items, o.isItemDisabled, !0)
7251
7242
  };
@@ -7260,7 +7251,7 @@ function rc(e, t) {
7260
7251
  highlightedIndex: l0(0, !1, o.items, o.isItemDisabled)
7261
7252
  };
7262
7253
  break;
7263
- case yt:
7254
+ case _t:
7264
7255
  s = {
7265
7256
  highlightedIndex: l0(o.items.length - 1, !0, o.items, o.isItemDisabled)
7266
7257
  };
@@ -7307,13 +7298,13 @@ var ic = ["onMouseLeave", "refKey", "ref"], oc = ["item", "index", "refKey", "re
7307
7298
  Rt.stateChangeTypes = zr;
7308
7299
  function Rt(e) {
7309
7300
  e === void 0 && (e = {}), Ur(e, Rt);
7310
- var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], g = d.isOpen, I = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), y = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), p = js(t), f = Ee(), w = Or({
7301
+ var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, I = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), _ = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
7311
7302
  state: d,
7312
7303
  props: t
7313
7304
  }), D = xe(function(v) {
7314
- return y.current[p.getItemId(v)];
7315
- }, [p]);
7316
- un(r, [g, I, T, n], Y({
7305
+ return _.current[g.getItemId(v)];
7306
+ }, [g]);
7307
+ un(r, [p, I, T, n], Y({
7317
7308
  isInitialMount: m.current,
7318
7309
  previousResultCount: f.current,
7319
7310
  items: n,
@@ -7329,8 +7320,8 @@ function Rt(e) {
7329
7320
  var P = Ys({
7330
7321
  menuElement: R.current,
7331
7322
  highlightedIndex: I,
7332
- isOpen: g,
7333
- itemRefs: y,
7323
+ isOpen: p,
7324
+ itemRefs: _,
7334
7325
  scrollIntoView: i,
7335
7326
  getItemNodeFromIndex: D
7336
7327
  });
@@ -7344,7 +7335,7 @@ function Rt(e) {
7344
7335
  }, []), ke(function() {
7345
7336
  m.current || (f.current = n.length);
7346
7337
  });
7347
- var q = Gs(g, [A, R, h], o, function() {
7338
+ var q = Gs(p, [A, R, h], o, function() {
7348
7339
  u({
7349
7340
  type: T0,
7350
7341
  selectItem: !1
@@ -7355,78 +7346,78 @@ function Rt(e) {
7355
7346
  m.current = !0;
7356
7347
  };
7357
7348
  }, []), ke(function() {
7358
- g || (y.current = {});
7359
- }, [g]), ke(function() {
7349
+ p || (_.current = {});
7350
+ }, [p]), ke(function() {
7360
7351
  var v;
7361
- !g || !(o != null && o.document) || !(A != null && (v = A.current) != null && v.focus) || o.document.activeElement !== A.current && A.current.focus();
7362
- }, [g, o]);
7352
+ !p || !(o != null && o.document) || !(A != null && (v = A.current) != null && v.focus) || o.document.activeElement !== A.current && A.current.focus();
7353
+ }, [p, o]);
7363
7354
  var G = fn(function() {
7364
7355
  return {
7365
- ArrowDown: function(_) {
7366
- _.preventDefault(), u({
7356
+ ArrowDown: function(y) {
7357
+ y.preventDefault(), u({
7367
7358
  type: mt,
7368
- altKey: _.altKey
7359
+ altKey: y.altKey
7369
7360
  });
7370
7361
  },
7371
- ArrowUp: function(_) {
7372
- _.preventDefault(), u({
7362
+ ArrowUp: function(y) {
7363
+ y.preventDefault(), u({
7373
7364
  type: ht,
7374
- altKey: _.altKey
7365
+ altKey: y.altKey
7375
7366
  });
7376
7367
  },
7377
- Home: function(_) {
7378
- w.current.state.isOpen && (_.preventDefault(), u({
7368
+ Home: function(y) {
7369
+ w.current.state.isOpen && (y.preventDefault(), u({
7379
7370
  type: bt
7380
7371
  }));
7381
7372
  },
7382
- End: function(_) {
7383
- w.current.state.isOpen && (_.preventDefault(), u({
7384
- type: yt
7373
+ End: function(y) {
7374
+ w.current.state.isOpen && (y.preventDefault(), u({
7375
+ type: _t
7385
7376
  }));
7386
7377
  },
7387
- Escape: function(_) {
7378
+ Escape: function(y) {
7388
7379
  var E = w.current.state;
7389
- (E.isOpen || E.inputValue || E.selectedItem || E.highlightedIndex > -1) && (_.preventDefault(), u({
7380
+ (E.isOpen || E.inputValue || E.selectedItem || E.highlightedIndex > -1) && (y.preventDefault(), u({
7390
7381
  type: vt
7391
7382
  }));
7392
7383
  },
7393
- Enter: function(_) {
7384
+ Enter: function(y) {
7394
7385
  var E = w.current.state;
7395
- !E.isOpen || _.which === 229 || (_.preventDefault(), u({
7386
+ !E.isOpen || y.which === 229 || (y.preventDefault(), u({
7396
7387
  type: It
7397
7388
  }));
7398
7389
  },
7399
- PageUp: function(_) {
7400
- w.current.state.isOpen && (_.preventDefault(), u({
7401
- type: _t
7390
+ PageUp: function(y) {
7391
+ w.current.state.isOpen && (y.preventDefault(), u({
7392
+ type: yt
7402
7393
  }));
7403
7394
  },
7404
- PageDown: function(_) {
7405
- w.current.state.isOpen && (_.preventDefault(), u({
7395
+ PageDown: function(y) {
7396
+ w.current.state.isOpen && (y.preventDefault(), u({
7406
7397
  type: Et
7407
7398
  }));
7408
7399
  }
7409
7400
  };
7410
7401
  }, [u, w]), X = xe(function(v) {
7411
7402
  return Y({
7412
- id: p.labelId,
7413
- htmlFor: p.inputId
7403
+ id: g.labelId,
7404
+ htmlFor: g.inputId
7414
7405
  }, v);
7415
- }, [p]), ne = xe(function(v, _) {
7416
- var E, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de = _ === void 0 ? {} : _, L = de.suppressRefError, _e = L === void 0 ? !1 : L;
7417
- return U("getMenuProps", _e, B, R), Y((E = {}, E[B] = a0(Q, function(be) {
7406
+ }, [g]), ne = xe(function(v, y) {
7407
+ var E, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de = y === void 0 ? {} : y, L = de.suppressRefError, ye = L === void 0 ? !1 : L;
7408
+ return U("getMenuProps", ye, B, R), Y((E = {}, E[B] = a0(Q, function(be) {
7418
7409
  R.current = be;
7419
- }), E.id = p.menuId, E.role = "listbox", E["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + p.labelId, E.onMouseLeave = he(z, function() {
7410
+ }), E.id = g.menuId, E.role = "listbox", E["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, E.onMouseLeave = he(z, function() {
7420
7411
  u({
7421
7412
  type: Ar
7422
7413
  });
7423
7414
  }), E), S);
7424
- }, [u, U, p]), Z = xe(function(v) {
7425
- var _, E, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, _e = C.onClick;
7415
+ }, [u, U, g]), Z = xe(function(v) {
7416
+ var y, E, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, ye = C.onClick;
7426
7417
  C.onPress;
7427
7418
  var be = C.disabled, Le = He(C, oc);
7428
7419
  be !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
7429
- 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], Me = Xe[1], me = $e.isItemDisabled(J, Me), fe = "onClick", Fe = _e, Ne = function() {
7420
+ 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], Me = Xe[1], me = $e.isItemDisabled(J, Me), fe = "onClick", Fe = ye, Ne = function() {
7430
7421
  Me !== Be.highlightedIndex && (P.current = !1, u({
7431
7422
  type: Dr,
7432
7423
  index: Me,
@@ -7440,29 +7431,29 @@ function Rt(e) {
7440
7431
  }, Te = function(j) {
7441
7432
  return j.preventDefault();
7442
7433
  };
7443
- return Y((_ = {}, _[Q] = a0(S, function($) {
7444
- $ && (y.current[p.getItemId(Me)] = $);
7445
- }), _["aria-disabled"] = me, _["aria-selected"] = "" + (Me === Be.highlightedIndex), _.id = p.getItemId(Me), _.role = "option", _), !me && (E = {}, E[fe] = he(Fe, Ve), E), {
7434
+ return Y((y = {}, y[Q] = a0(S, function($) {
7435
+ $ && (_.current[g.getItemId(Me)] = $);
7436
+ }), y["aria-disabled"] = me, y["aria-selected"] = "" + (Me === Be.highlightedIndex), y.id = g.getItemId(Me), y.role = "option", y), !me && (E = {}, E[fe] = he(Fe, Ve), E), {
7446
7437
  onMouseMove: he(de, Ne),
7447
7438
  onMouseDown: he(L, Te)
7448
7439
  }, Le);
7449
- }, [u, w, P, p]), ie = xe(function(v) {
7450
- var _, E = v === void 0 ? {} : v, C = E.onClick;
7440
+ }, [u, w, P, g]), ie = xe(function(v) {
7441
+ var y, E = v === void 0 ? {} : v, C = E.onClick;
7451
7442
  E.onPress;
7452
7443
  var z = E.refKey, H = z === void 0 ? "ref" : z, B = E.ref, Q = He(E, ac), S = w.current.state, de = function() {
7453
7444
  u({
7454
7445
  type: kr
7455
7446
  });
7456
7447
  };
7457
- return Y((_ = {}, _[H] = a0(B, function(L) {
7448
+ return Y((y = {}, y[H] = a0(B, function(L) {
7458
7449
  h.current = L;
7459
- }), _["aria-controls"] = p.menuId, _["aria-expanded"] = S.isOpen, _.id = p.toggleButtonId, _.tabIndex = -1, _), !Q.disabled && Y({}, {
7450
+ }), y["aria-controls"] = g.menuId, y["aria-expanded"] = S.isOpen, y.id = g.toggleButtonId, y.tabIndex = -1, y), !Q.disabled && Y({}, {
7460
7451
  onClick: he(C, de)
7461
7452
  }), Q);
7462
- }, [u, w, p]), oe = xe(function(v, _) {
7453
+ }, [u, w, g]), oe = xe(function(v, y) {
7463
7454
  var E, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
7464
7455
  C.onChangeText;
7465
- var S = 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;
7456
+ var S = 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;
7466
7457
  U("getInputProps", $e, L, A);
7467
7458
  var Be = w.current.state, Xe = function(Te) {
7468
7459
  var $ = et(Te);
@@ -7489,18 +7480,18 @@ function Rt(e) {
7489
7480
  var Ne;
7490
7481
  Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Me), Ne.onClick = he(S, me), Ne);
7491
7482
  }
7492
- return Y((E = {}, E[L] = a0(_e, function(Ve) {
7483
+ return Y((E = {}, E[L] = a0(ye, function(Ve) {
7493
7484
  A.current = Ve;
7494
- }), E["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? p.getItemId(Be.highlightedIndex) : "", E["aria-autocomplete"] = "list", E["aria-controls"] = p.menuId, E["aria-expanded"] = Be.isOpen, E["aria-labelledby"] = be && be["aria-label"] ? void 0 : p.labelId, E.autoComplete = "off", E.id = p.inputId, E.role = "combobox", E.value = Be.inputValue, E), Fe, be);
7495
- }, [U, w, p, G, u, q, o]), W = xe(function() {
7485
+ }), E["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", E["aria-autocomplete"] = "list", E["aria-controls"] = g.menuId, E["aria-expanded"] = Be.isOpen, E["aria-labelledby"] = be && be["aria-label"] ? void 0 : g.labelId, E.autoComplete = "off", E.id = g.inputId, E.role = "combobox", E.value = Be.inputValue, E), Fe, be);
7486
+ }, [U, w, g, G, u, q, o]), W = xe(function() {
7496
7487
  u({
7497
7488
  type: Pr
7498
7489
  });
7499
- }, [u]), ge = xe(function() {
7490
+ }, [u]), pe = xe(function() {
7500
7491
  u({
7501
7492
  type: $r
7502
7493
  });
7503
- }, [u]), pe = xe(function() {
7494
+ }, [u]), ge = xe(function() {
7504
7495
  u({
7505
7496
  type: Lr
7506
7497
  });
@@ -7533,15 +7524,15 @@ function Rt(e) {
7533
7524
  getToggleButtonProps: ie,
7534
7525
  // actions.
7535
7526
  toggleMenu: W,
7536
- openMenu: pe,
7537
- closeMenu: ge,
7527
+ openMenu: ge,
7528
+ closeMenu: pe,
7538
7529
  setHighlightedIndex: x,
7539
7530
  setInputValue: K,
7540
7531
  selectItem: k,
7541
7532
  reset: b,
7542
7533
  // state.
7543
7534
  highlightedIndex: I,
7544
- isOpen: g,
7535
+ isOpen: p,
7545
7536
  selectedItem: N,
7546
7537
  inputValue: T
7547
7538
  };
@@ -7589,9 +7580,9 @@ const jr = Ce(
7589
7580
  ...a
7590
7581
  }, l) => /* @__PURE__ */ M(V, { className: re("autocomplete-result", a.className), ref: l, hidden: !e, children: [
7591
7582
  t.length > 0 && /* @__PURE__ */ M(Pe, { children: [
7592
- t.map(({ slug: d, title: u, date: g, authors: I, link: N }, T) => {
7583
+ t.map(({ slug: d, title: u, date: p, authors: I, link: N }, T) => {
7593
7584
  const R = s === T;
7594
- return /* @__PURE__ */ c(ye.Fragment, { children: /* @__PURE__ */ M(
7585
+ return /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ M(
7595
7586
  F,
7596
7587
  {
7597
7588
  alignItems: "center",
@@ -7614,7 +7605,7 @@ const jr = Ce(
7614
7605
  className: "autocomplete-result__link"
7615
7606
  }
7616
7607
  ),
7617
- /* @__PURE__ */ c(lt, { mt: "xxs-3", date: g, authors: I, displayedFields: ["date", "authors"] })
7608
+ /* @__PURE__ */ c(lt, { mt: "xxs-3", date: p, authors: I, displayedFields: ["date", "authors"] })
7618
7609
  ]
7619
7610
  }
7620
7611
  ) }, d);
@@ -7651,24 +7642,24 @@ const Kr = Ce(
7651
7642
  onEnter: l,
7652
7643
  isOpen: d,
7653
7644
  ...u
7654
- }, g) => {
7645
+ }, p) => {
7655
7646
  const I = (D) => {
7656
7647
  l && D.key === "Enter" && l(D.currentTarget.value);
7657
- }, { getInputProps: N, getMenuProps: T, getItemProps: R, selectItem: y, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: p } = Rt({
7648
+ }, { getInputProps: N, getMenuProps: T, getItemProps: R, selectItem: _, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: g } = Rt({
7658
7649
  defaultInputValue: t,
7659
7650
  onInputValueChange: s,
7660
7651
  onSelectedItemChange: a,
7661
7652
  items: n,
7662
7653
  itemToString: (D) => D ? D.title : "",
7663
7654
  isOpen: d
7664
- }), f = () => y(null), w = ye.useMemo(
7655
+ }), f = () => _(null), w = _e.useMemo(
7665
7656
  () => n.map((D, P) => ({
7666
7657
  ...D,
7667
7658
  ...R({ item: D, index: P })
7668
7659
  })),
7669
7660
  [n, R]
7670
7661
  );
7671
- return /* @__PURE__ */ M(V, { ...u, className: re("autocomplete", u.className), ref: g, children: [
7662
+ return /* @__PURE__ */ M(V, { ...u, className: re("autocomplete", u.className), ref: p, children: [
7672
7663
  /* @__PURE__ */ c(
7673
7664
  Zn,
7674
7665
  {
@@ -7684,7 +7675,7 @@ const Kr = Ce(
7684
7675
  isOpen: h && m.length > 0,
7685
7676
  ...T(),
7686
7677
  items: w,
7687
- highlightedIndex: p === -1 ? 0 : p,
7678
+ highlightedIndex: g === -1 ? 0 : g,
7688
7679
  searchValue: m,
7689
7680
  searchLink: {
7690
7681
  label: i,
@@ -7708,9 +7699,9 @@ const Pc = ({
7708
7699
  onToggleMenu: l,
7709
7700
  menuIsOpen: d = !1
7710
7701
  }) => /* @__PURE__ */ M(F, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
7711
- /* @__PURE__ */ c(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ c(_n, { name: "blog", className: "header__logo" }) }),
7702
+ /* @__PURE__ */ c(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ c(yn, { name: "blog", className: "header__logo" }) }),
7712
7703
  /* @__PURE__ */ M(V, { className: re("header__menu", { "header__menu--is-open": d }), children: [
7713
- t.map(({ label: u, ...g }, I) => /* @__PURE__ */ c(e0, { as: "a", ...g, "data-internal-link": "category", className: "header__menu-item", children: u }, I)),
7704
+ t.map(({ label: u, ...p }, I) => /* @__PURE__ */ c(e0, { as: "a", ...p, "data-internal-link": "category", className: "header__menu-item", children: u }, I)),
7714
7705
  n && /* @__PURE__ */ M(Pe, { children: [
7715
7706
  /* @__PURE__ */ c(V, { className: "header__separator" }),
7716
7707
  /* @__PURE__ */ c(V, { as: "a", ...o, "data-internal-link": "category", className: "header__menu-item", children: i })
@@ -7763,7 +7754,7 @@ const lc = ({
7763
7754
  pb: { xs: "l", md: "xl" },
7764
7755
  mx: "s",
7765
7756
  children: [
7766
- /* @__PURE__ */ c(V, { mb: "xl", children: /* @__PURE__ */ c(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ c(_n, { name: "website", size: "2.5em" }) }) }),
7757
+ /* @__PURE__ */ c(V, { mb: "xl", children: /* @__PURE__ */ c(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ c(yn, { name: "website", size: "2.5em" }) }) }),
7767
7758
  /* @__PURE__ */ M(V, { children: [
7768
7759
  /* @__PURE__ */ c(F, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((a, l) => /* @__PURE__ */ M(V, { mb: "m", children: [
7769
7760
  a.title && /* @__PURE__ */ c(ee, { fontWeight: "bold", mb: "xxs-2", children: a.title }),
@@ -7800,7 +7791,7 @@ const lc = ({
7800
7791
  ),
7801
7792
  /* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
7802
7793
  /* @__PURE__ */ c(V, { mr: "xxs", children: /* @__PURE__ */ c(Ie, { size: "28px", name: "language" }) }),
7803
- s.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(ye.Fragment, { children: [
7794
+ s.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(_e.Fragment, { children: [
7804
7795
  l ? /* @__PURE__ */ c(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ c(e0, { ...d, "data-internal-link": "home", children: a }),
7805
7796
  s.length - 1 !== u && /* @__PURE__ */ c(V, { mx: "s" })
7806
7797
  ] }, u))
@@ -7815,7 +7806,7 @@ const uc = ({
7815
7806
  ...o
7816
7807
  }) => /* @__PURE__ */ M(V, { ...o, my: "xl", mx: { xs: "s", md: "auto" }, className: "last-articles-block container-content", children: [
7817
7808
  /* @__PURE__ */ c(ve, { size: "m", color: "primary", children: e }),
7818
- /* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(ye.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
7809
+ /* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
7819
7810
  /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ c(Ke, { mt: "l", as: "a", ...i, children: n }) })
7820
7811
  ] });
7821
7812
  const dc = ({
@@ -7843,13 +7834,13 @@ const dc = ({
7843
7834
  /* @__PURE__ */ c(ee, { mt: "l", children: t }),
7844
7835
  /* @__PURE__ */ c(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
7845
7836
  ] }),
7846
- /* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(ye.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7837
+ /* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7847
7838
  ]
7848
7839
  }
7849
7840
  ) }), V = Ce(({ as: e = "div", className: t, children: n, ...i }, o) => /* @__PURE__ */ c(
7850
7841
  e,
7851
7842
  {
7852
- ...it({ props: i, systemPropNames: Object.keys(_i) }),
7843
+ ...it({ props: i, systemPropNames: Object.keys(yi) }),
7853
7844
  ref: o,
7854
7845
  className: re(Ai(i), t),
7855
7846
  children: n
@@ -7887,7 +7878,7 @@ const k0 = ({
7887
7878
  gap: "xl",
7888
7879
  my: "xl",
7889
7880
  mx: { xs: "s", md: "auto" },
7890
- className: re("layout-content-with-sidebar", n),
7881
+ className: re("layout-content-with-sidebar", "container-content", n),
7891
7882
  children: [
7892
7883
  /* @__PURE__ */ c(F, { flexDirection: "column", as: "main", flex: "1", gap: "xl", className: "layout-content-with-sidebar__content", children: e }),
7893
7884
  /* @__PURE__ */ c(F, { as: "aside", flexDirection: "column", gap: "xl", className: "layout-content-with-sidebar__sidebar", children: t })
@@ -7928,14 +7919,14 @@ const k0 = ({
7928
7919
  n && /* @__PURE__ */ c(dc, { ...n }),
7929
7920
  /* @__PURE__ */ c(V, { my: "xl", mx: { xs: "s", md: "auto" }, children: /* @__PURE__ */ c(ut, { variant: "horizontal", className: "container-content", ...i }) })
7930
7921
  ] });
7931
- const gc = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
7922
+ const pc = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
7932
7923
  /* @__PURE__ */ c(ve, { mb: "xxs", size: "m", color: "primary", children: e }),
7933
7924
  /* @__PURE__ */ c(F, { mt: "l", flexDirection: "column", gap: "s", children: t.map((i, o) => /* @__PURE__ */ c(os, { ...i }, o)) })
7934
7925
  ] });
7935
7926
  const q0 = (e) => {
7936
7927
  const t = Object.entries(e).filter(([, n]) => n != null).map(([n, i]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(i))}`);
7937
7928
  return t.length > 0 ? `?${t.join("&")}` : "";
7938
- }, pc = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ M(F, { ...n, alignItems: "center", gap: "xs", className: "share-links", children: [
7929
+ }, gc = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ M(F, { ...n, alignItems: "center", gap: "xs", className: "share-links", children: [
7939
7930
  t.twitter && /* @__PURE__ */ c(
7940
7931
  "a",
7941
7932
  {
@@ -7974,7 +7965,7 @@ const q0 = (e) => {
7974
7965
  /* @__PURE__ */ c(ve, { as: "h1", size: "xl", color: "primary", children: e }),
7975
7966
  /* @__PURE__ */ M(F, { flexDirection: { xs: "column", md: "row" }, justifyContent: "between", gap: "xs", mt: "m", children: [
7976
7967
  /* @__PURE__ */ c(lt, { variant: "secondary", date: t, readingTime: n, authors: i }),
7977
- /* @__PURE__ */ c(pc, { ...o })
7968
+ /* @__PURE__ */ c(gc, { ...o })
7978
7969
  ] })
7979
7970
  ] }), hc = ({ relatedPostListTitle: e, posts: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
7980
7971
  /* @__PURE__ */ c(ve, { mb: "m", size: "m", color: "primary", children: e }),
@@ -7999,7 +7990,7 @@ const q0 = (e) => {
7999
7990
  a && l && /* @__PURE__ */ c(Ke, { as: "a", mt: "l", variant: "secondary", ...l, children: a }),
8000
7991
  d && u && /* @__PURE__ */ c(Ke, { as: "a", mt: "l", ...u, children: d })
8001
7992
  ] }) }),
8002
- /* @__PURE__ */ c(gc, { mt: "l", ...o })
7993
+ /* @__PURE__ */ c(pc, { mt: "l", ...o })
8003
7994
  ] }),
8004
7995
  /* @__PURE__ */ c(h0, {}),
8005
7996
  /* @__PURE__ */ c(as, { ...s }),
@@ -8012,7 +8003,7 @@ const q0 = (e) => {
8012
8003
  children: o,
8013
8004
  ...r
8014
8005
  }) => /* @__PURE__ */ M(V, { mx: "auto", className: "post-page", children: [
8015
- /* @__PURE__ */ c(Yn, { ...t, className: "post-page__breadcrumb" }),
8006
+ /* @__PURE__ */ c(Yn, { ...t }),
8016
8007
  /* @__PURE__ */ c(Xn, { ...n, img: { className: "post-page__cover", ...n == null ? void 0 : n.img } }),
8017
8008
  /* @__PURE__ */ c(
8018
8009
  k0,
@@ -8052,7 +8043,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8052
8043
  className: "author-page__social_networks",
8053
8044
  children: e.socialNetworks.map((i, o) => {
8054
8045
  var r;
8055
- return /* @__PURE__ */ M(ye.Fragment, { children: [
8046
+ return /* @__PURE__ */ M(_e.Fragment, { children: [
8056
8047
  /* @__PURE__ */ M(ee, { children: [
8057
8048
  /* @__PURE__ */ c(Ie, { name: i.name, size: "24px" }),
8058
8049
  " ",
@@ -8070,7 +8061,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8070
8061
  /* @__PURE__ */ c(h0, { className: "author-page__divider" }),
8071
8062
  /* @__PURE__ */ c(ee, { size: "m", fontWeight: "medium", children: t }),
8072
8063
  n
8073
- ] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ c(tr, { m: "xxl", title: e, description: t }) }), yc = ({
8064
+ ] }), Uc = ({ title: e, description: t }) => /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ c(tr, { m: "xxl", title: e, description: t }) }), _c = ({
8074
8065
  title: e,
8075
8066
  description: t,
8076
8067
  postCardList: n,
@@ -8080,10 +8071,10 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8080
8071
  /* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
8081
8072
  /* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "s", mb: "l", children: t }) }),
8082
8073
  n
8083
- ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(k0, { content: /* @__PURE__ */ c(yc, { ...t }), sidebar: e }) }), _c = typeof window > "u" ? () => {
8074
+ ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(k0, { content: /* @__PURE__ */ c(_c, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
8084
8075
  } : nt.useLayoutEffect, Kc = (e) => {
8085
8076
  const [t, n] = nt.useState(!1);
8086
- return _c(() => {
8077
+ return yc(() => {
8087
8078
  const i = window.matchMedia(xi[e]);
8088
8079
  i.matches !== t && n(i.matches);
8089
8080
  const o = () => n(i.matches);
@@ -8119,7 +8110,7 @@ export {
8119
8110
  k0 as LayoutContentWithSidebar,
8120
8111
  Lc as LayoutTemplate,
8121
8112
  e0 as Link,
8122
- _n as Logo,
8113
+ yn as Logo,
8123
8114
  ut as NewsletterCard,
8124
8115
  tr as NotFoundBlock,
8125
8116
  Uc as NotFoundPage,
@@ -8133,7 +8124,7 @@ export {
8133
8124
  Cc as Reminder,
8134
8125
  Zn as SearchField,
8135
8126
  jc as SearchPage,
8136
- yc as SearchPageContent,
8127
+ _c as SearchPageContent,
8137
8128
  We as Skeleton,
8138
8129
  nr as SummaryCard,
8139
8130
  Ac as SummaryCardVariant,
@@ -8150,6 +8141,6 @@ export {
8150
8141
  Mc as postMetadataVariant,
8151
8142
  Vc as postPageVariant,
8152
8143
  Rc as reminderVariantList,
8153
- _c as useLayoutEffect,
8144
+ yc as useLayoutEffect,
8154
8145
  Kc as useMediaQuery
8155
8146
  };