@ah-automation.nl/component-lib 0.0.81 → 0.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as x, jsxs as K, Fragment as xi } from "react/jsx-runtime";
1
+ import { jsx as x, jsxs as q, Fragment as xi } from "react/jsx-runtime";
2
2
  import * as E from "react";
3
3
  import s, { forwardRef as Ot, createElement as co, useState as Pe, useCallback as be, useMemo as rt, useLayoutEffect as qn, useEffect as _e, useRef as Ce, isValidElement as kr, useContext as vn, createContext as en, useImperativeHandle as NO, cloneElement as O0, Children as AO, memo as P0, useSyncExternalStore as zO, Fragment as FO } from "react";
4
4
  import { Slot as N0, DropdownMenu as dr, Select as dn, Collapsible as A0, Dialog as xt, Popover as fo, Checkbox as cm, Switch as dm, Toggle as _O, Tooltip as la } from "radix-ui";
@@ -6826,7 +6826,7 @@ const pm = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, vm = Xe, S
6826
6826
  p,
6827
6827
  de,
6828
6828
  ue
6829
- ], ie = () => ["none", Se, de, ue], z = () => ["none", Se, de, ue], ce = () => [Se, de, ue], q = () => [Pr, "full", ...M()];
6829
+ ], ie = () => ["none", Se, de, ue], z = () => ["none", Se, de, ue], ce = () => [Se, de, ue], K = () => [Pr, "full", ...M()];
6830
6830
  return {
6831
6831
  cacheSize: 500,
6832
6832
  theme: {
@@ -9007,28 +9007,28 @@ const pm = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, vm = Xe, S
9007
9007
  * @see https://tailwindcss.com/docs/translate
9008
9008
  */
9009
9009
  translate: [{
9010
- translate: q()
9010
+ translate: K()
9011
9011
  }],
9012
9012
  /**
9013
9013
  * Translate X
9014
9014
  * @see https://tailwindcss.com/docs/translate
9015
9015
  */
9016
9016
  "translate-x": [{
9017
- "translate-x": q()
9017
+ "translate-x": K()
9018
9018
  }],
9019
9019
  /**
9020
9020
  * Translate Y
9021
9021
  * @see https://tailwindcss.com/docs/translate
9022
9022
  */
9023
9023
  "translate-y": [{
9024
- "translate-y": q()
9024
+ "translate-y": K()
9025
9025
  }],
9026
9026
  /**
9027
9027
  * Translate Z
9028
9028
  * @see https://tailwindcss.com/docs/translate
9029
9029
  */
9030
9030
  "translate-z": [{
9031
- "translate-z": q()
9031
+ "translate-z": K()
9032
9032
  }],
9033
9033
  /**
9034
9034
  * Translate None
@@ -9536,7 +9536,7 @@ function vD({
9536
9536
  checked: n,
9537
9537
  ...r
9538
9538
  }) {
9539
- return /* @__PURE__ */ K(
9539
+ return /* @__PURE__ */ q(
9540
9540
  dr.CheckboxItem,
9541
9541
  {
9542
9542
  "data-slot": "dropdown-menu-checkbox-item",
@@ -9602,7 +9602,7 @@ function xD({
9602
9602
  children: r,
9603
9603
  ...i
9604
9604
  }) {
9605
- return /* @__PURE__ */ K(
9605
+ return /* @__PURE__ */ q(
9606
9606
  dn.Trigger,
9607
9607
  {
9608
9608
  "data-slot": "select-trigger",
@@ -9625,7 +9625,7 @@ function $D({
9625
9625
  sideOffset: a = 4,
9626
9626
  ...o
9627
9627
  }) {
9628
- return /* @__PURE__ */ x(dn.Portal, { children: /* @__PURE__ */ K(
9628
+ return /* @__PURE__ */ x(dn.Portal, { children: /* @__PURE__ */ q(
9629
9629
  dn.Content,
9630
9630
  {
9631
9631
  "data-slot": "select-content",
@@ -9661,7 +9661,7 @@ function SD({
9661
9661
  children: t,
9662
9662
  ...n
9663
9663
  }) {
9664
- return /* @__PURE__ */ K(
9664
+ return /* @__PURE__ */ q(
9665
9665
  dn.Item,
9666
9666
  {
9667
9667
  "data-slot": "select-item",
@@ -9815,7 +9815,7 @@ function DD({
9815
9815
  );
9816
9816
  S == null || S.disabled === !0 || u?.(S);
9817
9817
  }
9818
- return /* @__PURE__ */ K(
9818
+ return /* @__PURE__ */ q(
9819
9819
  "header",
9820
9820
  {
9821
9821
  className: R(
@@ -9824,9 +9824,9 @@ function DD({
9824
9824
  ),
9825
9825
  children: [
9826
9826
  /* @__PURE__ */ x("div", { className: "min-w-0 w-[200px] p-2 group-data-[collapsible=icon]:hidden", children: c ?? /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ x("div", { className: "flex size-10 w-full items-center justify-center rounded-md bg-primary", children: /* @__PURE__ */ x("span", { className: "text-sm font-semibold text-primary-foreground", children: "Logo" }) }) }) }),
9827
- /* @__PURE__ */ K("div", { className: "min-w-0 flex flex-1 items-center justify-end gap-3 px-4", children: [
9827
+ /* @__PURE__ */ q("div", { className: "min-w-0 flex flex-1 items-center justify-end gap-3 px-4", children: [
9828
9828
  e !== "" ? /* @__PURE__ */ x("span", { className: "min-w-0 max-w-full truncate text-sm font-semibold text-muted-foreground", children: e }) : null,
9829
- o.length > 0 ? /* @__PURE__ */ K(wD, { value: y, onValueChange: b, children: [
9829
+ o.length > 0 ? /* @__PURE__ */ q(wD, { value: y, onValueChange: b, children: [
9830
9830
  /* @__PURE__ */ x(
9831
9831
  xD,
9832
9832
  {
@@ -9836,7 +9836,7 @@ function DD({
9836
9836
  className: R(
9837
9837
  "h-8 w-auto max-w-[220px] gap-2 rounded-md border-none px-1 text-foreground shadow-none"
9838
9838
  ),
9839
- children: g != null ? /* @__PURE__ */ K("span", { className: "flex min-w-0 items-center gap-2", children: [
9839
+ children: g != null ? /* @__PURE__ */ q("span", { className: "flex min-w-0 items-center gap-2", children: [
9840
9840
  Om(
9841
9841
  g.countryCode ?? g.code,
9842
9842
  g.label.length > 0 ? g.label : g.countryCode ?? g.code
@@ -9853,7 +9853,7 @@ function DD({
9853
9853
  value: S,
9854
9854
  disabled: w.disabled,
9855
9855
  className: "pr-3",
9856
- children: /* @__PURE__ */ K("span", { className: "flex min-w-0 items-center gap-2", children: [
9856
+ children: /* @__PURE__ */ q("span", { className: "flex min-w-0 items-center gap-2", children: [
9857
9857
  Om(
9858
9858
  w.countryCode ?? w.code,
9859
9859
  w.label.length > 0 ? w.label : w.countryCode ?? w.code
@@ -9866,7 +9866,7 @@ function DD({
9866
9866
  }) })
9867
9867
  ] }) : null
9868
9868
  ] }),
9869
- /* @__PURE__ */ K("div", { className: "flex shrink-0 items-center gap-1", children: [
9869
+ /* @__PURE__ */ q("div", { className: "flex shrink-0 items-center gap-1", children: [
9870
9870
  i ? /* @__PURE__ */ x(
9871
9871
  "a",
9872
9872
  {
@@ -9878,7 +9878,7 @@ function DD({
9878
9878
  children: /* @__PURE__ */ x(r_, { className: "size-5" })
9879
9879
  }
9880
9880
  ) : null,
9881
- r.length !== 0 ? /* @__PURE__ */ K(q1, { children: [
9881
+ r.length !== 0 ? /* @__PURE__ */ q(q1, { children: [
9882
9882
  /* @__PURE__ */ x(K1, { asChild: !0, children: /* @__PURE__ */ x(
9883
9883
  Ge,
9884
9884
  {
@@ -9896,7 +9896,7 @@ function DD({
9896
9896
  className: "w-[280px] rounded-xl bg-popover p-4 text-popover-foreground",
9897
9897
  children: r.length > 0 ? /* @__PURE__ */ x("div", { className: "grid grid-cols-3 gap-3", children: r.map((w) => {
9898
9898
  const S = w.icon, $ = S != null ? /* @__PURE__ */ x(S, { className: "size-6 text-muted-foreground" }) : /* @__PURE__ */ x(mm, { className: "size-6 text-muted-foreground" });
9899
- return w.href != null && w.href !== "" ? /* @__PURE__ */ x(Nl, { asChild: !0, children: /* @__PURE__ */ K(
9899
+ return w.href != null && w.href !== "" ? /* @__PURE__ */ x(Nl, { asChild: !0, children: /* @__PURE__ */ q(
9900
9900
  "a",
9901
9901
  {
9902
9902
  href: w.href,
@@ -9910,7 +9910,7 @@ function DD({
9910
9910
  /* @__PURE__ */ x("span", { className: "text-[12px] text-foreground", children: w.label })
9911
9911
  ]
9912
9912
  }
9913
- ) }, w.id) : /* @__PURE__ */ x(Nl, { asChild: !0, children: /* @__PURE__ */ K(
9913
+ ) }, w.id) : /* @__PURE__ */ x(Nl, { asChild: !0, children: /* @__PURE__ */ q(
9914
9914
  "button",
9915
9915
  {
9916
9916
  type: "button",
@@ -9929,7 +9929,7 @@ function DD({
9929
9929
  }
9930
9930
  )
9931
9931
  ] }) : null,
9932
- /* @__PURE__ */ K(q1, { children: [
9932
+ /* @__PURE__ */ q(q1, { children: [
9933
9933
  /* @__PURE__ */ x(K1, { asChild: !0, children: /* @__PURE__ */ x(
9934
9934
  Ge,
9935
9935
  {
@@ -9948,13 +9948,13 @@ function DD({
9948
9948
  ) })
9949
9949
  }
9950
9950
  ) }),
9951
- /* @__PURE__ */ K(
9951
+ /* @__PURE__ */ q(
9952
9952
  Y1,
9953
9953
  {
9954
9954
  align: "end",
9955
9955
  className: "w-[360px] overflow-hidden rounded-2xl bg-popover p-0 text-popover-foreground",
9956
9956
  children: [
9957
- /* @__PURE__ */ K("div", { className: "flex items-center gap-4 px-5 py-5", children: [
9957
+ /* @__PURE__ */ q("div", { className: "flex items-center gap-4 px-5 py-5", children: [
9958
9958
  /* @__PURE__ */ x("div", { className: "flex size-14 shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted text-foreground", children: /* @__PURE__ */ x(
9959
9959
  $m,
9960
9960
  {
@@ -9965,17 +9965,17 @@ function DD({
9965
9965
  fallbackClassName: "bg-muted text-foreground text-lg"
9966
9966
  }
9967
9967
  ) }),
9968
- /* @__PURE__ */ K("div", { className: "min-w-0", children: [
9968
+ /* @__PURE__ */ q("div", { className: "min-w-0", children: [
9969
9969
  /* @__PURE__ */ x("p", { className: "truncate text-[20px] leading-none font-semibold text-foreground", children: m }),
9970
9970
  /* @__PURE__ */ x("p", { className: "mt-1 truncate text-[15px] leading-5 text-muted-foreground", children: p })
9971
9971
  ] })
9972
9972
  ] }),
9973
- a.length > 0 ? /* @__PURE__ */ K(xi, { children: [
9973
+ a.length > 0 ? /* @__PURE__ */ q(xi, { children: [
9974
9974
  /* @__PURE__ */ x(Nc, { className: "mx-0 my-0 bg-border" }),
9975
9975
  a.map((w, S) => {
9976
9976
  const $ = w.icon ?? x_, C = w.destructive === !0 ? "destructive" : "default";
9977
- return w.href != null && w.href !== "" ? /* @__PURE__ */ K("div", { children: [
9978
- /* @__PURE__ */ x(Nl, { variant: C, asChild: !0, children: /* @__PURE__ */ K(
9977
+ return w.href != null && w.href !== "" ? /* @__PURE__ */ q("div", { children: [
9978
+ /* @__PURE__ */ x(Nl, { variant: C, asChild: !0, children: /* @__PURE__ */ q(
9979
9979
  "a",
9980
9980
  {
9981
9981
  href: w.href,
@@ -9991,8 +9991,8 @@ function DD({
9991
9991
  }
9992
9992
  ) }),
9993
9993
  S < a.length - 1 ? /* @__PURE__ */ x(Nc, { className: "mx-0 my-0 bg-border" }) : null
9994
- ] }, w.id) : /* @__PURE__ */ K("div", { children: [
9995
- /* @__PURE__ */ x(Nl, { variant: C, asChild: !0, children: /* @__PURE__ */ K(
9994
+ ] }, w.id) : /* @__PURE__ */ q("div", { children: [
9995
+ /* @__PURE__ */ x(Nl, { variant: C, asChild: !0, children: /* @__PURE__ */ q(
9996
9996
  "button",
9997
9997
  {
9998
9998
  type: "button",
@@ -10090,9 +10090,9 @@ function qb({
10090
10090
  showCloseButton: r = !0,
10091
10091
  ...i
10092
10092
  }) {
10093
- return /* @__PURE__ */ K(RD, { children: [
10093
+ return /* @__PURE__ */ q(RD, { children: [
10094
10094
  /* @__PURE__ */ x(LD, {}),
10095
- /* @__PURE__ */ K(
10095
+ /* @__PURE__ */ q(
10096
10096
  xt.Content,
10097
10097
  {
10098
10098
  "data-slot": "sheet-content",
@@ -10104,7 +10104,7 @@ function qb({
10104
10104
  ...i,
10105
10105
  children: [
10106
10106
  t,
10107
- r && /* @__PURE__ */ x(xt.Close, { "data-slot": "sheet-close", asChild: !0, children: /* @__PURE__ */ K(
10107
+ r && /* @__PURE__ */ x(xt.Close, { "data-slot": "sheet-close", asChild: !0, children: /* @__PURE__ */ q(
10108
10108
  Ge,
10109
10109
  {
10110
10110
  variant: "ghost",
@@ -10260,7 +10260,7 @@ function KD({
10260
10260
  ...o,
10261
10261
  children: i
10262
10262
  }
10263
- ) : l ? /* @__PURE__ */ x(Ub, { open: c, onOpenChange: f, ...o, children: /* @__PURE__ */ K(
10263
+ ) : l ? /* @__PURE__ */ x(Ub, { open: c, onOpenChange: f, ...o, children: /* @__PURE__ */ q(
10264
10264
  qb,
10265
10265
  {
10266
10266
  dir: a,
@@ -10273,14 +10273,14 @@ function KD({
10273
10273
  },
10274
10274
  side: e,
10275
10275
  children: [
10276
- /* @__PURE__ */ K(Kb, { className: "sr-only", children: [
10276
+ /* @__PURE__ */ q(Kb, { className: "sr-only", children: [
10277
10277
  /* @__PURE__ */ x(Yb, { children: "Sidebar" }),
10278
10278
  /* @__PURE__ */ x(Xb, { children: "Displays the mobile sidebar." })
10279
10279
  ] }),
10280
10280
  /* @__PURE__ */ x("div", { className: "flex h-full w-full flex-col", children: i })
10281
10281
  ]
10282
10282
  }
10283
- ) }) : /* @__PURE__ */ K(
10283
+ ) }) : /* @__PURE__ */ q(
10284
10284
  "div",
10285
10285
  {
10286
10286
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -10338,7 +10338,7 @@ function YD({
10338
10338
  ...n
10339
10339
  }) {
10340
10340
  const { toggleSidebar: r } = Jb();
10341
- return /* @__PURE__ */ K(
10341
+ return /* @__PURE__ */ q(
10342
10342
  Ge,
10343
10343
  {
10344
10344
  "data-sidebar": "trigger",
@@ -10640,14 +10640,14 @@ function Fm({
10640
10640
  ), S = E.useCallback(
10641
10641
  (O) => {
10642
10642
  const M = O.icon, P = O.route === n;
10643
- return /* @__PURE__ */ x(Pm, { className: "gap-1", children: /* @__PURE__ */ K(Nm, { className: R(d, O.className), children: [
10643
+ return /* @__PURE__ */ x(Pm, { className: "gap-1", children: /* @__PURE__ */ q(Nm, { className: R(d, O.className), children: [
10644
10644
  /* @__PURE__ */ x(
10645
10645
  Am,
10646
10646
  {
10647
10647
  asChild: !0,
10648
10648
  isActive: P,
10649
10649
  className: "transition-colors hover:bg-sidebar-accent/55 data-open:hover:bg-sidebar-accent/55",
10650
- children: /* @__PURE__ */ K(
10650
+ children: /* @__PURE__ */ q(
10651
10651
  "a",
10652
10652
  {
10653
10653
  href: O.route,
@@ -10686,8 +10686,8 @@ function Fm({
10686
10686
  }));
10687
10687
  },
10688
10688
  className: "group/collapsible",
10689
- children: /* @__PURE__ */ K(QD, { className: (O.className ?? "") + " p-0!", children: [
10690
- /* @__PURE__ */ x(Pm, { className: "gap-1", children: /* @__PURE__ */ x(Nm, { children: /* @__PURE__ */ x(ID, { asChild: !0, children: /* @__PURE__ */ K(
10689
+ children: /* @__PURE__ */ q(QD, { className: (O.className ?? "") + " p-0!", children: [
10690
+ /* @__PURE__ */ x(Pm, { className: "gap-1", children: /* @__PURE__ */ x(Nm, { children: /* @__PURE__ */ x(ID, { asChild: !0, children: /* @__PURE__ */ q(
10691
10691
  Am,
10692
10692
  {
10693
10693
  className: R(
@@ -10721,7 +10721,7 @@ function Fm({
10721
10721
  asChild: !0,
10722
10722
  isActive: Z,
10723
10723
  className: "transition-colors hover:bg-sidebar-accent/55",
10724
- children: /* @__PURE__ */ K(
10724
+ children: /* @__PURE__ */ q(
10725
10725
  "a",
10726
10726
  {
10727
10727
  href: T.route,
@@ -10752,7 +10752,7 @@ function Fm({
10752
10752
  },
10753
10753
  [n, y, w, d]
10754
10754
  ), C = E.useCallback(
10755
- (O) => /* @__PURE__ */ K(xi, { children: [
10755
+ (O) => /* @__PURE__ */ q(xi, { children: [
10756
10756
  a != null && !m ? /* @__PURE__ */ x(
10757
10757
  XD,
10758
10758
  {
@@ -10764,7 +10764,7 @@ function Fm({
10764
10764
  }
10765
10765
  ) : null,
10766
10766
  /* @__PURE__ */ x(JD, { className: R("p-2", c), children: /* @__PURE__ */ x("div", { className: R("flex flex-col gap-1", f), children: g.map((M) => M.kind === "item" ? S(M.item) : $(M.group, M.groupIndex)) }) }),
10767
- o != null ? /* @__PURE__ */ K(
10767
+ o != null ? /* @__PURE__ */ q(
10768
10768
  ZD,
10769
10769
  {
10770
10770
  className: R(
@@ -10826,9 +10826,9 @@ function lT({
10826
10826
  footer: n,
10827
10827
  footerMeta: r
10828
10828
  }) {
10829
- return /* @__PURE__ */ K("div", { className: "flex flex-col gap-3", children: [
10829
+ return /* @__PURE__ */ q("div", { className: "flex flex-col gap-3", children: [
10830
10830
  /* @__PURE__ */ x("div", { className: "min-w-0 flex-1 group-data-[collapsible=icon]:hidden", children: n }),
10831
- /* @__PURE__ */ K("div", { className: "flex items-center justify-between gap-2", children: [
10831
+ /* @__PURE__ */ q("div", { className: "flex items-center justify-between gap-2", children: [
10832
10832
  /* @__PURE__ */ x("div", { className: "min-w-0 flex-1 text-xs font-semibold tracking-wide text-sidebar-foreground/70 group-data-[collapsible=icon]:hidden", children: r }),
10833
10833
  /* @__PURE__ */ x(
10834
10834
  Ge,
@@ -10854,12 +10854,12 @@ function X1e({
10854
10854
  const [i, a] = Pe(!1), [o, l] = Pe(!1), u = R(e.className, "pl-16 lg:pl-4"), c = t == null ? void 0 : { ...t, footerMeta: void 0 }, f = t?.footerMeta, d = be(() => {
10855
10855
  a(!1);
10856
10856
  }, []);
10857
- return /* @__PURE__ */ K(
10857
+ return /* @__PURE__ */ q(
10858
10858
  "div",
10859
10859
  {
10860
10860
  className: R("relative flex h-svh flex-col overflow-hidden", n),
10861
10861
  children: [
10862
- /* @__PURE__ */ K("div", { className: "relative", children: [
10862
+ /* @__PURE__ */ q("div", { className: "relative", children: [
10863
10863
  /* @__PURE__ */ x(
10864
10864
  Ge,
10865
10865
  {
@@ -10876,7 +10876,7 @@ function X1e({
10876
10876
  ),
10877
10877
  /* @__PURE__ */ x(DD, { ...e, className: u })
10878
10878
  ] }),
10879
- /* @__PURE__ */ K("div", { className: "flex w-full flex-1 min-h-0 overflow-hidden", children: [
10879
+ /* @__PURE__ */ q("div", { className: "flex w-full flex-1 min-h-0 overflow-hidden", children: [
10880
10880
  c != null ? /* @__PURE__ */ x("aside", { className: "hidden lg:block lg:shrink-0", children: /* @__PURE__ */ x(
10881
10881
  Fm,
10882
10882
  {
@@ -10900,19 +10900,19 @@ function X1e({
10900
10900
  ) }) : null,
10901
10901
  /* @__PURE__ */ x("main", { className: "min-w-0 flex-1 min-h-0 overflow-y-auto overflow-x-hidden bg-background", children: r })
10902
10902
  ] }),
10903
- c != null ? /* @__PURE__ */ x(Ub, { open: i, onOpenChange: a, children: /* @__PURE__ */ K(
10903
+ c != null ? /* @__PURE__ */ x(Ub, { open: i, onOpenChange: a, children: /* @__PURE__ */ q(
10904
10904
  qb,
10905
10905
  {
10906
10906
  side: "left",
10907
10907
  showCloseButton: !1,
10908
10908
  className: "w-80 max-w-[80vw] border-r border-border/70 bg-background p-0 lg:hidden",
10909
10909
  children: [
10910
- /* @__PURE__ */ K(Kb, { className: "sr-only", children: [
10910
+ /* @__PURE__ */ q(Kb, { className: "sr-only", children: [
10911
10911
  /* @__PURE__ */ x(Yb, { children: "Navigation menu" }),
10912
10912
  /* @__PURE__ */ x(Xb, { children: "Displays the mobile navigation sidebar." })
10913
10913
  ] }),
10914
- /* @__PURE__ */ K("div", { className: "flex h-full flex-col", children: [
10915
- /* @__PURE__ */ K("div", { className: "flex items-center gap-3 border-b border-border/70 p-3", children: [
10914
+ /* @__PURE__ */ q("div", { className: "flex h-full flex-col", children: [
10915
+ /* @__PURE__ */ q("div", { className: "flex items-center gap-3 border-b border-border/70 p-3", children: [
10916
10916
  /* @__PURE__ */ x("div", { className: "min-w-0 flex-1", children: e.logo }),
10917
10917
  /* @__PURE__ */ x(
10918
10918
  Ge,
@@ -10949,6 +10949,21 @@ function X1e({
10949
10949
  }
10950
10950
  );
10951
10951
  }
10952
+ function Z1e({
10953
+ label: e,
10954
+ id: t,
10955
+ required: n = !1,
10956
+ className: r,
10957
+ children: i
10958
+ }) {
10959
+ return /* @__PURE__ */ q("label", { htmlFor: t, className: R("block", r), children: [
10960
+ /* @__PURE__ */ q("span", { className: "mb-2 block text-sm font-medium tracking-[0.02em] text-muted-foreground", children: [
10961
+ e,
10962
+ n ? "*" : ""
10963
+ ] }),
10964
+ i
10965
+ ] });
10966
+ }
10952
10967
  function Rr(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
10953
10968
  return function(i) {
10954
10969
  if (e?.(i), n === !1 || !i.defaultPrevented)
@@ -12174,7 +12189,7 @@ var TI = E.forwardRef(
12174
12189
  ), xw = E.forwardRef(
12175
12190
  (e, t) => {
12176
12191
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...o } = e, l = Fn(Si, n), u = E.useRef(null), c = Ti(t, u);
12177
- return VT(), /* @__PURE__ */ K(xi, { children: [
12192
+ return VT(), /* @__PURE__ */ q(xi, { children: [
12178
12193
  /* @__PURE__ */ x(
12179
12194
  rw,
12180
12195
  {
@@ -12198,7 +12213,7 @@ var TI = E.forwardRef(
12198
12213
  )
12199
12214
  }
12200
12215
  ),
12201
- /* @__PURE__ */ K(xi, { children: [
12216
+ /* @__PURE__ */ q(xi, { children: [
12202
12217
  /* @__PURE__ */ x(RI, { titleId: l.titleId }),
12203
12218
  /* @__PURE__ */ x(HI, { contentRef: u, descriptionId: l.descriptionId })
12204
12219
  ] })
@@ -12236,7 +12251,7 @@ Mw.displayName = Cw;
12236
12251
  function k0(e) {
12237
12252
  return e ? "open" : "closed";
12238
12253
  }
12239
- var Ow = "DialogTitleWarning", [Z1e, Pw] = sT(Ow, {
12254
+ var Ow = "DialogTitleWarning", [J1e, Pw] = sT(Ow, {
12240
12255
  contentName: Si,
12241
12256
  titleName: I0,
12242
12257
  docsSlug: "dialog"
@@ -12828,13 +12843,13 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12828
12843
  document.body.style.pointerEvents = "auto";
12829
12844
  }), ne || (document.body.style.pointerEvents = "auto");
12830
12845
  }
12831
- }), [J, ae] = s.useState(!1), [re, F] = s.useState(!1), [H, k] = s.useState(!1), G = s.useRef(null), U = s.useRef(null), W = s.useRef(null), X = s.useRef(null), Q = s.useRef(null), te = s.useRef(!1), j = s.useRef(null), V = s.useRef(0), ie = s.useRef(!1), z = s.useRef(!$), ce = s.useRef(0), q = s.useRef(null), $e = s.useRef(((T = q.current) == null ? void 0 : T.getBoundingClientRect().height) || 0), Me = s.useRef(((B = q.current) == null ? void 0 : B.getBoundingClientRect().width) || 0), De = s.useRef(0), St = s.useCallback((ne) => {
12846
+ }), [J, ae] = s.useState(!1), [re, F] = s.useState(!1), [H, k] = s.useState(!1), G = s.useRef(null), U = s.useRef(null), W = s.useRef(null), X = s.useRef(null), Q = s.useRef(null), te = s.useRef(!1), j = s.useRef(null), V = s.useRef(0), ie = s.useRef(!1), z = s.useRef(!$), ce = s.useRef(0), K = s.useRef(null), $e = s.useRef(((T = K.current) == null ? void 0 : T.getBoundingClientRect().height) || 0), Me = s.useRef(((B = K.current) == null ? void 0 : B.getBoundingClientRect().width) || 0), De = s.useRef(0), St = s.useCallback((ne) => {
12832
12847
  a && ne === Nt.length - 1 && (U.current = /* @__PURE__ */ new Date());
12833
12848
  }, []), { activeSnapPoint: Tt, activeSnapPointIndex: mt, setActiveSnapPoint: Bt, onRelease: Vt, snapPointsOffset: Nt, onDrag: bn, shouldFade: wn, getPercentageDragged: Xn } = sk({
12834
12849
  snapPoints: a,
12835
12850
  activeSnapPointProp: m,
12836
12851
  setActiveSnapPointProp: p,
12837
- drawerRef: q,
12852
+ drawerRef: K,
12838
12853
  fadeFromIndex: h,
12839
12854
  overlayRef: G,
12840
12855
  onSnapPointChange: St,
@@ -12858,14 +12873,14 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12858
12873
  }
12859
12874
  function Zn(ne) {
12860
12875
  var se, le;
12861
- !f && !a || q.current && !q.current.contains(ne.target) || ($e.current = ((se = q.current) == null ? void 0 : se.getBoundingClientRect().height) || 0, Me.current = ((le = q.current) == null ? void 0 : le.getBoundingClientRect().width) || 0, F(!0), W.current = /* @__PURE__ */ new Date(), Dw() && window.addEventListener("touchend", () => te.current = !1, {
12876
+ !f && !a || K.current && !K.current.contains(ne.target) || ($e.current = ((se = K.current) == null ? void 0 : se.getBoundingClientRect().height) || 0, Me.current = ((le = K.current) == null ? void 0 : le.getBoundingClientRect().width) || 0, F(!0), W.current = /* @__PURE__ */ new Date(), Dw() && window.addEventListener("touchend", () => te.current = !1, {
12862
12877
  once: !0
12863
12878
  }), ne.target.setPointerCapture(ne.pointerId), V.current = it(S) ? ne.pageY : ne.pageX);
12864
12879
  }
12865
12880
  function It(ne, se) {
12866
12881
  var le;
12867
12882
  let fe = ne;
12868
- const he = (le = window.getSelection()) == null ? void 0 : le.toString(), Re = q.current ? Il(q.current, S) : null, ve = /* @__PURE__ */ new Date();
12883
+ const he = (le = window.getSelection()) == null ? void 0 : le.toString(), Re = K.current ? Il(K.current, S) : null, ve = /* @__PURE__ */ new Date();
12869
12884
  if (fe.tagName === "SELECT" || fe.hasAttribute("data-vaul-no-drag") || fe.closest("[data-vaul-no-drag]"))
12870
12885
  return !1;
12871
12886
  if (S === "right" || S === "left")
@@ -12890,14 +12905,14 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12890
12905
  return !0;
12891
12906
  }
12892
12907
  function Jn(ne) {
12893
- if (q.current && re) {
12908
+ if (K.current && re) {
12894
12909
  const se = S === "bottom" || S === "right" ? 1 : -1, le = (V.current - (it(S) ? ne.pageY : ne.pageX)) * se, fe = le > 0, he = a && !f && !fe;
12895
12910
  if (he && mt === 0) return;
12896
12911
  const Re = Math.abs(le), ve = document.querySelector("[data-vaul-drawer-wrapper]"), Wt = S === "bottom" || S === "top" ? $e.current : Me.current;
12897
12912
  let zt = Re / Wt;
12898
12913
  const Qn = Xn(Re, fe);
12899
12914
  if (Qn !== null && (zt = Qn), he && zt >= 1 || !te.current && !It(ne.target, fe)) return;
12900
- if (q.current.classList.add(Vc), te.current = !0, ct(q.current, {
12915
+ if (K.current.classList.add(Vc), te.current = !0, ct(K.current, {
12901
12916
  transition: "none"
12902
12917
  }), ct(G.current, {
12903
12918
  transition: "none"
@@ -12905,7 +12920,7 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12905
12920
  draggedDistance: le
12906
12921
  }), fe && !a) {
12907
12922
  const kt = rk(le), Ml = Math.min(kt * -1, 0) * se;
12908
- ct(q.current, {
12923
+ ct(K.current, {
12909
12924
  transform: it(S) ? `translate3d(0, ${Ml}px, 0)` : `translate3d(${Ml}px, 0, 0)`
12910
12925
  });
12911
12926
  return;
@@ -12924,7 +12939,7 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12924
12939
  }
12925
12940
  if (!a) {
12926
12941
  const kt = Re * se;
12927
- ct(q.current, {
12942
+ ct(K.current, {
12928
12943
  transform: it(S) ? `translate3d(0, ${kt}px, 0)` : `translate3d(${kt}px, 0, 0)`
12929
12944
  });
12930
12945
  }
@@ -12937,25 +12952,25 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12937
12952
  }, []), s.useEffect(() => {
12938
12953
  var ne;
12939
12954
  function se() {
12940
- if (!q.current || !P) return;
12955
+ if (!K.current || !P) return;
12941
12956
  const le = document.activeElement;
12942
12957
  if (J1(le) || ie.current) {
12943
12958
  var fe;
12944
12959
  const he = ((fe = window.visualViewport) == null ? void 0 : fe.height) || 0, Re = window.innerHeight;
12945
12960
  let ve = Re - he;
12946
- const Wt = q.current.getBoundingClientRect().height || 0, zt = Wt > Re * 0.8;
12961
+ const Wt = K.current.getBoundingClientRect().height || 0, zt = Wt > Re * 0.8;
12947
12962
  De.current || (De.current = Wt);
12948
- const Qn = q.current.getBoundingClientRect().top;
12963
+ const Qn = K.current.getBoundingClientRect().top;
12949
12964
  if (Math.abs(ce.current - ve) > 60 && (ie.current = !ie.current), a && a.length > 0 && Nt && mt) {
12950
12965
  const nn = Nt[mt] || 0;
12951
12966
  ve += nn;
12952
12967
  }
12953
12968
  if (ce.current = ve, Wt > he || ie.current) {
12954
- const nn = q.current.getBoundingClientRect().height;
12969
+ const nn = K.current.getBoundingClientRect().height;
12955
12970
  let kt = nn;
12956
- nn > he && (kt = he - (zt ? Qn : Q1)), v ? q.current.style.height = `${nn - Math.max(ve, 0)}px` : q.current.style.height = `${Math.max(kt, he - Qn)}px`;
12957
- } else WI() || (q.current.style.height = `${De.current}px`);
12958
- a && a.length > 0 && !ie.current ? q.current.style.bottom = "0px" : q.current.style.bottom = `${Math.max(ve, 0)}px`;
12971
+ nn > he && (kt = he - (zt ? Qn : Q1)), v ? K.current.style.height = `${nn - Math.max(ve, 0)}px` : K.current.style.height = `${Math.max(kt, he - Qn)}px`;
12972
+ } else WI() || (K.current.style.height = `${De.current}px`);
12973
+ a && a.length > 0 && !ie.current ? K.current.style.bottom = "0px" : K.current.style.bottom = `${Math.max(ve, 0)}px`;
12959
12974
  }
12960
12975
  }
12961
12976
  return (ne = window.visualViewport) == null || ne.addEventListener("resize", se), () => {
@@ -12973,9 +12988,9 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12973
12988
  }, qe.DURATION * 1e3);
12974
12989
  }
12975
12990
  function xe() {
12976
- if (!q.current) return;
12977
- const ne = document.querySelector("[data-vaul-drawer-wrapper]"), se = Il(q.current, S);
12978
- ct(q.current, {
12991
+ if (!K.current) return;
12992
+ const ne = document.querySelector("[data-vaul-drawer-wrapper]"), se = Il(K.current, S);
12993
+ ct(K.current, {
12979
12994
  transform: "translate3d(0, 0, 0)",
12980
12995
  transition: `transform ${qe.DURATION}s cubic-bezier(${qe.EASE.join(",")})`
12981
12996
  }), ct(G.current, {
@@ -12997,12 +13012,12 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
12997
13012
  }, !0);
12998
13013
  }
12999
13014
  function At() {
13000
- !re || !q.current || (q.current.classList.remove(Vc), te.current = !1, F(!1), X.current = /* @__PURE__ */ new Date());
13015
+ !re || !K.current || (K.current.classList.remove(Vc), te.current = !1, F(!1), X.current = /* @__PURE__ */ new Date());
13001
13016
  }
13002
13017
  function tn(ne) {
13003
- if (!re || !q.current) return;
13004
- q.current.classList.remove(Vc), te.current = !1, F(!1), X.current = /* @__PURE__ */ new Date();
13005
- const se = Il(q.current, S);
13018
+ if (!re || !K.current) return;
13019
+ K.current.classList.remove(Vc), te.current = !1, F(!1), X.current = /* @__PURE__ */ new Date();
13020
+ const se = Il(K.current, S);
13006
13021
  if (!ne || !It(ne.target, !1) || !se || Number.isNaN(se) || W.current === null) return;
13007
13022
  const le = X.current.getTime() - W.current.getTime(), fe = V.current - (it(S) ? ne.pageY : ne.pageX), he = Math.abs(fe) / le;
13008
13023
  if (he > 0.05 && (k(!0), setTimeout(() => {
@@ -13025,9 +13040,9 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
13025
13040
  return;
13026
13041
  }
13027
13042
  var Re;
13028
- const ve = Math.min((Re = q.current.getBoundingClientRect().height) != null ? Re : 0, window.innerHeight);
13043
+ const ve = Math.min((Re = K.current.getBoundingClientRect().height) != null ? Re : 0, window.innerHeight);
13029
13044
  var Wt;
13030
- const zt = Math.min((Wt = q.current.getBoundingClientRect().width) != null ? Wt : 0, window.innerWidth), Qn = S === "left" || S === "right";
13045
+ const zt = Math.min((Wt = K.current.getBoundingClientRect().width) != null ? Wt : 0, window.innerWidth), Qn = S === "left" || S === "right";
13031
13046
  if (Math.abs(se) >= (Qn ? zt : ve) * u) {
13032
13047
  pe(), i?.(ne, !1);
13033
13048
  return;
@@ -13043,12 +13058,12 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
13043
13058
  ]);
13044
13059
  function bt(ne) {
13045
13060
  const se = ne ? (window.innerWidth - ni) / window.innerWidth : 1, le = ne ? -ni : 0;
13046
- j.current && window.clearTimeout(j.current), ct(q.current, {
13061
+ j.current && window.clearTimeout(j.current), ct(K.current, {
13047
13062
  transition: `transform ${qe.DURATION}s cubic-bezier(${qe.EASE.join(",")})`,
13048
13063
  transform: it(S) ? `scale(${se}) translate3d(0, ${le}px, 0)` : `scale(${se}) translate3d(${le}px, 0, 0)`
13049
- }), !ne && q.current && (j.current = setTimeout(() => {
13050
- const fe = Il(q.current, S);
13051
- ct(q.current, {
13064
+ }), !ne && K.current && (j.current = setTimeout(() => {
13065
+ const fe = Il(K.current, S);
13066
+ ct(K.current, {
13052
13067
  transition: "none",
13053
13068
  transform: it(S) ? `translate3d(0, ${fe}px, 0)` : `translate3d(${fe}px, 0, 0)`
13054
13069
  });
@@ -13057,14 +13072,14 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
13057
13072
  function Tn(ne, se) {
13058
13073
  if (se < 0) return;
13059
13074
  const le = (window.innerWidth - ni) / window.innerWidth, fe = le + se * (1 - le), he = -ni + se * ni;
13060
- ct(q.current, {
13075
+ ct(K.current, {
13061
13076
  transform: it(S) ? `scale(${fe}) translate3d(0, ${he}px, 0)` : `scale(${fe}) translate3d(${he}px, 0, 0)`,
13062
13077
  transition: "none"
13063
13078
  });
13064
13079
  }
13065
13080
  function Or(ne, se) {
13066
13081
  const le = it(S) ? window.innerHeight : window.innerWidth, fe = se ? (le - ni) / le : 1, he = se ? -ni : 0;
13067
- se && ct(q.current, {
13082
+ se && ct(K.current, {
13068
13083
  transition: `transform ${qe.DURATION}s cubic-bezier(${qe.EASE.join(",")})`,
13069
13084
  transform: it(S) ? `scale(${fe}) translate3d(0, ${he}px, 0)` : `scale(${fe}) translate3d(${he}px, 0, 0)`
13070
13085
  });
@@ -13086,7 +13101,7 @@ function fk({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: i, sn
13086
13101
  activeSnapPoint: Tt,
13087
13102
  snapPoints: a,
13088
13103
  setActiveSnapPoint: Bt,
13089
- drawerRef: q,
13104
+ drawerRef: K,
13090
13105
  overlayRef: G,
13091
13106
  onOpenChange: t,
13092
13107
  onPress: Zn,
@@ -13321,9 +13336,9 @@ function Ek({
13321
13336
  children: t,
13322
13337
  ...n
13323
13338
  }) {
13324
- return /* @__PURE__ */ K(yk, { "data-slot": "drawer-portal", children: [
13339
+ return /* @__PURE__ */ q(yk, { "data-slot": "drawer-portal", children: [
13325
13340
  /* @__PURE__ */ x(wk, {}),
13326
- /* @__PURE__ */ K(
13341
+ /* @__PURE__ */ q(
13327
13342
  Sa.Content,
13328
13343
  {
13329
13344
  "aria-describedby": void 0,
@@ -13354,7 +13369,7 @@ function xk({
13354
13369
  }
13355
13370
  );
13356
13371
  }
13357
- function J1e({
13372
+ function Q1e({
13358
13373
  isOpen: e,
13359
13374
  onClose: t,
13360
13375
  title: n,
@@ -13379,12 +13394,12 @@ function J1e({
13379
13394
  "data-[vaul-drawer-direction=right]:w-[560px] data-[vaul-drawer-direction=right]:max-w-[90vw] border-l border-border bg-card text-card-foreground",
13380
13395
  l
13381
13396
  ),
13382
- children: /* @__PURE__ */ K("div", { className: R("flex h-full min-h-0 flex-col", o), children: [
13383
- /* @__PURE__ */ K("div", { className: "flex shrink-0 items-center justify-between border-b border-border p-6", children: [
13397
+ children: /* @__PURE__ */ q("div", { className: R("flex h-full min-h-0 flex-col", o), children: [
13398
+ /* @__PURE__ */ q("div", { className: "flex shrink-0 items-center justify-between border-b border-border p-6", children: [
13384
13399
  /* @__PURE__ */ x(xk, { className: "m-0 text-xl font-semibold text-foreground", children: n }),
13385
- /* @__PURE__ */ K("div", { className: "flex items-center gap-3", children: [
13400
+ /* @__PURE__ */ q("div", { className: "flex items-center gap-3", children: [
13386
13401
  a,
13387
- /* @__PURE__ */ x(bk, { asChild: !0, children: /* @__PURE__ */ K(Ge, { variant: "ghost", size: "icon", className: "cursor-pointer", children: [
13402
+ /* @__PURE__ */ x(bk, { asChild: !0, children: /* @__PURE__ */ q(Ge, { variant: "ghost", size: "icon", className: "cursor-pointer", children: [
13388
13403
  /* @__PURE__ */ x($u, {}),
13389
13404
  /* @__PURE__ */ x("span", { className: "sr-only", children: "Close drawer" })
13390
13405
  ] }) })
@@ -13668,10 +13683,10 @@ function zk(e, t, n, r, i, a, o, l, u, c, f, d, h, m, p, v, g, y, b) {
13668
13683
  function ce($e) {
13669
13684
  (Pu(b) || b(z, $e)) && X($e);
13670
13685
  }
13671
- const q = t;
13672
- O.add(q, "dragstart", ($e) => $e.preventDefault(), C).add(q, "touchmove", () => {
13673
- }, C).add(q, "touchend", () => {
13674
- }).add(q, "touchstart", ce).add(q, "mousedown", ce).add(q, "touchcancel", te).add(q, "contextmenu", te).add(q, "click", j, !0);
13686
+ const K = t;
13687
+ O.add(K, "dragstart", ($e) => $e.preventDefault(), C).add(K, "touchmove", () => {
13688
+ }, C).add(K, "touchend", () => {
13689
+ }).add(K, "touchstart", ce).add(K, "mousedown", ce).add(K, "touchcancel", te).add(K, "contextmenu", te).add(K, "click", j, !0);
13675
13690
  }
13676
13691
  function H() {
13677
13692
  O.clear(), M.clear();
@@ -13688,8 +13703,8 @@ function zk(e, t, n, r, i, a, o, l, u, c, f, d, h, m, p, v, g, y, b) {
13688
13703
  return (p ? I : _)[re ? "mouse" : "touch"];
13689
13704
  }
13690
13705
  function W(z, ce) {
13691
- const q = d.add(j0(z) * -1), $e = f.byDistance(z, !p).distance;
13692
- return p || Ye(z) < P ? $e : g && ce ? $e * 0.5 : f.byIndex(q.get(), 0).distance;
13706
+ const K = d.add(j0(z) * -1), $e = f.byDistance(z, !p).distance;
13707
+ return p || Ye(z) < P ? $e : g && ce ? $e * 0.5 : f.byIndex(K.get(), 0).distance;
13693
13708
  }
13694
13709
  function X(z) {
13695
13710
  const ce = tf(z, r);
@@ -13697,14 +13712,14 @@ function zk(e, t, n, r, i, a, o, l, u, c, f, d, h, m, p, v, g, y, b) {
13697
13712
  }
13698
13713
  function Q(z) {
13699
13714
  if (!tf(z, r) && z.touches.length >= 2) return te(z);
13700
- const q = a.readPoint(z), $e = a.readPoint(z, w), Me = so(q, B), De = so($e, Z);
13715
+ const K = a.readPoint(z), $e = a.readPoint(z, w), Me = so(K, B), De = so($e, Z);
13701
13716
  if (!J && !re && (!z.cancelable || (J = Me > De, !J)))
13702
13717
  return te(z);
13703
13718
  const St = a.pointerMove(z);
13704
13719
  Me > v && (ae = !0), c.useFriction(0.3).useDuration(0.75), l.start(), i.add(S(St)), z.preventDefault();
13705
13720
  }
13706
13721
  function te(z) {
13707
- const q = f.byDistance(0, !1).index !== d.get(), $e = a.pointerUp(z) * U(), Me = W(S($e), q), De = Mk($e, Me), St = D - 10 * De, Tt = y + De / 50;
13722
+ const K = f.byDistance(0, !1).index !== d.get(), $e = a.pointerUp(z) * U(), Me = W(S($e), K), De = Mk($e, Me), St = D - 10 * De, Tt = y + De / 50;
13708
13723
  J = !1, ee = !1, M.clear(), c.useDuration(St).useFriction(Tt), u.distance(Me, !p), re = !1, h.emit("pointerUp");
13709
13724
  }
13710
13725
  function j(z) {
@@ -14379,7 +14394,7 @@ function Jk(e, t, n, r, i, a, o) {
14379
14394
  Wt && Or.stop();
14380
14395
  const zt = pe.get() * fe + At.get() * (1 - fe);
14381
14396
  xe.set(zt), le && (tn.loop(It.direction()), bt.loop()), Jn.to(xe.get()), Wt && ne.emit("settle"), ve || ne.emit("scroll");
14382
- }, q = Nk(r, i, () => z(Zn), (It) => ce(Zn, It)), $e = 0.68, Me = Q[j.get()], De = no(Me), St = no(Me), Tt = no(Me), mt = no(Me), Bt = Ik(De, Tt, St, mt, h, $e), Vt = Wk(d, Q, U, te, mt), Nt = Gk(q, j, V, Bt, Vt, mt, o), bn = jk(te), wn = go(), Xn = Yk(t, n, o, v), {
14397
+ }, K = Nk(r, i, () => z(Zn), (It) => ce(Zn, It)), $e = 0.68, Me = Q[j.get()], De = no(Me), St = no(Me), Tt = no(Me), mt = no(Me), Bt = Ik(De, Tt, St, mt, h, $e), Vt = Wk(d, Q, U, te, mt), Nt = Gk(K, j, V, Bt, Vt, mt, o), bn = jk(te), wn = go(), Xn = Yk(t, n, o, v), {
14383
14398
  slideRegistry: Mr
14384
14399
  } = Vk(Z, b, Q, X, H, ie), Dn = Uk(e, n, Mr, Nt, Bt, wn, o, C), Zn = {
14385
14400
  ownerDocument: r,
@@ -14387,9 +14402,9 @@ function Jk(e, t, n, r, i, a, o) {
14387
14402
  eventHandler: o,
14388
14403
  containerRect: P,
14389
14404
  slideRects: _,
14390
- animation: q,
14405
+ animation: K,
14391
14406
  axis: I,
14392
- dragHandler: zk(I, e, r, i, mt, Fk(I, i), De, q, Nt, Bt, Vt, j, o, T, m, p, y, $e, $),
14407
+ dragHandler: zk(I, e, r, i, mt, Fk(I, i), De, K, Nt, Bt, Vt, j, o, T, m, p, y, $e, $),
14393
14408
  eventStore: wn,
14394
14409
  percentOfView: T,
14395
14410
  index: j,
@@ -14522,8 +14537,8 @@ function xs(e, t, n) {
14522
14537
  slides: z
14523
14538
  } = w;
14524
14539
  C = (ef(ie) ? e.querySelector(ie) : ie) || e.children[0];
14525
- const q = ef(z) ? C.querySelectorAll(z) : z;
14526
- O = [].slice.call(q || C.children);
14540
+ const K = ef(z) ? C.querySelectorAll(z) : z;
14541
+ O = [].slice.call(K || C.children);
14527
14542
  }
14528
14543
  function P(ie) {
14529
14544
  const z = Jk(e, C, O, r, i, ie, u);
@@ -14772,7 +14787,7 @@ function oR({
14772
14787
  ...r
14773
14788
  }) {
14774
14789
  const { orientation: i, scrollPrev: a, canScrollPrev: o } = Nu();
14775
- return /* @__PURE__ */ K(
14790
+ return /* @__PURE__ */ q(
14776
14791
  Ge,
14777
14792
  {
14778
14793
  "data-slot": "carousel-previous",
@@ -14800,7 +14815,7 @@ function lR({
14800
14815
  ...r
14801
14816
  }) {
14802
14817
  const { orientation: i, scrollNext: a, canScrollNext: o } = Nu();
14803
- return /* @__PURE__ */ K(
14818
+ return /* @__PURE__ */ q(
14804
14819
  Ge,
14805
14820
  {
14806
14821
  "data-slot": "carousel-next",
@@ -14844,7 +14859,7 @@ function hR(e, t) {
14844
14859
  const r = e.title?.trim();
14845
14860
  return r != null && r.length > 0 ? r : ["Slide", String(t + 1)].join(" ");
14846
14861
  }
14847
- function Q1e({
14862
+ function efe({
14848
14863
  images: e,
14849
14864
  className: t,
14850
14865
  imageClassName: n,
@@ -14860,7 +14875,7 @@ function Q1e({
14860
14875
  imageUnavailableLabel: h = fR
14861
14876
  }) {
14862
14877
  const [m, p] = Pe({}), v = e.length > 0, g = e.length > 1;
14863
- return v ? /* @__PURE__ */ x("section", { className: R("relative", t), children: /* @__PURE__ */ K(
14878
+ return v ? /* @__PURE__ */ x("section", { className: R("relative", t), children: /* @__PURE__ */ q(
14864
14879
  rR,
14865
14880
  {
14866
14881
  opts: {
@@ -14871,7 +14886,7 @@ function Q1e({
14871
14886
  children: [
14872
14887
  /* @__PURE__ */ x(iR, { className: "ml-0", children: e.map((y, b) => {
14873
14888
  const w = [y.src, String(b)].join("-"), $ = m[w] === !0 ? o?.trim() ?? "" : y.src.trim(), C = y.title?.trim(), O = y.caption?.trim(), M = $.trim().length > 0;
14874
- return /* @__PURE__ */ x(aR, { className: "pl-0", children: /* @__PURE__ */ K(
14889
+ return /* @__PURE__ */ x(aR, { className: "pl-0", children: /* @__PURE__ */ q(
14875
14890
  "div",
14876
14891
  {
14877
14892
  className: R(
@@ -14879,7 +14894,7 @@ function Q1e({
14879
14894
  r === "default" ? "border border-border bg-card shadow-sm" : null
14880
14895
  ),
14881
14896
  children: [
14882
- /* @__PURE__ */ K("div", { className: "relative aspect-[4/3] bg-muted/20", children: [
14897
+ /* @__PURE__ */ q("div", { className: "relative aspect-[4/3] bg-muted/20", children: [
14883
14898
  M ? /* @__PURE__ */ x(
14884
14899
  "img",
14885
14900
  {
@@ -14896,16 +14911,16 @@ function Q1e({
14896
14911
  }));
14897
14912
  }
14898
14913
  }
14899
- ) : /* @__PURE__ */ K("div", { className: "flex h-full w-full flex-col items-center justify-center gap-3 px-6 text-center text-muted-foreground", children: [
14914
+ ) : /* @__PURE__ */ q("div", { className: "flex h-full w-full flex-col items-center justify-center gap-3 px-6 text-center text-muted-foreground", children: [
14900
14915
  /* @__PURE__ */ x(hm, { className: "size-7" }),
14901
14916
  /* @__PURE__ */ x("p", { className: "text-sm font-medium", children: h })
14902
14917
  ] }),
14903
- a ? /* @__PURE__ */ x("div", { className: "absolute inset-0 flex items-center justify-center bg-background/80 backdrop-blur-[1px]", children: /* @__PURE__ */ K("div", { className: "flex flex-col items-center gap-3 text-sm text-muted-foreground", children: [
14918
+ a ? /* @__PURE__ */ x("div", { className: "absolute inset-0 flex items-center justify-center bg-background/80 backdrop-blur-[1px]", children: /* @__PURE__ */ q("div", { className: "flex flex-col items-center gap-3 text-sm text-muted-foreground", children: [
14904
14919
  /* @__PURE__ */ x(sR, { className: "size-5 text-primary" }),
14905
14920
  /* @__PURE__ */ x("span", { children: d })
14906
14921
  ] }) }) : null
14907
14922
  ] }),
14908
- i && (C != null || O != null) ? /* @__PURE__ */ K("div", { className: "space-y-1 border-t border-border px-4 py-3 sm:px-5", children: [
14923
+ i && (C != null || O != null) ? /* @__PURE__ */ q("div", { className: "space-y-1 border-t border-border px-4 py-3 sm:px-5", children: [
14909
14924
  C != null && C.length > 0 ? /* @__PURE__ */ x("p", { className: "text-sm font-semibold text-foreground", children: C }) : null,
14910
14925
  O != null && O.length > 0 ? /* @__PURE__ */ x("p", { className: "text-sm leading-6 text-muted-foreground", children: O }) : null
14911
14926
  ] }) : null
@@ -14913,7 +14928,7 @@ function Q1e({
14913
14928
  }
14914
14929
  ) }, w);
14915
14930
  }) }),
14916
- g ? /* @__PURE__ */ K(xi, { children: [
14931
+ g ? /* @__PURE__ */ q(xi, { children: [
14917
14932
  /* @__PURE__ */ x(
14918
14933
  oR,
14919
14934
  {
@@ -14931,7 +14946,7 @@ function Q1e({
14931
14946
  ] }) : null
14932
14947
  ]
14933
14948
  }
14934
- ) }) : /* @__PURE__ */ K(
14949
+ ) }) : /* @__PURE__ */ q(
14935
14950
  "section",
14936
14951
  {
14937
14952
  className: R(
@@ -14982,7 +14997,7 @@ function yR(e) {
14982
14997
  function bR(e) {
14983
14998
  return e == null || Number.isNaN(e) || e === 0 ? mR : Math.abs(e);
14984
14999
  }
14985
- function efe({
15000
+ function tfe({
14986
15001
  allowDecimal: e = !0,
14987
15002
  className: t,
14988
15003
  defaultValue: n = null,
@@ -15031,7 +15046,7 @@ function efe({
15031
15046
  }, ee = (re) => {
15032
15047
  d?.(re), !(re.defaultPrevented || i != null && i || m != null && m) && (re.key === "ArrowDown" && (re.preventDefault(), T(-1)), re.key === "ArrowUp" && (re.preventDefault(), T(1)));
15033
15048
  }, J = i != null && i || m != null && m || r?.disabled === !0 || _ != null && u != null && _ <= u, ae = i != null && i || m != null && m || a?.disabled === !0 || _ != null && l != null && _ >= l;
15034
- return /* @__PURE__ */ K(
15049
+ return /* @__PURE__ */ q(
15035
15050
  "div",
15036
15051
  {
15037
15052
  "data-slot": "number-input",
@@ -15173,17 +15188,17 @@ function ER() {
15173
15188
  var ce = z.$$typeof;
15174
15189
  switch (ce) {
15175
15190
  case t:
15176
- var q = z.type;
15177
- switch (q) {
15191
+ var K = z.type;
15192
+ switch (K) {
15178
15193
  case u:
15179
15194
  case c:
15180
15195
  case r:
15181
15196
  case a:
15182
15197
  case i:
15183
15198
  case d:
15184
- return q;
15199
+ return K;
15185
15200
  default:
15186
- var $e = q && q.$$typeof;
15201
+ var $e = K && K.$$typeof;
15187
15202
  switch ($e) {
15188
15203
  case l:
15189
15204
  case f:
@@ -21486,13 +21501,13 @@ function el(e, t) {
21486
21501
  return n.push(W0), e.apply(this, n);
21487
21502
  }
21488
21503
  TE(W0);
21489
- function tfe() {
21504
+ function nfe() {
21490
21505
  return el(fE, arguments);
21491
21506
  }
21492
21507
  function GV() {
21493
21508
  return el(aj, arguments);
21494
21509
  }
21495
- function nfe() {
21510
+ function rfe() {
21496
21511
  return el(uj, arguments);
21497
21512
  }
21498
21513
  function UV() {
@@ -22761,16 +22776,16 @@ function ku({ asChild: e, children: t }, n) {
22761
22776
  return e && E.isValidElement(t) ? E.cloneElement(HW(t), { ref: t.ref }, n(t.props.children)) : n(t);
22762
22777
  }
22763
22778
  var jW = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
22764
- function rfe(e) {
22779
+ function ife(e) {
22765
22780
  return /* @__PURE__ */ x(xt.Root, { "data-slot": "dialog", ...e });
22766
22781
  }
22767
- function ife(e) {
22782
+ function afe(e) {
22768
22783
  return /* @__PURE__ */ x(xt.Trigger, { "data-slot": "dialog-trigger", ...e });
22769
22784
  }
22770
22785
  function BW(e) {
22771
22786
  return /* @__PURE__ */ x(xt.Portal, { "data-slot": "dialog-portal", ...e });
22772
22787
  }
22773
- function afe(e) {
22788
+ function ofe(e) {
22774
22789
  return /* @__PURE__ */ x(xt.Close, { "data-slot": "dialog-close", ...e });
22775
22790
  }
22776
22791
  function VW({
@@ -22789,15 +22804,15 @@ function VW({
22789
22804
  }
22790
22805
  );
22791
22806
  }
22792
- function ofe({
22807
+ function lfe({
22793
22808
  className: e,
22794
22809
  children: t,
22795
22810
  showCloseButton: n = !0,
22796
22811
  ...r
22797
22812
  }) {
22798
- return /* @__PURE__ */ K(BW, { children: [
22813
+ return /* @__PURE__ */ q(BW, { children: [
22799
22814
  /* @__PURE__ */ x(VW, {}),
22800
- /* @__PURE__ */ K(
22815
+ /* @__PURE__ */ q(
22801
22816
  xt.Content,
22802
22817
  {
22803
22818
  "data-slot": "dialog-content",
@@ -22808,7 +22823,7 @@ function ofe({
22808
22823
  ...r,
22809
22824
  children: [
22810
22825
  t,
22811
- n && /* @__PURE__ */ x(xt.Close, { "data-slot": "dialog-close", asChild: !0, children: /* @__PURE__ */ K(
22826
+ n && /* @__PURE__ */ x(xt.Close, { "data-slot": "dialog-close", asChild: !0, children: /* @__PURE__ */ q(
22812
22827
  Ge,
22813
22828
  {
22814
22829
  variant: "ghost",
@@ -22825,7 +22840,7 @@ function ofe({
22825
22840
  )
22826
22841
  ] });
22827
22842
  }
22828
- function lfe({
22843
+ function sfe({
22829
22844
  className: e,
22830
22845
  ...t
22831
22846
  }) {
@@ -22838,13 +22853,13 @@ function lfe({
22838
22853
  }
22839
22854
  );
22840
22855
  }
22841
- function sfe({
22856
+ function ufe({
22842
22857
  className: e,
22843
22858
  onClose: t,
22844
22859
  children: n,
22845
22860
  ...r
22846
22861
  }) {
22847
- return /* @__PURE__ */ K(
22862
+ return /* @__PURE__ */ q(
22848
22863
  "div",
22849
22864
  {
22850
22865
  "data-slot": "dialog-footer",
@@ -22860,7 +22875,7 @@ function sfe({
22860
22875
  }
22861
22876
  );
22862
22877
  }
22863
- function ufe({
22878
+ function cfe({
22864
22879
  className: e,
22865
22880
  ...t
22866
22881
  }) {
@@ -22873,7 +22888,7 @@ function ufe({
22873
22888
  }
22874
22889
  );
22875
22890
  }
22876
- function cfe({
22891
+ function dfe({
22877
22892
  className: e,
22878
22893
  ...t
22879
22894
  }) {
@@ -22889,7 +22904,7 @@ function cfe({
22889
22904
  }
22890
22905
  );
22891
22906
  }
22892
- function dfe({ className: e, ...t }) {
22907
+ function ffe({ className: e, ...t }) {
22893
22908
  return /* @__PURE__ */ x(
22894
22909
  "textarea",
22895
22910
  {
@@ -22977,7 +22992,7 @@ function qE({
22977
22992
  className: e,
22978
22993
  ...t
22979
22994
  }) {
22980
- return /* @__PURE__ */ x("div", { "data-slot": "command-input-wrapper", className: "pb-0", children: /* @__PURE__ */ K(WW, { className: "h-8! border-input/30 bg-input/30 shadow-none! py-5 *:data-[slot=input-group-addon]:pl-2!", children: [
22995
+ return /* @__PURE__ */ x("div", { "data-slot": "command-input-wrapper", className: "pb-0", children: /* @__PURE__ */ q(WW, { className: "h-8! border-input/30 bg-input/30 shadow-none! py-5 *:data-[slot=input-group-addon]:pl-2!", children: [
22981
22996
  /* @__PURE__ */ x(
22982
22997
  Ca.Input,
22983
22998
  {
@@ -23043,7 +23058,7 @@ function Cf({
23043
23058
  showIndicator: n = !0,
23044
23059
  ...r
23045
23060
  }) {
23046
- return /* @__PURE__ */ K(
23061
+ return /* @__PURE__ */ q(
23047
23062
  Ca.Item,
23048
23063
  {
23049
23064
  "data-slot": "command-item",
@@ -23065,7 +23080,7 @@ function ZE(e) {
23065
23080
  function JE(e) {
23066
23081
  return /* @__PURE__ */ x(fo.Trigger, { "data-slot": "popover-trigger", ...e });
23067
23082
  }
23068
- function ffe(e) {
23083
+ function hfe(e) {
23069
23084
  return /* @__PURE__ */ x(fo.Anchor, { "data-slot": "popover-anchor", ...e });
23070
23085
  }
23071
23086
  function QE({
@@ -23168,7 +23183,7 @@ function qW({
23168
23183
  p(
23169
23184
  (M) => M >= b.length ? b.length - 1 : M
23170
23185
  );
23171
- }, [b.length]), /* @__PURE__ */ K(UE, { shouldFilter: !1, onKeyDown: O, className: "p-0", children: [
23186
+ }, [b.length]), /* @__PURE__ */ q(UE, { shouldFilter: !1, onKeyDown: O, className: "p-0", children: [
23172
23187
  u && /* @__PURE__ */ x(
23173
23188
  qE,
23174
23189
  {
@@ -23180,7 +23195,7 @@ function qW({
23180
23195
  }
23181
23196
  ),
23182
23197
  C != null ? /* @__PURE__ */ x("div", { className: "border-b border-border p-2", children: C }) : null,
23183
- /* @__PURE__ */ K(
23198
+ /* @__PURE__ */ q(
23184
23199
  KE,
23185
23200
  {
23186
23201
  ref: y,
@@ -23202,7 +23217,7 @@ function qW({
23202
23217
  },
23203
23218
  children: S.map((M) => {
23204
23219
  const P = b[M.index], _ = f?.(P) ?? [], I = P.disabled === !0;
23205
- return /* @__PURE__ */ K(
23220
+ return /* @__PURE__ */ q(
23206
23221
  Cf,
23207
23222
  {
23208
23223
  showIndicator: !1,
@@ -23229,7 +23244,7 @@ function qW({
23229
23244
  I || i?.(D);
23230
23245
  },
23231
23246
  children: [
23232
- /* @__PURE__ */ K(
23247
+ /* @__PURE__ */ q(
23233
23248
  "div",
23234
23249
  {
23235
23250
  className: R(
@@ -23313,8 +23328,8 @@ function ex(e) {
23313
23328
  () => d.find((y) => y.value === p),
23314
23329
  [d, p]
23315
23330
  ), g = p.length > 0 ? h.get(p) ?? p : e.placeholder;
23316
- return /* @__PURE__ */ x("div", { className: R("w-full", e.className), children: /* @__PURE__ */ K(ZE, { open: t, onOpenChange: n, modal: e.modal ?? !1, children: [
23317
- /* @__PURE__ */ x(JE, { asChild: !0, ...i, children: /* @__PURE__ */ K(
23331
+ return /* @__PURE__ */ x("div", { className: R("w-full", e.className), children: /* @__PURE__ */ q(ZE, { open: t, onOpenChange: n, modal: e.modal ?? !1, children: [
23332
+ /* @__PURE__ */ x(JE, { asChild: !0, ...i, children: /* @__PURE__ */ q(
23318
23333
  Ge,
23319
23334
  {
23320
23335
  variant: "outline",
@@ -23402,7 +23417,7 @@ function wp(e, t) {
23402
23417
  value: e
23403
23418
  };
23404
23419
  }
23405
- function hfe({
23420
+ function mfe({
23406
23421
  className: e,
23407
23422
  countries: t,
23408
23423
  country: n,
@@ -23430,7 +23445,7 @@ function hfe({
23430
23445
  const T = D, B = wp(S, T);
23431
23446
  p || b(T), l?.(T, B);
23432
23447
  };
23433
- return /* @__PURE__ */ K(
23448
+ return /* @__PURE__ */ q(
23434
23449
  "div",
23435
23450
  {
23436
23451
  "data-slot": "phone-number-input",
@@ -33835,27 +33850,27 @@ function PQ(e) {
33835
33850
  w.x = C(n, w), w.X = C(r, w), w.c = C(t, w), S.x = C(n, S), S.X = C(r, S), S.c = C(t, S);
33836
33851
  function C(j, V) {
33837
33852
  return function(ie) {
33838
- var z = [], ce = -1, q = 0, $e = j.length, Me, De, St;
33853
+ var z = [], ce = -1, K = 0, $e = j.length, Me, De, St;
33839
33854
  for (ie instanceof Date || (ie = /* @__PURE__ */ new Date(+ie)); ++ce < $e; )
33840
- j.charCodeAt(ce) === 37 && (z.push(j.slice(q, ce)), (De = V4[Me = j.charAt(++ce)]) != null ? Me = j.charAt(++ce) : De = Me === "e" ? " " : "0", (St = V[Me]) && (Me = St(ie, De)), z.push(Me), q = ce + 1);
33841
- return z.push(j.slice(q, ce)), z.join("");
33855
+ j.charCodeAt(ce) === 37 && (z.push(j.slice(K, ce)), (De = V4[Me = j.charAt(++ce)]) != null ? Me = j.charAt(++ce) : De = Me === "e" ? " " : "0", (St = V[Me]) && (Me = St(ie, De)), z.push(Me), K = ce + 1);
33856
+ return z.push(j.slice(K, ce)), z.join("");
33842
33857
  };
33843
33858
  }
33844
33859
  function O(j, V) {
33845
33860
  return function(ie) {
33846
- var z = qa(1900, void 0, 1), ce = M(z, j, ie += "", 0), q, $e;
33861
+ var z = qa(1900, void 0, 1), ce = M(z, j, ie += "", 0), K, $e;
33847
33862
  if (ce != ie.length) return null;
33848
33863
  if ("Q" in z) return new Date(z.Q);
33849
33864
  if ("s" in z) return new Date(z.s * 1e3 + ("L" in z ? z.L : 0));
33850
33865
  if (V && !("Z" in z) && (z.Z = 0), "p" in z && (z.H = z.H % 12 + z.p * 12), z.m === void 0 && (z.m = "q" in z ? z.q : 0), "V" in z) {
33851
33866
  if (z.V < 1 || z.V > 53) return null;
33852
- "w" in z || (z.w = 1), "Z" in z ? (q = C1(qa(z.y, 0, 1)), $e = q.getUTCDay(), q = $e > 4 || $e === 0 ? du.ceil(q) : du(q), q = dc.offset(q, (z.V - 1) * 7), z.y = q.getUTCFullYear(), z.m = q.getUTCMonth(), z.d = q.getUTCDate() + (z.w + 6) % 7) : (q = S1(qa(z.y, 0, 1)), $e = q.getDay(), q = $e > 4 || $e === 0 ? cu.ceil(q) : cu(q), q = vl.offset(q, (z.V - 1) * 7), z.y = q.getFullYear(), z.m = q.getMonth(), z.d = q.getDate() + (z.w + 6) % 7);
33867
+ "w" in z || (z.w = 1), "Z" in z ? (K = C1(qa(z.y, 0, 1)), $e = K.getUTCDay(), K = $e > 4 || $e === 0 ? du.ceil(K) : du(K), K = dc.offset(K, (z.V - 1) * 7), z.y = K.getUTCFullYear(), z.m = K.getUTCMonth(), z.d = K.getUTCDate() + (z.w + 6) % 7) : (K = S1(qa(z.y, 0, 1)), $e = K.getDay(), K = $e > 4 || $e === 0 ? cu.ceil(K) : cu(K), K = vl.offset(K, (z.V - 1) * 7), z.y = K.getFullYear(), z.m = K.getMonth(), z.d = K.getDate() + (z.w + 6) % 7);
33853
33868
  } else ("W" in z || "U" in z) && ("w" in z || (z.w = "u" in z ? z.u % 7 : "W" in z ? 1 : 0), $e = "Z" in z ? C1(qa(z.y, 0, 1)).getUTCDay() : S1(qa(z.y, 0, 1)).getDay(), z.m = 0, z.d = "W" in z ? (z.w + 6) % 7 + z.W * 7 - ($e + 5) % 7 : z.w + z.U * 7 - ($e + 6) % 7);
33854
33869
  return "Z" in z ? (z.H += z.Z / 100 | 0, z.M += z.Z % 100, C1(z)) : S1(z);
33855
33870
  };
33856
33871
  }
33857
33872
  function M(j, V, ie, z) {
33858
- for (var ce = 0, q = V.length, $e = ie.length, Me, De; ce < q; ) {
33873
+ for (var ce = 0, K = V.length, $e = ie.length, Me, De; ce < K; ) {
33859
33874
  if (z >= $e) return -1;
33860
33875
  if (Me = V.charCodeAt(ce++), Me === 37) {
33861
33876
  if (Me = V.charAt(ce++), De = $[Me in V4 ? V.charAt(ce++) : Me], !De || (z = De(j, ie, z)) < 0) return -1;
@@ -36316,7 +36331,7 @@ var Bre = {
36316
36331
  }), {
36317
36332
  setChartData: m5,
36318
36333
  setDataStartEndIndexes: Vre,
36319
- setComputedData: pfe
36334
+ setComputedData: vfe
36320
36335
  } = JC.actions, Wre = JC.reducer, Gre = ["x", "y"];
36321
36336
  function p5(e, t) {
36322
36337
  var n = Object.keys(e);
@@ -37629,10 +37644,10 @@ var xae = {
37629
37644
  }
37630
37645
  }
37631
37646
  }), {
37632
- addRadiusAxis: vfe,
37633
- removeRadiusAxis: gfe,
37634
- addAngleAxis: yfe,
37635
- removeAngleAxis: bfe
37647
+ addRadiusAxis: gfe,
37648
+ removeRadiusAxis: yfe,
37649
+ addAngleAxis: bfe,
37650
+ removeAngleAxis: wfe
37636
37651
  } = dM.actions, $ae = dM.reducer;
37637
37652
  function Sae(e) {
37638
37653
  return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
@@ -38106,9 +38121,9 @@ var ooe = /* @__PURE__ */ en(void 0), loe = (e) => {
38106
38121
  }
38107
38122
  }
38108
38123
  }), {
38109
- addCartesianGraphicalItem: wfe,
38110
- replaceCartesianGraphicalItem: Efe,
38111
- removeCartesianGraphicalItem: xfe,
38124
+ addCartesianGraphicalItem: Efe,
38125
+ replaceCartesianGraphicalItem: xfe,
38126
+ removeCartesianGraphicalItem: $fe,
38112
38127
  addPolarGraphicalItem: uoe,
38113
38128
  removePolarGraphicalItem: coe,
38114
38129
  replacePolarGraphicalItem: doe
@@ -38753,16 +38768,16 @@ var Woe = {
38753
38768
  }
38754
38769
  }
38755
38770
  }), {
38756
- addXAxis: $fe,
38757
- replaceXAxis: Sfe,
38758
- removeXAxis: Cfe,
38759
- addYAxis: Mfe,
38760
- replaceYAxis: Ofe,
38761
- removeYAxis: Pfe,
38762
- addZAxis: Nfe,
38763
- replaceZAxis: Afe,
38764
- removeZAxis: zfe,
38765
- updateYAxisWidth: Ffe
38771
+ addXAxis: Sfe,
38772
+ replaceXAxis: Cfe,
38773
+ removeXAxis: Mfe,
38774
+ addYAxis: Ofe,
38775
+ replaceYAxis: Pfe,
38776
+ removeYAxis: Nfe,
38777
+ addZAxis: Afe,
38778
+ replaceZAxis: zfe,
38779
+ removeZAxis: Ffe,
38780
+ updateYAxisWidth: _fe
38766
38781
  } = gM.actions, Goe = gM.reducer, Uoe = L([vt], (e) => ({
38767
38782
  top: e.top,
38768
38783
  bottom: e.bottom,
@@ -38804,7 +38819,7 @@ var Woe = {
38804
38819
  }
38805
38820
  }
38806
38821
  }), {
38807
- setBrushSettings: _fe
38822
+ setBrushSettings: Dfe
38808
38823
  } = yM.actions, Xoe = yM.reducer, Zoe = {
38809
38824
  dots: [],
38810
38825
  areas: [],
@@ -38836,12 +38851,12 @@ var Woe = {
38836
38851
  }
38837
38852
  }
38838
38853
  }), {
38839
- addDot: Dfe,
38840
- removeDot: Tfe,
38841
- addArea: Ife,
38842
- removeArea: kfe,
38843
- addLine: Rfe,
38844
- removeLine: Lfe
38854
+ addDot: Tfe,
38855
+ removeDot: Ife,
38856
+ addArea: kfe,
38857
+ removeArea: Rfe,
38858
+ addLine: Lfe,
38859
+ removeLine: Hfe
38845
38860
  } = bM.actions, Joe = bM.reducer, Qoe = /* @__PURE__ */ en(void 0), ele = (e) => {
38846
38861
  var {
38847
38862
  children: t
@@ -38888,8 +38903,8 @@ var Woe = {
38888
38903
  }
38889
38904
  }
38890
38905
  }), {
38891
- setRenderedTicks: Hfe,
38892
- removeRenderedTicks: jfe
38906
+ setRenderedTicks: jfe,
38907
+ removeRenderedTicks: Bfe
38893
38908
  } = wM.actions, nle = wM.reducer, rle = {}, EM = Pt({
38894
38909
  name: "errorBars",
38895
38910
  initialState: rle,
@@ -38918,9 +38933,9 @@ var Woe = {
38918
38933
  }
38919
38934
  }
38920
38935
  }), {
38921
- addErrorBar: Bfe,
38922
- replaceErrorBar: Vfe,
38923
- removeErrorBar: Wfe
38936
+ addErrorBar: Vfe,
38937
+ replaceErrorBar: Wfe,
38938
+ removeErrorBar: Gfe
38924
38939
  } = EM.actions, ile = EM.reducer, ale = (e, t) => t, Kh = L([ale, Ue, bS, gt, RC, Cr, are, vt], fre);
38925
38940
  function ole(e) {
38926
38941
  return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
@@ -40056,7 +40071,7 @@ function fse({
40056
40071
  ...a
40057
40072
  }) {
40058
40073
  const o = E.useId(), l = `chart-${e ?? o.replace(/:/g, "")}`;
40059
- return /* @__PURE__ */ x(kM.Provider, { value: { config: r }, children: /* @__PURE__ */ K(
40074
+ return /* @__PURE__ */ x(kM.Provider, { value: { config: r }, children: /* @__PURE__ */ q(
40060
40075
  "div",
40061
40076
  {
40062
40077
  "data-slot": "chart",
@@ -40139,7 +40154,7 @@ function pse({
40139
40154
  if (e !== !0 || t == null || t.length === 0)
40140
40155
  return null;
40141
40156
  const v = t.length === 1 && r !== "dot";
40142
- return /* @__PURE__ */ K(
40157
+ return /* @__PURE__ */ q(
40143
40158
  "div",
40144
40159
  {
40145
40160
  className: R(
@@ -40157,7 +40172,7 @@ function pse({
40157
40172
  "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
40158
40173
  r === "dot" && "items-center"
40159
40174
  ),
40160
- children: c !== void 0 && g.value !== void 0 && g.name !== void 0 ? c(g.value, g.name, g, y, t) : /* @__PURE__ */ K(xi, { children: [
40175
+ children: c !== void 0 && g.value !== void 0 && g.name !== void 0 ? c(g.value, g.name, g, y, t) : /* @__PURE__ */ q(xi, { children: [
40161
40176
  w?.icon !== void 0 ? /* @__PURE__ */ x(w.icon, {}) : !a && /* @__PURE__ */ x(
40162
40177
  "div",
40163
40178
  {
@@ -40176,7 +40191,7 @@ function pse({
40176
40191
  }
40177
40192
  }
40178
40193
  ),
40179
- /* @__PURE__ */ K(
40194
+ /* @__PURE__ */ q(
40180
40195
  "div",
40181
40196
  {
40182
40197
  className: R(
@@ -40184,7 +40199,7 @@ function pse({
40184
40199
  v ? "items-end" : "items-center"
40185
40200
  ),
40186
40201
  children: [
40187
- /* @__PURE__ */ K("div", { className: "grid gap-1.5", children: [
40202
+ /* @__PURE__ */ q("div", { className: "grid gap-1.5", children: [
40188
40203
  v ? p : null,
40189
40204
  /* @__PURE__ */ x("span", { className: "text-muted-foreground", children: w?.label ?? g.name })
40190
40205
  ] }),
@@ -40201,8 +40216,8 @@ function pse({
40201
40216
  }
40202
40217
  );
40203
40218
  }
40204
- const Gfe = j$;
40205
- function Ufe({
40219
+ const Ufe = j$;
40220
+ function qfe({
40206
40221
  className: e,
40207
40222
  hideIcon: t = !1,
40208
40223
  payload: n,
@@ -40220,7 +40235,7 @@ function Ufe({
40220
40235
  ),
40221
40236
  children: n.filter((o) => o.type !== "none").map((o) => {
40222
40237
  const l = i ?? o.dataKey ?? "value", u = y0(a, o, l);
40223
- return /* @__PURE__ */ K(
40238
+ return /* @__PURE__ */ q(
40224
40239
  "div",
40225
40240
  {
40226
40241
  className: R(
@@ -40285,7 +40300,7 @@ function bse({
40285
40300
  value: t,
40286
40301
  viewBox: n
40287
40302
  }) {
40288
- return n?.cx == null || n.cy == null ? null : /* @__PURE__ */ K(
40303
+ return n?.cx == null || n.cy == null ? null : /* @__PURE__ */ q(
40289
40304
  "text",
40290
40305
  {
40291
40306
  x: n.cx,
@@ -40315,7 +40330,7 @@ function bse({
40315
40330
  }
40316
40331
  );
40317
40332
  }
40318
- function qfe({
40333
+ function Kfe({
40319
40334
  centerLabel: e,
40320
40335
  centerValue: t,
40321
40336
  className: n,
@@ -40353,7 +40368,7 @@ function qfe({
40353
40368
  initialDimension: i,
40354
40369
  className: R("mx-auto aspect-square w-full", n),
40355
40370
  ...d,
40356
- children: /* @__PURE__ */ K(use, { children: [
40371
+ children: /* @__PURE__ */ q(use, { children: [
40357
40372
  l ? /* @__PURE__ */ x(
40358
40373
  mse,
40359
40374
  {
@@ -40438,7 +40453,7 @@ function xse({
40438
40453
  }
40439
40454
  );
40440
40455
  }
40441
- function Kfe({
40456
+ function Yfe({
40442
40457
  className: e,
40443
40458
  ...t
40444
40459
  }) {
@@ -40451,7 +40466,7 @@ function Kfe({
40451
40466
  }
40452
40467
  );
40453
40468
  }
40454
- function Yfe({
40469
+ function Xfe({
40455
40470
  className: e,
40456
40471
  ...t
40457
40472
  }) {
@@ -40480,7 +40495,7 @@ function $se({
40480
40495
  }
40481
40496
  );
40482
40497
  }
40483
- function Xfe({
40498
+ function Zfe({
40484
40499
  className: e,
40485
40500
  ...t
40486
40501
  }) {
@@ -40496,14 +40511,14 @@ function Xfe({
40496
40511
  }
40497
40512
  );
40498
40513
  }
40499
- function Zfe({
40514
+ function Jfe({
40500
40515
  title: e,
40501
40516
  children: t,
40502
40517
  size: n,
40503
40518
  className: r,
40504
40519
  contentClassName: i
40505
40520
  }) {
40506
- return /* @__PURE__ */ K(wse, { size: n, className: r, children: [
40521
+ return /* @__PURE__ */ q(wse, { size: n, className: r, children: [
40507
40522
  /* @__PURE__ */ x(Ese, { children: /* @__PURE__ */ x(xse, { children: e }) }),
40508
40523
  /* @__PURE__ */ x("hr", { className: "mb-2" }),
40509
40524
  /* @__PURE__ */ x($se, { className: i, children: t })
@@ -40621,7 +40636,7 @@ const Tse = [
40621
40636
  icon: p_
40622
40637
  }
40623
40638
  ];
40624
- function Jfe({
40639
+ function Qfe({
40625
40640
  className: e,
40626
40641
  optionClassName: t
40627
40642
  }) {
@@ -43345,7 +43360,7 @@ function Mde(e) {
43345
43360
  t.classNames
43346
43361
  ]);
43347
43362
  t.today || (t = { ...t, today: o.today() });
43348
- const { captionLayout: c, mode: f, navLayout: d, numberOfMonths: h = 1, onDayBlur: m, onDayClick: p, onDayFocus: v, onDayKeyDown: g, onDayMouseEnter: y, onDayMouseLeave: b, onNextClick: w, onPrevClick: S, showWeekNumber: $, styles: C } = t, { formatCaption: O, formatDay: M, formatMonthDropdown: P, formatWeekNumber: _, formatWeekNumberHeader: I, formatWeekdayName: D, formatYearDropdown: T } = i, B = pde(t, o), { days: Z, months: ee, navStart: J, navEnd: ae, previousMonth: re, nextMonth: F, goToMonth: H } = B, k = Ice(Z, t, J, ae, o), { isSelected: G, select: U, selected: W } = Cde(t, o) ?? {}, { blur: X, focused: Q, isFocusTarget: te, moveFocus: j, setFocused: V } = yde(t, B, k, G ?? (() => !1), o), { labelDayButton: ie, labelGridcell: z, labelGrid: ce, labelMonthDropdown: q, labelNav: $e, labelPrevious: Me, labelNext: De, labelWeekday: St, labelWeekNumber: Tt, labelWeekNumberHeader: mt, labelYearDropdown: Bt } = a, Vt = rt(() => ede(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), Nt = f !== void 0 || p !== void 0, bn = be(() => {
43363
+ const { captionLayout: c, mode: f, navLayout: d, numberOfMonths: h = 1, onDayBlur: m, onDayClick: p, onDayFocus: v, onDayKeyDown: g, onDayMouseEnter: y, onDayMouseLeave: b, onNextClick: w, onPrevClick: S, showWeekNumber: $, styles: C } = t, { formatCaption: O, formatDay: M, formatMonthDropdown: P, formatWeekNumber: _, formatWeekNumberHeader: I, formatWeekdayName: D, formatYearDropdown: T } = i, B = pde(t, o), { days: Z, months: ee, navStart: J, navEnd: ae, previousMonth: re, nextMonth: F, goToMonth: H } = B, k = Ice(Z, t, J, ae, o), { isSelected: G, select: U, selected: W } = Cde(t, o) ?? {}, { blur: X, focused: Q, isFocusTarget: te, moveFocus: j, setFocused: V } = yde(t, B, k, G ?? (() => !1), o), { labelDayButton: ie, labelGridcell: z, labelGrid: ce, labelMonthDropdown: K, labelNav: $e, labelPrevious: Me, labelNext: De, labelWeekday: St, labelWeekNumber: Tt, labelWeekNumberHeader: mt, labelYearDropdown: Bt } = a, Vt = rt(() => ede(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), Nt = f !== void 0 || p !== void 0, bn = be(() => {
43349
43364
  re && (H(re), S?.(re));
43350
43365
  }, [re, H, S]), wn = be(() => {
43351
43366
  F && (H(F), w?.(F));
@@ -43446,7 +43461,7 @@ function Mde(e) {
43446
43461
  r.DropdownNav,
43447
43462
  { className: u[me.Dropdowns], style: C?.[me.Dropdowns] },
43448
43463
  (() => {
43449
- const fe = c === "dropdown" || c === "dropdown-months" ? s.createElement(r.MonthsDropdown, { key: "month", className: u[me.MonthsDropdown], "aria-label": q(), disabled: !!t.disableNavigation, onChange: pe(ne.date, le), options: Jce(ne.date, J, ae, i, o), style: C?.[me.Dropdown], value: o.getMonth(ne.date) }) : s.createElement("span", { key: "month" }, P(ne.date, o)), he = c === "dropdown" || c === "dropdown-years" ? s.createElement(r.YearsDropdown, { key: "year", className: u[me.YearsDropdown], "aria-label": Bt(o.options), disabled: !!t.disableNavigation, onChange: xe(ne.date, le), options: tde(J, ae, i, o, !!t.reverseYears), style: C?.[me.Dropdown], value: o.getYear(ne.date) }) : s.createElement("span", { key: "year" }, T(ne.date, o));
43464
+ const fe = c === "dropdown" || c === "dropdown-months" ? s.createElement(r.MonthsDropdown, { key: "month", className: u[me.MonthsDropdown], "aria-label": K(), disabled: !!t.disableNavigation, onChange: pe(ne.date, le), options: Jce(ne.date, J, ae, i, o), style: C?.[me.Dropdown], value: o.getMonth(ne.date) }) : s.createElement("span", { key: "month" }, P(ne.date, o)), he = c === "dropdown" || c === "dropdown-years" ? s.createElement(r.YearsDropdown, { key: "year", className: u[me.YearsDropdown], "aria-label": Bt(o.options), disabled: !!t.disableNavigation, onChange: xe(ne.date, le), options: tde(J, ae, i, o, !!t.reverseYears), style: C?.[me.Dropdown], value: o.getYear(ne.date) }) : s.createElement("span", { key: "year" }, T(ne.date, o));
43450
43465
  return o.getMonthYearOrder() === "year-first" ? [he, fe] : [fe, he];
43451
43466
  })(),
43452
43467
  s.createElement("span", { role: "status", "aria-live": "polite", style: {
@@ -43556,7 +43571,7 @@ function M7({
43556
43571
  }
43557
43572
  );
43558
43573
  }
43559
- function Qfe({
43574
+ function e0e({
43560
43575
  className: e,
43561
43576
  classNames: t,
43562
43577
  showOutsideDays: n = !0,
@@ -43733,7 +43748,7 @@ function xu({ className: e, ...t }) {
43733
43748
  e
43734
43749
  ),
43735
43750
  ...t,
43736
- children: /* @__PURE__ */ K(
43751
+ children: /* @__PURE__ */ q(
43737
43752
  cm.Indicator,
43738
43753
  {
43739
43754
  "data-slot": "checkbox-indicator",
@@ -45788,12 +45803,12 @@ function R1e({
45788
45803
  function L1e({
45789
45804
  columns: e
45790
45805
  }) {
45791
- return e.length === 0 ? null : /* @__PURE__ */ K(q1, { children: [
45792
- /* @__PURE__ */ x(K1, { asChild: !0, children: /* @__PURE__ */ K(Ge, { type: "button", variant: "outline", size: "sm", children: [
45806
+ return e.length === 0 ? null : /* @__PURE__ */ q(q1, { children: [
45807
+ /* @__PURE__ */ x(K1, { asChild: !0, children: /* @__PURE__ */ q(Ge, { type: "button", variant: "outline", size: "sm", children: [
45793
45808
  "Columns",
45794
45809
  /* @__PURE__ */ x(_i, { className: "size-4" })
45795
45810
  ] }) }),
45796
- /* @__PURE__ */ K(Y1, { align: "start", className: "min-w-48", children: [
45811
+ /* @__PURE__ */ q(Y1, { align: "start", className: "min-w-48", children: [
45797
45812
  /* @__PURE__ */ x(gD, { children: "Visible columns" }),
45798
45813
  e.map((t) => /* @__PURE__ */ x(
45799
45814
  vD,
@@ -45809,7 +45824,7 @@ function L1e({
45809
45824
  ] })
45810
45825
  ] });
45811
45826
  }
45812
- function e0e({
45827
+ function t0e({
45813
45828
  data: e,
45814
45829
  columns: t,
45815
45830
  getRowId: n,
@@ -45880,7 +45895,7 @@ function e0e({
45880
45895
  u,
45881
45896
  T
45882
45897
  ]
45883
- ), ce = rt(() => T ? [I1e(), ...t] : t, [t, T]), q = P1e({
45898
+ ), ce = rt(() => T ? [I1e(), ...t] : t, [t, T]), K = P1e({
45884
45899
  data: e,
45885
45900
  columns: ce,
45886
45901
  getRowId: D,
@@ -45916,7 +45931,7 @@ function e0e({
45916
45931
  getFilteredRowModel: x1e(),
45917
45932
  getSortedRowModel: S1e(),
45918
45933
  ...w ? { getPaginationRowModel: $1e() } : {}
45919
- }), $e = r.length > 0, Me = q.getRowModel().rows, De = q.getVisibleLeafColumns(), St = q.getAllLeafColumns().filter((pe) => pe.getCanHide()), Tt = $ && De.some((pe) => pe.getCanFilter()), mt = T && ie.length > 0, Bt = Iu({
45934
+ }), $e = r.length > 0, Me = K.getRowModel().rows, De = K.getVisibleLeafColumns(), St = K.getAllLeafColumns().filter((pe) => pe.getCanHide()), Tt = $ && De.some((pe) => pe.getCanFilter()), mt = T && ie.length > 0, Bt = Iu({
45920
45935
  count: Me.length,
45921
45936
  getScrollElement: () => X.current,
45922
45937
  getItemKey: (pe) => Me[pe]?.id ?? pe,
@@ -45927,13 +45942,13 @@ function e0e({
45927
45942
  selectedRowIds: o ?? [],
45928
45943
  selectedRows: ie,
45929
45944
  clearSelection: V
45930
- }) : c, Xn = q.getFilteredRowModel().rows.length, Mr = q.getRowModel().rows, Dn = q.getState().pagination.pageIndex, Zn = q.getState().pagination.pageSize, It = Xn === 0 ? 0 : Dn * Zn + 1, Jn = Xn === 0 ? 0 : It + Mr.length - 1;
45931
- return /* @__PURE__ */ K(
45945
+ }) : c, Xn = K.getFilteredRowModel().rows.length, Mr = K.getRowModel().rows, Dn = K.getState().pagination.pageIndex, Zn = K.getState().pagination.pageSize, It = Xn === 0 ? 0 : Dn * Zn + 1, Jn = Xn === 0 ? 0 : It + Mr.length - 1;
45946
+ return /* @__PURE__ */ q(
45932
45947
  "div",
45933
45948
  {
45934
45949
  className: R("flex min-h-0 min-w-0 flex-col gap-3 h-full", S),
45935
45950
  children: [
45936
- /* @__PURE__ */ K("div", { className: "flex flex-wrap items-center gap-2", children: [
45951
+ /* @__PURE__ */ q("div", { className: "flex flex-wrap items-center gap-2", children: [
45937
45952
  /* @__PURE__ */ x("div", { className: "flex flex-wrap items-center gap-2", children: f }),
45938
45953
  $e ? /* @__PURE__ */ x("div", { className: "min-w-0 flex-1 sm:min-w-[16rem]", children: /* @__PURE__ */ x(
45939
45954
  D0,
@@ -45948,7 +45963,7 @@ function e0e({
45948
45963
  ) }) : /* @__PURE__ */ x("div", { className: "flex-1" }),
45949
45964
  /* @__PURE__ */ x("div", { className: "flex flex-wrap items-center justify-end gap-2", children: d })
45950
45965
  ] }),
45951
- mt ? /* @__PURE__ */ x("div", { className: "rounded-md border border-border bg-card px-3 py-2", children: wn ?? /* @__PURE__ */ K("p", { className: "text-sm font-medium text-foreground", children: [
45966
+ mt ? /* @__PURE__ */ x("div", { className: "rounded-md border border-border bg-card px-3 py-2", children: wn ?? /* @__PURE__ */ q("p", { className: "text-sm font-medium text-foreground", children: [
45952
45967
  ie.length,
45953
45968
  " selected"
45954
45969
  ] }) }) : null,
@@ -45960,14 +45975,14 @@ function e0e({
45960
45975
  "max-h-[min(68vh,42rem)] min-h-64 w-full min-w-0 max-w-full overflow-auto rounded-md border border-border bg-card",
45961
45976
  P
45962
45977
  ),
45963
- children: /* @__PURE__ */ x("div", { className: "min-w-full w-max", children: /* @__PURE__ */ K(
45978
+ children: /* @__PURE__ */ x("div", { className: "min-w-full w-max", children: /* @__PURE__ */ q(
45964
45979
  N1e,
45965
45980
  {
45966
45981
  className: R("w-full", I),
45967
45982
  containerClassName: "overflow-visible",
45968
45983
  children: [
45969
- /* @__PURE__ */ K(A1e, { children: [
45970
- q.getHeaderGroups().map((pe) => /* @__PURE__ */ x(na, { className: "hover:bg-transparent", children: pe.headers.map((xe) => {
45984
+ /* @__PURE__ */ q(A1e, { children: [
45985
+ K.getHeaderGroups().map((pe) => /* @__PURE__ */ x(na, { className: "hover:bg-transparent", children: pe.headers.map((xe) => {
45971
45986
  const At = xe.column.columnDef.meta, tn = xe.column.getCanSort(), bt = xe.column.getIsSorted();
45972
45987
  return /* @__PURE__ */ x(
45973
45988
  N7,
@@ -45976,7 +45991,7 @@ function e0e({
45976
45991
  "sticky top-0 z-20 border-b border-border bg-card",
45977
45992
  At?.headerClassName
45978
45993
  ),
45979
- children: xe.isPlaceholder ? null : tn ? /* @__PURE__ */ K(
45994
+ children: xe.isPlaceholder ? null : tn ? /* @__PURE__ */ q(
45980
45995
  Ge,
45981
45996
  {
45982
45997
  type: "button",
@@ -46028,7 +46043,7 @@ function e0e({
46028
46043
  className: "h-24 text-center text-muted-foreground",
46029
46044
  children: p
46030
46045
  }
46031
- ) }) : B ? /* @__PURE__ */ K(xi, { children: [
46046
+ ) }) : B ? /* @__PURE__ */ q(xi, { children: [
46032
46047
  Nt > 0 ? /* @__PURE__ */ x(
46033
46048
  na,
46034
46049
  {
@@ -46084,27 +46099,27 @@ function e0e({
46084
46099
  ) })
46085
46100
  }
46086
46101
  ),
46087
- h != null || v || w || m != null ? /* @__PURE__ */ K("div", { className: "flex flex-col gap-3 rounded-md border border-border bg-card px-3 py-2 sm:flex-row sm:items-center sm:justify-between", children: [
46088
- /* @__PURE__ */ K("div", { className: "flex flex-wrap items-center gap-2", children: [
46102
+ h != null || v || w || m != null ? /* @__PURE__ */ q("div", { className: "flex flex-col gap-3 rounded-md border border-border bg-card px-3 py-2 sm:flex-row sm:items-center sm:justify-between", children: [
46103
+ /* @__PURE__ */ q("div", { className: "flex flex-wrap items-center gap-2", children: [
46089
46104
  h,
46090
46105
  v ? /* @__PURE__ */ x(L1e, { columns: St }) : null
46091
46106
  ] }),
46092
- w && /* @__PURE__ */ K("div", { className: "flex items-center gap-6 w-full", children: [
46107
+ w && /* @__PURE__ */ q("div", { className: "flex items-center gap-6 w-full", children: [
46093
46108
  /* @__PURE__ */ x(
46094
46109
  H1e,
46095
46110
  {
46096
- table: q,
46111
+ table: K,
46097
46112
  pageSizeOptions: b
46098
46113
  }
46099
46114
  ),
46100
- /* @__PURE__ */ K("p", { className: "text-sm text-muted-foreground", children: [
46115
+ /* @__PURE__ */ q("p", { className: "text-sm text-muted-foreground", children: [
46101
46116
  It,
46102
46117
  " - ",
46103
46118
  Jn,
46104
46119
  " of ",
46105
46120
  Xn
46106
46121
  ] }),
46107
- /* @__PURE__ */ K("div", { className: "flex items-center gap-1", children: [
46122
+ /* @__PURE__ */ q("div", { className: "flex items-center gap-1", children: [
46108
46123
  /* @__PURE__ */ x(
46109
46124
  Ge,
46110
46125
  {
@@ -46112,9 +46127,9 @@ function e0e({
46112
46127
  variant: "ghost",
46113
46128
  size: "icon-sm",
46114
46129
  "aria-label": "Previous page",
46115
- disabled: !q.getCanPreviousPage(),
46130
+ disabled: !K.getCanPreviousPage(),
46116
46131
  onClick: () => {
46117
- q.previousPage();
46132
+ K.previousPage();
46118
46133
  },
46119
46134
  className: "cursor-pointer",
46120
46135
  children: /* @__PURE__ */ x(Ob, { className: "size-4" })
@@ -46127,9 +46142,9 @@ function e0e({
46127
46142
  variant: "ghost",
46128
46143
  size: "icon-sm",
46129
46144
  "aria-label": "Next page",
46130
- disabled: !q.getCanNextPage(),
46145
+ disabled: !K.getCanNextPage(),
46131
46146
  onClick: () => {
46132
- q.nextPage();
46147
+ K.nextPage();
46133
46148
  },
46134
46149
  className: "cursor-pointer",
46135
46150
  children: /* @__PURE__ */ x(Pb, { className: "size-4" })
@@ -46177,7 +46192,7 @@ function H1e({
46177
46192
  label: String(i),
46178
46193
  value: String(i)
46179
46194
  }));
46180
- return /* @__PURE__ */ K("div", { className: "flex items-center gap-2", children: [
46195
+ return /* @__PURE__ */ q("div", { className: "flex items-center gap-2", children: [
46181
46196
  /* @__PURE__ */ x("span", { className: "text-sm text-muted-foreground", children: "Items per page:" }),
46182
46197
  /* @__PURE__ */ x(
46183
46198
  ex,
@@ -46196,7 +46211,7 @@ function H1e({
46196
46211
  )
46197
46212
  ] });
46198
46213
  }
46199
- function t0e({
46214
+ function n0e({
46200
46215
  className: e,
46201
46216
  size: t = "default",
46202
46217
  ...n
@@ -46241,7 +46256,7 @@ const j1e = Su(
46241
46256
  }
46242
46257
  }
46243
46258
  );
46244
- function n0e({
46259
+ function r0e({
46245
46260
  className: e,
46246
46261
  variant: t = "default",
46247
46262
  size: n = "default",
@@ -46256,7 +46271,7 @@ function n0e({
46256
46271
  }
46257
46272
  );
46258
46273
  }
46259
- function r0e({
46274
+ function i0e({
46260
46275
  delayDuration: e = 0,
46261
46276
  ...t
46262
46277
  }) {
@@ -46269,19 +46284,19 @@ function r0e({
46269
46284
  }
46270
46285
  );
46271
46286
  }
46272
- function i0e({ ...e }) {
46287
+ function a0e({ ...e }) {
46273
46288
  return /* @__PURE__ */ x(la.Root, { "data-slot": "tooltip", ...e });
46274
46289
  }
46275
- function a0e({ ...e }) {
46290
+ function o0e({ ...e }) {
46276
46291
  return /* @__PURE__ */ x(la.Trigger, { "data-slot": "tooltip-trigger", ...e });
46277
46292
  }
46278
- function o0e({
46293
+ function l0e({
46279
46294
  className: e,
46280
46295
  sideOffset: t = 4,
46281
46296
  children: n,
46282
46297
  ...r
46283
46298
  }) {
46284
- return /* @__PURE__ */ x(la.Portal, { children: /* @__PURE__ */ K(
46299
+ return /* @__PURE__ */ x(la.Portal, { children: /* @__PURE__ */ q(
46285
46300
  la.Content,
46286
46301
  {
46287
46302
  "data-slot": "tooltip-content",
@@ -46299,7 +46314,7 @@ function o0e({
46299
46314
  ) });
46300
46315
  }
46301
46316
  const B1e = 56, V1e = 10, W1e = 5;
46302
- function l0e({
46317
+ function s0e({
46303
46318
  items: e,
46304
46319
  renderItem: t,
46305
46320
  getItemKey: n,
@@ -46338,8 +46353,8 @@ function l0e({
46338
46353
  _.index >= I && (y.current = !0, h());
46339
46354
  }
46340
46355
  }), S = w.getVirtualItems(), $ = S.length > 0 ? S[0]?.start ?? 0 : 0, C = S.length > 0 ? w.getTotalSize() - (S.at(-1)?.end ?? 0) : 0, O = rt(() => d ? p ?? null : f ? null : v ?? null, [v, f, d, p]);
46341
- return e.length === 0 ? /* @__PURE__ */ x("div", { className: R("w-full", a), children: c ?? /* @__PURE__ */ x("div", { className: "text-muted-foreground py-8 text-center text-sm", children: "No items found." }) }) : /* @__PURE__ */ x("div", { className: R("w-full", a), children: /* @__PURE__ */ K("div", { ref: g, className: R("overflow-auto", o), children: [
46342
- /* @__PURE__ */ K("div", { className: R("w-full h-full", l), children: [
46356
+ return e.length === 0 ? /* @__PURE__ */ x("div", { className: R("w-full", a), children: c ?? /* @__PURE__ */ x("div", { className: "text-muted-foreground py-8 text-center text-sm", children: "No items found." }) }) : /* @__PURE__ */ x("div", { className: R("w-full", a), children: /* @__PURE__ */ q("div", { ref: g, className: R("overflow-auto", o), children: [
46357
+ /* @__PURE__ */ q("div", { className: R("w-full h-full", l), children: [
46343
46358
  $ > 0 ? /* @__PURE__ */ x(
46344
46359
  "div",
46345
46360
  {
@@ -46404,7 +46419,7 @@ function G1e({
46404
46419
  },
46405
46420
  [S]
46406
46421
  );
46407
- return /* @__PURE__ */ K(UE, { shouldFilter: !1, onKeyDown: (M) => {
46422
+ return /* @__PURE__ */ q(UE, { shouldFilter: !1, onKeyDown: (M) => {
46408
46423
  switch (M.key) {
46409
46424
  case "ArrowDown": {
46410
46425
  M.preventDefault(), g(!0), p((P) => {
@@ -46441,7 +46456,7 @@ function G1e({
46441
46456
  placeholder: t
46442
46457
  }
46443
46458
  ),
46444
- /* @__PURE__ */ K(
46459
+ /* @__PURE__ */ q(
46445
46460
  KE,
46446
46461
  {
46447
46462
  ref: y,
@@ -46453,8 +46468,8 @@ function G1e({
46453
46468
  },
46454
46469
  children: [
46455
46470
  /* @__PURE__ */ x(YE, { children: "No item found." }),
46456
- /* @__PURE__ */ K(XE, { children: [
46457
- i ? /* @__PURE__ */ K(
46471
+ /* @__PURE__ */ q(XE, { children: [
46472
+ i ? /* @__PURE__ */ q(
46458
46473
  Cf,
46459
46474
  {
46460
46475
  value: o,
@@ -46486,7 +46501,7 @@ function G1e({
46486
46501
  },
46487
46502
  children: $.map((M) => {
46488
46503
  const P = b[M.index], _ = w.has(P.value);
46489
- return /* @__PURE__ */ K(
46504
+ return /* @__PURE__ */ q(
46490
46505
  Cf,
46491
46506
  {
46492
46507
  value: P.value,
@@ -46531,7 +46546,7 @@ function G1e({
46531
46546
  )
46532
46547
  ] });
46533
46548
  }
46534
- function s0e({
46549
+ function u0e({
46535
46550
  options: e,
46536
46551
  value: t,
46537
46552
  onValueChange: n,
@@ -46607,7 +46622,7 @@ function s0e({
46607
46622
  portalContainer: re,
46608
46623
  ...F
46609
46624
  } = h ?? {};
46610
- return /* @__PURE__ */ K("div", { className: R("w-full", o), children: [
46625
+ return /* @__PURE__ */ q("div", { className: R("w-full", o), children: [
46611
46626
  a != null && a !== "" ? M.map((H) => /* @__PURE__ */ x(
46612
46627
  "input",
46613
46628
  {
@@ -46617,8 +46632,8 @@ function s0e({
46617
46632
  },
46618
46633
  `${a}-${H}`
46619
46634
  )) : null,
46620
- /* @__PURE__ */ K(ZE, { open: D, onOpenChange: T, modal: S ?? !1, children: [
46621
- /* @__PURE__ */ x(JE, { asChild: !0, ...Z, children: /* @__PURE__ */ K(
46635
+ /* @__PURE__ */ q(ZE, { open: D, onOpenChange: T, modal: S ?? !1, children: [
46636
+ /* @__PURE__ */ x(JE, { asChild: !0, ...Z, children: /* @__PURE__ */ q(
46622
46637
  Ge,
46623
46638
  {
46624
46639
  type: "button",
@@ -46676,12 +46691,12 @@ export {
46676
46691
  DD as AppHeader,
46677
46692
  X1e as AppShell,
46678
46693
  Ge as Button,
46679
- Qfe as Calendar,
46694
+ e0e as Calendar,
46680
46695
  wse as Card,
46681
- Yfe as CardAction,
46696
+ Xfe as CardAction,
46682
46697
  $se as CardContent,
46683
- Kfe as CardDescription,
46684
- Xfe as CardFooter,
46698
+ Yfe as CardDescription,
46699
+ Zfe as CardFooter,
46685
46700
  Ese as CardHeader,
46686
46701
  xse as CardTitle,
46687
46702
  rR as Carousel,
@@ -46690,51 +46705,52 @@ export {
46690
46705
  lR as CarouselNext,
46691
46706
  oR as CarouselPrevious,
46692
46707
  fse as ChartContainer,
46693
- Gfe as ChartLegend,
46694
- Ufe as ChartLegendContent,
46708
+ Ufe as ChartLegend,
46709
+ qfe as ChartLegendContent,
46695
46710
  hse as ChartStyle,
46696
46711
  mse as ChartTooltip,
46697
46712
  pse as ChartTooltipContent,
46698
46713
  xu as Checkbox,
46699
- e0e as DataTable,
46700
- rfe as Dialog,
46701
- afe as DialogClose,
46702
- ofe as DialogContent,
46703
- cfe as DialogDescription,
46704
- sfe as DialogFooter,
46705
- lfe as DialogHeader,
46714
+ t0e as DataTable,
46715
+ ife as Dialog,
46716
+ ofe as DialogClose,
46717
+ lfe as DialogContent,
46718
+ dfe as DialogDescription,
46719
+ ufe as DialogFooter,
46720
+ sfe as DialogHeader,
46706
46721
  VW as DialogOverlay,
46707
46722
  BW as DialogPortal,
46708
- ufe as DialogTitle,
46709
- ife as DialogTrigger,
46710
- J1e as GenericDrawer,
46711
- Q1e as ImageSlider,
46723
+ cfe as DialogTitle,
46724
+ afe as DialogTrigger,
46725
+ Z1e as FieldLabel,
46726
+ Q1e as GenericDrawer,
46727
+ efe as ImageSlider,
46712
46728
  D0 as Input,
46713
- efe as NumberInput,
46714
- hfe as PhoneNumberInput,
46715
- qfe as PieChart,
46729
+ tfe as NumberInput,
46730
+ mfe as PhoneNumberInput,
46731
+ Kfe as PieChart,
46716
46732
  ZE as Popover,
46717
- ffe as PopoverAnchor,
46733
+ hfe as PopoverAnchor,
46718
46734
  QE as PopoverContent,
46719
46735
  JE as PopoverTrigger,
46720
- Zfe as SectionCard,
46736
+ Jfe as SectionCard,
46721
46737
  Fm as SidebarNav,
46722
46738
  sR as Spinner,
46723
- t0e as Switch,
46724
- dfe as Textarea,
46725
- Jfe as ThemeToggle,
46726
- n0e as Toggle,
46727
- i0e as Tooltip,
46728
- o0e as TooltipContent,
46729
- r0e as TooltipProvider,
46730
- a0e as TooltipTrigger,
46739
+ n0e as Switch,
46740
+ ffe as Textarea,
46741
+ Qfe as ThemeToggle,
46742
+ r0e as Toggle,
46743
+ a0e as Tooltip,
46744
+ l0e as TooltipContent,
46745
+ i0e as TooltipProvider,
46746
+ o0e as TooltipTrigger,
46731
46747
  $m as UserImage,
46732
- l0e as VirtualList,
46733
- s0e as VirtualMultiSelect,
46748
+ s0e as VirtualList,
46749
+ u0e as VirtualMultiSelect,
46734
46750
  ex as VirtualSingleSelect,
46735
46751
  hD as debounce,
46736
- nfe as isPossiblePhoneNumber,
46752
+ rfe as isPossiblePhoneNumber,
46737
46753
  GV as isValidPhoneNumber,
46738
- tfe as parsePhoneNumber,
46754
+ nfe as parsePhoneNumber,
46739
46755
  Dse as useTheme
46740
46756
  };