@blakesteve/roster 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/roster.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as V from "react";
2
- import $, { useRef as Y, useCallback as se, useEffect as me, useState as ae, useMemo as be, useLayoutEffect as Ua, useContext as de, createContext as Ee, forwardRef as _l, isValidElement as Ya, cloneElement as Tl, createElement as af, Fragment as Ie, useId as Se, useSyncExternalStore as sf, useReducer as lf, createRef as uf } from "react";
2
+ import $, { useRef as Y, useCallback as se, useEffect as me, useState as ae, useMemo as be, useLayoutEffect as Ya, useContext as de, createContext as Ee, forwardRef as _l, isValidElement as qa, cloneElement as Tl, createElement as af, Fragment as Ie, useId as Se, useSyncExternalStore as sf, useReducer as lf, createRef as uf } from "react";
3
3
  import * as Hr from "react-dom";
4
4
  import { flushSync as en, createPortal as Ml } from "react-dom";
5
5
  var wr = { exports: {} }, Fn = {};
@@ -274,11 +274,11 @@ function pf(e) {
274
274
  return mf(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e;
275
275
  }
276
276
  let hf = !1;
277
- function qa() {
277
+ function Ka() {
278
278
  return hf;
279
279
  }
280
280
  function Rt(e, t) {
281
- if (!qa()) return t && e ? e.contains(t) : !1;
281
+ if (!Ka()) return t && e ? e.contains(t) : !1;
282
282
  if (!e || !t) return !1;
283
283
  let n = t;
284
284
  for (; n !== null; ) {
@@ -287,15 +287,15 @@ function Rt(e, t) {
287
287
  }
288
288
  return !1;
289
289
  }
290
- const ua = (e = document) => {
290
+ const ca = (e = document) => {
291
291
  var t;
292
- if (!qa()) return e.activeElement;
292
+ if (!Ka()) return e.activeElement;
293
293
  let n = e.activeElement;
294
294
  for (; n && "shadowRoot" in n && (!((t = n.shadowRoot) === null || t === void 0) && t.activeElement); ) n = n.shadowRoot.activeElement;
295
295
  return n;
296
296
  };
297
297
  function jl(e) {
298
- return qa() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
298
+ return Ka() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
299
299
  }
300
300
  function Ll(e) {
301
301
  var t, n, r = "";
@@ -358,7 +358,7 @@ function ro(e) {
358
358
  let n = (t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands;
359
359
  return Array.isArray(n) && n.some((r) => e.test(r.brand)) || e.test(window.navigator.userAgent);
360
360
  }
361
- function Ka(e) {
361
+ function Xa(e) {
362
362
  var t;
363
363
  return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
364
364
  }
@@ -368,11 +368,11 @@ function St(e) {
368
368
  return () => (t == null && (t = e()), t);
369
369
  }
370
370
  const Yn = St(function() {
371
- return Ka(/^Mac/i);
371
+ return Xa(/^Mac/i);
372
372
  }), wf = St(function() {
373
- return Ka(/^iPhone/i);
373
+ return Xa(/^iPhone/i);
374
374
  }), Vl = St(function() {
375
- return Ka(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
375
+ return Xa(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
376
376
  Yn() && navigator.maxTouchPoints > 1;
377
377
  }), Sf = St(function() {
378
378
  return wf() || Vl();
@@ -502,34 +502,34 @@ function Bl(e) {
502
502
  ]);
503
503
  }
504
504
  let Ff = !1, nr = null;
505
- const ca = /* @__PURE__ */ new Set();
506
- let jn = /* @__PURE__ */ new Map(), tn = !1, da = !1;
505
+ const da = /* @__PURE__ */ new Set();
506
+ let jn = /* @__PURE__ */ new Map(), tn = !1, fa = !1;
507
507
  const If = {
508
508
  Tab: !0,
509
509
  Escape: !0
510
510
  };
511
- function Xa(e, t) {
512
- for (let n of ca) n(e, t);
511
+ function Ja(e, t) {
512
+ for (let n of da) n(e, t);
513
513
  }
514
514
  function Af(e) {
515
515
  return !(e.metaKey || !Yn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
516
516
  }
517
517
  function Br(e) {
518
- tn = !0, !qn.isOpening && Af(e) && (nr = "keyboard", Xa("keyboard", e));
518
+ tn = !0, !qn.isOpening && Af(e) && (nr = "keyboard", Ja("keyboard", e));
519
519
  }
520
520
  function Ue(e) {
521
- nr = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (tn = !0, Xa("pointer", e));
521
+ nr = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (tn = !0, Ja("pointer", e));
522
522
  }
523
523
  function Gl(e) {
524
524
  !qn.isOpening && Rf(e) && (tn = !0, nr = "virtual");
525
525
  }
526
526
  function Wl(e) {
527
- e.target === window || e.target === document || Ff || !e.isTrusted || (!tn && !da && (nr = "virtual", Xa("virtual", e)), tn = !1, da = !1);
527
+ e.target === window || e.target === document || Ff || !e.isTrusted || (!tn && !fa && (nr = "virtual", Ja("virtual", e)), tn = !1, fa = !1);
528
528
  }
529
529
  function Ul() {
530
- tn = !1, da = !0;
530
+ tn = !1, fa = !0;
531
531
  }
532
- function fa(e) {
532
+ function ga(e) {
533
533
  if (typeof window > "u" || typeof document > "u" || jn.get(Jt(e))) return;
534
534
  const t = Jt(e), n = Ht(e);
535
535
  let r = t.HTMLElement.prototype.focus;
@@ -550,12 +550,12 @@ const Yl = (e, t) => {
550
550
  function Nf(e) {
551
551
  const t = Ht(e);
552
552
  let n;
553
- return t.readyState !== "loading" ? fa(e) : (n = () => {
554
- fa(e);
553
+ return t.readyState !== "loading" ? ga(e) : (n = () => {
554
+ ga(e);
555
555
  }, t.addEventListener("DOMContentLoaded", n)), () => Yl(e, n);
556
556
  }
557
557
  typeof document < "u" && Nf();
558
- function ga() {
558
+ function ma() {
559
559
  return nr !== "pointer";
560
560
  }
561
561
  const Of = /* @__PURE__ */ new Set([
@@ -575,13 +575,13 @@ function _f(e, t, n) {
575
575
  return e = e || r.activeElement instanceof o && !Of.has(r.activeElement.type) || r.activeElement instanceof a || r.activeElement instanceof i && r.activeElement.isContentEditable, !(e && t === "keyboard" && n instanceof s && !If[n.key]);
576
576
  }
577
577
  function Tf(e, t, n) {
578
- fa(), me(() => {
578
+ ga(), me(() => {
579
579
  if (n?.enabled === !1) return;
580
580
  let r = (o, a) => {
581
- _f(!!n?.isTextInput, o, a) && e(ga());
581
+ _f(!!n?.isTextInput, o, a) && e(ma());
582
582
  };
583
- return ca.add(r), () => {
584
- ca.delete(r);
583
+ return da.add(r), () => {
584
+ da.delete(r);
585
585
  };
586
586
  }, t);
587
587
  }
@@ -594,7 +594,7 @@ function Mf(e) {
594
594
  r,
595
595
  o
596
596
  ]), i = Bl(a), s = se((l) => {
597
- const u = Ht(l.target), c = u ? ua(u) : ua();
597
+ const u = Ht(l.target), c = u ? ca(u) : ca();
598
598
  l.target === l.currentTarget && c === jl(l.nativeEvent) && (n && n(l), o && o(!0), i(l));
599
599
  }, [
600
600
  o,
@@ -620,7 +620,7 @@ function jf(e) {
620
620
  s
621
621
  ]), u = Bl(l), c = se((f) => {
622
622
  if (!Rt(f.currentTarget, f.target)) return;
623
- const g = Ht(f.target), d = ua(g);
623
+ const g = Ht(f.target), d = ca(g);
624
624
  if (!a.current.isFocusWithin && d === jl(f.nativeEvent)) {
625
625
  r && r(f), o && o(!0), a.current.isFocusWithin = !0, u(f);
626
626
  let m = f.currentTarget;
@@ -658,18 +658,18 @@ function jf(e) {
658
658
  };
659
659
  }
660
660
  let Gr = !1, kr = 0;
661
- function ma() {
661
+ function pa() {
662
662
  Gr = !0, setTimeout(() => {
663
663
  Gr = !1;
664
664
  }, 50);
665
665
  }
666
666
  function Ui(e) {
667
- e.pointerType === "touch" && ma();
667
+ e.pointerType === "touch" && pa();
668
668
  }
669
669
  function Lf() {
670
670
  if (!(typeof document > "u"))
671
- return kr === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", Ui) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", ma)), kr++, () => {
672
- kr--, !(kr > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Ui) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", ma));
671
+ return kr === 0 && (typeof PointerEvent < "u" ? document.addEventListener("pointerup", Ui) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", pa)), kr++, () => {
672
+ kr--, !(kr > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Ui) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", pa));
673
673
  };
674
674
  }
675
675
  function sn(e) {
@@ -739,9 +739,9 @@ function sn(e) {
739
739
  function ln(e = {}) {
740
740
  let { autoFocus: t = !1, isTextInput: n, within: r } = e, o = Y({
741
741
  isFocused: !1,
742
- isFocusVisible: t || ga()
742
+ isFocusVisible: t || ma()
743
743
  }), [a, i] = ae(!1), [s, l] = ae(() => o.current.isFocused && o.current.isFocusVisible), u = se(() => l(o.current.isFocused && o.current.isFocusVisible), []), c = se((d) => {
744
- o.current.isFocused = d, o.current.isFocusVisible = ga(), i(d), u();
744
+ o.current.isFocused = d, o.current.isFocusVisible = ma(), i(d), u();
745
745
  }, [
746
746
  u
747
747
  ]);
@@ -767,10 +767,10 @@ function ln(e = {}) {
767
767
  focusProps: r ? g : f
768
768
  };
769
769
  }
770
- var Df = Object.defineProperty, Vf = (e, t, n) => t in e ? Df(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Mo = (e, t, n) => (Vf(e, typeof t != "symbol" ? t + "" : t, n), n);
770
+ var Df = Object.defineProperty, Vf = (e, t, n) => t in e ? Df(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, jo = (e, t, n) => (Vf(e, typeof t != "symbol" ? t + "" : t, n), n);
771
771
  let zf = class {
772
772
  constructor() {
773
- Mo(this, "current", this.detect()), Mo(this, "handoffState", "pending"), Mo(this, "currentId", 0);
773
+ jo(this, "current", this.detect()), jo(this, "handoffState", "pending"), jo(this, "currentId", 0);
774
774
  }
775
775
  set(t) {
776
776
  this.current !== t && (this.handoffState = "pending", this.currentId = 0, this.current = t);
@@ -809,7 +809,7 @@ function Tt(e) {
809
809
  var t, n;
810
810
  return (n = (t = _t(e)) == null ? void 0 : t.activeElement) != null ? n : null;
811
811
  }
812
- function Ja(e) {
812
+ function Qa(e) {
813
813
  return Tt(e) === e;
814
814
  }
815
815
  function oo(e) {
@@ -858,7 +858,7 @@ function ct() {
858
858
  return me(() => () => e.dispose(), [e]), e;
859
859
  }
860
860
  let fe = (e, t) => {
861
- ot.isServer ? me(e, t) : Ua(e, t);
861
+ ot.isServer ? me(e, t) : Ya(e, t);
862
862
  };
863
863
  function st(e) {
864
864
  let t = Y(e);
@@ -906,7 +906,7 @@ function Gt() {
906
906
  function Gf({ value: e, children: t }) {
907
907
  return $.createElement(ql.Provider, { value: e }, t);
908
908
  }
909
- function pa(...e) {
909
+ function ha(...e) {
910
910
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
911
911
  }
912
912
  function $e(e, t, ...n) {
@@ -942,7 +942,7 @@ function Wf({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, v
942
942
  return Er(l, n, r, i, s);
943
943
  }
944
944
  function Er(e, t = {}, n, r, o) {
945
- let { as: a = n, children: i, refName: s = "ref", ...l } = jo(e, ["unmount", "static"]), u = e.ref !== void 0 ? { [s]: e.ref } : {}, c = typeof i == "function" ? i(t) : i;
945
+ let { as: a = n, children: i, refName: s = "ref", ...l } = Lo(e, ["unmount", "static"]), u = e.ref !== void 0 ? { [s]: e.ref } : {}, c = typeof i == "function" ? i(t) : i;
946
946
  "className" in l && l.className && typeof l.className == "function" && (l.className = l.className(t)), l["aria-labelledby"] && l["aria-labelledby"] === l.id && (l["aria-labelledby"] = void 0);
947
947
  let f = {};
948
948
  if (t) {
@@ -953,17 +953,17 @@ function Er(e, t = {}, n, r, o) {
953
953
  for (let m of d) f[`data-${m}`] = "";
954
954
  }
955
955
  }
956
- if (Ln(a) && (Object.keys(Ct(l)).length > 0 || Object.keys(Ct(f)).length > 0)) if (!Ya(c) || Array.isArray(c) && c.length > 1 || Kf(c)) {
956
+ if (Ln(a) && (Object.keys(Ct(l)).length > 0 || Object.keys(Ct(f)).length > 0)) if (!qa(c) || Array.isArray(c) && c.length > 1 || Kf(c)) {
957
957
  if (Object.keys(Ct(l)).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(Ct(l)).concat(Object.keys(Ct(f))).map((g) => ` - ${g}`).join(`
958
958
  `), "", "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((g) => ` - ${g}`).join(`
959
959
  `)].join(`
960
960
  `));
961
961
  } else {
962
- let g = c.props, d = g?.className, m = typeof d == "function" ? (...b) => pa(d(...b), l.className) : pa(d, l.className), p = m ? { className: m } : {}, h = Kl(c.props, Ct(jo(l, ["ref"])));
962
+ let g = c.props, d = g?.className, m = typeof d == "function" ? (...b) => ha(d(...b), l.className) : ha(d, l.className), p = m ? { className: m } : {}, h = Kl(c.props, Ct(Lo(l, ["ref"])));
963
963
  for (let b in f) b in h && delete f[b];
964
964
  return Tl(c, Object.assign({}, h, f, u, { ref: o(qf(c), u.ref) }, p));
965
965
  }
966
- return af(a, Object.assign({}, jo(l, ["ref"]), !Ln(a) && u, !Ln(a) && f), c);
966
+ return af(a, Object.assign({}, Lo(l, ["ref"]), !Ln(a) && u, !Ln(a) && f), c);
967
967
  }
968
968
  function Uf() {
969
969
  let e = Y([]), t = se((n) => {
@@ -1016,7 +1016,7 @@ function Ct(e) {
1016
1016
  for (let n in t) t[n] === void 0 && delete t[n];
1017
1017
  return t;
1018
1018
  }
1019
- function jo(e, t = []) {
1019
+ function Lo(e, t = []) {
1020
1020
  let n = Object.assign({}, e);
1021
1021
  for (let r of t) r in n && delete n[r];
1022
1022
  return n;
@@ -1054,7 +1054,7 @@ function Zl(e, t) {
1054
1054
  }
1055
1055
  function eu(e, t, n) {
1056
1056
  if (Array.isArray(n)) for (let [r, o] of n.entries()) eu(e, Zl(t, r.toString()), o);
1057
- 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, ""]) : Zf(n) && !Ya(n) && Ql(n, t, e);
1057
+ 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, ""]) : Zf(n) && !qa(n) && Ql(n, t, e);
1058
1058
  }
1059
1059
  function tu(e) {
1060
1060
  var t, n;
@@ -1136,7 +1136,7 @@ function sg(e) {
1136
1136
  function iu(e) {
1137
1137
  return Ae(e) && e.nodeName === "INPUT";
1138
1138
  }
1139
- function ha(e) {
1139
+ function va(e) {
1140
1140
  return Ae(e) && e.nodeName === "LABEL";
1141
1141
  }
1142
1142
  function lg(e) {
@@ -1212,11 +1212,11 @@ let gg = le(fg), ar = Object.assign(gg, {});
1212
1212
  var te = ((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))(te || {});
1213
1213
  let lo = Ee(null);
1214
1214
  lo.displayName = "LabelContext";
1215
- function Qa() {
1215
+ function Za() {
1216
1216
  let e = de(lo);
1217
1217
  if (e === null) {
1218
1218
  let t = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
1219
- throw Error.captureStackTrace && Error.captureStackTrace(t, Qa), t;
1219
+ throw Error.captureStackTrace && Error.captureStackTrace(t, Za), t;
1220
1220
  }
1221
1221
  return e;
1222
1222
  }
@@ -1238,11 +1238,11 @@ function sr({ inherit: e = !1 } = {}) {
1238
1238
  let mg = "label";
1239
1239
  function pg(e, t) {
1240
1240
  var n;
1241
- let r = Se(), o = Qa(), a = or(), i = Gt(), { id: s = `headlessui-label-${r}`, htmlFor: l = a ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: u = !1, ...c } = e, f = ve(t);
1241
+ let r = Se(), o = Za(), a = or(), i = Gt(), { id: s = `headlessui-label-${r}`, htmlFor: l = a ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: u = !1, ...c } = e, f = ve(t);
1242
1242
  fe(() => o.register(s), [s, o.register]);
1243
1243
  let g = T((p) => {
1244
1244
  let h = p.currentTarget;
1245
- if (!(p.target !== p.currentTarget && ug(p.target)) && (ha(h) && p.preventDefault(), o.props && "onClick" in o.props && typeof o.props.onClick == "function" && o.props.onClick(p), ha(h))) {
1245
+ if (!(p.target !== p.currentTarget && ug(p.target)) && (va(h) && p.preventDefault(), o.props && "onClick" in o.props && typeof o.props.onClick == "function" && o.props.onClick(p), va(h))) {
1246
1246
  let b = document.getElementById(h.htmlFor);
1247
1247
  if (b) {
1248
1248
  let x = b.getAttribute("disabled");
@@ -1257,7 +1257,7 @@ function pg(e, t) {
1257
1257
  }
1258
1258
  let hg = le(pg), Sn = Object.assign(hg, {}), vg = Ee(() => {
1259
1259
  });
1260
- function Za({ value: e, children: t }) {
1260
+ function ei({ value: e, children: t }) {
1261
1261
  return $.createElement(vg.Provider, { value: e }, t);
1262
1262
  }
1263
1263
  function bg(e, t) {
@@ -1277,7 +1277,7 @@ function Yi(e) {
1277
1277
  let { width: t, height: n } = e.getBoundingClientRect();
1278
1278
  return { width: t, height: n };
1279
1279
  }
1280
- function ei(e, t, n = !1) {
1280
+ function ti(e, t, n = !1) {
1281
1281
  let [r, o] = ae(() => Yi(t));
1282
1282
  return fe(() => {
1283
1283
  if (!t || !e) return;
@@ -1312,13 +1312,13 @@ let gu = class extends Map {
1312
1312
  };
1313
1313
  var xg = Object.defineProperty, wg = (e, t, n) => t in e ? xg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Sg = (e, t, n) => (wg(e, t + "", n), n), mu = (e, t, n) => {
1314
1314
  if (!t.has(e)) throw TypeError("Cannot " + n);
1315
- }, We = (e, t, n) => (mu(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Lo = (e, t, n) => {
1315
+ }, We = (e, t, n) => (mu(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Do = (e, t, n) => {
1316
1316
  if (t.has(e)) throw TypeError("Cannot add the same private member more than once");
1317
1317
  t instanceof WeakSet ? t.add(e) : t.set(e, n);
1318
1318
  }, qi = (e, t, n, r) => (mu(e, t, "write to private field"), t.set(e, n), n), nt, _n, Tn;
1319
1319
  let uo = class {
1320
1320
  constructor(t) {
1321
- Lo(this, nt, {}), Lo(this, _n, new gu(() => /* @__PURE__ */ new Set())), Lo(this, Tn, /* @__PURE__ */ new Set()), Sg(this, "disposables", Le()), qi(this, nt, t), ot.isServer && this.disposables.microTask(() => {
1321
+ Do(this, nt, {}), Do(this, _n, new gu(() => /* @__PURE__ */ new Set())), Do(this, Tn, /* @__PURE__ */ new Set()), Sg(this, "disposables", Le()), qi(this, nt, t), ot.isServer && this.disposables.microTask(() => {
1322
1322
  this.dispose();
1323
1323
  });
1324
1324
  }
@@ -1356,9 +1356,9 @@ let uo = class {
1356
1356
  };
1357
1357
  nt = /* @__PURE__ */ new WeakMap(), _n = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap();
1358
1358
  function pu(e, t) {
1359
- 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 : Do(e[Symbol.iterator](), t[Symbol.iterator]()) : e instanceof Map && t instanceof Map || e instanceof Set && t instanceof Set ? e.size !== t.size ? !1 : Do(e.entries(), t.entries()) : Ki(e) && Ki(t) ? Do(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
1359
+ 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 : Vo(e[Symbol.iterator](), t[Symbol.iterator]()) : e instanceof Map && t instanceof Map || e instanceof Set && t instanceof Set ? e.size !== t.size ? !1 : Vo(e.entries(), t.entries()) : Ki(e) && Ki(t) ? Vo(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
1360
1360
  }
1361
- function Do(e, t) {
1361
+ function Vo(e, t) {
1362
1362
  do {
1363
1363
  let n = e.next(), r = t.next();
1364
1364
  if (n.done && r.done) return !0;
@@ -1376,7 +1376,7 @@ function Dn(e) {
1376
1376
  t(...o), r.dispose(), r.microTask(n);
1377
1377
  };
1378
1378
  }
1379
- var kg = Object.defineProperty, Eg = (e, t, n) => t in e ? kg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Xi = (e, t, n) => (Eg(e, typeof t != "symbol" ? t + "" : t, n), n), ti = ((e) => (e[e.Push = 0] = "Push", e[e.Pop = 1] = "Pop", e))(ti || {});
1379
+ var kg = Object.defineProperty, Eg = (e, t, n) => t in e ? kg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Xi = (e, t, n) => (Eg(e, typeof t != "symbol" ? t + "" : t, n), n), ni = ((e) => (e[e.Push = 0] = "Push", e[e.Pop = 1] = "Pop", e))(ni || {});
1380
1380
  let Cg = { 0(e, t) {
1381
1381
  let n = t.id, r = e.stack, o = e.stack.indexOf(n);
1382
1382
  if (o !== -1) {
@@ -1401,17 +1401,17 @@ let Cg = { 0(e, t) {
1401
1401
  }
1402
1402
  };
1403
1403
  const un = new gu(() => $g.new());
1404
- var Cr = { exports: {} }, Vo = {};
1404
+ var Cr = { exports: {} }, zo = {};
1405
1405
  var Ji;
1406
1406
  function Rg() {
1407
- if (Ji) return Vo;
1407
+ if (Ji) return zo;
1408
1408
  Ji = 1;
1409
1409
  var e = $;
1410
1410
  function t(l, u) {
1411
1411
  return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
1412
1412
  }
1413
1413
  var n = typeof Object.is == "function" ? Object.is : t, r = e.useSyncExternalStore, o = e.useRef, a = e.useEffect, i = e.useMemo, s = e.useDebugValue;
1414
- return Vo.useSyncExternalStoreWithSelector = function(l, u, c, f, g) {
1414
+ return zo.useSyncExternalStoreWithSelector = function(l, u, c, f, g) {
1415
1415
  var d = o(null);
1416
1416
  if (d.current === null) {
1417
1417
  var m = { hasValue: !1, value: null };
@@ -1451,9 +1451,9 @@ function Rg() {
1451
1451
  },
1452
1452
  [p]
1453
1453
  ), s(p), p;
1454
- }, Vo;
1454
+ }, zo;
1455
1455
  }
1456
- var zo = {};
1456
+ var Ho = {};
1457
1457
  var Qi;
1458
1458
  function Pg() {
1459
1459
  return Qi || (Qi = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -1462,7 +1462,7 @@ function Pg() {
1462
1462
  }
1463
1463
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1464
1464
  var t = $, n = typeof Object.is == "function" ? Object.is : e, r = t.useSyncExternalStore, o = t.useRef, a = t.useEffect, i = t.useMemo, s = t.useDebugValue;
1465
- zo.useSyncExternalStoreWithSelector = function(l, u, c, f, g) {
1465
+ Ho.useSyncExternalStoreWithSelector = function(l, u, c, f, g) {
1466
1466
  var d = o(null);
1467
1467
  if (d.current === null) {
1468
1468
  var m = { hasValue: !1, value: null };
@@ -1504,7 +1504,7 @@ function Pg() {
1504
1504
  [p]
1505
1505
  ), s(p), p;
1506
1506
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1507
- })()), zo;
1507
+ })()), Ho;
1508
1508
  }
1509
1509
  var Zi;
1510
1510
  function Fg() {
@@ -1523,20 +1523,20 @@ function lr(e, t) {
1523
1523
  if (e) return r.actions.push(n), () => r.actions.pop(n);
1524
1524
  }, [r, e, n]), e ? a ? o : !0 : !1;
1525
1525
  }
1526
- let va = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new Map();
1526
+ let ba = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new Map();
1527
1527
  function es(e) {
1528
1528
  var t;
1529
1529
  let n = (t = Vn.get(e)) != null ? t : 0;
1530
- return Vn.set(e, n + 1), n !== 0 ? () => ts(e) : (va.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => ts(e));
1530
+ return Vn.set(e, n + 1), n !== 0 ? () => ts(e) : (ba.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => ts(e));
1531
1531
  }
1532
1532
  function ts(e) {
1533
1533
  var t;
1534
1534
  let n = (t = Vn.get(e)) != null ? t : 1;
1535
1535
  if (n === 1 ? Vn.delete(e) : Vn.set(e, n - 1), n !== 1) return;
1536
- let r = va.get(e);
1537
- r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, va.delete(e));
1536
+ let r = ba.get(e);
1537
+ r && (r["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", r["aria-hidden"]), e.inert = r.inert, ba.delete(e));
1538
1538
  }
1539
- function ni(e, { allowed: t, disallowed: n } = {}) {
1539
+ function ri(e, { allowed: t, disallowed: n } = {}) {
1540
1540
  let r = lr(e, "inert-others");
1541
1541
  fe(() => {
1542
1542
  var o, a;
@@ -1620,7 +1620,7 @@ function jg(e) {
1620
1620
  var t, n;
1621
1621
  return (n = (t = e?.matches) == null ? void 0 : t.call(e, Mg)) != null ? n : !1;
1622
1622
  }
1623
- function ri(e, t = (n) => n) {
1623
+ function oi(e, t = (n) => n) {
1624
1624
  return e.slice().sort((n, r) => {
1625
1625
  let o = t(n), a = t(r);
1626
1626
  if (o === null || a === null) return 0;
@@ -1632,7 +1632,7 @@ function bu(e, t, n = e === null ? document.body : _t(e)) {
1632
1632
  return Ve(ur(n), t, { relativeTo: e });
1633
1633
  }
1634
1634
  function Ve(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
1635
- let a = Array.isArray(e) ? e.length > 0 ? _t(e[0]) : document : _t(e), i = Array.isArray(e) ? n ? ri(e) : e : t & 64 ? _g(e) : ur(e);
1635
+ let a = Array.isArray(e) ? e.length > 0 ? _t(e[0]) : document : _t(e), i = Array.isArray(e) ? n ? oi(e) : e : t & 64 ? _g(e) : ur(e);
1636
1636
  o.length > 0 && i.length > 1 && (i = i.filter((d) => !o.some((m) => m != null && "current" in m ? m?.current === d : m === d))), r = r ?? a?.activeElement;
1637
1637
  let s = (() => {
1638
1638
  if (t & 5) return 1;
@@ -1745,7 +1745,7 @@ function wu(e, { trigger: t, action: n, close: r, select: o }) {
1745
1745
  }
1746
1746
  }, { capture: !0 });
1747
1747
  }
1748
- function oi(e, t, n, r) {
1748
+ function ai(e, t, n, r) {
1749
1749
  let o = st(n);
1750
1750
  me(() => {
1751
1751
  e = e ?? window;
@@ -1974,7 +1974,7 @@ function em(e, { container: t, accept: n, walk: r }) {
1974
1974
  for (; c.nextNode(); ) l(c.currentNode);
1975
1975
  }, [t, e, o, a]);
1976
1976
  }
1977
- function ai(e, t) {
1977
+ function ii(e, t) {
1978
1978
  let n = Y([]), r = T(e);
1979
1979
  me(() => {
1980
1980
  let o = [...n.current];
@@ -2035,14 +2035,14 @@ function ho(e) {
2035
2035
  });
2036
2036
  }
2037
2037
  const am = ["transform", "translate", "scale", "rotate", "perspective"], im = ["transform", "translate", "scale", "rotate", "perspective", "filter"], sm = ["paint", "layout", "strict", "content"];
2038
- function ii(e) {
2039
- const t = si(), n = je(e) ? et(e) : e;
2038
+ function si(e) {
2039
+ const t = li(), n = je(e) ? et(e) : e;
2040
2040
  return am.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) || im.some((r) => (n.willChange || "").includes(r)) || sm.some((r) => (n.contain || "").includes(r));
2041
2041
  }
2042
2042
  function lm(e) {
2043
2043
  let t = Mt(e);
2044
2044
  for (; ut(t) && !bn(t); ) {
2045
- if (ii(t))
2045
+ if (si(t))
2046
2046
  return t;
2047
2047
  if (ho(t))
2048
2048
  return null;
@@ -2050,7 +2050,7 @@ function lm(e) {
2050
2050
  }
2051
2051
  return null;
2052
2052
  }
2053
- function si() {
2053
+ function li() {
2054
2054
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
2055
2055
  }
2056
2056
  const um = /* @__PURE__ */ new Set(["html", "body", "#document"]);
@@ -2090,12 +2090,12 @@ function Xn(e, t, n) {
2090
2090
  t === void 0 && (t = []), n === void 0 && (n = !0);
2091
2091
  const o = Eu(e), a = o === ((r = e.ownerDocument) == null ? void 0 : r.body), i = He(o);
2092
2092
  if (a) {
2093
- const s = ba(i);
2093
+ const s = ya(i);
2094
2094
  return t.concat(i, i.visualViewport || [], mr(o) ? o : [], s && n ? Xn(s) : []);
2095
2095
  }
2096
2096
  return t.concat(o, Xn(o, [], n));
2097
2097
  }
2098
- function ba(e) {
2098
+ function ya(e) {
2099
2099
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
2100
2100
  }
2101
2101
  function cm() {
@@ -2153,9 +2153,9 @@ function mm(e, t, n) {
2153
2153
  }
2154
2154
  function pm(e) {
2155
2155
  const t = Ur(e);
2156
- return [ya(e), t, ya(t)];
2156
+ return [xa(e), t, xa(t)];
2157
2157
  }
2158
- function ya(e) {
2158
+ function xa(e) {
2159
2159
  return e.replace(/start|end/g, (t) => fm[t]);
2160
2160
  }
2161
2161
  const ds = ["left", "right"], fs = ["right", "left"], hm = ["top", "bottom"], vm = ["bottom", "top"];
@@ -2174,7 +2174,7 @@ function bm(e, t, n) {
2174
2174
  function ym(e, t, n, r) {
2175
2175
  const o = pr(e);
2176
2176
  let a = bm(jt(e), n === "start", r);
2177
- return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(ya)))), a;
2177
+ return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(xa)))), a;
2178
2178
  }
2179
2179
  function Ur(e) {
2180
2180
  return e.replace(/left|right|bottom|top/g, (t) => dm[t]);
@@ -2610,11 +2610,11 @@ function Fu(e) {
2610
2610
  $: s
2611
2611
  };
2612
2612
  }
2613
- function li(e) {
2613
+ function ui(e) {
2614
2614
  return je(e) ? e : e.contextElement;
2615
2615
  }
2616
2616
  function pn(e) {
2617
- const t = li(e);
2617
+ const t = ui(e);
2618
2618
  if (!ut(t))
2619
2619
  return it(1);
2620
2620
  const n = t.getBoundingClientRect(), {
@@ -2631,7 +2631,7 @@ function pn(e) {
2631
2631
  const Fm = /* @__PURE__ */ it(0);
2632
2632
  function Iu(e) {
2633
2633
  const t = He(e);
2634
- return !si() || !t.visualViewport ? Fm : {
2634
+ return !li() || !t.visualViewport ? Fm : {
2635
2635
  x: t.visualViewport.offsetLeft,
2636
2636
  y: t.visualViewport.offsetTop
2637
2637
  };
@@ -2641,17 +2641,17 @@ function Im(e, t, n) {
2641
2641
  }
2642
2642
  function rn(e, t, n, r) {
2643
2643
  t === void 0 && (t = !1), n === void 0 && (n = !1);
2644
- const o = e.getBoundingClientRect(), a = li(e);
2644
+ const o = e.getBoundingClientRect(), a = ui(e);
2645
2645
  let i = it(1);
2646
2646
  t && (r ? je(r) && (i = pn(r)) : i = pn(e));
2647
2647
  const s = Im(a, n, r) ? Iu(a) : it(0);
2648
2648
  let l = (o.left + s.x) / i.x, u = (o.top + s.y) / i.y, c = o.width / i.x, f = o.height / i.y;
2649
2649
  if (a) {
2650
2650
  const g = He(a), d = r && je(r) ? He(r) : r;
2651
- let m = g, p = ba(m);
2651
+ let m = g, p = ya(m);
2652
2652
  for (; p && r && d !== m; ) {
2653
2653
  const h = pn(p), b = p.getBoundingClientRect(), x = et(p), y = b.left + (p.clientLeft + parseFloat(x.paddingLeft)) * h.x, k = b.top + (p.clientTop + parseFloat(x.paddingTop)) * h.y;
2654
- l *= h.x, u *= h.y, c *= h.x, f *= h.y, l += y, u += k, m = He(p), p = ba(m);
2654
+ l *= h.x, u *= h.y, c *= h.x, f *= h.y, l += y, u += k, m = He(p), p = ya(m);
2655
2655
  }
2656
2656
  }
2657
2657
  return Yr({
@@ -2719,7 +2719,7 @@ function _m(e, t) {
2719
2719
  let a = r.clientWidth, i = r.clientHeight, s = 0, l = 0;
2720
2720
  if (o) {
2721
2721
  a = o.width, i = o.height;
2722
- const c = si();
2722
+ const c = li();
2723
2723
  (!c || c && t === "fixed") && (s = o.offsetLeft, l = o.offsetTop);
2724
2724
  }
2725
2725
  const u = bo(r);
@@ -2775,7 +2775,7 @@ function jm(e, t) {
2775
2775
  const a = et(e).position === "fixed";
2776
2776
  let i = a ? Mt(e) : e;
2777
2777
  for (; je(i) && !bn(i); ) {
2778
- const s = et(i), l = ii(i);
2778
+ const s = et(i), l = si(i);
2779
2779
  !l && s.position === "fixed" && (o = null), (a ? !l && !o : !l && s.position === "static" && !!o && Tm.has(o.position) || mr(i) && !l && Nu(e, i)) ? r = r.filter((c) => c !== i) : o = s, i = Mt(i);
2780
2780
  }
2781
2781
  return t.set(e, r), r;
@@ -2832,7 +2832,7 @@ function Vm(e, t, n) {
2832
2832
  height: i.height
2833
2833
  };
2834
2834
  }
2835
- function Ho(e) {
2835
+ function Bo(e) {
2836
2836
  return et(e).position === "static";
2837
2837
  }
2838
2838
  function hs(e, t) {
@@ -2850,16 +2850,16 @@ function Ou(e, t) {
2850
2850
  if (!ut(e)) {
2851
2851
  let o = Mt(e);
2852
2852
  for (; o && !bn(o); ) {
2853
- if (je(o) && !Ho(o))
2853
+ if (je(o) && !Bo(o))
2854
2854
  return o;
2855
2855
  o = Mt(o);
2856
2856
  }
2857
2857
  return n;
2858
2858
  }
2859
2859
  let r = hs(e, t);
2860
- for (; r && rm(r) && Ho(r); )
2860
+ for (; r && rm(r) && Bo(r); )
2861
2861
  r = hs(r, t);
2862
- return r && bn(r) && Ho(r) && !ii(r) ? n : r || lm(e) || n;
2862
+ return r && bn(r) && Bo(r) && !si(r) ? n : r || lm(e) || n;
2863
2863
  }
2864
2864
  const zm = async function(e) {
2865
2865
  const t = this.getOffsetParent || Ou, n = this.getDimensions, r = await n(e.floating);
@@ -2945,7 +2945,7 @@ function Wm(e, t, n, r) {
2945
2945
  elementResize: i = typeof ResizeObserver == "function",
2946
2946
  layoutShift: s = typeof IntersectionObserver == "function",
2947
2947
  animationFrame: l = !1
2948
- } = r, u = li(e), c = o || a ? [...u ? Xn(u) : [], ...Xn(t)] : [];
2948
+ } = r, u = ui(e), c = o || a ? [...u ? Xn(u) : [], ...Xn(t)] : [];
2949
2949
  c.forEach((b) => {
2950
2950
  o && b.addEventListener("scroll", n, {
2951
2951
  passive: !0
@@ -2973,7 +2973,7 @@ function Wm(e, t, n, r) {
2973
2973
  }), f?.(), (b = d) == null || b.disconnect(), d = null, l && cancelAnimationFrame(m);
2974
2974
  };
2975
2975
  }
2976
- const Bo = Pu, Um = $m, Ym = Rm, qm = km, Km = Pm, Xm = (e, t, n) => {
2976
+ const Go = Pu, Um = $m, Ym = Rm, qm = km, Km = Pm, Xm = (e, t, n) => {
2977
2977
  const r = /* @__PURE__ */ new Map(), o = {
2978
2978
  platform: Bm,
2979
2979
  ...n
@@ -2987,7 +2987,7 @@ const Bo = Pu, Um = $m, Ym = Rm, qm = km, Km = Pm, Xm = (e, t, n) => {
2987
2987
  });
2988
2988
  };
2989
2989
  var Jm = typeof document < "u", Qm = function() {
2990
- }, Tr = Jm ? Ua : Qm;
2990
+ }, Tr = Jm ? Ya : Qm;
2991
2991
  function qr(e, t) {
2992
2992
  if (e === t)
2993
2993
  return !0;
@@ -3025,7 +3025,7 @@ function vs(e, t) {
3025
3025
  const n = Tu(e);
3026
3026
  return Math.round(t * n) / n;
3027
3027
  }
3028
- function Go(e) {
3028
+ function Wo(e) {
3029
3029
  const t = V.useRef(e);
3030
3030
  return Tr(() => {
3031
3031
  t.current = e;
@@ -3058,7 +3058,7 @@ function Zm(e) {
3058
3058
  S !== C.current && (C.current = S, p(S));
3059
3059
  }, []), y = V.useCallback((S) => {
3060
3060
  S !== I.current && (I.current = S, b(S));
3061
- }, []), k = a || m, w = i || h, C = V.useRef(null), I = V.useRef(null), F = V.useRef(c), W = l != null, P = Go(l), O = Go(o), K = Go(u), X = V.useCallback(() => {
3061
+ }, []), k = a || m, w = i || h, C = V.useRef(null), I = V.useRef(null), F = V.useRef(c), W = l != null, P = Wo(l), O = Wo(o), K = Wo(u), X = V.useCallback(() => {
3062
3062
  if (!C.current || !I.current)
3063
3063
  return;
3064
3064
  const S = {
@@ -3161,7 +3161,7 @@ function Lu(e) {
3161
3161
  return t.current == null ? void 0 : t.current(...r);
3162
3162
  }, []);
3163
3163
  }
3164
- var xa = typeof document < "u" ? Ua : me;
3164
+ var wa = typeof document < "u" ? Ya : me;
3165
3165
  let bs = !1, ap = 0;
3166
3166
  const ys = () => (
3167
3167
  // Ensure the id is unique with multiple independent versions of Floating UI
@@ -3170,7 +3170,7 @@ const ys = () => (
3170
3170
  );
3171
3171
  function ip() {
3172
3172
  const [e, t] = V.useState(() => bs ? ys() : void 0);
3173
- return xa(() => {
3173
+ return wa(() => {
3174
3174
  e == null && t(ys());
3175
3175
  }, []), V.useEffect(() => {
3176
3176
  bs = !0;
@@ -3263,7 +3263,7 @@ function bp(e) {
3263
3263
  ...e.elements
3264
3264
  }
3265
3265
  }), r = e.rootContext || n, o = r.elements, [a, i] = V.useState(null), [s, l] = V.useState(null), c = o?.domReference || a, f = V.useRef(null), g = pp();
3266
- xa(() => {
3266
+ wa(() => {
3267
3267
  c && (f.current = c);
3268
3268
  }, [c]);
3269
3269
  const d = Zm({
@@ -3300,7 +3300,7 @@ function bp(e) {
3300
3300
  elements: b,
3301
3301
  nodeId: t
3302
3302
  }), [d, h, b, t, r]);
3303
- return xa(() => {
3303
+ return wa(() => {
3304
3304
  r.dataRef.current.floatingContext = x;
3305
3305
  const y = g?.nodesRef.current.find((k) => k.id === t);
3306
3306
  y && (y.context = x);
@@ -3312,7 +3312,7 @@ function bp(e) {
3312
3312
  }), [d, h, b, x]);
3313
3313
  }
3314
3314
  const xs = "active", ws = "selected";
3315
- function Wo(e, t, n) {
3315
+ function Uo(e, t, n) {
3316
3316
  const r = /* @__PURE__ */ new Map(), o = n === "item";
3317
3317
  let a = e;
3318
3318
  if (o && e) {
@@ -3352,15 +3352,15 @@ function Wo(e, t, n) {
3352
3352
  function yp(e) {
3353
3353
  e === void 0 && (e = []);
3354
3354
  const t = e.map((s) => s?.reference), n = e.map((s) => s?.floating), r = e.map((s) => s?.item), o = V.useCallback(
3355
- (s) => Wo(s, e, "reference"),
3355
+ (s) => Uo(s, e, "reference"),
3356
3356
  // eslint-disable-next-line react-hooks/exhaustive-deps
3357
3357
  t
3358
3358
  ), a = V.useCallback(
3359
- (s) => Wo(s, e, "floating"),
3359
+ (s) => Uo(s, e, "floating"),
3360
3360
  // eslint-disable-next-line react-hooks/exhaustive-deps
3361
3361
  n
3362
3362
  ), i = V.useCallback(
3363
- (s) => Wo(s, e, "item"),
3363
+ (s) => Uo(s, e, "item"),
3364
3364
  // eslint-disable-next-line react-hooks/exhaustive-deps
3365
3365
  r
3366
3366
  );
@@ -3407,7 +3407,7 @@ const xp = (e) => ({
3407
3407
  const y = {
3408
3408
  ...t,
3409
3409
  ...await Mu(-d.offsetTop - g.clientTop - f.reference.height / 2 - d.offsetHeight / 2 - a).fn(t)
3410
- }, k = await Bo(Ss(y, m.scrollHeight + p + g.clientTop), c), w = await Bo(y, {
3410
+ }, k = await Go(Ss(y, m.scrollHeight + p + g.clientTop), c), w = await Go(y, {
3411
3411
  ...c,
3412
3412
  elementContext: "reference"
3413
3413
  }), C = Te(0, k.top), I = y.y + C, P = (m.scrollHeight > m.clientHeight ? (O) => O : Jn)(Te(0, m.scrollHeight + (h && x || b ? p * 2 : 0) - C - Te(0, k.bottom)));
@@ -3415,7 +3415,7 @@ const xp = (e) => ({
3415
3415
  const O = m.offsetHeight < d.offsetHeight * nn(s, n.current.length) - 1 || w.top >= -l || w.bottom >= -l;
3416
3416
  Hr.flushSync(() => o(O));
3417
3417
  }
3418
- return r && (r.current = await Bo(Ss({
3418
+ return r && (r.current = await Go(Ss({
3419
3419
  ...y,
3420
3420
  y: I
3421
3421
  }, m.offsetHeight + p + g.clientTop), c)), {
@@ -3484,24 +3484,24 @@ let Cn = Ee({ styles: void 0, setReference: () => {
3484
3484
  }, setFloating: () => {
3485
3485
  }, getReferenceProps: () => ({}), getFloatingProps: () => ({}), slot: {} });
3486
3486
  Cn.displayName = "FloatingContext";
3487
- let ui = Ee(null);
3488
- ui.displayName = "PlacementContext";
3489
- function ci(e) {
3487
+ let ci = Ee(null);
3488
+ ci.displayName = "PlacementContext";
3489
+ function di(e) {
3490
3490
  return be(() => e ? typeof e == "string" ? { to: e } : e : null, [e]);
3491
3491
  }
3492
- function di() {
3492
+ function fi() {
3493
3493
  return de(Cn).setReference;
3494
3494
  }
3495
3495
  function Du() {
3496
3496
  return de(Cn).getReferenceProps;
3497
3497
  }
3498
- function fi() {
3498
+ function gi() {
3499
3499
  let { getFloatingProps: e, slot: t } = de(Cn);
3500
3500
  return se((...n) => Object.assign({}, e(...n), { "data-anchor": t.anchor }), [e, t]);
3501
3501
  }
3502
- function gi(e = null) {
3502
+ function mi(e = null) {
3503
3503
  e === !1 && (e = null), typeof e == "string" && (e = { to: e });
3504
- let t = de(ui), n = be(() => e, [JSON.stringify(e, (o, a) => {
3504
+ let t = de(ci), n = be(() => e, [JSON.stringify(e, (o, a) => {
3505
3505
  var i;
3506
3506
  return (i = a?.outerHTML) != null ? i : a;
3507
3507
  })]);
@@ -3512,7 +3512,7 @@ function gi(e = null) {
3512
3512
  return be(() => [r.setFloating, e ? r.styles : {}], [r.setFloating, e, r.styles]);
3513
3513
  }
3514
3514
  let ks = 4;
3515
- function mi({ children: e, enabled: t = !0 }) {
3515
+ function pi({ children: e, enabled: t = !0 }) {
3516
3516
  let [n, r] = ae(null), [o, a] = ae(0), i = Y(null), [s, l] = ae(null);
3517
3517
  Sp(s);
3518
3518
  let u = t && n !== null && s !== null, { to: c = "bottom", gap: f = 0, offset: g = 0, padding: d = 0, inner: m } = kp(n, s), [p, h = "center"] = c.split(" ");
@@ -3544,7 +3544,7 @@ function mi({ children: e, enabled: t = !0 }) {
3544
3544
  let C = be(() => ({ anchor: [k, w].filter(Boolean).join(" ") }), [k, w]), I = wp(y, { overflowRef: i, onChange: a }), { getReferenceProps: F, getFloatingProps: W } = yp([I]), P = T((O) => {
3545
3545
  l(O), b.setFloating(O);
3546
3546
  });
3547
- return V.createElement(ui.Provider, { value: r }, V.createElement(Cn.Provider, { value: { setFloating: P, setReference: b.setReference, styles: x, getReferenceProps: F, getFloatingProps: W, slot: C } }, e));
3547
+ return V.createElement(ci.Provider, { value: r }, V.createElement(Cn.Provider, { value: { setFloating: P, setReference: b.setReference, styles: x, getReferenceProps: F, getFloatingProps: W, slot: C } }, e));
3548
3548
  }
3549
3549
  function Sp(e) {
3550
3550
  fe(() => {
@@ -3562,10 +3562,10 @@ function Sp(e) {
3562
3562
  }
3563
3563
  function kp(e, t) {
3564
3564
  var n, r, o;
3565
- let a = Uo((n = e?.gap) != null ? n : "var(--anchor-gap, 0)", t), i = Uo((r = e?.offset) != null ? r : "var(--anchor-offset, 0)", t), s = Uo((o = e?.padding) != null ? o : "var(--anchor-padding, 0)", t);
3565
+ let a = Yo((n = e?.gap) != null ? n : "var(--anchor-gap, 0)", t), i = Yo((r = e?.offset) != null ? r : "var(--anchor-offset, 0)", t), s = Yo((o = e?.padding) != null ? o : "var(--anchor-padding, 0)", t);
3566
3566
  return { ...e, gap: a, offset: i, padding: s };
3567
3567
  }
3568
- function Uo(e, t, n = void 0) {
3568
+ function Yo(e, t, n = void 0) {
3569
3569
  let r = ct(), o = T((l, u) => {
3570
3570
  if (l == null) return [n, null];
3571
3571
  if (typeof l == "number") return [l, null];
@@ -3619,7 +3619,7 @@ function Es(e, t) {
3619
3619
  }
3620
3620
  function Ep({ children: e, freeze: t }, n) {
3621
3621
  let r = zu(t, e);
3622
- return Ya(r) ? Tl(r, { ref: n }) : $.createElement($.Fragment, null, r);
3622
+ return qa(r) ? Tl(r, { ref: n }) : $.createElement($.Fragment, null, r);
3623
3623
  }
3624
3624
  $.forwardRef(Ep);
3625
3625
  function zu(e, t) {
@@ -3724,7 +3724,7 @@ function Pp(e) {
3724
3724
  let Gu = Ie, Fp = le(function(e, t) {
3725
3725
  let { ownerDocument: n = null, ...r } = e, o = Y(null), a = ve(uu((g) => {
3726
3726
  o.current = g;
3727
- }), t), i = yt(o.current), s = n ?? i, l = Pp(s), u = de(wa), c = ct(), f = ue();
3727
+ }), t), i = yt(o.current), s = n ?? i, l = Pp(s), u = de(Sa), c = ct(), f = ue();
3728
3728
  return hr(() => {
3729
3729
  var g;
3730
3730
  l && l.childNodes.length <= 0 && ((g = l.parentElement) == null || g.removeChild(l));
@@ -3741,19 +3741,19 @@ function Np(e, t) {
3741
3741
  let { target: n, ...r } = e, o = { ref: ve(t) }, a = ue();
3742
3742
  return $.createElement(Wu.Provider, { value: n }, a({ ourProps: o, theirProps: r, defaultTag: Ap, name: "Popover.Group" }));
3743
3743
  }
3744
- let wa = Ee(null);
3744
+ let Sa = Ee(null);
3745
3745
  function Uu() {
3746
- let e = de(wa), t = Y([]), n = T((a) => (t.current.push(a), e && e.register(a), () => r(a))), r = T((a) => {
3746
+ let e = de(Sa), t = Y([]), n = T((a) => (t.current.push(a), e && e.register(a), () => r(a))), r = T((a) => {
3747
3747
  let i = t.current.indexOf(a);
3748
3748
  i !== -1 && t.current.splice(i, 1), e && e.unregister(a);
3749
3749
  }), o = be(() => ({ register: n, unregister: r, portals: t }), [n, r, t]);
3750
3750
  return [t, be(() => function({ children: a }) {
3751
- return $.createElement(wa.Provider, { value: o }, a);
3751
+ return $.createElement(Sa.Provider, { value: o }, a);
3752
3752
  }, [o])];
3753
3753
  }
3754
3754
  let Op = le(Ip), Yu = le(Np), wo = Object.assign(Op, { Group: Yu });
3755
3755
  const Ot = { Idle: { kind: "Idle" }, Tracked: (e) => ({ kind: "Tracked", position: e }), Moved: { kind: "Moved" } };
3756
- function pi(e) {
3756
+ function hi(e) {
3757
3757
  let t = e.getBoundingClientRect();
3758
3758
  return `${t.x},${t.y}`;
3759
3759
  }
@@ -3761,7 +3761,7 @@ function qu(e, t, n) {
3761
3761
  let r = Le();
3762
3762
  if (t.kind === "Tracked") {
3763
3763
  let o = function() {
3764
- a !== pi(e) && (r.dispose(), n());
3764
+ a !== hi(e) && (r.dispose(), n());
3765
3765
  }, { position: a } = t, i = new ResizeObserver(o);
3766
3766
  i.observe(e), r.add(() => i.disconnect()), r.addEventListener(window, "scroll", o, { passive: !0 }), r.addEventListener(window, "resize", o);
3767
3767
  }
@@ -3769,7 +3769,7 @@ function qu(e, t, n) {
3769
3769
  }
3770
3770
  function _p(e, t = typeof document < "u" ? document.defaultView : null, n) {
3771
3771
  let r = lr(e, "escape");
3772
- oi(t, "keydown", (o) => {
3772
+ ai(t, "keydown", (o) => {
3773
3773
  r && (o.defaultPrevented || o.key === te.Escape && n(o));
3774
3774
  });
3775
3775
  }
@@ -3797,7 +3797,7 @@ function Ku({ defaultContainers: e = [], portals: t, mainTreeNode: n } = {}) {
3797
3797
  }
3798
3798
  let Xu = Ee(null);
3799
3799
  function Kr({ children: e, node: t }) {
3800
- let [n, r] = ae(null), o = hi(t ?? n);
3800
+ let [n, r] = ae(null), o = vi(t ?? n);
3801
3801
  return $.createElement(Xu.Provider, { value: o }, e, o === null && $.createElement(bt, { features: lt.Hidden, ref: (a) => {
3802
3802
  var i, s;
3803
3803
  if (a) {
@@ -3808,7 +3808,7 @@ function Kr({ children: e, node: t }) {
3808
3808
  }
3809
3809
  } }));
3810
3810
  }
3811
- function hi(e = null) {
3811
+ function vi(e = null) {
3812
3812
  var t;
3813
3813
  return (t = de(Xu)) != null ? t : e;
3814
3814
  }
@@ -3823,14 +3823,14 @@ function So() {
3823
3823
  t !== !0 && n(!0);
3824
3824
  }, [t]), V.useEffect(() => ot.handoff(), []), e ? !1 : t;
3825
3825
  }
3826
- function vi() {
3826
+ function bi() {
3827
3827
  let e = Y(!1);
3828
3828
  return fe(() => (e.current = !0, () => {
3829
3829
  e.current = !1;
3830
3830
  }), []), e;
3831
3831
  }
3832
3832
  var ze = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(ze || {});
3833
- function bi() {
3833
+ function yi() {
3834
3834
  let e = Y(0);
3835
3835
  return xu(!0, "keydown", (t) => {
3836
3836
  t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
@@ -3852,7 +3852,7 @@ function Lp(e, t) {
3852
3852
  Hp(s, { ownerDocument: u });
3853
3853
  let c = Bp(s, { ownerDocument: u, container: n, initialFocus: o, initialFocusFallback: a });
3854
3854
  Gp(s, { ownerDocument: u, container: n, containers: i, previousActiveElement: c });
3855
- let f = bi(), g = T((x) => {
3855
+ let f = yi(), g = T((x) => {
3856
3856
  if (!Ae(n.current)) return;
3857
3857
  let y = n.current;
3858
3858
  ((k) => k())(() => {
@@ -3878,7 +3878,7 @@ function Lp(e, t) {
3878
3878
  let Dp = le(Lp), Vp = Object.assign(Dp, { features: Xt });
3879
3879
  function zp(e = !0) {
3880
3880
  let t = Y($t.slice());
3881
- return ai(([n], [r]) => {
3881
+ return ii(([n], [r]) => {
3882
3882
  r === !0 && n === !1 && oo(() => {
3883
3883
  t.current.splice(0);
3884
3884
  }), r === !1 && n === !0 && (t.current = $t.slice());
@@ -3889,15 +3889,15 @@ function zp(e = !0) {
3889
3889
  }
3890
3890
  function Hp(e, { ownerDocument: t }) {
3891
3891
  let n = !!(e & 8), r = zp(n);
3892
- ai(() => {
3893
- n || Ja(t?.body) && at(r());
3892
+ ii(() => {
3893
+ n || Qa(t?.body) && at(r());
3894
3894
  }, [n]), hr(() => {
3895
3895
  n && at(r());
3896
3896
  });
3897
3897
  }
3898
3898
  function Bp(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFallback: o }) {
3899
- let a = Y(null), i = lr(!!(e & 1), "focus-trap#initial-focus"), s = vi();
3900
- return ai(() => {
3899
+ let a = Y(null), i = lr(!!(e & 1), "focus-trap#initial-focus"), s = bi();
3900
+ return ii(() => {
3901
3901
  if (e === 0) return;
3902
3902
  if (!i) {
3903
3903
  o != null && o.current && at(o.current);
@@ -3929,8 +3929,8 @@ function Bp(e, { ownerDocument: t, container: n, initialFocus: r, initialFocusFa
3929
3929
  }, [o, i, e]), a;
3930
3930
  }
3931
3931
  function Gp(e, { ownerDocument: t, container: n, containers: r, previousActiveElement: o }) {
3932
- let a = vi(), i = !!(e & 4);
3933
- oi(t?.defaultView, "focus", (s) => {
3932
+ let a = bi(), i = !!(e & 4);
3933
+ ai(t?.defaultView, "focus", (s) => {
3934
3934
  if (!i || !a.current) return;
3935
3935
  let l = Ju(r);
3936
3936
  Ae(n.current) && l.add(n.current);
@@ -3967,7 +3967,7 @@ function Co(e) {
3967
3967
  return "children" in e ? Co(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
3968
3968
  }
3969
3969
  function ec(e, t) {
3970
- let n = st(e), r = Y([]), o = vi(), a = ct(), i = T((d, m = Pt.Hidden) => {
3970
+ let n = st(e), r = Y([]), o = bi(), a = ct(), i = T((d, m = Pt.Hidden) => {
3971
3971
  let p = r.current.findIndex(({ el: h }) => h === d);
3972
3972
  p !== -1 && ($e(m, { [Pt.Unmount]() {
3973
3973
  r.current.splice(p, 1);
@@ -4028,7 +4028,7 @@ function qp(e, t) {
4028
4028
  me(() => {
4029
4029
  k && o || (re(I), E(I));
4030
4030
  }, [I, k, o]);
4031
- let L = !(!o || !k || !D || G), [, R] = gr(L, b, I, { start: re, end: E }), N = Ct({ ref: w, className: ((r = pa(h.className, ee && u, ee && c, R.enter && u, R.enter && R.closed && c, R.enter && !R.closed && f, R.leave && d, R.leave && !R.closed && m, R.leave && R.closed && p, !R.transition && I && g)) == null ? void 0 : r.trim()) || void 0, ...fr(R) }), J = 0;
4031
+ let L = !(!o || !k || !D || G), [, R] = gr(L, b, I, { start: re, end: E }), N = Ct({ ref: w, className: ((r = ha(h.className, ee && u, ee && c, R.enter && u, R.enter && R.closed && c, R.enter && !R.closed && f, R.leave && d, R.leave && !R.closed && m, R.leave && R.closed && p, !R.transition && I && g)) == null ? void 0 : r.trim()) || void 0, ...fr(R) }), J = 0;
4032
4032
  P === "visible" && (J |= xe.Open), P === "hidden" && (J |= xe.Closed), I && P === "hidden" && (J |= xe.Opening), !I && P === "visible" && (J |= xe.Closing);
4033
4033
  let B = ue();
4034
4034
  return $.createElement(Eo.Provider, { value: U }, $.createElement(xo, { value: J }, B({ ourProps: N, theirProps: h, defaultTag: tc, features: nc, visible: P === "visible", name: "Transition.Child" })));
@@ -4059,16 +4059,16 @@ function Kp(e, t) {
4059
4059
  }
4060
4060
  function Xp(e, t) {
4061
4061
  let n = de(ko) !== null, r = Wt() !== null;
4062
- return $.createElement($.Fragment, null, !n && r ? $.createElement(Sa, { ref: t, ...e }) : $.createElement(rc, { ref: t, ...e }));
4062
+ return $.createElement($.Fragment, null, !n && r ? $.createElement(ka, { ref: t, ...e }) : $.createElement(rc, { ref: t, ...e }));
4063
4063
  }
4064
- let Sa = le(Kp), rc = le(qp), Zn = le(Xp), yn = Object.assign(Sa, { Child: Zn, Root: Sa });
4064
+ let ka = le(Kp), rc = le(qp), Zn = le(Xp), yn = Object.assign(ka, { Child: Zn, Root: ka });
4065
4065
  var Jp = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Jp || {}), Qp = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Qp || {});
4066
4066
  let Zp = { 0(e, t) {
4067
4067
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
4068
- } }, yi = Ee(null);
4069
- yi.displayName = "DialogContext";
4068
+ } }, xi = Ee(null);
4069
+ xi.displayName = "DialogContext";
4070
4070
  function $o(e) {
4071
- let t = de(yi);
4071
+ let t = de(xi);
4072
4072
  if (t === null) {
4073
4073
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
4074
4074
  throw Error.captureStackTrace && Error.captureStackTrace(n, $o), n;
@@ -4088,8 +4088,8 @@ let $s = le(function(e, t) {
4088
4088
  let m = Y(null), p = ve(m, t), h = yt(m.current), b = o ? 0 : 1, [x, y] = lf(e0, { titleId: null, descriptionId: null, panelRef: uf() }), k = T(() => a(!1)), w = T((R) => y({ type: 0, id: R })), C = So() ? b === 0 : !1, [I, F] = Uu(), W = { get current() {
4089
4089
  var R;
4090
4090
  return (R = x.panelRef.current) != null ? R : m.current;
4091
- } }, P = hi(), { resolveContainers: O } = Ku({ mainTreeNode: P, portals: I, defaultContainers: [W] }), K = d !== null ? (d & xe.Closing) === xe.Closing : !1;
4092
- ni(u || K ? !1 : C, { allowed: T(() => {
4091
+ } }, P = vi(), { resolveContainers: O } = Ku({ mainTreeNode: P, portals: I, defaultContainers: [W] }), K = d !== null ? (d & xe.Closing) === xe.Closing : !1;
4092
+ ri(u || K ? !1 : C, { allowed: T(() => {
4093
4093
  var R, N;
4094
4094
  return [(N = (R = m.current) == null ? void 0 : R.closest("[data-headlessui-portal]")) != null ? N : null];
4095
4095
  }), disallowed: T(() => {
@@ -4109,7 +4109,7 @@ let $s = le(function(e, t) {
4109
4109
  let [D, G] = so(), ee = be(() => [{ dialogState: b, close: k, setTitleId: w, unmount: c }, x], [b, k, w, c, x]), S = ye({ open: b === 0 }), U = { ref: p, id: r, role: s, tabIndex: -1, "aria-modal": u ? void 0 : b === 0 ? !0 : void 0, "aria-labelledby": x.titleId, "aria-describedby": D, unmount: c }, re = !Tp(), E = Xt.None;
4110
4110
  C && !u && (E |= Xt.RestoreFocus, E |= Xt.TabLock, l && (E |= Xt.AutoFocus), re && (E |= Xt.InitialFocus));
4111
4111
  let L = ue();
4112
- return $.createElement(Hu, null, $.createElement(Cs, { force: !0 }, $.createElement(wo, null, $.createElement(yi.Provider, { value: ee }, $.createElement(Yu, { target: m }, $.createElement(Cs, { force: !1 }, $.createElement(G, { slot: S }, $.createElement(F, null, $.createElement(Vp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, $.createElement(Za, { value: k }, L({ ourProps: U, theirProps: f, slot: S, defaultTag: t0, features: n0, visible: b === 0, name: "Dialog" })))))))))));
4112
+ return $.createElement(Hu, null, $.createElement(Cs, { force: !0 }, $.createElement(wo, null, $.createElement(xi.Provider, { value: ee }, $.createElement(Yu, { target: m }, $.createElement(Cs, { force: !1 }, $.createElement(G, { slot: S }, $.createElement(F, null, $.createElement(Vp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, $.createElement(ei, { value: k }, L({ ourProps: U, theirProps: f, slot: S, defaultTag: t0, features: n0, visible: b === 0, name: "Dialog" })))))))))));
4113
4113
  }), t0 = "div", n0 = qe.RenderStrategy | qe.Static;
4114
4114
  function r0(e, t) {
4115
4115
  let { transition: n = !1, open: r, ...o } = e, a = Wt(), i = e.hasOwnProperty("open") || a !== null, s = e.hasOwnProperty("onClose");
@@ -4144,7 +4144,7 @@ function m0(e, t) {
4144
4144
  let n = `headlessui-control-${Se()}`, [r, o] = sr(), [a, i] = so(), s = Gt(), { disabled: l = s || !1, ...u } = e, c = ye({ disabled: l }), f = { ref: t, disabled: l || void 0, "aria-disabled": l || void 0 }, g = ue();
4145
4145
  return $.createElement(Gf, { value: l }, $.createElement(o, { value: r }, $.createElement(i, { value: a }, $.createElement(ag, { id: n }, g({ ourProps: f, theirProps: { ...u, children: $.createElement(ng, null, typeof u.children == "function" ? u.children(c) : u.children) }, slot: c, defaultTag: g0, name: "Field" })))));
4146
4146
  }
4147
- let xi = le(m0), p0 = "input";
4147
+ let Ro = le(m0), p0 = "input";
4148
4148
  function h0(e, t) {
4149
4149
  let n = Se(), r = or(), o = Gt(), { id: a = r || `headlessui-input-${n}`, disabled: i = o || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = ir(), f = io(), { isFocused: g, focusProps: d } = ln({ autoFocus: s }), { isHovered: m, hoverProps: p } = sn({ isDisabled: i }), h = Ze({ ref: t, id: a, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, p), b = ye({ disabled: i, invalid: l, hover: m, focus: g, autofocus: s });
4150
4150
  return ue()({ ourProps: h, theirProps: u, slot: b, defaultTag: p0, name: "Input" });
@@ -4189,12 +4189,12 @@ function ic(e) {
4189
4189
  }
4190
4190
  var y0 = Object.defineProperty, x0 = (e, t, n) => t in e ? y0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Fs = (e, t, n) => (x0(e, typeof t != "symbol" ? t + "" : t, n), n), Me = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Me || {}), At = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(At || {}), Mr = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Mr || {}), sc = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.SelectOption = 5] = "SelectOption", e[e.RegisterOptions = 6] = "RegisterOptions", e[e.UnregisterOptions = 7] = "UnregisterOptions", e[e.SetButtonElement = 8] = "SetButtonElement", e[e.SetOptionsElement = 9] = "SetOptionsElement", e[e.SortOptions = 10] = "SortOptions", e[e.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", e))(sc || {});
4191
4191
  function Is(e, t = (n) => n) {
4192
- let n = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, r = ri(t(e.options.slice()), (a) => a.dataRef.current.domRef.current), o = n ? r.indexOf(n) : null;
4192
+ let n = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, r = oi(t(e.options.slice()), (a) => a.dataRef.current.domRef.current), o = n ? r.indexOf(n) : null;
4193
4193
  return o === -1 && (o = null), { options: r, activeOptionIndex: o };
4194
4194
  }
4195
4195
  let w0 = { 1(e) {
4196
4196
  if (e.dataRef.current.disabled || e.listboxState === 1) return e;
4197
- let t = e.buttonElement ? Ot.Tracked(pi(e.buttonElement)) : e.buttonPositionState;
4197
+ let t = e.buttonElement ? Ot.Tracked(hi(e.buttonElement)) : e.buttonPositionState;
4198
4198
  return { ...e, activeOptionIndex: null, pendingFocus: { focus: oe.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: t };
4199
4199
  }, 0(e, t) {
4200
4200
  if (e.dataRef.current.disabled || e.listboxState === 0) return e;
@@ -4322,7 +4322,7 @@ let w0 = { 1(e) {
4322
4322
  });
4323
4323
  {
4324
4324
  let n = this.state.id, r = un.get(null);
4325
- this.disposables.add(r.on(ti.Push, (o) => {
4325
+ this.disposables.add(r.on(ni.Push, (o) => {
4326
4326
  !r.selectors.isTop(o, n) && this.state.listboxState === 0 && this.actions.closeListbox();
4327
4327
  })), this.on(0, () => r.actions.push(n)), this.on(1, () => r.actions.pop(n));
4328
4328
  }
@@ -4357,10 +4357,10 @@ function cc({ id: e, __demoMode: t = !1 }) {
4357
4357
  let n = be(() => S0.new({ id: e, __demoMode: t }), []);
4358
4358
  return hr(() => n.dispose()), n;
4359
4359
  }
4360
- let Ro = Ee(null);
4361
- Ro.displayName = "ListboxDataContext";
4360
+ let Po = Ee(null);
4361
+ Po.displayName = "ListboxDataContext";
4362
4362
  function vr(e) {
4363
- let t = de(Ro);
4363
+ let t = de(Po);
4364
4364
  if (t === null) {
4365
4365
  let n = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
4366
4366
  throw Error.captureStackTrace && Error.captureStackTrace(n, vr), n;
@@ -4382,11 +4382,11 @@ function E0(e, t) {
4382
4382
  let G = ye({ open: O === Me.Open, disabled: f, invalid: c, value: y }), [ee, S] = sr({ inherit: !0 }), U = { ref: b }, re = se(() => {
4383
4383
  if (x !== void 0) return k?.(x);
4384
4384
  }, [k, x]), E = ue();
4385
- return $.createElement(S, { value: ee, props: { htmlFor: _?.id }, slot: { open: O === Me.Open, disabled: f } }, $.createElement(mi, null, $.createElement(uc.Provider, { value: w }, $.createElement(Ro.Provider, { value: P }, $.createElement(xo, { value: $e(O, { [Me.Open]: xe.Open, [Me.Closed]: xe.Closed }) }, s != null && y != null && $.createElement(ru, { disabled: f, data: { [s]: y }, form: i, onReset: re }), E({ ourProps: U, theirProps: p, slot: G, defaultTag: k0, name: "Listbox" }))))));
4385
+ return $.createElement(S, { value: ee, props: { htmlFor: _?.id }, slot: { open: O === Me.Open, disabled: f } }, $.createElement(pi, null, $.createElement(uc.Provider, { value: w }, $.createElement(Po.Provider, { value: P }, $.createElement(xo, { value: $e(O, { [Me.Open]: xe.Open, [Me.Closed]: xe.Closed }) }, s != null && y != null && $.createElement(ru, { disabled: f, data: { [s]: y }, form: i, onReset: re }), E({ ourProps: U, theirProps: p, slot: G, defaultTag: k0, name: "Listbox" }))))));
4386
4386
  }
4387
4387
  let C0 = "button";
4388
4388
  function $0(e, t) {
4389
- let n = Se(), r = or(), o = vr("Listbox.Button"), a = wi("Listbox.Button"), { id: i = r || `headlessui-listbox-button-${n}`, disabled: s = o.disabled || !1, autoFocus: l = !1, ...u } = e, c = ve(t, di(), a.actions.setButtonElement), f = Du(), [g, d, m] = ce(a, (D) => [D.listboxState, D.buttonElement, D.optionsElement]), p = g === Me.Open;
4389
+ let n = Se(), r = or(), o = vr("Listbox.Button"), a = wi("Listbox.Button"), { id: i = r || `headlessui-listbox-button-${n}`, disabled: s = o.disabled || !1, autoFocus: l = !1, ...u } = e, c = ve(t, fi(), a.actions.setButtonElement), f = Du(), [g, d, m] = ce(a, (D) => [D.listboxState, D.buttonElement, D.optionsElement]), p = g === Me.Open;
4390
4390
  wu(p, { trigger: d, action: se((D) => {
4391
4391
  if (d != null && d.contains(D.target)) return Ft.Ignore;
4392
4392
  let G = D.target.closest('[role="option"]:not([data-disabled])');
@@ -4415,14 +4415,14 @@ function $0(e, t) {
4415
4415
  }
4416
4416
  let dc = Ee(!1), R0 = "div", P0 = qe.RenderStrategy | qe.Static;
4417
4417
  function F0(e, t) {
4418
- let n = Se(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = ci(o), [c, f] = ae(null);
4418
+ let n = Se(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = di(o), [c, f] = ae(null);
4419
4419
  u && (a = !0);
4420
4420
  let g = vr("Listbox.Options"), d = wi("Listbox.Options"), [m, p, h, b] = ce(d, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), x = yt(p), y = yt(h), k = Wt(), [w, C] = gr(s, c, k !== null ? (k & xe.Open) === xe.Open : m === Me.Open);
4421
4421
  co(w, p, d.actions.closeListbox);
4422
4422
  let I = b ? !1 : i && m === Me.Open;
4423
4423
  mo(I, y);
4424
4424
  let F = b ? !1 : i && m === Me.Open;
4425
- ni(F, { allowed: se(() => [p, h], [p, h]) });
4425
+ ri(F, { allowed: se(() => [p, h], [p, h]) });
4426
4426
  let W = ce(d, d.selectors.didButtonMove) ? !1 : w, P = ce(d, d.selectors.hasFrozenValue) && !e.static, O = zu(P, g.value), K = se((B) => g.compare(O, B), [g.compare, O]), X = ce(d, (B) => {
4427
4427
  var j;
4428
4428
  if (u == null || !((j = u?.to) != null && j.includes("selection"))) return null;
@@ -4433,10 +4433,10 @@ function F0(e, t) {
4433
4433
  if (X === null) return { ...u, inner: void 0 };
4434
4434
  let B = Array.from(g.listRef.current.values());
4435
4435
  return { ...u, inner: { listRef: { current: B }, index: X } };
4436
- })(), [D, G] = gi(_), ee = fi(), S = ve(t, u ? D : null, d.actions.setOptionsElement, f), U = ct();
4436
+ })(), [D, G] = mi(_), ee = gi(), S = ve(t, u ? D : null, d.actions.setOptionsElement, f), U = ct();
4437
4437
  me(() => {
4438
4438
  let B = h;
4439
- B && m === Me.Open && (Ja(B) || B == null || B.focus({ preventScroll: !0 }));
4439
+ B && m === Me.Open && (Qa(B) || B == null || B.focus({ preventScroll: !0 }));
4440
4440
  }, [m, h]);
4441
4441
  let re = T((B) => {
4442
4442
  var j;
@@ -4469,8 +4469,8 @@ function F0(e, t) {
4469
4469
  }), E = ce(d, (B) => {
4470
4470
  var j;
4471
4471
  return (j = B.buttonElement) == null ? void 0 : j.id;
4472
- }), L = ye({ open: m === Me.Open }), R = Ze(u ? ee() : {}, { id: r, ref: S, "aria-activedescendant": ce(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === At.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: re, role: "listbox", tabIndex: m === Me.Open ? 0 : void 0, style: { ...l.style, ...G, "--button-width": ei(w, p, !0).width }, ...fr(C) }), N = ue(), J = be(() => g.mode === At.Multi ? g : { ...g, isSelected: K }, [g, K]);
4473
- return $.createElement(wo, { enabled: a ? e.static || w : !1, ownerDocument: x }, $.createElement(Ro.Provider, { value: J }, N({ ourProps: R, theirProps: l, slot: L, defaultTag: R0, features: P0, visible: W, name: "Listbox.Options" })));
4472
+ }), L = ye({ open: m === Me.Open }), R = Ze(u ? ee() : {}, { id: r, ref: S, "aria-activedescendant": ce(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === At.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: re, role: "listbox", tabIndex: m === Me.Open ? 0 : void 0, style: { ...l.style, ...G, "--button-width": ti(w, p, !0).width }, ...fr(C) }), N = ue(), J = be(() => g.mode === At.Multi ? g : { ...g, isSelected: K }, [g, K]);
4473
+ return $.createElement(wo, { enabled: a ? e.static || w : !1, ownerDocument: x }, $.createElement(Po.Provider, { value: J }, N({ ourProps: R, theirProps: l, slot: L, defaultTag: R0, features: P0, visible: W, name: "Listbox.Options" })));
4474
4474
  }
4475
4475
  let I0 = "div";
4476
4476
  function A0(e, t) {
@@ -4508,12 +4508,12 @@ function O0(e, t) {
4508
4508
  let _0 = le(E0), fc = le($0), T0 = Sn, gc = le(F0), mc = le(A0), M0 = le(O0), j0 = Object.assign(_0, { Button: fc, Label: T0, Options: gc, Option: mc, SelectedOption: M0 });
4509
4509
  var L0 = Object.defineProperty, D0 = (e, t, n) => t in e ? L0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, As = (e, t, n) => (D0(e, typeof t != "symbol" ? t + "" : t, n), n), _e = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(_e || {}), Xr = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Xr || {}), he = ((e) => (e[e.OpenMenu = 0] = "OpenMenu", e[e.CloseMenu = 1] = "CloseMenu", e[e.GoToItem = 2] = "GoToItem", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.RegisterItems = 5] = "RegisterItems", e[e.UnregisterItems = 6] = "UnregisterItems", e[e.SetButtonElement = 7] = "SetButtonElement", e[e.SetItemsElement = 8] = "SetItemsElement", e[e.SortItems = 9] = "SortItems", e[e.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", e))(he || {});
4510
4510
  function Ns(e, t = (n) => n) {
4511
- let n = e.activeItemIndex !== null ? e.items[e.activeItemIndex] : null, r = ri(t(e.items.slice()), (a) => a.dataRef.current.domRef.current), o = n ? r.indexOf(n) : null;
4511
+ let n = e.activeItemIndex !== null ? e.items[e.activeItemIndex] : null, r = oi(t(e.items.slice()), (a) => a.dataRef.current.domRef.current), o = n ? r.indexOf(n) : null;
4512
4512
  return o === -1 && (o = null), { items: r, activeItemIndex: o };
4513
4513
  }
4514
4514
  let V0 = { 1(e) {
4515
4515
  if (e.menuState === 1) return e;
4516
- let t = e.buttonElement ? Ot.Tracked(pi(e.buttonElement)) : e.buttonPositionState;
4516
+ let t = e.buttonElement ? Ot.Tracked(hi(e.buttonElement)) : e.buttonPositionState;
4517
4517
  return { ...e, activeItemIndex: null, pendingFocus: { focus: oe.Nothing }, menuState: 1, buttonPositionState: t };
4518
4518
  }, 0(e, t) {
4519
4519
  return e.menuState === 0 ? e : { ...e, __demoMode: !1, pendingFocus: t.focus, menuState: 0, buttonPositionState: Ot.Idle };
@@ -4594,7 +4594,7 @@ let V0 = { 1(e) {
4594
4594
  });
4595
4595
  {
4596
4596
  let n = this.state.id, r = un.get(null);
4597
- this.disposables.add(r.on(ti.Push, (o) => {
4597
+ this.disposables.add(r.on(ni.Push, (o) => {
4598
4598
  !r.selectors.isTop(o, n) && this.state.menuState === 0 && this.send({ type: 1 });
4599
4599
  })), this.on(0, () => r.actions.push(n)), this.on(1, () => r.actions.pop(n));
4600
4600
  }
@@ -4636,11 +4636,11 @@ function B0(e, t) {
4636
4636
  let g = T(() => {
4637
4637
  a.send({ type: he.CloseMenu });
4638
4638
  }), d = ye({ open: i === _e.Open, close: g }), m = { ref: u }, p = ue();
4639
- return $.createElement(mi, null, $.createElement(hc.Provider, { value: a }, $.createElement(xo, { value: $e(i, { [_e.Open]: xe.Open, [_e.Closed]: xe.Closed }) }, p({ ourProps: m, theirProps: o, slot: d, defaultTag: H0, name: "Menu" }))));
4639
+ return $.createElement(pi, null, $.createElement(hc.Provider, { value: a }, $.createElement(xo, { value: $e(i, { [_e.Open]: xe.Open, [_e.Closed]: xe.Closed }) }, p({ ourProps: m, theirProps: o, slot: d, defaultTag: H0, name: "Menu" }))));
4640
4640
  }
4641
4641
  let G0 = "button";
4642
4642
  function W0(e, t) {
4643
- let n = Si("Menu.Button"), r = Se(), { id: o = `headlessui-menu-button-${r}`, disabled: a = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = Du(), c = ve(t, l, di(), T((P) => n.send({ type: he.SetButtonElement, element: P }))), f = T((P) => {
4643
+ let n = Si("Menu.Button"), r = Se(), { id: o = `headlessui-menu-button-${r}`, disabled: a = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = Du(), c = ve(t, l, fi(), T((P) => n.send({ type: he.SetButtonElement, element: P }))), f = T((P) => {
4644
4644
  switch (P.key) {
4645
4645
  case te.Space:
4646
4646
  case te.Enter:
@@ -4667,7 +4667,7 @@ function W0(e, t) {
4667
4667
  }
4668
4668
  let U0 = "div", Y0 = qe.RenderStrategy | qe.Static;
4669
4669
  function q0(e, t) {
4670
- let n = Se(), { id: r = `headlessui-menu-items-${n}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = ci(o), c = Si("Menu.Items"), [f, g] = gi(u), d = fi(), [m, p] = ae(null), h = ve(t, u ? f : null, T((S) => c.send({ type: he.SetItemsElement, element: S })), p), [b, x] = ce(c, (S) => [S.menuState, S.buttonElement]), y = yt(x), k = yt(m);
4670
+ let n = Se(), { id: r = `headlessui-menu-items-${n}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = di(o), c = Si("Menu.Items"), [f, g] = mi(u), d = gi(), [m, p] = ae(null), h = ve(t, u ? f : null, T((S) => c.send({ type: he.SetItemsElement, element: S })), p), [b, x] = ce(c, (S) => [S.menuState, S.buttonElement]), y = yt(x), k = yt(m);
4671
4671
  u && (a = !0);
4672
4672
  let w = Wt(), [C, I] = gr(s, m, w !== null ? (w & xe.Open) === xe.Open : b === _e.Open);
4673
4673
  co(C, x, () => {
@@ -4676,11 +4676,11 @@ function q0(e, t) {
4676
4676
  let F = ce(c, (S) => S.__demoMode), W = F ? !1 : i && b === _e.Open;
4677
4677
  mo(W, k);
4678
4678
  let P = F ? !1 : i && b === _e.Open;
4679
- ni(P, { allowed: se(() => [x, m], [x, m]) });
4679
+ ri(P, { allowed: se(() => [x, m], [x, m]) });
4680
4680
  let O = ce(c, c.selectors.didButtonMove) ? !1 : C;
4681
4681
  me(() => {
4682
4682
  let S = m;
4683
- S && b === _e.Open && (Ja(S) || S.focus({ preventScroll: !0 }));
4683
+ S && b === _e.Open && (Qa(S) || S.focus({ preventScroll: !0 }));
4684
4684
  }, [b, m]), em(b === _e.Open, { container: m, accept(S) {
4685
4685
  return S.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : S.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
4686
4686
  }, walk(S) {
@@ -4723,7 +4723,7 @@ function q0(e, t) {
4723
4723
  }), D = ye({ open: b === _e.Open }), G = Ze(u ? d() : {}, { "aria-activedescendant": ce(c, c.selectors.activeDescendantId), "aria-labelledby": ce(c, (S) => {
4724
4724
  var U;
4725
4725
  return (U = S.buttonElement) == null ? void 0 : U.id;
4726
- }), id: r, onKeyDown: X, onKeyUp: _, role: "menu", tabIndex: b === _e.Open ? 0 : void 0, ref: h, style: { ...l.style, ...g, "--button-width": ei(C, x, !0).width }, ...fr(I) }), ee = ue();
4726
+ }), id: r, onKeyDown: X, onKeyUp: _, role: "menu", tabIndex: b === _e.Open ? 0 : void 0, ref: h, style: { ...l.style, ...g, "--button-width": ti(C, x, !0).width }, ...fr(I) }), ee = ue();
4727
4727
  return $.createElement(wo, { enabled: a ? e.static || C : !1, ownerDocument: y }, ee({ ourProps: G, theirProps: l, slot: D, defaultTag: U0, features: Y0, visible: O, name: "Menu.Items" }));
4728
4728
  }
4729
4729
  let K0 = Ie;
@@ -4763,7 +4763,7 @@ function Q0(e, t) {
4763
4763
  }
4764
4764
  let Z0 = "header";
4765
4765
  function eh(e, t) {
4766
- let n = Se(), { id: r = `headlessui-menu-heading-${n}`, ...o } = e, a = Qa();
4766
+ let n = Se(), { id: r = `headlessui-menu-heading-${n}`, ...o } = e, a = Za();
4767
4767
  fe(() => a.register(r), [r, a.register]);
4768
4768
  let i = { id: r, ref: t, role: "presentation", ...a.props };
4769
4769
  return ue()({ ourProps: i, theirProps: o, slot: {}, defaultTag: Z0, name: "Menu.Heading" });
@@ -4812,11 +4812,11 @@ let dh = { 0: (e) => e.popoverState === 0 ? e : { ...e, popoverState: 0, __demoM
4812
4812
  }
4813
4813
  };
4814
4814
  const wc = Ee(null);
4815
- function Po(e) {
4815
+ function Fo(e) {
4816
4816
  let t = de(wc);
4817
4817
  if (t === null) {
4818
4818
  let n = new Error(`<${e} /> is missing a parent <Popover /> component.`);
4819
- throw Error.captureStackTrace && Error.captureStackTrace(n, Po), n;
4819
+ throw Error.captureStackTrace && Error.captureStackTrace(n, Fo), n;
4820
4820
  }
4821
4821
  return t;
4822
4822
  }
@@ -4829,10 +4829,10 @@ ki.displayName = "PopoverGroupContext";
4829
4829
  function Sc() {
4830
4830
  return de(ki);
4831
4831
  }
4832
- let Fo = Ee(null);
4833
- Fo.displayName = "PopoverPanelContext";
4832
+ let Io = Ee(null);
4833
+ Io.displayName = "PopoverPanelContext";
4834
4834
  function mh() {
4835
- return de(Fo);
4835
+ return de(Io);
4836
4836
  }
4837
4837
  let ph = "div";
4838
4838
  function hh(e, t) {
@@ -4845,12 +4845,12 @@ function hh(e, t) {
4845
4845
  return (D = x?.isFocusWithinPopoverGroup()) != null ? D : G && (c?.contains(G) || f?.contains(G));
4846
4846
  });
4847
4847
  me(() => y?.(b), [y, b]);
4848
- let [w, C] = Uu(), I = hi(c), F = Ku({ mainTreeNode: I, portals: w, defaultContainers: [{ get current() {
4848
+ let [w, C] = Uu(), I = vi(c), F = Ku({ mainTreeNode: I, portals: w, defaultContainers: [{ get current() {
4849
4849
  return i.state.button;
4850
4850
  } }, { get current() {
4851
4851
  return i.state.panel;
4852
4852
  } }] });
4853
- oi(m, "focus", (_) => {
4853
+ ai(m, "focus", (_) => {
4854
4854
  var D, G, ee, S, U, re;
4855
4855
  _.target !== window && Xe(_.target) && i.state.popoverState === Pe.Open && (k() || i.state.button && i.state.panel && (F.contains(_.target) || (G = (D = i.state.beforePanelSentinel.current) == null ? void 0 : D.contains) != null && G.call(D, _.target) || (S = (ee = i.state.afterPanelSentinel.current) == null ? void 0 : ee.contains) != null && S.call(ee, _.target) || (re = (U = i.state.afterButtonSentinel.current) == null ? void 0 : U.contains) != null && re.call(U, _.target) || i.actions.close()));
4856
4856
  }, !0);
@@ -4859,15 +4859,15 @@ function hh(e, t) {
4859
4859
  i.actions.close(), dr(D, cr.Loose) || (_.preventDefault(), c?.focus());
4860
4860
  });
4861
4861
  let P = ye({ open: u === Pe.Open, close: i.actions.refocusableClose }), O = ce(i, se((_) => $e(_.popoverState, { [Pe.Open]: xe.Open, [Pe.Closed]: xe.Closed }), [])), K = { ref: l }, X = ue();
4862
- return $.createElement(Kr, { node: I }, $.createElement(mi, null, $.createElement(Fo.Provider, { value: null }, $.createElement(wc.Provider, { value: i }, $.createElement(Za, { value: i.actions.refocusableClose }, $.createElement(xo, { value: O }, $.createElement(C, null, X({ ourProps: K, theirProps: a, slot: P, defaultTag: ph, name: "Popover" }))))))));
4862
+ return $.createElement(Kr, { node: I }, $.createElement(pi, null, $.createElement(Io.Provider, { value: null }, $.createElement(wc.Provider, { value: i }, $.createElement(ei, { value: i.actions.refocusableClose }, $.createElement(xo, { value: O }, $.createElement(C, null, X({ ourProps: K, theirProps: a, slot: P, defaultTag: ph, name: "Popover" }))))))));
4863
4863
  }
4864
4864
  let vh = "button";
4865
4865
  function bh(e, t) {
4866
- let n = Se(), { id: r = `headlessui-popover-button-${n}`, disabled: o = !1, autoFocus: a = !1, ...i } = e, s = Po("Popover.Button"), [l, u, c, f, g, d, m] = ce(s, se((N) => [N.popoverState, s.selectors.isPortalled(N), N.button, N.buttonId, N.panel, N.panelId, N.afterButtonSentinel], [])), p = Y(null), h = `headlessui-focus-sentinel-${Se()}`, b = Sc(), x = b?.closeOthers, y = mh() !== null;
4866
+ let n = Se(), { id: r = `headlessui-popover-button-${n}`, disabled: o = !1, autoFocus: a = !1, ...i } = e, s = Fo("Popover.Button"), [l, u, c, f, g, d, m] = ce(s, se((N) => [N.popoverState, s.selectors.isPortalled(N), N.button, N.buttonId, N.panel, N.panelId, N.afterButtonSentinel], [])), p = Y(null), h = `headlessui-focus-sentinel-${Se()}`, b = Sc(), x = b?.closeOthers, y = mh() !== null;
4867
4867
  me(() => {
4868
4868
  if (!y) return s.actions.setButtonId(r), () => s.actions.setButtonId(null);
4869
4869
  }, [y, r, s]);
4870
- let [k] = ae(() => /* @__PURE__ */ Symbol()), w = ve(p, t, di(), T((N) => {
4870
+ let [k] = ae(() => /* @__PURE__ */ Symbol()), w = ve(p, t, fi(), T((N) => {
4871
4871
  if (!y) {
4872
4872
  if (N) s.state.buttons.current.push(k);
4873
4873
  else {
@@ -4906,7 +4906,7 @@ function bh(e, t) {
4906
4906
  Kn(N.currentTarget) || o || (y ? (s.actions.close(), (J = s.state.button) == null || J.focus()) : (N.preventDefault(), N.stopPropagation(), s.state.popoverState === Pe.Closed ? (x?.(s.state.buttonId), s.actions.open()) : s.actions.close(), (B = s.state.button) == null || B.focus()));
4907
4907
  }), P = T((N) => {
4908
4908
  N.preventDefault(), N.stopPropagation();
4909
- }), { isFocusVisible: O, focusProps: K } = ln({ autoFocus: a }), { isHovered: X, hoverProps: _ } = sn({ isDisabled: o }), { pressed: D, pressProps: G } = rr({ disabled: o }), ee = l === Pe.Open, S = ye({ open: ee, active: D || ee, disabled: o, hover: X, focus: O, autofocus: a }), U = go(e, c), re = Ze(y ? { ref: C, type: U, onKeyDown: I, onClick: W, disabled: o || void 0, autoFocus: a } : { ref: w, id: f, type: U, "aria-expanded": l === Pe.Open, "aria-controls": g ? d : void 0, disabled: o || void 0, autoFocus: a, onKeyDown: I, onKeyUp: F, onClick: W, onMouseDown: P }, K, _, G), E = bi(), L = T(() => {
4909
+ }), { isFocusVisible: O, focusProps: K } = ln({ autoFocus: a }), { isHovered: X, hoverProps: _ } = sn({ isDisabled: o }), { pressed: D, pressProps: G } = rr({ disabled: o }), ee = l === Pe.Open, S = ye({ open: ee, active: D || ee, disabled: o, hover: X, focus: O, autofocus: a }), U = go(e, c), re = Ze(y ? { ref: C, type: U, onKeyDown: I, onClick: W, disabled: o || void 0, autoFocus: a } : { ref: w, id: f, type: U, "aria-expanded": l === Pe.Open, "aria-controls": g ? d : void 0, disabled: o || void 0, autoFocus: a, onKeyDown: I, onKeyUp: F, onClick: W, onMouseDown: P }, K, _, G), E = yi(), L = T(() => {
4910
4910
  if (!Ae(s.state.panel)) return;
4911
4911
  let N = s.state.panel;
4912
4912
  function J() {
@@ -4918,7 +4918,7 @@ function bh(e, t) {
4918
4918
  }
4919
4919
  let yh = "div", xh = qe.RenderStrategy | qe.Static;
4920
4920
  function kc(e, t) {
4921
- let n = Se(), { id: r = `headlessui-popover-backdrop-${n}`, transition: o = !1, ...a } = e, i = Po("Popover.Backdrop"), s = ce(i, se((b) => b.popoverState, [])), [l, u] = ae(null), c = ve(t, u), f = Wt(), [g, d] = gr(o, l, f !== null ? (f & xe.Open) === xe.Open : s === Pe.Open), m = T((b) => {
4921
+ let n = Se(), { id: r = `headlessui-popover-backdrop-${n}`, transition: o = !1, ...a } = e, i = Fo("Popover.Backdrop"), s = ce(i, se((b) => b.popoverState, [])), [l, u] = ae(null), c = ve(t, u), f = Wt(), [g, d] = gr(o, l, f !== null ? (f & xe.Open) === xe.Open : s === Pe.Open), m = T((b) => {
4922
4922
  if (Kn(b.currentTarget)) return b.preventDefault();
4923
4923
  i.actions.close();
4924
4924
  }), p = ye({ open: s === Pe.Open }), h = { ref: c, id: r, "aria-hidden": !0, onClick: m, ...fr(d) };
@@ -4926,7 +4926,7 @@ function kc(e, t) {
4926
4926
  }
4927
4927
  let wh = "div", Sh = qe.RenderStrategy | qe.Static;
4928
4928
  function kh(e, t) {
4929
- let n = Se(), { id: r = `headlessui-popover-panel-${n}`, focus: o = !1, anchor: a, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Po("Popover.Panel"), f = ce(c, c.selectors.isPortalled), [g, d, m, p, h] = ce(c, se((R) => [R.popoverState, R.button, R.__demoMode, R.beforePanelSentinel, R.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${n}`, x = `headlessui-focus-sentinel-after-${n}`, y = Y(null), k = ci(a), [w, C] = gi(k), I = fi();
4929
+ let n = Se(), { id: r = `headlessui-popover-panel-${n}`, focus: o = !1, anchor: a, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Fo("Popover.Panel"), f = ce(c, c.selectors.isPortalled), [g, d, m, p, h] = ce(c, se((R) => [R.popoverState, R.button, R.__demoMode, R.beforePanelSentinel, R.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${n}`, x = `headlessui-focus-sentinel-after-${n}`, y = Y(null), k = di(a), [w, C] = mi(k), I = gi();
4930
4930
  k && (i = !0);
4931
4931
  let [F, W] = ae(null), P = ve(y, t, k ? w : null, c.actions.setPanel, W), O = yt(d), K = yt(y.current);
4932
4932
  fe(() => (c.actions.setPanelId(r), () => c.actions.setPanelId(null)), [r, c]);
@@ -4955,7 +4955,7 @@ function kh(e, t) {
4955
4955
  var N, J, B, j, pe;
4956
4956
  let ke = R.relatedTarget;
4957
4957
  ke && y.current && ((N = y.current) != null && N.contains(ke) || (c.actions.close(), ((B = (J = p.current) == null ? void 0 : J.contains) != null && B.call(J, ke) || (pe = (j = h.current) == null ? void 0 : j.contains) != null && pe.call(j, ke)) && ke.focus({ preventScroll: !0 })));
4958
- } : void 0, tabIndex: -1, style: { ...u.style, ...C, "--button-width": ei(_, d, !0).width }, ...fr(D) }), U = bi(), re = T(() => {
4958
+ } : void 0, tabIndex: -1, style: { ...u.style, ...C, "--button-width": ti(_, d, !0).width }, ...fr(D) }), U = yi(), re = T(() => {
4959
4959
  let R = y.current;
4960
4960
  if (!R) return;
4961
4961
  function N() {
@@ -4988,7 +4988,7 @@ function kh(e, t) {
4988
4988
  }
4989
4989
  N();
4990
4990
  }), L = ue();
4991
- return $.createElement(Hu, null, $.createElement(Fo.Provider, { value: r }, $.createElement(Za, { value: c.actions.refocusableClose }, $.createElement(wo, { enabled: i ? e.static || _ : !1, ownerDocument: O }, _ && f && $.createElement(bt, { id: b, ref: p, features: lt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: re }), L({ ourProps: S, theirProps: u, slot: ee, defaultTag: wh, features: Sh, visible: _, name: "Popover.Panel" }), _ && f && $.createElement(bt, { id: x, ref: h, features: lt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
4991
+ return $.createElement(Hu, null, $.createElement(Io.Provider, { value: r }, $.createElement(ei, { value: c.actions.refocusableClose }, $.createElement(wo, { enabled: i ? e.static || _ : !1, ownerDocument: O }, _ && f && $.createElement(bt, { id: b, ref: p, features: lt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: re }), L({ ourProps: S, theirProps: u, slot: ee, defaultTag: wh, features: Sh, visible: _, name: "Popover.Panel" }), _ && f && $.createElement(bt, { id: x, ref: h, features: lt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
4992
4992
  }
4993
4993
  let Eh = "div";
4994
4994
  function Ch(e, t) {
@@ -5022,7 +5022,7 @@ function Ah(e) {
5022
5022
  var t;
5023
5023
  let [n, r] = ae(null), [o, a] = sr(), [i, s] = so(), l = be(() => ({ switch: n, setSwitch: r }), [n, r]), u = {}, c = e, f = ue();
5024
5024
  return $.createElement(s, { name: "Switch.Description", value: i }, $.createElement(a, { name: "Switch.Label", value: o, props: { htmlFor: (t = l.switch) == null ? void 0 : t.id, onClick(g) {
5025
- n && (ha(g.currentTarget) && g.preventDefault(), n.click(), n.focus({ preventScroll: !0 }));
5025
+ n && (va(g.currentTarget) && g.preventDefault(), n.click(), n.focus({ preventScroll: !0 }));
5026
5026
  } } }, $.createElement(Ci.Provider, { value: l }, f({ ourProps: u, theirProps: c, slot: {}, defaultTag: Ih, name: "Switch.Group" }))));
5027
5027
  }
5028
5028
  let Nh = "button";
@@ -5208,7 +5208,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5208
5208
  a in n ? n[a] = i : o(a, i);
5209
5209
  }
5210
5210
  };
5211
- }, ka = "!", js = ":", tv = [], Ls = (e, t, n, r, o) => ({
5211
+ }, Ea = "!", js = ":", tv = [], Ls = (e, t, n, r, o) => ({
5212
5212
  modifiers: e,
5213
5213
  hasImportantModifier: t,
5214
5214
  baseClassName: n,
@@ -5239,12 +5239,12 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5239
5239
  }
5240
5240
  const f = a.length === 0 ? o : o.slice(l);
5241
5241
  let g = f, d = !1;
5242
- f.endsWith(ka) ? (g = f.slice(0, -1), d = !0) : (
5242
+ f.endsWith(Ea) ? (g = f.slice(0, -1), d = !0) : (
5243
5243
  /**
5244
5244
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
5245
5245
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
5246
5246
  */
5247
- f.startsWith(ka) && (g = f.slice(1), d = !0)
5247
+ f.startsWith(Ea) && (g = f.slice(1), d = !0)
5248
5248
  );
5249
5249
  const m = u && u > l ? u - l : void 0;
5250
5250
  return Ls(a, d, g, m);
@@ -5311,7 +5311,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5311
5311
  }
5312
5312
  h = !1;
5313
5313
  }
5314
- const x = g.length === 0 ? "" : g.length === 1 ? g[0] : a(g).join(":"), y = d ? x + ka : x, k = y + b;
5314
+ const x = g.length === 0 ? "" : g.length === 1 ? g[0] : a(g).join(":"), y = d ? x + Ea : x, k = y + b;
5315
5315
  if (i.indexOf(k) > -1)
5316
5316
  continue;
5317
5317
  i.push(k);
@@ -5351,12 +5351,12 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5351
5351
  }, uv = [], Fe = (e) => {
5352
5352
  const t = (n) => n[e] || uv;
5353
5353
  return t.isThemeGetter = !0, t;
5354
- }, Fc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ic = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cv = /^\d+\/\d+$/, dv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fv = /\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$/, gv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, mv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cn = (e) => cv.test(e), ie = (e) => !!e && !Number.isNaN(Number(e)), Et = (e) => !!e && Number.isInteger(Number(e)), Yo = (e) => e.endsWith("%") && ie(e.slice(0, -1)), ft = (e) => dv.test(e), hv = () => !0, vv = (e) => (
5354
+ }, Fc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ic = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cv = /^\d+\/\d+$/, dv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fv = /\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$/, gv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, mv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cn = (e) => cv.test(e), ie = (e) => !!e && !Number.isNaN(Number(e)), Et = (e) => !!e && Number.isInteger(Number(e)), qo = (e) => e.endsWith("%") && ie(e.slice(0, -1)), ft = (e) => dv.test(e), hv = () => !0, vv = (e) => (
5355
5355
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
5356
5356
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
5357
5357
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
5358
5358
  fv.test(e) && !gv.test(e)
5359
- ), Ac = () => !1, bv = (e) => mv.test(e), yv = (e) => pv.test(e), xv = (e) => !z(e) && !H(e), wv = (e) => $n(e, _c, Ac), z = (e) => Fc.test(e), Kt = (e) => $n(e, Tc, vv), qo = (e) => $n(e, $v, ie), Ds = (e) => $n(e, Nc, Ac), Sv = (e) => $n(e, Oc, yv), Rr = (e) => $n(e, Mc, bv), H = (e) => Ic.test(e), An = (e) => Rn(e, Tc), kv = (e) => Rn(e, Rv), Vs = (e) => Rn(e, Nc), Ev = (e) => Rn(e, _c), Cv = (e) => Rn(e, Oc), Pr = (e) => Rn(e, Mc, !0), $n = (e, t, n) => {
5359
+ ), Ac = () => !1, bv = (e) => mv.test(e), yv = (e) => pv.test(e), xv = (e) => !z(e) && !H(e), wv = (e) => $n(e, _c, Ac), z = (e) => Fc.test(e), Kt = (e) => $n(e, Tc, vv), Ko = (e) => $n(e, $v, ie), Ds = (e) => $n(e, Nc, Ac), Sv = (e) => $n(e, Oc, yv), Rr = (e) => $n(e, Mc, bv), H = (e) => Ic.test(e), An = (e) => Rn(e, Tc), kv = (e) => Rn(e, Rv), Vs = (e) => Rn(e, Nc), Ev = (e) => Rn(e, _c), Cv = (e) => Rn(e, Oc), Pr = (e) => Rn(e, Mc, !0), $n = (e, t, n) => {
5360
5360
  const r = Fc.exec(e);
5361
5361
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
5362
5362
  }, Rn = (e, t, n = !1) => {
@@ -5389,7 +5389,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5389
5389
  repeat: ["", "x", "y", "space", "round"]
5390
5390
  }], E = () => ["auto", "cover", "contain", Ev, wv, {
5391
5391
  size: [H, z]
5392
- }], L = () => [Yo, An, Kt], R = () => [
5392
+ }], L = () => [qo, An, Kt], R = () => [
5393
5393
  // Deprecated since Tailwind CSS v4.0.0
5394
5394
  "",
5395
5395
  "none",
@@ -5397,7 +5397,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
5397
5397
  u,
5398
5398
  H,
5399
5399
  z
5400
- ], N = () => ["", ie, An, Kt], J = () => ["solid", "dashed", "dotted", "double"], B = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [ie, Yo, Vs, Ds], pe = () => [
5400
+ ], N = () => ["", ie, An, Kt], J = () => ["solid", "dashed", "dotted", "double"], B = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [ie, qo, Vs, Ds], pe = () => [
5401
5401
  // Deprecated since Tailwind CSS v4.0.0
5402
5402
  "",
5403
5403
  "none",
@@ -6114,14 +6114,14 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
6114
6114
  * @see https://tailwindcss.com/docs/font-weight
6115
6115
  */
6116
6116
  "font-weight": [{
6117
- font: [r, H, qo]
6117
+ font: [r, H, Ko]
6118
6118
  }],
6119
6119
  /**
6120
6120
  * Font Stretch
6121
6121
  * @see https://tailwindcss.com/docs/font-stretch
6122
6122
  */
6123
6123
  "font-stretch": [{
6124
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Yo, z]
6124
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qo, z]
6125
6125
  }],
6126
6126
  /**
6127
6127
  * Font Family
@@ -6172,7 +6172,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
6172
6172
  * @see https://tailwindcss.com/docs/line-clamp
6173
6173
  */
6174
6174
  "line-clamp": [{
6175
- "line-clamp": [ie, "none", H, qo]
6175
+ "line-clamp": [ie, "none", H, Ko]
6176
6176
  }],
6177
6177
  /**
6178
6178
  * Line Height
@@ -7757,7 +7757,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Dl, g
7757
7757
  * @see https://tailwindcss.com/docs/stroke-width
7758
7758
  */
7759
7759
  "stroke-w": [{
7760
- stroke: [ie, An, Kt, qo]
7760
+ stroke: [ie, An, Kt, Ko]
7761
7761
  }],
7762
7762
  /**
7763
7763
  * Stroke
@@ -7993,7 +7993,7 @@ const Av = ge(
7993
7993
  statusBadge: !1
7994
7994
  }
7995
7995
  }
7996
- ), Ea = V.forwardRef(
7996
+ ), Ca = V.forwardRef(
7997
7997
  ({
7998
7998
  className: e,
7999
7999
  variant: t,
@@ -8021,7 +8021,7 @@ const Av = ge(
8021
8021
  }
8022
8022
  )
8023
8023
  );
8024
- Ea.displayName = "Badge";
8024
+ Ca.displayName = "Badge";
8025
8025
  const Nv = ge("animate-spin rounded-full border-b-2 border-t-2", {
8026
8026
  variants: {
8027
8027
  size: {
@@ -8238,7 +8238,7 @@ const Tv = ge(
8238
8238
  )
8239
8239
  );
8240
8240
  Mv.displayName = "Card";
8241
- function Ca(e, t) {
8241
+ function $a(e, t) {
8242
8242
  (t == null || t > e.length) && (t = e.length);
8243
8243
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
8244
8244
  return r;
@@ -8247,7 +8247,7 @@ function jv(e) {
8247
8247
  if (Array.isArray(e)) return e;
8248
8248
  }
8249
8249
  function Lv(e) {
8250
- if (Array.isArray(e)) return Ca(e);
8250
+ if (Array.isArray(e)) return $a(e);
8251
8251
  }
8252
8252
  function Dv(e, t) {
8253
8253
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
@@ -8371,7 +8371,7 @@ function A(e) {
8371
8371
  }
8372
8372
  return e;
8373
8373
  }
8374
- function Io(e, t) {
8374
+ function Ao(e, t) {
8375
8375
  return jv(e) || Bv(e, t) || Ri(e, t) || Gv();
8376
8376
  }
8377
8377
  function tt(e) {
@@ -8401,9 +8401,9 @@ function Zr(e) {
8401
8401
  }
8402
8402
  function Ri(e, t) {
8403
8403
  if (e) {
8404
- if (typeof e == "string") return Ca(e, t);
8404
+ if (typeof e == "string") return $a(e, t);
8405
8405
  var n = {}.toString.call(e).slice(8, -1);
8406
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ca(e, t) : void 0;
8406
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $a(e, t) : void 0;
8407
8407
  }
8408
8408
  }
8409
8409
  var Hs = function() {
@@ -8417,7 +8417,7 @@ try {
8417
8417
  }
8418
8418
  var Yv = Pi.navigator || {}, Bs = Yv.userAgent, Gs = Bs === void 0 ? "" : Bs, Lt = Pi, we = Dc, Ws = Vc, Fr = zc;
8419
8419
  Lt.document;
8420
- var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "function" && typeof we.createElement == "function", Hc = ~Gs.indexOf("MSIE") || ~Gs.indexOf("Trident/"), Ko, qv = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Kv = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, Bc = {
8420
+ var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "function" && typeof we.createElement == "function", Hc = ~Gs.indexOf("MSIE") || ~Gs.indexOf("Trident/"), Xo, qv = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Kv = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, Bc = {
8421
8421
  classic: {
8422
8422
  fa: "solid",
8423
8423
  fas: "solid",
@@ -8530,7 +8530,7 @@ var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "fun
8530
8530
  PRIMARY: "primary",
8531
8531
  SECONDARY: "secondary"
8532
8532
  }, Gc = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Ne = "classic", br = "duotone", Wc = "sharp", Uc = "sharp-duotone", Yc = "chisel", qc = "etch", Kc = "graphite", Xc = "jelly", Jc = "jelly-duo", Qc = "jelly-fill", Zc = "notdog", ed = "notdog-duo", td = "slab", nd = "slab-press", rd = "thumbprint", od = "utility", ad = "utility-duo", id = "utility-fill", sd = "whiteboard", Jv = "Classic", Qv = "Duotone", Zv = "Sharp", eb = "Sharp Duotone", tb = "Chisel", nb = "Etch", rb = "Graphite", ob = "Jelly", ab = "Jelly Duo", ib = "Jelly Fill", sb = "Notdog", lb = "Notdog Duo", ub = "Slab", cb = "Slab Press", db = "Thumbprint", fb = "Utility", gb = "Utility Duo", mb = "Utility Fill", pb = "Whiteboard", ld = [Ne, br, Wc, Uc, Yc, qc, Kc, Xc, Jc, Qc, Zc, ed, td, nd, rd, od, ad, id, sd];
8533
- Ko = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Ko, Ne, Jv), br, Qv), Wc, Zv), Uc, eb), Yc, tb), qc, nb), Kc, rb), Xc, ob), Jc, ab), Qc, ib), ne(ne(ne(ne(ne(ne(ne(ne(ne(Ko, Zc, sb), ed, lb), td, ub), nd, cb), rd, db), od, fb), ad, gb), id, mb), sd, pb);
8533
+ Xo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Ne, Jv), br, Qv), Wc, Zv), Uc, eb), Yc, tb), qc, nb), Kc, rb), Xc, ob), Jc, ab), Qc, ib), ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Zc, sb), ed, lb), td, ub), nd, cb), rd, db), od, fb), ad, gb), id, mb), sd, pb);
8534
8534
  var hb = {
8535
8535
  classic: {
8536
8536
  900: "fas",
@@ -8919,13 +8919,13 @@ var Cb = {
8919
8919
  "kit-duotone": {
8920
8920
  "kit-duotone": "fakd"
8921
8921
  }
8922
- }, Xo, Ir = {
8922
+ }, Jo, Ir = {
8923
8923
  GROUP: "duotone-group",
8924
8924
  SWAP_OPACITY: "swap-opacity",
8925
8925
  PRIMARY: "primary",
8926
8926
  SECONDARY: "secondary"
8927
8927
  }, Pb = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Fb = "classic", Ib = "duotone", Ab = "sharp", Nb = "sharp-duotone", Ob = "chisel", _b = "etch", Tb = "graphite", Mb = "jelly", jb = "jelly-duo", Lb = "jelly-fill", Db = "notdog", Vb = "notdog-duo", zb = "slab", Hb = "slab-press", Bb = "thumbprint", Gb = "utility", Wb = "utility-duo", Ub = "utility-fill", Yb = "whiteboard", qb = "Classic", Kb = "Duotone", Xb = "Sharp", Jb = "Sharp Duotone", Qb = "Chisel", Zb = "Etch", ey = "Graphite", ty = "Jelly", ny = "Jelly Duo", ry = "Jelly Fill", oy = "Notdog", ay = "Notdog Duo", iy = "Slab", sy = "Slab Press", ly = "Thumbprint", uy = "Utility", cy = "Utility Duo", dy = "Utility Fill", fy = "Whiteboard";
8928
- Xo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Fb, qb), Ib, Kb), Ab, Xb), Nb, Jb), Ob, Qb), _b, Zb), Tb, ey), Mb, ty), jb, ny), Lb, ry), ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Db, oy), Vb, ay), zb, iy), Hb, sy), Bb, ly), Gb, uy), Wb, cy), Ub, dy), Yb, fy);
8928
+ Jo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Fb, qb), Ib, Kb), Ab, Xb), Nb, Jb), Ob, Qb), _b, Zb), Tb, ey), Mb, ty), jb, ny), Lb, ry), ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Db, oy), Vb, ay), zb, iy), Hb, sy), Bb, ly), Gb, uy), Wb, cy), Ub, dy), Yb, fy);
8929
8929
  var gy = "kit", my = "kit-duotone", py = "Kit", hy = "Kit Duotone";
8930
8930
  ne(ne({}, gy, py), my, hy);
8931
8931
  var vy = {
@@ -9019,7 +9019,7 @@ var vy = {
9019
9019
  utility: ["fausb"],
9020
9020
  "utility-duo": ["faudsb"],
9021
9021
  "utility-fill": ["faufsb"]
9022
- }, $a = {
9022
+ }, Ra = {
9023
9023
  classic: {
9024
9024
  fab: "fa-brands",
9025
9025
  fad: "fa-duotone",
@@ -9112,7 +9112,7 @@ var vy = {
9112
9112
  "Font Awesome 5 Duotone": {
9113
9113
  900: "fad"
9114
9114
  }
9115
- }, xt = "___FONT_AWESOME___", Ra = 16, fd = "fa", gd = "svg-inline--fa", on = "data-fa-i2svg", Pa = "data-fa-pseudo-element", Cy = "data-fa-pseudo-element-pending", Fi = "data-prefix", Ii = "data-icon", qs = "fontawesome-i2svg", $y = "async", Ry = ["HTML", "HEAD", "STYLE", "SCRIPT"], md = ["::before", "::after", ":before", ":after"], pd = (function() {
9115
+ }, xt = "___FONT_AWESOME___", Pa = 16, fd = "fa", gd = "svg-inline--fa", on = "data-fa-i2svg", Fa = "data-fa-pseudo-element", Cy = "data-fa-pseudo-element-pending", Fi = "data-prefix", Ii = "data-icon", qs = "fontawesome-i2svg", $y = "async", Ry = ["HTML", "HEAD", "STYLE", "SCRIPT"], md = ["::before", "::after", ":before", ":after"], pd = (function() {
9116
9116
  try {
9117
9117
  return process.env.NODE_ENV === "production";
9118
9118
  } catch {
@@ -9130,18 +9130,18 @@ var hd = A({}, Bc);
9130
9130
  hd[Ne] = A(A(A(A({}, {
9131
9131
  "fa-duotone": "duotone"
9132
9132
  }), Bc[Ne]), Us.kit), Us["kit-duotone"]);
9133
- var Py = yr(hd), Fa = A({}, yb);
9134
- Fa[Ne] = A(A(A(A({}, {
9133
+ var Py = yr(hd), Ia = A({}, yb);
9134
+ Ia[Ne] = A(A(A(A({}, {
9135
9135
  duotone: "fad"
9136
- }), Fa[Ne]), Ys.kit), Ys["kit-duotone"]);
9137
- var Ks = yr(Fa), Ia = A({}, $a);
9138
- Ia[Ne] = A(A({}, Ia[Ne]), Rb.kit);
9139
- var Ai = yr(Ia), Aa = A({}, vy);
9140
- Aa[Ne] = A(A({}, Aa[Ne]), Cb.kit);
9141
- yr(Aa);
9136
+ }), Ia[Ne]), Ys.kit), Ys["kit-duotone"]);
9137
+ var Ks = yr(Ia), Aa = A({}, Ra);
9138
+ Aa[Ne] = A(A({}, Aa[Ne]), Rb.kit);
9139
+ var Ai = yr(Aa), Na = A({}, vy);
9140
+ Na[Ne] = A(A({}, Na[Ne]), Cb.kit);
9141
+ yr(Na);
9142
9142
  var Fy = qv, vd = "fa-layers-text", Iy = Kv, Ay = A({}, hb);
9143
9143
  yr(Ay);
9144
- var Ny = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Jo = Xv, Oy = [].concat(tt(xb), tt(ky)), zn = Lt.FontAwesomeConfig || {};
9144
+ var Ny = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Qo = Xv, Oy = [].concat(tt(xb), tt(ky)), zn = Lt.FontAwesomeConfig || {};
9145
9145
  function _y(e) {
9146
9146
  var t = we.querySelector("script[" + e + "]");
9147
9147
  if (t)
@@ -9153,7 +9153,7 @@ function Ty(e) {
9153
9153
  if (we && typeof we.querySelector == "function") {
9154
9154
  var My = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
9155
9155
  My.forEach(function(e) {
9156
- var t = Io(e, 2), n = t[0], r = t[1], o = Ty(_y(n));
9156
+ var t = Ao(e, 2), n = t[0], r = t[1], o = Ty(_y(n));
9157
9157
  o != null && (zn[r] = o);
9158
9158
  });
9159
9159
  }
@@ -9208,7 +9208,7 @@ function jy(e) {
9208
9208
  Hn.splice(Hn.indexOf(e), 1);
9209
9209
  };
9210
9210
  }
9211
- var dn = Ra, rt = {
9211
+ var dn = Pa, rt = {
9212
9212
  size: 16,
9213
9213
  x: 0,
9214
9214
  y: 0,
@@ -9251,7 +9251,7 @@ function Vy(e) {
9251
9251
  return t + "".concat(n, '="').concat(yd(e[n]), '" ');
9252
9252
  }, "").trim();
9253
9253
  }
9254
- function Ao(e) {
9254
+ function No(e) {
9255
9255
  return Object.keys(e || {}).reduce(function(t, n) {
9256
9256
  return t + "".concat(n, ": ").concat(e[n].trim(), ";");
9257
9257
  }, "");
@@ -9274,7 +9274,7 @@ function zy(e) {
9274
9274
  };
9275
9275
  }
9276
9276
  function Hy(e) {
9277
- var t = e.transform, n = e.width, r = n === void 0 ? Ra : n, o = e.height, a = o === void 0 ? Ra : o, i = "";
9277
+ var t = e.transform, n = e.width, r = n === void 0 ? Pa : n, o = e.height, a = o === void 0 ? Pa : o, i = "";
9278
9278
  return Hc ? i += "translate(".concat(t.x / dn - r / 2, "em, ").concat(t.y / dn - a / 2, "em) ") : i += "translate(calc(-50% + ".concat(t.x / dn, "em), calc(-50% + ").concat(t.y / dn, "em)) "), i += "scale(".concat(t.size / dn * (t.flipX ? -1 : 1), ", ").concat(t.size / dn * (t.flipY ? -1 : 1), ") "), i += "rotate(".concat(t.rotate, "deg) "), i;
9279
9279
  }
9280
9280
  var By = `:root, :host {
@@ -9838,7 +9838,7 @@ function xd() {
9838
9838
  return o;
9839
9839
  }
9840
9840
  var Js = !1;
9841
- function Qo() {
9841
+ function Zo() {
9842
9842
  q.autoAddCss && !Js && (Ly(xd()), Js = !0);
9843
9843
  }
9844
9844
  var Gy = {
@@ -9846,17 +9846,17 @@ var Gy = {
9846
9846
  return {
9847
9847
  dom: {
9848
9848
  css: xd,
9849
- insertCss: Qo
9849
+ insertCss: Zo
9850
9850
  }
9851
9851
  };
9852
9852
  },
9853
9853
  hooks: function() {
9854
9854
  return {
9855
9855
  beforeDOMElementCreation: function() {
9856
- Qo();
9856
+ Zo();
9857
9857
  },
9858
9858
  beforeI2svg: function() {
9859
- Qo();
9859
+ Zo();
9860
9860
  }
9861
9861
  };
9862
9862
  }
@@ -9886,7 +9886,7 @@ function Qs(e, t, n) {
9886
9886
  icon: e[t][n]
9887
9887
  };
9888
9888
  }
9889
- var Zo = function(t, n, r, o) {
9889
+ var ea = function(t, n, r, o) {
9890
9890
  var a = Object.keys(t), i = a.length, s = n, l, u, c;
9891
9891
  for (r === void 0 ? (l = 1, c = t[a[0]]) : (l = 0, c = r); l < i; l++)
9892
9892
  u = a[l], c = s(c, t[u], u, t);
@@ -9901,9 +9901,9 @@ function Zs(e) {
9901
9901
  return o ? t[r.iconName] = r.icon : t[n] = r, t;
9902
9902
  }, {});
9903
9903
  }
9904
- function Na(e, t) {
9904
+ function Oa(e, t) {
9905
9905
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.skipHooks, o = r === void 0 ? !1 : r, a = Zs(t);
9906
- typeof Je.hooks.addPack == "function" && !o ? Je.hooks.addPack(e, Zs(t)) : Je.styles[e] = A(A({}, Je.styles[e] || {}), a), e === "fas" && Na("fa", t);
9906
+ typeof Je.hooks.addPack == "function" && !o ? Je.hooks.addPack(e, Zs(t)) : Je.styles[e] = A(A({}, Je.styles[e] || {}), a), e === "fas" && Oa("fa", t);
9907
9907
  }
9908
9908
  var er = Je.styles, Uy = Je.shims, Ed = Object.keys(Ai), Yy = Ed.reduce(function(e, t) {
9909
9909
  return e[t] = Object.keys(Ai[t]), e;
@@ -9917,8 +9917,8 @@ function Ky(e, t) {
9917
9917
  }
9918
9918
  var Id = function() {
9919
9919
  var t = function(a) {
9920
- return Zo(er, function(i, s, l) {
9921
- return i[l] = Zo(s, a, {}), i;
9920
+ return ea(er, function(i, s, l) {
9921
+ return i[l] = ea(s, a, {}), i;
9922
9922
  }, {});
9923
9923
  };
9924
9924
  Cd = t(function(o, a, i) {
@@ -9947,7 +9947,7 @@ var Id = function() {
9947
9947
  o[l] = i;
9948
9948
  }), o;
9949
9949
  });
9950
- var n = "far" in er || q.autoFetchSvg, r = Zo(Uy, function(o, a) {
9950
+ var n = "far" in er || q.autoFetchSvg, r = ea(Uy, function(o, a) {
9951
9951
  var i = a[0], s = a[1], l = a[2];
9952
9952
  return s === "far" && !n && (s = "fas"), typeof i == "string" && (o.names[i] = {
9953
9953
  prefix: s,
@@ -9960,12 +9960,12 @@ var Id = function() {
9960
9960
  names: {},
9961
9961
  unicodes: {}
9962
9962
  });
9963
- Rd = r.names, Pd = r.unicodes, _i = No(q.styleDefault, {
9963
+ Rd = r.names, Pd = r.unicodes, _i = Oo(q.styleDefault, {
9964
9964
  family: q.familyDefault
9965
9965
  });
9966
9966
  };
9967
9967
  jy(function(e) {
9968
- _i = No(e.styleDefault, {
9968
+ _i = Oo(e.styleDefault, {
9969
9969
  family: q.familyDefault
9970
9970
  });
9971
9971
  });
@@ -10015,7 +10015,7 @@ function Qy(e) {
10015
10015
  })) && (t = r);
10016
10016
  }), t;
10017
10017
  }
10018
- function No(e) {
10018
+ function Oo(e) {
10019
10019
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, r = n === void 0 ? Ne : n, o = Py[r][e];
10020
10020
  if (r === br && !e)
10021
10021
  return "fad";
@@ -10038,15 +10038,15 @@ function el(e) {
10038
10038
  });
10039
10039
  }
10040
10040
  var tl = cd.concat(ud);
10041
- function Oo(e) {
10041
+ function _o(e) {
10042
10042
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.skipLookups, r = n === void 0 ? !1 : n, o = null, a = el(e.filter(function(d) {
10043
10043
  return tl.includes(d);
10044
10044
  })), i = el(e.filter(function(d) {
10045
10045
  return !tl.includes(d);
10046
10046
  })), s = a.filter(function(d) {
10047
10047
  return o = d, !Gc.includes(d);
10048
- }), l = Io(s, 1), u = l[0], c = u === void 0 ? null : u, f = Qy(a), g = A(A({}, Zy(i)), {}, {
10049
- prefix: No(c, {
10048
+ }), l = Ao(s, 1), u = l[0], c = u === void 0 ? null : u, f = Qy(a), g = A(A({}, Zy(i)), {}, {
10049
+ prefix: Oo(c, {
10050
10050
  family: f
10051
10051
  })
10052
10052
  });
@@ -10074,10 +10074,10 @@ function ex(e, t, n) {
10074
10074
  }
10075
10075
  var tx = ld.filter(function(e) {
10076
10076
  return e !== Ne || e !== br;
10077
- }), nx = Object.keys($a).filter(function(e) {
10077
+ }), nx = Object.keys(Ra).filter(function(e) {
10078
10078
  return e !== Ne;
10079
10079
  }).map(function(e) {
10080
- return Object.keys($a[e]);
10080
+ return Object.keys(Ra[e]);
10081
10081
  }).flat();
10082
10082
  function rx(e) {
10083
10083
  var t = e.values, n = e.family, r = e.canonical, o = e.givenPrefix, a = o === void 0 ? "" : o, i = e.styles, s = i === void 0 ? {} : i, l = e.config, u = l === void 0 ? {} : l, c = n === br, f = t.includes("fa-duotone") || t.includes("fad"), g = u.familyDefault === "duotone", d = r.prefix === "fad" || r.prefix === "fa-duotone";
@@ -10103,9 +10103,9 @@ var ox = /* @__PURE__ */ (function() {
10103
10103
  o[a] = arguments[a];
10104
10104
  var i = o.reduce(this._pullDefinitions, {});
10105
10105
  Object.keys(i).forEach(function(s) {
10106
- n.definitions[s] = A(A({}, n.definitions[s] || {}), i[s]), Na(s, i[s]);
10106
+ n.definitions[s] = A(A({}, n.definitions[s] || {}), i[s]), Oa(s, i[s]);
10107
10107
  var l = Ai[Ne][s];
10108
- l && Na(l, i[s]), Id();
10108
+ l && Oa(l, i[s]), Id();
10109
10109
  });
10110
10110
  }
10111
10111
  }, {
@@ -10147,7 +10147,7 @@ function ix(e, t) {
10147
10147
  r.provides && r.provides(hn);
10148
10148
  }), n;
10149
10149
  }
10150
- function Oa(e, t) {
10150
+ function _a(e, t) {
10151
10151
  for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++)
10152
10152
  r[o - 2] = arguments[o];
10153
10153
  var a = mn[e] || [];
@@ -10167,7 +10167,7 @@ function Vt() {
10167
10167
  var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
10168
10168
  return hn[e] ? hn[e].apply(null, t) : void 0;
10169
10169
  }
10170
- function _a(e) {
10170
+ function Ta(e) {
10171
10171
  e.prefix === "fa" && (e.prefix = "fas");
10172
10172
  var t = e.iconName, n = e.prefix || Dt();
10173
10173
  if (t)
@@ -10198,14 +10198,14 @@ var Od = new ox(), sx = function() {
10198
10198
  iconName: Zt(t.prefix, t.iconName) || t.iconName
10199
10199
  };
10200
10200
  if (Array.isArray(t) && t.length === 2) {
10201
- var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], r = No(t[0]);
10201
+ var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], r = Oo(t[0]);
10202
10202
  return {
10203
10203
  prefix: r,
10204
10204
  iconName: Zt(r, n) || n
10205
10205
  };
10206
10206
  }
10207
10207
  if (typeof t == "string" && (t.indexOf("".concat(q.cssPrefix, "-")) > -1 || t.match(Fy))) {
10208
- var o = Oo(t.split(" "), {
10208
+ var o = _o(t.split(" "), {
10209
10209
  skipLookups: !0
10210
10210
  });
10211
10211
  return {
@@ -10227,7 +10227,7 @@ var Od = new ox(), sx = function() {
10227
10227
  dom: lx,
10228
10228
  parse: ux,
10229
10229
  library: Od,
10230
- findIconDefinition: _a,
10230
+ findIconDefinition: Ta,
10231
10231
  toHtml: xr
10232
10232
  }, cx = function() {
10233
10233
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, r = n === void 0 ? we : n;
@@ -10235,7 +10235,7 @@ var Od = new ox(), sx = function() {
10235
10235
  node: r
10236
10236
  });
10237
10237
  };
10238
- function _o(e, t) {
10238
+ function To(e, t) {
10239
10239
  return Object.defineProperty(e, "abstract", {
10240
10240
  get: t
10241
10241
  }), Object.defineProperty(e, "html", {
@@ -10260,7 +10260,7 @@ function dx(e) {
10260
10260
  x: s / l / 2,
10261
10261
  y: 0.5
10262
10262
  };
10263
- o.style = Ao(A(A({}, a), {}, {
10263
+ o.style = No(A(A({}, a), {}, {
10264
10264
  "transform-origin": "".concat(u.x + i.x / 16, "em ").concat(u.y + i.y / 16, "em")
10265
10265
  }));
10266
10266
  }
@@ -10337,7 +10337,7 @@ function rl(e) {
10337
10337
  width: n,
10338
10338
  height: r
10339
10339
  }), u["-webkit-transform"] = u.transform);
10340
- var c = Ao(u);
10340
+ var c = No(u);
10341
10341
  c.length > 0 && (l.style = c);
10342
10342
  var f = [];
10343
10343
  return f.push({
@@ -10349,7 +10349,7 @@ function rl(e) {
10349
10349
  function mx(e) {
10350
10350
  var t = e.content, n = e.extra, r = A(A({}, n.attributes), {}, {
10351
10351
  class: n.classes.join(" ")
10352
- }), o = Ao(n.styles);
10352
+ }), o = No(n.styles);
10353
10353
  o.length > 0 && (r.style = o);
10354
10354
  var a = [];
10355
10355
  return a.push({
@@ -10358,25 +10358,25 @@ function mx(e) {
10358
10358
  children: [t]
10359
10359
  }), a;
10360
10360
  }
10361
- var ea = Je.styles;
10362
- function Ta(e) {
10363
- var t = e[0], n = e[1], r = e.slice(4), o = Io(r, 1), a = o[0], i = null;
10361
+ var ta = Je.styles;
10362
+ function Ma(e) {
10363
+ var t = e[0], n = e[1], r = e.slice(4), o = Ao(r, 1), a = o[0], i = null;
10364
10364
  return Array.isArray(a) ? i = {
10365
10365
  tag: "g",
10366
10366
  attributes: {
10367
- class: "".concat(q.cssPrefix, "-").concat(Jo.GROUP)
10367
+ class: "".concat(q.cssPrefix, "-").concat(Qo.GROUP)
10368
10368
  },
10369
10369
  children: [{
10370
10370
  tag: "path",
10371
10371
  attributes: {
10372
- class: "".concat(q.cssPrefix, "-").concat(Jo.SECONDARY),
10372
+ class: "".concat(q.cssPrefix, "-").concat(Qo.SECONDARY),
10373
10373
  fill: "currentColor",
10374
10374
  d: a[0]
10375
10375
  }
10376
10376
  }, {
10377
10377
  tag: "path",
10378
10378
  attributes: {
10379
- class: "".concat(q.cssPrefix, "-").concat(Jo.PRIMARY),
10379
+ class: "".concat(q.cssPrefix, "-").concat(Qo.PRIMARY),
10380
10380
  fill: "currentColor",
10381
10381
  d: a[1]
10382
10382
  }
@@ -10402,16 +10402,16 @@ var px = {
10402
10402
  function hx(e, t) {
10403
10403
  !pd && !q.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
10404
10404
  }
10405
- function Ma(e, t) {
10405
+ function ja(e, t) {
10406
10406
  var n = t;
10407
10407
  return t === "fa" && q.styleDefault !== null && (t = Dt()), new Promise(function(r, o) {
10408
10408
  if (n === "fa") {
10409
10409
  var a = Ad(e) || {};
10410
10410
  e = a.iconName || e, t = a.prefix || t;
10411
10411
  }
10412
- if (e && t && ea[t] && ea[t][e]) {
10413
- var i = ea[t][e];
10414
- return r(Ta(i));
10412
+ if (e && t && ta[t] && ta[t][e]) {
10413
+ var i = ta[t][e];
10414
+ return r(Ma(i));
10415
10415
  }
10416
10416
  hx(e, t), r(A(A({}, px), {}, {
10417
10417
  icon: q.showMissingIcons && e ? Vt("missingIconAbstract") || {} : {}
@@ -10419,15 +10419,15 @@ function Ma(e, t) {
10419
10419
  });
10420
10420
  }
10421
10421
  var ol = function() {
10422
- }, ja = q.measurePerformance && Fr && Fr.mark && Fr.measure ? Fr : {
10422
+ }, La = q.measurePerformance && Fr && Fr.mark && Fr.measure ? Fr : {
10423
10423
  mark: ol,
10424
10424
  measure: ol
10425
10425
  }, Mn = 'FA "7.2.0"', vx = function(t) {
10426
- return ja.mark("".concat(Mn, " ").concat(t, " begins")), function() {
10426
+ return La.mark("".concat(Mn, " ").concat(t, " begins")), function() {
10427
10427
  return _d(t);
10428
10428
  };
10429
10429
  }, _d = function(t) {
10430
- ja.mark("".concat(Mn, " ").concat(t, " ends")), ja.measure("".concat(Mn, " ").concat(t), "".concat(Mn, " ").concat(t, " begins"), "".concat(Mn, " ").concat(t, " ends"));
10430
+ La.mark("".concat(Mn, " ").concat(t, " ends")), La.measure("".concat(Mn, " ").concat(t), "".concat(Mn, " ").concat(t, " begins"), "".concat(Mn, " ").concat(t, " ends"));
10431
10431
  }, ji = {
10432
10432
  begin: vx,
10433
10433
  end: _d
@@ -10527,7 +10527,7 @@ var Li = !1;
10527
10527
  function jd() {
10528
10528
  Li = !0;
10529
10529
  }
10530
- function La() {
10530
+ function Da() {
10531
10531
  Li = !1;
10532
10532
  }
10533
10533
  var to = null;
@@ -10540,7 +10540,7 @@ function sl(e) {
10540
10540
  Pn(u).forEach(function(f) {
10541
10541
  if (f.type === "childList" && f.addedNodes.length > 0 && !al(f.addedNodes[0]) && (q.searchPseudoElements && i(f.target), n(f.target)), f.type === "attributes" && f.target.parentNode && q.searchPseudoElements && i([f.target], !0), f.type === "attributes" && al(f.target) && ~Ny.indexOf(f.attributeName))
10542
10542
  if (f.attributeName === "class" && bx(f.target)) {
10543
- var g = Oo(Ni(f.target)), d = g.prefix, m = g.iconName;
10543
+ var g = _o(Ni(f.target)), d = g.prefix, m = g.iconName;
10544
10544
  f.target.setAttribute(Fi, d || c), m && f.target.setAttribute(Ii, m);
10545
10545
  } else yx(f.target) && o(f.target);
10546
10546
  });
@@ -10564,7 +10564,7 @@ function Cx(e) {
10564
10564
  }, {})), n;
10565
10565
  }
10566
10566
  function $x(e) {
10567
- var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "", o = Oo(Ni(e));
10567
+ var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "", o = _o(Ni(e));
10568
10568
  return o.prefix || (o.prefix = Dt()), t && n && (o.prefix = t, o.iconName = n), o.iconName && o.prefix || (o.prefix && r.length > 0 && (o.iconName = Xy(o.prefix, e.innerText) || Ti(o.prefix, kd(e.innerText))), !o.iconName && q.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (o.iconName = e.firstChild.data)), o;
10569
10569
  }
10570
10570
  function Rx(e) {
@@ -10595,7 +10595,7 @@ function Px() {
10595
10595
  function ll(e) {
10596
10596
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10597
10597
  styleParser: !0
10598
- }, n = $x(e), r = n.iconName, o = n.prefix, a = n.rest, i = Rx(e), s = Oa("parseNodeAttributes", {}, e), l = t.styleParser ? Cx(e) : [];
10598
+ }, n = $x(e), r = n.iconName, o = n.prefix, a = n.rest, i = Rx(e), s = _a("parseNodeAttributes", {}, e), l = t.styleParser ? Cx(e) : [];
10599
10599
  return A({
10600
10600
  iconName: r,
10601
10601
  prefix: o,
@@ -10674,8 +10674,8 @@ function Ax(e) {
10674
10674
  }
10675
10675
  function Nx(e) {
10676
10676
  return function(t) {
10677
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (t || {}).icon ? t : _a(t || {}), o = n.mask;
10678
- return o && (o = (o || {}).icon ? o : _a(o || {})), e(r, A(A({}, n), {}, {
10677
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (t || {}).icon ? t : Ta(t || {}), o = n.mask;
10678
+ return o && (o = (o || {}).icon ? o : Ta(o || {})), e(r, A(A({}, n), {}, {
10679
10679
  mask: o
10680
10680
  }));
10681
10681
  };
@@ -10684,7 +10684,7 @@ var Ox = function(t) {
10684
10684
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, o = r === void 0 ? rt : r, a = n.symbol, i = a === void 0 ? !1 : a, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, c = u === void 0 ? null : u, f = n.classes, g = f === void 0 ? [] : f, d = n.attributes, m = d === void 0 ? {} : d, p = n.styles, h = p === void 0 ? {} : p;
10685
10685
  if (t) {
10686
10686
  var b = t.prefix, x = t.iconName, y = t.icon;
10687
- return _o(A({
10687
+ return To(A({
10688
10688
  type: "icon"
10689
10689
  }, t), function() {
10690
10690
  return an("beforeDOMElementCreation", {
@@ -10692,8 +10692,8 @@ var Ox = function(t) {
10692
10692
  params: n
10693
10693
  }), Mi({
10694
10694
  icons: {
10695
- main: Ta(y),
10696
- mask: l ? Ta(l.icon) : {
10695
+ main: Ma(y),
10696
+ mask: l ? Ma(l.icon) : {
10697
10697
  found: !1,
10698
10698
  width: null,
10699
10699
  height: null,
@@ -10734,13 +10734,13 @@ var Ox = function(t) {
10734
10734
  }, t.generateSvgReplacementMutation = function(n, r) {
10735
10735
  var o = r.iconName, a = r.prefix, i = r.transform, s = r.symbol, l = r.mask, u = r.maskId, c = r.extra;
10736
10736
  return new Promise(function(f, g) {
10737
- Promise.all([Ma(o, a), l.iconName ? Ma(l.iconName, l.prefix) : Promise.resolve({
10737
+ Promise.all([ja(o, a), l.iconName ? ja(l.iconName, l.prefix) : Promise.resolve({
10738
10738
  found: !1,
10739
10739
  width: 512,
10740
10740
  height: 512,
10741
10741
  icon: {}
10742
10742
  })]).then(function(d) {
10743
- var m = Io(d, 2), p = m[0], h = m[1];
10743
+ var m = Ao(d, 2), p = m[0], h = m[1];
10744
10744
  f([n, Mi({
10745
10745
  icons: {
10746
10746
  main: p,
@@ -10757,7 +10757,7 @@ var Ox = function(t) {
10757
10757
  }).catch(g);
10758
10758
  });
10759
10759
  }, t.generateAbstractIcon = function(n) {
10760
- var r = n.children, o = n.attributes, a = n.main, i = n.transform, s = n.styles, l = Ao(s);
10760
+ var r = n.children, o = n.attributes, a = n.main, i = n.transform, s = n.styles, l = No(s);
10761
10761
  l.length > 0 && (o.style = l);
10762
10762
  var u;
10763
10763
  return Oi(i) && (u = Vt("generateAbstractTransformGrouping", {
@@ -10776,7 +10776,7 @@ var Ox = function(t) {
10776
10776
  return {
10777
10777
  layer: function(n) {
10778
10778
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = r.classes, a = o === void 0 ? [] : o;
10779
- return _o({
10779
+ return To({
10780
10780
  type: "layer"
10781
10781
  }, function() {
10782
10782
  an("beforeDOMElementCreation", {
@@ -10806,7 +10806,7 @@ var Ox = function(t) {
10806
10806
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10807
10807
  r.title;
10808
10808
  var o = r.classes, a = o === void 0 ? [] : o, i = r.attributes, s = i === void 0 ? {} : i, l = r.styles, u = l === void 0 ? {} : l;
10809
- return _o({
10809
+ return To({
10810
10810
  type: "counter",
10811
10811
  content: n
10812
10812
  }, function() {
@@ -10830,7 +10830,7 @@ var Ox = function(t) {
10830
10830
  return {
10831
10831
  text: function(n) {
10832
10832
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = r.transform, a = o === void 0 ? rt : o, i = r.classes, s = i === void 0 ? [] : i, l = r.attributes, u = l === void 0 ? {} : l, c = r.styles, f = c === void 0 ? {} : c;
10833
- return _o({
10833
+ return To({
10834
10834
  type: "text",
10835
10835
  content: n
10836
10836
  }, function() {
@@ -10872,10 +10872,10 @@ var Ox = function(t) {
10872
10872
  normal: "fas",
10873
10873
  400: "fas"
10874
10874
  }
10875
- }), vb), Ey), $b), Da = Object.keys(dl).reduce(function(e, t) {
10875
+ }), vb), Ey), $b), Va = Object.keys(dl).reduce(function(e, t) {
10876
10876
  return e[t.toLowerCase()] = dl[t], e;
10877
- }, {}), Lx = Object.keys(Da).reduce(function(e, t) {
10878
- var n = Da[t];
10877
+ }, {}), Lx = Object.keys(Va).reduce(function(e, t) {
10878
+ var n = Va[t];
10879
10879
  return e[t] = n[900] || tt(Object.entries(n))[0][1], e;
10880
10880
  }, {});
10881
10881
  function Dx(e) {
@@ -10888,7 +10888,7 @@ function Vx(e) {
10888
10888
  }
10889
10889
  function zx(e, t) {
10890
10890
  var n = e.replace(/^['"]|['"]$/g, "").toLowerCase(), r = parseInt(t), o = isNaN(r) ? "normal" : r;
10891
- return (Da[n] || {})[o] || Lx[n];
10891
+ return (Va[n] || {})[o] || Lx[n];
10892
10892
  }
10893
10893
  function fl(e, t) {
10894
10894
  var n = "".concat(Cy).concat(t.replace(":", "-"));
@@ -10896,7 +10896,7 @@ function fl(e, t) {
10896
10896
  if (e.getAttribute(n) !== null)
10897
10897
  return r();
10898
10898
  var a = Pn(e.children), i = a.filter(function(C) {
10899
- return C.getAttribute(Pa) === t;
10899
+ return C.getAttribute(Fa) === t;
10900
10900
  })[0], s = Lt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(Iy), c = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
10901
10901
  if (i && !u)
10902
10902
  return e.removeChild(i), r();
@@ -10909,7 +10909,7 @@ function fl(e, t) {
10909
10909
  if (b && !h && (!i || i.getAttribute(Fi) !== d || i.getAttribute(Ii) !== x)) {
10910
10910
  e.setAttribute(n, x), i && e.removeChild(i);
10911
10911
  var k = Px(), w = k.extra;
10912
- w.attributes[Pa] = t, Ma(b, d).then(function(C) {
10912
+ w.attributes[Fa] = t, ja(b, d).then(function(C) {
10913
10913
  var I = Mi(A(A({}, k), {}, {
10914
10914
  icons: {
10915
10915
  main: C,
@@ -10935,7 +10935,7 @@ function Hx(e) {
10935
10935
  return Promise.all([fl(e, "::before"), fl(e, "::after")]);
10936
10936
  }
10937
10937
  function Bx(e) {
10938
- return e.parentNode !== document.head && !~Ry.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Pa) && (!e.parentNode || e.parentNode.tagName !== "svg");
10938
+ return e.parentNode !== document.head && !~Ry.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Fa) && (!e.parentNode || e.parentNode.tagName !== "svg");
10939
10939
  }
10940
10940
  var Gx = function(t) {
10941
10941
  return !!t && md.some(function(n) {
@@ -11023,9 +11023,9 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
11023
11023
  return new Promise(function(p, h) {
11024
11024
  var b = Pn(n).filter(Bx).map(Hx), x = ji.begin("searchPseudoElements");
11025
11025
  jd(), Promise.all(b).then(function() {
11026
- x(), La(), p();
11026
+ x(), Da(), p();
11027
11027
  }).catch(function() {
11028
- x(), La(), h();
11028
+ x(), Da(), h();
11029
11029
  });
11030
11030
  });
11031
11031
  }
@@ -11057,14 +11057,14 @@ var Ux = {
11057
11057
  hooks: function() {
11058
11058
  return {
11059
11059
  bootstrap: function() {
11060
- sl(Oa("mutationObserverCallbacks", {}));
11060
+ sl(_a("mutationObserverCallbacks", {}));
11061
11061
  },
11062
11062
  noAuto: function() {
11063
11063
  Ex();
11064
11064
  },
11065
11065
  watch: function(n) {
11066
11066
  var r = n.observeMutationsRoot;
11067
- ml ? La() : sl(Oa("mutationObserverCallbacks", {
11067
+ ml ? Da() : sl(_a("mutationObserverCallbacks", {
11068
11068
  observeMutationsRoot: r
11069
11069
  }));
11070
11070
  }
@@ -11158,7 +11158,7 @@ var Ux = {
11158
11158
  };
11159
11159
  };
11160
11160
  }
11161
- }, ta = {
11161
+ }, na = {
11162
11162
  x: 0,
11163
11163
  y: 0,
11164
11164
  width: "100%",
@@ -11175,7 +11175,7 @@ var Xx = {
11175
11175
  hooks: function() {
11176
11176
  return {
11177
11177
  parseNodeAttributes: function(n, r) {
11178
- var o = r.getAttribute("data-fa-mask"), a = o ? Oo(o.split(" ").map(function(i) {
11178
+ var o = r.getAttribute("data-fa-mask"), a = o ? _o(o.split(" ").map(function(i) {
11179
11179
  return i.trim();
11180
11180
  })) : Nd();
11181
11181
  return a.prefix || (a.prefix = Dt()), n.mask = a, n.maskId = r.getAttribute("data-fa-mask-id"), n;
@@ -11190,7 +11190,7 @@ var Xx = {
11190
11190
  iconWidth: u
11191
11191
  }), m = {
11192
11192
  tag: "rect",
11193
- attributes: A(A({}, ta), {}, {
11193
+ attributes: A(A({}, na), {}, {
11194
11194
  fill: "white"
11195
11195
  })
11196
11196
  }, p = c.children ? {
@@ -11208,7 +11208,7 @@ var Xx = {
11208
11208
  children: [h]
11209
11209
  }, x = "mask-".concat(s || Xs()), y = "clip-".concat(s || Xs()), k = {
11210
11210
  tag: "mask",
11211
- attributes: A(A({}, ta), {}, {
11211
+ attributes: A(A({}, na), {}, {
11212
11212
  id: x,
11213
11213
  maskUnits: "userSpaceOnUse",
11214
11214
  maskContentUnits: "userSpaceOnUse"
@@ -11230,7 +11230,7 @@ var Xx = {
11230
11230
  fill: "currentColor",
11231
11231
  "clip-path": "url(#".concat(y, ")"),
11232
11232
  mask: "url(#".concat(x, ")")
11233
- }, ta)
11233
+ }, na)
11234
11234
  }), {
11235
11235
  children: r,
11236
11236
  attributes: o
@@ -11791,7 +11791,7 @@ const A1 = ge(
11791
11791
  ...c
11792
11792
  }, f) => {
11793
11793
  const g = !!o || i;
11794
- return /* @__PURE__ */ v.jsxs(xi, { className: M("w-full space-y-1.5", e), children: [
11794
+ return /* @__PURE__ */ v.jsxs(Ro, { className: M("w-full space-y-1.5", e), children: [
11795
11795
  n && /* @__PURE__ */ v.jsx(Sn, { className: "block text-sm font-medium leading-none text-gray-900 peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: n }),
11796
11796
  /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
11797
11797
  s && /* @__PURE__ */ v.jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-gray-500", children: s }),
@@ -11933,80 +11933,84 @@ const M1 = ge(
11933
11933
  label: l
11934
11934
  }) => {
11935
11935
  const u = e.find((c) => c.value === t);
11936
- return /* @__PURE__ */ v.jsx(j0, { value: t ?? void 0, onChange: n, disabled: o, children: /* @__PURE__ */ v.jsxs("div", { className: M("flex flex-col gap-1.5", s), children: [
11937
- l && /* @__PURE__ */ v.jsx(Sn, { className: "block text-sm font-medium text-gray-700 dark:text-gray-300 text-left", children: l }),
11938
- /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
11939
- /* @__PURE__ */ v.jsxs(
11940
- fc,
11941
- {
11942
- className: M(j1({ variant: a, error: i })),
11943
- children: [
11944
- /* @__PURE__ */ v.jsx(
11945
- "span",
11946
- {
11947
- className: M(
11948
- "block truncate",
11949
- !u && "text-gray-500 dark:text-gray-400"
11936
+ return /* @__PURE__ */ v.jsxs(Ro, { className: M("flex flex-col gap-1.5", s), children: [
11937
+ l && /* @__PURE__ */ v.jsx(Sn, { className: "block text-sm font-medium text-inherit text-left", children: l }),
11938
+ /* @__PURE__ */ v.jsx(
11939
+ j0,
11940
+ {
11941
+ value: t ?? void 0,
11942
+ onChange: n,
11943
+ disabled: o,
11944
+ children: /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
11945
+ /* @__PURE__ */ v.jsxs(
11946
+ fc,
11947
+ {
11948
+ className: M(j1({ variant: a, error: i })),
11949
+ children: [
11950
+ /* @__PURE__ */ v.jsx(
11951
+ "span",
11952
+ {
11953
+ className: M(
11954
+ "block truncate",
11955
+ !u && "text-gray-500 dark:text-gray-400"
11956
+ ),
11957
+ children: u ? u.label : r
11958
+ }
11950
11959
  ),
11951
- children: u ? u.label : r
11952
- }
11953
- ),
11954
- /* @__PURE__ */ v.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3", children: /* @__PURE__ */ v.jsx(
11955
- Ce,
11956
- {
11957
- icon: Gd,
11958
- className: "h-3.5 w-3.5 text-gray-400 dark:text-gray-500",
11959
- "aria-hidden": "true"
11960
- }
11961
- ) })
11962
- ]
11963
- }
11964
- ),
11965
- /* @__PURE__ */ v.jsx(
11966
- yn,
11967
- {
11968
- as: Ie,
11969
- leave: "transition ease-in duration-100",
11970
- leaveFrom: "opacity-100",
11971
- leaveTo: "opacity-0",
11972
- children: /* @__PURE__ */ v.jsx(
11973
- gc,
11960
+ /* @__PURE__ */ v.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3", children: /* @__PURE__ */ v.jsx(
11961
+ Ce,
11962
+ {
11963
+ icon: Gd,
11964
+ className: "h-3.5 w-3.5 text-gray-400 dark:text-gray-500",
11965
+ "aria-hidden": "true"
11966
+ }
11967
+ ) })
11968
+ ]
11969
+ }
11970
+ ),
11971
+ /* @__PURE__ */ v.jsx(
11972
+ yn,
11974
11973
  {
11975
- anchor: "bottom start",
11976
- className: M(
11977
- "w-(--button-width) z-50 rounded-md bg-white dark:bg-gray-800 py-1 text-base shadow-lg ring-1 ring-black/5 dark:ring-gray-700 focus:outline-none sm:text-sm",
11978
- "[--anchor-gap:4px]"
11979
- ),
11980
- children: e.map((c) => /* @__PURE__ */ v.jsxs(
11981
- mc,
11974
+ as: Ie,
11975
+ leave: "transition ease-in duration-100",
11976
+ leaveFrom: "opacity-100",
11977
+ leaveTo: "opacity-0",
11978
+ children: /* @__PURE__ */ v.jsx(
11979
+ gc,
11982
11980
  {
11983
- value: c.value,
11984
- disabled: c.disabled,
11981
+ anchor: "bottom start",
11985
11982
  className: M(
11986
- // Added 'group' so children can react to the selected/focus states
11987
- "group relative cursor-default select-none py-2.5 pl-4 pr-9 transition-colors",
11988
- "text-gray-900 dark:text-gray-100",
11989
- // Focus (Hover) State
11990
- "data-focus:bg-primary-100 data-focus:text-primary-900",
11991
- "dark:data-focus:bg-primary-900/30 dark:data-focus:text-primary-100",
11992
- // Selected State
11993
- "data-selected:bg-gray-50 dark:data-selected:bg-gray-700/50",
11994
- // Disabled State
11995
- "data-disabled:opacity-50 data-disabled:cursor-not-allowed"
11983
+ "w-(--button-width) z-50 rounded-md bg-white dark:bg-gray-800 py-1 text-base shadow-lg ring-1 ring-black/5 dark:ring-gray-700 focus:outline-none sm:text-sm",
11984
+ "[--anchor-gap:4px]"
11996
11985
  ),
11997
- children: [
11998
- /* @__PURE__ */ v.jsx("span", { className: "block truncate font-normal group-data-selected:font-semibold", children: c.label }),
11999
- /* @__PURE__ */ v.jsx("span", { className: "absolute inset-y-0 right-0 hidden items-center pr-4 text-primary-600 dark:text-primary-400 group-data-selected:flex", children: /* @__PURE__ */ v.jsx(Ce, { icon: w1, className: "h-3.5 w-3.5" }) })
12000
- ]
12001
- },
12002
- c.value
12003
- ))
11986
+ children: e.map((c) => /* @__PURE__ */ v.jsxs(
11987
+ mc,
11988
+ {
11989
+ value: c.value,
11990
+ disabled: c.disabled,
11991
+ className: M(
11992
+ "group relative cursor-default select-none py-2.5 pl-4 pr-9 transition-colors",
11993
+ "text-gray-900 dark:text-gray-100",
11994
+ "data-focus:bg-primary-100 data-focus:text-primary-900",
11995
+ "dark:data-focus:bg-primary-900/30 dark:data-focus:text-primary-100",
11996
+ "data-selected:bg-gray-50 dark:data-selected:bg-gray-700/50",
11997
+ "data-disabled:opacity-50 data-disabled:cursor-not-allowed"
11998
+ ),
11999
+ children: [
12000
+ /* @__PURE__ */ v.jsx("span", { className: "block truncate font-normal group-data-selected:font-semibold", children: c.label }),
12001
+ /* @__PURE__ */ v.jsx("span", { className: "absolute inset-y-0 right-0 hidden items-center pr-4 text-primary-600 dark:text-primary-400 group-data-selected:flex", children: /* @__PURE__ */ v.jsx(Ce, { icon: w1, className: "h-3.5 w-3.5" }) })
12002
+ ]
12003
+ },
12004
+ c.value
12005
+ ))
12006
+ }
12007
+ )
12004
12008
  }
12005
12009
  )
12006
- }
12007
- )
12008
- ] })
12009
- ] }) });
12010
+ ] })
12011
+ }
12012
+ )
12013
+ ] });
12010
12014
  }, L1 = ge(
12011
12015
  "group relative inline-flex shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
12012
12016
  {
@@ -12057,7 +12061,7 @@ const M1 = ge(
12057
12061
  }) => {
12058
12062
  const u = n ? void 0 : l || "Toggle setting";
12059
12063
  return /* @__PURE__ */ v.jsxs(
12060
- xi,
12064
+ Ro,
12061
12065
  {
12062
12066
  as: "div",
12063
12067
  className: M("flex items-center justify-between gap-4", s),
@@ -12145,7 +12149,7 @@ const M1 = ge(
12145
12149
  ...l
12146
12150
  }, u) => {
12147
12151
  const c = !!r || a;
12148
- return /* @__PURE__ */ v.jsxs(xi, { className: M("w-full space-y-1.5", e), children: [
12152
+ return /* @__PURE__ */ v.jsxs(Ro, { className: M("w-full space-y-1.5", e), children: [
12149
12153
  t && /* @__PURE__ */ v.jsx(Sn, { className: "block text-sm font-medium leading-none text-gray-900 peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: t }),
12150
12154
  /* @__PURE__ */ v.jsx(
12151
12155
  zh,
@@ -13140,7 +13144,7 @@ const kw = ge(
13140
13144
  }
13141
13145
  ),
13142
13146
  p && /* @__PURE__ */ v.jsx("div", { className: "absolute -top-1 -right-2", children: /* @__PURE__ */ v.jsx(
13143
- Ea,
13147
+ Ca,
13144
13148
  {
13145
13149
  fill: "solid",
13146
13150
  size: "xs",
@@ -13365,7 +13369,7 @@ const kw = ge(
13365
13369
  },
13366
13370
  className: "w-full justify-between px-4 text-base font-medium hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100",
13367
13371
  endIcon: /* @__PURE__ */ v.jsx(
13368
- Ea,
13372
+ Ca,
13369
13373
  {
13370
13374
  fill: "solid",
13371
13375
  size: "xs",
@@ -13512,7 +13516,7 @@ const Kd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13512
13516
  }
13513
13517
  ));
13514
13518
  Kd.displayName = "TableHead";
13515
- const Va = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13519
+ const za = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13516
13520
  "td",
13517
13521
  {
13518
13522
  ref: n,
@@ -13523,7 +13527,7 @@ const Va = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13523
13527
  ...t
13524
13528
  }
13525
13529
  ));
13526
- Va.displayName = "TableCell";
13530
+ za.displayName = "TableCell";
13527
13531
  const $w = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13528
13532
  "caption",
13529
13533
  {
@@ -13544,7 +13548,7 @@ function Be(e, t) {
13544
13548
  }));
13545
13549
  };
13546
13550
  }
13547
- function To(e) {
13551
+ function Mo(e) {
13548
13552
  return e instanceof Function;
13549
13553
  }
13550
13554
  function Rw(e) {
@@ -13908,7 +13912,7 @@ const _w = {
13908
13912
  return typeof r == "string" ? pt.includesString : typeof r == "number" ? pt.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? pt.equals : Array.isArray(r) ? pt.arrIncludes : pt.weakEquals;
13909
13913
  }, e.getFilterFn = () => {
13910
13914
  var n, r;
13911
- return To(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
13915
+ return Mo(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
13912
13916
  // @ts-ignore
13913
13917
  (n = (r = t.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? n : pt[e.columnDef.filterFn]
13914
13918
  );
@@ -14004,7 +14008,7 @@ const Tw = (e, t, n) => n.reduce((r, o) => {
14004
14008
  return n[0];
14005
14009
  const r = Math.floor(n.length / 2), o = n.sort((a, i) => a - i);
14006
14010
  return n.length % 2 !== 0 ? o[r] : (o[r - 1] + o[r]) / 2;
14007
- }, zw = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), Hw = (e, t) => new Set(t.map((n) => n.getValue(e))).size, Bw = (e, t) => t.length, na = {
14011
+ }, zw = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), Hw = (e, t) => new Set(t.map((n) => n.getValue(e))).size, Bw = (e, t) => t.length, ra = {
14008
14012
  sum: Tw,
14009
14013
  min: Mw,
14010
14014
  max: jw,
@@ -14050,14 +14054,14 @@ const Tw = (e, t, n) => n.reduce((r, o) => {
14050
14054
  }, e.getAutoAggregationFn = () => {
14051
14055
  const n = t.getCoreRowModel().flatRows[0], r = n?.getValue(e.id);
14052
14056
  if (typeof r == "number")
14053
- return na.sum;
14057
+ return ra.sum;
14054
14058
  if (Object.prototype.toString.call(r) === "[object Date]")
14055
- return na.extent;
14059
+ return ra.extent;
14056
14060
  }, e.getAggregationFn = () => {
14057
14061
  var n, r;
14058
14062
  if (!e)
14059
14063
  throw new Error();
14060
- return To(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (n = (r = t.options.aggregationFns) == null ? void 0 : r[e.columnDef.aggregationFn]) != null ? n : na[e.columnDef.aggregationFn];
14064
+ return Mo(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (n = (r = t.options.aggregationFns) == null ? void 0 : r[e.columnDef.aggregationFn]) != null ? n : ra[e.columnDef.aggregationFn];
14061
14065
  };
14062
14066
  },
14063
14067
  createTable: (e) => {
@@ -14124,12 +14128,12 @@ const Uw = {
14124
14128
  return Ww(a, n, r);
14125
14129
  }, Z(e.options, "debugTable", "_getOrderColumnsFn"));
14126
14130
  }
14127
- }, ra = () => ({
14131
+ }, oa = () => ({
14128
14132
  left: [],
14129
14133
  right: []
14130
14134
  }), Yw = {
14131
14135
  getInitialState: (e) => ({
14132
- columnPinning: ra(),
14136
+ columnPinning: oa(),
14133
14137
  ...e
14134
14138
  }),
14135
14139
  getDefaultOptions: (e) => ({
@@ -14189,7 +14193,7 @@ const Uw = {
14189
14193
  createTable: (e) => {
14190
14194
  e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => {
14191
14195
  var n, r;
14192
- return e.setColumnPinning(t ? ra() : (n = (r = e.initialState) == null ? void 0 : r.columnPinning) != null ? n : ra());
14196
+ return e.setColumnPinning(t ? oa() : (n = (r = e.initialState) == null ? void 0 : r.columnPinning) != null ? n : oa());
14193
14197
  }, e.getIsSomeColumnsPinned = (t) => {
14194
14198
  var n;
14195
14199
  const r = e.getState().columnPinning;
@@ -14211,7 +14215,7 @@ const Or = {
14211
14215
  size: 150,
14212
14216
  minSize: 20,
14213
14217
  maxSize: Number.MAX_SAFE_INTEGER
14214
- }, oa = () => ({
14218
+ }, aa = () => ({
14215
14219
  startOffset: null,
14216
14220
  startSize: null,
14217
14221
  deltaOffset: null,
@@ -14222,7 +14226,7 @@ const Or = {
14222
14226
  getDefaultColumnDef: () => Or,
14223
14227
  getInitialState: (e) => ({
14224
14228
  columnSizing: {},
14225
- columnSizingInfo: oa(),
14229
+ columnSizingInfo: aa(),
14226
14230
  ...e
14227
14231
  }),
14228
14232
  getDefaultOptions: (e) => ({
@@ -14270,9 +14274,9 @@ const Or = {
14270
14274
  }, e.getResizeHandler = (n) => {
14271
14275
  const r = t.getColumn(e.column.id), o = r?.getCanResize();
14272
14276
  return (a) => {
14273
- if (!r || !o || (a.persist == null || a.persist(), aa(a) && a.touches && a.touches.length > 1))
14277
+ if (!r || !o || (a.persist == null || a.persist(), ia(a) && a.touches && a.touches.length > 1))
14274
14278
  return;
14275
- const i = e.getSize(), s = e ? e.getLeafHeaders().map((b) => [b.column.id, b.column.getSize()]) : [[r.id, r.getSize()]], l = aa(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, c = (b, x) => {
14279
+ const i = e.getSize(), s = e ? e.getLeafHeaders().map((b) => [b.column.id, b.column.getSize()]) : [[r.id, r.getSize()]], l = ia(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, c = (b, x) => {
14276
14280
  typeof x == "number" && (t.setColumnSizingInfo((y) => {
14277
14281
  var k, w;
14278
14282
  const C = t.options.columnResizeDirection === "rtl" ? -1 : 1, I = (x - ((k = y?.startOffset) != null ? k : 0)) * C, F = Math.max(I / ((w = y?.startSize) != null ? w : 0), -0.999999);
@@ -14312,7 +14316,7 @@ const Or = {
14312
14316
  }, h = Xw() ? {
14313
14317
  passive: !1
14314
14318
  } : !1;
14315
- aa(a) ? (d?.addEventListener("touchmove", p.moveHandler, h), d?.addEventListener("touchend", p.upHandler, h)) : (d?.addEventListener("mousemove", m.moveHandler, h), d?.addEventListener("mouseup", m.upHandler, h)), t.setColumnSizingInfo((b) => ({
14319
+ ia(a) ? (d?.addEventListener("touchmove", p.moveHandler, h), d?.addEventListener("touchend", p.upHandler, h)) : (d?.addEventListener("mousemove", m.moveHandler, h), d?.addEventListener("mouseup", m.upHandler, h)), t.setColumnSizingInfo((b) => ({
14316
14320
  ...b,
14317
14321
  startOffset: l,
14318
14322
  startSize: i,
@@ -14330,7 +14334,7 @@ const Or = {
14330
14334
  e.setColumnSizing(t ? {} : (n = e.initialState.columnSizing) != null ? n : {});
14331
14335
  }, e.resetHeaderSizeInfo = (t) => {
14332
14336
  var n;
14333
- e.setColumnSizingInfo(t ? oa() : (n = e.initialState.columnSizingInfo) != null ? n : oa());
14337
+ e.setColumnSizingInfo(t ? aa() : (n = e.initialState.columnSizingInfo) != null ? n : aa());
14334
14338
  }, e.getTotalSize = () => {
14335
14339
  var t, n;
14336
14340
  return (t = (n = e.getHeaderGroups()[0]) == null ? void 0 : n.headers.reduce((r, o) => r + o.getSize(), 0)) != null ? t : 0;
@@ -14363,7 +14367,7 @@ function Xw() {
14363
14367
  }
14364
14368
  return _r = e, _r;
14365
14369
  }
14366
- function aa(e) {
14370
+ function ia(e) {
14367
14371
  return e.type === "touchstart";
14368
14372
  }
14369
14373
  const Jw = {
@@ -14447,7 +14451,7 @@ const Qw = {
14447
14451
  const {
14448
14452
  globalFilterFn: r
14449
14453
  } = e.options;
14450
- return To(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : pt[r];
14454
+ return Mo(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : pt[r];
14451
14455
  }, e.setGlobalFilter = (t) => {
14452
14456
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
14453
14457
  }, e.resetGlobalFilter = (t) => {
@@ -14541,14 +14545,14 @@ const Qw = {
14541
14545
  };
14542
14546
  };
14543
14547
  }
14544
- }, za = 0, Ha = 10, ia = () => ({
14545
- pageIndex: za,
14546
- pageSize: Ha
14548
+ }, Ha = 0, Ba = 10, sa = () => ({
14549
+ pageIndex: Ha,
14550
+ pageSize: Ba
14547
14551
  }), tS = {
14548
14552
  getInitialState: (e) => ({
14549
14553
  ...e,
14550
14554
  pagination: {
14551
- ...ia(),
14555
+ ...sa(),
14552
14556
  ...e?.pagination
14553
14557
  }
14554
14558
  }),
@@ -14576,7 +14580,7 @@ const Qw = {
14576
14580
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(o);
14577
14581
  }, e.resetPagination = (r) => {
14578
14582
  var o;
14579
- e.setPagination(r ? ia() : (o = e.initialState.pagination) != null ? o : ia());
14583
+ e.setPagination(r ? sa() : (o = e.initialState.pagination) != null ? o : sa());
14580
14584
  }, e.setPageIndex = (r) => {
14581
14585
  e.setPagination((o) => {
14582
14586
  let a = Nt(r, o.pageIndex);
@@ -14588,10 +14592,10 @@ const Qw = {
14588
14592
  });
14589
14593
  }, e.resetPageIndex = (r) => {
14590
14594
  var o, a;
14591
- e.setPageIndex(r ? za : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageIndex) != null ? o : za);
14595
+ e.setPageIndex(r ? Ha : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageIndex) != null ? o : Ha);
14592
14596
  }, e.resetPageSize = (r) => {
14593
14597
  var o, a;
14594
- e.setPageSize(r ? Ha : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageSize) != null ? o : Ha);
14598
+ e.setPageSize(r ? Ba : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageSize) != null ? o : Ba);
14595
14599
  }, e.setPageSize = (r) => {
14596
14600
  e.setPagination((o) => {
14597
14601
  const a = Math.max(1, Nt(r, o.pageSize)), i = o.pageSize * o.pageIndex, s = Math.floor(i / a);
@@ -14624,12 +14628,12 @@ const Qw = {
14624
14628
  return (r = e.options.rowCount) != null ? r : e.getPrePaginationRowModel().rows.length;
14625
14629
  };
14626
14630
  }
14627
- }, sa = () => ({
14631
+ }, la = () => ({
14628
14632
  top: [],
14629
14633
  bottom: []
14630
14634
  }), nS = {
14631
14635
  getInitialState: (e) => ({
14632
- rowPinning: sa(),
14636
+ rowPinning: la(),
14633
14637
  ...e
14634
14638
  }),
14635
14639
  getDefaultOptions: (e) => ({
@@ -14698,7 +14702,7 @@ const Qw = {
14698
14702
  createTable: (e) => {
14699
14703
  e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => {
14700
14704
  var n, r;
14701
- return e.setRowPinning(t ? sa() : (n = (r = e.initialState) == null ? void 0 : r.rowPinning) != null ? n : sa());
14705
+ return e.setRowPinning(t ? la() : (n = (r = e.initialState) == null ? void 0 : r.rowPinning) != null ? n : la());
14702
14706
  }, e.getIsSomeRowsPinned = (t) => {
14703
14707
  var n;
14704
14708
  const r = e.getState().rowPinning;
@@ -14763,17 +14767,17 @@ const Qw = {
14763
14767
  ...n
14764
14768
  };
14765
14769
  return e.getRowModel().rows.forEach((a) => {
14766
- Ba(o, a.id, r, !0, e);
14770
+ Ga(o, a.id, r, !0, e);
14767
14771
  }), o;
14768
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? la(e, n) : {
14772
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? ua(e, n) : {
14769
14773
  rows: [],
14770
14774
  flatRows: [],
14771
14775
  rowsById: {}
14772
- }, Z(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? la(e, n) : {
14776
+ }, Z(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? ua(e, n) : {
14773
14777
  rows: [],
14774
14778
  flatRows: [],
14775
14779
  rowsById: {}
14776
- }, Z(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? la(e, n) : {
14780
+ }, Z(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? ua(e, n) : {
14777
14781
  rows: [],
14778
14782
  flatRows: [],
14779
14783
  rowsById: {}
@@ -14812,7 +14816,7 @@ const Qw = {
14812
14816
  const s = {
14813
14817
  ...a
14814
14818
  };
14815
- return Ba(s, e.id, n, (i = r?.selectChildren) != null ? i : !0, t), s;
14819
+ return Ga(s, e.id, n, (i = r?.selectChildren) != null ? i : !0, t), s;
14816
14820
  });
14817
14821
  }, e.getIsSelected = () => {
14818
14822
  const {
@@ -14823,12 +14827,12 @@ const Qw = {
14823
14827
  const {
14824
14828
  rowSelection: n
14825
14829
  } = t.getState();
14826
- return Ga(e, n) === "some";
14830
+ return Wa(e, n) === "some";
14827
14831
  }, e.getIsAllSubRowsSelected = () => {
14828
14832
  const {
14829
14833
  rowSelection: n
14830
14834
  } = t.getState();
14831
- return Ga(e, n) === "all";
14835
+ return Wa(e, n) === "all";
14832
14836
  }, e.getCanSelect = () => {
14833
14837
  var n;
14834
14838
  return typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : (n = t.options.enableRowSelection) != null ? n : !0;
@@ -14846,12 +14850,12 @@ const Qw = {
14846
14850
  };
14847
14851
  };
14848
14852
  }
14849
- }, Ba = (e, t, n, r, o) => {
14853
+ }, Ga = (e, t, n, r, o) => {
14850
14854
  var a;
14851
14855
  const i = o.getRow(t, !0);
14852
- n ? (i.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), i.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = i.subRows) != null && a.length && i.getCanSelectSubRows() && i.subRows.forEach((s) => Ba(e, s.id, n, r, o));
14856
+ n ? (i.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), i.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = i.subRows) != null && a.length && i.getCanSelectSubRows() && i.subRows.forEach((s) => Ga(e, s.id, n, r, o));
14853
14857
  };
14854
- function la(e, t) {
14858
+ function ua(e, t) {
14855
14859
  const n = e.getState().rowSelection, r = [], o = {}, a = function(i, s) {
14856
14860
  return i.map((l) => {
14857
14861
  var u;
@@ -14873,18 +14877,18 @@ function zi(e, t) {
14873
14877
  var n;
14874
14878
  return (n = t[e.id]) != null ? n : !1;
14875
14879
  }
14876
- function Ga(e, t, n) {
14880
+ function Wa(e, t, n) {
14877
14881
  var r;
14878
14882
  if (!((r = e.subRows) != null && r.length)) return !1;
14879
14883
  let o = !0, a = !1;
14880
14884
  return e.subRows.forEach((i) => {
14881
14885
  if (!(a && !o) && (i.getCanSelect() && (zi(i, t) ? a = !0 : o = !1), i.subRows && i.subRows.length)) {
14882
- const s = Ga(i, t);
14886
+ const s = Wa(i, t);
14883
14887
  s === "all" ? a = !0 : (s === "some" && (a = !0), o = !1);
14884
14888
  }
14885
14889
  }), o ? "all" : a ? "some" : !1;
14886
14890
  }
14887
- const Wa = /([0-9]+)/gm, oS = (e, t, n) => of(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), aS = (e, t, n) => of(zt(e.getValue(n)), zt(t.getValue(n))), iS = (e, t, n) => Hi(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), sS = (e, t, n) => Hi(zt(e.getValue(n)), zt(t.getValue(n))), lS = (e, t, n) => {
14891
+ const Ua = /([0-9]+)/gm, oS = (e, t, n) => of(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), aS = (e, t, n) => of(zt(e.getValue(n)), zt(t.getValue(n))), iS = (e, t, n) => Hi(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), sS = (e, t, n) => Hi(zt(e.getValue(n)), zt(t.getValue(n))), lS = (e, t, n) => {
14888
14892
  const r = e.getValue(n), o = t.getValue(n);
14889
14893
  return r > o ? 1 : r < o ? -1 : 0;
14890
14894
  }, uS = (e, t, n) => Hi(e.getValue(n), t.getValue(n));
@@ -14895,7 +14899,7 @@ function zt(e) {
14895
14899
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
14896
14900
  }
14897
14901
  function of(e, t) {
14898
- const n = e.split(Wa).filter(Boolean), r = t.split(Wa).filter(Boolean);
14902
+ const n = e.split(Ua).filter(Boolean), r = t.split(Ua).filter(Boolean);
14899
14903
  for (; n.length && r.length; ) {
14900
14904
  const o = n.shift(), a = r.shift(), i = parseInt(o, 10), s = parseInt(a, 10), l = [i, s].sort();
14901
14905
  if (isNaN(l[0])) {
@@ -14942,7 +14946,7 @@ const On = {
14942
14946
  const a = o?.getValue(e.id);
14943
14947
  if (Object.prototype.toString.call(a) === "[object Date]")
14944
14948
  return On.datetime;
14945
- if (typeof a == "string" && (r = !0, a.split(Wa).length > 1))
14949
+ if (typeof a == "string" && (r = !0, a.split(Ua).length > 1))
14946
14950
  return On.alphanumeric;
14947
14951
  }
14948
14952
  return r ? On.text : On.basic;
@@ -14953,7 +14957,7 @@ const On = {
14953
14957
  var n, r;
14954
14958
  if (!e)
14955
14959
  throw new Error();
14956
- return To(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (n = (r = t.options.sortingFns) == null ? void 0 : r[e.columnDef.sortingFn]) != null ? n : On[e.columnDef.sortingFn];
14960
+ return Mo(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (n = (r = t.options.sortingFns) == null ? void 0 : r[e.columnDef.sortingFn]) != null ? n : On[e.columnDef.sortingFn];
14957
14961
  }, e.toggleSorting = (n, r) => {
14958
14962
  const o = e.getNextSortingOrder(), a = typeof n < "u" && n !== null;
14959
14963
  t.setSorting((i) => {
@@ -15336,11 +15340,11 @@ function _S({
15336
15340
  zr,
15337
15341
  {
15338
15342
  "data-state": l.getIsSelected() && "selected",
15339
- children: l.getVisibleCells().map((u) => /* @__PURE__ */ v.jsx(Va, { children: Ol(u.column.columnDef.cell, u.getContext()) }, u.id))
15343
+ children: l.getVisibleCells().map((u) => /* @__PURE__ */ v.jsx(za, { children: Ol(u.column.columnDef.cell, u.getContext()) }, u.id))
15340
15344
  },
15341
15345
  l.id
15342
15346
  )) : /* @__PURE__ */ v.jsx(zr, { children: /* @__PURE__ */ v.jsx(
15343
- Va,
15347
+ za,
15344
15348
  {
15345
15349
  colSpan: e.length,
15346
15350
  className: "h-24 text-center text-gray-500 dark:text-gray-400",
@@ -15418,7 +15422,7 @@ export {
15418
15422
  RS as Accordion,
15419
15423
  Y1 as ActionBar,
15420
15424
  jc as Avatar,
15421
- Ea as Badge,
15425
+ Ca as Badge,
15422
15426
  PS as Breadcrumbs,
15423
15427
  Ye as Button,
15424
15428
  FS as CallToAction,
@@ -15440,7 +15444,7 @@ export {
15440
15444
  Ud as Table,
15441
15445
  qd as TableBody,
15442
15446
  $w as TableCaption,
15443
- Va as TableCell,
15447
+ za as TableCell,
15444
15448
  Cw as TableFooter,
15445
15449
  Kd as TableHead,
15446
15450
  Yd as TableHeader,