react-lib-tools 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{GettingStartedRoute-Bea34m1X.js → GettingStartedRoute-CEUe6r9y.js} +2 -2
  2. package/dist/{GettingStartedRoute-Bea34m1X.js.map → GettingStartedRoute-CEUe6r9y.js.map} +1 -1
  3. package/dist/{GettingStartedRoute-BJh6Q9Fv.cjs → GettingStartedRoute-CfzB3Nvh.cjs} +2 -2
  4. package/dist/{GettingStartedRoute-BJh6Q9Fv.cjs.map → GettingStartedRoute-CfzB3Nvh.cjs.map} +1 -1
  5. package/dist/{PageNotFound-CrHjMQNv.cjs → PageNotFound-DFuXJCTh.cjs} +2 -2
  6. package/dist/{PageNotFound-CrHjMQNv.cjs.map → PageNotFound-DFuXJCTh.cjs.map} +1 -1
  7. package/dist/{PageNotFound-DE5Z0RR6.js → PageNotFound-DPz5PSvL.js} +2 -2
  8. package/dist/{PageNotFound-DE5Z0RR6.js.map → PageNotFound-DPz5PSvL.js.map} +1 -1
  9. package/dist/{SupportRoute-Bww0QSix.cjs → SupportRoute-BNyX9bXT.cjs} +2 -2
  10. package/dist/{SupportRoute-Bww0QSix.cjs.map → SupportRoute-BNyX9bXT.cjs.map} +1 -1
  11. package/dist/{SupportRoute-DPlYEYJn.js → SupportRoute-CwdgvBKD.js} +2 -2
  12. package/dist/{SupportRoute-DPlYEYJn.js.map → SupportRoute-CwdgvBKD.js.map} +1 -1
  13. package/dist/VersionsRoute-DIBb1iS1.js +59 -0
  14. package/dist/VersionsRoute-DIBb1iS1.js.map +1 -0
  15. package/dist/VersionsRoute-WwJGbKHn.cjs +2 -0
  16. package/dist/VersionsRoute-WwJGbKHn.cjs.map +1 -0
  17. package/dist/{index-DdaUFzS-.js → index-BGQ7Uo9T.js} +218 -216
  18. package/dist/index-BGQ7Uo9T.js.map +1 -0
  19. package/dist/{index-BpfFWZm4.cjs → index-Dishg8MY.cjs} +5 -5
  20. package/dist/index-Dishg8MY.cjs.map +1 -0
  21. package/dist/react-lib-tools.cjs +1 -1
  22. package/dist/react-lib-tools.d.ts +11 -2
  23. package/dist/react-lib-tools.js +4 -4
  24. package/package.json +1 -1
  25. package/dist/index-BpfFWZm4.cjs.map +0 -1
  26. package/dist/index-DdaUFzS-.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as E, jsxs as K, Fragment as Nt } from "react/jsx-runtime";
3
3
  import * as h from "react";
