react-lib-tools 0.0.51 → 0.0.52

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 (28) hide show
  1. package/dist/{CommonQuestionsRoute-DlV7QVyq.js → CommonQuestionsRoute-B4oSkDKu.js} +2 -2
  2. package/dist/{CommonQuestionsRoute-DlV7QVyq.js.map → CommonQuestionsRoute-B4oSkDKu.js.map} +1 -1
  3. package/dist/{CommonQuestionsRoute-JhQJm385.cjs → CommonQuestionsRoute-C1cnoDUu.cjs} +2 -2
  4. package/dist/{CommonQuestionsRoute-JhQJm385.cjs.map → CommonQuestionsRoute-C1cnoDUu.cjs.map} +1 -1
  5. package/dist/{GettingStartedRoute-kXFkpZch.cjs → GettingStartedRoute-BmgT6xvQ.cjs} +2 -2
  6. package/dist/{GettingStartedRoute-kXFkpZch.cjs.map → GettingStartedRoute-BmgT6xvQ.cjs.map} +1 -1
  7. package/dist/{GettingStartedRoute-Dz8oT3qR.js → GettingStartedRoute-CdyG0b_M.js} +2 -2
  8. package/dist/{GettingStartedRoute-Dz8oT3qR.js.map → GettingStartedRoute-CdyG0b_M.js.map} +1 -1
  9. package/dist/{PageNotFound-C-2lJPrM.cjs → PageNotFound-C982mFqz.cjs} +2 -2
  10. package/dist/{PageNotFound-C-2lJPrM.cjs.map → PageNotFound-C982mFqz.cjs.map} +1 -1
  11. package/dist/{PageNotFound-C95TqXFO.js → PageNotFound-DFuJVroY.js} +2 -2
  12. package/dist/{PageNotFound-C95TqXFO.js.map → PageNotFound-DFuJVroY.js.map} +1 -1
  13. package/dist/{SupportRoute-kVgm6bnU.cjs → SupportRoute-DgRhJ6zd.cjs} +2 -2
  14. package/dist/{SupportRoute-kVgm6bnU.cjs.map → SupportRoute-DgRhJ6zd.cjs.map} +1 -1
  15. package/dist/{SupportRoute-CLa48ZM-.js → SupportRoute-zpZt3czS.js} +2 -2
  16. package/dist/{SupportRoute-CLa48ZM-.js.map → SupportRoute-zpZt3czS.js.map} +1 -1
  17. package/dist/{VersionsRoute-qW1sbYlY.js → VersionsRoute-BLU7VqAE.js} +2 -2
  18. package/dist/{VersionsRoute-qW1sbYlY.js.map → VersionsRoute-BLU7VqAE.js.map} +1 -1
  19. package/dist/{VersionsRoute-ujHJONUW.cjs → VersionsRoute-D9AdJV3q.cjs} +2 -2
  20. package/dist/{VersionsRoute-ujHJONUW.cjs.map → VersionsRoute-D9AdJV3q.cjs.map} +1 -1
  21. package/dist/{index-_OmnYlM7.cjs → index-CN7E-dGv.cjs} +5 -5
  22. package/dist/{index-_OmnYlM7.cjs.map → index-CN7E-dGv.cjs.map} +1 -1
  23. package/dist/{index-CffrZIvy.js → index-CaRziUeA.js} +482 -463
  24. package/dist/{index-CffrZIvy.js.map → index-CaRziUeA.js.map} +1 -1
  25. package/dist/react-lib-tools.cjs +1 -1
  26. package/dist/react-lib-tools.js +1 -1
  27. package/package.json +1 -1
  28. package/scripts/utils/search/crawlPage.ts +13 -5
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { jsx as R, jsxs as Y, Fragment as Rt } from "react/jsx-runtime";
2
+ import { jsx as R, jsxs as Y, Fragment as ut } from "react/jsx-runtime";
3
3
  import * as m from "react";
4
- import j, { createContext as le, useContext as te, Component as Ya, createElement as vn, useRef as U, useCallback as Z, useEffect as re, useState as J, useMemo as ce, useLayoutEffect as Gt, forwardRef as Xa, Fragment as _e, isValidElement as Hr, cloneElement as Li, useId as Ke, useSyncExternalStore as Za, useReducer as Ja, useTransition as Qa, lazy as Mt, startTransition as Eo, use as es } from "react";
4
+ import j, { createContext as le, useContext as te, Component as Ya, createElement as vn, useRef as U, useCallback as Z, useEffect as re, useState as J, useMemo as ce, useLayoutEffect as Gt, forwardRef as Xa, Fragment as _e, isValidElement as Vr, cloneElement as Li, useId as Ke, useSyncExternalStore as Za, useReducer as Ja, useTransition as Qa, lazy as Mt, startTransition as Eo, use as es } from "react";
5
5
  import * as bn from "react-dom";
6
- import { flushSync as wn, createPortal as Vr } from "react-dom";
6
+ import { flushSync as wn, createPortal as jr } from "react-dom";
7
7
  function ts({
8
8
  title: e,
9
9
  titleId: t,
@@ -117,7 +117,7 @@ function cs({
117
117
  clipRule: "evenodd"
118
118
  }));
119
119
  }
