@blakesteve/roster 1.1.17 → 1.1.19

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 Ya, useContext as de, createContext as Ee, forwardRef as Tl, isValidElement as qa, cloneElement as Ml, createElement as sf, Fragment as Ie, useId as Se, useSyncExternalStore as lf, useReducer as uf, createRef as cf } from "react";
2
+ import $, { useRef as Y, useCallback as se, useEffect as me, useState as ae, useMemo as be, useLayoutEffect as Ya, useContext as fe, createContext as Ee, forwardRef as Tl, isValidElement as Ka, cloneElement as Ml, createElement as sf, Fragment as Ie, useId as Se, useSyncExternalStore as lf, useReducer as uf, createRef as cf } from "react";
3
3
  import * as Hr from "react-dom";
4
4
  import { flushSync as en, createPortal as jl } from "react-dom";
5
5
  var wr = { exports: {} }, Fn = {};
@@ -104,7 +104,7 @@ function ff() {
104
104
  }
105
105
  }
106
106
  function o() {
107
- var E = K.A;
107
+ var E = q.A;
108
108
  return E === null ? null : E.getOwner();
109
109
  }
110
110
  function a() {
@@ -183,8 +183,8 @@ function ff() {
183
183
  else f(j);
184
184
  if (X.call(L, "key")) {
185
185
  j = e(E);
186
- var pe = Object.keys(L).filter(function(Ke) {
187
- return Ke !== "key";
186
+ var pe = Object.keys(L).filter(function(qe) {
187
+ return qe !== "key";
188
188
  });
189
189
  N = 0 < pe.length ? "{key: someKey, " + pe.join(": ..., ") + ": ...}" : "{key: someKey}", re[j + N] || (pe = 0 < pe.length ? "{" + pe.join(": ..., ") + ": ...}" : "{}", console.error(
190
190
  `A props object containing a "key" prop is being spread into JSX:
@@ -222,7 +222,7 @@ React keys must be passed directly to JSX without using spread:
222
222
  function g(E) {
223
223
  return typeof E == "object" && E !== null && E.$$typeof === m;
224
224
  }
225
- var d = $, m = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), k = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), I = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), P = /* @__PURE__ */ Symbol.for("react.activity"), O = /* @__PURE__ */ Symbol.for("react.client.reference"), K = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, T = Array.isArray, D = console.createTask ? console.createTask : function() {
225
+ var d = $, m = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), k = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), I = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), P = /* @__PURE__ */ Symbol.for("react.activity"), O = /* @__PURE__ */ Symbol.for("react.client.reference"), q = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, T = Array.isArray, D = console.createTask ? console.createTask : function() {
226
226
  return null;
227
227
  };
228
228
  d = {
@@ -235,7 +235,7 @@ React keys must be passed directly to JSX without using spread:
235
235
  a
236
236
  )(), U = D(r(a)), re = {};
237
237
  In.Fragment = h, In.jsx = function(E, L, R) {
238
- var N = 1e4 > K.recentlyCreatedOwnerStacks++;
238
+ var N = 1e4 > q.recentlyCreatedOwnerStacks++;
239
239
  return c(
240
240
  E,
241
241
  L,
@@ -245,7 +245,7 @@ React keys must be passed directly to JSX without using spread:
245
245
  N ? D(r(E)) : U
246
246
  );
247
247
  }, In.jsxs = function(E, L, R) {
248
- var N = 1e4 > K.recentlyCreatedOwnerStacks++;
248
+ var N = 1e4 > q.recentlyCreatedOwnerStacks++;
249
249
  return c(
250
250
  E,
251
251
  L,
@@ -274,11 +274,11 @@ function hf(e) {
274
274
  return pf(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e;
275
275
  }
276
276
  let vf = !1;
277
- function Ka() {
277
+ function qa() {
278
278
  return vf;
279
279
  }
280
280
  function Rt(e, t) {
281
- if (!Ka()) return t && e ? e.contains(t) : !1;
281
+ if (!qa()) return t && e ? e.contains(t) : !1;
282
282
  if (!e || !t) return !1;
283
283
  let n = t;
284
284
  for (; n !== null; ) {
@@ -289,13 +289,13 @@ function Rt(e, t) {
289
289
  }
290
290
  const ca = (e = document) => {
291
291
  var t;
292
- if (!Ka()) return e.activeElement;
292
+ if (!qa()) 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 Ll(e) {
298
- return Ka() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
298
+ return qa() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
299
299
  }
300
300
  function Dl(e) {
301
301
  var t, n, r = "";
@@ -389,7 +389,7 @@ const Ef = St(function() {
389
389
  }), Rf = St(function() {
390
390
  return ro(/Firefox/i);
391
391
  });
392
- function qn(e, t, n = !0) {
392
+ function Kn(e, t, n = !0) {
393
393
  var r, o;
394
394
  let { metaKey: a, ctrlKey: i, altKey: s, shiftKey: l } = t;
395
395
  Rf() && (!((o = window.event) === null || o === void 0 || (r = o.type) === null || r === void 0) && r.startsWith("key")) && e.target === "_blank" && (Yn() ? a = !0 : i = !0);
@@ -408,9 +408,9 @@ function qn(e, t, n = !0) {
408
408
  bubbles: !0,
409
409
  cancelable: !0
410
410
  });
411
- qn.isOpening = n, bf(e), e.dispatchEvent(u), qn.isOpening = !1;
411
+ Kn.isOpening = n, bf(e), e.dispatchEvent(u), Kn.isOpening = !1;
412
412
  }
413
- qn.isOpening = !1;
413
+ Kn.isOpening = !1;
414
414
  function Hl() {
415
415
  let e = Y(/* @__PURE__ */ new Map()), t = se((o, a, i, s) => {
416
416
  let l = s?.once ? (...u) => {
@@ -515,13 +515,13 @@ function Nf(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 && Nf(e) && (nr = "keyboard", Ja("keyboard", e));
518
+ tn = !0, !Kn.isOpening && Nf(e) && (nr = "keyboard", Ja("keyboard", e));
519
519
  }
520
520
  function Ue(e) {
521
521
  nr = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (tn = !0, Ja("pointer", e));
522
522
  }
523
523
  function Wl(e) {
524
- !qn.isOpening && Pf(e) && (tn = !0, nr = "virtual");
524
+ !Kn.isOpening && Pf(e) && (tn = !0, nr = "virtual");
525
525
  }
526
526
  function Ul(e) {
527
527
  e.target === window || e.target === document || If || !e.isTrusted || (!tn && !fa && (nr = "virtual", Ja("virtual", e)), tn = !1, fa = !1);
@@ -536,14 +536,14 @@ function ga(e) {
536
536
  t.HTMLElement.prototype.focus = function() {
537
537
  tn = !0, r.apply(this, arguments);
538
538
  }, n.addEventListener("keydown", Br, !0), n.addEventListener("keyup", Br, !0), n.addEventListener("click", Wl, !0), t.addEventListener("focus", Ul, !0), t.addEventListener("blur", Yl, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", Ue, !0), n.addEventListener("pointermove", Ue, !0), n.addEventListener("pointerup", Ue, !0)) : process.env.NODE_ENV === "test" && (n.addEventListener("mousedown", Ue, !0), n.addEventListener("mousemove", Ue, !0), n.addEventListener("mouseup", Ue, !0)), t.addEventListener("beforeunload", () => {
539
- ql(e);
539
+ Kl(e);
540
540
  }, {
541
541
  once: !0
542
542
  }), jn.set(t, {
543
543
  focus: r
544
544
  });
545
545
  }
546
- const ql = (e, t) => {
546
+ const Kl = (e, t) => {
547
547
  const n = Jt(e), r = Ht(e);
548
548
  t && r.removeEventListener("DOMContentLoaded", t), jn.has(n) && (n.HTMLElement.prototype.focus = jn.get(n).focus, r.removeEventListener("keydown", Br, !0), r.removeEventListener("keyup", Br, !0), r.removeEventListener("click", Wl, !0), n.removeEventListener("focus", Ul, !0), n.removeEventListener("blur", Yl, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Ue, !0), r.removeEventListener("pointermove", Ue, !0), r.removeEventListener("pointerup", Ue, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", Ue, !0), r.removeEventListener("mousemove", Ue, !0), r.removeEventListener("mouseup", Ue, !0)), jn.delete(n));
549
549
  };
@@ -552,7 +552,7 @@ function Of(e) {
552
552
  let n;
553
553
  return t.readyState !== "loading" ? ga(e) : (n = () => {
554
554
  ga(e);
555
- }, t.addEventListener("DOMContentLoaded", n)), () => ql(e, n);
555
+ }, t.addEventListener("DOMContentLoaded", n)), () => Kl(e, n);
556
556
  }
557
557
  typeof document < "u" && Of();
558
558
  function ma() {
@@ -899,12 +899,12 @@ function rr({ disabled: e = !1 } = {}) {
899
899
  function ye(e) {
900
900
  return be(() => e, Object.values(e));
901
901
  }
902
- let Kl = Ee(void 0);
902
+ let ql = Ee(void 0);
903
903
  function Gt() {
904
- return de(Kl);
904
+ return fe(ql);
905
905
  }
906
906
  function Wf({ value: e, children: t }) {
907
- return $.createElement(Kl.Provider, { value: e }, t);
907
+ return $.createElement(ql.Provider, { value: e }, t);
908
908
  }
909
909
  function ha(...e) {
910
910
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
@@ -917,13 +917,13 @@ function $e(e, t, ...n) {
917
917
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
918
918
  throw Error.captureStackTrace && Error.captureStackTrace(r, $e), r;
919
919
  }
920
- var qe = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(qe || {}), Pt = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Pt || {});
920
+ var Ke = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Ke || {}), Pt = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Pt || {});
921
921
  function ue() {
922
922
  let e = Yf();
923
923
  return se((t) => Uf({ mergeRefs: e, ...t }), [e]);
924
924
  }
925
925
  function Uf({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, visible: a = !0, name: i, mergeRefs: s }) {
926
- s = s ?? qf;
926
+ s = s ?? Kf;
927
927
  let l = Xl(t, e);
928
928
  if (a) return Er(l, n, r, i, s);
929
929
  let u = o ?? 0;
@@ -953,7 +953,7 @@ 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 (!qa(c) || Array.isArray(c) && c.length > 1 || Xf(c)) {
956
+ if (Ln(a) && (Object.keys(Ct(l)).length > 0 || Object.keys(Ct(f)).length > 0)) if (!Ka(c) || Array.isArray(c) && c.length > 1 || Xf(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(`
@@ -961,7 +961,7 @@ function Er(e, t = {}, n, r, o) {
961
961
  } else {
962
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 = Xl(c.props, Ct(Lo(l, ["ref"])));
963
963
  for (let b in f) b in h && delete f[b];
964
- return Ml(c, Object.assign({}, h, f, u, { ref: o(Kf(c), u.ref) }, p));
964
+ return Ml(c, Object.assign({}, h, f, u, { ref: o(qf(c), u.ref) }, p));
965
965
  }
966
966
  return sf(a, Object.assign({}, Lo(l, ["ref"]), !Ln(a) && u, !Ln(a) && f), c);
967
967
  }
@@ -973,7 +973,7 @@ function Yf() {
973
973
  if (!n.every((r) => r == null)) return e.current = n, t;
974
974
  };
975
975
  }
976
- function qf(...e) {
976
+ function Kf(...e) {
977
977
  return e.every((t) => t == null) ? void 0 : (t) => {
978
978
  for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t);
979
979
  };
@@ -1021,7 +1021,7 @@ function Lo(e, t = []) {
1021
1021
  for (let r of t) r in n && delete n[r];
1022
1022
  return n;
1023
1023
  }
1024
- function Kf(e) {
1024
+ function qf(e) {
1025
1025
  return $.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
1026
1026
  }
1027
1027
  function Ln(e) {
@@ -1054,7 +1054,7 @@ function eu(e, t) {
1054
1054
  }
1055
1055
  function tu(e, t, n) {
1056
1056
  if (Array.isArray(n)) for (let [r, o] of n.entries()) tu(e, eu(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, ""]) : eg(n) && !qa(n) && Zl(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, ""]) : eg(n) && !Ka(n) && Zl(n, t, e);
1058
1058
  }
1059
1059
  function nu(e) {
1060
1060
  var t, n;
@@ -1085,7 +1085,7 @@ function rg(e) {
1085
1085
  return $.createElement(ru.Provider, { value: { target: t } }, e.children, $.createElement(bt, { features: lt.Hidden, ref: n }));
1086
1086
  }
1087
1087
  function og({ children: e }) {
1088
- let t = de(ru);
1088
+ let t = fe(ru);
1089
1089
  if (!t) return $.createElement($.Fragment, null, e);
1090
1090
  let { target: n } = t;
1091
1091
  return n ? jl($.createElement($.Fragment, null, e), n) : null;
@@ -1110,7 +1110,7 @@ function ag({ setForm: e, formId: t }) {
1110
1110
  }
1111
1111
  let au = Ee(void 0);
1112
1112
  function or() {
1113
- return de(au);
1113
+ return fe(au);
1114
1114
  }
1115
1115
  function ig({ id: e, children: t }) {
1116
1116
  return $.createElement(au.Provider, { value: e }, t);
@@ -1148,7 +1148,7 @@ function lu(e) {
1148
1148
  function cg(e) {
1149
1149
  return vt(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
1150
1150
  }
1151
- function Kn(e) {
1151
+ function qn(e) {
1152
1152
  let t = e.parentElement, n = null;
1153
1153
  for (; t && !ug(t); ) lu(t) && (n = t), t = t.parentElement;
1154
1154
  let r = t?.getAttribute("disabled") === "";
@@ -1180,7 +1180,7 @@ function ve(...e) {
1180
1180
  let ao = Ee(null);
1181
1181
  ao.displayName = "DescriptionContext";
1182
1182
  function du() {
1183
- let e = de(ao);
1183
+ let e = fe(ao);
1184
1184
  if (e === null) {
1185
1185
  let t = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
1186
1186
  throw Error.captureStackTrace && Error.captureStackTrace(t, du), t;
@@ -1189,7 +1189,7 @@ function du() {
1189
1189
  }
1190
1190
  function io() {
1191
1191
  var e, t;
1192
- return (t = (e = de(ao)) == null ? void 0 : e.value) != null ? t : void 0;
1192
+ return (t = (e = fe(ao)) == null ? void 0 : e.value) != null ? t : void 0;
1193
1193
  }
1194
1194
  function so() {
1195
1195
  let [e, t] = ae([]);
@@ -1213,7 +1213,7 @@ var te = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backs
1213
1213
  let lo = Ee(null);
1214
1214
  lo.displayName = "LabelContext";
1215
1215
  function Za() {
1216
- let e = de(lo);
1216
+ let e = fe(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
1219
  throw Error.captureStackTrace && Error.captureStackTrace(t, Za), t;
@@ -1222,7 +1222,7 @@ function Za() {
1222
1222
  }
1223
1223
  function ir(e) {
1224
1224
  var t, n, r;
1225
- let o = (n = (t = de(lo)) == null ? void 0 : t.value) != null ? n : void 0;
1225
+ let o = (n = (t = fe(lo)) == null ? void 0 : t.value) != null ? n : void 0;
1226
1226
  return ((r = e?.length) != null ? r : 0) > 0 ? [o, ...e].filter(Boolean).join(" ") : o;
1227
1227
  }
1228
1228
  function sr({ inherit: e = !1 } = {}) {
@@ -1295,9 +1295,9 @@ function ti(e, t, n = !1) {
1295
1295
  var fu = ((e) => (e[e.Left = 0] = "Left", e[e.Right = 2] = "Right", e))(fu || {});
1296
1296
  function gu(e) {
1297
1297
  let t = Y(null), n = M((o) => {
1298
- t.current = o.pointerType, !Kn(o.currentTarget) && o.pointerType === "mouse" && o.button === fu.Left && (o.preventDefault(), e(o));
1298
+ t.current = o.pointerType, !qn(o.currentTarget) && o.pointerType === "mouse" && o.button === fu.Left && (o.preventDefault(), e(o));
1299
1299
  }), r = M((o) => {
1300
- t.current !== "mouse" && (Kn(o.currentTarget) || e(o));
1300
+ t.current !== "mouse" && (qn(o.currentTarget) || e(o));
1301
1301
  });
1302
1302
  return { onPointerDown: n, onClick: r };
1303
1303
  }
@@ -1315,10 +1315,10 @@ var wg = Object.defineProperty, Sg = (e, t, n) => t in e ? wg(e, t, { enumerable
1315
1315
  }, We = (e, t, n) => (pu(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
- }, qi = (e, t, n, r) => (pu(e, t, "write to private field"), t.set(e, n), n), nt, _n, Tn;
1318
+ }, Ki = (e, t, n, r) => (pu(e, t, "write to private field"), t.set(e, n), n), nt, _n, Tn;
1319
1319
  let uo = class {
1320
1320
  constructor(t) {
1321
- Do(this, nt, {}), Do(this, _n, new mu(() => /* @__PURE__ */ new Set())), Do(this, Tn, /* @__PURE__ */ new Set()), kg(this, "disposables", Le()), qi(this, nt, t), ot.isServer && this.disposables.microTask(() => {
1321
+ Do(this, nt, {}), Do(this, _n, new mu(() => /* @__PURE__ */ new Set())), Do(this, Tn, /* @__PURE__ */ new Set()), kg(this, "disposables", Le()), Ki(this, nt, t), ot.isServer && this.disposables.microTask(() => {
1322
1322
  this.dispose();
1323
1323
  });
1324
1324
  }
@@ -1345,7 +1345,7 @@ let uo = class {
1345
1345
  send(t) {
1346
1346
  let n = this.reduce(We(this, nt), t);
1347
1347
  if (n !== We(this, nt)) {
1348
- qi(this, nt, n);
1348
+ Ki(this, nt, n);
1349
1349
  for (let r of We(this, Tn)) {
1350
1350
  let o = r.selector(We(this, nt));
1351
1351
  hu(r.current, o) || (r.current = o, r.callback(o));
@@ -1356,7 +1356,7 @@ let uo = class {
1356
1356
  };
1357
1357
  nt = /* @__PURE__ */ new WeakMap(), _n = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap();
1358
1358
  function hu(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 : 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;
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()) : qi(e) && qi(t) ? Vo(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
1360
1360
  }
1361
1361
  function Vo(e, t) {
1362
1362
  do {
@@ -1365,7 +1365,7 @@ function Vo(e, t) {
1365
1365
  if (n.done || r.done || !Object.is(n.value, r.value)) return !1;
1366
1366
  } while (!0);
1367
1367
  }
1368
- function Ki(e) {
1368
+ function qi(e) {
1369
1369
  if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
1370
1370
  let t = Object.getPrototypeOf(e);
1371
1371
  return t === null || Object.getPrototypeOf(t) === null;
@@ -1869,7 +1869,7 @@ Qt.subscribe(() => {
1869
1869
  (o && !r || !o && r) && Qt.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Qt.dispatch("TEARDOWN", n);
1870
1870
  }
1871
1871
  });
1872
- function qg(e, t, n = () => ({ containers: [] })) {
1872
+ function Kg(e, t, n = () => ({ containers: [] })) {
1873
1873
  let r = Bg(Qt), o = t ? r.get(t) : void 0, a = o ? o.count > 0 : !1;
1874
1874
  return ge(() => {
1875
1875
  if (!(!t || !e)) return Qt.dispatch("PUSH", t, n), () => Qt.dispatch("POP", t, n);
@@ -1877,7 +1877,7 @@ function qg(e, t, n = () => ({ containers: [] })) {
1877
1877
  }
1878
1878
  function mo(e, t, n = () => [document.body]) {
1879
1879
  let r = lr(e, "scroll-lock");
1880
- qg(r, t, (o) => {
1880
+ Kg(r, t, (o) => {
1881
1881
  var a;
1882
1882
  return { containers: [...(a = o.containers) != null ? a : [], n] };
1883
1883
  });
@@ -1894,7 +1894,7 @@ function ku() {
1894
1894
  e.current = is(t);
1895
1895
  } };
1896
1896
  }
1897
- function Kg(e = 0) {
1897
+ function qg(e = 0) {
1898
1898
  let [t, n] = ae(e), r = se((l) => n(l), []), o = se((l) => n((u) => u | l), []), a = se((l) => (t & l) === l, [t]), i = se((l) => n((u) => u & ~l), []), s = se((l) => n((u) => u ^ l), []);
1899
1899
  return { flags: t, setFlag: r, addFlag: o, hasFlag: a, removeFlag: i, toggleFlag: s };
1900
1900
  }
@@ -1910,7 +1910,7 @@ function fr(e) {
1910
1910
  return t;
1911
1911
  }
1912
1912
  function gr(e, t, n, r) {
1913
- let [o, a] = ae(n), { hasFlag: i, addFlag: s, removeFlag: l } = Kg(e && o ? 3 : 0), u = Y(!1), c = Y(!1), f = ct();
1913
+ let [o, a] = ae(n), { hasFlag: i, addFlag: s, removeFlag: l } = qg(e && o ? 3 : 0), u = Y(!1), c = Y(!1), f = ct();
1914
1914
  return ge(() => {
1915
1915
  var g;
1916
1916
  if (e) {
@@ -2407,7 +2407,7 @@ const km = async (e, t, n) => {
2407
2407
  placement: o,
2408
2408
  overflows: W
2409
2409
  }], !W.every((T) => T <= 0)) {
2410
- var O, K;
2410
+ var O, q;
2411
2411
  const T = (((O = a.flip) == null ? void 0 : O.index) || 0) + 1, D = I[T];
2412
2412
  if (D && (!(f === "alignment" ? x !== ht(D) : !1) || // We leave the current main axis only if every placement on that axis
2413
2413
  // overflows the main axis.
@@ -2421,7 +2421,7 @@ const km = async (e, t, n) => {
2421
2421
  placement: D
2422
2422
  }
2423
2423
  };
2424
- let G = (K = P.filter((ee) => ee.overflows[0] <= 0).sort((ee, S) => ee.overflows[1] - S.overflows[1])[0]) == null ? void 0 : K.placement;
2424
+ let G = (q = P.filter((ee) => ee.overflows[0] <= 0).sort((ee, S) => ee.overflows[1] - S.overflows[1])[0]) == null ? void 0 : q.placement;
2425
2425
  if (!G)
2426
2426
  switch (d) {
2427
2427
  case "bestFit": {
@@ -2583,8 +2583,8 @@ const Rm = function(e) {
2583
2583
  const x = p - c.top - c.bottom, y = m - c.left - c.right, k = nn(p - c[h], x), w = nn(m - c[b], y), C = !t.middlewareData.shift;
2584
2584
  let I = k, F = w;
2585
2585
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (F = y), (r = t.middlewareData.shift) != null && r.enabled.y && (I = x), C && !g) {
2586
- const P = Te(c.left, 0), O = Te(c.right, 0), K = Te(c.top, 0), X = Te(c.bottom, 0);
2587
- d ? F = m - 2 * (P !== 0 || O !== 0 ? P + O : Te(c.left, c.right)) : I = p - 2 * (K !== 0 || X !== 0 ? K + X : Te(c.top, c.bottom));
2586
+ const P = Te(c.left, 0), O = Te(c.right, 0), q = Te(c.top, 0), X = Te(c.bottom, 0);
2587
+ d ? F = m - 2 * (P !== 0 || O !== 0 ? P + O : Te(c.left, c.right)) : I = p - 2 * (q !== 0 || X !== 0 ? q + X : Te(c.top, c.bottom));
2588
2588
  }
2589
2589
  await l({
2590
2590
  ...t,
@@ -2973,7 +2973,7 @@ function Um(e, t, n, r) {
2973
2973
  }), f?.(), (b = d) == null || b.disconnect(), d = null, l && cancelAnimationFrame(m);
2974
2974
  };
2975
2975
  }
2976
- const Go = Fu, Ym = Rm, qm = Pm, Km = Em, Xm = Fm, Jm = (e, t, n) => {
2976
+ const Go = Fu, Ym = Rm, Km = Pm, qm = Em, Xm = Fm, Jm = (e, t, n) => {
2977
2977
  const r = /* @__PURE__ */ new Map(), o = {
2978
2978
  platform: Gm,
2979
2979
  ...n
@@ -2988,7 +2988,7 @@ const Go = Fu, Ym = Rm, qm = Pm, Km = Em, Xm = Fm, Jm = (e, t, n) => {
2988
2988
  };
2989
2989
  var Qm = typeof document < "u", Zm = function() {
2990
2990
  }, Tr = Qm ? Ya : Zm;
2991
- function qr(e, t) {
2991
+ function Kr(e, t) {
2992
2992
  if (e === t)
2993
2993
  return !0;
2994
2994
  if (typeof e != typeof t)
@@ -3000,7 +3000,7 @@ function qr(e, t) {
3000
3000
  if (Array.isArray(e)) {
3001
3001
  if (n = e.length, n !== t.length) return !1;
3002
3002
  for (r = n; r-- !== 0; )
3003
- if (!qr(e[r], t[r]))
3003
+ if (!Kr(e[r], t[r]))
3004
3004
  return !1;
3005
3005
  return !0;
3006
3006
  }
@@ -3011,7 +3011,7 @@ function qr(e, t) {
3011
3011
  return !1;
3012
3012
  for (r = n; r-- !== 0; ) {
3013
3013
  const a = o[r];
3014
- if (!(a === "_owner" && e.$$typeof) && !qr(e[a], t[a]))
3014
+ if (!(a === "_owner" && e.$$typeof) && !Kr(e[a], t[a]))
3015
3015
  return !1;
3016
3016
  }
3017
3017
  return !0;
@@ -3053,12 +3053,12 @@ function ep(e) {
3053
3053
  middlewareData: {},
3054
3054
  isPositioned: !1
3055
3055
  }), [g, d] = V.useState(r);
3056
- qr(g, r) || d(r);
3056
+ Kr(g, r) || d(r);
3057
3057
  const [m, p] = V.useState(null), [h, b] = V.useState(null), x = V.useCallback((S) => {
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 = Wo(l), O = Wo(o), K = Wo(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), q = Wo(u), X = V.useCallback(() => {
3062
3062
  if (!C.current || !I.current)
3063
3063
  return;
3064
3064
  const S = {
@@ -3073,13 +3073,13 @@ function ep(e) {
3073
3073
  // but still mounted (such as when transitioning out). To ensure
3074
3074
  // `isPositioned` will be `false` initially on the next open, avoid
3075
3075
  // setting it to `true` when `open === false` (must be specified).
3076
- isPositioned: K.current !== !1
3076
+ isPositioned: q.current !== !1
3077
3077
  };
3078
- T.current && !qr(F.current, re) && (F.current = re, Hr.flushSync(() => {
3078
+ T.current && !Kr(F.current, re) && (F.current = re, Hr.flushSync(() => {
3079
3079
  f(re);
3080
3080
  }));
3081
3081
  });
3082
- }, [g, t, n, O, K]);
3082
+ }, [g, t, n, O, q]);
3083
3083
  Tr(() => {
3084
3084
  u === !1 && F.current.isPositioned && (F.current.isPositioned = !1, f((S) => ({
3085
3085
  ...S,
@@ -3137,10 +3137,10 @@ const ju = (e, t) => ({
3137
3137
  ...Ym(e),
3138
3138
  options: [e, t]
3139
3139
  }), tp = (e, t) => ({
3140
- ...qm(e),
3140
+ ...Km(e),
3141
3141
  options: [e, t]
3142
3142
  }), np = (e, t) => ({
3143
- ...Km(e),
3143
+ ...qm(e),
3144
3144
  options: [e, t]
3145
3145
  }), rp = (e, t) => ({
3146
3146
  ...Xm(e),
@@ -3490,25 +3490,25 @@ function di(e) {
3490
3490
  return be(() => e ? typeof e == "string" ? { to: e } : e : null, [e]);
3491
3491
  }
3492
3492
  function fi() {
3493
- return de(Cn).setReference;
3493
+ return fe(Cn).setReference;
3494
3494
  }
3495
3495
  function Vu() {
3496
- return de(Cn).getReferenceProps;
3496
+ return fe(Cn).getReferenceProps;
3497
3497
  }
3498
3498
  function gi() {
3499
- let { getFloatingProps: e, slot: t } = de(Cn);
3499
+ let { getFloatingProps: e, slot: t } = fe(Cn);
3500
3500
  return se((...n) => Object.assign({}, e(...n), { "data-anchor": t.anchor }), [e, t]);
3501
3501
  }
3502
3502
  function mi(e = null) {
3503
3503
  e === !1 && (e = null), typeof e == "string" && (e = { to: e });
3504
- let t = de(ci), n = be(() => e, [JSON.stringify(e, (o, a) => {
3504
+ let t = fe(ci), n = be(() => e, [JSON.stringify(e, (o, a) => {
3505
3505
  var i;
3506
3506
  return (i = a?.outerHTML) != null ? i : a;
3507
3507
  })]);
3508
3508
  ge(() => {
3509
3509
  t?.(n ?? null);
3510
3510
  }, [t, n]);
3511
- let r = de(Cn);
3511
+ let r = fe(Cn);
3512
3512
  return be(() => [r.setFloating, e ? r.styles : {}], [r.setFloating, e, r.styles]);
3513
3513
  }
3514
3514
  let ks = 4;
@@ -3520,12 +3520,12 @@ function pi({ children: e, enabled: t = !0 }) {
3520
3520
  u && a(0);
3521
3521
  }, [u]);
3522
3522
  let { refs: b, floatingStyles: x, context: y } = yp({ open: u, placement: p === "selection" ? h === "center" ? "bottom" : `bottom-${h}` : h === "center" ? `${p}` : `${p}-${h}`, strategy: "absolute", transform: !1, middleware: [ju({ mainAxis: p === "selection" ? 0 : f, crossAxis: g }), tp({ padding: d }), p !== "selection" && np({ padding: d }), p === "selection" && m ? wp({ ...m, padding: d, overflowRef: i, offset: o, minItemsVisible: ks, referenceOverflowThreshold: d, onFallbackChange(O) {
3523
- var K, X;
3523
+ var q, X;
3524
3524
  if (!O) return;
3525
3525
  let T = y.elements.floating;
3526
3526
  if (!T) return;
3527
3527
  let D = parseFloat(getComputedStyle(T).scrollPaddingBottom) || 0, G = Math.min(ks, T.childElementCount), ee = 0, S = 0;
3528
- for (let U of (X = (K = y.elements.floating) == null ? void 0 : K.childNodes) != null ? X : []) if (Ae(U)) {
3528
+ for (let U of (X = (q = y.elements.floating) == null ? void 0 : q.childNodes) != null ? X : []) if (Ae(U)) {
3529
3529
  let re = U.offsetTop, E = re + U.clientHeight + D, L = T.scrollTop, R = L + T.clientHeight;
3530
3530
  if (re >= L && E <= R) G--;
3531
3531
  else {
@@ -3537,8 +3537,8 @@ function pi({ children: e, enabled: t = !0 }) {
3537
3537
  let re = ee * G - S + D;
3538
3538
  return U >= re ? U : re;
3539
3539
  });
3540
- } }) : null, rp({ padding: d, apply({ availableWidth: O, availableHeight: K, elements: X }) {
3541
- Object.assign(X.floating.style, { overflow: "auto", maxWidth: `${O}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${K}px)` });
3540
+ } }) : null, rp({ padding: d, apply({ availableWidth: O, availableHeight: q, elements: X }) {
3541
+ Object.assign(X.floating.style, { overflow: "auto", maxWidth: `${O}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${q}px)` });
3542
3542
  } })].filter(Boolean), whileElementsMounted: Um }), [k = p, w = h] = y.placement.split("-");
3543
3543
  p === "selection" && (k = "selection");
3544
3544
  let C = be(() => ({ anchor: [k, w].filter(Boolean).join(" ") }), [k, w]), I = Sp(y, { overflowRef: i, onChange: a }), { getReferenceProps: F, getFloatingProps: W } = xp([I]), P = M((O) => {
@@ -3619,7 +3619,7 @@ function Es(e, t) {
3619
3619
  }
3620
3620
  function Cp({ children: e, freeze: t }, n) {
3621
3621
  let r = Hu(t, e);
3622
- return qa(r) ? Ml(r, { ref: n }) : $.createElement($.Fragment, null, r);
3622
+ return Ka(r) ? Ml(r, { ref: n }) : $.createElement($.Fragment, null, r);
3623
3623
  }
3624
3624
  $.forwardRef(Cp);
3625
3625
  function Hu(e, t) {
@@ -3630,7 +3630,7 @@ let yo = Ee(null);
3630
3630
  yo.displayName = "OpenClosedContext";
3631
3631
  var xe = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(xe || {});
3632
3632
  function Wt() {
3633
- return de(yo);
3633
+ return fe(yo);
3634
3634
  }
3635
3635
  function xo({ value: e, children: t }) {
3636
3636
  return $.createElement(yo.Provider, { value: e }, t);
@@ -3699,13 +3699,13 @@ function hr(e) {
3699
3699
  }
3700
3700
  let Gu = Ee(!1);
3701
3701
  function Pp() {
3702
- return de(Gu);
3702
+ return fe(Gu);
3703
3703
  }
3704
3704
  function Cs(e) {
3705
3705
  return $.createElement(Gu.Provider, { value: e.force }, e.children);
3706
3706
  }
3707
3707
  function Fp(e) {
3708
- let t = Pp(), n = de(Uu), [r, o] = ae(() => {
3708
+ let t = Pp(), n = fe(Uu), [r, o] = ae(() => {
3709
3709
  var a;
3710
3710
  if (!t && n !== null) return (a = n.current) != null ? a : null;
3711
3711
  if (ot.isServer) return null;
@@ -3724,7 +3724,7 @@ function Fp(e) {
3724
3724
  let Wu = Ie, Ip = le(function(e, t) {
3725
3725
  let { ownerDocument: n = null, ...r } = e, o = Y(null), a = ve(cu((g) => {
3726
3726
  o.current = g;
3727
- }), t), i = yt(o.current), s = n ?? i, l = Fp(s), u = de(Sa), c = ct(), f = ue();
3727
+ }), t), i = yt(o.current), s = n ?? i, l = Fp(s), u = fe(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));
@@ -3743,7 +3743,7 @@ function Op(e, t) {
3743
3743
  }
3744
3744
  let Sa = Ee(null);
3745
3745
  function Yu() {
3746
- let e = de(Sa), t = Y([]), n = M((a) => (t.current.push(a), e && e.register(a), () => r(a))), r = M((a) => {
3746
+ let e = fe(Sa), t = Y([]), n = M((a) => (t.current.push(a), e && e.register(a), () => r(a))), r = M((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]);
@@ -3751,13 +3751,13 @@ function Yu() {
3751
3751
  return $.createElement(Sa.Provider, { value: o }, a);
3752
3752
  }, [o])];
3753
3753
  }
3754
- let _p = le(Ap), qu = le(Op), wo = Object.assign(_p, { Group: qu });
3754
+ let _p = le(Ap), Ku = le(Op), wo = Object.assign(_p, { Group: Ku });
3755
3755
  const Ot = { Idle: { kind: "Idle" }, Tracked: (e) => ({ kind: "Tracked", position: e }), Moved: { kind: "Moved" } };
3756
3756
  function hi(e) {
3757
3757
  let t = e.getBoundingClientRect();
3758
3758
  return `${t.x},${t.y}`;
3759
3759
  }
3760
- function Ku(e, t, n) {
3760
+ function qu(e, t, n) {
3761
3761
  let r = Le();
3762
3762
  if (t.kind === "Tracked") {
3763
3763
  let o = function() {
@@ -3796,7 +3796,7 @@ function Xu({ defaultContainers: e = [], portals: t, mainTreeNode: n } = {}) {
3796
3796
  return { resolveContainers: r, contains: M((o) => r().some((a) => a.contains(o))) };
3797
3797
  }
3798
3798
  let Ju = Ee(null);
3799
- function Kr({ children: e, node: t }) {
3799
+ function qr({ children: e, node: t }) {
3800
3800
  let [n, r] = ae(null), o = vi(t ?? n);
3801
3801
  return $.createElement(Ju.Provider, { value: o }, e, o === null && $.createElement(bt, { features: lt.Hidden, ref: (a) => {
3802
3802
  var i, s;
@@ -3810,7 +3810,7 @@ function Kr({ children: e, node: t }) {
3810
3810
  }
3811
3811
  function vi(e = null) {
3812
3812
  var t;
3813
- return (t = de(Ju)) != null ? t : e;
3813
+ return (t = fe(Ju)) != null ? t : e;
3814
3814
  }
3815
3815
  function jp() {
3816
3816
  let e = typeof document > "u";
@@ -3952,12 +3952,12 @@ let ko = Ee(null);
3952
3952
  ko.displayName = "TransitionContext";
3953
3953
  var Up = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Up || {});
3954
3954
  function Yp() {
3955
- let e = de(ko);
3955
+ let e = fe(ko);
3956
3956
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
3957
3957
  return e;
3958
3958
  }
3959
- function qp() {
3960
- let e = de(Eo);
3959
+ function Kp() {
3960
+ let e = fe(Eo);
3961
3961
  if (e === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
3962
3962
  return e;
3963
3963
  }
@@ -3994,10 +3994,10 @@ function tc(e, t) {
3994
3994
  });
3995
3995
  return be(() => ({ children: r, register: s, unregister: i, onStart: f, onStop: g, wait: u, chains: c }), [s, i, r, f, g, c, u]);
3996
3996
  }
3997
- let nc = Ie, rc = qe.RenderStrategy;
3998
- function Kp(e, t) {
3997
+ let nc = Ie, rc = Ke.RenderStrategy;
3998
+ function qp(e, t) {
3999
3999
  var n, r;
4000
- let { transition: o = !0, beforeEnter: a, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: m, leaveTo: p, ...h } = e, [b, x] = ae(null), y = Y(null), k = ec(e), w = ve(...k ? [y, t, x] : t === null ? [] : [t]), C = (n = h.unmount) == null || n ? Pt.Unmount : Pt.Hidden, { show: I, appear: F, initial: W } = Yp(), [P, O] = ae(I ? "visible" : "hidden"), K = qp(), { register: X, unregister: T } = K;
4000
+ let { transition: o = !0, beforeEnter: a, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: m, leaveTo: p, ...h } = e, [b, x] = ae(null), y = Y(null), k = ec(e), w = ve(...k ? [y, t, x] : t === null ? [] : [t]), C = (n = h.unmount) == null || n ? Pt.Unmount : Pt.Hidden, { show: I, appear: F, initial: W } = Yp(), [P, O] = ae(I ? "visible" : "hidden"), q = Kp(), { register: X, unregister: T } = q;
4001
4001
  ge(() => X(y), [X, y]), ge(() => {
4002
4002
  if (C === Pt.Hidden && y.current) {
4003
4003
  if (I && P !== "visible") {
@@ -4013,7 +4013,7 @@ function Kp(e, t) {
4013
4013
  }, [y, P, D, k]);
4014
4014
  let G = W && !F, ee = F && I && W, S = Y(!1), U = tc(() => {
4015
4015
  S.current || (O("hidden"), T(y));
4016
- }, K), re = M((j) => {
4016
+ }, q), re = M((j) => {
4017
4017
  S.current = !0;
4018
4018
  let pe = j ? "enter" : "leave";
4019
4019
  U.onStart(y, pe, (ke) => {
@@ -4058,17 +4058,17 @@ function Xp(e, t) {
4058
4058
  return $.createElement(Eo.Provider, { value: g }, $.createElement(ko.Provider, { value: h }, k({ ourProps: { ...b, as: Ie, children: $.createElement(oc, { ref: l, ...b, ...a, beforeEnter: x, beforeLeave: y }) }, theirProps: {}, defaultTag: Ie, features: rc, visible: c === "visible", name: "Transition" })));
4059
4059
  }
4060
4060
  function Jp(e, t) {
4061
- let n = de(ko) !== null, r = Wt() !== null;
4061
+ let n = fe(ko) !== null, r = Wt() !== null;
4062
4062
  return $.createElement($.Fragment, null, !n && r ? $.createElement(ka, { ref: t, ...e }) : $.createElement(oc, { ref: t, ...e }));
4063
4063
  }
4064
- let ka = le(Xp), oc = le(Kp), Zn = le(Jp), yn = Object.assign(ka, { Child: Zn, Root: ka });
4064
+ let ka = le(Xp), oc = le(qp), Zn = le(Jp), yn = Object.assign(ka, { Child: Zn, Root: ka });
4065
4065
  var Qp = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Qp || {}), Zp = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(Zp || {});
4066
4066
  let e0 = { 0(e, t) {
4067
4067
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
4068
4068
  } }, xi = Ee(null);
4069
4069
  xi.displayName = "DialogContext";
4070
4070
  function $o(e) {
4071
- let t = de(xi);
4071
+ let t = fe(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] = uf(t0, { titleId: null, descriptionId: null, panelRef: cf() }), k = M(() => a(!1)), w = M((R) => y({ type: 0, id: R })), C = So() ? b === 0 : !1, [I, F] = Yu(), W = { get current() {
4089
4089
  var R;
4090
4090
  return (R = x.panelRef.current) != null ? R : m.current;
4091
- } }, P = vi(), { resolveContainers: O } = Xu({ mainTreeNode: P, portals: I, defaultContainers: [W] }), K = d !== null ? (d & xe.Closing) === xe.Closing : !1;
4092
- ri(u || K ? !1 : C, { allowed: M(() => {
4091
+ } }, P = vi(), { resolveContainers: O } = Xu({ mainTreeNode: P, portals: I, defaultContainers: [W] }), q = d !== null ? (d & xe.Closing) === xe.Closing : !1;
4092
+ ri(u || q ? !1 : C, { allowed: M(() => {
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: M(() => {
@@ -4105,12 +4105,12 @@ let $s = le(function(e, t) {
4105
4105
  R.preventDefault(), k();
4106
4106
  }), Tp(T, h?.defaultView, (R) => {
4107
4107
  R.preventDefault(), R.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), k();
4108
- }), mo(u || K ? !1 : C, h, O), co(C, m, k);
4108
+ }), mo(u || q ? !1 : C, h, O), co(C, m, k);
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 = !Mp(), 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(Bu, null, $.createElement(Cs, { force: !0 }, $.createElement(wo, null, $.createElement(xi.Provider, { value: ee }, $.createElement(qu, { target: m }, $.createElement(Cs, { force: !1 }, $.createElement(G, { slot: S }, $.createElement(F, null, $.createElement(zp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, $.createElement(ei, { value: k }, L({ ourProps: U, theirProps: f, slot: S, defaultTag: n0, features: r0, visible: b === 0, name: "Dialog" })))))))))));
4113
- }), n0 = "div", r0 = qe.RenderStrategy | qe.Static;
4112
+ return $.createElement(Bu, null, $.createElement(Cs, { force: !0 }, $.createElement(wo, null, $.createElement(xi.Provider, { value: ee }, $.createElement(Ku, { target: m }, $.createElement(Cs, { force: !1 }, $.createElement(G, { slot: S }, $.createElement(F, null, $.createElement(zp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, $.createElement(ei, { value: k }, L({ ourProps: U, theirProps: f, slot: S, defaultTag: n0, features: r0, visible: b === 0, name: "Dialog" })))))))))));
4113
+ }), n0 = "div", r0 = Ke.RenderStrategy | Ke.Static;
4114
4114
  function o0(e, t) {
4115
4115
  let { transition: n = !1, open: r, ...o } = e, a = Wt(), i = e.hasOwnProperty("open") || a !== null, s = e.hasOwnProperty("onClose");
4116
4116
  if (!i && !s) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
@@ -4118,7 +4118,7 @@ function o0(e, t) {
4118
4118
  if (!s) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
4119
4119
  if (!a && typeof e.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);
4120
4120
  if (typeof e.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);
4121
- return (r !== void 0 || n) && !o.static ? $.createElement(Kr, null, $.createElement(yn, { show: r, transition: n, unmount: o.unmount }, $.createElement($s, { ref: t, ...o }))) : $.createElement(Kr, null, $.createElement($s, { ref: t, open: r, ...o }));
4121
+ return (r !== void 0 || n) && !o.static ? $.createElement(qr, null, $.createElement(yn, { show: r, transition: n, unmount: o.unmount }, $.createElement($s, { ref: t, ...o }))) : $.createElement(qr, null, $.createElement($s, { ref: t, open: r, ...o }));
4122
4122
  }
4123
4123
  let a0 = "div";
4124
4124
  function i0(e, t) {
@@ -4328,7 +4328,7 @@ let S0 = { 1(e) {
4328
4328
  }
4329
4329
  this.disposables.group((n) => {
4330
4330
  this.on(1, (r) => {
4331
- r.buttonElement && (n.dispose(), n.add(Ku(r.buttonElement, r.buttonPositionState, () => {
4331
+ r.buttonElement && (n.dispose(), n.add(qu(r.buttonElement, r.buttonPositionState, () => {
4332
4332
  this.send({ type: 11 });
4333
4333
  })));
4334
4334
  });
@@ -4346,7 +4346,7 @@ let S0 = { 1(e) {
4346
4346
  };
4347
4347
  const cc = Ee(null);
4348
4348
  function wi(e) {
4349
- let t = de(cc);
4349
+ let t = fe(cc);
4350
4350
  if (t === null) {
4351
4351
  let n = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
4352
4352
  throw Error.captureStackTrace && Error.captureStackTrace(n, dc), n;
@@ -4360,7 +4360,7 @@ function dc({ id: e, __demoMode: t = !1 }) {
4360
4360
  let Po = Ee(null);
4361
4361
  Po.displayName = "ListboxDataContext";
4362
4362
  function vr(e) {
4363
- let t = de(Po);
4363
+ let t = fe(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;
@@ -4375,7 +4375,7 @@ function C0(e, t) {
4375
4375
  ge(() => {
4376
4376
  w.state.dataRef.current = P;
4377
4377
  }, [P]);
4378
- let O = ce(w, (L) => L.listboxState), K = un.get(null), X = ce(K, se((L) => K.selectors.isTop(L, n), [K, n])), [T, D] = ce(w, (L) => [L.buttonElement, L.optionsElement]);
4378
+ let O = ce(w, (L) => L.listboxState), q = un.get(null), X = ce(q, se((L) => q.selectors.isTop(L, n), [q, n])), [T, D] = ce(w, (L) => [L.buttonElement, L.optionsElement]);
4379
4379
  fo(X, [T, D], (L, R) => {
4380
4380
  w.send({ type: lc.CloseListbox }), dr(R, cr.Loose) || (L.preventDefault(), T?.focus());
4381
4381
  });
@@ -4410,10 +4410,10 @@ function R0(e, t) {
4410
4410
  }), x = gu((D) => {
4411
4411
  var G;
4412
4412
  a.state.listboxState === Me.Open ? (en(() => a.actions.closeListbox()), (G = a.state.buttonElement) == null || G.focus({ preventScroll: !0 })) : (D.preventDefault(), a.actions.openListbox({ focus: oe.Nothing }));
4413
- }), y = M((D) => D.preventDefault()), k = ir([i]), w = io(), { isFocusVisible: C, focusProps: I } = ln({ autoFocus: l }), { isHovered: F, hoverProps: W } = sn({ isDisabled: s }), { pressed: P, pressProps: O } = rr({ disabled: s }), K = ye({ open: g === Me.Open, active: P || g === Me.Open, disabled: s, invalid: o.invalid, value: o.value, hover: F, focus: C, autofocus: l }), X = ce(a, (D) => D.listboxState === Me.Open), T = Ze(f(), { ref: c, id: i, type: go(e, d), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": X, "aria-labelledby": k, "aria-describedby": w, disabled: s || void 0, autoFocus: l, onKeyDown: h, onKeyUp: b, onKeyPress: y }, x, I, W, O);
4414
- return ue()({ ourProps: T, theirProps: u, slot: K, defaultTag: $0, name: "Listbox.Button" });
4413
+ }), y = M((D) => D.preventDefault()), k = ir([i]), w = io(), { isFocusVisible: C, focusProps: I } = ln({ autoFocus: l }), { isHovered: F, hoverProps: W } = sn({ isDisabled: s }), { pressed: P, pressProps: O } = rr({ disabled: s }), q = ye({ open: g === Me.Open, active: P || g === Me.Open, disabled: s, invalid: o.invalid, value: o.value, hover: F, focus: C, autofocus: l }), X = ce(a, (D) => D.listboxState === Me.Open), T = Ze(f(), { ref: c, id: i, type: go(e, d), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": X, "aria-labelledby": k, "aria-describedby": w, disabled: s || void 0, autoFocus: l, onKeyDown: h, onKeyUp: b, onKeyPress: y }, x, I, W, O);
4414
+ return ue()({ ourProps: T, theirProps: u, slot: q, defaultTag: $0, name: "Listbox.Button" });
4415
4415
  }
4416
- let fc = Ee(!1), P0 = "div", F0 = qe.RenderStrategy | qe.Static;
4416
+ let fc = Ee(!1), P0 = "div", F0 = Ke.RenderStrategy | Ke.Static;
4417
4417
  function I0(e, t) {
4418
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);
@@ -4423,10 +4423,10 @@ function I0(e, t) {
4423
4423
  mo(I, y);
4424
4424
  let F = b ? !1 : i && m === Me.Open;
4425
4425
  ri(F, { allowed: se(() => [p, h], [p, h]) });
4426
- let W = ce(d, d.selectors.didButtonMove) ? !1 : w, P = ce(d, d.selectors.hasFrozenValue) && !e.static, O = Hu(P, g.value), K = se((B) => g.compare(O, B), [g.compare, O]), X = ce(d, (B) => {
4426
+ let W = ce(d, d.selectors.didButtonMove) ? !1 : w, P = ce(d, d.selectors.hasFrozenValue) && !e.static, O = Hu(P, g.value), q = 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;
4429
- let pe = B.options.findIndex((ke) => K(ke.dataRef.current.value));
4429
+ let pe = B.options.findIndex((ke) => q(ke.dataRef.current.value));
4430
4430
  return pe === -1 && (pe = 0), pe;
4431
4431
  }), T = (() => {
4432
4432
  if (u == null) return;
@@ -4469,12 +4469,12 @@ function I0(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": ti(w, p, !0).width }, ...fr(C) }), N = ue(), J = be(() => g.mode === At.Multi ? g : { ...g, isSelected: K }, [g, K]);
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: q }, [g, q]);
4473
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: P0, features: F0, visible: W, name: "Listbox.Options" })));
4474
4474
  }
4475
4475
  let A0 = "div";
4476
4476
  function N0(e, t) {
4477
- let n = Se(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: a, ...i } = e, s = de(fc) === !0, l = vr("Listbox.Option"), u = wi("Listbox.Option"), c = ce(u, (P) => u.selectors.isActive(P, r)), f = l.isSelected(a), g = Y(null), d = sc(g), m = st({ disabled: o, value: a, domRef: g, get textValue() {
4477
+ let n = Se(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: a, ...i } = e, s = fe(fc) === !0, l = vr("Listbox.Option"), u = wi("Listbox.Option"), c = ce(u, (P) => u.selectors.isActive(P, r)), f = l.isSelected(a), g = Y(null), d = sc(g), m = st({ disabled: o, value: a, domRef: g, get textValue() {
4478
4478
  return d();
4479
4479
  } }), p = ve(t, g, (P) => {
4480
4480
  P ? l.listRef.current.set(r, P) : l.listRef.current.delete(r);
@@ -4600,7 +4600,7 @@ let z0 = { 1(e) {
4600
4600
  }
4601
4601
  this.disposables.group((n) => {
4602
4602
  this.on(1, (r) => {
4603
- r.buttonElement && (n.dispose(), n.add(Ku(r.buttonElement, r.buttonPositionState, () => {
4603
+ r.buttonElement && (n.dispose(), n.add(qu(r.buttonElement, r.buttonPositionState, () => {
4604
4604
  this.send({ type: 10 });
4605
4605
  })));
4606
4606
  });
@@ -4615,7 +4615,7 @@ let z0 = { 1(e) {
4615
4615
  };
4616
4616
  const vc = Ee(null);
4617
4617
  function Si(e) {
4618
- let t = de(vc);
4618
+ let t = fe(vc);
4619
4619
  if (t === null) {
4620
4620
  let n = new Error(`<${e} /> is missing a parent <Menu /> component.`);
4621
4621
  throw Error.captureStackTrace && Error.captureStackTrace(n, bc), n;
@@ -4665,8 +4665,8 @@ function U0(e, t) {
4665
4665
  }), { isFocusVisible: x, focusProps: y } = ln({ autoFocus: i }), { isHovered: k, hoverProps: w } = sn({ isDisabled: a }), { pressed: C, pressProps: I } = rr({ disabled: a }), F = ye({ open: d === _e.Open, active: C || d === _e.Open, disabled: a, hover: k, focus: x, autofocus: i }), W = Ze(u(), { ref: c, id: o, type: go(e, l.current), "aria-haspopup": "menu", "aria-controls": p?.id, "aria-expanded": d === _e.Open, disabled: a || void 0, autoFocus: i, onKeyDown: f, onKeyUp: g }, b, y, w, I);
4666
4666
  return ue()({ ourProps: W, theirProps: s, slot: F, defaultTag: W0, name: "Menu.Button" });
4667
4667
  }
4668
- let Y0 = "div", q0 = qe.RenderStrategy | qe.Static;
4669
- function K0(e, t) {
4668
+ let Y0 = "div", K0 = Ke.RenderStrategy | Ke.Static;
4669
+ function q0(e, t) {
4670
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, M((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);
@@ -4686,9 +4686,9 @@ function K0(e, t) {
4686
4686
  }, walk(S) {
4687
4687
  S.setAttribute("role", "none");
4688
4688
  } });
4689
- let K = ct(), X = M((S) => {
4689
+ let q = ct(), X = M((S) => {
4690
4690
  var U, re, E;
4691
- switch (K.dispose(), S.key) {
4691
+ switch (q.dispose(), S.key) {
4692
4692
  case te.Space:
4693
4693
  if (c.state.searchQuery !== "") return S.preventDefault(), S.stopPropagation(), c.send({ type: he.Search, value: S.key });
4694
4694
  case te.Enter:
@@ -4715,7 +4715,7 @@ function K0(e, t) {
4715
4715
  S.preventDefault(), S.stopPropagation(), en(() => c.send({ type: he.CloseMenu })), yu(c.state.buttonElement, S.shiftKey ? Re.Previous : Re.Next);
4716
4716
  break;
4717
4717
  default:
4718
- S.key.length === 1 && (c.send({ type: he.Search, value: S.key }), K.setTimeout(() => c.send({ type: he.ClearSearch }), 350));
4718
+ S.key.length === 1 && (c.send({ type: he.Search, value: S.key }), q.setTimeout(() => c.send({ type: he.ClearSearch }), 350));
4719
4719
  break;
4720
4720
  }
4721
4721
  }), T = M((S) => {
@@ -4724,15 +4724,15 @@ function K0(e, t) {
4724
4724
  var U;
4725
4725
  return (U = S.buttonElement) == null ? void 0 : U.id;
4726
4726
  }), id: r, onKeyDown: X, onKeyUp: T, 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
- return $.createElement(wo, { enabled: a ? e.static || C : !1, ownerDocument: y }, ee({ ourProps: G, theirProps: l, slot: D, defaultTag: Y0, features: q0, visible: O, name: "Menu.Items" }));
4727
+ return $.createElement(wo, { enabled: a ? e.static || C : !1, ownerDocument: y }, ee({ ourProps: G, theirProps: l, slot: D, defaultTag: Y0, features: K0, visible: O, name: "Menu.Items" }));
4728
4728
  }
4729
4729
  let X0 = Ie;
4730
4730
  function J0(e, t) {
4731
4731
  let n = Se(), { id: r = `headlessui-menu-item-${n}`, disabled: o = !1, ...a } = e, i = Si("Menu.Item"), s = ce(i, (O) => i.selectors.isActive(O, r)), l = Y(null), u = ve(t, l), c = ce(i, (O) => i.selectors.shouldScrollIntoView(O, r));
4732
4732
  ge(() => {
4733
4733
  if (c) return Le().requestAnimationFrame(() => {
4734
- var O, K;
4735
- (K = (O = l.current) == null ? void 0 : O.scrollIntoView) == null || K.call(O, { block: "nearest" });
4734
+ var O, q;
4735
+ (q = (O = l.current) == null ? void 0 : O.scrollIntoView) == null || q.call(O, { block: "nearest" });
4736
4736
  });
4737
4737
  }, [c, l]);
4738
4738
  let f = sc(l), g = Y({ disabled: o, domRef: l, get textValue() {
@@ -4773,7 +4773,7 @@ function rh(e, t) {
4773
4773
  let n = e, r = { ref: t, role: "separator" };
4774
4774
  return ue()({ ourProps: r, theirProps: n, slot: {}, defaultTag: nh, name: "Menu.Separator" });
4775
4775
  }
4776
- let oh = le(G0), yc = le(U0), xc = le(K0), jr = le(J0), ah = le(Z0), ih = le(th), sh = le(rh), lh = Object.assign(oh, { Button: yc, Items: xc, Item: jr, Section: ah, Heading: ih, Separator: sh });
4776
+ let oh = le(G0), yc = le(U0), xc = le(q0), jr = le(J0), ah = le(Z0), ih = le(th), sh = le(rh), lh = Object.assign(oh, { Button: yc, Items: xc, Item: jr, Section: ah, Heading: ih, Separator: sh });
4777
4777
  var uh = Object.defineProperty, ch = (e, t, n) => t in e ? uh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Os = (e, t, n) => (ch(e, typeof t != "symbol" ? t + "" : t, n), n), Pe = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Pe || {}), dh = ((e) => (e[e.OpenPopover = 0] = "OpenPopover", e[e.ClosePopover = 1] = "ClosePopover", e[e.SetButton = 2] = "SetButton", e[e.SetButtonId = 3] = "SetButtonId", e[e.SetPanel = 4] = "SetPanel", e[e.SetPanelId = 5] = "SetPanelId", e))(dh || {});
4778
4778
  let fh = { 0: (e) => e.popoverState === 0 ? e : { ...e, popoverState: 0, __demoMode: !1 }, 1(e) {
4779
4779
  return e.popoverState === 1 ? e : { ...e, popoverState: 1, __demoMode: !1 };
@@ -4813,7 +4813,7 @@ let fh = { 0: (e) => e.popoverState === 0 ? e : { ...e, popoverState: 0, __demoM
4813
4813
  };
4814
4814
  const Sc = Ee(null);
4815
4815
  function Fo(e) {
4816
- let t = de(Sc);
4816
+ let t = fe(Sc);
4817
4817
  if (t === null) {
4818
4818
  let n = new Error(`<${e} /> is missing a parent <Popover /> component.`);
4819
4819
  throw Error.captureStackTrace && Error.captureStackTrace(n, Fo), n;
@@ -4827,12 +4827,12 @@ function mh({ id: e, __demoMode: t = !1 }) {
4827
4827
  let ki = Ee(null);
4828
4828
  ki.displayName = "PopoverGroupContext";
4829
4829
  function kc() {
4830
- return de(ki);
4830
+ return fe(ki);
4831
4831
  }
4832
4832
  let Io = Ee(null);
4833
4833
  Io.displayName = "PopoverPanelContext";
4834
4834
  function ph() {
4835
- return de(Io);
4835
+ return fe(Io);
4836
4836
  }
4837
4837
  let hh = "div";
4838
4838
  function vh(e, t) {
@@ -4858,8 +4858,8 @@ function vh(e, t) {
4858
4858
  fo(W, F.resolveContainers, (T, D) => {
4859
4859
  i.actions.close(), dr(D, cr.Loose) || (T.preventDefault(), c?.focus());
4860
4860
  });
4861
- let P = ye({ open: u === Pe.Open, close: i.actions.refocusableClose }), O = ce(i, se((T) => $e(T.popoverState, { [Pe.Open]: xe.Open, [Pe.Closed]: xe.Closed }), [])), K = { ref: l }, X = ue();
4862
- return $.createElement(Kr, { node: I }, $.createElement(pi, null, $.createElement(Io.Provider, { value: null }, $.createElement(Sc.Provider, { value: i }, $.createElement(ei, { value: i.actions.refocusableClose }, $.createElement(xo, { value: O }, $.createElement(C, null, X({ ourProps: K, theirProps: a, slot: P, defaultTag: hh, name: "Popover" }))))))));
4861
+ let P = ye({ open: u === Pe.Open, close: i.actions.refocusableClose }), O = ce(i, se((T) => $e(T.popoverState, { [Pe.Open]: xe.Open, [Pe.Closed]: xe.Closed }), [])), q = { ref: l }, X = ue();
4862
+ return $.createElement(qr, { node: I }, $.createElement(pi, null, $.createElement(Io.Provider, { value: null }, $.createElement(Sc.Provider, { value: i }, $.createElement(ei, { value: i.actions.refocusableClose }, $.createElement(xo, { value: O }, $.createElement(C, null, X({ ourProps: q, theirProps: a, slot: P, defaultTag: hh, name: "Popover" }))))))));
4863
4863
  }
4864
4864
  let bh = "button";
4865
4865
  function yh(e, t) {
@@ -4903,10 +4903,10 @@ function yh(e, t) {
4903
4903
  y || N.key === te.Space && N.preventDefault();
4904
4904
  }), W = M((N) => {
4905
4905
  var J, B;
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()));
4906
+ qn(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 = M((N) => {
4908
4908
  N.preventDefault(), N.stopPropagation();
4909
- }), { isFocusVisible: O, focusProps: K } = ln({ autoFocus: a }), { isHovered: X, hoverProps: T } = 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, T, G), E = yi(), L = M(() => {
4909
+ }), { isFocusVisible: O, focusProps: q } = ln({ autoFocus: a }), { isHovered: X, hoverProps: T } = 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 }, q, T, G), E = yi(), L = M(() => {
4910
4910
  if (!Ae(s.state.panel)) return;
4911
4911
  let N = s.state.panel;
4912
4912
  function J() {
@@ -4916,22 +4916,22 @@ function yh(e, t) {
4916
4916
  }), R = ue();
4917
4917
  return $.createElement($.Fragment, null, R({ ourProps: re, theirProps: i, slot: S, defaultTag: bh, name: "Popover.Button" }), ee && !y && u && $.createElement(bt, { id: h, ref: m, features: lt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: L }));
4918
4918
  }
4919
- let xh = "div", wh = qe.RenderStrategy | qe.Static;
4919
+ let xh = "div", wh = Ke.RenderStrategy | Ke.Static;
4920
4920
  function Ec(e, t) {
4921
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 = M((b) => {
4922
- if (Kn(b.currentTarget)) return b.preventDefault();
4922
+ if (qn(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) };
4925
4925
  return ue()({ ourProps: h, theirProps: a, slot: p, defaultTag: xh, features: wh, visible: g, name: "Popover.Backdrop" });
4926
4926
  }
4927
- let Sh = "div", kh = qe.RenderStrategy | qe.Static;
4927
+ let Sh = "div", kh = Ke.RenderStrategy | Ke.Static;
4928
4928
  function Eh(e, t) {
4929
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
- let [F, W] = ae(null), P = ve(y, t, k ? w : null, c.actions.setPanel, W), O = yt(d), K = yt(y.current);
4931
+ let [F, W] = ae(null), P = ve(y, t, k ? w : null, c.actions.setPanel, W), O = yt(d), q = yt(y.current);
4932
4932
  ge(() => (c.actions.setPanelId(r), () => c.actions.setPanelId(null)), [r, c]);
4933
4933
  let X = Wt(), [T, D] = gr(l, F, X !== null ? (X & xe.Open) === xe.Open : g === Pe.Open);
4934
- co(T, d, c.actions.close), mo(m ? !1 : s && T, K);
4934
+ co(T, d, c.actions.close), mo(m ? !1 : s && T, q);
4935
4935
  let G = M((R) => {
4936
4936
  var N;
4937
4937
  switch (R.key) {
@@ -4975,12 +4975,12 @@ function Eh(e, t) {
4975
4975
  $e(U.current, { [ze.Forwards]: () => {
4976
4976
  var J;
4977
4977
  if (!c.state.button) return;
4978
- let B = (J = _t(c.state.button)) != null ? J : document.body, j = ur(B), pe = j.indexOf(c.state.button), ke = j.slice(0, pe + 1), Ke = [...j.slice(pe + 1), ...ke];
4979
- for (let Yt of Ke.slice()) if (Yt.dataset.headlessuiFocusGuard === "true" || F != null && F.contains(Yt)) {
4980
- let qt = Ke.indexOf(Yt);
4981
- qt !== -1 && Ke.splice(qt, 1);
4978
+ let B = (J = _t(c.state.button)) != null ? J : document.body, j = ur(B), pe = j.indexOf(c.state.button), ke = j.slice(0, pe + 1), qe = [...j.slice(pe + 1), ...ke];
4979
+ for (let Yt of qe.slice()) if (Yt.dataset.headlessuiFocusGuard === "true" || F != null && F.contains(Yt)) {
4980
+ let Kt = qe.indexOf(Yt);
4981
+ Kt !== -1 && qe.splice(Kt, 1);
4982
4982
  }
4983
- Ve(Ke, Re.First, { sorted: !1 });
4983
+ Ve(qe, Re.First, { sorted: !1 });
4984
4984
  }, [ze.Backwards]: () => {
4985
4985
  var J;
4986
4986
  Ve(R, Re.Previous) === vn.Error && ((J = c.state.button) == null || J.focus());
@@ -5013,7 +5013,7 @@ function $h(e, t) {
5013
5013
  }), u = M((p) => {
5014
5014
  for (let h of o) h.buttonId.current !== p && h.close();
5015
5015
  }), c = be(() => ({ registerPopover: s, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), [s, i, l, u]), f = ye({}), g = e, d = { ref: r }, m = ue();
5016
- return $.createElement(Kr, null, $.createElement(ki.Provider, { value: c }, m({ ourProps: d, theirProps: g, slot: f, defaultTag: Ch, name: "Popover.Group" })));
5016
+ return $.createElement(qr, null, $.createElement(ki.Provider, { value: c }, m({ ourProps: d, theirProps: g, slot: f, defaultTag: Ch, name: "Popover.Group" })));
5017
5017
  }
5018
5018
  let Rh = le(vh), Jr = le(yh), Ph = le(Ec), Fh = le(Ec), Ei = le(Eh), Ih = le($h), Cc = Object.assign(Rh, { Button: Jr, Backdrop: Fh, Overlay: Ph, Panel: Ei, Group: Ih }), Ci = Ee(null);
5019
5019
  Ci.displayName = "GroupContext";
@@ -5028,16 +5028,16 @@ function Nh(e) {
5028
5028
  let Oh = "button";
5029
5029
  function _h(e, t) {
5030
5030
  var n;
5031
- let r = Se(), o = or(), a = Gt(), { id: i = o || `headlessui-switch-${r}`, disabled: s = a || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: m = !1, ...p } = e, h = de(Ci), [b, x] = ae(null), y = Y(null), k = ve(y, t, h === null ? null : h.setSwitch, x), w = Ql(u), [C, I] = Jl(l, c, w ?? !1), F = ct(), [W, P] = ae(!1), O = M(() => {
5031
+ let r = Se(), o = or(), a = Gt(), { id: i = o || `headlessui-switch-${r}`, disabled: s = a || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: m = !1, ...p } = e, h = fe(Ci), [b, x] = ae(null), y = Y(null), k = ve(y, t, h === null ? null : h.setSwitch, x), w = Ql(u), [C, I] = Jl(l, c, w ?? !1), F = ct(), [W, P] = ae(!1), O = M(() => {
5032
5032
  P(!0), I?.(!C), F.nextFrame(() => {
5033
5033
  P(!1);
5034
5034
  });
5035
- }), K = M((j) => {
5036
- if (Kn(j.currentTarget)) return j.preventDefault();
5035
+ }), q = M((j) => {
5036
+ if (qn(j.currentTarget)) return j.preventDefault();
5037
5037
  j.preventDefault(), O();
5038
5038
  }), X = M((j) => {
5039
5039
  j.key === te.Space ? (j.preventDefault(), O()) : j.key === te.Enter && nu(j.currentTarget);
5040
- }), T = M((j) => j.preventDefault()), D = ir(), G = io(), { isFocusVisible: ee, focusProps: S } = ln({ autoFocus: m }), { isHovered: U, hoverProps: re } = sn({ isDisabled: s }), { pressed: E, pressProps: L } = rr({ disabled: s }), R = ye({ checked: C, disabled: s, hover: U, focus: ee, active: E, autofocus: m, changing: W }), N = Ze({ id: i, ref: k, role: "switch", type: go(e, b), tabIndex: e.tabIndex === -1 ? 0 : (n = e.tabIndex) != null ? n : 0, "aria-checked": C, "aria-labelledby": D, "aria-describedby": G, disabled: s || void 0, autoFocus: m, onClick: K, onKeyUp: X, onKeyPress: T }, S, re, L), J = se(() => {
5040
+ }), T = M((j) => j.preventDefault()), D = ir(), G = io(), { isFocusVisible: ee, focusProps: S } = ln({ autoFocus: m }), { isHovered: U, hoverProps: re } = sn({ isDisabled: s }), { pressed: E, pressProps: L } = rr({ disabled: s }), R = ye({ checked: C, disabled: s, hover: U, focus: ee, active: E, autofocus: m, changing: W }), N = Ze({ id: i, ref: k, role: "switch", type: go(e, b), tabIndex: e.tabIndex === -1 ? 0 : (n = e.tabIndex) != null ? n : 0, "aria-checked": C, "aria-labelledby": D, "aria-describedby": G, disabled: s || void 0, autoFocus: m, onClick: q, onKeyUp: X, onKeyPress: T }, S, re, L), J = se(() => {
5041
5041
  if (w !== void 0) return I?.(w);
5042
5042
  }, [I, w]), B = ue();
5043
5043
  return $.createElement($.Fragment, null, f != null && $.createElement(ou, { disabled: s, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: C }, form: d, onReset: J }), B({ ourProps: N, theirProps: p, slot: R, defaultTag: Oh, name: "Switch" }));
@@ -5048,7 +5048,7 @@ function zh(e, t) {
5048
5048
  return ue()({ ourProps: h, theirProps: u, slot: b, defaultTag: Vh, name: "Textarea" });
5049
5049
  }
5050
5050
  let Hh = le(zh);
5051
- const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, fe = (e, t) => (n) => {
5051
+ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, de = (e, t) => (n) => {
5052
5052
  var r;
5053
5053
  if (t?.variants == null) return Ts(e, n?.class, n?.className);
5054
5054
  const { variants: o, defaultVariants: a } = t, i = Object.keys(o).map((u) => {
@@ -5092,7 +5092,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5092
5092
  validators: t,
5093
5093
  classGroupId: n
5094
5094
  }), Qr = "-", Ms = [], Wh = "arbitrary..", Uh = (e) => {
5095
- const t = qh(e), {
5095
+ const t = Kh(e), {
5096
5096
  conflictingClassGroups: n,
5097
5097
  conflictingClassGroupModifiers: r
5098
5098
  } = e;
@@ -5131,13 +5131,13 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5131
5131
  }, Yh = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
5132
5132
  const t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
5133
5133
  return r ? Wh + r : void 0;
5134
- })(), qh = (e) => {
5134
+ })(), Kh = (e) => {
5135
5135
  const {
5136
5136
  theme: t,
5137
5137
  classGroups: n
5138
5138
  } = e;
5139
- return Kh(n, t);
5140
- }, Kh = (e, t) => {
5139
+ return qh(n, t);
5140
+ }, qh = (e, t) => {
5141
5141
  const n = $c();
5142
5142
  for (const r in e) {
5143
5143
  const o = e[r];
@@ -5351,12 +5351,12 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5351
5351
  }, cv = [], Fe = (e) => {
5352
5352
  const t = (n) => n[e] || cv;
5353
5353
  return t.isThemeGetter = !0, t;
5354
- }, Ic = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ac = /^\((?:(\w[\w-]*):)?(.+)\)$/i, dv = /^\d+\/\d+$/, fv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gv = /\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$/, mv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, pv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, hv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cn = (e) => dv.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) => fv.test(e), vv = () => !0, bv = (e) => (
5354
+ }, Ic = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ac = /^\((?:(\w[\w-]*):)?(.+)\)$/i, dv = /^\d+\/\d+$/, fv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gv = /\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$/, mv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, pv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, hv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, cn = (e) => dv.test(e), ie = (e) => !!e && !Number.isNaN(Number(e)), Et = (e) => !!e && Number.isInteger(Number(e)), Ko = (e) => e.endsWith("%") && ie(e.slice(0, -1)), ft = (e) => fv.test(e), vv = () => !0, bv = (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
  gv.test(e) && !mv.test(e)
5359
- ), Nc = () => !1, yv = (e) => pv.test(e), xv = (e) => hv.test(e), wv = (e) => !z(e) && !H(e), Sv = (e) => $n(e, Tc, Nc), z = (e) => Ic.test(e), Kt = (e) => $n(e, Mc, bv), Ko = (e) => $n(e, Rv, ie), Ds = (e) => $n(e, Oc, Nc), kv = (e) => $n(e, _c, xv), Rr = (e) => $n(e, jc, yv), H = (e) => Ac.test(e), An = (e) => Rn(e, Mc), Ev = (e) => Rn(e, Pv), Vs = (e) => Rn(e, Oc), Cv = (e) => Rn(e, Tc), $v = (e) => Rn(e, _c), Pr = (e) => Rn(e, jc, !0), $n = (e, t, n) => {
5359
+ ), Nc = () => !1, yv = (e) => pv.test(e), xv = (e) => hv.test(e), wv = (e) => !z(e) && !H(e), Sv = (e) => $n(e, Tc, Nc), z = (e) => Ic.test(e), qt = (e) => $n(e, Mc, bv), qo = (e) => $n(e, Rv, ie), Ds = (e) => $n(e, Oc, Nc), kv = (e) => $n(e, _c, xv), Rr = (e) => $n(e, jc, yv), H = (e) => Ac.test(e), An = (e) => Rn(e, Mc), Ev = (e) => Rn(e, Pv), Vs = (e) => Rn(e, Oc), Cv = (e) => Rn(e, Tc), $v = (e) => Rn(e, _c), Pr = (e) => Rn(e, jc, !0), $n = (e, t, n) => {
5360
5360
  const r = Ic.exec(e);
5361
5361
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
5362
5362
  }, Rn = (e, t, n = !1) => {
@@ -5383,13 +5383,13 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5383
5383
  "left-bottom"
5384
5384
  ], w = () => [...k(), H, z], C = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], F = () => [H, z, l], W = () => [cn, "full", "auto", ...F()], P = () => [Et, "none", "subgrid", H, z], O = () => ["auto", {
5385
5385
  span: ["full", Et, H, z]
5386
- }, Et, H, z], K = () => [Et, "auto", H, z], X = () => ["auto", "min", "max", "fr", H, z], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...F()], ee = () => [cn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], S = () => [e, H, z], U = () => [...k(), Vs, Ds, {
5386
+ }, Et, H, z], q = () => [Et, "auto", H, z], X = () => ["auto", "min", "max", "fr", H, z], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...F()], ee = () => [cn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], S = () => [e, H, z], U = () => [...k(), Vs, Ds, {
5387
5387
  position: [H, z]
5388
5388
  }], re = () => ["no-repeat", {
5389
5389
  repeat: ["", "x", "y", "space", "round"]
5390
5390
  }], E = () => ["auto", "cover", "contain", Cv, Sv, {
5391
5391
  size: [H, z]
5392
- }], L = () => [qo, An, Kt], R = () => [
5392
+ }], L = () => [Ko, An, qt], R = () => [
5393
5393
  // Deprecated since Tailwind CSS v4.0.0
5394
5394
  "",
5395
5395
  "none",
@@ -5397,14 +5397,14 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
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, qo, Vs, Ds], pe = () => [
5400
+ ], N = () => ["", ie, An, qt], 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, Ko, Vs, Ds], pe = () => [
5401
5401
  // Deprecated since Tailwind CSS v4.0.0
5402
5402
  "",
5403
5403
  "none",
5404
5404
  m,
5405
5405
  H,
5406
5406
  z
5407
- ], ke = () => ["none", ie, H, z], Ke = () => ["none", ie, H, z], Yt = () => [ie, H, z], qt = () => [cn, "full", ...F()];
5407
+ ], ke = () => ["none", ie, H, z], qe = () => ["none", ie, H, z], Yt = () => [ie, H, z], Kt = () => [cn, "full", ...F()];
5408
5408
  return {
5409
5409
  cacheSize: 500,
5410
5410
  theme: {
@@ -5723,14 +5723,14 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5723
5723
  * @see https://tailwindcss.com/docs/grid-column
5724
5724
  */
5725
5725
  "col-start": [{
5726
- "col-start": K()
5726
+ "col-start": q()
5727
5727
  }],
5728
5728
  /**
5729
5729
  * Grid Column End
5730
5730
  * @see https://tailwindcss.com/docs/grid-column
5731
5731
  */
5732
5732
  "col-end": [{
5733
- "col-end": K()
5733
+ "col-end": q()
5734
5734
  }],
5735
5735
  /**
5736
5736
  * Grid Template Rows
@@ -5751,14 +5751,14 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
5751
5751
  * @see https://tailwindcss.com/docs/grid-row
5752
5752
  */
5753
5753
  "row-start": [{
5754
- "row-start": K()
5754
+ "row-start": q()
5755
5755
  }],
5756
5756
  /**
5757
5757
  * Grid Row End
5758
5758
  * @see https://tailwindcss.com/docs/grid-row
5759
5759
  */
5760
5760
  "row-end": [{
5761
- "row-end": K()
5761
+ "row-end": q()
5762
5762
  }],
5763
5763
  /**
5764
5764
  * Grid Auto Flow
@@ -6097,7 +6097,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
6097
6097
  * @see https://tailwindcss.com/docs/font-size
6098
6098
  */
6099
6099
  "font-size": [{
6100
- text: ["base", n, An, Kt]
6100
+ text: ["base", n, An, qt]
6101
6101
  }],
6102
6102
  /**
6103
6103
  * Font Smoothing
@@ -6114,14 +6114,14 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
6114
6114
  * @see https://tailwindcss.com/docs/font-weight
6115
6115
  */
6116
6116
  "font-weight": [{
6117
- font: [r, H, Ko]
6117
+ font: [r, H, qo]
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", qo, z]
6124
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ko, 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 = Vl, f
6172
6172
  * @see https://tailwindcss.com/docs/line-clamp
6173
6173
  */
6174
6174
  "line-clamp": [{
6175
- "line-clamp": [ie, "none", H, Ko]
6175
+ "line-clamp": [ie, "none", H, qo]
6176
6176
  }],
6177
6177
  /**
6178
6178
  * Line Height
@@ -6245,7 +6245,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
6245
6245
  * @see https://tailwindcss.com/docs/text-decoration-thickness
6246
6246
  */
6247
6247
  "text-decoration-thickness": [{
6248
- decoration: [ie, "from-font", "auto", H, Kt]
6248
+ decoration: [ie, "from-font", "auto", H, qt]
6249
6249
  }],
6250
6250
  /**
6251
6251
  * Text Decoration Color
@@ -6732,7 +6732,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
6732
6732
  * @see https://tailwindcss.com/docs/outline-width
6733
6733
  */
6734
6734
  "outline-w": [{
6735
- outline: ["", ie, An, Kt]
6735
+ outline: ["", ie, An, qt]
6736
6736
  }],
6737
6737
  /**
6738
6738
  * Outline Color
@@ -6807,7 +6807,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
6807
6807
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
6808
6808
  */
6809
6809
  "ring-offset-w": [{
6810
- "ring-offset": [ie, Kt]
6810
+ "ring-offset": [ie, qt]
6811
6811
  }],
6812
6812
  /**
6813
6813
  * Ring Offset Color
@@ -7379,28 +7379,28 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
7379
7379
  * @see https://tailwindcss.com/docs/scale
7380
7380
  */
7381
7381
  scale: [{
7382
- scale: Ke()
7382
+ scale: qe()
7383
7383
  }],
7384
7384
  /**
7385
7385
  * Scale X
7386
7386
  * @see https://tailwindcss.com/docs/scale
7387
7387
  */
7388
7388
  "scale-x": [{
7389
- "scale-x": Ke()
7389
+ "scale-x": qe()
7390
7390
  }],
7391
7391
  /**
7392
7392
  * Scale Y
7393
7393
  * @see https://tailwindcss.com/docs/scale
7394
7394
  */
7395
7395
  "scale-y": [{
7396
- "scale-y": Ke()
7396
+ "scale-y": qe()
7397
7397
  }],
7398
7398
  /**
7399
7399
  * Scale Z
7400
7400
  * @see https://tailwindcss.com/docs/scale
7401
7401
  */
7402
7402
  "scale-z": [{
7403
- "scale-z": Ke()
7403
+ "scale-z": qe()
7404
7404
  }],
7405
7405
  /**
7406
7406
  * Scale 3D
@@ -7454,28 +7454,28 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
7454
7454
  * @see https://tailwindcss.com/docs/translate
7455
7455
  */
7456
7456
  translate: [{
7457
- translate: qt()
7457
+ translate: Kt()
7458
7458
  }],
7459
7459
  /**
7460
7460
  * Translate X
7461
7461
  * @see https://tailwindcss.com/docs/translate
7462
7462
  */
7463
7463
  "translate-x": [{
7464
- "translate-x": qt()
7464
+ "translate-x": Kt()
7465
7465
  }],
7466
7466
  /**
7467
7467
  * Translate Y
7468
7468
  * @see https://tailwindcss.com/docs/translate
7469
7469
  */
7470
7470
  "translate-y": [{
7471
- "translate-y": qt()
7471
+ "translate-y": Kt()
7472
7472
  }],
7473
7473
  /**
7474
7474
  * Translate Z
7475
7475
  * @see https://tailwindcss.com/docs/translate
7476
7476
  */
7477
7477
  "translate-z": [{
7478
- "translate-z": qt()
7478
+ "translate-z": Kt()
7479
7479
  }],
7480
7480
  /**
7481
7481
  * Translate None
@@ -7757,7 +7757,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
7757
7757
  * @see https://tailwindcss.com/docs/stroke-width
7758
7758
  */
7759
7759
  "stroke-w": [{
7760
- stroke: [ie, An, Kt, Ko]
7760
+ stroke: [ie, An, qt, qo]
7761
7761
  }],
7762
7762
  /**
7763
7763
  * Stroke
@@ -7836,7 +7836,7 @@ const _s = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ts = Vl, f
7836
7836
  function _(...e) {
7837
7837
  return Iv(Vl(e));
7838
7838
  }
7839
- const Av = fe(
7839
+ const Av = de(
7840
7840
  "relative inline-flex items-center justify-center overflow-hidden font-semibold border transition-colors focus:outline-hidden select-none shrink-0",
7841
7841
  {
7842
7842
  variants: {
@@ -7914,7 +7914,7 @@ const Av = fe(
7914
7914
  }
7915
7915
  );
7916
7916
  Lc.displayName = "Avatar";
7917
- const Nv = fe(
7917
+ const Nv = de(
7918
7918
  "inline-flex items-center justify-center font-medium transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 border",
7919
7919
  {
7920
7920
  variants: {
@@ -8022,7 +8022,7 @@ const Nv = fe(
8022
8022
  )
8023
8023
  );
8024
8024
  Ca.displayName = "Badge";
8025
- const Ov = fe("animate-spin rounded-full transition-colors", {
8025
+ const Ov = de("animate-spin rounded-full transition-colors", {
8026
8026
  variants: {
8027
8027
  variant: {
8028
8028
  primary: "border-primary-600 dark:border-primary-500",
@@ -8063,7 +8063,7 @@ const Ov = fe("animate-spin rounded-full transition-colors", {
8063
8063
  role: "status",
8064
8064
  "aria-label": "loading"
8065
8065
  }
8066
- ), Tv = fe(
8066
+ ), Tv = de(
8067
8067
  // Base styles
8068
8068
  "inline-flex items-center justify-center cursor-pointer whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
8069
8069
  {
@@ -8181,7 +8181,7 @@ const Ov = fe("animate-spin rounded-full transition-colors", {
8181
8181
  }
8182
8182
  );
8183
8183
  Ye.displayName = "Button";
8184
- const Mv = fe(
8184
+ const Mv = de(
8185
8185
  // Base: relative and overflow-hidden are crucial for the branded stripes to clip.
8186
8186
  "relative w-full overflow-hidden rounded-xl transition-all",
8187
8187
  {
@@ -8434,9 +8434,9 @@ try {
8434
8434
  typeof window < "u" && (Pi = window), typeof document < "u" && (Vc = document), typeof MutationObserver < "u" && (zc = MutationObserver), typeof performance < "u" && (Hc = performance);
8435
8435
  } catch {
8436
8436
  }
8437
- var qv = Pi.navigator || {}, Bs = qv.userAgent, Gs = Bs === void 0 ? "" : Bs, Lt = Pi, we = Vc, Ws = zc, Fr = Hc;
8437
+ var Kv = Pi.navigator || {}, Bs = Kv.userAgent, Gs = Bs === void 0 ? "" : Bs, Lt = Pi, we = Vc, Ws = zc, Fr = Hc;
8438
8438
  Lt.document;
8439
- var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "function" && typeof we.createElement == "function", Bc = ~Gs.indexOf("MSIE") || ~Gs.indexOf("Trident/"), Xo, Kv = /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)?[\-\ ]/, Xv = /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, Gc = {
8439
+ var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "function" && typeof we.createElement == "function", Bc = ~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)?[\-\ ]/, Xv = /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, Gc = {
8440
8440
  classic: {
8441
8441
  fa: "solid",
8442
8442
  fas: "solid",
@@ -8548,8 +8548,8 @@ var kt = !!we.documentElement && !!we.head && typeof we.addEventListener == "fun
8548
8548
  GROUP: "duotone-group",
8549
8549
  PRIMARY: "primary",
8550
8550
  SECONDARY: "secondary"
8551
- }, Wc = ["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", Uc = "sharp", Yc = "sharp-duotone", qc = "chisel", Kc = "etch", Xc = "graphite", Jc = "jelly", Qc = "jelly-duo", Zc = "jelly-fill", ed = "notdog", td = "notdog-duo", nd = "slab", rd = "slab-press", od = "thumbprint", ad = "utility", id = "utility-duo", sd = "utility-fill", ld = "whiteboard", Qv = "Classic", Zv = "Duotone", eb = "Sharp", tb = "Sharp Duotone", nb = "Chisel", rb = "Etch", ob = "Graphite", ab = "Jelly", ib = "Jelly Duo", sb = "Jelly Fill", lb = "Notdog", ub = "Notdog Duo", cb = "Slab", db = "Slab Press", fb = "Thumbprint", gb = "Utility", mb = "Utility Duo", pb = "Utility Fill", hb = "Whiteboard", ud = [Ne, br, Uc, Yc, qc, Kc, Xc, Jc, Qc, Zc, ed, td, nd, rd, od, ad, id, sd, ld];
8552
- Xo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Ne, Qv), br, Zv), Uc, eb), Yc, tb), qc, nb), Kc, rb), Xc, ob), Jc, ab), Qc, ib), Zc, sb), ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, ed, lb), td, ub), nd, cb), rd, db), od, fb), ad, gb), id, mb), sd, pb), ld, hb);
8551
+ }, Wc = ["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", Uc = "sharp", Yc = "sharp-duotone", Kc = "chisel", qc = "etch", Xc = "graphite", Jc = "jelly", Qc = "jelly-duo", Zc = "jelly-fill", ed = "notdog", td = "notdog-duo", nd = "slab", rd = "slab-press", od = "thumbprint", ad = "utility", id = "utility-duo", sd = "utility-fill", ld = "whiteboard", Qv = "Classic", Zv = "Duotone", eb = "Sharp", tb = "Sharp Duotone", nb = "Chisel", rb = "Etch", ob = "Graphite", ab = "Jelly", ib = "Jelly Duo", sb = "Jelly Fill", lb = "Notdog", ub = "Notdog Duo", cb = "Slab", db = "Slab Press", fb = "Thumbprint", gb = "Utility", mb = "Utility Duo", pb = "Utility Fill", hb = "Whiteboard", ud = [Ne, br, Uc, Yc, Kc, qc, Xc, Jc, Qc, Zc, ed, td, nd, rd, od, ad, id, sd, ld];
8552
+ Xo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, Ne, Qv), br, Zv), Uc, eb), Yc, tb), Kc, nb), qc, rb), Xc, ob), Jc, ab), Qc, ib), Zc, sb), ne(ne(ne(ne(ne(ne(ne(ne(ne(Xo, ed, lb), td, ub), nd, cb), rd, db), od, fb), ad, gb), id, mb), sd, pb), ld, hb);
8553
8553
  var vb = {
8554
8554
  classic: {
8555
8555
  900: "fas",
@@ -8943,8 +8943,8 @@ var $b = {
8943
8943
  SWAP_OPACITY: "swap-opacity",
8944
8944
  PRIMARY: "primary",
8945
8945
  SECONDARY: "secondary"
8946
- }, Fb = ["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"], Ib = "classic", Ab = "duotone", Nb = "sharp", Ob = "sharp-duotone", _b = "chisel", Tb = "etch", Mb = "graphite", jb = "jelly", Lb = "jelly-duo", Db = "jelly-fill", Vb = "notdog", zb = "notdog-duo", Hb = "slab", Bb = "slab-press", Gb = "thumbprint", Wb = "utility", Ub = "utility-duo", Yb = "utility-fill", qb = "whiteboard", Kb = "Classic", Xb = "Duotone", Jb = "Sharp", Qb = "Sharp Duotone", Zb = "Chisel", ey = "Etch", ty = "Graphite", ny = "Jelly", ry = "Jelly Duo", oy = "Jelly Fill", ay = "Notdog", iy = "Notdog Duo", sy = "Slab", ly = "Slab Press", uy = "Thumbprint", cy = "Utility", dy = "Utility Duo", fy = "Utility Fill", gy = "Whiteboard";
8947
- Jo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Ib, Kb), Ab, Xb), Nb, Jb), Ob, Qb), _b, Zb), Tb, ey), Mb, ty), jb, ny), Lb, ry), Db, oy), ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Vb, ay), zb, iy), Hb, sy), Bb, ly), Gb, uy), Wb, cy), Ub, dy), Yb, fy), qb, gy);
8946
+ }, Fb = ["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"], Ib = "classic", Ab = "duotone", Nb = "sharp", Ob = "sharp-duotone", _b = "chisel", Tb = "etch", Mb = "graphite", jb = "jelly", Lb = "jelly-duo", Db = "jelly-fill", Vb = "notdog", zb = "notdog-duo", Hb = "slab", Bb = "slab-press", Gb = "thumbprint", Wb = "utility", Ub = "utility-duo", Yb = "utility-fill", Kb = "whiteboard", qb = "Classic", Xb = "Duotone", Jb = "Sharp", Qb = "Sharp Duotone", Zb = "Chisel", ey = "Etch", ty = "Graphite", ny = "Jelly", ry = "Jelly Duo", oy = "Jelly Fill", ay = "Notdog", iy = "Notdog Duo", sy = "Slab", ly = "Slab Press", uy = "Thumbprint", cy = "Utility", dy = "Utility Duo", fy = "Utility Fill", gy = "Whiteboard";
8947
+ Jo = {}, ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Ib, qb), Ab, Xb), Nb, Jb), Ob, Qb), _b, Zb), Tb, ey), Mb, ty), jb, ny), Lb, ry), Db, oy), ne(ne(ne(ne(ne(ne(ne(ne(ne(Jo, Vb, ay), zb, iy), Hb, sy), Bb, ly), Gb, uy), Wb, cy), Ub, dy), Yb, fy), Kb, gy);
8948
8948
  var my = "kit", py = "kit-duotone", hy = "Kit", vy = "Kit Duotone";
8949
8949
  ne(ne({}, my, hy), py, vy);
8950
8950
  var by = {
@@ -9131,7 +9131,7 @@ var by = {
9131
9131
  "Font Awesome 5 Duotone": {
9132
9132
  900: "fad"
9133
9133
  }
9134
- }, xt = "___FONT_AWESOME___", Pa = 16, gd = "fa", md = "svg-inline--fa", on = "data-fa-i2svg", Fa = "data-fa-pseudo-element", $y = "data-fa-pseudo-element-pending", Fi = "data-prefix", Ii = "data-icon", qs = "fontawesome-i2svg", Ry = "async", Py = ["HTML", "HEAD", "STYLE", "SCRIPT"], pd = ["::before", "::after", ":before", ":after"], hd = (function() {
9134
+ }, xt = "___FONT_AWESOME___", Pa = 16, gd = "fa", md = "svg-inline--fa", on = "data-fa-i2svg", Fa = "data-fa-pseudo-element", $y = "data-fa-pseudo-element-pending", Fi = "data-prefix", Ii = "data-icon", Ks = "fontawesome-i2svg", Ry = "async", Py = ["HTML", "HEAD", "STYLE", "SCRIPT"], pd = ["::before", "::after", ":before", ":after"], hd = (function() {
9135
9135
  try {
9136
9136
  return process.env.NODE_ENV === "production";
9137
9137
  } catch {
@@ -9153,12 +9153,12 @@ var Fy = yr(vd), Ia = A({}, xb);
9153
9153
  Ia[Ne] = A(A(A(A({}, {
9154
9154
  duotone: "fad"
9155
9155
  }), Ia[Ne]), Ys.kit), Ys["kit-duotone"]);
9156
- var Ks = yr(Ia), Aa = A({}, Ra);
9156
+ var qs = yr(Ia), Aa = A({}, Ra);
9157
9157
  Aa[Ne] = A(A({}, Aa[Ne]), Pb.kit);
9158
9158
  var Ai = yr(Aa), Na = A({}, by);
9159
9159
  Na[Ne] = A(A({}, Na[Ne]), $b.kit);
9160
9160
  yr(Na);
9161
- var Iy = Kv, bd = "fa-layers-text", Ay = Xv, Ny = A({}, vb);
9161
+ var Iy = qv, bd = "fa-layers-text", Ay = Xv, Ny = A({}, vb);
9162
9162
  yr(Ny);
9163
9163
  var Oy = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Qo = Jv, _y = [].concat(tt(wb), tt(Ey)), zn = Lt.FontAwesomeConfig || {};
9164
9164
  function Ty(e) {
@@ -9195,13 +9195,13 @@ var yd = {
9195
9195
  zn.familyPrefix && (zn.cssPrefix = zn.familyPrefix);
9196
9196
  var xn = A(A({}, yd), zn);
9197
9197
  xn.autoReplaceSvg || (xn.observeMutations = !1);
9198
- var q = {};
9198
+ var K = {};
9199
9199
  Object.keys(yd).forEach(function(e) {
9200
- Object.defineProperty(q, e, {
9200
+ Object.defineProperty(K, e, {
9201
9201
  enumerable: !0,
9202
9202
  set: function(n) {
9203
9203
  xn[e] = n, Hn.forEach(function(r) {
9204
- return r(q);
9204
+ return r(K);
9205
9205
  });
9206
9206
  },
9207
9207
  get: function() {
@@ -9209,18 +9209,18 @@ Object.keys(yd).forEach(function(e) {
9209
9209
  }
9210
9210
  });
9211
9211
  });
9212
- Object.defineProperty(q, "familyPrefix", {
9212
+ Object.defineProperty(K, "familyPrefix", {
9213
9213
  enumerable: !0,
9214
9214
  set: function(t) {
9215
9215
  xn.cssPrefix = t, Hn.forEach(function(n) {
9216
- return n(q);
9216
+ return n(K);
9217
9217
  });
9218
9218
  },
9219
9219
  get: function() {
9220
9220
  return xn.cssPrefix;
9221
9221
  }
9222
9222
  });
9223
- Lt.FontAwesomeConfig = q;
9223
+ Lt.FontAwesomeConfig = K;
9224
9224
  var Hn = [];
9225
9225
  function Ly(e) {
9226
9226
  return Hn.push(e), function() {
@@ -9849,7 +9849,7 @@ var Gy = `:root, :host {
9849
9849
  z-index: var(--fa-stack-z-index, auto);
9850
9850
  }`;
9851
9851
  function wd() {
9852
- var e = gd, t = md, n = q.cssPrefix, r = q.replacementClass, o = Gy;
9852
+ var e = gd, t = md, n = K.cssPrefix, r = K.replacementClass, o = Gy;
9853
9853
  if (n !== e || r !== t) {
9854
9854
  var a = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
9855
9855
  o = o.replace(a, ".".concat(n, "-")).replace(i, "--".concat(n, "-")).replace(s, ".".concat(r));
@@ -9858,7 +9858,7 @@ function wd() {
9858
9858
  }
9859
9859
  var Js = !1;
9860
9860
  function Zo() {
9861
- q.autoAddCss && !Js && (Dy(wd()), Js = !0);
9861
+ K.autoAddCss && !Js && (Dy(wd()), Js = !0);
9862
9862
  }
9863
9863
  var Wy = {
9864
9864
  mixout: function() {
@@ -9924,15 +9924,15 @@ function Oa(e, t) {
9924
9924
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.skipHooks, o = r === void 0 ? !1 : r, a = Zs(t);
9925
9925
  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);
9926
9926
  }
9927
- var er = Je.styles, Yy = Je.shims, Cd = Object.keys(Ai), qy = Cd.reduce(function(e, t) {
9927
+ var er = Je.styles, Yy = Je.shims, Cd = Object.keys(Ai), Ky = Cd.reduce(function(e, t) {
9928
9928
  return e[t] = Object.keys(Ai[t]), e;
9929
9929
  }, {}), _i = null, $d = {}, Rd = {}, Pd = {}, Fd = {}, Id = {};
9930
- function Ky(e) {
9930
+ function qy(e) {
9931
9931
  return ~_y.indexOf(e);
9932
9932
  }
9933
9933
  function Xy(e, t) {
9934
9934
  var n = t.split("-"), r = n[0], o = n.slice(1).join("-");
9935
- return r === e && o !== "" && !Ky(o) ? o : null;
9935
+ return r === e && o !== "" && !qy(o) ? o : null;
9936
9936
  }
9937
9937
  var Ad = function() {
9938
9938
  var t = function(a) {
@@ -9966,7 +9966,7 @@ var Ad = function() {
9966
9966
  o[l] = i;
9967
9967
  }), o;
9968
9968
  });
9969
- var n = "far" in er || q.autoFetchSvg, r = ea(Yy, function(o, a) {
9969
+ var n = "far" in er || K.autoFetchSvg, r = ea(Yy, function(o, a) {
9970
9970
  var i = a[0], s = a[1], l = a[2];
9971
9971
  return s === "far" && !n && (s = "fas"), typeof i == "string" && (o.names[i] = {
9972
9972
  prefix: s,
@@ -9979,13 +9979,13 @@ var Ad = function() {
9979
9979
  names: {},
9980
9980
  unicodes: {}
9981
9981
  });
9982
- Pd = r.names, Fd = r.unicodes, _i = Oo(q.styleDefault, {
9983
- family: q.familyDefault
9982
+ Pd = r.names, Fd = r.unicodes, _i = Oo(K.styleDefault, {
9983
+ family: K.familyDefault
9984
9984
  });
9985
9985
  };
9986
9986
  Ly(function(e) {
9987
9987
  _i = Oo(e.styleDefault, {
9988
- family: q.familyDefault
9988
+ family: K.familyDefault
9989
9989
  });
9990
9990
  });
9991
9991
  Ad();
@@ -10026,11 +10026,11 @@ var Od = function() {
10026
10026
  };
10027
10027
  function Zy(e) {
10028
10028
  var t = Ne, n = Cd.reduce(function(r, o) {
10029
- return r[o] = "".concat(q.cssPrefix, "-").concat(o), r;
10029
+ return r[o] = "".concat(K.cssPrefix, "-").concat(o), r;
10030
10030
  }, {});
10031
10031
  return ud.forEach(function(r) {
10032
10032
  (e.includes(n[r]) || e.some(function(o) {
10033
- return qy[r].includes(o);
10033
+ return Ky[r].includes(o);
10034
10034
  })) && (t = r);
10035
10035
  }), t;
10036
10036
  }
@@ -10038,13 +10038,13 @@ function Oo(e) {
10038
10038
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, r = n === void 0 ? Ne : n, o = Fy[r][e];
10039
10039
  if (r === br && !e)
10040
10040
  return "fad";
10041
- var a = Ks[r][e] || Ks[r][o], i = e in Je.styles ? e : null, s = a || i || null;
10041
+ var a = qs[r][e] || qs[r][o], i = e in Je.styles ? e : null, s = a || i || null;
10042
10042
  return s;
10043
10043
  }
10044
10044
  function ex(e) {
10045
10045
  var t = [], n = null;
10046
10046
  return e.forEach(function(r) {
10047
- var o = Xy(q.cssPrefix, r);
10047
+ var o = Xy(K.cssPrefix, r);
10048
10048
  o ? n = o : r && t.push(r);
10049
10049
  }), {
10050
10050
  iconName: n,
@@ -10073,7 +10073,7 @@ function _o(e) {
10073
10073
  values: e,
10074
10074
  family: f,
10075
10075
  styles: er,
10076
- config: q,
10076
+ config: K,
10077
10077
  canonical: g,
10078
10078
  givenPrefix: o
10079
10079
  })), tx(r, o, g));
@@ -10086,7 +10086,7 @@ function tx(e, t, n) {
10086
10086
  iconName: o
10087
10087
  };
10088
10088
  var a = t === "fa" ? Nd(o) : {}, i = Zt(r, o);
10089
- return o = a.iconName || i || o, r = a.prefix || r, r === "far" && !er.far && er.fas && !q.autoFetchSvg && (r = "fas"), {
10089
+ return o = a.iconName || i || o, r = a.prefix || r, r === "far" && !er.far && er.fas && !K.autoFetchSvg && (r = "fas"), {
10090
10090
  prefix: r,
10091
10091
  iconName: o
10092
10092
  };
@@ -10193,7 +10193,7 @@ function Ta(e) {
10193
10193
  return t = Zt(n, t) || t, Qs(_d.definitions, n, t) || Qs(Je.styles, n, t);
10194
10194
  }
10195
10195
  var _d = new ax(), lx = function() {
10196
- q.autoReplaceSvg = !1, q.observeMutations = !1, an("noAuto");
10196
+ K.autoReplaceSvg = !1, K.observeMutations = !1, an("noAuto");
10197
10197
  }, ux = {
10198
10198
  i2svg: function() {
10199
10199
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -10201,7 +10201,7 @@ var _d = new ax(), lx = function() {
10201
10201
  },
10202
10202
  watch: function() {
10203
10203
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
10204
- q.autoReplaceSvg === !1 && (q.autoReplaceSvg = !0), q.observeMutations = !0, Uy(function() {
10204
+ K.autoReplaceSvg === !1 && (K.autoReplaceSvg = !0), K.observeMutations = !0, Uy(function() {
10205
10205
  dx({
10206
10206
  autoReplaceSvgRoot: n
10207
10207
  }), an("watch", t);
@@ -10223,7 +10223,7 @@ var _d = new ax(), lx = function() {
10223
10223
  iconName: Zt(r, n) || n
10224
10224
  };
10225
10225
  }
10226
- if (typeof t == "string" && (t.indexOf("".concat(q.cssPrefix, "-")) > -1 || t.match(Iy))) {
10226
+ if (typeof t == "string" && (t.indexOf("".concat(K.cssPrefix, "-")) > -1 || t.match(Iy))) {
10227
10227
  var o = _o(t.split(" "), {
10228
10228
  skipLookups: !0
10229
10229
  });
@@ -10242,7 +10242,7 @@ var _d = new ax(), lx = function() {
10242
10242
  }
10243
10243
  }, Ge = {
10244
10244
  noAuto: lx,
10245
- config: q,
10245
+ config: K,
10246
10246
  dom: ux,
10247
10247
  parse: cx,
10248
10248
  library: _d,
@@ -10250,7 +10250,7 @@ var _d = new ax(), lx = function() {
10250
10250
  toHtml: xr
10251
10251
  }, dx = function() {
10252
10252
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, r = n === void 0 ? we : n;
10253
- (Object.keys(Je.styles).length > 0 || q.autoFetchSvg) && kt && q.autoReplaceSvg && Ge.dom.i2svg({
10253
+ (Object.keys(Je.styles).length > 0 || K.autoFetchSvg) && kt && K.autoReplaceSvg && Ge.dom.i2svg({
10254
10254
  node: r
10255
10255
  });
10256
10256
  };
@@ -10290,7 +10290,7 @@ function fx(e) {
10290
10290
  }];
10291
10291
  }
10292
10292
  function gx(e) {
10293
- var t = e.prefix, n = e.iconName, r = e.children, o = e.attributes, a = e.symbol, i = a === !0 ? "".concat(t, "-").concat(q.cssPrefix, "-").concat(n) : a;
10293
+ var t = e.prefix, n = e.iconName, r = e.children, o = e.attributes, a = e.symbol, i = a === !0 ? "".concat(t, "-").concat(K.cssPrefix, "-").concat(n) : a;
10294
10294
  return [{
10295
10295
  tag: "svg",
10296
10296
  attributes: {
@@ -10312,7 +10312,7 @@ function mx(e) {
10312
10312
  });
10313
10313
  }
10314
10314
  function Mi(e) {
10315
- var t = e.icons, n = t.main, r = t.mask, o = e.prefix, a = e.iconName, i = e.transform, s = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, g = r.found ? r : n, d = g.width, m = g.height, p = [q.replacementClass, a ? "".concat(q.cssPrefix, "-").concat(a) : ""].filter(function(w) {
10315
+ var t = e.icons, n = t.main, r = t.mask, o = e.prefix, a = e.iconName, i = e.transform, s = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, g = r.found ? r : n, d = g.width, m = g.height, p = [K.replacementClass, a ? "".concat(K.cssPrefix, "-").concat(a) : ""].filter(function(w) {
10316
10316
  return u.classes.indexOf(w) === -1;
10317
10317
  }).filter(function(w) {
10318
10318
  return w !== "" || !!w;
@@ -10383,19 +10383,19 @@ function Ma(e) {
10383
10383
  return Array.isArray(a) ? i = {
10384
10384
  tag: "g",
10385
10385
  attributes: {
10386
- class: "".concat(q.cssPrefix, "-").concat(Qo.GROUP)
10386
+ class: "".concat(K.cssPrefix, "-").concat(Qo.GROUP)
10387
10387
  },
10388
10388
  children: [{
10389
10389
  tag: "path",
10390
10390
  attributes: {
10391
- class: "".concat(q.cssPrefix, "-").concat(Qo.SECONDARY),
10391
+ class: "".concat(K.cssPrefix, "-").concat(Qo.SECONDARY),
10392
10392
  fill: "currentColor",
10393
10393
  d: a[0]
10394
10394
  }
10395
10395
  }, {
10396
10396
  tag: "path",
10397
10397
  attributes: {
10398
- class: "".concat(q.cssPrefix, "-").concat(Qo.PRIMARY),
10398
+ class: "".concat(K.cssPrefix, "-").concat(Qo.PRIMARY),
10399
10399
  fill: "currentColor",
10400
10400
  d: a[1]
10401
10401
  }
@@ -10419,11 +10419,11 @@ var hx = {
10419
10419
  height: 512
10420
10420
  };
10421
10421
  function vx(e, t) {
10422
- !hd && !q.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
10422
+ !hd && !K.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(t, '" is missing.'));
10423
10423
  }
10424
10424
  function ja(e, t) {
10425
10425
  var n = t;
10426
- return t === "fa" && q.styleDefault !== null && (t = Dt()), new Promise(function(r, o) {
10426
+ return t === "fa" && K.styleDefault !== null && (t = Dt()), new Promise(function(r, o) {
10427
10427
  if (n === "fa") {
10428
10428
  var a = Nd(e) || {};
10429
10429
  e = a.iconName || e, t = a.prefix || t;
@@ -10433,12 +10433,12 @@ function ja(e, t) {
10433
10433
  return r(Ma(i));
10434
10434
  }
10435
10435
  vx(e, t), r(A(A({}, hx), {}, {
10436
- icon: q.showMissingIcons && e ? Vt("missingIconAbstract") || {} : {}
10436
+ icon: K.showMissingIcons && e ? Vt("missingIconAbstract") || {} : {}
10437
10437
  }));
10438
10438
  });
10439
10439
  }
10440
10440
  var ol = function() {
10441
- }, La = q.measurePerformance && Fr && Fr.mark && Fr.measure ? Fr : {
10441
+ }, La = K.measurePerformance && Fr && Fr.mark && Fr.measure ? Fr : {
10442
10442
  mark: ol,
10443
10443
  measure: ol
10444
10444
  }, Mn = 'FA "7.2.0"', bx = function(t) {
@@ -10461,12 +10461,12 @@ function yx(e) {
10461
10461
  return t && n;
10462
10462
  }
10463
10463
  function xx(e) {
10464
- return e && e.classList && e.classList.contains && e.classList.contains(q.replacementClass);
10464
+ return e && e.classList && e.classList.contains && e.classList.contains(K.replacementClass);
10465
10465
  }
10466
10466
  function wx() {
10467
- if (q.autoReplaceSvg === !0)
10467
+ if (K.autoReplaceSvg === !0)
10468
10468
  return Vr.replace;
10469
- var e = Vr[q.autoReplaceSvg];
10469
+ var e = Vr[K.autoReplaceSvg];
10470
10470
  return e || Vr.replace;
10471
10471
  }
10472
10472
  function Sx(e) {
@@ -10500,7 +10500,7 @@ var Vr = {
10500
10500
  if (n.parentNode)
10501
10501
  if (t[1].forEach(function(o) {
10502
10502
  n.parentNode.insertBefore(Md(o), n);
10503
- }), n.getAttribute(on) === null && q.keepOriginalSource) {
10503
+ }), n.getAttribute(on) === null && K.keepOriginalSource) {
10504
10504
  var r = we.createComment(Ex(n));
10505
10505
  n.parentNode.replaceChild(r, n);
10506
10506
  } else
@@ -10508,12 +10508,12 @@ var Vr = {
10508
10508
  },
10509
10509
  nest: function(t) {
10510
10510
  var n = t[0], r = t[1];
10511
- if (~Ni(n).indexOf(q.replacementClass))
10511
+ if (~Ni(n).indexOf(K.replacementClass))
10512
10512
  return Vr.replace(t);
10513
- var o = new RegExp("".concat(q.cssPrefix, "-.*"));
10513
+ var o = new RegExp("".concat(K.cssPrefix, "-.*"));
10514
10514
  if (delete r[0].attributes.id, r[0].attributes.class) {
10515
10515
  var a = r[0].attributes.class.split(" ").reduce(function(s, l) {
10516
- return l === q.replacementClass || l.match(o) ? s.toSvg.push(l) : s.toNode.push(l), s;
10516
+ return l === K.replacementClass || l.match(o) ? s.toSvg.push(l) : s.toNode.push(l), s;
10517
10517
  }, {
10518
10518
  toNode: [],
10519
10519
  toSvg: []
@@ -10536,7 +10536,7 @@ function jd(e, t) {
10536
10536
  n();
10537
10537
  else {
10538
10538
  var r = il;
10539
- q.mutateApproach === Ry && (r = Lt.requestAnimationFrame || il), r(function() {
10539
+ K.mutateApproach === Ry && (r = Lt.requestAnimationFrame || il), r(function() {
10540
10540
  var o = wx(), a = ji.begin("mutate");
10541
10541
  e.map(o), a(), n();
10542
10542
  });
@@ -10551,13 +10551,13 @@ function Da() {
10551
10551
  }
10552
10552
  var to = null;
10553
10553
  function sl(e) {
10554
- if (Ws && q.observeMutations) {
10554
+ if (Ws && K.observeMutations) {
10555
10555
  var t = e.treeCallback, n = t === void 0 ? Dr : t, r = e.nodeCallback, o = r === void 0 ? Dr : r, a = e.pseudoElementsCallback, i = a === void 0 ? Dr : a, s = e.observeMutationsRoot, l = s === void 0 ? we : s;
10556
10556
  to = new Ws(function(u) {
10557
10557
  if (!Li) {
10558
10558
  var c = Dt();
10559
10559
  Pn(u).forEach(function(f) {
10560
- 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) && ~Oy.indexOf(f.attributeName))
10560
+ if (f.type === "childList" && f.addedNodes.length > 0 && !al(f.addedNodes[0]) && (K.searchPseudoElements && i(f.target), n(f.target)), f.type === "attributes" && f.target.parentNode && K.searchPseudoElements && i([f.target], !0), f.type === "attributes" && al(f.target) && ~Oy.indexOf(f.attributeName))
10561
10561
  if (f.attributeName === "class" && yx(f.target)) {
10562
10562
  var g = _o(Ni(f.target)), d = g.prefix, m = g.iconName;
10563
10563
  f.target.setAttribute(Fi, d || c), m && f.target.setAttribute(Ii, m);
@@ -10584,7 +10584,7 @@ function $x(e) {
10584
10584
  }
10585
10585
  function Rx(e) {
10586
10586
  var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "", o = _o(Ni(e));
10587
- 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 = Jy(o.prefix, e.innerText) || Ti(o.prefix, Ed(e.innerText))), !o.iconName && q.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (o.iconName = e.firstChild.data)), o;
10587
+ 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 = Jy(o.prefix, e.innerText) || Ti(o.prefix, Ed(e.innerText))), !o.iconName && K.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (o.iconName = e.firstChild.data)), o;
10588
10588
  }
10589
10589
  function Px(e) {
10590
10590
  var t = Pn(e.attributes).reduce(function(n, r) {
@@ -10635,7 +10635,7 @@ function ll(e) {
10635
10635
  }
10636
10636
  var Ix = Je.styles;
10637
10637
  function Dd(e) {
10638
- var t = q.autoReplaceSvg === "nest" ? ll(e, {
10638
+ var t = K.autoReplaceSvg === "nest" ? ll(e, {
10639
10639
  styleParser: !1
10640
10640
  }) : ll(e);
10641
10641
  return ~t.extra.classes.indexOf(bd) ? Vt("generateLayersText", e, t) : Vt("generateSvgReplacementMutation", e, t);
@@ -10647,10 +10647,10 @@ function ul(e) {
10647
10647
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
10648
10648
  if (!kt) return Promise.resolve();
10649
10649
  var n = we.documentElement.classList, r = function(f) {
10650
- return n.add("".concat(qs, "-").concat(f));
10650
+ return n.add("".concat(Ks, "-").concat(f));
10651
10651
  }, o = function(f) {
10652
- return n.remove("".concat(qs, "-").concat(f));
10653
- }, a = q.autoFetchSvg ? Ax() : Wc.concat(Object.keys(Ix));
10652
+ return n.remove("".concat(Ks, "-").concat(f));
10653
+ }, a = K.autoFetchSvg ? Ax() : Wc.concat(Object.keys(Ix));
10654
10654
  a.includes("fa") || a.push("fa");
10655
10655
  var i = [".".concat(bd, ":not([").concat(on, "])")].concat(a.map(function(c) {
10656
10656
  return ".".concat(c, ":not([").concat(on, "])");
@@ -10810,7 +10810,7 @@ var _x = function(t) {
10810
10810
  }), [{
10811
10811
  tag: "span",
10812
10812
  attributes: {
10813
- class: ["".concat(q.cssPrefix, "-layers")].concat(tt(a)).join(" ")
10813
+ class: ["".concat(K.cssPrefix, "-layers")].concat(tt(a)).join(" ")
10814
10814
  },
10815
10815
  children: i
10816
10816
  }];
@@ -10837,7 +10837,7 @@ var _x = function(t) {
10837
10837
  extra: {
10838
10838
  attributes: s,
10839
10839
  styles: u,
10840
- classes: ["".concat(q.cssPrefix, "-layers-counter")].concat(tt(a))
10840
+ classes: ["".concat(K.cssPrefix, "-layers-counter")].concat(tt(a))
10841
10841
  }
10842
10842
  });
10843
10843
  });
@@ -10862,7 +10862,7 @@ var _x = function(t) {
10862
10862
  extra: {
10863
10863
  attributes: u,
10864
10864
  styles: f,
10865
- classes: ["".concat(q.cssPrefix, "-layers-text")].concat(tt(s))
10865
+ classes: ["".concat(K.cssPrefix, "-layers-text")].concat(tt(s))
10866
10866
  }
10867
10867
  });
10868
10868
  });
@@ -10994,7 +10994,7 @@ function gl(e) {
10994
10994
  var n;
10995
10995
  if (t)
10996
10996
  n = e;
10997
- else if (q.searchPseudoElementsFullScan)
10997
+ else if (K.searchPseudoElementsFullScan)
10998
10998
  n = e.querySelectorAll("*");
10999
10999
  else {
11000
11000
  var r = /* @__PURE__ */ new Set(), o = Lr(document.styleSheets), a;
@@ -11023,7 +11023,7 @@ function gl(e) {
11023
11023
  s.f();
11024
11024
  }
11025
11025
  } catch (p) {
11026
- q.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href, " (").concat(p.message, `)
11026
+ K.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href, " (").concat(p.message, `)
11027
11027
  If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
11028
11028
  }
11029
11029
  }
@@ -11060,10 +11060,10 @@ var Yx = {
11060
11060
  provides: function(t) {
11061
11061
  t.pseudoElements2svg = function(n) {
11062
11062
  var r = n.node, o = r === void 0 ? we : r;
11063
- q.searchPseudoElements && gl(o);
11063
+ K.searchPseudoElements && gl(o);
11064
11064
  };
11065
11065
  }
11066
- }, ml = !1, qx = {
11066
+ }, ml = !1, Kx = {
11067
11067
  mixout: function() {
11068
11068
  return {
11069
11069
  dom: {
@@ -11131,7 +11131,7 @@ var Yx = {
11131
11131
  }
11132
11132
  return r;
11133
11133
  }, n);
11134
- }, Kx = {
11134
+ }, qx = {
11135
11135
  mixout: function() {
11136
11136
  return {
11137
11137
  parse: {
@@ -11337,7 +11337,7 @@ var Jx = {
11337
11337
  }
11338
11338
  };
11339
11339
  }
11340
- }, e1 = [Wy, Tx, Mx, jx, Lx, Yx, qx, Kx, Jx, Qx, Zx];
11340
+ }, e1 = [Wy, Tx, Mx, jx, Lx, Yx, Kx, qx, Jx, Qx, Zx];
11341
11341
  sx(e1, {
11342
11342
  mixoutsTo: Ge
11343
11343
  });
@@ -11672,7 +11672,7 @@ var b1 = {
11672
11672
  iconName: "angles-left",
11673
11673
  icon: [448, 512, [171, "angle-double-left"], "f100", "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L269.3 256 406.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
11674
11674
  };
11675
- const N1 = fe(
11675
+ const N1 = de(
11676
11676
  "group flex w-full items-center justify-between px-4 py-3 text-left text-sm font-medium transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/75 cursor-pointer z-10 relative",
11677
11677
  {
11678
11678
  variants: {
@@ -11688,7 +11688,7 @@ const N1 = fe(
11688
11688
  variant: "soft"
11689
11689
  }
11690
11690
  }
11691
- ), O1 = fe(
11691
+ ), O1 = de(
11692
11692
  "px-4 pb-4 pt-2 text-sm transition-colors",
11693
11693
  {
11694
11694
  variants: {
@@ -11774,7 +11774,7 @@ const N1 = fe(
11774
11774
  }
11775
11775
  )
11776
11776
  ] });
11777
- }, T1 = fe(
11777
+ }, T1 = de(
11778
11778
  "flex w-full rounded-md border py-2.5 px-4 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 disabled:cursor-not-allowed disabled:opacity-50 transition-all",
11779
11779
  {
11780
11780
  variants: {
@@ -11795,7 +11795,7 @@ const N1 = fe(
11795
11795
  error: !1
11796
11796
  }
11797
11797
  }
11798
- ), Sl = fe(
11798
+ ), Sl = de(
11799
11799
  "absolute top-1/2 -translate-y-1/2 transition-colors",
11800
11800
  {
11801
11801
  variants: {
@@ -11893,7 +11893,7 @@ const N1 = fe(
11893
11893
  }
11894
11894
  );
11895
11895
  M1.displayName = "Input";
11896
- const j1 = fe(
11896
+ const j1 = de(
11897
11897
  "inline-flex items-center gap-1.5 font-semibold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 rounded-sm cursor-pointer",
11898
11898
  {
11899
11899
  variants: {
@@ -11975,7 +11975,7 @@ const j1 = fe(
11975
11975
  ]
11976
11976
  }
11977
11977
  );
11978
- }, L1 = fe(
11978
+ }, L1 = de(
11979
11979
  "relative w-full cursor-pointer rounded-md py-2.5 pl-4 pr-10 text-left text-sm font-medium shadow-sm ring-1 ring-inset transition-all focus:outline-none focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400 sm:leading-6",
11980
11980
  {
11981
11981
  variants: {
@@ -11996,7 +11996,7 @@ const j1 = fe(
11996
11996
  error: !1
11997
11997
  }
11998
11998
  }
11999
- ), RS = ({
11999
+ ), PS = ({
12000
12000
  options: e,
12001
12001
  value: t,
12002
12002
  onChange: n,
@@ -12086,7 +12086,7 @@ const j1 = fe(
12086
12086
  }
12087
12087
  )
12088
12088
  ] });
12089
- }, D1 = fe(
12089
+ }, D1 = de(
12090
12090
  "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",
12091
12091
  {
12092
12092
  variants: {
@@ -12108,7 +12108,7 @@ const j1 = fe(
12108
12108
  size: "md"
12109
12109
  }
12110
12110
  }
12111
- ), V1 = fe(
12111
+ ), V1 = de(
12112
12112
  "pointer-events-none inline-block rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out transform",
12113
12113
  {
12114
12114
  variants: {
@@ -12184,7 +12184,7 @@ const j1 = fe(
12184
12184
  ]
12185
12185
  }
12186
12186
  );
12187
- }, z1 = fe(
12187
+ }, z1 = de(
12188
12188
  "flex w-full min-h-[80px] rounded-md border py-2.5 px-4 text-sm ring-offset-white dark:ring-offset-gray-950 placeholder:text-gray-400 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 disabled:cursor-not-allowed disabled:opacity-50 transition-colors custom-scrollbar",
12189
12189
  {
12190
12190
  variants: {
@@ -12249,7 +12249,7 @@ const j1 = fe(
12249
12249
  }
12250
12250
  );
12251
12251
  H1.displayName = "Textarea";
12252
- const PS = ({
12252
+ const FS = ({
12253
12253
  items: e,
12254
12254
  allowMultiple: t = !1,
12255
12255
  variant: n = "soft",
@@ -12278,7 +12278,7 @@ const PS = ({
12278
12278
  }
12279
12279
  )
12280
12280
  ] }, u.id)) });
12281
- }, El = fe(
12281
+ }, El = de(
12282
12282
  "flex items-center text-sm font-medium transition-colors",
12283
12283
  {
12284
12284
  variants: {
@@ -12292,7 +12292,7 @@ const PS = ({
12292
12292
  variant: "default"
12293
12293
  }
12294
12294
  }
12295
- ), FS = ({
12295
+ ), IS = ({
12296
12296
  items: e,
12297
12297
  separator: t,
12298
12298
  showHomeIcon: n,
@@ -12359,7 +12359,7 @@ const PS = ({
12359
12359
  ] }, s.href);
12360
12360
  })
12361
12361
  ] }) });
12362
- }, B1 = fe(
12362
+ }, B1 = de(
12363
12363
  "relative flex flex-col gap-4 overflow-hidden rounded-lg border p-6 shadow-sm transition-all md:flex-row md:items-center md:justify-between",
12364
12364
  {
12365
12365
  variants: {
@@ -12374,7 +12374,7 @@ const PS = ({
12374
12374
  variant: "primary"
12375
12375
  }
12376
12376
  }
12377
- ), IS = ({
12377
+ ), AS = ({
12378
12378
  title: e,
12379
12379
  description: t,
12380
12380
  action: n,
@@ -12403,7 +12403,7 @@ const PS = ({
12403
12403
  children: /* @__PURE__ */ v.jsx(Ce, { icon: no, className: "h-4 w-4" })
12404
12404
  }
12405
12405
  ) })
12406
- ] }), G1 = fe(
12406
+ ] }), G1 = de(
12407
12407
  "flex flex-col items-center justify-center text-center p-8 rounded-lg transition-colors",
12408
12408
  {
12409
12409
  variants: {
@@ -12416,7 +12416,7 @@ const PS = ({
12416
12416
  variant: "dashed"
12417
12417
  }
12418
12418
  }
12419
- ), AS = ({
12419
+ ), NS = ({
12420
12420
  title: e,
12421
12421
  description: t,
12422
12422
  icon: n,
@@ -12429,7 +12429,7 @@ const PS = ({
12429
12429
  /* @__PURE__ */ v.jsx("h3", { className: "text-lg font-semibold text-gray-900", children: e }),
12430
12430
  t && /* @__PURE__ */ v.jsx("p", { className: "mt-1 max-w-sm text-sm text-gray-500", children: t }),
12431
12431
  r && /* @__PURE__ */ v.jsx("div", { className: "mt-6", children: r })
12432
- ] }), W1 = fe(
12432
+ ] }), W1 = de(
12433
12433
  "flex flex-col items-center justify-center text-center p-8 rounded-lg transition-colors",
12434
12434
  {
12435
12435
  variants: {
@@ -12442,7 +12442,7 @@ const PS = ({
12442
12442
  variant: "card"
12443
12443
  }
12444
12444
  }
12445
- ), NS = ({
12445
+ ), OS = ({
12446
12446
  title: e = "An Error Occurred",
12447
12447
  description: t,
12448
12448
  onRetry: n,
@@ -12479,7 +12479,7 @@ const PS = ({
12479
12479
  children: "Try Again"
12480
12480
  }
12481
12481
  ) : null) })
12482
- ] }), Cl = fe("flex items-center gap-2 transition-all", {
12482
+ ] }), Cl = de("flex items-center gap-2 transition-all", {
12483
12483
  variants: {
12484
12484
  state: {
12485
12485
  default: "",
@@ -12489,7 +12489,7 @@ const PS = ({
12489
12489
  }
12490
12490
  },
12491
12491
  defaultVariants: { state: "default" }
12492
- }), $l = fe("h-8 w-8 object-contain transition-all rounded-full", {
12492
+ }), $l = de("h-8 w-8 object-contain transition-all rounded-full", {
12493
12493
  variants: {
12494
12494
  state: {
12495
12495
  default: "",
@@ -12573,7 +12573,7 @@ const PS = ({
12573
12573
  }
12574
12574
  );
12575
12575
  U1.displayName = "MatchupCard";
12576
- const Y1 = fe(
12576
+ const Y1 = de(
12577
12577
  "w-full z-20 shadow-lg backdrop-blur-sm transition-all",
12578
12578
  {
12579
12579
  variants: {
@@ -12592,7 +12592,7 @@ const Y1 = fe(
12592
12592
  themeMode: "light"
12593
12593
  }
12594
12594
  }
12595
- ), q1 = Tl(
12595
+ ), K1 = Tl(
12596
12596
  ({
12597
12597
  title: e,
12598
12598
  subtitle: t,
@@ -12623,8 +12623,8 @@ const Y1 = fe(
12623
12623
  }
12624
12624
  )
12625
12625
  );
12626
- q1.displayName = "ActionBar";
12627
- const K1 = 864e5, X1 = 6e4, J1 = 36e5, Rl = /* @__PURE__ */ Symbol.for("constructDateFrom");
12626
+ K1.displayName = "ActionBar";
12627
+ const q1 = 864e5, X1 = 6e4, J1 = 36e5, Rl = /* @__PURE__ */ Symbol.for("constructDateFrom");
12628
12628
  function wn(e, t) {
12629
12629
  return typeof e == "function" ? e(t) : e && typeof e == "object" && Rl in e ? e[Rl](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
12630
12630
  }
@@ -12692,7 +12692,7 @@ function ew(e, t, n) {
12692
12692
  e,
12693
12693
  t
12694
12694
  ), a = Fl(r), i = Fl(o), s = +a - Pl(a), l = +i - Pl(i);
12695
- return Math.round((s - l) / K1);
12695
+ return Math.round((s - l) / q1);
12696
12696
  }
12697
12697
  function Wn(e, t) {
12698
12698
  const n = +De(e) - +De(t);
@@ -12840,7 +12840,7 @@ const pw = (e) => {
12840
12840
  }, 1e3);
12841
12841
  return () => clearInterval(o);
12842
12842
  }, [e]), n;
12843
- }, Al = fe("font-semibold uppercase tracking-wider mb-4", {
12843
+ }, Al = de("font-semibold uppercase tracking-wider mb-4", {
12844
12844
  variants: {
12845
12845
  size: {
12846
12846
  xs: "text-sm",
@@ -12858,7 +12858,7 @@ const pw = (e) => {
12858
12858
  size: "md",
12859
12859
  themeMode: "light"
12860
12860
  }
12861
- }), hw = fe(
12861
+ }), hw = de(
12862
12862
  "font-mono bg-clip-text text-transparent animate-pulse",
12863
12863
  {
12864
12864
  variants: {
@@ -12879,7 +12879,7 @@ const pw = (e) => {
12879
12879
  themeMode: "light"
12880
12880
  }
12881
12881
  }
12882
- ), vw = fe("uppercase tracking-widest mt-1", {
12882
+ ), vw = de("uppercase tracking-widest mt-1", {
12883
12883
  variants: {
12884
12884
  size: {
12885
12885
  xs: "text-[10px]",
@@ -12976,7 +12976,7 @@ const pw = (e) => {
12976
12976
  }
12977
12977
  );
12978
12978
  bw.displayName = "Countdown";
12979
- const yw = fe(
12979
+ const yw = de(
12980
12980
  "relative w-full transform overflow-hidden rounded-2xl p-6 text-left align-middle shadow-xl transition-all border",
12981
12981
  {
12982
12982
  variants: {
@@ -13008,9 +13008,9 @@ const yw = fe(
13008
13008
  status: "default"
13009
13009
  }
13010
13010
  }
13011
- ), xw = fe("text-xl font-bold leading-6 text-inherit"), ww = fe("mt-1 text-sm text-inherit opacity-75"), Sw = fe(
13011
+ ), xw = de("text-xl font-bold leading-6 text-inherit"), ww = de("mt-1 text-sm text-inherit opacity-75"), Sw = de(
13012
13012
  "inline-flex rounded-md bg-transparent text-inherit opacity-50 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 transition-opacity"
13013
- ), OS = ({
13013
+ ), _S = ({
13014
13014
  isOpen: e,
13015
13015
  onClose: t,
13016
13016
  title: n,
@@ -13082,37 +13082,45 @@ const yw = fe(
13082
13082
  )
13083
13083
  }
13084
13084
  ) }) })
13085
- ] }) }), kw = $.forwardRef(
13086
- ({ className: e, companyName: t = "Ball Collaborative", ...n }, r) => {
13087
- const o = (/* @__PURE__ */ new Date()).getFullYear();
13085
+ ] }) }), kw = de(
13086
+ "w-full py-6 mt-auto transition-colors duration-200",
13087
+ {
13088
+ variants: {
13089
+ variant: {
13090
+ // Standard elevated surface that matches the app's default backgrounds
13091
+ default: "bg-gray-50 text-gray-500 border-t border-gray-200 dark:bg-gray-900/50 dark:text-gray-400 dark:border-gray-800",
13092
+ // Deep brand color for high contrast
13093
+ primary: "bg-primary-900 text-primary-200 dark:bg-primary-950 dark:text-primary-400",
13094
+ // No background or border, text adapts to whatever surface it's placed on
13095
+ transparent: "bg-transparent text-gray-500 dark:text-gray-400"
13096
+ }
13097
+ },
13098
+ defaultVariants: {
13099
+ variant: "default"
13100
+ }
13101
+ }
13102
+ ), Ew = $.forwardRef(
13103
+ ({ className: e, variant: t, companyName: n = "Ball Collaborative", ...r }, o) => {
13104
+ const a = (/* @__PURE__ */ new Date()).getFullYear();
13088
13105
  return /* @__PURE__ */ v.jsx(
13089
13106
  "footer",
13090
13107
  {
13091
- ref: r,
13092
- className: _("w-full py-4 mt-auto", e),
13093
- ...n,
13094
- children: /* @__PURE__ */ v.jsxs(
13095
- "p",
13096
- {
13097
- className: _(
13098
- "text-center text-xs text-gray-100",
13099
- e && "text-inherit"
13100
- ),
13101
- children: [
13102
- "© ",
13103
- o,
13104
- " ",
13105
- t,
13106
- ", All rights reserved."
13107
- ]
13108
- }
13109
- )
13108
+ ref: o,
13109
+ className: _(kw({ variant: t }), e),
13110
+ ...r,
13111
+ children: /* @__PURE__ */ v.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ v.jsxs("p", { className: "text-center text-sm font-medium text-inherit", children: [
13112
+ "© ",
13113
+ a,
13114
+ " ",
13115
+ n,
13116
+ ", All rights reserved."
13117
+ ] }) })
13110
13118
  }
13111
13119
  );
13112
13120
  }
13113
13121
  );
13114
- kw.displayName = "Footer";
13115
- const Ew = fe(
13122
+ Ew.displayName = "Footer";
13123
+ const Cw = de(
13116
13124
  "w-full z-30 border-b transition-colors duration-200",
13117
13125
  {
13118
13126
  variants: {
@@ -13137,7 +13145,7 @@ const Ew = fe(
13137
13145
  position: "sticky"
13138
13146
  }
13139
13147
  }
13140
- ), _S = ({
13148
+ ), TS = ({
13141
13149
  logoSrc: e,
13142
13150
  brandName: t,
13143
13151
  items: n,
@@ -13155,16 +13163,16 @@ const Ew = fe(
13155
13163
  ...m
13156
13164
  }) => {
13157
13165
  const p = (a?.notificationCount || 0) > 0, b = (g ?? (c === "white" ? "light" : "dark")) === "dark", x = c === "slate" || c === "primary" || c === "white" && b || c === "transparent" && b, y = {
13158
- brand: x ? "text-white hover:text-gray-200" : "text-gray-900 hover:text-gray-600",
13159
- linkBase: x ? "text-gray-300 hover:text-white" : "text-gray-600 hover:text-gray-900",
13160
- linkActive: x ? "text-primary-300 font-semibold hover:text-primary-200" : "text-primary-600 font-semibold hover:text-primary-700",
13161
- hamburger: x ? "text-gray-300 hover:bg-white/10 hover:text-white" : "text-gray-500 hover:bg-gray-100 hover:text-gray-700"
13166
+ brand: x ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
13167
+ linkBase: x ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
13168
+ linkActive: x ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
13169
+ hamburger: x ? "text-gray-300 dark:text-gray-300 hover:bg-white/10 dark:hover:bg-white/10 hover:text-white dark:hover:text-white" : "text-gray-500 dark:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-100 hover:text-gray-700 dark:hover:text-gray-700"
13162
13170
  };
13163
13171
  return /* @__PURE__ */ v.jsx(
13164
13172
  Cc,
13165
13173
  {
13166
13174
  as: "nav",
13167
- className: _(Ew({ variant: c, position: f }), u),
13175
+ className: _(Cw({ variant: c, position: f }), u),
13168
13176
  ...m,
13169
13177
  children: ({ open: k, close: w }) => /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
13170
13178
  /* @__PURE__ */ v.jsxs("div", { className: "container mx-auto flex items-center justify-between px-4 h-16", children: [
@@ -13175,8 +13183,9 @@ const Ew = fe(
13175
13183
  href: "/",
13176
13184
  to: "/",
13177
13185
  variant: "neutral",
13186
+ underline: "none",
13178
13187
  className: _(
13179
- "flex items-center gap-3 transition-opacity no-underline",
13188
+ "flex items-center gap-3 transition-opacity",
13180
13189
  y.brand
13181
13190
  ),
13182
13191
  children: [
@@ -13202,8 +13211,9 @@ const Ew = fe(
13202
13211
  href: C.path,
13203
13212
  to: C.path,
13204
13213
  variant: "neutral",
13214
+ underline: "none",
13205
13215
  className: _(
13206
- "text-sm font-medium transition-colors duration-200 no-underline",
13216
+ "text-sm transition-colors duration-200",
13207
13217
  I ? y.linkActive : y.linkBase
13208
13218
  ),
13209
13219
  children: C.label
@@ -13273,15 +13283,20 @@ const Ew = fe(
13273
13283
  }
13274
13284
  ) }),
13275
13285
  l && /* @__PURE__ */ v.jsx(jr, { children: ({ focus: C }) => /* @__PURE__ */ v.jsxs(
13276
- "button",
13286
+ "div",
13277
13287
  {
13278
13288
  onClick: (I) => {
13279
13289
  I.preventDefault(), l();
13280
13290
  },
13291
+ role: "button",
13292
+ tabIndex: 0,
13281
13293
  className: _(
13282
13294
  "flex w-full items-center justify-between px-4 py-2 text-sm text-gray-700 dark:text-gray-200 cursor-pointer transition-colors",
13283
13295
  C && "bg-gray-50 dark:bg-gray-700"
13284
13296
  ),
13297
+ onKeyDown: (I) => {
13298
+ (I.key === "Enter" || I.key === " ") && (I.preventDefault(), l());
13299
+ },
13285
13300
  children: [
13286
13301
  /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2", children: [
13287
13302
  /* @__PURE__ */ v.jsx(
@@ -13419,8 +13434,9 @@ const Ew = fe(
13419
13434
  to: C.path,
13420
13435
  onClick: () => w(),
13421
13436
  variant: "neutral",
13437
+ underline: "none",
13422
13438
  className: _(
13423
- "-m-3 flex items-center rounded-md p-3 no-underline transition-colors",
13439
+ "-m-3 flex items-center rounded-md p-3 transition-colors",
13424
13440
  "hover:bg-gray-50 dark:hover:bg-gray-700",
13425
13441
  I ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
13426
13442
  ),
@@ -13463,11 +13479,16 @@ const Ew = fe(
13463
13479
  }
13464
13480
  ),
13465
13481
  l && /* @__PURE__ */ v.jsxs(
13466
- "button",
13482
+ "div",
13467
13483
  {
13468
13484
  onClick: (C) => {
13469
13485
  C.preventDefault(), l();
13470
13486
  },
13487
+ role: "button",
13488
+ tabIndex: 0,
13489
+ onKeyDown: (C) => {
13490
+ (C.key === "Enter" || C.key === " ") && (C.preventDefault(), l());
13491
+ },
13471
13492
  className: "flex w-full items-center justify-between rounded-md px-4 py-2 text-base transition-colors cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100",
13472
13493
  children: [
13473
13494
  /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-3 font-medium", children: [
@@ -13518,7 +13539,7 @@ const Ew = fe(
13518
13539
  ] })
13519
13540
  }
13520
13541
  );
13521
- }, Cw = fe("w-full caption-bottom", {
13542
+ }, $w = de("w-full caption-bottom", {
13522
13543
  variants: {
13523
13544
  size: {
13524
13545
  sm: "text-xs",
@@ -13534,13 +13555,13 @@ const Ew = fe(
13534
13555
  "table",
13535
13556
  {
13536
13557
  ref: r,
13537
- className: _(Cw({ size: t }), e),
13558
+ className: _($w({ size: t }), e),
13538
13559
  ...n
13539
13560
  }
13540
13561
  ) })
13541
13562
  );
13542
13563
  Yd.displayName = "Table";
13543
- const qd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13564
+ const Kd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13544
13565
  "thead",
13545
13566
  {
13546
13567
  ref: n,
@@ -13551,8 +13572,8 @@ const qd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13551
13572
  ...t
13552
13573
  }
13553
13574
  ));
13554
- qd.displayName = "TableHeader";
13555
- const Kd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13575
+ Kd.displayName = "TableHeader";
13576
+ const qd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13556
13577
  "tbody",
13557
13578
  {
13558
13579
  ref: n,
@@ -13560,8 +13581,8 @@ const Kd = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13560
13581
  ...t
13561
13582
  }
13562
13583
  ));
13563
- Kd.displayName = "TableBody";
13564
- const $w = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13584
+ qd.displayName = "TableBody";
13585
+ const Rw = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13565
13586
  "tfoot",
13566
13587
  {
13567
13588
  ref: n,
@@ -13572,7 +13593,7 @@ const $w = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13572
13593
  ...t
13573
13594
  }
13574
13595
  ));
13575
- $w.displayName = "TableFooter";
13596
+ Rw.displayName = "TableFooter";
13576
13597
  const zr = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13577
13598
  "tr",
13578
13599
  {
@@ -13609,7 +13630,7 @@ const za = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13609
13630
  }
13610
13631
  ));
13611
13632
  za.displayName = "TableCell";
13612
- const Rw = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13633
+ const Pw = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13613
13634
  "caption",
13614
13635
  {
13615
13636
  ref: n,
@@ -13617,7 +13638,7 @@ const Rw = V.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
13617
13638
  ...t
13618
13639
  }
13619
13640
  ));
13620
- Rw.displayName = "TableCaption";
13641
+ Pw.displayName = "TableCaption";
13621
13642
  function Nt(e, t) {
13622
13643
  return typeof e == "function" ? e(t) : e;
13623
13644
  }
@@ -13632,10 +13653,10 @@ function Be(e, t) {
13632
13653
  function Mo(e) {
13633
13654
  return e instanceof Function;
13634
13655
  }
13635
- function Pw(e) {
13656
+ function Fw(e) {
13636
13657
  return Array.isArray(e) && e.every((t) => typeof t == "number");
13637
13658
  }
13638
- function Fw(e, t) {
13659
+ function Iw(e, t) {
13639
13660
  const n = [], r = (o) => {
13640
13661
  o.forEach((a) => {
13641
13662
  n.push(a);
@@ -13679,7 +13700,7 @@ function Z(e, t, n, r) {
13679
13700
  onChange: r
13680
13701
  };
13681
13702
  }
13682
- function Iw(e, t, n, r) {
13703
+ function Aw(e, t, n, r) {
13683
13704
  const o = () => {
13684
13705
  var i;
13685
13706
  return (i = a.getValue()) != null ? i : e.options.renderFallbackValue;
@@ -13702,7 +13723,7 @@ function Iw(e, t, n, r) {
13702
13723
  i.createCell == null || i.createCell(a, n, t, e);
13703
13724
  }, {}), a;
13704
13725
  }
13705
- function Aw(e, t, n, r) {
13726
+ function Nw(e, t, n, r) {
13706
13727
  var o, a;
13707
13728
  const s = {
13708
13729
  ...e._getDefaultColumnDef(),
@@ -13772,7 +13793,7 @@ function Nl(e, t, n) {
13772
13793
  i.createHeader == null || i.createHeader(a, e);
13773
13794
  }), a;
13774
13795
  }
13775
- const Nw = {
13796
+ const Ow = {
13776
13797
  createTable: (e) => {
13777
13798
  e.getHeaderGroups = Q(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, r, o) => {
13778
13799
  var a, i;
@@ -13857,7 +13878,7 @@ function Nr(e, t, n, r) {
13857
13878
  });
13858
13879
  return f((o = (a = l[0]) == null ? void 0 : a.headers) != null ? o : []), l;
13859
13880
  }
13860
- const Ow = (e, t, n, r, o, a, i) => {
13881
+ const _w = (e, t, n, r, o, a, i) => {
13861
13882
  let s = {
13862
13883
  id: t,
13863
13884
  index: r,
@@ -13885,7 +13906,7 @@ const Ow = (e, t, n, r, o, a, i) => {
13885
13906
  return (u = s.getValue(l)) != null ? u : e.options.renderFallbackValue;
13886
13907
  },
13887
13908
  subRows: [],
13888
- getLeafRows: () => Fw(s.subRows, (l) => l.subRows),
13909
+ getLeafRows: () => Iw(s.subRows, (l) => l.subRows),
13889
13910
  getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
13890
13911
  getParentRows: () => {
13891
13912
  let l = [], u = s;
@@ -13896,7 +13917,7 @@ const Ow = (e, t, n, r, o, a, i) => {
13896
13917
  }
13897
13918
  return l.reverse();
13898
13919
  },
13899
- getAllCells: Q(() => [e.getAllLeafColumns()], (l) => l.map((u) => Iw(e, s, u, u.id)), Z(e.options, "debugRows", "getAllCells")),
13920
+ getAllCells: Q(() => [e.getAllLeafColumns()], (l) => l.map((u) => Aw(e, s, u, u.id)), Z(e.options, "debugRows", "getAllCells")),
13900
13921
  _getAllCellsByColumnId: Q(() => [s.getAllCells()], (l) => l.reduce((u, c) => (u[c.column.id] = c, u), {}), Z(e.options, "debugRows", "getAllCellsByColumnId"))
13901
13922
  };
13902
13923
  for (let l = 0; l < e._features.length; l++) {
@@ -13904,7 +13925,7 @@ const Ow = (e, t, n, r, o, a, i) => {
13904
13925
  u == null || u.createRow == null || u.createRow(s, e);
13905
13926
  }
13906
13927
  return s;
13907
- }, _w = {
13928
+ }, Tw = {
13908
13929
  createColumn: (e, t) => {
13909
13930
  e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
13910
13931
  if (e._getFacetedMinMaxValues)
@@ -13974,7 +13995,7 @@ const pt = {
13974
13995
  function Qe(e) {
13975
13996
  return e == null || e === "";
13976
13997
  }
13977
- const Tw = {
13998
+ const Mw = {
13978
13999
  getDefaultColumnDef: () => ({
13979
14000
  filterFn: "auto"
13980
14001
  }),
@@ -14052,54 +14073,54 @@ const Tw = {
14052
14073
  function Ol(e, t, n) {
14053
14074
  return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || typeof t > "u" || typeof t == "string" && !t;
14054
14075
  }
14055
- const Mw = (e, t, n) => n.reduce((r, o) => {
14076
+ const jw = (e, t, n) => n.reduce((r, o) => {
14056
14077
  const a = o.getValue(e);
14057
14078
  return r + (typeof a == "number" ? a : 0);
14058
- }, 0), jw = (e, t, n) => {
14079
+ }, 0), Lw = (e, t, n) => {
14059
14080
  let r;
14060
14081
  return n.forEach((o) => {
14061
14082
  const a = o.getValue(e);
14062
14083
  a != null && (r > a || r === void 0 && a >= a) && (r = a);
14063
14084
  }), r;
14064
- }, Lw = (e, t, n) => {
14085
+ }, Dw = (e, t, n) => {
14065
14086
  let r;
14066
14087
  return n.forEach((o) => {
14067
14088
  const a = o.getValue(e);
14068
14089
  a != null && (r < a || r === void 0 && a >= a) && (r = a);
14069
14090
  }), r;
14070
- }, Dw = (e, t, n) => {
14091
+ }, Vw = (e, t, n) => {
14071
14092
  let r, o;
14072
14093
  return n.forEach((a) => {
14073
14094
  const i = a.getValue(e);
14074
14095
  i != null && (r === void 0 ? i >= i && (r = o = i) : (r > i && (r = i), o < i && (o = i)));
14075
14096
  }), [r, o];
14076
- }, Vw = (e, t) => {
14097
+ }, zw = (e, t) => {
14077
14098
  let n = 0, r = 0;
14078
14099
  if (t.forEach((o) => {
14079
14100
  let a = o.getValue(e);
14080
14101
  a != null && (a = +a) >= a && (++n, r += a);
14081
14102
  }), n) return r / n;
14082
- }, zw = (e, t) => {
14103
+ }, Hw = (e, t) => {
14083
14104
  if (!t.length)
14084
14105
  return;
14085
14106
  const n = t.map((a) => a.getValue(e));
14086
- if (!Pw(n))
14107
+ if (!Fw(n))
14087
14108
  return;
14088
14109
  if (n.length === 1)
14089
14110
  return n[0];
14090
14111
  const r = Math.floor(n.length / 2), o = n.sort((a, i) => a - i);
14091
14112
  return n.length % 2 !== 0 ? o[r] : (o[r - 1] + o[r]) / 2;
14092
- }, Hw = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), Bw = (e, t) => new Set(t.map((n) => n.getValue(e))).size, Gw = (e, t) => t.length, ra = {
14093
- sum: Mw,
14094
- min: jw,
14095
- max: Lw,
14096
- extent: Dw,
14097
- mean: Vw,
14098
- median: zw,
14099
- unique: Hw,
14100
- uniqueCount: Bw,
14101
- count: Gw
14102
- }, Ww = {
14113
+ }, Bw = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), Gw = (e, t) => new Set(t.map((n) => n.getValue(e))).size, Ww = (e, t) => t.length, ra = {
14114
+ sum: jw,
14115
+ min: Lw,
14116
+ max: Dw,
14117
+ extent: Vw,
14118
+ mean: zw,
14119
+ median: Hw,
14120
+ unique: Bw,
14121
+ uniqueCount: Gw,
14122
+ count: Ww
14123
+ }, Uw = {
14103
14124
  getDefaultColumnDef: () => ({
14104
14125
  aggregatedCell: (e) => {
14105
14126
  var t, n;
@@ -14166,13 +14187,13 @@ const Mw = (e, t, n) => n.reduce((r, o) => {
14166
14187
  };
14167
14188
  }
14168
14189
  };
14169
- function Uw(e, t, n) {
14190
+ function Yw(e, t, n) {
14170
14191
  if (!(t != null && t.length) || !n)
14171
14192
  return e;
14172
14193
  const r = e.filter((a) => !t.includes(a.id));
14173
14194
  return n === "remove" ? r : [...t.map((a) => e.find((i) => i.id === a)).filter(Boolean), ...r];
14174
14195
  }
14175
- const Yw = {
14196
+ const Kw = {
14176
14197
  getInitialState: (e) => ({
14177
14198
  columnOrder: [],
14178
14199
  ...e
@@ -14206,7 +14227,7 @@ const Yw = {
14206
14227
  }
14207
14228
  a = [...a, ...s];
14208
14229
  }
14209
- return Uw(a, n, r);
14230
+ return Yw(a, n, r);
14210
14231
  }, Z(e.options, "debugTable", "_getOrderColumnsFn"));
14211
14232
  }
14212
14233
  }, oa = () => ({
@@ -14289,7 +14310,7 @@ const Yw = {
14289
14310
  }, Z(e.options, "debugColumns", "getCenterLeafColumns"));
14290
14311
  }
14291
14312
  };
14292
- function Kw(e) {
14313
+ function Xw(e) {
14293
14314
  return e || (typeof document < "u" ? document : null);
14294
14315
  }
14295
14316
  const Or = {
@@ -14303,7 +14324,7 @@ const Or = {
14303
14324
  deltaPercentage: null,
14304
14325
  isResizingColumn: !1,
14305
14326
  columnSizingStart: []
14306
- }), Xw = {
14327
+ }), Jw = {
14307
14328
  getDefaultColumnDef: () => Or,
14308
14329
  getInitialState: (e) => ({
14309
14330
  columnSizing: {},
@@ -14383,7 +14404,7 @@ const Or = {
14383
14404
  deltaPercentage: null,
14384
14405
  columnSizingStart: []
14385
14406
  }));
14386
- }, d = Kw(n), m = {
14407
+ }, d = Xw(n), m = {
14387
14408
  moveHandler: (b) => f(b.clientX),
14388
14409
  upHandler: (b) => {
14389
14410
  d?.removeEventListener("mousemove", m.moveHandler), d?.removeEventListener("mouseup", m.upHandler), g(b.clientX);
@@ -14394,7 +14415,7 @@ const Or = {
14394
14415
  var x;
14395
14416
  d?.removeEventListener("touchmove", p.moveHandler), d?.removeEventListener("touchend", p.upHandler), b.cancelable && (b.preventDefault(), b.stopPropagation()), g((x = b.touches[0]) == null ? void 0 : x.clientX);
14396
14417
  }
14397
- }, h = Jw() ? {
14418
+ }, h = Qw() ? {
14398
14419
  passive: !1
14399
14420
  } : !1;
14400
14421
  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) => ({
@@ -14432,7 +14453,7 @@ const Or = {
14432
14453
  }
14433
14454
  };
14434
14455
  let _r = null;
14435
- function Jw() {
14456
+ function Qw() {
14436
14457
  if (typeof _r == "boolean") return _r;
14437
14458
  let e = !1;
14438
14459
  try {
@@ -14451,7 +14472,7 @@ function Jw() {
14451
14472
  function ia(e) {
14452
14473
  return e.type === "touchstart";
14453
14474
  }
14454
- const Qw = {
14475
+ const Zw = {
14455
14476
  getInitialState: (e) => ({
14456
14477
  columnVisibility: {},
14457
14478
  ...e
@@ -14499,14 +14520,14 @@ const Qw = {
14499
14520
  function Un(e, t) {
14500
14521
  return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
14501
14522
  }
14502
- const Zw = {
14523
+ const eS = {
14503
14524
  createTable: (e) => {
14504
14525
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
14505
14526
  if (e._getGlobalFacetedMinMaxValues)
14506
14527
  return e._getGlobalFacetedMinMaxValues();
14507
14528
  };
14508
14529
  }
14509
- }, eS = {
14530
+ }, tS = {
14510
14531
  getInitialState: (e) => ({
14511
14532
  globalFilter: void 0,
14512
14533
  ...e
@@ -14539,7 +14560,7 @@ const Zw = {
14539
14560
  e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
14540
14561
  };
14541
14562
  }
14542
- }, tS = {
14563
+ }, nS = {
14543
14564
  getInitialState: (e) => ({
14544
14565
  expanded: {},
14545
14566
  ...e
@@ -14629,7 +14650,7 @@ const Zw = {
14629
14650
  }, Ha = 0, Ba = 10, sa = () => ({
14630
14651
  pageIndex: Ha,
14631
14652
  pageSize: Ba
14632
- }), nS = {
14653
+ }), rS = {
14633
14654
  getInitialState: (e) => ({
14634
14655
  ...e,
14635
14656
  pagination: {
@@ -14712,7 +14733,7 @@ const Zw = {
14712
14733
  }, la = () => ({
14713
14734
  top: [],
14714
14735
  bottom: []
14715
- }), rS = {
14736
+ }), oS = {
14716
14737
  getInitialState: (e) => ({
14717
14738
  rowPinning: la(),
14718
14739
  ...e
@@ -14813,7 +14834,7 @@ const Zw = {
14813
14834
  return t.filter((a) => !o.has(a.id));
14814
14835
  }, Z(e.options, "debugRows", "getCenterRows"));
14815
14836
  }
14816
- }, oS = {
14837
+ }, aS = {
14817
14838
  getInitialState: (e) => ({
14818
14839
  rowSelection: {},
14819
14840
  ...e
@@ -14969,10 +14990,10 @@ function Wa(e, t, n) {
14969
14990
  }
14970
14991
  }), o ? "all" : a ? "some" : !1;
14971
14992
  }
14972
- const Ua = /([0-9]+)/gm, aS = (e, t, n) => af(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), iS = (e, t, n) => af(zt(e.getValue(n)), zt(t.getValue(n))), sS = (e, t, n) => Hi(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), lS = (e, t, n) => Hi(zt(e.getValue(n)), zt(t.getValue(n))), uS = (e, t, n) => {
14993
+ const Ua = /([0-9]+)/gm, iS = (e, t, n) => af(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), sS = (e, t, n) => af(zt(e.getValue(n)), zt(t.getValue(n))), lS = (e, t, n) => Hi(zt(e.getValue(n)).toLowerCase(), zt(t.getValue(n)).toLowerCase()), uS = (e, t, n) => Hi(zt(e.getValue(n)), zt(t.getValue(n))), cS = (e, t, n) => {
14973
14994
  const r = e.getValue(n), o = t.getValue(n);
14974
14995
  return r > o ? 1 : r < o ? -1 : 0;
14975
- }, cS = (e, t, n) => Hi(e.getValue(n), t.getValue(n));
14996
+ }, dS = (e, t, n) => Hi(e.getValue(n), t.getValue(n));
14976
14997
  function Hi(e, t) {
14977
14998
  return e === t ? 0 : e > t ? 1 : -1;
14978
14999
  }
@@ -15000,13 +15021,13 @@ function af(e, t) {
15000
15021
  return n.length - r.length;
15001
15022
  }
15002
15023
  const On = {
15003
- alphanumeric: aS,
15004
- alphanumericCaseSensitive: iS,
15005
- text: sS,
15006
- textCaseSensitive: lS,
15007
- datetime: uS,
15008
- basic: cS
15009
- }, dS = {
15024
+ alphanumeric: iS,
15025
+ alphanumericCaseSensitive: sS,
15026
+ text: lS,
15027
+ textCaseSensitive: uS,
15028
+ datetime: cS,
15029
+ basic: dS
15030
+ }, fS = {
15010
15031
  getInitialState: (e) => ({
15011
15032
  sorting: [],
15012
15033
  ...e
@@ -15095,30 +15116,30 @@ const On = {
15095
15116
  e.setSorting(t ? [] : (n = (r = e.initialState) == null ? void 0 : r.sorting) != null ? n : []);
15096
15117
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
15097
15118
  }
15098
- }, fS = [
15099
- Nw,
15100
- Qw,
15101
- Yw,
15119
+ }, gS = [
15120
+ Ow,
15121
+ Zw,
15122
+ Kw,
15102
15123
  qw,
15103
- _w,
15104
15124
  Tw,
15105
- Zw,
15106
- //depends on ColumnFaceting
15125
+ Mw,
15107
15126
  eS,
15127
+ //depends on ColumnFaceting
15128
+ tS,
15108
15129
  //depends on ColumnFiltering
15109
- dS,
15110
- Ww,
15130
+ fS,
15131
+ Uw,
15111
15132
  //depends on RowSorting
15112
- tS,
15113
15133
  nS,
15114
15134
  rS,
15115
15135
  oS,
15116
- Xw
15136
+ aS,
15137
+ Jw
15117
15138
  ];
15118
- function gS(e) {
15139
+ function mS(e) {
15119
15140
  var t, n;
15120
15141
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
15121
- const r = [...fS, ...(t = e._features) != null ? t : []];
15142
+ const r = [...gS, ...(t = e._features) != null ? t : []];
15122
15143
  let o = {
15123
15144
  _features: r
15124
15145
  };
@@ -15198,7 +15219,7 @@ function gS(e) {
15198
15219
  getAllColumns: Q(() => [o._getColumnDefs()], (g) => {
15199
15220
  const d = function(m, p, h) {
15200
15221
  return h === void 0 && (h = 0), m.map((b) => {
15201
- const x = Aw(o, b, h, p), y = b;
15222
+ const x = Nw(o, b, h, p), y = b;
15202
15223
  return x.columns = y.columns ? d(y.columns, x, h + 1) : [], x;
15203
15224
  });
15204
15225
  };
@@ -15222,7 +15243,7 @@ function gS(e) {
15222
15243
  }
15223
15244
  return o;
15224
15245
  }
15225
- function mS() {
15246
+ function pS() {
15226
15247
  return (e) => Q(() => [e.options.data], (t) => {
15227
15248
  const n = {
15228
15249
  rows: [],
@@ -15232,7 +15253,7 @@ function mS() {
15232
15253
  a === void 0 && (a = 0);
15233
15254
  const s = [];
15234
15255
  for (let u = 0; u < o.length; u++) {
15235
- const c = Ow(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i?.id);
15256
+ const c = _w(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i?.id);
15236
15257
  if (n.flatRows.push(c), n.rowsById[c.id] = c, s.push(c), e.options.getSubRows) {
15237
15258
  var l;
15238
15259
  c.originalSubRows = e.options.getSubRows(o[u], u), (l = c.originalSubRows) != null && l.length && (c.subRows = r(c.originalSubRows, a + 1, c));
@@ -15243,7 +15264,7 @@ function mS() {
15243
15264
  return n.rows = r(t), n;
15244
15265
  }, Z(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
15245
15266
  }
15246
- function pS(e) {
15267
+ function hS(e) {
15247
15268
  const t = [], n = (r) => {
15248
15269
  var o;
15249
15270
  t.push(r), (o = r.subRows) != null && o.length && r.getIsExpanded() && r.subRows.forEach(n);
@@ -15254,7 +15275,7 @@ function pS(e) {
15254
15275
  rowsById: e.rowsById
15255
15276
  };
15256
15277
  }
15257
- function hS(e) {
15278
+ function vS(e) {
15258
15279
  return (t) => Q(() => [t.getState().pagination, t.getPrePaginationRowModel(), t.options.paginateExpandedRows ? void 0 : t.getState().expanded], (n, r) => {
15259
15280
  if (!r.rows.length)
15260
15281
  return r;
@@ -15274,7 +15295,7 @@ function hS(e) {
15274
15295
  rows: i,
15275
15296
  flatRows: s,
15276
15297
  rowsById: l
15277
- } : f = pS({
15298
+ } : f = hS({
15278
15299
  rows: i,
15279
15300
  flatRows: s,
15280
15301
  rowsById: l
@@ -15285,7 +15306,7 @@ function hS(e) {
15285
15306
  return f.rows.forEach(g), f;
15286
15307
  }, Z(t.options, "debugTable", "getPaginationRowModel"));
15287
15308
  }
15288
- function vS() {
15309
+ function bS() {
15289
15310
  return (e) => Q(() => [e.getState().sorting, e.getPreSortedRowModel()], (t, n) => {
15290
15311
  if (!n.rows.length || !(t != null && t.length))
15291
15312
  return n;
@@ -15335,21 +15356,21 @@ function vS() {
15335
15356
  }, Z(e.options, "debugTable", "getSortedRowModel", () => e._autoResetPageIndex()));
15336
15357
  }
15337
15358
  function _l(e, t) {
15338
- return e ? bS(e) ? /* @__PURE__ */ V.createElement(e, t) : e : null;
15339
- }
15340
- function bS(e) {
15341
- return yS(e) || typeof e == "function" || xS(e);
15359
+ return e ? yS(e) ? /* @__PURE__ */ V.createElement(e, t) : e : null;
15342
15360
  }
15343
15361
  function yS(e) {
15362
+ return xS(e) || typeof e == "function" || wS(e);
15363
+ }
15364
+ function xS(e) {
15344
15365
  return typeof e == "function" && (() => {
15345
15366
  const t = Object.getPrototypeOf(e);
15346
15367
  return t.prototype && t.prototype.isReactComponent;
15347
15368
  })();
15348
15369
  }
15349
- function xS(e) {
15370
+ function wS(e) {
15350
15371
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
15351
15372
  }
15352
- function wS(e) {
15373
+ function SS(e) {
15353
15374
  const t = {
15354
15375
  state: {},
15355
15376
  // Dummy state
@@ -15359,7 +15380,7 @@ function wS(e) {
15359
15380
  renderFallbackValue: null,
15360
15381
  ...e
15361
15382
  }, [n] = V.useState(() => ({
15362
- current: gS(t)
15383
+ current: mS(t)
15363
15384
  })), [r, o] = V.useState(() => n.current.initialState);
15364
15385
  return n.current.setOptions((a) => ({
15365
15386
  ...a,
@@ -15375,20 +15396,20 @@ function wS(e) {
15375
15396
  }
15376
15397
  })), n.current;
15377
15398
  }
15378
- function TS({
15399
+ function MS({
15379
15400
  columns: e,
15380
15401
  data: t,
15381
15402
  className: n,
15382
15403
  tableClassName: r,
15383
15404
  paginationClassName: o
15384
15405
  }) {
15385
- const [a, i] = ae([]), s = wS({
15406
+ const [a, i] = ae([]), s = SS({
15386
15407
  data: t,
15387
15408
  columns: e,
15388
- getCoreRowModel: mS(),
15389
- getPaginationRowModel: hS(),
15409
+ getCoreRowModel: pS(),
15410
+ getPaginationRowModel: vS(),
15390
15411
  onSortingChange: i,
15391
- getSortedRowModel: vS(),
15412
+ getSortedRowModel: bS(),
15392
15413
  state: {
15393
15414
  sorting: a
15394
15415
  },
@@ -15400,7 +15421,7 @@ function TS({
15400
15421
  });
15401
15422
  return /* @__PURE__ */ v.jsxs("div", { className: _("flex flex-col", n), children: [
15402
15423
  /* @__PURE__ */ v.jsxs(Yd, { className: r, children: [
15403
- /* @__PURE__ */ v.jsx(qd, { children: s.getHeaderGroups().map((l) => /* @__PURE__ */ v.jsx(zr, { children: l.headers.map((u) => /* @__PURE__ */ v.jsx(Xd, { children: u.isPlaceholder ? null : /* @__PURE__ */ v.jsxs(
15424
+ /* @__PURE__ */ v.jsx(Kd, { children: s.getHeaderGroups().map((l) => /* @__PURE__ */ v.jsx(zr, { children: l.headers.map((u) => /* @__PURE__ */ v.jsx(Xd, { children: u.isPlaceholder ? null : /* @__PURE__ */ v.jsxs(
15404
15425
  "div",
15405
15426
  {
15406
15427
  className: _(
@@ -15417,7 +15438,7 @@ function TS({
15417
15438
  ]
15418
15439
  }
15419
15440
  ) }, u.id)) }, l.id)) }),
15420
- /* @__PURE__ */ v.jsx(Kd, { children: s.getRowModel().rows?.length ? s.getRowModel().rows.map((l) => /* @__PURE__ */ v.jsx(
15441
+ /* @__PURE__ */ v.jsx(qd, { children: s.getRowModel().rows?.length ? s.getRowModel().rows.map((l) => /* @__PURE__ */ v.jsx(
15421
15442
  zr,
15422
15443
  {
15423
15444
  "data-state": l.getIsSelected() && "selected",
@@ -15500,35 +15521,35 @@ function TS({
15500
15521
  ] });
15501
15522
  }
15502
15523
  export {
15503
- PS as Accordion,
15504
- q1 as ActionBar,
15524
+ FS as Accordion,
15525
+ K1 as ActionBar,
15505
15526
  Lc as Avatar,
15506
15527
  Ca as Badge,
15507
- FS as Breadcrumbs,
15528
+ IS as Breadcrumbs,
15508
15529
  Ye as Button,
15509
- IS as CallToAction,
15530
+ AS as CallToAction,
15510
15531
  jv as Card,
15511
15532
  bw as Countdown,
15512
- TS as DataTable,
15513
- OS as Dialog,
15533
+ MS as DataTable,
15534
+ _S as Dialog,
15514
15535
  _1 as Disclosure,
15515
- AS as EmptyState,
15516
- NS as ErrorState,
15517
- kw as Footer,
15536
+ NS as EmptyState,
15537
+ OS as ErrorState,
15538
+ Ew as Footer,
15518
15539
  M1 as Input,
15519
15540
  Gn as Link,
15520
15541
  U1 as MatchupCard,
15521
- _S as Navbar,
15522
- RS as Select,
15542
+ TS as Navbar,
15543
+ PS as Select,
15523
15544
  _v as Spinner,
15524
15545
  kl as Switch,
15525
15546
  Yd as Table,
15526
- Kd as TableBody,
15527
- Rw as TableCaption,
15547
+ qd as TableBody,
15548
+ Pw as TableCaption,
15528
15549
  za as TableCell,
15529
- $w as TableFooter,
15550
+ Rw as TableFooter,
15530
15551
  Xd as TableHead,
15531
- qd as TableHeader,
15552
+ Kd as TableHeader,
15532
15553
  zr as TableRow,
15533
15554
  H1 as Textarea,
15534
15555
  Y1 as actionBarVariants,
@@ -15546,11 +15567,11 @@ export {
15546
15567
  Sl as iconVariants,
15547
15568
  T1 as inputVariants,
15548
15569
  j1 as linkVariants,
15549
- Ew as navbarVariants,
15570
+ Cw as navbarVariants,
15550
15571
  L1 as selectTriggerVariants,
15551
15572
  V1 as switchThumbVariants,
15552
15573
  D1 as switchTrackVariants,
15553
- Cw as tableVariants,
15574
+ $w as tableVariants,
15554
15575
  z1 as textareaVariants,
15555
15576
  pw as useCountdown
15556
15577
  };