4
- import L, { createContext as ne, Component as da, createElement as er, useRef as I, useCallback as q, useEffect as oe, useState as X, useMemo as le, useLayoutEffect as hn, useContext as Y, forwardRef as fa, Fragment as Ne, isValidElement as yr, cloneElement as Xo, useId as je, useSyncExternalStore as pa, useReducer as ma, useTransition as ha, lazy as Mn } from "react";
5
- import * as on from "react-dom";
6
- import { flushSync as ln, createPortal as Jo } from "react-dom";
4
+ import L, { createContext as ne, Component as da, createElement as er, useRef as I, useCallback as q, useEffect as oe, useState as X, useMemo as le, useLayoutEffect as gn, useContext as Y, forwardRef as fa, Fragment as Ne, isValidElement as yr, cloneElement as Xo, useId as je, useSyncExternalStore as pa, useReducer as ma, useTransition as ha, lazy as Wt } from "react";
5
+ import * as ln from "react-dom";
6
+ import { flushSync as an, createPortal as Jo } from "react-dom";
7
7
  function ga({
8
8
  title: e,
9
9
  titleId: t,
@@ -645,8 +645,8 @@ var rs = [
645
645
  new Set(rs);
646
646
  var ht = h.createContext(null);
647
647
  ht.displayName = "DataRouter";
648
- var gn = h.createContext(null);
649
- gn.displayName = "DataRouterState";
648
+ var vn = h.createContext(null);
649
+ vn.displayName = "DataRouterState";
650
650
  h.createContext(!1);
651
651
  var si = h.createContext({
652
652
  isTransitioning: !1
@@ -1002,7 +1002,7 @@ function hs(e) {
1002
1002
  return J(t, Er(e)), t;
1003
1003
  }
1004
1004
  function gs(e) {
1005
- let t = h.useContext(gn);
1005
+ let t = h.useContext(vn);
1006
1006
  return J(t, Er(e)), t;
1007
1007
  }
1008
1008
  function vs(e) {
@@ -1167,18 +1167,18 @@ function nr(e, t = []) {
1167
1167
  )), n.push(l);
1168
1168
  }), n;
1169
1169
  }
1170
- var Qt = "get", en = "application/x-www-form-urlencoded";
1171
- function vn(e) {
1170
+ var en = "get", tn = "application/x-www-form-urlencoded";
1171
+ function bn(e) {
1172
1172
  return typeof HTMLElement < "u" && e instanceof HTMLElement;
1173
1173
  }
1174
1174
  function Ss(e) {
1175
- return vn(e) && e.tagName.toLowerCase() === "button";
1175
+ return bn(e) && e.tagName.toLowerCase() === "button";
1176
1176
  }
1177
1177
  function ks(e) {
1178
- return vn(e) && e.tagName.toLowerCase() === "form";
1178
+ return bn(e) && e.tagName.toLowerCase() === "form";
1179
1179
  }
1180
1180
  function Cs(e) {
1181
- return vn(e) && e.tagName.toLowerCase() === "input";
1181
+ return bn(e) && e.tagName.toLowerCase() === "input";
1182
1182
  }
1183
1183
  function Rs(e) {
1184
1184
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
@@ -1188,19 +1188,19 @@ function Ts(e, t) {
1188
1188
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1189
1189
  !Rs(e);
1190
1190
  }
1191
- var Wt = null;
1191
+ var Ut = null;
1192
1192
  function Os() {
1193
- if (Wt === null)
1193
+ if (Ut === null)
1194
1194
  try {
1195
1195
  new FormData(
1196
1196
  document.createElement("form"),
1197
1197
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
1198
1198
  0
1199
- ), Wt = !1;
1199
+ ), Ut = !1;
1200
1200
  } catch {
1201
- Wt = !0;
1201
+ Ut = !0;
1202
1202
  }
1203
- return Wt;
1203
+ return Ut;
1204
1204
  }
1205
1205
  var Ps = /* @__PURE__ */ new Set([
1206
1206
  "application/x-www-form-urlencoded",
@@ -1210,14 +1210,14 @@ var Ps = /* @__PURE__ */ new Set([
1210
1210
  function Dn(e) {
1211
1211
  return e != null && !Ps.has(e) ? (Te(
1212
1212
  !1,
1213
- `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${en}"`
1213
+ `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${tn}"`
1214
1214
  ), null) : e;
1215
1215
  }
1216
1216
  function Ls(e, t) {
1217
1217
  let n, r, o, i, l;
1218
1218
  if (ks(e)) {
1219
1219
  let a = e.getAttribute("action");
1220
- r = a ? He(a, t) : null, n = e.getAttribute("method") || Qt, o = Dn(e.getAttribute("enctype")) || en, i = new FormData(e);
1220
+ r = a ? He(a, t) : null, n = e.getAttribute("method") || en, o = Dn(e.getAttribute("enctype")) || tn, i = new FormData(e);
1221
1221
  } else if (Ss(e) || Cs(e) && (e.type === "submit" || e.type === "image")) {
1222
1222
  let a = e.form;
1223
1223
  if (a == null)
@@ -1225,7 +1225,7 @@ function Ls(e, t) {
1225
1225
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1226
1226
  );
1227
1227
  let s = e.getAttribute("formaction") || a.getAttribute("action");
1228
- if (r = s ? He(s, t) : null, n = e.getAttribute("formmethod") || a.getAttribute("method") || Qt, o = Dn(e.getAttribute("formenctype")) || Dn(a.getAttribute("enctype")) || en, i = new FormData(a, e), !Os()) {
1228
+ if (r = s ? He(s, t) : null, n = e.getAttribute("formmethod") || a.getAttribute("method") || en, o = Dn(e.getAttribute("formenctype")) || Dn(a.getAttribute("enctype")) || tn, i = new FormData(a, e), !Os()) {
1229
1229
  let { name: c, type: u, value: d } = e;
1230
1230
  if (u === "image") {
1231
1231
  let p = c ? `${c}.` : "";
@@ -1233,11 +1233,11 @@ function Ls(e, t) {
1233
1233
  } else c && i.append(c, d);
1234
1234
  }
1235
1235
  } else {
1236
- if (vn(e))
1236
+ if (bn(e))
1237
1237
  throw new Error(
1238
1238
  'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
1239
1239
  );
1240
- n = Qt, r = null, o = en, l = e;
1240
+ n = en, r = null, o = tn, l = e;
1241
1241
  }
1242
1242
  return i && o === "text/plain" && (l = i, i = void 0), { action: r, method: n.toLowerCase(), encType: o, formData: i, body: l };
1243
1243
  }
@@ -1358,7 +1358,7 @@ function hi() {
1358
1358
  ), e;
1359
1359
  }
1360
1360
  function Hs() {
1361
- let e = h.useContext(gn);
1361
+ let e = h.useContext(vn);
1362
1362
  return Sr(
1363
1363
  e,
1364
1364
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -1610,7 +1610,7 @@ var qs = h.forwardRef(
1610
1610
  children: s,
1611
1611
  ...c
1612
1612
  }, u) {
1613
- let d = It(l, { relative: c.relative }), p = ze(), f = h.useContext(gn), { navigator: m, basename: g } = h.useContext(Pe), v = f != null && // Conditional usage is OK here because the usage of a data router is static
1613
+ let d = It(l, { relative: c.relative }), p = ze(), f = h.useContext(vn), { navigator: m, basename: g } = h.useContext(Pe), v = f != null && // Conditional usage is OK here because the usage of a data router is static
1614
1614
  // eslint-disable-next-line react-hooks/rules-of-hooks
1615
1615
  tc(d) && a === !0, b = m.encodeLocation ? m.encodeLocation(d).pathname : d.pathname, y = p.pathname, w = f && f.navigation && f.navigation.location ? f.navigation.location.pathname : null;
1616
1616
  n || (y = y.toLowerCase(), w = w ? w.toLowerCase() : null, b = b.toLowerCase()), w && g && (w = He(w, g) || w);
@@ -1651,7 +1651,7 @@ var Ks = h.forwardRef(
1651
1651
  reloadDocument: r,
1652
1652
  replace: o,
1653
1653
  state: i,
1654
- method: l = Qt,
1654
+ method: l = en,
1655
1655
  action: a,
1656
1656
  onSubmit: s,
1657
1657
  relative: c,
@@ -1858,7 +1858,7 @@ const uc = (e, t) => {
1858
1858
  nextPart: e,
1859
1859
  validators: t,
1860
1860
  classGroupId: n
1861
- }), an = "-", io = [], fc = "arbitrary..", pc = (e) => {
1861
+ }), sn = "-", io = [], fc = "arbitrary..", pc = (e) => {
1862
1862
  const t = hc(e), {
1863
1863
  conflictingClassGroups: n,
1864
1864
  conflictingClassGroupModifiers: r
@@ -1867,7 +1867,7 @@ const uc = (e, t) => {
1867
1867
  getClassGroupId: (l) => {
1868
1868
  if (l.startsWith("[") && l.endsWith("]"))
1869
1869
  return mc(l);
1870
- const a = l.split(an), s = a[0] === "" && a.length > 1 ? 1 : 0;
1870
+ const a = l.split(sn), s = a[0] === "" && a.length > 1 ? 1 : 0;
1871
1871
  return ki(a, s, t);
1872
1872
  },
1873
1873
  getConflictingClassGroupIds: (l, a) => {
@@ -1889,7 +1889,7 @@ const uc = (e, t) => {
1889
1889
  const l = n.validators;
1890
1890
  if (l === null)
1891
1891
  return;
1892
- const a = t === 0 ? e.join(an) : e.slice(t).join(an), s = l.length;
1892
+ const a = t === 0 ? e.join(sn) : e.slice(t).join(sn), s = l.length;
1893
1893
  for (let c = 0; c < s; c++) {
1894
1894
  const u = l[c];
1895
1895
  if (u.validator(a))
@@ -1944,7 +1944,7 @@ const uc = (e, t) => {
1944
1944
  }
1945
1945
  }, Ci = (e, t) => {
1946
1946
  let n = e;
1947
- const r = t.split(an), o = r.length;
1947
+ const r = t.split(sn), o = r.length;
1948
1948
  for (let i = 0; i < o; i++) {
1949
1949
  const l = r[i];
1950
1950
  let a = n.nextPart.get(l);
@@ -2123,7 +2123,7 @@ const uc = (e, t) => {
2123
2123
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
2124
2124
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
2125
2125
  Nc.test(e) && !Mc.test(e)
2126
- ), Pi = () => !1, Hc = (e) => Ic.test(e), jc = (e) => Dc.test(e), Vc = (e) => !O(e) && !P(e), zc = (e) => vt(e, Fi, Pi), O = (e) => Ti.test(e), et = (e) => vt(e, Ni, Bc), Bn = (e) => vt(e, Kc, _), so = (e) => vt(e, Li, Pi), Wc = (e) => vt(e, Ai, jc), Ut = (e) => vt(e, Mi, Hc), P = (e) => Oi.test(e), $t = (e) => bt(e, Ni), Uc = (e) => bt(e, Yc), co = (e) => bt(e, Li), Gc = (e) => bt(e, Fi), qc = (e) => bt(e, Ai), Gt = (e) => bt(e, Mi, !0), vt = (e, t, n) => {
2126
+ ), Pi = () => !1, Hc = (e) => Ic.test(e), jc = (e) => Dc.test(e), Vc = (e) => !O(e) && !P(e), zc = (e) => vt(e, Fi, Pi), O = (e) => Ti.test(e), et = (e) => vt(e, Ni, Bc), Bn = (e) => vt(e, Kc, _), so = (e) => vt(e, Li, Pi), Wc = (e) => vt(e, Ai, jc), Gt = (e) => vt(e, Mi, Hc), P = (e) => Oi.test(e), $t = (e) => bt(e, Ni), Uc = (e) => bt(e, Yc), co = (e) => bt(e, Li), Gc = (e) => bt(e, Fi), qc = (e) => bt(e, Ai), qt = (e) => bt(e, Mi, !0), vt = (e, t, n) => {
2127
2127
  const r = Ti.exec(e);
2128
2128
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
2129
2129
  }, bt = (e, t, n = !1) => {
@@ -2171,7 +2171,7 @@ const uc = (e, t) => {
2171
2171
  m,
2172
2172
  P,
2173
2173
  O
2174
- ], $e = () => ["none", _, P, O], Vt = () => ["none", _, P, O], Nn = () => [_, P, O], zt = () => [st, "full", ...k()];
2174
+ ], $e = () => ["none", _, P, O], Vt = () => ["none", _, P, O], Mn = () => [_, P, O], zt = () => [st, "full", ...k()];
2175
2175
  return {
2176
2176
  cacheSize: 500,
2177
2177
  theme: {
@@ -3521,8 +3521,8 @@ const uc = (e, t) => {
3521
3521
  "",
3522
3522
  "none",
3523
3523
  u,
3524
- Gt,
3525
- Ut
3524
+ qt,
3525
+ Gt
3526
3526
  ]
3527
3527
  }],
3528
3528
  /**
@@ -3537,7 +3537,7 @@ const uc = (e, t) => {
3537
3537
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
3538
3538
  */
3539
3539
  "inset-shadow": [{
3540
- "inset-shadow": ["none", d, Gt, Ut]
3540
+ "inset-shadow": ["none", d, qt, Gt]
3541
3541
  }],
3542
3542
  /**
3543
3543
  * Inset Box Shadow Color
@@ -3604,7 +3604,7 @@ const uc = (e, t) => {
3604
3604
  * @see https://tailwindcss.com/docs/text-shadow
3605
3605
  */
3606
3606
  "text-shadow": [{
3607
- "text-shadow": ["none", p, Gt, Ut]
3607
+ "text-shadow": ["none", p, qt, Gt]
3608
3608
  }],
3609
3609
  /**
3610
3610
  * Text Shadow Color
@@ -3877,8 +3877,8 @@ const uc = (e, t) => {
3877
3877
  "",
3878
3878
  "none",
3879
3879
  f,
3880
- Gt,
3881
- Ut
3880
+ qt,
3881
+ Gt
3882
3882
  ]
3883
3883
  }],
3884
3884
  /**
@@ -4179,21 +4179,21 @@ const uc = (e, t) => {
4179
4179
  * @see https://tailwindcss.com/docs/skew
4180
4180
  */
4181
4181
  skew: [{
4182
- skew: Nn()
4182
+ skew: Mn()
4183
4183
  }],
4184
4184
  /**
4185
4185
  * Skew X
4186
4186
  * @see https://tailwindcss.com/docs/skew
4187
4187
  */
4188
4188
  "skew-x": [{
4189
- "skew-x": Nn()
4189
+ "skew-x": Mn()
4190
4190
  }],
4191
4191
  /**
4192
4192
  * Skew Y
4193
4193
  * @see https://tailwindcss.com/docs/skew
4194
4194
  */
4195
4195
  "skew-y": [{
4196
- "skew-y": Nn()
4196
+ "skew-y": Mn()
4197
4197
  }],
4198
4198
  /**
4199
4199
  * Transform
@@ -4844,7 +4844,7 @@ const or = (e = document) => {
4844
4844
  function Bi(e) {
4845
4845
  return Rr() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
4846
4846
  }
4847
- function bn(e) {
4847
+ function wn(e) {
4848
4848
  var t;
4849
4849
  if (typeof window > "u" || window.navigator == null) return !1;
4850
4850
  let n = (t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands;
@@ -4873,15 +4873,15 @@ We(function() {
4873
4873
  return Or() || cu();
4874
4874
  });
4875
4875
  We(function() {
4876
- return bn(/AppleWebKit/i) && !uu();
4876
+ return wn(/AppleWebKit/i) && !uu();
4877
4877
  });
4878
4878
  const uu = We(function() {
4879
- return bn(/Chrome/i);
4879
+ return wn(/Chrome/i);
4880
4880
  }), du = We(function() {
4881
- return bn(/Android/i);
4881
+ return wn(/Android/i);
4882
4882
  });
4883
4883
  We(function() {
4884
- return bn(/Firefox/i);
4884
+ return wn(/Firefox/i);
4885
4885
  });
4886
4886
  function Hi() {
4887
4887
  let e = I(/* @__PURE__ */ new Map()), t = q((o, i, l, a) => {
@@ -4988,7 +4988,7 @@ function Pr(e, t) {
4988
4988
  function gu(e) {
4989
4989
  return !(e.metaKey || !Or() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
4990
4990
  }
4991
- function sn(e) {
4991
+ function cn(e) {
4992
4992
  rt = !0, gu(e) && (Dt = "keyboard", Pr("keyboard", e));
4993
4993
  }
4994
4994
  function ke(e) {
@@ -5009,7 +5009,7 @@ function ar(e) {
5009
5009
  let r = t.HTMLElement.prototype.focus;
5010
5010
  t.HTMLElement.prototype.focus = function() {
5011
5011
  rt = !0, r.apply(this, arguments);
5012
- }, n.addEventListener("keydown", sn, !0), n.addEventListener("keyup", sn, !0), n.addEventListener("click", zi, !0), t.addEventListener("focus", Wi, !0), t.addEventListener("blur", Ui, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", ke, !0), n.addEventListener("pointermove", ke, !0), n.addEventListener("pointerup", ke, !0)) : process.env.NODE_ENV === "test" && (n.addEventListener("mousedown", ke, !0), n.addEventListener("mousemove", ke, !0), n.addEventListener("mouseup", ke, !0)), t.addEventListener("beforeunload", () => {
5012
+ }, n.addEventListener("keydown", cn, !0), n.addEventListener("keyup", cn, !0), n.addEventListener("click", zi, !0), t.addEventListener("focus", Wi, !0), t.addEventListener("blur", Ui, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", ke, !0), n.addEventListener("pointermove", ke, !0), n.addEventListener("pointerup", ke, !0)) : process.env.NODE_ENV === "test" && (n.addEventListener("mousedown", ke, !0), n.addEventListener("mousemove", ke, !0), n.addEventListener("mouseup", ke, !0)), t.addEventListener("beforeunload", () => {
5013
5013
  Gi(e);
5014
5014
  }, {
5015
5015
  once: !0
@@ -5019,7 +5019,7 @@ function ar(e) {
5019
5019
  }
5020
5020
  const Gi = (e, t) => {
5021
5021
  const n = tt(e), r = Qe(e);
5022
- t && r.removeEventListener("DOMContentLoaded", t), Ct.has(n) && (n.HTMLElement.prototype.focus = Ct.get(n).focus, r.removeEventListener("keydown", sn, !0), r.removeEventListener("keyup", sn, !0), r.removeEventListener("click", zi, !0), n.removeEventListener("focus", Wi, !0), n.removeEventListener("blur", Ui, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", ke, !0), r.removeEventListener("pointermove", ke, !0), r.removeEventListener("pointerup", ke, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", ke, !0), r.removeEventListener("mousemove", ke, !0), r.removeEventListener("mouseup", ke, !0)), Ct.delete(n));
5022
+ t && r.removeEventListener("DOMContentLoaded", t), Ct.has(n) && (n.HTMLElement.prototype.focus = Ct.get(n).focus, r.removeEventListener("keydown", cn, !0), r.removeEventListener("keyup", cn, !0), r.removeEventListener("click", zi, !0), n.removeEventListener("focus", Wi, !0), n.removeEventListener("blur", Ui, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", ke, !0), r.removeEventListener("pointermove", ke, !0), r.removeEventListener("pointerup", ke, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", ke, !0), r.removeEventListener("mousemove", ke, !0), r.removeEventListener("mouseup", ke, !0)), Ct.delete(n));
5023
5023
  };
5024
5024
  function vu(e) {
5025
5025
  const t = Qe(e);
@@ -5130,10 +5130,10 @@ function Eu(e) {
5130
5130
  }
5131
5131
  };
5132
5132
  }
5133
- let cn = !1, qt = 0;
5133
+ let un = !1, Kt = 0;
5134
5134
  function sr() {
5135
- cn = !0, setTimeout(() => {
5136
- cn = !1;
5135
+ un = !0, setTimeout(() => {
5136
+ un = !1;
5137
5137
  }, 50);
5138
5138
  }
5139
5139
  function uo(e) {
@@ -5141,8 +5141,8 @@ function uo(e) {
5141
5141
  }
5142
5142
  function $u() {
5143
5143
  if (!(typeof document > "u"))
5144
- return qt === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", uo) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", sr)), qt++, () => {
5145
- qt--, !(qt > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", uo) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", sr));
5144
+ return Kt === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", uo) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", sr)), Kt++, () => {
5145
+ Kt--, !(Kt > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", uo) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", sr));
5146
5146
  };
5147
5147
  }
5148
5148
  function Lr(e) {
@@ -5176,13 +5176,13 @@ function Lr(e) {
5176
5176
  }), n && n(!1), l(!1));
5177
5177
  }, m = {};
5178
5178
  return typeof PointerEvent < "u" ? (m.onPointerEnter = (g) => {
5179
- cn && g.pointerType === "mouse" || p(g, g.pointerType);
5179
+ un && g.pointerType === "mouse" || p(g, g.pointerType);
5180
5180
  }, m.onPointerLeave = (g) => {
5181
5181
  !o && g.currentTarget.contains(g.target) && f(g, g.pointerType);
5182
5182
  }) : process.env.NODE_ENV === "test" && (m.onTouchStart = () => {
5183
5183
  a.ignoreEmulatedMouseEvents = !0;
5184
5184
  }, m.onMouseEnter = (g) => {
5185
- !a.ignoreEmulatedMouseEvents && !cn && p(g, "mouse"), a.ignoreEmulatedMouseEvents = !1;
5185
+ !a.ignoreEmulatedMouseEvents && !un && p(g, "mouse"), a.ignoreEmulatedMouseEvents = !1;
5186
5186
  }, m.onMouseLeave = (g) => {
5187
5187
  !o && g.currentTarget.contains(g.target) && f(g, "mouse");
5188
5188
  }), {
@@ -5270,13 +5270,13 @@ function _t(e) {
5270
5270
  var t;
5271
5271
  return Ae.isServer ? null : e == null ? document : (t = e?.ownerDocument) != null ? t : document;
5272
5272
  }
5273
- function un(e) {
5273
+ function dn(e) {
5274
5274
  var t, n;
5275
5275
  return Ae.isServer ? null : e == null ? document : (n = (t = e?.getRootNode) == null ? void 0 : t.call(e)) != null ? n : document;
5276
5276
  }
5277
5277
  function Ki(e) {
5278
5278
  var t, n;
5279
- return (n = (t = un(e)) == null ? void 0 : t.activeElement) != null ? n : null;
5279
+ return (n = (t = dn(e)) == null ? void 0 : t.activeElement) != null ? n : null;
5280
5280
  }
5281
5281
  function Ru(e) {
5282
5282
  return Ki(e) === e;
@@ -5327,7 +5327,7 @@ function lt() {
5327
5327
  return oe(() => () => e.dispose(), [e]), e;
5328
5328
  }
5329
5329
  let re = (e, t) => {
5330
- Ae.isServer ? oe(e, t) : hn(e, t);
5330
+ Ae.isServer ? oe(e, t) : gn(e, t);
5331
5331
  };
5332
5332
  function at(e) {
5333
5333
  let t = I(e);
@@ -5369,7 +5369,7 @@ function Ce(e) {
5369
5369
  return le(() => e, Object.values(e));
5370
5370
  }
5371
5371
  let Pu = ne(void 0);
5372
- function wn() {
5372
+ function yn() {
5373
5373
  return Y(Pu);
5374
5374
  }
5375
5375
  function cr(...e) {
@@ -5391,23 +5391,23 @@ function ce() {
5391
5391
  function Lu({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: i = !0, name: l, mergeRefs: a }) {
5392
5392
  a = a ?? Fu;
5393
5393
  let s = Zi(t, e);
5394
- if (i) return Kt(s, n, r, l, a);
5394
+ if (i) return Yt(s, n, r, l, a);
5395
5395
  let c = o ?? 0;
5396
5396
  if (c & 2) {
5397
5397
  let { static: u = !1, ...d } = s;
5398
- if (u) return Kt(d, n, r, l, a);
5398
+ if (u) return Yt(d, n, r, l, a);
5399
5399
  }
5400
5400
  if (c & 1) {
5401
5401
  let { unmount: u = !0, ...d } = s;
5402
5402
  return he(u ? 0 : 1, { 0() {
5403
5403
  return null;
5404
5404
  }, 1() {
5405
- return Kt({ ...d, hidden: !0, style: { display: "none" } }, n, r, l, a);
5405
+ return Yt({ ...d, hidden: !0, style: { display: "none" } }, n, r, l, a);
5406
5406
  } });
5407
5407
  }
5408
- return Kt(s, n, r, l, a);
5408
+ return Yt(s, n, r, l, a);
5409
5409
  }
5410
- function Kt(e, t = {}, n, r, o) {
5410
+ function Yt(e, t = {}, n, r, o) {
5411
5411
  let { as: i = n, children: l, refName: a = "ref", ...s } = zn(e, ["unmount", "static"]), c = e.ref !== void 0 ? { [a]: e.ref } : {}, u = typeof l == "function" ? l(t) : l;
5412
5412
  "className" in s && s.className && typeof s.className == "function" && (s.className = s.className(t)), s["aria-labelledby"] && s["aria-labelledby"] === s.id && (s["aria-labelledby"] = void 0);
5413
5413
  let d = {};
@@ -5499,13 +5499,13 @@ function Mu(e) {
5499
5499
  let Iu = "button";
5500
5500
  function Du(e, t) {
5501
5501
  var n;
5502
- let r = wn(), { disabled: o = r || !1, autoFocus: i = !1, ...l } = e, { isFocusVisible: a, focusProps: s } = Ar({ autoFocus: i }), { isHovered: c, hoverProps: u } = Lr({ isDisabled: o }), { pressed: d, pressProps: p } = Fr({ disabled: o }), f = Pt({ ref: t, type: (n = l.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, u, p), m = Ce({ disabled: o, hover: c, focus: a, active: d, autofocus: i });
5502
+ let r = yn(), { disabled: o = r || !1, autoFocus: i = !1, ...l } = e, { isFocusVisible: a, focusProps: s } = Ar({ autoFocus: i }), { isHovered: c, hoverProps: u } = Lr({ isDisabled: o }), { pressed: d, pressProps: p } = Fr({ disabled: o }), f = Pt({ ref: t, type: (n = l.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, u, p), m = Ce({ disabled: o, hover: c, focus: a, active: d, autofocus: i });
5503
5503
  return ce()({ ourProps: f, theirProps: l, slot: m, defaultTag: Iu, name: "Button" });
5504
5504
  }
5505
5505
  let _u = ae(Du);
5506
5506
  function Bu(e, t, n) {
5507
5507
  let [r, o] = X(n), i = e !== void 0, l = I(i), a = I(!1), s = I(!1);
5508
- return i && !l.current && !a.current ? (a.current = !0, l.current = i, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !i && l.current && !s.current && (s.current = !0, l.current = i, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [i ? e : r, B((c) => (i || ln(() => o(c)), t?.(c)))];
5508
+ return i && !l.current && !a.current ? (a.current = !0, l.current = i, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !i && l.current && !s.current && (s.current = !0, l.current = i, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [i ? e : r, B((c) => (i || an(() => o(c)), t?.(c)))];
5509
5509
  }
5510
5510
  function Hu(e) {
5511
5511
  let [t] = X(e);
@@ -5577,17 +5577,17 @@ function tl() {
5577
5577
  function nl(e) {
5578
5578
  return typeof e != "object" || e === null ? !1 : "nodeType" in e;
5579
5579
  }
5580
- function yn(e) {
5580
+ function xn(e) {
5581
5581
  return nl(e) && "tagName" in e;
5582
5582
  }
5583
5583
  function Ue(e) {
5584
- return yn(e) && "accessKey" in e;
5584
+ return xn(e) && "accessKey" in e;
5585
5585
  }
5586
5586
  function Ye(e) {
5587
- return yn(e) && "tabIndex" in e;
5587
+ return xn(e) && "tabIndex" in e;
5588
5588
  }
5589
5589
  function Zu(e) {
5590
- return yn(e) && "style" in e;
5590
+ return xn(e) && "style" in e;
5591
5591
  }
5592
5592
  function Xu(e) {
5593
5593
  return Ue(e) && e.nodeName === "IFRAME";
@@ -5605,7 +5605,7 @@ function ol(e) {
5605
5605
  return Ue(e) && e.nodeName === "LEGEND";
5606
5606
  }
5607
5607
  function Qu(e) {
5608
- return yn(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5608
+ return xn(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5609
5609
  }
5610
5610
  function ur(e) {
5611
5611
  let t = e.parentElement, n = null;
@@ -5652,7 +5652,7 @@ function td() {
5652
5652
  }
5653
5653
  let nd = "p";
5654
5654
  function rd(e, t) {
5655
- let n = je(), r = wn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a = ge(t);
5655
+ let n = je(), r = yn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a = ge(t);
5656
5656
  re(() => l.register(o), [o, l.register]);
5657
5657
  let s = Ce({ ...l.slot, disabled: r || !1 }), c = { ref: a, ...l.props, id: o };
5658
5658
  return ce()({ ourProps: c, theirProps: i, slot: s, defaultTag: nd, name: l.name || "Description" });
@@ -5660,10 +5660,10 @@ function rd(e, t) {
5660
5660
  let od = ae(rd);
5661
5661
  Object.assign(od, {});
5662
5662
  var ee = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(ee || {});
5663
- let xn = ne(null);
5664
- xn.displayName = "LabelContext";
5663
+ let En = ne(null);
5664
+ En.displayName = "LabelContext";
5665
5665
  function sl() {
5666
- let e = Y(xn);
5666
+ let e = Y(En);
5667
5667
  if (e === null) {
5668
5668
  let t = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
5669
5669
  throw Error.captureStackTrace && Error.captureStackTrace(t, sl), t;
@@ -5672,7 +5672,7 @@ function sl() {
5672
5672
  }
5673
5673
  function cl(e) {
5674
5674
  var t, n, r;
5675
- let o = (n = (t = Y(xn)) == null ? void 0 : t.value) != null ? n : void 0;
5675
+ let o = (n = (t = Y(En)) == null ? void 0 : t.value) != null ? n : void 0;
5676
5676
  return ((r = e?.length) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
5677
5677
  }
5678
5678
  function id({ inherit: e = !1 } = {}) {
@@ -5682,13 +5682,13 @@ function id({ inherit: e = !1 } = {}) {
5682
5682
  let u = c.slice(), d = u.indexOf(s);
5683
5683
  return d !== -1 && u.splice(d, 1), u;
5684
5684
  }))), a = le(() => ({ register: l, slot: i.slot, name: i.name, props: i.props, value: i.value }), [l, i.slot, i.name, i.props, i.value]);
5685
- return L.createElement(xn.Provider, { value: a }, i.children);
5685
+ return L.createElement(En.Provider, { value: a }, i.children);
5686
5686
  }, [r])];
5687
5687
  }
5688
5688
  let ld = "label";
5689
5689
  function ad(e, t) {
5690
5690
  var n;
5691
- let r = je(), o = sl(), i = tl(), l = wn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d = ge(t);
5691
+ let r = je(), o = sl(), i = tl(), l = yn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d = ge(t);
5692
5692
  re(() => o.register(a), [a, o.register]);
5693
5693
  let p = B((g) => {
5694
5694
  let v = g.currentTarget;
@@ -5851,7 +5851,7 @@ let xd = { 0(e, t) {
5851
5851
  }
5852
5852
  };
5853
5853
  const Ir = new dl(() => Ed.new());
5854
- var Yt = { exports: {} }, qn = {};
5854
+ var Zt = { exports: {} }, qn = {};
5855
5855
  var vo;
5856
5856
  function $d() {
5857
5857
  if (vo) return qn;
@@ -5958,7 +5958,7 @@ function Sd() {
5958
5958
  }
5959
5959
  var wo;
5960
5960
  function kd() {
5961
- return wo || (wo = 1, process.env.NODE_ENV === "production" ? Yt.exports = $d() : Yt.exports = Sd()), Yt.exports;
5961
+ return wo || (wo = 1, process.env.NODE_ENV === "production" ? Zt.exports = $d() : Zt.exports = Sd()), Zt.exports;
5962
5962
  }
5963
5963
  var Cd = kd();
5964
5964
  function ve(e, t, n = ml) {
@@ -6069,11 +6069,11 @@ function yl(e, t = (n) => n) {
6069
6069
  return l & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : l & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
6070
6070
  });
6071
6071
  }
6072
- function Dd(e, t, n = e === null ? document.body : un(e)) {
6072
+ function Dd(e, t, n = e === null ? document.body : dn(e)) {
6073
6073
  return _d(bl(n), t, { relativeTo: e });
6074
6074
  }
6075
6075
  function _d(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
6076
- let i = Array.isArray(e) ? e.length > 0 ? un(e[0]) : document : un(e), l = Array.isArray(e) ? n ? yl(e) : e : t & 64 ? Fd(e) : bl(e);
6076
+ let i = Array.isArray(e) ? e.length > 0 ? dn(e[0]) : document : dn(e), l = Array.isArray(e) ? n ? yl(e) : e : t & 64 ? Fd(e) : bl(e);
6077
6077
  o.length > 0 && l.length > 1 && (l = l.filter((f) => !o.some((m) => m != null && "current" in m ? m?.current === f : m === f))), r = r ?? i?.activeElement;
6078
6078
  let a = (() => {
6079
6079
  if (t & 5) return 1;
@@ -6159,7 +6159,7 @@ function mr(...e) {
6159
6159
  return le(() => _t(...e), [...e]);
6160
6160
  }
6161
6161
  var Vd = ((e) => (e[e.Ignore = 0] = "Ignore", e[e.Select = 1] = "Select", e[e.Close = 2] = "Close", e))(Vd || {});
6162
- const Zt = { Ignore: { kind: 0 }, Select: (e) => ({ kind: 1, target: e }), Close: { kind: 2 } }, zd = 200, So = 5;
6162
+ const Xt = { Ignore: { kind: 0 }, Select: (e) => ({ kind: 1, target: e }), Close: { kind: 2 } }, zd = 200, So = 5;
6163
6163
  function Wd(e, { trigger: t, action: n, close: r, select: o }) {
6164
6164
  let i = I(null), l = I(null), a = I(null);
6165
6165
  ct(e && t !== null, "pointerdown", (s) => {
@@ -6390,7 +6390,7 @@ function of(e) {
6390
6390
  var t, n;
6391
6391
  return ((n = (t = e.getAnimations) == null ? void 0 : t.call(e)) != null ? n : []).some((r) => r instanceof CSSTransition && r.playState !== "finished");
6392
6392
  }
6393
- function En() {
6393
+ function $n() {
6394
6394
  return typeof window < "u";
6395
6395
  }
6396
6396
  function wt(e) {
@@ -6405,16 +6405,16 @@ function Ie(e) {
6405
6405
  return (t = ($l(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
6406
6406
  }
6407
6407
  function $l(e) {
6408
- return En() ? e instanceof Node || e instanceof we(e).Node : !1;
6408
+ return $n() ? e instanceof Node || e instanceof we(e).Node : !1;
6409
6409
  }
6410
6410
  function fe(e) {
6411
- return En() ? e instanceof Element || e instanceof we(e).Element : !1;
6411
+ return $n() ? e instanceof Element || e instanceof we(e).Element : !1;
6412
6412
  }
6413
6413
  function Me(e) {
6414
- return En() ? e instanceof HTMLElement || e instanceof we(e).HTMLElement : !1;
6414
+ return $n() ? e instanceof HTMLElement || e instanceof we(e).HTMLElement : !1;
6415
6415
  }
6416
6416
  function Oo(e) {
6417
- return !En() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof we(e).ShadowRoot;
6417
+ return !$n() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof we(e).ShadowRoot;
6418
6418
  }
6419
6419
  const lf = /* @__PURE__ */ new Set(["inline", "contents"]);
6420
6420
  function Bt(e) {
@@ -6431,7 +6431,7 @@ function sf(e) {
6431
6431
  return af.has(wt(e));
6432
6432
  }
6433
6433
  const cf = [":popover-open", ":modal"];
6434
- function $n(e) {
6434
+ function Sn(e) {
6435
6435
  return cf.some((t) => {
6436
6436
  try {
6437
6437
  return e.matches(t);
@@ -6450,7 +6450,7 @@ function pf(e) {
6450
6450
  for (; Me(t) && !pt(t); ) {
6451
6451
  if (Hr(t))
6452
6452
  return t;
6453
- if ($n(t))
6453
+ if (Sn(t))
6454
6454
  return null;
6455
6455
  t = Xe(t);
6456
6456
  }
@@ -6466,7 +6466,7 @@ function pt(e) {
6466
6466
  function Oe(e) {
6467
6467
  return we(e).getComputedStyle(e);
6468
6468
  }
6469
- function Sn(e) {
6469
+ function kn(e) {
6470
6470
  return fe(e) ? {
6471
6471
  scrollLeft: e.scrollLeft,
6472
6472
  scrollTop: e.scrollTop
@@ -6514,7 +6514,7 @@ function hf() {
6514
6514
  return n + "/" + r;
6515
6515
  }).join(" ") : navigator.userAgent;
6516
6516
  }
6517
- const ot = Math.min, ue = Math.max, At = Math.round, Xt = Math.floor, Fe = (e) => ({
6517
+ const ot = Math.min, ue = Math.max, At = Math.round, Jt = Math.floor, Fe = (e) => ({
6518
6518
  x: e,
6519
6519
  y: e
6520
6520
  }), gf = {
@@ -6555,10 +6555,10 @@ function wf(e, t, n) {
6555
6555
  n === void 0 && (n = !1);
6556
6556
  const r = Ht(e), o = Rl(e), i = Cl(o);
6557
6557
  let l = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
6558
- return t.reference[i] > t.floating[i] && (l = dn(l)), [l, dn(l)];
6558
+ return t.reference[i] > t.floating[i] && (l = fn(l)), [l, fn(l)];
6559
6559
  }
6560
6560
  function yf(e) {
6561
- const t = dn(e);
6561
+ const t = fn(e);
6562
6562
  return [gr(e), t, gr(t)];
6563
6563
  }
6564
6564
  function gr(e) {
@@ -6582,7 +6582,7 @@ function Sf(e, t, n, r) {
6582
6582
  let i = $f(Je(e), n === "start", r);
6583
6583
  return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(gr)))), i;
6584
6584
  }
6585
- function dn(e) {
6585
+ function fn(e) {
6586
6586
  return e.replace(/left|right|bottom|top/g, (t) => gf[t]);
6587
6587
  }
6588
6588
  function kf(e) {
@@ -6602,7 +6602,7 @@ function Cf(e) {
6602
6602
  left: e
6603
6603
  };
6604
6604
  }
6605
- function fn(e) {
6605
+ function pn(e) {
6606
6606
  const {
6607
6607
  x: t,
6608
6608
  y: n,
@@ -6729,7 +6729,7 @@ const Rf = async (e, t, n) => {
6729
6729
  middlewareData: f
6730
6730
  };
6731
6731
  };
6732
- async function kn(e, t) {
6732
+ async function Cn(e, t) {
6733
6733
  var n;
6734
6734
  t === void 0 && (t = {});
6735
6735
  const {
@@ -6745,7 +6745,7 @@ async function kn(e, t) {
6745
6745
  elementContext: d = "floating",
6746
6746
  altBoundary: p = !1,
6747
6747
  padding: f = 0
6748
- } = yt(t, e), m = Cf(f), v = a[p ? d === "floating" ? "reference" : "floating" : d], b = fn(await i.getClippingRect({
6748
+ } = yt(t, e), m = Cf(f), v = a[p ? d === "floating" ? "reference" : "floating" : d], b = pn(await i.getClippingRect({
6749
6749
  element: (n = await (i.isElement == null ? void 0 : i.isElement(v))) == null || n ? v : v.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(a.floating)),
6750
6750
  boundary: c,
6751
6751
  rootBoundary: u,
@@ -6761,7 +6761,7 @@ async function kn(e, t) {
6761
6761
  } : {
6762
6762
  x: 1,
6763
6763
  y: 1
6764
- }, x = fn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6764
+ }, x = pn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6765
6765
  elements: a,
6766
6766
  rect: y,
6767
6767
  offsetParent: w,
@@ -6798,9 +6798,9 @@ const Tf = function(e) {
6798
6798
  } = yt(e, t);
6799
6799
  if ((n = i.arrow) != null && n.alignmentOffset)
6800
6800
  return {};
6801
- const b = Je(o), y = _e(a), w = Je(a) === a, $ = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), x = p || (w || !g ? [dn(a)] : yf(a)), T = m !== "none";
6801
+ const b = Je(o), y = _e(a), w = Je(a) === a, $ = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), x = p || (w || !g ? [fn(a)] : yf(a)), T = m !== "none";
6802
6802
  !p && T && x.push(...Sf(a, g, m, $));
6803
- const R = [a, ...x], k = await kn(t, v), A = [];
6803
+ const R = [a, ...x], k = await Cn(t, v), A = [];
6804
6804
  let C = ((r = i.flip) == null ? void 0 : r.overflows) || [];
6805
6805
  if (u && A.push(k[b]), d) {
6806
6806
  const j = wf(o, l, $);
@@ -6933,7 +6933,7 @@ const Lf = function(e) {
6933
6933
  } = yt(e, t), c = {
6934
6934
  x: n,
6935
6935
  y: r
6936
- }, u = await kn(t, s), d = _e(Je(o)), p = kl(d);
6936
+ }, u = await Cn(t, s), d = _e(Je(o)), p = kl(d);
6937
6937
  let f = c[p], m = c[d];
6938
6938
  if (i) {
6939
6939
  const v = p === "y" ? "top" : "left", b = p === "y" ? "bottom" : "right", y = f + u[v], w = f - u[b];
@@ -6976,7 +6976,7 @@ const Lf = function(e) {
6976
6976
  apply: s = () => {
6977
6977
  },
6978
6978
  ...c
6979
- } = yt(e, t), u = await kn(t, c), d = Je(o), p = Ht(o), f = _e(o) === "y", {
6979
+ } = yt(e, t), u = await Cn(t, c), d = Je(o), p = Ht(o), f = _e(o) === "y", {
6980
6980
  width: m,
6981
6981
  height: g
6982
6982
  } = i.floating;
@@ -7056,19 +7056,19 @@ function it(e, t, n, r) {
7056
7056
  s *= v.x, c *= v.y, u *= v.x, d *= v.y, s += w, c += $, m = we(g), g = hr(m);
7057
7057
  }
7058
7058
  }
7059
- return fn({
7059
+ return pn({
7060
7060
  width: u,
7061
7061
  height: d,
7062
7062
  x: s,
7063
7063
  y: c
7064
7064
  });
7065
7065
  }
7066
- function Cn(e, t) {
7067
- const n = Sn(e).scrollLeft;
7066
+ function Rn(e, t) {
7067
+ const n = kn(e).scrollLeft;
7068
7068
  return t ? t.left + n : it(Ie(e)).left + n;
7069
7069
  }
7070
7070
  function Pl(e, t) {
7071
- const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Cn(e, n), o = n.top + t.scrollTop;
7071
+ const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Rn(e, n), o = n.top + t.scrollTop;
7072
7072
  return {
7073
7073
  x: r,
7074
7074
  y: o
@@ -7081,7 +7081,7 @@ function If(e) {
7081
7081
  offsetParent: r,
7082
7082
  strategy: o
7083
7083
  } = e;
7084
- const i = o === "fixed", l = Ie(r), a = t ? $n(t.floating) : !1;
7084
+ const i = o === "fixed", l = Ie(r), a = t ? Sn(t.floating) : !1;
7085
7085
  if (r === l || a && i)
7086
7086
  return n;
7087
7087
  let s = {
@@ -7089,7 +7089,7 @@ function If(e) {
7089
7089
  scrollTop: 0
7090
7090
  }, c = Fe(1);
7091
7091
  const u = Fe(0), d = Me(r);
7092
- if ((d || !d && !i) && ((wt(r) !== "body" || Bt(l)) && (s = Sn(r)), Me(r))) {
7092
+ if ((d || !d && !i) && ((wt(r) !== "body" || Bt(l)) && (s = kn(r)), Me(r))) {
7093
7093
  const f = it(r);
7094
7094
  c = dt(r), u.x = f.x + r.clientLeft, u.y = f.y + r.clientTop;
7095
7095
  }
@@ -7105,8 +7105,8 @@ function Df(e) {
7105
7105
  return Array.from(e.getClientRects());
7106
7106
  }
7107
7107
  function _f(e) {
7108
- const t = Ie(e), n = Sn(e), r = e.ownerDocument.body, o = ue(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = ue(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
7109
- let l = -n.scrollLeft + Cn(e);
7108
+ const t = Ie(e), n = kn(e), r = e.ownerDocument.body, o = ue(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = ue(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
7109
+ let l = -n.scrollLeft + Rn(e);
7110
7110
  const a = -n.scrollTop;
7111
7111
  return Oe(r).direction === "rtl" && (l += ue(t.clientWidth, r.clientWidth) - o), {
7112
7112
  width: o,
@@ -7124,7 +7124,7 @@ function Bf(e, t) {
7124
7124
  const u = jr();
7125
7125
  (!u || u && t === "fixed") && (a = o.offsetLeft, s = o.offsetTop);
7126
7126
  }
7127
- const c = Cn(r);
7127
+ const c = Rn(r);
7128
7128
  if (c <= 0) {
7129
7129
  const u = r.ownerDocument, d = u.body, p = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, m = Math.abs(r.clientWidth - d.clientWidth - f);
7130
7130
  m <= No && (i -= m);
@@ -7163,7 +7163,7 @@ function Mo(e, t, n) {
7163
7163
  height: t.height
7164
7164
  };
7165
7165
  }
7166
- return fn(r);
7166
+ return pn(r);
7167
7167
  }
7168
7168
  function Ll(e, t) {
7169
7169
  const n = Xe(e);
@@ -7189,7 +7189,7 @@ function zf(e) {
7189
7189
  rootBoundary: r,
7190
7190
  strategy: o
7191
7191
  } = e;
7192
- const l = [...n === "clippingAncestors" ? $n(t) ? [] : Vf(t, this._c) : [].concat(n), r], a = l[0], s = l.reduce((c, u) => {
7192
+ const l = [...n === "clippingAncestors" ? Sn(t) ? [] : Vf(t, this._c) : [].concat(n), r], a = l[0], s = l.reduce((c, u) => {
7193
7193
  const d = Mo(t, u, o);
7194
7194
  return c.top = ue(d.top, c.top), c.right = ot(d.right, c.right), c.bottom = ot(d.bottom, c.bottom), c.left = ue(d.left, c.left), c;
7195
7195
  }, Mo(t, a, o));
@@ -7218,10 +7218,10 @@ function Uf(e, t, n) {
7218
7218
  };
7219
7219
  const s = Fe(0);
7220
7220
  function c() {
7221
- s.x = Cn(o);
7221
+ s.x = Rn(o);
7222
7222
  }
7223
7223
  if (r || !r && !i)
7224
- if ((wt(t) !== "body" || Bt(o)) && (a = Sn(t)), r) {
7224
+ if ((wt(t) !== "body" || Bt(o)) && (a = kn(t)), r) {
7225
7225
  const f = it(t, !0, i, t);
7226
7226
  s.x = f.x + t.clientLeft, s.y = f.y + t.clientTop;
7227
7227
  } else o && c();
@@ -7247,7 +7247,7 @@ function Io(e, t) {
7247
7247
  }
7248
7248
  function Al(e, t) {
7249
7249
  const n = we(e);
7250
- if ($n(e))
7250
+ if (Sn(e))
7251
7251
  return n;
7252
7252
  if (!Me(e)) {
7253
7253
  let o = Xe(e);
@@ -7310,7 +7310,7 @@ function Yf(e, t) {
7310
7310
  } = c;
7311
7311
  if (a || t(), !p || !f)
7312
7312
  return;
7313
- const m = Xt(d), g = Xt(o.clientWidth - (u + p)), v = Xt(o.clientHeight - (d + f)), b = Xt(u), w = {
7313
+ const m = Jt(d), g = Jt(o.clientWidth - (u + p)), v = Jt(o.clientHeight - (d + f)), b = Jt(u), w = {
7314
7314
  rootMargin: -m + "px " + -g + "px " + -v + "px " + -b + "px",
7315
7315
  threshold: ue(0, ot(1, s)) || 1
7316
7316
  };
@@ -7375,7 +7375,7 @@ function Zf(e, t, n, r) {
7375
7375
  }), d?.(), (b = f) == null || b.disconnect(), f = null, s && cancelAnimationFrame(m);
7376
7376
  };
7377
7377
  }
7378
- const Zn = kn, Xf = Lf, Jf = Af, Qf = Tf, ep = Ff, tp = (e, t, n) => {
7378
+ const Zn = Cn, Xf = Lf, Jf = Af, Qf = Tf, ep = Ff, tp = (e, t, n) => {
7379
7379
  const r = /* @__PURE__ */ new Map(), o = {
7380
7380
  platform: Kf,
7381
7381
  ...n
@@ -7389,8 +7389,8 @@ const Zn = kn, Xf = Lf, Jf = Af, Qf = Tf, ep = Ff, tp = (e, t, n) => {
7389
7389
  });
7390
7390
  };
7391
7391
  var np = typeof document < "u", rp = function() {
7392
- }, tn = np ? hn : rp;
7393
- function pn(e, t) {
7392
+ }, nn = np ? gn : rp;
7393
+ function mn(e, t) {
7394
7394
  if (e === t)
7395
7395
  return !0;
7396
7396
  if (typeof e != typeof t)
@@ -7402,7 +7402,7 @@ function pn(e, t) {
7402
7402
  if (Array.isArray(e)) {
7403
7403
  if (n = e.length, n !== t.length) return !1;
7404
7404
  for (r = n; r-- !== 0; )
7405
- if (!pn(e[r], t[r]))
7405
+ if (!mn(e[r], t[r]))
7406
7406
  return !1;
7407
7407
  return !0;
7408
7408
  }
@@ -7413,7 +7413,7 @@ function pn(e, t) {
7413
7413
  return !1;
7414
7414
  for (r = n; r-- !== 0; ) {
7415
7415
  const i = o[r];
7416
- if (!(i === "_owner" && e.$$typeof) && !pn(e[i], t[i]))
7416
+ if (!(i === "_owner" && e.$$typeof) && !mn(e[i], t[i]))
7417
7417
  return !1;
7418
7418
  }
7419
7419
  return !0;
@@ -7429,7 +7429,7 @@ function Do(e, t) {
7429
7429
  }
7430
7430
  function Xn(e) {
7431
7431
  const t = h.useRef(e);
7432
- return tn(() => {
7432
+ return nn(() => {
7433
7433
  t.current = e;
7434
7434
  }), t;
7435
7435
  }
@@ -7455,7 +7455,7 @@ function op(e) {
7455
7455
  middlewareData: {},
7456
7456
  isPositioned: !1
7457
7457
  }), [p, f] = h.useState(r);
7458
- pn(p, r) || f(r);
7458
+ mn(p, r) || f(r);
7459
7459
  const [m, g] = h.useState(null), [v, b] = h.useState(null), y = h.useCallback((S) => {
7460
7460
  S !== T.current && (T.current = S, g(S));
7461
7461
  }, []), w = h.useCallback((S) => {
@@ -7477,21 +7477,21 @@ function op(e) {
7477
7477
  // setting it to `true` when `open === false` (must be specified).
7478
7478
  isPositioned: V.current !== !1
7479
7479
  };
7480
- j.current && !pn(k.current, Z) && (k.current = Z, on.flushSync(() => {
7480
+ j.current && !mn(k.current, Z) && (k.current = Z, ln.flushSync(() => {
7481
7481
  d(Z);
7482
7482
  }));
7483
7483
  });
7484
7484
  }, [p, t, n, N, V]);
7485
- tn(() => {
7485
+ nn(() => {
7486
7486
  c === !1 && k.current.isPositioned && (k.current.isPositioned = !1, d((S) => ({
7487
7487
  ...S,
7488
7488
  isPositioned: !1
7489
7489
  })));
7490
7490
  }, [c]);
7491
7491
  const j = h.useRef(!1);
7492
- tn(() => (j.current = !0, () => {
7492
+ nn(() => (j.current = !0, () => {
7493
7493
  j.current = !1;
7494
- }), []), tn(() => {
7494
+ }), []), nn(() => {
7495
7495
  if ($ && (T.current = $), x && (R.current = x), $ && x) {
7496
7496
  if (C.current)
7497
7497
  return C.current($, x, W);
@@ -7563,7 +7563,7 @@ function Dl(e) {
7563
7563
  return t.current == null ? void 0 : t.current(...r);
7564
7564
  }, []);
7565
7565
  }
7566
- var vr = typeof document < "u" ? hn : oe;
7566
+ var vr = typeof document < "u" ? gn : oe;
7567
7567
  let _o = !1, up = 0;
7568
7568
  const Bo = () => (
7569
7569
  // Ensure the id is unique with multiple independent versions of Floating UI
@@ -7815,7 +7815,7 @@ const kp = (e) => ({
7815
7815
  }), T = ue(0, $.top), R = w.y + T, C = (m.scrollHeight > m.clientHeight ? (N) => N : At)(ue(0, m.scrollHeight + (v && y || b ? g * 2 : 0) - T - ue(0, $.bottom)));
7816
7816
  if (m.style.maxHeight = C + "px", m.scrollTop = T, o) {
7817
7817
  const N = m.offsetHeight < f.offsetHeight * ot(a, n.current.length) - 1 || x.top >= -s || x.bottom >= -s;
7818
- on.flushSync(() => o(N));
7818
+ ln.flushSync(() => o(N));
7819
7819
  }
7820
7820
  return r && (r.current = await Zn(Vo({
7821
7821
  ...w,
@@ -7841,7 +7841,7 @@ function Cp(e, t) {
7841
7841
  if (g.ctrlKey || !m || i.current == null)
7842
7842
  return;
7843
7843
  const v = g.deltaY, b = i.current.top >= -0.5, y = i.current.bottom >= -0.5, w = m.scrollHeight - m.clientHeight, $ = v < 0 ? -1 : 1, x = v < 0 ? "max" : "min";
7844
- m.scrollHeight <= m.clientHeight || (!b && v > 0 || !y && v < 0 ? (g.preventDefault(), on.flushSync(() => {
7844
+ m.scrollHeight <= m.clientHeight || (!b && v > 0 || !y && v < 0 ? (g.preventDefault(), ln.flushSync(() => {
7845
7845
  s((T) => T + Math[x](v, w * $));
7846
7846
  })) : /firefox/i.test(hf()) && (m.scrollTop += v));
7847
7847
  }
@@ -7870,7 +7870,7 @@ function Cp(e, t) {
7870
7870
  if (!(!i.current || !f || !c.current)) {
7871
7871
  if (u.current !== null) {
7872
7872
  const m = f.scrollTop - u.current;
7873
- (i.current.bottom < -0.5 && m < -1 || i.current.top < -0.5 && m > 1) && on.flushSync(() => s((g) => g + m));
7873
+ (i.current.bottom < -0.5 && m < -1 || i.current.top < -0.5 && m > 1) && ln.flushSync(() => s((g) => g + m));
7874
7874
  }
7875
7875
  requestAnimationFrame(() => {
7876
7876
  u.current = f.scrollTop;
@@ -8028,23 +8028,23 @@ function Bl(e, t) {
8028
8028
  let [n, r] = X(t);
8029
8029
  return !e && n !== t && r(t), e ? n : t;
8030
8030
  }
8031
- let Rn = ne(null);
8032
- Rn.displayName = "OpenClosedContext";
8031
+ let Tn = ne(null);
8032
+ Tn.displayName = "OpenClosedContext";
8033
8033
  var pe = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(pe || {});
8034
- function Tn() {
8035
- return Y(Rn);
8034
+ function On() {
8035
+ return Y(Tn);
8036
8036
  }
8037
8037
  function Wr({ value: e, children: t }) {
8038
- return L.createElement(Rn.Provider, { value: e }, t);
8038
+ return L.createElement(Tn.Provider, { value: e }, t);
8039
8039
  }
8040
8040
  function Ip({ children: e }) {
8041
- return L.createElement(Rn.Provider, { value: null }, e);
8041
+ return L.createElement(Tn.Provider, { value: null }, e);
8042
8042
  }
8043
8043
  function Dp(e) {
8044
8044
  throw new Error("Unexpected object: " + e);
8045
8045
  }
8046
8046
  var te = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(te || {});
8047
- function Jt(e, t) {
8047
+ function Qt(e, t) {
8048
8048
  let n = t.resolveItems();
8049
8049
  if (n.length <= 0) return null;
8050
8050
  let r = t.resolveActiveIndex(), o = r ?? -1;
@@ -8126,7 +8126,7 @@ function Wp(e, t) {
8126
8126
  return L.createElement(Vl.Provider, { value: n }, i({ ourProps: o, theirProps: r, defaultTag: zp, name: "Popover.Group" }));
8127
8127
  }
8128
8128
  let Up = ne(null), Gp = ae(Vp), qp = ae(Wp), Kp = Object.assign(Gp, { Group: qp });
8129
- const nn = { Idle: { kind: "Idle" }, Tracked: (e) => ({ kind: "Tracked", position: e }), Moved: { kind: "Moved" } };
8129
+ const rn = { Idle: { kind: "Idle" }, Tracked: (e) => ({ kind: "Tracked", position: e }), Moved: { kind: "Moved" } };
8130
8130
  function zl(e) {
8131
8131
  let t = e.getBoundingClientRect();
8132
8132
  return `${t.x},${t.y}`;
@@ -8162,23 +8162,23 @@ function Ul(e) {
8162
8162
  var t;
8163
8163
  return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || !ut((t = e.as) != null ? t : ql) || L.Children.count(e.children) === 1;
8164
8164
  }
8165
- let On = ne(null);
8166
- On.displayName = "TransitionContext";
8165
+ let Pn = ne(null);
8166
+ Pn.displayName = "TransitionContext";
8167
8167
  var Jp = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Jp || {});
8168
8168
  function Qp() {
8169
- let e = Y(On);
8169
+ let e = Y(Pn);
8170
8170
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
8171
8171
  return e;
8172
8172
  }
8173
8173
  function em() {
8174
- let e = Y(Pn);
8174
+ let e = Y(Ln);
8175
8175
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
8176
8176
  return e;
8177
8177
  }
8178
- let Pn = ne(null);
8179
- Pn.displayName = "NestingContext";
8180
- function Ln(e) {
8181
- return "children" in e ? Ln(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
8178
+ let Ln = ne(null);
8179
+ Ln.displayName = "NestingContext";
8180
+ function An(e) {
8181
+ return "children" in e ? An(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
8182
8182
  }
8183
8183
  function Gl(e, t) {
8184
8184
  let n = at(e), r = I([]), o = Xp(), i = lt(), l = B((f, m = Ke.Hidden) => {
@@ -8189,7 +8189,7 @@ function Gl(e, t) {
8189
8189
  r.current[g].state = "hidden";
8190
8190
  } }), i.microTask(() => {
8191
8191
  var v;
8192
- !Ln(r) && o.current && ((v = n.current) == null || v.call(n));
8192
+ !An(r) && o.current && ((v = n.current) == null || v.call(n));
8193
8193
  }));
8194
8194
  }), a = B((f) => {
8195
8195
  let m = r.current.find(({ el: g }) => g === f);
@@ -8237,7 +8237,7 @@ function tm(e, t) {
8237
8237
  let Re = U ? "enter" : "leave";
8238
8238
  S.current = !1, z.onStop(w, Re, ($e) => {
8239
8239
  $e === "enter" ? l?.() : $e === "leave" && s?.();
8240
- }), Re === "leave" && !Ln(z) && (N("hidden"), j(w));
8240
+ }), Re === "leave" && !An(z) && (N("hidden"), j(w));
8241
8241
  });
8242
8242
  oe(() => {
8243
8243
  $ && o || (Z(R), xe(R));
@@ -8245,12 +8245,12 @@ function tm(e, t) {
8245
8245
  let Q = !(!o || !$ || !F || D), [, H] = Br(Q, b, R, { start: Z, end: xe }), se = qe({ ref: x, className: ((r = cr(v.className, G && c, G && u, H.enter && c, H.enter && H.closed && u, H.enter && !H.closed && d, H.leave && f, H.leave && !H.closed && m, H.leave && H.closed && g, !H.transition && R && p)) == null ? void 0 : r.trim()) || void 0, ..._r(H) }), Ee = 0;
8246
8246
  C === "visible" && (Ee |= pe.Open), C === "hidden" && (Ee |= pe.Closed), R && C === "hidden" && (Ee |= pe.Opening), !R && C === "visible" && (Ee |= pe.Closing);
8247
8247
  let M = ce();
8248
- return L.createElement(Pn.Provider, { value: z }, L.createElement(Wr, { value: Ee }, M({ ourProps: se, theirProps: v, defaultTag: ql, features: Kl, visible: C === "visible", name: "Transition.Child" })));
8248
+ return L.createElement(Ln.Provider, { value: z }, L.createElement(Wr, { value: Ee }, M({ ourProps: se, theirProps: v, defaultTag: ql, features: Kl, visible: C === "visible", name: "Transition.Child" })));
8249
8249
  }
8250
8250
  function nm(e, t) {
8251
8251
  let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = I(null), a = Ul(e), s = ge(...a ? [l, t] : t === null ? [] : [t]);
8252
8252
  Wl();
8253
- let c = Tn();
8253
+ let c = On();
8254
8254
  if (n === void 0 && c !== null && (n = (c & pe.Open) === pe.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
8255
8255
  let [u, d] = X(n ? "visible" : "hidden"), p = Gl(() => {
8256
8256
  n || d("hidden");
@@ -8260,7 +8260,7 @@ function nm(e, t) {
8260
8260
  }, [g, n]);
8261
8261
  let v = le(() => ({ show: n, appear: r, initial: f }), [n, r, f]);
8262
8262
  re(() => {
8263
- n ? d("visible") : !Ln(p) && l.current !== null && d("hidden");
8263
+ n ? d("visible") : !An(p) && l.current !== null && d("hidden");
8264
8264
  }, [n, p]);
8265
8265
  let b = { unmount: o }, y = B(() => {
8266
8266
  var x;
@@ -8269,10 +8269,10 @@ function nm(e, t) {
8269
8269
  var x;
8270
8270
  f && m(!1), (x = e.beforeLeave) == null || x.call(e);
8271
8271
  }), $ = ce();
8272
- return L.createElement(Pn.Provider, { value: p }, L.createElement(On.Provider, { value: v }, $({ ourProps: { ...b, as: Ne, children: L.createElement(Yl, { ref: s, ...b, ...i, beforeEnter: y, beforeLeave: w }) }, theirProps: {}, defaultTag: Ne, features: Kl, visible: u === "visible", name: "Transition" })));
8272
+ return L.createElement(Ln.Provider, { value: p }, L.createElement(Pn.Provider, { value: v }, $({ ourProps: { ...b, as: Ne, children: L.createElement(Yl, { ref: s, ...b, ...i, beforeEnter: y, beforeLeave: w }) }, theirProps: {}, defaultTag: Ne, features: Kl, visible: u === "visible", name: "Transition" })));
8273
8273
  }
8274
8274
  function rm(e, t) {
8275
- let n = Y(On) !== null, r = Tn() !== null;
8275
+ let n = Y(Pn) !== null, r = On() !== null;
8276
8276
  return L.createElement(L.Fragment, null, !n && r ? L.createElement(br, { ref: t, ...e }) : L.createElement(Yl, { ref: t, ...e }));
8277
8277
  }
8278
8278
  let br = ae(nm), Yl = ae(tm), om = ae(rm), im = Object.assign(br, { Child: om, Root: br });
@@ -8372,7 +8372,7 @@ function bm(e, t) {
8372
8372
  oe(() => (a({ type: 3, panelId: r }), () => {
8373
8373
  a({ type: 3, panelId: null });
8374
8374
  }), [r, a]);
8375
- let p = Tn(), [f, m] = Br(o, c, p !== null ? (p & pe.Open) === pe.Open : l.disclosureState === 0), g = Ce({ open: l.disclosureState === 0, close: s }), v = { ref: d, id: r, ..._r(m) }, b = ce();
8375
+ let p = On(), [f, m] = Br(o, c, p !== null ? (p & pe.Open) === pe.Open : l.disclosureState === 0), g = Ce({ open: l.disclosureState === 0, close: s }), v = { ref: d, id: r, ..._r(m) }, b = ce();
8376
8376
  return L.createElement(Ip, null, L.createElement(Kr.Provider, { value: l.panelId }, b({ ourProps: v, theirProps: i, slot: g, defaultTag: gm, features: vm, visible: f, name: "Disclosure.Panel" })));
8377
8377
  }
8378
8378
  let wm = ae(pm), Xl = ae(hm), Jl = ae(bm), ym = Object.assign(wm, { Button: Xl, Panel: Jl }), Go = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
@@ -8413,19 +8413,19 @@ function Em(e) {
8413
8413
  return t.current = o, n.current = i, i;
8414
8414
  });
8415
8415
  }
8416
- var $m = Object.defineProperty, Sm = (e, t, n) => t in e ? $m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ko = (e, t, n) => (Sm(e, typeof t != "symbol" ? t + "" : t, n), n), de = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(de || {}), Ze = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Ze || {}), rn = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(rn || {}), Ql = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.SelectOption = 5] = "SelectOption", e[e.RegisterOptions = 6] = "RegisterOptions", e[e.UnregisterOptions = 7] = "UnregisterOptions", e[e.SetButtonElement = 8] = "SetButtonElement", e[e.SetOptionsElement = 9] = "SetOptionsElement", e[e.SortOptions = 10] = "SortOptions", e[e.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", e))(Ql || {});
8416
+ var $m = Object.defineProperty, Sm = (e, t, n) => t in e ? $m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ko = (e, t, n) => (Sm(e, typeof t != "symbol" ? t + "" : t, n), n), de = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(de || {}), Ze = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Ze || {}), on = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(on || {}), Ql = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.SelectOption = 5] = "SelectOption", e[e.RegisterOptions = 6] = "RegisterOptions", e[e.UnregisterOptions = 7] = "UnregisterOptions", e[e.SetButtonElement = 8] = "SetButtonElement", e[e.SetOptionsElement = 9] = "SetOptionsElement", e[e.SortOptions = 10] = "SortOptions", e[e.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", e))(Ql || {});
8417
8417
  function Yo(e, t = (n) => n) {
8418
8418
  let n = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, r = yl(t(e.options.slice()), (i) => i.dataRef.current.domRef.current), o = n ? r.indexOf(n) : null;
8419
8419
  return o === -1 && (o = null), { options: r, activeOptionIndex: o };
8420
8420
  }
8421
8421
  let km = { 1(e) {
8422
8422
  if (e.dataRef.current.disabled || e.listboxState === 1) return e;
8423
- let t = e.buttonElement ? nn.Tracked(zl(e.buttonElement)) : e.buttonPositionState;
8423
+ let t = e.buttonElement ? rn.Tracked(zl(e.buttonElement)) : e.buttonPositionState;
8424
8424
  return { ...e, activeOptionIndex: null, pendingFocus: { focus: te.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: t };
8425
8425
  }, 0(e, t) {
8426
8426
  if (e.dataRef.current.disabled || e.listboxState === 0) return e;
8427
8427
  let n = e.activeOptionIndex, { isSelected: r } = e.dataRef.current, o = e.options.findIndex((i) => r(i.dataRef.current.value));
8428
- return o !== -1 && (n = o), { ...e, frozenValue: !1, pendingFocus: t.focus, listboxState: 0, activeOptionIndex: n, __demoMode: !1, buttonPositionState: nn.Idle };
8428
+ return o !== -1 && (n = o), { ...e, frozenValue: !1, pendingFocus: t.focus, listboxState: 0, activeOptionIndex: n, __demoMode: !1, buttonPositionState: rn.Idle };
8429
8429
  }, 2(e, t) {
8430
8430
  var n, r, o, i, l;
8431
8431
  if (e.dataRef.current.disabled || e.listboxState === 1) return e;
@@ -8435,7 +8435,7 @@ let km = { 1(e) {
8435
8435
  if (t.focus === te.Previous) {
8436
8436
  let u = e.activeOptionIndex;
8437
8437
  if (u !== null) {
8438
- let d = e.options[u].dataRef.current.domRef, p = Jt(t, { resolveItems: () => e.options, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (f) => f.id, resolveDisabled: (f) => f.dataRef.current.disabled });
8438
+ let d = e.options[u].dataRef.current.domRef, p = Qt(t, { resolveItems: () => e.options, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (f) => f.id, resolveDisabled: (f) => f.dataRef.current.disabled });
8439
8439
  if (p !== null) {
8440
8440
  let f = e.options[p].dataRef.current.domRef;
8441
8441
  if (((r = d.current) == null ? void 0 : r.previousElementSibling) === f.current || ((o = f.current) == null ? void 0 : o.previousElementSibling) === null) return { ...a, activeOptionIndex: p };
@@ -8444,14 +8444,14 @@ let km = { 1(e) {
8444
8444
  } else if (t.focus === te.Next) {
8445
8445
  let u = e.activeOptionIndex;
8446
8446
  if (u !== null) {
8447
- let d = e.options[u].dataRef.current.domRef, p = Jt(t, { resolveItems: () => e.options, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (f) => f.id, resolveDisabled: (f) => f.dataRef.current.disabled });
8447
+ let d = e.options[u].dataRef.current.domRef, p = Qt(t, { resolveItems: () => e.options, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (f) => f.id, resolveDisabled: (f) => f.dataRef.current.disabled });
8448
8448
  if (p !== null) {
8449
8449
  let f = e.options[p].dataRef.current.domRef;
8450
8450
  if (((i = d.current) == null ? void 0 : i.nextElementSibling) === f.current || ((l = f.current) == null ? void 0 : l.nextElementSibling) === null) return { ...a, activeOptionIndex: p };
8451
8451
  }
8452
8452
  }
8453
8453
  }
8454
- let s = Yo(e), c = Jt(t, { resolveItems: () => s.options, resolveActiveIndex: () => s.activeOptionIndex, resolveId: (u) => u.id, resolveDisabled: (u) => u.dataRef.current.disabled });
8454
+ let s = Yo(e), c = Qt(t, { resolveItems: () => s.options, resolveActiveIndex: () => s.activeOptionIndex, resolveId: (u) => u.id, resolveDisabled: (u) => u.dataRef.current.disabled });
8455
8455
  return { ...a, ...s, activeOptionIndex: c };
8456
8456
  }, 3: (e, t) => {
8457
8457
  if (e.dataRef.current.disabled || e.listboxState === 1) return e;
@@ -8466,7 +8466,7 @@ let km = { 1(e) {
8466
8466
  return e.dataRef.current.mode === 0 ? { ...e, frozenValue: !0 } : { ...e };
8467
8467
  }, 6: (e, t) => {
8468
8468
  let n = e.options.concat(t.options), r = e.activeOptionIndex;
8469
- if (e.pendingFocus.focus !== te.Nothing && (r = Jt(e.pendingFocus, { resolveItems: () => n, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), e.activeOptionIndex === null) {
8469
+ if (e.pendingFocus.focus !== te.Nothing && (r = Qt(e.pendingFocus, { resolveItems: () => n, resolveActiveIndex: () => e.activeOptionIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), e.activeOptionIndex === null) {
8470
8470
  let { isSelected: o } = e.dataRef.current;
8471
8471
  if (o) {
8472
8472
  let i = n.findIndex((l) => o?.(l.dataRef.current.value));
@@ -8483,7 +8483,7 @@ let km = { 1(e) {
8483
8483
  }
8484
8484
  return { ...e, options: n, activationTrigger: 1 };
8485
8485
  }, 8: (e, t) => e.buttonElement === t.element ? e : { ...e, buttonElement: t.element }, 9: (e, t) => e.optionsElement === t.element ? e : { ...e, optionsElement: t.element }, 10: (e) => e.pendingShouldSort ? { ...e, ...Yo(e), pendingShouldSort: !1 } : e, 11(e) {
8486
- return e.buttonPositionState.kind !== "Tracked" ? e : { ...e, buttonPositionState: nn.Moved };
8486
+ return e.buttonPositionState.kind !== "Tracked" ? e : { ...e, buttonPositionState: rn.Moved };
8487
8487
  } };
8488
8488
  class Yr extends pl {
8489
8489
  constructor(t) {
@@ -8565,7 +8565,7 @@ class Yr extends pl {
8565
8565
  });
8566
8566
  }
8567
8567
  static new({ id: t, __demoMode: n = !1 }) {
8568
- return new Yr({ id: t, dataRef: { current: {} }, listboxState: n ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: te.Nothing }, frozenValue: !1, __demoMode: n, buttonPositionState: nn.Idle });
8568
+ return new Yr({ id: t, dataRef: { current: {} }, listboxState: n ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: te.Nothing }, frozenValue: !1, __demoMode: n, buttonPositionState: rn.Idle });
8569
8569
  }
8570
8570
  reduce(t, n) {
8571
8571
  return he(n.type, km, t, n);
@@ -8584,10 +8584,10 @@ function ta({ id: e, __demoMode: t = !1 }) {
8584
8584
  let n = le(() => Yr.new({ id: e, __demoMode: t }), []);
8585
8585
  return Hl(() => n.dispose()), n;
8586
8586
  }
8587
- let An = ne(null);
8588
- An.displayName = "ListboxDataContext";
8587
+ let Fn = ne(null);
8588
+ Fn.displayName = "ListboxDataContext";
8589
8589
  function jt(e) {
8590
- let t = Y(An);
8590
+ let t = Y(Fn);
8591
8591
  if (t === null) {
8592
8592
  let n = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
8593
8593
  throw Error.captureStackTrace && Error.captureStackTrace(n, jt), n;
@@ -8596,7 +8596,7 @@ function jt(e) {
8596
8596
  }
8597
8597
  let Cm = Ne;
8598
8598
  function Rm(e, t) {
8599
- let n = je(), r = wn(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: d = r || !1, horizontal: p = !1, multiple: f = !1, __demoMode: m = !1, ...g } = e;
8599
+ let n = je(), r = yn(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: d = r || !1, horizontal: p = !1, multiple: f = !1, __demoMode: m = !1, ...g } = e;
8600
8600
  const v = p ? "horizontal" : "vertical";
8601
8601
  let b = ge(t), y = Hu(i), [w = f ? [] : void 0, $] = Bu(o, s, y), x = ta({ id: n, __demoMode: m }), T = I({ static: !1, hold: !1 }), R = I(/* @__PURE__ */ new Map()), k = pd(c), A = q((Q) => he(C.mode, { [Ze.Multi]: () => w.some((H) => k(H, Q)), [Ze.Single]: () => k(w, Q) }), [w]), C = Ce({ value: w, disabled: d, invalid: u, mode: f ? Ze.Multi : Ze.Single, orientation: v, onChange: $, compare: k, isSelected: A, optionsPropsRef: T, listRef: R });
8602
8602
  re(() => {
@@ -8609,15 +8609,15 @@ function Rm(e, t) {
8609
8609
  let D = Ce({ open: N === de.Open, disabled: d, invalid: u, value: w }), [G, S] = id({ inherit: !0 }), z = { ref: b }, Z = q(() => {
8610
8610
  if (y !== void 0) return $?.(y);
8611
8611
  }, [$, y]), xe = ce();
8612
- return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(An.Provider, { value: C }, L.createElement(Wr, { value: he(N, { [de.Open]: pe.Open, [de.Closed]: pe.Closed }) }, a != null && w != null && L.createElement(qu, { disabled: d, data: { [a]: w }, form: l, onReset: Z }), xe({ ourProps: z, theirProps: g, slot: D, defaultTag: Cm, name: "Listbox" }))))));
8612
+ return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(Fn.Provider, { value: C }, L.createElement(Wr, { value: he(N, { [de.Open]: pe.Open, [de.Closed]: pe.Closed }) }, a != null && w != null && L.createElement(qu, { disabled: d, data: { [a]: w }, form: l, onReset: Z }), xe({ ourProps: z, theirProps: g, slot: D, defaultTag: Cm, name: "Listbox" }))))));
8613
8613
  }
8614
8614
  let Tm = "button";
8615
8615
  function Om(e, t) {
8616
8616
  let n = je(), r = tl(), o = jt("Listbox.Button"), i = Zr("Listbox.Button"), { id: l = r || `headlessui-listbox-button-${n}`, disabled: a = o.disabled || !1, autoFocus: s = !1, ...c } = e, u = ge(t, Tp(), i.actions.setButtonElement), d = Op(), [p, f, m] = ve(i, (F) => [F.listboxState, F.buttonElement, F.optionsElement]), g = p === de.Open;
8617
8617
  Wd(g, { trigger: f, action: q((F) => {
8618
- if (f != null && f.contains(F.target)) return Zt.Ignore;
8618
+ if (f != null && f.contains(F.target)) return Xt.Ignore;
8619
8619
  let D = F.target.closest('[role="option"]:not([data-disabled])');
8620
- return Ue(D) ? Zt.Select(D) : m != null && m.contains(F.target) ? Zt.Ignore : Zt.Close;
8620
+ return Ue(D) ? Xt.Select(D) : m != null && m.contains(F.target) ? Xt.Ignore : Xt.Close;
8621
8621
  }, [f, m]), close: i.actions.closeListbox, select: i.actions.selectActiveOption });
8622
8622
  let v = B((F) => {
8623
8623
  switch (F.key) {
@@ -8636,7 +8636,7 @@ function Om(e, t) {
8636
8636
  F.key === ee.Space && F.preventDefault();
8637
8637
  }), y = hd((F) => {
8638
8638
  var D;
8639
- i.state.listboxState === de.Open ? (ln(() => i.actions.closeListbox()), (D = i.state.buttonElement) == null || D.focus({ preventScroll: !0 })) : (F.preventDefault(), i.actions.openListbox({ focus: te.Nothing }));
8639
+ i.state.listboxState === de.Open ? (an(() => i.actions.closeListbox()), (D = i.state.buttonElement) == null || D.focus({ preventScroll: !0 })) : (F.preventDefault(), i.actions.openListbox({ focus: te.Nothing }));
8640
8640
  }), w = B((F) => F.preventDefault()), $ = cl([l]), x = td(), { isFocusVisible: T, focusProps: R } = Ar({ autoFocus: s }), { isHovered: k, hoverProps: A } = Lr({ isDisabled: a }), { pressed: C, pressProps: N } = Fr({ disabled: a }), V = Ce({ open: p === de.Open, active: C || p === de.Open, disabled: a, invalid: o.invalid, value: o.value, hover: k, focus: T, autofocus: s }), W = ve(i, (F) => F.listboxState === de.Open), j = Pt(d(), { ref: u, id: l, type: El(e, f), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": W, "aria-labelledby": $, "aria-describedby": x, disabled: a || void 0, autoFocus: s, onKeyDown: v, onKeyUp: b, onKeyPress: w }, y, R, A, N);
8641
8641
  return ce()({ ourProps: j, theirProps: c, slot: V, defaultTag: Tm, name: "Listbox.Button" });
8642
8642
  }
@@ -8644,7 +8644,7 @@ let na = ne(!1), Pm = "div", Lm = ft.RenderStrategy | ft.Static;
8644
8644
  function Am(e, t) {
8645
8645
  let n = je(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: i = !1, modal: l = !0, transition: a = !1, ...s } = e, c = Rp(o), [u, d] = X(null);
8646
8646
  c && (i = !0);
8647
- let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] = ve(f, (M) => [M.listboxState, M.buttonElement, M.optionsElement, M.__demoMode]), y = mr(g), w = mr(v), $ = Tn(), [x, T] = Br(a, u, $ !== null ? ($ & pe.Open) === pe.Open : m === de.Open);
8647
+ let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] = ve(f, (M) => [M.listboxState, M.buttonElement, M.optionsElement, M.__demoMode]), y = mr(g), w = mr(v), $ = On(), [x, T] = Br(a, u, $ !== null ? ($ & pe.Open) === pe.Open : m === de.Open);
8648
8648
  Od(x, g, f.actions.closeListbox);
8649
8649
  let R = b ? !1 : l && m === de.Open;
8650
8650
  Xd(R, w);
@@ -8684,10 +8684,10 @@ function Am(e, t) {
8684
8684
  case ee.PageDown:
8685
8685
  return M.preventDefault(), M.stopPropagation(), f.actions.goToOption({ focus: te.Last });
8686
8686
  case ee.Escape:
8687
- M.preventDefault(), M.stopPropagation(), ln(() => f.actions.closeListbox()), (U = f.state.buttonElement) == null || U.focus({ preventScroll: !0 });
8687
+ M.preventDefault(), M.stopPropagation(), an(() => f.actions.closeListbox()), (U = f.state.buttonElement) == null || U.focus({ preventScroll: !0 });
8688
8688
  return;
8689
8689
  case ee.Tab:
8690
- M.preventDefault(), M.stopPropagation(), ln(() => f.actions.closeListbox()), Dd(f.state.buttonElement, M.shiftKey ? pr.Previous : pr.Next);
8690
+ M.preventDefault(), M.stopPropagation(), an(() => f.actions.closeListbox()), Dd(f.state.buttonElement, M.shiftKey ? pr.Previous : pr.Next);
8691
8691
  break;
8692
8692
  default:
8693
8693
  M.key.length === 1 && (f.actions.search(M.key), z.setTimeout(() => f.actions.clearSearch(), 350));
@@ -8697,7 +8697,7 @@ function Am(e, t) {
8697
8697
  var U;
8698
8698
  return (U = M.buttonElement) == null ? void 0 : U.id;
8699
8699
  }), Q = Ce({ open: m === de.Open }), H = Pt(c ? G() : {}, { id: r, ref: S, "aria-activedescendant": ve(f, f.selectors.activeDescendantId), "aria-multiselectable": p.mode === Ze.Multi ? !0 : void 0, "aria-labelledby": xe, "aria-orientation": p.orientation, onKeyDown: Z, role: "listbox", tabIndex: m === de.Open ? 0 : void 0, style: { ...s.style, ...D, "--button-width": md(x, g, !0).width }, ..._r(T) }), se = ce(), Ee = le(() => p.mode === Ze.Multi ? p : { ...p, isSelected: V }, [p, V]);
8700
- return L.createElement(Kp, { enabled: i ? e.static || x : !1, ownerDocument: y }, L.createElement(An.Provider, { value: Ee }, se({ ourProps: H, theirProps: s, slot: Q, defaultTag: Pm, features: Lm, visible: A, name: "Listbox.Options" })));
8700
+ return L.createElement(Kp, { enabled: i ? e.static || x : !1, ownerDocument: y }, L.createElement(Fn.Provider, { value: Ee }, se({ ourProps: H, theirProps: s, slot: Q, defaultTag: Pm, features: Lm, visible: A, name: "Listbox.Options" })));
8701
8701
  }
8702
8702
  let Fm = "div";
8703
8703
  function Nm(e, t) {
@@ -8721,9 +8721,9 @@ function Nm(e, t) {
8721
8721
  if (o) return c.actions.goToOption({ focus: te.Nothing });
8722
8722
  c.actions.goToOption({ focus: te.Specific, id: r });
8723
8723
  }), w = Jd(), $ = B((C) => w.update(C)), x = B((C) => {
8724
- w.wasMoved(C) && (o || u && c.state.activationTrigger === rn.Pointer || c.actions.goToOption({ focus: te.Specific, id: r }, rn.Pointer));
8724
+ w.wasMoved(C) && (o || u && c.state.activationTrigger === on.Pointer || c.actions.goToOption({ focus: te.Specific, id: r }, on.Pointer));
8725
8725
  }), T = B((C) => {
8726
- w.wasMoved(C) && (o || u && c.state.activationTrigger === rn.Pointer && c.actions.goToOption({ focus: te.Nothing }));
8726
+ w.wasMoved(C) && (o || u && c.state.activationTrigger === on.Pointer && c.actions.goToOption({ focus: te.Nothing }));
8727
8727
  }), R = Ce({ active: u, focus: u, selected: d, disabled: o, selectedOption: d && a }), k = a ? {} : { id: r, ref: g, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": d, disabled: void 0, onClick: b, onFocus: y, onPointerEnter: $, onMouseEnter: $, onPointerMove: x, onMouseMove: x, onPointerLeave: T, onMouseLeave: T }, A = ce();
8728
8728
  return !d && a ? null : A({ ourProps: k, theirProps: l, slot: R, defaultTag: Fm, name: "Listbox.Option" });
8729
8729
  }
@@ -8792,7 +8792,7 @@ function zm({ error: e, resetErrorBoundary: t }) {
8792
8792
  /* @__PURE__ */ E(jm, { intent: "danger", onClick: t, children: "Retry" })
8793
8793
  ] }) });
8794
8794
  }
8795
- function mn({
8795
+ function hn({
8796
8796
  children: e,
8797
8797
  className: t,
8798
8798
  href: n,
@@ -8837,7 +8837,7 @@ function Wm({ children: e }) {
8837
8837
  }
8838
8838
  function Um() {
8839
8839
  const { hide: e } = Ei(), { pathname: t } = ze();
8840
- return hn(() => {
8840
+ return gn(() => {
8841
8841
  e();
8842
8842
  const n = document.body.querySelector("[data-main-scrollable]");
8843
8843
  if (n) {
@@ -8851,22 +8851,23 @@ function Um() {
8851
8851
  }, [e, t]), null;
8852
8852
  }
8853
8853
  const Gm = {
8854
- "*": Mn(() => import("./PageNotFound-DE5Z0RR6.js")),
8855
- "/": Mn(() => import("./GettingStartedRoute-Bea34m1X.js")),
8856
- "/support": Mn(() => import("./SupportRoute-DPlYEYJn.js"))
8854
+ "*": Wt(() => import("./PageNotFound-DPz5PSvL.js")),
8855
+ "/": Wt(() => import("./GettingStartedRoute-CEUe6r9y.js")),
8856
+ "/support": Wt(() => import("./SupportRoute-CwdgvBKD.js")),
8857
+ "/versions": Wt(() => import("./VersionsRoute-DIBb1iS1.js"))
8857
8858
  };
8858
8859
  function uh({
8859
- hideVersions: e = !1,
8860
- navLinks: t,
8861
- overview: n,
8862
- packageDescription: r,
8863
- packageName: o,
8864
- routes: i,
8865
- showOpenCollectLink: l = !1
8860
+ navLinks: e,
8861
+ overview: t,
8862
+ packageDescription: n,
8863
+ packageName: r,
8864
+ routes: o,
8865
+ showOpenCollectLink: i = !1,
8866
+ versions: l
8866
8867
  }) {
8867
8868
  const { toggle: a, visible: s } = Ei(), c = le(
8868
- () => ({ overview: n, packageName: o, showOpenCollectLink: l }),
8869
- [n, o, l]
8869
+ () => ({ overview: t, packageName: r, showOpenCollectLink: i, versions: l }),
8870
+ [t, r, i, l]
8870
8871
  );
8871
8872
  return /* @__PURE__ */ E(xi.Provider, { value: c, children: /* @__PURE__ */ K(Gs, { children: [
8872
8873
  /* @__PURE__ */ E(Um, {}),
@@ -8891,17 +8892,17 @@ function uh({
8891
8892
  /* @__PURE__ */ E(
8892
8893
  wr,
8893
8894
  {
8894
- children: o,
8895
+ children: r,
8895
8896
  className: "text-xl text-white! text-shadow-black/80 text-shadow-xs font-bold cursor-pointer truncate",
8896
8897
  to: "/"
8897
8898
  }
8898
8899
  ),
8899
- /* @__PURE__ */ E("div", { className: "hidden md:block text-black text-shadow-white/50 text-shadow-xs", children: r })
8900
+ /* @__PURE__ */ E("div", { className: "hidden md:block text-black text-shadow-white/50 text-shadow-xs", children: n })
8900
8901
  ]
8901
8902
  }
8902
8903
  ),
8903
8904
  /* @__PURE__ */ K(me, { align: "center", direction: "row", gap: 4, children: [
8904
- e || /* @__PURE__ */ E(
8905
+ l !== void 0 && /* @__PURE__ */ E(
8905
8906
  wr,
8906
8907
  {
8907
8908
  "aria-label": "Documentation for other versions",
@@ -8912,21 +8913,21 @@ function uh({
8912
8913
  }
8913
8914
  ),
8914
8915
  /* @__PURE__ */ E(
8915
- mn,
8916
+ hn,
8916
8917
  {
8917
8918
  "aria-label": "NPM project page",
8918
8919
  className: "text-white! drop-shadow-black/20 drop-shadow-sm",
8919
- href: `https://www.npmjs.com/package/${o}`,
8920
+ href: `https://www.npmjs.com/package/${r}`,
8920
8921
  title: "NPM package",
8921
8922
  children: /* @__PURE__ */ E(rc, { className: "w-8 h-8" })
8922
8923
  }
8923
8924
  ),
8924
8925
  /* @__PURE__ */ E(
8925
- mn,
8926
+ hn,
8926
8927
  {
8927
8928
  "aria-label": "GitHub project page",
8928
8929
  className: "text-white! drop-shadow-black/20 drop-shadow-sm",
8929
- href: `https://github.com/bvaughn/${o}`,
8930
+ href: `https://github.com/bvaughn/${r}`,
8930
8931
  title: "Source code",
8931
8932
  children: /* @__PURE__ */ E(nc, { className: "w-6 h-6" })
8932
8933
  }
@@ -8957,7 +8958,7 @@ function uh({
8957
8958
  hidden: !s
8958
8959
  }
8959
8960
  ),
8960
- children: /* @__PURE__ */ E(Wm, { children: t })
8961
+ children: /* @__PURE__ */ E(Wm, { children: e })
8961
8962
  }
8962
8963
  ),
8963
8964
  /* @__PURE__ */ E(
@@ -8973,7 +8974,7 @@ function uh({
8973
8974
  "data-main-scrollable": !0,
8974
8975
  children: /* @__PURE__ */ E($s, { children: Object.entries({
8975
8976
  ...Gm,
8976
- ...i
8977
+ ...o
8977
8978
  }).map(([u, d]) => /* @__PURE__ */ E(
8978
8979
  mi,
8979
8980
  {
@@ -9057,7 +9058,7 @@ function aa({
9057
9058
  }
9058
9059
  ) });
9059
9060
  }
9060
- function Fn({
9061
+ function Nn({
9061
9062
  className: e,
9062
9063
  sections: t
9063
9064
  }) {
@@ -9104,7 +9105,7 @@ function Jm({
9104
9105
  return /* @__PURE__ */ K(Nt, { children: [
9105
9106
  /* @__PURE__ */ E("dd", { className: "[&_code]:text-sky-300 text-lg font-bold", children: e.name }),
9106
9107
  /* @__PURE__ */ K("dt", { className: "mt-2", children: [
9107
- /* @__PURE__ */ E(Fn, { sections: e.description }),
9108
+ /* @__PURE__ */ E(Nn, { sections: e.description }),
9108
9109
  /* @__PURE__ */ E(aa, { className: "mt-2 p-2 flex flex-col", html: e.html })
9109
9110
  ] })
9110
9111
  ] });
@@ -9117,7 +9118,7 @@ function ph({
9117
9118
  /* @__PURE__ */ K(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9118
9119
  /* @__PURE__ */ E(ca, { section: t, title: `${e.name}` }),
9119
9120
  /* @__PURE__ */ E(
9120
- mn,
9121
+ hn,
9121
9122
  {
9122
9123
  className: "text-sm text-emerald-300 hover:text-white",
9123
9124
  href: `${sa.url.replace(".git", "")}/blob/main/${e.filePath}`,
@@ -9125,7 +9126,7 @@ function ph({
9125
9126
  }
9126
9127
  )
9127
9128
  ] }),
9128
- /* @__PURE__ */ E(Fn, { sections: e.description }),
9129
+ /* @__PURE__ */ E(Nn, { sections: e.description }),
9129
9130
  /* @__PURE__ */ E(me, { direction: "column", children: /* @__PURE__ */ E("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ E(Jm, { method: n }, r)) }) })
9130
9131
  ] });
9131
9132
  }
@@ -9224,7 +9225,7 @@ function eh({ prop: e }) {
9224
9225
  html: e.html
9225
9226
  }
9226
9227
  ) }),
9227
- /* @__PURE__ */ E("dd", { className: "mt-2 pl-4 [&_code]:text-sky-300", children: /* @__PURE__ */ E(Fn, { sections: e.description }) })
9228
+ /* @__PURE__ */ E("dd", { className: "mt-2 pl-4 [&_code]:text-sky-300", children: /* @__PURE__ */ E(Nn, { sections: e.description }) })
9228
9229
  ] });
9229
9230
  }
9230
9231
  function Zo({
@@ -9248,7 +9249,7 @@ function bh({
9248
9249
  /* @__PURE__ */ K(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9249
9250
  /* @__PURE__ */ E(ca, { section: t, title: `${e.name} component` }),
9250
9251
  /* @__PURE__ */ E(
9251
- mn,
9252
+ hn,
9252
9253
  {
9253
9254
  className: "text-sm text-emerald-300 hover:text-white",
9254
9255
  href: `${sa.url.replace(".git", "")}/blob/main/${e.filePath}`,
@@ -9256,7 +9257,7 @@ function bh({
9256
9257
  }
9257
9258
  )
9258
9259
  ] }),
9259
- /* @__PURE__ */ E(Fn, { sections: e.description }),
9260
+ /* @__PURE__ */ E(Nn, { sections: e.description }),
9260
9261
  /* @__PURE__ */ E(Zo, { header: "Required props", props: r }),
9261
9262
  /* @__PURE__ */ E(Zo, { header: "Optional props", props: n })
9262
9263
  ] });
@@ -9377,14 +9378,14 @@ export {
9377
9378
  uh as A,
9378
9379
  me as B,
9379
9380
  Ii as C,
9380
- Fn as D,
9381
- mn as E,
9381
+ Nn as D,
9382
+ hn as E,
9382
9383
  ca as H,
9383
9384
  ph as I,
9384
9385
  wr as L,
9385
9386
  gh as N,
9386
9387
  wh as R,
9387
- yh as S,
9388
+ oc as S,
9388
9389
  dh as a,
9389
9390
  jm as b,
9390
9391
  fh as c,
@@ -9395,9 +9396,10 @@ export {
9395
9396
  vh as h,
9396
9397
  bh as i,
9397
9398
  Zo as j,
9398
- Zm as k,
9399
- be as l,
9400
- xh as m,
9399
+ yh as k,
9400
+ Zm as l,
9401
+ be as m,
9402
+ xh as n,
9401
9403
  Xm as u
9402
9404
  };
9403
- //# sourceMappingURL=index-DdaUFzS-.js.map
9405
+ //# sourceMappingURL=index-BGQ7Uo9T.js.map