120
- const jr = /* @__PURE__ */ m.forwardRef(cs);
120
+ const yn = /* @__PURE__ */ m.forwardRef(cs);
121
121
  function us({
122
122
  title: e,
123
123
  titleId: t,
@@ -230,7 +230,7 @@ var Ro = "popstate";
230
230
  function ws(e = {}) {
231
231
  function t(r, o) {
232
232
  let { pathname: i, search: l, hash: a } = r.location;
233
- return yr(
233
+ return xr(
234
234
  "",
235
235
  { pathname: i, search: l, hash: a },
236
236
  // state defaults to `null` because `window.history.state` does
@@ -271,7 +271,7 @@ function $o(e, t) {
271
271
  idx: t
272
272
  };
273
273
  }
274
- function yr(e, t, n = null, r) {
274
+ function xr(e, t, n = null, r) {
275
275
  return {
276
276
  pathname: typeof e == "string" ? e : e.pathname,
277
277
  search: "",
@@ -315,7 +315,7 @@ function xs(e, t, n, r = {}) {
315
315
  }
316
316
  function p(v, b) {
317
317
  a = "PUSH";
318
- let y = yr(g.location, v, b);
318
+ let y = xr(g.location, v, b);
319
319
  c = u() + 1;
320
320
  let w = $o(y, c), $ = g.createHref(y);
321
321
  try {
@@ -329,7 +329,7 @@ function xs(e, t, n, r = {}) {
329
329
  }
330
330
  function d(v, b) {
331
331
  a = "REPLACE";
332
- let y = yr(g.location, v, b);
332
+ let y = xr(g.location, v, b);
333
333
  c = u();
334
334
  let w = $o(y, c), $ = g.createHref(y);
335
335
  l.replaceState(w, "", $), i && s && s({ action: a, location: g.location, delta: 0 });
@@ -599,7 +599,7 @@ function Co(e, t) {
599
599
  o === ".." ? n.length > 1 && n.pop() : o !== "." && n.push(o);
600
600
  }), n.length > 1 ? n.join("/") : "/";
601
601
  }
602
- function Yn(e, t, n, r) {
602
+ function Xn(e, t, n, r) {
603
603
  return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(
604
604
  r
605
605
  )}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
@@ -619,13 +619,13 @@ function _i(e, t, n, r = !1) {
619
619
  let o;
620
620
  typeof e == "string" ? o = St(e) : (o = { ...e }, ne(
621
621
  !o.pathname || !o.pathname.includes("?"),
622
- Yn("?", "pathname", "search", o)
622
+ Xn("?", "pathname", "search", o)
623
623
  ), ne(
624
624
  !o.pathname || !o.pathname.includes("#"),
625
- Yn("#", "pathname", "hash", o)
625
+ Xn("#", "pathname", "hash", o)
626
626
  ), ne(
627
627
  !o.search || !o.search.includes("#"),
628
- Yn("#", "search", "hash", o)
628
+ Xn("#", "search", "hash", o)
629
629
  ));
630
630
  let i = e === "" || o.pathname === "", l = i ? "/" : o.pathname, a;
631
631
  if (l == null)
@@ -667,8 +667,8 @@ var zs = [
667
667
  new Set(zs);
668
668
  var Ct = m.createContext(null);
669
669
  Ct.displayName = "DataRouter";
670
- var Pn = m.createContext(null);
671
- Pn.displayName = "DataRouterState";
670
+ var Tn = m.createContext(null);
671
+ Tn.displayName = "DataRouterState";
672
672
  m.createContext(!1);
673
673
  var Hi = m.createContext({
674
674
  isTransitioning: !1
@@ -1024,7 +1024,7 @@ function nc(e) {
1024
1024
  return ne(t, zr(e)), t;
1025
1025
  }
1026
1026
  function rc(e) {
1027
- let t = m.useContext(Pn);
1027
+ let t = m.useContext(Tn);
1028
1028
  return ne(t, zr(e)), t;
1029
1029
  }
1030
1030
  function oc(e) {
@@ -1142,9 +1142,9 @@ function uc({
1142
1142
  children: e,
1143
1143
  location: t
1144
1144
  }) {
1145
- return Xs(xr(e), t);
1145
+ return Xs(Er(e), t);
1146
1146
  }
1147
- function xr(e, t = []) {
1147
+ function Er(e, t = []) {
1148
1148
  let n = [];
1149
1149
  return m.Children.forEach(e, (r, o) => {
1150
1150
  if (!m.isValidElement(r))
@@ -1153,7 +1153,7 @@ function xr(e, t = []) {
1153
1153
  if (r.type === m.Fragment) {
1154
1154
  n.push.apply(
1155
1155
  n,
1156
- xr(r.props.children, i)
1156
+ Er(r.props.children, i)
1157
1157
  );
1158
1158
  return;
1159
1159
  }
@@ -1183,24 +1183,24 @@ function xr(e, t = []) {
1183
1183
  handle: r.props.handle,
1184
1184
  lazy: r.props.lazy
1185
1185
  };
1186
- r.props.children && (l.children = xr(
1186
+ r.props.children && (l.children = Er(
1187
1187
  r.props.children,
1188
1188
  i
1189
1189
  )), n.push(l);
1190
1190
  }), n;
1191
1191
  }
1192
1192
  var dn = "get", fn = "application/x-www-form-urlencoded";
1193
- function Tn(e) {
1193
+ function On(e) {
1194
1194
  return typeof HTMLElement < "u" && e instanceof HTMLElement;
1195
1195
  }
1196
1196
  function dc(e) {
1197
- return Tn(e) && e.tagName.toLowerCase() === "button";
1197
+ return On(e) && e.tagName.toLowerCase() === "button";
1198
1198
  }
1199
1199
  function fc(e) {
1200
- return Tn(e) && e.tagName.toLowerCase() === "form";
1200
+ return On(e) && e.tagName.toLowerCase() === "form";
1201
1201
  }
1202
1202
  function mc(e) {
1203
- return Tn(e) && e.tagName.toLowerCase() === "input";
1203
+ return On(e) && e.tagName.toLowerCase() === "input";
1204
1204
  }
1205
1205
  function pc(e) {
1206
1206
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
@@ -1229,7 +1229,7 @@ var vc = /* @__PURE__ */ new Set([
1229
1229
  "multipart/form-data",
1230
1230
  "text/plain"
1231
1231
  ]);
1232
- function Xn(e) {
1232
+ function Zn(e) {
1233
1233
  return e != null && !vc.has(e) ? (Le(
1234
1234
  !1,
1235
1235
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${fn}"`
@@ -1239,7 +1239,7 @@ function bc(e, t) {
1239
1239
  let n, r, o, i, l;
1240
1240
  if (fc(e)) {
1241
1241
  let a = e.getAttribute("action");
1242
- r = a ? Ge(a, t) : null, n = e.getAttribute("method") || dn, o = Xn(e.getAttribute("enctype")) || fn, i = new FormData(e);
1242
+ r = a ? Ge(a, t) : null, n = e.getAttribute("method") || dn, o = Zn(e.getAttribute("enctype")) || fn, i = new FormData(e);
1243
1243
  } else if (dc(e) || mc(e) && (e.type === "submit" || e.type === "image")) {
1244
1244
  let a = e.form;
1245
1245
  if (a == null)
@@ -1247,7 +1247,7 @@ function bc(e, t) {
1247
1247
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1248
1248
  );
1249
1249
  let s = e.getAttribute("formaction") || a.getAttribute("action");
1250
- if (r = s ? Ge(s, t) : null, n = e.getAttribute("formmethod") || a.getAttribute("method") || dn, o = Xn(e.getAttribute("formenctype")) || Xn(a.getAttribute("enctype")) || fn, i = new FormData(a, e), !gc()) {
1250
+ if (r = s ? Ge(s, t) : null, n = e.getAttribute("formmethod") || a.getAttribute("method") || dn, o = Zn(e.getAttribute("formenctype")) || Zn(a.getAttribute("enctype")) || fn, i = new FormData(a, e), !gc()) {
1251
1251
  let { name: c, type: u, value: f } = e;
1252
1252
  if (u === "image") {
1253
1253
  let p = c ? `${c}.` : "";
@@ -1255,7 +1255,7 @@ function bc(e, t) {
1255
1255
  } else c && i.append(c, f);
1256
1256
  }
1257
1257
  } else {
1258
- if (Tn(e))
1258
+ if (On(e))
1259
1259
  throw new Error(
1260
1260
  'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
1261
1261
  );
@@ -1380,7 +1380,7 @@ function qi() {
1380
1380
  ), e;
1381
1381
  }
1382
1382
  function kc() {
1383
- let e = m.useContext(Pn);
1383
+ let e = m.useContext(Tn);
1384
1384
  return Gr(
1385
1385
  e,
1386
1386
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -1632,7 +1632,7 @@ var Nc = m.forwardRef(
1632
1632
  children: s,
1633
1633
  ...c
1634
1634
  }, u) {
1635
- let f = Kt(l, { relative: c.relative }), p = Xe(), d = m.useContext(Pn), { navigator: h, basename: g } = m.useContext(Ae), v = d != null && // Conditional usage is OK here because the usage of a data router is static
1635
+ let f = Kt(l, { relative: c.relative }), p = Xe(), d = m.useContext(Tn), { navigator: h, basename: g } = m.useContext(Ae), v = d != null && // Conditional usage is OK here because the usage of a data router is static
1636
1636
  // eslint-disable-next-line react-hooks/rules-of-hooks
1637
1637
  jc(f) && a === !0, b = h.encodeLocation ? h.encodeLocation(f).pathname : f.pathname, y = p.pathname, w = d && d.navigation && d.navigation.location ? d.navigation.location.pathname : null;
1638
1638
  n || (y = y.toLowerCase(), w = w ? w.toLowerCase() : null, b = b.toLowerCase()), w && g && (w = Ge(w, g) || w);
@@ -1830,7 +1830,7 @@ function qc(e, t = "Assertion error") {
1830
1830
  if (!e)
1831
1831
  throw Error(t);
1832
1832
  }
1833
- function On() {
1833
+ function Ln() {
1834
1834
  const e = te(Qi);
1835
1835
  return qc(e, "App must be rendered within a LibraryContextProvider"), e;
1836
1836
  }
@@ -1861,7 +1861,7 @@ const Yc = (e, t) => {
1861
1861
  nextPart: e,
1862
1862
  validators: t,
1863
1863
  classGroupId: n
1864
- }), yn = "-", To = [], Zc = "arbitrary..", Jc = (e) => {
1864
+ }), xn = "-", To = [], Zc = "arbitrary..", Jc = (e) => {
1865
1865
  const t = eu(e), {
1866
1866
  conflictingClassGroups: n,
1867
1867
  conflictingClassGroupModifiers: r
@@ -1870,7 +1870,7 @@ const Yc = (e, t) => {
1870
1870
  getClassGroupId: (l) => {
1871
1871
  if (l.startsWith("[") && l.endsWith("]"))
1872
1872
  return Qc(l);
1873
- const a = l.split(yn), s = a[0] === "" && a.length > 1 ? 1 : 0;
1873
+ const a = l.split(xn), s = a[0] === "" && a.length > 1 ? 1 : 0;
1874
1874
  return nl(a, s, t);
1875
1875
  },
1876
1876
  getConflictingClassGroupIds: (l, a) => {
@@ -1892,7 +1892,7 @@ const Yc = (e, t) => {
1892
1892
  const l = n.validators;
1893
1893
  if (l === null)
1894
1894
  return;
1895
- const a = t === 0 ? e.join(yn) : e.slice(t).join(yn), s = l.length;
1895
+ const a = t === 0 ? e.join(xn) : e.slice(t).join(xn), s = l.length;
1896
1896
  for (let c = 0; c < s; c++) {
1897
1897
  const u = l[c];
1898
1898
  if (u.validator(a))
@@ -1947,7 +1947,7 @@ const Yc = (e, t) => {
1947
1947
  }
1948
1948
  }, rl = (e, t) => {
1949
1949
  let n = e;
1950
- const r = t.split(yn), o = r.length;
1950
+ const r = t.split(xn), o = r.length;
1951
1951
  for (let i = 0; i < o; i++) {
1952
1952
  const l = r[i];
1953
1953
  let a = n.nextPart.get(l);
@@ -1978,7 +1978,7 @@ const Yc = (e, t) => {
1978
1978
  i in n ? n[i] = l : o(i, l);
1979
1979
  }
1980
1980
  };
1981
- }, Er = "!", Oo = ":", su = [], Lo = (e, t, n, r, o) => ({
1981
+ }, Rr = "!", Oo = ":", su = [], Lo = (e, t, n, r, o) => ({
1982
1982
  modifiers: e,
1983
1983
  hasImportantModifier: t,
1984
1984
  baseClassName: n,
@@ -2009,12 +2009,12 @@ const Yc = (e, t) => {
2009
2009
  }
2010
2010
  const f = i.length === 0 ? o : o.slice(s);
2011
2011
  let p = f, d = !1;
2012
- f.endsWith(Er) ? (p = f.slice(0, -1), d = !0) : (
2012
+ f.endsWith(Rr) ? (p = f.slice(0, -1), d = !0) : (
2013
2013
  /**
2014
2014
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
2015
2015
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
2016
2016
  */
2017
- f.startsWith(Er) && (p = f.slice(1), d = !0)
2017
+ f.startsWith(Rr) && (p = f.slice(1), d = !0)
2018
2018
  );
2019
2019
  const h = c && c > s ? c - s : void 0;
2020
2020
  return Lo(i, d, p, h);
@@ -2081,7 +2081,7 @@ const Yc = (e, t) => {
2081
2081
  }
2082
2082
  v = !1;
2083
2083
  }
2084
- const y = p.length === 0 ? "" : p.length === 1 ? p[0] : i(p).join(":"), w = d ? y + Er : y, $ = w + b;
2084
+ const y = p.length === 0 ? "" : p.length === 1 ? p[0] : i(p).join(":"), w = d ? y + Rr : y, $ = w + b;
2085
2085
  if (l.indexOf($) > -1)
2086
2086
  continue;
2087
2087
  l.push($);
@@ -2121,12 +2121,12 @@ const Yc = (e, t) => {
2121
2121
  }, gu = [], ue = (e) => {
2122
2122
  const t = (n) => n[e] || gu;
2123
2123
  return t.isThemeGetter = !0, t;
2124
- }, il = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ll = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vu = /^\d+\/\d+$/, bu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, yu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, xu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Eu = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, bt = (e) => vu.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), Qe = (e) => !!e && Number.isInteger(Number(e)), Zn = (e) => e.endsWith("%") && G(e.slice(0, -1)), Ve = (e) => bu.test(e), Ru = () => !0, $u = (e) => (
2124
+ }, il = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ll = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vu = /^\d+\/\d+$/, bu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, yu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, xu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Eu = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wt = (e) => vu.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), Qe = (e) => !!e && Number.isInteger(Number(e)), Jn = (e) => e.endsWith("%") && G(e.slice(0, -1)), Ve = (e) => bu.test(e), Ru = () => !0, $u = (e) => (
2125
2125
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
2126
2126
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
2127
2127
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
2128
2128
  wu.test(e) && !yu.test(e)
2129
- ), al = () => !1, Su = (e) => xu.test(e), Cu = (e) => Eu.test(e), ku = (e) => !N(e) && !F(e), Pu = (e) => Pt(e, ul, al), N = (e) => il.test(e), lt = (e) => Pt(e, dl, $u), Jn = (e) => Pt(e, Mu, G), Ao = (e) => Pt(e, sl, al), Tu = (e) => Pt(e, cl, Cu), tn = (e) => Pt(e, fl, Su), F = (e) => ll.test(e), Ft = (e) => Tt(e, dl), Ou = (e) => Tt(e, Nu), Mo = (e) => Tt(e, sl), Lu = (e) => Tt(e, ul), Au = (e) => Tt(e, cl), nn = (e) => Tt(e, fl, !0), Pt = (e, t, n) => {
2129
+ ), al = () => !1, Su = (e) => xu.test(e), Cu = (e) => Eu.test(e), ku = (e) => !N(e) && !F(e), Pu = (e) => Pt(e, ul, al), N = (e) => il.test(e), lt = (e) => Pt(e, dl, $u), Qn = (e) => Pt(e, Mu, G), Ao = (e) => Pt(e, sl, al), Tu = (e) => Pt(e, cl, Cu), tn = (e) => Pt(e, fl, Su), F = (e) => ll.test(e), Ft = (e) => Tt(e, dl), Ou = (e) => Tt(e, Nu), Mo = (e) => Tt(e, sl), Lu = (e) => Tt(e, ul), Au = (e) => Tt(e, cl), nn = (e) => Tt(e, fl, !0), Pt = (e, t, n) => {
2130
2130
  const r = il.exec(e);
2131
2131
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
2132
2132
  }, Tt = (e, t, n = !1) => {
@@ -2151,15 +2151,15 @@ const Yc = (e, t) => {
2151
2151
  "bottom-left",
2152
2152
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
2153
2153
  "left-bottom"
2154
- ], E = () => [...$(), F, N], k = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], C = () => [F, N, s], M = () => [bt, "full", "auto", ...C()], S = () => [Qe, "none", "subgrid", F, N], I = () => ["auto", {
2154
+ ], E = () => [...$(), F, N], k = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], C = () => [F, N, s], M = () => [wt, "full", "auto", ...C()], S = () => [Qe, "none", "subgrid", F, N], I = () => ["auto", {
2155
2155
  span: ["full", Qe, F, N]
2156
- }, Qe, F, N], W = () => [Qe, "auto", F, N], z = () => ["auto", "min", "max", "fr", F, N], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], _ = () => ["auto", ...C()], O = () => [bt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], x = () => [e, F, N], L = () => [...$(), Mo, Ao, {
2156
+ }, Qe, F, N], W = () => [Qe, "auto", F, N], z = () => ["auto", "min", "max", "fr", F, N], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], _ = () => ["auto", ...C()], O = () => [wt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], x = () => [e, F, N], L = () => [...$(), Mo, Ao, {
2157
2157
  position: [F, N]
2158
2158
  }], V = () => ["no-repeat", {
2159
2159
  repeat: ["", "x", "y", "space", "round"]
2160
2160
  }], ee = () => ["auto", "cover", "contain", Lu, Pu, {
2161
2161
  size: [F, N]
2162
- }], B = () => [Zn, Ft, lt], D = () => [
2162
+ }], B = () => [Jn, Ft, lt], D = () => [
2163
2163
  // Deprecated since Tailwind CSS v4.0.0
2164
2164
  "",
2165
2165
  "none",
@@ -2167,14 +2167,14 @@ const Yc = (e, t) => {
2167
2167
  c,
2168
2168
  F,
2169
2169
  N
2170
- ], ae = () => ["", G, Ft, lt], Q = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => [G, Zn, Mo, Ao], Ee = () => [
2170
+ ], ae = () => ["", G, Ft, lt], Q = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => [G, Jn, Mo, Ao], Ee = () => [
2171
2171
  // Deprecated since Tailwind CSS v4.0.0
2172
2172
  "",
2173
2173
  "none",
2174
2174
  h,
2175
2175
  F,
2176
2176
  N
2177
- ], we = () => ["none", G, F, N], gt = () => ["none", G, F, N], At = () => [G, F, N], vt = () => [bt, "full", ...C()];
2177
+ ], we = () => ["none", G, F, N], vt = () => ["none", G, F, N], At = () => [G, F, N], bt = () => [wt, "full", ...C()];
2178
2178
  return {
2179
2179
  cacheSize: 500,
2180
2180
  theme: {
@@ -2207,7 +2207,7 @@ const Yc = (e, t) => {
2207
2207
  * @see https://tailwindcss.com/docs/aspect-ratio
2208
2208
  */
2209
2209
  aspect: [{
2210
- aspect: ["auto", "square", bt, N, F, v]
2210
+ aspect: ["auto", "square", wt, N, F, v]
2211
2211
  }],
2212
2212
  /**
2213
2213
  * Container
@@ -2430,7 +2430,7 @@ const Yc = (e, t) => {
2430
2430
  * @see https://tailwindcss.com/docs/flex-basis
2431
2431
  */
2432
2432
  basis: [{
2433
- basis: [bt, "full", "auto", a, ...C()]
2433
+ basis: [wt, "full", "auto", a, ...C()]
2434
2434
  }],
2435
2435
  /**
2436
2436
  * Flex Direction
@@ -2451,7 +2451,7 @@ const Yc = (e, t) => {
2451
2451
  * @see https://tailwindcss.com/docs/flex
2452
2452
  */
2453
2453
  flex: [{
2454
- flex: [G, bt, "auto", "initial", "none", N]
2454
+ flex: [G, wt, "auto", "initial", "none", N]
2455
2455
  }],
2456
2456
  /**
2457
2457
  * Flex Grow
@@ -2884,14 +2884,14 @@ const Yc = (e, t) => {
2884
2884
  * @see https://tailwindcss.com/docs/font-weight
2885
2885
  */
2886
2886
  "font-weight": [{
2887
- font: [r, F, Jn]
2887
+ font: [r, F, Qn]
2888
2888
  }],
2889
2889
  /**
2890
2890
  * Font Stretch
2891
2891
  * @see https://tailwindcss.com/docs/font-stretch
2892
2892
  */
2893
2893
  "font-stretch": [{
2894
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Zn, N]
2894
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Jn, N]
2895
2895
  }],
2896
2896
  /**
2897
2897
  * Font Family
@@ -2942,7 +2942,7 @@ const Yc = (e, t) => {
2942
2942
  * @see https://tailwindcss.com/docs/line-clamp
2943
2943
  */
2944
2944
  "line-clamp": [{
2945
- "line-clamp": [G, "none", F, Jn]
2945
+ "line-clamp": [G, "none", F, Qn]
2946
2946
  }],
2947
2947
  /**
2948
2948
  * Line Height
@@ -4149,28 +4149,28 @@ const Yc = (e, t) => {
4149
4149
  * @see https://tailwindcss.com/docs/scale
4150
4150
  */
4151
4151
  scale: [{
4152
- scale: gt()
4152
+ scale: vt()
4153
4153
  }],
4154
4154
  /**
4155
4155
  * Scale X
4156
4156
  * @see https://tailwindcss.com/docs/scale
4157
4157
  */
4158
4158
  "scale-x": [{
4159
- "scale-x": gt()
4159
+ "scale-x": vt()
4160
4160
  }],
4161
4161
  /**
4162
4162
  * Scale Y
4163
4163
  * @see https://tailwindcss.com/docs/scale
4164
4164
  */
4165
4165
  "scale-y": [{
4166
- "scale-y": gt()
4166
+ "scale-y": vt()
4167
4167
  }],
4168
4168
  /**
4169
4169
  * Scale Z
4170
4170
  * @see https://tailwindcss.com/docs/scale
4171
4171
  */
4172
4172
  "scale-z": [{
4173
- "scale-z": gt()
4173
+ "scale-z": vt()
4174
4174
  }],
4175
4175
  /**
4176
4176
  * Scale 3D
@@ -4224,28 +4224,28 @@ const Yc = (e, t) => {
4224
4224
  * @see https://tailwindcss.com/docs/translate
4225
4225
  */
4226
4226
  translate: [{
4227
- translate: vt()
4227
+ translate: bt()
4228
4228
  }],
4229
4229
  /**
4230
4230
  * Translate X
4231
4231
  * @see https://tailwindcss.com/docs/translate
4232
4232
  */
4233
4233
  "translate-x": [{
4234
- "translate-x": vt()
4234
+ "translate-x": bt()
4235
4235
  }],
4236
4236
  /**
4237
4237
  * Translate Y
4238
4238
  * @see https://tailwindcss.com/docs/translate
4239
4239
  */
4240
4240
  "translate-y": [{
4241
- "translate-y": vt()
4241
+ "translate-y": bt()
4242
4242
  }],
4243
4243
  /**
4244
4244
  * Translate Z
4245
4245
  * @see https://tailwindcss.com/docs/translate
4246
4246
  */
4247
4247
  "translate-z": [{
4248
- "translate-z": vt()
4248
+ "translate-z": bt()
4249
4249
  }],
4250
4250
  /**
4251
4251
  * Translate None
@@ -4527,7 +4527,7 @@ const Yc = (e, t) => {
4527
4527
  * @see https://tailwindcss.com/docs/stroke-width
4528
4528
  */
4529
4529
  "stroke-w": [{
4530
- stroke: [G, Ft, lt, Jn]
4530
+ stroke: [G, Ft, lt, Qn]
4531
4531
  }],
4532
4532
  /**
4533
4533
  * Stroke
@@ -4666,13 +4666,13 @@ function Pe({
4666
4666
  }
4667
4667
  );
4668
4668
  }
4669
- const Du = le(null), Qn = {
4669
+ const Du = le(null), er = {
4670
4670
  didCatch: !1,
4671
4671
  error: null
4672
4672
  };
4673
4673
  let _u = class extends Ya {
4674
4674
  constructor(t) {
4675
- super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Qn;
4675
+ super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = er;
4676
4676
  }
4677
4677
  static getDerivedStateFromError(t) {
4678
4678
  return {
@@ -4690,7 +4690,7 @@ let _u = class extends Ya {
4690
4690
  (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
4691
4691
  args: i,
4692
4692
  reason: "imperative-api"
4693
- }), this.setState(Qn);
4693
+ }), this.setState(er);
4694
4694
  }
4695
4695
  }
4696
4696
  componentDidCatch(t, n) {
@@ -4709,7 +4709,7 @@ let _u = class extends Ya {
4709
4709
  next: o,
4710
4710
  prev: t.resetKeys,
4711
4711
  reason: "keys"
4712
- }), this.setState(Qn);
4712
+ }), this.setState(er);
4713
4713
  }
4714
4714
  }
4715
4715
  render() {
@@ -4800,8 +4800,8 @@ function Hu(e, t) {
4800
4800
  }
4801
4801
  const pl = typeof document < "u" ? j.useLayoutEffect : () => {
4802
4802
  };
4803
- var er;
4804
- const Vu = (er = j.useInsertionEffect) !== null && er !== void 0 ? er : pl;
4803
+ var tr;
4804
+ const Vu = (tr = j.useInsertionEffect) !== null && tr !== void 0 ? tr : pl;
4805
4805
  function ju(e) {
4806
4806
  const t = U(null);
4807
4807
  return Vu(() => {
@@ -4837,7 +4837,7 @@ function hl(e, t) {
4837
4837
  }
4838
4838
  return !1;
4839
4839
  }
4840
- const Rr = (e = document) => {
4840
+ const $r = (e = document) => {
4841
4841
  var t;
4842
4842
  if (!Yr()) return e.activeElement;
4843
4843
  let n = e.activeElement;
@@ -4847,7 +4847,7 @@ const Rr = (e = document) => {
4847
4847
  function gl(e) {
4848
4848
  return Yr() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
4849
4849
  }
4850
- function Ln(e) {
4850
+ function An(e) {
4851
4851
  var t;
4852
4852
  if (typeof window > "u" || window.navigator == null) return !1;
4853
4853
  let n = (t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands;
@@ -4876,15 +4876,15 @@ Ze(function() {
4876
4876
  return Zr() || Ku();
4877
4877
  });
4878
4878
  Ze(function() {
4879
- return Ln(/AppleWebKit/i) && !Yu();
4879
+ return An(/AppleWebKit/i) && !Yu();
4880
4880
  });
4881
4881
  const Yu = Ze(function() {
4882
- return Ln(/Chrome/i);
4882
+ return An(/Chrome/i);
4883
4883
  }), Xu = Ze(function() {
4884
- return Ln(/Android/i);
4884
+ return An(/Android/i);
4885
4885
  });
4886
4886
  Ze(function() {
4887
- return Ln(/Firefox/i);
4887
+ return An(/Firefox/i);
4888
4888
  });
4889
4889
  function vl() {
4890
4890
  let e = U(/* @__PURE__ */ new Map()), t = Z((o, i, l, a) => {
@@ -4980,39 +4980,39 @@ function wl(e) {
4980
4980
  n
4981
4981
  ]);
4982
4982
  }
4983
- let Qu = !1, Yt = null, $r = /* @__PURE__ */ new Set(), _t = /* @__PURE__ */ new Map(), ut = !1, Sr = !1;
4983
+ let Qu = !1, Yt = null, Sr = /* @__PURE__ */ new Set(), _t = /* @__PURE__ */ new Map(), dt = !1, Cr = !1;
4984
4984
  const ed = {
4985
4985
  Tab: !0,
4986
4986
  Escape: !0
4987
4987
  };
4988
4988
  function Jr(e, t) {
4989
- for (let n of $r) n(e, t);
4989
+ for (let n of Sr) n(e, t);
4990
4990
  }
4991
4991
  function td(e) {
4992
4992
  return !(e.metaKey || !Zr() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
4993
4993
  }
4994
- function xn(e) {
4995
- ut = !0, td(e) && (Yt = "keyboard", Jr("keyboard", e));
4994
+ function En(e) {
4995
+ dt = !0, td(e) && (Yt = "keyboard", Jr("keyboard", e));
4996
4996
  }
4997
4997
  function ke(e) {
4998
- Yt = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (ut = !0, Jr("pointer", e));
4998
+ Yt = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (dt = !0, Jr("pointer", e));
4999
4999
  }
5000
5000
  function yl(e) {
5001
- Zu(e) && (ut = !0, Yt = "virtual");
5001
+ Zu(e) && (dt = !0, Yt = "virtual");
5002
5002
  }
5003
5003
  function xl(e) {
5004
- e.target === window || e.target === document || Qu || !e.isTrusted || (!ut && !Sr && (Yt = "virtual", Jr("virtual", e)), ut = !1, Sr = !1);
5004
+ e.target === window || e.target === document || Qu || !e.isTrusted || (!dt && !Cr && (Yt = "virtual", Jr("virtual", e)), dt = !1, Cr = !1);
5005
5005
  }
5006
5006
  function El() {
5007
- ut = !1, Sr = !0;
5007
+ dt = !1, Cr = !0;
5008
5008
  }
5009
- function Cr(e) {
5009
+ function kr(e) {
5010
5010
  if (typeof window > "u" || typeof document > "u" || _t.get(at(e))) return;
5011
5011
  const t = at(e), n = it(e);
5012
5012
  let r = t.HTMLElement.prototype.focus;
5013
5013
  t.HTMLElement.prototype.focus = function() {
5014
- ut = !0, r.apply(this, arguments);
5015
- }, n.addEventListener("keydown", xn, !0), n.addEventListener("keyup", xn, !0), n.addEventListener("click", yl, !0), t.addEventListener("focus", xl, !0), t.addEventListener("blur", El, !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", () => {
5014
+ dt = !0, r.apply(this, arguments);
5015
+ }, n.addEventListener("keydown", En, !0), n.addEventListener("keyup", En, !0), n.addEventListener("click", yl, !0), t.addEventListener("focus", xl, !0), t.addEventListener("blur", El, !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", () => {
5016
5016
  Rl(e);
5017
5017
  }, {
5018
5018
  once: !0
@@ -5022,13 +5022,13 @@ function Cr(e) {
5022
5022
  }
5023
5023
  const Rl = (e, t) => {
5024
5024
  const n = at(e), r = it(e);
5025
- t && r.removeEventListener("DOMContentLoaded", t), _t.has(n) && (n.HTMLElement.prototype.focus = _t.get(n).focus, r.removeEventListener("keydown", xn, !0), r.removeEventListener("keyup", xn, !0), r.removeEventListener("click", yl, !0), n.removeEventListener("focus", xl, !0), n.removeEventListener("blur", El, !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)), _t.delete(n));
5025
+ t && r.removeEventListener("DOMContentLoaded", t), _t.has(n) && (n.HTMLElement.prototype.focus = _t.get(n).focus, r.removeEventListener("keydown", En, !0), r.removeEventListener("keyup", En, !0), r.removeEventListener("click", yl, !0), n.removeEventListener("focus", xl, !0), n.removeEventListener("blur", El, !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)), _t.delete(n));
5026
5026
  };
5027
5027
  function nd(e) {
5028
5028
  const t = it(e);
5029
5029
  let n;
5030
- return t.readyState !== "loading" ? Cr(e) : (n = () => {
5031
- Cr(e);
5030
+ return t.readyState !== "loading" ? kr(e) : (n = () => {
5031
+ kr(e);
5032
5032
  }, t.addEventListener("DOMContentLoaded", n)), () => Rl(e, n);
5033
5033
  }
5034
5034
  typeof document < "u" && nd();
@@ -5052,12 +5052,12 @@ function od(e, t, n) {
5052
5052
  return e = e || r.activeElement instanceof o && !rd.has(r.activeElement.type) || r.activeElement instanceof i || r.activeElement instanceof l && r.activeElement.isContentEditable, !(e && t === "keyboard" && n instanceof a && !ed[n.key]);
5053
5053
  }
5054
5054
  function id(e, t, n) {
5055
- Cr(), re(() => {
5055
+ kr(), re(() => {
5056
5056
  let r = (o, i) => {
5057
5057
  od(!!n?.isTextInput, o, i) && e($l());
5058
5058
  };
5059
- return $r.add(r), () => {
5060
- $r.delete(r);
5059
+ return Sr.add(r), () => {
5060
+ Sr.delete(r);
5061
5061
  };
5062
5062
  }, t);
5063
5063
  }
@@ -5070,7 +5070,7 @@ function ld(e) {
5070
5070
  r,
5071
5071
  o
5072
5072
  ]), l = wl(i), a = Z((s) => {
5073
- const c = it(s.target), u = c ? Rr(c) : Rr();
5073
+ const c = it(s.target), u = c ? $r(c) : $r();
5074
5074
  s.target === s.currentTarget && u === gl(s.nativeEvent) && (n && n(s), o && o(!0), l(s));
5075
5075
  }, [
5076
5076
  o,
@@ -5096,7 +5096,7 @@ function ad(e) {
5096
5096
  a
5097
5097
  ]), c = wl(s), u = Z((f) => {
5098
5098
  if (!f.currentTarget.contains(f.target)) return;
5099
- const p = it(f.target), d = Rr(p);
5099
+ const p = it(f.target), d = $r(p);
5100
5100
  if (!i.current.isFocusWithin && d === gl(f.nativeEvent)) {
5101
5101
  r && r(f), o && o(!0), i.current.isFocusWithin = !0, c(f);
5102
5102
  let h = f.currentTarget;
@@ -5133,19 +5133,19 @@ function ad(e) {
5133
5133
  }
5134
5134
  };
5135
5135
  }
5136
- let En = !1, rn = 0;
5137
- function kr() {
5138
- En = !0, setTimeout(() => {
5139
- En = !1;
5136
+ let Rn = !1, rn = 0;
5137
+ function Pr() {
5138
+ Rn = !0, setTimeout(() => {
5139
+ Rn = !1;
5140
5140
  }, 50);
5141
5141
  }
5142
5142
  function No(e) {
5143
- e.pointerType === "touch" && kr();
5143
+ e.pointerType === "touch" && Pr();
5144
5144
  }
5145
5145
  function sd() {
5146
5146
  if (!(typeof document > "u"))
5147
- return rn === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", No) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", kr)), rn++, () => {
5148
- rn--, !(rn > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", No) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", kr));
5147
+ return rn === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", No) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", Pr)), rn++, () => {
5148
+ rn--, !(rn > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", No) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", Pr));
5149
5149
  };
5150
5150
  }
5151
5151
  function Qr(e) {
@@ -5179,13 +5179,13 @@ function Qr(e) {
5179
5179
  }), n && n(!1), l(!1));
5180
5180
  }, h = {};
5181
5181
  return typeof PointerEvent < "u" ? (h.onPointerEnter = (g) => {
5182
- En && g.pointerType === "mouse" || p(g, g.pointerType);
5182
+ Rn && g.pointerType === "mouse" || p(g, g.pointerType);
5183
5183
  }, h.onPointerLeave = (g) => {
5184
5184
  !o && g.currentTarget.contains(g.target) && d(g, g.pointerType);
5185
5185
  }) : process.env.NODE_ENV === "test" && (h.onTouchStart = () => {
5186
5186
  a.ignoreEmulatedMouseEvents = !0;
5187
5187
  }, h.onMouseEnter = (g) => {
5188
- !a.ignoreEmulatedMouseEvents && !En && p(g, "mouse"), a.ignoreEmulatedMouseEvents = !1;
5188
+ !a.ignoreEmulatedMouseEvents && !Rn && p(g, "mouse"), a.ignoreEmulatedMouseEvents = !1;
5189
5189
  }, h.onMouseLeave = (g) => {
5190
5190
  !o && g.currentTarget.contains(g.target) && d(g, "mouse");
5191
5191
  }), {
@@ -5239,10 +5239,10 @@ function eo(e = {}) {
5239
5239
  focusProps: r ? p : f
5240
5240
  };
5241
5241
  }
5242
- var cd = Object.defineProperty, ud = (e, t, n) => t in e ? cd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, tr = (e, t, n) => (ud(e, typeof t != "symbol" ? t + "" : t, n), n);
5242
+ var cd = Object.defineProperty, ud = (e, t, n) => t in e ? cd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nr = (e, t, n) => (ud(e, typeof t != "symbol" ? t + "" : t, n), n);
5243
5243
  let dd = class {
5244
5244
  constructor() {
5245
- tr(this, "current", this.detect()), tr(this, "handoffState", "pending"), tr(this, "currentId", 0);
5245
+ nr(this, "current", this.detect()), nr(this, "handoffState", "pending"), nr(this, "currentId", 0);
5246
5246
  }
5247
5247
  set(t) {
5248
5248
  this.current !== t && (this.handoffState = "pending", this.currentId = 0, this.current = t);
@@ -5273,13 +5273,13 @@ function Xt(e) {
5273
5273
  var t;
5274
5274
  return Fe.isServer ? null : e == null ? document : (t = e?.ownerDocument) != null ? t : document;
5275
5275
  }
5276
- function Rn(e) {
5276
+ function $n(e) {
5277
5277
  var t, n;
5278
5278
  return Fe.isServer ? null : e == null ? document : (n = (t = e?.getRootNode) == null ? void 0 : t.call(e)) != null ? n : document;
5279
5279
  }
5280
5280
  function Sl(e) {
5281
5281
  var t, n;
5282
- return (n = (t = Rn(e)) == null ? void 0 : t.activeElement) != null ? n : null;
5282
+ return (n = (t = $n(e)) == null ? void 0 : t.activeElement) != null ? n : null;
5283
5283
  }
5284
5284
  function fd(e) {
5285
5285
  return Sl(e) === e;
@@ -5325,21 +5325,21 @@ function $e() {
5325
5325
  } };
5326
5326
  return t;
5327
5327
  }
5328
- function mt() {
5328
+ function pt() {
5329
5329
  let [e] = J($e);
5330
5330
  return re(() => () => e.dispose(), [e]), e;
5331
5331
  }
5332
5332
  let se = (e, t) => {
5333
5333
  Fe.isServer ? re(e, t) : Gt(e, t);
5334
5334
  };
5335
- function pt(e) {
5335
+ function ht(e) {
5336
5336
  let t = U(e);
5337
5337
  return se(() => {
5338
5338
  t.current = e;
5339
5339
  }, [e]), t;
5340
5340
  }
5341
5341
  let q = function(e) {
5342
- let t = pt(e);
5342
+ let t = ht(e);
5343
5343
  return j.useCallback((...n) => t.current(...n), [t]);
5344
5344
  };
5345
5345
  function md(e) {
@@ -5350,7 +5350,7 @@ function pd(e, t) {
5350
5350
  return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom);
5351
5351
  }
5352
5352
  function to({ disabled: e = !1 } = {}) {
5353
- let t = U(null), [n, r] = J(!1), o = mt(), i = q(() => {
5353
+ let t = U(null), [n, r] = J(!1), o = pt(), i = q(() => {
5354
5354
  t.current = null, r(!1), o.dispose();
5355
5355
  }), l = q((a) => {
5356
5356
  if (o.dispose(), t.current === null) {
@@ -5372,10 +5372,10 @@ function Te(e) {
5372
5372
  return ce(() => e, Object.values(e));
5373
5373
  }
5374
5374
  let hd = le(void 0);
5375
- function An() {
5375
+ function Mn() {
5376
5376
  return te(hd);
5377
5377
  }
5378
- function Pr(...e) {
5378
+ function Tr(...e) {
5379
5379
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
5380
5380
  }
5381
5381
  function ve(e, t, ...n) {
@@ -5411,7 +5411,7 @@ function gd({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, v
5411
5411
  return on(s, n, r, l, a);
5412
5412
  }
5413
5413
  function on(e, t = {}, n, r, o) {
5414
- let { as: i = n, children: l, refName: a = "ref", ...s } = nr(e, ["unmount", "static"]), c = e.ref !== void 0 ? { [a]: e.ref } : {}, u = typeof l == "function" ? l(t) : l;
5414
+ let { as: i = n, children: l, refName: a = "ref", ...s } = rr(e, ["unmount", "static"]), c = e.ref !== void 0 ? { [a]: e.ref } : {}, u = typeof l == "function" ? l(t) : l;
5415
5415
  "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);
5416
5416
  let f = {};
5417
5417
  if (t) {
@@ -5422,17 +5422,17 @@ function on(e, t = {}, n, r, o) {
5422
5422
  for (let h of d) f[`data-${h}`] = "";
5423
5423
  }
5424
5424
  }
5425
- if (xt(i) && (Object.keys(et(s)).length > 0 || Object.keys(et(f)).length > 0)) if (!Hr(u) || Array.isArray(u) && u.length > 1 || yd(u)) {
5425
+ if (Et(i) && (Object.keys(et(s)).length > 0 || Object.keys(et(f)).length > 0)) if (!Vr(u) || Array.isArray(u) && u.length > 1 || yd(u)) {
5426
5426
  if (Object.keys(et(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(et(s)).concat(Object.keys(et(f))).map((p) => ` - ${p}`).join(`
5427
5427
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(`
5428
5428
  `)].join(`
5429
5429
  `));
5430
5430
  } else {
5431
- let p = u.props, d = p?.className, h = typeof d == "function" ? (...b) => Pr(d(...b), s.className) : Pr(d, s.className), g = h ? { className: h } : {}, v = kl(u.props, et(nr(s, ["ref"])));
5431
+ let p = u.props, d = p?.className, h = typeof d == "function" ? (...b) => Tr(d(...b), s.className) : Tr(d, s.className), g = h ? { className: h } : {}, v = kl(u.props, et(rr(s, ["ref"])));
5432
5432
  for (let b in f) b in v && delete f[b];
5433
5433
  return Li(u, Object.assign({}, v, f, c, { ref: o(wd(u), c.ref) }, g));
5434
5434
  }
5435
- return vn(i, Object.assign({}, nr(s, ["ref"]), !xt(i) && c, !xt(i) && f), u);
5435
+ return vn(i, Object.assign({}, rr(s, ["ref"]), !Et(i) && c, !Et(i) && f), u);
5436
5436
  }
5437
5437
  function vd() {
5438
5438
  let e = U([]), t = Z((n) => {
@@ -5485,7 +5485,7 @@ function et(e) {
5485
5485
  for (let n in t) t[n] === void 0 && delete t[n];
5486
5486
  return t;
5487
5487
  }
5488
- function nr(e, t = []) {
5488
+ function rr(e, t = []) {
5489
5489
  let n = Object.assign({}, e);
5490
5490
  for (let r of t) r in n && delete n[r];
5491
5491
  return n;
@@ -5493,16 +5493,16 @@ function nr(e, t = []) {
5493
5493
  function wd(e) {
5494
5494
  return j.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
5495
5495
  }
5496
- function xt(e) {
5496
+ function Et(e) {
5497
5497
  return e === _e || e === /* @__PURE__ */ Symbol.for("react.fragment");
5498
5498
  }
5499
5499
  function yd(e) {
5500
- return xt(e.type);
5500
+ return Et(e.type);
5501
5501
  }
5502
5502
  let xd = "button";
5503
5503
  function Ed(e, t) {
5504
5504
  var n;
5505
- let r = An(), { disabled: o = r || !1, autoFocus: i = !1, ...l } = e, { isFocusVisible: a, focusProps: s } = eo({ autoFocus: i }), { isHovered: c, hoverProps: u } = Qr({ isDisabled: o }), { pressed: f, pressProps: p } = to({ disabled: o }), d = jt({ ref: t, type: (n = l.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, u, p), h = Te({ disabled: o, hover: c, focus: a, active: f, autofocus: i });
5505
+ let r = Mn(), { disabled: o = r || !1, autoFocus: i = !1, ...l } = e, { isFocusVisible: a, focusProps: s } = eo({ autoFocus: i }), { isHovered: c, hoverProps: u } = Qr({ isDisabled: o }), { pressed: f, pressProps: p } = to({ disabled: o }), d = jt({ ref: t, type: (n = l.type) != null ? n : "button", disabled: o || void 0, autoFocus: i }, s, u, p), h = Te({ disabled: o, hover: c, focus: a, active: f, autofocus: i });
5506
5506
  return me()({ ourProps: d, theirProps: l, slot: h, defaultTag: xd, name: "Button" });
5507
5507
  }
5508
5508
  let Rd = de(Ed);
@@ -5523,7 +5523,7 @@ function Tl(e, t) {
5523
5523
  }
5524
5524
  function Ol(e, t, n) {
5525
5525
  if (Array.isArray(n)) for (let [r, o] of n.entries()) Ol(e, Tl(t, r.toString()), o);
5526
- else n instanceof Date ? e.push([t, n.toISOString()]) : typeof n == "boolean" ? e.push([t, n ? "1" : "0"]) : typeof n == "string" ? e.push([t, n]) : typeof n == "number" ? e.push([t, `${n}`]) : n == null ? e.push([t, ""]) : kd(n) && !Hr(n) && Pl(n, t, e);
5526
+ else n instanceof Date ? e.push([t, n.toISOString()]) : typeof n == "boolean" ? e.push([t, n ? "1" : "0"]) : typeof n == "string" ? e.push([t, n]) : typeof n == "number" ? e.push([t, `${n}`]) : n == null ? e.push([t, ""]) : kd(n) && !Vr(n) && Pl(n, t, e);
5527
5527
  }
5528
5528
  function Cd(e) {
5529
5529
  var t, n;
@@ -5553,10 +5553,10 @@ function Ld({ children: e }) {
5553
5553
  let t = te(Od);
5554
5554
  if (!t) return j.createElement(j.Fragment, null, e);
5555
5555
  let { target: n } = t;
5556
- return n ? Vr(j.createElement(j.Fragment, null, e), n) : null;
5556
+ return n ? jr(j.createElement(j.Fragment, null, e), n) : null;
5557
5557
  }
5558
5558
  function Ad({ data: e, form: t, disabled: n, onReset: r, overrides: o }) {
5559
- let [i, l] = J(null), a = mt();
5559
+ let [i, l] = J(null), a = pt();
5560
5560
  return re(() => {
5561
5561
  if (r && i) return a.addEventListener(i, "reset", r);
5562
5562
  }, [i, t, r]), j.createElement(Ld, null, j.createElement(Md, { setForm: l, formId: t }), Pl(e).map(([s, c]) => j.createElement(Ll, { features: no.Hidden, ...et({ key: s, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t, disabled: n, name: s, value: c, ...o }) })));
@@ -5580,17 +5580,17 @@ function Al() {
5580
5580
  function Ml(e) {
5581
5581
  return typeof e != "object" || e === null ? !1 : "nodeType" in e;
5582
5582
  }
5583
- function Mn(e) {
5583
+ function Nn(e) {
5584
5584
  return Ml(e) && "tagName" in e;
5585
5585
  }
5586
5586
  function Je(e) {
5587
- return Mn(e) && "accessKey" in e;
5587
+ return Nn(e) && "accessKey" in e;
5588
5588
  }
5589
5589
  function nt(e) {
5590
- return Mn(e) && "tabIndex" in e;
5590
+ return Nn(e) && "tabIndex" in e;
5591
5591
  }
5592
5592
  function Fd(e) {
5593
- return Mn(e) && "style" in e;
5593
+ return Nn(e) && "style" in e;
5594
5594
  }
5595
5595
  function Id(e) {
5596
5596
  return Je(e) && e.nodeName === "IFRAME";
@@ -5608,9 +5608,9 @@ function Fl(e) {
5608
5608
  return Je(e) && e.nodeName === "LEGEND";
5609
5609
  }
5610
5610
  function _d(e) {
5611
- return Mn(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5611
+ return Nn(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
5612
5612
  }
5613
- function Tr(e) {
5613
+ function Or(e) {
5614
5614
  let t = e.parentElement, n = null;
5615
5615
  for (; t && !Dd(t); ) Fl(t) && (n = t), t = t.parentElement;
5616
5616
  let r = t?.getAttribute("disabled") === "";
@@ -5655,7 +5655,7 @@ function Hd() {
5655
5655
  }
5656
5656
  let Vd = "p";
5657
5657
  function jd(e, t) {
5658
- let n = Ke(), r = An(), { id: o = `headlessui-description-${n}`, ...i } = e, l = _l(), a = be(t);
5658
+ let n = Ke(), r = Mn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = _l(), a = be(t);
5659
5659
  se(() => l.register(o), [o, l.register]);
5660
5660
  let s = Te({ ...l.slot, disabled: r || !1 }), c = { ref: a, ...l.props, id: o };
5661
5661
  return me()({ ourProps: c, theirProps: i, slot: s, defaultTag: Vd, name: l.name || "Description" });
@@ -5663,10 +5663,10 @@ function jd(e, t) {
5663
5663
  let Wd = de(jd);
5664
5664
  Object.assign(Wd, {});
5665
5665
  var oe = ((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))(oe || {});
5666
- let Nn = le(null);
5667
- Nn.displayName = "LabelContext";
5666
+ let Fn = le(null);
5667
+ Fn.displayName = "LabelContext";
5668
5668
  function Bl() {
5669
- let e = te(Nn);
5669
+ let e = te(Fn);
5670
5670
  if (e === null) {
5671
5671
  let t = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
5672
5672
  throw Error.captureStackTrace && Error.captureStackTrace(t, Bl), t;
@@ -5675,7 +5675,7 @@ function Bl() {
5675
5675
  }
5676
5676
  function Hl(e) {
5677
5677
  var t, n, r;
5678
- let o = (n = (t = te(Nn)) == null ? void 0 : t.value) != null ? n : void 0;
5678
+ let o = (n = (t = te(Fn)) == null ? void 0 : t.value) != null ? n : void 0;
5679
5679
  return ((r = e?.length) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
5680
5680
  }
5681
5681
  function zd({ inherit: e = !1 } = {}) {
@@ -5685,13 +5685,13 @@ function zd({ inherit: e = !1 } = {}) {
5685
5685
  let u = c.slice(), f = u.indexOf(s);
5686
5686
  return f !== -1 && u.splice(f, 1), u;
5687
5687
  }))), a = ce(() => ({ register: l, slot: i.slot, name: i.name, props: i.props, value: i.value }), [l, i.slot, i.name, i.props, i.value]);
5688
- return j.createElement(Nn.Provider, { value: a }, i.children);
5688
+ return j.createElement(Fn.Provider, { value: a }, i.children);
5689
5689
  }, [r])];
5690
5690
  }
5691
5691
  let Ud = "label";
5692
5692
  function Gd(e, t) {
5693
5693
  var n;
5694
- let r = Ke(), o = Bl(), i = Al(), l = An(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, f = be(t);
5694
+ let r = Ke(), o = Bl(), i = Al(), l = Mn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, f = be(t);
5695
5695
  se(() => o.register(a), [a, o.register]);
5696
5696
  let p = q((g) => {
5697
5697
  let v = g.currentTarget;
@@ -5748,9 +5748,9 @@ function Qd(e, t, n = !1) {
5748
5748
  var Vl = ((e) => (e[e.Left = 0] = "Left", e[e.Right = 2] = "Right", e))(Vl || {});
5749
5749
  function ef(e) {
5750
5750
  let t = U(null), n = q((o) => {
5751
- t.current = o.pointerType, !Tr(o.currentTarget) && o.pointerType === "mouse" && o.button === Vl.Left && (o.preventDefault(), e(o));
5751
+ t.current = o.pointerType, !Or(o.currentTarget) && o.pointerType === "mouse" && o.button === Vl.Left && (o.preventDefault(), e(o));
5752
5752
  }), r = q((o) => {
5753
- t.current !== "mouse" && (Tr(o.currentTarget) || e(o));
5753
+ t.current !== "mouse" && (Or(o.currentTarget) || e(o));
5754
5754
  });
5755
5755
  return { onPointerDown: n, onClick: r };
5756
5756
  }
@@ -5765,13 +5765,13 @@ let jl = class extends Map {
5765
5765
  };
5766
5766
  var tf = Object.defineProperty, nf = (e, t, n) => t in e ? tf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, rf = (e, t, n) => (nf(e, t + "", n), n), Wl = (e, t, n) => {
5767
5767
  if (!t.has(e)) throw TypeError("Cannot " + n);
5768
- }, Se = (e, t, n) => (Wl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), rr = (e, t, n) => {
5768
+ }, Se = (e, t, n) => (Wl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), or = (e, t, n) => {
5769
5769
  if (t.has(e)) throw TypeError("Cannot add the same private member more than once");
5770
5770
  t instanceof WeakSet ? t.add(e) : t.set(e, n);
5771
5771
  }, Do = (e, t, n, r) => (Wl(e, t, "write to private field"), t.set(e, n), n), Me, It, Dt;
5772
5772
  let zl = class {
5773
5773
  constructor(t) {
5774
- rr(this, Me, {}), rr(this, It, new jl(() => /* @__PURE__ */ new Set())), rr(this, Dt, /* @__PURE__ */ new Set()), rf(this, "disposables", $e()), Do(this, Me, t), Fe.isServer && this.disposables.microTask(() => {
5774
+ or(this, Me, {}), or(this, It, new jl(() => /* @__PURE__ */ new Set())), or(this, Dt, /* @__PURE__ */ new Set()), rf(this, "disposables", $e()), Do(this, Me, t), Fe.isServer && this.disposables.microTask(() => {
5775
5775
  this.dispose();
5776
5776
  });
5777
5777
  }
@@ -5809,9 +5809,9 @@ let zl = class {
5809
5809
  };
5810
5810
  Me = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap();
5811
5811
  function Ul(e, t) {
5812
- return Object.is(e, t) ? !0 : typeof e != "object" || e === null || typeof t != "object" || t === null ? !1 : Array.isArray(e) && Array.isArray(t) ? e.length !== t.length ? !1 : or(e[Symbol.iterator](), t[Symbol.iterator]()) : e instanceof Map && t instanceof Map || e instanceof Set && t instanceof Set ? e.size !== t.size ? !1 : or(e.entries(), t.entries()) : _o(e) && _o(t) ? or(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
5812
+ return Object.is(e, t) ? !0 : typeof e != "object" || e === null || typeof t != "object" || t === null ? !1 : Array.isArray(e) && Array.isArray(t) ? e.length !== t.length ? !1 : ir(e[Symbol.iterator](), t[Symbol.iterator]()) : e instanceof Map && t instanceof Map || e instanceof Set && t instanceof Set ? e.size !== t.size ? !1 : ir(e.entries(), t.entries()) : _o(e) && _o(t) ? ir(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
5813
5813
  }
5814
- function or(e, t) {
5814
+ function ir(e, t) {
5815
5815
  do {
5816
5816
  let n = e.next(), r = t.next();
5817
5817
  if (n.done && r.done) return !0;
@@ -5823,7 +5823,7 @@ function _o(e) {
5823
5823
  let t = Object.getPrototypeOf(e);
5824
5824
  return t === null || Object.getPrototypeOf(t) === null;
5825
5825
  }
5826
- function ir(e) {
5826
+ function lr(e) {
5827
5827
  let [t, n] = e(), r = $e();
5828
5828
  return (...o) => {
5829
5829
  t(...o), r.dispose(), r.microTask(n);
@@ -5854,17 +5854,17 @@ let af = { 0(e, t) {
5854
5854
  }
5855
5855
  };
5856
5856
  const oo = new jl(() => sf.new());
5857
- var ln = { exports: {} }, lr = {};
5857
+ var ln = { exports: {} }, ar = {};
5858
5858
  var Ho;
5859
5859
  function cf() {
5860
- if (Ho) return lr;
5860
+ if (Ho) return ar;
5861
5861
  Ho = 1;
5862
5862
  var e = j;
5863
5863
  function t(s, c) {
5864
5864
  return s === c && (s !== 0 || 1 / s === 1 / c) || s !== s && c !== c;
5865
5865
  }
5866
5866
  var n = typeof Object.is == "function" ? Object.is : t, r = e.useSyncExternalStore, o = e.useRef, i = e.useEffect, l = e.useMemo, a = e.useDebugValue;
5867
- return lr.useSyncExternalStoreWithSelector = function(s, c, u, f, p) {
5867
+ return ar.useSyncExternalStoreWithSelector = function(s, c, u, f, p) {
5868
5868
  var d = o(null);
5869
5869
  if (d.current === null) {
5870
5870
  var h = { hasValue: !1, value: null };
@@ -5904,9 +5904,9 @@ function cf() {
5904
5904
  },
5905
5905
  [g]
5906
5906
  ), a(g), g;
5907
- }, lr;
5907
+ }, ar;
5908
5908
  }
5909
- var ar = {};
5909
+ var sr = {};
5910
5910
  var Vo;
5911
5911
  function uf() {
5912
5912
  return Vo || (Vo = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -5915,7 +5915,7 @@ function uf() {
5915
5915
  }
5916
5916
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
5917
5917
  var t = j, n = typeof Object.is == "function" ? Object.is : e, r = t.useSyncExternalStore, o = t.useRef, i = t.useEffect, l = t.useMemo, a = t.useDebugValue;
5918
- ar.useSyncExternalStoreWithSelector = function(s, c, u, f, p) {
5918
+ sr.useSyncExternalStoreWithSelector = function(s, c, u, f, p) {
5919
5919
  var d = o(null);
5920
5920
  if (d.current === null) {
5921
5921
  var h = { hasValue: !1, value: null };
@@ -5957,7 +5957,7 @@ function uf() {
5957
5957
  [g]
5958
5958
  ), a(g), g;
5959
5959
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
5960
- })()), ar;
5960
+ })()), sr;
5961
5961
  }
5962
5962
  var jo;
5963
5963
  function df() {
@@ -5976,18 +5976,18 @@ function Kl(e, t) {
5976
5976
  if (e) return r.actions.push(n), () => r.actions.pop(n);
5977
5977
  }, [r, e, n]), e ? i ? o : !0 : !1;
5978
5978
  }
5979
- let Or = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new Map();
5979
+ let Lr = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new Map();
5980
5980
  function Wo(e) {
5981
5981
  var t;
5982
5982
  let n = (t = Bt.get(e)) != null ? t : 0;
5983
- return Bt.set(e, n + 1), n !== 0 ? () => zo(e) : (Or.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => zo(e));
5983
+ return Bt.set(e, n + 1), n !== 0 ? () => zo(e) : (Lr.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => zo(e));
5984
5984
  }
5985
5985
  function zo(e) {
5986
5986
  var t;
5987
5987
  let n = (t = Bt.get(e)) != null ? t : 1;
5988
5988
  if (n === 1 ? Bt.delete(e) : Bt.set(e, n - 1), n !== 1) return;
5989
- let r = Or.get(e);
5990
- r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, Or.delete(e));
5989
+ let r = Lr.get(e);
5990
+ r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, Lr.delete(e));
5991
5991
  }
5992
5992
  function pf(e, { allowed: t, disallowed: n } = {}) {
5993
5993
  let r = Kl(e, "inert-others");
@@ -6011,7 +6011,7 @@ function pf(e, { allowed: t, disallowed: n } = {}) {
6011
6011
  }, [r, t, n]);
6012
6012
  }
6013
6013
  function hf(e, t, n) {
6014
- let r = pt((o) => {
6014
+ let r = ht((o) => {
6015
6015
  let i = o.getBoundingClientRect();
6016
6016
  i.x === 0 && i.y === 0 && i.width === 0 && i.height === 0 && n();
6017
6017
  });
@@ -6031,10 +6031,10 @@ function hf(e, t, n) {
6031
6031
  return () => i.dispose();
6032
6032
  }, [t, r, e]);
6033
6033
  }
6034
- let Lr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), gf = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
6035
- var Ar = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(Ar || {}), vf = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(vf || {}), bf = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(bf || {});
6034
+ let Ar = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), gf = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
6035
+ var Mr = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(Mr || {}), vf = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(vf || {}), bf = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(bf || {});
6036
6036
  function Yl(e = document.body) {
6037
- return e == null ? [] : Array.from(e.querySelectorAll(Lr)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6037
+ return e == null ? [] : Array.from(e.querySelectorAll(Ar)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6038
6038
  }
6039
6039
  function wf(e = document.body) {
6040
6040
  return e == null ? [] : Array.from(e.querySelectorAll(gf)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
@@ -6043,11 +6043,11 @@ var io = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(io |
6043
6043
  function Xl(e, t = 0) {
6044
6044
  var n;
6045
6045
  return e === ((n = Xt(e)) == null ? void 0 : n.body) ? !1 : ve(t, { 0() {
6046
- return e.matches(Lr);
6046
+ return e.matches(Ar);
6047
6047
  }, 1() {
6048
6048
  let r = e;
6049
6049
  for (; r !== null; ) {
6050
- if (r.matches(Lr)) return !0;
6050
+ if (r.matches(Ar)) return !0;
6051
6051
  r = r.parentElement;
6052
6052
  }
6053
6053
  return !1;
@@ -6072,11 +6072,11 @@ function Zl(e, t = (n) => n) {
6072
6072
  return l & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : l & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
6073
6073
  });
6074
6074
  }
6075
- function Rf(e, t, n = e === null ? document.body : Rn(e)) {
6075
+ function Rf(e, t, n = e === null ? document.body : $n(e)) {
6076
6076
  return $f(Yl(n), t, { relativeTo: e });
6077
6077
  }
6078
6078
  function $f(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
6079
- let i = Array.isArray(e) ? e.length > 0 ? Rn(e[0]) : document : Rn(e), l = Array.isArray(e) ? n ? Zl(e) : e : t & 64 ? wf(e) : Yl(e);
6079
+ let i = Array.isArray(e) ? e.length > 0 ? $n(e[0]) : document : $n(e), l = Array.isArray(e) ? n ? Zl(e) : e : t & 64 ? wf(e) : Yl(e);
6080
6080
  o.length > 0 && l.length > 1 && (l = l.filter((d) => !o.some((h) => h != null && "current" in h ? h?.current === d : h === d))), r = r ?? i?.activeElement;
6081
6081
  let a = (() => {
6082
6082
  if (t & 5) return 1;
@@ -6110,8 +6110,8 @@ function Sf() {
6110
6110
  function Uo() {
6111
6111
  return Jl() || Sf();
6112
6112
  }
6113
- function yt(e, t, n, r) {
6114
- let o = pt(n);
6113
+ function xt(e, t, n, r) {
6114
+ let o = ht(n);
6115
6115
  re(() => {
6116
6116
  if (!e) return;
6117
6117
  function i(l) {
@@ -6121,7 +6121,7 @@ function yt(e, t, n, r) {
6121
6121
  }, [e, t, r]);
6122
6122
  }
6123
6123
  function Cf(e, t, n, r) {
6124
- let o = pt(n);
6124
+ let o = ht(n);
6125
6125
  re(() => {
6126
6126
  if (!e) return;
6127
6127
  function i(l) {
@@ -6132,7 +6132,7 @@ function Cf(e, t, n, r) {
6132
6132
  }
6133
6133
  const Go = 30;
6134
6134
  function kf(e, t, n) {
6135
- let r = pt(n), o = Z(function(a, s) {
6135
+ let r = ht(n), o = Z(function(a, s) {
6136
6136
  if (a.defaultPrevented) return;
6137
6137
  let c = s(a);
6138
6138
  if (c === null || !c.getRootNode().contains(c) || !c.isConnected) return;
@@ -6142,32 +6142,32 @@ function kf(e, t, n) {
6142
6142
  for (let f of u) if (f !== null && (f.contains(c) || a.composed && a.composedPath().includes(f))) return;
6143
6143
  return !Xl(c, io.Loose) && c.tabIndex !== -1 && a.preventDefault(), r.current(a, c);
6144
6144
  }, [r, t]), i = U(null);
6145
- yt(e, "pointerdown", (a) => {
6145
+ xt(e, "pointerdown", (a) => {
6146
6146
  var s, c;
6147
6147
  Uo() || (i.current = ((c = (s = a.composedPath) == null ? void 0 : s.call(a)) == null ? void 0 : c[0]) || a.target);
6148
- }, !0), yt(e, "pointerup", (a) => {
6148
+ }, !0), xt(e, "pointerup", (a) => {
6149
6149
  if (Uo() || !i.current) return;
6150
6150
  let s = i.current;
6151
6151
  return i.current = null, o(a, () => s);
6152
6152
  }, !0);
6153
6153
  let l = U({ x: 0, y: 0 });
6154
- yt(e, "touchstart", (a) => {
6154
+ xt(e, "touchstart", (a) => {
6155
6155
  l.current.x = a.touches[0].clientX, l.current.y = a.touches[0].clientY;
6156
- }, !0), yt(e, "touchend", (a) => {
6156
+ }, !0), xt(e, "touchend", (a) => {
6157
6157
  let s = { x: a.changedTouches[0].clientX, y: a.changedTouches[0].clientY };
6158
6158
  if (!(Math.abs(s.x - l.current.x) >= Go || Math.abs(s.y - l.current.y) >= Go)) return o(a, () => nt(a.target) ? a.target : null);
6159
6159
  }, !0), Cf(e, "blur", (a) => o(a, () => Id(window.document.activeElement) ? window.document.activeElement : null), !0);
6160
6160
  }
6161
- function Mr(...e) {
6161
+ function Nr(...e) {
6162
6162
  return ce(() => Xt(...e), [...e]);
6163
6163
  }
6164
6164
  var Pf = ((e) => (e[e.Ignore = 0] = "Ignore", e[e.Select = 1] = "Select", e[e.Close = 2] = "Close", e))(Pf || {});
6165
6165
  const an = { Ignore: { kind: 0 }, Select: (e) => ({ kind: 1, target: e }), Close: { kind: 2 } }, Tf = 200, qo = 5;
6166
6166
  function Of(e, { trigger: t, action: n, close: r, select: o }) {
6167
6167
  let i = U(null), l = U(null), a = U(null);
6168
- yt(e && t !== null, "pointerdown", (s) => {
6168
+ xt(e && t !== null, "pointerdown", (s) => {
6169
6169
  Ml(s?.target) && t != null && t.contains(s.target) && (l.current = s.x, a.current = s.y, i.current = s.timeStamp);
6170
- }), yt(e && t !== null, "pointerup", (s) => {
6170
+ }), xt(e && t !== null, "pointerup", (s) => {
6171
6171
  var c, u;
6172
6172
  let f = i.current;
6173
6173
  if (f === null || (i.current = null, !nt(s.target)) || Math.abs(s.x - ((c = l.current) != null ? c : s.x)) < qo && Math.abs(s.y - ((u = a.current) != null ? u : s.y)) < qo) return;
@@ -6341,7 +6341,7 @@ function lo(e) {
6341
6341
  return t;
6342
6342
  }
6343
6343
  function ao(e, t, n, r) {
6344
- let [o, i] = J(n), { hasFlag: l, addFlag: a, removeFlag: s } = Bf(e && o ? 3 : 0), c = U(!1), u = U(!1), f = mt();
6344
+ let [o, i] = J(n), { hasFlag: l, addFlag: a, removeFlag: s } = Bf(e && o ? 3 : 0), c = U(!1), u = U(!1), f = pt();
6345
6345
  return se(() => {
6346
6346
  var p;
6347
6347
  if (e) {
@@ -6393,7 +6393,7 @@ function zf(e) {
6393
6393
  var t, n;
6394
6394
  return ((n = (t = e.getAnimations) == null ? void 0 : t.call(e)) != null ? n : []).some((r) => r instanceof CSSTransition && r.playState !== "finished");
6395
6395
  }
6396
- function Fn() {
6396
+ function In() {
6397
6397
  return typeof window < "u";
6398
6398
  }
6399
6399
  function Ot(e) {
@@ -6408,16 +6408,16 @@ function He(e) {
6408
6408
  return (t = (so(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
6409
6409
  }
6410
6410
  function so(e) {
6411
- return Fn() ? e instanceof Node || e instanceof xe(e).Node : !1;
6411
+ return In() ? e instanceof Node || e instanceof xe(e).Node : !1;
6412
6412
  }
6413
6413
  function X(e) {
6414
- return Fn() ? e instanceof Element || e instanceof xe(e).Element : !1;
6414
+ return In() ? e instanceof Element || e instanceof xe(e).Element : !1;
6415
6415
  }
6416
6416
  function Re(e) {
6417
- return Fn() ? e instanceof HTMLElement || e instanceof xe(e).HTMLElement : !1;
6417
+ return In() ? e instanceof HTMLElement || e instanceof xe(e).HTMLElement : !1;
6418
6418
  }
6419
- function Nr(e) {
6420
- return !Fn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof xe(e).ShadowRoot;
6419
+ function Fr(e) {
6420
+ return !In() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof xe(e).ShadowRoot;
6421
6421
  }
6422
6422
  const Uf = /* @__PURE__ */ new Set(["inline", "contents"]);
6423
6423
  function Zt(e) {
@@ -6434,7 +6434,7 @@ function qf(e) {
6434
6434
  return Gf.has(Ot(e));
6435
6435
  }
6436
6436
  const Kf = [":popover-open", ":modal"];
6437
- function In(e) {
6437
+ function Dn(e) {
6438
6438
  return Kf.some((t) => {
6439
6439
  try {
6440
6440
  return e.matches(t);
@@ -6445,7 +6445,7 @@ function In(e) {
6445
6445
  }
6446
6446
  const Yf = ["transform", "translate", "scale", "rotate", "perspective"], Xf = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Zf = ["paint", "layout", "strict", "content"];
6447
6447
  function co(e) {
6448
- const t = Dn(), n = X(e) ? Oe(e) : e;
6448
+ const t = _n(), n = X(e) ? Oe(e) : e;
6449
6449
  return Yf.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Xf.some((r) => (n.willChange || "").includes(r)) || Zf.some((r) => (n.contain || "").includes(r));
6450
6450
  }
6451
6451
  function Jf(e) {
@@ -6453,13 +6453,13 @@ function Jf(e) {
6453
6453
  for (; Re(t) && !ze(t); ) {
6454
6454
  if (co(t))
6455
6455
  return t;
6456
- if (In(t))
6456
+ if (Dn(t))
6457
6457
  return null;
6458
6458
  t = qe(t);
6459
6459
  }
6460
6460
  return null;
6461
6461
  }
6462
- function Dn() {
6462
+ function _n() {
6463
6463
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
6464
6464
  }
6465
6465
  const Qf = /* @__PURE__ */ new Set(["html", "body", "#document"]);
@@ -6469,7 +6469,7 @@ function ze(e) {
6469
6469
  function Oe(e) {
6470
6470
  return xe(e).getComputedStyle(e);
6471
6471
  }
6472
- function _n(e) {
6472
+ function Bn(e) {
6473
6473
  return X(e) ? {
6474
6474
  scrollLeft: e.scrollLeft,
6475
6475
  scrollTop: e.scrollTop
@@ -6485,10 +6485,10 @@ function qe(e) {
6485
6485
  // Step into the shadow DOM of the parent of a slotted node.
6486
6486
  e.assignedSlot || // DOM Element detected.
6487
6487
  e.parentNode || // ShadowRoot detected.
6488
- Nr(e) && e.host || // Fallback.
6488
+ Fr(e) && e.host || // Fallback.
6489
6489
  He(e)
6490
6490
  );
6491
- return Nr(t) ? t.host : t;
6491
+ return Fr(t) ? t.host : t;
6492
6492
  }
6493
6493
  function ea(e) {
6494
6494
  const t = qe(e);
@@ -6499,12 +6499,12 @@ function ot(e, t, n) {
6499
6499
  t === void 0 && (t = []), n === void 0 && (n = !0);
6500
6500
  const o = ea(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), l = xe(o);
6501
6501
  if (i) {
6502
- const a = Fr(l);
6502
+ const a = Ir(l);
6503
6503
  return t.concat(l, l.visualViewport || [], Zt(o) ? o : [], a && n ? ot(a) : []);
6504
6504
  }
6505
6505
  return t.concat(o, ot(o, [], n));
6506
6506
  }
6507
- function Fr(e) {
6507
+ function Ir(e) {
6508
6508
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
6509
6509
  }
6510
6510
  function em() {
@@ -6517,7 +6517,7 @@ function em() {
6517
6517
  return n + "/" + r;
6518
6518
  }).join(" ") : navigator.userAgent;
6519
6519
  }
6520
- const tm = ["top", "right", "bottom", "left"], Jo = ["start", "end"], Qo = /* @__PURE__ */ tm.reduce((e, t) => e.concat(t, t + "-" + Jo[0], t + "-" + Jo[1]), []), dt = Math.min, pe = Math.max, Wt = Math.round, sn = Math.floor, Ie = (e) => ({
6520
+ const tm = ["top", "right", "bottom", "left"], Jo = ["start", "end"], Qo = /* @__PURE__ */ tm.reduce((e, t) => e.concat(t, t + "-" + Jo[0], t + "-" + Jo[1]), []), ft = Math.min, pe = Math.max, Wt = Math.round, sn = Math.floor, Ie = (e) => ({
6521
6521
  x: e,
6522
6522
  y: e
6523
6523
  }), nm = {
@@ -6530,9 +6530,9 @@ const tm = ["top", "right", "bottom", "left"], Jo = ["start", "end"], Qo = /* @_
6530
6530
  end: "start"
6531
6531
  };
6532
6532
  function ei(e, t, n) {
6533
- return pe(e, dt(t, n));
6533
+ return pe(e, ft(t, n));
6534
6534
  }
6535
- function ht(e, t) {
6535
+ function gt(e, t) {
6536
6536
  return typeof e == "function" ? e(t) : e;
6537
6537
  }
6538
6538
  function Be(e) {
@@ -6558,13 +6558,13 @@ function oa(e, t, n) {
6558
6558
  n === void 0 && (n = !1);
6559
6559
  const r = De(e), o = ra(e), i = na(o);
6560
6560
  let l = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
6561
- return t.reference[i] > t.floating[i] && (l = Sn(l)), [l, Sn(l)];
6561
+ return t.reference[i] > t.floating[i] && (l = Cn(l)), [l, Cn(l)];
6562
6562
  }
6563
6563
  function im(e) {
6564
- const t = Sn(e);
6565
- return [$n(e), t, $n(t)];
6564
+ const t = Cn(e);
6565
+ return [Sn(e), t, Sn(t)];
6566
6566
  }
6567
- function $n(e) {
6567
+ function Sn(e) {
6568
6568
  return e.replace(/start|end/g, (t) => rm[t]);
6569
6569
  }
6570
6570
  const ti = ["left", "right"], ni = ["right", "left"], lm = ["top", "bottom"], am = ["bottom", "top"];
@@ -6583,9 +6583,9 @@ function sm(e, t, n) {
6583
6583
  function cm(e, t, n, r) {
6584
6584
  const o = De(e);
6585
6585
  let i = sm(Be(e), n === "start", r);
6586
- return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map($n)))), i;
6586
+ return o && (i = i.map((l) => l + "-" + o), t && (i = i.concat(i.map(Sn)))), i;
6587
6587
  }
6588
- function Sn(e) {
6588
+ function Cn(e) {
6589
6589
  return e.replace(/left|right|bottom|top/g, (t) => nm[t]);
6590
6590
  }
6591
6591
  function um(e) {
@@ -6605,7 +6605,7 @@ function dm(e) {
6605
6605
  left: e
6606
6606
  };
6607
6607
  }
6608
- function Cn(e) {
6608
+ function kn(e) {
6609
6609
  const {
6610
6610
  x: t,
6611
6611
  y: n,
@@ -6748,7 +6748,7 @@ async function Jt(e, t) {
6748
6748
  elementContext: f = "floating",
6749
6749
  altBoundary: p = !1,
6750
6750
  padding: d = 0
6751
- } = ht(t, e), h = dm(d), v = a[p ? f === "floating" ? "reference" : "floating" : f], b = Cn(await i.getClippingRect({
6751
+ } = gt(t, e), h = dm(d), v = a[p ? f === "floating" ? "reference" : "floating" : f], b = kn(await i.getClippingRect({
6752
6752
  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)),
6753
6753
  boundary: c,
6754
6754
  rootBoundary: u,
@@ -6764,7 +6764,7 @@ async function Jt(e, t) {
6764
6764
  } : {
6765
6765
  x: 1,
6766
6766
  y: 1
6767
- }, E = Cn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6767
+ }, E = kn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
6768
6768
  elements: a,
6769
6769
  rect: y,
6770
6770
  offsetParent: w,
@@ -6778,7 +6778,7 @@ async function Jt(e, t) {
6778
6778
  };
6779
6779
  }
6780
6780
  function mm(e, t, n) {
6781
- return (e ? [...n.filter((o) => De(o) === e), ...n.filter((o) => De(o) !== e)] : n.filter((o) => Be(o) === o)).filter((o) => e ? De(o) === e || (t ? $n(o) !== o : !1) : !0);
6781
+ return (e ? [...n.filter((o) => De(o) === e), ...n.filter((o) => De(o) !== e)] : n.filter((o) => Be(o) === o)).filter((o) => e ? De(o) === e || (t ? Sn(o) !== o : !1) : !0);
6782
6782
  }
6783
6783
  const pm = function(e) {
6784
6784
  return e === void 0 && (e = {}), {
@@ -6798,7 +6798,7 @@ const pm = function(e) {
6798
6798
  allowedPlacements: p = Qo,
6799
6799
  autoAlignment: d = !0,
6800
6800
  ...h
6801
- } = ht(e, t), g = f !== void 0 || p === Qo ? mm(f || null, d, p) : p, v = await Jt(t, h), b = ((n = l.autoPlacement) == null ? void 0 : n.index) || 0, y = g[b];
6801
+ } = gt(e, t), g = f !== void 0 || p === Qo ? mm(f || null, d, p) : p, v = await Jt(t, h), b = ((n = l.autoPlacement) == null ? void 0 : n.index) || 0, y = g[b];
6802
6802
  if (y == null)
6803
6803
  return {};
6804
6804
  const w = oa(y, i, await (s.isRTL == null ? void 0 : s.isRTL(c.floating)));
@@ -6869,10 +6869,10 @@ const pm = function(e) {
6869
6869
  fallbackAxisSideDirection: h = "none",
6870
6870
  flipAlignment: g = !0,
6871
6871
  ...v
6872
- } = ht(e, t);
6872
+ } = gt(e, t);
6873
6873
  if ((n = i.arrow) != null && n.alignmentOffset)
6874
6874
  return {};
6875
- const b = Be(o), y = je(a), w = Be(a) === a, $ = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), E = p || (w || !g ? [Sn(a)] : im(a)), k = h !== "none";
6875
+ const b = Be(o), y = je(a), w = Be(a) === a, $ = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), E = p || (w || !g ? [Cn(a)] : im(a)), k = h !== "none";
6876
6876
  !p && k && E.push(...cm(a, g, h, $));
6877
6877
  const P = [a, ...E], C = await Jt(t, v), M = [];
6878
6878
  let S = ((r = i.flip) == null ? void 0 : r.overflows) || [];
@@ -6935,7 +6935,7 @@ async function vm(e, t) {
6935
6935
  placement: n,
6936
6936
  platform: r,
6937
6937
  elements: o
6938
- } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), l = Be(n), a = De(n), s = je(n) === "y", c = gm.has(l) ? -1 : 1, u = i && s ? -1 : 1, f = ht(t, e);
6938
+ } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), l = Be(n), a = De(n), s = je(n) === "y", c = gm.has(l) ? -1 : 1, u = i && s ? -1 : 1, f = gt(t, e);
6939
6939
  let {
6940
6940
  mainAxis: p,
6941
6941
  crossAxis: d,
@@ -7004,7 +7004,7 @@ const bm = function(e) {
7004
7004
  }
7005
7005
  },
7006
7006
  ...s
7007
- } = ht(e, t), c = {
7007
+ } = gt(e, t), c = {
7008
7008
  x: n,
7009
7009
  y: r
7010
7010
  }, u = await Jt(t, s), f = je(Be(o)), p = ta(f);
@@ -7050,13 +7050,13 @@ const bm = function(e) {
7050
7050
  apply: s = () => {
7051
7051
  },
7052
7052
  ...c
7053
- } = ht(e, t), u = await Jt(t, c), f = Be(o), p = De(o), d = je(o) === "y", {
7053
+ } = gt(e, t), u = await Jt(t, c), f = Be(o), p = De(o), d = je(o) === "y", {
7054
7054
  width: h,
7055
7055
  height: g
7056
7056
  } = i.floating;
7057
7057
  let v, b;
7058
7058
  f === "top" || f === "bottom" ? (v = f, b = p === (await (l.isRTL == null ? void 0 : l.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (b = f, v = p === "end" ? "top" : "bottom");
7059
- const y = g - u.top - u.bottom, w = h - u.left - u.right, $ = dt(g - u[v], y), E = dt(h - u[b], w), k = !t.middlewareData.shift;
7059
+ const y = g - u.top - u.bottom, w = h - u.left - u.right, $ = ft(g - u[v], y), E = ft(h - u[b], w), k = !t.middlewareData.shift;
7060
7060
  let P = $, C = E;
7061
7061
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = w), (r = t.middlewareData.shift) != null && r.enabled.y && (P = y), k && !p) {
7062
7062
  const S = pe(u.left, 0), I = pe(u.right, 0), W = pe(u.top, 0), z = pe(u.bottom, 0);
@@ -7089,7 +7089,7 @@ function ia(e) {
7089
7089
  function uo(e) {
7090
7090
  return X(e) ? e : e.contextElement;
7091
7091
  }
7092
- function Et(e) {
7092
+ function Rt(e) {
7093
7093
  const t = uo(e);
7094
7094
  if (!Re(t))
7095
7095
  return Ie(1);
@@ -7107,7 +7107,7 @@ function Et(e) {
7107
7107
  const xm = /* @__PURE__ */ Ie(0);
7108
7108
  function la(e) {
7109
7109
  const t = xe(e);
7110
- return !Dn() || !t.visualViewport ? xm : {
7110
+ return !_n() || !t.visualViewport ? xm : {
7111
7111
  x: t.visualViewport.offsetLeft,
7112
7112
  y: t.visualViewport.offsetTop
7113
7113
  };
@@ -7115,34 +7115,34 @@ function la(e) {
7115
7115
  function Em(e, t, n) {
7116
7116
  return t === void 0 && (t = !1), !n || t && n !== xe(e) ? !1 : t;
7117
7117
  }
7118
- function ft(e, t, n, r) {
7118
+ function mt(e, t, n, r) {
7119
7119
  t === void 0 && (t = !1), n === void 0 && (n = !1);
7120
7120
  const o = e.getBoundingClientRect(), i = uo(e);
7121
7121
  let l = Ie(1);
7122
- t && (r ? X(r) && (l = Et(r)) : l = Et(e));
7122
+ t && (r ? X(r) && (l = Rt(r)) : l = Rt(e));
7123
7123
  const a = Em(i, n, r) ? la(i) : Ie(0);
7124
7124
  let s = (o.left + a.x) / l.x, c = (o.top + a.y) / l.y, u = o.width / l.x, f = o.height / l.y;
7125
7125
  if (i) {
7126
7126
  const p = xe(i), d = r && X(r) ? xe(r) : r;
7127
- let h = p, g = Fr(h);
7127
+ let h = p, g = Ir(h);
7128
7128
  for (; g && r && d !== h; ) {
7129
- const v = Et(g), b = g.getBoundingClientRect(), y = Oe(g), w = b.left + (g.clientLeft + parseFloat(y.paddingLeft)) * v.x, $ = b.top + (g.clientTop + parseFloat(y.paddingTop)) * v.y;
7130
- s *= v.x, c *= v.y, u *= v.x, f *= v.y, s += w, c += $, h = xe(g), g = Fr(h);
7129
+ const v = Rt(g), b = g.getBoundingClientRect(), y = Oe(g), w = b.left + (g.clientLeft + parseFloat(y.paddingLeft)) * v.x, $ = b.top + (g.clientTop + parseFloat(y.paddingTop)) * v.y;
7130
+ s *= v.x, c *= v.y, u *= v.x, f *= v.y, s += w, c += $, h = xe(g), g = Ir(h);
7131
7131
  }
7132
7132
  }
7133
- return Cn({
7133
+ return kn({
7134
7134
  width: u,
7135
7135
  height: f,
7136
7136
  x: s,
7137
7137
  y: c
7138
7138
  });
7139
7139
  }
7140
- function Bn(e, t) {
7141
- const n = _n(e).scrollLeft;
7142
- return t ? t.left + n : ft(He(e)).left + n;
7140
+ function Hn(e, t) {
7141
+ const n = Bn(e).scrollLeft;
7142
+ return t ? t.left + n : mt(He(e)).left + n;
7143
7143
  }
7144
7144
  function aa(e, t) {
7145
- const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Bn(e, n), o = n.top + t.scrollTop;
7145
+ const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Hn(e, n), o = n.top + t.scrollTop;
7146
7146
  return {
7147
7147
  x: r,
7148
7148
  y: o
@@ -7155,7 +7155,7 @@ function Rm(e) {
7155
7155
  offsetParent: r,
7156
7156
  strategy: o
7157
7157
  } = e;
7158
- const i = o === "fixed", l = He(r), a = t ? In(t.floating) : !1;
7158
+ const i = o === "fixed", l = He(r), a = t ? Dn(t.floating) : !1;
7159
7159
  if (r === l || a && i)
7160
7160
  return n;
7161
7161
  let s = {
@@ -7163,9 +7163,9 @@ function Rm(e) {
7163
7163
  scrollTop: 0
7164
7164
  }, c = Ie(1);
7165
7165
  const u = Ie(0), f = Re(r);
7166
- if ((f || !f && !i) && ((Ot(r) !== "body" || Zt(l)) && (s = _n(r)), Re(r))) {
7167
- const d = ft(r);
7168
- c = Et(r), u.x = d.x + r.clientLeft, u.y = d.y + r.clientTop;
7166
+ if ((f || !f && !i) && ((Ot(r) !== "body" || Zt(l)) && (s = Bn(r)), Re(r))) {
7167
+ const d = mt(r);
7168
+ c = Rt(r), u.x = d.x + r.clientLeft, u.y = d.y + r.clientTop;
7169
7169
  }
7170
7170
  const p = l && !f && !i ? aa(l, s) : Ie(0);
7171
7171
  return {
@@ -7179,8 +7179,8 @@ function $m(e) {
7179
7179
  return Array.from(e.getClientRects());
7180
7180
  }
7181
7181
  function Sm(e) {
7182
- const t = He(e), n = _n(e), r = e.ownerDocument.body, o = pe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = pe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
7183
- let l = -n.scrollLeft + Bn(e);
7182
+ const t = He(e), n = Bn(e), r = e.ownerDocument.body, o = pe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = pe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
7183
+ let l = -n.scrollLeft + Hn(e);
7184
7184
  const a = -n.scrollTop;
7185
7185
  return Oe(r).direction === "rtl" && (l += pe(t.clientWidth, r.clientWidth) - o), {
7186
7186
  width: o,
@@ -7195,10 +7195,10 @@ function Cm(e, t) {
7195
7195
  let i = r.clientWidth, l = r.clientHeight, a = 0, s = 0;
7196
7196
  if (o) {
7197
7197
  i = o.width, l = o.height;
7198
- const u = Dn();
7198
+ const u = _n();
7199
7199
  (!u || u && t === "fixed") && (a = o.offsetLeft, s = o.offsetTop);
7200
7200
  }
7201
- const c = Bn(r);
7201
+ const c = Hn(r);
7202
7202
  if (c <= 0) {
7203
7203
  const u = r.ownerDocument, f = u.body, p = getComputedStyle(f), d = u.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, h = Math.abs(r.clientWidth - f.clientWidth - d);
7204
7204
  h <= oi && (i -= h);
@@ -7212,7 +7212,7 @@ function Cm(e, t) {
7212
7212
  }
7213
7213
  const km = /* @__PURE__ */ new Set(["absolute", "fixed"]);
7214
7214
  function Pm(e, t) {
7215
- const n = ft(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = Re(e) ? Et(e) : Ie(1), l = e.clientWidth * i.x, a = e.clientHeight * i.y, s = o * i.x, c = r * i.y;
7215
+ const n = mt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = Re(e) ? Rt(e) : Ie(1), l = e.clientWidth * i.x, a = e.clientHeight * i.y, s = o * i.x, c = r * i.y;
7216
7216
  return {
7217
7217
  width: l,
7218
7218
  height: a,
@@ -7237,7 +7237,7 @@ function ii(e, t, n) {
7237
7237
  height: t.height
7238
7238
  };
7239
7239
  }
7240
- return Cn(r);
7240
+ return kn(r);
7241
7241
  }
7242
7242
  function sa(e, t) {
7243
7243
  const n = qe(e);
@@ -7263,9 +7263,9 @@ function Om(e) {
7263
7263
  rootBoundary: r,
7264
7264
  strategy: o
7265
7265
  } = e;
7266
- const l = [...n === "clippingAncestors" ? In(t) ? [] : Tm(t, this._c) : [].concat(n), r], a = l[0], s = l.reduce((c, u) => {
7266
+ const l = [...n === "clippingAncestors" ? Dn(t) ? [] : Tm(t, this._c) : [].concat(n), r], a = l[0], s = l.reduce((c, u) => {
7267
7267
  const f = ii(t, u, o);
7268
- return c.top = pe(f.top, c.top), c.right = dt(f.right, c.right), c.bottom = dt(f.bottom, c.bottom), c.left = pe(f.left, c.left), c;
7268
+ return c.top = pe(f.top, c.top), c.right = ft(f.right, c.right), c.bottom = ft(f.bottom, c.bottom), c.left = pe(f.left, c.left), c;
7269
7269
  }, ii(t, a, o));
7270
7270
  return {
7271
7271
  width: s.right - s.left,
@@ -7285,18 +7285,18 @@ function Lm(e) {
7285
7285
  };
7286
7286
  }
7287
7287
  function Am(e, t, n) {
7288
- const r = Re(t), o = He(t), i = n === "fixed", l = ft(e, !0, i, t);
7288
+ const r = Re(t), o = He(t), i = n === "fixed", l = mt(e, !0, i, t);
7289
7289
  let a = {
7290
7290
  scrollLeft: 0,
7291
7291
  scrollTop: 0
7292
7292
  };
7293
7293
  const s = Ie(0);
7294
7294
  function c() {
7295
- s.x = Bn(o);
7295
+ s.x = Hn(o);
7296
7296
  }
7297
7297
  if (r || !r && !i)
7298
- if ((Ot(t) !== "body" || Zt(o)) && (a = _n(t)), r) {
7299
- const d = ft(t, !0, i, t);
7298
+ if ((Ot(t) !== "body" || Zt(o)) && (a = Bn(t)), r) {
7299
+ const d = mt(t, !0, i, t);
7300
7300
  s.x = d.x + t.clientLeft, s.y = d.y + t.clientTop;
7301
7301
  } else o && c();
7302
7302
  i && !r && o && c();
@@ -7308,7 +7308,7 @@ function Am(e, t, n) {
7308
7308
  height: l.height
7309
7309
  };
7310
7310
  }
7311
- function sr(e) {
7311
+ function cr(e) {
7312
7312
  return Oe(e).position === "static";
7313
7313
  }
7314
7314
  function li(e, t) {
@@ -7321,21 +7321,21 @@ function li(e, t) {
7321
7321
  }
7322
7322
  function ca(e, t) {
7323
7323
  const n = xe(e);
7324
- if (In(e))
7324
+ if (Dn(e))
7325
7325
  return n;
7326
7326
  if (!Re(e)) {
7327
7327
  let o = qe(e);
7328
7328
  for (; o && !ze(o); ) {
7329
- if (X(o) && !sr(o))
7329
+ if (X(o) && !cr(o))
7330
7330
  return o;
7331
7331
  o = qe(o);
7332
7332
  }
7333
7333
  return n;
7334
7334
  }
7335
7335
  let r = li(e, t);
7336
- for (; r && qf(r) && sr(r); )
7336
+ for (; r && qf(r) && cr(r); )
7337
7337
  r = li(r, t);
7338
- return r && ze(r) && sr(r) && !co(r) ? n : r || Jf(e) || n;
7338
+ return r && ze(r) && cr(r) && !co(r) ? n : r || Jf(e) || n;
7339
7339
  }
7340
7340
  const Mm = async function(e) {
7341
7341
  const t = this.getOffsetParent || ca, n = this.getDimensions, r = await n(e.floating);
@@ -7360,7 +7360,7 @@ const Fm = {
7360
7360
  getElementRects: Mm,
7361
7361
  getClientRects: $m,
7362
7362
  getDimensions: Lm,
7363
- getScale: Et,
7363
+ getScale: Rt,
7364
7364
  isElement: X,
7365
7365
  isRTL: Nm
7366
7366
  };
@@ -7386,7 +7386,7 @@ function Im(e, t) {
7386
7386
  return;
7387
7387
  const h = sn(f), g = sn(o.clientWidth - (u + p)), v = sn(o.clientHeight - (f + d)), b = sn(u), w = {
7388
7388
  rootMargin: -h + "px " + -g + "px " + -v + "px " + -b + "px",
7389
- threshold: pe(0, dt(1, s)) || 1
7389
+ threshold: pe(0, ft(1, s)) || 1
7390
7390
  };
7391
7391
  let $ = !0;
7392
7392
  function E(k) {
@@ -7436,10 +7436,10 @@ function Dm(e, t, n, r) {
7436
7436
  (w = d) == null || w.observe(t);
7437
7437
  })), n();
7438
7438
  }), c && !s && d.observe(c), d.observe(t));
7439
- let h, g = s ? ft(e) : null;
7439
+ let h, g = s ? mt(e) : null;
7440
7440
  s && v();
7441
7441
  function v() {
7442
- const b = ft(e);
7442
+ const b = mt(e);
7443
7443
  g && !ua(g, b) && n(), g = b, h = requestAnimationFrame(v);
7444
7444
  }
7445
7445
  return n(), () => {
@@ -7449,7 +7449,7 @@ function Dm(e, t, n, r) {
7449
7449
  }), f?.(), (b = d) == null || b.disconnect(), d = null, s && cancelAnimationFrame(h);
7450
7450
  };
7451
7451
  }
7452
- const cr = Jt, _m = bm, Bm = pm, Hm = wm, Vm = hm, jm = ym, Wm = (e, t, n) => {
7452
+ const ur = Jt, _m = bm, Bm = pm, Hm = wm, Vm = hm, jm = ym, Wm = (e, t, n) => {
7453
7453
  const r = /* @__PURE__ */ new Map(), o = {
7454
7454
  platform: Fm,
7455
7455
  ...n
@@ -7464,7 +7464,7 @@ const cr = Jt, _m = bm, Bm = pm, Hm = wm, Vm = hm, jm = ym, Wm = (e, t, n) => {
7464
7464
  };
7465
7465
  var zm = typeof document < "u", Um = function() {
7466
7466
  }, mn = zm ? Gt : Um;
7467
- function kn(e, t) {
7467
+ function Pn(e, t) {
7468
7468
  if (e === t)
7469
7469
  return !0;
7470
7470
  if (typeof e != typeof t)
@@ -7476,7 +7476,7 @@ function kn(e, t) {
7476
7476
  if (Array.isArray(e)) {
7477
7477
  if (n = e.length, n !== t.length) return !1;
7478
7478
  for (r = n; r-- !== 0; )
7479
- if (!kn(e[r], t[r]))
7479
+ if (!Pn(e[r], t[r]))
7480
7480
  return !1;
7481
7481
  return !0;
7482
7482
  }
@@ -7487,7 +7487,7 @@ function kn(e, t) {
7487
7487
  return !1;
7488
7488
  for (r = n; r-- !== 0; ) {
7489
7489
  const i = o[r];
7490
- if (!(i === "_owner" && e.$$typeof) && !kn(e[i], t[i]))
7490
+ if (!(i === "_owner" && e.$$typeof) && !Pn(e[i], t[i]))
7491
7491
  return !1;
7492
7492
  }
7493
7493
  return !0;
@@ -7501,7 +7501,7 @@ function ai(e, t) {
7501
7501
  const n = da(e);
7502
7502
  return Math.round(t * n) / n;
7503
7503
  }
7504
- function ur(e) {
7504
+ function dr(e) {
7505
7505
  const t = m.useRef(e);
7506
7506
  return mn(() => {
7507
7507
  t.current = e;
@@ -7529,12 +7529,12 @@ function fa(e) {
7529
7529
  middlewareData: {},
7530
7530
  isPositioned: !1
7531
7531
  }), [p, d] = m.useState(r);
7532
- kn(p, r) || d(r);
7532
+ Pn(p, r) || d(r);
7533
7533
  const [h, g] = m.useState(null), [v, b] = m.useState(null), y = m.useCallback((x) => {
7534
7534
  x !== k.current && (k.current = x, g(x));
7535
7535
  }, []), w = m.useCallback((x) => {
7536
7536
  x !== P.current && (P.current = x, b(x));
7537
- }, []), $ = i || h, E = l || v, k = m.useRef(null), P = m.useRef(null), C = m.useRef(u), M = s != null, S = ur(s), I = ur(o), W = ur(c), z = m.useCallback(() => {
7537
+ }, []), $ = i || h, E = l || v, k = m.useRef(null), P = m.useRef(null), C = m.useRef(u), M = s != null, S = dr(s), I = dr(o), W = dr(c), z = m.useCallback(() => {
7538
7538
  if (!k.current || !P.current)
7539
7539
  return;
7540
7540
  const x = {
@@ -7551,7 +7551,7 @@ function fa(e) {
7551
7551
  // setting it to `true` when `open === false` (must be specified).
7552
7552
  isPositioned: W.current !== !1
7553
7553
  };
7554
- T.current && !kn(C.current, V) && (C.current = V, bn.flushSync(() => {
7554
+ T.current && !Pn(C.current, V) && (C.current = V, bn.flushSync(() => {
7555
7555
  f(V);
7556
7556
  }));
7557
7557
  });
@@ -7640,7 +7640,7 @@ function ha(e) {
7640
7640
  return t.current == null ? void 0 : t.current(...r);
7641
7641
  }, []);
7642
7642
  }
7643
- var Ir = typeof document < "u" ? Gt : re;
7643
+ var Dr = typeof document < "u" ? Gt : re;
7644
7644
  let si = !1, Zm = 0;
7645
7645
  const ci = () => (
7646
7646
  // Ensure the id is unique with multiple independent versions of Floating UI
@@ -7649,7 +7649,7 @@ const ci = () => (
7649
7649
  );
7650
7650
  function Jm() {
7651
7651
  const [e, t] = m.useState(() => si ? ci() : void 0);
7652
- return Ir(() => {
7652
+ return Dr(() => {
7653
7653
  e == null && t(ci());
7654
7654
  }, []), m.useEffect(() => {
7655
7655
  si = !0;
@@ -7742,7 +7742,7 @@ function up(e) {
7742
7742
  ...e.elements
7743
7743
  }
7744
7744
  }), r = e.rootContext || n, o = r.elements, [i, l] = m.useState(null), [a, s] = m.useState(null), u = o?.domReference || i, f = m.useRef(null), p = ap();
7745
- Ir(() => {
7745
+ Dr(() => {
7746
7746
  u && (f.current = u);
7747
7747
  }, [u]);
7748
7748
  const d = fa({
@@ -7779,7 +7779,7 @@ function up(e) {
7779
7779
  elements: b,
7780
7780
  nodeId: t
7781
7781
  }), [d, v, b, t, r]);
7782
- return Ir(() => {
7782
+ return Dr(() => {
7783
7783
  r.dataRef.current.floatingContext = y;
7784
7784
  const w = p?.nodesRef.current.find(($) => $.id === t);
7785
7785
  w && (w.context = y);
@@ -7791,7 +7791,7 @@ function up(e) {
7791
7791
  }), [d, v, b, y]);
7792
7792
  }
7793
7793
  const ui = "active", di = "selected";
7794
- function dr(e, t, n) {
7794
+ function fr(e, t, n) {
7795
7795
  const r = /* @__PURE__ */ new Map(), o = n === "item";
7796
7796
  let i = e;
7797
7797
  if (o && e) {
@@ -7831,15 +7831,15 @@ function dr(e, t, n) {
7831
7831
  function dp(e) {
7832
7832
  e === void 0 && (e = []);
7833
7833
  const t = e.map((a) => a?.reference), n = e.map((a) => a?.floating), r = e.map((a) => a?.item), o = m.useCallback(
7834
- (a) => dr(a, e, "reference"),
7834
+ (a) => fr(a, e, "reference"),
7835
7835
  // eslint-disable-next-line react-hooks/exhaustive-deps
7836
7836
  t
7837
7837
  ), i = m.useCallback(
7838
- (a) => dr(a, e, "floating"),
7838
+ (a) => fr(a, e, "floating"),
7839
7839
  // eslint-disable-next-line react-hooks/exhaustive-deps
7840
7840
  n
7841
7841
  ), l = m.useCallback(
7842
- (a) => dr(a, e, "item"),
7842
+ (a) => fr(a, e, "item"),
7843
7843
  // eslint-disable-next-line react-hooks/exhaustive-deps
7844
7844
  r
7845
7845
  );
@@ -7875,7 +7875,7 @@ const fp = (e) => ({
7875
7875
  referenceOverflowThreshold: s = 0,
7876
7876
  scrollRef: c,
7877
7877
  ...u
7878
- } = ht(e, t), {
7878
+ } = gt(e, t), {
7879
7879
  rects: f,
7880
7880
  elements: {
7881
7881
  floating: p
@@ -7886,15 +7886,15 @@ const fp = (e) => ({
7886
7886
  const w = {
7887
7887
  ...t,
7888
7888
  ...await fo(-d.offsetTop - p.clientTop - f.reference.height / 2 - d.offsetHeight / 2 - i).fn(t)
7889
- }, $ = await cr(fi(w, h.scrollHeight + g + p.clientTop), u), E = await cr(w, {
7889
+ }, $ = await ur(fi(w, h.scrollHeight + g + p.clientTop), u), E = await ur(w, {
7890
7890
  ...u,
7891
7891
  elementContext: "reference"
7892
7892
  }), k = pe(0, $.top), P = w.y + k, S = (h.scrollHeight > h.clientHeight ? (I) => I : Wt)(pe(0, h.scrollHeight + (v && y || b ? g * 2 : 0) - k - pe(0, $.bottom)));
7893
7893
  if (h.style.maxHeight = S + "px", h.scrollTop = k, o) {
7894
- const I = h.offsetHeight < d.offsetHeight * dt(a, n.current.length) - 1 || E.top >= -s || E.bottom >= -s;
7894
+ const I = h.offsetHeight < d.offsetHeight * ft(a, n.current.length) - 1 || E.top >= -s || E.bottom >= -s;
7895
7895
  bn.flushSync(() => o(I));
7896
7896
  }
7897
- return r && (r.current = await cr(fi({
7897
+ return r && (r.current = await ur(fi({
7898
7898
  ...w,
7899
7899
  y: P
7900
7900
  }, h.offsetHeight + g + p.clientTop), u)), {
@@ -8041,11 +8041,11 @@ function yp(e) {
8041
8041
  }
8042
8042
  function xp(e, t) {
8043
8043
  var n, r, o;
8044
- let i = fr((n = e?.gap) != null ? n : "var(--anchor-gap, 0)", t), l = fr((r = e?.offset) != null ? r : "var(--anchor-offset, 0)", t), a = fr((o = e?.padding) != null ? o : "var(--anchor-padding, 0)", t);
8044
+ let i = mr((n = e?.gap) != null ? n : "var(--anchor-gap, 0)", t), l = mr((r = e?.offset) != null ? r : "var(--anchor-offset, 0)", t), a = mr((o = e?.padding) != null ? o : "var(--anchor-padding, 0)", t);
8045
8045
  return { ...e, gap: i, offset: l, padding: a };
8046
8046
  }
8047
- function fr(e, t, n = void 0) {
8048
- let r = mt(), o = q((s, c) => {
8047
+ function mr(e, t, n = void 0) {
8048
+ let r = pt(), o = q((s, c) => {
8049
8049
  if (s == null) return [n, null];
8050
8050
  if (typeof s == "number") return [s, null];
8051
8051
  if (typeof s == "string") {
@@ -8098,24 +8098,24 @@ function pi(e, t) {
8098
8098
  }
8099
8099
  function Ep({ children: e, freeze: t }, n) {
8100
8100
  let r = va(t, e);
8101
- return Hr(r) ? Li(r, { ref: n }) : j.createElement(j.Fragment, null, r);
8101
+ return Vr(r) ? Li(r, { ref: n }) : j.createElement(j.Fragment, null, r);
8102
8102
  }
8103
8103
  j.forwardRef(Ep);
8104
8104
  function va(e, t) {
8105
8105
  let [n, r] = J(t);
8106
8106
  return !e && n !== t && r(t), e ? n : t;
8107
8107
  }
8108
- let Hn = le(null);
8109
- Hn.displayName = "OpenClosedContext";
8108
+ let Vn = le(null);
8109
+ Vn.displayName = "OpenClosedContext";
8110
8110
  var ge = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(ge || {});
8111
- function Vn() {
8112
- return te(Hn);
8111
+ function jn() {
8112
+ return te(Vn);
8113
8113
  }
8114
8114
  function po({ value: e, children: t }) {
8115
- return j.createElement(Hn.Provider, { value: e }, t);
8115
+ return j.createElement(Vn.Provider, { value: e }, t);
8116
8116
  }
8117
8117
  function Rp({ children: e }) {
8118
- return j.createElement(Hn.Provider, { value: null }, e);
8118
+ return j.createElement(Vn.Provider, { value: null }, e);
8119
8119
  }
8120
8120
  function $p(e) {
8121
8121
  throw new Error("Unexpected object: " + e);
@@ -8185,11 +8185,11 @@ function kp(e) {
8185
8185
  let wa = _e, Pp = de(function(e, t) {
8186
8186
  let { ownerDocument: n = null, ...r } = e, o = U(null), i = be(Dl((p) => {
8187
8187
  o.current = p;
8188
- }), t), l = Mr(o.current), a = n ?? l, s = kp(a), c = te(Ap), u = mt(), f = me();
8188
+ }), t), l = Nr(o.current), a = n ?? l, s = kp(a), c = te(Ap), u = pt(), f = me();
8189
8189
  return ba(() => {
8190
8190
  var p;
8191
8191
  s && s.childNodes.length <= 0 && ((p = s.parentElement) == null || p.removeChild(s));
8192
- }), s ? Vr(j.createElement("div", { "data-headlessui-portal": "", ref: (p) => {
8192
+ }), s ? jr(j.createElement("div", { "data-headlessui-portal": "", ref: (p) => {
8193
8193
  u.dispose(), c && p && u.add(c.register(p));
8194
8194
  } }, f({ ourProps: { ref: i }, theirProps: r, slot: {}, defaultTag: wa, name: "Portal" })), s) : null;
8195
8195
  });
@@ -8237,28 +8237,28 @@ function _p() {
8237
8237
  }
8238
8238
  function Ra(e) {
8239
8239
  var t;
8240
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || !xt((t = e.as) != null ? t : Sa) || j.Children.count(e.children) === 1;
8240
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || !Et((t = e.as) != null ? t : Sa) || j.Children.count(e.children) === 1;
8241
8241
  }
8242
- let jn = le(null);
8243
- jn.displayName = "TransitionContext";
8242
+ let Wn = le(null);
8243
+ Wn.displayName = "TransitionContext";
8244
8244
  var Bp = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Bp || {});
8245
8245
  function Hp() {
8246
- let e = te(jn);
8246
+ let e = te(Wn);
8247
8247
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
8248
8248
  return e;
8249
8249
  }
8250
8250
  function Vp() {
8251
- let e = te(Wn);
8251
+ let e = te(zn);
8252
8252
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
8253
8253
  return e;
8254
8254
  }
8255
- let Wn = le(null);
8256
- Wn.displayName = "NestingContext";
8257
- function zn(e) {
8258
- return "children" in e ? zn(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
8255
+ let zn = le(null);
8256
+ zn.displayName = "NestingContext";
8257
+ function Un(e) {
8258
+ return "children" in e ? Un(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
8259
8259
  }
8260
8260
  function $a(e, t) {
8261
- let n = pt(e), r = U([]), o = _p(), i = mt(), l = q((d, h = tt.Hidden) => {
8261
+ let n = ht(e), r = U([]), o = _p(), i = pt(), l = q((d, h = tt.Hidden) => {
8262
8262
  let g = r.current.findIndex(({ el: v }) => v === d);
8263
8263
  g !== -1 && (ve(h, { [tt.Unmount]() {
8264
8264
  r.current.splice(g, 1);
@@ -8266,7 +8266,7 @@ function $a(e, t) {
8266
8266
  r.current[g].state = "hidden";
8267
8267
  } }), i.microTask(() => {
8268
8268
  var v;
8269
- !zn(r) && o.current && ((v = n.current) == null || v.call(n));
8269
+ !Un(r) && o.current && ((v = n.current) == null || v.call(n));
8270
8270
  }));
8271
8271
  }), a = q((d) => {
8272
8272
  let h = r.current.find(({ el: g }) => g === d);
@@ -8314,20 +8314,20 @@ function jp(e, t) {
8314
8314
  let Ee = K ? "enter" : "leave";
8315
8315
  x.current = !1, L.onStop(w, Ee, (we) => {
8316
8316
  we === "enter" ? l?.() : we === "leave" && s?.();
8317
- }), Ee === "leave" && !zn(L) && (I("hidden"), T(w));
8317
+ }), Ee === "leave" && !Un(L) && (I("hidden"), T(w));
8318
8318
  });
8319
8319
  re(() => {
8320
8320
  $ && o || (V(P), ee(P));
8321
8321
  }, [P, $, o]);
8322
- let B = !(!o || !$ || !A || _), [, D] = ao(B, b, P, { start: V, end: ee }), ae = et({ ref: E, className: ((r = Pr(v.className, O && c, O && u, D.enter && c, D.enter && D.closed && u, D.enter && !D.closed && f, D.leave && d, D.leave && !D.closed && h, D.leave && D.closed && g, !D.transition && P && p)) == null ? void 0 : r.trim()) || void 0, ...lo(D) }), Q = 0;
8322
+ let B = !(!o || !$ || !A || _), [, D] = ao(B, b, P, { start: V, end: ee }), ae = et({ ref: E, className: ((r = Tr(v.className, O && c, O && u, D.enter && c, D.enter && D.closed && u, D.enter && !D.closed && f, D.leave && d, D.leave && !D.closed && h, D.leave && D.closed && g, !D.transition && P && p)) == null ? void 0 : r.trim()) || void 0, ...lo(D) }), Q = 0;
8323
8323
  S === "visible" && (Q |= ge.Open), S === "hidden" && (Q |= ge.Closed), P && S === "hidden" && (Q |= ge.Opening), !P && S === "visible" && (Q |= ge.Closing);
8324
8324
  let H = me();
8325
- return j.createElement(Wn.Provider, { value: L }, j.createElement(po, { value: Q }, H({ ourProps: ae, theirProps: v, defaultTag: Sa, features: Ca, visible: S === "visible", name: "Transition.Child" })));
8325
+ return j.createElement(zn.Provider, { value: L }, j.createElement(po, { value: Q }, H({ ourProps: ae, theirProps: v, defaultTag: Sa, features: Ca, visible: S === "visible", name: "Transition.Child" })));
8326
8326
  }
8327
8327
  function Wp(e, t) {
8328
8328
  let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = U(null), a = Ra(e), s = be(...a ? [l, t] : t === null ? [] : [t]);
8329
8329
  Ea();
8330
- let c = Vn();
8330
+ let c = jn();
8331
8331
  if (n === void 0 && c !== null && (n = (c & ge.Open) === ge.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
8332
8332
  let [u, f] = J(n ? "visible" : "hidden"), p = $a(() => {
8333
8333
  n || f("hidden");
@@ -8337,7 +8337,7 @@ function Wp(e, t) {
8337
8337
  }, [g, n]);
8338
8338
  let v = ce(() => ({ show: n, appear: r, initial: d }), [n, r, d]);
8339
8339
  se(() => {
8340
- n ? f("visible") : !zn(p) && l.current !== null && f("hidden");
8340
+ n ? f("visible") : !Un(p) && l.current !== null && f("hidden");
8341
8341
  }, [n, p]);
8342
8342
  let b = { unmount: o }, y = q(() => {
8343
8343
  var E;
@@ -8346,13 +8346,13 @@ function Wp(e, t) {
8346
8346
  var E;
8347
8347
  d && h(!1), (E = e.beforeLeave) == null || E.call(e);
8348
8348
  }), $ = me();
8349
- return j.createElement(Wn.Provider, { value: p }, j.createElement(jn.Provider, { value: v }, $({ ourProps: { ...b, as: _e, children: j.createElement(ka, { ref: s, ...b, ...i, beforeEnter: y, beforeLeave: w }) }, theirProps: {}, defaultTag: _e, features: Ca, visible: u === "visible", name: "Transition" })));
8349
+ return j.createElement(zn.Provider, { value: p }, j.createElement(Wn.Provider, { value: v }, $({ ourProps: { ...b, as: _e, children: j.createElement(ka, { ref: s, ...b, ...i, beforeEnter: y, beforeLeave: w }) }, theirProps: {}, defaultTag: _e, features: Ca, visible: u === "visible", name: "Transition" })));
8350
8350
  }
8351
8351
  function zp(e, t) {
8352
- let n = te(jn) !== null, r = Vn() !== null;
8353
- return j.createElement(j.Fragment, null, !n && r ? j.createElement(Dr, { ref: t, ...e }) : j.createElement(ka, { ref: t, ...e }));
8352
+ let n = te(Wn) !== null, r = jn() !== null;
8353
+ return j.createElement(j.Fragment, null, !n && r ? j.createElement(_r, { ref: t, ...e }) : j.createElement(ka, { ref: t, ...e }));
8354
8354
  }
8355
- let Dr = de(Wp), ka = de(jp), Up = de(zp), Gp = Object.assign(Dr, { Child: Up, Root: Dr });
8355
+ let _r = de(Wp), ka = de(jp), Up = de(zp), Gp = Object.assign(_r, { Child: Up, Root: _r });
8356
8356
  var hi;
8357
8357
  let qp = (hi = j.startTransition) != null ? hi : function(e) {
8358
8358
  e();
@@ -8398,7 +8398,7 @@ let Qp = _e;
8398
8398
  function eh(e, t) {
8399
8399
  let { defaultOpen: n = !1, ...r } = e, o = U(null), i = be(t, Dl((g) => {
8400
8400
  o.current = g;
8401
- }, e.as === void 0 || xt(e.as))), l = Ja(Jp, { disclosureState: n ? 0 : 1, buttonElement: null, panelElement: null, buttonId: null, panelId: null }), [{ disclosureState: a, buttonId: s }, c] = l, u = q((g) => {
8401
+ }, e.as === void 0 || Et(e.as))), l = Ja(Jp, { disclosureState: n ? 0 : 1, buttonElement: null, panelElement: null, buttonId: null, panelId: null }), [{ disclosureState: a, buttonId: s }, c] = l, u = q((g) => {
8402
8402
  c({ type: 1 });
8403
8403
  let v = Xt(o.current);
8404
8404
  if (!v || !s) return;
@@ -8437,7 +8437,7 @@ function nh(e, t) {
8437
8437
  M.key === oe.Space && M.preventDefault();
8438
8438
  }), g = q((M) => {
8439
8439
  var S;
8440
- Tr(M.currentTarget) || o || (u ? (s({ type: 0 }), (S = a.buttonElement) == null || S.focus()) : s({ type: 0 }));
8440
+ Or(M.currentTarget) || o || (u ? (s({ type: 0 }), (S = a.buttonElement) == null || S.focus()) : s({ type: 0 }));
8441
8441
  }), { isFocusVisible: v, focusProps: b } = eo({ autoFocus: i }), { isHovered: y, hoverProps: w } = Qr({ isDisabled: o }), { pressed: $, pressProps: E } = to({ disabled: o }), k = Te({ open: a.disclosureState === 0, hover: y, active: $, disabled: o, focus: v, autofocus: i }), P = Ql(e, a.buttonElement), C = jt(u ? { ref: p, type: P, disabled: o || void 0, autoFocus: i, onKeyDown: d, onClick: g } : { ref: p, id: r, type: P, "aria-expanded": a.disclosureState === 0, "aria-controls": a.panelElement ? a.panelId : void 0, disabled: o || void 0, autoFocus: i, onKeyDown: d, onKeyUp: h, onClick: g }, b, w, E);
8442
8442
  return me()({ ourProps: C, theirProps: l, slot: k, defaultTag: th, name: "Disclosure.Button" });
8443
8443
  }
@@ -8449,7 +8449,7 @@ function ih(e, t) {
8449
8449
  re(() => (a({ type: 3, panelId: r }), () => {
8450
8450
  a({ type: 3, panelId: null });
8451
8451
  }), [r, a]);
8452
- let p = Vn(), [d, h] = ao(o, c, p !== null ? (p & ge.Open) === ge.Open : l.disclosureState === 0), g = Te({ open: l.disclosureState === 0, close: s }), v = { ref: f, id: r, ...lo(h) }, b = me();
8452
+ let p = jn(), [d, h] = ao(o, c, p !== null ? (p & ge.Open) === ge.Open : l.disclosureState === 0), g = Te({ open: l.disclosureState === 0, close: s }), v = { ref: f, id: r, ...lo(h) }, b = me();
8453
8453
  return j.createElement(Rp, null, j.createElement(bo.Provider, { value: l.panelId }, b({ ourProps: v, theirProps: i, slot: g, defaultTag: rh, features: oh, visible: d, name: "Disclosure.Panel" })));
8454
8454
  }
8455
8455
  let lh = de(eh), Ta = de(nh), Oa = de(ih), ah = Object.assign(lh, { Button: Ta, Panel: Oa }), gi = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
@@ -8570,17 +8570,17 @@ class wo extends zl {
8570
8570
  let a = l.slice(), s = a.findIndex((c) => o(c, n));
8571
8571
  return s === -1 ? a.push(n) : a.splice(s, 1), r?.(a);
8572
8572
  } });
8573
- }, registerOption: ir(() => {
8573
+ }, registerOption: lr(() => {
8574
8574
  let n = [], r = /* @__PURE__ */ new Set();
8575
8575
  return [(o, i) => {
8576
8576
  r.has(i) || (r.add(i), n.push({ id: o, dataRef: i }));
8577
8577
  }, () => (r.clear(), this.send({ type: 6, options: n.splice(0) }))];
8578
- }), unregisterOption: ir(() => {
8578
+ }), unregisterOption: lr(() => {
8579
8579
  let n = [];
8580
8580
  return [(r) => n.push(r), () => {
8581
8581
  this.send({ type: 7, options: n.splice(0) });
8582
8582
  }];
8583
- }), goToOption: ir(() => {
8583
+ }), goToOption: lr(() => {
8584
8584
  let n = null;
8585
8585
  return [(r, o) => {
8586
8586
  n = { type: 2, ...r, trigger: o };
@@ -8661,10 +8661,10 @@ function Ma({ id: e, __demoMode: t = !1 }) {
8661
8661
  let n = ce(() => wo.new({ id: e, __demoMode: t }), []);
8662
8662
  return ba(() => n.dispose()), n;
8663
8663
  }
8664
- let Un = le(null);
8665
- Un.displayName = "ListboxDataContext";
8664
+ let Gn = le(null);
8665
+ Gn.displayName = "ListboxDataContext";
8666
8666
  function Qt(e) {
8667
- let t = te(Un);
8667
+ let t = te(Gn);
8668
8668
  if (t === null) {
8669
8669
  let n = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
8670
8670
  throw Error.captureStackTrace && Error.captureStackTrace(n, Qt), n;
@@ -8673,7 +8673,7 @@ function Qt(e) {
8673
8673
  }
8674
8674
  let mh = _e;
8675
8675
  function ph(e, t) {
8676
- let n = Ke(), r = An(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: f = r || !1, horizontal: p = !1, multiple: d = !1, __demoMode: h = !1, ...g } = e;
8676
+ let n = Ke(), r = Mn(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: f = r || !1, horizontal: p = !1, multiple: d = !1, __demoMode: h = !1, ...g } = e;
8677
8677
  const v = p ? "horizontal" : "vertical";
8678
8678
  let b = be(t), y = Sd(i), [w = d ? [] : void 0, $] = $d(o, s, y), E = Ma({ id: n, __demoMode: h }), k = U({ static: !1, hold: !1 }), P = U(/* @__PURE__ */ new Map()), C = Jd(c), M = Z((B) => ve(S.mode, { [rt.Multi]: () => w.some((D) => C(D, B)), [rt.Single]: () => C(w, B) }), [w]), S = Te({ value: w, disabled: f, invalid: u, mode: d ? rt.Multi : rt.Single, orientation: v, onChange: $, compare: C, isSelected: M, optionsPropsRef: k, listRef: P });
8679
8679
  se(() => {
@@ -8686,7 +8686,7 @@ function ph(e, t) {
8686
8686
  let _ = Te({ open: I === he.Open, disabled: f, invalid: u, value: w }), [O, x] = zd({ inherit: !0 }), L = { ref: b }, V = Z(() => {
8687
8687
  if (y !== void 0) return $?.(y);
8688
8688
  }, [$, y]), ee = me();
8689
- return j.createElement(x, { value: O, props: { htmlFor: T?.id }, slot: { open: I === he.Open, disabled: f } }, j.createElement(wp, null, j.createElement(Aa.Provider, { value: E }, j.createElement(Un.Provider, { value: S }, j.createElement(po, { value: ve(I, { [he.Open]: ge.Open, [he.Closed]: ge.Closed }) }, a != null && w != null && j.createElement(Ad, { disabled: f, data: { [a]: w }, form: l, onReset: V }), ee({ ourProps: L, theirProps: g, slot: _, defaultTag: mh, name: "Listbox" }))))));
8689
+ return j.createElement(x, { value: O, props: { htmlFor: T?.id }, slot: { open: I === he.Open, disabled: f } }, j.createElement(wp, null, j.createElement(Aa.Provider, { value: E }, j.createElement(Gn.Provider, { value: S }, j.createElement(po, { value: ve(I, { [he.Open]: ge.Open, [he.Closed]: ge.Closed }) }, a != null && w != null && j.createElement(Ad, { disabled: f, data: { [a]: w }, form: l, onReset: V }), ee({ ourProps: L, theirProps: g, slot: _, defaultTag: mh, name: "Listbox" }))))));
8690
8690
  }
8691
8691
  let hh = "button";
8692
8692
  function gh(e, t) {
@@ -8721,7 +8721,7 @@ let Na = le(!1), vh = "div", bh = $t.RenderStrategy | $t.Static;
8721
8721
  function wh(e, t) {
8722
8722
  let n = Ke(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: i = !1, modal: l = !0, transition: a = !1, ...s } = e, c = pp(o), [u, f] = J(null);
8723
8723
  c && (i = !0);
8724
- let p = Qt("Listbox.Options"), d = yo("Listbox.Options"), [h, g, v, b] = ye(d, (H) => [H.listboxState, H.buttonElement, H.optionsElement, H.__demoMode]), y = Mr(g), w = Mr(v), $ = Vn(), [E, k] = ao(a, u, $ !== null ? ($ & ge.Open) === ge.Open : h === he.Open);
8724
+ let p = Qt("Listbox.Options"), d = yo("Listbox.Options"), [h, g, v, b] = ye(d, (H) => [H.listboxState, H.buttonElement, H.optionsElement, H.__demoMode]), y = Nr(g), w = Nr(v), $ = jn(), [E, k] = ao(a, u, $ !== null ? ($ & ge.Open) === ge.Open : h === he.Open);
8725
8725
  hf(E, g, d.actions.closeListbox);
8726
8726
  let P = b ? !1 : l && h === he.Open;
8727
8727
  Df(P, w);
@@ -8737,7 +8737,7 @@ function wh(e, t) {
8737
8737
  if (z === null) return { ...c, inner: void 0 };
8738
8738
  let H = Array.from(p.listRef.current.values());
8739
8739
  return { ...c, inner: { listRef: { current: H }, index: z } };
8740
- })(), [A, _] = bp(T), O = vp(), x = be(t, c ? A : null, d.actions.setOptionsElement, f), L = mt();
8740
+ })(), [A, _] = bp(T), O = vp(), x = be(t, c ? A : null, d.actions.setOptionsElement, f), L = pt();
8741
8741
  re(() => {
8742
8742
  let H = v;
8743
8743
  H && h === he.Open && (fd(H) || H == null || H.focus({ preventScroll: !0 }));
@@ -8764,7 +8764,7 @@ function wh(e, t) {
8764
8764
  H.preventDefault(), H.stopPropagation(), wn(() => d.actions.closeListbox()), (K = d.state.buttonElement) == null || K.focus({ preventScroll: !0 });
8765
8765
  return;
8766
8766
  case oe.Tab:
8767
- H.preventDefault(), H.stopPropagation(), wn(() => d.actions.closeListbox()), Rf(d.state.buttonElement, H.shiftKey ? Ar.Previous : Ar.Next);
8767
+ H.preventDefault(), H.stopPropagation(), wn(() => d.actions.closeListbox()), Rf(d.state.buttonElement, H.shiftKey ? Mr.Previous : Mr.Next);
8768
8768
  break;
8769
8769
  default:
8770
8770
  H.key.length === 1 && (d.actions.search(H.key), L.setTimeout(() => d.actions.clearSearch(), 350));
@@ -8774,11 +8774,11 @@ function wh(e, t) {
8774
8774
  var K;
8775
8775
  return (K = H.buttonElement) == null ? void 0 : K.id;
8776
8776
  }), B = Te({ open: h === he.Open }), D = jt(c ? O() : {}, { id: r, ref: x, "aria-activedescendant": ye(d, d.selectors.activeDescendantId), "aria-multiselectable": p.mode === rt.Multi ? !0 : void 0, "aria-labelledby": ee, "aria-orientation": p.orientation, onKeyDown: V, role: "listbox", tabIndex: h === he.Open ? 0 : void 0, style: { ...s.style, ..._, "--button-width": Qd(E, g, !0).width }, ...lo(k) }), ae = me(), Q = ce(() => p.mode === rt.Multi ? p : { ...p, isSelected: W }, [p, W]);
8777
- return j.createElement(Fp, { enabled: i ? e.static || E : !1, ownerDocument: y }, j.createElement(Un.Provider, { value: Q }, ae({ ourProps: D, theirProps: s, slot: B, defaultTag: vh, features: bh, visible: M, name: "Listbox.Options" })));
8777
+ return j.createElement(Fp, { enabled: i ? e.static || E : !1, ownerDocument: y }, j.createElement(Gn.Provider, { value: Q }, ae({ ourProps: D, theirProps: s, slot: B, defaultTag: vh, features: bh, visible: M, name: "Listbox.Options" })));
8778
8778
  }
8779
8779
  let yh = "div";
8780
8780
  function xh(e, t) {
8781
- let n = Ke(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = te(Na) === !0, s = Qt("Listbox.Option"), c = yo("Listbox.Option"), u = ye(c, (S) => c.selectors.isActive(S, r)), f = s.isSelected(i), p = U(null), d = ch(p), h = pt({ disabled: o, value: i, domRef: p, get textValue() {
8781
+ let n = Ke(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = te(Na) === !0, s = Qt("Listbox.Option"), c = yo("Listbox.Option"), u = ye(c, (S) => c.selectors.isActive(S, r)), f = s.isSelected(i), p = U(null), d = ch(p), h = ht({ disabled: o, value: i, domRef: p, get textValue() {
8782
8782
  return d();
8783
8783
  } }), g = be(t, p, (S) => {
8784
8784
  S ? s.listRef.current.set(r, S) : s.listRef.current.delete(r);
@@ -8869,7 +8869,7 @@ function Oh({ error: e, resetErrorBoundary: t }) {
8869
8869
  /* @__PURE__ */ R(Ph, { intent: "danger", onClick: t, children: "Retry" })
8870
8870
  ] }) });
8871
8871
  }
8872
- function Gn({
8872
+ function qn({
8873
8873
  children: e,
8874
8874
  onClick: t,
8875
8875
  to: n,
@@ -8928,7 +8928,7 @@ function Ut(e, t) {
8928
8928
  const n = t.getRootNode == null ? void 0 : t.getRootNode();
8929
8929
  if (e.contains(t))
8930
8930
  return !0;
8931
- if (n && Nr(n)) {
8931
+ if (n && Fr(n)) {
8932
8932
  let r = t;
8933
8933
  for (; r; ) {
8934
8934
  if (e === r)
@@ -8938,10 +8938,10 @@ function Ut(e, t) {
8938
8938
  }
8939
8939
  return !1;
8940
8940
  }
8941
- function wt(e) {
8941
+ function yt(e) {
8942
8942
  return "composedPath" in e ? e.composedPath()[0] : e.target;
8943
8943
  }
8944
- function mr(e, t) {
8944
+ function pr(e, t) {
8945
8945
  if (t == null)
8946
8946
  return !1;
8947
8947
  if ("composedPath" in e)
@@ -8975,7 +8975,7 @@ function gn(e, t, n) {
8975
8975
  function Hh(e) {
8976
8976
  return "nativeEvent" in e;
8977
8977
  }
8978
- function _r(e, t) {
8978
+ function Br(e, t) {
8979
8979
  const n = ["mouse", "pen"];
8980
8980
  return n.push("", void 0), n.includes(e);
8981
8981
  }
@@ -9022,15 +9022,15 @@ function Yh() {
9022
9022
  }, []), e;
9023
9023
  }
9024
9024
  const Xh = qh.useId, Ba = Xh || Yh;
9025
- let Br;
9026
- process.env.NODE_ENV !== "production" && (Br = /* @__PURE__ */ new Set());
9025
+ let Hr;
9026
+ process.env.NODE_ENV !== "production" && (Hr = /* @__PURE__ */ new Set());
9027
9027
  function Zh() {
9028
9028
  for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
9029
9029
  n[r] = arguments[r];
9030
9030
  const o = "Floating UI: " + n.join(" ");
9031
- if (!((e = Br) != null && e.has(o))) {
9031
+ if (!((e = Hr) != null && e.has(o))) {
9032
9032
  var i;
9033
- (i = Br) == null || i.add(o), console.error(o);
9033
+ (i = Hr) == null || i.add(o), console.error(o);
9034
9034
  }
9035
9035
  }
9036
9036
  function Jh() {
@@ -9053,15 +9053,15 @@ const Qh = /* @__PURE__ */ m.createContext(null), eg = /* @__PURE__ */ m.createC
9053
9053
  var e;
9054
9054
  return ((e = m.useContext(Qh)) == null ? void 0 : e.id) || null;
9055
9055
  }, xo = () => m.useContext(eg);
9056
- function qn(e) {
9056
+ function Kn(e) {
9057
9057
  return "data-floating-ui-" + e;
9058
9058
  }
9059
9059
  function Ce(e) {
9060
9060
  e.current !== -1 && (clearTimeout(e.current), e.current = -1);
9061
9061
  }
9062
- const Si = /* @__PURE__ */ qn("safe-polygon");
9063
- function pr(e, t, n) {
9064
- if (n && !_r(n))
9062
+ const Si = /* @__PURE__ */ Kn("safe-polygon");
9063
+ function hr(e, t, n) {
9064
+ if (n && !Br(n))
9065
9065
  return 0;
9066
9066
  if (typeof e == "number")
9067
9067
  return e;
@@ -9071,7 +9071,7 @@ function pr(e, t, n) {
9071
9071
  }
9072
9072
  return e?.[t];
9073
9073
  }
9074
- function hr(e) {
9074
+ function gr(e) {
9075
9075
  return typeof e == "function" ? e() : e;
9076
9076
  }
9077
9077
  function tg(e, t) {
@@ -9118,7 +9118,7 @@ function tg(e, t) {
9118
9118
  }, [l.floating, n, r, a, g, I]);
9119
9119
  const W = m.useCallback(function(O, x, L) {
9120
9120
  x === void 0 && (x = !0), L === void 0 && (L = "hover");
9121
- const V = pr(v.current, "close", w.current);
9121
+ const V = hr(v.current, "close", w.current);
9122
9122
  V && !E.current ? (Ce($), $.current = window.setTimeout(() => r(!1, O, L), V)) : x && (Ce($), r(!1, O, L));
9123
9123
  }, [v, r]), z = Ne(() => {
9124
9124
  M.current(), E.current = void 0;
@@ -9131,9 +9131,9 @@ function tg(e, t) {
9131
9131
  m.useEffect(() => {
9132
9132
  if (!a) return;
9133
9133
  function O(B) {
9134
- if (Ce($), P.current = !1, u && !_r(w.current) || hr(y.current) > 0 && !pr(v.current, "open"))
9134
+ if (Ce($), P.current = !1, u && !Br(w.current) || gr(y.current) > 0 && !hr(v.current, "open"))
9135
9135
  return;
9136
- const D = pr(v.current, "open", w.current);
9136
+ const D = hr(v.current, "open", w.current);
9137
9137
  D ? $.current = window.setTimeout(() => {
9138
9138
  b.current || r(!0, B, "hover");
9139
9139
  }, D) : n || r(!0, B, "hover");
@@ -9222,7 +9222,7 @@ function tg(e, t) {
9222
9222
  function V() {
9223
9223
  !P.current && !b.current && r(!0, L, "hover");
9224
9224
  }
9225
- u && !_r(w.current) || n || hr(y.current) === 0 || S.current && x.movementX ** 2 + x.movementY ** 2 < 2 || (Ce(k), w.current === "touch" ? V() : (S.current = !0, k.current = window.setTimeout(V, hr(y.current))));
9225
+ u && !Br(w.current) || n || gr(y.current) === 0 || S.current && x.movementX ** 2 + x.movementY ** 2 < 2 || (Ce(k), w.current === "touch" ? V() : (S.current = !0, k.current = window.setTimeout(V, gr(y.current))));
9226
9226
  }
9227
9227
  };
9228
9228
  }, [u, r, n, b, y]);
@@ -9230,7 +9230,7 @@ function tg(e, t) {
9230
9230
  reference: _
9231
9231
  } : {}, [a, _]);
9232
9232
  }
9233
- const ng = /* @__PURE__ */ m.createContext(null), Ci = /* @__PURE__ */ qn("portal");
9233
+ const ng = /* @__PURE__ */ m.createContext(null), Ci = /* @__PURE__ */ Kn("portal");
9234
9234
  function rg(e) {
9235
9235
  e === void 0 && (e = {});
9236
9236
  const {
@@ -9316,9 +9316,9 @@ function ag(e, t) {
9316
9316
  var A;
9317
9317
  const _ = () => {
9318
9318
  var O;
9319
- C(T), (O = wt(T)) == null || O.removeEventListener("keydown", _);
9319
+ C(T), (O = yt(T)) == null || O.removeEventListener("keydown", _);
9320
9320
  };
9321
- (A = wt(T)) == null || A.addEventListener("keydown", _);
9321
+ (A = yt(T)) == null || A.addEventListener("keydown", _);
9322
9322
  }), S = Ne((T) => {
9323
9323
  var A;
9324
9324
  const _ = i.current.insideReactTree;
@@ -9326,7 +9326,7 @@ function ag(e, t) {
9326
9326
  const O = y.current;
9327
9327
  if (y.current = !1, c === "click" && O || _ || typeof b == "function" && !b(T))
9328
9328
  return;
9329
- const x = wt(T), L = "[" + qn("inert") + "]", V = ct(o.floating).querySelectorAll(L);
9329
+ const x = yt(T), L = "[" + Kn("inert") + "]", V = ct(o.floating).querySelectorAll(L);
9330
9330
  let ee = X(x) ? x : null;
9331
9331
  for (; ee && !ze(ee); ) {
9332
9332
  const Q = qe(ee);
@@ -9340,15 +9340,15 @@ function ag(e, t) {
9340
9340
  Array.from(V).every((Q) => !Ut(ee, Q)))
9341
9341
  return;
9342
9342
  if (Re(x) && z) {
9343
- const Q = ze(x), H = Oe(x), K = /auto|scroll/, Ee = Q || K.test(H.overflowX), we = Q || K.test(H.overflowY), gt = Ee && x.clientWidth > 0 && x.scrollWidth > x.clientWidth, At = we && x.clientHeight > 0 && x.scrollHeight > x.clientHeight, vt = H.direction === "rtl", qa = At && (vt ? T.offsetX <= x.offsetWidth - x.clientWidth : T.offsetX > x.clientWidth), Ka = gt && T.offsetY > x.clientHeight;
9343
+ const Q = ze(x), H = Oe(x), K = /auto|scroll/, Ee = Q || K.test(H.overflowX), we = Q || K.test(H.overflowY), vt = Ee && x.clientWidth > 0 && x.scrollWidth > x.clientWidth, At = we && x.clientHeight > 0 && x.scrollHeight > x.clientHeight, bt = H.direction === "rtl", qa = At && (bt ? T.offsetX <= x.offsetWidth - x.clientWidth : T.offsetX > x.clientWidth), Ka = vt && T.offsetY > x.clientHeight;
9344
9344
  if (qa || Ka)
9345
9345
  return;
9346
9346
  }
9347
9347
  const B = (A = i.current.floatingContext) == null ? void 0 : A.nodeId, D = g && gn(g.nodesRef.current, B).some((Q) => {
9348
9348
  var H;
9349
- return mr(T, (H = Q.context) == null ? void 0 : H.elements.floating);
9349
+ return pr(T, (H = Q.context) == null ? void 0 : H.elements.floating);
9350
9350
  });
9351
- if (mr(T, o.floating) || mr(T, o.domReference) || D)
9351
+ if (pr(T, o.floating) || pr(T, o.domReference) || D)
9352
9352
  return;
9353
9353
  const ae = g ? gn(g.nodesRef.current, B) : [];
9354
9354
  if (ae.length > 0) {
@@ -9367,9 +9367,9 @@ function ag(e, t) {
9367
9367
  var A;
9368
9368
  const _ = () => {
9369
9369
  var O;
9370
- S(T), (O = wt(T)) == null || O.removeEventListener(c, _);
9370
+ S(T), (O = yt(T)) == null || O.removeEventListener(c, _);
9371
9371
  };
9372
- (A = wt(T)) == null || A.addEventListener(c, _);
9372
+ (A = yt(T)) == null || A.addEventListener(c, _);
9373
9373
  });
9374
9374
  m.useEffect(() => {
9375
9375
  if (!n || !l)
@@ -9389,7 +9389,7 @@ function ag(e, t) {
9389
9389
  },
9390
9390
  // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.
9391
9391
  // Only apply to WebKit for the test to remain 0ms.
9392
- Dn() ? 5 : 0
9392
+ _n() ? 5 : 0
9393
9393
  );
9394
9394
  }
9395
9395
  const x = ct(o.floating);
@@ -9534,7 +9534,7 @@ function cg(e) {
9534
9534
  elements: b
9535
9535
  }), [d, v, b, y]);
9536
9536
  }
9537
- function gr() {
9537
+ function vr() {
9538
9538
  return Nh() && Mh();
9539
9539
  }
9540
9540
  function ug(e, t) {
@@ -9561,8 +9561,8 @@ function ug(e, t) {
9561
9561
  function v() {
9562
9562
  f.current = !1;
9563
9563
  }
9564
- return d.addEventListener("blur", h), gr() && (d.addEventListener("keydown", g, !0), d.addEventListener("pointerdown", v, !0)), () => {
9565
- d.removeEventListener("blur", h), gr() && (d.removeEventListener("keydown", g, !0), d.removeEventListener("pointerdown", v, !0));
9564
+ return d.addEventListener("blur", h), vr() && (d.addEventListener("keydown", g, !0), d.addEventListener("pointerdown", v, !0)), () => {
9565
+ d.removeEventListener("blur", h), vr() && (d.removeEventListener("keydown", g, !0), d.removeEventListener("pointerdown", v, !0));
9566
9566
  };
9567
9567
  }, [l.domReference, n, a]), m.useEffect(() => {
9568
9568
  if (!a) return;
@@ -9584,9 +9584,9 @@ function ug(e, t) {
9584
9584
  },
9585
9585
  onFocus(d) {
9586
9586
  if (c.current) return;
9587
- const h = wt(d.nativeEvent);
9587
+ const h = yt(d.nativeEvent);
9588
9588
  if (s && X(h)) {
9589
- if (gr() && !d.relatedTarget) {
9589
+ if (vr() && !d.relatedTarget) {
9590
9590
  if (!f.current && !_h(h))
9591
9591
  return;
9592
9592
  } else if (!Bh(h))
@@ -9596,7 +9596,7 @@ function ug(e, t) {
9596
9596
  },
9597
9597
  onBlur(d) {
9598
9598
  c.current = !1;
9599
- const h = d.relatedTarget, g = d.nativeEvent, v = X(h) && h.hasAttribute(qn("focus-guard")) && h.getAttribute("data-type") === "outside";
9599
+ const h = d.relatedTarget, g = d.nativeEvent, v = X(h) && h.hasAttribute(Kn("focus-guard")) && h.getAttribute("data-type") === "outside";
9600
9600
  u.current = window.setTimeout(() => {
9601
9601
  var b;
9602
9602
  const y = yi(l.domReference ? l.domReference.ownerDocument : document);
@@ -9608,7 +9608,7 @@ function ug(e, t) {
9608
9608
  reference: p
9609
9609
  } : {}, [a, p]);
9610
9610
  }
9611
- function vr(e, t, n) {
9611
+ function br(e, t, n) {
9612
9612
  const r = /* @__PURE__ */ new Map(), o = n === "item";
9613
9613
  let i = e;
9614
9614
  if (o && e) {
@@ -9648,15 +9648,15 @@ function vr(e, t, n) {
9648
9648
  function dg(e) {
9649
9649
  e === void 0 && (e = []);
9650
9650
  const t = e.map((a) => a?.reference), n = e.map((a) => a?.floating), r = e.map((a) => a?.item), o = m.useCallback(
9651
- (a) => vr(a, e, "reference"),
9651
+ (a) => br(a, e, "reference"),
9652
9652
  // eslint-disable-next-line react-hooks/exhaustive-deps
9653
9653
  t
9654
9654
  ), i = m.useCallback(
9655
- (a) => vr(a, e, "floating"),
9655
+ (a) => br(a, e, "floating"),
9656
9656
  // eslint-disable-next-line react-hooks/exhaustive-deps
9657
9657
  n
9658
9658
  ), l = m.useCallback(
9659
- (a) => vr(a, e, "item"),
9659
+ (a) => br(a, e, "item"),
9660
9660
  // eslint-disable-next-line react-hooks/exhaustive-deps
9661
9661
  r
9662
9662
  );
@@ -9715,7 +9715,7 @@ function Va({
9715
9715
  ...b(),
9716
9716
  children: n
9717
9717
  }
9718
- ), l && c && (w = Vr(w, c))), /* @__PURE__ */ Y(
9718
+ ), l && c && (w = jr(w, c))), /* @__PURE__ */ Y(
9719
9719
  "div",
9720
9720
  {
9721
9721
  className: fe("group relative flex justify-center", t),
@@ -9763,7 +9763,7 @@ function ja({
9763
9763
  }
9764
9764
  );
9765
9765
  }
9766
- function br({
9766
+ function wr({
9767
9767
  ariaLabel: e,
9768
9768
  children: t,
9769
9769
  className: n = "",
@@ -9771,7 +9771,7 @@ function br({
9771
9771
  ...o
9772
9772
  }) {
9773
9773
  const i = "to" in o ? /* @__PURE__ */ R(
9774
- Gn,
9774
+ qn,
9775
9775
  {
9776
9776
  "aria-label": e || r,
9777
9777
  children: t,
@@ -9853,7 +9853,7 @@ function Wa({
9853
9853
  }
9854
9854
  Wa.displayName = "LibraryContextProvider";
9855
9855
  function mg() {
9856
- const { setIsNavVisible: e, setIsSiteSearchVisible: t } = On(), { pathname: n } = Xe();
9856
+ const { setIsNavVisible: e, setIsSiteSearchVisible: t } = Ln(), { pathname: n } = Xe();
9857
9857
  return Gt(() => {
9858
9858
  e(!1), t(!1);
9859
9859
  const r = document.body.querySelector("[data-main-scrollable]");
@@ -9868,11 +9868,11 @@ function mg() {
9868
9868
  }, [n, e, t]), null;
9869
9869
  }
9870
9870
  const pg = {
9871
- "*": Mt(() => import("./PageNotFound-C95TqXFO.js")),
9872
- "/": Mt(() => import("./GettingStartedRoute-Dz8oT3qR.js")),
9873
- "/common-questions": Mt(() => import("./CommonQuestionsRoute-DlV7QVyq.js")),
9874
- "/support": Mt(() => import("./SupportRoute-CLa48ZM-.js")),
9875
- "/versions": Mt(() => import("./VersionsRoute-qW1sbYlY.js"))
9871
+ "*": Mt(() => import("./PageNotFound-DFuJVroY.js")),
9872
+ "/": Mt(() => import("./GettingStartedRoute-CdyG0b_M.js")),
9873
+ "/common-questions": Mt(() => import("./CommonQuestionsRoute-B4oSkDKu.js")),
9874
+ "/support": Mt(() => import("./SupportRoute-zpZt3czS.js")),
9875
+ "/versions": Mt(() => import("./VersionsRoute-BLU7VqAE.js"))
9876
9876
  };
9877
9877
  function hg(e, t = 250) {
9878
9878
  const [n, r] = J(e);
@@ -9889,46 +9889,57 @@ function hg(e, t = 250) {
9889
9889
  }
9890
9890
  }, [t, e]), n;
9891
9891
  }
9892
- let wr;
9892
+ let yr;
9893
9893
  function gg() {
9894
- return wr === void 0 && (wr = fetch("/generated/site-map.json").then(
9894
+ return yr === void 0 && (yr = fetch("/generated/site-map.json").then(
9895
9895
  (e) => e.json()
9896
- )), wr;
9896
+ )), yr;
9897
9897
  }
9898
9898
  function Ti(e, t, n) {
9899
- const { maxLength: r = 250, leading: o = 0 } = n ?? {};
9899
+ if (!e)
9900
+ return "";
9901
+ const { maxLength: r = 0, leading: o = 0 } = {};
9900
9902
  t = t.trim().toLowerCase();
9901
9903
  const i = t.split(" ").filter(Boolean);
9902
9904
  if (i.length === 0)
9903
9905
  return e;
9904
- if (r && e.length > r) {
9905
- const u = e.toLowerCase().indexOf(i[0]), f = Math.max(0, u - o), p = Math.min(e.length, f + r);
9906
- e = e.substring(f, p), f > 0 && (e = "…" + e);
9906
+ const l = e.length;
9907
+ if (r && l > r) {
9908
+ const [f, p] = wg(
9909
+ e.toLowerCase(),
9910
+ i
9911
+ );
9912
+ if (p <= r)
9913
+ e = e.substring(0, r) + "…";
9914
+ else {
9915
+ const d = Math.max(0, f - o), h = Math.min(l, d + r);
9916
+ h > r && (e = "…" + e.substring(d, h)), h < l && (e += "…");
9917
+ }
9907
9918
  }
9908
- let l = e;
9909
- t && i.forEach((u) => {
9910
- l = l.replaceAll(new RegExp(`(${u})`, "gi"), "├$1┤");
9919
+ let a = e;
9920
+ t && i.forEach((f) => {
9921
+ a = a.replaceAll(new RegExp(`(${f})`, "gi"), "├$1┤");
9911
9922
  });
9912
- const a = [];
9913
- let s = "", c = 0;
9914
- for (let u = 0; u < l.length; u++) {
9915
- const f = l.charAt(u);
9916
- switch (f) {
9923
+ const s = [];
9924
+ let c = "", u = 0;
9925
+ for (let f = 0; f < a.length; f++) {
9926
+ const p = a.charAt(f);
9927
+ switch (p) {
9917
9928
  case "├": {
9918
- c++, c === 1 && s && (a.push(s), s = "");
9929
+ u++, u === 1 && c && (s.push(c), c = "");
9919
9930
  break;
9920
9931
  }
9921
9932
  case "┤": {
9922
- c--, c === 0 && s && (a.push(bg(s)), s = "");
9933
+ u--, u === 0 && c && (s.push(bg(c)), c = "");
9923
9934
  break;
9924
9935
  }
9925
9936
  default: {
9926
- s += f;
9937
+ c += p;
9927
9938
  break;
9928
9939
  }
9929
9940
  }
9930
9941
  }
9931
- return s && a.push(s), a;
9942
+ return c && s.push(c), s;
9932
9943
  }
9933
9944
  let vg = 0;
9934
9945
  function bg(e) {
@@ -9938,20 +9949,25 @@ function bg(e) {
9938
9949
  key: ++vg
9939
9950
  });
9940
9951
  }
9941
- function wg({
9952
+ function wg(e, t) {
9953
+ let n = e.length, r = e.length;
9954
+ return t.forEach((o) => {
9955
+ const i = e.indexOf(o);
9956
+ i < n && (n = i, r = i + o.length);
9957
+ }), [n, r];
9958
+ }
9959
+ function yg({
9942
9960
  isActive: e,
9943
9961
  result: t,
9944
9962
  searchTextDeferred: n
9945
9963
  }) {
9946
- const r = U(null), o = ce(
9947
- () => Ti(t.title, n),
9948
- [n, t.title]
9949
- ), i = ce(
9950
- () => t.text ? Ti(t.text, n, {
9951
- maxLength: 150,
9952
- leading: 25
9953
- }) : "",
9954
- [n, t.text]
9964
+ const r = U(null), { section: o, text: i, title: l } = ce(
9965
+ () => ({
9966
+ section: Ti(t.section ?? "", n),
9967
+ text: t.text,
9968
+ title: Ti(t.title, n)
9969
+ }),
9970
+ [t, n]
9955
9971
  );
9956
9972
  return re(() => {
9957
9973
  e && r.current?.scrollIntoView({
@@ -9959,7 +9975,7 @@ function wg({
9959
9975
  block: "nearest"
9960
9976
  });
9961
9977
  }, [e]), /* @__PURE__ */ R("li", { ref: r, children: /* @__PURE__ */ Y(
9962
- Gn,
9978
+ qn,
9963
9979
  {
9964
9980
  className: fe(
9965
9981
  "rounded px-2 py-1 text-white/80 hover:text-white hover:bg-white/10 cursor-pointer transition-colors!",
@@ -9973,18 +9989,21 @@ function wg({
9973
9989
  children: [
9974
9990
  /* @__PURE__ */ Y("div", { className: "grow-1 shrink-1 overflow-auto flex flex-col gap-1", children: [
9975
9991
  /* @__PURE__ */ Y("div", { className: "grow text-lg truncate text-white", children: [
9976
- t.section,
9977
- t.section && " ",
9978
- o
9992
+ o && /* @__PURE__ */ Y(ut, { children: [
9993
+ o,
9994
+ /* @__PURE__ */ R(yn, { className: "size-4 text-slate-400 inline" }),
9995
+ " "
9996
+ ] }),
9997
+ l
9979
9998
  ] }),
9980
9999
  i && /* @__PURE__ */ R("div", { className: "text-sm truncate pb-1", children: i })
9981
10000
  ] }),
9982
- /* @__PURE__ */ R(jr, { className: "h-4 w-4 shrink-0" })
10001
+ /* @__PURE__ */ R(yn, { className: "h-4 w-4 shrink-0" })
9983
10002
  ]
9984
10003
  }
9985
10004
  ) });
9986
10005
  }
9987
- function yg(e, t) {
10006
+ function xg(e, t) {
9988
10007
  const n = t.toLowerCase().split(" ").filter(Boolean).map((o) => new RegExp(o, "ig"));
9989
10008
  if (n.length === 0)
9990
10009
  return e;
@@ -10004,11 +10023,11 @@ function yg(e, t) {
10004
10023
  });
10005
10024
  }), r.sort((o, i) => i.score - o.score).map((o) => o.page);
10006
10025
  }
10007
- function xg({
10026
+ function Eg({
10008
10027
  inputRef: e,
10009
10028
  searchTextDeferred: t
10010
10029
  }) {
10011
- const n = es(gg()), [r, o] = J(0), i = ce(() => t ? yg(n, t).slice(0, 10) : [], [t, n]);
10030
+ const n = es(gg()), [r, o] = J(0), i = ce(() => t ? xg(n, t).slice(0, 10) : [], [t, n]);
10012
10031
  return re(() => {
10013
10032
  if (e) {
10014
10033
  const l = (a) => {
@@ -10043,7 +10062,7 @@ function xg({
10043
10062
  '"'
10044
10063
  ] }),
10045
10064
  i.map((l, a) => /* @__PURE__ */ R(
10046
- wg,
10065
+ yg,
10047
10066
  {
10048
10067
  isActive: r === a,
10049
10068
  result: l,
@@ -10053,8 +10072,8 @@ function xg({
10053
10072
  ))
10054
10073
  ] });
10055
10074
  }
10056
- function Eg() {
10057
- const { isSiteSearchVisible: e, setIsSiteSearchVisible: t } = On(), [n, r] = J(null), [o, i] = J(""), l = hg(o);
10075
+ function Rg() {
10076
+ const { isSiteSearchVisible: e, setIsSiteSearchVisible: t } = Ln(), [n, r] = J(null), [o, i] = J(""), l = hg(o);
10058
10077
  return re(() => {
10059
10078
  if (!e) {
10060
10079
  const a = (s) => {
@@ -10113,7 +10132,7 @@ function Eg() {
10113
10132
  }
10114
10133
  ),
10115
10134
  l && /* @__PURE__ */ R(
10116
- xg,
10135
+ Eg,
10117
10136
  {
10118
10137
  inputRef: n,
10119
10138
  searchTextDeferred: l
@@ -10124,15 +10143,15 @@ function Eg() {
10124
10143
  }
10125
10144
  ) : null;
10126
10145
  }
10127
- const Rg = typeof navigator < "u" && navigator.userAgent.indexOf("Win") >= 0 ? "^K" : "⌘K";
10128
- function Hg({
10146
+ const $g = typeof navigator < "u" && navigator.userAgent.indexOf("Win") >= 0 ? "^K" : "⌘K";
10147
+ function Vg({
10129
10148
  enableSiteSearch: e,
10130
10149
  navLinks: t,
10131
10150
  routes: n,
10132
10151
  ...r
10133
10152
  }) {
10134
10153
  return /* @__PURE__ */ R(Wa, { ...r, children: /* @__PURE__ */ R(
10135
- $g,
10154
+ Sg,
10136
10155
  {
10137
10156
  enableSiteSearch: e,
10138
10157
  navLinks: t,
@@ -10140,7 +10159,7 @@ function Hg({
10140
10159
  }
10141
10160
  ) });
10142
10161
  }
10143
- function $g({
10162
+ function Sg({
10144
10163
  enableSiteSearch: e,
10145
10164
  navLinks: t,
10146
10165
  routes: n
@@ -10153,7 +10172,7 @@ function $g({
10153
10172
  setIsNavVisible: a,
10154
10173
  setIsSiteSearchVisible: s,
10155
10174
  versions: c
10156
- } = On();
10175
+ } = Ln();
10157
10176
  return /* @__PURE__ */ Y(Mc, { children: [
10158
10177
  /* @__PURE__ */ R(mg, {}),
10159
10178
  /* @__PURE__ */ Y("div", { className: "h-full w-full max-w-350 mx-auto flex flex-col", children: [
@@ -10168,7 +10187,7 @@ function $g({
10168
10187
  gap: 4,
10169
10188
  children: [
10170
10189
  /* @__PURE__ */ R(
10171
- Gn,
10190
+ qn,
10172
10191
  {
10173
10192
  children: l,
10174
10193
  className: "text-xl text-header-package-name! font-bold cursor-pointer truncate",
@@ -10189,12 +10208,12 @@ function $g({
10189
10208
  title: "Site search",
10190
10209
  children: /* @__PURE__ */ Y("div", { className: "h-8 flex items-center justify-center gap-1 px-2 rounded-full text-sm bg-black/40 hover:bg-black/60 transition-colors!", children: [
10191
10210
  /* @__PURE__ */ R(Ai, { className: "w-4 h-4" }),
10192
- Rg
10211
+ $g
10193
10212
  ] })
10194
10213
  }
10195
10214
  ),
10196
10215
  c !== void 0 && /* @__PURE__ */ R(
10197
- br,
10216
+ wr,
10198
10217
  {
10199
10218
  ariaLabel: "Documentation for other versions",
10200
10219
  children: /* @__PURE__ */ R(Gc, { className: "w-6 h-6" }),
@@ -10203,7 +10222,7 @@ function $g({
10203
10222
  }
10204
10223
  ),
10205
10224
  /* @__PURE__ */ R(
10206
- br,
10225
+ wr,
10207
10226
  {
10208
10227
  ariaLabel: "NPM project page",
10209
10228
  children: /* @__PURE__ */ R(zc, { className: "w-8 h-8" }),
@@ -10213,7 +10232,7 @@ function $g({
10213
10232
  }
10214
10233
  ),
10215
10234
  /* @__PURE__ */ R(
10216
- br,
10235
+ wr,
10217
10236
  {
10218
10237
  ariaLabel: "GitHub project page",
10219
10238
  children: /* @__PURE__ */ R(Wc, { className: "w-6 h-6" }),
@@ -10276,10 +10295,10 @@ function $g({
10276
10295
  )
10277
10296
  ] })
10278
10297
  ] }),
10279
- e && /* @__PURE__ */ R(Eg, {})
10298
+ e && /* @__PURE__ */ R(Rg, {})
10280
10299
  ] });
10281
10300
  }
10282
- function Vg({
10301
+ function jg({
10283
10302
  children: e,
10284
10303
  className: t,
10285
10304
  ...n
@@ -10293,8 +10312,8 @@ function Vg({
10293
10312
  }
10294
10313
  ) });
10295
10314
  }
10296
- const Sg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-424-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-424ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), Cg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M320-440h320q17 0 28.5-11.5T680-480q0-17-11.5-28.5T640-520H320q-17 0-28.5 11.5T280-480q0 17 11.5 28.5T320-440ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), kg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" }));
10297
- function jg({
10315
+ const Cg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-424-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-424ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), kg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M320-440h320q17 0 28.5-11.5T680-480q0-17-11.5-28.5T640-520H320q-17 0-28.5 11.5T280-480q0 17 11.5 28.5T320-440ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" })), Pg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Z" }));
10316
+ function Wg({
10298
10317
  checked: e,
10299
10318
  children: t,
10300
10319
  className: n,
@@ -10303,7 +10322,7 @@ function jg({
10303
10322
  ...i
10304
10323
  }) {
10305
10324
  let l, a;
10306
- return r ? (l = Cg, a = "fill-white") : e ? (l = Sg, a = "fill-blue-600") : (l = kg, a = "fill-slate-600"), /* @__PURE__ */ Y(
10325
+ return r ? (l = kg, a = "fill-white") : e ? (l = Cg, a = "fill-blue-600") : (l = Pg, a = "fill-slate-600"), /* @__PURE__ */ Y(
10307
10326
  "label",
10308
10327
  {
10309
10328
  className: `cursor-pointer rounded-lg flex flex-row items-center outline-none group ${n}`,
@@ -10322,7 +10341,7 @@ function jg({
10322
10341
  }
10323
10342
  ),
10324
10343
  /* @__PURE__ */ R(l, { className: a }),
10325
- t && /* @__PURE__ */ Y(Rt, { children: [
10344
+ t && /* @__PURE__ */ Y(ut, { children: [
10326
10345
  " ",
10327
10346
  t
10328
10347
  ] })
@@ -10346,7 +10365,7 @@ function za({
10346
10365
  }
10347
10366
  ) });
10348
10367
  }
10349
- function Kn({
10368
+ function Yn({
10350
10369
  className: e,
10351
10370
  sections: t
10352
10371
  }) {
@@ -10365,13 +10384,13 @@ function Ua({
10365
10384
  sourceCodePath: t,
10366
10385
  title: n
10367
10386
  }) {
10368
- const { repositoryUrl: r } = On();
10369
- return /* @__PURE__ */ Y(Rt, { children: [
10387
+ const { repositoryUrl: r } = Ln();
10388
+ return /* @__PURE__ */ Y(ut, { children: [
10370
10389
  /* @__PURE__ */ Y("header", { className: "text-xl", children: [
10371
- e && /* @__PURE__ */ Y(Rt, { children: [
10390
+ e && /* @__PURE__ */ Y(ut, { children: [
10372
10391
  /* @__PURE__ */ R("span", { className: "text-xl whitespace-nowrap", "data-section": !0, children: e }),
10373
10392
  " ",
10374
- /* @__PURE__ */ R(jr, { className: "size-4 text-slate-400 inline" }),
10393
+ /* @__PURE__ */ R(yn, { className: "size-4 text-slate-400 inline" }),
10375
10394
  " "
10376
10395
  ] }),
10377
10396
  /* @__PURE__ */ R("span", { className: "text-xl", "data-title": !0, children: n }),
@@ -10387,18 +10406,18 @@ function Ua({
10387
10406
  /* @__PURE__ */ R("title", { children: e ? `${e}: ${n}` : n })
10388
10407
  ] });
10389
10408
  }
10390
- function Pg({
10409
+ function Tg({
10391
10410
  method: e
10392
10411
  }) {
10393
- return /* @__PURE__ */ Y(Rt, { children: [
10412
+ return /* @__PURE__ */ Y(ut, { children: [
10394
10413
  /* @__PURE__ */ R("dd", { className: "[&_code]:text-sky-300 text-lg font-bold", children: e.name }),
10395
10414
  /* @__PURE__ */ Y("dt", { className: "mb-2", children: [
10396
- /* @__PURE__ */ R(Kn, { sections: e.description }),
10415
+ /* @__PURE__ */ R(Yn, { sections: e.description }),
10397
10416
  /* @__PURE__ */ R(za, { className: "mt-2 p-2 flex flex-col", html: e.html })
10398
10417
  ] })
10399
10418
  ] });
10400
10419
  }
10401
- function Wg({
10420
+ function zg({
10402
10421
  json: e,
10403
10422
  section: t
10404
10423
  }) {
@@ -10411,11 +10430,11 @@ function Wg({
10411
10430
  title: `${e.name}`
10412
10431
  }
10413
10432
  ),
10414
- /* @__PURE__ */ R(Kn, { sections: e.description }),
10415
- /* @__PURE__ */ R(Pe, { direction: "column", children: /* @__PURE__ */ R("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ R(Pg, { method: n }, r)) }) })
10433
+ /* @__PURE__ */ R(Yn, { sections: e.description }),
10434
+ /* @__PURE__ */ R(Pe, { direction: "column", children: /* @__PURE__ */ R("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ R(Tg, { method: n }, r)) }) })
10416
10435
  ] });
10417
10436
  }
10418
- function zg({
10437
+ function Ug({
10419
10438
  children: e,
10420
10439
  className: t,
10421
10440
  onChange: n,
@@ -10436,7 +10455,7 @@ function zg({
10436
10455
  }
10437
10456
  );
10438
10457
  }
10439
- function Ug() {
10458
+ function Gg() {
10440
10459
  return /* @__PURE__ */ Y(Pe, { align: "center", className: "text-slate-300", direction: "row", gap: 2, children: [
10441
10460
  /* @__PURE__ */ R(ns, { className: "size-4 animate-spin" }),
10442
10461
  "Loading..."
@@ -10462,12 +10481,12 @@ function Ga({
10462
10481
  }
10463
10482
  );
10464
10483
  }
10465
- function Gg({
10484
+ function qg({
10466
10485
  children: e,
10467
10486
  className: t,
10468
10487
  path: n
10469
10488
  }) {
10470
- return /* @__PURE__ */ R(Gn, { to: n, children: ({ isActive: r, isPending: o }) => /* @__PURE__ */ R(
10489
+ return /* @__PURE__ */ R(qn, { to: n, children: ({ isActive: r, isPending: o }) => /* @__PURE__ */ R(
10471
10490
  Ga,
10472
10491
  {
10473
10492
  className: fe(
@@ -10483,7 +10502,7 @@ function Gg({
10483
10502
  }
10484
10503
  ) });
10485
10504
  }
10486
- function qg({
10505
+ function Kg({
10487
10506
  children: e,
10488
10507
  label: t
10489
10508
  }) {
@@ -10491,19 +10510,19 @@ function qg({
10491
10510
  /* @__PURE__ */ R(Ta, { className: "w-full group border-none! data-focus:bg-white/10", children: /* @__PURE__ */ Y(Ga, { children: [
10492
10511
  /* @__PURE__ */ R("div", { className: "uppercase text-sm font-bold text-white/50", children: t }),
10493
10512
  /* @__PURE__ */ R("div", { className: "grow" }),
10494
- /* @__PURE__ */ R(jr, { className: "size-4 fill-white/60 group-data-hover:fill-white/50 group-data-open:rotate-90" })
10513
+ /* @__PURE__ */ R(yn, { className: "size-4 fill-white/60 group-data-hover:fill-white/50 group-data-open:rotate-90" })
10495
10514
  ] }) }),
10496
10515
  /* @__PURE__ */ R(Oa, { className: "pl-4", children: e })
10497
10516
  ] });
10498
10517
  }
10499
- function Tg(e) {
10518
+ function Og(e) {
10500
10519
  const t = [], n = [];
10501
10520
  return Object.values(e.props).forEach((r) => {
10502
10521
  r.required ? n.push(r) : t.push(r);
10503
10522
  }), t.sort((r, o) => r.name.localeCompare(o.name)), n.sort((r, o) => r.name.localeCompare(o.name)), { optionalProps: t, requiredProps: n };
10504
10523
  }
10505
- function Og({ prop: e }) {
10506
- return /* @__PURE__ */ Y(Rt, { children: [
10524
+ function Lg({ prop: e }) {
10525
+ return /* @__PURE__ */ Y(ut, { children: [
10507
10526
  /* @__PURE__ */ R("dt", { className: "mt-6 pl-8 indent-[-1rem]", children: /* @__PURE__ */ R(
10508
10527
  za,
10509
10528
  {
@@ -10511,7 +10530,7 @@ function Og({ prop: e }) {
10511
10530
  html: e.html
10512
10531
  }
10513
10532
  ) }),
10514
- /* @__PURE__ */ R("dd", { className: "mt-2 pl-4 [&_code]:text-sky-300", children: /* @__PURE__ */ R(Kn, { sections: e.description }) })
10533
+ /* @__PURE__ */ R("dd", { className: "mt-2 pl-4 [&_code]:text-sky-300", children: /* @__PURE__ */ R(Yn, { sections: e.description }) })
10515
10534
  ] });
10516
10535
  }
10517
10536
  function Oi({
@@ -10520,15 +10539,15 @@ function Oi({
10520
10539
  }) {
10521
10540
  return t.length === 0 ? null : /* @__PURE__ */ Y(Pe, { direction: "column", children: [
10522
10541
  /* @__PURE__ */ R("div", { className: "text-lg font-bold", children: e }),
10523
- /* @__PURE__ */ R("dl", { children: t.map((n) => /* @__PURE__ */ R(Og, { prop: n }, n.name)) })
10542
+ /* @__PURE__ */ R("dl", { children: t.map((n) => /* @__PURE__ */ R(Lg, { prop: n }, n.name)) })
10524
10543
  ] });
10525
10544
  }
10526
- function Kg({
10545
+ function Yg({
10527
10546
  json: e,
10528
10547
  section: t
10529
10548
  }) {
10530
10549
  const { optionalProps: n, requiredProps: r } = ce(
10531
- () => Tg(e),
10550
+ () => Og(e),
10532
10551
  [e]
10533
10552
  );
10534
10553
  return /* @__PURE__ */ Y(Pe, { direction: "column", gap: 4, children: [
@@ -10540,13 +10559,13 @@ function Kg({
10540
10559
  title: `${e.name} component props`
10541
10560
  }
10542
10561
  ),
10543
- /* @__PURE__ */ R(Kn, { sections: e.description }),
10562
+ /* @__PURE__ */ R(Yn, { sections: e.description }),
10544
10563
  /* @__PURE__ */ R(Oi, { header: "Required props", props: r }),
10545
10564
  /* @__PURE__ */ R(Oi, { header: "Optional props", props: n })
10546
10565
  ] });
10547
10566
  }
10548
- const Lg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" })), Ag = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" }));
10549
- function Yg({
10567
+ const Ag = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" })), Mg = (e) => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 -960 960 960", width: "24px", fill: "currentColor", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" }));
10568
+ function Xg({
10550
10569
  checked: e,
10551
10570
  children: t,
10552
10571
  className: n,
@@ -10556,7 +10575,7 @@ function Yg({
10556
10575
  ...l
10557
10576
  }) {
10558
10577
  let a, s;
10559
- return e ? (a = Lg, s = "fill-blue-600") : (a = Ag, s = "fill-slate-600"), /* @__PURE__ */ Y(
10578
+ return e ? (a = Ag, s = "fill-blue-600") : (a = Mg, s = "fill-slate-600"), /* @__PURE__ */ Y(
10560
10579
  "label",
10561
10580
  {
10562
10581
  className: `cursor-pointer rounded-full flex flex-row items-center outline-none group ${n}`,
@@ -10577,7 +10596,7 @@ function Yg({
10577
10596
  }
10578
10597
  ),
10579
10598
  /* @__PURE__ */ R(a, { className: s }),
10580
- t && /* @__PURE__ */ Y(Rt, { children: [
10599
+ t && /* @__PURE__ */ Y(ut, { children: [
10581
10600
  " ",
10582
10601
  t
10583
10602
  ] })
@@ -10585,7 +10604,7 @@ function Yg({
10585
10604
  }
10586
10605
  );
10587
10606
  }
10588
- function Xg({
10607
+ function Zg({
10589
10608
  className: e,
10590
10609
  defaultValue: t,
10591
10610
  onChange: n,
@@ -10634,7 +10653,7 @@ function Xg({
10634
10653
  ) })
10635
10654
  ] }) });
10636
10655
  }
10637
- function Zg(e, t) {
10656
+ function Jg(e, t) {
10638
10657
  switch (e) {
10639
10658
  case "danger":
10640
10659
  return t ? "bg-red-950 text-red-300 [&_svg]:text-red-500" : "bg-black/10 bg-border border-2 border-red-500 text-white [&_svg]:text-red-500 [&_a]:text-red-400!";
@@ -10649,32 +10668,32 @@ function Zg(e, t) {
10649
10668
  }
10650
10669
  }
10651
10670
  export {
10652
- Hg as A,
10671
+ Vg as A,
10653
10672
  Pe as B,
10654
10673
  ml as C,
10655
- Kn as D,
10674
+ Yn as D,
10656
10675
  ja as E,
10657
10676
  Ua as H,
10658
- Wg as I,
10659
- Gn as L,
10660
- Gg as N,
10661
- Yg as R,
10677
+ zg as I,
10678
+ qn as L,
10679
+ qg as N,
10680
+ Xg as R,
10662
10681
  Gc as S,
10663
10682
  Va as T,
10664
- Vg as a,
10683
+ jg as a,
10665
10684
  Ph as b,
10666
- jg as c,
10685
+ Wg as c,
10667
10686
  za as d,
10668
10687
  _a as e,
10669
- zg as f,
10670
- Ug as g,
10671
- qg as h,
10672
- Kg as i,
10688
+ Ug as f,
10689
+ Gg as g,
10690
+ Kg as h,
10691
+ Yg as i,
10673
10692
  Oi as j,
10674
- Xg as k,
10693
+ Zg as k,
10675
10694
  qc as l,
10676
10695
  fe as m,
10677
- Zg as n,
10678
- On as u
10696
+ Jg as n,
10697
+ Ln as u
10679
10698
  };
10680
- //# sourceMappingURL=index-CffrZIvy.js.map
10699
+ //# sourceMappingURL=index-CaRziUeA.js.map